/* ============================================================================
   Direction artistique « TOM /dossier » — reprise du header de l'ancien site.
   Archivo (grotesk lourde, titres 800/900) + Space Mono (micro-labels
   uppercase, numéros de sections, badges LIVE). Fond papier #fcfbf8,
   UN accent bleu électrique, photos pleine page voilées de blanc.
   Animations : assets/js/main.js (vanilla : masques, galerie épinglée,
   manifeste, compteurs, magnétisme). Curseur : natif.
============================================================================ */

:root {
  --bg: #fcfbf8;
  --bg2: #ffffff;
  --tint: #f3f2ed;
  --ink: #0b0b0e;
  --ink-soft: #34343c;
  --muted: #6b6b74;
  --line: rgba(11, 11, 14, .1);
  --line-strong: rgba(11, 11, 14, .2);
  /* Couleur d'accent paramétrable en BO (site_settings.theme_accent,
     injectée inline dans layout.php) ; les nuances sont dérivées ici. */
  --accent: #2563eb;
  --accent-soft: color-mix(in srgb, var(--accent) 55%, #fff);
  --accent-ink: color-mix(in srgb, var(--accent) 80%, #000);
  --accent-tint: color-mix(in srgb, var(--accent) 10%, #fff);
  --font-display: 'Archivo', system-ui, sans-serif;
  --font-sans: 'Archivo', system-ui, sans-serif;
  --font-mono: 'IBM Plex Mono', 'SF Mono', monospace;
  --ease-out: cubic-bezier(.22, 1, .36, 1);
  --radius: 8px;
  --shadow-soft: 0 2px 6px rgba(11,11,14,.05), 0 18px 50px -18px color-mix(in srgb, var(--accent-ink) 16%, transparent);
  --shadow-photo: 0 30px 70px -25px rgba(11,11,14,.3);
}

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

body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font-family: var(--font-sans);
  font-size: 16px;
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

h1, h2, h3, h4 { font-family: var(--font-display); font-weight: 800; letter-spacing: -.03em; line-height: 1.02; margin: 0; }
h1 em, h2 em, h3 em, .em { font-style: normal; color: var(--accent); }
.mono { font-family: var(--font-mono); }
p { margin: 0; }
a { color: inherit; text-decoration: none; }
img { max-width: 100%; height: auto; display: block; }
button { font: inherit; cursor: pointer; border: 0; background: none; color: inherit; }
::selection { background: var(--accent); color: #fff; }

::-webkit-scrollbar { width: 10px; }
::-webkit-scrollbar-track { background: var(--bg); }
::-webkit-scrollbar-thumb { background: rgba(22,20,29,.18); border-radius: 99px; border: 2px solid var(--bg); }
::-webkit-scrollbar-thumb:hover { background: rgba(22,20,29,.3); }

.container { width: min(1320px, 100% - 3rem); margin-inline: auto; }
@media (max-width: 640px) { .container { width: calc(100% - 2.4rem); } }

/* --------------------------------------------------------------------------
   Texture & ambiances
-------------------------------------------------------------------------- */

/* Grain très léger */
body::after {
  content: ""; position: fixed; inset: 0; z-index: 96; pointer-events: none; opacity: .028;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='120' height='120'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='2'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
}

/* Aurora pastel — halos festifs dérivants */
.aurora { position: absolute; inset: 0; z-index: 0; overflow: hidden; pointer-events: none; }
.aurora::before, .aurora::after {
  content: ""; position: absolute; border-radius: 50%; filter: blur(90px); opacity: .5;
  animation: drift 18s ease-in-out infinite alternate;
}
.aurora::before { width: 55vw; height: 55vw; left: -14vw; top: -20vw; background: radial-gradient(circle, color-mix(in srgb, var(--accent) 14%, transparent), transparent 65%); }
.aurora::after { width: 46vw; height: 46vw; right: -12vw; bottom: -22vw; background: radial-gradient(circle, color-mix(in srgb, var(--accent-soft) 18%, transparent), transparent 65%); animation-delay: -7s; }
@keyframes drift { to { transform: translate(6vw, 4vw) scale(1.13); } }

/* Barre de progression de lecture */
.page-progress { position: fixed; inset: 0 0 auto 0; height: 2px; z-index: 98; pointer-events: none; }
.page-progress span { display: block; height: 100%; width: 0; background: var(--accent); }

/* Rideau d'entrée (clair) */
.curtain {
  position: fixed; inset: 0; z-index: 97; background: var(--bg);
  display: grid; place-items: center;
  transition: transform .9s var(--ease-out) .2s, visibility 0s 1.2s;
}
.curtain.up { transform: translateY(-101%); visibility: hidden; }
.curtain .c-mask { overflow: hidden; display: block; }
.curtain .c-mask b {
  display: block; font-family: var(--font-display); font-weight: 800;
  font-size: clamp(1.9rem, 5vw, 3.2rem); letter-spacing: -.03em; color: var(--ink);
  transform: translateY(115%); animation: rise .85s var(--ease-out) .1s forwards;
}
.curtain .c-mask .em { font-weight: 900; }
@keyframes rise { to { transform: translateY(0); } }
@keyframes fade { from { opacity: 0; } to { opacity: 1; } }

/* --------------------------------------------------------------------------
   Typo utilitaires
-------------------------------------------------------------------------- */
.eyebrow {
  font-family: var(--font-mono); font-size: .64rem; letter-spacing: .22em; text-transform: uppercase;
  color: var(--accent-ink); display: inline-flex; align-items: center; gap: 1rem; font-weight: 400;
}
.eyebrow .dash { width: 44px; height: 1px; background: var(--accent); display: inline-block; }

/* Numéro de section façon dossier technique : « 003 · LE CONSTAT » */
.sec-num { font-family: var(--font-mono); font-size: .64rem; letter-spacing: .18em; color: var(--muted); }
.sec-num b { color: var(--accent); font-weight: 400; }

/* Point « live » qui pulse */
.live-dot { display: inline-block; width: 7px; height: 7px; border-radius: 50%; background: var(--accent); animation: pulse 1.8s ease-in-out infinite; }
@keyframes pulse { 0%, 100% { opacity: 1; box-shadow: 0 0 0 0 color-mix(in srgb, var(--accent) 40%, transparent); } 50% { opacity: .55; box-shadow: 0 0 0 6px transparent; } }

.stroke { -webkit-text-stroke: 1px rgba(11,11,14,.3); color: transparent; }

/* Révélation par masque, ligne par ligne (JS pose .in) */
.rmask { overflow: hidden; display: block; }
.rmask > span { display: block; transform: translateY(118%); transition: transform 1s var(--ease-out); }
.rmask.in > span, .no-js .rmask > span { transform: translateY(0); }

/* Révélation générique */
.reveal { opacity: 0; transform: translateY(28px); transition: opacity .95s var(--ease-out), transform .95s var(--ease-out); }
.reveal.in, .no-js .reveal { opacity: 1; transform: none; }

/* Lien souligné animé */
.ulink { position: relative; }
.ulink::after {
  content: ""; position: absolute; left: 0; bottom: -3px; height: 1px; width: 100%;
  background: currentColor; transform: scaleX(0); transform-origin: right;
  transition: transform .45s var(--ease-out);
}
.ulink:hover::after, .ulink.active::after { transform: scaleX(1); transform-origin: left; }

/* Zoom image au survol */
.zoomimg { transition: transform 1.2s var(--ease-out); will-change: transform; }
a:hover .zoomimg, .group:hover .zoomimg { transform: scale(1.05); }

/* --------------------------------------------------------------------------
   Boutons
-------------------------------------------------------------------------- */
/* Système de boutons — pills. Animation signature : le libellé roule
   verticalement au survol (main.js enveloppe le texte dans .bt-roll, y
   compris sur les boutons injectés par le wizard, via MutationObserver),
   morph de couleur, scale élastique, ombre colorée qui fleurit. */
.btn {
  position: relative;
  display: inline-flex; align-items: center; justify-content: center; gap: .7rem;
  border-radius: 999px; font-family: var(--font-mono); font-weight: 500; font-size: .74rem;
  letter-spacing: .12em; text-transform: uppercase;
  padding: 1.05rem 2.1rem; white-space: nowrap;
  -webkit-tap-highlight-color: transparent;
  transition:
    color .4s var(--ease-out), border-color .4s var(--ease-out),
    background-color .4s var(--ease-out), box-shadow .45s var(--ease-out),
    transform .45s cubic-bezier(.34, 1.56, .64, 1);
}
.btn:hover { transform: scale(1.045); }
.btn:active { transform: scale(.96); transition-duration: .12s; }
.btn .arrow { width: 1em; height: 1em; transition: transform .45s var(--ease-out); }
.btn:hover .arrow { transform: translateX(4px); }
.btn:focus-visible, a:focus-visible, button:focus-visible, summary:focus-visible {
  outline: 2px solid var(--accent); outline-offset: 3px;
}

/* Rouleau de texte (structure posée par main.js) */
.bt-roll { position: relative; display: inline-block; overflow: hidden; }
.bt-roll .bt-a, .bt-roll .bt-b { display: block; transition: transform .45s var(--ease-out); }
.bt-roll .bt-b { position: absolute; inset: 0; transform: translateY(120%); }
.btn:hover .bt-roll .bt-a { transform: translateY(-120%); }
.btn:hover .bt-roll .bt-b { transform: translateY(0); }

/* Primaire : accent → encre, l'ombre passe de la couleur au noir */
.btn-primary {
  color: #fff; background-color: var(--accent);
  box-shadow: 0 12px 30px -10px color-mix(in srgb, var(--accent) 55%, transparent);
}
.btn-primary:hover {
  background-color: var(--ink);
  box-shadow: 0 18px 42px -12px color-mix(in srgb, var(--ink) 50%, transparent);
}

/* Encre : noir → accent, l'ombre fleurit en couleur */
.btn-paper {
  color: var(--bg); background-color: var(--ink);
  box-shadow: 0 10px 26px -12px rgba(11,11,14,.4);
}
.btn-paper:hover {
  color: #fff; background-color: var(--accent);
  box-shadow: 0 18px 42px -12px color-mix(in srgb, var(--accent) 55%, transparent);
}

/* Contour : se remplit d'encre */
.btn-line { border: 1px solid var(--line-strong); color: var(--ink); background-color: transparent; }
.btn-line:hover {
  color: var(--bg); border-color: var(--ink); background-color: var(--ink);
  box-shadow: 0 14px 32px -14px rgba(11,11,14,.4);
}

/* Fantôme (header) : contour fin, hover accent */
.btn-ghost {
  border: 1px solid var(--line-strong); color: var(--ink); background: transparent;
  font-size: .6875rem; letter-spacing: .18em; padding: .55rem 1.15rem;
}
.btn-ghost:hover { border-color: var(--accent); color: var(--accent-ink); box-shadow: 0 10px 26px -12px color-mix(in srgb, var(--accent) 35%, transparent); }

.btn-sm { padding: .68rem 1.35rem; font-size: .66rem; }
.btn-lg { padding: 1.2rem 2.6rem; font-size: .8rem; }
.btn[disabled] { opacity: .5; pointer-events: none; }
[data-magnetic] { display: inline-block; transition: transform .3s ease-out; will-change: transform; }

.icon { width: 22px; height: 22px; stroke: currentColor; stroke-width: 1.4; fill: none; stroke-linecap: round; stroke-linejoin: round; flex: none; }

/* --------------------------------------------------------------------------
   Header
-------------------------------------------------------------------------- */
.site-header {
  position: fixed; inset: 0 0 auto 0; z-index: 90; padding: 1.5rem 0;
  transition: padding .5s, background .5s, backdrop-filter .5s, border-color .5s, box-shadow .5s;
  border-bottom: 1px solid transparent;
}
.site-header.scrolled {
  padding: .8rem 0;
  background: rgba(252,251,248,.85);
  backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px);
  border-color: var(--line);
}
.header-inner { display: flex; align-items: center; justify-content: space-between; gap: 1.5rem; }
/* Marque « TOM Agency » : TOM en encre (grand, black), Agency en accent
   (plus léger), point signature qui pulse */
.brand { font-family: var(--font-display); font-size: 1.3rem; letter-spacing: -.03em; display: inline-flex; align-items: baseline; gap: .35rem; margin: 0; }
.brand b { font-weight: 900; font-size: 1.18em; color: var(--ink); }
.brand em { font-style: normal; font-weight: 600; color: var(--accent); }
.brand .b-dot {
  width: 6px; height: 6px; border-radius: 50%; background: var(--accent);
  align-self: center; margin-left: .1rem; margin-top: .5em;
  animation: pulse 1.8s ease-in-out infinite;
}
/* Nav : typo calquée sur chichiparis.fr — Montserrat 15px regular, capitales */
.main-nav { display: none; gap: 2rem; font-family: 'Montserrat', sans-serif; font-weight: 400; font-size: 15px; letter-spacing: normal; text-transform: uppercase; color: var(--ink-soft); }
.main-nav a:hover, .main-nav a.active { color: var(--ink); }
.header-cta { display: none; }
.burger { display: grid; gap: 5px; padding: .8rem; }
.burger span { display: block; width: 23px; height: 2px; border-radius: 2px; background: var(--ink); transition: transform .35s var(--ease-out), opacity .3s; }
@media (min-width: 1024px) {
  .main-nav { display: flex; }
  .header-cta { display: inline-block; }
  .burger { display: none; }
}
.burger[aria-expanded="true"] span:nth-child(1) { transform: translateY(6.5px) rotate(45deg); }
.burger[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.burger[aria-expanded="true"] span:nth-child(3) { transform: translateY(-6.5px) rotate(-45deg); }

.mobile-nav {
  position: fixed; inset: 0; z-index: 89; padding: 7rem 2rem 3rem;
  display: flex; flex-direction: column; gap: .4rem;
  background: rgba(250,249,246,.96); backdrop-filter: blur(18px); -webkit-backdrop-filter: blur(18px);
  opacity: 0; visibility: hidden; transition: opacity .4s, visibility .4s;
  overflow-y: auto;
}
.mobile-nav.open { opacity: 1; visibility: visible; }
.mobile-nav a:not(.btn) {
  font-family: var(--font-display); font-size: clamp(1.9rem, 7vw, 2.6rem); font-weight: 800; letter-spacing: -.02em;
  padding: .55rem 0; border-bottom: 1px solid var(--line);
  opacity: 0; transform: translateY(18px); transition: opacity .5s var(--ease-out), transform .5s var(--ease-out), color .3s;
}
.mobile-nav.open a:not(.btn) { opacity: 1; transform: none; }
.mobile-nav a:not(.btn):hover { color: var(--accent); }
.mobile-nav .btn { margin-top: 2rem; align-self: flex-start; }

/* --------------------------------------------------------------------------
   Sections
-------------------------------------------------------------------------- */
main { min-height: 100dvh; }
.section { position: relative; padding: clamp(4.5rem, 9vw, 8rem) 0; }
.section-head { margin-bottom: clamp(2.5rem, 6vw, 4.2rem); }
.section-title { font-size: clamp(2.1rem, 4.8vw, 3.4rem); max-width: 20ch; text-wrap: balance; }
.section-sub { margin-top: 1.4rem; font-weight: 500; font-size: clamp(1.08rem, 1.5vw, 1.25rem); color: var(--muted); max-width: 46ch; line-height: 1.5; }
.section-head .eyebrow { margin-bottom: 1.4rem; }
.section-head.center { text-align: center; }
.section-head.center .section-title, .section-head.center .section-sub { margin-inline: auto; }

/* Sections teintées (respiration) */
.on-paper { background: var(--tint); }

/* --------------------------------------------------------------------------
   HERO — une seule image de fond : le robot posé sur blanc
-------------------------------------------------------------------------- */
.hero {
  position: relative; min-height: 92dvh; display: flex; align-items: center;
  overflow: hidden; padding: 7.5rem 0 0;
  background: linear-gradient(180deg, #ffffff 0%, #ffffff 78%, var(--bg) 100%);
}
.hero-content { position: relative; z-index: 2; }
.hero-inner { max-width: 610px; padding-bottom: clamp(3rem, 7vw, 5.5rem); }
.hero .eyebrow { margin-bottom: clamp(1.4rem, 3vw, 2.2rem); opacity: 0; animation: fade 1s ease .85s forwards; }
.hero-title { font-size: clamp(2.6rem, 5.6vw, 4.9rem); line-height: 1; letter-spacing: -.02em; }
.hero-sub { margin-top: 1.9rem; max-width: 30rem; font-weight: 500; font-size: clamp(1.1rem, 1.6vw, 1.3rem); line-height: 1.5; color: var(--muted); opacity: 0; animation: fade 1s ease 1.05s forwards; }
.hero-ctas { display: flex; align-items: center; gap: 1.6rem; flex-wrap: wrap; margin-top: 2.4rem; opacity: 0; animation: fade 1s ease 1.2s forwards; }
.hero-meta { display: flex; gap: 2.4rem; flex-wrap: wrap; margin-top: 2.8rem; opacity: 0; animation: fade 1s ease 1.35s forwards; }
.hero-meta div { font-size: .78rem; color: var(--muted); }
.hero-meta strong { display: block; font-family: var(--font-display); font-weight: 800; font-size: 1.35rem; color: var(--ink); letter-spacing: -.02em; }

/* Le robot : grande image unique, pleine hauteur, fondue dans le blanc */
.hero-robot {
  position: absolute; z-index: 1; right: clamp(-2rem, 2vw, 5rem); bottom: 0;
  height: min(86%, 760px); width: auto; max-width: 54vw; object-fit: contain; object-position: bottom;
  opacity: 0; animation: heroRobot 1.3s var(--ease-out) .5s forwards;
  filter: drop-shadow(0 40px 50px rgba(22,20,29,.14));
}
@keyframes heroRobot { from { opacity: 0; transform: translateX(40px); } to { opacity: 1; transform: none; } }
/* Ombre de sol sous le robot */
.hero-floor {
  position: absolute; z-index: 0; right: clamp(0rem, 6vw, 10rem); bottom: 4%;
  width: min(40vw, 560px); height: 60px; border-radius: 50%;
  background: radial-gradient(closest-side, rgba(22,20,29,.12), transparent 70%);
  opacity: 0; animation: fade 1.2s ease .9s forwards;
}
/* Mot outline géant derrière le robot (profondeur, discret) */
.hero-word {
  position: absolute; z-index: 0; right: -1rem; top: 16%;
  font-family: var(--font-display); font-weight: 800; line-height: 1;
  font-size: clamp(6rem, 17vw, 15rem); letter-spacing: -.03em;
  -webkit-text-stroke: 1px color-mix(in srgb, var(--accent) 16%, transparent); color: transparent;
  user-select: none; pointer-events: none;
  opacity: 0; animation: fade 1.4s ease 1.1s forwards;
}
.hero-scroll {
  position: absolute; bottom: 1.6rem; left: 50%; transform: translateX(-50%); z-index: 2;
  display: flex; flex-direction: column; align-items: center; gap: .6rem;
  font-size: .6rem; letter-spacing: .3em; text-transform: uppercase; color: var(--muted);
  opacity: 0; animation: fade 1s ease 1.7s forwards;
}
.hero-scroll span { width: 1px; height: 32px; background: linear-gradient(to bottom, var(--accent), transparent); }

@media (max-width: 1023px) {
  .hero { min-height: 0; padding-top: 6.5rem; }
  .hero-inner { max-width: none; padding-bottom: 0; }
  .hero-robot { position: static; display: block; height: auto; width: min(78%, 400px); max-width: none;
    margin: 1.5rem auto 0; animation-name: fade; }
  .hero-floor, .hero-word { display: none; }
  .hero-scroll { display: none; }
}

/* --------------------------------------------------------------------------
   HERO LIVE (accueil) — photo pleine page voilée de blanc, reprise de
   l'ancien site TOM : titre grotesk énorme, « communication. » en bleu,
   barre méta mono « · LIVE · TOM/UNIT-01 » en pied.
-------------------------------------------------------------------------- */
.hero-live {
  position: relative; min-height: 100dvh; display: flex; flex-direction: column;
  justify-content: flex-start; overflow: hidden; padding-top: clamp(6.5rem, 12vh, 9rem);
}
.hero-live .hero-photo {
  position: absolute; inset: 0; z-index: 0;
  width: 100%; height: 100%; object-fit: cover; object-position: center 32%;
  opacity: 0; animation: heroPhoto 1.6s ease .25s forwards;
}
@keyframes heroPhoto { to { opacity: 1; } }
/* Voile blanc : dense en haut (lisibilité du titre), photo révélée en bas */
.hero-live .hero-wash {
  position: absolute; inset: 0; z-index: 1; pointer-events: none;
  background:
    radial-gradient(115% 85% at 18% 30%, rgba(252,251,248,.85) 0%, rgba(252,251,248,.4) 48%, rgba(252,251,248,0) 72%),
    linear-gradient(180deg, rgba(252,251,248,.99) 0%, rgba(252,251,248,.92) 26%, rgba(252,251,248,.6) 50%, rgba(252,251,248,.18) 74%, rgba(252,251,248,.34) 100%);
}
.hero-live .container { position: relative; z-index: 2; }
.hl-title {
  font-size: clamp(2.9rem, 7.6vw, 6.6rem); line-height: .98; letter-spacing: -.035em;
  font-weight: 800; max-width: 12ch;
}
.hl-title em { color: var(--accent); }
/* Panneau verre dépoli : texte + actions lisibles quelle que soit la photo */
.hl-panel {
  margin-top: 2.2rem; max-width: 33rem;
  background: rgba(255,255,255,.55);
  backdrop-filter: blur(18px) saturate(1.25); -webkit-backdrop-filter: blur(18px) saturate(1.25);
  border: 1px solid rgba(255,255,255,.7); border-radius: 18px;
  box-shadow: 0 22px 55px -22px rgba(11,11,14,.22), inset 0 1px 0 rgba(255,255,255,.85);
  padding: 1.7rem 1.9rem;
  opacity: 0; animation: fade 1s ease .95s forwards;
}
.hl-sub {
  font-family: var(--font-display); font-weight: 500;
  font-size: clamp(1.02rem, 1.4vw, 1.15rem); line-height: 1.5; color: var(--ink-soft);
}
.hl-sub b { color: var(--ink); font-weight: 700; }
/* Desktop : panneau élargi → le texte tient sur 2 lignes équilibrées */
@media (min-width: 1024px) {
  .hl-panel { max-width: 46rem; }
  .hl-sub { text-wrap: balance; }
}
.hl-ctas { display: flex; align-items: center; gap: 1.6rem; flex-wrap: wrap; margin-top: 1.5rem; }
.hl-link {
  display: inline-flex; align-items: center; gap: .6rem;
  font-family: var(--font-mono); font-size: .68rem; letter-spacing: .14em; text-transform: uppercase;
  color: var(--ink); font-weight: 500;
}
.hl-link svg { width: 13px; height: 13px; transition: transform .4s var(--ease-out); }
.hl-link:hover { color: var(--accent-ink); }
.hl-link:hover svg { transform: translateY(3px); }
/* Barre méta en pied de hero */
.hero-bar {
  position: relative; z-index: 2; margin-top: auto;
  border-top: 1px solid rgba(11,11,14,.12);
  background: rgba(252,251,248,.86);
  backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px);
  opacity: 0; animation: fade 1s ease 1.45s forwards;
}
.hero-bar .container {
  display: flex; align-items: center; justify-content: space-between; gap: 1.5rem;
  padding-block: .95rem; font-family: var(--font-mono); font-size: .6rem;
  letter-spacing: .18em; text-transform: uppercase; color: var(--ink-soft);
}
.hero-bar .hb-item { display: inline-flex; align-items: center; gap: .7rem; white-space: nowrap; }
@media (max-width: 720px) {
  .hero-bar .container { flex-wrap: wrap; gap: .5rem 1.5rem; justify-content: flex-start; }
  .hero-live .hero-photo { object-position: 62% 32%; }
}

/* --------------------------------------------------------------------------
   Marquee texte outline
-------------------------------------------------------------------------- */
.marquee { border-block: 1px solid var(--line); padding: 1.4rem 0; overflow: hidden; background: var(--bg2); }
.marquee-track { display: flex; gap: 3rem; width: max-content; align-items: center; animation: marq 34s linear infinite; }
.marquee-track > span { display: flex; align-items: center; gap: 3rem; white-space: nowrap; }
.marquee-track .word { font-family: var(--font-display); font-weight: 800; letter-spacing: -.02em; font-size: clamp(1.7rem, 4vw, 2.9rem); }
.marquee-track .sep { color: var(--accent); font-size: .95rem; }
@keyframes marq { to { transform: translateX(-50%); } }

/* --------------------------------------------------------------------------
   Galerie horizontale épinglée (moments)
-------------------------------------------------------------------------- */
.hscroll { position: relative; height: 380vh; background: var(--bg); }
.hscroll-sticky { position: sticky; top: 0; height: 100dvh; overflow: hidden; display: flex; flex-direction: column; justify-content: center; }
.hscroll-head { display: flex; align-items: flex-end; justify-content: space-between; gap: 2rem; margin-bottom: 2.2rem; }
.hscroll-count { font-family: var(--font-mono); font-size: .78rem; letter-spacing: .12em; color: var(--muted); }
.hscroll-track { display: flex; gap: clamp(1.2rem, 2vw, 2rem); padding-inline: max(1.5rem, calc((100vw - 1320px) / 2)); will-change: transform; }
.moment {
  position: relative; flex: none; overflow: hidden; border-radius: var(--radius);
  width: clamp(280px, 76vw, 420px); height: min(64vh, 580px);
  background: var(--tint); box-shadow: var(--shadow-photo);
}
@media (min-width: 768px) { .moment { width: clamp(320px, 30vw, 430px); } }
.moment img { width: 100%; height: 100%; object-fit: cover; }
.moment::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(16,14,22,.08), transparent 34%, rgba(16,14,22,.78)); }
.moment .m-tag {
  position: absolute; top: 1.1rem; right: 1.2rem; z-index: 2;
  font-family: var(--font-mono); font-size: .56rem; letter-spacing: .22em; text-transform: uppercase; color: #fff;
  background: rgba(11,11,14,.35); backdrop-filter: blur(8px); -webkit-backdrop-filter: blur(8px);
  padding: .45rem .8rem; border-radius: 3px;
}
.moment .m-body { position: absolute; inset: auto 0 0 0; z-index: 2; padding: 1.6rem; color: #fff; }
.moment .m-body h3 { font-size: 1.7rem; color: #fff; }
.moment .m-body p { margin-top: .5rem; font-size: .92rem; line-height: 1.45; color: rgba(255,255,255,.82); }
.moment-end { flex: none; width: clamp(260px, 60vw, 380px); display: flex; flex-direction: column; justify-content: center; gap: 1.8rem; padding-right: 2rem; }
.moment-end p { font-family: var(--font-display); font-weight: 700; letter-spacing: -.02em; font-size: clamp(1.5rem, 2.8vw, 2rem); line-height: 1.2; }

/* --------------------------------------------------------------------------
   Manifeste mot à mot
-------------------------------------------------------------------------- */
.manifesto { font-family: var(--font-display); font-weight: 700; letter-spacing: -.025em; font-size: clamp(1.5rem, 3.8vw, 2.7rem); line-height: 1.25; display: flex; flex-wrap: wrap; gap: 0 .28em; max-width: 56rem; }
.manifesto .w { opacity: .13; transition: opacity .12s linear; }
/* Variante « stack » : lignes courtes façon manifeste startup */
.manifesto.stack { display: block; max-width: 62rem; }
.manifesto.stack .ml { display: flex; flex-wrap: wrap; align-items: center; gap: .1em .3em; }
.manifesto.stack .ml + .ml { margin-top: .18em; }
.manifesto .hl { color: var(--accent); }
.manifesto .chip {
  display: inline-flex; align-items: center; gap: .4em;
  font-size: .52em; font-weight: 600; letter-spacing: 0; line-height: 1;
  border: 1px solid var(--line-strong); border-radius: 999px;
  background: var(--bg2); padding: .5em .85em .5em .65em;
  box-shadow: 0 6px 18px -8px rgba(11,11,14,.14);
  transform: translateY(-.14em);
}
.manifesto .chip .icon { width: 1.1em; height: 1.1em; color: var(--accent); stroke-width: 1.8; }

/* --------------------------------------------------------------------------
   Stats
-------------------------------------------------------------------------- */
.stats-row { display: grid; grid-template-columns: repeat(2, 1fr); gap: 3rem 2rem; border-top: 1px solid var(--line); padding-top: 3.2rem; }
@media (min-width: 900px) { .stats-row { grid-template-columns: repeat(4, 1fr); } }
.stat-value { font-family: var(--font-display); font-weight: 800; letter-spacing: -.03em; font-size: clamp(2.6rem, 5.5vw, 4.1rem); line-height: 1; font-variant-numeric: tabular-nums; color: var(--ink); }
.stat-label { margin-top: .9rem; font-family: var(--font-mono); font-size: .58rem; letter-spacing: .16em; text-transform: uppercase; color: var(--muted); max-width: 15rem; line-height: 1.8; }

/* --------------------------------------------------------------------------
   Split parallaxe
-------------------------------------------------------------------------- */
.split { display: grid; gap: 3rem; align-items: center; }
@media (min-width: 1024px) { .split { grid-template-columns: 1fr 1fr; gap: 4.5rem; } }
.split-visual { position: relative; height: clamp(380px, 55vw, 560px); border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow-photo); }
.split-visual img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; will-change: transform; transform: scale(1.15); }
.chips { display: flex; flex-wrap: wrap; gap: .7rem; margin-top: 2.2rem; }
.chips span { border: 1px solid var(--line-strong); border-radius: 999px; padding: .55rem 1.15rem; font-size: .8rem; color: var(--ink-soft); transition: border-color .3s, background .3s; }
.chips span:hover { border-color: var(--accent); background: var(--accent-tint); }

/* --------------------------------------------------------------------------
   Listes éditoriales (options, arguments)
-------------------------------------------------------------------------- */
.edit-list { border-top: 1px solid var(--line); }
.edit-item {
  display: grid; grid-template-columns: auto 1fr auto; gap: 1.2rem 1.8rem; align-items: baseline;
  padding: 1.7rem 0; border-bottom: 1px solid var(--line);
  transition: padding-left .4s var(--ease-out);
}
.edit-item:hover { padding-left: 1rem; }
.edit-item .n { font-family: var(--font-mono); font-size: .72rem; color: var(--accent-ink); font-variant-numeric: tabular-nums; }
.edit-item h3 { font-family: var(--font-sans); font-weight: 600; font-size: 1.02rem; letter-spacing: -.01em; }
.edit-item .d { grid-column: 2; font-size: .94rem; line-height: 1.55; color: var(--muted); max-width: 54ch; margin-top: .25rem; }
.edit-item .p { font-size: .85rem; font-weight: 500; color: var(--accent-ink); white-space: nowrap; }

/* Cartes d'usage (icône SVG fine) */
.usage-grid { display: grid; gap: 1px; background: var(--line); border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; }
@media (min-width: 700px) { .usage-grid { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1080px) { .usage-grid { grid-template-columns: repeat(3, 1fr); } }
.usage { background: var(--bg2); padding: 2.2rem 2rem; transition: background .4s; }
.usage:hover { background: var(--accent-tint); }
.usage .icon { width: 26px; height: 26px; color: var(--accent); margin-bottom: 1.4rem; }
.usage h3 { font-family: var(--font-sans); font-weight: 600; font-size: 1.02rem; letter-spacing: -.01em; }
.usage p { margin-top: .6rem; font-size: .95rem; color: var(--muted); line-height: 1.55; }

/* --------------------------------------------------------------------------
   Témoignages
-------------------------------------------------------------------------- */
.bigquote { max-width: 52rem; margin-inline: auto; text-align: center; }
.bigquote blockquote { margin: 0; font-family: var(--font-display); font-weight: 700; letter-spacing: -.02em; font-size: clamp(1.4rem, 3.2vw, 2.2rem); line-height: 1.3; }
.bigquote figcaption { margin-top: 2rem; font-family: var(--font-mono); font-size: .62rem; letter-spacing: .16em; text-transform: uppercase; color: var(--muted); }
.bigquote figcaption strong { color: var(--ink); font-weight: 500; }
.quote-row { display: grid; gap: 2.5rem; margin-top: 4rem; }
@media (min-width: 900px) { .quote-row { grid-template-columns: 1fr 1fr; } .quote-row > :last-child { transform: translateY(2.2rem); } }
.quote-row figure { margin: 0; border-left: 2px solid var(--accent-tint); padding-left: 1.8rem; }
.quote-row blockquote { margin: 0; font-size: 1.02rem; line-height: 1.75; color: var(--ink-soft); }
.quote-row figcaption { margin-top: 1.1rem; font-family: var(--font-mono); font-size: .6rem; letter-spacing: .14em; text-transform: uppercase; color: var(--muted); }

/* --------------------------------------------------------------------------
   FAQ accordéon
-------------------------------------------------------------------------- */
.accordion { border-top: 1px solid var(--line); }
.accordion-item { border-bottom: 1px solid var(--line); }
.accordion-q {
  display: flex; width: 100%; align-items: center; justify-content: space-between; gap: 1.4rem;
  padding: 1.6rem 0; text-align: left; transition: color .3s;
}
.accordion-q:hover { color: var(--accent-ink); }
.accordion-q .q-text { font-family: var(--font-display); font-weight: 600; font-size: 1.08rem; letter-spacing: -.01em; }
.accordion-q .q-icon { flex: none; width: 30px; height: 30px; display: grid; place-items: center; border: 1px solid var(--line-strong); border-radius: 999px; color: var(--ink-soft); transition: transform .4s var(--ease-out), background .3s, border-color .3s, color .3s; }
.accordion-q .q-icon svg { width: 12px; height: 12px; }
.accordion-item.open .q-icon { transform: rotate(45deg); background: var(--accent); border-color: var(--accent); color: #fff; }
.accordion-a { display: grid; grid-template-rows: 0fr; transition: grid-template-rows .45s var(--ease-out); }
.accordion-item.open .accordion-a { grid-template-rows: 1fr; }
.accordion-a > div { overflow: hidden; }
.accordion-a p { padding: 0 3rem 1.8rem 0; color: var(--muted); font-size: 1rem; line-height: 1.6; max-width: 62ch; }

/* --------------------------------------------------------------------------
   Journal / articles
-------------------------------------------------------------------------- */
.journal-grid { display: grid; gap: 2.5rem 1.8rem; }
@media (min-width: 800px) { .journal-grid { grid-template-columns: repeat(3, 1fr); } }
.article-card { display: block; }
.article-card .thumb { position: relative; overflow: hidden; border-radius: 12px; aspect-ratio: 16/11; margin-bottom: 1.3rem; background: var(--tint); box-shadow: var(--shadow-soft); }
.article-card .thumb img { width: 100%; height: 100%; object-fit: cover; }
.article-card .thumb .ph { position: absolute; inset: 0; display: grid; place-items: center; color: rgba(22,20,29,.25); }
.article-card .thumb .ph svg { width: 54px; height: 54px; stroke-width: 1; }
.article-card .meta { display: flex; align-items: center; gap: .9rem; font-family: var(--font-mono); font-size: .56rem; letter-spacing: .16em; text-transform: uppercase; color: var(--muted); }
.article-card .meta .cat { color: var(--accent-ink); }
.article-card h3 { margin-top: .7rem; font-family: var(--font-display); font-weight: 700; letter-spacing: -.015em; font-size: 1.22rem; line-height: 1.28; transition: color .3s; }
.article-card:hover h3 { color: var(--accent-ink); }
.article-card .excerpt { margin-top: .6rem; font-size: .88rem; color: var(--muted); line-height: 1.7; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }

.cat-filters { display: flex; flex-wrap: wrap; gap: .7rem; margin-bottom: 3rem; }
.cat-filters a { border: 1px solid var(--line-strong); border-radius: 999px; padding: .55rem 1.2rem; font-size: .8rem; color: var(--ink-soft); transition: all .3s; }
.cat-filters a:hover { border-color: var(--ink); color: var(--ink); }
.cat-filters a.active { background: var(--ink); border-color: var(--ink); color: var(--bg); }

.pagination { display: flex; justify-content: center; gap: .6rem; margin-top: 4rem; }
.pagination a { display: grid; place-items: center; width: 42px; height: 42px; border-radius: 999px; border: 1px solid var(--line-strong); font-size: .85rem; transition: all .3s; }
.pagination a:hover { border-color: var(--ink); }
.pagination a.active { background: var(--ink); border-color: var(--ink); color: var(--bg); }

/* Contenu d'article (Markdown) */
.prose { font-size: 1.05rem; line-height: 1.85; color: var(--ink-soft); }
.prose h2 { font-size: 1.75rem; margin: 2.4em 0 .7em; color: var(--ink); }
.prose h3 { font-size: 1.3rem; margin: 1.9em 0 .6em; color: var(--ink); }
.prose p { margin-bottom: 1.2em; max-width: 68ch; }
.prose ul, .prose ol { margin: 0 0 1.3em; padding-left: 1.3em; }
.prose li { margin-bottom: .55em; }
.prose a { color: var(--accent-ink); text-decoration: underline; text-underline-offset: 3px; }
.prose a:hover { color: var(--accent); }
.prose blockquote { border-left: 2px solid var(--accent); margin: 1.6em 0; padding-left: 1.3em; font-family: var(--font-display); font-weight: 600; font-size: 1.1em; color: var(--ink); }
.prose img { border-radius: 12px; margin: 1.6em 0; }
.prose table { width: 100%; border-collapse: collapse; margin: 1.6em 0; font-size: .92em; }
.prose th, .prose td { border: 1px solid var(--line); padding: .65em .9em; text-align: left; }
.prose th { background: var(--tint); font-weight: 500; }
.prose code { background: var(--tint); border: 1px solid var(--line); border-radius: 6px; padding: .12em .4em; font-size: .86em; }
.prose pre { background: var(--ink); color: #f0eee8; border-radius: 12px; padding: 1.2em 1.4em; overflow-x: auto; }
.prose pre code { background: none; border: 0; padding: 0; color: inherit; }
.prose hr { border: 0; border-top: 1px solid var(--line); margin: 2.5em 0; }

.article-hero-img { border-radius: var(--radius); box-shadow: var(--shadow-photo); }
.article-credit { text-align: right; font-size: .7rem; color: var(--muted); margin-top: .7rem; letter-spacing: .06em; }
.tags { display: flex; flex-wrap: wrap; gap: .6rem; margin-top: 2.6rem; }
.tags span { border: 1px solid var(--line-strong); border-radius: 999px; padding: .35rem .95rem; font-size: .72rem; letter-spacing: .08em; color: var(--muted); }

/* --------------------------------------------------------------------------
   Fil d'Ariane + réponse directe
-------------------------------------------------------------------------- */
.breadcrumb { font-size: .7rem; letter-spacing: .14em; text-transform: uppercase; color: var(--muted); margin-bottom: 2rem; }
.breadcrumb a:hover { color: var(--ink); }
.breadcrumb .sep { margin: 0 .6rem; opacity: .5; }

.direct-answer { max-width: 50rem; border-left: 2px solid var(--accent); padding: .4rem 0 .4rem 2.2rem; }
.direct-answer h2 { font-size: clamp(1.3rem, 2.6vw, 1.7rem); font-weight: 700; }
.direct-answer p { margin-top: 1.1rem; color: var(--ink-soft); line-height: 1.55; font-size: 1.12rem; }

/* --------------------------------------------------------------------------
   LE CONSTAT — index typographique horizontal : une rangée de mots géants
   en contour (médias morts, fantômes), TOM plein en accent. Le mot actif
   se remplit et se barre de rouge ; son verdict s'affiche dans le panneau.
   Rotation automatique (main.js), clic/survol pour piloter.
-------------------------------------------------------------------------- */
.autopsy { border-top: 1px solid var(--line-strong); padding-top: clamp(1.8rem, 4vw, 3rem); }
.at-words {
  display: flex; flex-wrap: wrap; align-items: baseline; column-gap: clamp(1.6rem, 4vw, 4rem); row-gap: .4rem;
  justify-content: space-between;
}
.at-word {
  padding: 0; font-family: var(--font-display); font-weight: 800; letter-spacing: -.03em;
  font-size: clamp(1.7rem, 3.9vw, 3.4rem); line-height: 1.15; white-space: nowrap;
  -webkit-text-stroke: 1.5px rgba(11,11,14,.3); color: transparent;
  transition: color .45s var(--ease-out), -webkit-text-stroke-color .45s;
  position: relative;
}
.at-word:hover { -webkit-text-stroke-color: rgba(11,11,14,.55); }
/* Trait rouge du mot condamné actif */
.at-word::after {
  content: ""; position: absolute; left: -1%; right: -1%; top: 55%; height: max(2px, .06em);
  background: #c11f14; border-radius: 2px;
  transform: rotate(-1.6deg) scaleX(0); transform-origin: left;
  transition: transform .5s var(--ease-out);
}
.at-word.on { color: var(--ink); -webkit-text-stroke: 0px transparent; }
.at-word.on::after { transform: rotate(-1.6deg) scaleX(1); }
/* TOM : toujours plein, en accent, jamais barré */
.at-word.alive { color: var(--accent); -webkit-text-stroke: 0px transparent; }
.at-word.alive::after { display: none; }
.at-word.alive.on { text-shadow: 0 0 34px color-mix(in srgb, var(--accent) 45%, transparent); }

/* Panneau verdict */
.at-panel { position: relative; margin-top: clamp(1.8rem, 4vw, 2.8rem); min-height: clamp(13rem, 24vw, 15rem); }
@media (min-width: 900px) { .at-panel { min-height: 11.5rem; } }
.at-item {
  position: absolute; inset: 0 0 auto 0;
  display: grid; gap: .9rem 2.6rem; align-items: center; grid-template-columns: auto 1fr;
  border-top: 1px solid var(--line); padding-top: 1.4rem;
  opacity: 0; transform: translateY(10px); pointer-events: none;
  transition: opacity .45s var(--ease-out), transform .45s var(--ease-out);
}
.at-item.on { opacity: 1; transform: none; pointer-events: auto; }
/* Gros tampon rouge des médias morts */
.at-stamp {
  display: inline-block; font-family: var(--font-display); font-weight: 800;
  font-size: clamp(1.5rem, 3.2vw, 2.5rem); letter-spacing: -.01em; text-transform: uppercase;
  color: #c11f14; border: 3px solid #c11f14; border-radius: 8px;
  padding: .12em .45em; transform: rotate(-5deg); opacity: 0;
}
.at-item.on .at-stamp { animation: stampHit .4s cubic-bezier(.34, 1.56, .64, 1) .15s forwards; }
.no-js .at-stamp { opacity: 1; }
@keyframes stampHit {
  from { opacity: 0; transform: rotate(-12deg) scale(1.7); }
  to { opacity: 1; transform: rotate(-5deg) scale(1); }
}
.at-item p { font-family: var(--font-display); font-weight: 500; font-size: clamp(1rem, 1.7vw, 1.3rem); line-height: 1.45; color: var(--ink-soft); max-width: 48ch; }
/* TOM : même principe, tampon « Validé » vert + texte en accent */
.at-stamp.ok { color: #0d8a3f; border-color: #0d8a3f; }
.at-item.alive p { color: var(--accent-ink); font-weight: 600; }
@media (max-width: 700px) {
  .at-item { grid-template-columns: 1fr; align-items: start; }
}
/* Barre de progression du cycle automatique */
.at-progress { position: absolute; left: 0; top: -1px; height: 1px; width: 100%; overflow: hidden; }
.at-progress span { display: block; height: 100%; width: 100%; background: var(--accent); transform: scaleX(0); transform-origin: left; }
.at-cycling .at-item.on .at-progress span { animation: atProg var(--at-delay, 4s) linear forwards; }
@keyframes atProg { to { transform: scaleX(1); } }
@media (max-width: 700px) {
  .at-words { justify-content: flex-start; }
  .at-item { grid-template-columns: 1fr; }
  .at-panel { min-height: 11rem; }
}
/* Sans JS : premier mot rempli + premier panneau visible */
.no-js .at-word:first-child { color: var(--ink); -webkit-text-stroke: 0px transparent; }
.no-js .at-item:first-child { position: static; opacity: 1; transform: none; pointer-events: auto; }

.verdict {
  margin-top: 1.4rem; border-radius: var(--radius); overflow: hidden;
  background: var(--accent); color: #fff;
  display: grid; gap: 0; box-shadow: 0 30px 70px -30px color-mix(in srgb, var(--accent) 60%, transparent);
}
@media (min-width: 900px) { .verdict { grid-template-columns: 1.15fr 1fr; align-items: stretch; } }
.verdict > div { padding: clamp(2.2rem, 4.5vw, 3.4rem); }
/* Gauche : message + CTA empilés et centrés verticalement */
.verdict .v-main { display: flex; flex-direction: column; justify-content: center; align-items: flex-start; }
.verdict .v-main .btn { margin-top: 2rem; }
/* Droite : le ticket seul, centré */
.verdict .v-side { border-top: 1px solid rgba(255,255,255,.22); display: grid; place-items: center; }
.verdict .v-side .ticket { width: 100%; max-width: 24rem; }
@media (min-width: 900px) { .verdict .v-side { border-top: 0; border-left: 1px solid rgba(255,255,255,.22); } }
.verdict .cc-num { font-family: var(--font-mono); font-size: .62rem; letter-spacing: .16em; color: rgba(255,255,255,.65); }
.verdict h3 { margin-top: 1.4rem; font-size: clamp(1.7rem, 3.4vw, 2.5rem); letter-spacing: -.025em; color: #fff; }
.verdict p { margin-top: 1rem; font-size: 1.05rem; line-height: 1.55; color: rgba(255,255,255,.9); max-width: 46ch; }
/* Colonne droite : « ordre de mission » v2 — ticket nuit premium.
   Effets : liseré lumineux qui tourne (border beam), trajet TOM → Vous
   animé (point voyageur), tilt 3D + reflet holographique (main.js pose
   --mx/--my/--rx/--ry et retire l'animation d'entrée une fois jouée). */
@property --beam { syntax: '<angle>'; initial-value: 0deg; inherits: false; }
.verdict .v-side { perspective: 1000px; }
.ticket {
  position: relative; border-radius: 16px; color: var(--bg);
  background:
    radial-gradient(120% 90% at 18% 0%, color-mix(in srgb, var(--accent) 26%, transparent), transparent 55%),
    #0c0c11;
  box-shadow: 0 30px 65px -20px rgba(0,0,0,.55);
  transform: rotate(var(--tkr, -2.2deg)) rotateX(var(--rx, 0deg)) rotateY(var(--ry, 0deg));
  will-change: transform;
  transition: transform .6s cubic-bezier(.34, 1.56, .64, 1), box-shadow .5s;
  opacity: 0;
}
.reveal.in .ticket, .no-js .ticket { animation: ticketIn .7s cubic-bezier(.34, 1.56, .64, 1) .25s forwards; }
@keyframes ticketIn {
  from { opacity: 0; transform: rotate(-7deg) translateY(-18px); }
  to { opacity: 1; transform: rotate(-2.2deg) translateY(0); }
}
.ticket.tilting {
  --tkr: 0deg;
  transition: transform .12s ease-out, box-shadow .5s;
  box-shadow: 0 40px 85px -24px rgba(0,0,0,.65);
}
/* Liseré lumineux : segment brillant qui parcourt le bord en continu.
   Le conic est masqué pour ne laisser visible que l'anneau de 2px
   (mask-composite exclude), sinon le cône peindrait sur toute la carte. */
.ticket::before {
  content: ""; position: absolute; inset: -1.5px; border-radius: 17px; padding: 2px;
  pointer-events: none;
  background: conic-gradient(from var(--beam),
    transparent 0 72%, var(--accent-soft) 84%, #fff 89%, var(--accent) 94%, transparent 100%);
  -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
  -webkit-mask-composite: xor;
  mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
  mask-composite: exclude;
  animation: beamSpin 4.5s linear infinite;
}
@keyframes beamSpin { to { --beam: 360deg; } }
/* Reflet holographique au curseur (fusion screen sur fond nuit) */
.ticket::after {
  content: ""; position: absolute; inset: 0; border-radius: inherit; pointer-events: none;
  background:
    radial-gradient(280px circle at var(--mx, 50%) var(--my, 50%), rgba(255,255,255,.22), transparent 48%),
    linear-gradient(115deg,
      transparent calc(var(--mx, 50%) - 26%),
      color-mix(in srgb, var(--accent) 30%, transparent) calc(var(--mx, 50%) - 9%),
      rgba(64, 220, 190, .2) var(--mx, 50%),
      rgba(255, 120, 200, .18) calc(var(--mx, 50%) + 9%),
      transparent calc(var(--mx, 50%) + 26%));
  mix-blend-mode: screen;
  opacity: 0; transition: opacity .4s;
}
.ticket.tilting::after { opacity: 1; }

.tk-head {
  display: flex; align-items: center; justify-content: space-between; gap: .8rem;
  padding: 1.05rem 1.3rem; border-bottom: 1px solid rgba(255,255,255,.1);
}
.tk-title {
  display: inline-flex; align-items: center; gap: .65rem;
  font-family: var(--font-mono); font-size: .58rem; letter-spacing: .16em; text-transform: uppercase;
  color: rgba(252,251,248,.65);
}
.tk-ok {
  display: inline-flex; align-items: center; gap: .4rem;
  font-family: var(--font-mono); font-size: .54rem; letter-spacing: .14em; text-transform: uppercase;
  color: #4ade80; border: 1px solid rgba(74,222,128,.35); border-radius: 999px; padding: .3rem .65rem;
}
.tk-ok .icon { width: 11px; height: 11px; stroke-width: 2.2; }

/* Trajet TOM → Vous : pointillés qui défilent + point voyageur */
.tk-route { display: flex; align-items: center; gap: 1.1rem; padding: 1.25rem 1.3rem 1.1rem; }
.tk-route b { display: block; font-weight: 800; font-size: 1.35rem; letter-spacing: -.02em; color: #fff; line-height: 1; }
.tk-route span { display: block; margin-top: .35rem; font-family: var(--font-mono); font-size: .52rem; letter-spacing: .12em; text-transform: uppercase; color: rgba(252,251,248,.5); white-space: nowrap; }
.tk-route .tk-to { text-align: right; }
.tk-path {
  position: relative; flex: 1; height: 2px; margin-top: -.8rem;
  background: repeating-linear-gradient(90deg, rgba(255,255,255,.3) 0 6px, transparent 6px 12px);
  animation: pathDash 1.1s linear infinite;
}
@keyframes pathDash { to { background-position: 12px 0; } }
.tk-traveler {
  position: absolute; top: 50%; left: 0; width: 9px; height: 9px; border-radius: 50%;
  background: var(--accent-soft); transform: translate(-50%, -50%);
  box-shadow: 0 0 12px 2px color-mix(in srgb, var(--accent) 70%, transparent);
  animation: travel 3.4s ease-in-out infinite;
}
@keyframes travel {
  0% { left: 0; opacity: 0; }
  12% { opacity: 1; }
  88% { opacity: 1; }
  100% { left: 100%; opacity: 0; }
}

.tk-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem 1.3rem; padding: .2rem 1.3rem 1.2rem; }
.tk-grid dt { font-family: var(--font-mono); font-size: .52rem; letter-spacing: .16em; text-transform: uppercase; color: rgba(252,251,248,.45); }
.tk-grid dd { margin: .3rem 0 0; font-weight: 700; font-size: .88rem; letter-spacing: -.01em; line-height: 1.35; color: #fff; }

/* Ligne détachable : pointillés + perforations rondes couleur de la bande */
.tk-sep { position: relative; height: 0; border-top: 2px dashed rgba(255,255,255,.18); margin: 0 .9rem; }
.tk-sep::before, .tk-sep::after {
  content: ""; position: absolute; top: -11px; width: 22px; height: 22px; border-radius: 50%;
  background: var(--accent);
}
.tk-sep::before { left: -2rem; }
.tk-sep::after { right: -2rem; }

.tk-foot { display: flex; align-items: center; justify-content: space-between; gap: 1rem; padding: 1.05rem 1.3rem 1.15rem; }
.tk-qr { width: 52px; height: 52px; color: rgba(252,251,248,.92); flex: none; }
.tk-ref { font-family: var(--font-mono); font-size: .54rem; letter-spacing: .14em; text-transform: uppercase; color: rgba(252,251,248,.5); text-align: right; line-height: 2; }
.verdict .v-side .btn { margin-top: 1.6rem; }
.verdict .btn { margin-top: 1.8rem; color: var(--accent-ink); background-color: #fff; }
.verdict .btn:hover { color: #fff; background-color: var(--ink); box-shadow: 0 16px 38px -14px rgba(0,0,0,.45); }

/* --------------------------------------------------------------------------
   FICHE PRODUIT v2 — « product reveal » startup : fond blanc pur (raccord
   avec le packshot), robot en lévitation, hotspots interactifs, chiffres
   géants de part et d'autre.
-------------------------------------------------------------------------- */
.product-section { background: #fff; border-block: 1px solid var(--line); }

.product { display: grid; gap: 2.5rem; align-items: center; margin-top: clamp(1rem, 3vw, 2.5rem); }
@media (min-width: 1024px) { .product { grid-template-columns: 1fr 1.3fr 1fr; gap: clamp(1.5rem, 3vw, 3.5rem); } }

/* Visuel central : le packshot a un fond blanc → section blanche, aucun
   cadre ni ombre portée (l'ombre au sol est dans la photo). Lévitation douce. */
.p-visual { position: relative; order: -1; }
@media (min-width: 1024px) { .p-visual { order: 0; } }
.p-visual img { width: min(100%, 460px); margin-inline: auto; animation: levitate 7s ease-in-out infinite; }
@keyframes levitate {
  0%, 100% { transform: translateY(0) rotate(-.5deg); }
  50% { transform: translateY(-12px) rotate(.6deg); }
}
/* Inclinaison douce vers la souris (variables posées par main.js) */
.p-visual {
  transform: perspective(950px) rotateX(var(--prx, 0deg)) rotateY(var(--pry, 0deg));
  transition: transform .35s var(--ease-out); will-change: transform;
}
.p-visual .p-unit {
  position: absolute; left: 50%; bottom: -.4rem; transform: translateX(-50%);
  font-family: var(--font-mono); font-size: .58rem; letter-spacing: .18em; text-transform: uppercase;
  color: var(--muted); display: inline-flex; align-items: center; gap: .6rem; white-space: nowrap;
}

/* Hotspots : point bleu pulsant, étiquette révélée au survol / focus */
.hotspot { position: absolute; z-index: 3; width: 26px; height: 26px; padding: 0; border-radius: 50%; display: grid; place-items: center; }
.hotspot::before { content: ""; position: absolute; inset: 0; border-radius: 50%; background: color-mix(in srgb, var(--accent) 14%, transparent); animation: pulse 2s ease-in-out infinite; }
.hotspot::after { content: ""; width: 9px; height: 9px; border-radius: 50%; background: var(--accent); box-shadow: 0 0 0 3px #fff; }
.hotspot .hs-label {
  position: absolute; left: calc(100% + .7rem); top: 50%; transform: translateY(-50%) translateX(-6px);
  font-family: var(--font-mono); font-size: .56rem; letter-spacing: .14em; text-transform: uppercase;
  background: var(--ink); color: #fff; padding: .5rem .75rem; border-radius: 4px; white-space: nowrap;
  opacity: 0; pointer-events: none; transition: opacity .3s, transform .3s var(--ease-out);
}
.hotspot.flip .hs-label { left: auto; right: calc(100% + .7rem); transform: translateY(-50%) translateX(6px); }
.hotspot:hover .hs-label, .hotspot:focus-visible .hs-label { opacity: 1; transform: translateY(-50%) translateX(0); }
@media (max-width: 720px) { .hotspot { display: none; } }

/* Chiffres géants latéraux */
.p-stats { display: grid; gap: clamp(1.6rem, 4vw, 3rem); align-content: center; }
@media (max-width: 1023px) { .p-stats { grid-template-columns: repeat(3, 1fr); } }
.p-stat .ps-label { font-family: var(--font-mono); font-size: .58rem; letter-spacing: .18em; text-transform: uppercase; color: var(--accent-ink); }
.p-stat .ps-value { margin-top: .5rem; font-weight: 800; letter-spacing: -.04em; line-height: .95; font-size: clamp(2.4rem, 5.4vw, 4.4rem); font-variant-numeric: tabular-nums; }
.p-stat .ps-desc { margin-top: .6rem; font-size: .88rem; color: var(--muted); line-height: 1.5; max-width: 16rem; }
@media (min-width: 1024px) {
  .p-stats.right { text-align: right; }
  .p-stats.right .ps-desc { margin-left: auto; }
}

/* Capacités (mini-fiches sous les stats de droite) */
.p-mini { border-top: 1px solid var(--line); padding-top: 1.1rem; }
.p-mini .ps-label { color: var(--muted); }
.p-mini .pm-value { margin-top: .4rem; font-weight: 700; font-size: 1rem; letter-spacing: -.01em; }
.p-mini .pm-desc { margin-top: .2rem; font-size: .76rem; color: var(--muted); }

/* Pied de section : CTA + note technique */
.product-foot {
  display: flex; align-items: center; justify-content: center; gap: 1.8rem; flex-wrap: wrap;
  margin-top: clamp(2.5rem, 5vw, 4rem);
}
.product-foot .note { font-family: var(--font-mono); font-size: .6rem; letter-spacing: .14em; text-transform: uppercase; color: var(--muted); }

/* --------------------------------------------------------------------------
   FICHE PRODUIT — packshot annoté + table de specs
-------------------------------------------------------------------------- */
.spec-visual {
  position: relative; border-radius: var(--radius); background: var(--tint);
  padding: clamp(2rem, 4vw, 3rem); display: grid; place-items: center; overflow: hidden;
}
.spec-visual img { width: min(78%, 420px); filter: drop-shadow(0 30px 40px rgba(11,11,14,.16)); }
.spec-visual .corner { position: absolute; width: 22px; height: 22px; border: 1px solid rgba(11,11,14,.35); }
.spec-visual .corner.tl { top: 14px; left: 14px; border-right: 0; border-bottom: 0; }
.spec-visual .corner.tr { top: 14px; right: 14px; border-left: 0; border-bottom: 0; }
.spec-visual .corner.bl { bottom: 14px; left: 14px; border-right: 0; border-top: 0; }
.spec-visual .corner.br { bottom: 14px; right: 14px; border-left: 0; border-top: 0; }
.spec-note {
  position: absolute; font-family: var(--font-mono); font-size: .56rem; letter-spacing: .14em;
  text-transform: uppercase; color: var(--ink-soft);
  display: flex; align-items: center; gap: .6rem;
}
.spec-note::before { content: ""; width: 26px; height: 1px; background: var(--accent); }
.spec-note.right { flex-direction: row-reverse; }
.spec-note.right::before { order: -1; }
.spec-status {
  position: absolute; left: 1.4rem; bottom: 1.2rem;
  font-family: var(--font-mono); font-size: .56rem; letter-spacing: .16em; text-transform: uppercase;
  color: var(--ink-soft); display: inline-flex; align-items: center; gap: .6rem;
}
@media (max-width: 720px) { .spec-note { display: none; } }

.spec-rows { border-top: 1px solid var(--line-strong); }
.spec-row { display: grid; grid-template-columns: 9rem 1fr; gap: 1.5rem; align-items: baseline; padding: 1.15rem 0; border-bottom: 1px solid var(--line); }
.spec-row dt { font-family: var(--font-mono); font-size: .6rem; letter-spacing: .16em; text-transform: uppercase; color: var(--muted); }
.spec-row dd { margin: 0; font-weight: 700; font-size: 1.05rem; letter-spacing: -.01em; }
.spec-foot { margin-top: 1.4rem; font-size: .8rem; color: var(--muted); line-height: 1.7; }

/* --------------------------------------------------------------------------
   DÉROULÉ — timeline 4 étapes, ligne qui se dessine, badges de timing
-------------------------------------------------------------------------- */
.timeline { display: grid; gap: 2.6rem 1.8rem; counter-reset: tlstep; }
@media (min-width: 900px) { .timeline { grid-template-columns: repeat(4, 1fr); gap: 1.8rem; } }

.tl-step { position: relative; }
.tl-head { position: relative; display: flex; align-items: center; margin-bottom: 1.5rem; }
/* Nœud numéroté */
.tl-node {
  position: relative; z-index: 2; flex: none;
  width: 46px; height: 46px; border-radius: 50%;
  display: grid; place-items: center;
  background: var(--bg2); border: 1px solid var(--line-strong);
  font-family: var(--font-mono); font-size: .74rem; color: var(--ink);
  transition: background .5s, border-color .5s, color .5s, box-shadow .5s;
}
.tl-step.reveal.in .tl-node, .no-js .tl-node {
  background: var(--accent); border-color: var(--accent); color: #fff;
  box-shadow: 0 10px 26px -10px color-mix(in srgb, var(--accent) 55%, transparent);
}
/* Ligne de liaison qui se dessine vers l'étape suivante */
.tl-line { position: absolute; left: 46px; right: -1.8rem; top: 50%; height: 1px; background: var(--line); overflow: hidden; }
.tl-line::after {
  content: ""; position: absolute; inset: 0; background: var(--accent);
  transform: scaleX(0); transform-origin: left; transition: transform .9s var(--ease-out) .35s;
}
.tl-step.reveal.in .tl-line::after, .no-js .tl-line::after { transform: scaleX(1); }
.tl-step:last-child .tl-line { display: none; }
@media (max-width: 899px) {
  .tl-line { left: 50%; right: auto; top: 46px; bottom: -2.6rem; width: 1px; height: auto; transform: translateX(-50%); }
  .tl-line::after { transform: scaleY(0); transform-origin: top; }
  .tl-step.reveal.in .tl-line::after, .no-js .tl-line::after { transform: scaleY(1); }
  .tl-step { padding-left: 0; text-align: center; }
  .tl-head { justify-content: center; }
  .tl-step .ps-desc { margin-inline: auto; }
}

.tl-tag {
  display: inline-block; font-family: var(--font-mono); font-size: .56rem; letter-spacing: .16em;
  text-transform: uppercase; color: var(--accent-ink); background: var(--accent-tint);
  border-radius: 3px; padding: .3rem .6rem; margin-bottom: .9rem;
}
.tl-step h3 { font-size: 1.15rem; letter-spacing: -.015em; }
.tl-step p.tl-text { margin-top: .7rem; font-size: .94rem; color: var(--muted); line-height: 1.55; max-width: 30ch; }
@media (max-width: 899px) { .tl-step p.tl-text { margin-inline: auto; } }

/* --------------------------------------------------------------------------
   TARIFS — 3 cartes : formats BDD + multi-jours, la Journée mise en avant
   (badge « Le plus demandé »), checklists à coches, CTA pleine largeur.
-------------------------------------------------------------------------- */
.format-grid { display: grid; gap: 1.4rem; align-items: stretch; }
@media (min-width: 980px) { .format-grid { grid-template-columns: repeat(3, 1fr); } }
.format-card {
  position: relative; display: flex; flex-direction: column;
  border: 1px solid var(--line-strong); border-radius: 16px;
  background: var(--bg2); padding: clamp(1.8rem, 3vw, 2.4rem);
  transition: border-color .35s, box-shadow .35s, transform .35s var(--ease-out);
}
.format-card:hover { border-color: var(--accent-soft); box-shadow: var(--shadow-soft); transform: translateY(-4px); }
.format-card .fc-num { font-family: var(--font-mono); font-size: .6rem; letter-spacing: .18em; text-transform: uppercase; color: var(--muted); }
.format-card h3 { margin-top: 1.1rem; font-size: 1.35rem; letter-spacing: -.02em; }
.format-card .fc-price { margin-top: 1.4rem; font-weight: 800; letter-spacing: -.03em; font-size: clamp(2.4rem, 4vw, 3.2rem); line-height: 1; }
.format-card .fc-price small { font-family: var(--font-mono); font-weight: 400; font-size: .72rem; letter-spacing: .1em; color: var(--muted); margin-left: .45rem; }
.format-card .fc-per { margin-top: .5rem; font-family: var(--font-mono); font-size: .58rem; letter-spacing: .14em; text-transform: uppercase; color: var(--muted); }
.fc-list { list-style: none; margin: 1.4rem 0 0; padding: 1.3rem 0 0; border-top: 1px solid var(--line); display: grid; gap: .65rem; flex: 1; }
.fc-list li { display: flex; align-items: flex-start; gap: .65rem; font-size: .9rem; color: var(--ink-soft); line-height: 1.45; }
.fc-list .icon { width: 17px; height: 17px; color: var(--accent); stroke-width: 2; margin-top: .12em; }
.format-card .btn { margin-top: 1.7rem; width: 100%; }
/* Carte mise en avant */
.format-card.featured { border: 2px solid var(--accent); box-shadow: 0 26px 60px -26px color-mix(in srgb, var(--accent) 45%, transparent); }
.format-card.featured:hover { border-color: var(--accent); }
.fc-badge {
  position: absolute; top: -0.85rem; left: 50%; transform: translateX(-50%);
  font-family: var(--font-mono); font-size: .56rem; letter-spacing: .16em; text-transform: uppercase;
  background: var(--accent); color: #fff; border-radius: 999px; padding: .4rem .9rem; white-space: nowrap;
  box-shadow: 0 10px 24px -10px color-mix(in srgb, var(--accent) 60%, transparent);
}
/* Carte sombre multi-jours */
.format-card.dark { background: var(--ink); border-color: var(--ink); color: var(--bg); }
.format-card.dark .fc-num, .format-card.dark .fc-per { color: rgba(252,251,248,.55); }
.format-card.dark h3 { color: var(--bg); }
.format-card.dark .fc-price { color: var(--bg); }
.format-card.dark .fc-price small { color: rgba(252,251,248,.55); }
.format-card.dark .fc-list { border-top-color: rgba(252,251,248,.16); }
.format-card.dark .fc-list li { color: rgba(252,251,248,.85); }
.format-card.dark .fc-list .icon { color: var(--accent-soft); }
.format-card.dark .btn-paper { background-color: var(--bg); color: var(--ink); box-shadow: none; }
.format-card.dark .btn-paper:hover { background-color: var(--accent); color: #fff; }
.format-foot { margin-top: 1.8rem; font-family: var(--font-mono); font-size: .62rem; letter-spacing: .12em; color: var(--muted); line-height: 2; text-transform: uppercase; }

/* --------------------------------------------------------------------------
   LA PREUVE — cas clients en défilement horizontal (scroll-snap)
-------------------------------------------------------------------------- */
.case-row {
  display: flex; gap: 1.3rem; overflow-x: auto; scroll-snap-type: x mandatory;
  padding: .5rem .2rem 1.4rem; margin-inline: -.2rem;
  scrollbar-width: thin;
}
.case-card {
  flex: none; width: min(420px, 86vw); scroll-snap-align: start;
  border: 1px solid var(--line); border-radius: var(--radius); background: var(--bg2);
  padding: 2rem 1.9rem; display: flex; flex-direction: column;
}
.case-card .ca-head { display: flex; justify-content: space-between; align-items: baseline; gap: 1rem; font-family: var(--font-mono); font-size: .6rem; letter-spacing: .16em; text-transform: uppercase; color: var(--muted); }
.case-card .ca-head b { color: var(--accent-ink); font-weight: 400; }
.case-card blockquote { margin: 1.4rem 0 0; font-size: 1.05rem; line-height: 1.55; color: var(--ink-soft); flex: 1; }
.case-card .ca-author { margin-top: 1.6rem; font-weight: 700; font-size: .95rem; letter-spacing: -.01em; }
.case-card .ca-context { margin-top: .35rem; font-family: var(--font-mono); font-size: .6rem; letter-spacing: .1em; text-transform: uppercase; color: var(--muted); line-height: 1.9; }

/* --------------------------------------------------------------------------
   CTA finale — bloc nuit, reprise « On casse les codes »
-------------------------------------------------------------------------- */
.cta-band { position: relative; overflow: hidden; padding: clamp(5.5rem, 12vw, 9.5rem) 0; text-align: center; background: var(--ink); color: var(--bg); }
.cta-band .eyebrow { justify-content: center; margin-bottom: 1.8rem; color: var(--accent-soft); }
.cta-band h2 { position: relative; font-size: clamp(2.3rem, 6.6vw, 5rem); line-height: .98; letter-spacing: -.03em; color: var(--bg); }
.cta-band h2 em { color: var(--accent-soft); }
.cta-band p { position: relative; margin: 1.8rem auto 0; max-width: 32rem; color: rgba(252,251,248,.65); font-size: 1rem; }
.cta-band .btn { margin-top: 3rem; }
.cta-band .aurora::before { background: radial-gradient(circle, color-mix(in srgb, var(--accent) 35%, transparent), transparent 65%); }
.cta-band .aurora::after { background: radial-gradient(circle, color-mix(in srgb, var(--accent-ink) 30%, transparent), transparent 65%); }
.cta-inner { position: relative; z-index: 2; }

/* --------------------------------------------------------------------------
   Formulaires
-------------------------------------------------------------------------- */
.field label { display: block; font-size: .68rem; letter-spacing: .18em; text-transform: uppercase; color: var(--muted); margin-bottom: .6rem; font-weight: 500; }
.field label .opt { text-transform: none; letter-spacing: .02em; font-weight: 400; }
.input, .select, .textarea {
  width: 100%; padding: .95rem 1.15rem; border-radius: 12px;
  border: 1px solid var(--line-strong); background: var(--bg2);
  font: inherit; font-size: .95rem; color: var(--ink);
  transition: border-color .3s, box-shadow .3s;
}
.input::placeholder, .textarea::placeholder { color: rgba(22,20,29,.32); }
.input:focus, .select:focus, .textarea:focus { outline: none; border-color: var(--accent); box-shadow: 0 0 0 4px color-mix(in srgb, var(--accent) 13%, transparent); }
.select { appearance: none; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' fill='none'%3E%3Cpath d='M1 1.5 6 6.5 11 1.5' stroke='%236d6a7c' stroke-width='1.4' stroke-linecap='round'/%3E%3C/svg%3E"); background-repeat: no-repeat; background-position: right 1.1rem center; padding-right: 2.6rem; }
.field + .field, .form-row + .field, .field + .form-row { margin-top: 1.3rem; }
.form-row { display: grid; gap: 1.3rem; }
@media (min-width: 640px) { .form-row { grid-template-columns: 1fr 1fr; } }
.checkbox-row { display: flex; align-items: flex-start; gap: .8rem; margin-top: 1.6rem; font-size: .84rem; color: var(--muted); line-height: 1.6; }
.checkbox-row input { margin-top: .2rem; width: 16px; height: 16px; accent-color: var(--accent); }
.checkbox-row a { color: var(--accent-ink); text-decoration: underline; text-underline-offset: 2px; }
.form-error { margin-top: 1.2rem; padding: .95rem 1.2rem; border-radius: 12px; border: 1px solid #f0c4be; background: #fdefed; color: #b42318; font-size: .88rem; }
.form-success { padding: 3rem 2rem; text-align: center; border: 1px solid var(--line); border-radius: var(--radius); background: var(--bg2); }
.form-success .icon { width: 44px; height: 44px; color: var(--accent); margin: 0 auto 1.2rem; }
.honeypot { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.check-draw { stroke-dasharray: 64; stroke-dashoffset: 64; animation: draw .7s cubic-bezier(.65,0,.35,1) .15s forwards; }
@keyframes draw { to { stroke-dashoffset: 0; } }

/* --------------------------------------------------------------------------
   Simulateur (wizard)
-------------------------------------------------------------------------- */
.wizard { max-width: 720px; margin-inline: auto; }
.wizard-progress { margin-bottom: 2.4rem; }
.wizard-progress .wp-meta { display: flex; justify-content: space-between; font-family: var(--font-mono); font-size: .6rem; letter-spacing: .16em; text-transform: uppercase; color: var(--muted); margin-bottom: .8rem; font-weight: 400; }
.wizard-progress .wp-bar { display: flex; gap: 5px; }
.wizard-progress .wp-bar i { height: 4px; flex: 1; border-radius: 99px; background: rgba(11,11,14,.09); transition: background .5s, box-shadow .5s; }
.wizard-progress .wp-bar i.on { background: var(--accent); }
.wizard-progress .wp-bar i.current { box-shadow: 0 0 10px color-mix(in srgb, var(--accent) 55%, transparent); animation: pulse 1.8s ease-in-out infinite; }

/* Carte plein écran : la carte occupe la hauteur de l'écran disponible,
   le contenu de l'étape active est centré verticalement. */
.wizard-card {
  border: 1px solid var(--line); border-radius: 18px; background: var(--bg2);
  box-shadow: var(--shadow-soft); padding: clamp(1.6rem, 4vw, 2.8rem);
  position: relative; overflow: hidden;
  min-height: min(660px, calc(100dvh - 300px));
  display: flex; flex-direction: column;
}
.wz-back-chip { align-self: flex-start; }
.wizard-step { display: none; width: 100%; }
.wizard-step.active { display: flex; flex-direction: column; justify-content: center; flex: 1; }

/* Lien « passer » (date inconnue) */
.wz-skip {
  display: inline-flex; align-items: center; gap: .6rem;
  font-family: var(--font-mono); font-size: .64rem; letter-spacing: .12em; text-transform: uppercase;
  color: var(--muted); transition: color .3s;
}
.wz-skip svg { width: 13px; height: 13px; transition: transform .3s var(--ease-out); }
.wz-skip:hover { color: var(--accent-ink); }
.wz-skip:hover svg { transform: translateX(4px); }
.wizard-step.enter-fwd { animation: stepFwd .45s var(--ease-out); }
.wizard-step.enter-back { animation: stepBack .45s var(--ease-out); }
@keyframes stepFwd { from { opacity: 0; transform: translateX(34px); } to { opacity: 1; transform: none; } }
@keyframes stepBack { from { opacity: 0; transform: translateX(-34px); } to { opacity: 1; transform: none; } }

/* Chip retour, en haut de carte ([hidden] doit gagner sur le display) */
.wz-back-chip[hidden] { display: none; }
.wz-back-chip {
  display: inline-flex; align-items: center; gap: .5rem; margin-bottom: 1.4rem;
  font-family: var(--font-mono); font-size: .62rem; letter-spacing: .14em; text-transform: uppercase;
  color: var(--muted); border: 1px solid var(--line); border-radius: 999px; padding: .5rem .95rem;
  transition: color .3s, border-color .3s, transform .3s var(--ease-out);
}
.wz-back-chip svg { width: 13px; height: 13px; transition: transform .3s var(--ease-out); }
.wz-back-chip:hover { color: var(--ink); border-color: var(--line-strong); }
.wz-back-chip:hover svg { transform: translateX(-3px); }

/* Zone d'action inline des étapes à champs libres */
.wz-actions { display: flex; justify-content: flex-end; margin-top: 1.8rem; }

/* Calendrier custom (étape Où et quand ?) */
.cal {
  width: 100%; border: 1px solid var(--line); border-radius: 16px;
  background: var(--bg2); box-shadow: var(--shadow-soft);
  padding: clamp(1.1rem, 2.5vw, 1.6rem) clamp(1.15rem, 2.5vw, 1.7rem) clamp(1rem, 2vw, 1.3rem);
}
.cal-head { display: flex; align-items: center; justify-content: space-between; gap: .8rem; margin-bottom: .85rem; }
.cal-month { font-weight: 700; font-size: clamp(.98rem, 1.6vw, 1.15rem); letter-spacing: -.01em; text-transform: capitalize; }
.cal-nav {
  display: grid; place-items: center; width: 34px; height: 34px; border-radius: 50%;
  border: 1px solid var(--line-strong); color: var(--ink-soft);
  transition: border-color .3s, background .3s, color .3s, transform .2s;
}
.cal-nav svg { width: 15px; height: 15px; }
.cal-nav:hover { border-color: var(--accent); color: var(--accent-ink); background: var(--accent-tint); }
.cal-nav:active { transform: scale(.92); }
.cal-nav[disabled] { opacity: .3; pointer-events: none; }
.cal-grid { display: grid; grid-template-columns: repeat(7, 1fr); gap: clamp(4px, .8vw, 8px); }
.cal-dows { margin-bottom: .35rem; }
.cal-dows span {
  text-align: center; font-family: var(--font-mono); font-size: .56rem;
  letter-spacing: .08em; text-transform: uppercase; color: var(--muted); padding: .3rem 0;
}
.cal-in-l { animation: calInL .3s var(--ease-out); }
.cal-in-r { animation: calInR .3s var(--ease-out); }
@keyframes calInL { from { opacity: 0; transform: translateX(16px); } to { opacity: 1; transform: none; } }
@keyframes calInR { from { opacity: 0; transform: translateX(-16px); } to { opacity: 1; transform: none; } }
.cal-day {
  height: clamp(42px, 5vw, 56px); border-radius: 12px; font-size: clamp(.86rem, 1.3vw, .98rem); font-weight: 500;
  font-variant-numeric: tabular-nums; color: var(--ink-soft);
  transition: background .25s, color .25s, box-shadow .25s, transform .2s;
}
.cal-day:hover { background: var(--accent-tint); color: var(--accent-ink); }
.cal-day.today { box-shadow: inset 0 0 0 1.5px var(--line-strong); }
.cal-day.selected {
  background: var(--accent); color: #fff; font-weight: 700;
  box-shadow: 0 8px 18px -6px color-mix(in srgb, var(--accent) 55%, transparent);
  animation: chPop .3s var(--ease-out);
}
.cal-day[disabled] { opacity: .28; pointer-events: none; }
.cal-foot {
  display: flex; align-items: center; justify-content: space-between; gap: 1rem;
  margin-top: .8rem; padding-top: .8rem; border-top: 1px solid var(--line);
  font-size: .82rem; font-weight: 600; color: var(--accent-ink); text-transform: capitalize;
}
.cal-foot [data-cal-clear] {
  font-family: var(--font-mono); font-size: .58rem; letter-spacing: .12em; text-transform: uppercase;
  color: var(--muted); text-decoration: underline; text-underline-offset: 3px; transition: color .3s;
}
.cal-foot [data-cal-clear]:hover { color: var(--ink); }
.wizard-step h2 { font-size: clamp(1.5rem, 3.4vw, 2rem); font-weight: 700; margin-bottom: .6rem; }
.wizard-step .step-hint { color: var(--muted); font-size: .9rem; margin-bottom: 1.8rem; }
.wizard-step fieldset, fieldset.wizard-step { border: 0; padding: 0; margin: 0; min-width: 0; }
.wizard-step legend { padding: 0; float: left; width: 100%; }
.wizard-step legend + * { clear: both; }
.wz-label { font-family: var(--font-mono); font-size: .62rem; letter-spacing: .16em; text-transform: uppercase; color: var(--muted); margin-bottom: .9rem; display: block; font-weight: 400; }

.choice-grid { display: grid; gap: .8rem; }
.choice-grid.cols-2 { grid-template-columns: repeat(2, 1fr); }
.choice-grid.cols-3 { grid-template-columns: repeat(2, 1fr); }
@media (min-width: 640px) { .choice-grid.cols-3 { grid-template-columns: repeat(3, 1fr); } }
.choice {
  position: relative; padding: 1.25rem 1rem; border: 1px solid var(--line-strong); border-radius: 14px; background: var(--bg2);
  text-align: center; font-size: .88rem; font-weight: 500; color: var(--ink-soft);
  transition: border-color .3s, background .3s, transform .25s var(--ease-out), box-shadow .3s;
}
.choice:hover { border-color: var(--accent-soft); transform: translateY(-3px); box-shadow: var(--shadow-soft); }
.choice.selected {
  border-color: var(--accent); background: var(--accent-tint); color: var(--ink);
  box-shadow: 0 0 0 3px color-mix(in srgb, var(--accent) 16%, transparent);
}
.choice.just-picked { animation: chPop .3s var(--ease-out); }
@keyframes chPop { 0% { transform: scale(1); } 45% { transform: scale(1.045); } 100% { transform: scale(1); } }
.choice .icon { width: 24px; height: 24px; margin: 0 auto .6rem; color: var(--accent); display: block; }
.choice .ch-sub { display: block; margin-top: .35rem; font-size: .7rem; color: var(--muted); }
.choice-big { padding: 1.8rem 1.5rem; text-align: left; }
.choice-big .icon { margin: 0 0 1rem; width: 28px; height: 28px; }
.choice-big strong { display: block; font-family: var(--font-display); font-weight: 700; letter-spacing: -.015em; font-size: 1.25rem; margin-bottom: .35rem; color: var(--ink); }
.choice-big .ch-desc { font-size: .82rem; color: var(--muted); }

.qty-row { display: flex; align-items: center; gap: 1.2rem; }
.qty-btn { width: 46px; height: 46px; border-radius: 999px; border: 1px solid var(--line-strong); font-size: 1.25rem; transition: border-color .3s, background .3s; }
.qty-btn:hover { border-color: var(--accent); background: var(--accent-tint); }
.qty-value { min-width: 3rem; text-align: center; font-family: var(--font-display); font-size: 1.9rem; font-weight: 800; }
.qty-hint { font-size: .82rem; color: var(--muted); }

.option-row { display: flex; gap: 1rem; align-items: flex-start; padding: 1.15rem 1.25rem; border: 1px solid var(--line-strong); border-radius: 12px; cursor: pointer; transition: border-color .3s, background .3s; }
.option-row:hover { border-color: var(--accent-soft); }
.option-row.selected { border-color: var(--accent); background: var(--accent-tint); }
.option-row input { margin-top: .25rem; width: 15px; height: 15px; accent-color: var(--accent); flex: none; }
.option-row .opt-head { display: flex; flex-wrap: wrap; justify-content: space-between; gap: .3rem .9rem; }
.option-row .opt-label { font-weight: 500; font-size: .92rem; }
.option-row .opt-price { font-size: .8rem; font-weight: 500; color: var(--accent-ink); white-space: nowrap; }
.option-row .opt-desc { margin-top: .3rem; font-size: .8rem; color: var(--muted); line-height: 1.6; }
.option-row + .option-row { margin-top: .8rem; }

.estimate-lines { border: 1px solid var(--line); border-radius: 12px; overflow: hidden; margin-top: 1.4rem; }
.estimate-lines .line { display: flex; justify-content: space-between; gap: 1rem; padding: 1rem 1.35rem; font-size: .88rem; }
.estimate-lines .line + .line { border-top: 1px solid var(--line); }
.estimate-lines .line strong { white-space: nowrap; font-weight: 500; }
.estimate-total { margin-top: 1.3rem; border-radius: 14px; padding: 2rem; background: var(--ink); color: var(--bg); }
.estimate-total .et-label { font-family: var(--font-mono); font-size: .58rem; letter-spacing: .16em; text-transform: uppercase; color: rgba(252,251,248,.6); }
.estimate-total .et-value { font-family: var(--font-display); font-weight: 800; letter-spacing: -.02em; font-size: 2.8rem; margin-top: .4rem; line-height: 1; }
.estimate-total .et-sub { margin-top: .8rem; font-size: .8rem; color: rgba(250,249,246,.6); }
.estimate-note { margin-top: 1.1rem; font-size: .72rem; color: var(--muted); line-height: 1.7; }
.skeleton { border-radius: 12px; background: linear-gradient(90deg, rgba(22,20,29,.05) 25%, rgba(22,20,29,.1) 50%, rgba(22,20,29,.05) 75%); background-size: 200% 100%; animation: shimmer 1.4s infinite; height: 54px; }
.skeleton + .skeleton { margin-top: .8rem; }
@keyframes shimmer { to { background-position: -200% 0; } }

.wizard-nav { display: flex; justify-content: space-between; align-items: center; gap: 1rem; margin-top: 2.2rem; padding-top: 1.8rem; border-top: 1px solid var(--line); }
.wizard-back { font-size: .84rem; color: var(--muted); transition: color .3s; }
.wizard-back:hover { color: var(--ink); }
.wizard-error { flex: 1; text-align: center; color: #b42318; font-size: .84rem; }

.wizard-confirm { text-align: center; padding: 2rem 0; }
.wizard-confirm .icon { width: 52px; height: 52px; margin: 0 auto; color: var(--accent); }
.wizard-confirm h2 { margin-top: 1.6rem; }
.wizard-confirm p { color: var(--muted); max-width: 26rem; margin: 1rem auto 0; line-height: 1.75; }
.confirm-estimate { display: inline-block; margin-top: 1.6rem; background: var(--accent-tint); padding: .6rem 1.5rem; border-radius: 999px; font-size: .85rem; color: var(--accent-ink); font-weight: 500; }

/* Grille tarifaire */
.price-table { width: 100%; border-collapse: collapse; }
.price-table th, .price-table td { padding: 1.2rem .5rem; text-align: left; border-bottom: 1px solid var(--line); }
.price-table thead th { font-size: .62rem; letter-spacing: .24em; text-transform: uppercase; color: var(--muted); font-weight: 500; }
.price-table td:last-child, .price-table th:last-child { text-align: right; }
.price-table td:last-child { font-family: var(--font-display); font-weight: 800; font-size: 1.2rem; color: var(--accent-ink); }
.price-table .on-quote td:last-child { font-style: italic; }

/* --------------------------------------------------------------------------
   Contact
-------------------------------------------------------------------------- */
.contact-grid { display: grid; gap: 3.5rem; }
@media (min-width: 1024px) { .contact-grid { grid-template-columns: 1fr 1.25fr; gap: 5rem; } }
.contact-list { border-top: 1px solid var(--line); margin-top: 2.6rem; }
.contact-item { display: flex; align-items: center; gap: 1.3rem; padding: 1.4rem 0; border-bottom: 1px solid var(--line); }
.contact-item .icon { color: var(--accent); }
.contact-item .ci-label { font-size: .6rem; letter-spacing: .24em; text-transform: uppercase; color: var(--muted); font-weight: 500; }
.contact-item .ci-value { margin-top: .25rem; font-size: .98rem; }
.contact-item a:hover { color: var(--accent-ink); }
.panel-form { border: 1px solid var(--line); border-radius: var(--radius); padding: clamp(1.8rem, 4vw, 2.8rem); background: var(--bg2); box-shadow: var(--shadow-soft); }

/* --------------------------------------------------------------------------
   Divers
-------------------------------------------------------------------------- */
.sticky-cta {
  position: fixed; left: 1.1rem; right: 1.1rem; bottom: 1.1rem; z-index: 80;
  display: flex; align-items: center; justify-content: center; gap: .7rem;
  padding: 1.05rem; border-radius: 999px; font-weight: 500; font-size: .92rem;
  background: var(--ink); color: var(--bg);
  box-shadow: 0 18px 50px -12px rgba(22,20,29,.45);
  transform: translateY(130%); opacity: 0; transition: transform .5s var(--ease-out), opacity .5s;
}
.sticky-cta svg { width: 15px; height: 15px; }
.sticky-cta.visible { transform: none; opacity: 1; }
@media (min-width: 1024px) { .sticky-cta { display: none; } }

.cookie-banner {
  position: fixed; z-index: 95; left: 1.1rem; right: 1.1rem; bottom: 1.1rem;
  max-width: 27rem; margin-left: auto; padding: 1.6rem 1.7rem;
  background: rgba(255,255,255,.9); backdrop-filter: blur(16px); -webkit-backdrop-filter: blur(16px);
  border: 1px solid var(--line); border-radius: var(--radius); box-shadow: var(--shadow-soft);
}
.cookie-title { font-family: var(--font-display); font-weight: 700; font-size: 1.02rem; }
.cookie-text { margin-top: .6rem; font-size: .8rem; color: var(--muted); line-height: 1.65; }
.cookie-text a { color: var(--accent-ink); text-decoration: underline; }
.cookie-actions { display: flex; gap: .7rem; margin-top: 1.2rem; }
.cookie-actions .btn { flex: 1; }

.site-footer { border-top: 1px solid var(--line); background: var(--bg2); padding: 4.5rem 0 2.2rem; }
.footer-grid { display: grid; gap: 3rem; }
@media (min-width: 900px) { .footer-grid { grid-template-columns: 1.6fr 1fr 1fr 1fr; } }
.footer-brand .brand { font-size: 1.5rem; }
.footer-baseline { margin-top: 1rem; max-width: 17rem; font-size: .86rem; color: var(--muted); line-height: 1.7; }
.footer-contact { margin-top: 1.4rem; font-size: .86rem; color: var(--ink-soft); line-height: 1.9; }
.footer-contact a:hover { color: var(--accent-ink); }
.footer-title { font-family: var(--font-mono); font-size: .58rem; letter-spacing: .2em; text-transform: uppercase; color: var(--accent-ink); margin-bottom: 1.3rem; font-weight: 400; }
.footer-grid nav a { display: block; padding: .32rem 0; font-size: .86rem; color: var(--muted); transition: color .3s, padding-left .3s; }
.footer-grid nav a:hover { color: var(--ink); padding-left: .3rem; }
.footer-bottom { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 1rem; margin-top: 3.6rem; padding-top: 1.8rem; border-top: 1px solid var(--line); font-size: .72rem; color: var(--muted); }
.footer-bottom a { margin-left: 1.4rem; }
.footer-bottom a:first-child { margin-left: 0; }
.footer-bottom a:hover { color: var(--ink); }

.page-404 { min-height: 70dvh; display: grid; place-items: center; text-align: center; position: relative; overflow: hidden; }
.page-404 h1 { font-size: clamp(5rem, 16vw, 11rem); }

.link-list a { display: block; padding: .35rem 0; font-size: .9rem; color: var(--ink-soft); }
.link-list a:hover { color: var(--accent-ink); }
.link-list h2 { font-size: .64rem; letter-spacing: .26em; text-transform: uppercase; color: var(--accent-ink); font-family: var(--font-sans); font-weight: 500; margin-bottom: 1.2rem; }

/* Utilitaire grille simple (plan du site) */
.grid-3 { display: grid; gap: 2.5rem; }
@media (min-width: 800px) { .grid-3 { grid-template-columns: repeat(3, 1fr); } }

/* --------------------------------------------------------------------------
   Accessibilité
-------------------------------------------------------------------------- */
.skip-link { position: absolute; left: -9999px; top: 0; z-index: 100; background: var(--ink); color: var(--bg); padding: .8rem 1.4rem; border-radius: 0 0 12px 0; }
.skip-link:focus { left: 0; }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; }
  .reveal, .rmask > span { opacity: 1 !important; transform: none !important; }
  .curtain { display: none; }
  .hero .eyebrow, .hero-sub, .hero-ctas, .hero-meta, .hero-visual, .hero-scroll { opacity: 1 !important; }
  .hero-live .hero-photo, .hl-panel, .hero-bar { opacity: 1 !important; }
  .manifesto .w { opacity: 1 !important; }
  .split-visual img { transform: none !important; }
}
