/* Design system kit vitrine (v6). Couche visuelle complète : la personnalité
   du client vit ENTIEREMENT dans assets/tokens.css (palette + polices), jamais
   de hex de marque ici. Sections optionnelles = voir PATTERNS.md. */
* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 32px; }
body { margin: 0; background: var(--site-background); color: var(--site-text); font: 400 16px/1.65 var(--site-font-body); -webkit-font-smoothing: antialiased; }
body, button { font-synthesis: none; }
h1, h2, h3, h4 { margin: 0; font-family: var(--site-font-title); font-weight: 600; line-height: 1.13; text-wrap: balance; }
h1 { font-size: clamp(2.25rem, 4.8vw, 4.5rem); font-weight: 700; letter-spacing: -.035em; }
h2 { font-size: clamp(1.75rem, 3vw, 2.75rem); letter-spacing: -.025em; }
h3 { font-size: 1.35rem; letter-spacing: -.012em; }
p { margin: 0 0 1rem; text-wrap: pretty; }
a { color: inherit; text-underline-offset: 5px; }
a, button { -webkit-tap-highlight-color: transparent; }
button { font: 500 14px/1.5 var(--site-font-body); cursor: pointer; }
img, svg { max-width: 100%; }
figure { margin: 0; }
figcaption { font-size: 12px; line-height: 1.6; color: var(--site-text-muted); margin-top: 18px; }
[hidden] { display: none !important; }
:focus-visible { outline: 3px solid var(--site-focus); outline-offset: 5px; }
::selection { color: var(--site-background); background: var(--site-text); }

/* ---- Motion : activée par JS uniquement ; sans script, tout est visible ---- */
html.js-reveal .section, html.js-reveal [data-illustration] { opacity: 0; translate: 0 18px; }
html.js-reveal .section.is-visible, html.js-reveal [data-illustration].is-visible {
  opacity: 1; translate: 0 0; transition: opacity 700ms ease-out, translate 700ms ease-out; }
@keyframes rise-in { from { opacity: 0; transform: translateY(16px); } to { opacity: 1; transform: none; } }
html.js-reveal [data-motion='hero'] > * { opacity: 0; animation: rise-in 850ms cubic-bezier(.2, .6, .2, 1) forwards; }
html.js-reveal [data-motion='hero'] > *:nth-child(2) { animation-delay: 170ms; }
html.js-reveal [data-motion='hero'] > *:nth-child(3) { animation-delay: 340ms; }
html.js-reveal [data-motion='hero'] > *:nth-child(4) { animation-delay: 510ms; }
html.js-reveal [data-motion='hero'] > *:nth-child(n+5) { animation-delay: 680ms; }
html.js-reveal [data-demo] .demo-line { stroke-dasharray: var(--len, 1000); stroke-dashoffset: var(--len, 1000); }
html.js-reveal [data-demo].is-playing .demo-line { animation: demo-draw 2600ms cubic-bezier(.25, .6, .2, 1) .3s forwards; }
@keyframes demo-draw { to { stroke-dashoffset: 0; } }
html.js-reveal [data-demo] .demo-kpi { opacity: 0; }
html.js-reveal [data-demo].is-playing .demo-kpi { animation: rise-in 700ms ease forwards; }
html.js-reveal [data-demo].is-playing .demo-kpi:nth-child(2) { animation-delay: .7s; }

/* Reveals échelonnés : enfants de .card-grid / .stats-grid (stagger par --i posé par JS) */
@keyframes stagger-in { from { opacity: 0; translate: 0 18px; } to { opacity: 1; translate: 0 0; } }
html.js-reveal .card-grid .card, html.js-reveal .stats-grid .stat { opacity: 0; translate: 0 18px; }
html.js-reveal .section.is-visible .card-grid .card,
html.js-reveal .section.is-visible .stats-grid .stat {
  animation: stagger-in 600ms cubic-bezier(.2, .6, .2, 1) both;
  animation-delay: calc(var(--i, 0) * 90ms);
}

/* CTA pulsant : anneau guidance qui s'étend et s'effade (visuel pur, aucun contenu) */
@keyframes cta-pulse {
  0% { box-shadow: 0 0 0 0 color-mix(in srgb, var(--site-guidance) 55%, transparent); }
  70%, 100% { box-shadow: 0 0 0 14px transparent; }
}
.btn-pulse { overflow: visible; }
.btn-pulse::before { content: ""; position: absolute; inset: -3px; border-radius: 9px; pointer-events: none;
  animation: cta-pulse 2400ms cubic-bezier(.4, 0, .6, 1) infinite; }

/* ---- Squelette ---- */
.container { width: min(1180px, calc(100% - 48px)); margin-inline: auto; }
.section { padding-block: 88px; }
/* Aération : un saut de ligne entre chaque titre de section et le texte qui suit */
.section h2 { margin-bottom: 16px; }
.hero h1 { margin-bottom: 16px; }
.eyebrow { font: 600 11px/1.6 var(--site-font-body); letter-spacing: .14em; text-transform: uppercase; margin-bottom: 20px; }
.muted { color: var(--site-text-muted); }
.lead { font-size: 18px; line-height: 1.7; max-width: 60ch; }
.text-width { max-width: 65ch; }
.h2-center { text-align: center; }
.actions { display: flex; gap: 12px; align-items: center; flex-wrap: wrap; margin: 28px 0 18px; }
.perimeter { font-size: 13.5px; line-height: 1.7; color: var(--site-text-muted); }
.rule { border-top: 1px solid var(--site-border); }

/* ---- Boutons : CTA neutre (fond texte), soulignement animé ---- */
.btn { min-height: 46px; display: inline-flex; align-items: center; justify-content: center; gap: 14px; padding: 11px 20px; border: 1px solid var(--site-text); border-radius: 6px; background: var(--site-text); color: var(--site-background); text-decoration: none; font-size: 14px; font-weight: 500; transition: transform .15s ease, background .15s ease; }
.btn:hover { transform: translateY(-2px); background: var(--site-text-muted); border-color: var(--site-text-muted); }
.btn { position: relative; overflow: hidden; }
.btn::after { content: ''; position: absolute; left: 20px; right: 20px; bottom: 7px; height: 2px;
  background: var(--site-positive); transform: scaleX(0); transform-origin: left;
  transition: transform 180ms cubic-bezier(.2, .6, .2, 1); }
.btn:hover::after, .btn:focus-visible::after { transform: scaleX(1); }
.btn-secondary::after { background: var(--site-guidance); }
.btn-secondary { background: transparent; color: var(--site-text); border-color: var(--site-border); }
.btn-secondary:hover { background: var(--site-surface); border-color: var(--site-border); }

