/* ==========================================================
   Agence Kenta — feuille de style
   DA de la vidéo de présentation : bleu électrique, pêche, marine,
   blanc cassé. Grotesque très grasse (Inter) + italique serif (Newsreader).
   Mobile d'abord.
   ========================================================== */

@font-face {
  font-family: "Inter";
  src: url("/assets/fonts/inter-var.woff2") format("woff2");
  font-weight: 400 900;
  font-display: swap;
}
@font-face {
  font-family: "Newsreader";
  src: url("/assets/fonts/newsreader-italic.woff2") format("woff2");
  font-weight: 300 500;
  font-style: italic;
  font-display: swap;
}

:root {
  --blue: #1734DA;
  --blue-dark: #1029B8;
  --peach: #FEB485;
  --peach-soft: #FFE3CF;
  --navy: #0B122F;
  --navy-2: #151D45;
  --paper: #F4F3EF;
  --white: #FFFFFF;
  --ink: #0B122F;
  --muted: #5A5F76;
  --line: rgba(11, 18, 47, .12);
  --green: #22C55E;

  --sans: "Inter", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  --serif: "Newsreader", Georgia, "Times New Roman", serif;
  --ease: cubic-bezier(.2, .8, .2, 1);
  --radius: 20px;
  --gutter: 20px;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: 76px; }
body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font: 400 1.0625rem/1.6 var(--sans);
  font-optical-sizing: auto;
  -webkit-font-smoothing: antialiased;
  padding-bottom: 76px; /* barre fixe mobile */
}
img, svg, video { display: block; max-width: 100%; }
a { color: inherit; text-underline-offset: .2em; }
:focus-visible { outline: 3px solid var(--peach); outline-offset: 3px; border-radius: 6px; }
[hidden] { display: none !important; }
::selection { background: var(--peach); color: var(--navy); }
.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.i { width: 1.15em; height: 1.15em; flex: none; }

h1, h2, h3 {
  font-weight: 850;
  letter-spacing: -.04em;
  line-height: 1;
  margin: 0 0 .5em;
}
h2 { font-size: clamp(2.1rem, 7.4vw, 3.9rem); }
h3 { font-size: 1.3rem; letter-spacing: -.02em; line-height: 1.2; }
em {
  font-family: var(--serif); font-style: italic; font-weight: 400;
  letter-spacing: -.01em;
}
h1 em, h2 em, h3 em, li em, p em { color: var(--blue); }
p { margin: 0 0 1em; }

