/* ==========================================================================
   WEBIFY MEAUX : Feuille de style
   Direction artistique : « Digital Scrapbook Collage » (Craft Docs style guide)
   ========================================================================== */

/* ---------- Tokens ---------- */
:root {
  /* Couleurs */
  --color-canvas: #fff3e7;
  --color-ink: #030302;
  --color-white: #ffffff;
  --color-linen: #f7f7f7;
  --color-cloud: #efefef;
  --color-ash: #e1e1e1;
  --color-stone: #bebbba;
  --color-graphite: #41413f;
  --color-mint: #9bd8a9;
  --color-marigold: #fde99b;
  --color-periwinkle: #b8caf5;
  --color-sky: #9ed4ef;
  --gradient-sky: linear-gradient(180deg, rgb(158, 212, 239) 0%, rgb(209, 238, 249) 100%);
  --color-papaya: #ff4500;
  --color-azure: #0087ff;

  /* Typographies (substituts du guide : Lora / Inter) */
  --font-serif: 'Lora', ui-serif, Georgia, Cambria, "Times New Roman", Times, serif;
  --font-sans: 'Inter', ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;

  /* Ombres */
  --shadow-xl: rgba(0, 0, 0, 0.01) 0px 50px 40px 0px, rgba(0, 0, 0, 0.02) 0px 50px 40px 0px, rgba(0, 0, 0, 0.05) 0px 20px 40px 0px, rgba(0, 0, 0, 0.08) 0px 3px 10px 0px;
  --shadow-sm: rgba(0, 0, 0, 0.1) 0px 4px 6px -1px, rgba(0, 0, 0, 0.1) 0px 2px 4px -2px;
  --shadow-md: rgba(0, 0, 0, 0.1) 0px 12px 12px 2px, rgba(0, 0, 0, 0.06) 0px 2px 4px -1px;
  --shadow-md-2: rgba(0, 0, 0, 0.08) 0px 4px 16px 0px;
  --shadow-subtle: rgba(0, 0, 0, 0.1) 0px 1px 3px 0px, rgba(0, 0, 0, 0.1) 0px 1px 2px -1px;
  --shadow-md-3: rgba(0, 0, 0, 0.1) 0px 4px 12px 0px;
  --paper-shadow: drop-shadow(0 18px 24px rgba(0, 0, 0, 0.05)) drop-shadow(0 3px 6px rgba(0, 0, 0, 0.06));

  /* Rayons */
  --radius-xl: 8px;
  --radius-2xl: 8px;
  --radius-3xl: 8px;
  --radius-4xl: 8px;
  --radius-pill: 8px;

  /* Mise en page */
  --max: 1400px; /* largeur du contenu : sections, header, footer */
  --gutter: clamp(16px, 4vw, 40px);
  --section: clamp(96px, 11vw, 140px);
  --ease-out: cubic-bezier(0.22, 1, 0.36, 1);

  /* Textures */
  --noise: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='220' height='220'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.8' numOctaves='3' stitchTiles='stitch'/%3E%3CfeColorMatrix values='0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 .55 0'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
}

@supports (background: linear-gradient(in oklab, red, blue)) {
  :root { --gradient-sky: linear-gradient(in oklab 180deg, rgb(158, 212, 239) 0%, rgb(209, 238, 249) 100%); }
}

/* ---------- Base ---------- */
*, *::before, *::after { box-sizing: border-box; }
* { margin: 0; padding: 0; }
html { -webkit-text-size-adjust: 100%; text-size-adjust: 100%; }
html.lenis, html.lenis body { height: auto; }
.lenis.lenis-smooth { scroll-behavior: auto !important; }
.lenis.lenis-stopped { overflow: hidden; }

body {
  background: var(--color-canvas);
  color: var(--color-ink);
  font-family: var(--font-sans);
  font-size: 16px;
  line-height: 1.5;
  letter-spacing: -0.24px;
  font-feature-settings: "liga";
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
  transition: background-color 0.7s var(--ease-out), color 0.7s var(--ease-out);
}
/* Empêche les éléments en attente d'animation (x décalé) d'élargir la page sur mobile */
main { overflow-x: clip; }
/* Grain papier global */
body::after {
  content: "";
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: 300;
  background-image: var(--noise);
  opacity: 0.06;
}
body.is-dark { background: var(--color-ink); }

img, svg { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; background: none; border: 0; cursor: pointer; }
ul, ol { list-style: none; }
::selection { background: var(--color-marigold); color: var(--color-ink); }

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

.skip-link {
  position: fixed; top: 12px; left: 12px; z-index: 400;
  padding: 10px 16px; border-radius: var(--radius-pill);
  background: var(--color-ink); color: var(--color-white);
  transform: translateY(-200%); transition: transform 0.3s var(--ease-out);
}
.skip-link:focus { transform: none; }

.visually-hidden {
  position: absolute !important; width: 1px; height: 1px; overflow: hidden;
  clip: rect(0 0 0 0); white-space: nowrap;
}

.container { width: 100%; max-width: calc(var(--max) + 2 * var(--gutter)); margin-inline: auto; padding-inline: var(--gutter); }
.container.narrow { max-width: calc(var(--max) + 2 * var(--gutter)); }
.section { padding-block: var(--section); position: relative; }

/* ---------- Typographie ---------- */
.h-xl, .h-lg, .h-md, .hero-big, .manifesto-text, .quote p, .loader-word {
  font-family: var(--font-serif);
  font-weight: 400;
  font-feature-settings: "liga";
}
.h-xl { font-size: clamp(42px, 6vw, 76px); line-height: 1.04; letter-spacing: -0.04em; }
.h-lg { font-size: clamp(36px, 4.6vw, 56px); line-height: 1.05; letter-spacing: -0.04em; }
.h-md { font-size: clamp(28px, 2.8vw, 36px); line-height: 1.15; letter-spacing: -0.02em; }
h1 em, h2 em, h3 em, .hero-big em, .h-xl em, .h-lg em { font-style: italic; }

.lead { font-size: clamp(17px, 1.4vw, 20px); line-height: 1.5; color: var(--color-graphite); letter-spacing: -0.3px; max-width: 560px; }

.eyebrow {
  display: inline-flex; align-items: center; gap: 10px;
  font-size: 14px; font-weight: 500; letter-spacing: 0.14px;
  padding: 7px 16px 7px 10px; border-radius: var(--radius-pill);
  background: rgba(255, 255, 255, 0.7);
  box-shadow: var(--shadow-subtle);
  backdrop-filter: blur(8px);
}
.eyebrow-plain {
  padding: 0; background: none; box-shadow: none; backdrop-filter: none;
  text-transform: uppercase; font-size: 12px; letter-spacing: 0.14em; font-weight: 600;
  color: var(--color-graphite); margin-bottom: 20px;
}
.eyebrow-plain::before {
  content: ""; width: 22px; height: 10px; border-radius: 4px;
  background: var(--color-mint); transform: rotate(-6deg);
}
.eyebrow-light { color: rgba(255, 255, 255, 0.7); }

.pulse-dot { position: relative; width: 10px; height: 10px; border-radius: 50%; background: #3cbf5e; flex: none; }
.pulse-dot::after {
  content: ""; position: absolute; inset: -4px; border-radius: 50%;
  border: 2px solid #3cbf5e; opacity: 0; animation: pulse 2.2s var(--ease-out) infinite;
}
@keyframes pulse { 0% { transform: scale(0.5); opacity: 0.8; } 100% { transform: scale(1.8); opacity: 0; } }

/* Surlignage pastel derrière un mot en italique */
.mark { position: relative; white-space: nowrap; z-index: 0; }
.mark::before {
  content: ""; position: absolute; z-index: -1;
  left: -0.08em; right: -0.12em; bottom: 0.08em; height: 0.42em;
  background: var(--color-marigold); border-radius: 0.12em;
  transform: rotate(-1.5deg) scaleX(var(--mark, 1)); transform-origin: left center;
}
.mark-marigold::before { background: var(--color-marigold); }

/* Mots découpés (animations) */
.w { display: inline-block; overflow: hidden; vertical-align: top; padding: 0 0.06em 0.12em; margin: 0 -0.06em -0.12em; }
.w-i { display: inline-block; will-change: transform; }

/* ---------- Boutons ---------- */
.btn {
  position: relative; display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  height: 52px; padding: 0 26px; border: 0; border-radius: var(--radius-pill);
  font-size: 16px; font-weight: 500; letter-spacing: -0.2px; line-height: 1; white-space: nowrap;
  text-decoration: none; cursor: pointer;
  transition: box-shadow 0.6s, background-color 0.6s, color 0.6s, -webkit-backdrop-filter 0.6s, backdrop-filter 0.6s;
  will-change: transform;
}
.btn-sm { height: 42px; padding: 0 18px; font-size: 15px; }
.btn-lg { height: 60px; padding: 0 32px; font-size: 17px; }
.btn-ink { background: var(--color-ink); color: var(--color-white); }
.btn-ink:hover { background: #1a1a18; box-shadow: var(--shadow-md); }
.btn-ghost { background: rgba(255, 255, 255, 0.55); color: var(--color-ink); box-shadow: inset 0 0 0 1px rgba(3, 3, 2, 0.12); }
.btn-ghost:hover { background: var(--color-white); box-shadow: inset 0 0 0 1px rgba(3, 3, 2, 0.18), var(--shadow-md); }
.btn-white { background: var(--color-white); color: var(--color-ink); box-shadow: var(--shadow-subtle); }
.btn-white:hover { box-shadow: var(--shadow-md); }
.btn-light { background: var(--color-canvas); color: var(--color-ink); }
.btn-light:hover { background: var(--color-white); box-shadow: 0 10px 30px rgba(0, 0, 0, 0.35); }
/* Effet glace au survol (tous les boutons + bouton Menu) :
   un reflet vitré apparaît sur le haut du bouton et un éclat de lumière le traverse en diagonale */
.btn, .burger { isolation: isolate; overflow: hidden; }
.btn::before, .burger::before {
  content: ""; position: absolute; inset: 0; z-index: -1; border-radius: inherit; pointer-events: none;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.34) 0%, rgba(255, 255, 255, 0.08) 48%, rgba(255, 255, 255, 0) 52%, rgba(255, 255, 255, 0.06) 100%);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.55), inset 0 -1px 0 rgba(255, 255, 255, 0.12);
  opacity: 0; transition: opacity 0.8s ease;
}
.btn::after, .burger::after {
  content: ""; position: absolute; top: -20%; bottom: -20%; left: 0; width: 45%; z-index: -1; pointer-events: none;
  background: linear-gradient(100deg, rgba(255, 255, 255, 0) 0%, rgba(255, 255, 255, 0.5) 45%, rgba(255, 255, 255, 0.75) 50%, rgba(255, 255, 255, 0) 100%);
  transform: translateX(-130%) skewX(-18deg); filter: blur(1px);
}
.btn:is(:hover, :focus-visible)::before, .burger:is(:hover, :focus-visible)::before { opacity: 1; }
.btn:is(:hover, :focus-visible)::after, .burger:is(:hover, :focus-visible)::after {
  transform: translateX(330%) skewX(-18deg); transition: transform 1.6s cubic-bezier(0.4, 0, 0.2, 1);
}
/* Boutons clairs : verre dépoli, le fond devient translucide et floute ce qui est derrière */
.btn-ghost:hover, .btn-white:hover, .burger:hover {
  background: rgba(255, 255, 255, 0.62);
  -webkit-backdrop-filter: blur(12px) saturate(1.6); backdrop-filter: blur(12px) saturate(1.6);
}
.btn-ghost::after, .btn-white::after, .btn-light::after, .burger::after {
  background: linear-gradient(100deg, rgba(255, 255, 255, 0) 0%, rgba(255, 255, 255, 0.85) 50%, rgba(255, 255, 255, 0) 100%);
}
.btn-ghost::before, .btn-white::before, .btn-light::before, .burger::before {
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.95), inset 0 0 0 1px rgba(255, 255, 255, 0.5);
}
@media (prefers-reduced-motion: reduce) {
  .btn::after, .burger::after { display: none; }
}
.btn-ic { width: 20px; height: 20px; fill: none; stroke: currentColor; stroke-width: 1.6; stroke-linejoin: round; }

/* Libellé qui défile : le texte monte, sa copie (data-t) arrive par le bas */
.btn-roll { display: inline-block; overflow: hidden; height: 1.3em; line-height: 1.3; vertical-align: middle; }
.btn-roll > span { display: block; transition: transform 0.55s cubic-bezier(0.6, 0, 0.2, 1); }
.btn-roll > span::after { content: attr(data-t); display: block; }
.btn:hover .btn-roll > span,
.btn:focus-visible .btn-roll > span { transform: translateY(-50%); }

/* Flèche simple qui glisse vers la droite */
.btn-arrow { display: inline-grid; place-items: center; flex: none; }
.btn-arrow svg { width: 16px; height: 16px; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; transition: transform 0.35s cubic-bezier(0.6, 0, 0.2, 1); }
.btn:hover .btn-arrow svg { transform: translateX(3px); }
@media (prefers-reduced-motion: reduce) {
  .btn-roll > span, .btn-arrow svg { transition: none; }
}

.link-arrow {
  display: inline-flex; align-items: center; gap: 8px; font-weight: 500;
  padding-bottom: 4px; background: linear-gradient(currentColor, currentColor) left bottom / 100% 1px no-repeat;
  transition: background-size 0.5s var(--ease-out);
}
.link-arrow span { transition: transform 0.4s var(--ease-out); }
.link-arrow:hover { background-size: 0% 1px; background-position: right bottom; }
.link-arrow:hover span { transform: translateX(5px); }

.tag {
  display: inline-flex; align-items: center; gap: 6px; padding: 4px 12px;
  border-radius: var(--radius-pill); font-size: 12px; font-weight: 600; letter-spacing: 0.12px;
}
.tag-mint { background: var(--color-mint); }
.tag-marigold { background: var(--color-marigold); }
.tag-peri { background: var(--color-periwinkle); }

/* ---------- Papiers / collage ---------- */
.paper-mint { background: var(--color-mint); }
.paper-marigold { background: var(--color-marigold); }
.paper-peri { background: var(--color-periwinkle); }
.paper-sky { background: var(--gradient-sky); }
.paper-grid {
  background-color: #fffdf9;
  background-image:
    linear-gradient(rgba(0, 135, 255, 0.13) 1px, transparent 1px),
    linear-gradient(90deg, rgba(0, 135, 255, 0.13) 1px, transparent 1px);
  background-size: 22px 22px;
}
.paper-dots {
  background-color: var(--color-canvas);
  background-image: radial-gradient(rgba(3, 3, 2, 0.22) 1.2px, transparent 1.6px);
  background-size: 16px 16px;
}
[class*="paper-"] { position: relative; }
.paper-mint::after, .paper-marigold::after, .paper-peri::after, .paper-sky::after {
  content: ""; position: absolute; inset: 0; background-image: var(--noise); opacity: 0.12; mix-blend-mode: multiply; pointer-events: none;
}
.tape {
  position: absolute; top: -12px; left: 50%; width: 84px; height: 26px;
  transform: translateX(-50%) rotate(-4deg);
  background: rgba(255, 255, 255, 0.55);
  backdrop-filter: blur(2px);
  box-shadow: 0 1px 2px rgba(0, 0, 0, 0.06);
  clip-path: polygon(0 8%, 4% 0, 9% 10%, 14% 0, 20% 8%, 100% 0, 96% 50%, 100% 100%, 92% 92%, 86% 100%, 80% 90%, 0 100%, 3% 50%);
}

/* ==========================================================================
   LOADER
   ========================================================================== */
.loader {
  position: fixed; inset: 0; z-index: 250;
  background: var(--color-canvas);
  display: grid; place-items: center;
}
.loader-inner { position: relative; text-align: center; padding: 24px; }
.loader-pieces { position: relative; width: 120px; height: 70px; margin: 0 auto 28px; }
.lp { position: absolute; width: 56px; height: 56px; border-radius: 6px; filter: var(--paper-shadow); }
.lp-mint { left: 0; top: 10px; background: var(--color-mint); transform: rotate(-12deg); }
.lp-marigold { left: 32px; top: 0; background: var(--color-marigold); transform: rotate(6deg); }
.lp-peri { left: 64px; top: 14px; background: var(--color-periwinkle); transform: rotate(-4deg); }
.loader-word { font-size: clamp(48px, 8vw, 88px); line-height: 1; letter-spacing: -0.045em; }
.loader-word em { font-style: italic; }
.loader-word .lw { display: inline-block; }
.loader-tag { margin-top: 16px; font-size: 14px; color: var(--color-graphite); letter-spacing: 0.14px; }
/* Barre de progression du chargement */
.loader-progress { width: min(340px, 72vw); margin: 36px auto 0; }
.loader-meta {
  display: flex; justify-content: space-between; align-items: baseline; margin-bottom: 10px;
  font-size: 13px; font-weight: 500; letter-spacing: 0.02em; color: var(--color-graphite);
}
.loader-pct { font-variant-numeric: tabular-nums; color: var(--color-ink); }
.loader-bar {
  position: relative; height: 8px; border-radius: 8px; overflow: hidden;
  background: rgba(3, 3, 2, 0.08); box-shadow: inset 0 1px 2px rgba(3, 3, 2, 0.08);
}
.loader-bar i {
  position: absolute; inset: 0; border-radius: 8px; transform: scaleX(0); transform-origin: left;
  background: linear-gradient(90deg, var(--color-mint), var(--color-sky) 35%, var(--color-periwinkle) 65%, var(--color-ink));
}
/* Reflet qui glisse sur la barre pendant le chargement */
.loader-bar::after {
  content: ""; position: absolute; top: 0; bottom: 0; left: 0; width: 30%; border-radius: 8px; pointer-events: none;
  background: linear-gradient(90deg, rgba(255, 255, 255, 0), rgba(255, 255, 255, 0.55), rgba(255, 255, 255, 0));
  animation: loaderShine 1.8s ease-in-out infinite;
}
@keyframes loaderShine { from { transform: translateX(-120%); } to { transform: translateX(380%); } }
@media (prefers-reduced-motion: reduce) { .loader-bar::after { animation: none; display: none; } }
.loader-count {
  position: fixed; right: var(--gutter); bottom: 20px;
  font-family: var(--font-serif); font-size: clamp(56px, 10vw, 140px); line-height: 1; letter-spacing: -0.05em; color: rgba(3, 3, 2, 0.08);
}
.torn-edge { position: absolute; left: 0; width: 100%; height: 36px; pointer-events: none; }
.torn-edge path { fill: var(--color-canvas); }
.loader-edge { top: calc(100% - 1px); filter: drop-shadow(0 6px 6px rgba(0, 0, 0, 0.05)); }

/* ==========================================================================
   HEADER
   ========================================================================== */
/* Barre pleine largeur, transparente sur le hero, papier crème flouté au scroll */
.site-header {
  position: fixed; top: 0; left: 0; right: 0; z-index: 120;
  padding: 12px var(--gutter);
  transition: background-color 0.45s, box-shadow 0.45s, backdrop-filter 0.45s, -webkit-backdrop-filter 0.45s;
}
.site-header.is-scrolled {
  background: rgba(255, 243, 231, 0.82);
  backdrop-filter: blur(14px) saturate(1.2);
  -webkit-backdrop-filter: blur(14px) saturate(1.2);
  box-shadow: var(--shadow-subtle);
}
.nav {
  max-width: var(--max); height: 56px; margin: 0 auto;
  display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; gap: 24px;
}
.nav .logo { justify-self: start; }
.nav-actions { justify-self: end; display: flex; align-items: center; gap: 10px; }
.logo { display: inline-flex; align-items: center; gap: 10px; }
.logo-mark {
  display: grid; place-items: center; width: 38px; height: 38px; border-radius: 12px;
  background: var(--color-ink); color: var(--color-canvas);
  font-family: var(--font-serif); font-size: 24px; line-height: 1;
  transform: rotate(-4deg); transition: transform 0.5s var(--ease-out);
  position: relative;
}
.logo-mark::after {
  content: ""; position: absolute; right: -4px; bottom: -3px; width: 13px; height: 13px; border-radius: 4px;
  background: var(--color-mint); transform: rotate(14deg);
}
.logo:hover .logo-mark { transform: rotate(4deg) scale(1.05); }
.logo-text { display: flex; flex-direction: column; line-height: 1; }
.logo-name { font-family: var(--font-serif); font-size: 24px; letter-spacing: -0.04em; }
.logo-city { font-size: 10px; font-weight: 600; letter-spacing: 0.32em; text-transform: uppercase; margin-top: 3px; color: var(--color-graphite); }
.logo-light { color: var(--color-canvas); }
.logo-light .logo-mark { background: var(--color-canvas); color: var(--color-ink); }
.logo-light .logo-city { color: rgba(255, 243, 231, 0.6); }

/* Liens texte simples, soulignement qui se dessine de gauche à droite */
.nav-links { display: flex; align-items: center; gap: 26px; }
.nav-links a {
  position: relative; padding: 6px 0;
  font-size: 15px; font-weight: 500; letter-spacing: -0.15px; white-space: nowrap;
}
.nav-links a::after {
  content: ""; position: absolute; left: 0; right: 0; bottom: 2px; height: 1.5px;
  background: currentColor;
  transform: scaleX(0); transform-origin: right center;
  transition: transform 0.4s cubic-bezier(0.6, 0, 0.2, 1);
}
.nav-links a:hover::after,
.nav-links a:focus-visible::after,
.nav-links a[aria-current="page"]::after { transform: scaleX(1); transform-origin: left center; }