/* Bouton de bascule de langue */
.lang-switch { display: inline-flex; align-items: center; justify-content: center; min-width: 44px; min-height: 44px; padding: 0 10px; border: 1px solid var(--site-border); border-radius: 6px; font: 600 12px/1 var(--site-font-body); letter-spacing: .08em; text-decoration: none; color: var(--site-text-muted); transition: color .15s ease, border-color .15s ease, background .15s ease; }
.lang-switch:hover { color: var(--site-text); border-color: var(--site-guidance); background: var(--site-surface); text-decoration: none; }
/* Bouton de bascule de thème (clair/sombre) */
.theme-toggle { display: inline-flex; align-items: center; justify-content: center; min-width: 44px; min-height: 44px; padding: 0 10px; border: 1px solid var(--site-border); border-radius: 6px; background: transparent; color: var(--site-text-muted); font-size: 15px; line-height: 1; transition: color .15s ease, border-color .15s ease, background .15s ease; }
.theme-toggle:hover { color: var(--site-text); border-color: var(--site-guidance); background: var(--site-surface); }
/* Thème clair : le logo garde ses parties blanches lisibles (charte — fond sombre requis derrière le logo) */
html:not([data-site-theme]) .brand img { background: #15181e; border-radius: 6px; padding: 5px; width: 38px; }
/* Thème clair : vert, ambre et gris secondaire n'atteignent pas 4,5:1 en texte sur fond clair → texte principal */
html:not([data-site-theme]) :is(.eyebrow, .perimeter, .kpi-label, .step-status, .step-button, .lang-switch, .theme-toggle, .site-footer, .hero figcaption, details p, .kpi-value.positive, .badge-virtual, .compare-tag-positive) { color: var(--site-text); }
html:not([data-site-theme]) .fictional { color: var(--site-text); background: color-mix(in srgb, var(--site-education) 18%, transparent); }
html:not([data-site-theme]) .svg-label { color: var(--site-text-muted); }
html:not([data-site-theme]) .btn:not(.btn-secondary):hover { background: var(--site-text); border-color: var(--site-text); }
/* ---- Header : transparent sur le hero, surface + bordure après scroll ---- */
[data-header-sentinel] { position: absolute; top: 0; height: 1px; width: 1px; }
.site-header { position: sticky; top: 0; z-index: 50; padding: 23px 0; border-bottom: 1px solid transparent;
  background: transparent; transition: background 260ms ease, border-color 260ms ease; }
.site-header.is-scrolled { background: color-mix(in srgb, var(--site-background) 88%, transparent);
  -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px);
  border-bottom-color: var(--site-border); }
.header-inner { display: flex; align-items: center; justify-content: space-between; gap: 20px; }
.brand { display: inline-flex; gap: 10px; align-items: center; font: 700 21px/1 var(--site-font-title); letter-spacing: .035em; text-decoration: none; }
.brand img { width: 30px; height: auto; display: block; }
.site-header .brand { min-height: 44px; }
.header-nav { display: flex; align-items: center; gap: 28px; font-size: 13px; }
.header-nav a:not(.btn) { display: inline-flex; align-items: center; min-height: 44px; text-decoration: none; }
.header-nav a:hover { text-decoration: underline; }
.skip-link { position: fixed; left: 20px; top: -90px; z-index: 100; padding: 12px 20px; background: var(--site-text); color: var(--site-background); }
.skip-link:focus { top: 12px; }

/* ---- S1 Hero : atmosphère CSS (halos radiaux + grille fine) pilotée par --hero-parallax ----
   Remplace l'image hero-bg.webp (référence morte en v4, 404 silencieux — aucune image de substitution). */
.hero { padding-block: 104px 88px; position: relative; overflow: hidden; }
.hero::before {
  content: ""; position: absolute; inset: -12% 0; z-index: -1; pointer-events: none;
  background:
    radial-gradient(560px 380px at 78% 6%, color-mix(in srgb, var(--site-guidance) 12%, transparent), transparent 72%),
    radial-gradient(680px 440px at 10% 80%, color-mix(in srgb, var(--site-positive) 6%, transparent), transparent 72%),
    repeating-linear-gradient(90deg, color-mix(in srgb, var(--site-text) 4%, transparent) 0 1px, transparent 1px 96px),
    repeating-linear-gradient(0deg, color-mix(in srgb, var(--site-text) 4%, transparent) 0 1px, transparent 1px 96px);
  transform: translate3d(0, var(--hero-parallax, 0px), 0);
  will-change: transform;
}

/* ---- Grain fractal-noise (SVG feTurbulence en data-URI), dérive verticale pilotée par --grain-y ---- */
body::after {
  content: ""; position: fixed; inset: 0; z-index: 2; pointer-events: none;
  background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='160' height='160'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' stitchTiles='stitch'/%3E%3CfeColorMatrix type='saturate' values='0'/%3E%3C/filter%3E%3Crect width='160' height='160' filter='url(%23n)'/%3E%3C/svg%3E") repeat;
  opacity: 0.05;
  transform: translate3d(0, var(--grain-y, 0px), 0);
  will-change: transform;
}
html:not([data-site-theme]) body::after { opacity: 0.04; }
.hero .eyebrow { color: var(--site-text-muted); display: inline-flex; align-items: center; gap: 10px; }
.hero .eyebrow::before { content: ""; width: 18px; height: 2px; background: var(--site-guidance); }
.hero-grid { display: grid; grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); gap: 48px; align-items: center; }
.hero-note { display: flex; gap: 8px; flex-wrap: wrap; }
.hero .perimeter { margin: 0; }

/* ---- S1 Marquee : bandeau défilant sous le hero (phrases existantes reprises verbatim, deux copies identiques) ---- */
.hero-marquee { margin-top: 72px; border-block: 1px solid var(--site-border); overflow: hidden; }
.marquee-track { display: flex; width: max-content; animation: marquee 42s linear infinite; }
.hero-marquee:hover .marquee-track { animation-play-state: paused; }
@keyframes marquee { to { transform: translateX(-50%); } }
.marquee-list { display: flex; align-items: center; margin: 0; padding: 13px 0; list-style: none; }
.marquee-list li { font: 600 11px/1.6 var(--site-font-body); letter-spacing: .14em; text-transform: uppercase; color: var(--site-text-muted); white-space: nowrap; margin-right: 30px; }
.marquee-list li::after { content: "·"; margin-left: 30px; color: var(--site-text-muted); }

/* ---- Cartes génériques (S2, S4, S8) : surfaces sobres, pas d'icônes décoratives ---- */
.card-grid { display: grid; gap: 16px; margin-top: 40px; perspective: 600px; }
.cards-3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.cards-5 { grid-template-columns: repeat(5, minmax(0, 1fr)); }
.card { padding: 24px; border: 1px solid var(--site-border); border-radius: 8px; background: var(--site-surface);
  transition: translate 200ms cubic-bezier(.2, .6, .2, 1), border-color 200ms ease, transform 90ms ease-out; }
.card:hover { translate: 0 -4px; border-color: color-mix(in srgb, var(--site-guidance) 45%, var(--site-border)); }
.card h3 { font-size: 1.05rem; margin-bottom: 10px; }
.card p { font-size: 14px; line-height: 1.6; color: var(--site-text-muted); margin: 0; }
.card .card-tag { font: 600 11px/1.6 var(--site-font-body); letter-spacing: .12em; text-transform: uppercase; display: block; margin-bottom: 12px; color: var(--site-text-muted); }
.punchline { margin-top: 44px; padding-top: 32px; border-top: 1px solid var(--site-border);
  font-family: var(--site-font-title); font-size: clamp(1.3rem, 2.2vw, 1.7rem); font-weight: 600; letter-spacing: -.015em; }
.punchline em { font-style: normal; color: inherit; font-weight: 700; }

