/* ==========================================================================
   MTO · Feuille de style
   Base monochrome, sable (marque) et terracotta (accent lumineux, avec parcimonie).
   Sommaire :
     01. Thèmes & variables        09. Bandeau défilant       17. Pied de page
     02. Base                      10. Avant / après          18. Tunnel de commande
     03. Typographie               11. Méthode                19. Apparitions au scroll
     04. Mise en page              12. Formules & tarifs      20. Pages légales
     05. Logo                      13. Réalisations           21. Responsive
     06. Boutons & contrôles       14. Pourquoi MTO           22. Mouvement réduit / repli
     07. Préchargement             15. FAQ
     08. Navigation, hero          16. Contact & formulaires
   ========================================================================== */

/* ---------- 01. Thèmes & variables ---------- */
:root,
[data-theme="dark"] {
  --bg: #0F0F0F;
  --surface: #1A1A1A;
  --surface-2: #2C2C2C;
  --line: rgba(255, 255, 255, 0.08);
  --text: #F6F6F6;
  --text-2: #B5B5B5;
  --text-3: #7A7A7A;
  --brand: #CFBFAE;
  --brand-soft: rgba(207, 191, 174, 0.12);
  --logo: #CFBFAE;
  --cta: #CFBFAE;
  --cta-text: #0F0F0F;
  --accent: #D96C45;
  --accent-soft: rgba(217, 108, 69, 0.14);
  --accent-glow: rgba(217, 108, 69, 0.35);
  --halo-o: 0.4;                     /* opacité du grand halo terracotta derrière le logo de la nav */
  --halo-stage-o: 0.25;              /* opacité du halo derrière les appareils */

  /* Dérivées (mêmes teintes) */
  --brand-ink: #CFBFAE;              /* petits textes sable conformes AA */
  --sand-glow: rgba(207, 191, 174, 0.2);
  --sand-fill: #CFBFAE;              /* remplissage sable des boutons contour */
  --sand-fill-text: #0F0F0F;
  --line-strong: rgba(255, 255, 255, 0.16);
  --device: #0F0F0F;
  --device-body: #2C2C2C;
  --glass: rgba(26, 26, 26, 0.78);
  --overlay: rgba(15, 15, 15, 0.6);
  --shine: rgba(255, 255, 255, 0.5);
  --shadow-ink: rgba(0, 0, 0, 0.28);
  color-scheme: dark;
}

[data-theme="light"] {
  --bg: #F6F6F6;
  --surface: #FFFFFF;
  --surface-2: #ECECEC;
  --line: rgba(0, 0, 0, 0.08);
  --text: #2C2C2C;
  --text-2: #5E5E5E;
  --text-3: #8C8C8C;
  --brand: #8A7563;
  --brand-soft: rgba(138, 117, 99, 0.10);
  --logo: #8A7563;
  --cta: #2C2C2C;
  --cta-text: #F6F6F6;
  --accent: #B5512F;
  --accent-soft: rgba(181, 81, 47, 0.10);
  --accent-glow: rgba(181, 81, 47, 0.22);
  --halo-o: 0.22;
  --halo-stage-o: 0.15;

  --brand-ink: #7A6553;
  --sand-glow: rgba(138, 117, 99, 0.16);
  --sand-fill: #7A6553;
  --sand-fill-text: #F6F6F6;
  --line-strong: rgba(0, 0, 0, 0.16);
  --device: #2C2C2C;
  --device-body: #D9D9D9;
  --glass: rgba(255, 255, 255, 0.8);
  --overlay: rgba(44, 44, 44, 0.42);
  --shine: rgba(255, 255, 255, 0.35);
  --shadow-ink: rgba(0, 0, 0, 0.06);
  color-scheme: light;
}

:root {
  --f-display: "Cabinet Grotesk", "General Sans", system-ui, -apple-system, "Segoe UI", sans-serif;
  --f-body: "General Sans", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  --f-serif: "Gambetta", Georgia, "Times New Roman", serif;
  /* Polices propres aux maquettes clientes */
  --f-narrow: "Archivo Narrow", "Arial Narrow", sans-serif;
  --f-source: "Source Sans 3", "Source Sans Pro", system-ui, sans-serif;

  --container: 1200px;
  --gutter: clamp(18px, 4vw, 40px);
  --section-y: clamp(80px, 11vw, 150px);
  --r-card: 20px;
  --r-media: 28px;

  --ease: cubic-bezier(.25, .1, .25, 1);
  --ease-out: cubic-bezier(.16, 1, .3, 1);
  --ease-io: cubic-bezier(.76, 0, .24, 1);
  --ease-spring: cubic-bezier(.34, 1.4, .64, 1);

  --shadow-1: 0 1px 1px 0.5px rgba(0, 0, 0, 0.03), 0 3px 3px 1.5px rgba(0, 0, 0, 0.03), 0 6px 6px -3px rgba(0, 0, 0, 0.03), 0 12px 12px -6px rgba(0, 0, 0, 0.03), 0 24px 24px -12px rgba(0, 0, 0, 0.03);

  --z-fab: 40;
  --z-menu: 45;
  --z-nav: 50;
  --z-progress: 55;
  --z-modal: 70;
  --z-pre: 90;
}

/* ---------- 02. Base ---------- */
*, *::before, *::after { box-sizing: border-box; }

html {
  -webkit-text-size-adjust: 100%;
  scroll-padding-top: 96px;
}
html:not(.lenis) { scroll-behavior: smooth; }
html.lenis, html.lenis body { height: auto; }
.lenis.lenis-smooth { scroll-behavior: auto !important; }
.lenis.lenis-smooth [data-lenis-prevent] { overscroll-behavior: contain; }
.lenis.lenis-stopped { overflow: hidden; }

body {
  margin: 0;
  min-height: 100vh;
  background: var(--bg);
  color: var(--text-2);
  font-family: var(--f-body);
  font-size: clamp(1.0625rem, 0.3vw + 1rem, 1.125rem);
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-rendering: optimizeLegibility;
  overflow-x: clip;
}

img, video, iframe { display: block; max-width: 100%; }
img { height: auto; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; background: none; border: 0; padding: 0; cursor: pointer; }
input, select, textarea { font: inherit; color: inherit; }
h1, h2, h3, h4, p, ul, ol, dl, dd, figure, fieldset { margin: 0; }
ul, ol { padding: 0; list-style: none; }
fieldset { border: 0; padding: 0; min-width: 0; }
legend { padding: 0; }
strong, b { color: var(--text); font-weight: 600; }
::selection { background: var(--brand); color: var(--cta-text); }
:focus-visible { outline: 2px solid var(--brand); outline-offset: 3px; border-radius: 8px; }
[hidden]:not([hidden="until-found"]) { display: none !important; }

.sprite { position: absolute; width: 0; height: 0; overflow: hidden; }
.icon {
  display: inline-block;
  width: 1.15em;
  height: 1.15em;
  flex: none;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.7;
  stroke-linecap: round;
  stroke-linejoin: round;
  vertical-align: middle;
}
.icon--up { transform: rotate(-90deg); }
.sr-only {
  position: absolute !important;
  width: 1px; height: 1px;
  padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0 0 0 0);
  white-space: nowrap; border: 0;
}
.skip-link {
  position: fixed; top: -80px; left: 16px; z-index: calc(var(--z-pre) + 1);
  padding: 12px 18px; border-radius: 999px;
  background: var(--text); color: var(--bg); font-weight: 600;
  transition: top .3s var(--ease-out);
}
.skip-link:focus { top: 16px; }

/* Transition douce lors du changement de thème (sans animer les images) */
html.theme-anim *, html.theme-anim *::before, html.theme-anim *::after {
  transition: background-color .4s var(--ease), color .4s var(--ease), border-color .4s var(--ease), fill .4s var(--ease), stroke .4s var(--ease), box-shadow .4s var(--ease) !important;
}
html.theme-anim :is(img, iframe, video, canvas) { transition: none !important; }

/* ---------- 03. Typographie ---------- */
/* Petits libellés d'interface */
.mono, .label {
  font-family: var(--f-body);
  font-weight: 500;
  font-size: 0.8125rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  line-height: 1.4;
}
.label { color: var(--text-2); }

/* Sur-titre de section : point terracotta + majuscules espacées */
.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font: 500 0.875rem/1.3 var(--f-body);
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--text-2);
}
.eyebrow::before { content: ""; width: 7px; height: 7px; flex: none; border-radius: 50%; background: var(--accent); }

h1, h2, h3, h4 { font-family: var(--f-display); color: var(--text); font-weight: 800; letter-spacing: -0.03em; line-height: 1.05; text-wrap: balance; }
.h2 {
  font-size: clamp(2.4rem, 5.6vw, 4.6rem);
  line-height: 0.98;
  letter-spacing: -0.03em;
}
/* Titres posés dans une colonne étroite (5/12) */
.why__intro .h2, .faq__head .h2, .contact__head .h2 { font-size: clamp(2.3rem, 4.4vw, 3.9rem); }
.lead { max-width: 50ch; font-size: clamp(1.0625rem, 0.5vw + 0.95rem, 1.25rem); color: var(--text-2); text-wrap: pretty; }
p { text-wrap: pretty; }

.link {
  background: linear-gradient(var(--accent), var(--accent)) 0 100% / 0 1px no-repeat;
  transition: background-size .5s var(--ease-out), color .3s;
}
.link:hover { background-size: 100% 1px; color: var(--text); }

/* ---------- 04. Mise en page ---------- */
.container { width: min(100% - 2 * var(--gutter), var(--container)); margin-inline: auto; }
.section { position: relative; padding-block: var(--section-y); }
.section-head { display: grid; gap: 22px; max-width: 760px; margin-bottom: clamp(44px, 6vw, 72px); }
.section-head--center { margin-inline: auto; text-align: center; justify-items: center; }
.section-head--split { max-width: none; grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); align-items: end; gap: 28px 64px; }
.section-head--split > div { display: grid; gap: 22px; justify-items: start; }

/* Grand numéro de section, décoratif, coupé par le bord de la section */
.has-num { overflow: clip; }
.has-num > .container { position: relative; z-index: 1; }
.section-num {
  position: absolute;
  top: clamp(-34px, -2.6vw, -16px);
  right: calc(var(--gutter) - 0.05em);
  z-index: 0;
  font: 800 clamp(12rem, 15vw, 16rem)/0.8 var(--f-display);
  letter-spacing: -0.06em;
  color: var(--line);
  pointer-events: none;
  user-select: none;
}
.section-num--left { right: auto; left: calc(var(--gutter) - 0.08em); }

/* ---------- 05. Logo (PNG utilisé comme masque : plein, net, couleur du thème) ---------- */
.logo {
  --h: 26px;
  display: inline-block;
  flex: none;
  height: var(--h);
  aspect-ratio: 1534 / 601;
  background-color: var(--logo);
  -webkit-mask: url("../img/logo-mto.png") left center / contain no-repeat;
  mask: url("../img/logo-mto.png") left center / contain no-repeat;
  transition: height .5s var(--ease-out);
}
/* Ouverture du fichier en local (file://) : les masques y sont bloqués, on affiche l'image telle quelle */
.is-file .logo { -webkit-mask: none; mask: none; background: url("../img/logo-mto.png") left center / contain no-repeat; }
html.is-file[data-theme="light"] .logo { filter: brightness(.62) saturate(.9); }

/* ---------- 06. Boutons & contrôles ---------- */
.btn {
  --mx: 0px;
  --my: 0px;
  position: relative;
  isolation: isolate;
  overflow: hidden;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.6em;
  min-height: 52px;
  padding: 0 1.55em;
  border-radius: 999px;
  border: 1px solid var(--line-strong);
  background: transparent;
  color: var(--text);
  font: 500 1rem/1 var(--f-body);
  white-space: nowrap;
  cursor: pointer;
  transform: translate3d(var(--mx), var(--my), 0);
  transition: transform .45s var(--ease-out), color .4s var(--ease-out), border-color .4s var(--ease-out), box-shadow .45s var(--ease-out);
  -webkit-tap-highlight-color: transparent;
}
.btn::before {
  content: "";
  position: absolute;
  inset: -1px;
  z-index: -1;
  border-radius: inherit;
  background: var(--text);
  transform: translateY(102%);
  transition: transform .55s var(--ease-out);
}
@media (hover: hover) {
  .btn:hover::before { transform: translateY(0); }
  .btn:hover { color: var(--bg); border-color: var(--text); }
}
.btn:active { transform: translate3d(var(--mx), var(--my), 0) scale(.97); }
.btn .icon { width: 1.05em; height: 1.05em; }
.btn__arrow { position: relative; display: inline-block; width: 1.05em; height: 1.05em; overflow: hidden; flex: none; }
.btn__arrow .icon { position: absolute; inset: 0; transition: transform .5s var(--ease-out); }
.btn__arrow .icon + .icon { transform: translateX(-140%); }
@media (hover: hover) {
  .btn:hover .btn__arrow .icon:first-child { transform: translateX(140%); }
  .btn:hover .btn__arrow .icon + .icon { transform: translateX(0); }
}