/* Bouton « Menu » : même hauteur et même arrondi (8px) que « Devis gratuit », libellé qui roule + 2 traits qui se croisent */
.burger {
  position: relative; display: inline-flex; align-items: center; gap: 10px; flex: none;
  height: 42px; padding: 0 7px 0 16px; border-radius: 8px;
  background: var(--color-white); box-shadow: inset 0 0 0 1px rgba(3, 3, 2, 0.12), 0 1px 2px rgba(3, 3, 2, 0.06);
  font-size: 15px; font-weight: 500; letter-spacing: -0.15px; color: var(--color-ink);
  transition: background-color 0.6s, box-shadow 0.6s, -webkit-backdrop-filter 0.6s, backdrop-filter 0.6s;
}
.burger:hover { box-shadow: inset 0 0 0 1px rgba(3, 3, 2, 0.28), 0 4px 12px rgba(3, 3, 2, 0.08); }
.burger:focus-visible { outline: 2px solid var(--color-ink); outline-offset: 2px; }
.burger-label { display: block; height: 1.3em; overflow: hidden; line-height: 1.3; }
.burger-label b { display: block; font-weight: inherit; transition: transform 0.55s cubic-bezier(0.7, 0, 0.2, 1); }
.burger[aria-expanded="true"] .burger-label b { transform: translateY(-100%); }
.burger-lines { position: relative; width: 28px; height: 28px; border-radius: 8px; background: var(--color-ink); flex: none; }
.burger-lines i { position: absolute; left: 8px; right: 8px; height: 1.6px; background: var(--color-canvas); border-radius: 2px; transition: transform 0.45s cubic-bezier(0.6, 0, 0.2, 1), top 0.45s cubic-bezier(0.6, 0, 0.2, 1); }
.burger-lines i:first-child { top: 11px; }
.burger-lines i:last-child { top: 16px; }
.burger:not([aria-expanded="true"]):hover .burger-lines i:first-child { transform: scaleX(0.7); transform-origin: left; }
.burger[aria-expanded="true"] .burger-lines i:first-child { top: 13.2px; transform: rotate(45deg); }
.burger[aria-expanded="true"] .burger-lines i:last-child { top: 13.2px; transform: rotate(-45deg); }

/* Menu ouvert : le header devient transparent au-dessus du papier */
.menu-open .site-header { background: transparent; box-shadow: none; backdrop-filter: none; -webkit-backdrop-filter: none; }
.nav-links, .nav-cta { transition: opacity 0.35s, visibility 0.35s; }
.menu-open .nav-links, .menu-open .nav-cta { opacity: 0; visibility: hidden; }

@media (max-width: 1100px) {
  .nav { grid-template-columns: 1fr auto; }
  .nav-links { display: none; }
}
/* Téléphone : bouton carré 44px (arrondi 8px), deux traits noirs qui forment une croix */
@media (max-width: 767px) {
  .burger { width: 44px; height: 44px; padding: 0; justify-content: center; }
  .burger-label { display: none; }
  .burger-lines { width: 44px; height: 44px; background: transparent; }
  .burger-lines i { left: 14px; right: 14px; background: var(--color-ink); }
  .burger-lines i:first-child { top: 18px; }
  .burger-lines i:last-child { top: 25px; }
  .burger[aria-expanded="true"] .burger-lines i:first-child,
  .burger[aria-expanded="true"] .burger-lines i:last-child { top: 21.5px; }
}
@media (max-width: 560px) {
  .nav-cta { display: none; }
}

/* Menu plein écran : rideau qui descend, grands liens numérotés */
.menu {
  position: fixed; inset: 0; z-index: 110;
  background: var(--color-canvas);
  padding: 104px var(--gutter) 32px;
  clip-path: inset(0 0 100% 0);
  visibility: hidden; overflow: hidden auto; overscroll-behavior: contain;
}
.menu-grid {
  position: relative; max-width: var(--max); min-height: 100%; margin: 0 auto;
  display: grid; grid-template-columns: minmax(0, 1.25fr) minmax(0, 1fr) minmax(0, 0.9fr); gap: 40px 48px; align-items: end;
}
.menu-paper { position: absolute; filter: var(--paper-shadow); pointer-events: none; }
.menu-paper--mint { width: 38vw; height: 32vh; right: -10vw; top: 11vh; background: var(--color-mint); transform: rotate(-7deg); border-radius: 8px; }
.menu-paper--marigold { width: 26vw; height: 20vh; left: -9vw; bottom: 7vh; background: var(--color-marigold); transform: rotate(9deg); border-radius: 8px; }
.menu-links { position: relative; display: flex; flex-direction: column; align-self: start; padding-top: clamp(8px, 3vh, 40px); }
.menu-links a {
  display: flex; width: fit-content; overflow: hidden; padding: 0.04em 0;
  font-family: var(--font-serif); font-size: clamp(32px, min(5.4vw, 5.9vh), 68px); line-height: 1.08; letter-spacing: -0.04em;
  transition: opacity 0.4s;
}
.menu-links a span { display: inline-flex; align-items: flex-start; gap: 0.35em; transition: transform 0.5s var(--ease-out); }
.menu-links em { font-family: var(--font-sans); font-style: normal; font-size: 12px; font-weight: 600; letter-spacing: 0.06em; color: var(--color-graphite); margin-top: 0.7em; min-width: 2.2em; }
.menu-links:hover a { opacity: 0.32; }
.menu-links a:hover, .menu-links a:focus-visible { opacity: 1; }
.menu-links a:hover span { transform: translateX(14px); font-style: italic; }
.menu-links a[aria-current="page"] span::after { content: ""; width: 10px; height: 10px; margin: 0.42em 0 0 0.2em; border-radius: 50%; background: var(--color-papaya); flex: none; }
.menu-services { position: relative; padding-bottom: 8px; }
.menu-label { display: flex; align-items: center; gap: 10px; margin-bottom: 10px; font-size: 12px; font-weight: 600; letter-spacing: 0.12em; text-transform: uppercase; color: var(--color-graphite); }
.menu-label::before { content: ""; width: 22px; height: 8px; border-radius: 8px; background: var(--color-mint); }
.menu-services ul { list-style: none; margin: 0; padding: 0; }
.menu-services li { border-bottom: 1px solid rgba(3, 3, 2, 0.12); }
.menu-services a {
  display: flex; align-items: center; justify-content: space-between; gap: 16px; padding: 14px 0;
  font-family: var(--font-serif); font-size: clamp(19px, 1.6vw, 24px); line-height: 1.2; letter-spacing: -0.02em;
}
.menu-services a span { transition: transform 0.5s var(--ease-out); }
.menu-arrow {
  flex: none; display: grid; place-items: center; width: 34px; height: 34px; border-radius: 50%;
  border: 1px solid rgba(3, 3, 2, 0.16); transition: background 0.35s, border-color 0.35s, transform 0.5s var(--ease-out);
}
.menu-arrow svg { width: 14px; height: 14px; fill: none; stroke: currentColor; stroke-width: 1.6; stroke-linecap: round; stroke-linejoin: round; }
.menu-services a:hover span, .menu-services a:focus-visible span { transform: translateX(8px); font-style: italic; }
.menu-services a:hover .menu-arrow, .menu-services a:focus-visible .menu-arrow { background: var(--color-ink); border-color: var(--color-ink); color: var(--color-canvas); transform: rotate(-45deg); }
.menu-side { position: relative; display: flex; flex-direction: column; align-items: flex-start; gap: 16px; padding-bottom: 8px; }
.menu-kicker { font-family: var(--font-serif); font-size: clamp(26px, 2.6vw, 36px); line-height: 1.1; letter-spacing: -0.03em; }
.menu-pitch { color: var(--color-graphite); max-width: 32ch; }
.menu-cta { margin: 4px 0 18px; }
.menu-foot { position: relative; display: flex; flex-direction: column; gap: 4px; font-size: 15px; color: var(--color-graphite); }
.menu-foot a { color: var(--color-ink); font-weight: 500; }
@media (max-width: 900px) {
  .menu { padding-top: 90px; padding-bottom: 18px; }
  .menu-grid { grid-template-columns: 1fr; align-content: space-between; align-items: start; gap: 26px; }
  .menu-links { padding-top: 0; }
  .menu-links a { font-size: clamp(28px, min(8.6vw, 4.4vh), 56px); }
  .menu-links em { font-size: 11px; }
  .menu-pitch, .menu-kicker { display: none; }
  .menu-services a { padding: 9px 0; font-size: 17px; }
  .menu-arrow { width: 26px; height: 26px; }
  .menu-arrow svg { width: 12px; height: 12px; }
  .menu-label { margin-bottom: 4px; }
  .menu-cta { margin: 0 0 8px; }
  .menu-paper--mint { width: 62vw; height: 22vh; top: 13vh; right: -32vw; }
}
/* Téléphone : menu épuré façon agencialy (liens en haut, contact + CTA pleine largeur en bas) */
@media (max-width: 767px) {
  .menu { padding: 92px var(--gutter) 28px; }
  .menu-paper, .menu-links em { display: none; }
  .menu-grid { display: flex; flex-direction: column; justify-content: space-between; align-items: stretch; gap: 24px; }
  .menu-links a { padding: 0; font-size: clamp(26px, min(10.4vw, 4.1vh), 40px); line-height: 1.14; }
  /* Services en petit, sous les grands liens */
  .menu-services { padding-bottom: 0; }
  .menu-label { margin-bottom: 6px; font-size: 11px; }
  .menu-label::before { width: 18px; height: 6px; }
  .menu-services li { border-bottom: 0; }
  .menu-services a {
    justify-content: flex-start; gap: 8px; padding: 5px 0;
    font-family: var(--font-sans); font-size: 15px; line-height: 1.25; letter-spacing: -0.01em;
  }
  .menu-arrow { width: 20px; height: 20px; border: 0; }
  .menu-arrow svg { width: 12px; height: 12px; }
  .menu-services a:hover span, .menu-services a:focus-visible span { transform: none; font-style: normal; }
  .menu-links:hover a { opacity: 1; }
  .menu-links a:hover span { transform: none; font-style: normal; }
  .menu-side { gap: 0; padding-bottom: 0; align-items: stretch; }
  .menu-foot { order: 1; gap: 8px; font-size: 15px; }
  .menu-foot a { color: var(--color-graphite); font-weight: 400; }
  .menu-cta { order: 2; width: 100%; margin: 22px 0 0; }
}
/* Téléphone peu haut (barre du navigateur visible, petits écrans) : on garde seulement le téléphone dans le pied */
@media (max-width: 767px) and (max-height: 800px) {
  .menu { padding-top: 84px; padding-bottom: 18px; }
  .menu-grid { gap: 18px; }
  .menu-links a { font-size: clamp(23px, min(10.4vw, 3.75vh), 40px); }
  .menu-foot a[href^="mailto"], .menu-foot span { display: none; }
  .menu-cta { margin-top: 16px; }
}

/* ==========================================================================
   HERO
   ========================================================================== */
.hero {
  position: relative; isolation: isolate; overflow: hidden;
  display: flex; flex-direction: column; justify-content: center;
  min-height: 100vh; min-height: 100svh;
  padding: 104px 0 72px;
}
.hero-bg { position: absolute; inset: 0; z-index: -3; background: var(--gradient-sky); overflow: hidden; }
.hero-bg::after { content: ""; position: absolute; inset: 0; background-image: var(--noise); opacity: 0.18; mix-blend-mode: soft-light; }
.cloud { position: absolute; border-radius: 50%; background: radial-gradient(closest-side, rgba(255, 255, 255, 0.85), rgba(255, 255, 255, 0)); }
.cloud-1 { width: 60vw; height: 30vw; left: -10vw; top: 6vh; animation: drift 26s ease-in-out infinite alternate; }
.cloud-2 { width: 50vw; height: 24vw; right: -12vw; top: 30vh; animation: drift 32s ease-in-out infinite alternate-reverse; }
.cloud-3 { width: 70vw; height: 28vw; left: 20vw; bottom: -6vw; opacity: 0.8; animation: drift 38s ease-in-out infinite alternate; }
@keyframes drift { to { transform: translate3d(6vw, 2vh, 0); } }
.paper-frame { border: 2px solid var(--color-papaya); border-radius: 6px; }