/* ---- S2 Comparatif site / par vous-même (cartes, 2 colonnes + total pleine largeur) ---- */
.compare-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.compare-card .compare-side { display: flex; gap: 12px; align-items: baseline; margin-top: 10px; }
.compare-card .compare-side p { font-size: 14px; line-height: 1.6; color: var(--site-text-muted); margin: 0; }
.compare-tag { flex: 0 0 auto; font: 600 10px/1.6 var(--site-font-body); letter-spacing: .12em; text-transform: uppercase; padding: 3px 8px; border-radius: 4px; }
.compare-tag-positive { color: var(--site-positive); border: 1px solid color-mix(in srgb, var(--site-positive) 45%, transparent); }
.compare-tag-diy { color: var(--site-text-muted); border: 1px solid var(--site-border); }
.compare-total { grid-column: 1 / -1; }
.compare-total .compare-side p { font-size: 16px; color: var(--site-text); font-weight: 500; }

/* ---- S3 Stepper ---- */
.stepper { margin-top: 44px; }
.step-buttons { display: flex; justify-content: center; gap: 10px; flex-wrap: wrap; margin-bottom: 24px; }
.step-button { min-height: 44px; padding: 10px 16px; border: 1px solid var(--site-border); border-radius: 6px;
  background: transparent; color: var(--site-text-muted); transition: background .15s ease, color .15s ease, border-color .15s ease; }
.step-button:hover { background: var(--site-surface); color: var(--site-text); }
.step-button[aria-pressed='true'] { background: var(--site-surface); color: var(--site-text); border-color: var(--site-guidance); font-weight: 600; }
.step-panel { border: 1px solid var(--site-border); border-radius: 8px; background: var(--site-surface); padding: 32px; }
.step-controls { display: flex; align-items: center; gap: 18px; margin-top: 20px; }

/* ---- S3 Rail carousel : scroll-snap natif (swipe tactile + rubber-band gratuits), drag souris en JS ---- */
.step-rail { display: flex; overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none; }
.step-rail::-webkit-scrollbar { display: none; }
.step-rail .step-panel { flex: 0 0 100%; min-width: 100%; scroll-snap-align: start; }
.step-rail.is-dragging { scroll-snap-type: none; user-select: none; cursor: grabbing; }
.step-dots { display: flex; justify-content: center; gap: 6px; margin: 0 0 22px; }
html:not(.js-reveal) .step-dots { display: none; }
.step-dots [data-dot] { width: 24px; height: 24px; padding: 0; border: 0; background: transparent; display: inline-flex; align-items: center; justify-content: center; }
.step-dots [data-dot]::before { content: ""; width: 10px; height: 10px; border-radius: 50%; border: 1px solid var(--site-border); background: transparent; transition: background .15s ease, border-color .15s ease; }
.step-dots [data-dot]:hover::before { border-color: var(--site-guidance); }
.step-dots [data-dot][aria-pressed='true']::before { background: var(--site-guidance); border-color: var(--site-guidance); }

.fictional { display: inline-block; font: 600 10px/1 var(--site-font-body); letter-spacing: .12em; text-transform: uppercase;
  padding: 5px 8px; border-radius: 4px; color: var(--site-education); border: 1px solid color-mix(in srgb, var(--site-education) 45%, transparent); }
.step-panel h3 { margin-bottom: 16px; }
.step-panel .step-copy { color: var(--site-text-muted); max-width: 58ch; margin-bottom: 20px; }

/* ---- Panneaux de démonstration (data-demo) : KPI + mini visuels ---- */
.demo { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: 28px; align-items: end; }
.demo-kpis { display: flex; flex-direction: column; gap: 12px; }
.demo-kpi { padding: 14px 18px; border: 1px solid var(--site-border); border-radius: 6px; background: var(--site-background); }
.demo-kpi .kpi-value { font: 600 1.5rem/1.2 var(--site-font-title); letter-spacing: -.02em; }
.demo-kpi .kpi-value.positive { color: var(--site-positive); }
.kpi-value.positive::before { content: ""; display: inline-block; width: 8px; height: 8px; border-radius: 50%; background: var(--site-positive); margin-right: 8px; vertical-align: middle; }
.demo-kpi .kpi-label { font-size: 12px; color: var(--site-text-muted); }
.demo-figure svg { display: block; width: 100%; height: auto; }
.demo-figure svg, .equity-figure svg { color: var(--site-border); }
.svg-label { color: var(--site-education); }

/* ---- Axes X/Y des graphiques : graduations numériques (données fictives affichées) ---- */
.axis-label { font: 500 10px/1 var(--site-font-body); fill: currentColor; color: var(--site-text-muted); }
.axis-line { stroke: currentColor; }

/* ---- Hero reel (data-reel) : 3 chapitres copiés des panneaux S3, Ken Burns, chrome (label + barre + compteur) ---- */
.reel-chapters { display: grid; }
.reel-chapter .demo-figure { overflow: hidden; }
html.js-reveal .reel-chapter.is-active .demo-figure svg { animation: kenburns 5000ms ease-out forwards; }
@keyframes kenburns { from { transform: scale(1); } to { transform: scale(1.06); } }
.reel-chrome { display: flex; align-items: center; gap: 14px; margin-top: 20px; }
.reel-chapter-label { font: 600 11px/1.6 var(--site-font-body); letter-spacing: .12em; text-transform: uppercase; color: var(--site-text-muted); white-space: nowrap; }
.reel-progress { flex: 1; height: 2px; border-radius: 1px; background: var(--site-border); overflow: hidden; }
.reel-progress span { display: block; height: 100%; background: var(--site-guidance); transform: scaleX(0); transform-origin: left; }
.reel-count { font: 600 11px/1.6 var(--site-font-body); color: var(--site-text-muted); white-space: nowrap; font-variant-numeric: tabular-nums; }

/* ---- S5 Chiffres clés (bandeau sombre) ---- */
.stats-band { background: var(--site-surface); border-block: 1px solid var(--site-border); padding-block: 48px; }
.stats-grid { display: grid; grid-template-columns: repeat(6, minmax(0, 1fr)); gap: 20px; text-align: center; }
.stat .stat-value { font: 700 clamp(1.5rem, 2.2vw, 2rem)/1.1 var(--site-font-title); letter-spacing: -.03em; }
.stat .stat-label { font-size: 12px; color: var(--site-text-muted); margin-top: 4px; }
.stats-note { margin-top: 20px; font-size: 14px; color: var(--site-text-muted); max-width: 72ch; margin-inline: auto; text-align: center; }

/* ---- S6 / S7 focus (visuel + texte côte à côte) ---- */
.focus-grid { display: grid; grid-template-columns: minmax(0, 6fr) minmax(0, 6fr); gap: 48px; align-items: center; }
/* Alternance visuelle : figure passée à gauche (ordre visuel uniquement, le texte reste premier dans le DOM) */
.focus-reverse figure { order: -1; }
.focus-list { padding-left: 20px; margin: 20px 0 0; }
.focus-list li { padding: 4px 0; }
.equity-figure { border: 1px solid var(--site-border); border-radius: 8px; background: var(--site-surface); padding: 24px; }
.badge-virtual { display: inline-flex; align-items: center; gap: 8px; margin-top: 24px; padding: 10px 16px;
  border: 1px solid color-mix(in srgb, var(--site-positive) 45%, transparent); border-radius: 6px;
  color: var(--site-positive); font-size: 13px; font-weight: 500; }

