/* ==========================================================================
   ISCAR Académie Europe — Design System
   Charte : pourpre #5C1A3A · or #C8A96E
   Stack : Cormorant Garamond (titres) + Jost (corps)
   ========================================================================== */

/* ── Tokens ──────────────────────────────────────────────────────────────── */
:root {
  --pourpre:       #5C1A3A;
  --pourpre-deep:  #3D0E26;
  --pourpre-mid:   #7A2550;
  --pourpre-light: #A84070;
  --or:            #C8A96E;
  --or-pale:       #E8D5A8;
  --creme:         #FAF5EE;
  --blanc:         #FFFFFF;
  --gris:          #5A5060;
  --gris-pale:     #F2EBE8;
  --bordure:       rgba(92,26,58,0.15);

  /* Alias sémantiques (compatibilité composants DMOKA) */
  --ink:           var(--pourpre-deep);
  --ink-light:     var(--pourpre-mid);
  --cream:         var(--creme);
  --clay:          var(--pourpre);
  --rust:          var(--pourpre-mid);
  --muted:         var(--gris);
  --border:        var(--bordure);
  --sage:          var(--or);
  --sage-bg:       rgba(200,169,110,0.08);
  --stone-light:   var(--or-pale);

  --radius:        3px;
  --max-w:         1280px;
  --nav-h:         68px;
  --bandeau-h:    48px;
}

/* ── Reset ───────────────────────────────────────────────────────────────── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; font-size: 16px; scroll-padding-top: calc(var(--nav-h) + var(--bandeau-h)); }
body {
  font-family: 'Jost', sans-serif;
  background: var(--creme);
  color: var(--pourpre-deep);
  line-height: 1.6;
  overflow-x: hidden;
}
img { max-width: 100%; height: auto; display: block; }
a { color: var(--pourpre); }
a:hover { color: var(--pourpre-light); }

/* ── Navigation ──────────────────────────────────────────────────────────── */
.site-nav {
  position: fixed; top: 0; width: 100%; z-index: 200;
  background: rgba(61,14,38,0.97);
  backdrop-filter: blur(14px);
  border-bottom: 1px solid rgba(200,169,110,0.25);
  height: var(--nav-h);
  padding: 0 5vw;
  /* Fix flicker: force GPU compositing layer */
  transform: translateZ(0);
  will-change: transform;
}
.nav-inner {
  width: 100%;
  max-width: 1400px;
  margin: 0 auto;
  padding: 0;
  height: 100%;
  display: flex; align-items: center;
  justify-content: center;
  gap: 2.5rem;
  position: relative;
}

/* Logo */
.nav-logo {
  text-decoration: none;
  display: inline-flex; align-items: center; gap: 8px;
  font-family: 'Cormorant Garamond', serif;
  font-size: 1.25rem; font-weight: 600;
  color: var(--or); letter-spacing: 0.05em;
  position: relative;
  width: 18rem;
  flex-shrink: 0;
  overflow: hidden;
}
.nav-logo sup { font-size: 0.55em; vertical-align: super; }
.nav-logo-boussole { width: 30px; height: 30px; flex-shrink: 0; }

/* Links */
.nav-links {
  display: flex; align-items: center; gap: 1.8rem;
  list-style: none;
}
.nav-links > li > a,
.nav-dropdown-trigger {
  font-family: 'Jost', sans-serif;
  font-size: 0.8rem; font-weight: 500;
  letter-spacing: 0.07em; text-transform: uppercase;
  text-decoration: none; color: rgba(255,255,255,0.82);
  background: none; border: none; cursor: pointer;
  display: flex; align-items: center; gap: 4px;
  transition: color .2s;
  padding: 0;
}
.nav-links > li > a:hover,
.nav-links > li > a.active,
.nav-dropdown-trigger:hover { color: var(--or); }
.nav-dropdown-chevron { width: 14px; height: 14px; transition: transform .2s; }
.nav-dropdown.open .nav-dropdown-chevron { transform: rotate(180deg); }

/* Dropdown */
.nav-dropdown { position: relative; }
.nav-dropdown-menu {
  display: none; position: absolute; top: calc(100% + 12px); left: 0;
  background: var(--blanc);
  border: 1px solid var(--bordure);
  border-radius: var(--radius);
  min-width: 200px;
  box-shadow: 0 8px 24px rgba(61,14,38,0.12);
  list-style: none; padding: 8px 0; z-index: 100;
}
.nav-dropdown.open .nav-dropdown-menu { display: block; }
.nav-dropdown-menu li a {
  display: block; padding: 9px 18px;
  font-size: 0.82rem; font-weight: 400;
  text-decoration: none; color: var(--pourpre-deep);
  transition: background .15s, color .15s;
}
.nav-dropdown-menu li a:hover,
.nav-dropdown-menu li a.active {
  background: var(--gris-pale); color: var(--pourpre);
}