.wrap { width: 100%; max-width: 1200px; margin: 0 auto; padding: 0 var(--gutter); }
.skip { position: absolute; left: 12px; top: -60px; z-index: 300; background: var(--navy); color: #fff; padding: 10px 14px; border-radius: 8px; }
.skip:focus { top: 12px; }

.kicker {
  font-size: .78rem; font-weight: 700; letter-spacing: .16em; text-transform: uppercase;
  color: var(--blue); margin: 0 0 1rem;
}
.kicker--light { color: rgba(255, 255, 255, .78); }
.kicker--peach { color: var(--peach); }

/* ---------- Boutons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: .55em;
  min-height: 56px; padding: .9em 1.6em;
  border: 2px solid transparent; border-radius: 999px;
  font: 700 1rem/1.15 var(--sans); letter-spacing: -.01em;
  text-decoration: none; text-align: center; cursor: pointer;
  transition: transform .2s var(--ease), box-shadow .2s var(--ease), background .2s, color .2s;
}
.btn:hover { transform: translateY(-2px); box-shadow: 0 10px 24px -10px rgba(11, 18, 47, .45); }
.btn:active { transform: translateY(0); }
.btn--peach { background: var(--peach); color: var(--navy); }
.btn--peach:hover { background: #FFC39C; }
.btn--white { background: var(--white); color: var(--blue); }
.btn--blue { background: var(--blue); color: var(--white); }
.btn--blue:hover { background: var(--blue-dark); }
.btn--line { background: transparent; color: var(--ink); border-color: var(--line); }
.btn--line:hover { border-color: var(--blue); color: var(--blue); }
.btn--block { width: 100%; }
.btn--big { font-size: clamp(1.3rem, 5vw, 1.8rem); font-weight: 800; padding: .7em 1.4em; min-height: 70px; }
.btn:disabled { opacity: .6; cursor: wait; transform: none; }

/* ---------- En-tête ---------- */
.top {
  position: fixed; top: 0; left: 0; right: 0; z-index: 60;
  transition: background .3s, box-shadow .3s;
}
.top__in { display: flex; align-items: center; justify-content: space-between; gap: 20px; height: 68px; }
.top__logo { display: block; position: relative; }
.top__logo img { height: 40px; width: auto; transition: opacity .3s; }
.top__logo .logo-dark { position: absolute; inset: 0; opacity: 0; }
.top.is-scrolled { background: rgba(244, 243, 239, .94); -webkit-backdrop-filter: blur(12px); backdrop-filter: blur(12px); box-shadow: 0 1px 0 var(--line); }
.top.is-scrolled .logo-light { opacity: 0; }
.top.is-scrolled .logo-dark { opacity: 1; }
.nav { display: none; }
.pill {
  display: inline-flex; align-items: center; gap: 8px;
  min-height: 44px; padding: 0 18px; border-radius: 999px;
  background: var(--white); color: var(--blue);
  font-weight: 800; font-size: .95rem; letter-spacing: -.01em; text-decoration: none;
  box-shadow: 0 6px 18px -8px rgba(11, 18, 47, .35);
}
.pill__num { display: none; }
.top.is-scrolled .pill { background: var(--blue); color: var(--white); }

/* ---------- Accueil (bleu) ---------- */
.hero {
  background: var(--blue); color: var(--white);
  padding: 104px 0 64px; overflow: hidden; position: relative;
}
.hero::after { /* halo pêche discret */
  content: ""; position: absolute; width: 520px; height: 520px; right: -180px; bottom: -260px;
  background: radial-gradient(circle, rgba(254, 180, 133, .35), transparent 65%); pointer-events: none;
}
.hero__in { display: grid; gap: 44px; position: relative; z-index: 1; }
.hero h1 { font-size: clamp(2.6rem, 11vw, 5.4rem); letter-spacing: -.05em; line-height: .96; margin-bottom: .35em; max-width: 11ch; }
.hero__punch { font-size: clamp(1.7rem, 6.6vw, 3rem); font-weight: 850; letter-spacing: -.04em; line-height: 1.02; margin-bottom: .7em; }
.hero__punch em { color: var(--peach); }
.hero__lead { font-size: 1.12rem; color: rgba(255, 255, 255, .86); max-width: 34em; }
.hero__cta { display: flex; flex-direction: column; gap: 12px; margin: 1.8rem 0 1.2rem; }
.hero__small { font-size: .85rem; color: rgba(255, 255, 255, .72); margin: 0; }

/* La recherche Google */
.serp { width: 100%; max-width: 440px; display: grid; gap: 12px; }
.serp__bar {
  display: flex; align-items: center; gap: 12px;
  background: var(--white); color: var(--navy); border-radius: 999px;
  padding: 15px 22px; font-size: 1.05rem; font-weight: 500;
  box-shadow: 0 18px 40px -18px rgba(5, 10, 40, .6);
}
.serp__bar .i { color: var(--blue); }
.serp__caret { width: 2px; height: 1.2em; background: var(--navy); animation: caret 1s steps(1) infinite; }
@keyframes caret { 50% { opacity: 0; } }
.res {
  display: flex; align-items: center; justify-content: space-between; gap: 12px;
  padding: 16px 18px; border-radius: 14px;
  background: rgba(255, 255, 255, .1); border: 1px solid rgba(255, 255, 255, .22);
}
.res b { display: block; font-weight: 750; letter-spacing: -.01em; }
.res small { color: rgba(255, 255, 255, .75); font-size: .82rem; }
.res__btn { background: var(--white); color: var(--blue); font-weight: 800; font-size: .8rem; padding: 6px 13px; border-radius: 999px; }
.res--you { border: 1.5px dashed rgba(254, 180, 133, .9); background: rgba(11, 18, 47, .18); }
.res__tag { border: 1.5px dashed var(--peach); color: var(--peach); font-weight: 700; font-size: .78rem; padding: 5px 11px; border-radius: 999px; white-space: nowrap; }
.js .serp .res { opacity: 0; transform: translateY(14px); transition: opacity .5s var(--ease), transform .6s var(--ease); }
.js .serp .res.is-shown { opacity: 1; transform: none; }
.js .serp .res--you.is-shown { animation: nudge 2.4s ease-in-out .6s infinite; }
@keyframes nudge { 0%, 100% { transform: none; } 50% { transform: translateX(4px); } }

/* ---------- Marque (pêche) ---------- */
.brand { background: var(--peach); padding: 56px 0; }
.brand__in { display: grid; gap: 22px; align-items: center; }
.brand__logo { width: min(64vw, 280px); height: auto; }
.brand__tag { font-family: var(--serif); font-style: italic; font-size: clamp(1.6rem, 6vw, 2.4rem); line-height: 1.15; color: var(--navy); margin-bottom: .4em; }
.brand__tag em { color: var(--navy); }
.brand__for { font-weight: 650; margin: 0; }

/* ---------- Histoire en 3D (marine) ---------- */
.story { background: var(--navy); color: var(--white); position: relative; }
.story__canvas { display: none; }
.story__in { padding-top: 80px; padding-bottom: 80px; }
.story__meter { display: none; }
.story__chapters { list-style: none; margin: 0; padding: 0; display: grid; gap: 28px; counter-reset: ch; }
.story__chapters li { counter-increment: ch; border-left: 3px solid var(--peach); padding-left: 18px; }
.story__chapters h3 { font-size: clamp(1.8rem, 6.4vw, 3rem); letter-spacing: -.045em; margin-bottom: .3em; }
.story__chapters h3 em { color: var(--peach); }
.story__chapters p { color: rgba(255, 255, 255, .78); margin: 0; max-width: 30em; }

/* Mode 3D : la section devient longue, le texte reste à l'écran */
.has-story .story { height: 540vh; }
.has-story .story__sticky { position: sticky; top: 0; height: 100vh; height: 100svh; overflow: hidden; }
.has-story .story__canvas { display: block; position: absolute; inset: 0; width: 100%; height: 100%; }
.has-story .story__in { position: relative; height: 100%; padding-top: 84px; padding-bottom: 96px; display: flex; flex-direction: column; justify-content: space-between; pointer-events: none; }
.has-story .story__meter { display: flex; align-items: center; gap: 12px; font-size: .8rem; font-weight: 700; letter-spacing: .1em; color: rgba(255, 255, 255, .6); }
.story__meter b { color: var(--peach); }
.story__meter i { width: 140px; height: 3px; border-radius: 3px; background: rgba(255, 255, 255, .18); overflow: hidden; }
.story__meter span { display: block; height: 100%; background: var(--peach); transform-origin: left; transform: scaleX(0); }
.has-story .story__chapters { position: relative; display: block; min-height: 190px; }
.has-story .story__chapters li {
  position: absolute; left: 0; right: 0; bottom: 0;
  opacity: 0; transform: translateY(20px); transition: opacity .5s var(--ease), transform .7s var(--ease);
}
.has-story .story__chapters li.is-active { opacity: 1; transform: none; }
.has-story .story__chapters li::before {
  content: ""; position: absolute; inset: -60px calc(-1 * var(--gutter)) -40px; z-index: -1;
  background: linear-gradient(180deg, rgba(11, 18, 47, 0), rgba(11, 18, 47, .92) 40%);
}

/* ---------- Tarifs : création + forfaits ---------- */
.build {
  background: var(--white); border-radius: 24px; padding: 26px 22px; display: grid; gap: 16px;
  border: 2px solid var(--blue);
}
.build__step, .plans__title { display: flex; align-items: center; gap: 12px; font-weight: 850; font-size: 1.25rem; letter-spacing: -.03em; }
.build__step span, .plans__title > span {
  flex: none; width: 34px; height: 34px; border-radius: 50%; background: var(--blue); color: var(--white);
  display: grid; place-items: center; font-family: var(--serif); font-style: italic; font-weight: 400; font-size: 1.2rem; letter-spacing: 0;
}
.build__price { display: flex; align-items: baseline; gap: 12px; flex-wrap: wrap; }
.build__price b { font-size: clamp(3rem, 12vw, 4rem); font-weight: 900; letter-spacing: -.05em; line-height: 1; }
.build__price span { color: var(--muted); font-weight: 600; font-size: .95rem; line-height: 1.3; }
.build__list { list-style: none; margin: 0; padding: 0; display: grid; gap: 8px; }
.build__list li { position: relative; padding-left: 28px; }
.build__list li::before {
  content: ""; position: absolute; left: 0; top: 3px; width: 19px; height: 19px; border-radius: 50%;
  background: var(--blue) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='m6 12.5 4 4 8-9' fill='none' stroke='white' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center / 13px no-repeat;
}
.plans__title { margin: 48px 0 22px; font-size: clamp(1.3rem, 5vw, 1.8rem); }
.plans__title em { color: var(--blue); }

/* ---------- Sections ---------- */
.section { padding: 80px 0; }

/* Comment ça marche */
.steps { background: var(--paper); }
.steps__in { display: grid; gap: 48px; align-items: center; }
.steplist { list-style: none; margin: 28px 0 0; padding: 0; display: grid; gap: 6px; }
.step { display: grid; grid-template-columns: 34px 1fr; gap: 10px; cursor: pointer; padding: 16px 18px; margin: 0 -18px; border-radius: 18px; transition: background .4s var(--ease), box-shadow .4s var(--ease); }
.step.is-on { background: var(--white); box-shadow: 0 18px 40px -26px rgba(11, 18, 47, .45); }
.step__n { font-family: var(--serif); font-style: italic; font-size: 1.7rem; line-height: 1; color: var(--blue); padding-top: 2px; }
.step h3 { font-size: 1.45rem; margin-bottom: .25em; }
.step p { margin: 0; color: var(--muted); }
.step__get { margin-top: 10px !important; color: var(--ink) !important; font-weight: 600; display: flex; gap: 8px; }
.step__get::before { content: "→"; color: var(--blue); }

/* Le téléphone (comme dans la vidéo) */
.steps__visual { display: grid; place-items: center; }
.mock { position: relative; width: 250px; padding: 24px 0; }
.mock__phone {
  position: relative; z-index: 1;
  border: 9px solid var(--navy); border-radius: 38px; background: var(--white);
  padding: 14px 12px 16px; aspect-ratio: 9 / 16.5;
  display: flex; flex-direction: column; gap: 9px;
  box-shadow: 0 40px 70px -40px rgba(11, 18, 47, .6);
}
.mock__url { display: flex; align-items: center; gap: 6px; height: 22px; border-radius: 999px; background: #EEF0F7; padding: 0 9px; font-size: .62rem; font-weight: 600; color: var(--muted); }
.mock__url i { width: 6px; height: 6px; border-radius: 50%; background: #C5C9D8; flex: none; transition: background .4s; }
.mock__url-text { opacity: 0; transition: opacity .4s; }
.mock__name { font-weight: 850; font-size: .72rem; letter-spacing: -.02em; }
.mock__img {
  height: 30%; border-radius: 12px; display: flex; align-items: flex-end; padding: 10px;
  background: linear-gradient(135deg, #2741E0 10%, #6E6BD8 55%, var(--peach) 110%);
  color: var(--white); font-weight: 800; font-size: .82rem; line-height: 1.1; letter-spacing: -.02em;
}
.mock__line { height: 8px; border-radius: 999px; background: #E4E7F0; }
.mock__line--short { width: 62%; }
.mock__tags { display: flex; flex-wrap: wrap; gap: 5px; }
.mock__tags span { font-size: .58rem; font-weight: 700; color: var(--blue); background: #EEF0FD; border-radius: 999px; padding: 4px 8px; }
.mock__btn { margin-top: auto; text-align: center; background: var(--blue); color: var(--white); font-weight: 700; font-size: .66rem; padding: 9px; border-radius: 999px; }
.mock__tiles { display: grid; grid-template-columns: repeat(3, 1fr); gap: 7px; }
.mock__tiles i { height: 44px; border-radius: 9px; background: var(--peach-soft); }
.chip {
  position: absolute; z-index: 2; display: inline-flex; align-items: center; gap: 7px;
  background: var(--white); color: var(--navy); font-weight: 700; font-size: .78rem;
  padding: 7px 13px; border-radius: 999px; box-shadow: 0 10px 24px -12px rgba(11, 18, 47, .45);
  transition: opacity .5s var(--ease), transform .6s var(--ease);
}
.chip i { width: 8px; height: 8px; border-radius: 50%; }
.chip--offer { top: 34px; left: -46px; }
.chip--offer i { background: var(--peach); }
.chip--live { top: 58%; left: -62px; opacity: 0; transform: translateX(-10px); }
.chip--live i { background: var(--green); }
.badge {
  position: absolute; z-index: 2; top: 92px; right: -40px;
  width: 104px; height: 104px; border-radius: 50%; background: var(--blue); color: var(--white);
  display: grid; place-content: center; justify-items: center; gap: 2px;
  box-shadow: 0 16px 34px -14px rgba(23, 52, 218, .7);
  opacity: 0; transform: scale(.4); transition: opacity .4s var(--ease), transform .55s cubic-bezier(.2, 1.6, .4, 1);
}
.badge svg { width: 34px; height: 34px; }
.badge b { font-size: .82rem; font-weight: 750; }
.mock[data-state="2"] .badge, .mock[data-state="3"] .badge { opacity: 1; transform: scale(1); }
.mock[data-state="3"] .badge { opacity: 0; transform: scale(.6); }
.mock[data-state="3"] .chip--live { opacity: 1; transform: none; }
.mock[data-state="3"] .mock__url-text { opacity: 1; }
.mock[data-state="3"] .mock__url i { background: var(--green); }

/* Concrètement */
.get { background: var(--white); }
.get h2 { max-width: 16ch; }
.get__grid { list-style: none; margin: 40px 0 48px; padding: 0; display: grid; gap: 14px; }
.get__grid li {
  display: grid; grid-template-columns: 48px 1fr; column-gap: 14px; align-content: start;
  padding: 22px; border-radius: var(--radius); background: var(--paper); color: var(--muted);
}
.get__ico { grid-row: span 2; width: 48px; height: 48px; padding: 10px; border-radius: 14px; background: var(--blue); color: var(--white); }
.get__grid b { color: var(--ink); font-weight: 800; font-size: 1.08rem; letter-spacing: -.02em; margin-bottom: 4px; display: block; }
.get__label { font-family: var(--serif); font-style: italic; font-size: 1.3rem; color: var(--blue); margin: 0 0 12px; }
.chips { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 8px; }
.chips li { background: var(--peach-soft); color: var(--navy); border-radius: 999px; padding: 8px 15px; font-weight: 600; font-size: .95rem; }

/* Tarifs */
.pricing { background: var(--paper); }
.pricing__head { display: grid; gap: 8px; margin-bottom: 40px; }
.pricing__lead { color: var(--muted); font-size: 1.08rem; max-width: 38em; }
.sup { font-size: .7em; vertical-align: super; text-decoration: none; color: var(--blue); }
.plans { display: grid; gap: 16px; }
.plan {
  position: relative; display: flex; flex-direction: column;
  background: var(--white); border-radius: 24px; padding: 30px 24px 24px;
  box-shadow: 0 1px 0 var(--line);
}
.plan__name { font-size: .8rem; font-weight: 800; letter-spacing: .16em; text-transform: uppercase; color: var(--blue); margin-bottom: 8px; }
.plan__for { color: var(--muted); min-height: 3.1em; margin-bottom: 16px; }
.plan__price { display: flex; align-items: baseline; gap: 8px; flex-wrap: wrap; margin: 0 0 6px; }
.plan__price b { font-size: clamp(2.6rem, 10vw, 3.3rem); font-weight: 900; letter-spacing: -.05em; line-height: 1; }
.plan__price span { font-size: .85rem; font-weight: 600; color: var(--muted); }
.plan__sub { font-size: .88rem; color: var(--muted); min-height: 2.8em; margin-bottom: 20px; }
.plan__list { list-style: none; margin: 0 0 26px; padding: 0; flex: 1; display: grid; gap: 10px; align-content: start; }
.plan__list li { position: relative; padding-left: 28px; line-height: 1.4; }
.plan__list li::before {
  content: ""; position: absolute; left: 0; top: 1px; width: 19px; height: 19px; border-radius: 50%;
  background: var(--blue) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='m6 12.5 4 4 8-9' fill='none' stroke='white' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center / 13px no-repeat;
}
.plan__list li.is-off { color: #9A9EB0; }
.plan__list li.is-off::before { background: #E4E6EE url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M7 12h10' stroke='%239A9EB0' stroke-width='3' stroke-linecap='round'/%3E%3C/svg%3E") center / 13px no-repeat; }
.plan__list b { font-weight: 750; }
.plan--star { background: var(--blue); color: var(--white); order: -2; box-shadow: 0 30px 60px -30px rgba(23, 52, 218, .7); }
.plan--star .plan__name { color: var(--peach); }
.plan--star .plan__for, .plan--star .plan__sub, .plan--star .plan__price span { color: rgba(255, 255, 255, .78); }
.plan--star .plan__list li::before { background-color: var(--peach); background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='m6 12.5 4 4 8-9' fill='none' stroke='%230B122F' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E"); }
.plan__badge { position: absolute; top: -13px; left: 24px; margin: 0; background: var(--peach); color: var(--navy); font-weight: 800; font-size: .74rem; letter-spacing: .08em; text-transform: uppercase; padding: 6px 13px; border-radius: 999px; }
.pricing__tax { font-size: .85rem; color: var(--muted); margin: 20px 0 0; }

.promises { margin-top: 72px; }
.promises h3 { font-size: clamp(1.8rem, 6vw, 2.6rem); letter-spacing: -.04em; margin-bottom: 26px; }
.promises ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 14px; }
.promises li { display: grid; grid-template-columns: 40px 1fr; column-gap: 10px; align-content: start; background: var(--white); border-radius: var(--radius); padding: 22px; color: var(--muted); }
.promises li span { grid-row: span 2; font-family: var(--serif); font-style: italic; font-size: 2rem; line-height: 1; color: var(--blue); }
.promises li b { display: block; color: var(--ink); font-weight: 800; font-size: 1.15rem; letter-spacing: -.02em; margin-bottom: 4px; }
.promises__note { margin: 16px 0 0; font-size: .9rem; color: var(--muted); }

.compare { margin-top: 40px; background: var(--white); border-radius: var(--radius); }
.compare summary { list-style: none; cursor: pointer; display: flex; justify-content: space-between; align-items: center; padding: 20px 22px; font-weight: 800; letter-spacing: -.01em; }
.compare summary::-webkit-details-marker { display: none; }
.compare summary::after { content: "+"; font-size: 1.5rem; font-weight: 400; color: var(--blue); transition: transform .3s var(--ease); }
.compare[open] summary::after { transform: rotate(45deg); }
.compare__scroll { overflow-x: auto; -webkit-overflow-scrolling: touch; padding: 0 22px 18px; }
.compare table { width: 100%; min-width: 560px; border-collapse: collapse; font-size: .95rem; }
.compare th, .compare td { text-align: left; padding: 12px 12px 12px 0; border-top: 1px solid var(--line); vertical-align: top; }
.compare thead th { border-top: 0; font-size: .78rem; font-weight: 800; letter-spacing: .12em; text-transform: uppercase; color: var(--blue); }
.compare tbody th { color: var(--muted); font-weight: 500; width: 26%; }
.compare td:nth-child(3) { font-weight: 700; }
.source { margin: 16px 0 0; font-size: .8rem; color: var(--muted); }

/* Avec Agence Kenta (marine) */
.with { background: var(--navy); color: var(--white); }
.with__in { display: grid; gap: 48px; align-items: start; }
.with__list { list-style: none; margin: 18px 0 0; padding: 0; display: grid; gap: 18px; }
.with__list li {
  border-left: 3px solid var(--peach); padding-left: 16px;
  font-size: clamp(1.35rem, 5vw, 2.1rem); font-weight: 800; letter-spacing: -.035em; line-height: 1.12;
}
.with__list em { color: var(--peach); }
.founder { background: var(--navy-2); border-radius: 24px; padding: 26px; display: grid; gap: 16px; }
.founder__mark { width: 64px; height: 64px; border-radius: 50%; background: var(--peach); color: var(--navy); display: grid; place-items: center; font-family: var(--serif); font-style: italic; font-size: 2rem; }
.founder img { width: 72px; height: 72px; border-radius: 50%; object-fit: cover; }
.founder p { margin: 0; color: rgba(255, 255, 255, .82); }
.founder b { color: var(--white); }
.founder__call { display: inline-flex; align-items: center; gap: 8px; font-weight: 800; font-size: 1.2rem; text-decoration: none; color: var(--peach); }

/* FAQ */
.faq { background: var(--paper); }
.faq__in { display: grid; gap: 30px; }
.faq__aside { color: var(--muted); }
.faq__aside a { color: var(--blue); font-weight: 650; }
.faq__list { display: grid; gap: 10px; }
.faq details { background: var(--white); border-radius: 16px; }
.faq summary { list-style: none; cursor: pointer; display: flex; justify-content: space-between; align-items: center; gap: 16px; padding: 18px 20px; font-weight: 750; letter-spacing: -.015em; line-height: 1.3; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; flex: none; width: 30px; height: 30px; border-radius: 50%; background: var(--paper); color: var(--blue); display: grid; place-items: center; font-size: 1.3rem; font-weight: 500; transition: transform .3s var(--ease); }
.faq details[open] summary::after { transform: rotate(45deg); }
.faq details p { margin: 0; padding: 0 20px 20px; color: var(--muted); }

/* Contact (bleu) */
.contact { background: var(--blue); color: var(--white); }
.contact__in { display: grid; gap: 44px; align-items: center; }
.contact h2 { font-size: clamp(2.5rem, 10vw, 4.6rem); letter-spacing: -.05em; }
.contact h2 em { color: var(--peach); display: block; }
.contact__intro > p { color: rgba(255, 255, 255, .85); font-size: 1.1rem; }
.contact__or { margin-top: 18px; font-size: .95rem; }
.contact__or a { font-weight: 650; }
.form { background: var(--white); color: var(--ink); border-radius: 24px; padding: 26px 22px; display: grid; grid-template-columns: 1fr 1fr; gap: 14px 12px; box-shadow: 0 40px 80px -40px rgba(5, 10, 40, .7); }
.form__title { grid-column: 1 / -1; font-weight: 850; font-size: 1.3rem; letter-spacing: -.03em; margin: 0 0 4px; }
.field { grid-column: 1 / -1; display: grid; gap: 6px; }
.field label { font-weight: 650; font-size: .9rem; }
.field label span { font-weight: 400; color: var(--muted); }
.field input, .field select {
  width: 100%; min-height: 52px; padding: 12px 14px;
  font: 500 1.05rem/1.3 var(--sans); color: var(--ink);
  background: var(--paper); border: 2px solid transparent; border-radius: 14px;
  transition: border-color .2s, background .2s;
}
.field select { appearance: none; -webkit-appearance: none; background: var(--paper) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 12 8'%3E%3Cpath d='M1 1l5 5 5-5' fill='none' stroke='%231734DA' stroke-width='2'/%3E%3C/svg%3E") right 16px center / 12px no-repeat; padding-right: 40px; }
.field input::placeholder { color: #9A9EB0; }
.field input:focus, .field select:focus { outline: none; border-color: var(--blue); background-color: var(--white); }
.field.is-invalid input { border-color: #E5484D; }
.hp { position: absolute !important; left: -9999px; width: 1px; height: 1px; opacity: 0; }
.form .btn { grid-column: 1 / -1; margin-top: 4px; }
.form__legal { grid-column: 1 / -1; font-size: .8rem; color: var(--muted); margin: 0; }
.form__legal a { color: var(--blue); }
.form__status { grid-column: 1 / -1; margin: 0; font-weight: 650; min-height: 1.3em; }
.form__status.is-error { color: #D93036; }
.form__status.is-ok { color: var(--blue); }
.form.is-sent .field, .form.is-sent .btn, .form.is-sent .form__legal { display: none; }
.form.is-sent .form__status { font-size: 1.3rem; padding: 20px 0; }

/* En bref */
.brief { background: var(--paper); padding: 56px 0; }
.brief__list { margin: 0; display: grid; gap: 12px; }
.brief__list div { display: grid; gap: 4px; align-content: start; }
.brief__list dt { font-size: .75rem; font-weight: 800; letter-spacing: .14em; text-transform: uppercase; color: var(--blue); }
.brief__list dd { margin: 0; color: var(--muted); }

/* Références (masquée tant qu'il n'y a pas de vrais clients) */
.trust__logos { list-style: none; margin: 0 0 40px; padding: 0; display: grid; grid-template-columns: repeat(2, 1fr); gap: 12px; }
.trust__logos li { background: var(--white); border-radius: 16px; min-height: 100px; display: grid; place-items: center; padding: 16px; }
.works__grid { display: grid; gap: 20px; }
.work { text-decoration: none; }
.work img { width: 100%; height: auto; border-radius: var(--radius); margin-bottom: 10px; }
.work__name { display: block; font-weight: 800; }
.work__meta { color: var(--muted); font-size: .9rem; }
.trust__quotes { display: grid; gap: 16px; margin-top: 40px; }
.quote { margin: 0; background: var(--white); border-radius: var(--radius); padding: 24px; }
.quote blockquote { margin: 0 0 12px; font-family: var(--serif); font-style: italic; font-size: 1.3rem; }
.quote figcaption { font-weight: 650; color: var(--muted); }

/* Pied de page */
.foot { background: var(--navy); color: rgba(255, 255, 255, .72); padding: 56px 0 24px; }
.foot__in { display: grid; gap: 28px; }
.foot img { width: 130px; height: auto; margin-bottom: 14px; }
.foot p { margin: 0; }
.foot em { color: var(--peach); font-size: 1.15em; }
.foot__links { display: grid; gap: 8px; align-content: start; }
.foot a { color: var(--white); text-decoration: none; }
.foot a:hover { color: var(--peach); }
.foot__copy { margin-top: 40px !important; padding-top: 18px; border-top: 1px solid rgba(255, 255, 255, .12); font-size: .8rem; }

/* Barre fixe mobile */
.dock {
  position: fixed; left: 0; right: 0; bottom: 0; z-index: 70;
  display: grid; grid-template-columns: 1fr 1.6fr; gap: 8px;
  padding: 10px 12px calc(10px + env(safe-area-inset-bottom));
  background: rgba(255, 255, 255, .96); -webkit-backdrop-filter: blur(12px); backdrop-filter: blur(12px);
  box-shadow: 0 -1px 0 var(--line);
  transform: translateY(110%); transition: transform .35s var(--ease);
}
.dock.is-visible { transform: none; }
.dock a { display: flex; align-items: center; justify-content: center; gap: 8px; min-height: 52px; border-radius: 999px; font-weight: 800; text-decoration: none; }
.dock__call { background: var(--blue); color: var(--white); }
.dock__cta { background: var(--peach); color: var(--navy); }

/* Apparitions */
.js .reveal { opacity: 0; transform: translateY(22px); transition: opacity .8s var(--ease), transform .9s var(--ease); }
.js .reveal.is-in { opacity: 1; transform: none; }

/* ---------- Pages secondaires ---------- */
.page-plain { padding-bottom: 0; }
.page-plain .top { background: rgba(244, 243, 239, .96); box-shadow: 0 1px 0 var(--line); }
.page-plain .top .logo-light { opacity: 0; }
.page-plain .top .logo-dark { opacity: 1; }
.page-plain .pill { background: var(--blue); color: var(--white); }
.legal { padding: 120px 0 80px; }
.legal .wrap { max-width: 820px; }
.legal h1 { font-size: clamp(2.2rem, 7vw, 3.4rem); }
.legal h2 { font-size: 1.5rem; margin: 2.2em 0 .6em; }
.legal h3 { font-size: 1.1rem; margin: 1.6em 0 .4em; }
.legal p, .legal li { color: var(--muted); }
.legal strong { color: var(--ink); }
.legal ul { padding-left: 1.2em; }
.legal .card { background: var(--white); border-radius: var(--radius); padding: 22px 24px; margin: 1em 0; }
.legal .card p { margin: 0; }
.back { display: inline-block; font-weight: 700; color: var(--blue); text-decoration: none; margin-bottom: 2em; }

/* ---------- Tablette ---------- */
@media (min-width: 640px) {
  :root { --gutter: 32px; }
  .hero__cta { flex-direction: row; flex-wrap: wrap; }
  .field--half { grid-column: auto; }
  .get__grid { grid-template-columns: 1fr 1fr; }
  .form { padding: 34px 32px; }
  .mock { width: 270px; }
}

/* ---------- Ordinateur ---------- */
@media (min-width: 980px) {
  :root { --gutter: 48px; }
  body { padding-bottom: 0; }
  .dock { display: none; }
  .top__in { height: 84px; }
  .top__logo img { height: 46px; }
  .nav { display: flex; gap: 34px; margin-left: auto; margin-right: 26px; }
  .nav a { font-weight: 650; font-size: .95rem; text-decoration: none; color: var(--white); opacity: .9; }
  .nav a:hover { opacity: 1; text-decoration: underline; text-decoration-color: var(--peach); text-decoration-thickness: 2px; }
  .top.is-scrolled .nav a { color: var(--ink); }
  .pill__num { display: inline; }
  .pill__short { display: none; }

  .hero { padding: 150px 0 110px; min-height: 92vh; display: flex; align-items: center; }
  .hero__in { grid-template-columns: 1.15fr .85fr; gap: 64px; align-items: center; }
  .serp { justify-self: end; }

  .brand { padding: 110px 0; }
  .brand__in { grid-template-columns: .85fr 1.15fr; gap: 72px; }

  .section { padding: 120px 0; }
  .steps__in { grid-template-columns: 1fr 1fr; gap: 80px; }
  .mock { width: 300px; }
  .chip--offer { left: -70px; }
  .chip--live { left: -90px; }
  .badge { right: -54px; width: 116px; height: 116px; }

  .get__grid { grid-template-columns: repeat(3, 1fr); gap: 16px; }

  .pricing__head { grid-template-columns: 1fr 1fr; gap: 80px; align-items: end; margin-bottom: 64px; }
  .plans { grid-template-columns: repeat(3, 1fr); gap: 18px; align-items: stretch; }
  .plans > .plan { order: 0; }
  .plan { padding: 36px 30px 30px; }
  .plan--star { transform: translateY(-14px); }
  .promises ul { grid-template-columns: repeat(3, 1fr); }

  .with__in { grid-template-columns: 1.5fr 1fr; gap: 80px; align-items: center; }
  .faq__in { grid-template-columns: .8fr 1.2fr; gap: 80px; }
  .contact__in { grid-template-columns: 1fr 1fr; gap: 80px; }
  .brief__list { grid-template-columns: repeat(5, 1fr); gap: 28px; }
  .trust__logos { grid-template-columns: repeat(4, 1fr); }
  .works__grid { grid-template-columns: repeat(3, 1fr); }
  .trust__quotes { grid-template-columns: repeat(2, 1fr); }
  .foot__in { grid-template-columns: 1fr auto; align-items: end; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation: none !important; transition: none !important; }
  .js .reveal, .js .serp .res { opacity: 1; transform: none; }
}

/* ==========================================================
   Tarifs v2 : prix barré, badge économie, pile de valeur
   ========================================================== */
.plan__price s { font-size: 1.15rem; font-weight: 600; color: #9A9EB0; text-decoration-thickness: 2px; }
.plan__sub strong { color: var(--ink); font-weight: 800; }
.plan--star .plan__sub strong { color: var(--peach); }
.plan__badge--save { background: var(--navy); color: var(--peach); left: auto; right: 24px; }

.stack {
  margin-top: 64px; background: var(--navy); color: var(--white);
  border-radius: 28px; padding: 30px 22px; display: grid; gap: 22px;
}
.stack__head h3 { font-size: clamp(1.6rem, 6vw, 2.4rem); letter-spacing: -.04em; margin-bottom: .3em; }
.stack__head h3 em { color: var(--peach); }
.stack__head p { color: rgba(255, 255, 255, .7); margin: 0; }
.stack__list { list-style: none; margin: 0; padding: 0; }
.stack__list li {
  display: flex; justify-content: space-between; align-items: baseline; gap: 14px;
  padding: 13px 0; border-bottom: 1px dashed rgba(255, 255, 255, .2);
}
.stack__list span { color: rgba(255, 255, 255, .88); }
.stack__list b { white-space: nowrap; font-weight: 750; color: var(--peach); }
.stack__list .sup { color: var(--peach); }
.stack__total p { margin: 0 0 6px; color: rgba(255, 255, 255, .75); font-size: 1.05rem; }
.stack__total s { color: var(--white); font-weight: 750; text-decoration-color: var(--peach); text-decoration-thickness: 2px; }
.stack__you { font-size: clamp(1.3rem, 5vw, 1.8rem) !important; font-weight: 850; letter-spacing: -.03em; color: var(--white) !important; line-height: 1.2; margin: 10px 0 12px !important; }
.stack__you b { color: var(--peach); font-weight: 900; }
.stack__roi { font-family: var(--serif); font-style: italic; font-size: 1.15rem !important; color: var(--peach) !important; }

@media (min-width: 980px) {
  .stack { grid-template-columns: .9fr 1.1fr; column-gap: 64px; padding: 48px 52px; }
  .stack__total { grid-column: 1 / -1; display: grid; grid-template-columns: auto 1fr; column-gap: 32px; align-items: baseline; border-top: 1px solid rgba(255, 255, 255, .15); padding-top: 22px; }
  .stack__you { grid-column: 1 / -1; }
  .stack__roi { grid-column: 1 / -1; }
}

@media (min-width: 980px) {
  .brand { padding: 80px 0; }
  .brand__in { grid-template-columns: auto 1fr; gap: 72px; }
  .brand__logo { width: 300px; }
  .has-story .story__in { justify-content: center; gap: 48px; padding-top: 120px; padding-bottom: 80px; }
  .has-story .story__in > * { max-width: 460px; }
  .has-story .story__chapters { min-height: 230px; }
  .has-story .story__chapters li { top: 0; bottom: auto; }
  .has-story .story__chapters li::before { display: none; }
  .story__chapters { grid-template-columns: 1fr 1fr; gap: 40px; }
  .build { grid-template-columns: 1fr auto; column-gap: 48px; padding: 34px 40px; align-items: center; }
  .build__step { grid-column: 1 / -1; }
  .build__list { grid-template-columns: 1fr 1fr; column-gap: 32px; }
  .build__price { grid-column: 2; grid-row: 2; flex-direction: column; align-items: flex-end; text-align: right; }
  .build__list { grid-column: 1; grid-row: 2; }
}

.get__for { font-size: 1.15rem; font-weight: 650; margin: 0; }
.get__for em { color: var(--blue); }

/* Étiquette d'étape de l'histoire 3D */
.story__tag { display: none; }
.has-story .story__tag {
  display: block; position: absolute; z-index: 2; top: 150px; left: 50%; transform: translateX(-50%);
  margin: 0; pointer-events: none;
}
.story__tag span {
  display: inline-block; padding: 9px 20px; border-radius: 999px;
  background: rgba(255, 255, 255, .1); border: 1.5px dashed var(--peach); color: var(--peach);
  font-weight: 800; font-size: .95rem; letter-spacing: .02em; white-space: nowrap;
}
.story__tag.is-after span { background: var(--white); border: 1.5px solid var(--white); color: var(--blue); }
.story__tag.is-in span { animation: tag-in .55s cubic-bezier(.2, 1.4, .4, 1); }
@keyframes tag-in { from { opacity: 0; transform: translateY(-10px) scale(.9); } to { opacity: 1; transform: none; } }
@media (min-width: 980px) {
  .has-story .story__tag { top: 108px; left: auto; right: max(48px, calc((100vw - 1200px) / 2 + 48px)); transform: none; width: 50%; text-align: center; }
  .story__tag span { font-size: 1.05rem; padding: 10px 24px; }
}

/* ==========================================================
   Pilotage au défilement (classe .sp posée par main.js)
   --sp : 0 → 1 quand l'élément entre à l'écran · --sc : 1 au centre de l'écran
   ========================================================== */
.progress { position: fixed; top: 0; left: 0; right: 0; height: 3px; z-index: 90; background: var(--peach); transform-origin: left; transform: scaleX(0); pointer-events: none; }

/* Apparitions liées au défilement (--sp lissé par main.js, 0 → 1) */
.sp .rise { opacity: var(--sp, 1); translate: 0 calc((1 - var(--sp, 1)) * 44px); }
.sp .split .w {
  --w: clamp(0, calc(var(--sp, 1) * 1.7 - var(--i, 0) * .09), 1);
  display: inline-block; opacity: var(--w); translate: 0 calc((1 - var(--w)) * .6em);
}
.plans { perspective: 1200px; }
/* Cartes de prix qui se plient et se déplient avec le défilement */
.sp .tilt {
  transform-origin: 50% 100%;
  opacity: clamp(0, calc(var(--sp, 1) * 1.6), 1);
  translate: 0 calc((1 - var(--sp, 1)) * 80px);
  rotate: x calc((1 - var(--sp, 1)) * 38deg);
}
.sp .get__grid li .get__ico { rotate: calc((1 - var(--sp, 1)) * -110deg); scale: calc(.5 + .5 * var(--sp, 1)); }
/* Phrases qui s'allument au centre de l'écran (suivent le défilement, réaction immédiate) */
.sp .with__list .light { opacity: calc(.75 + .25 * var(--sc, 1)); transform: translateX(calc((1 - var(--sc, 1)) * -22px)) scale(calc(.97 + .03 * var(--sc, 1))); transform-origin: left center; }
/* Total barré */
.sp .strike { text-decoration: none; position: relative; }
.sp .strike::after {
  content: ""; position: absolute; left: -3px; right: -3px; top: 54%; height: 3px; border-radius: 2px;
  background: var(--peach); transform-origin: left; transform: scaleX(clamp(0, calc(var(--sp, 1) * 2 - 1), 1));
}
/* Bandeau de marque : logo et slogan glissent l'un vers l'autre */
.sp .brand__logo { opacity: var(--sp, 1); translate: calc((var(--sp, 1) - 1) * 80px) 0; rotate: calc((1 - var(--sp, 1)) * -5deg); }
.sp .brand__tag { opacity: var(--sp, 1); translate: calc((1 - var(--sp, 1)) * 80px) 0; }
/* Accueil en parallaxe à la sortie */
.sp .hero__text { transform: translateY(calc(var(--out, 0) * -90px)); opacity: calc(1 - var(--out, 0) * 1.3); }
.sp .serp { transform: translateY(calc(var(--out, 0) * 130px)) rotate(calc(var(--out, 0) * -8deg)) scale(calc(1 - var(--out, 0) * .15)); }

}

/* ==========================================================
   Réactions à la souris (ordinateur uniquement)
   ========================================================== */
@media (hover: hover) and (pointer: fine) {
  .hov { transform: perspective(900px) rotateX(var(--rx, 0deg)) rotateY(var(--ry, 0deg)); transition: transform .45s var(--ease), box-shadow .35s var(--ease); }
  .hov.is-hover { transition: transform .12s linear, box-shadow .35s var(--ease); box-shadow: 0 34px 60px -32px rgba(11, 18, 47, .5); z-index: 2; }
  .hov::after {
    content: ""; position: absolute; inset: 0; border-radius: inherit; pointer-events: none;
    background: radial-gradient(240px circle at var(--mx, 50%) var(--my, 50%), rgba(255, 255, 255, .5), transparent 65%);
    opacity: 0; transition: opacity .3s; mix-blend-mode: soft-light;
  }
  .hov.is-hover::after { opacity: 1; }
  .get__grid li, .promises li, .quote { position: relative; }
  .get__grid li.is-hover .get__ico { transform: rotate(-8deg) scale(1.12); transition: transform .3s var(--ease); }
  .plan--star.hov { transform: perspective(900px) translateY(-14px) rotateX(var(--rx, 0deg)) rotateY(var(--ry, 0deg)); }

  /* Boutons aimantés */
  .btn, .pill { translate: var(--bx, 0px) var(--by, 0px); transition: translate .25s var(--ease), transform .2s var(--ease), box-shadow .2s var(--ease), background .2s, color .2s; }

  /* Résultats Google de l'accueil */
  .res { transition: opacity .5s var(--ease), transform .6s var(--ease), background .25s, translate .3s var(--ease); cursor: default; }
  .res:hover { background: rgba(255, 255, 255, .2); translate: 8px 0; }
  .res--you:hover { background: rgba(254, 180, 133, .18); }
  .res:hover .res__btn { background: var(--peach); color: var(--navy); }

  .chips li, .mock__tags span { transition: transform .2s var(--ease); }
  .faq summary:hover { color: var(--blue); }
  .faq summary:hover::after { background: var(--blue); color: var(--white); }
  .step:hover h3 { color: var(--blue); }

}
@media (hover: hover) and (pointer: fine) { .build, .stack { position: relative; } }

/* Choix de la formule dans le formulaire */
.offers { border: 0; margin: 0; padding: 0; display: grid; grid-template-columns: 1fr 1fr; gap: 8px; }
.offers legend { font-weight: 650; font-size: .9rem; margin-bottom: 8px; padding: 0; }
.offer { position: relative; cursor: pointer; }
.offer input { position: absolute; opacity: 0; pointer-events: none; }
.offer span {
  display: grid; gap: 2px; height: 100%; padding: 12px 14px 12px 40px; border-radius: 14px;
  background: var(--paper); border: 2px solid transparent; transition: border-color .2s, background .2s, transform .2s;
  position: relative;
}
.offer span::before {
  content: ""; position: absolute; left: 13px; top: 15px; width: 18px; height: 18px; border-radius: 50%;
  border: 2px solid #B9BDCB; background: var(--white); transition: border-color .2s, box-shadow .2s;
}
.offer b { font-weight: 800; font-size: .98rem; letter-spacing: -.01em; }
.offer small { color: var(--muted); font-size: .78rem; }
.offer:hover span { border-color: rgba(23, 52, 218, .35); }
.offer input:checked + span { border-color: var(--blue); background: #EEF1FE; }
.offer input:checked + span::before { border-color: var(--blue); box-shadow: inset 0 0 0 4px var(--white); background: var(--blue); }
.offer input:focus-visible + span { outline: 3px solid var(--peach); outline-offset: 2px; }

/* ==========================================================
   Pages zones et guides
   ========================================================== */
.sub-hero { background: var(--blue); color: var(--white); padding: 120px 0 64px; position: relative; overflow: hidden; }
.sub-hero::after { content: ""; position: absolute; width: 480px; height: 480px; right: -160px; bottom: -260px; background: radial-gradient(circle, rgba(254, 180, 133, .35), transparent 65%); pointer-events: none; }
.sub-hero .wrap { position: relative; z-index: 1; }
.sub-hero h1 { font-size: clamp(2.3rem, 8.5vw, 4.4rem); letter-spacing: -.05em; line-height: .98; max-width: 16ch; margin-bottom: .45em; }
.sub-hero h1 em { color: var(--peach); }
.sub-hero--guide h1 { max-width: 22ch; font-size: clamp(2rem, 6.5vw, 3.6rem); }
.sub-hero__lead { font-size: 1.12rem; color: rgba(255, 255, 255, .88); max-width: 40em; }
.sub-hero__lead strong { color: var(--white); }
.crumbs { font-size: .85rem; color: rgba(255, 255, 255, .7); margin-bottom: 26px; display: flex; flex-wrap: wrap; gap: 6px; }
.crumbs a { color: var(--white); }
.sub-sec { background: var(--paper); }
.sub-sec--white { background: var(--white); }
.sub-grid { display: grid; gap: 40px; }
.sub-grid p { color: var(--muted); }
.sub-list { list-style: none; margin: 0; padding: 0; display: grid; gap: 12px; }
.sub-list li { background: var(--white); border-radius: 18px; padding: 18px 20px; color: var(--muted); }
.sub-list b { display: block; color: var(--ink); font-weight: 800; letter-spacing: -.02em; margin-bottom: 2px; }
.sub-prices { display: grid; gap: 12px; margin-top: 28px; }
.sub-price { background: var(--paper); border-radius: 20px; padding: 22px; display: grid; gap: 4px; }
.sub-price span { font-size: .8rem; font-weight: 800; letter-spacing: .12em; text-transform: uppercase; color: var(--blue); }
.sub-price b { font-size: 2.6rem; font-weight: 900; letter-spacing: -.05em; line-height: 1.05; }
.sub-price small { color: var(--muted); }
.sub-price--main { background: var(--white); border: 2px solid var(--blue); }
.sub-price--star { background: var(--blue); color: var(--white); }
.sub-price--star span { color: var(--peach); }
.sub-price--star small { color: rgba(255, 255, 255, .8); }
.sub-note { margin-top: 16px; font-size: .88rem; color: var(--muted); }
.sub-note a, .prose a { color: var(--blue); font-weight: 650; }
.sub-faq details { background: var(--white); border-radius: 16px; margin-bottom: 10px; }
.sub-faq summary, .prose__faq summary { list-style: none; cursor: pointer; padding: 16px 18px; font-weight: 750; display: flex; justify-content: space-between; gap: 12px; }
.sub-faq summary::-webkit-details-marker, .prose__faq summary::-webkit-details-marker { display: none; }
.sub-faq summary::after, .prose__faq summary::after { content: "+"; color: var(--blue); font-size: 1.3rem; line-height: 1; transition: transform .3s var(--ease); }
.sub-faq details[open] summary::after, .prose__faq details[open] summary::after { transform: rotate(45deg); }
.sub-faq details p, .prose__faq details p { margin: 0; padding: 0 18px 18px; color: var(--muted); }
.sub-h-small { font-size: clamp(1.4rem, 4.5vw, 2rem); }
.zone-links { list-style: none; margin: 18px 0 0; padding: 0; display: flex; flex-wrap: wrap; gap: 8px; }
.zone-links a { display: inline-block; background: var(--white); border-radius: 999px; padding: 9px 16px; font-weight: 650; text-decoration: none; color: var(--ink); transition: background .2s, color .2s; }
.zone-links a:hover { background: var(--blue); color: var(--white); }
.zone-links--guides { display: grid; gap: 8px; }
.zone-links--guides a { border-radius: 14px; }
.zone-cards { list-style: none; margin: 28px 0 0; padding: 0; display: grid; gap: 12px; }
.zone-cards a { display: grid; gap: 4px; background: var(--white); border-radius: 20px; padding: 22px; text-decoration: none; transition: transform .2s var(--ease), box-shadow .2s; }
.zone-cards a:hover { transform: translateY(-3px); box-shadow: 0 24px 40px -28px rgba(11, 18, 47, .45); }
.zone-cards b { font-size: 1.3rem; font-weight: 850; letter-spacing: -.03em; color: var(--ink); }
.zone-cards span { color: var(--muted); font-size: .92rem; }
.cta-sub { background: var(--blue); color: var(--white); padding: 72px 0; }
.cta-sub h2 { font-size: clamp(2rem, 7vw, 3.4rem); letter-spacing: -.05em; }
.cta-sub h2 em { color: var(--peach); }
.cta-sub p { color: rgba(255, 255, 255, .85); }
.cta-sub__btns { display: flex; flex-direction: column; gap: 12px; margin-top: 18px; }
.prose { max-width: 760px; }
.prose h2 { font-size: clamp(1.5rem, 5vw, 2.1rem); letter-spacing: -.035em; margin: 1.6em 0 .5em; }
.prose h2:first-child { margin-top: 0; }
.prose p, .prose li { color: #3D4260; font-size: 1.08rem; line-height: 1.7; }
.prose strong { color: var(--ink); }
.prose ul, .prose ol { padding-left: 1.3em; }
.prose li { margin-bottom: .4em; }
.prose__faq { margin-top: 48px; }
.prose__faq details { background: var(--white); border-radius: 16px; margin-bottom: 10px; }
.foot__seo { display: grid; gap: 24px; margin-top: 40px; padding-top: 28px; border-top: 1px solid rgba(255, 255, 255, .12); }
.foot__h { font-weight: 800; color: var(--white); margin: 0 0 10px; }
.foot__zones { display: flex; flex-wrap: wrap; gap: 6px 16px; font-size: .9rem; }
.foot__zones a { color: rgba(255, 255, 255, .75); }
.sub .top { background: rgba(244, 243, 239, .96); }
@media (min-width: 640px) {
  .cta-sub__btns { flex-direction: row; flex-wrap: wrap; }
  .sub-prices { grid-template-columns: repeat(2, 1fr); }
  .zone-cards { grid-template-columns: repeat(2, 1fr); }
}
@media (min-width: 980px) {
  .sub-hero { padding: 160px 0 96px; }
  .sub-grid { grid-template-columns: 1.1fr .9fr; gap: 80px; align-items: start; }
  .sub-prices { grid-template-columns: 1.3fr 1fr 1fr 1fr; }
  .zone-cards { grid-template-columns: repeat(3, 1fr); }
  .foot__seo { grid-template-columns: 2fr 1fr; }
}
.page-plain .nav a { color: var(--ink); }

/* ==========================================================
   « Comment ça marche » : lissé, fluide, piloté par le défilement
   (--mp lissé par main.js, 0 → 1 sur la section)
   ========================================================== */
.steplist { position: relative; }
.steplist__glow { display: none; }
.step__more { display: grid; grid-template-rows: 1fr; }
.step__more > div { overflow: hidden; min-height: 0; }

.steps-scroll .steps { height: 300vh; padding: 0; }
.steps-scroll .steps__sticky { position: sticky; top: 0; height: 100vh; height: 100svh; display: flex; align-items: center; overflow: hidden; }
.steps-scroll .steps__in { width: 100%; padding-top: 70px; }

/* Liste : une seule surbrillance qui glisse + une barre de progression */
.steps-scroll .steplist { padding-left: 0; }
.steps-scroll .steplist__glow {
  display: block; position: absolute; left: -18px; right: -18px; top: 0; height: 120px; z-index: 0; list-style: none;
  background: var(--white); border-radius: 18px; box-shadow: 0 18px 40px -26px rgba(11, 18, 47, .45);
  transition: transform .55s var(--ease), height .55s var(--ease);
}
.steps-scroll .step { position: relative; z-index: 1; background: none !important; box-shadow: none !important; opacity: 1; }
.steps-scroll .step h3 { transition: color .35s; color: var(--muted); }
.steps-scroll .step.is-on h3 { color: var(--ink); }
.steps-scroll .step__n { transition: transform .4s var(--ease), color .3s; }
.steps-scroll .step.is-on .step__n { transform: scale(1.25); }
.steps-scroll .steplist::before, .steps-scroll .steplist::after {
  content: ""; position: absolute; left: -32px; top: 10px; bottom: 10px; width: 3px; border-radius: 3px; background: rgba(23, 52, 218, .12);
}
.steps-scroll .steplist::after { background: var(--blue); transform-origin: top; transform: scaleY(var(--lp, 0)); }

/* Téléphone : maquette grise au départ, qui se colore et se remplit */
.steps-scroll .mock__phone { transform: perspective(1000px) rotateY(calc((var(--mp, 0) - .5) * 18deg + var(--hy, 0deg))) rotateX(calc(var(--hx, 0deg) + 2deg)); will-change: transform; }
.steps-scroll .mock__phone::before {
  content: ""; position: absolute; inset: 14px 12px 16px; z-index: -1; border-radius: 8px; pointer-events: none;
  background:
    linear-gradient(#EEF0F7 0 0) 0 0 / 100% 22px no-repeat,
    linear-gradient(#EEF0F7 0 0) 0 32px / 55% 12px no-repeat,
    linear-gradient(#EEF0F7 0 0) 0 56px / 100% 30% no-repeat,
    linear-gradient(#EEF0F7 0 0) 0 52% / 100% 8px no-repeat,
    linear-gradient(#EEF0F7 0 0) 0 57% / 62% 8px no-repeat,
    linear-gradient(#EEF0F7 0 0) 0 86% / 100% 26px no-repeat,
    linear-gradient(#EEF0F7 0 0) 0 100% / 100% 44px no-repeat;
  opacity: calc(1 - var(--mp, 0) * 3.2);
}
.steps-scroll .mock__phone > * {
  --e: clamp(0, calc((var(--mp, 0) - .02) * 30 - var(--k, 0) * 1.05), 1);
  opacity: var(--e); transform: translateY(calc((1 - var(--e)) * 12px)) scale(calc(.96 + .04 * var(--e)));
}
/* Étiquettes et badge, calés sur les étapes */
.steps-scroll .mock .chip--offer { top: 27%; left: -58px; transition: none; --e: clamp(0, calc(var(--mp, 0) * 18), 1); opacity: var(--e); transform: translateX(calc((1 - var(--e)) * -24px)); }
.steps-scroll .mock .badge {
  transition: none; top: 16%;
  --in: clamp(0, calc((var(--mp, 0) - .34) * 11), 1);
  --out: clamp(0, calc((var(--mp, 0) - .63) * 20), 1);
  opacity: calc(var(--in) - var(--out));
  transform: scale(calc(var(--in) * (1 - var(--out) * .4))) rotate(calc((1 - var(--in)) * -90deg));
}
.steps-scroll .mock .chip--live { top: 62%; transition: none; --e: clamp(0, calc((var(--mp, 0) - .68) * 14), 1); opacity: var(--e); transform: translateX(calc((1 - var(--e)) * -30px)); }
.steps-scroll .mock .mock__url-text { transition: none; opacity: 1; clip-path: inset(0 calc((1 - clamp(0, calc((var(--mp, 0) - .67) * 9), 1)) * 100%) 0 0); }
.steps-scroll .mock[data-state="3"] .mock__url i { background: var(--green); }

@media (max-width: 979px) {
  .steps-scroll .steps__sticky { align-items: flex-start; }
  .steps-scroll .steps__in { display: grid; gap: 10px; padding-top: 84px; padding-bottom: 84px; }
  .steps-scroll .steps__visual { order: -1; }
  .steps-scroll .steps h2 { display: none; }
  .steps-scroll .steps .kicker { margin: 0; }
  .steps-scroll .mock { width: 150px; padding: 4px 0; }
  .steps-scroll .mock__phone { border-width: 6px; border-radius: 28px; padding: 10px 8px 12px; gap: 6px; }
  .steps-scroll .mock__phone::before { inset: 10px 8px 12px; }
  .steps-scroll .mock__url { height: 16px; font-size: .5rem; }
  .steps-scroll .mock__name { font-size: .58rem; }
  .steps-scroll .mock__img { font-size: .62rem; padding: 7px; border-radius: 9px; }
  .steps-scroll .mock__tags span { font-size: .46rem; padding: 3px 6px; }
  .steps-scroll .mock__btn { font-size: .5rem; padding: 6px; }
  .steps-scroll .mock__tiles i { height: 28px; border-radius: 6px; }
  .steps-scroll .mock__line { height: 6px; }
  .steps-scroll .chip { font-size: .64rem; padding: 5px 9px; }
  .steps-scroll .mock .chip--offer { left: -86px; }
  .steps-scroll .mock .chip--live { left: -96px; }
  .steps-scroll .mock .badge { width: 74px; height: 74px; right: -44px; }
  .steps-scroll .badge svg { width: 24px; height: 24px; }
  .steps-scroll .badge b { font-size: .7rem; }
  .steps-scroll .steplist { margin-top: 4px; gap: 2px; }
  .steps-scroll .steplist::before, .steps-scroll .steplist::after { left: -10px; }
  .steps-scroll .step { padding: 10px 14px; }
  .steps-scroll .step h3 { font-size: 1.12rem; }
  /* Les textes des étapes inactives se replient en douceur (plus de saut) */
  .steps-scroll .step__more { transition: grid-template-rows .5s var(--ease), opacity .35s; }
  .steps-scroll .step:not(.is-on) .step__more { grid-template-rows: 0fr; opacity: 0; }
}

/* ==========================================================
   Mini-animation d'ouverture (1 s, une fois par visite)
   ========================================================== */
.opening { display: none; }
.has-open .opening {
  display: grid; place-items: center; position: fixed; inset: 0; z-index: 500; background: var(--blue);
  clip-path: inset(0 0 0 0); animation: open-out .45s cubic-bezier(.75, 0, .2, 1) .6s forwards;
}
.has-open .opening img { width: min(48vw, 220px); height: auto; animation: open-logo .55s cubic-bezier(.2, .9, .3, 1.15) both; }
@keyframes open-logo { from { opacity: 0; transform: translateY(16px) scale(.88); } to { opacity: 1; transform: none; } }
@keyframes open-out { to { clip-path: inset(0 0 100% 0); visibility: hidden; } }
.has-open .hero__text { animation: hero-in .7s var(--ease) .8s both; }
.has-open .serp { animation: hero-in .7s var(--ease) .92s both; }
@keyframes hero-in { from { opacity: 0; translate: 0 26px; } to { opacity: 1; translate: 0 0; } }
@media (prefers-reduced-motion: reduce) { .opening { display: none !important; } }
/* Ordre d'apparition des éléments dans le téléphone */
.mock__phone > :nth-child(2) { --k: 1; } .mock__phone > :nth-child(3) { --k: 2; } .mock__phone > :nth-child(4) { --k: 3; }
.mock__phone > :nth-child(5) { --k: 4; } .mock__phone > :nth-child(6) { --k: 5; } .mock__phone > :nth-child(7) { --k: 6; } .mock__phone > :nth-child(8) { --k: 7; }
/* Aucun débordement horizontal (les éléments en attente d'apparition ne doivent pas élargir la page) */
html, body { overflow-x: clip; }
.brand, .get, .pricing, .with, .faq, .contact, .sub-sec { overflow-x: clip; }
@media (max-width: 979px) {
  .steps-scroll .step.is-on .step__n { transform: none; }
  .steps-scroll .steplist::before, .steps-scroll .steplist::after { left: -12px; }
}

/* « Comment ça marche » tient toujours dans l'écran, même sur une fenêtre peu haute */
@media (min-width: 980px) {
  .steps-scroll .steps__in { padding-top: 84px; align-items: center; }
  .steps-scroll .steps h2 { font-size: min(clamp(2.1rem, 7.4vw, 3.9rem), 7vh); margin-bottom: .3em; }
  .steps-scroll .steps .kicker { margin-bottom: .6rem; }
  .steps-scroll .steplist { margin-top: min(28px, 2.5vh); gap: 2px; }
  .steps-scroll .step { padding: min(16px, 1.6vh) 18px; }
  .steps-scroll .step__more { transition: grid-template-rows .5s var(--ease), opacity .35s; }
  .steps-scroll .step:not(.is-on) .step__more { grid-template-rows: 0fr; opacity: 0; }
  .steps-scroll .mock { width: clamp(180px, calc((100vh - 190px) * .5), 290px); padding: 10px 0; }
}
@media (max-width: 979px) {
  .steps-scroll .mock { width: clamp(120px, calc((100svh - 470px) * .5), 150px); }
}
@media (max-width: 979px) and (max-height: 780px) {
  .steps-scroll .step__more p:not(.step__get) { display: none; }
  .steps-scroll .step__get { margin-top: 4px !important; font-size: .95rem; }
  .steps-scroll .steps__in { gap: 6px; padding-top: 78px; }
}

/* ==========================================================
   Souris v2 : lumière qui suit le curseur, relief de l'accueil, cartes plus réactives
   ========================================================== */
@media (hover: hover) and (pointer: fine) {
  .glow-zone { position: relative; isolation: isolate; }
  .story__sticky.glow-zone { position: sticky; }
  .glow-zone::before {
    content: ""; position: absolute; inset: 0; z-index: -1; pointer-events: none;
    background: radial-gradient(520px circle at var(--gx, 50%) var(--gy, 50%), rgba(254, 180, 133, .24), transparent 65%);
    opacity: 0; transition: opacity .45s var(--ease);
  }
  .glow-zone.is-lit::before { opacity: 1; }
  .brand.glow-zone::before { background: radial-gradient(520px circle at var(--gx, 50%) var(--gy, 50%), rgba(255, 255, 255, .4), transparent 65%); }

  .sp .hero__text { transform: translate(calc(var(--px, 0) * -16px), calc(var(--out, 0) * -90px + var(--py, 0) * -10px)); }
  .sp .serp {
    transform: perspective(900px) translate(calc(var(--px, 0) * 26px), calc(var(--out, 0) * 130px + var(--py, 0) * 16px))
      rotateX(calc(var(--py, 0) * -10deg)) rotateY(calc(var(--px, 0) * 14deg)) rotate(calc(var(--out, 0) * -8deg)) scale(calc(1 - var(--out, 0) * .15));
  }
  .hero .res:nth-of-type(2) { translate: calc(var(--px, 0) * 8px) 0; }
  .hero .res:nth-of-type(3) { translate: calc(var(--px, 0) * 14px) 0; }
  .hero .res--you { translate: calc(var(--px, 0) * 22px) 0; }

  .hov.is-hover { transform: perspective(900px) rotateX(var(--rx, 0deg)) rotateY(var(--ry, 0deg)) scale(1.025); }
  .plan--star.hov.is-hover { transform: perspective(900px) translateY(-14px) rotateX(var(--rx, 0deg)) rotateY(var(--ry, 0deg)) scale(1.025); }
  .hov::after { background: radial-gradient(300px circle at var(--mx, 50%) var(--my, 50%), rgba(255, 255, 255, .65), transparent 65%); }
  .zone-cards a, .sub-list li, .sub-price { position: relative; }
  .chips li:hover, .zone-links a:hover { transform: translateY(-3px); }
  .zone-links a { transition: background .2s, color .2s, transform .2s var(--ease); }
  .nav a { transition: opacity .2s, color .2s; }
}

/* ==========================================================
   Souris v3 : effet léger et progressif à l'approche (valeurs lissées par main.js)
   --hf : 0 loin → 1 sur l'élément · --rx/--ry : inclinaison · --bx/--by : aimant des boutons
   ========================================================== */
@media (hover: hover) and (pointer: fine) {
  .hov, .hov.is-hover {
    transform: perspective(1000px) rotateX(var(--rx, 0deg)) rotateY(var(--ry, 0deg)) scale(calc(1 + var(--hf, 0) * .012));
    box-shadow: 0 calc(var(--hf, 0) * 24px) calc(var(--hf, 0) * 48px) calc(var(--hf, 0) * -26px) rgba(11, 18, 47, .38);
    transition: none;
  }
  .plan--star.hov, .plan--star.hov.is-hover {
    transform: perspective(1000px) translateY(-14px) rotateX(var(--rx, 0deg)) rotateY(var(--ry, 0deg)) scale(calc(1 + var(--hf, 0) * .012));
  }
  .hov::after, .hov.is-hover::after {
    background: radial-gradient(260px circle at var(--mx, 50%) var(--my, 50%), rgba(255, 255, 255, .45), transparent 65%);
    opacity: calc(var(--hf, 0) * .8); transition: none;
  }
  .btn, .pill { translate: var(--bx, 0px) var(--by, 0px); transition: transform .2s var(--ease), box-shadow .2s var(--ease), background .2s, color .2s; }
  .glow-zone::before { background: radial-gradient(480px circle at var(--gx, 50%) var(--gy, 50%), rgba(254, 180, 133, .16), transparent 65%); transition: opacity .6s var(--ease); }
  .brand.glow-zone::before { background: radial-gradient(480px circle at var(--gx, 50%) var(--gy, 50%), rgba(255, 255, 255, .3), transparent 65%); }
  .sp .hero__text { transform: translate(calc(var(--px, 0) * -8px), calc(var(--out, 0) * -90px + var(--py, 0) * -5px)); }
  .sp .serp {
    transform: perspective(1000px) translate(calc(var(--px, 0) * 12px), calc(var(--out, 0) * 130px + var(--py, 0) * 8px))
      rotateX(calc(var(--py, 0) * -5deg)) rotateY(calc(var(--px, 0) * 7deg)) rotate(calc(var(--out, 0) * -8deg)) scale(calc(1 - var(--out, 0) * .15));
  }
  .hero .res:nth-of-type(2) { translate: calc(var(--px, 0) * 4px) 0; }
  .hero .res:nth-of-type(3) { translate: calc(var(--px, 0) * 7px) 0; }
  .hero .res--you { translate: calc(var(--px, 0) * 11px) 0; }
}

/* ==========================================================
   v9 — « Ce qu'un site change » en 4 cartes (plus de 3D)
   ========================================================== */
.story { padding: 88px 0; overflow: hidden; }
.story h2 { color: var(--white); margin-bottom: 40px; max-width: 14em; }
.story h2 em { color: var(--peach); }
.chaps { list-style: none; margin: 0; padding: 0; display: grid; gap: 18px; }
.chap {
  position: relative; background: rgba(255, 255, 255, .055); border: 1px solid rgba(255, 255, 255, .1);
  border-radius: 24px; padding: 18px 18px 24px;
}
.chap h3 { font-size: clamp(1.45rem, 5.6vw, 1.75rem); letter-spacing: -.04em; margin: 0 0 .35em; color: var(--white); }
.chap h3 em { color: var(--peach); }
.chap > p:last-child { margin: 0; color: rgba(255, 255, 255, .74); font-size: .98rem; }
.chap__tag { display: flex; align-items: center; gap: 10px; margin: 18px 0 10px; font-weight: 800; font-size: .8rem; letter-spacing: .1em; text-transform: uppercase; color: var(--peach); }
.chap__tag span { display: grid; place-items: center; width: 26px; height: 26px; border-radius: 50%; background: var(--peach); color: var(--navy); font-size: .8rem; letter-spacing: 0; }

/* Petites illustrations (HTML/CSS, aucune image à charger) */
.chap__art {
  height: 168px; border-radius: 16px; background: var(--white); color: var(--navy);
  padding: 14px; display: flex; flex-direction: column; gap: 8px; overflow: hidden; position: relative;
}
.g-bar { display: flex; align-items: center; gap: 8px; height: 28px; border-radius: 999px; border: 1px solid #E1E4EE; padding: 0 12px; font-size: .72rem; color: var(--muted); font-weight: 600; white-space: nowrap; }
.g-bar i { width: 10px; height: 10px; border-radius: 50%; border: 2px solid var(--blue); flex: none; }
.g-res { display: grid; gap: 5px; padding: 6px 2px; }
.g-res b { height: 8px; width: 58%; border-radius: 4px; background: #C9CEF3; }
.g-res span { height: 6px; width: 86%; border-radius: 4px; background: #ECEEF4; }
.g-res--you { margin-top: auto; border: 1.5px dashed #F08A8A; border-radius: 10px; padding: 8px 10px; color: #C24444; font-weight: 800; font-size: .76rem; text-align: center; }
.g-card { border-radius: 12px; background: #EEF1FD; border: 1.5px solid var(--blue); padding: 10px 12px; display: grid; gap: 3px; }
.g-card b { font-size: .86rem; font-weight: 850; letter-spacing: -.02em; color: var(--blue); }
.g-card span { font-size: .66rem; font-weight: 600; color: var(--muted); }

.art-site { background: linear-gradient(160deg, #E8ECFD, #FFF1E6); align-items: center; justify-content: center; }
.a-phone { width: 96px; height: 150px; margin-bottom: -40px; border: 6px solid var(--navy); border-bottom: 0; border-radius: 20px 20px 0 0; background: var(--white); padding: 7px 6px; display: flex; flex-direction: column; gap: 5px; }
.a-phone i { display: block; font-style: normal; }
.a-top { height: 7px; width: 40%; border-radius: 4px; background: #DDE1EE; }
.a-hero { height: 44px; border-radius: 7px; background: linear-gradient(135deg, var(--blue), #6E6BD8 60%, var(--peach)); color: var(--white); font-size: .5rem; font-weight: 800; padding: 5px; display: flex !important; align-items: flex-end; line-height: 1.1; }
.a-l { height: 5px; border-radius: 3px; background: #E4E7F0; }
.a-l--s { width: 60%; }
.a-call { margin-top: 2px; text-align: center; background: var(--blue); color: var(--white); font-size: .5rem; font-weight: 800; padding: 5px; border-radius: 999px; }

.art-call { background: var(--blue); color: var(--white); align-items: center; justify-content: center; gap: 2px; text-align: center; }
.art-call b { font-size: 1rem; font-weight: 850; margin-top: 10px; }
.art-call span { font-size: .78rem; color: rgba(255, 255, 255, .78); }
.c-ring { position: relative; width: 58px; height: 58px; border-radius: 50%; background: var(--green, #22C55E); display: grid; place-items: center; color: var(--white); }
.c-ring::before, .c-ring::after { content: ""; position: absolute; inset: 0; border-radius: 50%; border: 2px solid rgba(255, 255, 255, .55); animation: ring 2.4s cubic-bezier(.2, .7, .3, 1) infinite; }
.c-ring::after { animation-delay: 1.2s; }
@keyframes ring { from { transform: scale(1); opacity: .9; } to { transform: scale(2.1); opacity: 0; } }
.c-ring svg { animation: shake 2.4s ease-in-out infinite; }
@keyframes shake { 0%, 60%, 100% { rotate: 0deg; } 64% { rotate: -14deg; } 70% { rotate: 12deg; } 76% { rotate: -8deg; } 82% { rotate: 0deg; } }

@media (min-width: 640px) {
  .chaps { grid-template-columns: 1fr 1fr; }
}
@media (min-width: 980px) {
  .story { padding: 120px 0; }
  .story h2 { margin-bottom: 56px; }
  .chaps { grid-template-columns: repeat(4, 1fr); gap: 20px; counter-reset: none; }
  .chap { padding: 16px 16px 26px; }
  .chap::after { content: ""; position: absolute; top: 84px; right: -16px; width: 12px; height: 12px; border-top: 2px solid var(--peach); border-right: 2px solid var(--peach); rotate: 45deg; opacity: .7; }
  .chap:last-child::after { display: none; }
}
@media (prefers-reduced-motion: reduce) { .c-ring::before, .c-ring::after, .c-ring svg { animation: none; } }

/* ==========================================================
   v9 — « Comment ça marche » : section normale (plus d'écran bloqué),
   le téléphone avance tout seul et les étapes s'allument avec lui
   ========================================================== */
.steps { overflow-x: clip; }
.steps__sticky { display: contents; }
.step__more { transition: none; }
.mock__phone > * { transition: opacity .5s var(--ease); }
.step { transition: background .45s var(--ease), box-shadow .45s var(--ease), opacity .45s; }
.step h3 { transition: color .45s; }
.step:not(.is-on) h3 { color: var(--muted); }
.step.is-on .step__n { color: var(--blue); }
@media (max-width: 979px) {
  .steps__in { gap: 36px; }
  .steps__visual { order: -1; }
  .mock { width: 210px; padding: 8px 0; }
  .chip--offer { left: -70px; }
  .chip--live { left: -80px; }
  .badge { right: -54px; width: 92px; height: 92px; }
  .step { margin: 0; padding: 14px 16px; }
}

/* ==========================================================
   v9 — Mobile : apparitions plus courtes, rien qui déborde
   ========================================================== */
@media (max-width: 979px) {
  .sp .rise { translate: 0 calc((1 - var(--sp, 1)) * 26px); }
  .sp .tilt { translate: 0 calc((1 - var(--sp, 1)) * 40px); rotate: x calc((1 - var(--sp, 1)) * 20deg); }
  .sp .brand__logo { translate: calc((var(--sp, 1) - 1) * 30px) 0; rotate: none; }
  .sp .brand__tag { translate: calc((1 - var(--sp, 1)) * 30px) 0; }
  .sp .hero__text, .sp .serp { transform: none; opacity: 1; }
}
.plans__t { font-weight: inherit; }
@media (max-width: 979px) {
  /* Mobile : titre, puis le téléphone, puis les étapes */
  .steps__text { display: contents; }
  .steps__in { gap: 0; }
  .steps__in > .steps__visual { order: 1; margin: 28px 0 8px; }
  .steps .steplist { order: 2; }
  .stack__list span { min-width: 0; }
}
@media (max-width: 979px) { .chip--offer { left: -58px; } .chip--live { left: -62px; } }

/* ==========================================================
   v10 — Scrollytelling simple et fiable (classe .pin-on posée par main.js)
   La section reste à l'écran ; le défilement choisit seulement l'étape,
   chaque changement est une transition à durée fixe → toujours fluide.
   ========================================================== */
.stage, .story__dots { display: none; }
.pin-on .story { height: 370vh; height: 370svh; padding: 0; overflow: visible; }
.pin-on .story__pin { position: sticky; top: 0; height: 100vh; height: 100svh; overflow: hidden; }
.pin-on .story__grid {
  height: 100%; display: grid; grid-template-rows: auto auto minmax(0, 1fr) auto auto;
  padding-top: 78px; padding-bottom: 96px;
}
.pin-on .story__text { display: contents; }
.pin-on .story .kicker { margin: 0 0 6px; }
.pin-on .story h2 { margin: 0; font-size: clamp(1.6rem, 6.6vw, 2.3rem); }
.pin-on .stage { display: block; order: 1; position: relative; min-height: 0; margin: 10px 0; }
.pin-on .chaps { order: 2; display: grid; gap: 0; }
.pin-on .chap {
  grid-area: 1 / 1; background: none; border: 0; border-radius: 0; padding: 0;
  opacity: 0; transform: translateY(14px); pointer-events: none;
  transition: opacity .35s var(--ease), transform .5s var(--ease);
}
.pin-on .chap.is-on { opacity: 1; transform: none; pointer-events: auto; transition-delay: .15s; }
.pin-on .chap__art, .pin-on .chap::after { display: none; }
.pin-on .chap__tag { margin: 0 0 6px; }
.pin-on .chap h3 { font-size: clamp(1.3rem, 5.4vw, 1.7rem); }
.pin-on .chap > p:last-child { font-size: .95rem; }
.pin-on .story__dots { order: 3; display: flex; gap: 6px; margin-top: 14px; }
.story__dots i { flex: 1; max-width: 64px; height: 4px; border-radius: 4px; background: rgba(255, 255, 255, .18); overflow: hidden; position: relative; cursor: pointer; }
.story__dots i::after { content: ""; position: absolute; inset: 0; background: var(--peach); transform: scaleX(0); transform-origin: left; transition: transform .5s var(--ease); }
.story__dots i.is-done::after { transform: none; }

/* La scène : dessinée à taille fixe (320 × 400), mise à l'échelle par main.js (--k) */
.stage__in {
  position: absolute; left: 50%; top: 50%; width: 320px; height: 400px;
  transform: translate(-50%, -50%) scale(var(--k, 1)); perspective: 900px;
}
.sg {
  position: absolute; left: 6px; right: 6px; top: 50px; padding: 16px; border-radius: 22px;
  background: var(--white); color: var(--navy); box-shadow: 0 40px 80px -40px rgba(0, 0, 0, .6);
  transition: opacity .45s var(--ease), transform .7s var(--ease);
}
.sg .g-bar { height: 36px; font-size: .78rem; margin-bottom: 12px; }
.sg__list { position: relative; height: 218px; }
.sg-row {
  --r: 0; position: absolute; left: 0; right: 0; top: 0; height: 66px; padding: 0 14px;
  display: grid; align-content: center; gap: 3px; border-radius: 14px; border: 1.5px solid #E6E8F0; background: var(--white);
  transform: translateY(calc(var(--r) * 76px));
  transition: transform .8s cubic-bezier(.65, 0, .25, 1), background .5s, border-color .5s, box-shadow .5s;
}
.sg-row b { grid-area: 1 / 1; font-size: .92rem; font-weight: 850; letter-spacing: -.02em; }
.sg-row span { grid-area: 2 / 1; font-size: .72rem; font-weight: 600; color: var(--muted); transition: opacity .4s; }
.sg-row--a { --r: 0; } .sg-row--b { --r: 1; }
.sg-row--you { --r: 2; border: 1.5px dashed #F08A8A; background: #FFF7F7; }
.sg-row--you b { color: #B23B3B; transition: color .5s; }
.sg-bad { color: #C24444 !important; }
.sg-good { opacity: 0; color: var(--blue) !important; }
.sg-row em {
  position: absolute; top: 10px; right: 12px; font-style: normal; font-size: .62rem; font-weight: 800;
  background: var(--blue); color: var(--white); padding: 4px 9px; border-radius: 999px;
  opacity: 0; transform: scale(.5); transition: opacity .4s .5s, transform .5s cubic-bezier(.2, 1.6, .4, 1) .5s;
}
.stage[data-ch="2"] .sg-row--a, .stage[data-ch="3"] .sg-row--a { --r: 1; }
.stage[data-ch="2"] .sg-row--b, .stage[data-ch="3"] .sg-row--b { --r: 2; }
.stage[data-ch="2"] .sg-row--you, .stage[data-ch="3"] .sg-row--you { --r: 0; border: 2px solid var(--blue); background: #EEF1FD; box-shadow: 0 14px 30px -16px rgba(23, 52, 218, .6); }
.stage[data-ch="2"] .sg-row--you b, .stage[data-ch="3"] .sg-row--you b { color: var(--blue); }
.stage[data-ch="2"] .sg-bad, .stage[data-ch="3"] .sg-bad { opacity: 0; }
.stage[data-ch="2"] .sg-good, .stage[data-ch="3"] .sg-good { opacity: 1; }
.stage[data-ch="2"] .sg-row em, .stage[data-ch="3"] .sg-row em { opacity: 1; transform: none; }

.ph {
  position: absolute; left: 65px; top: 0; width: 190px; height: 400px; border: 9px solid #1E2748; border-radius: 36px;
  background: var(--white); overflow: hidden; box-shadow: 0 40px 80px -36px rgba(0, 0, 0, .7);
  opacity: 0; transform: translateX(50px) scale(.9) rotateY(-20deg);
  transition: opacity .45s var(--ease), transform .7s var(--ease);
}
.stage[data-ch="1"] .sg, .stage[data-ch="3"] .sg { opacity: 0; transform: translateX(-50px) scale(.9) rotateY(16deg); }
.stage[data-ch="1"] .ph, .stage[data-ch="3"] .ph { opacity: 1; transform: none; transition-delay: .1s; }
.ph__screen { position: absolute; inset: 0; padding: 12px 10px 14px; display: flex; flex-direction: column; gap: 8px; color: var(--navy); }
.ph__screen > i {
  display: block; font-style: normal; opacity: 0; transform: translateY(14px) scale(.94);
  transition: opacity .4s var(--ease), transform .5s var(--ease);
}
.stage[data-ch="1"] .ph__screen > i, .stage[data-ch="3"] .ph__screen > i { opacity: 1; transform: none; transition-delay: calc(.3s + var(--q, 0) * .11s); }
.ph-url { height: 20px; border-radius: 999px; background: #EEF0F7; font-size: .55rem; font-weight: 700; color: var(--muted); padding: 4px 9px; }
.ph-name { --q: 1; font-size: .7rem; font-weight: 850; letter-spacing: -.02em; }
.ph-hero { --q: 2; height: 112px; border-radius: 12px; padding: 10px; display: flex !important; align-items: flex-end; background: linear-gradient(135deg, var(--blue) 10%, #6E6BD8 55%, var(--peach) 110%); color: var(--white); font-weight: 800; font-size: .8rem; line-height: 1.15; letter-spacing: -.02em; }
.ph-l { --q: 3; height: 7px; border-radius: 4px; background: #E4E7F0; }
.ph-l--s { --q: 4; width: 62%; }
.ph-tiles { --q: 5; display: grid !important; grid-template-columns: repeat(3, 1fr); gap: 6px; }
.ph-tiles b { height: 42px; border-radius: 9px; background: var(--peach-soft); }
.ph-btn { --q: 6; margin-top: auto; text-align: center; background: var(--blue); color: var(--white); font-weight: 800; font-size: .7rem; padding: 10px; border-radius: 999px; }
.ph-call {
  position: absolute; inset: 0; background: var(--blue); color: var(--white); display: grid; place-content: center; justify-items: center; gap: 4px; text-align: center;
  transform: translateY(102%); transition: transform .6s var(--ease);
}
.ph-call b { font-size: 1.05rem; font-weight: 850; margin-top: 14px; }
.ph-call span { font-size: .78rem; color: rgba(255, 255, 255, .8); }
.ph-call .c-ring { width: 64px; height: 64px; }
.ph-call .c-ring::before, .ph-call .c-ring::after, .ph-call .c-ring svg { animation-play-state: paused; }
.stage[data-ch="3"] .ph-call { transform: none; transition-delay: .55s; }
.stage[data-ch="3"] .ph-call .c-ring::before, .stage[data-ch="3"] .ph-call .c-ring::after, .stage[data-ch="3"] .ph-call .c-ring svg { animation-play-state: running; }

@media (max-width: 979px) and (max-height: 700px) {
  .pin-on .story h2 { display: none; }
  .pin-on .chap > p:last-child { font-size: .9rem; }
}
@media (min-width: 980px) {
  .pin-on .story { height: 400vh; }
  .pin-on .story__grid { grid-template-columns: 1fr 1.05fr; grid-template-rows: none; column-gap: 72px; align-items: center; padding-top: 84px; padding-bottom: 24px; }
  .pin-on .story__text { display: block; }
  .pin-on .story h2 { font-size: clamp(2.3rem, 3.8vw, 3.5rem); margin-bottom: 40px; }
  .pin-on .chap h3 { font-size: clamp(1.8rem, 2.6vw, 2.4rem); }
  .pin-on .chap > p:last-child { font-size: 1.05rem; max-width: 26em; }
  .pin-on .story__dots { margin-top: 32px; }
  .pin-on .stage { height: min(74vh, 620px); margin: 0; }
}

/* « Comment ça marche » : même principe (classe .stp-on) */
.stp-on .steps { height: 300vh; height: 300svh; padding: 0; }
.stp-on .steps__sticky { display: flex; position: sticky; top: 0; height: 100vh; height: 100svh; align-items: center; overflow: hidden; }
.stp-on .steps__in { width: 100%; }
.stp-on .step__more { transition: grid-template-rows .5s var(--ease), opacity .4s; }
.stp-on .step:not(.is-on) .step__more { grid-template-rows: 0fr; opacity: 0; }
.stp-on .mock { zoom: var(--z, 1); }
@media (max-width: 979px) {
  .stp-on .steps__sticky { align-items: flex-start; }
  .stp-on .steps__in { padding-top: 76px; padding-bottom: 90px; }
  .stp-on .steps h2 { font-size: 1.55rem; margin: 0; }
  .stp-on .steps .kicker { margin: 0 0 4px; }
  .stp-on .steps__in > .steps__visual { margin: 10px 0 6px; }
  .stp-on .mock { width: 250px; padding: 0; }
  .stp-on .steplist { margin-top: 0; gap: 0; }
  .stp-on .step { padding: 9px 14px; }
  .stp-on .step h3 { font-size: 1.1rem; margin: 0; }
  .stp-on .step__n { font-size: 1.4rem; }
  .stp-on .step__more p:not(.step__get) { margin-top: 4px; font-size: .92rem; }
}
@media (max-width: 979px) and (max-height: 760px) {
  .stp-on .step__more p:not(.step__get) { display: none; }
  .stp-on .step__get { margin-top: 4px !important; font-size: .92rem; }
}
@media (min-width: 980px) {
  .stp-on .steps__in { padding-top: 70px; }
  .stp-on .steps h2 { font-size: min(clamp(2.1rem, 4vw, 3.6rem), 7vh); }
  .stp-on .steplist { margin-top: min(28px, 2.5vh); }
  .stp-on .step { padding: min(16px, 1.6vh) 18px; }
}
/* v10 — placements explicites (rien ne bouge si un élément est masqué) */
.pin-on .story .kicker { grid-row: 1; } .pin-on .story h2 { grid-row: 2; } .pin-on .stage { grid-row: 3; }
.pin-on .chaps { grid-row: 4; grid-template-columns: 1fr !important; } .pin-on .story__dots { grid-row: 5; }
@media (min-width: 980px) { .pin-on .story .kicker, .pin-on .story h2, .pin-on .stage, .pin-on .chaps, .pin-on .story__dots { grid-row: auto; } }
.stp-on .mock .chip--offer { left: -132px; top: 18%; }
.stp-on .mock .chip--live { left: -128px; }

/* ==========================================================
   v11 — Mobile : scène plus large et plus lisible
   ========================================================== */
@media (max-width: 979px) {
  .pin-on .story__grid { padding-top: 74px; padding-bottom: 86px; }
  .pin-on .stage { margin: 8px -6px 12px; }
  /* Scène au format paysage (340 × 300) : elle remplit la largeur du téléphone */
  .stage__in { width: 340px; height: 300px; }
  .sg { top: 0; left: 0; right: 0; }
  .ph { left: 85px; width: 170px; height: 300px; border-width: 8px; border-radius: 30px; }
  .ph__screen { padding: 10px 9px 12px; gap: 6px; }
  .ph-hero { height: 78px; font-size: .74rem; }
  .ph-tiles b { height: 30px; }
  .ph-btn { padding: 8px; }
  .ph-call .c-ring { width: 56px; height: 56px; }
  .pin-on .chap h3 { font-size: clamp(1.3rem, 5.8vw, 1.6rem); }
  .pin-on .chap > p:last-child { font-size: .93rem; line-height: 1.45; }

  /* « Comment ça marche » : étiquettes lisibles même quand le téléphone est réduit */
  .stp-on .steps__in { padding-top: 72px; padding-bottom: 84px; }
  .stp-on .steps__in > .steps__visual { margin: 8px 0 4px; }
  .stp-on .step__more p:not(.step__get) { display: none; }
  .stp-on .step__get { margin-top: 3px !important; font-size: .93rem; }
  .stp-on .mock .chip { font-size: 1.15rem; padding: 9px 16px; gap: 9px; }
  .stp-on .mock .chip i { width: 11px; height: 11px; }
  .stp-on .mock .chip--offer { left: -150px; }
  .stp-on .mock .chip--live { left: -150px; }
  .stp-on .mock .badge { width: 120px; height: 120px; right: -60px; }
  .stp-on .mock .badge b { font-size: 1.05rem; }
  .stp-on .mock .badge svg { width: 40px; height: 40px; }
}
@media (max-width: 979px) {
  /* Le téléphone sort du bas de sa zone, coupé en fondu : plus grand, toujours entier en largeur */
  .stp-on .steps__in > .steps__visual { place-items: start center; overflow: hidden; -webkit-mask-image: linear-gradient(#000 78%, transparent); mask-image: linear-gradient(#000 78%, transparent); padding-top: 4px; }
  .stp-on .mock .chip--live { top: 36%; }
}
@media (max-width: 979px) { .stp-on .mock .chip--offer, .stp-on .mock .chip--live { left: -118px; } }

/* ==========================================================
   v12 — Scrollytelling « libre » (classe .flow posée par main.js)
   Plus aucune section figée : les textes défilent normalement,
   l'illustration reste visible et change quand chaque texte arrive.
   ========================================================== */
.flow .story { padding: 76px 0 24px; }
.flow .story__grid { display: grid; }
.flow .story__text { display: contents; }
.flow .story .kicker { order: 0; }
.flow .story h2 { order: 0; margin: 0; }
.flow .stage {
  display: block; order: 1; position: sticky; top: 68px; z-index: 2;
  height: 42vh; height: 42svh; min-height: 220px; margin: 16px calc(-1 * var(--gutter)) 0;
  background: var(--navy);
}
/* fondu sous l'illustration : le texte passe dessous proprement */
.flow .stage::after { content: ""; position: absolute; left: 0; right: 0; top: 100%; height: 28px; background: linear-gradient(var(--navy), rgba(11, 18, 47, 0)); pointer-events: none; }
.flow .chaps { order: 2; display: block; padding-top: 28px; }
.flow .chap {
  margin: 0 0 30vh; margin-bottom: 30svh; padding: 20px 18px 22px;
  transition: background .4s var(--ease), border-color .4s var(--ease);
}
.flow .chap:last-child { margin-bottom: 6vh; }
.flow .chap.is-on { background: rgba(255, 255, 255, .1); border-color: rgba(254, 180, 133, .45); }
.flow .chap__art, .flow .chap::after { display: none; }
.flow .chap__tag { margin: 0 0 8px; }
.flow .chap h3 { font-size: clamp(1.35rem, 5.8vw, 1.7rem); }

.flow .mock { zoom: var(--z, 1); }
@media (max-width: 979px) {
  .flow .steps__in > .steps__visual {
    position: sticky; top: 68px; z-index: 2; height: 40vh; height: 40svh; min-height: 210px;
    margin: 14px calc(-1 * var(--gutter)) 0; background: var(--paper);
    place-items: start center; overflow: hidden; padding-top: 6px;
  }
  .flow .steps__in > .steps__visual::after { content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 56px; background: linear-gradient(rgba(244, 243, 239, 0), var(--paper)); pointer-events: none; }
  .flow .steps__visual { position: relative; }
  .flow .mock { width: 250px; padding: 0; }
  .flow .mock .chip { font-size: 1.15rem; padding: 9px 16px; gap: 9px; }
  .flow .mock .chip i { width: 11px; height: 11px; }
  .flow .mock .chip--offer, .flow .mock .chip--live { left: -118px; }
  .flow .mock .chip--offer { top: 18%; }
  .flow .mock .chip--live { top: 36%; }
  .flow .mock .badge { width: 120px; height: 120px; right: -60px; }
  .flow .mock .badge b { font-size: 1.05rem; }
  .flow .mock .badge svg { width: 40px; height: 40px; }
  .flow .steplist { padding-top: 16px; gap: 0; }
  .flow .step { margin: 0 0 22vh; margin-bottom: 22svh; }
  .flow .step:last-child { margin-bottom: 4vh; }
}
.flow .step h3 { transition: color .4s; }
.flow .step:not(.is-on) h3 { color: var(--muted); }

@media (min-width: 980px) {
  .flow .story { padding: 120px 0 60px; }
  .flow .story__grid { grid-template-columns: 1fr 1.05fr; column-gap: 72px; align-items: start; }
  .flow .story__text { display: block; grid-column: 1; grid-row: 1; }
  .flow .story h2 { font-size: clamp(2.3rem, 3.8vw, 3.5rem); margin-bottom: 24px; }
  .flow .stage {
    grid-column: 2; grid-row: 1; margin: 0; background: none;
    top: max(96px, calc(50vh - min(37vh, 310px))); height: min(74vh, 620px);
  }
  .flow .stage::after { display: none; }
  .flow .chaps { padding-top: 0; }
  .flow .chap { min-height: 48vh; margin: 0 0 6vh; display: flex; flex-direction: column; justify-content: center; padding: 28px 30px; }
  .flow .chap:last-child { margin-bottom: 0; }
  .flow .chap h3 { font-size: clamp(1.8rem, 2.6vw, 2.4rem); }
  .flow .chap > p:last-child { font-size: 1.05rem; max-width: 26em; }

  .flow .steps__in { align-items: start; }
  .flow .steps__visual { position: sticky; top: max(96px, calc(50vh - 300px)); }
  .flow .step { margin-bottom: 16vh; }
  .flow .step:last-child { margin-bottom: 8vh; }
  .flow .steps__text { padding-top: 6vh; }
}
.flow .story { overflow: clip; }
@media (max-width: 979px) { .flow .chap { margin-bottom: 22vh; margin-bottom: 22svh; } .flow .chap:last-child { margin-bottom: 6vh; } }
@media (min-width: 980px) { .flow .step { margin-bottom: 12vh; } .flow .step:last-child { margin-bottom: 22vh; } }