/* ---- S10 Pricing ---- */
.pricing-card { max-width: 640px; margin: 44px auto 0; padding: 40px; border: 1px solid var(--site-border); border-radius: 10px; background: var(--site-surface); text-align: center; position: relative; }
/* Équerres violettes (guidance) encadrant la carte tarif — motif « corner brackets » */
.corner { position: absolute; width: 16px; height: 16px; border: 2px solid var(--site-guidance); pointer-events: none; }
.corner-tl { top: -7px; left: -7px; border-right: 0; border-bottom: 0; }
.corner-tr { top: -7px; right: -7px; border-left: 0; border-bottom: 0; }
.corner-bl { bottom: -7px; left: -7px; border-right: 0; border-top: 0; }
.corner-br { bottom: -7px; right: -7px; border-left: 0; border-top: 0; }
.offer-price { font: 600 clamp(2.1rem, 4vw, 3.3rem)/1.15 var(--site-font-title); letter-spacing: -.03em; }
.offer-launch { margin: 22px 0; padding: 16px 20px; border-radius: 6px;
  background: var(--site-background);
  border: 1px solid var(--site-border);
  color: var(--site-text); font-size: 14.5px; font-weight: 500; }
.offer-list { padding-left: 20px; margin: 24px 0; text-align: left; }
.offer-list li { padding: 5px 0; }
.transparency-row { display: flex; gap: 20px; justify-content: center; flex-wrap: wrap; margin-top: 22px; font-size: 12.5px; color: var(--site-text-muted); }
.transparency-row span { display: inline-flex; align-items: center; gap: 7px; }
.transparency-row .tick { color: var(--site-positive); font-weight: 700; }

/* ---- S12 FAQ ---- */
details { border-bottom: 1px solid var(--site-border); padding-block: 0; }
summary { cursor: pointer; padding: 23px 34px 23px 0; min-height: 44px; font-weight: 500; position: relative; list-style: none; transition: color .15s ease; }
summary:hover { text-decoration: underline; text-decoration-color: var(--site-guidance); text-underline-offset: 5px; }
summary::-webkit-details-marker { display: none; }
summary::after { content: '+'; position: absolute; right: 4px; font-size: 22px; font-weight: 400; top: 18px; }
details[open] summary::after { content: '−'; }
details p { max-width: 65ch; padding-bottom: 16px; color: var(--site-text-muted); }

/* ---- Barre CTA sticky : visible après la sortie du hero, masquée quand .final-cta entre dans le viewport ---- */
.sticky-cta { position: fixed; left: 0; right: 0; bottom: 0; z-index: 40;
  background: color-mix(in srgb, var(--site-background) 92%, transparent);
  -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px);
  border-top: 1px solid var(--site-border);
  translate: 0 110%; transition: translate 350ms cubic-bezier(.2, .6, .2, 1);
  padding-bottom: env(safe-area-inset-bottom); }
.sticky-cta.is-visible { translate: none; }
.sticky-inner { display: flex; align-items: center; justify-content: space-between; gap: 16px; flex-wrap: wrap; padding-block: 10px; }
.sticky-price { margin: 0; font: 600 1.15rem/1.3 var(--site-font-title); letter-spacing: -.01em; }
.sticky-note { display: block; font: 400 11px/1.5 var(--site-font-body); color: var(--site-text-muted); }

/* ---- S13 Footer ---- */
.final-cta { text-align: center; }
.site-footer { border-top: 1px solid var(--site-border); padding: 36px 0; font-size: 12px; color: var(--site-text-muted); }
.footer-inner { display: flex; justify-content: space-between; gap: 32px; }
.footer-inner p { max-width: 66ch; }
.footer-inner a { display: inline-flex; align-items: center; min-height: 44px; align-self: start; }
.footer-links { display: flex; gap: 24px; flex-wrap: wrap; }
.preview-note { margin-top: 14px; font-size: 12.5px; }

/* ---- Responsive ---- */
@media (max-width: 980px) {
  .hero-grid, .focus-grid, .demo { grid-template-columns: 1fr; }
  .cards-5 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .cards-3 { grid-template-columns: 1fr; }
  .compare-grid { grid-template-columns: 1fr; }
  .stats-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); row-gap: 36px; }
}
@media (max-width: 760px) {
  .container { width: calc(100% - 40px); }
  .section { padding-block: 48px; }
  .hero { padding-block: 56px 48px; }
  .header-inner { flex-wrap: wrap; gap: 12px; }
  .header-nav { gap: 16px; flex-wrap: wrap; width: 100%; }
  .header-nav .btn { margin-left: auto; padding-inline: 13px; }
  .site-header { padding-block: 18px; }
  .lead { font-size: 16px; }
  .footer-inner { flex-direction: column; gap: 12px; }
  .cards-5 { grid-template-columns: 1fr; }
  .stats-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .step-panel { padding: 22px; }
  .pricing-card { padding: 26px; }
}
@media (max-width: 360px) {
  .container { width: calc(100% - 32px); }
  .header-nav { gap: 10px; font-size: 12px; }
  .header-nav .btn { font-size: 12px; padding-inline: 10px; }
  .stats-grid { grid-template-columns: 1fr; }
}

/* ---- Mouvement réduit ---- */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation: none !important; transition: none !important; }
  html.js-reveal .section, html.js-reveal [data-illustration] { opacity: 1 !important; translate: none !important; }
  html.js-reveal [data-motion='hero'] > * { opacity: 1 !important; animation: none !important; }
  html.js-reveal [data-demo] .demo-kpi { opacity: 1 !important; animation: none !important; }
  html.js-reveal [data-demo] .demo-line { stroke-dashoffset: 0 !important; animation: none !important; }
  html.js-reveal .card-grid .card, html.js-reveal .stats-grid .stat { opacity: 1 !important; translate: none !important; }
}

/* ===== Couche vitrine =====
   Formulaire de contact + pages légales + grille stats 4 colonnes + icônes de
   cartes. Tokens uniquement — aucun hex de marque ici. */
.stats-4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }
@media (max-width: 980px) { .stats-4 { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 360px) { .stats-4 { grid-template-columns: 1fr; } }

.card-icon { width: 28px; height: 28px; fill: none; stroke: var(--site-text-muted); stroke-width: 1.5; stroke-linecap: round; stroke-linejoin: round; margin-bottom: 14px; }

.contact-grid { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: 48px; align-items: start; margin-top: 40px; }
.contact-grid .lead { margin-bottom: 0; }
@media (max-width: 980px) { .contact-grid { grid-template-columns: 1fr; } }

.form-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 1.4rem 1rem; }
.field { display: block; min-width: 0; }
.field-full { grid-column: 1 / -1; }
.field-label { display: block; margin-bottom: .55rem; color: var(--site-text-muted); font-size: .875rem; font-weight: 500; line-height: 1.4; }
.field-label b, .consent-row b { color: var(--site-guidance); font-weight: 500; }
.field input, .field select, .field textarea { width: 100%; min-height: 44px; padding: .6rem .8rem; border: 1px solid var(--site-border); border-radius: var(--site-radius-control); background: var(--site-surface); color: var(--site-text); font: inherit; font-size: 1rem; line-height: 1.45; transition: border-color 180ms ease; }
.field textarea { min-height: 115px; resize: vertical; }
.field input::placeholder, .field textarea::placeholder { color: var(--site-text-muted); }
.field select { cursor: pointer; }
.field input:focus, .field select:focus, .field textarea:focus { border-color: var(--site-guidance); }
.honeypot-field { position: absolute; left: -10000px; width: 1px; height: 1px; overflow: hidden; }
.consent-row { display: flex; align-items: flex-start; gap: .65rem; margin-top: 1.5rem; color: var(--site-text-muted); font-size: .875rem; line-height: 1.6; }
.consent-row input { width: 17px; height: 17px; flex: 0 0 17px; margin: .15rem 0 0; accent-color: var(--site-guidance); }
.consent-row a { color: var(--site-text); }
.form-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 1.2rem; margin-top: 1.7rem; }
.contact-form-disclaimer { margin: 1.5rem 0 0; padding-top: 1.25rem; border-top: 1px solid var(--site-border); color: var(--site-text-muted); font-size: .8rem; line-height: 1.8; max-width: 70ch; }
@media (max-width: 760px) { .form-grid { grid-template-columns: 1fr; } }