/* CTA nav */
.nav-cta {
  background: var(--or) !important; color: var(--pourpre-deep) !important;
  padding: 9px 20px; border-radius: var(--radius);
  font-size: 0.78rem !important; font-weight: 700 !important;
  transition: background .2s !important;
}
.nav-cta:hover { background: var(--or-pale) !important; color: var(--pourpre-deep) !important; }

/* Langue selector */
.nav-lang-selector { position: relative; }
.nav-lang-trigger {
  display: flex; align-items: center; gap: 5px;
  font-family: 'Jost', sans-serif;
  font-size: 0.78rem; font-weight: 500;
  background: none; border: 1px solid rgba(200,169,110,0.4);
  border-radius: var(--radius); padding: 6px 10px;
  cursor: pointer; color: rgba(255,255,255,0.82);
  transition: border-color .2s, color .2s;
}
.nav-lang-trigger:hover { border-color: var(--or); color: var(--or); }
.nav-lang-chevron { width: 12px; height: 12px; transition: transform .2s; }
.nav-lang-trigger[aria-expanded="true"] .nav-lang-chevron { transform: rotate(180deg); }
.nav-lang-flag { font-size: 1rem; line-height: 1; }
.nav-lang-dropdown {
  display: none; position: absolute; top: calc(100% + 8px); right: 0;
  background: var(--blanc); border: 1px solid var(--bordure);
  border-radius: var(--radius); min-width: 160px;
  box-shadow: 0 8px 24px rgba(61,14,38,0.12);
  list-style: none; padding: 6px 0; z-index: 100;
}
.nav-lang-dropdown.open { display: block; }
.nav-lang {
  display: flex; align-items: center; gap: 8px;
  padding: 8px 16px;
  font-size: 0.82rem; font-weight: 400;
  text-decoration: none; color: var(--pourpre-deep);
  transition: background .15s;
}
.nav-lang:hover, .nav-lang.active { background: var(--gris-pale); color: var(--pourpre); }

/* Burger */
.nav-burger {
  display: none; flex-direction: column; gap: 5px;
  background: none; border: none; cursor: pointer; padding: 4px;
}
.nav-burger span {
  display: block; width: 22px; height: 2px;
  background: var(--or); border-radius: 2px;
  transition: all .3s;
}

/* ── Hero ────────────────────────────────────────────────────────────────── */
.hero {
  background: var(--pourpre-deep);
  padding: calc(var(--nav-h) + var(--bandeau-h) + 5rem) 5vw 5rem;
  position: relative; overflow: hidden;
  min-height: 60vh;
}
.hero::before {
  content: '';
  position: absolute; inset: 0;
  background:
    radial-gradient(ellipse at 20% 80%, rgba(92,26,58,0.6) 0%, transparent 55%),
    radial-gradient(ellipse at 80% 20%, rgba(200,169,110,0.07) 0%, transparent 50%);
  pointer-events: none;
}
.hero-inner {
  max-width: 1400px; margin: 0 auto;
  display: flex; align-items: center; gap: 2rem;
  position: relative; z-index: 1;
}
.hero-content { flex: 1; }
.hero-motif {
  flex-shrink: 0;
  width: 380px; height: 380px;
  pointer-events: none;
  opacity: 0.85;
}
.hero-eyebrow {
  font-family: 'Jost', sans-serif;
  font-size: 0.78rem; font-weight: 500;
  letter-spacing: 0.2em; text-transform: uppercase;
  color: rgba(255,255,255,0.75);
  display: flex; align-items: center; gap: 12px;
  margin-bottom: 1.4rem;
}
.hero-eyebrow::before {
  content: ''; display: block;
  width: 32px; height: 1px; background: rgba(255,255,255,0.75);
}
.hero h1 {
  font-family: 'Cormorant Garamond', serif;
  font-style: italic; font-weight: 300;
  font-size: clamp(2.4rem, 5vw, 4rem);
  line-height: 1.12; color: var(--or);
  margin-bottom: 1.4rem;
}
.hero h1 em { font-style: italic; color: inherit; }
.hero-sub {
  font-size: 1rem; font-weight: 300; line-height: 1.85;
  color: rgba(255,255,255,0.65);
  margin-bottom: 2.5rem;
}
.hero-actions { display: flex; gap: 1rem; flex-wrap: wrap; }

