/* =====================================================================
   SERVICE CARTE GRISE · JARVILLE — Direction artistique « Le guichet »
   Fil rouge : la plaque d'immatriculation (SIV) + le papier sécurisé
   (guilloché) + le tampon rouge.
   Palette (rôles) :
     --papier  #D9D7CF  gris « carte grise », fond principal
     --plaque  #FBFAF4  blanc plaque, cartes et texte sur fond sombre
     --encre   #0C1A2B  bleu nuit, texte et sections sombres
     --acier   #2C5880  bleu acier de l'enseigne (accent froid)
     --ue      #1F4AA0  bleu des bandes de plaque
     --rouge   #D2202D  rouge tampon (actions, tampons)
     --jaune   #F5C21B  jaune plaque arrière (surbrillance, CTA)
     --vert    #8CC63F  vert « OUVERT » de la banderole de la devanture
   Typos : Big Shoulders Display (titres, façon chiffres embossés d'une
   plaque) + Public Sans (texte, clin d'œil aux typographies d'État).
   ===================================================================== */

:root {
  --papier: #D9D7CF;
  --papier-2: #E8E6DE;
  --plaque: #FBFAF4;
  --encre: #0C1A2B;
  --encre-2: #132740;
  --acier: #2C5880;
  --ue: #1F4AA0;
  --rouge: #D2202D;
  --rouge-clair: #F2525D;
  --jaune: #F5C21B;
  --vert: #8CC63F;
  --f-title: 'Big Shoulders Display', 'Arial Narrow', Impact, sans-serif;
  --f-text: 'Public Sans', system-ui, -apple-system, 'Segoe UI', sans-serif;
  --ease: cubic-bezier(.16, 1, .3, 1);
  --ease-io: cubic-bezier(.76, 0, .24, 1);
  --gut: clamp(1.1rem, 4.4vw, 3.4rem);
  --max: 1360px;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: auto; }
html.lenis, html.lenis body { height: auto; }
.lenis.lenis-smooth { scroll-behavior: auto !important; }
.lenis.lenis-stopped { overflow: hidden; }
body {
  margin: 0;
  background: var(--papier);
  color: var(--encre);
  font-family: var(--f-text);
  font-size: clamp(1rem, .96rem + .2vw, 1.12rem);
  line-height: 1.6;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}
img, svg, video { display: block; max-width: 100%; }
h1, h2, h3, h4, p, ul, ol, dl, dd, figure, blockquote { margin: 0; }
ul, ol { padding: 0; list-style: none; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; cursor: pointer; border: 0; background: none; padding: 0; }
address { font-style: normal; }
::selection { background: var(--jaune); color: var(--encre); }
:focus-visible { outline: 3px solid var(--jaune); outline-offset: 3px; border-radius: 4px; }
.sr { position: absolute !important; width: 1px; height: 1px; margin: -1px; padding: 0; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }
.skip { position: fixed; left: 1rem; top: -4rem; z-index: 10000; background: var(--jaune); color: var(--encre); padding: .7rem 1rem; font-weight: 700; border-radius: 8px; transition: top .3s; }
.skip:focus { top: 1rem; }
.wrap { width: 100%; max-width: var(--max); margin-inline: auto; padding-inline: var(--gut); }
section { position: relative; }
main { overflow-x: clip; }
svg.ico { width: 1.15em; height: 1.15em; flex: none; }

/* ---------- titres ---------- */
h2 {
  font-family: var(--f-title);
  font-weight: 900;
  text-transform: uppercase;
  font-size: clamp(2.9rem, 8.4vw, 8.2rem);
  line-height: .86;
  letter-spacing: -.004em;
  margin-top: 1.1rem;
}
h2 em { font-style: normal; color: var(--acier); }
.kicker {
  display: flex; align-items: center; gap: .9rem; flex-wrap: wrap;
  font-weight: 800; text-transform: uppercase; letter-spacing: .2em; font-size: .74rem;
}
.kicker--light { color: var(--plaque); }
.w { display: inline-block; overflow: hidden; vertical-align: top; padding: .16em .03em .1em; margin: -.16em -.03em -.1em; }
.w--free { overflow: visible; }
.wi, .ch { display: inline-block; will-change: transform; }
.ulink { position: relative; display: inline-block; }
.ulink::after {
  content: ""; position: absolute; left: 0; right: 0; bottom: -.12em; height: 2px; background: currentColor;
  transform: scaleX(0); transform-origin: right; transition: transform .5s var(--ease);
}
.ulink:hover::after, .ulink:focus-visible::after { transform: scaleX(1); transform-origin: left; }