/* ---- Pages légales (portées des strates 3-4 du template, tokens v6) ---- */
.legal-page { padding: clamp(3rem, 8vw, 6rem) 0; }
.legal-page h1 { font-size: clamp(2rem, 4vw, 3.2rem); }
.legal-page-inner { max-width: 920px; }
.legal-lead { max-width: 720px; margin: 0 0 2.5rem; color: var(--site-text-muted); line-height: 1.8; }
.legal-notice { max-width: 820px; margin: 0 0 2.5rem; padding: 1.15rem 1.25rem; border-left: 3px solid var(--site-guidance); background: var(--site-surface); color: var(--site-text); font-size: .95rem; line-height: 1.8; border-radius: 0 8px 8px 0; }
.legal-notice a, .legal-block a { color: var(--site-text); text-underline-offset: .2em; }
.legal-notice a:hover, .legal-block a:hover { color: var(--site-text-muted); }
.legal-block { max-width: 820px; padding: 2rem 0; border-top: 1px solid var(--site-border); }
.legal-index { margin: 0 0 .8rem; color: var(--site-text-muted); font-size: .76rem; font-weight: 600; letter-spacing: .1em; line-height: 1.4; text-transform: uppercase; }
.legal-block h2 { font-size: clamp(1.4rem, 2.5vw, 1.9rem); }
.legal-block p, .legal-block address, .legal-block li { max-width: 760px; margin: .8rem 0 0; color: var(--site-text-muted); font-size: .95rem; font-style: normal; line-height: 1.85; }
.legal-block address strong, .legal-block p strong { color: var(--site-text); font-weight: 600; }
.legal-block ul { margin: .9rem 0 0; padding-left: 1.3rem; }
.legal-block li { margin-top: .4rem; padding-left: .25rem; }
.legal-block li::marker { color: var(--site-guidance); }
.legal-updated { margin: 2.5rem 0 1.5rem; color: var(--site-text-muted); font-size: .8rem; line-height: 1.6; }
.legal-toc { max-width: 820px; margin: 0 0 2.5rem; border-top: 1px solid var(--site-border); border-bottom: 1px solid var(--site-border); }
.legal-toc summary { display: flex; align-items: center; justify-content: space-between; gap: 1rem; padding: .95rem 0; min-height: 44px; color: var(--site-text); cursor: pointer; font-size: .78rem; font-weight: 600; letter-spacing: .08em; list-style: none; text-transform: uppercase; }
.legal-toc summary::-webkit-details-marker { display: none; }
.legal-toc summary::after { content: "+"; font-size: 1.1rem; transition: transform 180ms ease; }
.legal-toc[open] summary::after { transform: rotate(45deg); }
.legal-toc nav { padding: 0 0 1rem; }
.legal-toc ol { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: .35rem 2rem; margin: 0; padding-left: 1.25rem; }
.legal-toc li { padding-left: .25rem; color: var(--site-text-muted); font-size: .82rem; line-height: 1.55; }
.legal-toc a { color: var(--site-text-muted); text-underline-offset: .2em; }
.legal-toc a:hover { color: var(--site-text); }
.legal-summary { margin-top: 1.2rem; }
@media (max-width: 760px) { .legal-toc ol { grid-template-columns: 1fr; } }

/* ===== Couche vitrine klub42 (relookage v6) =====
   Composants klub42 portés sur les tokens : contenu, textes et polices
   d'origine strictement conservés ; aucune couleur de marque ici. */

/* Enveloppe klub42 : container large + compensation header sticky */
.container { width: min(calc(100% - 48px), 1320px); }
html { overflow-x: hidden; scroll-padding-top: 5.5rem; }
body { overflow-x: clip; }
::selection { background: var(--site-selection); color: var(--site-text); }

.section { padding-block: clamp(5rem, 10vw, 10rem); }
.eyebrow { color: var(--site-guidance); font-size: .76rem; font-weight: 600; letter-spacing: .17em; margin-bottom: 1.2rem; }
.hero .eyebrow { color: var(--site-guidance); }
.icon-arrow { width: 16px; height: 16px; fill: none; stroke: currentColor; stroke-linecap: square; stroke-width: 1.35; }
.anchor-alias { position: absolute; top: -5.5rem; }

/* Skip-link klub42 (accent plein) */
.skip-link { background: var(--site-guidance); color: var(--site-background); font-size: .72rem; }

/* Header klub42 : logo texte trois lignes */
.brand { display: grid; grid-template-columns: auto auto; column-gap: .55rem; align-items: baseline; min-width: 170px; }
.logo-index { color: var(--site-guidance); font-size: .72rem; letter-spacing: .06em; }
.logo-name { font-family: var(--site-font-title); font-size: 1.35rem; font-weight: 600; line-height: 1; letter-spacing: -.035em; }
.logo-caption { grid-column: 2; margin-top: .25rem; color: var(--site-text-muted); font-size: .52rem; letter-spacing: .1em; line-height: 1.2; text-transform: uppercase; }
.header-nav { font-size: .76rem; letter-spacing: .06em; text-transform: uppercase; }
.header-nav a:not(.btn):hover { color: var(--site-guidance); text-decoration: none; }
.site-header.is-scrolled { background: color-mix(in srgb, var(--site-background) 96%, transparent); }

/* Hero klub42 : grand titre éditorial */
.hero { padding-block: clamp(4.2rem, 7vw, 7rem) 0; }
.hero .eyebrow { display: block; }
.hero-grid { grid-template-columns: minmax(0, 1.7fr) minmax(280px, .82fr); gap: clamp(3rem, 8vw, 9rem); align-items: end; }
.hero-headline { max-width: 950px; margin: 0 0 2rem; font-size: clamp(3.25rem, 7.1vw, 6.8rem); font-weight: 600; letter-spacing: -.045em; line-height: .94; }
.hero-line { display: block; }
.hero-line em { color: var(--site-guidance); font-style: italic; font-weight: 500; }
.hero-subtitle { max-width: 680px; margin: 0; color: var(--site-text-muted); font-size: clamp(1rem, 1.4vw, 1.12rem); font-weight: 300; line-height: 1.8; }
.hero .perimeter { margin-top: 1.15rem; max-width: 680px; font-size: .84rem; font-weight: 500; line-height: 1.6; }
.hero-chips { display: flex; flex-wrap: wrap; gap: .45rem; max-width: 760px; margin-top: 1.15rem; }
.hero-chips span { padding: .42rem .58rem; border: 1px solid var(--site-border); color: var(--site-text-muted); font-size: .75rem; letter-spacing: .03em; line-height: 1.3; }