/* ── Boutons ─────────────────────────────────────────────────────────────── */
.btn {
  display: inline-block; text-decoration: none;
  font-family: 'Jost', sans-serif;
  font-size: 0.8rem; font-weight: 600;
  letter-spacing: 0.1em; text-transform: uppercase;
  padding: 13px 28px; border-radius: var(--radius);
  border: none; cursor: pointer;
  transition: background .2s, transform .15s, color .2s;
}
.btn:hover { transform: translateY(-1px); }
.btn-primary { background: var(--or); color: var(--pourpre-deep); }
.btn-primary:hover { background: var(--or-pale); color: var(--pourpre-deep); }
.btn-outline {
  background: transparent;
  border: 1px solid rgba(255,255,255,0.35);
  color: var(--blanc);
}
.btn-outline:hover { border-color: var(--or); color: var(--or); }
.btn-outline-dark {
  background: transparent;
  border: 1px solid var(--bordure);
  color: var(--pourpre);
}
.btn-outline-dark:hover { border-color: var(--pourpre-light); color: var(--pourpre-light); }

/* ── Layout ──────────────────────────────────────────────────────────────── */
.page-body { padding: 4rem 5vw 6rem; }
.container { max-width: 1400px; margin: 0 auto; }
.section { margin-bottom: 4rem; }
.ornament { text-align: center; margin: 2rem 0; }
.ornament-diamond {
  display: inline-block; width: 8px; height: 8px;
  background: var(--or); transform: rotate(45deg);
}

/* ── Typographie sections ────────────────────────────────────────────────── */
.section-label {
  font-family: 'Jost', sans-serif;
  font-size: 0.78rem; font-weight: 500;
  letter-spacing: 0.18em; text-transform: uppercase;
  color: var(--pourpre); margin-bottom: 0.5rem;
  display: flex; align-items: center; gap: 10px;
}
.section-label::before {
  content: ''; display: block;
  width: 24px; height: 1px; background: var(--pourpre);
}
h2 {
  font-family: 'Cormorant Garamond', serif;
  font-style: italic; font-weight: 300;
  font-size: clamp(1.8rem, 3vw, 2.8rem);
  line-height: 1.2; color: var(--or);
  margin-bottom: 1rem;
}
h2 em { font-style: italic; color: inherit; }
h3 {
  font-family: 'Cormorant Garamond', serif;
  font-style: italic; font-weight: 400;
  font-size: 1.4rem; color: var(--or);
  margin-bottom: 0.7rem;
}
h4 {
  font-family: 'Jost', sans-serif;
  font-size: 0.9rem; font-weight: 600;
  color: var(--pourpre-deep); margin-bottom: 0.5rem;
}
p { font-size: 0.92rem; font-weight: 300; line-height: 1.8; color: var(--gris); margin-bottom: 0.8rem; }
p:last-child { margin-bottom: 0; }
strong { font-weight: 600; color: var(--pourpre-deep); }

/* ── Cards ───────────────────────────────────────────────────────────────── */
.card {
  background: var(--blanc);
  border: 1px solid var(--bordure);
  border-radius: var(--radius);
  padding: 1.6rem 1.8rem;
}
.card-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(240px, 1fr));
  gap: 1.2rem;
  margin-top: 1.5rem;
}

/* Bloc sombre */
.dark-block {
  background: var(--pourpre-deep);
  border-radius: var(--radius);
  padding: 2rem 2.2rem;
  color: rgba(255,255,255,0.75);
}
.dark-block h3 { color: var(--or); }
.dark-block p { color: rgba(255,255,255,0.65); }
.dark-block a { color: var(--or-pale); }