/* =====================================================================
   PLAQUE D'IMMATRICULATION (composant signature)
   ===================================================================== */
.plate {
  --h: 2.4rem;
  display: inline-flex; align-items: stretch; height: var(--h);
  background: var(--plaque); color: var(--encre);
  border: calc(var(--h) * .055) solid var(--encre);
  border-radius: calc(var(--h) * .17);
  overflow: hidden;
  font-family: var(--f-title); font-weight: 800; line-height: 1;
  font-size: calc(var(--h) * .66);
  box-shadow: inset 0 0 0 calc(var(--h) * .02) rgba(255, 255, 255, .7);
  flex: none; user-select: none;
}
.plate__eu, .plate__reg {
  position: relative; display: flex; align-items: center; justify-content: center; flex-direction: column;
  width: calc(var(--h) * .62); background: var(--ue); color: #fff; font-style: normal;
}
.plate__eu svg { position: absolute; top: 5%; left: 50%; width: 82%; transform: translateX(-50%); }
.plate__eu b { position: absolute; bottom: 6%; left: 0; right: 0; text-align: center; font-size: .5em; font-weight: 800; }
.plate__reg b { font-size: .62em; font-weight: 800; letter-spacing: .02em; }
.plate__no { display: flex; align-items: center; padding: 0 .5em; letter-spacing: .07em; white-space: nowrap; }
.plate--xs { --h: 1.55rem; }
.plate--sm { --h: 2.05rem; }
.plate--md { --h: 3.6rem; }
.plate--xl { --h: clamp(4.2rem, 10vw, 8.4rem); }

/* =====================================================================
   BOUTONS
   ===================================================================== */