/* Bouton d'achat (sable) : reflet qui balaie + halo terracotta au survol */
.btn--cta { background: var(--cta); color: var(--cta-text); border-color: transparent; font-weight: 600; }
.btn--cta::before {
  inset: 0;
  width: 42%;
  z-index: 1;
  border-radius: 0;
  background: linear-gradient(100deg, transparent, var(--shine), transparent);
  transform: translateX(-130%) skewX(-18deg);
  transition: transform .9s var(--ease-out);
}
@media (hover: hover) {
  .btn--cta:hover { color: var(--cta-text); border-color: transparent; box-shadow: 0 0 0 5px var(--accent-soft), 0 14px 34px -10px var(--accent-glow); }
  .btn--cta:hover::before { transform: translateX(330%) skewX(-18deg); }
}
/* Contour qui se remplit en sable */
.btn--sand::before { background: var(--sand-fill); }
@media (hover: hover) {
  .btn--sand:hover { color: var(--sand-fill-text); border-color: var(--sand-fill); }
}
.btn--solid { background: var(--surface); border-color: var(--line-strong); }
/* Bouton principal du hero : se remplit de terracotta de gauche à droite au survol */
.btn--ignite::after { content: ""; position: absolute; inset: 0; z-index: -1; border-radius: inherit; background: var(--accent); transform: scaleX(0); transform-origin: left center; transition: transform .6s var(--ease-out); }
@media (hover: hover) {
  .btn--ignite:hover::after { transform: scaleX(1); }
  .btn--ignite:hover { box-shadow: 0 0 0 6px var(--accent-soft), 0 18px 44px -10px var(--accent-glow), 0 0 64px -8px var(--accent-glow); }
}
.btn--sm { min-height: 44px; padding: 0 1.15em; font-size: 0.925rem; }
.btn--lg { min-height: 58px; padding: 0 1.85em; font-size: 1.0625rem; }
.btn--block { width: 100%; }
.btn[disabled] { opacity: .5; pointer-events: none; }

.spinner {
  position: absolute;
  inset: 0;
  margin: auto;
  width: 20px;
  height: 20px;
  border-radius: 50%;
  border: 2px solid currentColor;
  border-right-color: transparent;
  opacity: 0;
  animation: spin .8s linear infinite;
}
.is-loading { pointer-events: none; }
.is-loading .btn__label, .is-loading .btn__arrow { opacity: 0; }
.is-loading .spinner { opacity: 1; }

.icon-btn {
  display: inline-grid;
  place-items: center;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  border: 1px solid var(--line-strong);
  color: var(--text);
  transition: background-color .3s, border-color .3s, transform .4s var(--ease-out);
}
.icon-btn:hover { background: var(--surface-2); }
.icon-btn:active { transform: scale(.94); }

/* Interrupteur Mensuel / Annuel */
.switch {
  position: relative;
  display: inline-grid;
  grid-auto-flow: column;
  grid-auto-columns: 1fr;
  padding: 4px;
  border-radius: 999px;
  background: var(--surface);
  border: 1px solid var(--line);
}
.switch button {
  position: relative;
  z-index: 1;
  min-height: 44px;
  padding: 0 24px;
  border-radius: 999px;
  font: 500 0.95rem var(--f-body);
  color: var(--text-2);
  transition: color .4s var(--ease-out);
}
.switch button[aria-checked="true"] { color: var(--bg); }
.switch__thumb {
  position: absolute;
  top: 4px;
  bottom: 4px;
  left: 4px;
  width: calc(50% - 4px);
  border-radius: 999px;
  background: var(--text);
  transition: transform .55s var(--ease-spring);
}
[data-billing-mode="yearly"] .switch__thumb { transform: translateX(100%); }

/* Affichage conditionnel mensuel / annuel */
[data-billing-mode="monthly"] [data-show="yearly"],
[data-billing-mode="yearly"] [data-show="monthly"] { display: none; }
[data-billing-mode] [data-show]:not(.sr-only) { animation: swap-in .5s var(--ease-out); }

/* Compteur à rouleaux */
.odo { display: inline-flex; height: 1em; line-height: 1; overflow: hidden; font-variant-numeric: tabular-nums; }
.odo__col { display: inline-block; width: 1ch; height: 1em; margin-right: -0.045em; overflow: hidden; transition: width .6s var(--ease-out), margin .6s var(--ease-out), opacity .4s; }
.odo__col.is-empty { width: 0; margin-right: 0; opacity: 0; }
.odo__strip { display: flex; flex-direction: column; transform: translateY(calc(var(--d, 0) * -1em)); transition: transform 1.1s var(--ease-out); transition-delay: calc(var(--i, 0) * 70ms); }
.no-trans, .no-trans * { transition: none !important; }
.odo__strip span { display: block; height: 1em; line-height: 1em; text-align: center; }

/* ---------- 07. Préchargement & progression ---------- */
.preloader {
  position: fixed;
  inset: 0;
  z-index: var(--z-pre);
  display: grid;
  place-items: center;
  background: var(--bg);
  animation: pre-out .45s var(--ease-io) .78s forwards;
}
.preloader__inner { display: grid; justify-items: center; gap: 18px; }
.preloader__logo { --h: clamp(52px, 9vw, 92px); clip-path: inset(0 100% 0 0); animation: pre-logo .65s var(--ease-out) .08s forwards; }
.preloader__sign { color: var(--accent); opacity: 0; animation: fade-in .4s var(--ease-out) .42s forwards; }
.skip-intro .preloader, .reduce-motion .preloader { display: none; }
@keyframes pre-logo { to { clip-path: inset(0 0 0 0); } }
@keyframes pre-out { to { clip-path: inset(0 0 100% 0); visibility: hidden; } }

.progress { position: fixed; top: 0; left: 0; right: 0; z-index: var(--z-progress); height: 2px; pointer-events: none; }
.progress span { display: block; height: 100%; background: var(--brand); transform: scaleX(var(--progress, 0)); transform-origin: left; }

/* ---------- 08. Navigation ---------- */
.nav-wrap {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: var(--z-nav);
  display: flex;
  justify-content: center;
  padding: 14px 12px 0;
  pointer-events: none;
  transition: transform .6s var(--ease-out);
}
.nav-wrap.is-hidden { transform: translateY(calc(-100% - 20px)); }
.nav {
  pointer-events: auto;
  display: flex;
  align-items: center;
  gap: 4px;
  padding: 7px 7px 7px 22px;
  border-radius: 999px;
  background: var(--glass);
  -webkit-backdrop-filter: saturate(160%) blur(16px);
  backdrop-filter: saturate(160%) blur(16px);
  border: 1px solid var(--line);
  box-shadow: var(--shadow-1);
  transition: padding .5s var(--ease-out), background-color .4s;
}
.nav-wrap.is-compact .nav { padding: 4px 4px 4px 18px; }
.nav__brand { display: inline-flex; align-items: center; min-height: 44px; border-radius: 8px; }
.nav__brand .logo { --h: 23px; }
.nav-wrap.is-compact .nav__brand .logo { --h: 20px; }
.nav__links { position: relative; margin: 0 8px 0 22px; }
.nav__links ul { display: flex; gap: 4px; }
.nav__links a {
  position: relative;
  display: block;
  padding: 12px 14px;
  border-radius: 999px;
  font-size: 0.95rem;
  font-weight: 500;
  color: var(--text-2);
  transition: color .3s;
}
.nav__links a::after {
  content: "";
  position: absolute;
  left: 14px;
  right: 14px;
  bottom: 9px;
  height: 1px;
  background: var(--accent);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform .45s var(--ease-out);
}
.nav__links a:hover, .nav__links a.is-active { color: var(--text); }
@media (hover: hover) { .nav__links a:not(.is-active):hover::after { transform: scaleX(1); } }
.nav__indicator {
  position: absolute;
  left: 0;
  bottom: 5px;
  width: 18px;
  height: 2px;
  border-radius: 2px;
  background: var(--accent);
  opacity: 0;
  transform: translateX(var(--ix, 0px));
  transition: transform .55s var(--ease-out), width .55s var(--ease-out), opacity .3s;
}
.nav__actions { display: flex; align-items: center; gap: 6px; }
.nav__cta { margin-left: 2px; }

.theme-toggle {
  display: inline-grid;
  place-items: center;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  color: var(--text);
  transition: background-color .3s, transform .4s var(--ease-out);
}
.theme-toggle:hover { background: var(--surface-2); }
.theme-toggle:active { transform: scale(.92); }
.tt { width: 21px; height: 21px; overflow: visible; }
.tt__core { fill: currentColor; transform-origin: 12px 12px; transition: transform .6s var(--ease-spring); }
.tt__cut { transition: transform .6s var(--ease-out); }
.tt__rays { stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; fill: none; transform-origin: 12px 12px; transition: transform .6s var(--ease-out), opacity .4s; }
[data-theme="dark"] .tt__core { transform: scale(1.55); }
[data-theme="dark"] .tt__cut { transform: translate(-3px, 1px); }
[data-theme="dark"] .tt__rays { transform: rotate(-90deg) scale(.4); opacity: 0; }
[data-theme="light"] .tt__cut { transform: translate(12px, -12px); }

.burger {
  display: none;
  position: relative;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: var(--surface-2);
}
.burger span { position: absolute; left: 13px; right: 13px; height: 1.5px; border-radius: 2px; background: var(--text); transition: transform .5s var(--ease-out); }
.burger span:first-child { top: 18px; }
.burger span:last-child { top: 25px; }
.menu-open .burger span:first-child { transform: translateY(3.5px) rotate(45deg); }
.menu-open .burger span:last-child { transform: translateY(-3.5px) rotate(-45deg); }

.menu {
  position: fixed;
  inset: 0;
  z-index: var(--z-menu);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: 32px;
  padding: 112px var(--gutter) calc(28px + env(safe-area-inset-bottom));
  background: var(--bg);
  overflow-y: auto;
  clip-path: inset(0 0 100% 0);
  visibility: hidden;
  transition: clip-path .75s var(--ease-io), visibility 0s .75s;
}
.menu-open .menu { clip-path: inset(0 0 0 0); visibility: visible; transition: clip-path .75s var(--ease-io), visibility 0s; }
.menu-open body { overflow: hidden; }
.menu__nav li { overflow: hidden; border-bottom: 1px solid var(--line); }
.menu__nav a {
  display: block;
  padding: 16px 0;
  font: 800 clamp(2.2rem, 10vw, 3.2rem)/1.05 var(--f-display);
  letter-spacing: -0.035em;
  color: var(--text);
  transform: translateY(105%);
  transition: transform .8s var(--ease-out), color .3s;
}
.menu-open .menu__nav a { transform: none; }
.menu-open .menu__nav li:nth-child(1) a { transition-delay: .18s; }
.menu-open .menu__nav li:nth-child(2) a { transition-delay: .24s; }
.menu-open .menu__nav li:nth-child(3) a { transition-delay: .30s; }
.menu-open .menu__nav li:nth-child(4) a { transition-delay: .36s; }
.menu__foot { display: grid; gap: 22px; opacity: 0; transition: opacity .5s .4s; }
.menu-open .menu__foot { opacity: 1; }
.menu__brand { display: flex; align-items: center; justify-content: space-between; gap: 16px; color: var(--text-2); }
.menu__brand .logo { --h: 26px; }