/* Terminal hero (panneau sombre klub42) */
.hero .equity-figure { max-width: 430px; padding: 0; border: 0; background: transparent; border-radius: 0; justify-self: end; }
.hero-terminal { padding: clamp(1rem, 2vw, 1.35rem); background: var(--site-panel); border: 1px solid var(--site-panel-border); color: var(--site-panel-text); }
.terminal-head, .terminal-foot { display: flex; align-items: center; justify-content: space-between; gap: 1rem; color: var(--site-panel-muted); font-size: .72rem; letter-spacing: .08em; line-height: 1.5; text-transform: uppercase; }
.terminal-head { padding-bottom: .9rem; border-bottom: 1px solid var(--site-panel-border); }
.terminal-screen { padding: 2rem 0; font-size: clamp(.78rem, 1vw, .9rem); line-height: 1.85; }
.terminal-screen p { margin: 0; }
.terminal-line { color: var(--site-panel-text); }
.terminal-step { display: inline-block; min-width: 2.4rem; color: var(--site-accent-on-panel); font-family: var(--site-font-mono); font-variant-numeric: tabular-nums slashed-zero; font-weight: 600; }
.terminal-command { margin-top: .7rem !important; color: var(--site-panel-text); }
.terminal-prompt { color: var(--site-accent-on-panel); }
.terminal-foot { justify-content: flex-start; padding-top: .85rem; border-top: 1px solid var(--site-panel-border); color: var(--site-panel-text); text-transform: none; }
.status-dot { width: 7px; height: 7px; flex: 0 0 7px; margin-right: .55rem; border-radius: 50%; background: var(--site-accent-on-panel); box-shadow: 0 0 0 4px color-mix(in srgb, var(--site-accent-on-panel) 15%, transparent); }

/* Marquee klub42 : bandeau défilant sur panneau sombre — message, titres des
   6 cartes services et protocoles du manifesto (textes existants du site). */
.hero-marquee { margin-top: clamp(3rem, 6vw, 5rem); border-block: 1px solid var(--site-panel-border); background: var(--site-panel); }
.hero-marquee .marquee-list li { color: var(--site-panel-text); font-size: .78rem; }
.hero-marquee .marquee-list li::after { color: var(--site-accent-on-panel); }
.hero-marquee .marquee-list li:first-child { color: var(--site-accent-on-panel); }

/* Services klub42 : intro 2 colonnes + carte diagnostic sombre */
.services-intro-grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(280px, .72fr); gap: clamp(2.5rem, 8vw, 8rem); align-items: end; margin-bottom: 4rem; }
.services-intro-copy h2 { max-width: 780px; margin: 1.2rem 0 1.3rem; font-size: clamp(2.8rem, 5.5vw, 5.4rem); font-weight: 500; letter-spacing: -.065em; line-height: .96; }
.services-intro-copy h2 span { display: block; color: var(--site-guidance); font-style: italic; }
.services-intro-copy > p:last-child { max-width: 700px; margin: 0; color: var(--site-text-muted); font-size: .95rem; font-weight: 300; line-height: 1.85; }
.service-entry { display: flex; min-height: 245px; flex-direction: column; padding: clamp(1.2rem, 2.5vw, 2rem); background: var(--site-panel); border: 1px solid var(--site-panel-border); border-radius: 0; color: var(--site-panel-text); }
.service-entry-kicker { display: block; color: var(--site-accent-on-panel); font-size: .76rem; font-weight: 600; letter-spacing: .1em; line-height: 1.4; text-transform: uppercase; }
.service-entry h3 { max-width: 360px; margin: 2rem 0 0; font-size: clamp(1.6rem, 2.7vw, 2.7rem); font-weight: 500; letter-spacing: -.05em; line-height: 1; }
.service-entry p { margin: .8rem 0 0; max-width: 400px; color: var(--site-panel-muted); font-size: .95rem; line-height: 1.7; }
.service-entry-link { margin-top: auto; display: inline-flex; align-items: center; gap: .45rem; width: fit-content; padding-bottom: .3rem; border-bottom: 1px solid var(--site-panel-text); color: var(--site-panel-text); font-size: .76rem; letter-spacing: .08em; line-height: 1.3; text-transform: uppercase; text-decoration: none; }
.service-entry-link:hover { color: var(--site-accent-on-panel); border-color: var(--site-accent-on-panel); }

/* Cartes famille services : panneaux sombres, grille hairline 12 colonnes */
.service-family-grid { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); gap: 1rem; margin-top: 0; }
.service-family-card { display: flex; min-height: 430px; flex-direction: column; grid-column: span 4; padding: clamp(1.2rem, 2.2vw, 2rem); background: var(--site-panel); border: 1px solid var(--site-panel-border); border-radius: 0; color: var(--site-panel-text); transition: border-color 180ms ease, translate 200ms cubic-bezier(.2, .6, .2, 1); }
.service-family-top { display: flex; justify-content: space-between; gap: 1rem; color: var(--site-accent-on-panel); font-size: .76rem; font-weight: 600; letter-spacing: .1em; line-height: 1.4; text-transform: uppercase; }
.service-family-card h3 { margin: 1.2rem 0 0; font-size: clamp(1.4rem, 2.2vw, 2rem); font-weight: 500; letter-spacing: -.03em; }
.service-family-text { margin: .8rem 0 0; color: var(--site-panel-muted); font-size: .95rem; line-height: 1.7; }
.service-price-line { margin: .9rem 0 0; color: var(--site-accent-on-panel); font-family: var(--site-font-mono); font-size: .78rem; letter-spacing: .05em; line-height: 1.55; font-variant-numeric: tabular-nums slashed-zero; }
.service-entry .service-entry-price { margin: 1rem 0 0; max-width: 420px; color: var(--site-accent-on-panel); font-family: var(--site-font-mono); font-size: .8rem; letter-spacing: .05em; line-height: 1.55; font-variant-numeric: tabular-nums slashed-zero; }
.service-price-list { margin: .9rem 0 0; padding: 0; list-style: none; color: var(--site-accent-on-panel); font-family: var(--site-font-mono); font-size: .78rem; letter-spacing: .05em; line-height: 1.7; font-variant-numeric: tabular-nums slashed-zero; }
.service-plans { display: grid; gap: .9rem; margin: 1rem 0 0; padding: 0; list-style: none; }
.service-plans li { padding-top: .8rem; border-top: 1px solid var(--site-panel-border); }
.service-plans li:first-child { padding-top: 0; border-top: 0; }
.service-plan-name { display: block; color: var(--site-accent-on-panel); font-family: var(--site-font-mono); font-size: .78rem; letter-spacing: .05em; line-height: 1.5; font-variant-numeric: tabular-nums slashed-zero; }
.service-plan-desc { display: block; margin-top: .25rem; color: var(--site-panel-muted); font-size: .82rem; line-height: 1.55; }
.service-plans-note { margin: .9rem 0 0; color: var(--site-panel-note); font-size: .76rem; line-height: 1.55; }
.service-details { margin-top: 1.4rem; border-bottom: 0; }
.service-details summary { display: inline-flex; align-items: center; gap: .5rem; color: var(--site-panel-text); cursor: pointer; font-size: .76rem; letter-spacing: .05em; line-height: 1.5; text-transform: uppercase; padding: 0; min-height: 24px; }
.service-details summary::after { content: none; }
.service-details summary span { color: var(--site-accent-on-panel); font-size: 1rem; line-height: 1; transition: transform 180ms ease; }
.service-details[open] summary span { transform: rotate(45deg); }
.service-examples { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: .45rem 1.5rem; margin: 1rem 0 0; padding: 0; color: var(--site-panel-muted); font-size: .82rem; line-height: 1.55; list-style: none; }
.service-examples li::before { content: "—"; margin-right: .4rem; color: var(--site-accent-on-panel); }
.service-family-closing { max-width: 520px; margin: auto 0 0; padding-top: 1.4rem; color: var(--site-panel-text); font-family: var(--site-font-title); font-size: 1rem; letter-spacing: -.02em; line-height: 1.35; }
.services-footnote { max-width: 920px; margin: 1.4rem 0 0; color: var(--site-text-muted); font-size: .82rem; line-height: 1.7; }
/* Reveals échelonnés des cartes famille (mêmes keyframes que le kit) */
html.js-reveal .card-grid .service-family-card { opacity: 0; translate: 0 18px; }
html.js-reveal .section.is-visible .card-grid .service-family-card { animation: stagger-in 600ms cubic-bezier(.2, .6, .2, 1) both; animation-delay: calc(var(--i, 0) * 90ms); }