/* ── PDF docs ────────────────────────────────────────────────────────────── */
.doc-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(220px, 1fr)); gap: 1.2rem; margin-top: 1.5rem; }
.doc-card {
  background: var(--blanc); border: 1px solid var(--bordure);
  border-radius: var(--radius); padding: 1.2rem 1.4rem;
  display: flex; flex-direction: column; gap: 10px;
  transition: box-shadow .2s;
}
.doc-card:hover { box-shadow: 0 4px 16px rgba(92,26,58,0.1); }
.doc-card-icon {
  width: 36px; height: 36px;
  background: var(--gris-pale); border: 1px solid var(--bordure);
  border-radius: var(--radius);
  display: flex; align-items: center; justify-content: center;
}
.doc-card-title { font-family: 'Cormorant Garamond', serif; font-style: italic; font-size: 1rem; font-weight: 400; color: var(--pourpre-deep); line-height: 1.3; }
.doc-card-desc { font-size: 0.78rem; font-weight: 300; color: var(--gris); line-height: 1.6; flex: 1; }
.doc-card-link { font-size: 0.72rem; font-weight: 600; letter-spacing: 0.08em; text-transform: uppercase; color: var(--pourpre); text-decoration: none; display: flex; align-items: center; gap: 5px; }
.doc-card-link:hover { color: var(--pourpre-light); }
.doc-card-placeholder { opacity: 0.5; }
.doc-card-placeholder .doc-card-link { cursor: default; pointer-events: none; color: var(--gris); }

/* ── Sessions / Calendrier ───────────────────────────────────────────────── */
.session-card {
  background: var(--blanc); border: 1px solid var(--bordure);
  border-radius: var(--radius); padding: 1.4rem 1.6rem;
  position: relative;
  transition: box-shadow .2s;
}
.session-card:hover { box-shadow: 0 4px 16px rgba(92,26,58,0.1); }
.session-card h4 { font-family: 'Cormorant Garamond', serif; font-style: italic; font-size: 1.2rem; color: var(--pourpre-deep); margin-bottom: 0.8rem; }
.session-badge {
  display: inline-block; font-size: 0.65rem; font-weight: 600;
  letter-spacing: 0.1em; text-transform: uppercase;
  padding: 3px 8px; border-radius: 2px;
  margin-bottom: 0.6rem;
}
.session-badge-high { background: rgba(92,26,58,0.15); color: var(--pourpre); }
.session-badge-medium { background: rgba(200,169,110,0.2); color: #8B6A30; }
.session-badge-low { background: var(--gris-pale); color: var(--gris); }
.session-dates { font-size: 0.85rem; line-height: 1.8; color: var(--gris); margin-bottom: 0.6rem; }
.session-lieu { font-size: 0.78rem; color: var(--gris); font-style: italic; margin-bottom: 0.4rem; }
.session-countdown { font-size: 0.78rem; font-weight: 500; color: var(--pourpre); margin-bottom: 0.3rem; }
.session-places { font-size: 0.75rem; color: var(--gris); }

/* Calendrier FullCalendar */
#calendar-wrap { margin-top: 1.5rem; }
#calendar { background: var(--blanc); border: 1px solid var(--bordure); border-radius: var(--radius); padding: 1rem; }
#error-msg { display: none; background: var(--gris-pale); border: 1px solid var(--bordure); border-radius: var(--radius); padding: 1rem 1.4rem; font-size: 0.85rem; color: var(--gris); margin-bottom: 1rem; }
.fc { font-family: 'Jost', sans-serif; font-size: 0.85rem; }
.fc-toolbar-title { font-family: 'Cormorant Garamond', serif; font-style: italic; font-size: 1.3rem !important; color: var(--pourpre-deep); }
.fc-button { background: var(--pourpre) !important; border-color: var(--pourpre) !important; font-family: 'Jost', sans-serif !important; font-size: 0.75rem !important; }
.fc-button:hover { background: var(--pourpre-mid) !important; }
.fc-today-button { background: var(--or) !important; border-color: var(--or) !important; color: var(--pourpre-deep) !important; }

/* Tarifs */
.tarif-grid { display: grid; grid-template-columns: repeat(3,1fr); gap: 1px; background: var(--bordure); border: 1px solid var(--bordure); border-radius: var(--radius); overflow: hidden; margin-top: 1.5rem; }
@media(max-width:768px){ .tarif-grid { grid-template-columns: 1fr; } }
.tarif-cell { background: var(--blanc); padding: 1.4rem 1.6rem; }
.tarif-label { font-size: 0.75rem; font-weight: 600; letter-spacing: 0.1em; text-transform: uppercase; color: var(--pourpre); margin-bottom: 0.4rem; }
.tarif-price { font-family: 'Cormorant Garamond', serif; font-size: 2.4rem; font-weight: 300; color: var(--or); line-height: 1; }
.tarif-devise { font-size: 0.75rem; color: var(--gris); margin-bottom: 0.5rem; }
.tarif-acompte { font-size: 0.78rem; color: var(--gris); font-style: italic; }

/* Bandeau urgence */
.urgency-banner {
  background: rgba(200,169,110,0.12); border: 1px solid rgba(200,169,110,0.35);
  border-radius: var(--radius); padding: 0.9rem 1.2rem;
  margin-bottom: 2rem; font-size: 0.88rem; color: var(--pourpre-deep);
}

/* ── Praticiens ──────────────────────────────────────────────────────────── */
#practitioners-map {
  height: 480px; border-radius: var(--radius);
  border: 1px solid var(--bordure); margin-top: 1.5rem; z-index: 0;
}
.prat-search-grid { display: grid; grid-template-columns: 1fr 1fr 1fr; gap: 1rem; margin-bottom: 1.2rem; }
@media(max-width:768px){ .prat-search-grid { grid-template-columns: 1fr; } }
.prat-input {
  width: 100%; padding: 0.6rem 0.8rem;
  border: 1px solid var(--bordure); border-radius: var(--radius);
  font-family: 'Jost', sans-serif; font-size: 0.9rem;
  color: var(--pourpre-deep); background: var(--blanc);
  transition: border-color .2s;
}
.prat-input:focus { outline: none; border-color: var(--pourpre); }
.prat-label { display: block; font-size: 0.72rem; letter-spacing: 0.1em; text-transform: uppercase; color: var(--gris); margin-bottom: 0.4rem; }
.prat-card {
  background: var(--blanc); border: 1px solid var(--bordure);
  border-radius: var(--radius); padding: 1.2rem 1.4rem;
  margin-bottom: 0.8rem; cursor: pointer;
  transition: box-shadow .2s, border-color .2s;
}
.prat-card:hover { box-shadow: 0 4px 14px rgba(92,26,58,0.1); border-color: var(--pourpre-light); }
.prat-card.formateur { border-left: 3px solid var(--or); }
.prat-card h4 { font-family: 'Cormorant Garamond', serif; font-size: 1.1rem; font-weight: 400; font-style: italic; margin: 0 0 0.2rem; color: var(--pourpre-deep); }
.prat-card .prat-titre { font-size: 0.8rem; color: var(--gris); margin: 0 0 0.5rem; }
.prat-card .prat-lieu { font-size: 0.82rem; color: var(--pourpre-mid); }
.prat-card .prat-web { font-size: 0.78rem; color: var(--pourpre); text-decoration: none; }
.prat-card .prat-web:hover { text-decoration: underline; }
.prat-badge { display: inline-block; font-size: 0.65rem; letter-spacing: 0.1em; text-transform: uppercase; padding: 0.15rem 0.5rem; border-radius: 2px; background: var(--pourpre); color: var(--blanc); margin-bottom: 0.4rem; }
.prat-count { font-size: 0.85rem; color: var(--gris); margin-bottom: 1rem; }