.hero-content {
  position: relative; z-index: 2;
  width: 100%; max-width: 940px; margin: 0 auto;
  padding: 0 var(--gutter);
  text-align: center;
}
.hero-title { display: flex; flex-direction: column; align-items: center; gap: 24px; font-weight: 400; }
.hero-eyebrow { font-family: var(--font-sans); }
.hero-big {
  display: block;
  font-size: 32px; line-height: 1.08; letter-spacing: -0.04em;
}
.hero-sub { margin: 22px auto 0; max-width: 600px; font-size: 16px; color: var(--color-graphite); line-height: 1.55; text-wrap: balance; }
/* Titre hero : mobile 32px · tablette 48px · PC 64px : toujours sur 2 lignes */
@media (max-width: 767px) {
  .hero-big br { display: none; } /* coupure naturelle : « Des sites qui donnent / envie de vous appeler. » */
}
@media (min-width: 768px) {
  .hero-big { font-size: 48px; }
  .hero-sub { max-width: 600px; font-size: 17px; }
}
@media (min-width: 1024px) {
  .hero-content { max-width: 1040px; }
  .hero-big { font-size: 64px; }
  .hero-sub { max-width: 900px; font-size: 18px; }
}
.hero-ctas { display: flex; flex-wrap: wrap; justify-content: center; gap: 12px; margin-top: 30px; }
.hero-proof { display: flex; flex-wrap: wrap; justify-content: center; gap: 8px 22px; margin-top: 20px; font-size: 14px; color: var(--color-graphite); }
.hero-proof li { display: inline-flex; align-items: center; gap: 6px; }
.hero-proof svg { width: 16px; height: 16px; fill: none; stroke: #2f9e4f; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }

/* Indication « Défiler » */
.hero-scroll {
  position: absolute; z-index: 2; left: 50%; bottom: 26px; translate: -50% 0;
  display: flex; flex-direction: column; align-items: center; gap: 10px;
  font-size: 13px; color: var(--color-graphite); letter-spacing: 0.1px;
}
.hero-scroll i { position: relative; width: 1px; height: 42px; overflow: hidden; background: rgba(3, 3, 2, 0.14); }
.hero-scroll i::after { content: ""; position: absolute; inset: 0; background: var(--color-ink); transform-origin: top; animation: scroll-line 2.2s cubic-bezier(0.65, 0, 0.35, 1) infinite; }
@keyframes scroll-line {
  0% { transform: scaleY(0); transform-origin: top; }
  45% { transform: scaleY(1); transform-origin: top; }
  55% { transform: scaleY(1); transform-origin: bottom; }
  100% { transform: scaleY(0); transform-origin: bottom; }
}

/* ---------- Collage : cartes posées autour du texte, qui apparaissent une à une au scroll (main.js) ---------- */
.hero-collage { position: absolute; inset: 0; z-index: 1; pointer-events: none; }
.hc { position: absolute; will-change: transform; }
.hc-tl { left: clamp(28px, 4vw, 72px); top: 18%; }
.hc-tr { right: clamp(28px, 4vw, 72px); top: 17%; }
.hc-bl { left: clamp(40px, 6vw, 110px); bottom: 14%; }
.hc-br { right: clamp(32px, 5vw, 96px); bottom: 8%; }
.hc-in { position: relative; scale: var(--hc-s, 1); }
.hc-tl .hc-in { rotate: -4deg; }
.hc-tr .hc-in { rotate: 3deg; }
.hc-bl .hc-in { rotate: -3deg; }
.hc-br .hc-in { rotate: 4deg; }
/* Cachées tant que le scroll ne les fait pas venir (rétablies sans animation) */
@media (prefers-reduced-motion: no-preference) {
  html.js:not(.anim-fallback) .hero .hc-in { opacity: 0; }
}
@media (prefers-reduced-motion: reduce) {
  .hero .hero-collage { display: none; }
}
/* Espace de scroll ajouté sous le hero (main.js) : les cartes y arrivent avant le rideau */
.hero-spacer { height: 120vh; height: 120svh; pointer-events: none; }
.hc-paper { position: absolute; z-index: 0; filter: var(--paper-shadow); }
.hc-card {
  position: relative; z-index: 1;
  background: var(--color-white); border-radius: var(--radius-2xl);
  box-shadow: var(--shadow-xl), var(--shadow-md-2);
}
.hc-card b { display: block; font-size: 14px; font-weight: 600; letter-spacing: -0.2px; }
.hc-card span { color: var(--color-graphite); }

/* Haut gauche : recherche Google sur papier quadrillé pervenche */
.hc-tl .hc-paper { inset: -34px -30px 34px -34px; rotate: 8deg; }
.hc-grid-peri {
  background-color: var(--color-periwinkle);
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.5) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.5) 1px, transparent 1px);
}
.fc-search { width: 250px; padding: 14px; }
.fc-searchbar { display: flex; align-items: center; gap: 8px; padding: 9px 12px; border-radius: var(--radius-pill); background: var(--color-linen); font-size: 13px; }
.fc-searchbar svg { width: 15px; height: 15px; fill: none; stroke: var(--color-graphite); stroke-width: 2; stroke-linecap: round; }
.fc-searchbar .typed { color: var(--color-ink); }
.typed::after { content: "|"; margin-left: 1px; animation: blink 1s steps(1) infinite; color: var(--color-azure); }
@keyframes blink { 50% { opacity: 0; } }
.fc-result { display: flex; flex-direction: column; gap: 3px; padding: 12px 4px 10px; }
.fc-search .fc-url { font-size: 11px; }
.fc-search .fc-title { font-size: 14px; font-weight: 600; color: #1a0dab; letter-spacing: -0.2px; }
.fc-lines { display: flex; flex-direction: column; gap: 5px; margin-top: 5px; }
.fc-lines i { height: 6px; border-radius: 4px; background: var(--color-cloud); }
.fc-lines i:last-child { width: 70%; }
.fc-search .tag { color: var(--color-ink); }

/* Haut droite : notification, ruban adhésif jaune et cadre papaye */
.hc-frame { position: absolute; inset: -10px -9px; z-index: 0; border: 1.5px solid var(--color-papaya); border-radius: 22px; rotate: -2.5deg; }
.hc-tape-dots {
  position: absolute; z-index: 0; top: -34px; left: 20%; width: 132px; height: 56px; rotate: 5deg;
  background-color: var(--color-marigold);
  background-image: radial-gradient(rgba(150, 110, 0, 0.35) 1px, transparent 1.6px);
  background-size: 12px 12px;
  clip-path: polygon(0 10%, 6% 0, 12% 8%, 20% 0, 30% 6%, 42% 0, 55% 7%, 68% 0, 80% 6%, 92% 0, 100% 9%, 100% 100%, 0 100%);
  filter: var(--paper-shadow);
}
.sc-notif { display: flex; align-items: flex-start; gap: 12px; width: 300px; padding: 14px 16px 14px 14px; font-size: 13px; }
.sc-notif div { display: flex; flex-direction: column; gap: 2px; }
.sc-notif time { font-size: 11px; color: var(--color-stone); white-space: nowrap; }
.sc-avatar { display: grid; place-items: center; width: 36px; height: 36px; flex: none; border-radius: 50%; background: var(--color-periwinkle); font-weight: 600; color: var(--color-ink) !important; }

/* Bas gauche : score de performance sur papier menthe */
.hc-bl .hc-paper { inset: -30px -44px -28px -26px; rotate: -4deg; }
.hc-bl .tape { z-index: 2; top: -16px; left: 46%; }
.sc-score { display: flex; align-items: center; gap: 14px; padding: 16px 24px 16px 16px; font-size: 14px; }
.sc-score b { font-size: 16px; }
.ring { position: relative; width: 60px; height: 60px; flex: none; }
.ring svg { width: 100%; height: 100%; transform: rotate(-90deg); }
.ring circle { fill: none; stroke-width: 4; }
.ring-bg { stroke: #e3f5e8; }
.ring-fg { stroke: #2fb35a; stroke-linecap: round; stroke-dasharray: 119.4; stroke-dashoffset: 2.4; }
.sc-score .ring-num { position: absolute; inset: 0; display: grid; place-items: center; font-size: 17px; color: #1d8a42; }

/* Bas droite : post-it jaune */
.hc-note {
  position: relative; display: flex; align-items: flex-end;
  width: 220px; min-height: 196px; padding: 44px 24px 24px;
  background: var(--color-marigold); border-radius: 4px;
  filter: var(--paper-shadow);
}
.hc-note::after { content: ""; position: absolute; inset: 0; background-image: var(--noise); opacity: 0.12; mix-blend-mode: multiply; pointer-events: none; border-radius: inherit; }
.hc-note p { font-family: var(--font-serif); font-size: 28px; line-height: 1.1; letter-spacing: -0.03em; font-style: italic; }

/* Grand écran plus étroit : cartes un peu plus petites pour rester sur les côtés du titre */
@media (max-width: 1439px) { .hc { --hc-s: 0.8; } }

/* Tablette et petits écrans : seules les deux cartes du bas restent */
@media (max-width: 1199px), (max-height: 699px) {
  .hc-tl, .hc-tr { display: none; }
}
@media (min-width: 768px) and (max-width: 1199px) {
  .hc { --hc-s: 0.8; }
  .hc-bl { left: 4vw; bottom: 3%; }
  .hc-br { right: 4vw; bottom: 2%; }
}
/* Écran peu haut (petit portable) : cartes un peu plus petites */
@media (min-width: 1200px) and (max-height: 860px) {
  .hc { --hc-s: 0.74; }
  .hc-tl { top: 15%; }
  .hc-tr { top: 14%; }
  .hc-bl { bottom: 10%; }
  .hc-br { bottom: 4%; }
}
@media (max-height: 699px) { .hero-scroll { display: none; } }
@media (min-width: 1200px) and (max-height: 780px) {
  .hero-proof { display: none; }
}

/* Mobile : boutons pleine largeur, deux cartes posées sous les boutons */
@media (max-width: 767px) {
  .hero { justify-content: flex-start; padding: 116px 0 72px; }
  .hero-title { gap: 20px; }
  .hero-ctas { margin-top: 28px; }
  .hero-ctas .btn { width: 100%; }
  .hero-proof, .hero-scroll { display: none; }
  .hc { --hc-s: 0.86; }
  .hc-bl { left: 14px; bottom: 15%; }
  .hc-br { right: 10px; bottom: 2%; }
  .hc-bl .hc-paper { inset: -26px -30px -10px -40px; }
  .hc-note { width: 170px; min-height: 170px; padding: 40px 18px 50px; }
  .hc-note p { font-size: 23px; }
}
@media (max-width: 380px) {
  .hc { --hc-s: 0.8; }
}

/* ==========================================================================
   RUBAN
   ========================================================================== */
/* L'espace vertical suit l'inclinaison : demi-largeur × sin(3°) ≈ 2,6vw de chaque côté */
.ribbon-wrap { position: relative; z-index: 6; padding-block: calc(clamp(40px, 5vw, 72px) + 2.8vw); overflow-x: clip; background: var(--color-canvas); }
/* Bord déchiré : la suite de la page glisse par-dessus le hero comme un rideau */
.curtain-edge { bottom: calc(100% - 1px); height: 40px; }
.ribbon {
  transform: rotate(-2deg); margin: 0 -6vw;
  background: var(--color-ink); color: var(--color-canvas);
  padding: 20px 0 22px; box-shadow: var(--shadow-xl);
}
.ribbon-track { display: flex; width: max-content; align-items: center; gap: 36px; padding-left: 36px; will-change: transform; }
.ribbon-track span { font-family: var(--font-serif); font-size: clamp(26px, 3.2vw, 44px); letter-spacing: -0.03em; line-height: 1.25; white-space: nowrap; }
.ribbon-track span:nth-of-type(even) { font-style: italic; }
.ribbon-track i { font-style: normal; font-size: 22px; color: var(--color-marigold); }

/* ==========================================================================
   MANIFESTE
   ========================================================================== */
.manifesto { text-align: center; }
.manifesto .eyebrow-plain { justify-content: center; }
.manifesto-text { font-size: clamp(30px, 4.2vw, 56px); line-height: 1.16; letter-spacing: -0.035em; }
.manifesto-text .w { overflow: visible; }
.chip {
  display: inline-grid; place-items: center; vertical-align: middle;
  height: 0.9em; min-width: 1.5em; margin: -0.1em 0.04em 0;
  border-radius: var(--radius-pill); overflow: hidden; box-shadow: var(--shadow-md-2);
  font-size: 0.82em;
}
.chip-img { width: 1.9em; transform: rotate(-4deg); }
.chip-img img { width: 100%; height: 100%; object-fit: cover; }
.chip-mint { background: var(--color-mint); transform: rotate(5deg); font-size: 0.6em; height: 1.2em; min-width: 2em; }
.chip-marigold { background: var(--color-marigold); transform: rotate(-6deg); }
.chip-marigold svg { width: 0.6em; height: 0.6em; fill: none; stroke: var(--color-ink); stroke-width: 2.4; stroke-linecap: round; stroke-linejoin: round; }

/* ==========================================================================
   SERVICES : cartes empilées
   ========================================================================== */
.section-head { margin-bottom: clamp(48px, 6vw, 80px); }
.section-head.center { text-align: center; }
.section-head.center .lead { margin-inline: auto; }
.section-head .h-lg { max-width: 16ch; }
.section-head.center .h-lg { margin-inline: auto; }
.section-head .lead { margin-top: 20px; }

.stack { display: flex; flex-direction: column; gap: 32px; }
.stack-card {
  position: sticky; top: calc(96px + var(--i) * 18px);
  display: grid; grid-template-columns: 1fr 1.1fr; gap: clamp(24px, 4vw, 64px);
  min-height: min(600px, 78vh);
  padding: clamp(24px, 3.4vw, 48px);
  background: var(--color-white); border-radius: var(--radius-4xl);
  box-shadow: var(--shadow-xl), 0 -1px 0 rgba(0, 0, 0, 0.02);
  transform-origin: 50% 0;
  will-change: transform;
}
.stack-card::after {
  content: ""; position: absolute; inset: 0; border-radius: inherit; background: var(--color-ink);
  opacity: var(--dim, 0); pointer-events: none;
}
.sc-copy { display: flex; flex-direction: column; justify-content: center; align-items: flex-start; gap: 18px; }
.sc-num { font-size: 13px; font-weight: 600; letter-spacing: 0.12em; padding: 6px 12px; border-radius: var(--radius-pill); background: var(--color-canvas); }
.sc-copy p { color: var(--color-graphite); max-width: 480px; }
.ticks { display: flex; flex-direction: column; gap: 10px; margin: 4px 0 8px; }
.ticks li { display: flex; align-items: center; gap: 10px; font-weight: 500; font-size: 15px; }
.ticks li::before {
  content: ""; width: 20px; height: 20px; border-radius: 50%; flex: none;
  background: var(--color-mint) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 20 20'%3E%3Cpath d='M6 10.5l2.6 2.6L14 7.5' fill='none' stroke='%23030302' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center / 100% no-repeat;
}

.sc-visual { position: relative; border-radius: var(--radius-3xl); background: var(--color-canvas); overflow: hidden; min-height: 320px; display: grid; place-items: center; isolation: isolate; }
.sc-visual::before { content: ""; position: absolute; inset: 0; background-image: radial-gradient(rgba(3, 3, 2, 0.12) 1.1px, transparent 1.5px); background-size: 18px 18px; z-index: -2; }
.sv-paper { position: absolute; inset: 12% 10% 10% 14%; z-index: -1; transform: rotate(-4deg); filter: var(--paper-shadow); }
.sv-sticker {
  position: absolute; right: 8%; top: 10%; padding: 10px 16px; border-radius: var(--radius-pill);
  background: var(--color-ink); color: var(--color-white); font-size: 13px; font-weight: 600; transform: rotate(8deg);
}

/* 1. composition de page */
.build {
  width: 72%; aspect-ratio: 4 / 3.2; padding: 6%;
  background: var(--color-white); border-radius: var(--radius-2xl); box-shadow: var(--shadow-xl);
  display: grid; grid-template-columns: repeat(3, 1fr); grid-template-rows: auto auto auto auto 1fr; gap: 8px 10px;
}
.bb { display: block; border-radius: 6px; background: var(--color-cloud); }
.bb-nav { grid-column: 1 / -1; height: 12px; background: var(--color-linen); border: 1px solid var(--color-ash); }
.bb-title { grid-column: 1 / 3; height: 20px; background: var(--color-ink); margin-top: 8px; }
.bb-short { grid-column: 1 / 2; margin-top: 0; }
.bb-btn { grid-column: 1 / 2; height: 18px; width: 70%; border-radius: var(--radius-pill); background: var(--color-mint); }
.bb-img { grid-column: 3; grid-row: 2 / 5; background: var(--color-marigold); border-radius: 8px; }
.bb-card { height: 100%; min-height: 54px; background: var(--color-canvas); border: 1px solid var(--color-ash); }

/* 2. avant / après */
.ba { position: relative; width: 78%; aspect-ratio: 4 / 3; border-radius: var(--radius-2xl); overflow: hidden; box-shadow: var(--shadow-xl); background: var(--color-white); }
.ba-old, .ba-new { position: absolute; inset: 0; padding: 7%; display: flex; flex-direction: column; gap: 9px; }
.ba-old { background: #e9e9ef; font-family: "Comic Sans MS", "Trebuchet MS", sans-serif; }
.old-bar { height: 22px; background: #4a5bb5; margin: -7.5% -7.5% 6px; }
.old-title { font-size: clamp(13px, 1.4vw, 18px); color: #c0392b; font-weight: 700; text-align: center; text-decoration: underline; }
.old-row { display: flex; gap: 8px; }
.old-row i { flex: 1; height: 50px; background: #b8b8c4; border: 2px outset #ddd; }
.old-text { height: 7px; background: #c6c6d0; }
.old-text.short { width: 50%; }
.ba-new { background: #fffaf4; clip-path: inset(0 0 0 100%); align-items: flex-start; gap: 12px; }
.new-nav { display: flex; width: 100%; justify-content: space-between; align-items: center; font-family: var(--font-serif); font-size: 15px; }
.new-nav i { width: 50px; height: 16px; border-radius: var(--radius-pill); background: var(--color-ink); }
.new-title { font-family: var(--font-serif); font-size: clamp(24px, 2.6vw, 34px); line-height: 1.02; letter-spacing: -0.04em; margin-top: 6%; }
.new-title em { font-style: italic; }
.new-btn { padding: 7px 14px; border-radius: var(--radius-pill); background: var(--color-ink); color: var(--color-white); font-size: 11px; font-weight: 500; }
.new-cards { display: flex; gap: 8px; width: 100%; margin-top: auto; }
.new-cards i { flex: 1; height: 44px; border-radius: 8px; background: var(--color-mint); }
.new-cards i:nth-child(2) { background: var(--color-marigold); }
.new-cards i:nth-child(3) { background: var(--color-periwinkle); }
.ba-label { position: absolute; left: 12px; bottom: 12px; padding: 4px 10px; border-radius: var(--radius-pill); background: var(--color-white); font-family: var(--font-sans); font-size: 11px; font-weight: 600; box-shadow: var(--shadow-subtle); }
.ba-label-new { left: auto; right: 12px; background: var(--color-ink); color: var(--color-white); }
.ba-handle { position: absolute; top: 0; bottom: 0; left: 100%; width: 2px; background: var(--color-white); box-shadow: 0 0 0 1px rgba(0, 0, 0, 0.08); }
.ba-handle i { position: absolute; top: 50%; left: 50%; width: 36px; height: 36px; margin: -18px 0 0 -18px; display: grid; place-items: center; border-radius: 50%; background: var(--color-white); box-shadow: var(--shadow-md); font-style: normal; font-size: 14px; }

/* 3. SERP */
.serp { width: 76%; padding: 18px; background: var(--color-white); border-radius: var(--radius-2xl); box-shadow: var(--shadow-xl); }
.serp-bar { display: flex; align-items: center; gap: 8px; padding: 10px 14px; border-radius: var(--radius-pill); border: 1px solid var(--color-ash); font-size: 14px; }
.serp-bar svg { width: 16px; height: 16px; fill: none; stroke: var(--color-azure); stroke-width: 2; stroke-linecap: round; }
.serp-list { display: flex; flex-direction: column; margin-top: 12px; }
.serp-list li { display: flex; align-items: center; gap: 12px; height: 56px; padding: 0 10px; border-radius: 8px; }
.serp-rank { display: grid; place-items: center; width: 28px; height: 28px; border-radius: 8px; background: var(--color-linen); font-size: 13px; font-weight: 600; flex: none; }
.serp-body { display: flex; flex-direction: column; gap: 6px; flex: 1; }
.serp-body b { font-size: 14px; color: #1a0dab; font-weight: 600; }
.serp-body b.g { color: var(--color-stone); }
.serp-body i { height: 6px; width: 80%; border-radius: 4px; background: var(--color-cloud); }
.serp-you { position: relative; z-index: 1; background: var(--color-white); box-shadow: var(--shadow-md); }
.serp-you .serp-rank { background: var(--color-mint); }
.serp-up { color: #2fb35a; font-size: 12px; }
.sv-pin {
  position: absolute; right: 10%; bottom: 10%; display: inline-flex; align-items: center; gap: 6px;
  padding: 8px 14px 8px 10px; border-radius: var(--radius-pill); background: var(--color-ink); color: var(--color-white);
  font-size: 13px; font-weight: 600; transform: rotate(-5deg);
}
.sv-pin svg { width: 18px; height: 18px; fill: none; stroke: var(--color-marigold); stroke-width: 2; }

/* 4. maintenance */
.care { width: 74%; padding: 20px; background: var(--color-white); border-radius: var(--radius-2xl); box-shadow: var(--shadow-xl); }
.care-head { display: flex; justify-content: space-between; align-items: center; font-size: 15px; }
.care-status { display: inline-flex; align-items: center; gap: 6px; font-size: 12px; font-weight: 600; padding: 4px 10px; border-radius: var(--radius-pill); background: #e3f5e8; color: #1d8a42; }
.care-status i { width: 7px; height: 7px; border-radius: 50%; background: #2fb35a; }
.care-chart { width: 100%; height: 90px; margin: 16px 0; }
.care-line { fill: none; stroke: var(--color-azure); stroke-width: 2.5; stroke-linecap: round; }
.care-area { fill: rgba(0, 135, 255, 0.08); }
.care-list { display: flex; flex-direction: column; gap: 8px; }
.care-list li { display: flex; align-items: center; gap: 10px; padding: 10px 12px; border-radius: 8px; background: var(--color-linen); font-size: 14px; font-weight: 500; }
.care-list i { display: grid; place-items: center; width: 22px; height: 22px; border-radius: 50%; background: var(--color-mint); font-style: normal; font-size: 12px; }

@media (max-width: 860px) {
  .stack-card { grid-template-columns: 1fr; top: calc(84px + var(--i) * 12px); min-height: 0; }
  .sc-visual { min-height: 260px; order: -1; }
  .build, .ba, .serp, .care { width: 86%; }
}
@media (max-width: 560px) {
  .stack-card { position: relative; top: 0; }
  .sc-visual { min-height: 240px; }
}

/* ==========================================================================
   MÉTHODE
   ========================================================================== */
.process-grid { display: grid; grid-template-columns: 1fr 1.15fr; gap: clamp(40px, 7vw, 120px); align-items: start; }
.process-head { position: sticky; top: 140px; display: flex; flex-direction: column; align-items: flex-start; }
.process-head .lead { margin: 20px 0 32px; }
.steps { position: relative; display: flex; flex-direction: column; gap: 28px; padding-left: 72px; }
.steps-line { position: absolute; left: 23px; top: 24px; bottom: 24px; width: 2px; background: repeating-linear-gradient(to bottom, var(--color-stone) 0 6px, transparent 6px 12px); }
.steps-line i { position: absolute; inset: 0; background: var(--color-ink); transform: scaleY(0); transform-origin: top; }
.step { position: relative; }
.step-dot {
  position: absolute; left: -72px; top: 24px;
  display: grid; place-items: center; width: 48px; height: 48px; border-radius: 50%;
  background: var(--color-canvas); border: 1.5px solid var(--color-ink);
  font-family: var(--font-serif); font-size: 24px; letter-spacing: -0.02em;
  transition: background-color 0.5s, color 0.5s, transform 0.5s var(--ease-out);
}
.step.is-active .step-dot { background: var(--color-ink); color: var(--color-canvas); transform: scale(1.08); }
.step-card {
  padding: 28px; border-radius: var(--radius-3xl); background: var(--color-white); box-shadow: var(--shadow-xl);
}
.step-card.is-in { transition: transform 0.6s var(--ease-out); }
.step:nth-child(odd) .step-card { transform: rotate(0.6deg); }
.step:nth-child(even) .step-card { transform: rotate(-0.6deg); }
.step-card:hover { transform: rotate(0deg) translateY(-4px); }
.step-card h3 { font-size: 22px; font-weight: 600; letter-spacing: -0.6px; margin-bottom: 8px; }
.step-card p { color: var(--color-graphite); }
.step:nth-child(2) .step-card { border-top: 6px solid var(--color-mint); }
.step:nth-child(3) .step-card { border-top: 6px solid var(--color-marigold); }
.step:nth-child(4) .step-card { border-top: 6px solid var(--color-periwinkle); }
.step:nth-child(5) .step-card { border-top: 6px solid var(--color-papaya); }

@media (max-width: 900px) {
  .process-grid { grid-template-columns: 1fr; }
  .process-head { position: relative; top: 0; }
  .steps { padding-left: 60px; }
  .steps-line { left: 19px; }
  .step-dot { left: -60px; width: 40px; height: 40px; font-size: 20px; }
}

/* ==========================================================================
   DIFFÉRENCE
   ========================================================================== */
.features-board {
  display: grid; grid-template-columns: repeat(5, 1fr);
  background: var(--color-white); border-radius: var(--radius-4xl); box-shadow: var(--shadow-xl);
  padding: 12px;
}
.feature { padding: clamp(20px, 2.4vw, 32px); border-radius: var(--radius-3xl); transition: background-color 0.4s; }
.feature + .feature { border-left: 1px dashed var(--color-ash); }
.feature:hover { background: var(--color-canvas); }
.f-icon { display: grid; place-items: center; width: 56px; height: 56px; border-radius: 8px; margin-bottom: 22px; }
.feature:hover .f-icon svg { transform: rotate(-10deg) scale(1.15); }
.f-icon svg { transition: transform 0.6s var(--ease-out); width: 24px; height: 24px; fill: none; stroke: var(--color-ink); stroke-width: 1.6; stroke-linecap: round; stroke-linejoin: round; }
.f-mint { background: var(--color-mint); }
.f-marigold { background: var(--color-marigold); }
.f-peri { background: var(--color-periwinkle); }
.feature h3 { font-size: 18px; font-weight: 600; letter-spacing: -0.4px; margin-bottom: 6px; }
.feature p { font-size: 14px; color: var(--color-graphite); letter-spacing: 0.14px; }

.counters { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; margin-top: clamp(48px, 6vw, 80px); }
.counter { text-align: center; padding: 8px; }
.counter b { display: block; font-family: var(--font-serif); font-weight: 400; font-size: clamp(56px, 7vw, 96px); line-height: 1; letter-spacing: -0.05em; }
.counter > span { display: block; margin-top: 10px; color: var(--color-graphite); font-size: 15px; }
/* Quand la page passe en noir (Réalisations), les chiffres encore visibles passent en clair */
.features-board { color: var(--color-ink); }
.counter b, .counter > span { transition: color 0.6s var(--ease-out); }
body.is-dark .counter b { color: var(--color-canvas); }
body.is-dark .counter > span { color: rgba(255, 243, 231, 0.62); }

@media (max-width: 1000px) {
  .features-board { grid-template-columns: repeat(2, 1fr); gap: 0; }
  .feature + .feature { border-left: 0; }
  .feature:last-child { grid-column: 1 / -1; }
}
@media (max-width: 560px) {
  .features-board { grid-template-columns: 1fr; }
  .counters { grid-template-columns: 1fr; gap: 32px; }
}

/* ==========================================================================
   RÉALISATIONS : défilement horizontal
   ========================================================================== */
.work { position: relative; color: var(--color-canvas); padding-block: var(--section); }
.work-pin { display: flex; flex-direction: column; justify-content: center; gap: clamp(40px, 5vw, 64px); }
.work-head { display: flex; justify-content: space-between; align-items: flex-end; gap: 32px; flex-wrap: wrap; }
.work-head .h-lg { max-width: none; }
@media (max-width: 600px) { .work-head .br-md { display: none; } }
.work-track {
  display: flex; gap: clamp(16px, 2vw, 28px);
  padding-inline: max(var(--gutter), calc((100vw - var(--max)) / 2));
  will-change: transform;
}
.work-card { position: relative; flex: none; width: clamp(280px, 38vw, 520px); display: flex; flex-direction: column; gap: 18px; }
.wc-media { position: relative; aspect-ratio: 4 / 3; border-radius: var(--radius-3xl); overflow: hidden; background: var(--color-graphite); }
.wc-media img { width: 100%; height: 100%; object-fit: cover; transform: scale(1.12); transition: transform 1.2s var(--ease-out); }
.work-card:hover .wc-media img { transform: scale(1.04); }
@media (min-width: 1024px) { html.js .wc-media img { transition: none; } }
.wc-meta { display: flex; flex-direction: column; align-items: flex-start; gap: 8px; }
.wc-meta .tag { color: var(--color-ink); }
.wc-meta h3 { font-family: var(--font-serif); font-weight: 400; font-size: clamp(24px, 2.2vw, 30px); letter-spacing: -0.03em; line-height: 1.15; }
.wc-meta p { font-size: 14px; color: rgba(255, 243, 231, 0.6); }
.work-card--cta {
  justify-content: center; align-items: flex-start; gap: 28px;
  padding: clamp(28px, 3vw, 48px); aspect-ratio: 4 / 3; align-self: flex-start;
  color: var(--color-ink); isolation: isolate;
}
.wcc-paper { position: absolute; inset: 0; z-index: -1; transform: rotate(-2deg); }
.wcc-text { font-family: var(--font-serif); font-size: clamp(30px, 3.2vw, 46px); line-height: 1.05; letter-spacing: -0.04em; }
.wcc-text em { font-style: italic; }

@media (min-width: 1024px) {
  .work { min-height: 100vh; display: flex; align-items: center; padding-block: 80px; }
  .work-pin { width: 100%; gap: clamp(28px, 5vh, 52px); }
  .work-card { width: min(34vw, 50vh); }
  .work-card--cta { width: min(30vw, 46vh); }
}
@media (max-width: 1023px) {
  .work-track::-webkit-scrollbar { display: none; }
  .work-card { width: min(78vw, 420px); gap: 14px; }
  .work-card--cta { padding: 24px; }
  /* Sans JavaScript ou écran trop bas (mobile à l'horizontale) : défilement au doigt */
  html:not(.js) .work-track { overflow-x: auto; scroll-snap-type: x mandatory; padding-bottom: 12px; scrollbar-width: none; }
  html:not(.js) .work-card { scroll-snap-align: center; }
}
@media (max-width: 1023px) and (max-height: 499px) {
  .work-track { overflow-x: auto; scroll-snap-type: x mandatory; padding-bottom: 12px; scrollbar-width: none; }
  .work-card { scroll-snap-align: center; }
}
@media (max-width: 1023px) and (min-height: 500px) {
  /* Section épinglée : elle tient sur un écran, les cartes défilent au scroll */
  .work { min-height: 100vh; min-height: 100svh; display: flex; align-items: center; padding-block: 80px 24px; }
  .work-pin { width: 100%; gap: clamp(20px, 4vh, 40px); }
  .work-head { gap: 16px; }
  .work-card { width: min(78vw, 520px, calc((100svh - 430px) * 1.333)); min-width: 220px; }
  .work-card--cta { width: max(min(80vw, 290px), min(78vw, 460px, calc((100svh - 430px) * 1.333))); }
  .work-card--cta .btn { padding-inline: 20px; }
}
/* Mobile : on resserre la bande noire entre les compteurs et les Réalisations */
@media (max-width: 767px) {
  .features:has(+ .work), .features:has(+ .pin-spacer) { padding-bottom: 32px; }
}
/* Mobile : pendant l'épinglage, les cartes occupent toute la hauteur restante.
   Les visuels ont un fond uni : le cadre coloré s'allonge sans rogner la maquette. */
@media (max-width: 767px) and (min-height: 500px) {
  .work { align-items: stretch; padding-block: 92px 28px; }
  .work-pin { justify-content: flex-start; }
  .work-track { flex: 1 1 auto; min-height: 0; }
  .work-card { width: min(80vw, 420px); min-width: 0; }
  .work .wc-media { flex: 1 1 auto; min-height: 0; aspect-ratio: auto; }
  .work .wc-media img { position: absolute; inset: 0; object-fit: contain; }
  .work-card:has(.tag-mint) .wc-media { background: var(--color-mint); }
  .work-card:has(.tag-peri) .wc-media { background: var(--color-periwinkle); }
  .work-card:has(.tag-marigold) .wc-media { background: var(--color-marigold); }
  .work-card--cta { width: min(80vw, 420px); align-self: stretch; aspect-ratio: auto; }
}
@media (max-width: 1023px) and (min-height: 500px) and (max-height: 700px) {
  .work .h-lg { font-size: clamp(28px, 8vw, 34px); }
  .wc-meta p { display: none; }
}

/* ==========================================================================
   ZONE
   ========================================================================== */
.zone-grid { display: grid; grid-template-columns: 1.2fr 1fr; gap: clamp(40px, 6vw, 96px); align-items: center; }
.zone-copy .lead { margin-top: 20px; max-width: none; font-size: clamp(17px, 1.25vw, 18px); text-wrap: balance; }
.zone-list { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; margin-top: 32px; }
.zone-list li { padding: 14px 18px; border-radius: var(--radius-xl); background: var(--color-white); box-shadow: var(--shadow-subtle); font-size: 15px; }
.zone-map { position: relative; aspect-ratio: 1; isolation: isolate; }
.map-paper { position: absolute; inset: 4%; z-index: -2; transform: rotate(3deg); filter: var(--paper-shadow); }
.map-grid { position: absolute; inset: 10%; z-index: -1; border-radius: 50%; background-image: radial-gradient(rgba(3, 3, 2, 0.2) 1.2px, transparent 1.6px); background-size: 18px 18px; -webkit-mask: radial-gradient(closest-side, #000 60%, transparent); mask: radial-gradient(closest-side, #000 60%, transparent); }
.map-river { position: absolute; inset: 4%; width: 92%; height: 92%; overflow: visible; }
.map-river path { fill: none; stroke: rgba(0, 135, 255, 0.55); stroke-width: 6; stroke-linecap: round; }
.map-ring { position: absolute; left: 50%; top: 48%; border-radius: 50%; border: 1.5px dashed rgba(3, 3, 2, 0.25); transform: translate(-50%, -50%); }
.map-ring.r1 { width: 28%; aspect-ratio: 1; }
.map-ring.r2 { width: 54%; aspect-ratio: 1; }
.map-ring.r3 { width: 82%; aspect-ratio: 1; }
.map-pin { position: absolute; left: 50%; top: 48%; transform: translate(-50%, -100%); display: flex; flex-direction: column; align-items: center; }
.map-pin b {
  padding: 10px 18px; border-radius: var(--radius-pill); background: var(--color-ink); color: var(--color-white);
  font-family: var(--font-serif); font-weight: 400; font-size: 24px; letter-spacing: -0.03em; box-shadow: var(--shadow-md);
}
.map-pin::after { content: ""; width: 14px; height: 14px; margin-top: 6px; border-radius: 50%; background: var(--color-papaya); box-shadow: 0 0 0 6px rgba(255, 69, 0, 0.18); animation: pin 2s ease-in-out infinite; }
@keyframes pin { 50% { box-shadow: 0 0 0 12px rgba(255, 69, 0, 0.05); } }
.town {
  position: absolute; left: var(--x); top: var(--y); transform: translate(-50%, -50%);
  padding: 7px 14px; border-radius: var(--radius-pill); background: var(--color-white); box-shadow: var(--shadow-md-3);
  font-size: 13px; font-weight: 500; white-space: nowrap;
}
.town-dark { background: var(--color-marigold); }

@media (max-width: 900px) {
  .zone-grid { grid-template-columns: 1fr; }
  .zone-map { max-width: 520px; width: 100%; margin: 0 auto; }
}
@media (max-width: 420px) {
  .zone-list { grid-template-columns: 1fr; }
  .town { font-size: 11px; padding: 5px 10px; }
  .map-pin b { font-size: 20px; }
}

/* ==========================================================================
   FONDATEUR
   ========================================================================== */
.founder-grid { display: grid; grid-template-columns: 1fr 1.1fr; gap: clamp(40px, 7vw, 112px); align-items: center; }
.founder-visual { position: relative; aspect-ratio: 4 / 4.4; max-width: 520px; width: 100%; isolation: isolate; }
.fv-paper { position: absolute; inset: 8% 12% 14% 0; z-index: -2; transform: rotate(-5deg); filter: var(--paper-shadow); }
.fv-grid { position: absolute; inset: 30% 0 0 30%; z-index: -1; transform: rotate(6deg); filter: var(--paper-shadow); }
.polaroid {
  position: absolute; left: 14%; top: 10%; width: 66%;
  padding: 12px 12px 56px; background: var(--color-white); border-radius: 6px; box-shadow: var(--shadow-xl), var(--shadow-md-2);
  transform: rotate(-3deg);
}
.polaroid img { width: 100%; height: auto; aspect-ratio: 4 / 4.4; object-fit: cover; border-radius: 3px; }
.polaroid figcaption { position: absolute; left: 0; right: 0; bottom: 14px; text-align: center; font-family: var(--font-serif); font-style: italic; font-size: 24px; letter-spacing: -0.03em; }
.fv-sticker { position: absolute; right: 2%; bottom: 14%; padding: 12px 18px; border-radius: var(--radius-pill); background: var(--color-ink); color: var(--color-white); font-size: 14px; font-weight: 600; transform: rotate(-7deg); box-shadow: var(--shadow-md); }
.founder-copy { display: flex; flex-direction: column; align-items: flex-start; gap: 24px; }
.founder-copy .eyebrow-plain { margin-bottom: -4px; }
.founder-copy > p { color: var(--color-graphite); max-width: 540px; }
.quote { position: relative; padding-left: 24px; border-left: 3px solid var(--color-mint); }
.quote p { font-size: clamp(24px, 2.4vw, 32px); line-height: 1.25; letter-spacing: -0.03em; font-style: italic; }
.signature { display: flex; align-items: center; gap: 14px; }
.signature > span:last-child { display: flex; flex-direction: column; }
.signature b { font-weight: 600; }
.signature span span { font-size: 14px; color: var(--color-graphite); }
.sig-avatar { display: grid; place-items: center; width: 52px; height: 52px; border-radius: 50%; background: var(--color-mint); font-weight: 700; letter-spacing: 0.04em; box-shadow: 0 0 0 4px var(--color-white), var(--shadow-md-2); }

@media (max-width: 900px) {
  .founder-grid { grid-template-columns: 1fr; }
  .founder-visual { margin: 0 auto; max-width: 440px; }
}

/* ==========================================================================
   FAQ
   ========================================================================== */
.faq-grid { display: grid; grid-template-columns: 1fr 1.4fr; gap: clamp(40px, 6vw, 96px); align-items: start; }
.faq-head { position: sticky; top: 140px; display: flex; flex-direction: column; align-items: flex-start; gap: 24px; }
.faq-head .eyebrow-plain { margin-bottom: -4px; }
.faq-list { display: flex; flex-direction: column; gap: 12px; }
.faq-item { background: var(--color-white); border-radius: var(--radius-3xl); box-shadow: var(--shadow-subtle); transition: box-shadow 0.5s var(--ease-out); }
.faq-item.is-open { box-shadow: var(--shadow-xl); }
.faq-q { width: 100%; display: flex; justify-content: space-between; align-items: center; gap: 20px; padding: 24px 26px; text-align: left; font-size: 18px; font-weight: 500; letter-spacing: -0.4px; }
.faq-icon { position: relative; width: 36px; height: 36px; flex: none; border-radius: 8px; background: var(--color-canvas); transition: background-color 0.4s, transform 0.5s var(--ease-out); }
.faq-icon::before, .faq-icon::after { content: ""; position: absolute; left: 50%; top: 50%; width: 13px; height: 1.6px; margin: -0.8px 0 0 -6.5px; background: currentColor; border-radius: 2px; transition: transform 0.5s var(--ease-out); }
.faq-icon::after { transform: rotate(90deg); }
.faq-item.is-open .faq-icon { background: var(--color-mint); transform: rotate(180deg); }
.faq-item.is-open .faq-icon::after { transform: rotate(0deg); }
.faq-a { height: 0; overflow: hidden; }
.faq-a p { padding: 0 26px 26px; color: var(--color-graphite); max-width: 640px; }
.faq-a a { color: var(--color-ink); text-decoration: underline; text-underline-offset: 3px; }
html:not(.js) .faq-a, .anim-fallback .faq-a { height: auto; }

@media (max-width: 900px) {
  .faq-grid { grid-template-columns: 1fr; }
  .faq-head { position: relative; top: 0; }
  .faq-q { font-size: 16px; padding: 20px; }
  .faq-a p { padding: 0 20px 22px; }
}

/* ==========================================================================
   CTA
   ========================================================================== */

.cta-card { position: relative; isolation: isolate; padding: clamp(64px, 9vw, 128px) var(--gutter); text-align: center; }
.cta-paper { position: absolute; inset: 0; z-index: -2; filter: var(--paper-shadow); }
.cta-deco { position: absolute; z-index: -1; filter: var(--paper-shadow); }
.cta-deco-1 { width: 18%; height: 34%; left: -3%; top: -8%; transform: rotate(-10deg); }
.cta-deco-2 { width: 14%; height: 28%; right: -2%; bottom: -10%; transform: rotate(8deg); }
.cta-deco-3 { width: 16%; height: 22%; right: 6%; top: -6%; transform: rotate(4deg); }
.cta-inner { display: flex; flex-direction: column; align-items: center; gap: 24px; }
.cta-inner .eyebrow-plain { margin-bottom: -4px; }
.cta-inner .h-xl { max-width: 14ch; }
.cta-inner .lead { max-width: 520px; }
.cta-actions { display: flex; flex-wrap: wrap; justify-content: center; gap: 12px; margin-top: 8px; }
.cta-mail { font-size: 15px; font-weight: 500; border-bottom: 1px solid currentColor; }

@media (max-width: 560px) {
  .cta-actions .btn { width: 100%; }
  .cta-deco-3 { display: none; }
}

/* ==========================================================================
   FOOTER
   ========================================================================== */
.footer {
  position: relative; margin-top: var(--section);
  background: var(--color-ink); color: var(--color-canvas);
  border-radius: var(--radius-4xl) var(--radius-4xl) 0 0;
  padding: clamp(56px, 7vw, 96px) 0 28px; overflow: hidden;
}
.footer-top { display: grid; grid-template-columns: 1.6fr 1fr 1fr 1.2fr; gap: 40px; }
.footer-brand p { margin-top: 20px; max-width: 360px; color: rgba(255, 243, 231, 0.65); font-size: 15px; }
.footer-col h3 { font-size: 12px; font-weight: 600; text-transform: uppercase; letter-spacing: 0.14em; color: rgba(255, 243, 231, 0.5); margin-bottom: 16px; }
.footer-col ul { display: flex; flex-direction: column; gap: 10px; font-size: 15px; }
.footer-col a { transition: color 0.3s; }
.footer-col a:hover { color: var(--color-marigold); }
.footer-bottom { margin-top: clamp(48px, 6vw, 80px); display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 16px; padding-top: 24px; border-top: 1px solid rgba(255, 243, 231, 0.14); font-size: 13px; color: rgba(255, 243, 231, 0.6); }
.footer-legal { display: flex; gap: 20px; }
.footer-legal a:hover, .to-top:hover { color: var(--color-canvas); }
.to-top { font-size: 13px; color: rgba(255, 243, 231, 0.6); }

@media (max-width: 900px) {
  .footer-top { grid-template-columns: 1fr 1fr; }
  .footer-brand { grid-column: 1 / -1; }
}
/* Téléphone : footer façon agencialy (une colonne, liens aérés, puis mentions) */
@media (max-width: 767px) {
  .footer { padding-bottom: 20px; }
  .footer .container { display: flex; flex-direction: column; }
  .footer-top { grid-template-columns: minmax(0, 1fr); gap: 36px; }
  .footer-brand p { margin-top: 16px; }
  .footer-col h3 { margin-bottom: 6px; font-size: 13px; font-weight: 500; text-transform: none; letter-spacing: 0.01em; }
  .footer-col ul { gap: 2px; }
  .footer-col a { display: inline-block; padding: 8px 0; }
  .footer-col li:not(:has(a)) { padding-top: 8px; color: rgba(255, 243, 231, 0.6); }
  .footer-bottom {
    order: 2; margin-top: 48px; padding-top: 14px;
    flex-direction: column; align-items: flex-start; gap: 0;
  }
  .footer-bottom > span:first-child { padding: 10px 0; }
  .footer-legal a, .to-top { display: inline-block; padding: 10px 0; }
  .footer-legal { gap: 22px; }
}

/* ==========================================================================
   CURSEUR CONTEXTUEL
   ========================================================================== */
.cursor {
  position: fixed; left: 0; top: 0; z-index: 260; pointer-events: none;
  width: 0; height: 0;
}
.cursor-label {
  position: absolute; left: 0; top: 0; transform: translate(-50%, -50%) scale(0);
  display: grid; place-items: center; width: 108px; height: 108px; border-radius: 50%;
  background: var(--color-marigold); color: var(--color-ink);
  font-size: 13px; font-weight: 600; text-align: center; line-height: 1.2; padding: 16px;
  transition: transform 0.45s var(--ease-out);
}
.cursor.is-active .cursor-label { transform: translate(-50%, -50%) scale(1); }
@media (hover: none), (pointer: coarse) { .cursor { display: none; } }

/* ==========================================================================
   FILETS DE SÉCURITÉ
   ========================================================================== */
.anim-fallback .loader, html:not(.js) .loader { display: none; }
.anim-fallback .ba-new { clip-path: none; }
.anim-fallback .ba-handle { display: none; }

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: 0.001ms !important; animation-iteration-count: 1 !important; transition-duration: 0.001ms !important; }
  .loader { display: none; }
  .ba-new { clip-path: none; }
  .ba-handle { display: none; }
}

/* ==========================================================================
   PAGES INTÉRIEURES : en-tête de page
   ========================================================================== */
.page-hero {
  position: relative; isolation: isolate; overflow: hidden;
  padding: clamp(136px, 18vh, 184px) 0 clamp(104px, 12vw, 156px);
  text-align: center;
}
.page-hero .pp-1 { width: 22vw; height: 46%; left: -6vw; top: 50%; transform: rotate(-7deg); }
.page-hero .pp-2 { width: 17vw; height: 34%; right: -4vw; top: 12%; transform: rotate(8deg); }
.page-hero .pp-3 { width: 11vw; height: 24%; left: 5vw; top: 13%; transform: rotate(5deg); }
.page-hero .pp-4 { width: 14vw; height: 30%; right: 7vw; top: 60%; transform: rotate(-5deg); }
.page-hero .pp-5 { width: 6vw; height: 13%; right: 22vw; top: 10%; transform: rotate(-10deg); filter: none; }
.ph-inner { position: relative; z-index: 2; max-width: 1040px; margin: 0 auto; padding-inline: var(--gutter); display: flex; flex-direction: column; align-items: center; }
.breadcrumb ol { display: flex; flex-wrap: wrap; justify-content: center; gap: 8px; font-size: 13px; font-weight: 500; color: var(--color-graphite); }
.breadcrumb li { display: inline-flex; align-items: center; gap: 8px; }
.breadcrumb li + li::before { content: "/"; opacity: 0.45; }
.breadcrumb a { background: linear-gradient(currentColor, currentColor) left bottom / 0% 1px no-repeat; transition: background-size 0.4s var(--ease-out); }
.breadcrumb a:hover { background-size: 100% 1px; }
.breadcrumb [aria-current] { color: var(--color-ink); }
.ph-eyebrow { margin-top: 26px; }
.ph-title { margin-top: 22px; font-family: var(--font-serif); font-weight: 400; font-size: 32px; line-height: 1.08; letter-spacing: -0.04em; text-wrap: balance; }
.ph-title em { font-style: italic; }
.ph-lead { margin: 24px auto 0; max-width: 620px; font-size: 16px; line-height: 1.55; color: var(--color-graphite); text-wrap: balance; }
.ph-ctas { display: flex; flex-wrap: wrap; justify-content: center; gap: 12px; margin-top: 32px; }
.page-hero .hero-collage { z-index: -1; }
.piece { position: absolute; will-change: transform; filter: var(--paper-shadow); }
.piece .paper { width: 100%; height: 100%; }
.page-hero .hero-edge { bottom: -1px; height: 42px; z-index: 3; }
.page-hero--sm { padding-bottom: clamp(80px, 9vw, 116px); }
@media (max-width: 767px) {
  .ph-title br { display: none; }
  .page-hero .pp-1 { width: 40vw; height: 22%; top: 74%; left: -16vw; }
  .page-hero .pp-2 { width: 30vw; height: 16%; top: 7%; right: -14vw; }
  .page-hero .pp-3, .page-hero .pp-5 { display: none; }
  .page-hero .pp-4 { width: 28vw; height: 18%; top: 80%; right: -12vw; }
  .ph-ctas { width: 100%; }
  .ph-ctas .btn { width: 100%; }
}
@media (min-width: 768px) {
  .ph-title { font-size: 48px; }
  .ph-lead { max-width: 680px; font-size: 17px; }
}
@media (min-width: 1024px) {
  .ph-title { font-size: 64px; }
  .ph-lead { max-width: 760px; font-size: 18px; }
}

/* Ancres internes : on laisse la place du header fixe */
section[id], article[id], div[id].split, h2[id] { scroll-margin-top: 110px; }

/* Raccourcis vers les sections d'une page */
.jump { display: flex; flex-wrap: wrap; justify-content: center; gap: 10px; margin-bottom: clamp(64px, 8vw, 110px); }
.others .jump { margin-bottom: 0; }
.jump a {
  display: inline-flex; align-items: center; gap: 10px; height: 46px; padding: 0 20px 0 16px;
  border-radius: var(--radius-pill); background: var(--color-white); box-shadow: var(--shadow-subtle);
  font-size: 15px; font-weight: 500; transition: box-shadow 0.35s, background-color 0.35s, color 0.35s;
}
.jump a i { width: 12px; height: 12px; border-radius: 3px; transform: rotate(-8deg); }
.jump a:hover { background: var(--color-ink); color: var(--color-white); box-shadow: var(--shadow-md); }

/* ==========================================================================
   PAGES INTÉRIEURES : blocs de contenu
   ========================================================================== */
.section-tight { padding-top: 0; }

/* Rangées texte + visuel en alternance */
.split { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(40px, 6vw, 96px); align-items: center; }
.split + .split { margin-top: clamp(96px, 11vw, 140px); }
.split--rev .split-visual { order: -1; }
.split-copy { display: flex; flex-direction: column; align-items: flex-start; gap: 20px; }
.split-copy > p { color: var(--color-graphite); max-width: 560px; }
.split-copy .h-lg { max-width: 15ch; }
.split-links { display: flex; flex-wrap: wrap; align-items: center; gap: 14px 28px; }
.split .sc-visual { aspect-ratio: 1 / 0.86; min-height: 0; width: 100%; background: var(--color-white); box-shadow: var(--shadow-xl); }
.mini-label { font-size: 12px; font-weight: 600; letter-spacing: 0.14em; text-transform: uppercase; color: var(--color-graphite); margin-top: 6px; }
.ticks-2 { display: grid; grid-template-columns: 1fr 1fr; gap: 12px 24px; margin: 0; }
.ticks-2 li { align-items: flex-start; }
.for-who { display: flex; flex-wrap: wrap; gap: 8px; }
@media (max-width: 900px) {
  .split { grid-template-columns: 1fr; }
  .split .split-visual { order: -1; }
  .split .sc-visual { aspect-ratio: 1 / 0.8; }
}
@media (max-width: 480px) {
  .ticks-2 { grid-template-columns: 1fr; }
  .split .sc-visual { aspect-ratio: 1 / 0.95; }
}

/* Grille de cartes d'information */
.info-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.info-grid--4 { grid-template-columns: repeat(4, 1fr); }
.info-grid--2 { grid-template-columns: repeat(2, 1fr); }
.info-card {
  position: relative; padding: clamp(24px, 2.6vw, 34px); border-radius: var(--radius-3xl);
  background: var(--color-white); box-shadow: var(--shadow-subtle);
  transition: box-shadow 0.5s var(--ease-out);
}
.info-card:hover { box-shadow: var(--shadow-xl); }
.info-card .f-icon { margin-bottom: 20px; }
.info-card:hover .f-icon svg { transform: rotate(-10deg) scale(1.15); }
.info-card h3 { font-size: 19px; font-weight: 600; letter-spacing: -0.4px; margin-bottom: 8px; }
.info-card p { font-size: 15px; color: var(--color-graphite); }
.info-card .ic-num { position: absolute; right: 24px; top: 20px; font-family: var(--font-serif); font-size: 40px; line-height: 1; letter-spacing: -0.04em; color: rgba(3, 3, 2, 0.12); }
.grid-head { margin-bottom: clamp(40px, 5vw, 64px); }
@media (max-width: 1000px) {
  .info-grid, .info-grid--4 { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 600px) {
  .info-grid, .info-grid--4, .info-grid--2 { grid-template-columns: 1fr; }
}

/* Bandeau papier (renvoi vers une autre page) */
.band { position: relative; isolation: isolate; display: grid; grid-template-columns: 1fr auto; align-items: center; gap: 32px; padding: clamp(32px, 5vw, 64px); }
.band-paper { position: absolute; inset: 0; z-index: -1; filter: var(--paper-shadow); }
.band .h-md { max-width: 24ch; }
.band .h-md.is-wide { max-width: none; }
.band p { margin-top: 12px; color: var(--color-graphite); max-width: 600px; }
@media (max-width: 760px) {
  .band { grid-template-columns: 1fr; }
  .band .btn { width: 100%; }
}

/* ==========================================================================
   TARIFS
   ========================================================================== */
.plans { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; align-items: stretch; }
.plan {
  position: relative; display: flex; flex-direction: column; gap: 18px;
  padding: clamp(28px, 3vw, 40px); border-radius: var(--radius-4xl);
  background: var(--color-white); box-shadow: var(--shadow-xl);
}
.plan-name { font-family: var(--font-serif); font-weight: 400; font-size: clamp(28px, 2.6vw, 34px); letter-spacing: -0.03em; line-height: 1.1; }
.plan-desc { color: var(--color-graphite); font-size: 15px; }
.plan-price { display: flex; flex-direction: column; gap: 4px; padding: 18px 0; border-block: 1px dashed var(--color-stone); }
.plan-price b { font-family: var(--font-serif); font-weight: 400; font-size: clamp(32px, 3.2vw, 42px); line-height: 1.05; letter-spacing: -0.04em; }
.plan-price span { font-size: 13px; color: var(--color-graphite); }
.plan-plus { font-size: 13px; font-weight: 600; letter-spacing: 0.02em; text-transform: uppercase; color: var(--color-graphite); margin-bottom: -4px; }
.plan--featured .plan-plus { color: var(--color-mint); }
.plan .ticks { margin: 0; }
.plan .ticks li { align-items: flex-start; }
.plan .btn { margin-top: auto; width: 100%; }
.plan--featured { background: var(--color-ink); color: var(--color-canvas); }
.plan--featured .plan-desc, .plan--featured .plan-price span { color: rgba(255, 243, 231, 0.65); }
.plan--featured .plan-price { border-color: rgba(255, 243, 231, 0.22); }
.plan--featured .ticks li::before { background-color: var(--color-mint); }
.plan-sticker {
  position: absolute; top: -14px; right: 22px; padding: 7px 14px; border-radius: var(--radius-pill);
  background: var(--color-marigold); color: var(--color-ink); font-size: 12px; font-weight: 600; transform: rotate(4deg);
  box-shadow: var(--shadow-md-3);
}
.plans-note { margin-top: 28px; text-align: center; font-size: 14px; color: var(--color-graphite); }
@media (max-width: 1000px) {
  .plans { grid-template-columns: 1fr; max-width: 560px; margin-inline: auto; }
}

/* ==========================================================================
   RÉALISATIONS (page)
   ========================================================================== */
.projects { display: flex; flex-direction: column; gap: clamp(96px, 11vw, 140px); }
.project { display: grid; grid-template-columns: 1.2fr 1fr; gap: clamp(40px, 6vw, 96px); align-items: center; }
.project:nth-child(even) .project-visual { order: 2; }
.project-visual { position: relative; isolation: isolate; padding: 4%; }
.project-paper { position: absolute; inset: 0 6% 8% 0; z-index: -1; transform: rotate(-3deg); filter: var(--paper-shadow); }
.project:nth-child(even) .project-paper { inset: 0 0 8% 6%; transform: rotate(3deg); }
.project-media { display: block; position: relative; aspect-ratio: 4 / 3; border-radius: var(--radius-3xl); overflow: hidden; background: var(--color-white); box-shadow: var(--shadow-xl); }
.project-media img { width: 100%; height: 100%; object-fit: cover; object-position: top center; transform: scale(1.04); transition: transform 1.2s var(--ease-out); }
.project-media:hover img { transform: scale(1); }
.project-copy { display: flex; flex-direction: column; align-items: flex-start; gap: 18px; }
.project-copy > p { color: var(--color-graphite); max-width: 520px; }
.project-num { font-family: var(--font-serif); font-size: 15px; font-style: italic; color: var(--color-graphite); }
.project-facts { display: grid; grid-template-columns: auto 1fr; gap: 8px 20px; font-size: 15px; padding: 18px 0; border-block: 1px dashed var(--color-stone); width: 100%; max-width: 520px; }
.project-facts dt { color: var(--color-graphite); }
.project-facts dd { font-weight: 500; }
@media (max-width: 900px) {
  .project { grid-template-columns: 1fr; }
  .project:nth-child(even) .project-visual { order: 0; }
}

/* ==========================================================================
   FAQ (page)
   ========================================================================== */
.faq-group + .faq-group { margin-top: clamp(80px, 9vw, 120px); }

/* ==========================================================================
   CONTACT
   ========================================================================== */
.contact-grid { display: grid; grid-template-columns: 1fr 1.35fr; gap: clamp(40px, 6vw, 96px); align-items: start; }
.contact-aside { position: sticky; top: 120px; display: flex; flex-direction: column; gap: 14px; }
.contact-aside .h-md { margin-bottom: 4px; }
.contact-aside > p { color: var(--color-graphite); margin-bottom: 10px; }
.contact-card {
  display: flex; align-items: center; gap: 16px; padding: 18px 20px; border-radius: var(--radius-3xl);
  background: var(--color-white); box-shadow: var(--shadow-subtle); transition: box-shadow 0.5s var(--ease-out);
}
a.contact-card:hover { box-shadow: var(--shadow-xl); }
.contact-card .f-icon { width: 48px; height: 48px; margin: 0; flex: none; }
.contact-card .f-icon svg { width: 22px; height: 22px; }
a.contact-card:hover .f-icon svg { transform: rotate(-10deg) scale(1.15); }
.contact-card > span:last-child { display: flex; flex-direction: column; gap: 2px; min-width: 0; }
.contact-card small { font-size: 12px; font-weight: 600; letter-spacing: 0.12em; text-transform: uppercase; color: var(--color-graphite); }
.contact-card b { font-weight: 600; font-size: 17px; letter-spacing: -0.3px; overflow-wrap: anywhere; }
.next-steps { margin-top: 18px; padding: 24px; border-radius: var(--radius-3xl); background: var(--color-white); box-shadow: var(--shadow-subtle); }
.next-steps h3 { font-size: 17px; font-weight: 600; margin-bottom: 14px; }
.next-steps ol { display: flex; flex-direction: column; gap: 12px; counter-reset: ns; }
.next-steps li { display: flex; gap: 12px; font-size: 15px; color: var(--color-graphite); counter-increment: ns; }
.next-steps li::before { content: counter(ns); flex: none; display: grid; place-items: center; width: 26px; height: 26px; border-radius: 50%; background: var(--color-marigold); color: var(--color-ink); font-size: 13px; font-weight: 600; }

.form-card { position: relative; padding: clamp(24px, 3.4vw, 48px); border-radius: var(--radius-4xl); background: var(--color-white); box-shadow: var(--shadow-xl); }
.form-card h2 { font-family: var(--font-serif); font-weight: 400; font-size: clamp(28px, 2.6vw, 36px); letter-spacing: -0.03em; line-height: 1.1; }
.form-card > p { margin-top: 8px; color: var(--color-graphite); font-size: 15px; }
.form { display: flex; flex-direction: column; gap: 20px; margin-top: 28px; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
.field { display: flex; flex-direction: column; gap: 8px; }
.field label, .field legend { font-size: 14px; font-weight: 600; letter-spacing: -0.1px; padding: 0; }
.field .req { color: var(--color-papaya); }
.field .opt { font-weight: 400; color: var(--color-graphite); }
.field input, .field select, .field textarea {
  width: 100%; font: inherit; font-size: 16px; color: var(--color-ink);
  padding: 14px 16px; border-radius: var(--radius-xl); border: 1px solid var(--color-ash);
  background: var(--color-linen); transition: border-color 0.3s, background-color 0.3s, box-shadow 0.3s;
}
.field input, .field select { height: 52px; padding-block: 0; }
.field textarea { min-height: 160px; resize: vertical; line-height: 1.5; }
.field select { appearance: none; padding-right: 44px; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3E%3Cpath d='M4 6l4 4 4-4' fill='none' stroke='%23030302' stroke-width='1.6' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E"); background-repeat: no-repeat; background-position: right 16px center; background-size: 16px; }
.field input:hover, .field select:hover, .field textarea:hover { border-color: var(--color-stone); }
.field input:focus, .field select:focus, .field textarea:focus { outline: none; background-color: var(--color-white); border-color: var(--color-ink); box-shadow: 0 0 0 4px rgba(155, 216, 169, 0.45); }
.field.has-error input, .field.has-error textarea { border-color: var(--color-papaya); }
.field-error { font-size: 13px; color: #b83400; display: none; }
.field.has-error .field-error { display: block; }
fieldset.field { border: 0; margin: 0; padding: 0; min-width: 0; }
.choices { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 2px; }
.choice { position: relative; }
.choice input { position: absolute; opacity: 0; width: 1px; height: 1px; }
.choice span {
  display: inline-flex; align-items: center; height: 42px; padding: 0 16px; border-radius: var(--radius-pill);
  background: var(--color-linen); box-shadow: inset 0 0 0 1px var(--color-ash);
  font-size: 15px; font-weight: 500; cursor: pointer; transition: background-color 0.3s, box-shadow 0.3s;
}
.choice span:hover { box-shadow: inset 0 0 0 1px var(--color-stone); }
.choice input:checked + span { background: var(--color-mint); box-shadow: inset 0 0 0 1px rgba(3, 3, 2, 0.25); }
.choice input:focus-visible + span { outline: 2px solid var(--color-azure); outline-offset: 2px; }
.consent { display: flex; align-items: flex-start; gap: 12px; font-size: 14px; color: var(--color-graphite); cursor: pointer; }
.consent input { width: 20px; height: 20px; margin-top: 1px; flex: none; accent-color: var(--color-ink); }
.consent a { color: var(--color-ink); text-decoration: underline; text-underline-offset: 3px; }
.field.has-error .consent { color: #b83400; }
.form-foot { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 16px; margin-top: 4px; }
.form-foot small { font-size: 13px; color: var(--color-graphite); }
.form-status { display: none; padding: 16px 18px; border-radius: var(--radius-xl); font-size: 15px; }
.form-status.is-ok { display: block; background: #e3f5e8; color: #14612f; }
.form-status.is-error { display: block; background: #ffe6dc; color: #9a2e00; }
.form-status a { text-decoration: underline; text-underline-offset: 3px; }
.hp-field { position: absolute !important; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
@media (max-width: 900px) {
  .contact-grid { grid-template-columns: 1fr; }
  .contact-aside { position: relative; top: 0; }
}
@media (max-width: 560px) {
  .form-row { grid-template-columns: 1fr; }
  .form-foot .btn { width: 100%; }
}

/* ==========================================================================
   PAGES LÉGALES
   ========================================================================== */
.legal { max-width: 820px; margin: 0 auto; }
.legal-meta { font-size: 14px; color: var(--color-graphite); margin-bottom: 32px; }
.legal-toc { padding: 24px 28px; border-radius: var(--radius-3xl); background: var(--color-white); box-shadow: var(--shadow-subtle); margin-bottom: 56px; }
.legal-toc p { font-size: 12px; font-weight: 600; letter-spacing: 0.14em; text-transform: uppercase; color: var(--color-graphite); margin-bottom: 12px; }
.legal-toc ol { display: grid; grid-template-columns: 1fr 1fr; gap: 8px 24px; list-style: decimal inside; font-size: 15px; font-weight: 500; }
.legal-toc a:hover { text-decoration: underline; text-underline-offset: 3px; }
.legal h2 { font-family: var(--font-serif); font-weight: 400; font-size: clamp(26px, 2.4vw, 32px); letter-spacing: -0.03em; line-height: 1.15; margin: 56px 0 16px; }
.legal-toc + h2 { margin-top: 0; }
.legal h3 { font-size: 17px; font-weight: 600; margin: 24px 0 8px; }
.legal p, .legal li { color: var(--color-graphite); font-size: 16px; line-height: 1.65; }
.legal p + p { margin-top: 12px; }
.legal ul { list-style: disc; padding-left: 22px; margin: 12px 0; display: flex; flex-direction: column; gap: 6px; }
.legal strong { color: var(--color-ink); font-weight: 600; }
.legal a { color: var(--color-ink); text-decoration: underline; text-underline-offset: 3px; }
.legal-card { padding: 22px 24px; border-radius: var(--radius-xl); background: var(--color-white); box-shadow: var(--shadow-subtle); margin: 16px 0; }
.legal-card p { margin: 0; }
.legal-card p + p { margin-top: 4px; }
.todo { background: var(--color-marigold); color: var(--color-ink); padding: 1px 6px; border-radius: 4px; font-weight: 500; }
@media (max-width: 560px) {
  .legal-toc ol { grid-template-columns: 1fr; }
}

/* ==========================================================================
   RESPONSIVE : ajustements tablette et mobile
   ========================================================================== */
/* Polaroid du fondateur : la légende suit la largeur de la photo
   et ne passe plus sous l'étiquette « Freelance indépendant » */
.polaroid { container-type: inline-size; }
.polaroid figcaption { font-size: 20px; font-size: min(24px, 7cqw); white-space: nowrap; }
.fv-sticker { bottom: 5%; }

/* Tablette portrait : services en deux colonnes plutôt qu'un visuel géant */
@media (min-width: 700px) and (max-width: 860px) {
  .stack-card { grid-template-columns: 1fr 1fr; gap: 28px; }
  .sc-visual { order: 0; min-height: 300px; }
  .build, .ba, .serp, .care { width: 88%; }
  .sc-copy h3 { font-size: 26px; }
}

/* Mobile : un rythme vertical plus resserré entre les sections */
@media (max-width: 767px) {
  :root { --section: 56px; }
  .split + .split { margin-top: 56px; }
  .section-head { margin-bottom: 32px; }
  .page-hero { padding-top: 120px; padding-bottom: 80px; }
  .page-hero--sm { padding-bottom: 68px; }
}

/* Zones tactiles : on agrandit la surface cliquable sans changer le rendu */
@media (pointer: coarse) {
  .link-arrow, .cta-mail, .to-top, .footer-legal a, .footer-col a, .breadcrumb a, .legal-toc a { position: relative; }
  .link-arrow::after, .cta-mail::after, .to-top::after, .footer-legal a::after, .footer-col a::after, .breadcrumb a::after, .legal-toc a::after {
    content: ""; position: absolute; inset: -10px -6px;
  }
}

/* Sans animation (préférence système) : le bloc Réalisations garde son fond sombre
   et ses projets défilent à l'horizontale, à toutes les tailles d'écran */
@media (prefers-reduced-motion: reduce) {
  .work { background: var(--color-ink); }
  .work-track { overflow-x: auto; scroll-snap-type: x mandatory; padding-bottom: 12px; scrollbar-width: none; }
  .work-card { scroll-snap-align: center; }
}

/* Pas de flash avant l'intro des en-têtes de pages (rétabli par main.js) */
@media (prefers-reduced-motion: no-preference) {
  html.js:not(.anim-fallback) .page-hero .ph-inner,
  html.js:not(.anim-fallback) .page-hero .hero-collage { opacity: 0; }
}

/* ==========================================================================
   BLOG : liste des articles, filtres, page article
   ========================================================================== */
.tag-sky { background: var(--color-sky); }

/* En-tête de la liste + filtres */
.blog-head { display: flex; flex-wrap: wrap; align-items: flex-end; justify-content: space-between; gap: 28px 48px; margin-bottom: clamp(40px, 5vw, 64px); }
.blog-head .h-lg { max-width: 16ch; margin-top: 4px; }
.blog-filters { display: flex; flex-wrap: wrap; gap: 8px; max-width: 640px; }
.blog-filter {
  display: inline-flex; align-items: center; gap: 8px; padding: 10px 14px;
  border: 0; border-radius: 8px; background: rgba(255, 255, 255, 0.7); color: var(--color-ink);
  box-shadow: inset 0 0 0 1px rgba(3, 3, 2, 0.1); font: 500 14px/1 var(--font-sans); cursor: pointer;
  transition: background 0.35s, color 0.35s, box-shadow 0.35s;
}
.blog-filter i { width: 9px; height: 9px; border-radius: 2px; flex: none; box-shadow: inset 0 0 0 1px rgba(3, 3, 2, 0.12); }
.blog-filter span { font-size: 12px; font-weight: 600; color: var(--color-graphite); transition: color 0.35s; }
.blog-filter:hover { background: var(--color-white); box-shadow: inset 0 0 0 1px rgba(3, 3, 2, 0.18), var(--shadow-subtle); }
.blog-filter[aria-pressed="true"] { background: var(--color-ink); color: var(--color-canvas); box-shadow: none; }
.blog-filter[aria-pressed="true"] span { color: rgba(255, 243, 231, 0.6); }
.blog-filter:focus-visible { outline: 2px solid var(--color-ink); outline-offset: 2px; }

/* Grille */
.blog-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(20px, 2.4vw, 32px); }
.blog-grid [hidden] { display: none; }
.blog-empty { margin-top: 24px; text-align: center; color: var(--color-graphite); }

/* Carte article */
.post-card { min-width: 0; }
.post-card-link {
  display: flex; flex-direction: column; height: 100%; overflow: hidden;
  border-radius: 8px; background: var(--color-white); box-shadow: var(--shadow-subtle);
  transition: transform 0.6s var(--ease-out), box-shadow 0.6s var(--ease-out);
}
.post-card-link:hover { transform: translateY(-6px); box-shadow: var(--shadow-xl); }
.post-card-link:focus-visible { outline: 2px solid var(--color-ink); outline-offset: 3px; }
.post-cover { position: relative; isolation: isolate; aspect-ratio: 16 / 10; overflow: hidden; background: var(--color-canvas); }
.post-cover-paper { position: absolute; inset: 14% 12%; z-index: -1; transform: rotate(-3deg); filter: var(--paper-shadow); transition: transform 0.8s var(--ease-out); }
.post-cover-grid {
  position: absolute; inset: 0; z-index: -2; opacity: 0.7;
  background-image: radial-gradient(rgba(3, 3, 2, 0.18) 1.1px, transparent 1.5px); background-size: 16px 16px;
}
.post-cover-icon {
  position: absolute; left: 50%; top: 50%; display: grid; place-items: center;
  width: clamp(64px, 6vw, 84px); aspect-ratio: 1; border-radius: 8px;
  background: var(--color-white); box-shadow: var(--shadow-md-2);
  transform: translate(-50%, -50%) rotate(4deg); transition: transform 0.8s var(--ease-out);
}
.post-cover-icon svg { width: 46%; height: 46%; fill: none; stroke: var(--color-ink); stroke-width: 1.6; stroke-linecap: round; stroke-linejoin: round; }
.post-card-link:hover .post-cover-paper { transform: rotate(1deg) scale(1.04); }
.post-card-link:hover .post-cover-icon { transform: translate(-50%, -50%) rotate(-3deg) scale(1.06); }
.post-card-body { display: flex; flex-direction: column; flex: 1; padding: 24px 24px 22px; }
.post-meta { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 12px; font-size: 13px; color: var(--color-graphite); }
.post-card-title { margin-top: 16px; font-family: var(--font-serif); font-weight: 400; font-size: clamp(21px, 1.7vw, 24px); line-height: 1.2; letter-spacing: -0.025em; text-wrap: balance; }
.post-card-excerpt { margin-top: 10px; font-size: 15px; line-height: 1.55; color: var(--color-graphite); }
.post-card-foot {
  display: flex; align-items: center; justify-content: space-between; gap: 12px; margin-top: auto; padding-top: 22px;
  font-size: 13px; color: var(--color-graphite);
}
.post-more { display: inline-flex; align-items: center; gap: 8px; font-weight: 600; color: var(--color-ink); }
.post-more .btn-arrow { display: inline-grid; transition: transform 0.5s var(--ease-out); }
.post-more svg { width: 14px; height: 14px; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.post-card-link:hover .post-more .btn-arrow { transform: translateX(4px); }

/* Article à la une : sur toute la largeur, image à gauche */
.post-card--featured { grid-column: 1 / -1; }
.post-card--featured .post-card-link { display: grid; grid-template-columns: minmax(0, 1.15fr) minmax(0, 1fr); }
.post-card--featured .post-cover { aspect-ratio: auto; min-height: 360px; }
.post-card--featured .post-cover-icon { width: clamp(84px, 8vw, 116px); }
.post-card--featured .post-card-body { justify-content: center; padding: clamp(28px, 4vw, 56px); }
.post-card--featured .post-card-title { font-size: clamp(28px, 2.8vw, 40px); line-height: 1.12; }
.post-card--featured .post-card-excerpt { font-size: 16px; max-width: 46ch; }
.post-card--featured .post-card-foot { margin-top: 0; padding-top: 28px; }

/* En-tête d'article : titre plus long, on réduit la taille */
.hero--post .hero-big { font-size: 30px; line-height: 1.12; text-wrap: balance; }
@media (min-width: 768px) { .hero--post .hero-big { font-size: 44px; } }
@media (min-width: 1024px) { .hero--post .hero-big { font-size: 54px; } .hero--post .hero-content { max-width: 1000px; } }

/* Page article */
.post-layout { display: grid; grid-template-columns: minmax(0, 760px) minmax(0, 320px); justify-content: space-between; gap: 64px; align-items: start; }
.post-byline { display: flex; align-items: center; gap: 14px; padding-bottom: 28px; margin-bottom: 36px; border-bottom: 1px solid rgba(3, 3, 2, 0.12); }
.post-byline p { display: flex; flex-direction: column; gap: 2px; font-size: 15px; }
.post-byline strong { font-weight: 600; }
.post-byline span { font-size: 13px; color: var(--color-graphite); }
.post-avatar {
  flex: none; display: grid; place-items: center; width: 46px; height: 46px; border-radius: 8px;
  background: var(--color-marigold); font-family: var(--font-serif); font-size: 22px; box-shadow: inset 0 0 0 1px rgba(3, 3, 2, 0.08);
}
.post-avatar--lg { width: 64px; height: 64px; font-size: 30px; background: var(--color-mint); }

.post-body { font-size: 17px; line-height: 1.75; color: var(--color-graphite); }
.post-body > * + * { margin-top: 18px; }
.post-body .post-intro { font-size: clamp(19px, 1.6vw, 21px); line-height: 1.6; color: var(--color-ink); }
.post-body h2 {
  margin-top: 56px; scroll-margin-top: 110px;
  font-family: var(--font-serif); font-weight: 400; font-size: clamp(26px, 2.4vw, 32px); line-height: 1.18; letter-spacing: -0.03em; color: var(--color-ink);
}
.post-body h2 + * { margin-top: 14px; }
.post-body ul { display: flex; flex-direction: column; gap: 10px; padding-left: 0; list-style: none; }
.post-body li { position: relative; padding-left: 26px; }
.post-body li::before { content: ""; position: absolute; left: 4px; top: 0.72em; width: 9px; height: 9px; border-radius: 2px; background: var(--color-mint); transform: rotate(12deg); }
.post-body ol { display: flex; flex-direction: column; gap: 10px; padding-left: 0; list-style: none; counter-reset: step; }
.post-body ol > li { counter-increment: step; padding-left: 38px; }
.post-body ol > li::before { content: counter(step); top: 0.18em; left: 0; width: 26px; height: 26px; display: grid; place-items: center; border-radius: 8px; transform: none; font-size: 14px; font-weight: 600; line-height: 1; color: var(--color-ink); }
.post-body strong { color: var(--color-ink); font-weight: 600; }
.post-body a { color: var(--color-ink); text-decoration: underline; text-underline-offset: 3px; }

.post-author {
  display: flex; gap: 20px; align-items: flex-start; margin-top: 64px; padding: 28px;
  border-radius: 8px; background: var(--color-white); box-shadow: var(--shadow-subtle);
}
.post-author-name { font-family: var(--font-serif); font-size: 22px; letter-spacing: -0.02em; margin-bottom: 6px; }
.post-author p:not(.post-author-name) { font-size: 15px; line-height: 1.6; color: var(--color-graphite); }
.post-author a { color: var(--color-ink); font-weight: 500; text-decoration: underline; text-underline-offset: 3px; }
.post-back { display: inline-flex; align-items: center; gap: 12px; margin-top: 32px; font-weight: 600; font-size: 15px; }
.post-back-arrow {
  display: grid; place-items: center; width: 38px; height: 38px; border-radius: 8px;
  box-shadow: inset 0 0 0 1px rgba(3, 3, 2, 0.16); transition: background 0.35s, color 0.35s, transform 0.5s var(--ease-out);
}
.post-back-arrow svg { width: 14px; height: 14px; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.post-back:hover .post-back-arrow { background: var(--color-ink); color: var(--color-canvas); transform: translateX(-4px); }

/* Colonne de droite : sommaire + appel à l'action, collés au défilement */
.post-aside { position: sticky; top: 110px; display: flex; flex-direction: column; gap: 20px; }
.post-toc { padding: 24px; border-radius: 8px; background: var(--color-white); box-shadow: var(--shadow-subtle); }
.post-toc p { margin-bottom: 12px; font-size: 12px; font-weight: 600; letter-spacing: 0.14em; text-transform: uppercase; color: var(--color-graphite); }
.post-toc ol { list-style: none; margin: 0; padding: 0; counter-reset: toc; display: flex; flex-direction: column; }
.post-toc li { counter-increment: toc; }
.post-toc a {
  display: flex; gap: 10px; padding: 8px 10px; margin: 0 -10px; border-radius: 8px;
  font-size: 14px; line-height: 1.4; color: var(--color-graphite); transition: background 0.3s, color 0.3s;
}
.post-toc a::before { content: counter(toc, decimal-leading-zero); flex: none; font-size: 11px; font-weight: 600; padding-top: 2px; color: var(--color-stone); transition: color 0.3s; }
.post-toc a:hover { background: var(--color-canvas); color: var(--color-ink); }
.post-toc a.is-active { background: var(--color-canvas); color: var(--color-ink); font-weight: 500; }
.post-toc a.is-active::before { color: var(--color-papaya); }
.post-aside-cta { position: relative; isolation: isolate; padding: 26px 24px; border-radius: 8px; overflow: hidden; }
.post-aside-title { font-family: var(--font-serif); font-size: 24px; letter-spacing: -0.02em; line-height: 1.15; }
.post-aside-cta p:not(.post-aside-title) { margin: 8px 0 18px; font-size: 15px; color: var(--color-graphite); }
.post-aside-cta .btn { width: 100%; justify-content: center; }

.post-related { padding-top: 0; }
.blog-grid--related .post-card-title { font-size: 21px; }

@media (max-width: 1100px) {
  .post-layout { grid-template-columns: minmax(0, 1fr) 280px; gap: 48px; }
}
@media (max-width: 1023px) {
  .blog-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .blog-grid--related .post-card:nth-child(3) { display: none; }
  .post-card--featured .post-card-link { grid-template-columns: 1fr; }
  .post-card--featured .post-cover { min-height: 0; aspect-ratio: 16 / 9; }
  .post-layout { grid-template-columns: minmax(0, 1fr); max-width: 760px; margin: 0 auto; }
  .post-aside { position: static; order: -1; }
  .post-toc ol { display: grid; grid-template-columns: 1fr 1fr; column-gap: 24px; }
  .post-aside-cta { display: none; }
}
@media (max-width: 767px) {
  .blog-head { gap: 20px; }
  .blog-filters { flex-wrap: nowrap; overflow-x: auto; max-width: none; width: calc(100% + 2 * var(--gutter)); margin: 0 calc(-1 * var(--gutter)); padding: 2px var(--gutter) 6px; scrollbar-width: none; }
  .blog-filters::-webkit-scrollbar { display: none; }
  .blog-filter { flex: none; }
  .blog-grid { grid-template-columns: 1fr; }
  .blog-grid--related .post-card:nth-child(3) { display: block; }
  .post-card--featured .post-card-body { padding: 24px; }
  .post-card--featured .post-card-title { font-size: 26px; }
  .post-toc ol { grid-template-columns: 1fr; }
  .post-body { font-size: 16px; }
  .post-body h2 { margin-top: 44px; }
  .post-author { flex-direction: column; gap: 14px; padding: 22px; }
}

@media (max-width: 767px) {
  body:has(.post-layout) .page-hero .breadcrumb li:last-child { display: none; }
}

/* ==========================================================================
   PAGES PROJET (étude de cas)
   ========================================================================== */
.project-links { display: flex; flex-wrap: wrap; align-items: center; gap: 12px; }
.project-copy h2 a { color: inherit; text-decoration: none; }
.mark-mint::before { background: var(--color-mint); }
.mark-peri::before { background: var(--color-periwinkle); }

.case-head { margin-bottom: clamp(36px, 4.5vw, 64px); }
.case-head .h-lg { max-width: 18ch; }
.case-head-row { display: flex; flex-wrap: wrap; align-items: flex-end; justify-content: space-between; gap: 20px 32px; }
.case-center { display: flex; justify-content: center; margin-top: clamp(40px, 5vw, 64px); }

/* ---------- Vitrine ---------- */
.case-showcase { padding-top: clamp(8px, 2vw, 24px); padding-bottom: clamp(16px, 3vw, 40px); }
.cs-stage { position: relative; isolation: isolate; padding: clamp(24px, 4vw, 56px) clamp(20px, 7vw, 120px); }
.cs-browser { position: relative; z-index: 1; max-width: 1000px; margin-inline: auto; border-radius: 8px; overflow: hidden; box-shadow: var(--shadow-xl); }
.cs-shot { display: block; aspect-ratio: 4 / 3; overflow: hidden; }
.cs-shot img { width: 100%; height: 100%; object-fit: cover; transition: transform 1.2s var(--ease-out); }
.cs-shot:hover img { transform: scale(1.03); }
.cs-stickers { position: absolute; inset: 0; z-index: 2; pointer-events: none; }
.cs-sticker { position: absolute; display: inline-flex; align-items: center; gap: 10px; padding: 10px 18px 10px 10px; border-radius: 8px; background: var(--color-white); box-shadow: var(--shadow-md); font-weight: 600; font-size: 15px; white-space: nowrap; animation: cs-float 6s ease-in-out infinite; }
.cs-sticker svg { width: 36px; height: 36px; padding: 8px; border-radius: 8px; fill: none; stroke: var(--color-ink); stroke-width: 1.9; stroke-linecap: round; stroke-linejoin: round; flex: none; }
.sticker-mint svg { background: var(--color-mint); }
.sticker-peri svg { background: var(--color-periwinkle); }
.sticker-marigold svg { background: var(--color-marigold); }
.cs-s1 { top: 15%; left: 2.5%; rotate: -5deg; }
.cs-s2 { top: 48%; right: 2%; rotate: 4deg; animation-delay: -2s; }
.cs-s3 { bottom: 8%; left: 5%; rotate: 3deg; animation-delay: -4s; }
@keyframes cs-float { 50% { transform: translateY(-10px); } }

/* ---------- Objectif ---------- */
.case-goal-grid { display: grid; grid-template-columns: minmax(0, 1.25fr) minmax(0, 0.75fr); align-items: start; gap: clamp(36px, 6vw, 96px); }
.case-goal-text .h-lg { margin-top: 12px; margin-bottom: 8px; }
.case-goal-text > p:not(.eyebrow) { margin-top: 18px; max-width: 640px; color: var(--color-graphite); font-size: clamp(16px, 1.2vw, 18px); }
.case-goal-text > p.case-aim { margin-top: 26px; padding: 18px 22px; border-radius: 8px; background: var(--color-white); box-shadow: inset 0 0 0 1px rgba(3, 3, 2, 0.08); color: var(--color-ink); }
.case-aim b { font-weight: 700; }
.case-sheet { position: sticky; top: 110px; display: flex; flex-direction: column; gap: 22px; padding: clamp(24px, 2.4vw, 36px); border-radius: 8px; background: var(--color-white); box-shadow: var(--shadow-xl); }
.case-sheet-head { display: flex; align-items: center; justify-content: space-between; gap: 12px; }
.case-sheet .project-facts { grid-template-columns: auto 1fr; margin: 0; }
.case-sheet .project-facts dd a { color: inherit; text-decoration: underline; text-decoration-color: var(--color-stone); text-underline-offset: 3px; }
.case-sheet .project-facts dd a:hover { text-decoration-color: var(--color-ink); }
.case-sheet .btn { align-self: flex-start; }

/* ---------- Détails ---------- */
.case-detail-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: clamp(36px, 4vw, 56px) clamp(20px, 2.4vw, 36px); }
.cd-visual { display: grid; place-items: center; aspect-ratio: 554 / 300; min-height: 250px; padding: clamp(20px, 3vw, 40px); border-radius: 8px; overflow: hidden; }
.case-detail h3 { margin-top: 24px; font-family: var(--font-serif); font-weight: 400; font-size: clamp(24px, 2.2vw, 32px); line-height: 1.1; letter-spacing: -0.03em; }
.case-detail p { margin-top: 10px; max-width: 540px; color: var(--color-graphite); }

/* Maquettes d’interface */
.mk { position: relative; z-index: 1; width: 100%; max-width: 460px; font-size: 14px; color: var(--color-ink); transition: transform 0.9s var(--ease-out); }
.case-detail:hover .mk { transform: translateY(-6px); }
.mk svg { fill: none; stroke: currentColor; stroke-width: 1.9; stroke-linecap: round; stroke-linejoin: round; }
.mk-line { display: block; height: 8px; border-radius: 8px; background: rgba(3, 3, 2, 0.1); }
.mk-line.w35 { width: 35%; } .mk-line.w45 { width: 45%; } .mk-line.w55 { width: 55%; } .mk-line.w60 { width: 60%; } .mk-line.w70 { width: 70%; }
.mk-card { display: flex; align-items: center; gap: 14px; padding: 16px; border-radius: 8px; background: var(--color-white); box-shadow: var(--shadow-md); }
.mk-col { flex-direction: column; align-items: stretch; gap: 12px; }
.mk-lines { display: flex; flex: 1; flex-direction: column; gap: 8px; min-width: 0; }
.mk-avatar { flex: none; width: 44px; height: 44px; border-radius: 8px; background: var(--color-canvas); box-shadow: inset 0 0 0 1px rgba(3, 3, 2, 0.08); }

.mk-search-row { display: flex; align-items: stretch; gap: 6px; padding: 6px; border-radius: 8px; background: var(--color-white); box-shadow: var(--shadow-md); }
.mk-field { display: flex; flex: 1; flex-direction: column; justify-content: center; gap: 8px; min-width: 0; padding: 12px; border-radius: 8px; background: #faf6f0; }
.mk-field-label { overflow: hidden; font-weight: 600; font-size: 13px; white-space: nowrap; text-overflow: ellipsis; }
.mk-field .mk-line { width: 62%; height: 6px; }
.mk-go { display: flex; align-items: center; justify-content: center; gap: 8px; padding: 0 16px; border-radius: 8px; background: var(--color-ink); color: var(--color-canvas); font-weight: 600; font-size: 13px; }
.mk-go svg { width: 16px; height: 16px; stroke-width: 2.2; }
.mk-n4 { flex-wrap: wrap; }
.mk-n4 .mk-field { flex: 1 1 calc(50% - 3px); }
.mk-n4 .mk-go { flex: 1 1 100%; padding: 12px; }

.mk-profile { display: grid; max-width: 400px; }
.mk-profile .mk-card { grid-area: 1 / 1; position: relative; z-index: 2; }
.mk-profile .mk-card-back { z-index: 1; opacity: 0.7; transform: translate(20px, 30px) rotate(3deg); }
.mk-badge { display: inline-flex; flex: none; align-items: center; gap: 6px; padding: 7px 10px; border-radius: 8px; background: var(--color-mint); font-weight: 600; font-size: 12.5px; white-space: nowrap; }
.mk-badge svg { width: 14px; height: 14px; stroke-width: 2.4; }
.mk-pill { position: absolute; top: -20px; right: -4px; z-index: 3; display: inline-flex; align-items: center; gap: 6px; padding: 8px 12px; border-radius: 8px; background: var(--color-ink); color: var(--color-canvas); font-weight: 600; font-size: 12.5px; rotate: 4deg; }
.mk-pill svg { width: 16px; height: 16px; }

.mk-chips { display: flex; flex-wrap: wrap; justify-content: center; gap: 8px; max-width: 480px; }
.mk-chip { display: inline-flex; align-items: center; gap: 7px; padding: 8px 12px; border-radius: 8px; background: var(--color-white); box-shadow: var(--shadow-md); font-weight: 500; font-size: 13px; white-space: nowrap; }
.mk-chip::before { content: ""; width: 8px; height: 8px; border-radius: 8px; background: var(--color-mint); }
.mk-chip.c0 { rotate: -2deg; }
.mk-chip.c1 { rotate: 1.5deg; }
.mk-chip.c1::before { background: var(--color-periwinkle); }
.mk-chip.c2::before { background: var(--color-marigold); }

.mk-platforms { display: flex; flex-direction: column; gap: 14px; }
.mk-platforms-title { font-family: var(--font-serif); font-style: italic; font-size: 17px; }
.mk-tiles { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 10px; }
.mk-tile { position: relative; display: flex; flex-direction: column; gap: 4px; padding: 14px; border-radius: 8px; background: var(--color-white); box-shadow: var(--shadow-md); }
.mk-tile::before { content: ""; height: 6px; margin-bottom: 10px; border-radius: 8px; background: var(--color-periwinkle); }
.mk-tile.c1::before { background: var(--color-marigold); }
.mk-tile.c2::before { background: var(--color-sky); }
.mk-tile b { font-family: var(--font-serif); font-weight: 400; font-size: 19px; letter-spacing: -0.02em; }
.mk-tile span { color: var(--color-graphite); font-size: 12.5px; }
.mk-tile em { position: absolute; top: -10px; right: -6px; padding: 4px 8px; border-radius: 8px; background: var(--color-ink); color: var(--color-canvas); font-style: normal; font-weight: 600; font-size: 11px; rotate: 6deg; }

.mk-checks { max-width: 360px; }
.mk-check { display: flex; align-items: center; gap: 10px; padding: 12px 14px; border-radius: 8px; background: #faf6f0; font-weight: 600; }
.mk-tick { display: grid; flex: none; place-items: center; width: 26px; height: 26px; border-radius: 8px; background: var(--color-mint); }
.mk-tick svg { width: 14px; height: 14px; stroke-width: 2.4; }
.mk-foot { display: flex; align-items: center; gap: 8px; padding-top: 2px; color: var(--color-graphite); font-size: 12.5px; }
.mk-foot svg { width: 16px; height: 16px; flex: none; }

.mk-chart { max-width: 400px; }
.mk-chart-title { font-family: var(--font-serif); font-size: 18px; }
.mk-bars { position: relative; display: flex; align-items: flex-end; gap: 8px; height: 120px; border-bottom: 1px solid rgba(3, 3, 2, 0.15); }
.mk-bar { flex: 1; height: var(--h); border-radius: 8px 8px 0 0; background: var(--color-periwinkle); }
.mk-bar:nth-child(4) { background: var(--color-ink); }
.mk-ref { position: absolute; right: 0; bottom: 58%; left: 0; border-top: 2px dashed var(--color-ink); }
.mk-ref span { position: absolute; top: -30px; right: 0; padding: 4px 8px; border-radius: 8px; background: var(--color-marigold); font-weight: 600; font-size: 11.5px; white-space: nowrap; }

.mk-alerts { display: flex; flex-direction: column; gap: 12px; max-width: 360px; }
.mk-note { display: flex; align-items: center; gap: 14px; padding: 14px 16px; border-radius: 8px; background: var(--color-white); box-shadow: var(--shadow-md); }
.mk-note.is-alt { margin-left: 34px; rotate: 2deg; }
.mk-note b { font-weight: 600; font-size: 14px; }
.mk-note-icon { display: grid; flex: none; place-items: center; width: 40px; height: 40px; border-radius: 8px; background: var(--color-marigold); }
.mk-note.is-alt .mk-note-icon { background: var(--color-periwinkle); }
.mk-note-icon svg { width: 20px; height: 20px; }

.mk-steps { display: flex; flex-direction: column; gap: 10px; max-width: 380px; }
.mk-step { display: flex; align-items: center; gap: 14px; padding: 12px 16px 12px 12px; border-radius: 8px; background: var(--color-white); box-shadow: var(--shadow-md); font-weight: 600; }
.mk-step:nth-child(2) { margin-left: 24px; }
.mk-step:nth-child(3) { margin-left: 48px; }
.mk-step-num { display: grid; flex: none; place-items: center; width: 34px; height: 34px; border-radius: 8px; background: var(--color-mint); font-family: var(--font-serif); font-style: italic; font-weight: 400; font-size: 17px; }
.mk-step-num.c1 { background: var(--color-periwinkle); }
.mk-step-num.c2 { background: var(--color-marigold); }

.mk-featured { max-width: 400px; padding-top: 20px; }
.mk-badge-star { position: absolute; top: 0; left: 14px; z-index: 2; background: var(--color-marigold); rotate: -3deg; }
.mk-badge-star svg { fill: currentColor; stroke: none; }
.mk-cars { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }
.mk-car { display: flex; flex-direction: column; gap: 12px; padding: 12px; border-radius: 8px; background: var(--color-white); box-shadow: var(--shadow-md); rotate: 2deg; translate: 0 12px; }
.mk-car.is-front { rotate: -2deg; translate: none; }
.mk-car-img { display: grid; place-items: center; aspect-ratio: 16 / 10; border-radius: 8px; background: #faf6f0; }
.mk-car-img svg { width: 46%; height: auto; stroke-width: 1.4; }

/* ---------- Défilant ---------- */
.case-marquee { display: flex; flex-direction: column; gap: 10px; overflow: hidden; padding: clamp(16px, 3vw, 40px) 0; }
.cm-row { padding: 4px 0 12px; }
.cm-track { display: flex; width: max-content; animation: cm-scroll 48s linear infinite; }
.cm-row.is-reverse .cm-track { animation-direction: reverse; animation-duration: 54s; }
.case-marquee:hover .cm-track { animation-play-state: paused; }
.cm-set { display: flex; gap: 16px; padding-right: 16px; }
.cm-tile { display: inline-flex; align-items: center; gap: 14px; padding: clamp(18px, 2vw, 28px) clamp(22px, 2.6vw, 36px); border-radius: 8px; background: var(--color-white); box-shadow: var(--shadow-md); font-family: var(--font-serif); font-size: clamp(22px, 2.6vw, 38px); line-height: 1; letter-spacing: -0.03em; white-space: nowrap; }
.cm-tile i { flex: none; width: 14px; height: 14px; border-radius: 8px; background: var(--color-mint); }
.cm-tile i.c1 { background: var(--color-periwinkle); }
.cm-tile i.c2 { background: var(--color-marigold); }
@keyframes cm-scroll { to { transform: translateX(-50%); } }

/* ---------- Équipe et outils ---------- */
.case-crew-grid { display: grid; grid-template-columns: minmax(0, 0.8fr) minmax(0, 1.2fr); align-items: start; gap: clamp(40px, 6vw, 96px); }
.crew-col > h2 { margin-bottom: 24px; }
.crew-col > h2 em { font-style: italic; }
.crew-card { display: flex; flex-direction: column; gap: 14px; max-width: 380px; }
.crew-portrait { display: grid; place-items: center; aspect-ratio: 5 / 4; border-radius: 8px; filter: var(--paper-shadow); }
.crew-mono { position: relative; z-index: 1; font-family: var(--font-serif); font-style: italic; font-size: clamp(88px, 10vw, 140px); line-height: 1; letter-spacing: -0.05em; }
.crew-tags { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 6px; }
.crew-tags .tag { background: var(--color-white); box-shadow: inset 0 0 0 1px rgba(3, 3, 2, 0.1); }
.crew-name { font-family: var(--font-serif); font-weight: 400; font-size: clamp(24px, 2vw, 30px); letter-spacing: -0.03em; }
.tool-list { display: grid; gap: 16px; }
.tool-card { display: flex; align-items: flex-start; gap: 20px; padding: clamp(22px, 2.4vw, 32px); border-radius: 8px; background: var(--color-white); box-shadow: var(--shadow-xl); }
.tool-logo { display: grid; flex: none; place-items: center; width: 64px; height: 64px; border-radius: 8px; background: var(--color-canvas); color: var(--color-ink); }
.tool-logo svg { width: 40px; height: 40px; }
.tool-text { display: flex; flex-direction: column; gap: 6px; }
.tool-text b { font-family: var(--font-serif); font-weight: 400; font-size: 24px; letter-spacing: -0.02em; }
.tool-text span { color: var(--color-graphite); }

/* ---------- D’autres réalisations ---------- */
.other-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: clamp(28px, 3vw, 40px) clamp(20px, 2.4vw, 36px); }
.other-card { display: flex; flex-direction: column; gap: 20px; color: var(--color-ink); text-decoration: none; }
.oc-media { display: block; aspect-ratio: 4 / 3; overflow: hidden; padding: clamp(20px, 3.4vw, 48px) clamp(20px, 3.4vw, 48px) 0; border-radius: 8px; }
.oc-media img { position: relative; z-index: 1; display: block; width: 100%; height: 100%; border-radius: 8px 8px 0 0; object-fit: cover; object-position: top center; box-shadow: var(--shadow-xl); transition: transform 0.9s var(--ease-out); }
.other-card:hover .oc-media img { transform: translateY(-10px); }
.oc-tags { position: absolute; bottom: 16px; left: 16px; z-index: 2; display: flex; flex-wrap: wrap; gap: 8px; }
.oc-tags .tag { background: var(--color-white); box-shadow: var(--shadow-md); }
.oc-foot { display: flex; align-items: center; gap: 14px; }
.oc-text { display: flex; flex: 1; flex-direction: column; gap: 6px; min-width: 0; }
.oc-name { font-family: var(--font-serif); font-size: clamp(28px, 2.6vw, 40px); line-height: 1.05; letter-spacing: -0.04em; }
.oc-desc { color: var(--color-graphite); font-size: 15px; }
.oc-go .btn-arrow { display: grid; place-items: center; width: 44px; height: 44px; border-radius: 8px; background: var(--color-ink); transition: transform 0.6s var(--ease-out); }
.oc-go .btn-arrow svg { width: 16px; height: 16px; fill: none; stroke: var(--color-canvas); stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.other-card:hover .oc-go .btn-arrow { transform: translateX(6px); }

@media (prefers-reduced-motion: reduce) {
  .cm-track, .cs-sticker { animation: none; }
}
@media (max-width: 1000px) {
  .case-goal-grid, .case-crew-grid { grid-template-columns: 1fr; }
  .case-sheet { position: static; max-width: 560px; }
  .case-detail-grid, .other-grid { grid-template-columns: 1fr; }
  .cs-stage { padding-inline: clamp(20px, 6vw, 60px); }
}
@media (max-width: 767px) {
  .project-links { width: 100%; }
  .project-links .btn { flex: 1 1 100%; justify-content: center; }
  .cs-stage { padding: 52px 0 56px; }
  .cs-sticker { gap: 8px; padding: 6px 12px 6px 6px; font-size: 12.5px; }
  .cs-sticker svg { width: 28px; height: 28px; padding: 6px; }
  .cs-s1 { top: 14px; left: 10px; }
  .cs-s2 { top: auto; right: 10px; bottom: 16px; }
  .cs-s3 { display: none; }
  .cd-visual { min-height: 240px; padding: 26px 14px; }
  .mk-go span { display: none; }
  .mk-go { padding: 0 12px; }
  .mk-n4 .mk-go span { display: inline; }
  .mk-tiles { gap: 6px; }
  .mk-tile { padding: 12px 10px; }
  .mk-tile b { font-size: 16px; }
  .mk-step:nth-child(2) { margin-left: 12px; }
  .mk-step:nth-child(3) { margin-left: 24px; }
  .mk-note.is-alt { margin-left: 18px; }
  .oc-foot { flex-wrap: wrap; }
  .oc-text { flex-basis: 100%; }
  .oc-foot .tag { margin-right: auto; }
  .tool-card { gap: 16px; }
  .tool-logo { width: 52px; height: 52px; }
}

/* Formulaire : envoi en cours */
.form.is-sending button[type="submit"] { opacity: .6; cursor: progress; }

/* ==========================================================================
   PAGES VILLES : une mise en page par ville (préfixe .v-)
   ========================================================================== */
.zone-towns { margin-top: 20px; font-size: 15px; line-height: 1.65; color: var(--color-graphite); max-width: 620px; }
.zone-towns a, .v-link, .v a.v-inline { color: var(--color-ink); text-decoration: underline; text-decoration-thickness: 1px; text-underline-offset: 3px; transition: text-decoration-color 0.3s; }
.zone-towns a:hover, .v-link:hover { text-decoration-color: var(--color-papaya); }
.v p a:not(.btn):not(.v-link) { text-decoration: underline; text-decoration-thickness: 1px; text-underline-offset: 3px; }

.v-hero { position: relative; isolation: isolate; padding: clamp(124px, 16vh, 168px) 0 clamp(64px, 8vw, 112px); }
.v-crumbs { margin-bottom: 26px; }
.v-crumbs ol { justify-content: flex-start; }
.v-title { margin-top: 20px; font-family: var(--font-serif); font-weight: 400; font-size: clamp(38px, 5.4vw, 74px); line-height: 1.04; letter-spacing: -0.04em; text-wrap: balance; }
.v-title em { font-style: italic; }
.v-hero .lead { margin-top: 22px; }
.v-ctas { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 32px; }
.v h3 { font-family: var(--font-serif); font-weight: 400; letter-spacing: -0.02em; line-height: 1.2; }

/* Villes proches */
.v-near { padding-block: clamp(24px, 4vw, 48px) clamp(56px, 7vw, 96px); }
.v-near .container { display: flex; flex-wrap: wrap; align-items: center; gap: 18px 28px; }
.v-near-title { font-family: var(--font-serif); font-weight: 400; font-size: 24px; letter-spacing: -0.02em; }
.v-near-links { display: flex; flex-wrap: wrap; gap: 10px; }
.v-near-links a { padding: 10px 16px; border-radius: 8px; background: var(--color-white); box-shadow: var(--shadow-subtle); font-size: 14px; font-weight: 500; transition: background-color 0.3s, color 0.3s, transform 0.4s var(--ease-out); }
.v-near-links a:hover { background: var(--color-ink); color: var(--color-white); transform: translateY(-2px); }

/* ---------- 1. Seine-et-Marne : atlas ---------- */
.v-atlas-grid { display: grid; grid-template-columns: 1.05fr 1fr; gap: clamp(40px, 5vw, 80px); align-items: center; }
.v-atlas-tiles { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; }
.v-tile { display: flex; flex-direction: column; justify-content: space-between; gap: 18px; min-height: 108px; padding: 14px 16px; border-radius: 8px; box-shadow: var(--shadow-subtle); transition: transform 0.45s var(--ease-out), box-shadow 0.45s; }
.v-tile:hover { transform: translateY(-4px) rotate(-1deg); box-shadow: var(--shadow-md); }
.v-tile small { font-size: 12px; font-weight: 600; letter-spacing: 0.12em; opacity: 0.7; }
.v-tile b { font-family: var(--font-serif); font-weight: 400; font-size: 20px; line-height: 1.15; letter-spacing: -0.02em; }
.v-tile i { font-style: normal; font-size: 13px; opacity: 0.7; }
.v-tile-ink { grid-column: 1 / -1; flex-direction: row; align-items: flex-end; flex-wrap: wrap; background: var(--color-ink); color: var(--color-white); min-height: 96px; }
.v-tile-ink b { font-size: 30px; margin-right: auto; order: -1; }
.v-tile-ink small { order: 0; width: 100%; order: -2; }
.v-tile-mint { background: var(--color-mint); }
.v-tile-marigold { background: var(--color-marigold); }
.v-tile-peri { background: var(--color-periwinkle); }
.v-tile-sky { background: var(--color-sky); }
.v-tile-white { background: var(--color-white); }
.v-atlas-cols { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.v-atlas-col { display: flex; flex-direction: column; gap: 14px; padding: clamp(26px, 3vw, 40px); border-radius: 8px; background: var(--color-white); box-shadow: var(--shadow-sm); }
.v-atlas-num { font-family: var(--font-serif); font-size: 56px; line-height: 1; font-style: italic; color: var(--color-papaya); }
.v-atlas-col h3 { font-size: 26px; }
.v-atlas-col p { color: var(--color-graphite); font-size: 16px; line-height: 1.55; }
.v-atlas-col .v-atlas-see { margin-top: auto; padding-top: 14px; border-top: 1px solid rgba(3, 3, 2, 0.1); font-size: 14px; }
.v-atlas-see a { color: var(--color-ink); }
.v-atlas-list { border-top: 1px solid var(--color-ink); }
.v-atlas-list li { border-bottom: 1px solid rgba(3, 3, 2, 0.15); }
.v-atlas-list a { display: grid; grid-template-columns: minmax(200px, 1fr) 2fr 44px; align-items: center; gap: 24px; padding: 28px 12px; border-radius: 8px; transition: background-color 0.35s, padding 0.45s var(--ease-out); }
.v-atlas-list a:hover { background: var(--color-white); padding-inline: 24px; }
.v-atlas-list b { font-family: var(--font-serif); font-weight: 400; font-size: clamp(22px, 2.2vw, 30px); letter-spacing: -0.02em; }
.v-atlas-list span:not(.btn-arrow) { color: var(--color-graphite); font-size: 16px; line-height: 1.5; }
.v-atlas-list .btn-arrow, .v-bento-links .btn-arrow { width: 44px; height: 44px; border-radius: 8px; background: var(--color-ink); color: var(--color-white); transition: transform 0.5s var(--ease-out); }
.v-atlas-list a:hover .btn-arrow { transform: translateX(4px); }

/* ---------- 2. Chelles : éditorial ---------- */
.v-edito-mast { display: flex; justify-content: space-between; gap: 16px; padding: 12px 0; border-top: 3px solid var(--color-ink); border-bottom: 1px solid var(--color-ink); font-size: 12px; font-weight: 600; letter-spacing: 0.14em; text-transform: uppercase; }
.v-edito-title { margin: clamp(28px, 4vw, 48px) 0 clamp(32px, 4vw, 56px); max-width: 15ch; font-family: var(--font-serif); font-weight: 400; font-size: clamp(44px, 8vw, 124px); line-height: 0.98; letter-spacing: -0.05em; text-wrap: balance; }
.v-edito-title em { font-style: italic; }
.v-edito-intro { display: grid; grid-template-columns: 1fr 1fr; gap: 20px 56px; padding-top: 32px; border-top: 1px solid rgba(3, 3, 2, 0.18); font-size: 17px; line-height: 1.65; color: var(--color-graphite); }
.v-edito-intro .v-ctas { grid-column: 1 / -1; margin-top: 12px; }
.v-drop::first-letter { float: left; margin: 6px 12px 0 0; font-family: var(--font-serif); font-size: 5.4em; line-height: 0.78; color: var(--color-ink); }
.v-edito-grid { display: grid; grid-template-columns: 1fr 340px; gap: clamp(40px, 6vw, 88px); align-items: start; }
.v-edito-main > .h-lg { max-width: 16ch; margin-bottom: 36px; }
.v-edito-rules article { display: grid; grid-template-columns: 88px 1fr; column-gap: 20px; padding: 30px 0; border-top: 1px solid var(--color-ink); }
.v-roman { grid-row: span 2; font-family: var(--font-serif); font-style: italic; font-size: 48px; line-height: 1; color: var(--color-papaya); }
.v-edito-rules h3 { font-size: 28px; }
.v-edito-rules p { margin-top: 10px; color: var(--color-graphite); font-size: 16px; line-height: 1.6; max-width: 620px; }
.v-edito-quote { margin-top: 40px; padding: clamp(28px, 4vw, 48px); border-radius: 8px; background: var(--color-marigold); }
.v-edito-quote p { font-family: var(--font-serif); font-style: italic; font-size: clamp(24px, 2.6vw, 34px); line-height: 1.25; letter-spacing: -0.02em; }
.v-edito-quote cite { display: block; margin-top: 18px; font-style: normal; font-size: 14px; font-weight: 600; }
.v-edito-side { position: sticky; top: 110px; display: flex; flex-direction: column; gap: 16px; }
.v-edito-box { padding: 28px; border-radius: 8px; background: var(--color-white); box-shadow: var(--shadow-sm); }
.v-edito-box dl { margin-top: 14px; }
.v-edito-box dl div { display: flex; justify-content: space-between; gap: 16px; padding: 12px 0; border-bottom: 1px dashed rgba(3, 3, 2, 0.2); font-size: 14px; }
.v-edito-box dt { color: var(--color-graphite); }
.v-edito-box dd { font-weight: 600; text-align: right; }
.v-edito-box-ink { background: var(--color-ink); color: var(--color-white); }
.v-edito-box-ink .mini-label { color: rgba(255, 255, 255, 0.6); }
.v-edito-box-ink ul { margin-top: 12px; list-style: none; }
.v-edito-box-ink li a { display: block; padding: 10px 0; border-bottom: 1px solid rgba(255, 255, 255, 0.14); font-size: 15px; transition: color 0.3s, padding 0.4s var(--ease-out); }
.v-edito-box-ink li a:hover { color: var(--color-marigold); padding-left: 6px; }

/* ---------- 3. Claye-Souilly : parcours ---------- */
.v-route-hero { text-align: center; overflow: hidden; padding-bottom: clamp(140px, 14vw, 190px); }
.v-route-hero .v-crumbs ol { justify-content: center; }
.v-route-hero .v-title { max-width: 16ch; margin-inline: auto; margin-top: 22px; }
.v-route-hero .lead { margin-inline: auto; max-width: 640px; }
.v-route-hero .v-ctas { justify-content: center; }
.v-route-canal { position: absolute; left: 0; bottom: 18px; width: 100%; height: clamp(70px, 9vw, 120px); z-index: -1; }
.v-route-canal path { fill: none; stroke-linecap: round; }
.v-route-canal path:first-child { stroke: var(--color-sky); stroke-width: 16; }
.v-route-canal path:last-child { stroke: var(--color-periwinkle); stroke-width: 3; stroke-dasharray: 14 16; animation: v-flow 9s linear infinite; }
@keyframes v-flow { to { stroke-dashoffset: -300; } }
.v-route-line { position: relative; display: grid; grid-template-columns: repeat(5, 1fr); gap: 24px; list-style: none; }
.v-route-line::before { content: ""; position: absolute; left: 22px; right: 22px; top: 21px; border-top: 2px dashed rgba(3, 3, 2, 0.25); z-index: -1; }
.v-stop { display: grid; place-items: center; width: 44px; height: 44px; border-radius: 8px; background: var(--color-ink); color: var(--color-white); font-weight: 600; box-shadow: 0 0 0 6px var(--color-canvas); }
.v-route-line li:nth-child(1) .v-stop { background: var(--color-sky); color: var(--color-ink); }
.v-route-line li:nth-child(2) .v-stop { background: var(--color-mint); color: var(--color-ink); }
.v-route-line li:nth-child(3) .v-stop { background: var(--color-marigold); color: var(--color-ink); }
.v-route-line li:nth-child(4) .v-stop { background: var(--color-periwinkle); color: var(--color-ink); }
.v-route-line h3 { margin-top: 22px; font-size: 22px; }
.v-route-line p { margin-top: 10px; color: var(--color-graphite); font-size: 15px; line-height: 1.55; }
.v-route-show .split-visual { display: grid; place-items: center; padding: clamp(32px, 5vw, 64px) 0; border-radius: 8px; background-color: var(--color-white); background-image: radial-gradient(rgba(3, 3, 2, 0.1) 1.1px, transparent 1.5px); background-size: 18px 18px; }
.v-phone { position: relative; display: flex; flex-direction: column; gap: 10px; width: min(290px, 78%); aspect-ratio: 9 / 17; padding: 28px 18px 20px; border: 10px solid var(--color-ink); border-radius: 8px; background: var(--color-canvas); box-shadow: var(--shadow-xl); transform: rotate(-3deg); }
.v-phone-notch { align-self: center; width: 70px; height: 6px; margin: -14px 0 8px; border-radius: 8px; background: var(--color-ink); }
.v-phone-name { font-family: var(--font-serif); font-weight: 400; font-size: 22px; }
.v-phone-place { margin-top: -8px; font-size: 13px; color: var(--color-graphite); }
.v-phone-open { display: inline-flex; align-items: center; gap: 8px; font-size: 13px; font-weight: 600; }
.v-phone-open i { width: 8px; height: 8px; border-radius: 2px; background: #2f9e55; }
.v-phone-img { flex: 1; min-height: 90px; border-radius: 8px; background: var(--gradient-sky); }
.v-phone-btn { display: grid; place-items: center; height: 42px; border-radius: 8px; box-shadow: inset 0 0 0 1px var(--color-ink); font-size: 14px; font-weight: 600; }
.v-phone-btn-ink { background: var(--color-ink); color: var(--color-white); }
.v-phone-lines { display: flex; flex-direction: column; gap: 6px; }
.v-phone-lines i { height: 7px; border-radius: 8px; background: rgba(3, 3, 2, 0.1); }
.v-phone-lines i:nth-child(2) { width: 72%; }
.v-phone-lines i:nth-child(3) { width: 86%; }

/* ---------- 4. Serris / Val d'Europe : bento ---------- */
.v-bento { display: grid; grid-template-columns: repeat(4, 1fr); gap: 12px; }
.v-cell { display: flex; flex-direction: column; justify-content: space-between; gap: 14px; min-height: 150px; padding: 24px; border-radius: 8px; background: var(--color-white); box-shadow: var(--shadow-subtle); }
.v-cell > b { font-family: var(--font-serif); font-weight: 400; font-size: 28px; line-height: 1.1; letter-spacing: -0.02em; }
.v-cell > span { font-size: 14px; line-height: 1.5; }
.v-cell-main { grid-column: span 3; grid-row: span 3; justify-content: center; padding: clamp(28px, 4vw, 60px); }
.v-cell-main .v-title { margin-top: 0; }
.v-cell-mint { background: var(--color-mint); }
.v-cell-peri { background: var(--color-periwinkle); }
.v-cell-marigold { background: var(--color-marigold); }
.v-cell-ink { background: var(--color-ink); color: var(--color-white); }
.v-bento-links { grid-template-columns: repeat(3, 1fr); }
.v-bento-links .v-cell { min-height: 200px; transition: transform 0.45s var(--ease-out), box-shadow 0.45s; }
.v-bento-links .v-cell:hover { transform: translateY(-4px); box-shadow: var(--shadow-md); }
.v-cell-wide { grid-column: span 2; background: var(--color-sky); }
.v-bento-links small { font-size: 12px; font-weight: 600; letter-spacing: 0.14em; text-transform: uppercase; opacity: 0.7; }
.v-bento-links b { font-family: var(--font-serif); font-weight: 400; font-size: 24px; line-height: 1.2; letter-spacing: -0.02em; max-width: 26ch; }
.v-bento-links .btn-arrow { align-self: flex-end; }
.v-bento-links .v-cell-ink .btn-arrow { background: var(--color-marigold); color: var(--color-ink); }
.v-bento-links .v-cell:hover .btn-arrow { transform: translateX(4px); }
.v-bento-care .split-visual { padding: clamp(28px, 4vw, 48px); border-radius: 8px; background: var(--color-white); box-shadow: var(--shadow-md); }
.v-bento-care .ticks { gap: 16px; }

/* ---------- 5. Chessy : billets ---------- */
.v-ticket-hero { background: var(--gradient-sky); }
.v-ticket-grid { display: grid; grid-template-columns: 1.1fr 0.9fr; gap: clamp(40px, 5vw, 80px); align-items: center; }
.v-ticket-hero .eyebrow { margin-top: 0; }
.v-ticket-hero .v-title { max-width: 14ch; }
.v-ticket { display: flex; border-radius: 8px; background: var(--color-white); box-shadow: var(--shadow-xl); }
.v-ticket-main { flex: 1; display: flex; flex-direction: column; gap: 22px; padding: clamp(22px, 3vw, 36px); }
.v-ticket-kicker { font-size: 12px; font-weight: 600; letter-spacing: 0.16em; text-transform: uppercase; color: var(--color-graphite); }
.v-ticket-route { display: flex; align-items: center; gap: 16px; }
.v-ticket-route > i { font-style: normal; font-size: 26px; color: var(--color-papaya); }
.v-ticket small { display: block; font-size: 11px; font-weight: 600; letter-spacing: 0.14em; text-transform: uppercase; color: var(--color-graphite); }
.v-ticket-route b { display: block; margin-top: 4px; font-family: var(--font-serif); font-weight: 400; font-size: clamp(20px, 2vw, 28px); line-height: 1.1; }
.v-ticket-meta { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; padding-top: 18px; border-top: 2px dashed rgba(3, 3, 2, 0.2); font-size: 15px; font-weight: 600; }
.v-ticket-meta small { margin-bottom: 4px; }
.v-ticket-stub { display: flex; flex-direction: column; justify-content: space-between; width: 104px; padding: clamp(22px, 3vw, 36px) 16px; border-left: 2px dashed rgba(3, 3, 2, 0.3); border-radius: 0 8px 8px 0; background: var(--color-marigold); }
.v-ticket-stub b { font-family: var(--font-serif); font-weight: 400; font-size: 26px; }
.v-ticket-cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.v-tcard { display: flex; overflow: hidden; border-radius: 8px; background: var(--color-white); box-shadow: var(--shadow-sm); }
.v-tcard-no { writing-mode: vertical-rl; transform: rotate(180deg); display: grid; place-items: center; padding: 20px 14px; background: var(--color-ink); color: var(--color-white); font-size: 13px; font-weight: 600; letter-spacing: 0.24em; border-left: 3px dashed var(--color-canvas); }
.v-tcard > div { padding: clamp(24px, 2.6vw, 34px); }
.v-tcard h3 { font-size: 24px; }
.v-tcard p { margin-top: 10px; color: var(--color-graphite); font-size: 15px; line-height: 1.55; }
.v-board { padding: 10px; border-radius: 8px; background: var(--color-ink); color: var(--color-white); font-family: ui-monospace, "SFMono-Regular", Menlo, Consolas, monospace; }
.v-board > * { display: grid; grid-template-columns: 1.2fr 1.4fr 150px; gap: 16px; align-items: center; padding: 18px 20px; border-radius: 8px; font-size: 15px; }
.v-board > a { border-top: 1px solid rgba(255, 255, 255, 0.1); transition: background-color 0.3s; }
.v-board > a:hover { background: rgba(255, 255, 255, 0.07); }
.v-board-head { font-size: 12px; letter-spacing: 0.16em; text-transform: uppercase; color: var(--color-marigold); }
.v-board > a span:nth-child(2) { color: rgba(255, 255, 255, 0.65); }
.v-board-ok { display: inline-flex; align-items: center; gap: 8px; color: var(--color-mint); }
.v-board-ok::before { content: ""; width: 8px; height: 8px; border-radius: 2px; background: currentColor; animation: v-blink 1.6s steps(2, start) infinite; }
@keyframes v-blink { to { opacity: 0.2; } }

/* ---------- 6. Melun : dossier ---------- */
.v-sheet { position: relative; padding: clamp(28px, 5vw, 72px); border-radius: 8px; background-color: var(--color-white); background-image: repeating-linear-gradient(transparent 0 35px, rgba(3, 3, 2, 0.045) 35px 36px); box-shadow: var(--shadow-xl); }
.v-sheet-top { display: flex; justify-content: space-between; align-items: center; gap: 16px; margin-bottom: 28px; padding-bottom: 16px; border-bottom: 1px solid var(--color-ink); font-size: 12px; font-weight: 600; letter-spacing: 0.16em; text-transform: uppercase; }
.v-sheet-top span:first-child { padding: 5px 12px; border: 2px solid var(--color-papaya); border-radius: 8px; color: var(--color-papaya); transform: rotate(-4deg); }
.v-sheet .v-title { max-width: 18ch; }
.v-dossier-grid { display: grid; grid-template-columns: 280px 1fr; gap: clamp(40px, 6vw, 96px); align-items: start; }
.v-toc { position: sticky; top: 110px; display: flex; flex-direction: column; gap: 16px; align-items: flex-start; }
.v-toc ol { width: 100%; list-style: none; counter-reset: toc; }
.v-toc li { counter-increment: toc; }
.v-toc a { display: flex; gap: 14px; padding: 14px 0; border-bottom: 1px solid rgba(3, 3, 2, 0.14); font-family: var(--font-serif); font-size: 18px; transition: padding 0.4s var(--ease-out), color 0.3s; }
.v-toc a::before { content: counter(toc, decimal-leading-zero); font-family: var(--font-sans); font-size: 12px; font-weight: 600; color: var(--color-graphite); padding-top: 5px; }
.v-toc a:hover { padding-left: 6px; color: var(--color-papaya); }
.v-dossier-sections article { padding: clamp(32px, 4vw, 48px) 0; border-top: 1px solid var(--color-ink); }
.v-dossier-sections article:first-child { padding-top: 0; border-top: 0; }
.v-dossier-no { display: inline-block; padding: 4px 10px; border-radius: 8px; background: var(--color-marigold); font-size: 13px; font-weight: 600; }
.v-dossier-sections .h-md { margin-top: 16px; }
.v-dossier-sections p { margin-top: 14px; max-width: 680px; color: var(--color-graphite); font-size: 16px; line-height: 1.65; }
.v-dossier-sections .ticks { margin-top: 18px; }
.v-dossier-sections .v-note { padding: 16px 20px; border-left: 4px solid var(--color-ink); border-radius: 8px; background: var(--color-periwinkle); color: var(--color-ink); font-size: 14px; }

/* ---------- 7. Pontault-Combault : panneau sombre ---------- */
.v-dark-panel { position: relative; overflow: hidden; padding: clamp(32px, 6vw, 88px); border-radius: 8px; background: var(--color-ink) radial-gradient(circle at 92% 8%, rgba(253, 233, 155, 0.16), transparent 42%); color: var(--color-white); }
.v-dark-panel .breadcrumb ol { color: rgba(255, 255, 255, 0.6); }
.v-dark-panel .breadcrumb [aria-current] { color: var(--color-white); }
.v-dark-eyebrow { font-size: 12px; font-weight: 600; letter-spacing: 0.14em; text-transform: uppercase; color: var(--color-marigold); }
.v-dark-panel .v-title { max-width: 15ch; }
.v-dark-panel .v-title em { color: var(--color-marigold); }
.v-dark-panel .lead { color: rgba(255, 255, 255, 0.72); }
.v-btn-line { background: transparent; color: var(--color-white); box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.35); }
.v-btn-line:hover { background: rgba(255, 255, 255, 0.08); }
.v-dark-chip { display: inline-flex; margin-top: 40px; padding: 8px 14px; border: 1px solid rgba(255, 255, 255, 0.2); border-radius: 8px; font-size: 13px; color: rgba(255, 255, 255, 0.8); }
.v-zigzag { display: flex; flex-direction: column; gap: 16px; }
.v-zz { display: grid; grid-template-columns: 1fr 56px 1.15fr; align-items: center; gap: 12px; }
.v-zz:nth-child(odd) { padding-right: 8%; }
.v-zz:nth-child(even) { padding-left: 8%; }
.v-zz small { display: block; margin-bottom: 8px; font-family: var(--font-sans); font-style: normal; font-size: 11px; font-weight: 600; letter-spacing: 0.14em; text-transform: uppercase; opacity: 0.6; }
.v-zz-pb { padding: 24px 28px; border-radius: 8px; background: var(--color-white); box-shadow: var(--shadow-subtle); font-family: var(--font-serif); font-size: 22px; line-height: 1.25; }
.v-zz-arrow { justify-self: center; font-size: 28px; color: var(--color-papaya); }
.v-zz-fix { padding: 24px 28px; border-radius: 8px; background: var(--color-ink); color: var(--color-white); font-size: 16px; line-height: 1.55; }
.v-zz-fix a { color: var(--color-marigold); }
.v-choice { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; margin-top: 40px; }
.v-choice article { display: flex; flex-direction: column; align-items: flex-start; gap: 12px; padding: clamp(28px, 3.4vw, 44px); border-radius: 8px; background: var(--color-white); box-shadow: var(--shadow-sm); }
.v-choice article:last-child { background: var(--color-marigold); }
.v-choice h3 { font-size: 30px; }
.v-choice p { color: var(--color-graphite); font-size: 16px; line-height: 1.6; }
.v-choice article:last-child p { color: var(--color-ink); }
.v-choice .v-link { margin-top: auto; padding-top: 8px; font-weight: 600; }
.v-choice-note { margin-top: 28px; color: var(--color-graphite); font-size: 16px; }

/* ---------- 8. Mitry-Mory : zone + tableau ---------- */
.v-radar-grid { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(40px, 5vw, 80px); align-items: center; }
.v-chip { display: inline-flex; margin-top: 28px; padding: 8px 14px; border-radius: 8px; background: var(--color-white); box-shadow: var(--shadow-subtle); font-size: 13px; font-weight: 600; }
.v-radar { position: relative; overflow: hidden; width: min(520px, 100%); aspect-ratio: 1; margin-inline: auto; border-radius: 8px; background-color: var(--color-ink); background-image: linear-gradient(rgba(155, 216, 169, 0.1) 1px, transparent 1px), linear-gradient(90deg, rgba(155, 216, 169, 0.1) 1px, transparent 1px); background-size: 10% 10%; box-shadow: var(--shadow-xl); }
.v-ring { position: absolute; border: 1px solid rgba(155, 216, 169, 0.45); border-radius: 8px; }
.v-ring-1 { inset: 36%; }
.v-ring-2 { inset: 22%; }
.v-ring-3 { inset: 8%; border-style: dashed; }
.v-sweep { position: absolute; inset: -30%; background: conic-gradient(from 0deg, rgba(155, 216, 169, 0.32), transparent 22%); animation: v-spin 7s linear infinite; }
@keyframes v-spin { to { transform: rotate(360deg); } }
.v-radar-center { position: absolute; left: 50%; top: 50%; transform: translate(-50%, -50%); padding: 8px 14px; border-radius: 8px; background: var(--color-mint); color: var(--color-ink); font-size: 14px; font-weight: 600; animation: v-ping 2.4s var(--ease-out) infinite; }
@keyframes v-ping { 0% { box-shadow: 0 0 0 0 rgba(155, 216, 169, 0.55); } 100% { box-shadow: 0 0 0 22px rgba(155, 216, 169, 0); } }
.v-radar-town { position: absolute; left: var(--x); top: var(--y); transform: translate(-50%, -50%); display: inline-flex; align-items: center; gap: 7px; white-space: nowrap; color: var(--color-white); font-size: 12px; font-weight: 600; }
.v-radar-town::before { content: ""; width: 8px; height: 8px; border-radius: 2px; background: var(--color-marigold); }
.v-compare { overflow: hidden; border-radius: 8px; background: var(--color-white); box-shadow: var(--shadow-md); }
.v-compare-row { display: grid; grid-template-columns: 1fr 1.3fr; }
.v-compare-row + .v-compare-row { border-top: 1px solid rgba(3, 3, 2, 0.08); }
.v-compare-row > span { padding: 22px 28px; font-size: 16px; line-height: 1.5; }
.v-compare-row > span:first-child { font-family: var(--font-serif); font-style: italic; font-size: 20px; }
.v-compare-row > span:last-child { background: rgba(155, 216, 169, 0.18); }
.v-compare-head > span { font-family: var(--font-sans) !important; font-style: normal !important; font-size: 12px !important; font-weight: 600; letter-spacing: 0.14em; text-transform: uppercase; }
.v-compare-head > span:first-child { background: var(--color-ink); color: var(--color-white); }
.v-compare-head > span:last-child { background: var(--color-mint); }
.v-warn { padding: clamp(28px, 4vw, 56px); border: 2px solid var(--color-ink); border-radius: 8px; background: var(--color-marigold); box-shadow: 8px 8px 0 var(--color-ink); }
.v-warn-tag { display: inline-block; padding: 6px 12px; border-radius: 8px; background: var(--color-ink); color: var(--color-marigold); font-size: 12px; font-weight: 700; letter-spacing: 0.14em; text-transform: uppercase; }
.v-warn .h-md { margin-top: 18px; max-width: 26ch; }
.v-warn p { margin-top: 14px; max-width: 720px; font-size: 16px; line-height: 1.6; }

/* ---------- 9. Lagny-sur-Marne : questions ---------- */
.v-faq-hero { overflow: hidden; text-align: center; }
.v-faq-mark { position: absolute; right: -2vw; top: 60px; z-index: -1; font-family: var(--font-serif); font-style: italic; font-size: clamp(260px, 36vw, 540px); line-height: 1; color: var(--color-periwinkle); opacity: 0.6; pointer-events: none; }
.v-faq-head .v-crumbs ol { justify-content: center; }
.v-faq-head .v-title { max-width: 17ch; margin-inline: auto; margin-top: 22px; }
.v-faq-head .lead { margin-inline: auto; }
.v-faq-grid { display: grid; grid-template-columns: 1fr 340px; gap: clamp(32px, 5vw, 64px); align-items: start; }
.v-faq-list { display: flex; flex-direction: column; gap: 12px; }
.v-q { border-radius: 8px; background: var(--color-white); box-shadow: var(--shadow-subtle); transition: box-shadow 0.35s; }
.v-q[open] { box-shadow: var(--shadow-md); }
.v-q summary { display: flex; align-items: center; gap: 18px; padding: 22px 24px; cursor: pointer; list-style: none; font-family: var(--font-serif); font-size: clamp(18px, 1.6vw, 21px); line-height: 1.3; }
.v-q summary::-webkit-details-marker { display: none; }
.v-q-no { flex: none; padding: 4px 8px; border-radius: 8px; background: var(--color-canvas); font-family: var(--font-sans); font-size: 12px; font-weight: 600; color: var(--color-graphite); }
.v-q summary i { position: relative; flex: none; width: 30px; height: 30px; margin-left: auto; border-radius: 8px; background: var(--color-canvas); transition: background-color 0.3s; }
.v-q summary i::before, .v-q summary i::after { content: ""; position: absolute; left: 50%; top: 50%; width: 12px; height: 2px; margin: -1px 0 0 -6px; background: var(--color-ink); transition: transform 0.35s var(--ease-out); }
.v-q summary i::after { transform: rotate(90deg); }
.v-q[open] summary i { background: var(--color-mint); }
.v-q[open] summary i::after { transform: rotate(0deg); }
.v-q > p { padding: 0 24px 24px 76px; color: var(--color-graphite); font-size: 16px; line-height: 1.65; }
.v-faq-side { position: sticky; top: 110px; padding: 32px; border-radius: 8px; background: var(--color-ink); color: var(--color-white); }
.v-faq-side .mini-label { color: rgba(255, 255, 255, 0.6); }
.v-faq-side-big { margin-top: 6px; font-family: var(--font-serif); font-size: 72px; line-height: 1; }
.v-faq-side p { margin-top: 12px; color: rgba(255, 255, 255, 0.8); font-size: 15px; line-height: 1.55; }
.v-faq-side b { color: var(--color-white); }
.v-faq-side hr { margin: 24px 0; border: 0; border-top: 1px solid rgba(255, 255, 255, 0.15); }
.v-faq-side .btn { margin-top: 20px; width: 100%; background: var(--color-marigold); color: var(--color-ink); }
.v-faq-tel { display: block; margin-top: 16px; text-align: center; font-size: 18px; font-weight: 600; }

/* ---------- 10. Coulommiers : étiquette ---------- */
.v-label { padding: 14px; border-radius: 8px; background: var(--color-marigold); box-shadow: var(--shadow-xl); }
.v-label-in { padding: clamp(28px, 5vw, 72px); border: 2px dashed rgba(3, 3, 2, 0.45); border-radius: 8px; text-align: center; }
.v-label-top { display: flex; flex-wrap: wrap; justify-content: center; gap: 10px 14px; font-size: 12px; font-weight: 700; letter-spacing: 0.18em; text-transform: uppercase; }
.v-label-top span + span::before { content: "·"; margin-right: 14px; }
.v-label .v-title { max-width: 16ch; margin-inline: auto; }
.v-label-sub { max-width: 640px; margin: 22px auto 0; font-size: 18px; line-height: 1.55; }
.v-label .v-ctas { justify-content: center; }
.v-label .btn-ghost { background: rgba(255, 255, 255, 0.5); }
.v-label-foot { display: flex; flex-wrap: wrap; justify-content: center; margin-top: 36px; padding-top: 14px; border-top: 2px solid var(--color-ink); font-size: 12px; font-weight: 700; letter-spacing: 0.16em; text-transform: uppercase; }
.v-label-foot span { padding: 0 18px; }
.v-label-foot span + span { border-left: 1px solid var(--color-ink); }
.v-coulommiers .ticks li::before { border-radius: 4px; }
.v-recipe { display: grid; grid-template-columns: 0.9fr 1.1fr; overflow: hidden; border-radius: 8px; background: var(--color-white); box-shadow: var(--shadow-md); }
.v-recipe h3 { margin-bottom: 22px; font-size: 30px; }
.v-recipe-ing { padding: clamp(28px, 4vw, 48px); background: var(--color-periwinkle); }
.v-recipe-ing .ticks { gap: 14px; }
.v-recipe-steps { padding: clamp(28px, 4vw, 48px); }
.v-recipe-steps ol { list-style: none; counter-reset: step; }
.v-recipe-steps li { counter-increment: step; display: grid; grid-template-columns: 40px 1fr; column-gap: 16px; padding: 16px 0; border-bottom: 1px dashed rgba(3, 3, 2, 0.2); color: var(--color-graphite); font-size: 16px; line-height: 1.5; }
.v-recipe-steps li:last-child { border-bottom: 0; }
.v-recipe-steps li::before { content: counter(step); grid-row: span 2; display: grid; place-items: center; width: 40px; height: 40px; border-radius: 8px; background: var(--color-ink); color: var(--color-white); font-weight: 600; }
.v-recipe-steps b { color: var(--color-ink); }
.v-label-who .h-lg { max-width: 16ch; }
.v-labels { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; margin-top: 40px; }
.v-minilabel { padding: 28px; border: 1.5px solid var(--color-ink); border-radius: 8px; background: var(--color-white); box-shadow: 5px 5px 0 var(--color-ink); transition: transform 0.4s var(--ease-out), box-shadow 0.4s var(--ease-out); }
.v-minilabel:hover { transform: translate(-3px, -3px); box-shadow: 8px 8px 0 var(--color-ink); }
.v-minilabel small { display: inline-block; padding: 4px 8px; border-radius: 8px; background: var(--color-marigold); font-size: 11px; font-weight: 700; letter-spacing: 0.16em; text-transform: uppercase; }
.v-minilabel:nth-child(2) small { background: var(--color-mint); }
.v-minilabel:nth-child(3) small { background: var(--color-sky); }
.v-minilabel h3 { margin-top: 16px; font-size: 24px; }
.v-minilabel p { margin-top: 10px; color: var(--color-graphite); font-size: 15px; line-height: 1.55; }
.v-label-more { margin-top: 32px; color: var(--color-graphite); font-size: 16px; }

/* ---------- Adaptations écran ---------- */
@media (max-width: 1100px) {
  .v-route-line { grid-template-columns: repeat(3, 1fr); row-gap: 40px; }
  .v-route-line::before { display: none; }
  .v-bento:not(.v-bento-links) { grid-template-columns: repeat(3, 1fr); }
  .v-cell-main { grid-column: 1 / -1; grid-row: auto; }
}
@media (max-width: 900px) {
  .v-atlas-grid, .v-radar-grid, .v-ticket-grid, .v-edito-grid, .v-dossier-grid, .v-faq-grid, .v-recipe { grid-template-columns: 1fr; }
  .v-atlas-cols, .v-ticket-cards, .v-labels, .v-choice { grid-template-columns: 1fr; }
  .v-edito-intro { grid-template-columns: 1fr; }
  .v-edito-side, .v-toc, .v-faq-side { position: static; }
  .v-bento-links { grid-template-columns: 1fr 1fr; }
  .v-zz { grid-template-columns: 1fr; padding: 0 !important; }
  .v-zz-arrow { transform: rotate(90deg); }
  .v-atlas-list a { grid-template-columns: 1fr 44px; gap: 8px 16px; }
  .v-atlas-list b { grid-column: 1; }
  .v-atlas-list span:not(.btn-arrow) { grid-column: 1; grid-row: 2; }
  .v-atlas-list .btn-arrow { grid-column: 2; grid-row: 1 / 3; }
  .v-ticket { max-width: 520px; }
}
@media (max-width: 600px) {
  .v-edito-mast span:last-child { display: none; }
  .v-route-line { grid-template-columns: 1fr; gap: 0; }
  .v-route-line li { display: grid; grid-template-columns: 44px 1fr; column-gap: 18px; padding-bottom: 28px; position: relative; }
  .v-route-line li::after { content: ""; position: absolute; left: 21px; top: 50px; bottom: 6px; border-left: 2px dashed rgba(3, 3, 2, 0.25); }
  .v-route-line li:last-child::after { display: none; }
  .v-route-line .v-stop { grid-row: span 2; }
  .v-route-line h3 { margin-top: 8px; }
  .v-bento:not(.v-bento-links) { grid-template-columns: 1fr 1fr; }
  .v-cell-marigold { grid-column: 1 / -1; }
  .v-bento-links { grid-template-columns: 1fr; }
  .v-cell-wide { grid-column: auto; }
  .v-cell { min-height: 0; }
  .v-atlas-tiles { grid-template-columns: 1fr 1fr; }
  .v-atlas-tiles .v-tile:last-child { grid-column: 1 / -1; }
  .v-tile { min-height: 88px; }
  .v-ticket-stub { width: 76px; padding-inline: 12px; }
  .v-ticket-stub b { font-size: 20px; }
  .v-ticket-route { flex-direction: column; align-items: flex-start; gap: 6px; }
  .v-ticket-route > i { transform: rotate(90deg); }
  .v-board-head { display: none !important; }
  .v-board > a { grid-template-columns: 1fr; gap: 6px; }
  .v-board > a span:nth-child(2) { font-size: 13px; }
  .v-compare-row { grid-template-columns: 1fr; }
  .v-compare-head > span:last-child { display: none; }
  .v-compare-row > span { padding: 18px 20px; }
  .v-compare-row > span:first-child { padding-bottom: 8px; }
  .v-q summary { padding: 18px; gap: 12px; }
  .v-q > p { padding: 0 18px 20px; }
  .v-sheet-top { flex-direction: column; align-items: flex-start; }
  .v-label { padding: 8px; }
  .v-label-in { padding: 28px 16px; }
  .v-label-top { flex-direction: column; gap: 6px; letter-spacing: 0.14em; }
  .v-label-top span + span::before { content: none; }
  .v-label .btn { padding-inline: 18px; font-size: 15px; }
  .v-label-foot span { padding: 4px 10px; }
  .v-ctas .btn { width: 100%; }
  .v-radar-town { font-size: 11px; }
}
@media (prefers-reduced-motion: reduce) {
  .v-route-canal path:last-child, .v-sweep, .v-radar-center, .v-board-ok::before { animation: none; }
}