/* Manifesto (pourquoi) : section sombre à rangées numérotées */
.manifesto-section { position: relative; background: var(--site-panel); color: var(--site-panel-text); }
.manifesto-section .eyebrow { color: var(--site-accent-on-panel); }
.manifesto-heading { display: grid; grid-template-columns: minmax(0, 1fr) minmax(270px, .6fr); gap: 2rem 6rem; align-items: end; margin-bottom: 4rem; }
.manifesto-heading .eyebrow { grid-column: 1 / -1; margin-bottom: 0; }
.manifesto-heading h2 { margin: 0; font-size: clamp(2.45rem, 4.5vw, 4.6rem); font-weight: 500; letter-spacing: -.06em; line-height: .99; }
.manifesto-heading > p:last-child { margin: 0; color: var(--site-panel-muted); font-size: .95rem; font-weight: 300; line-height: 1.85; }
.manifesto-list { border-top: 1px solid var(--site-panel-border); }
.manifesto-row { display: grid; grid-template-columns: minmax(70px, .85fr) minmax(0, 3.6fr) minmax(145px, 1fr); gap: 2rem; align-items: start; padding: clamp(1.7rem, 3vw, 2.8rem) 0; border-bottom: 1px solid var(--site-panel-border); transition: background-color 180ms ease, padding-left 180ms ease; }
.manifesto-row:hover { padding-left: .8rem; background: color-mix(in srgb, var(--site-panel-text) 4%, transparent); }
.manifesto-number { color: var(--site-accent-on-panel); font-family: var(--site-font-title); font-size: clamp(2.3rem, 4.7vw, 4.8rem); letter-spacing: -.06em; line-height: .8; }
.manifesto-copy h3 { max-width: 650px; margin: 0; font-size: clamp(1.55rem, 2.7vw, 2.8rem); font-weight: 500; letter-spacing: -.035em; line-height: 1.1; }
.manifesto-copy p { max-width: 610px; margin: .8rem 0 0; color: var(--site-panel-muted); font-size: .95rem; font-weight: 300; line-height: 1.8; }
.manifesto-protocol { padding-left: 1rem; border-left: 1px solid var(--site-panel-border); color: var(--site-panel-muted); font-size: .6rem; letter-spacing: .11em; line-height: 1.5; }

/* Méthode : stepper kit + numéros klub42 + gages */
.process-number { display: inline-block; margin-right: .8rem; color: var(--site-guidance); font-family: var(--site-font-mono); font-size: .875rem; letter-spacing: .08em; font-variant-numeric: tabular-nums slashed-zero; font-weight: 600; }
.step-panel .step-copy { font-size: .95rem; line-height: 1.8; }
.method-reassurance { display: flex; flex-wrap: wrap; gap: .5rem; margin-top: 1.5rem; padding-top: 1.1rem; border-top: 1px solid var(--site-border); }
.method-reassurance span { padding: .45rem .55rem; border: 1px solid var(--site-border); color: var(--site-text-muted); font-size: .75rem; line-height: 1.4; }

/* FAQ : listes klub42 à questions Space Grotesk */
.faq-list { border-top: 1px solid var(--site-border); }
.faq-item { border-bottom: 1px solid var(--site-border); }
.faq-item summary { display: flex; align-items: center; justify-content: center; position: relative; gap: 1.5rem; padding: 1.35rem 2.5rem; color: var(--site-text); cursor: pointer; font-family: var(--site-font-title); font-size: clamp(1.2rem, 2vw, 1.65rem); letter-spacing: -.03em; line-height: 1.2; font-weight: 500; text-align: center; }
.faq-item summary::after { content: none; }
.faq-item summary:hover { text-decoration: none; color: var(--site-guidance); }
.faq-item summary span { position: absolute; right: 0; color: var(--site-guidance); font-family: var(--site-font-mono); font-size: 1rem; font-weight: 300; transition: transform 180ms ease; }
.faq-item[open] summary span { transform: rotate(45deg); }
.faq-answer { max-width: 680px; margin: -.3rem auto 1.35rem; color: var(--site-text-muted); font-size: .95rem; font-weight: 300; line-height: 1.8; text-align: center; }

/* Contact : panneau sombre klub42, formulaire à traits */
.contact-section { padding-bottom: clamp(5rem, 10vw, 10rem); }
.contact-panel { display: grid; grid-template-columns: minmax(0, .82fr) minmax(0, 1.18fr); gap: clamp(2.5rem, 7vw, 8rem); padding: clamp(1.4rem, 4vw, 4rem); background: var(--site-panel); color: var(--site-panel-text); }
.contact-panel .eyebrow { color: var(--site-accent-on-panel); margin-bottom: 0; }
.contact-copy h2 { max-width: 500px; margin: 1.2rem 0 1.3rem; color: var(--site-panel-text); font-size: clamp(2.7rem, 5.4vw, 5.4rem); font-weight: 500; letter-spacing: -.06em; line-height: .99; }
.contact-copy .contact-intro { max-width: 450px; margin: 0; color: var(--site-panel-muted); font-size: .95rem; font-weight: 300; line-height: 1.85; }
.contact-copy-email { color: var(--site-accent-on-panel); text-underline-offset: .2em; }
.contact-copy-email:hover { color: var(--site-panel-text); }
.booking-block { margin-top: clamp(3rem, 7vw, 6rem); padding-top: 1rem; border-top: 1px solid var(--site-panel-border); }
.booking-index { display: block; color: var(--site-accent-on-panel); font-size: .76rem; font-weight: 600; letter-spacing: .17em; line-height: 1.4; text-transform: uppercase; }
.booking-block a { display: inline-flex; align-items: center; gap: .45rem; width: fit-content; margin-top: 1.6rem; padding-bottom: .3rem; border-bottom: 1px solid var(--site-panel-text); color: var(--site-panel-text); font-size: .76rem; letter-spacing: .08em; line-height: 1.3; text-transform: uppercase; text-decoration: none; }
.booking-block a:hover { border-color: var(--site-accent-on-panel); color: var(--site-accent-on-panel); }
.booking-block p { max-width: 380px; margin: 1.15rem 0 0; color: var(--site-panel-note); font-size: .82rem; line-height: 1.7; }
.contact-form-wrap { min-width: 0; }
.contact-form { padding-top: .2rem; }
.contact-panel .field-label { color: var(--site-panel-muted); font-size: .76rem; letter-spacing: .08em; text-transform: uppercase; }
.contact-panel .field-label b, .contact-panel .consent-row b { color: var(--site-accent-on-panel); font-weight: 400; }
.contact-panel .field input, .contact-panel .field select, .contact-panel .field textarea { min-height: 45px; padding: .75rem 0; border: 0; border-bottom: 1px solid var(--site-panel-line); border-radius: 0; background: transparent; color: var(--site-panel-text); font-size: .95rem; line-height: 1.45; }
.contact-panel .field input::placeholder, .contact-panel .field textarea::placeholder { color: var(--site-panel-placeholder); }
.contact-panel .field select option { background: var(--site-panel); color: var(--site-panel-text); }
.contact-panel .field input:focus, .contact-panel .field select:focus, .contact-panel .field textarea:focus { border-color: var(--site-accent-on-panel); }
.contact-panel .field input:invalid:not(:placeholder-shown), .contact-panel .field select:invalid, .contact-panel .field textarea:invalid:not(:placeholder-shown) { border-color: var(--site-invalid); }
.contact-panel .consent-row { color: var(--site-panel-muted); font-size: .82rem; }
.contact-panel .consent-row a { color: var(--site-panel-text); text-underline-offset: .2em; }
.contact-panel .consent-row a:hover { color: var(--site-accent-on-panel); }
.contact-panel .consent-row input { accent-color: var(--site-accent-on-panel); }
.contact-panel .contact-form-disclaimer { border-top: 1px solid var(--site-panel-border); color: var(--site-panel-note); font-size: .82rem; }
.contact-panel .contact-form-disclaimer a { color: var(--site-panel-text); text-underline-offset: .2em; }
.contact-panel .contact-form-disclaimer a:hover { color: var(--site-accent-on-panel); }

