/* ============================================================
   LUMEN — Cabinet dentaire esthétique · Luxembourg
   Démo GridCore.lu · site cinématique one-page (FR)
   ------------------------------------------------------------
   Direction : hero sombre cinématique (noir bleuté) + alternance
   de sections claires (ivoire / champagne) et sombres.
   Accent unique : or champagne. Type : Cormorant Garamond + Work Sans.
   ============================================================ */

:root {
  /* ---- Sombre (hero, full-bleed, contact, footer) — noir bleuté ---- */
  --bg:          #0b0f17;
  --bg-2:        #11161f;
  --bg-3:        #161c27;
  --ink:         #070a10;

  /* ---- Texte sur sombre — blanc porcelaine ---- */
  --fg:          #f4f1ea;
  --fg-soft:     #d3cfc6;
  --muted:       #8c8a83;

  /* ---- Clair (confiance, soins, parcours, expérience) ---- */
  --paper:       #f5f1e8;   /* ivoire */
  --paper-2:     #efe6d6;   /* champagne */
  --ink-fg:      #161a22;   /* texte sur clair */
  --ink-soft:    #45494f;
  --ink-muted:   #555a63;   /* graphite — petits textes fonctionnels lisibles sur ivoire/champagne */
  --line-light:  rgba(22, 26, 34, 0.14);

  /* ---- Accent or champagne (UNIQUE) ---- */
  --gold:        #c8a96a;   /* marque : CTA, barre de progression (constant) */
  --accent:      #c8a96a;   /* accent texte sur sombre */
  --accent-ink:  #7a5d2c;   /* accent texte sur clair (contraste AA) */
  --line:        rgba(244, 241, 234, 0.14);

  /* ---- Boutons ghost (s'adaptent par bande) ---- */
  --btn-ghost-fg: var(--fg);
  --btn-ghost-bd: rgba(244, 241, 234, 0.48);

  /* ---- Layout / motion / type ---- */
  --maxw:        1240px;
  --pad:         clamp(22px, 5vw, 80px);
  --demobar-h:   38px;
  --ease:        cubic-bezier(0.22, 1, 0.36, 1);
  --serif:       "Cormorant Garamond", Georgia, "Times New Roman", serif;
  --sans:        "Work Sans", system-ui, -apple-system, "Segoe UI", sans-serif;
}

/* ============================================================
   BASE
   ============================================================ */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }

body {
  margin: 0;
  background: var(--bg);
  color: var(--fg);
  font-family: var(--sans);
  font-weight: 300;
  font-size: 16px;
  line-height: 1.65;
  letter-spacing: 0.01em;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: clip; /* JAMAIS hidden (casse le sticky du hero) */
}

img { display: block; max-width: 100%; height: auto; }
body.menu-open { overflow: hidden; } /* fige le scroll quand le menu mobile est ouvert */
a { color: inherit; text-decoration: none; }
h1, h2, h3 { margin: 0; font-family: var(--serif); font-weight: 500; line-height: 1.05; letter-spacing: -0.01em; }
em { font-style: italic; color: var(--accent); }

:focus-visible { outline: 2px solid var(--gold); outline-offset: 3px; border-radius: 2px; }

/* Sections ciblées par les ancres : ne pas passer sous le chrome fixe */
section[id], [id].scroll-target { scroll-margin-top: calc(var(--demobar-h) + 78px); }

/* ============================================================
   SYSTÈME DE BANDES (clair / sombre)
   Une bande claire repositionne les tokens de texte (dark-on-light).
   ============================================================ */
.band { padding: clamp(88px, 13vh, 170px) var(--pad); }
.band--paper, .band--ivory, .band--champagne {
  color: var(--ink-fg);
  --fg: var(--ink-fg); --fg-soft: var(--ink-soft); --muted: var(--ink-muted);
  --accent: var(--accent-ink); --line: var(--line-light);
  --btn-ghost-fg: var(--ink-fg); --btn-ghost-bd: rgba(22,26,34,0.26);
}
.band--paper, .band--ivory { background: var(--paper); }
.band--champagne { background: var(--paper-2); }
.band--dark    { background: var(--bg); }
.band--dark-2  { background: var(--bg-2); }
.band--ink     { background: var(--ink); }
.band--paper :focus-visible, .band--champagne :focus-visible { outline-color: var(--accent-ink); }

/* ============================================================
   FRAGMENTS PARTAGÉS
   ============================================================ */
.eyebrow {
  font-family: var(--sans); font-size: 12px; font-weight: 500;
  letter-spacing: 0.26em; text-transform: uppercase; color: var(--accent);
  margin: 0 0 22px;
}
.eyebrow--center { text-align: center; }
.lede  { font-size: clamp(16px, 1.4vw, 19px); color: var(--fg-soft); max-width: 48ch; margin: 26px 0 0; line-height: 1.75; }
.meta  { font-size: 14px; color: var(--muted); letter-spacing: 0.02em; margin: 22px 0 0; }
.section-title { font-size: clamp(34px, 5vw, 72px); color: var(--fg); }

