/* =========================================================
   Domaine de Brion — Thème « Logo » (site public uniquement)
   Reprend l'identité du logo : bleu marine #000A38 sur blanc,
   typographie sans empattements géométrique en capitales.
   Chargé APRÈS colors_and_type.css : redéfinit les variables.

   Correspondance (noms d'origine conservés pour les composants) :
     cream-*  → blancs et gris bleutés (fonds)
     gold-200/400 → bleus clairs (accents sur fonds sombres)
     gold-500/800 → bleus marine (accents sur fonds clairs)
     stone-*  → marine du logo (texte, fonds sombres)
   ========================================================= */

:root {
  --max-w-content: 80rem;   /* contenu plus large : moins de marges latérales sur grand écran */
  /* Fonds */
  --cream-50:   #FFFFFF;
  --cream-100:  #F7F8FB;
  --cream-200:  #ECEEF4;
  --cream-300:  #D9DDE8;
  --cream-400:  #B9C0D3;

  /* Accents */
  --gold-50:    #E6E9F2;
  --gold-200:   #D3D9EA;
  --gold-400:   #A9B4D6;
  --gold-500:   #1C2A6B;
  --gold-600:   #121E57;
  --gold-700:   #0A1549;
  --gold-800:   #000A38;

  /* Marine du logo */
  --stone-50:   #5A6385;
  --stone-200:  #2F3A66;
  --stone-400:  #18224F;
  --stone-500:  #000A38;
  --stone-700:  #00072A;
  --stone-900:  #00041A;

  --lavender:   #6B7AB0;
  --olive:      #5A6385;
  --terracotta: #1C2A6B;

  --font-display: 'Montserrat', 'Helvetica Neue', Arial, system-ui, sans-serif;
  --font-body:    'Montserrat', 'Helvetica Neue', Arial, system-ui, sans-serif;
  --font-title:   'Cormorant Garamond', 'Garamond', 'Georgia', serif;
  --font-hero:    'Montserrat', 'Helvetica Neue', Arial, system-ui, sans-serif;
  --font-caps:    'Montserrat', 'Helvetica Neue', Arial, system-ui, sans-serif;

  --radius-xs: 0; --radius-sm: 0; --radius-md: 0; --radius-lg: 0;

  --shadow-xs: 0 1px 2px rgba(0,10,56,0.06);
  --shadow-sm: 0 2px 6px rgba(0,10,56,0.08);
  --shadow-md: 0 6px 18px rgba(0,10,56,0.10);
  --shadow-lg: 0 14px 36px rgba(0,10,56,0.14);
  --shadow-xl: 0 24px 60px rgba(0,10,56,0.18);

  --link: var(--gold-500);
  --link-hover: var(--stone-500);
}

/* ── Base ───────────────────────────────────────────────────────────────── */
body { background-color: var(--cream-50); color: var(--stone-500); }

/* ── Typographie : titres en Cormorant Garamond, texte en Montserrat ──────── */
/* Exception : le titre du Hero est en Montserrat capitales (voir plus bas). */
h1, h2, h3, h4, .display-hero, h1.hero {
  font-family: var(--font-title); font-weight: 600;
  text-transform: none; letter-spacing: 0;
}
h1.hero { font-weight: 600; letter-spacing: 0; text-wrap: balance; text-shadow: 0 2px 18px rgba(0,10,56,0.45); }
h2 { font-size: clamp(2.2rem, 4.6vw, 3.4rem); line-height: 1.08; }
h3 { font-size: clamp(1.7rem, 3vw, 2.4rem); }
h4 { font-size: 1.6rem; font-weight: 600; }
p, .body { font-family: var(--font-body); font-weight: 400; line-height: 1.7; }
.eyebrow {
  font-family: var(--font-caps); font-weight: 500; font-size: 0.8rem;
  letter-spacing: 0.22em; text-transform: uppercase; color: var(--gold-500);
}