/* Footer klub42 : panneau sombre, marque XL + légal dépliable */
.site-footer { padding: clamp(3rem, 7vw, 6rem) 0 1.4rem; border-top: 1px solid var(--site-panel-border); background: var(--site-panel); color: var(--site-panel-text); font-size: .82rem; }
.site-footer .container { display: block; }
.footer-lead { display: flex; align-items: end; justify-content: space-between; gap: 2rem; padding-bottom: 3.5rem; }
.footer-mark { margin: 0; font-family: var(--site-font-title); font-size: clamp(4rem, 10vw, 10rem); font-weight: 500; letter-spacing: -.09em; line-height: .78; }
.footer-mark span { color: var(--site-accent-on-panel); }
.footer-role { margin: 1.3rem 0 0; color: var(--site-panel-muted); font-size: .82rem; letter-spacing: .04em; }
.footer-email { display: inline-flex; align-items: center; gap: .45rem; color: var(--site-panel-text); font-size: .95rem; text-decoration: none; }
.footer-email:hover { color: var(--site-accent-on-panel); }
.footer-legal-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 1rem; border-top: 1px solid var(--site-panel-border); }
.footer-legal-grid details { padding: 1.1rem 0; border-bottom: 1px solid var(--site-panel-border); }
.footer-legal-grid summary { display: flex; align-items: center; justify-content: space-between; color: var(--site-panel-text); cursor: pointer; font-size: .82rem; letter-spacing: .06em; line-height: 1.5; list-style: none; text-transform: uppercase; padding: 0; min-height: 24px; }
.footer-legal-grid summary::after { content: none; }
.footer-legal-grid summary span { color: var(--site-accent-on-panel); font-size: 1.05rem; transition: transform 180ms ease; }
.footer-legal-grid details[open] summary span { transform: rotate(45deg); }
.footer-legal-grid details p { max-width: 570px; margin: 1rem 0 0; color: var(--site-panel-muted); font-size: .82rem; line-height: 1.8; }
.footer-legal-grid details strong { color: var(--site-accent-on-panel); font-weight: 500; }
.footer-legal-grid a { color: var(--site-panel-text); text-underline-offset: .2em; }
.footer-legal-grid a:hover { color: var(--site-accent-on-panel); }
.footer-bottom { display: flex; justify-content: space-between; gap: 1.5rem; padding-top: 1.3rem; color: var(--site-panel-faint); font-size: .76rem; line-height: 1.6; }
.footer-placeholder { color: var(--site-accent-on-panel); text-align: right; }

/* Pages légales klub42 (compléments au kit) */
.legal-notice { background: var(--site-accent-soft); }
.legal-notice strong { color: var(--site-guidance); font-weight: 600; }
.legal-review-note { margin: 0 0 2.25rem; padding: .8rem 1rem; border: 1px solid var(--site-border); border-left: 3px solid var(--site-guidance); background: transparent; color: var(--site-text-muted); font-size: .82rem; line-height: 1.7; }
.legal-review-note strong { color: var(--site-guidance); font-weight: 600; }
.legal-summary { margin-top: 1.2rem; }
.legal-back-link { width: fit-content; }

/* Responsive vitrine klub42 */
@media (max-width: 980px) {
  .hero-grid { grid-template-columns: minmax(0, 1.25fr) minmax(250px, .75fr); gap: 3rem; }
  .hero-headline { font-size: clamp(3rem, 8vw, 6.2rem); }
  .services-intro-grid, .manifesto-heading, .contact-panel { gap: 3rem; }
  .service-family-card { grid-column: span 6; }
}
@media (max-width: 760px) {
  .hero-grid { grid-template-columns: 1fr; gap: 3.6rem; }
  .hero .equity-figure { max-width: min(100%, 470px); justify-self: start; }
  .hero-headline { margin-top: 1.15rem; font-size: clamp(3.25rem, 15vw, 5.4rem); letter-spacing: -.085em; }
  .hero-subtitle { max-width: 500px; font-size: .95rem; }
  .terminal-screen { padding: 1.4rem 0; font-size: .76rem; }
  .terminal-screen p { overflow-wrap: anywhere; }
  .services-intro-grid { grid-template-columns: 1fr; gap: 3rem; margin-bottom: 3rem; }
  .service-family-grid { grid-template-columns: 1fr; }
  .service-entry { min-height: 230px; }
  .service-family-card { min-height: 360px; grid-column: auto; }
  .service-examples { grid-template-columns: 1fr; }
  .manifesto-heading { grid-template-columns: 1fr; gap: 0; margin-bottom: 3rem; }
  .manifesto-row { grid-template-columns: 3.4rem minmax(0, 1fr); gap: 1rem; }
  .manifesto-protocol { grid-column: 2; padding: .7rem 0 0; border-top: 1px solid var(--site-panel-border); border-left: 0; }
  .contact-panel { grid-template-columns: 1fr; gap: 3.8rem; padding: 1.4rem; }
  .booking-block { margin-top: 3rem; }
  .footer-lead { flex-direction: column; align-items: flex-start; }
  .footer-legal-grid { grid-template-columns: 1fr; }
  .footer-bottom { flex-direction: column; }
  .footer-placeholder { text-align: left; }
}

/* Contre-règles klub42 : le :is() du kit (l.94) contient .kpi-value.positive
   (2 classes) → spécificité (0,3,1). Double-classe pour passer devant et
   restaurer l'eyebrow violet, les textes muted et le footer sombre lisible. */
html:not([data-site-theme]) .eyebrow.eyebrow { color: var(--site-guidance); }
html:not([data-site-theme]) .perimeter.perimeter { color: var(--site-text-muted); }
html:not([data-site-theme]) .faq-answer.faq-answer { color: var(--site-text-muted); }
html:not([data-site-theme]) .site-footer.site-footer { color: var(--site-panel-text); }
html:not([data-site-theme]) .footer-legal-grid.footer-legal-grid details p { color: var(--site-panel-muted); }