.btn {
  --bg: var(--plaque); --fg: var(--encre); --fill: var(--encre); --hfg: var(--plaque);
  position: relative; display: inline-flex; align-items: center; justify-content: center; gap: .65rem;
  padding: .95em 1.55em; border-radius: 999px; border: 2px solid var(--bg);
  background: var(--bg); color: var(--fg);
  font-weight: 800; font-size: .95rem; letter-spacing: .01em; line-height: 1.1; text-align: center;
  overflow: hidden; isolation: isolate; will-change: transform;
  transition: color .45s var(--ease), border-color .45s var(--ease);
}
.btn::before {
  content: ""; position: absolute; inset: -2px; z-index: -1; background: var(--fill);
  transform: translateY(102%); border-radius: 50% 50% 0 0 / 40% 40% 0 0;
  transition: transform .6s var(--ease), border-radius .6s var(--ease);
}
.btn:hover::before, .btn:focus-visible::before { transform: translateY(0); border-radius: 0; }
.btn:hover, .btn:focus-visible { color: var(--hfg); border-color: var(--fill); }
.btn--yellow { --bg: var(--jaune); --fg: var(--encre); --fill: var(--encre); --hfg: var(--jaune); }
.btn--red { --bg: var(--rouge); --fg: #fff; --fill: var(--encre); --hfg: #fff; }
.btn--ghost { --bg: transparent; --fg: var(--plaque); --fill: var(--plaque); --hfg: var(--encre); border-color: rgba(251, 250, 244, .55); }
.btn--ink { --bg: var(--encre); --fg: var(--plaque); --fill: var(--rouge); --hfg: #fff; }
.btn--lg { font-size: 1.02rem; padding: 1.1em 1.9em; }
.btn--sm { font-size: .84rem; padding: .7em 1.15em; }
.light .btn--ghost, .pieces .btn--ghost, .who .btn--ghost, .find .btn--ghost { --fg: var(--encre); --fill: var(--encre); --hfg: var(--plaque); border-color: var(--encre); }

/* =====================================================================
   BARRE DE PROGRESSION + CHARGEUR
   ===================================================================== */
.progress { position: fixed; inset: 0 0 auto 0; height: 5px; z-index: 950; pointer-events: none; }
.progress i {
  display: block; height: 100%; transform-origin: left; transform: scaleX(0);
  background: linear-gradient(90deg, var(--ue) 0 33.3%, var(--plaque) 33.3% 66.6%, var(--rouge) 66.6%);
}

.loader { position: fixed; inset: 0; z-index: 9000; display: grid; place-items: center; color: var(--plaque); overflow: hidden; }
html.loaded .loader { display: none; }
.loader__shutter {
  position: absolute; left: 0; right: 0; height: 50.3%; will-change: transform;
  background: var(--encre) url(../assets/brand/guilloche-light.svg) 50% 50% / 1200px 360px repeat-x;
}
.loader__shutter--top { top: 0; border-bottom: 3px solid var(--jaune); }
.loader__shutter--bottom { bottom: 0; }
.loader__core { position: relative; z-index: 2; display: grid; gap: 1.7rem; justify-items: center; text-align: center; padding: 1rem; }
.loader__plate { --h: clamp(4.4rem, 13vw, 9rem); box-shadow: 0 30px 80px rgba(0, 0, 0, .6); }
.loader__bar { width: min(420px, 72vw); height: 6px; background: rgba(255, 255, 255, .16); border-radius: 6px; overflow: hidden; }
.loader__bar i { display: block; height: 100%; transform-origin: left; transform: scaleX(0); background: linear-gradient(90deg, var(--ue), var(--plaque), var(--rouge)); }
.loader__txt { font-size: .74rem; font-weight: 700; letter-spacing: .24em; text-transform: uppercase; opacity: .85; }
.loader__stamp {
  position: absolute; right: -2%; top: -34%; transform: rotate(-12deg) scale(2.4); opacity: 0;
  border: 4px solid var(--rouge-clair); color: var(--rouge-clair); border-radius: 10px;
  padding: .05em .55em; font-family: var(--f-title); font-weight: 900; font-size: clamp(1.8rem, 5vw, 3rem); letter-spacing: .08em; text-transform: uppercase;
  mix-blend-mode: screen;
}
/* garde-fou : si le JS ne tourne pas, le chargeur disparaît seul */
@keyframes loaderFailsafe { to { opacity: 0; visibility: hidden; } }
html:not(.loaded) .loader { animation: loaderFailsafe .01s 9s forwards; }
html:not(.js) .loader { display: none; }

/* =====================================================================
   NAVIGATION
   ===================================================================== */
.nav {
  position: fixed; inset: 0 0 auto 0; z-index: 800;
  display: flex; align-items: center; gap: 1.6rem; padding: 1rem var(--gut);
  color: var(--plaque);
  transition: transform .6s var(--ease), background .4s, box-shadow .4s, padding .4s;
}
.nav.is-solid { background: rgba(12, 26, 43, .9); backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px); padding-block: .65rem; box-shadow: 0 1px 0 rgba(255, 255, 255, .08); }
.nav.is-hidden { transform: translateY(-115%); }
.brand { display: inline-flex; align-items: center; gap: .85rem; margin-right: auto; }
.brand__txt { display: grid; font-weight: 800; font-size: .88rem; line-height: 1.15; text-transform: uppercase; letter-spacing: .08em; }
.brand__txt em { font-style: normal; font-weight: 500; font-size: .72rem; letter-spacing: .18em; opacity: .75; }
.nav__links { display: flex; gap: 1.8rem; font-weight: 700; font-size: .9rem; }
.nav__cta { display: flex; gap: .6rem; }
.burger { display: none; width: 3rem; height: 3rem; border-radius: 50%; background: var(--plaque); position: relative; z-index: 900; }
.burger span { position: absolute; left: 50%; width: 1.3rem; height: 2px; background: var(--encre); transform: translateX(-50%); transition: transform .5s var(--ease), top .5s var(--ease); }
.burger span:nth-child(1) { top: 1.1rem; }
.burger span:nth-child(2) { top: 1.7rem; }
.burger[aria-expanded="true"] span:nth-child(1) { top: 1.4rem; transform: translateX(-50%) rotate(45deg); }
.burger[aria-expanded="true"] span:nth-child(2) { top: 1.4rem; transform: translateX(-50%) rotate(-45deg); }

.menu {
  position: fixed; inset: 0; z-index: 850; background: var(--encre) url(../assets/brand/guilloche-light.svg) 0 70% / 1200px 360px repeat-x;
  color: var(--plaque); display: flex; flex-direction: column; justify-content: space-between; padding: 6.5rem var(--gut) 2rem;
  clip-path: inset(0 0 100% 0); visibility: hidden;
}
.menu.is-open { visibility: visible; }
.menu__links { display: grid; gap: .2rem; }
.menu__links a { display: flex; align-items: baseline; gap: 1rem; font-family: var(--f-title); font-weight: 900; text-transform: uppercase; font-size: clamp(3rem, 14vw, 5.6rem); line-height: .95; overflow: hidden; }
.menu__links a small { font-family: var(--f-text); font-size: .8rem; font-weight: 700; color: var(--jaune); letter-spacing: .1em; }
.menu__foot { display: grid; gap: 1rem; justify-items: start; font-size: .9rem; opacity: .9; }

/* =====================================================================
   HERO
   ===================================================================== */
.hero {
  position: relative; min-height: 100svh; display: grid; align-items: end; overflow: hidden; isolation: isolate;
  background: var(--encre); color: var(--plaque);
}
.hero__media { position: absolute; inset: -9% 0; z-index: -4; will-change: transform; }
.hero__video { width: 100%; height: 100%; object-fit: cover; filter: saturate(.85) contrast(1.08) brightness(1.2); background: var(--encre) center / cover; }
.hero__tint { position: absolute; inset: 0; background: linear-gradient(112deg, rgba(12, 26, 43, .9) 0%, rgba(12, 26, 43, .5) 48%, rgba(44, 88, 128, .3) 100%); }
.hero__guilloche {
  position: absolute; inset: 0 auto 0 0; width: calc(100% + 1200px); opacity: .42; mix-blend-mode: screen;
  background: url(../assets/brand/guilloche-light.svg) 0 50% / 1200px 360px repeat-x;
  animation: drift 60s linear infinite;
}
@keyframes drift { to { transform: translateX(-1200px); } }
.hero__vignette { position: absolute; inset: 0; background: radial-gradient(120% 90% at 40% 35%, transparent 38%, rgba(0, 0, 0, .6)); }
.hero__rosette { position: absolute; z-index: -3; right: -14vw; top: 4vh; width: min(78vw, 980px); aspect-ratio: 1; opacity: .32; pointer-events: none; }
.hero__rosette::before { content: ""; position: absolute; inset: 0; background: url(../assets/brand/rosette-light.svg) center / contain no-repeat; animation: spin 140s linear infinite; }
@keyframes spin { to { transform: rotate(360deg); } }
.hero__big54 {
  position: absolute; z-index: -2; right: -1vw; bottom: -5vw; pointer-events: none;
  font-family: var(--f-title); font-weight: 900; font-size: clamp(14rem, 44vw, 46rem); line-height: .74;
  color: transparent; -webkit-text-stroke: 2px rgba(251, 250, 244, .14);
}
.hero__inner { position: relative; width: 100%; max-width: 1600px; margin-inline: auto; padding: 7.5rem var(--gut) clamp(3rem, 6vw, 4.5rem); display: grid; gap: 1.3rem; }
.hero__kicker { display: flex; flex-wrap: wrap; gap: .6rem; align-items: center; }
.chip {
  display: inline-flex; align-items: center; padding: .45rem .9rem; border-radius: 999px;
  border: 1px solid rgba(251, 250, 244, .35); background: rgba(12, 26, 43, .35); backdrop-filter: blur(6px);
  font-size: .72rem; font-weight: 800; letter-spacing: .14em; text-transform: uppercase;
}
.status {
  display: inline-flex; align-items: center; gap: .6rem; padding: .45rem .95rem; border-radius: 999px;
  background: rgba(12, 26, 43, .55); backdrop-filter: blur(6px); border: 1px solid rgba(251, 250, 244, .25);
  font-size: .72rem; font-weight: 800; letter-spacing: .14em; text-transform: uppercase;
}
.status__dot { width: .65rem; height: .65rem; border-radius: 50%; background: #8a93a0; flex: none; }
.is-open .status__dot { background: var(--vert); animation: pulse 1.9s infinite; }
.is-closed .status__dot { background: var(--rouge-clair); }
@keyframes pulse { 0% { box-shadow: 0 0 0 0 rgba(140, 198, 63, .7); } 70% { box-shadow: 0 0 0 .7rem rgba(140, 198, 63, 0); } 100% { box-shadow: 0 0 0 0 rgba(140, 198, 63, 0); } }

.hero__title { font-family: var(--f-title); font-weight: 900; text-transform: uppercase; font-size: clamp(5.4rem, min(19vw, 30vh * 1.9), 22rem); line-height: .76; letter-spacing: -.01em; margin: 0; }
.hero__line { display: block; overflow: hidden; padding: .035em 0 .02em; }
.hero__line--outline { color: transparent; -webkit-text-stroke: clamp(1.6px, .28vw, 4px) var(--plaque); }
.hero__sub { font-weight: 800; text-transform: uppercase; letter-spacing: .28em; font-size: clamp(.7rem, 1.2vw, .92rem); color: var(--jaune); }
.hero__sub b { color: var(--plaque); margin-inline: .35em; }
.hero__lead { max-width: 40rem; font-size: clamp(1.02rem, 1.4vw, 1.3rem); line-height: 1.55; color: rgba(251, 250, 244, .88); }
.hero__lead strong { color: var(--plaque); border-bottom: 3px solid var(--jaune); }
.hero__cta { display: flex; flex-wrap: wrap; gap: .8rem; margin-top: .4rem; }
.hero__plate { position: absolute; z-index: 2; right: clamp(1rem, 4.5vw, 6rem); top: 49%; perspective: 900px; pointer-events: none; }
.hero__plate .plate { --h: clamp(3.4rem, 6.6vw, 6.4rem); }
.plate--float { transform: rotate(-7deg); box-shadow: 0 40px 90px rgba(0, 0, 0, .6), inset 0 0 0 2px rgba(255, 255, 255, .7); will-change: transform; }
.stamp svg { width: 100%; height: auto; overflow: visible; }
.stamp__ring { fill: none; stroke: currentColor; stroke-width: 5; }
.stamp__ring--thin { stroke-width: 2; }
.stamp__circle { font-family: var(--f-title); font-weight: 800; font-size: 17px; letter-spacing: .16em; fill: currentColor; }
.stamp__band rect { fill: currentColor; }
.stamp__band text { font-family: var(--f-title); font-weight: 900; font-size: 30px; letter-spacing: .12em; fill: var(--encre); }
.stamp__t1 { font-family: var(--f-title); font-weight: 900; font-size: 44px; fill: currentColor; letter-spacing: .06em; }
.stamp__t2 { font-family: var(--f-title); font-weight: 900; font-size: 30px; fill: currentColor; letter-spacing: .08em; }
.hero__stamp { position: absolute; z-index: 2; right: clamp(1rem, 5vw, 5rem); top: 7.5rem; width: clamp(96px, 12vw, 170px); color: var(--rouge-clair); transform: rotate(14deg); opacity: .95; }
.hero__stamp .stamp__band text { fill: var(--plaque); }
.hero__stamp .stamp__band rect { fill: var(--rouge); }
.scrollhint { position: absolute; z-index: 3; left: var(--gut); bottom: 1.2rem; display: none; align-items: center; gap: .8rem; font-size: .66rem; font-weight: 800; letter-spacing: .3em; text-transform: uppercase; }
.scrollhint i { display: block; width: 1px; height: 2.6rem; background: linear-gradient(var(--plaque), transparent); transform-origin: top; animation: hint 2s var(--ease-io) infinite; }
@keyframes hint { 0% { transform: scaleY(0); } 60% { transform: scaleY(1); } 100% { transform: scaleY(1); opacity: 0; } }

/* =====================================================================
   MARQUEE
   ===================================================================== */
.marquee { overflow: hidden; padding: 3.6rem 0 3rem; background: var(--papier); }
.marquee__row { display: flex; width: 110%; margin-left: -5%; overflow: hidden; white-space: nowrap; }
.marquee__row--a { background: var(--jaune); color: var(--encre); border-block: 3px solid var(--encre); transform: rotate(-1.5deg); padding: .55rem 0; position: relative; z-index: 2; }
.marquee__row--b { background: var(--encre); color: var(--plaque); transform: rotate(1.2deg); margin-top: -.5rem; padding: .5rem 0; }
.marquee__track { display: flex; flex: none; min-width: max-content; align-items: center; gap: clamp(1.2rem, 3vw, 2.6rem); padding-right: clamp(1.2rem, 3vw, 2.6rem); font-family: var(--f-title); font-weight: 900; text-transform: uppercase; font-size: clamp(2.3rem, 5.6vw, 4.8rem); line-height: 1; will-change: transform; }
.marquee__track i { font-style: normal; font-size: .5em; color: var(--rouge); }
.marquee__row--b .marquee__track i { color: var(--jaune); }
.marquee__row--b span:nth-of-type(even) { color: transparent; -webkit-text-stroke: 1.5px var(--plaque); }

/* =====================================================================
   INTRO / LE SERVICE
   ===================================================================== */
.intro { padding-block: clamp(5rem, 11vw, 10rem); background: var(--papier) url(../assets/brand/guilloche-ink.svg) 0 8% / 1200px 360px repeat-x; }
.intro__grid { display: grid; grid-template-columns: 1.08fr .92fr; gap: clamp(2rem, 6vw, 6rem); align-items: center; }
.intro__quote { font-size: clamp(2.8rem, 6.6vw, 6.6rem); line-height: .88; margin-top: 1.4rem; }
.intro__quote .wi { transition: none; }
.intro__body { margin-top: 2rem; max-width: 36rem; font-size: clamp(1.04rem, 1.35vw, 1.22rem); }
.intro__body strong { background: linear-gradient(transparent 62%, rgba(245, 194, 27, .75) 62%); padding-inline: .1em; }
.proofs { display: grid; grid-template-columns: 1fr 1fr; gap: 1.1rem 1.6rem; margin-top: 2.4rem; }
.proofs li { display: flex; gap: .8rem; align-items: flex-start; }
.proofs__ico { flex: none; width: 2rem; height: 2rem; border-radius: 50%; background: var(--encre); color: var(--jaune); display: grid; place-items: center; }
.proofs__ico svg { width: 1.05rem; height: 1.05rem; }
.proofs b { display: block; font-size: .95rem; line-height: 1.25; }
.proofs small { display: block; margin-top: .2rem; font-size: .82rem; line-height: 1.35; opacity: .72; }

.facade { position: relative; padding: 0 1.2rem 2.4rem 0; }
.facade__frame { position: relative; background: var(--plaque); padding: clamp(.6rem, 1.2vw, .9rem); border-radius: 6px; box-shadow: 0 40px 70px -20px rgba(12, 26, 43, .5); transform: rotate(1.6deg); overflow: hidden; }
.facade__frame img { width: 100%; height: auto; aspect-ratio: 598 / 440; object-fit: cover; border-radius: 3px; transform-origin: 50% 60%; }
.open-banner {
  position: absolute; left: -1.4rem; bottom: 1.2rem; z-index: 3; transform: rotate(-4deg);
  display: flex; align-items: center; gap: 1rem; padding: .5rem 1.1rem; background: var(--vert); color: var(--encre);
  border: 3px solid var(--encre); border-radius: 6px; box-shadow: 6px 6px 0 var(--encre);
}
.open-banner b { font-family: var(--f-title); font-weight: 900; font-size: clamp(1.6rem, 3vw, 2.4rem); letter-spacing: .06em; line-height: 1; }
.open-banner span { font-family: var(--f-title); font-weight: 800; font-size: clamp(1.1rem, 2vw, 1.6rem); letter-spacing: .06em; line-height: 1; border-left: 3px solid var(--encre); padding-left: 1rem; }
.open-banner--lg { position: relative; left: 0; bottom: 0; width: max-content; max-width: 100%; margin-bottom: 1.8rem; }
.facade figcaption { margin-top: 1.4rem; font-size: .84rem; font-weight: 600; max-width: 24rem; }
.facade figcaption em { font-style: normal; border-bottom: 2px solid var(--rouge); }
.facade__stamp { position: absolute; right: -.6rem; top: -2.4rem; z-index: 3; width: clamp(96px, 11vw, 150px); color: var(--rouge); transform: rotate(13deg); mix-blend-mode: multiply; }

/* =====================================================================
   PARCOURS — section pinnée
   ===================================================================== */
.parcours { background: var(--encre); color: var(--plaque); }
.parcours__pin { position: relative; min-height: 100vh; display: flex; align-items: center; overflow: hidden; }
.parcours__bg {
  position: absolute; inset: 0; opacity: .55;
  background: radial-gradient(circle at 82% 28%, rgba(44, 88, 128, .6), transparent 58%), url(../assets/brand/guilloche-light.svg) 0 78% / 1200px 360px repeat-x;
}
.parcours__grid { position: relative; display: grid; grid-template-columns: 1fr 1fr; gap: clamp(2rem, 6vw, 6rem); align-items: center; padding-block: 6.5rem 3rem; }
.parcours__title { font-size: clamp(2.6rem, 6.4vw, 6.4rem); }
.parcours__title em { color: var(--jaune); }
.steps { display: grid; margin-top: 2.2rem; min-height: 15rem; }
.step { grid-area: 1 / 1; align-self: start; }
.step__n { display: block; font-family: var(--f-title); font-weight: 900; font-size: clamp(5rem, 11vw, 9.5rem); line-height: .8; color: transparent; -webkit-text-stroke: 2px var(--jaune); }
.step h3 { font-family: var(--f-title); font-weight: 900; text-transform: uppercase; font-size: clamp(2rem, 4vw, 3.4rem); line-height: .95; margin-top: .6rem; }
.step p { margin-top: .8rem; max-width: 30rem; color: rgba(251, 250, 244, .82); font-size: clamp(1rem, 1.3vw, 1.16rem); }
.parcours__dots { display: flex; gap: .5rem; margin-top: 2rem; }
.parcours__dots i { width: 2.4rem; height: 4px; border-radius: 4px; background: rgba(251, 250, 244, .2); transition: background .4s, width .5s var(--ease); }
.parcours__dots i.is-on { background: var(--jaune); width: 4rem; }

.cg-wrap { position: relative; display: grid; place-items: center; gap: 1.6rem; perspective: 1300px; }
.cg-wrap__rosette { position: absolute; z-index: 0; width: 120%; aspect-ratio: 1; left: 50%; top: 42%; translate: -50% -50%; background: url(../assets/brand/rosette-light.svg) center / contain no-repeat; opacity: .35; animation: spin 90s linear infinite reverse; pointer-events: none; }
.cg-card {
  position: relative; z-index: 1; width: min(580px, 100%); aspect-ratio: 1.5; border-radius: 18px; overflow: hidden;
  background: linear-gradient(135deg, #EAE5D7, #D8D3C4); color: var(--encre); padding: clamp(.9rem, 2vw, 1.5rem);
  box-shadow: 0 50px 90px -10px rgba(0, 0, 0, .65), inset 0 0 0 2px rgba(255, 255, 255, .55);
  display: flex; flex-direction: column; gap: .8rem; transform-style: preserve-3d; will-change: transform;
}
.cg-card__guilloche { position: absolute; inset: 0; background: url(../assets/brand/guilloche-ink.svg) 0 50% / 900px 270px repeat-x; opacity: .9; pointer-events: none; }
.cg-card__head { position: relative; display: flex; justify-content: space-between; align-items: baseline; gap: 1rem; font-weight: 800; text-transform: uppercase; letter-spacing: .14em; font-size: clamp(.58rem, 1.1vw, .74rem); }
.cg-card__head em { font-style: normal; color: var(--rouge); border: 1.5px solid var(--rouge); padding: .1em .5em; border-radius: 3px; letter-spacing: .12em; }
.cg-card__plate { position: relative; --ph: clamp(2.3rem, 5.6vw, 3.4rem); }
.cg-card__plate .plate { --h: var(--ph); }
.cg-card__grid { position: relative; display: grid; grid-template-columns: 1fr 1fr; gap: .55rem 1.2rem; margin-top: auto; }
.cg-card__grid > div { border-bottom: 1.5px solid rgba(12, 26, 43, .35); padding-bottom: .35rem; position: relative; }
.cg-card__grid dt { font-size: clamp(.5rem, 1vw, .64rem); font-weight: 800; text-transform: uppercase; letter-spacing: .1em; opacity: .65; }
.cg-card__grid dd { font-family: var(--f-title); font-weight: 800; font-size: clamp(.95rem, 2.1vw, 1.3rem); letter-spacing: .06em; line-height: 1.1; min-height: 1.1em; }
.cg-card__grid > div::after {
  content: "✓"; position: absolute; right: 0; top: 50%; translate: 0 -40%; width: 1.4rem; height: 1.4rem; border-radius: 50%; display: grid; place-items: center;
  background: var(--vert); color: var(--encre); font-size: .8rem; font-weight: 900; opacity: 0; transform: scale(0);
  transition: opacity .3s, transform .5s var(--ease);
}
.cg-card__grid > div.is-ok::after { opacity: 1; transform: scale(1); }
.cg-card__tick { display: none; }
.cg-card__holo {
  position: absolute; right: 7%; top: 12%; width: 18%; aspect-ratio: 1; border-radius: 50%; opacity: .9; mix-blend-mode: multiply;
  background: conic-gradient(from 0deg, #ff6bd6, #6bd0ff, #8cff8c, #ffe56b, #ff6bd6); filter: saturate(.7); transform: rotate(0);
  -webkit-mask: radial-gradient(circle, transparent 28%, #000 30%); mask: radial-gradient(circle, transparent 28%, #000 30%);
}
.cg-card__stamp {
  position: absolute; z-index: 3; font-family: var(--f-title); font-weight: 900; text-transform: uppercase; letter-spacing: .1em;
  font-size: clamp(1.2rem, 3.2vw, 2.1rem); line-height: 1; padding: .12em .5em; border: 4px solid var(--rouge); color: var(--rouge); border-radius: 8px;
  opacity: 0; transform: rotate(-12deg) scale(2); mix-blend-mode: multiply; pointer-events: none;
}
.cg-card__stamp { font-size: clamp(.95rem, 2.3vw, 1.5rem); border-width: 3px; }
.cg-card__stamp--a { left: 5%; bottom: 5%; }
.cg-card__stamp--b { right: 5%; top: 31%; color: var(--ue); border-color: var(--ue); transform: rotate(9deg) scale(2); }
.cg-legend { position: relative; z-index: 2; display: flex; flex-wrap: wrap; justify-content: center; gap: .5rem; }
.cg-legend li { font-size: .7rem; font-weight: 800; text-transform: uppercase; letter-spacing: .12em; padding: .35rem .8rem; border-radius: 999px; border: 1px solid rgba(251, 250, 244, .3); color: rgba(251, 250, 244, .6); transition: background .4s, color .4s, border-color .4s; }
.cg-legend li.is-on { background: var(--jaune); color: var(--encre); border-color: var(--jaune); }
