/* Sapme — feuille de style partagée par toutes les pages */
:root {
  --bg: #FFFFFF;
  --bg-alt: #F5F5F3;
  --card: #FFFFFF;
  --ink: #0D0D0E;
  --ink-2: #4E4E53;
  --ink-3: #6B6B70;
  --line: #E6E6E3;
  --line-2: #D4D4D0;
  --dot: #B04937;
  --accent: #B04937;       /* rouge Sapme, le même que l'app */
  --accent-ink: #B04937;   /* même rouge (contraste 5,5 sur blanc, OK pour le petit texte) */
  --accent-soft: #F7EDEB;  /* fond très léger (#B04937 à 10 %) */
  --btn-bg: #0D0D0E;
  --btn-ink: #FFFFFF;
  --todo-bg: #FFF4D6;
  --todo-ink: #6B4E00;
  --max: 1160px;
  --gutter: clamp(20px, 4vw, 40px);
  --r-sm: 10px;
  --r-md: 16px;
  --r-lg: 24px;
  --sec: clamp(72px, 9vw, 120px);
}
/* Toujours en thème clair, comme l'app. Seul l'en-tête est sombre. */
:root { color-scheme: light; }

/* Base */
* { box-sizing: border-box; margin: 0; padding: 0; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: 88px; }
body {
  background: var(--bg); color: var(--ink);
  font-family: "Schibsted Grotesk", system-ui, -apple-system, "Segoe UI", sans-serif;
  font-size: 17px; line-height: 1.55;
  -webkit-font-smoothing: antialiased; text-rendering: optimizeLegibility;
  overflow-x: clip;
}
a { color: inherit; text-decoration: none; }
img, svg { display: block; max-width: 100%; }
ul, ol { list-style: none; }
button { font: inherit; color: inherit; }
.wrap { max-width: var(--max); margin: 0 auto; padding: 0 var(--gutter); }
:focus-visible { outline: 2px solid var(--accent); outline-offset: 3px; border-radius: 4px; }
.final :focus-visible { outline-color: #fff; }
.skip { position: absolute; left: 12px; top: -60px; background: var(--btn-bg); color: var(--btn-ink); padding: 10px 14px; z-index: 60; border-radius: var(--r-sm); }
.skip:focus { top: 12px; }
::selection { background: var(--accent); color: #fff; }

/* Point final rouge des titres, comme le logo */
h1 .d, h2 .d { color: var(--accent); }

/* Emplacements à compléter (à retirer une fois remplis) */
.todo { background: var(--todo-bg); color: var(--todo-ink); padding: 0 .25em; border-radius: 4px; font-weight: inherit; box-decoration-break: clone; -webkit-box-decoration-break: clone; }

/* En-tête */
header.site {
  --bg: #0D0D0E; --bg-alt: #1E1E21; --card: #151517; --ink: #F2F2F0; --ink-2: #B4B4B8; --ink-3: #96969B;
  --line: #26262A; --line-2: #3A3A3F; --btn-bg: #F2F2F0; --btn-ink: #0D0D0E;
  color: var(--ink); color-scheme: dark;
  position: sticky; top: 0; z-index: 30;
  background: color-mix(in srgb, var(--bg) 90%, transparent);
  backdrop-filter: saturate(160%) blur(12px); -webkit-backdrop-filter: saturate(160%) blur(12px);
  border-bottom: 1px solid var(--line);
}
.nav { display: flex; align-items: center; gap: 32px; height: 64px; }
.logo { display: inline-flex; align-items: baseline; font-weight: 800; font-size: 24px; letter-spacing: -0.045em; line-height: 1; }
.logo i { font-style: normal; color: var(--dot); }
.nav-links { display: flex; align-items: center; gap: 4px; font-size: 15px; color: var(--ink-2); margin-right: auto; }
.nav-links a { padding: 8px 12px; border-radius: 999px; transition: color .15s, background-color .15s; }
.nav-links a:hover { color: var(--ink); background: var(--bg-alt); }
.nav-links a[aria-current="page"] { color: var(--ink); font-weight: 500; box-shadow: inset 0 -2px 0 var(--accent); border-radius: 0; }
.nav-actions { display: flex; align-items: center; gap: 8px; }
.nav-login { font-size: 15px; color: var(--ink-2); padding: 8px 12px; border-radius: 999px; }
.nav-login:hover { color: var(--ink); background: var(--bg-alt); }
.menu-btn { display: none; width: 44px; height: 44px; border: 0; background: none; cursor: pointer; border-radius: 999px; position: relative; margin-right: -10px; }
.menu-btn span { position: absolute; left: 13px; right: 13px; height: 1.5px; background: var(--ink); transition: transform .2s ease, top .2s ease; }
.menu-btn span:first-child { top: 18px; }
.menu-btn span:last-child { top: 25px; }
.menu-btn[aria-expanded="true"] span:first-child { top: 21.5px; transform: rotate(45deg); }
.menu-btn[aria-expanded="true"] span:last-child { top: 21.5px; transform: rotate(-45deg); }
.menu { position: absolute; left: 0; right: 0; top: 100%; height: calc(100svh - 64px); overflow-y: auto; border-top: 1px solid var(--line); background: var(--bg); }
.menu nav { display: flex; flex-direction: column; padding-top: 8px; padding-bottom: 20px; }
.menu a { padding: 14px 0; font-size: 20px; font-weight: 500; letter-spacing: -0.015em; border-bottom: 1px solid var(--line); }
.menu a:last-child { border-bottom: 0; color: var(--ink-2); }

/* Boutons */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  height: 46px; padding: 0 22px; border-radius: 999px; border: 1px solid transparent;
  background: var(--btn-bg); color: var(--btn-ink);
  font: inherit; font-weight: 600; font-size: 15px; cursor: pointer; white-space: nowrap;
  transition: opacity .15s ease, transform .1s ease, border-color .15s ease;
}
.btn:hover { opacity: .86; }
.btn:active { transform: scale(.98); }
.btn svg { width: 14px; height: 14px; }
.btn.ghost { background: transparent; color: var(--ink); border-color: var(--line-2); }
.btn.ghost:hover { border-color: var(--ink); opacity: 1; }
.btn.sm { height: 38px; padding: 0 16px; font-size: 14px; }
.btn.lg { height: 52px; padding: 0 26px; font-size: 16px; }

/* Liens */
.inline-link, .prose a, .faq .ans a, .contact-aside a {
  color: var(--ink); text-decoration: underline; text-decoration-color: var(--line-2);
  text-underline-offset: 3px; text-decoration-thickness: 1px; transition: text-decoration-color .15s;
}
.inline-link:hover, .prose a:hover, .faq .ans a:hover, .contact-aside a:hover { color: var(--accent-ink); text-decoration-color: var(--accent); }
.text-link { display: inline-block; margin-top: 28px; font-weight: 600; border-bottom: 2px solid var(--accent); padding-bottom: 2px; transition: color .15s; }

/* Badge alpha (style 21st.dev) */
.pill {
  display: inline-flex; align-items: center; gap: 10px;
  padding: 4px 14px 4px 4px; border: 1px solid var(--line); border-radius: 999px;
  font-size: 13px; color: var(--ink-2); background: var(--card); margin-bottom: 28px;
  transition: border-color .15s ease;
}
.pill:hover { border-color: var(--line-2); color: var(--ink); }
.pill span { white-space: nowrap; }
.pill b { white-space: nowrap; display: inline-flex; align-items: center; gap: 7px; background: var(--accent-soft); color: var(--accent-ink); font-weight: 600; padding: 4px 10px; border-radius: 999px; }
.pill b::before { content: ""; width: 6px; height: 6px; border-radius: 50%; background: var(--accent); }

/* Fil d'Ariane */
.crumbs { padding-top: 24px; font-size: 14px; color: var(--ink-3); }
.crumbs ol { display: flex; flex-wrap: wrap; align-items: center; gap: 4px 8px; }
.crumbs li { display: flex; align-items: center; gap: 8px; }
.crumbs li + li::before { content: "/"; color: var(--line-2); }
.crumbs a { padding: 4px 0; }
.crumbs a:hover { color: var(--accent-ink); }
.crumbs [aria-current] { color: var(--ink-2); }

/* Titres */
h1 { font-size: clamp(46px, 6.8vw, 96px); line-height: .92; letter-spacing: -0.058em; font-weight: 700; text-wrap: balance; }
h1.page { font-size: clamp(40px, 5.6vw, 76px); line-height: .96; letter-spacing: -0.052em; }
h2 { font-size: clamp(34px, 4.8vw, 66px); line-height: .96; letter-spacing: -0.05em; font-weight: 700; text-wrap: balance; }
h3 { font-weight: 600; letter-spacing: -0.02em; }
.lead { margin-top: 24px; max-width: 34em; font-size: clamp(17px, 1.5vw, 19px); color: var(--ink-2); text-wrap: pretty; }
p { text-wrap: pretty; }

/* Sections */
section.block { padding: var(--sec) 0; }
.alt { background: var(--bg-alt); }
.page-head { padding: clamp(32px, 5vw, 56px) 0 clamp(40px, 5vw, 64px); }
.page-head .lead { margin-top: 18px; }
.sec-head { display: grid; grid-template-columns: 1.1fr .9fr; gap: 32px 64px; align-items: end; margin-bottom: clamp(40px, 5vw, 56px); }
.sec-head p { color: var(--ink-2); max-width: 30em; font-size: 18px; }

/* Hero */
.hero { padding: clamp(40px, 6vw, 88px) 0 clamp(64px, 8vw, 104px); }
.hero-grid { display: grid; grid-template-columns: 1.45fr .55fr; gap: clamp(32px, 6vw, 80px); align-items: center; }
.hero h1 { max-width: 12em; }
.cta-row { margin-top: 32px; display: flex; flex-wrap: wrap; gap: 12px; align-items: center; }
.cta-note { margin-top: 16px; font-size: 14px; color: var(--ink-3); }

/* Captures de l'app dans un cadre de téléphone */
.phone-stage { display: flex; justify-content: center; }
.device { position: relative; width: 290px; max-width: 100%; padding: 9px; border-radius: 48px; background: #0D0D0E;
  box-shadow: 0 0 0 1px #2A2A2D inset, 0 40px 80px -40px rgba(13,13,14,.5), 0 2px 6px rgba(13,13,14,.08); }
.device img { display: block; width: 100%; height: auto; border-radius: 39px; background: #F5F5F3; }
.device::after { content: ""; position: absolute; top: 19px; left: 50%; width: 28%; height: 22px; transform: translateX(-50%); background: #0D0D0E; border-radius: 999px; }
/* Étapes : une vraie séquence, reliée par une ligne */
.steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 40px; counter-reset: s; position: relative; }
.steps::before { content: ""; position: absolute; top: 18px; left: 18px; right: calc(33.33% - 18px); height: 1px; background: linear-gradient(90deg, var(--accent), var(--line-2)); }
.step { position: relative; }
.step .n { position: relative; display: inline-flex; width: 36px; height: 36px; align-items: center; justify-content: center; border-radius: 50%; background: var(--accent); color: #fff; font-size: 15px; font-weight: 600; font-variant-numeric: tabular-nums; }
.step h3 { font-size: 22px; line-height: 1.2; margin: 24px 0 10px; }
.step p { color: var(--ink-2); font-size: 16px; max-width: 24em; }

/* Pourquoi cette tenue */
.why { display: grid; grid-template-columns: .8fr 1.2fr; gap: clamp(32px, 5vw, 72px); align-items: start; }
.why-phone { position: sticky; top: 96px; display: flex; flex-direction: column; align-items: center; gap: 16px; }
.why-phone figcaption { max-width: 290px; font-size: 14px; color: var(--ink-2); text-align: center; }
.why-list { border-top: 2px solid var(--accent); }
.why-list li { display: grid; grid-template-columns: 9em 1fr; gap: 4px 24px; padding: 22px 0; border-bottom: 1px solid var(--line-2); }
.why-k { font-weight: 600; font-size: 17px; grid-row: span 2; color: var(--accent-ink); }
.why-v { font-size: 17px; color: var(--ink); }
.why-e { font-size: 15px; color: var(--ink-2); }

/* Garde-robe */
.split { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(32px, 6vw, 96px); align-items: center; }
.split p.body { color: var(--ink-2); font-size: 18px; margin-top: 20px; max-width: 28em; }
.list { margin-top: 32px; border-top: 1px solid var(--line-2); }
.list li { display: flex; justify-content: space-between; gap: 16px; padding: 16px 0; border-bottom: 1px solid var(--line-2); font-size: 16px; }
.list li span:last-child { color: var(--ink-3); text-align: right; }
.wr-visual { display: flex; justify-content: center; }
.stats-shot { display: block; width: 100%; max-width: 560px; height: auto; margin-top: 32px; filter: drop-shadow(0 24px 32px rgba(13,13,14,.12)); }

/* Pourquoi Sapme : constat, situations, autres apps */
.constat-foot { display: grid; grid-template-columns: 1fr 1fr; gap: 40px; align-items: center; margin-top: 48px; }
.constat-foot p { font-size: 18px; color: var(--ink-2); max-width: 28em; }
.constat-foot .stats-shot { margin-top: 0; justify-self: end; }
.source { margin-top: 28px; font-size: 13px; color: var(--ink-3); }
.source a { text-decoration: underline; text-underline-offset: 3px; }
.pb-list { border-top: 2px solid var(--accent); }
.pb-list li { display: grid; grid-template-columns: 1fr 1fr; gap: 12px 64px; padding: 28px 0; border-bottom: 1px solid var(--line-2); align-items: baseline; }
.pb-q { font-size: clamp(22px, 2.4vw, 30px); line-height: 1.15; letter-spacing: -0.03em; font-weight: 600; }
.pb-q::before { content: "«\00a0"; color: var(--accent); }
.pb-q::after { content: "\00a0»"; color: var(--accent); }
.pb-a { font-size: 17px; color: var(--ink-2); max-width: 32em; }
.gaps { display: grid; grid-template-columns: repeat(2, 1fr); gap: 48px 56px; }
.gap { border-top: 2px solid var(--accent); padding-top: 22px; }
.gap h3 { font-size: 24px; line-height: 1.15; letter-spacing: -0.025em; margin-bottom: 12px; }
.gap p { color: var(--ink-2); }
.gap .gap-s { margin-top: 14px; color: var(--ink); font-weight: 500; padding-left: 16px; border-left: 2px solid var(--line-2); }

/* Partage : deux écrans côte à côte */
.duo { display: grid; grid-template-columns: 1fr 1fr; gap: 40px; max-width: 820px; margin: 0 auto; }
.duo figure { display: flex; flex-direction: column; align-items: center; gap: 20px; }
.duo figcaption { max-width: 300px; text-align: center; font-size: 15px; color: var(--ink-2); }
.duo figcaption b { display: block; color: var(--ink); font-size: 17px; margin-bottom: 4px; }

/* Avis : grille statique, citations */
.reviews { display: grid; grid-template-columns: repeat(3, 1fr); gap: 48px 40px; }
.review { border-top: 2px solid var(--accent); padding-top: 22px; display: flex; flex-direction: column; justify-content: space-between; gap: 22px; }
.review blockquote p { font-size: 18px; line-height: 1.45; letter-spacing: -0.012em; }
.review blockquote p::before { content: "«\00a0"; color: var(--accent); font-weight: 700; }
.review blockquote p::after { content: "\00a0»"; color: var(--accent); font-weight: 700; }
.review:first-child { grid-column: span 2; grid-row: span 2; border-top-width: 4px; padding-right: 24px; }
.review:first-child blockquote p { font-size: clamp(26px, 3.2vw, 42px); line-height: 1.12; letter-spacing: -0.035em; font-weight: 500; }
.review figcaption { font-size: 14px; color: var(--ink-2); }
.review figcaption b { color: var(--ink); font-weight: 600; }

/* Étude de cas (aperçu) */
.case-card { display: grid; grid-template-columns: 1.15fr .85fr; border: 1px solid var(--line); border-radius: var(--r-lg); background: var(--card); overflow: hidden; transition: border-color .2s ease; }
.case-card:hover { border-color: var(--line-2); }
.case-card:hover .text-link { color: var(--accent-ink); }
.case-card .txt { padding: clamp(28px, 4vw, 52px); }
.case-tag { display: inline-block; font-size: 13px; font-weight: 600; padding: 4px 10px; border-radius: 999px; background: var(--accent-soft); color: var(--accent-ink); margin-bottom: 20px; }
.case-card .txt > p:not(.case-tag) { color: var(--ink-2); margin-top: 16px; max-width: 30em; }
.case-card .nums { display: grid; grid-template-rows: repeat(3, 1fr); border-left: 1px solid var(--line); }
.num { padding: 24px clamp(20px, 3vw, 40px); border-top: 1px solid var(--line); display: flex; flex-direction: column; justify-content: center; }
.num:first-child { border-top: 0; }
.num b { color: var(--ink); font-size: clamp(32px, 4vw, 46px); letter-spacing: -0.04em; font-weight: 700; line-height: 1; font-variant-numeric: tabular-nums; }
.num span { font-size: 14px; color: var(--ink-2); margin-top: 8px; }

/* Étude de cas (page) */
.case-meta { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 28px; }
.case-meta span { font-size: 14px; padding: 6px 12px; border: 1px solid var(--line); border-radius: 999px; color: var(--ink-2); }
.bento { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; }
.bento .num { border: 1px solid var(--line); border-radius: var(--r-md); background: var(--card); padding: 28px; min-height: 150px; }

/* Texte long */
.prose { max-width: 680px; }
.prose h2 { font-size: clamp(24px, 2.6vw, 32px); letter-spacing: -0.03em; margin: 56px 0 14px; }
.prose h2:first-child { margin-top: 0; }
.prose h3 { font-size: 19px; margin: 32px 0 8px; }
.prose p, .prose li { color: var(--ink-2); font-size: 17px; }
.prose p + p { margin-top: 14px; }
.prose ul { margin: 12px 0 0; }
.prose ul li { position: relative; padding-left: 20px; }
.prose ul li::before { content: ""; position: absolute; left: 2px; top: .7em; width: 6px; height: 6px; border-radius: 50%; background: var(--accent); }
.prose li + li { margin-top: 8px; }
.prose strong { color: var(--ink); font-weight: 600; }
.prose code { font-size: .9em; background: var(--bg); padding: 1px 5px; border-radius: 4px; border: 1px solid var(--line); }
.prose table { width: 100%; border-collapse: collapse; margin-top: 16px; font-size: 15px; }
.prose th, .prose td { text-align: left; padding: 12px 12px 12px 0; border-bottom: 1px solid var(--line-2); vertical-align: top; color: var(--ink-2); }
.prose th { color: var(--ink); font-weight: 600; }
.table-scroll { overflow-x: auto; margin: 0 calc(var(--gutter) * -1); padding: 0 var(--gutter); }
.pull { margin: 48px 0; padding: 4px 0 4px 24px; border-left: 3px solid var(--accent); }
.pull p { font-size: clamp(22px, 2.6vw, 28px) !important; line-height: 1.3; letter-spacing: -0.02em; color: var(--ink) !important; }
.pull cite { display: block; margin-top: 14px; font-style: normal; font-size: 15px; color: var(--ink-2); }
.updated { font-size: 14px; color: var(--ink-3); margin-top: 16px; }

/* FAQ */
.faq { border-top: 2px solid var(--accent); }
.faq details { border-bottom: 1px solid var(--line-2); }
.faq summary {
  list-style: none; cursor: pointer; display: flex; justify-content: space-between; align-items: center; gap: 24px;
  padding: 22px 0; font-size: clamp(17px, 1.8vw, 20px); font-weight: 500; letter-spacing: -0.015em;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: ""; flex-shrink: 0; width: 10px; height: 10px; border-right: 1.5px solid var(--ink-2); border-bottom: 1.5px solid var(--ink-2); transform: translateY(-3px) rotate(45deg); transition: transform .2s ease; margin-right: 6px; }
.faq details[open] summary::after { transform: translateY(2px) rotate(-135deg); border-color: var(--accent); }
.faq details[open] summary { color: var(--accent-ink); }
.faq summary:hover { color: var(--ink-2); }
.faq .ans { padding: 0 48px 24px 0; max-width: 44em; color: var(--ink-2); }
.faq-home { display: grid; grid-template-columns: .8fr 1.2fr; gap: 32px 64px; align-items: start; }
.side-note { margin-top: 20px; color: var(--ink-2); max-width: 22em; }
.faq-group + .faq-group { margin-top: 64px; }
.faq-group h2 { font-size: clamp(22px, 2.2vw, 26px); letter-spacing: -0.025em; margin-bottom: 16px; }
.faq-layout { display: grid; grid-template-columns: 220px 1fr; gap: clamp(32px, 6vw, 80px); align-items: start; }
.faq-toc { position: sticky; top: 96px; display: flex; flex-direction: column; gap: 2px; font-size: 15px; color: var(--ink-2); }
.faq-toc a:not(.btn) { padding: 6px 0; }
.faq-toc a:not(.btn):hover { color: var(--ink); }
.faq-toc .box { margin-top: 24px; padding-top: 20px; border-top: 1px solid var(--line); }
.faq-toc .box p { font-size: 14px; margin-bottom: 12px; }

/* Formulaire */
.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 20px 16px; }
.field { display: flex; flex-direction: column; gap: 8px; }
.field.full { grid-column: 1 / -1; }
.field label { font-size: 14px; font-weight: 600; }
.field label span { font-weight: 400; color: var(--ink-3); }
.field input, .field select, .field textarea {
  font: inherit; font-size: 16px; color: var(--ink); background: var(--card);
  border: 1px solid var(--line-2); border-radius: var(--r-sm); padding: 12px 14px; width: 100%; min-height: 48px;
  transition: border-color .15s, box-shadow .15s;
}
.field select { appearance: none; -webkit-appearance: none; padding-right: 40px; background-image: linear-gradient(45deg, transparent 50%, currentColor 50%), linear-gradient(135deg, currentColor 50%, transparent 50%); background-position: calc(100% - 20px) 21px, calc(100% - 15px) 21px; background-size: 5px 5px; background-repeat: no-repeat; }
.field textarea { min-height: 168px; resize: vertical; }
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-color: var(--accent); box-shadow: 0 0 0 3px color-mix(in srgb, var(--accent) 18%, transparent); }
.field input:user-invalid, .field textarea:user-invalid { border-color: var(--dot); }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.consent { grid-column: 1 / -1; font-size: 14px; color: var(--ink-3); }
.consent a { text-decoration: underline; text-underline-offset: 3px; }
.alert { grid-column: 1 / -1; padding: 14px 16px; border-radius: var(--r-sm); border: 1px solid color-mix(in srgb, var(--dot) 45%, transparent); background: color-mix(in srgb, var(--dot) 8%, transparent); font-size: 15px; }
.contact-grid { display: grid; grid-template-columns: 1.4fr .6fr; gap: clamp(40px, 7vw, 96px); align-items: start; }
.contact-aside { border-top: 2px solid var(--accent); }
.contact-aside > div { padding: 20px 0; border-bottom: 1px solid var(--line-2); }
.contact-aside h2 { font-size: 16px; letter-spacing: -0.01em; margin-bottom: 6px; }
.contact-aside p { font-size: 15px; color: var(--ink-2); }

/* Merci / 404 */
.center-page { min-height: calc(100svh - 64px - 160px); display: flex; align-items: center; padding: 64px 0; }
.center-page > .wrap { width: 100%; }
.big { font-size: clamp(96px, 18vw, 200px); font-weight: 800; letter-spacing: -0.06em; line-height: .85; }
.big i { font-style: normal; color: var(--accent); }
.check { width: 56px; height: 56px; border-radius: 50%; background: var(--accent); display: flex; align-items: center; justify-content: center; margin-bottom: 28px; }
.check svg { width: 24px; height: 24px; stroke: #fff; fill: none; stroke-width: 2.2; }
.next-links { margin-top: 40px; display: grid; grid-template-columns: repeat(3, 1fr); max-width: 760px; border-top: 1px solid var(--line-2); }
.next-links a { padding: 18px 20px 18px 0; border-bottom: 1px solid var(--line-2); }
.next-links a + a { padding-left: 20px; border-left: 1px solid var(--line-2); }
.next-links a:hover b { text-decoration: underline; text-underline-offset: 3px; }
.next-links b { display: block; font-weight: 600; }
.next-links span { font-size: 14px; color: var(--ink-2); }

/* Appel final */
.final { background: var(--accent-ink); color: #fff; padding: clamp(80px, 10vw, 136px) 0; }
.final h2 { font-size: clamp(44px, 7.6vw, 112px); line-height: .9; max-width: 10em; letter-spacing: -0.058em; }
.final h2 i, .final h2 .d { font-style: normal; color: var(--ink); }
.final p { margin-top: 24px; color: rgba(255,255,255,.88); font-size: 18px; max-width: 30em; }
.final .btn { background: #fff; color: var(--ink); margin-top: 36px; }
.final ::selection { background: var(--ink); color: #fff; }

/* Pied de page */
footer.site { border-top: 1px solid var(--line); padding: 56px 0 40px; font-size: 14px; color: var(--ink-2); }
.foot-grid { display: grid; grid-template-columns: 1.6fr repeat(3, 1fr); gap: 32px; }
.foot-grid > div p { margin-top: 14px; max-width: 22em; }
.foot-title { font-size: 14px; font-weight: 600; color: var(--ink); margin-bottom: 10px; }
.foot-grid ul { display: flex; flex-direction: column; }
.foot-grid li a { display: inline-block; padding: 5px 0; }
.foot-grid a:hover, .foot-bottom button:hover { color: var(--accent-ink); }
.foot-bottom { margin-top: 48px; padding-top: 20px; border-top: 1px solid var(--line); display: flex; justify-content: space-between; flex-wrap: wrap; gap: 12px; color: var(--ink-3); }
.foot-bottom button { background: none; border: 0; cursor: pointer; padding: 0; color: inherit; }

/* CTA collant mobile */
.sticky-cta {
  position: fixed; left: 12px; right: 12px; bottom: calc(12px + env(safe-area-inset-bottom)); z-index: 25;
  display: none; align-items: center; justify-content: space-between; gap: 12px;
  padding: 8px 8px 8px 18px; border-radius: 999px;
  background: color-mix(in srgb, var(--bg) 88%, transparent);
  backdrop-filter: saturate(160%) blur(14px); -webkit-backdrop-filter: saturate(160%) blur(14px);
  border: 1px solid var(--line); box-shadow: 0 16px 32px -16px rgba(13,13,14,.35);
  transform: translateY(150%); transition: transform .3s cubic-bezier(.2,.8,.2,1); visibility: hidden;
}
.sticky-cta.on { transform: none; visibility: visible; }
.sticky-cta p { font-size: 14px; line-height: 1.25; }
.sticky-cta p b { display: block; font-weight: 600; }
.sticky-cta p span { color: var(--ink-2); font-size: 13px; }
.sticky-cta .btn { height: 44px; flex-shrink: 0; }
body.cookie-open .sticky-cta { visibility: hidden; transform: translateY(150%); }

/* Bandeau cookies */
.cookie {
  position: fixed; z-index: 40; left: 16px; bottom: 16px; max-width: 400px;
  background: var(--card); border: 1px solid var(--line); border-radius: var(--r-md);
  box-shadow: 0 24px 48px -24px rgba(13,13,14,.35);
  padding: 20px; font-size: 14px; color: var(--ink-2);
}
.cookie[hidden] { display: none; }
.cookie b { display: block; color: var(--ink); font-size: 15px; margin-bottom: 6px; }
.cookie a { text-decoration: underline; text-underline-offset: 3px; }
.cookie .row { display: flex; gap: 8px; margin-top: 16px; }
.cookie .btn { height: 44px; flex: 1; }

/* Responsive */
@media (max-width: 1000px) {
  .nav-links { display: none; }
  .nav { gap: 16px; justify-content: space-between; }
  .menu-btn { display: block; }
}
@media (min-width: 1001px) { .menu { display: none !important; } }
@media (max-width: 960px) {
  .hero-grid, .split, .sec-head, .case-card, .contact-grid, .faq-layout, .why, .faq-home { grid-template-columns: 1fr; }
  .sec-head { gap: 16px; }
  .case-card .nums { border-left: 0; border-top: 1px solid var(--line); grid-template-rows: none; grid-template-columns: repeat(3, 1fr); }
  .case-card .nums .num { border-top: 0; border-left: 1px solid var(--line); }
  .case-card .nums .num:first-child { border-left: 0; }
  .why-phone { position: static; }
  .reviews { grid-template-columns: 1fr 1fr; }
  .review:first-child { grid-column: 1 / -1; grid-row: auto; }
  .foot-grid { grid-template-columns: repeat(3, 1fr); }
  .foot-grid > div:first-child { grid-column: 1 / -1; }
  .faq-toc { position: static; flex-direction: row; flex-wrap: wrap; gap: 8px; }
  .faq-toc a:not(.btn) { padding: 8px 14px; border: 1px solid var(--line-2); border-radius: 999px; }
  .faq-toc .box { display: none; }
}
@media (max-width: 720px) {
  body { font-size: 16px; }
  .nav-login { display: none; }
  .hero { padding-top: 28px; }
  .cta-row .btn { flex: 1 1 auto; }
  .steps { grid-template-columns: 1fr; gap: 0; }
  .steps::before { top: 18px; bottom: 18px; left: 17.5px; right: auto; width: 1px; height: auto; background: linear-gradient(180deg, var(--accent), var(--line-2)); }
  .step { padding: 0 0 32px 56px; }
  .step:last-child { padding-bottom: 0; }
  .step .n { position: absolute; left: 0; top: 0; }
  .step h3 { margin-top: 5px; }
  .why-list li { grid-template-columns: 1fr; }
  .pb-list li, .gaps, .constat-foot { grid-template-columns: 1fr; }
  .constat-foot .stats-shot { justify-self: start; }
  .device { width: 250px; border-radius: 42px; padding: 8px; }
  .device img { border-radius: 34px; }
  .device::after { top: 16px; height: 19px; }
  .duo { grid-template-columns: 1fr; gap: 48px; }

  .why-k { grid-row: auto; font-size: 15px; font-weight: 600; }
  .reviews, .bento { grid-template-columns: 1fr; }
  .case-card .nums { grid-template-columns: 1fr; }
  .case-card .nums .num { border-left: 0; border-top: 1px solid var(--line); }
  .case-card .nums .num:first-child { border-top: 0; }
  .form-grid { grid-template-columns: 1fr; }
  .faq .ans { padding-right: 0; }
  .next-links { grid-template-columns: 1fr; }
  .next-links a + a { padding-left: 0; border-left: 0; }
  .foot-grid { grid-template-columns: 1fr 1fr; }
  .foot-grid li a { padding: 8px 0; }
  .sticky-cta { display: flex; }
  body.has-sticky { padding-bottom: 80px; }
  .cookie { left: 12px; right: 12px; bottom: 12px; max-width: none; }
}
@media (max-width: 374px) {
  .pill span { display: none; }
  .pill { padding-right: 4px; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition: none !important; animation: none !important; }
}
@media print {
  header.site, footer.site, .sticky-cta, .cookie, .final { display: none !important; }
  body { font-size: 12pt; }
}
html.menu-open { overflow: hidden; }