/* Filets : trait fin marine */
hr.rule-gold, hr.rule-gold--center { background: var(--stone-500) !important; height: 1px !important; border: 0 !important; width: 56px !important; }
.rule-gold--center, .section-head hr.rule-gold { margin-left: auto !important; margin-right: auto !important; }
#hero hr.rule-gold, #histoire hr.rule-gold, footer hr { background: var(--cream-50) !important; }

/* ── Boutons : plats, angles vifs ───────────────────────────────────────── */
.btn {
  font-family: var(--font-caps); font-size: 0.85rem; font-weight: 500;
  letter-spacing: 0.16em; text-transform: uppercase;
  border-radius: 0; padding: 14px 28px; border-width: 1px;
}
.btn-primary, .btn-gold { background: var(--stone-500); color: var(--cream-50); border-color: var(--stone-500); }
.btn-primary:hover, .btn-gold:hover { background: var(--gold-500); border-color: var(--gold-500); }
#hero .btn-gold { background: var(--cream-50); color: var(--stone-500); border-color: var(--cream-50); }
#hero .btn-gold:hover { background: var(--gold-200); border-color: var(--gold-200); }
.btn-secondary { color: var(--stone-500); border-color: var(--stone-500); background: transparent; }
.btn-secondary:hover { background: var(--stone-500); color: var(--cream-50); }
.btn-ghost-light { border-color: var(--cream-50); color: var(--cream-50); }
.btn-ghost-light:hover { background: rgba(255,255,255,0.15); }

/* ── Cartes ─────────────────────────────────────────────────────────────── */
.card { background: var(--cream-50); border: 1px solid var(--cream-300); border-radius: 0; box-shadow: none; }
.card h4 { color: var(--stone-500); }

/* ── Images ─────────────────────────────────────────────────────────────── */
.img-section, .gallery-masonry-item { border-radius: 0 !important; }

/* ── Sections ───────────────────────────────────────────────────────────── */
.caption { font-family: var(--font-caps); text-transform: uppercase; letter-spacing: 0.16em !important; }

/* Navigation */
nav a { font-family: var(--font-caps) !important; font-size: 0.72rem !important; font-weight: 500 !important; letter-spacing: 0.08em !important; text-transform: uppercase; white-space: nowrap; }
nav .nav-desktop { gap: 14px !important; }
nav .btn { white-space: nowrap; padding: 10px 16px !important; font-size: 0.72rem !important; letter-spacing: 0.1em; }
nav a:hover { color: var(--gold-500) !important; }
nav > div:first-child > a:first-child span { font-family: var(--font-display) !important; font-weight: 500 !important; font-size: 17px !important; letter-spacing: 0.06em !important; text-transform: uppercase; }
@media (max-width: 768px) { nav > div:first-child > a:first-child span { font-size: 14px !important; letter-spacing: 0.04em !important; } }

/* Hero : texte lisible sur la photo sans filtre */
#hero .lede, #hero .eyebrow { text-shadow: 0 1px 10px rgba(0,10,56,0.55); }
#hero .eyebrow { color: var(--cream-50) !important; }

input, textarea, select { font-family: var(--font-body); border-radius: 0 !important; }
::selection { background: var(--stone-500); color: var(--cream-50); }

/* Tailles réduites : titre du Hero et titres des cartes de prestations */
#hero h1.hero { font-family: var(--font-hero); font-weight: 500; text-transform: uppercase; letter-spacing: 0.04em; font-size: clamp(2.1rem, 5vw, 3.9rem) !important; }
#hero h1.hero .hero-de { font-size: 0.55em; font-weight: 500; }
#prestations .card h4, #prestations h4 { font-size: 1.4rem; }

/* Certains titres imposent leur police dans le code (vocations, histoire, formules) : on force Cormorant */
h2, h3, h4 { font-family: var(--font-title) !important; font-weight: 600 !important; }