/* Popup Leaflet */
.leaflet-popup-content h4 { font-family: 'Cormorant Garamond', serif; font-size: 1rem; font-style: italic; margin: 0 0 0.3rem; color: var(--pourpre-deep); }
.leaflet-popup-content p { font-size: 0.8rem; margin: 0.2rem 0; color: #444; }
.leaflet-popup-content .fiche-btn { display: inline-block; margin-top: 0.5rem; padding: 0.3rem 0.8rem; background: var(--pourpre); color: var(--blanc); border-radius: 3px; font-size: 0.75rem; cursor: pointer; border: none; font-family: 'Jost', sans-serif; letter-spacing: 0.05em; }

/* Drawer praticien */
#prat-drawer-overlay { display: none; position: fixed; inset: 0; background: rgba(0,0,0,0.35); z-index: 999; }
#prat-drawer-overlay.open { display: block; }
#prat-drawer { position: fixed; top: 0; right: 0; width: min(480px,100vw); height: 100vh; background: var(--blanc); z-index: 1000; box-shadow: -4px 0 24px rgba(0,0,0,0.15); transform: translateX(100%); transition: transform 0.3s ease; overflow-y: auto; }
#prat-drawer.open { transform: translateX(0); }
#prat-drawer-close { position: absolute; top: 1rem; right: 1rem; background: none; border: none; font-size: 1.4rem; cursor: pointer; color: var(--gris); line-height: 1; }
.drawer-header { background: linear-gradient(180deg, var(--pourpre-deep) 0%, var(--pourpre) 100%); color: var(--creme); padding: 2rem 1.8rem 1.5rem; }
.drawer-header .d-badge { display: inline-block; font-size: 0.65rem; letter-spacing: 0.1em; text-transform: uppercase; padding: 0.15rem 0.5rem; border-radius: 2px; background: var(--or); color: var(--pourpre-deep); margin-bottom: 0.6rem; }
.drawer-header h2 { font-family: 'Cormorant Garamond', serif; font-size: 1.6rem; font-weight: 400; font-style: italic; margin: 0 0 0.3rem; color: var(--or); }
.drawer-header .d-titre { font-size: 0.85rem; color: rgba(255,255,255,0.7); margin: 0; }
.drawer-body { padding: 1.6rem 1.8rem; }
.drawer-section { margin-bottom: 1.4rem; padding-bottom: 1.4rem; border-bottom: 1px solid var(--bordure); }
.drawer-section:last-child { border-bottom: none; }
.drawer-label { font-size: 0.7rem; letter-spacing: 0.12em; text-transform: uppercase; color: var(--gris); margin-bottom: 0.4rem; }
.drawer-section p, .drawer-section a { font-size: 0.9rem; color: var(--pourpre-deep); margin: 0; line-height: 1.6; }
.drawer-section a { color: var(--pourpre); text-decoration: none; }
.drawer-section a:hover { text-decoration: underline; }
.drawer-legal { background: rgba(200,169,110,0.08); border-left: 3px solid var(--or); padding: 0.8rem 1rem; border-radius: 0 var(--radius) var(--radius) 0; font-size: 0.75rem; color: var(--gris); line-height: 1.5; }

/* ── Formulaires ─────────────────────────────────────────────────────────── */
.form-group { margin-bottom: 1.1rem; }
.form-group label { display: block; font-size: 0.75rem; font-weight: 500; letter-spacing: 0.1em; text-transform: uppercase; color: var(--pourpre); margin-bottom: 0.4rem; }
.form-group input, .form-group select, .form-group textarea {
  width: 100%; padding: 0.65rem 0.9rem;
  border: 1px solid var(--bordure); border-radius: var(--radius);
  font-family: 'Jost', sans-serif; font-size: 0.9rem;
  color: var(--pourpre-deep); background: var(--blanc);
  transition: border-color .2s;
}
.form-group input:focus, .form-group select:focus, .form-group textarea:focus { outline: none; border-color: var(--pourpre); }
.form-group input[type="checkbox"] { width: auto; padding: 0; border: none; }
.form-group textarea { resize: vertical; min-height: 110px; }
.form-feedback { padding: 1rem 1.2rem; border-radius: var(--radius); margin-bottom: 1rem; font-size: 0.88rem; }
.form-feedback.success { background: rgba(200,169,110,0.12); border: 1px solid rgba(200,169,110,0.4); color: var(--pourpre-deep); }
.form-feedback.error { background: rgba(92,26,58,0.08); border: 1px solid rgba(92,26,58,0.3); color: var(--pourpre); }
.note { font-size: 0.78rem; color: var(--gris); font-style: italic; }

/* ── Footer ──────────────────────────────────────────────────────────────── */
.site-footer {
  background: var(--pourpre-deep);
  border-top: 1px solid rgba(200,169,110,0.15);
  padding: 3rem 5vw 1.5rem;
}
.footer-inner {
  max-width: 1400px; margin: 0 auto;
  display: grid; grid-template-columns: 2fr 1fr 1fr; gap: 3rem;
  margin-bottom: 2rem;
}
.footer-col h4 { font-size: 0.75rem; font-weight: 600; letter-spacing: 0.14em; text-transform: uppercase; color: var(--or); margin-bottom: 0.9rem; }
.footer-col p, .footer-col a { font-size: 0.82rem; font-weight: 300; color: rgba(255,255,255,0.55); line-height: 1.9; text-decoration: none; display: block; }
.footer-col a:hover { color: var(--or-pale); }
.footer-col .note { color: rgba(255,255,255,0.3); font-size: 0.72rem; }
.footer-bottom {
  max-width: 1400px; margin: 0 auto;
  border-top: 1px solid rgba(200,169,110,0.1);
  padding-top: 1.2rem;
  font-size: 0.72rem; color: rgba(255,255,255,0.35);
  display: flex; justify-content: space-between; flex-wrap: wrap; gap: 0.5rem;
}
.footer-bottom a { color: inherit; }

/* ── Sticky CTA mobile ───────────────────────────────────────────────────── */
.sticky-cta-mobile {
  display: none; position: fixed; bottom: 0; left: 0; right: 0; z-index: 100;
  background: var(--blanc); border-top: 1px solid var(--bordure);
  padding: 0.8rem 1rem; text-align: center;
}
@media (max-width: 1200px) {
  /* Visible dès que la nav est en mode burger */
  .sticky-cta-mobile { display: block; }
}
.sticky-cta-mobile .btn { width: 100%; justify-content: center; }

/* ── Animations ──────────────────────────────────────────────────────────── */
[data-reveal] { opacity: 0; transform: translateY(20px); transition: opacity .6s ease, transform .6s ease; }
[data-reveal].visible { opacity: 1; transform: none; }

/* ── Responsive ──────────────────────────────────────────────────────────── */
@media (max-width: 768px) {
  .footer-inner { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 1200px) {
  .nav-links { display: none; flex-direction: column; align-items: flex-start; gap: 0; position: fixed; top: var(--nav-h); left: 0; right: 0; background: rgba(61,14,38,0.98); border-bottom: 1px solid rgba(200,169,110,0.25); padding: 1rem 1.5rem; z-index: 190; max-height: calc(100vh - var(--nav-h)); overflow-y: auto; }
  .nav-links.open { display: flex; }
  .nav-links > li { width: 100%; border-bottom: 1px solid rgba(200,169,110,0.15); padding: 0.2rem 0; }
  .nav-links > li:last-child { border-bottom: none; }
  .nav-links > li > a, .nav-dropdown-trigger { padding: 0.7rem 0; width: 100%; }
  .nav-dropdown-menu { position: static; box-shadow: none; border: none; background: rgba(92,26,58,0.6); border-radius: 0; padding: 0; margin-left: 1rem; }
  .nav-dropdown.open .nav-dropdown-menu { display: flex; flex-direction: column; }
  .nav-lang-selector { width: 100%; }
  .nav-lang-dropdown { position: static; box-shadow: none; }
  .nav-cta { text-align: center; margin-top: 0.5rem; }
  .nav-burger { display: flex; }
  .nav-logo { margin-right: 0; }
  .nav-inner { justify-content: center; gap: 0.8rem; }
  .footer-inner { grid-template-columns: 1fr; }
  .hero { min-height: auto; }
}

@media (max-width: 1024px) {
  .hero { text-align: center; }
  .hero-inner { flex-direction: column; }
  .hero-motif { width: 220px; height: 220px; opacity: 0.4; }
  .hero-sub { margin-left: auto; margin-right: auto; }
  .hero-actions { justify-content: center; }
}

@media (max-width: 600px) {
  .hero-motif { display: none; }
}

/* ── Logo animé (fade style DMOKA) ──────────────────────────────────────── */
.nav-logo-boussole { width: 32px; height: 32px; flex-shrink: 0; }
.nav-logo-word {
  font-family: 'Cormorant Garamond', serif;
  font-size: 1.15rem; font-weight: 600;
  color: var(--or); letter-spacing: 0.03em;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  transition: opacity 0.35s ease;
  opacity: 1;
  line-height: 1;
  position: absolute;
  left: 2.6rem;
  top: 50%;
  transform: translateY(-50%);
  max-width: calc(100% - 2.6rem);
}

/* ── Bouton CTA nav plus large ───────────────────────────────────────────── */
.nav-cta {
  background: var(--or) !important; color: var(--pourpre-deep) !important;
  padding: 9px 26px !important; border-radius: var(--radius);
  font-size: 0.78rem !important; font-weight: 700 !important;
  letter-spacing: 0.08em !important;
  white-space: nowrap;
  transition: background .2s !important;
}
.nav-cta:hover { background: var(--or-pale) !important; color: var(--pourpre-deep) !important; }

/* ── Boussole logo or ────────────────────────────────────────────────────── */
.nav-logo-boussole circle,
.nav-logo-boussole line { stroke: var(--or) !important; }
.nav-logo-boussole polygon { fill: var(--or) !important; }
.nav-logo-boussole polygon:last-of-type { fill: rgba(200,169,110,0.6) !important; }

/* ── Sticky CTA : géré par JS uniquement, pas par media query ───────────── */
/* (évite l'affichage intempestif dans la nav sur grands écrans) */

/* ── Reset Leaflet (éviter interférences avec la nav) ────────────────────── */
.leaflet-container { font-family: inherit; }
.leaflet-bar a, .leaflet-bar a:hover { 
  background-color: var(--blanc); color: var(--pourpre-deep);
}

/* ── Avertissement adaptation culturelle (pages langues) ─────────────────── */
.lang-warning {
  background: var(--pourpre-deep);
  border-bottom: 2px solid var(--or);
  width: 100%;
  position: sticky;
  top: var(--nav-h);
  z-index: 90;
  padding: 0 5vw;
}
.lang-warning-inner {
  max-width: 1400px; margin: 0 auto;
  padding: 0.7rem 0;
  display: flex; align-items: flex-start; gap: 12px;
}
.lang-warning-icon {
  flex-shrink: 0; width: 22px; height: 22px;
  background: var(--or); color: var(--pourpre-deep);
  border-radius: 50%; display: flex; align-items: center; justify-content: center;
  font-size: 0.75rem; font-weight: 700; margin-top: 1px; line-height: 1;
}
.lang-warning p {
  font-size: 0.82rem; font-weight: 300; line-height: 1.6;
  color: rgba(255,255,255,0.75); margin: 0;
}
.lang-warning a { color: var(--or); font-weight: 500; text-decoration: underline; }
.lang-warning strong { color: var(--or); font-weight: 600; }
.lang-warning a:hover { color: var(--or-pale); }


/* ── Contextes grid (pages langues) ─────────────────────────────────────── */
.contextes-grid { display:grid; grid-template-columns:repeat(3,1fr); gap:1px; background:var(--bordure); border:1px solid var(--bordure); }
@media(max-width:900px){ .contextes-grid { grid-template-columns:1fr 1fr; } }
@media(max-width:560px){ .contextes-grid { grid-template-columns:1fr; } }
.contexte-card { background:var(--creme); padding:1.8rem 1.6rem; transition:background .2s; position:relative; overflow:hidden; }
.contexte-card:hover { background:var(--blanc); }
.contexte-card::after { content:''; position:absolute; bottom:0; left:1.6rem; right:1.6rem; height:2px; background:var(--or); transform:scaleX(0); transform-origin:left; transition:transform .3s; }
.contexte-card:hover::after { transform:scaleX(1); }
.contexte-icon { font-size:1.5rem; margin-bottom:.8rem; display:block; }
.contexte-public { font-size:.72rem; font-weight:600; letter-spacing:.14em; text-transform:uppercase; color:var(--pourpre); margin-bottom:.4rem; }
.contexte-title { font-family:'Cormorant Garamond',serif; font-style:italic; font-size:1.1rem; font-weight:400; color:var(--pourpre-deep); margin-bottom:.5rem; line-height:1.3; }
.contexte-desc { font-size:.82rem; font-weight:300; line-height:1.7; color:var(--gris); }
.badge { font-size:.7rem; font-weight:600; letter-spacing:.08em; text-transform:uppercase; padding:3px 9px; border-radius:2px; display:inline-block; }
.badge-perso { background:rgba(92,26,58,.1); color:var(--pourpre-mid); }
.badge-sante { background:rgba(92,26,58,.2); color:var(--pourpre); }
.badge-soon { background:var(--gris-pale); color:var(--gris); }
.contexte-dl {
  display: inline-flex; align-items: center; gap: 5px;
  margin-top: .9rem;
  font-family: 'Jost', sans-serif;
  font-size: .7rem; font-weight: 600;
  letter-spacing: .1em; text-transform: uppercase;
  color: var(--pourpre); text-decoration: none;
  border-bottom: 1px solid transparent;
  transition: color .2s, border-color .2s;
}
.contexte-dl:hover { color: var(--pourpre-light); border-bottom-color: var(--pourpre-light); }
.contexte-dl + .contexte-dl { margin-left: .9rem; }
.biopsy-grid { display:grid; grid-template-columns:1fr 1fr; gap:5vw; align-items:center; }
@media(max-width:700px){ .biopsy-grid { grid-template-columns:1fr; } }
.principe-icon { width:28px; height:28px; border-radius:50%; background:var(--gris-pale); border:1px solid var(--bordure); display:flex; align-items:center; justify-content:center; flex-shrink:0; margin-top:2px; font-size:.72rem; color:var(--pourpre); font-weight:600; }
.biopsy-principes { list-style:none; display:flex; flex-direction:column; gap:1rem; }
.biopsy-principes li { display:flex; gap:.9rem; align-items:flex-start; font-size:.88rem; line-height:1.7; color:var(--gris); }
.warning-anchor { color:var(--or) !important; font-size:.8rem; font-style:normal; text-decoration:underline; margin-left:.5rem; cursor:pointer; opacity:.8; }
.warning-anchor:hover { opacity:1; }