/* ---------- 08 bis. Hero ---------- */
.hero {
  position: relative;
  isolation: isolate;
  min-height: 100svh;
  display: flex;
  align-items: center;
  padding: clamp(118px, 15vh, 160px) 0 clamp(56px, 8vh, 96px);
  overflow: clip;
}
/* Réseau de fils lumineux (canvas) derrière tout le hero */
.hero__net { position: absolute; inset: 0; z-index: 0; width: 100%; height: 100%; pointer-events: none; }
/* Grand halo terracotta derrière le logo de la navigation (position calculée par network.js) */
.hero__halo { position: absolute; z-index: 0; left: var(--hx, 50%); top: var(--hy, 0px); width: 640px; aspect-ratio: 1; border-radius: 50%; background: radial-gradient(closest-side, var(--accent), transparent); opacity: var(--halo-o); transform: translate(-50%, -50%); pointer-events: none; animation: halo-breathe 6s ease-in-out infinite; }
@keyframes halo-breathe { 0%, 100% { transform: translate(-50%, -50%) scale(1); } 50% { transform: translate(-50%, -50%) scale(1.08); } }
/* Fine ligne terracotta qui marque le passage au bandeau défilant */
.hero::after { content: ""; position: absolute; left: 0; right: 0; bottom: 0; z-index: 2; height: 1px; background: linear-gradient(90deg, transparent, var(--accent), transparent); pointer-events: none; }
.hero__grid { position: relative; z-index: 1; display: grid; grid-template-columns: minmax(0, 1.12fr) minmax(0, 1fr); gap: clamp(32px, 4vw, 64px); align-items: center; }
.hero__text { position: relative; display: grid; justify-items: start; }
/* Voile de lisibilité derrière le texte : fond à 55 %, la couleur passe autour */
.hero__text::before { content: ""; position: absolute; inset: -18% -24% -18% -40%; z-index: -1; background: radial-gradient(closest-side, color-mix(in srgb, var(--bg) 55%, transparent) 62%, transparent); pointer-events: none; }
.hero__title {
  margin: 0 0 26px;
  font-size: clamp(2.2rem, 4.8vw, 4.2rem);
  line-height: 0.96;
  letter-spacing: -0.04em;
}
.hero__kicker { display: flex; margin-bottom: 24px; text-wrap: wrap; }
/* Logo en grand en tête du hero : le fichier PNG tel quel (fond transparent), sans masque */
.hero-brand { position: relative; margin-bottom: clamp(28px, 3.2vw, 44px); }
.hero-brand::before { content: ""; position: absolute; inset: 6% 4%; z-index: -1; border-radius: 50%; background: var(--accent-glow); opacity: .3; filter: blur(80px); pointer-events: none; }
.hero-logo { display: block; width: clamp(260px, 36vw, 540px); height: auto; }
/* Version texte de secours, si l'image ne charge pas */
.hero-logo--text { width: auto; font: 900 clamp(6rem, 13.3vw, 12.5rem)/0.9 "Playfair Display", Georgia, "Times New Roman", serif; letter-spacing: -0.02em; color: var(--brand); }
.js:not(.no-motion) .hero-logo { clip-path: inset(0 100% 0 0); }
/* Seul usage de la serif italique sur toute la page */
.hero__title em { font-family: var(--f-serif); font-style: italic; font-weight: 400; letter-spacing: -0.015em; color: var(--accent); font-size: 1.06em; padding-right: 0.05em; }
.hero__sub { max-width: 36ch; font-size: clamp(1.0625rem, 0.6vw + 0.95rem, 1.3rem); color: var(--text-2); }
.hero__ctas { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 34px; }
.hero__reassure { margin-top: 26px; font-size: 0.9375rem; color: var(--text-2); }

.stage { position: relative; aspect-ratio: 1.06 / 1; }
/* Deux halos diffus qui respirent derrière les appareils */
.stage__halo { position: absolute; border-radius: 50%; pointer-events: none; }
.stage__halo--accent { left: 50%; top: 50%; width: min(680px, 150vw); aspect-ratio: 1; background: radial-gradient(closest-side, var(--accent), transparent); opacity: var(--halo-stage-o); transform: translate(-50%, -50%); animation: halo-breathe 6s ease-in-out -3s infinite; }
.stage__halo--sand { left: -8%; top: 32%; width: 62%; aspect-ratio: 1; background: radial-gradient(closest-side, var(--sand-glow), transparent 72%); animation: breathe 10s ease-in-out -4s infinite; }
@keyframes breathe { 0%, 100% { transform: scale(.9); opacity: .7; } 50% { transform: scale(1.08); opacity: 1; } }
.stage__laptop { position: absolute; top: 9%; right: -1%; width: 93%; }
.stage__phone { position: absolute; left: 0; bottom: 5%; width: 25%; }

.laptop__lid {
  padding: 2.1% 2.1% 2.6%;
  border-radius: 18px 18px 8px 8px;
  background: var(--device);
  border: 1px solid var(--line-strong);
}
.laptop__screen { aspect-ratio: 16 / 10; border-radius: 6px; background: var(--surface-2); }
.laptop__base {
  position: relative;
  height: clamp(10px, 1.5vw, 18px);
  margin: 0 -6.5%;
  border-radius: 2px 2px 18px 18px / 2px 2px 12px 12px;
  background: linear-gradient(var(--device-body), var(--surface-2));
  border: 1px solid var(--line-strong);
  border-top: 0;
}
.laptop__base span { position: absolute; top: 0; left: 50%; width: 15%; height: 42%; transform: translateX(-50%); border-radius: 0 0 8px 8px; background: var(--device); opacity: .45; }

.phone__frame {
  position: relative;
  padding: 4.2%;
  border-radius: 16% / 7.4%;
  background: var(--device);
  border: 1px solid var(--line-strong);
  box-shadow: 0 30px 60px -30px var(--shadow-ink);
}
.phone__screen { aspect-ratio: 9 / 19.5; border-radius: 12.5% / 5.8%; background: var(--surface-2); }
.phone__island { position: absolute; top: 3.4%; left: 50%; z-index: 3; width: 30%; height: 2.4%; transform: translateX(-50%); border-radius: 999px; background: var(--device); }

/* Cartes-notifications */
.notif { position: absolute; z-index: 4; }
.notif--1 { top: 1%; left: 3%; }
.notif--2 { top: 27%; right: -5%; }
.notif--3 { bottom: 4%; right: 3%; }
.notif--4 { bottom: 20%; left: 21%; }
.notif__bob { animation: bob 7s ease-in-out infinite; }
.notif--2 .notif__bob { animation-delay: -2s; }
.notif--3 .notif__bob { animation-delay: -4s; }
.notif--4 .notif__bob { animation-delay: -5.5s; }
.notif__card {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 11px 18px 11px 11px;
  border-radius: 20px;
  background: var(--surface);
  border: 1px solid var(--line);
  box-shadow: var(--shadow-1);
  border-left: 2px solid var(--accent);
  white-space: nowrap;
  transform: rotate(var(--r, 0deg));
}
.notif--1 .notif__card { --r: -3deg; }
.notif--2 .notif__card { --r: 2.5deg; }
.notif--3 .notif__card { --r: -1.5deg; }
.notif--4 .notif__card { --r: 3deg; }
.notif__icon { display: grid; place-items: center; width: 34px; height: 34px; flex: none; border-radius: 50%; background: var(--accent-soft); color: var(--accent); }
.notif__icon .icon { width: 17px; height: 17px; stroke-width: 2.2; }
.notif__txt { display: grid; line-height: 1.3; }
.notif__txt strong { font-size: clamp(0.72rem, 0.55vw + 0.5rem, 0.875rem); font-weight: 600; color: var(--text); }
.notif__txt small { font-size: clamp(0.66rem, 0.45vw + 0.45rem, 0.78rem); color: var(--text-2); }

/* ---------- Écrans mis à l'échelle (maquettes et iframes) ---------- */
.screen { position: relative; overflow: hidden; }
.screen__vp { position: absolute; top: 0; left: 0; width: 100%; height: 100%; transform-origin: 0 0; container-type: inline-size; }
.screen[data-autoscroll] .olive__page,
.screen[data-autoscroll] .screen__vp > .olive > .olive__page { animation: screen-scroll var(--scroll-dur, 32s) cubic-bezier(.45, 0, .55, 1) 2s infinite; }
.screen.is-offscreen .olive__page { animation-play-state: paused; }
@keyframes screen-scroll {
  0%, 8% { transform: translate3d(0, 0, 0); }
  44%, 56% { transform: translate3d(0, var(--dist, 0px), 0); }
  92%, 100% { transform: translate3d(0, 0, 0); }
}