.btn {
  display: inline-flex; align-items: center; gap: 12px;
  font-family: var(--sans); font-size: 12px; font-weight: 500;
  letter-spacing: 0.18em; text-transform: uppercase; cursor: pointer;
  padding: 16px 30px; border-radius: 999px; border: 1px solid transparent;
  transition: background .35s var(--ease), color .35s var(--ease),
              border-color .35s var(--ease), transform .35s var(--ease), filter .35s var(--ease);
}
.btn--primary { background: var(--gold); color: #0b0f17; border-color: var(--gold); }
.btn--primary:hover { transform: translateY(-2px); filter: brightness(1.07); }
.btn--ghost { background: transparent; color: var(--btn-ghost-fg); border-color: var(--btn-ghost-bd); }
.btn--ghost:hover { background: var(--gold); color: #0b0f17; border-color: var(--gold); transform: translateY(-2px); }

/* ============================================================
   BARRE DÉMO GRIDCORE (fixe, discrète)
   ============================================================ */
.demobar {
  position: fixed; top: 0; left: 0; right: 0; z-index: 160; height: var(--demobar-h);
  display: flex; align-items: center; justify-content: center; gap: 14px;
  padding: 0 var(--pad);
  background: rgba(7, 10, 16, 0.86); backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--line);
  font-size: 11px; letter-spacing: 0.1em; color: var(--fg-soft);
}
.demobar__txt { text-transform: uppercase; letter-spacing: 0.14em; }
.demobar__txt b { color: var(--gold); font-weight: 600; }
.demobar__cta { color: var(--fg); border-bottom: 1px solid var(--gold); padding-bottom: 1px; white-space: nowrap; transition: color .3s var(--ease); }
.demobar__cta:hover { color: var(--gold); }

/* ============================================================
   SCROLL PROGRESS
   ============================================================ */
.scroll-progress {
  position: fixed; top: var(--demobar-h); left: 0; height: 2px; width: 0;
  background: var(--gold); z-index: 159; transition: width .1s linear;
}

/* ============================================================
   NAV
   ============================================================ */
.nav {
  position: fixed; top: var(--demobar-h); left: 0; right: 0; z-index: 150;
  padding: 18px var(--pad);
  transition: background .5s var(--ease), padding .5s var(--ease), backdrop-filter .5s var(--ease), border-color .5s var(--ease), box-shadow .5s var(--ease);
  /* glass lisible dès le 1er pixel (le scrim du hero est transparent en haut) */
  background: rgba(7, 10, 16, 0.55);
  backdrop-filter: blur(16px) saturate(120%);
  -webkit-backdrop-filter: blur(16px) saturate(120%);
  border-bottom: 1px solid rgba(244, 241, 234, 0.08);
  box-shadow: 0 10px 34px rgba(0, 0, 0, 0.20);
}
.nav.is-scrolled {
  background: rgba(7, 10, 16, 0.88); backdrop-filter: blur(16px) saturate(120%);
  -webkit-backdrop-filter: blur(16px) saturate(120%);
  padding-top: 12px; padding-bottom: 12px;
  border-bottom-color: rgba(200, 169, 106, 0.22); /* tom --gold */
}
/* 3 zones : logo (gauche) · nav (centrée) · actions (droite) — la nav reste
   visuellement centrée dans le conteneur quelles que soient les largeurs logo/CTA */
.nav__inner {
  width: 100%; max-width: var(--maxw); margin: 0 auto;
  display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; gap: 24px;
}
.nav__brand {
  justify-self: start; white-space: nowrap;
  font-family: var(--serif); font-weight: 600; font-size: 22px;
  letter-spacing: 0.42em; padding-left: 0.42em; color: var(--fg);
  position: relative; z-index: 152;
}
.nav__links { justify-self: center; display: flex; align-items: center; gap: 36px; }
.nav__links a:not(.nav__cta) {
  font-size: 13px; font-weight: 400; letter-spacing: 0.16em; text-transform: uppercase;
  color: var(--fg); position: relative; padding: 4px 0; white-space: nowrap;
  text-shadow: 0 1px 10px rgba(0,0,0,0.35);
}
.nav__links a:not(.nav__cta)::after {
  content: ""; position: absolute; left: 0; bottom: 0; height: 1px; width: 0;
  background: var(--gold); transition: width .4s var(--ease);
}
.nav__links a:not(.nav__cta):hover::after { width: 100%; }
.nav__actions { justify-self: end; display: flex; align-items: center; gap: 12px; position: relative; z-index: 152; }
.nav__cta {
  font-size: 11px; font-weight: 500; letter-spacing: 0.18em; text-transform: uppercase;
  color: #0b0f17; background: var(--gold); border: 1px solid var(--gold);
  padding: 11px 22px; border-radius: 999px; white-space: nowrap;
  transition: filter .35s var(--ease), transform .35s var(--ease);
}
.nav__cta:hover { filter: brightness(1.07); transform: translateY(-1px); }
.nav__cta--menu { display: none; } /* CTA visible seulement dans le menu mobile */

/* Sélecteur de langue (FR EN PT DE) — discret (gap = séparation, pas de pseudo qui passe à la ligne) */
.nav__lang { display: flex; align-items: center; flex-wrap: nowrap; gap: 14px; }
.nav__lang a {
  font-size: 11px; font-weight: 500; letter-spacing: 0.12em; text-transform: uppercase;
  color: var(--fg-soft); transition: color .3s var(--ease); white-space: nowrap;
}
.nav__lang a:hover { color: var(--fg); }
.nav__lang a[aria-current="page"] { color: var(--gold); }
.nav__lang--bar { margin-right: 2px; padding-right: 16px; border-right: 1px solid var(--line); }
.nav__lang--menu { display: none; }

/* Burger */
.nav__toggle {
  display: none; width: 44px; height: 44px; border: 0; background: transparent;
  cursor: pointer; padding: 10px; z-index: 152;
}
.nav__toggle span { display: block; height: 1.5px; background: var(--fg); margin: 5px 0; transition: transform .35s var(--ease), opacity .35s var(--ease); }
.nav--open .nav__toggle span:nth-child(1) { transform: translateY(6.5px) rotate(45deg); }
.nav--open .nav__toggle span:nth-child(2) { opacity: 0; }
.nav--open .nav__toggle span:nth-child(3) { transform: translateY(-6.5px) rotate(-45deg); }

/* ============================================================
   HERO — keyframes pilotés au scroll (3 à 5 keyframes max)
   ============================================================ */
.hero { position: relative; background: var(--ink); }
.hero--scroll { height: 260vh; } /* desktop : course de scroll courte pour le crossfade */
.hero__stage { position: sticky; top: 0; height: 100vh; overflow: hidden; }
.hero__media { position: absolute; inset: 0; }
.hero__poster, .hero__kf {
  position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover;
}
.hero__poster { z-index: 0; }                 /* fallback JS-off : visible par défaut */
.hero__kf { z-index: 1; opacity: 0; transform: scale(1.06); will-change: opacity, transform; }
.hero__scrim {
  position: absolute; inset: 0; z-index: 2; pointer-events: none;
  background:
    linear-gradient(to bottom, rgba(7,10,16,0.55) 0%, rgba(7,10,16,0) 16%),
    linear-gradient(to top, rgba(7,10,16,0.86) 0%, rgba(7,10,16,0.30) 44%, rgba(7,10,16,0) 66%),
    linear-gradient(to right, rgba(7,10,16,0.62) 0%, rgba(7,10,16,0.12) 52%, rgba(7,10,16,0) 82%);
}

/* Loader */
.loader {
  position: absolute; inset: 0; z-index: 20;
  display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 22px;
  background: var(--ink); transition: opacity .8s var(--ease), visibility .8s;
}
.loader.is-done { opacity: 0; visibility: hidden; }
.loader__brand { font-family: var(--serif); font-size: 20px; letter-spacing: 0.5em; padding-left: 0.5em; color: var(--fg); }
.loader__track { width: 170px; height: 1px; background: var(--line); overflow: hidden; }
.loader__bar { display: block; height: 100%; width: 0; background: var(--gold); transition: width .25s var(--ease); }
.loader__pct { font-family: var(--sans); font-size: 11px; letter-spacing: 0.2em; color: var(--muted); }

/* Beats */
.hero__beats { position: absolute; inset: 0; z-index: 10; pointer-events: none; }
.hero__beat {
  position: absolute; left: var(--pad); right: var(--pad);
  bottom: clamp(96px, 18vh, 180px); max-width: 880px;
  opacity: 0; will-change: opacity, transform;
}
.hero__beat * { pointer-events: auto; }
.hero__beat--lead { opacity: 1; } /* visible par défaut (fallback JS off) */
.hero__eyebrow {
  font-size: 12px; font-weight: 500; letter-spacing: 0.3em; text-transform: uppercase;
  color: var(--gold); margin: 0 0 18px;
}
.hero__title {
  font-size: clamp(46px, 8.4vw, 116px); line-height: 0.97; color: var(--fg);
  text-shadow: 0 2px 50px rgba(0,0,0,0.45);
}
.hero__beat-title {
  font-family: var(--serif); font-weight: 500; line-height: 1.02; letter-spacing: -0.01em;
  font-size: clamp(38px, 6.2vw, 86px); color: var(--fg); text-shadow: 0 2px 50px rgba(0,0,0,0.45);
}
.hero__sub {
  font-size: clamp(16px, 1.5vw, 20px); color: var(--fg); margin: 24px 0 0;
  max-width: 46ch; line-height: 1.75; text-shadow: 0 1px 2px rgba(0,0,0,0.45), 0 2px 26px rgba(0,0,0,0.6);
}
.hero__beat-copy {
  font-size: clamp(16px, 1.5vw, 20px); color: var(--fg-soft); margin: 22px 0 0;
  max-width: 46ch; line-height: 1.7; text-shadow: 0 1px 20px rgba(0,0,0,0.4);
}
.hero__actions { display: flex; flex-wrap: wrap; gap: 16px; margin-top: 34px; }
.hero__trust {
  list-style: none; display: flex; flex-wrap: wrap; gap: 10px 12px; margin: 30px 0 0; padding: 0;
}
.hero__trust li {
  font-size: 11.5px; letter-spacing: 0.14em; text-transform: uppercase; color: var(--fg);
  padding: 8px 15px; border: 1px solid rgba(244,241,234,0.24); border-radius: 999px;
  background: rgba(255,255,255,0.08); backdrop-filter: blur(4px);
  text-shadow: 0 1px 8px rgba(0,0,0,0.45);
}

.hero__cue {
  position: absolute; right: var(--pad); bottom: clamp(48px, 10vh, 96px); z-index: 11;
  display: flex; flex-direction: column; align-items: center; gap: 14px;
  font-size: 10px; letter-spacing: 0.24em; text-transform: uppercase; color: var(--fg-soft);
}
.hero__cue-line { width: 1px; height: 52px; background: linear-gradient(var(--fg-soft), transparent); animation: cuePulse 2.4s var(--ease) infinite; }
@keyframes cuePulse { 0%,100% { opacity: .35; transform: scaleY(.7); transform-origin: top; } 50% { opacity: 1; transform: scaleY(1); } }

/* ============================================================
   CONFIANCE (bande claire) — 4 points
   ============================================================ */
.trust__inner { max-width: var(--maxw); margin: 0 auto; }
.trust__grid {
  margin-top: clamp(40px, 6vh, 70px);
  display: grid; grid-template-columns: repeat(4, 1fr); gap: 0;
}
.trust__item { padding: 8px clamp(20px, 2.4vw, 34px) 8px 0; border-left: 1px solid var(--line); padding-left: clamp(20px, 2.4vw, 34px); }
.trust__item:first-child { border-left: 0; padding-left: 0; }
.trust__k { display: block; font-family: var(--serif); font-size: clamp(22px, 2vw, 28px); color: var(--fg); }
.trust__v { display: block; font-size: 14px; color: var(--muted); margin-top: 10px; line-height: 1.5; }

/* ============================================================
   ÉDITORIAL (image + texte) — asymétrique
   ============================================================ */
.editorial__inner {
  max-width: var(--maxw); margin: 0 auto;
  display: grid; grid-template-columns: 1.05fr 0.95fr; gap: clamp(36px, 6vw, 88px); align-items: center;
}
.editorial--reverse .editorial__media { order: 2; }
.editorial--reverse .editorial__text { order: 1; }
.editorial__text { max-width: 540px; }
.editorial__title { font-size: clamp(34px, 5vw, 72px); color: var(--fg); }

.frame {
  margin: 0; overflow: hidden; border-radius: 4px; position: relative; aspect-ratio: 16 / 9;
  background: var(--bg-3);
  background-image: repeating-linear-gradient(45deg, rgba(140,140,140,0.05) 0 14px, transparent 14px 28px);
  /* hairline ring (band-aware --line) = nette séparation de l'image sur les bandes claires */
  box-shadow: 0 0 0 1px var(--line), 0 40px 90px -44px rgba(0,0,0,0.55);
}
.frame::after {
  content: "Image à venir"; position: absolute; inset: 0;
  display: flex; align-items: center; justify-content: center;
  font-family: var(--sans); font-size: 12px; letter-spacing: 0.16em; text-transform: uppercase;
  color: var(--muted); opacity: 0.5; pointer-events: none;
}
.frame img { position: relative; z-index: 1; width: 100%; height: 100%; object-fit: cover; transition: transform 1.4s var(--ease); }
.editorial__media:hover .frame img { transform: scale(1.04); }

/* ============================================================
   FULL-BLEED (image plein écran + scrim)
   ============================================================ */
.bleed { position: relative; min-height: 88vh; display: flex; align-items: center; overflow: hidden; }
.bleed__img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.bleed__scrim {
  position: absolute; inset: 0;
  background:
    linear-gradient(to top, rgba(7,10,16,0.86) 0%, rgba(7,10,16,0.30) 44%, rgba(7,10,16,0) 66%),
    linear-gradient(to right, rgba(7,10,16,0.74) 0%, rgba(7,10,16,0.22) 52%, rgba(7,10,16,0) 82%);
}
.bleed__content { position: relative; z-index: 2; max-width: 660px; padding: 0 var(--pad); }
.bleed__content--low { align-self: flex-end; padding-bottom: clamp(64px, 12vh, 130px); }
.bleed__title { font-size: clamp(38px, 6vw, 88px); color: var(--fg); text-shadow: 0 2px 40px rgba(0,0,0,0.5); }
.bleed__copy { font-size: clamp(16px, 1.4vw, 19px); color: var(--fg); max-width: 46ch; margin: 24px 0 0; line-height: 1.75; text-shadow: 0 1px 24px rgba(0,0,0,0.85), 0 1px 4px rgba(0,0,0,0.6); }
.bleed__specs { list-style: none; margin: 34px 0 0; padding: 0; display: flex; gap: clamp(28px, 4vw, 56px); flex-wrap: wrap; }
.bleed__specs li { display: flex; flex-direction: column; gap: 6px; padding-top: 18px; border-top: 1px solid rgba(244,241,234,0.22); min-width: 150px; }
.bleed__spec-k { font-size: 11px; letter-spacing: 0.2em; text-transform: uppercase; color: var(--gold); }
.bleed__spec-v { font-family: var(--serif); font-size: clamp(18px, 1.7vw, 22px); color: var(--fg); }

/* ============================================================
   SOINS — cartes éditoriales (bande claire)
   ============================================================ */
.care__inner { max-width: var(--maxw); margin: 0 auto; }
.care__head { max-width: 760px; }
.care__grid {
  margin-top: clamp(44px, 7vh, 80px);
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 1px;
  background: rgba(22,26,34,0.16); border: 1px solid rgba(22,26,34,0.16);
  border-radius: 3px; overflow: hidden;
  box-shadow: 0 36px 80px -54px rgba(22,26,34,0.55);
}
.care__card { background: var(--paper); padding: clamp(30px, 3vw, 44px); display: flex; flex-direction: column; transition: background .3s var(--ease); }
.care__card:hover { background: #faf7ef; }
.care__index { font-family: var(--serif); font-size: 16px; font-weight: 600; color: var(--accent); letter-spacing: 0.04em; }
.care__name { font-family: var(--serif); font-size: clamp(23px, 2vw, 29px); color: var(--fg); margin: 14px 0 0; line-height: 1.12; }
.care__desc { font-size: 15.5px; color: var(--ink-soft); margin: 14px 0 0; line-height: 1.65; }
.care__hint { font-size: 12px; letter-spacing: 0.14em; text-transform: uppercase; color: var(--muted); margin: 20px 0 0; padding-top: 16px; border-top: 1px solid rgba(22,26,34,0.18); }

/* ============================================================
   PARCOURS — 3 étapes (bande claire)
   ============================================================ */
.steps__inner { max-width: var(--maxw); margin: 0 auto; }
.steps__head { max-width: 720px; }
.steps__grid { margin-top: clamp(44px, 7vh, 80px); display: grid; grid-template-columns: repeat(3, 1fr); gap: clamp(20px, 3vw, 36px); }
.step {
  background: rgba(255,255,255,0.45); border: 1px solid rgba(22,26,34,0.10);
  border-radius: 12px; padding: clamp(26px, 3vw, 36px);
  box-shadow: 0 24px 56px -44px rgba(22,26,34,0.55);
}
.step__num {
  display: block; font-family: var(--serif); font-weight: 600;
  font-size: clamp(46px, 4.6vw, 68px); color: var(--accent); line-height: 1;
}
.step__title { font-family: var(--serif); font-size: clamp(22px, 1.8vw, 28px); color: var(--ink-fg); margin: 16px 0 0; line-height: 1.12; }
.step__copy { font-size: 15.5px; color: var(--ink-soft); margin: 12px 0 0; line-height: 1.65; }

/* ============================================================
   ÉQUIPE — bloc éditorial premium (image forte à droite)
   ============================================================ */
.team__inner {
  max-width: var(--maxw); margin: 0 auto;
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr);
  gap: clamp(36px, 6vw, 84px); align-items: center;
}
.team__text { max-width: 540px; }
.team__title { font-size: clamp(34px, 5vw, 72px); color: var(--fg); }

.team__media { position: relative; }
.team__frame {
  margin: 0; position: relative; overflow: hidden;
  border-radius: 14px;
  border: 1px solid rgba(200, 169, 106, 0.26);           /* liseré or subtil */
  box-shadow: 0 36px 90px -30px rgba(0,0,0,0.66), 0 0 0 1px rgba(244,241,234,0.05);
  background: rgba(255,255,255,0.04);
}
.team__frame img {
  display: block; width: 100%; height: 100%;
  min-height: clamp(340px, 38vw, 520px);
  object-fit: cover; object-position: center 26%;          /* cadré sur les visages */
  transition: transform 1.4s var(--ease);
}
.team__media:hover .team__frame img { transform: scale(1.03); }
/* sheen léger + halo or discret — PAS d'overlay sombre lourd (visages bien visibles) */
.team__frame::after {
  content: ""; position: absolute; inset: 0; pointer-events: none;
  background:
    linear-gradient(180deg, rgba(255,255,255,0.05), rgba(0,0,0,0.10)),
    radial-gradient(circle at 18% 12%, rgba(200,169,106,0.12), transparent 44%);
}

/* liste de valeurs (remplace l'ancienne liste de noms) — plus lisible, plus d'air */
.team__points { list-style: none; margin: 36px 0 0; padding: 0; }
.team__point {
  display: flex; flex-direction: column; gap: 9px;
  padding: 24px 0; border-top: 1px solid rgba(244,241,234,0.16);
}
.team__point:first-child { border-top: 0; padding-top: 4px; }
.team__point-k { font-family: var(--serif); font-size: clamp(21px, 1.9vw, 26px); color: var(--fg); line-height: 1.15; }
.team__point-v { font-size: 15.5px; color: var(--fg-soft); line-height: 1.65; max-width: 48ch; }

/* ============================================================
   MANIFESTE (sombre, centré)
   ============================================================ */
.manifesto__inner { max-width: 960px; margin: 0 auto; text-align: center; }
.manifesto__title { font-size: clamp(38px, 6.2vw, 100px); color: var(--fg); }
.manifesto__copy { font-family: var(--serif); font-style: italic; font-size: clamp(19px, 2.2vw, 30px); color: var(--fg-soft); margin: 34px auto 0; max-width: 58ch; line-height: 1.5; }

/* ============================================================
   CONTACT + FORMULAIRE (sombre)
   ============================================================ */
.contact__inner {
  max-width: var(--maxw); margin: 0 auto;
  display: grid; grid-template-columns: 0.9fr 1.1fr; gap: clamp(44px, 7vw, 110px); align-items: start;
}
.contact__title { font-size: clamp(34px, 4.6vw, 64px); color: var(--fg); margin-top: 8px; }
.contact__copy { color: var(--fg-soft); max-width: 40ch; margin: 26px 0 0; }
.contact__details { margin-top: 34px; display: flex; flex-direction: column; gap: 2px; }
.contact__row { display: flex; justify-content: space-between; align-items: baseline; gap: 20px; padding: 18px 0; border-bottom: 1px solid var(--line); }
.contact__label { font-size: 11px; letter-spacing: 0.2em; text-transform: uppercase; color: var(--muted); }
.contact__value { font-family: var(--serif); font-size: clamp(17px, 1.6vw, 21px); color: var(--fg); }

.form {
  display: grid; grid-template-columns: 1fr 1fr; gap: 22px;
  background: rgba(255,255,255,0.035); border: 1px solid rgba(244,241,234,0.12);
  border-radius: 16px; padding: clamp(24px, 3vw, 40px);
  box-shadow: 0 40px 90px -50px rgba(0,0,0,0.7);
}
.form__field { display: flex; flex-direction: column; gap: 9px; }
.form__field--full { grid-column: 1 / -1; }
.form label { font-size: 12.5px; letter-spacing: 0.14em; text-transform: uppercase; color: var(--fg); }
.form .req { color: var(--gold); }
.form input, .form select, .form textarea {
  font-family: var(--sans); font-size: 16px; color: var(--fg);
  background: rgba(255,255,255,0.05); border: 1px solid rgba(244,241,234,0.18); border-radius: 8px;
  padding: 15px 18px; min-height: 54px; transition: border-color .3s var(--ease), background .3s var(--ease);
}
.form textarea { min-height: 140px; resize: vertical; }
.form input::placeholder, .form textarea::placeholder { color: var(--muted); }
.form input:focus, .form select:focus, .form textarea:focus { border-color: var(--gold); background: rgba(255,255,255,0.08); outline: none; }
.form select { appearance: none; cursor: pointer; }
.form__consent { grid-column: 1 / -1; flex-direction: row; align-items: flex-start; gap: 13px; }
.form__consent input { min-height: auto; width: 20px; height: 20px; margin-top: 2px; accent-color: var(--gold); flex: 0 0 auto; }
.form__consent label { text-transform: none; letter-spacing: 0.01em; font-size: 13.5px; color: var(--fg-soft); line-height: 1.55; }
.form__actions { grid-column: 1 / -1; display: flex; flex-wrap: wrap; align-items: center; gap: 18px; margin-top: 8px; }
.form__note { font-size: 12px; color: var(--muted); letter-spacing: 0.02em; }
.form__status { grid-column: 1 / -1; font-size: 14px; color: var(--gold); min-height: 1.2em; }

/* ============================================================
   FOOTER (sombre)
   ============================================================ */
.footer { background: var(--ink); padding: clamp(60px, 9vh, 110px) var(--pad) 40px; }
.footer__inner { max-width: var(--maxw); margin: 0 auto; display: flex; flex-wrap: wrap; justify-content: space-between; gap: 24px; padding-bottom: 44px; border-bottom: 1px solid var(--line); }
.footer__brand { font-family: var(--serif); font-size: clamp(30px, 4vw, 46px); letter-spacing: 0.18em; color: var(--fg); }
.footer__tagline { font-family: var(--serif); font-style: italic; font-size: 17px; color: var(--muted); margin: 12px 0 0; }
.footer__col { display: flex; flex-direction: column; gap: 8px; font-size: 13px; color: var(--fg-soft); }
.footer__col a:hover { color: var(--gold); }
.footer__col .footer__col-h { font-size: 11px; letter-spacing: 0.2em; text-transform: uppercase; color: var(--muted); margin-bottom: 6px; }
.footer__base { max-width: var(--maxw); margin: 28px auto 0; display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap; align-items: center; }
.footer__legal { font-size: 12px; letter-spacing: 0.03em; color: var(--muted); }
.footer__legal a { color: var(--fg-soft); }
.footer__legal a:hover { color: var(--gold); }

/* ============================================================
   REVEAL ON SCROLL
   ============================================================ */
.reveal { opacity: 0; transform: translateY(26px); transition: opacity 1s var(--ease), transform 1s var(--ease); }
.reveal.is-visible { opacity: 1; transform: none; }

/* ============================================================
   MOTION LAYER (additive — neutralisée sous reduced-motion)
   ============================================================ */
.ml-reveal .ml-line { overflow: hidden; padding-bottom: 0.04em; margin-bottom: -0.04em; }
.ml-reveal .ml-line__inner { display: block; transform: translateY(110%); transition: transform 0.9s var(--ease); transition-delay: var(--ml-delay, 0s); will-change: transform; }
.ml-reveal.is-shown .ml-line__inner { transform: translateY(0); }
.ml-eyebrow { clip-path: inset(0 0 100% 0); opacity: 0; transition: clip-path 0.7s var(--ease), opacity 0.7s var(--ease); }
.ml-eyebrow.is-shown { clip-path: inset(0 0 0 0); opacity: 1; }
.bleed__img { will-change: transform; transform: translate3d(0, var(--py, 0px), 0) scale(1.12); }
.btn:active, .nav__cta:active { transform: translateY(0) scale(0.98); transition-duration: 0.12s; }
body.intro-ready .nav, body.intro-ready .demobar { opacity: 0; transform: translateY(-10px); }
body.intro-ready.is-loaded .nav, body.intro-ready.is-loaded .demobar {
  opacity: 1; transform: translateY(0);
  transition: opacity 0.8s var(--ease), transform 0.8s var(--ease);
}

/* ============================================================
   RESPONSIVE
   ============================================================ */
@media (max-width: 1024px) {
  .editorial__inner, .contact__inner, .team__inner { grid-template-columns: 1fr; gap: 44px; }
  .editorial--reverse .editorial__media { order: 1; }
  .editorial--reverse .editorial__text { order: 2; }
  .trust__grid { grid-template-columns: repeat(2, 1fr); gap: 28px 0; }
  .care__grid { grid-template-columns: repeat(2, 1fr); }
}
/* ≤1024 : header compact (burger). Le sélecteur de langue + CTA + nav centrée ne tiennent
   proprement qu'au-delà ; en dessous, tout passe dans le menu overlay. */
@media (max-width: 1024px) {
  /* 🔴 sur mobile/tablette, retirer backdrop-filter ET transform du header : un ancêtre filtré OU
     transformé devient le bloc conteneur des enfants position:fixed → l'overlay du menu
     ne couvrirait que la barre. Neutralisés, .nav__links (fixed inset:0) = viewport entier. */
  .nav, .nav.is-scrolled,
  body.intro-ready .nav, body.intro-ready.is-loaded .nav {
    backdrop-filter: none !important; -webkit-backdrop-filter: none !important;
    transform: none !important; background: rgba(7,10,16,0.82);
  }
  /* mobile : logo à gauche, burger à droite ; pas de nav centrée */
  .nav__inner { display: flex; justify-content: space-between; align-items: center; gap: 16px; }
  .nav__toggle { display: block; }
  .nav__cta--bar { display: none; }           /* CTA de la barre masqué (header compact) */
  .nav__lang--bar { display: none; }          /* sélecteur de langue passe dans le menu */
  /* le menu = .nav__links en overlay plein écran */
  .nav__links {
    position: fixed; inset: 0; top: 0; left: 0;
    width: 100vw; height: 100dvh; max-width: none; margin: 0; z-index: 151;
    flex-direction: column; justify-content: center; align-items: center; gap: 28px; text-align: center;
    background: rgba(7, 10, 16, 0.97);
    transform: translateX(100%); transition: transform .45s var(--ease); visibility: hidden;
  }
  .nav--open .nav__links { transform: translateX(0); visibility: visible; }
  .nav__links a:not(.nav__cta) { font-size: 16px; }
  .nav__cta--menu { display: inline-flex; margin-top: 6px; } /* CTA dans le menu */
  .nav__lang--menu { display: flex; gap: 20px; margin-top: 10px; }  /* langues dans le menu */
  .nav__lang--menu a { font-size: 14px; }
}
/* 🔴 820px = breakpoint JS (hero statique) → ramener le hero à 100vh */
@media (max-width: 820px) {
  .hero--scroll { height: 100dvh; }
  .care__grid { grid-template-columns: 1fr; }
  .steps__grid { grid-template-columns: 1fr; gap: 36px; }
  .form { grid-template-columns: 1fr; }
  .hero__beat { bottom: clamp(72px, 14vh, 120px); }
  .team__media { order: 2; }              /* image après le texte sur mobile */
  .team__frame img { min-height: clamp(300px, 64vw, 360px); object-position: center 24%; }
}
@media (max-width: 560px) {
  .trust__grid { grid-template-columns: 1fr; gap: 22px; }
  .trust__item { border-left: 0; padding-left: 0; padding-top: 20px; border-top: 1px solid var(--line); }
  .trust__item:first-child { border-top: 0; padding-top: 0; }
  .footer__base { flex-direction: column; text-align: center; align-items: center; }
  .demobar__txt { display: none; }
}

@media (prefers-reduced-motion: reduce) {
  * { animation: none !important; }
  html { scroll-behavior: auto; }
  .reveal { opacity: 1; transform: none; transition: none; }
  .ml-reveal .ml-line { overflow: visible; padding-bottom: 0; margin-bottom: 0; }
  .ml-reveal .ml-line__inner { transform: none !important; transition: none !important; }
  .ml-eyebrow { clip-path: none !important; opacity: 1 !important; transition: none !important; }
  .hero__kf { transition: none !important; }
  .bleed__img { transform: none !important; will-change: auto; }
  .btn:active, .nav__cta:active { transform: none !important; }
  body.intro-ready .nav, body.intro-ready .demobar { opacity: 1 !important; transform: none !important; transition: none !important; }
}

/* ============================================================
   MODE SCREENSHOT (?capture=1 / &clean=1)
   ------------------------------------------------------------
   N'affecte QUE les pages ouvertes avec ?capture / ?clean.
   Site normal (index.html) inchangé.
   ============================================================ */
/* 5. couper animations + transitions (rien capturé à mi-course) */
html.is-capture, html.is-capture * {
  animation: none !important;
  transition: none !important;
  scroll-behavior: auto !important;
}
/* 4. tout révéler immédiatement (reveal + titres masqués + eyebrows) */
html.is-capture [data-reveal],
html.is-capture .reveal {
  opacity: 1 !important; transform: none !important; visibility: visible !important; filter: none !important;
}
html.is-capture .ml-reveal .ml-line { overflow: visible !important; }
html.is-capture .ml-reveal .ml-line__inner { transform: none !important; }
html.is-capture .ml-eyebrow { clip-path: none !important; opacity: 1 !important; }
/* parallaxe neutralisée */
html.is-capture .bleed__img { transform: none !important; }

/* 6. hero statique propre : pas de 260vh, pas de sticky, pas de vide après le hero */
html.is-capture .hero--scroll { height: auto !important; min-height: 92vh !important; }
html.is-capture .hero__stage {
  position: relative !important; top: auto !important;
  height: 92vh !important; min-height: 92vh !important;
}
html.is-capture .hero__poster { opacity: 1 !important; }   /* image hero statique (poster) */
html.is-capture .hero__kf { opacity: 0 !important; }       /* keyframes masqués */
html.is-capture .loader { display: none !important; }      /* pas de loader figé */
html.is-capture .hero__cue { display: none !important; }   /* pas d'indice "faites défiler" */
html.is-capture .hero__beat { transform: none !important; }
html.is-capture .hero__beat--lead { opacity: 1 !important; } /* titre + sous-titre + CTAs + chips */
html.is-capture .scroll-progress { display: none !important; }

/* 7. header dense et lisible dès le haut */
html.is-capture .nav {
  background: rgba(7, 10, 16, 0.88) !important;
  backdrop-filter: blur(18px) saturate(120%) !important;
  -webkit-backdrop-filter: blur(18px) saturate(120%) !important;
  border-bottom: 1px solid rgba(200, 169, 106, 0.22) !important;
  box-shadow: 0 14px 40px rgba(0, 0, 0, 0.22) !important;
  opacity: 1 !important; transform: none !important;
}
html.is-capture .nav__links a:not(.nav__cta) { color: var(--fg) !important; }

/* 9. mode clean : cacher la barre démo GridCore + recoller le header en haut */
html.is-clean { --demobar-h: 0px; }
html.is-clean .demobar { display: none !important; }
html.is-clean .nav { top: 0 !important; }
