/* ============================================
   ATELIER DU GRAND CHÊNE v4.0
   Variables de base — chaque ambiance surchargera ces valeurs
   ============================================
   Ce fichier définit TOUTES les variables CSS utilisées
   par le thème. Une ambiance = un fichier qui redéfinit ces valeurs.
*/

:root {
  /* ========== COULEURS DE FOND ========== */
  --bg-main: #0a1730;
  --bg-section: #0a1730;
  --bg-section-alt: #142544;
  --bg-photo: #142544;
  --bg-footer: #050d1c;
  --bg-header: rgba(10, 23, 48, 0.85);
  --bg-card: rgba(244, 237, 224, 0.03);

  /* ========== COULEURS DE TEXTE ========== */
  --text-body: #d9d5c8;
  --text-title: #f4ede0;
  --text-heading: #f4ede0;
  --text-lead: #b8b3a4;
  --text-muted: #8a8577;
  --text-inverse: #0a1730;

  /* ========== COULEURS D'ACCENT ========== */
  --accent-primary: #d4a347;
  --accent-bright: #f0c668;
  --accent-soft: rgba(212, 163, 71, 0.5);
  --accent-secondary: #a04a3c;
  --accent-cool: #4dd2b8;
  --accent-cool-2: #6b4a8c;

  /* ========== BORDURES ========== */
  --border-subtle: rgba(244, 237, 224, 0.08);
  --border-visible: rgba(212, 163, 71, 0.25);
  --border-strong: rgba(212, 163, 71, 0.5);

  /* ========== OMBRES ========== */
  --shadow-soft: 0 10px 30px rgba(0, 0, 0, 0.2);
  --shadow-medium: 0 20px 50px rgba(0, 0, 0, 0.3);
  --shadow-deep: 0 30px 80px rgba(0, 0, 0, 0.5);
  --shadow-glow: 0 0 40px rgba(212, 163, 71, 0.3);

  /* ========== BOUTONS ========== */
  --btn-primary-bg: var(--accent-primary);
  --btn-primary-color: var(--bg-main);
  --btn-primary-hover-bg: var(--accent-bright);
  --btn-ghost-color: var(--text-title);
  --btn-ghost-border: rgba(244, 237, 224, 0.3);

  /* ========== HERO ========== */
  --hero-bg: linear-gradient(180deg, var(--bg-main) 0%, var(--bg-section-alt) 100%);
  --hero-eyebrow-color: var(--accent-bright);
  --hero-title-color: var(--text-title);
  --hero-title-glow-color: var(--accent-bright);
  --hero-lede-color: var(--text-lead);

  /* ========== CARTES UNIVERS ========== */
  --uni-card-bg: var(--bg-section-alt);
  --uni-num-color: var(--accent-bright);
  --uni-title-color: var(--text-title);
  --uni-p-color: var(--text-lead);
  --uni-cta-color: var(--accent-bright);

  /* ========== MANIFESTE ========== */
  --manifesto-bg: var(--bg-section);
  --manifesto-quote-color: var(--text-title);
  --manifesto-highlight-color: var(--accent-bright);
  --manifesto-signature-color: var(--accent-primary);

  /* ========== PHOTO ========== */
  --photo-bg: var(--bg-photo);
  --photo-title-color: var(--text-title);
  --photo-haiku-color: var(--text-lead);

  /* ========== ÉLÉMENTS D'AMBIANCE ========== */
  --ambient-particle-color: rgba(244, 237, 224, 0.75);
  --ambient-particle-glow: rgba(244, 237, 224, 0.5);
  --ambient-background-layer: none;

  /* ========== COMPATIBILITÉ (héritées de v2/v3) ========== */
  --night: #0a1730;
  --night-deep: #050d1c;
  --paper: #f4ede0;
  --paper-warm: #d9d5c8;
  --gold: #d4a347;
  --gold-bright: #f0c668;
  --gold-soft: rgba(212, 163, 71, 0.5);
  --ice: #8a8577;
}