/* Maquette « Maison Olive » (bistrot fictif : ses couleurs et polices restent dans la maquette) */
.olive {
  --o-olive: #2F3A2B;
  --o-sage: #A3B18A;
  --o-cream: #F3EEE4;
  --o-terra: #C0673F;
  --o-ink: #1F261C;
  --o-muted: rgba(31, 38, 28, 0.66);
  width: 100%;
  min-height: 100%;
  background: var(--o-cream);
  color: var(--o-ink);
  font-family: var(--f-body);
  font-size: 16px;
  line-height: 1.5;
}
.olive__page { will-change: transform; }
.o-nav { display: flex; align-items: center; gap: 44px; padding: 26px 56px; }
.o-logo { margin-right: auto; font-family: var(--f-serif); font-size: 30px; color: var(--o-olive); letter-spacing: -0.01em; }
.o-logo em { font-style: normal; color: var(--o-terra); }
.o-links { display: flex; gap: 34px; font-size: 15px; color: var(--o-muted); }
.o-btn { display: inline-flex; align-items: center; padding: 13px 24px; border-radius: 999px; background: var(--o-terra); color: #fff; font-size: 15px; font-weight: 600; white-space: nowrap; }
.o-btn--ghost { background: transparent; color: var(--o-cream); box-shadow: inset 0 0 0 1px rgba(243, 238, 228, 0.6); }
.o-burger { display: none; width: 24px; height: 12px; border-block: 2px solid var(--o-olive); }
.o-hero { position: relative; height: 640px; margin: 0 24px; border-radius: 28px; overflow: hidden; }
.o-hero__img { position: absolute; inset: 0; width: 100%; height: 100%; max-width: none; object-fit: cover; }
.o-hero::after { content: ""; position: absolute; inset: 0; background: linear-gradient(to top, rgba(26, 32, 24, 0.88), rgba(26, 32, 24, 0.15) 62%, rgba(26, 32, 24, 0.05)); }
.o-hero__txt { position: absolute; left: 56px; bottom: 56px; z-index: 1; max-width: 780px; color: var(--o-cream); }
.o-kicker { font-size: 13px; font-weight: 600; letter-spacing: 0.14em; text-transform: uppercase; color: var(--o-sage); }
.o-title { margin: 16px 0 30px; font-family: var(--f-serif); font-size: 86px; line-height: 0.98; letter-spacing: -0.01em; }
.o-ctas { display: flex; gap: 12px; }
.o-hours { position: absolute; top: 26px; right: 26px; z-index: 1; padding: 10px 18px; border-radius: 999px; background: rgba(243, 238, 228, 0.92); color: var(--o-olive); font-size: 13px; font-weight: 600; }
.o-menu { display: grid; grid-template-columns: 1fr 1.35fr; gap: 72px; padding: 104px 80px 96px; }
.o-h { margin: 14px 0 16px; font-family: var(--f-serif); font-size: 54px; line-height: 1; color: var(--o-olive); }
.o-p { font-size: 17px; color: var(--o-muted); max-width: 30ch; }
.o-dishes li { display: flex; align-items: baseline; gap: 14px; padding: 19px 0; border-bottom: 1px solid rgba(47, 58, 43, 0.14); font-size: 19px; }
.o-dishes i { flex: 1; min-width: 20px; border-bottom: 1.5px dotted rgba(47, 58, 43, 0.3); }
.o-dishes b { color: var(--o-terra); font-weight: 600; }
.o-gallery { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; padding: 0 24px; }
.o-gallery img { width: 100%; aspect-ratio: 6 / 7; object-fit: cover; border-radius: 20px; }
.o-book { display: flex; align-items: center; justify-content: space-between; gap: 40px; margin: 96px 24px 0; padding: 64px 72px; border-radius: 28px; background: var(--o-olive); color: var(--o-cream); }
.o-book .o-h { margin: 0; color: var(--o-cream); }
.o-fields { display: flex; gap: 12px; }
.o-fields span:not(.o-btn) { padding: 15px 22px; border-radius: 14px; background: rgba(243, 238, 228, 0.08); box-shadow: inset 0 0 0 1px rgba(243, 238, 228, 0.22); white-space: nowrap; }
.o-foot { display: flex; justify-content: space-between; align-items: center; gap: 24px; padding: 56px 80px 70px; font-size: 15px; color: var(--o-muted); }
.o-foot .o-logo { margin-right: 0; }

@container (max-width: 600px) {
  .o-nav { gap: 14px; padding: 56px 20px 16px; }
  .o-links { display: none; }
  .o-nav .o-btn { padding: 10px 16px; font-size: 13px; }
  .o-burger { display: block; }
  .o-logo { font-size: 25px; }
  .o-hero { height: 540px; margin: 0 12px; border-radius: 24px; }
  .o-hero__txt { left: 22px; right: 22px; bottom: 26px; }
  .o-title { font-size: 46px; margin: 12px 0 22px; }
  .o-ctas { flex-wrap: wrap; }
  .o-ctas .o-btn { font-size: 14px; padding: 12px 18px; }
  .o-hours { left: 14px; right: 14px; top: 14px; text-align: center; font-size: 12px; }
  .o-menu { grid-template-columns: 1fr; gap: 18px; padding: 56px 22px; }
  .o-h { font-size: 38px; }
  .o-dishes li { font-size: 16px; padding: 15px 0; }
  .o-gallery { grid-template-columns: 1fr 1fr; gap: 10px; padding: 0 12px; }
  .o-gallery img:last-child { grid-column: span 2; aspect-ratio: 16 / 10; }
  .o-book { flex-direction: column; align-items: stretch; gap: 22px; margin: 56px 12px 0; padding: 36px 22px; }
  .o-fields { flex-direction: column; }
  .o-foot { flex-direction: column; align-items: flex-start; gap: 8px; padding: 36px 22px 56px; }
}

/* ---------- 09. Bandeau défilant ---------- */
.marquee {
  display: grid;
  gap: 6px;
  padding: clamp(26px, 3.5vw, 44px) 0;
  border-block: 1px solid var(--accent);
  background: var(--accent-soft);
  overflow: hidden;
}
.marquee__row { overflow: hidden; }
.marquee__track { display: flex; width: max-content; will-change: transform; }
.marquee__group { display: flex; flex: none; align-items: center; }
.marquee__group li {
  display: flex;
  align-items: center;
  gap: clamp(20px, 2.4vw, 38px);
  padding-right: clamp(20px, 2.4vw, 38px);
  font: 800 clamp(1.8rem, 4vw, 3.2rem)/1.15 var(--f-display);
  letter-spacing: -0.035em;
  color: var(--accent);
  white-space: nowrap;
}
.marquee__group li::after { content: ""; width: 0.32em; height: 0.32em; flex: none; background: var(--brand); transform: rotate(45deg); }
/* Deuxième ligne : mots en contour terracotta, remplis au survol */
.marquee__row--alt .marquee__group li { color: transparent; -webkit-text-stroke: 1.5px var(--accent); transition: color .35s var(--ease-out); }
@media (hover: hover) {
  .marquee__row--alt .marquee__group li:hover { color: var(--accent); }
}

/* ---------- 10. Avant / après ---------- */
.compare {
  --pos: 50%;
  position: relative;
  border-radius: var(--r-media);
  overflow: hidden;
  background: var(--surface);
  border: 1px solid var(--line);
}
.compare__bar, .browser__bar {
  display: flex;
  align-items: center;
  gap: 14px;
  height: 44px;
  padding: 0 18px;
  background: var(--surface);
  border-bottom: 1px solid var(--line);
}
.dots { display: flex; gap: 7px; flex: none; }
.dots i { width: 10px; height: 10px; border-radius: 50%; background: var(--surface-2); }
.url {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 7px;
  flex: 0 1 380px;
  height: 28px;
  margin: 0 auto;
  padding: 0 14px;
  border-radius: 999px;
  background: var(--bg);
  font: 500 12.5px var(--f-body);
  color: var(--text-2);
  white-space: nowrap;
  overflow: hidden;
}
.url .icon { width: 12px; height: 12px; color: var(--brand); }
.compare__view { aspect-ratio: 16 / 10; touch-action: pan-y; cursor: ew-resize; user-select: none; -webkit-user-select: none; }
.compare__layer { position: absolute; inset: 0; overflow: hidden; }
img[data-photo]:not([src]), img[data-photo].is-missing { visibility: hidden; }
.fe-new { clip-path: inset(0 0 0 var(--pos)); }
.compare__handle { position: absolute; top: 0; bottom: 0; left: var(--pos); z-index: 5; width: 48px; margin-left: -24px; display: flex; justify-content: center; cursor: ew-resize; outline: none; }
.compare__handle::before { content: ""; width: 2px; height: 100%; background: var(--brand); }
.compare__knob {
  position: absolute;
  top: 50%;
  left: 50%;
  display: grid;
  place-items: center;
  width: 54px;
  height: 54px;
  margin: -27px 0 0 -27px;
  border-radius: 50%;
  background: var(--brand);
  color: var(--bg);
  transition: transform .45s var(--ease-spring);
}
.compare__knob .icon { width: 24px; height: 24px; stroke-width: 2; }
.compare:hover .compare__knob, .compare.is-dragging .compare__knob { transform: scale(1.1); }
.compare__handle:focus-visible .compare__knob { outline: 2px solid var(--text); outline-offset: 4px; }
.compare__tag { position: absolute; top: 16px; z-index: 3; padding: 7px 13px; border-radius: 999px; background: var(--surface); border: 1px solid var(--line); color: var(--text); font: 500 11.5px/1 var(--f-body); letter-spacing: 0.08em; text-transform: uppercase; pointer-events: none; }
.compare__tag--before { left: 16px; }
.compare__tag--after { right: 16px; }
.compare__hint { display: flex; align-items: center; justify-content: center; gap: 10px; margin-top: 22px; font-size: 0.9375rem; color: var(--text-2); }
.compare__hint .icon { width: 22px; height: 22px; color: var(--accent); }

/* Annotations posées sur la moitié « après » */
.ann {
  position: absolute;
  left: var(--ax);
  top: var(--ay);
  z-index: 4;
  display: flex;
  align-items: center;
  pointer-events: none;
  opacity: 0;
  transform: translate(-6px, calc(-50% + 6px));
  transition: opacity .45s var(--ease-out), transform .45s var(--ease-out);
}
.ann.is-on { opacity: 1; transform: translate(-6px, -50%); }
.ann__dot { position: relative; width: 12px; height: 12px; flex: none; border-radius: 50%; background: var(--accent); box-shadow: 0 0 0 2px var(--bg); }
.ann__dot::after { content: ""; position: absolute; inset: -7px; border-radius: 50%; border: 1.5px solid var(--accent); animation: ann-pulse 2.2s var(--ease-out) infinite; }
.ann__line { width: 34px; height: 1px; flex: none; background: var(--accent); }
.ann__label { padding: 7px 12px; border-radius: 999px; background: var(--bg); border: 1px solid var(--accent); color: var(--text); font: 500 0.8125rem/1.2 var(--f-body); white-space: nowrap; }
/* Variantes : étiquette à gauche du point, ou sous le point */
.ann--left { flex-direction: row-reverse; transform: translate(calc(-100% + 6px), calc(-50% + 6px)); }
.ann--left.is-on { transform: translate(calc(-100% + 6px), -50%); }
.ann--below { flex-direction: column; align-items: flex-end; transform: translate(calc(-100% + 6px), 0); }
.ann--below.is-on { transform: translate(calc(-100% + 6px), -6px); }
.ann--below .ann__line { width: 1px; height: 26px; margin-right: 5.5px; }
.ann--devis { --ax: 84.1%; --ay: 10.8%; }
.ann--works { --ax: 40.5%; --ay: 87.5%; }
.ann--zone { --ax: 40.6%; --ay: 49.3%; }
@keyframes ann-pulse { 0% { transform: scale(.6); opacity: .9; } 100% { transform: scale(1.6); opacity: 0; } }

/* Maquette « avant » : site d'artisan sur un modèle d'annuaire professionnel (vers 2017) */
.fe-old { display: flex; flex-direction: column; background: #E9E9E9; color: #666666; font: 13px/1.55 Arial, Helvetica, sans-serif; }
.fo-wrap { width: 960px; margin: 0 auto; }
.fo-head { background: #1D3557; color: #FFFFFF; }
.fo-brand { display: flex; align-items: center; gap: 14px; padding: 18px 0 16px; }
.fo-saw { width: 46px; height: 46px; flex: none; fill: none; stroke: #FFFFFF; stroke-width: 1.6; stroke-linejoin: round; stroke-linecap: round; }
.fo-name { font: bold 27px/1.1 Arial, Helvetica, sans-serif; letter-spacing: 1px; }
.fo-tag { margin-top: 3px; font-size: 12px; color: #A9B9D0; }
.fo-tel { margin-left: auto; font-size: 12px; color: #C9D3E0; }
.fo-menu { background: #16294A; border-top: 1px solid #2B4670; }
.fo-menu ul { display: flex; }
.fo-menu li { padding: 10px 0; color: #FFFFFF; font-size: 13px; }
.fo-menu li + li::before { content: "|"; margin: 0 16px; color: #6F86A8; }
.fo-menu .is-on { color: #F4B400; }
.fo-body { flex: 1; display: flex; flex-direction: column; width: 960px; margin: 0 auto; padding: 16px 20px; background: #FFFFFF; }
.fo-slider { position: relative; height: 228px; overflow: hidden; background: var(--surface-2); }
.fo-slider img { width: 100%; height: 100%; max-width: none; object-fit: cover; object-position: 50% 62%; filter: brightness(.5); }
.fo-caption { position: absolute; top: 50%; left: 0; right: 0; transform: translateY(-50%); text-align: center; color: #FFFFFF; font: bold 25px Arial, Helvetica, sans-serif; text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.85); }
.fo-arrow { position: absolute; top: 50%; display: grid; place-items: center; width: 28px; height: 44px; margin-top: -22px; background: rgba(0, 0, 0, 0.45); color: #FFFFFF; font-size: 22px; }
.fo-arrow--l { left: 0; }
.fo-arrow--r { right: 0; }
.fo-dots { position: absolute; bottom: 10px; left: 50%; display: flex; gap: 6px; transform: translateX(-50%); }
.fo-dots i { width: 8px; height: 8px; border-radius: 50%; background: rgba(255, 255, 255, 0.5); }
.fo-dots .is-on { background: #FFFFFF; }
.fo-cols { display: grid; grid-template-columns: 1fr 262px; gap: 28px; margin-top: 16px; }
.fo-h { margin-bottom: 7px; padding-bottom: 4px; border-bottom: 1px solid #DDDDDD; color: #1D3557; font: bold 16px Arial, Helvetica, sans-serif; }
.fo-welcome { text-align: center; }
.fo-h--next { margin-top: 12px; }
.fo-list { padding-left: 20px; list-style: disc; }
.fo-gal { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 8px; }
.fo-gal span { aspect-ratio: 1; padding: 3px; border: 1px solid #CCCCCC; background: linear-gradient(var(--surface-2), var(--surface-2)) content-box, #FFFFFF; }
.fo-gal img { width: 100%; height: 100%; max-width: none; object-fit: cover; }
.fo-devis { display: flex; align-items: center; gap: 12px; margin-top: auto; padding-top: 12px; font-size: 11px; color: #888888; }
.fo-btn { padding: 6px 14px; border-radius: 3px; background: #F4B400; color: #222222; font: bold 12px Arial, Helvetica, sans-serif; box-shadow: inset 0 -2px 0 rgba(0, 0, 0, 0.15); }
.fo-foot { padding: 10px 0 12px; background: #D6D6D6; color: #777777; font-size: 10px; line-height: 1.5; }
.fo-foot p + p { margin-top: 3px; }

/* Maquette « après » : Atelier Ferrand, palette et typographies propres à l'atelier */
.fe-new {
  --a-paper: #F5F1EA;
  --a-ink: #1F1F1F;
  --a-oak: #B08356;
  --a-fir: #2F4A3A;
  background: var(--a-paper);
  color: var(--a-ink);
  font: 400 16px/1.5 var(--f-source);
}
.fn-head { position: absolute; top: 0; left: 0; right: 0; z-index: 2; display: flex; align-items: center; gap: 34px; height: 100px; padding: 26px 120px 0 64px; }
.fn-logo { margin-right: auto; font: 700 25px/1 var(--f-narrow); letter-spacing: 0.01em; }
.fn-links { display: flex; gap: 30px; font-size: 16px; color: rgba(31, 31, 31, 0.78); }
.fn-btn { padding: 12px 22px; border-radius: 4px; background: var(--a-ink); color: var(--a-paper); font-size: 15px; font-weight: 600; }
.fn-cover { position: absolute; top: 100px; left: 660px; right: 0; height: 388px; overflow: hidden; background: var(--surface-2); }
.fn-cover img, .fn-works__photo img, .fn-shop__photo img { width: 100%; height: 100%; max-width: none; object-fit: cover; }
.fn-cover img { object-position: 45% 60%; }
.fn-intro { position: absolute; top: 140px; left: 64px; width: 560px; }
.fn-title { font: 700 64px/0.98 var(--f-narrow); letter-spacing: -0.01em; }
.fn-lead { margin-top: 20px; max-width: 30em; font-size: 19px; line-height: 1.45; color: rgba(31, 31, 31, 0.8); }
.fn-info { display: inline-block; margin-top: 26px; padding-top: 14px; border-top: 2px solid var(--a-fir); color: var(--a-fir); font-size: 16px; font-weight: 600; }
.fn-works { position: absolute; top: 540px; left: 64px; width: 690px; }
.fn-row { display: flex; align-items: baseline; justify-content: space-between; gap: 20px; }
.fn-h { font: 700 26px/1 var(--f-narrow); }
.fn-caption { display: flex; align-items: center; gap: 10px; font-size: 15px; color: rgba(31, 31, 31, 0.75); }
.fn-caption::before { content: ""; width: 18px; height: 2px; background: var(--a-oak); }
.fn-works__photo { height: 320px; margin-top: 14px; overflow: hidden; background: var(--surface-2); }
.fn-works__photo img { object-position: 50% 42%; }
.fn-shop { position: absolute; top: 540px; left: 816px; width: 400px; }
.fn-shop__photo { height: 150px; margin-top: 14px; overflow: hidden; background: var(--surface-2); }
.fn-shop__photo img { object-position: 50% 30%; }
.fn-shop__text { margin-top: 12px; font-size: 15px; line-height: 1.45; color: rgba(31, 31, 31, 0.8); }

/* ---------- 11. Méthode ---------- */
.steps { --p: 0; position: relative; }
.steps__line { position: absolute; top: 50%; left: 3%; right: 3%; z-index: 0; height: 2px; border-radius: 2px; background: var(--line-strong); }
.steps__line span { display: block; height: 100%; border-radius: inherit; background: var(--accent); transform: scaleX(var(--p)); transform-origin: left; }
.steps__list { position: relative; z-index: 1; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 22px; }
.step {
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 12px;
  padding: 26px 24px 22px;
  border-radius: var(--r-card);
  background: var(--surface);
  border: 1px solid var(--line);
  transition: transform .6s var(--ease-out), border-color .5s;
}
.step.is-active { transform: translateY(-8px); border-color: var(--accent); }
.step__num { font: 800 clamp(3.8rem, 5vw, 5rem)/0.86 var(--f-display); letter-spacing: -0.05em; color: var(--accent); }
.step h3 { margin-top: 6px; font-size: clamp(1.375rem, 1.7vw, 1.5rem); line-height: 1.12; letter-spacing: -0.02em; }
.step p { font-size: 0.975rem; }
.steps__note { margin-top: clamp(36px, 5vw, 56px); color: var(--text-2); }

/* Mini-illustrations d'interface (s'animent au survol ou quand l'étape est active) */
.step__ui { position: relative; height: 104px; margin-top: auto; padding-top: 14px; }
.step__ui :is(svg) { overflow: visible; }

.ui-plan__card { position: absolute; left: 0; display: flex; align-items: center; gap: 10px; width: 170px; padding: 10px 12px; border-radius: 12px; background: var(--bg); border: 1px solid var(--line-strong); transition: border-color .4s, transform .5s var(--ease-out); }
.ui-plan__card:first-child { top: 14px; z-index: 1; }
.ui-plan__card--ghost { top: 52px; left: 22px; opacity: .55; }
.ui-plan__txt { display: grid; gap: 5px; flex: 1; }
.ui-plan__txt i { height: 5px; border-radius: 3px; background: var(--text-3); opacity: .5; }
.ui-plan__txt i:last-child { width: 60%; }
.ui-plan__card b { font-size: 0.8125rem; }
.ui-check { display: grid; place-items: center; width: 20px; height: 20px; flex: none; border-radius: 50%; border: 1px solid var(--line-strong); transition: background-color .35s, border-color .35s; }
.ui-check svg { width: 12px; height: 12px; fill: none; stroke: var(--bg); stroke-width: 3; stroke-linecap: round; stroke-linejoin: round; stroke-dasharray: 1; stroke-dashoffset: 1; transition: stroke-dashoffset .4s var(--ease-out) .15s; }
:is(.step:hover, .step.is-active) .ui-plan__card:first-child { border-color: var(--accent); transform: translateY(-3px); }
:is(.step:hover, .step.is-active) .ui-plan__card:first-child .ui-check { background: var(--accent); border-color: var(--accent); }
:is(.step:hover, .step.is-active) .ui-plan__card:first-child .ui-check svg { stroke-dashoffset: 0; }

.ui-valid { display: flex; align-items: center; gap: 16px; }
.ui-valid__lines { display: grid; gap: 7px; width: 96px; }
.ui-valid__lines i { height: 9px; border-radius: 5px; background: var(--bg); border: 1px solid var(--line-strong); }
.ui-valid svg { width: 62px; height: 62px; fill: none; stroke-linecap: round; stroke-linejoin: round; }
.ui-valid circle { stroke: var(--line-strong); stroke-width: 2; transition: stroke .4s; }
.ui-valid path { stroke: var(--accent); stroke-width: 3.5; stroke-dasharray: 1; stroke-dashoffset: 1; transition: stroke-dashoffset .6s var(--ease-out) .1s; }
:is(.step:hover, .step.is-active) .ui-valid circle { stroke: var(--accent); }
:is(.step:hover, .step.is-active) .ui-valid path { stroke-dashoffset: 0; }

.ui-folder__file { position: absolute; top: 10px; width: 34px; height: 26px; border-radius: 6px; background: var(--surface-2); border: 1px solid var(--line-strong); transition: transform .6s var(--ease-io), opacity .5s; }
.ui-folder__file:nth-child(1) { left: 26px; transform: rotate(-8deg); }
.ui-folder__file:nth-child(2) { left: 62px; top: 4px; transform: rotate(4deg); }
.ui-folder__file:nth-child(3) { left: 98px; transform: rotate(10deg); }
.ui-folder__file::after { content: ""; position: absolute; left: 5px; right: 5px; bottom: 5px; height: 8px; border-radius: 2px; background: var(--brand-soft); }
.ui-folder svg { position: absolute; left: 34px; bottom: 0; width: 92px; height: 58px; fill: var(--bg); stroke: var(--text-2); stroke-width: 1.6; stroke-linejoin: round; }
:is(.step:hover, .step.is-active) .ui-folder__file { opacity: 0; }
:is(.step:hover, .step.is-active) .ui-folder__file:nth-child(1) { transform: translate(22px, 56px) rotate(10deg) scale(.6); transition-delay: 0s; }
:is(.step:hover, .step.is-active) .ui-folder__file:nth-child(2) { transform: translate(0, 62px) rotate(-6deg) scale(.6); transition-delay: .12s; }
:is(.step:hover, .step.is-active) .ui-folder__file:nth-child(3) { transform: translate(-22px, 56px) rotate(-12deg) scale(.6); transition-delay: .24s; }

.ui-browser { position: absolute; left: 0; bottom: 0; width: 170px; height: 92px; border-radius: 10px; background: var(--bg); border: 1px solid var(--line-strong); overflow: hidden; }
.ui-browser__bar { display: flex; gap: 4px; padding: 7px 8px; border-bottom: 1px solid var(--line); }
.ui-browser__bar i { width: 5px; height: 5px; border-radius: 50%; background: var(--text-3); opacity: .6; }
.ui-browser__load { height: 2px; background: var(--accent); transform: scaleX(0); transform-origin: left; transition: transform .7s var(--ease-io); }
.ui-browser__page { display: grid; grid-template-columns: 1.2fr 1fr; gap: 6px; padding: 8px; }
.ui-browser__page i { height: 16px; border-radius: 4px; background: var(--surface-2); opacity: 0; transform: translateY(4px); transition: opacity .4s, transform .4s var(--ease-out); }
.ui-browser__page i:first-child { grid-row: span 2; height: 38px; background: var(--brand-soft); }
:is(.step:hover, .step.is-active) .ui-browser__load { transform: scaleX(1); }
:is(.step:hover, .step.is-active) .ui-browser__page i { opacity: 1; transform: none; }
:is(.step:hover, .step.is-active) .ui-browser__page i:nth-child(1) { transition-delay: .55s; }
:is(.step:hover, .step.is-active) .ui-browser__page i:nth-child(2) { transition-delay: .7s; }
:is(.step:hover, .step.is-active) .ui-browser__page i:nth-child(3) { transition-delay: .85s; }

/* ---------- 12. Formules & tarifs ---------- */
.billing { display: grid; justify-items: center; gap: 12px; }
.billing__hint { font-size: 0.9375rem; color: var(--text-2); }

/* Réassurance au-dessus des cartes */
.assure { display: flex; flex-wrap: wrap; justify-content: center; gap: 12px; margin-top: 28px; }
.assure li {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  min-height: 48px;
  padding: 0 20px 0 16px;
  border-radius: 999px;
  border: 1px solid var(--line);
  background: var(--surface);
  font: 500 1rem/1.2 var(--f-body);
  color: var(--text);
}
.assure .icon { width: 20px; height: 20px; color: var(--accent); }
.assure .assure--key { border-color: var(--brand); }

.plans { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.08fr) minmax(0, 1fr); gap: 20px; align-items: stretch; margin-top: clamp(44px, 5vw, 64px); }
.plan {
  --rx: 0deg;
  --ry: 0deg;
  position: relative;
  isolation: isolate;
  display: flex;
  flex-direction: column;
  gap: 22px;
  padding: 34px 30px 30px;
  border-radius: var(--r-card);
  background: var(--surface);
  border: 1px solid var(--line);
  transform: perspective(1100px) rotateX(var(--rx)) rotateY(var(--ry));
  transition: transform .6s var(--ease-out), border-color .45s;
}
@media (hover: hover) {
  .plan:hover { border-color: var(--brand); }
  .plan:hover .odo { color: var(--accent); }
}
.plan--featured { margin-block: -16px; padding-top: 48px; padding-bottom: 46px; border-color: transparent; }
.plan--featured::before {
  content: "";
  position: absolute;
  inset: -1px;
  z-index: 1;
  border-radius: inherit;
  padding: 1.5px;
  background: conic-gradient(from var(--angle, 0deg), color-mix(in srgb, var(--brand) 30%, transparent) 0 40%, var(--brand) 62%, color-mix(in srgb, var(--brand) 30%, transparent) 84%);
  -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0);
  -webkit-mask-composite: xor;
  mask: linear-gradient(#000 0 0) content-box exclude, linear-gradient(#000 0 0);
  animation: border-spin 6s linear infinite;
  pointer-events: none;
}
@property --angle { syntax: "<angle>"; initial-value: 0deg; inherits: false; }
.plan__badge { position: absolute; top: 18px; right: 18px; padding: 7px 13px; border-radius: 999px; background: var(--brand-soft); color: var(--brand-ink); font-size: 0.75rem; font-weight: 600; }
.plan__head { display: grid; gap: 8px; }
.plan__name { font-size: 2rem; letter-spacing: -0.03em; }
.plan__desc { font-size: 0.975rem; color: var(--text-2); }
.plan__price { display: flex; align-items: flex-start; gap: 8px; min-height: 1em; }
.plan__price .odo { font: 800 clamp(3.6rem, 5.4vw, 4.8rem)/1 var(--f-display); letter-spacing: -0.045em; color: var(--text); transition: color .4s; }
.plan__unit { margin-top: 0.45em; font: 600 1.15rem var(--f-body); color: var(--text-2); }
.plan__note { min-height: 1.6em; font-size: 0.9375rem; color: var(--text-2); }
.badge { display: inline-block; margin-left: 6px; padding: 3px 10px; border-radius: 999px; background: var(--brand-soft); color: var(--brand-ink); font-weight: 600; font-size: 0.8rem; white-space: nowrap; }
.plan__list { display: grid; gap: 13px; padding-top: 22px; border-top: 1px solid var(--line); }
.plan__list li { display: grid; grid-template-columns: 20px 1fr; gap: 12px; font-size: 0.975rem; color: var(--text-2); }
.plan__list .icon { width: 19px; height: 19px; margin-top: 2px; color: var(--brand); stroke-width: 2.2; }
.plan .btn { margin-top: auto; }

/* Carte « Sur-mesure » : fond profond, bordure dégradée, rappel des fils du hero */
.plan--custom { background: var(--bg); border-color: transparent; overflow: hidden; }
.plan--custom::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 1;
  border-radius: inherit;
  padding: 1px;
  background: linear-gradient(135deg, var(--accent), var(--brand));
  -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0);
  -webkit-mask-composite: xor;
  mask: linear-gradient(#000 0 0) content-box exclude, linear-gradient(#000 0 0);
  pointer-events: none;
}
.plan--custom::after { content: ""; position: absolute; top: -35%; right: -35%; z-index: -1; width: 90%; aspect-ratio: 1; border-radius: 50%; background: radial-gradient(closest-side, var(--accent-glow), transparent); opacity: .5; pointer-events: none; }
.plan__threads { position: absolute; inset: 0; z-index: -1; width: 100%; height: 100%; pointer-events: none; }
.plan__threads path { fill: none; stroke: var(--accent); stroke-width: 1; opacity: .16; }
.plan__threads circle { fill: var(--brand); opacity: .35; }
.plan__tags { display: flex; flex-wrap: wrap; gap: 8px; }
.plan__tags li { padding: 8px 14px; border-radius: 999px; border: 1px solid var(--line-strong); background: var(--bg); font-size: 0.875rem; color: var(--text); }
.plan__text { font-size: 0.975rem; color: var(--text-2); }
.plans__dots { display: none; }
.plans__more { margin: clamp(28px, 4vw, 40px) auto 0; text-align: center; color: var(--muted, inherit); }
.plans__more a { font-weight: 600; color: var(--fg, inherit); background: linear-gradient(currentColor, currentColor) 0 100% / 0 1px no-repeat; transition: background-size .5s var(--ease, ease); padding-bottom: 2px; }
.plans__more a:hover, .plans__more a:focus-visible { background-size: 100% 1px; }

.details { display: grid; justify-items: center; margin-top: clamp(56px, 6vw, 80px); }
.details__chev { transition: transform .5s var(--ease-out); }
.details.is-open .details__chev { transform: rotate(180deg); }
.details__panel { width: 100%; overflow: hidden; }
.details__scroll { overflow-x: auto; padding-top: 28px; }
.table { width: 100%; min-width: 520px; border-collapse: collapse; }
.table th, .table td { padding: 16px 18px; border-bottom: 1px solid var(--line); text-align: left; vertical-align: middle; }
.table thead th { font: 500 0.8125rem var(--f-body); letter-spacing: 0.08em; text-transform: uppercase; color: var(--text-2); }
.table thead th + th, .table td { width: 24%; text-align: center; }
.table tbody th { font-weight: 500; color: var(--text); }
.table td { color: var(--text-2); }
.table td .icon { width: 20px; height: 20px; color: var(--brand); stroke-width: 2.2; stroke-dasharray: 1; stroke-dashoffset: 1; }
.details.is-open .table td .icon { stroke-dashoffset: 0; transition: stroke-dashoffset .7s var(--ease-out) .25s; }
.table__no { color: var(--text-2); font-size: 0.9rem; }

/* ---------- 13. Réalisations ---------- */
.works__grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(64px, 8vw, 110px) clamp(24px, 3vw, 40px); }
.project { display: grid; gap: 30px; align-content: start; }
.project--featured { grid-column: 1 / -1; grid-template-columns: minmax(0, 1.7fr) minmax(0, 1fr); gap: clamp(32px, 4vw, 64px); align-items: center; }
.project__media { position: relative; padding: 0 8% 7% 0; }
.browser { position: relative; border-radius: var(--r-media); overflow: hidden; background: var(--surface); border: 1px solid var(--line); }
.browser__view { aspect-ratio: 16 / 10; background: var(--surface-2); }
.project__shot { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: top; }
.screen iframe { width: 100%; height: 100%; border: 0; background: var(--surface-2); opacity: 0; pointer-events: none; transition: opacity .7s var(--ease); }
.screen.is-loaded iframe { opacity: 1; }
.project.is-live .screen iframe { pointer-events: auto; }
.project__explore { position: absolute; left: 0; right: 0; bottom: 16px; z-index: 3; width: max-content; margin-inline: auto; }
.project.is-live .project__explore { bottom: auto; top: 54px; right: 14px; left: auto; margin: 0; }
.phone--project { position: absolute; right: 0; bottom: 0; z-index: 2; width: 23%; }
.phone--project .phone__frame { box-shadow: 0 24px 50px -24px var(--shadow-ink); }
.project__info { display: grid; gap: 14px; justify-items: start; align-content: start; }
.project__name { font-size: clamp(2rem, 3.4vw, 2.9rem); letter-spacing: -0.035em; line-height: 1; }
.project__kind { font: 500 0.8125rem/1.5 var(--f-body); letter-spacing: 0.08em; text-transform: uppercase; color: var(--brand-ink); }
.project__desc { color: var(--text-2); max-width: 46ch; }
.tags { display: flex; flex-wrap: wrap; gap: 8px; margin: 2px 0 6px; }
.tags li { padding: 7px 14px; border-radius: 999px; border: 1px solid var(--line-strong); font-size: 0.875rem; color: var(--text-2); }

/* ---------- 14. Pourquoi MTO ---------- */
.why__layout { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: clamp(40px, 7vw, 120px); align-items: start; }
.why__intro { position: sticky; top: 112px; display: grid; gap: 22px; justify-items: start; }
.why__list { border-top: 1px solid var(--line); }
.why__list li { display: grid; grid-template-columns: 52px 1fr; gap: 16px; padding: 30px 0; border-bottom: 1px solid var(--line); }
.why__n { padding-top: 0.35em; font: 500 0.9375rem/1 var(--f-body); color: var(--text-2); font-variant-numeric: tabular-nums; transition: color .3s; }
.why__list h3 { margin-bottom: 8px; font-size: clamp(1.4rem, 2.2vw, 1.85rem); letter-spacing: -0.03em; transition: color .3s; }
.why__list p { max-width: 52ch; }
@media (hover: hover) {
  .why__list li:hover h3 { color: var(--brand); }
  .why__list li:hover .why__n { color: var(--accent); }
}

.stats { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 18px; width: 100%; margin-top: 18px; }
.stat { padding-top: 18px; border-top: 1px solid var(--line-strong); }
.stat dd { display: grid; gap: 10px; }
.stat__num { display: flex; align-items: flex-start; gap: 0.1em; font: 800 clamp(2.6rem, 4.6vw, 3.8rem)/1 var(--f-display); letter-spacing: -0.05em; color: var(--accent); }
.stat__unit { margin-top: 0.14em; font-size: 0.38em; letter-spacing: -0.02em; color: var(--text-2); }
.stat__label { font-size: 0.9375rem; color: var(--text-2); }

/* ---------- 15. FAQ ---------- */
.faq__grid { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: clamp(40px, 6vw, 100px); align-items: start; }
.faq__head { position: sticky; top: 120px; display: grid; gap: 22px; justify-items: start; }
.faq__item { border-bottom: 1px solid var(--line); }
.faq__item:first-child { border-top: 1px solid var(--line); }
.faq__q {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  width: 100%;
  min-height: 44px;
  padding: 24px 0;
  text-align: left;
  font: 600 clamp(1.0625rem, 0.6vw + 0.92rem, 1.25rem)/1.35 var(--f-body);
  color: var(--text);
}
.faq__ico { position: relative; flex: none; width: 38px; height: 38px; border-radius: 50%; border: 1px solid var(--line-strong); transition: background-color .4s, border-color .4s, transform .5s var(--ease-out); }
.faq__ico::before, .faq__ico::after { content: ""; position: absolute; top: 50%; left: 50%; width: 13px; height: 1.5px; margin: -0.75px 0 0 -6.5px; border-radius: 2px; background: var(--text); transition: transform .5s var(--ease-out), background-color .4s; }
.faq__ico::after { transform: rotate(90deg); }
.faq__q[aria-expanded="true"] .faq__ico { background: var(--brand-soft); border-color: var(--brand); transform: rotate(180deg); }
.faq__q[aria-expanded="true"] .faq__ico::before, .faq__q[aria-expanded="true"] .faq__ico::after { background: var(--brand); }
.faq__q[aria-expanded="true"] .faq__ico::after { transform: rotate(0deg); }
.faq__q:hover .faq__ico { border-color: var(--brand); }
.faq__a { overflow: hidden; }
.faq__inner { padding: 0 60px 28px 0; }

/* ---------- 16. Contact & formulaires ---------- */
.contact__grid { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: clamp(40px, 6vw, 96px); align-items: start; }
.contact__head { display: grid; gap: 22px; justify-items: start; }
.zone { display: grid; gap: 10px; max-width: 440px; margin-top: 18px; padding-top: 22px; border-top: 1px solid var(--line); }
.zone p { font-size: 0.975rem; }
.channels { display: grid; gap: 12px; width: 100%; max-width: 440px; margin-top: 10px; }
.channel {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  display: flex;
  align-items: center;
  gap: 16px;
  min-height: 64px;
  padding: 8px 22px 8px 8px;
  border-radius: 999px;
  border: 1px solid var(--line-strong);
  color: var(--text);
  transition: color .4s var(--ease-out), border-color .4s;
}
.channel::before { content: ""; position: absolute; inset: 0; z-index: -1; background: var(--text); transform: translateY(102%); transition: transform .55s var(--ease-out); }
@media (hover: hover) {
  .channel:hover { color: var(--bg); border-color: var(--text); }
  .channel:hover::before { transform: none; }
  .channel:hover .channel__ico { background: var(--bg); color: var(--text); }
  .channel:hover .channel__txt small { color: var(--bg); }
  .channel:hover .channel__arrow { transform: translate(3px, -3px); }
}
.channel__ico { display: grid; place-items: center; width: 48px; height: 48px; flex: none; border-radius: 50%; background: var(--surface-2); color: var(--text); transition: background-color .4s, color .4s; }
.channel__ico .icon { width: 21px; height: 21px; }
.channel__txt { display: grid; min-width: 0; line-height: 1.3; }
.channel__txt small { font-size: 0.75rem; color: var(--text-2); transition: color .4s; }
.channel__txt strong { color: inherit; font-weight: 500; overflow-wrap: anywhere; }
.channel__arrow { margin-left: auto; transition: transform .45s var(--ease-out); }

.form-card { position: relative; padding: clamp(22px, 3.5vw, 44px); border-radius: var(--r-media); background: var(--surface); border: 1px solid var(--line); }
.form__grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px; }
.field { position: relative; }
.field--full { grid-column: 1 / -1; }
.field input, .field select, .field textarea {
  display: block;
  width: 100%;
  min-height: 60px;
  padding: 25px 46px 9px 18px;
  border-radius: 14px;
  border: 1px solid var(--line-strong);
  background: var(--bg);
  color: var(--text);
  font-size: 1rem;
  line-height: 1.4;
  -webkit-appearance: none;
  appearance: none;
  transition: border-color .3s, box-shadow .3s, background-color .3s;
}
.field textarea { min-height: 140px; resize: vertical; padding-right: 18px; }
.field select { cursor: pointer; }
.field label {
  position: absolute;
  top: 19px;
  left: 19px;
  right: 46px;
  color: var(--text-2);
  font-size: 1rem;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  pointer-events: none;
  transform-origin: 0 0;
  transition: transform .35s var(--ease-out), color .3s;
}
.field :focus + label,
.field :not(:placeholder-shown) + label,
.field--select label { transform: translateY(-11px) scale(0.76); color: var(--brand-ink); }
.field :is(input, select, textarea):hover { border-color: var(--text-3); }
.field :is(input, select, textarea):focus { outline: none; border-color: var(--brand); box-shadow: 0 0 0 3px var(--brand-soft); }
.field__chev { position: absolute; top: 20px; right: 18px; width: 20px; height: 20px; color: var(--text-2); pointer-events: none; }
.field::after {
  content: "";
  position: absolute;
  top: 20px;
  right: 18px;
  width: 20px;
  height: 20px;
  background: var(--brand);
  -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='2.4' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M5 12.5l4.5 4.5L19 7.5'/%3E%3C/svg%3E") center / contain no-repeat;
  mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='2.4' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M5 12.5l4.5 4.5L19 7.5'/%3E%3C/svg%3E") center / contain no-repeat;
  transform: scale(0);
  transition: transform .4s var(--ease-spring);
  pointer-events: none;
}
.field.is-valid::after { transform: scale(1); }
.field--select::after, .field:has(textarea)::after { display: none; }
.field.is-invalid :is(input, textarea, select) { border-color: var(--brand); border-style: dashed; }
.field__msg { font-size: 0.875rem; color: var(--text); }
.field__msg:not(:empty) { display: flex; gap: 8px; margin-top: 8px; }
.field__msg:not(:empty)::before { content: "!"; display: grid; place-items: center; width: 18px; height: 18px; flex: none; border-radius: 50%; background: var(--brand); color: var(--bg); font: 700 0.7rem/1 var(--f-body); }

.check { display: grid; grid-template-columns: 24px 1fr; gap: 6px 14px; align-items: start; margin: 22px 0; font-size: 0.9375rem; }
.check input {
  -webkit-appearance: none;
  appearance: none;
  width: 24px;
  height: 24px;
  margin: 0;
  border-radius: 7px;
  border: 1px solid var(--line-strong);
  background: var(--bg);
  cursor: pointer;
  transition: background-color .3s, border-color .3s;
}
.check input:checked { border-color: var(--brand); background: var(--brand) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%230F0F0F' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M5 12.5l4.5 4.5L19 7.5'/%3E%3C/svg%3E") center / 15px no-repeat; }
[data-theme="light"] .check input:checked { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23F6F6F6' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M5 12.5l4.5 4.5L19 7.5'/%3E%3C/svg%3E"); }
.check label { color: var(--text-2); cursor: pointer; }
.check a { color: var(--text); text-decoration: underline; text-underline-offset: 3px; }
.check .field__msg { grid-column: 2; margin-top: 0; }
.check.is-invalid input { border-color: var(--brand); border-style: dashed; }

.form__foot { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 16px; }
.form__req { font-size: 0.875rem; color: var(--text-2); }
.shake { animation: shake .5s var(--ease); }

.form-done { display: grid; justify-items: center; gap: 14px; padding: clamp(28px, 5vw, 56px) 10px; text-align: center; }
.form-done h3 { font-size: clamp(1.5rem, 2.4vw, 2rem); letter-spacing: -0.025em; outline: none; }
.done-check { width: 72px; height: 72px; }
.done-check--lg { width: 88px; height: 88px; }
.done-check circle { fill: var(--brand-soft); stroke: var(--brand); stroke-width: 1.6; stroke-dasharray: 1; stroke-dashoffset: 1; transform: rotate(-90deg); transform-origin: center; }
.done-check path { fill: none; stroke: var(--brand); stroke-width: 3; stroke-linecap: round; stroke-linejoin: round; stroke-dasharray: 1; stroke-dashoffset: 1; }
.is-drawn .done-check circle, .done-check.is-drawn circle { stroke-dashoffset: 0; transition: stroke-dashoffset .9s var(--ease-out) .1s; }
.is-drawn .done-check path, .done-check.is-drawn path { stroke-dashoffset: 0; transition: stroke-dashoffset .6s var(--ease-out) .75s; }
.demo-note { display: inline-block; padding: 7px 14px; border-radius: 999px; border: 1px dashed var(--line-strong); color: var(--text-2); font-size: 0.75rem; }

/* ---------- 17. Pied de page ---------- */
.footer { position: relative; display: flex; flex-direction: column; overflow: hidden; padding-top: clamp(80px, 10vw, 140px); border-top: 1px solid var(--line); }
.footer__mark { order: 3; display: block; width: min(100% - 2 * var(--gutter), var(--container)); height: auto; margin: clamp(48px, 7vw, 96px) auto calc(-1 * min(4.2vw, 50px)); background-color: var(--line); pointer-events: none; }
.is-file .footer__mark { opacity: .07; }
.footer__grid { position: relative; z-index: 1; display: grid; grid-template-columns: minmax(0, 1.6fr) repeat(3, minmax(0, 1fr)); gap: 40px; }
.footer__brand { display: grid; gap: 14px; align-content: start; justify-items: start; }
.footer__logo { --h: 36px; }
.footer__sign { color: var(--accent); }
.footer__pitch { max-width: 38ch; color: var(--text-2); }
.footer__col { display: grid; gap: 16px; align-content: start; font-style: normal; }
.footer__title { color: var(--text-2); }
.footer__col ul { display: grid; gap: 10px; }
.footer__col li, .footer__col a { color: var(--text); }
.footer__col a.link { display: inline-block; padding: 3px 0; }
.footer__bottom { position: relative; z-index: 1; display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 16px; margin-top: clamp(56px, 8vw, 96px); padding-top: 22px; border-top: 1px solid var(--line); font-size: 0.9375rem; color: var(--text-2); }

.footer--mini { padding-top: 0; }
.footer--mini .footer__bottom { margin-top: 0; border-top: 0; padding-top: 28px; }

.fab {
  position: fixed;
  right: 16px;
  bottom: calc(16px + env(safe-area-inset-bottom));
  z-index: var(--z-fab);
  display: none;
  place-items: center;
  width: 56px;
  height: 56px;
  border-radius: 50%;
  background: var(--surface-2);
  color: var(--text);
  border: 1px solid var(--line-strong);
  box-shadow: var(--shadow-1);
  opacity: 0;
  transform: translateY(24px) scale(.8);
  transition: opacity .4s, transform .5s var(--ease-spring);
}
.fab .icon { width: 26px; height: 26px; }
.fab.is-visible { opacity: 1; transform: none; }
.menu-open .fab, .checkout-open .fab { opacity: 0; pointer-events: none; }

/* ---------- 18. Tunnel de commande ---------- */
.checkout { position: fixed; inset: 0; z-index: var(--z-modal); }
.checkout__backdrop { position: absolute; inset: 0; background: var(--overlay); -webkit-backdrop-filter: blur(6px); backdrop-filter: blur(6px); opacity: 0; transition: opacity .5s var(--ease); }
.checkout__panel {
  position: absolute;
  top: 0;
  right: 0;
  bottom: 0;
  display: flex;
  flex-direction: column;
  width: min(580px, 100%);
  background: var(--bg);
  border-left: 1px solid var(--line);
  transform: translateX(102%);
  transition: transform .7s var(--ease-out);
  outline: none;
}
.checkout.is-open .checkout__backdrop { opacity: 1; }
.checkout.is-open .checkout__panel { transform: none; }
.checkout-open body { overflow: hidden; }
.co-head { flex: none; padding: 20px 28px 0; border-bottom: 1px solid var(--line); }
.co-head__top { display: flex; align-items: center; justify-content: space-between; }
.co-title { margin: 6px 0 20px; font-size: clamp(1.8rem, 3vw, 2.2rem); letter-spacing: -0.03em; }
.co-steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; font-size: 0.875rem; color: var(--text-2); }
.co-steps li { display: grid; gap: 2px; transition: color .4s; }
.co-steps .mono { font-size: 0.75rem; color: var(--text-2); }
.co-steps li.is-current { color: var(--text); }
.co-steps li.is-current .mono, .co-steps li.is-done .mono { color: var(--brand-ink); }
.co-progress { height: 2px; margin: 16px -28px 0; background: var(--line); }
.co-progress span { display: block; height: 100%; background: var(--brand); transform: scaleX(var(--p, 0.333)); transform-origin: left; transition: transform .7s var(--ease-out); }
.co-body { flex: 1; overflow-y: auto; overscroll-behavior: contain; padding: 28px 28px calc(36px + env(safe-area-inset-bottom)); }
.co-step { animation: step-in .55s var(--ease-out); }
.co-legend { display: block; margin-bottom: 12px; font: 500 0.8125rem var(--f-body); letter-spacing: 0.08em; text-transform: uppercase; color: var(--text-2); }
.co-plans { display: grid; gap: 10px; }
.co-plan {
  display: flex;
  align-items: center;
  gap: 14px;
  min-height: 72px;
  padding: 16px 18px;
  border-radius: 16px;
  border: 1px solid var(--line-strong);
  background: var(--surface);
  cursor: pointer;
  transition: border-color .35s, background-color .35s;
}
.co-plan:has(input:checked) { border-color: var(--brand); background: var(--brand-soft); }
.co-plan input { -webkit-appearance: none; appearance: none; width: 20px; height: 20px; flex: none; margin: 0; border-radius: 50%; border: 1px solid var(--line-strong); background: var(--bg); transition: border-color .3s, box-shadow .3s; }
.co-plan input:checked { border-color: var(--brand); box-shadow: inset 0 0 0 5px var(--bg), inset 0 0 0 10px var(--brand); }
.co-plan span { display: grid; flex: 1; line-height: 1.35; }
.co-plan small { font-size: 0.875rem; color: var(--text-2); }
.co-plan b { font-family: var(--f-body); font-weight: 600; white-space: nowrap; }
.co-billing { margin-top: 26px; }
.co-summary { margin-top: 26px; padding: 24px; border-radius: var(--r-card); background: var(--surface); border: 1px solid var(--line); }
.co-summary__name { font-weight: 600; color: var(--text); }
.co-summary__price { display: flex; align-items: baseline; gap: 6px; margin: 6px 0 4px; font: 800 clamp(2.6rem, 6vw, 3.4rem)/1 var(--f-display); letter-spacing: -0.04em; color: var(--text); }
.co-summary__price small { font: 600 1rem var(--f-body); letter-spacing: 0; color: var(--text-2); }
.co-summary__sub { font-size: 0.9375rem; }
.co-summary__terms { margin-top: 16px; padding-top: 16px; border-top: 1px solid var(--line); color: var(--text-2); }
.co-actions { margin-top: 26px; }
.co-actions--split { display: flex; gap: 12px; }
.co-actions--split .btn--cta { flex: 1; }
.co-pay { display: grid; justify-items: center; gap: 14px; padding: 72px 0; text-align: center; }
.co-pay__loader { position: relative; width: 76px; height: 76px; margin-bottom: 10px; }
.co-pay__loader svg { width: 100%; height: 100%; }
.co-pay__loader circle { fill: none; stroke: var(--line-strong); stroke-width: 2.5; }
.co-pay__loader .co-pay__arc { stroke: var(--brand); stroke-linecap: round; stroke-dasharray: 1; stroke-dashoffset: 1; transform: rotate(-90deg); transform-origin: center; }
.co-pay.is-running .co-pay__arc { animation: pay-arc 2s var(--ease-io) forwards; }
.co-pay__lock { position: absolute; inset: 0; margin: auto; width: 24px; height: 24px; color: var(--brand); }
.co-pay__title { font: 800 1.45rem var(--f-display); color: var(--text); letter-spacing: -0.02em; }
.co-pay__sub { color: var(--text-2); }
.co-done { display: grid; justify-items: center; text-align: center; }
.co-done__title { margin: 18px 0 12px; font-size: clamp(1.7rem, 3vw, 2.1rem); letter-spacing: -0.03em; outline: none; }
.co-recap { width: 100%; margin: 24px 0 36px; border-top: 1px solid var(--line); text-align: left; }
.co-recap div { display: flex; justify-content: space-between; gap: 16px; padding: 13px 0; border-bottom: 1px solid var(--line); }
.co-recap dt { color: var(--text-2); }
.co-recap dd { font-weight: 600; color: var(--text); text-align: right; overflow-wrap: anywhere; }
.onboard { width: 100%; padding-top: 32px; border-top: 1px solid var(--line); text-align: left; }
.onboard__title { margin: 10px 0 8px; font-size: 1.6rem; letter-spacing: -0.025em; }
.onboard__lead { margin-bottom: 24px; font-size: 0.975rem; }
.onboard .form__grid + .chips-field, .onboard .chips-field + .form__grid, .onboard .drop, .onboard .drop + .form__grid { margin-top: 22px; }
.onboard__done { display: grid; justify-items: center; gap: 12px; padding: 24px 0; text-align: center; }
.onboard__done h4 { font-size: 1.5rem; outline: none; }
.chips { display: flex; flex-wrap: wrap; gap: 8px; }
.chip { position: relative; }
.chip input { position: absolute; opacity: 0; width: 1px; height: 1px; }
.chip span {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  padding: 0 18px;
  border-radius: 999px;
  border: 1px solid var(--line-strong);
  color: var(--text-2);
  font-size: 0.9375rem;
  cursor: pointer;
  transition: background-color .3s, color .3s, border-color .3s, transform .4s var(--ease-spring);
}
.chip span:hover { border-color: var(--text-3); }
.chip input:checked + span { background: var(--text); color: var(--bg); border-color: var(--text); }
.chip input:focus-visible + span { outline: 2px solid var(--brand); outline-offset: 2px; }
.drop { position: relative; }
.drop__input { position: absolute; opacity: 0; width: 1px; height: 1px; }
.drop__zone {
  display: grid;
  justify-items: center;
  gap: 6px;
  padding: 30px 18px;
  border-radius: var(--r-card);
  border: 1.5px dashed var(--line-strong);
  background: var(--surface);
  text-align: center;
  color: var(--text-2);
  cursor: pointer;
  transition: border-color .3s, background-color .3s;
}
.drop__zone strong { color: var(--text); }
.drop__zone u { text-underline-offset: 3px; color: var(--text); }
.drop__zone small { margin-top: 4px; font-size: 0.75rem; }
.drop__ico { width: 28px; height: 28px; color: var(--brand); transition: transform .5s var(--ease-spring); }
.drop__zone:hover .drop__ico, .drop.is-over .drop__ico { transform: translateY(-4px); }
.drop.is-over .drop__zone, .drop__zone:hover { border-color: var(--brand); background: var(--brand-soft); }
.drop__input:focus-visible + .drop__zone { outline: 2px solid var(--brand); outline-offset: 3px; }
.drop__list { display: grid; grid-template-columns: repeat(auto-fill, minmax(88px, 1fr)); gap: 10px; }
.drop__list:not(:empty) { margin-top: 14px; }
.drop__list li { position: relative; aspect-ratio: 1; border-radius: 14px; overflow: hidden; background: var(--surface-2); animation: pop-in .45s var(--ease-spring); }
.drop__list img { width: 100%; height: 100%; object-fit: cover; }
.drop__list button { position: absolute; top: 6px; right: 6px; display: grid; place-items: center; width: 30px; height: 30px; border-radius: 50%; background: var(--surface); color: var(--text); }
.drop__list button .icon { width: 15px; height: 15px; }
.drop__list span { position: absolute; left: 0; right: 0; bottom: 0; padding: 14px 8px 6px; background: linear-gradient(transparent, var(--overlay)); color: var(--text); font: 0.7rem var(--f-body); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }

/* ---------- 19. Apparitions au scroll ---------- */
/* Les états masqués ne s'appliquent que si JavaScript est actif. */
.js:not(.no-motion) [data-reveal]:not(.is-in),
.js:not(.no-motion) [data-stagger]:not(.is-in) > * { opacity: 0; }
.js [data-reveal].is-in { animation: rv-up 1s var(--ease-out) var(--d, 0s) backwards; }
.js [data-reveal="media"].is-in { animation: rv-media 1.3s var(--ease-out) backwards; }
.js [data-stagger].is-in > * { animation: rv-up .9s var(--ease-out) calc(var(--i, 0) * 110ms) backwards; }
.js:not(.no-motion) .hero [data-hero], .js:not(.no-motion) [data-hero-device], .js:not(.no-motion) .notif__in { opacity: 0; }
.js:not(.no-motion) .hero__title { opacity: 0; }
.js:not(.no-motion) [data-split]:not(.is-split):not(.hero__title) { visibility: hidden; }

.w { display: inline-block; overflow: hidden; vertical-align: top; padding: 0.06em 0.06em 0.12em; margin: -0.06em -0.06em -0.12em; }
.w__i { display: inline-block; will-change: transform; }

@keyframes rv-up { from { opacity: 0; transform: translate3d(0, 34px, 0); } }
@keyframes rv-fade { from { opacity: 0; } }
@keyframes rv-media { from { opacity: 0.2; clip-path: inset(14% 6% 0 6% round var(--r-media)); transform: scale(1.08); } to { opacity: 1; clip-path: inset(0 0 0 0 round var(--r-media)); transform: none; } }
@keyframes fade-in { to { opacity: 1; } }
@keyframes swap-in { from { opacity: 0; transform: translateY(6px); } }
@keyframes step-in { from { opacity: 0; transform: translate3d(24px, 0, 0); } }
@keyframes pop-in { from { opacity: 0; transform: scale(.85); } }
@keyframes bob { 50% { transform: translate3d(0, -9px, 0); } }
@keyframes spin { to { transform: rotate(360deg); } }
@keyframes border-spin { to { --angle: 360deg; } }
@keyframes pay-arc { to { stroke-dashoffset: 0; } }
@keyframes shake { 15%, 85% { transform: translateX(-2px); } 30%, 70% { transform: translateX(5px); } 50% { transform: translateX(-6px); } }

/* ---------- 20. Pages légales ---------- */
.page-hero { padding: clamp(150px, 20vh, 200px) 0 clamp(48px, 7vw, 80px); border-bottom: 1px solid var(--line); }
.breadcrumb ol { display: flex; flex-wrap: wrap; gap: 6px 10px; font: 500 0.8125rem/1.4 var(--f-body); letter-spacing: 0.08em; text-transform: uppercase; color: var(--text-2); }
.breadcrumb li + li::before { content: "/"; margin-right: 10px; color: var(--accent); }
.breadcrumb a { color: var(--brand-ink); }
.page-hero .h2 { margin-top: 18px; font-size: clamp(2.8rem, 6.4vw, 5.2rem); }
.page-hero .lead { margin-top: 20px; }
.legal { display: grid; grid-template-columns: 240px minmax(0, 1fr); gap: clamp(40px, 6vw, 96px); align-items: start; }
.toc { position: sticky; top: 110px; display: grid; gap: 12px; }
.toc a { display: block; padding: 5px 0 5px 14px; border-left: 1px solid var(--line-strong); font-size: 0.9375rem; color: var(--text-2); transition: color .3s, border-color .3s; }
.toc a:hover, .toc a.is-active { color: var(--text); border-color: var(--accent); }
.prose { max-width: 760px; }
.prose > section + section { margin-top: 56px; padding-top: 56px; border-top: 1px solid var(--line); }
.prose h2 { margin-bottom: 18px; font-size: clamp(1.55rem, 2.4vw, 2rem); letter-spacing: -0.03em; }
.prose h3 { margin: 26px 0 10px; font: 600 1.1rem/1.3 var(--f-body); letter-spacing: 0; }
.prose p + p, .prose p + ul, .prose ul + p { margin-top: 14px; }
.prose ul { padding-left: 1.2em; list-style: none; }
.prose ul li { position: relative; }
.prose ul li + li { margin-top: 8px; }
.prose ul li::before { content: ""; position: absolute; left: -1.05em; top: 0.68em; width: 5px; height: 5px; background: var(--brand); transform: rotate(45deg); }
.prose a { color: var(--text); text-decoration: underline; text-underline-offset: 3px; }
.prose .card { padding: 22px 24px; border-radius: var(--r-card); background: var(--surface); border: 1px solid var(--line); }
.prose .card p + p { margin-top: 4px; }
.prose table { width: 100%; margin-top: 16px; border-collapse: collapse; font-size: 0.95rem; }
.prose th, .prose td { padding: 12px 14px; border-bottom: 1px solid var(--line); text-align: left; vertical-align: top; }
.prose th { color: var(--text); font-weight: 600; }
@media (max-width: 640px) {
  .prose table { display: block; overflow-x: auto; font-size: 0.875rem; }
  .prose th, .prose td { padding: 10px 10px; min-width: 120px; }
}
.flag { display: inline-block; margin: 0 0 12px; padding: 6px 12px; border-radius: 999px; border: 1px dashed var(--brand); color: var(--brand-ink); font: 500 0.75rem var(--f-body); letter-spacing: 0.06em; text-transform: uppercase; }
.updated { margin-top: 56px; font-size: 0.9375rem; color: var(--text-2); }

/* ---------- 21. Responsive ---------- */
@media (max-width: 1180px) {
  .nav__links a { padding: 12px 11px; }
  .nav__links a::after { left: 11px; right: 11px; }
}

@media (max-width: 1080px) {
  .nav__links, .nav__cta { display: none; }
  .burger { display: inline-block; }
  .nav { width: 100%; max-width: 640px; justify-content: space-between; }
  .hero__grid { grid-template-columns: 1fr; }
  .hero__visual { width: min(100%, 720px); margin: 24px auto 0; }
  .section-head--split { grid-template-columns: 1fr; }
  .plans { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 14px; }
  .plan { padding: 30px 22px 24px; }
  .steps__list { gap: 14px; }
  .step { padding: 22px 18px 18px; }
  .project--featured { grid-template-columns: 1fr; }
  .footer__grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .footer__brand { grid-column: 1 / -1; }
  .fab { display: grid; }
}

@media (max-width: 900px) {
  /* Étapes empilées, ligne verticale à gauche */
  .steps__line { top: 0; bottom: 0; left: 10px; right: auto; width: 2px; height: auto; }
  .steps__line span { width: 100%; height: 100%; transform: scaleY(var(--p)); transform-origin: top; }
  .steps__list { grid-template-columns: 1fr; gap: 16px; padding-left: 34px; }
  .step.is-active { transform: translateX(4px); }
  .step__ui { height: 96px; }
  /* Formules en carrousel aimanté */
  .plans {
    display: flex;
    gap: 14px;
    margin-inline: calc(var(--gutter) * -1);
    padding: 24px var(--gutter) 28px;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    scroll-padding-inline: var(--gutter);
    scrollbar-width: none;
  }
  .plans::-webkit-scrollbar { display: none; }
  .plan { flex: 0 0 min(84%, 380px); scroll-snap-align: center; }
  .plan--featured { margin-block: 0; }
  .plans__dots { display: flex; justify-content: center; gap: 8px; }
  .plans__dots i { width: 7px; height: 7px; border-radius: 50%; background: var(--line-strong); transition: background-color .3s, transform .4s var(--ease-spring); }
  .plans__dots i.is-on { background: var(--brand); transform: scale(1.3); }
  .works__grid { grid-template-columns: 1fr; }
  .why__layout, .faq__grid, .contact__grid { grid-template-columns: 1fr; }
  .why__intro, .faq__head { position: static; }
  .legal { grid-template-columns: minmax(0, 1fr); }
  .toc { position: static; grid-template-columns: repeat(auto-fill, minmax(min(180px, 100%), 1fr)); }
  .section-num { font-size: clamp(6.5rem, 22vw, 9rem); }
}

@media (max-width: 640px) {
  .hero { min-height: 0; }
  .hero-logo { width: 80vw; }
  .hero-logo--text { width: auto; font-size: 29.5vw; }
  .hero__ctas .btn { flex: 1 1 100%; }
  .stage { aspect-ratio: 1 / 1.02; }
  .notif__card { gap: 9px; padding: 8px 12px 8px 8px; border-radius: 16px; }
  .notif__icon { width: 26px; height: 26px; }
  .notif__icon .icon { width: 14px; height: 14px; }
  .notif--2 { right: -2%; }
  .notif--4 { display: none; }
  .stage__phone { width: 29%; }
  .stats { gap: 12px; }
  .form__grid { grid-template-columns: 1fr; }
  .compare__tag { top: 10px; font-size: 10px; padding: 5px 9px; }
  .compare__tag--before { left: 10px; }
  .compare__tag--after { right: 10px; }
  .compare__knob { width: 46px; height: 46px; margin: -23px 0 0 -23px; }
  .compare__bar, .browser__bar { height: 38px; padding: 0 12px; }
  .dots i { width: 8px; height: 8px; }
  .url { height: 24px; font-size: 11px; }
  .ann__line { width: 14px; }
  .ann__label { padding: 4px 8px; font-size: 0.6875rem; }
  .ann__dot { width: 9px; height: 9px; }
  .ann__dot::after { inset: -5px; }
  .ann--below .ann__line { height: 12px; margin-right: 3.5px; }
  /* Petit écran : étiquette des réalisations à droite du point pour rester dans le cadre */
  .ann--works { flex-direction: row; transform: translate(-6px, calc(-50% + 6px)); }
  .ann--works.is-on { transform: translate(-6px, -50%); }
  .ann--devis { --ax: 79%; }
  .assure li { min-height: 44px; }
  .project__media { padding: 0 10% 12% 0; }
  .phone--project { width: 30%; }
  .project__explore { bottom: 10px; }
  .why__list li { grid-template-columns: 36px 1fr; padding: 24px 0; }
  .footer__grid { grid-template-columns: 1fr 1fr; }
  .faq__inner { padding-right: 0; }
  .co-head { padding: 16px 20px 0; }
  .co-progress { margin-inline: -20px; }
  .co-body { padding: 22px 20px calc(30px + env(safe-area-inset-bottom)); }
  .co-steps { font-size: 0.8125rem; }
  .co-actions--split { flex-direction: column-reverse; }
}

@media (max-width: 400px) {
  .nav { padding-left: 16px; }
  .footer__grid { grid-template-columns: 1fr; }
  .switch button { padding: 0 18px; }
  .stats { grid-template-columns: 1fr; }
}

/* ---------- 22. Mouvement réduit / repli sans animation ---------- */
@media (prefers-reduced-motion: reduce) {
  html:not(.lenis) { scroll-behavior: auto; }
  *, *::before, *::after {
    animation-duration: .001ms !important;
    animation-iteration-count: 1 !important;
    animation-delay: 0s !important;
    transition-duration: .001ms !important;
    transition-delay: 0s !important;
  }
  .js [data-reveal].is-in, .js [data-stagger].is-in > * { animation: rv-fade .6s ease both !important; animation-duration: .6s !important; }
  .notif__bob, .stage__halo, .hero__halo, .ann__dot::after, .screen[data-autoscroll] .olive__page { animation: none !important; }
}
.no-motion .hero-logo { clip-path: none !important; }
.no-motion [data-reveal], .no-motion [data-stagger] > *, .no-motion .hero [data-hero], .no-motion [data-hero-device], .no-motion .notif__in, .no-motion .hero__title, .no-motion [data-split] { opacity: 1 !important; visibility: visible !important; transform: none !important; }
.no-motion .preloader { display: none; }
