/* Site vitrine Dropmatch — même direction artistique que l'app et la vidéo :
   ivoire, encre, un seul accent terracotta ; Inter Tight, Instrument Serif
   (italique, un mot par titre), JetBrains Mono pour les noms de fichiers. */

@font-face { font-family: "Inter Tight"; font-weight: 500; font-display: swap; src: url("/static/fonts/inter-tight-latin-500-normal.woff2") format("woff2"); }
@font-face { font-family: "Inter Tight"; font-weight: 600; font-display: swap; src: url("/static/fonts/inter-tight-latin-600-normal.woff2") format("woff2"); }
@font-face { font-family: "Inter Tight"; font-weight: 800; font-display: swap; src: url("/static/fonts/inter-tight-latin-800-normal.woff2") format("woff2"); }
@font-face { font-family: "Instrument Serif"; font-style: italic; font-display: swap; src: url("/static/fonts/instrument-serif-latin-400-italic.woff2") format("woff2"); }
@font-face { font-family: "JetBrains Mono"; font-weight: 500; font-display: swap; src: url("/static/fonts/jetbrains-mono-latin-500-normal.woff2") format("woff2"); }

:root {
  --ivory: #f6efe5;
  --ivory-deep: #efe5d7;
  --paper: #fffdf9;
  --ink: #131417;
  --ink-soft: #3a3632;
  --muted: #6f6962;
  --line: #e7ddd0;
  --accent: #d9704a;
  --accent-text: #a94b2b;
  --accent-soft: #f7e3d8;
  --ok-bg: #e2f1de; --ok-ink: #1c5b2c;
  --warn-bg: #fdecc8; --warn-ink: #7a4a00;
  --info-bg: #e2ecfb; --info-ink: #1f4e8c;
  --radius: 22px;
  --shadow: 0 30px 80px rgba(60, 40, 20, 0.10), 0 2px 6px rgba(60, 40, 20, 0.05);
  --max: 1160px;
}

* { box-sizing: border-box; margin: 0; padding: 0; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body {
  background: var(--ivory);
  color: var(--ink);
  font-family: "Inter Tight", system-ui, sans-serif;
  font-weight: 500;
  font-size: 18px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}
img { display: block; max-width: 100%; height: auto; }
a { color: inherit; }
em.serif, h1 em, h2 em { font-family: "Instrument Serif", Georgia, serif; font-style: italic; font-weight: 400; color: var(--accent-text); letter-spacing: -0.005em; }
code, .mono { font-family: "JetBrains Mono", ui-monospace, monospace; font-size: 0.86em; }

.wrap { max-width: var(--max); margin: 0 auto; padding: 0 24px; }
.skip { position: absolute; left: -999px; top: 8px; background: var(--ink); color: #fff; padding: 8px 14px; border-radius: 8px; }
.skip:focus { left: 8px; z-index: 50; }
:focus-visible { outline: 3px solid var(--accent); outline-offset: 3px; border-radius: 6px; }

/* ---------- En-tête ---------- */
.top { position: sticky; top: 0; z-index: 20; background: rgba(246, 239, 229, 0.86); backdrop-filter: saturate(1.4) blur(12px); border-bottom: 1px solid transparent; }
.top.scrolled { border-bottom-color: var(--line); }
.top .wrap { display: flex; align-items: center; gap: 28px; height: 72px; }
.brand { display: flex; align-items: center; gap: 10px; text-decoration: none; font-weight: 800; font-size: 21px; letter-spacing: -0.03em; }
.brand img { width: 34px; height: 34px; border-radius: 9px; }
.nav { display: flex; gap: 26px; margin-left: auto; }
.nav a { text-decoration: none; color: var(--ink-soft); font-size: 16px; font-weight: 600; }
.nav a:hover, .nav a[aria-current="page"] { color: var(--ink); }
.nav a[aria-current="page"] { box-shadow: inset 0 -2px 0 var(--accent); }
.lang { font-family: "JetBrains Mono", monospace; font-size: 13px; letter-spacing: 0.08em; text-decoration: none; color: var(--muted); border: 1px solid var(--line); border-radius: 999px; padding: 5px 11px; }
.lang:hover { color: var(--ink); border-color: var(--ink-soft); }
.menu-btn { display: none; margin-left: auto; background: none; border: 1px solid var(--line); border-radius: 12px; width: 44px; height: 40px; font-size: 18px; cursor: pointer; }

/* ---------- Boutons ---------- */
.btn { display: inline-flex; align-items: center; gap: 10px; border-radius: 999px; padding: 14px 24px; font-weight: 600; font-size: 16px; text-decoration: none; border: 1px solid transparent; transition: transform .15s ease, background .15s ease; }
.btn:hover { transform: translateY(-1px); }
.btn-primary { background: var(--ink); color: #fff; }
.btn-primary:hover { background: #26272c; }
.btn-ghost { border-color: var(--ink); color: var(--ink); }
.btn-soon { background: var(--paper); color: var(--ink-soft); border: 1px dashed #cbbfae; cursor: default; }
.btn-soon:hover { transform: none; }
.btn .dot { width: 8px; height: 8px; border-radius: 50%; background: var(--accent); }
.top .btn { padding: 10px 18px; font-size: 15px; }

/* ---------- Titres & sections ---------- */
.eyebrow { display: inline-flex; align-items: center; gap: 10px; font-family: "JetBrains Mono", monospace; font-size: 13px; letter-spacing: 0.24em; text-transform: uppercase; color: var(--ink-soft); }
.eyebrow::before { content: ""; width: 9px; height: 9px; border-radius: 50%; background: var(--accent); }
h1, h2 { text-wrap: balance; }
h1 { font-size: clamp(44px, 6.4vw, 84px); line-height: 0.98; letter-spacing: -0.045em; font-weight: 800; }
h2 { font-size: clamp(32px, 4vw, 52px); line-height: 1.04; letter-spacing: -0.035em; font-weight: 800; }
h3 { font-size: 22px; line-height: 1.25; letter-spacing: -0.02em; font-weight: 700; }
.lede { font-size: clamp(19px, 1.6vw, 22px); color: var(--ink-soft); max-width: 40em; }
section { padding: 96px 0; }
.section-head { max-width: 760px; margin-bottom: 48px; }
.section-head .lede { margin-top: 18px; }
.center { text-align: center; margin-left: auto; margin-right: auto; }

/* ---------- Héros ---------- */
.hero { padding: 72px 0 56px; }
.hero .wrap { display: grid; grid-template-columns: 1.05fr 1fr; gap: 56px; align-items: center; }
.hero h1 { margin-top: 22px; }
.hero .lede { margin-top: 24px; }
.hero .ctas { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 34px; }
.hero .note { margin-top: 16px; color: var(--muted); font-size: 15px; }

/* Carte « fiche » : rappel de l'interface de l'app. */
.card { background: var(--paper); border-radius: var(--radius); box-shadow: var(--shadow); border: 1px solid #f0e8dc; }
.match-card { padding: 10px 24px; }
.match-row { display: grid; grid-template-columns: 72px 1fr auto; gap: 18px; align-items: center; padding: 14px 0; }
.match-row + .match-row { border-top: 1px solid #f0e8dc; }
.match-row img { width: 72px; height: 72px; border-radius: 14px; object-fit: cover; }
.match-row .name { font-weight: 700; font-size: 18px; letter-spacing: -0.015em; }
.match-row .file { color: var(--muted); font-size: 13.5px; margin-top: 2px; }
.match-row .file b { color: var(--accent-text); font-weight: 500; }
.chip { display: inline-block; border-radius: 999px; padding: 6px 13px; font-size: 13.5px; font-weight: 600; white-space: nowrap; }
.chip.ok { background: var(--ok-bg); color: var(--ok-ink); }
.chip.warn { background: var(--warn-bg); color: var(--warn-ink); }
.chip.info { background: var(--info-bg); color: var(--info-ink); }
.match-foot { display: flex; align-items: center; gap: 10px; border-top: 1px solid #f0e8dc; padding: 14px 0 6px; color: var(--ink-soft); font-size: 15px; }
.match-foot i { width: 22px; height: 22px; border-radius: 50%; background: var(--accent); color: #fff; font-style: normal; font-size: 12px; font-weight: 800; display: inline-flex; align-items: center; justify-content: center; }

/* ---------- Étapes ---------- */
.steps { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; counter-reset: step; }
.step { background: var(--paper); border: 1px solid #f0e8dc; border-radius: var(--radius); padding: 26px; }
.step .num { width: 34px; height: 34px; border-radius: 50%; background: var(--ink); color: #fff; font-weight: 800; display: inline-flex; align-items: center; justify-content: center; font-size: 15px; }
.step:first-child .num { background: var(--accent); }
.step h3 { margin-top: 18px; }
.step p { margin-top: 8px; color: var(--ink-soft); font-size: 16px; }

/* ---------- Vidéo (façade : rien ne se charge avant le clic) ---------- */
.video { position: relative; display: block; width: 100%; aspect-ratio: 16 / 9; border-radius: 28px; overflow: hidden; box-shadow: var(--shadow); background: var(--ink); border: 0; padding: 0; cursor: pointer; }
.video img { width: 100%; height: 100%; object-fit: cover; }
.video .play { position: absolute; inset: 0; margin: auto; width: 92px; height: 92px; border-radius: 50%; background: var(--ink); display: flex; align-items: center; justify-content: center; box-shadow: 0 18px 40px rgba(0,0,0,.25); transition: transform .15s ease; }
.video:hover .play { transform: scale(1.06); }
.video .play::after { content: ""; border-left: 26px solid #fff; border-top: 16px solid transparent; border-bottom: 16px solid transparent; margin-left: 6px; }
.video iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }
.video-note { margin-top: 14px; color: var(--muted); font-size: 14px; text-align: center; }

/* ---------- Fonctionnalités ---------- */
.features { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.feature { background: var(--paper); border: 1px solid #f0e8dc; border-radius: var(--radius); padding: 30px; }
.feature .ico { width: 44px; height: 44px; border-radius: 14px; background: var(--accent-soft); color: var(--accent-text); display: flex; align-items: center; justify-content: center; }
.feature .ico svg { width: 22px; height: 22px; }
.feature h3 { margin-top: 20px; }
.feature p { margin-top: 10px; color: var(--ink-soft); font-size: 16px; }
/* Liste complète des fonctionnalités (page Fonctionnalités) : compacte, en 3 colonnes. */
.all-features { display: grid; grid-template-columns: repeat(3, 1fr); gap: 0 36px; border-top: 1px solid var(--line); }
.all-feature { display: grid; grid-template-columns: 36px 1fr; gap: 16px; padding: 26px 0; border-bottom: 1px solid var(--line); }
.all-feature .ico { width: 36px; height: 36px; border-radius: 11px; background: var(--accent-soft); color: var(--accent-text); display: flex; align-items: center; justify-content: center; }
.all-feature .ico svg { width: 18px; height: 18px; }
.all-feature h3 { font-size: 17px; }
.all-feature p { margin-top: 6px; color: var(--ink-soft); font-size: 15px; line-height: 1.55; }

/* Blocs détaillés (page Fonctionnalités) */
.detail { display: grid; grid-template-columns: 1fr 1.25fr; gap: 56px; align-items: center; padding: 56px 0; }
.detail + .detail { border-top: 1px solid var(--line); }
.detail.flip .detail-text { order: 2; }
.detail-text h2 { font-size: clamp(28px, 3vw, 40px); }
.detail-text p { margin-top: 16px; color: var(--ink-soft); }
.detail-text ul { margin-top: 18px; list-style: none; display: grid; gap: 10px; }
.detail-text li { padding-left: 30px; position: relative; color: var(--ink-soft); font-size: 17px; }
.detail-text li::before { content: "✓"; position: absolute; left: 0; top: 2px; width: 20px; height: 20px; border-radius: 50%; background: var(--accent-soft); color: var(--accent-text); font-size: 11px; font-weight: 800; display: flex; align-items: center; justify-content: center; }
.shot { border-radius: 20px; overflow: hidden; box-shadow: var(--shadow); border: 1px solid #eadfce; background: #f1f1f1; }

/* ---------- Bande sombre (garanties) ---------- */
/* Chiffre mesuré (4 h → 10 min) : le premier argument de la page. */
.time-stat { display: grid; grid-template-columns: auto auto auto; justify-content: start; align-items: center; column-gap: clamp(14px, 3vw, 28px); row-gap: 14px; margin: 0 0 36px; }
.time-stat > div { display: flex; flex-direction: column; }
.ts-num { white-space: nowrap; font-size: clamp(44px, 7vw, 96px); font-weight: 800; letter-spacing: -0.05em; line-height: 0.95; }
.ts-label { white-space: nowrap; margin-top: 6px; font-family: "JetBrains Mono", monospace; font-size: 13px; letter-spacing: 0.12em; text-transform: uppercase; color: var(--muted); }
.ts-before .ts-num { color: #b3a898; text-decoration: line-through; text-decoration-thickness: 4px; text-decoration-color: rgba(179, 168, 152, 0.7); }
.ts-after .ts-num { color: var(--accent-text); }
.ts-arrow { font-size: clamp(32px, 4vw, 52px); color: var(--accent); }
.time-stat figcaption { grid-column: 1 / -1; font-size: 14px; color: var(--muted); max-width: 640px; }
/* Temps gagné : la longueur des deux colonnes EST le message (7 tâches contre 3). */
.compare { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; align-items: start; }
.compare-col { border-radius: var(--radius); padding: 30px 32px; }
.compare-col h3 { font-size: 19px; }
.compare-col ol { list-style: none; padding: 0; margin-top: 18px; }
.compare-col li { display: flex; gap: 12px; align-items: baseline; padding: 11px 0; border-top: 1px solid var(--line); font-size: 16px; }
.compare-col li::before { flex: none; width: 22px; height: 22px; border-radius: 50%; display: inline-flex; align-items: center; justify-content: center; font-size: 12px; font-weight: 700; transform: translateY(4px); }
.compare .manual { background: transparent; border: 1px dashed #cbbfae; color: var(--muted); }
.compare .manual h3 { color: var(--ink-soft); }
.compare .manual li::before { content: "×"; color: var(--muted); border: 1px solid #d8cdbf; }
.compare .auto { background: var(--paper); border: 2px solid var(--accent); box-shadow: 0 18px 40px -24px rgba(169, 75, 43, 0.35); }
.compare .auto li { color: var(--ink); font-weight: 600; font-size: 17px; }
.compare .auto li::before { content: "✓"; color: #fff; background: var(--accent); }
.compare-note { margin-top: 18px; font-size: 14px; color: var(--muted); }
.dark { background: var(--ink); color: #f4efe8; border-radius: 36px; margin: 0 16px; }
.dark .eyebrow { color: #cfc6ba; }
.dark h2 em { color: #f0a17f; }
.promises { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; margin-top: 44px; }
.promise { border-top: 1px solid #3a3b40; padding-top: 22px; }
.promise h3 { color: #fff; font-size: 20px; }
.promise p { margin-top: 8px; color: #bdb5ab; font-size: 16px; }

/* ---------- Tarifs ---------- */
.toggle { display: inline-flex; background: var(--paper); border: 1px solid var(--line); border-radius: 999px; padding: 4px; margin-top: 28px; }
.toggle button { border: 0; background: none; font: inherit; font-size: 15px; font-weight: 600; padding: 9px 18px; border-radius: 999px; cursor: pointer; color: var(--ink-soft); }
.toggle button[aria-pressed="true"] { background: var(--ink); color: #fff; }
.toggle .save { color: var(--accent-text); font-size: 13px; margin-left: 4px; }
.toggle button[aria-pressed="true"] .save { color: #f0a17f; }
.plans { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; margin-top: 40px; }
.plan { background: var(--paper); border: 1px solid #f0e8dc; border-radius: var(--radius); padding: 28px 24px; display: flex; flex-direction: column; }
.plan.featured { border: 2px solid var(--accent); box-shadow: var(--shadow); }
.plan .tag { align-self: flex-start; font-size: 12px; font-weight: 700; letter-spacing: .04em; text-transform: uppercase; color: var(--accent-text); background: var(--accent-soft); padding: 4px 10px; border-radius: 999px; margin-bottom: 12px; }
.plan h3 { font-size: 22px; }
.plan .price { margin-top: 14px; font-size: 44px; font-weight: 800; letter-spacing: -0.04em; line-height: 1; }
.plan .price small { font-size: 16px; font-weight: 600; color: var(--muted); letter-spacing: 0; }
.plan .alt { margin-top: 6px; color: var(--muted); font-size: 14px; min-height: 21px; }
.plan ul { list-style: none; margin-top: 22px; display: grid; gap: 9px; font-size: 15.5px; color: var(--ink-soft); flex: 1; }
.plan li { padding-left: 24px; position: relative; }
.plan li::before { content: "✓"; position: absolute; left: 0; color: var(--muted); font-weight: 700; }
.plan li strong { color: var(--ink); }
.plans-note { margin-top: 26px; color: var(--muted); font-size: 15px; }
[data-period="yearly"] .m-only, [data-period="monthly"] .y-only { display: none; }

/* ---------- FAQ ---------- */
.faq { max-width: 820px; }
.faq details { border-bottom: 1px solid var(--line); padding: 22px 0; }
.faq summary { cursor: pointer; list-style: none; font-weight: 700; font-size: 20px; letter-spacing: -0.015em; display: flex; justify-content: space-between; gap: 20px; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; color: var(--muted); font-weight: 500; font-size: 26px; line-height: 1; transition: transform .2s ease; }
.faq details[open] summary::after { transform: rotate(45deg); }
.faq .answer { margin-top: 12px; color: var(--ink-soft); }
.faq .answer p + p { margin-top: 10px; }
/* FAQ par catégories : sommaire en pastilles, puis une section par catégorie. */
.faq-nav { display: flex; flex-wrap: wrap; gap: 10px; max-width: 820px; margin-bottom: 8px; }
.faq-nav a { padding: 8px 16px; border-radius: 999px; border: 1px solid var(--line); background: var(--paper); color: var(--ink); font-size: 15px; font-weight: 600; text-decoration: none; transition: border-color .15s ease, color .15s ease; }
.faq-nav a:hover { border-color: var(--accent); color: var(--accent-text); }
.faq-group { max-width: 820px; margin-top: 56px; scroll-margin-top: 96px; }
.faq-group h2 { font-size: clamp(24px, 2.6vw, 30px); padding-bottom: 6px; border-bottom: 2px solid var(--ink); }

/* ---------- Guides ---------- */
.guide-list { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.guide-card { display: flex; flex-direction: column; background: var(--paper); border: 1px solid #f0e8dc; border-radius: var(--radius); padding: 28px; text-decoration: none; transition: transform .15s ease, box-shadow .15s ease; }
.guide-card:hover { transform: translateY(-2px); box-shadow: var(--shadow); }
.guide-card .meta { font-family: "JetBrains Mono", monospace; font-size: 12.5px; color: var(--muted); letter-spacing: .06em; text-transform: uppercase; }
.guide-card h3 { margin-top: 14px; }
.guide-card p { margin-top: 10px; color: var(--ink-soft); font-size: 16px; flex: 1; }
.guide-card .more { margin-top: 18px; font-weight: 600; font-size: 15px; color: var(--accent-text); }

.article { max-width: 760px; margin: 0 auto; }
.article .crumbs { font-size: 14px; color: var(--muted); }
.article .crumbs a { color: var(--muted); }
.article h1 { font-size: clamp(38px, 5vw, 60px); margin-top: 18px; }
.article .lede { margin-top: 20px; }
.article .meta { margin-top: 18px; font-family: "JetBrains Mono", monospace; font-size: 13px; color: var(--muted); }
.article .cover { display: block; width: 100%; height: auto; margin-top: 32px; border-radius: 18px; border: 1px solid var(--line); }
.prose { margin-top: 40px; }
.prose img { display: block; max-width: 100%; height: auto; margin: 28px auto 0; border-radius: 14px; border: 1px solid var(--line); }
.prose h2 { font-size: clamp(26px, 3vw, 34px); margin-top: 52px; }
.prose h3 { margin-top: 28px; }
.prose p, .prose ul, .prose ol { margin-top: 16px; color: #2b2724; }
.prose ul, .prose ol { padding-left: 22px; }
.prose li + li { margin-top: 8px; }
.prose code { background: var(--paper); border: 1px solid var(--line); border-radius: 6px; padding: 1px 6px; }
.prose strong { color: var(--ink); }
.prose a { color: var(--accent-text); text-underline-offset: 3px; }
.prose code { font-family: "JetBrains Mono", monospace; font-size: 0.88em; overflow-wrap: anywhere; }
.prose pre { margin-top: 16px; background: var(--paper); border: 1px solid var(--line); border-radius: 12px; padding: 16px 18px; overflow-x: auto; }
.prose pre code { background: none; border: 0; padding: 0; overflow-wrap: normal; }
.prose blockquote { margin: 20px 0 0; padding: 4px 0 4px 18px; border-left: 3px solid var(--accent); color: var(--ink-soft); }
/* Tableaux : défilent horizontalement sur téléphone plutôt que de déborder. */
.prose table { display: block; max-width: 100%; overflow-x: auto; margin-top: 20px; border-collapse: collapse; font-size: 15px; }
.prose th, .prose td { padding: 10px 14px; border-bottom: 1px solid var(--line); text-align: left; vertical-align: top; }
.prose th { font-weight: 600; color: var(--ink); background: var(--paper); }
.cta-box { margin-top: 56px; padding: 34px; border-radius: var(--radius); background: var(--paper); border: 1px solid #f0e8dc; box-shadow: var(--shadow); }
.cta-box h2 { font-size: 30px; margin-top: 0; }
.cta-box p { margin-top: 12px; color: var(--ink-soft); }
.cta-box .ctas { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 22px; }

/* ---------- Appel final & pied ---------- */
.final { text-align: center; }
.final .ctas { display: flex; justify-content: center; flex-wrap: wrap; gap: 12px; margin-top: 30px; }
.foot { border-top: 1px solid var(--line); padding: 56px 0 44px; margin-top: 40px; font-size: 15px; color: var(--muted); }
.foot .wrap { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1fr; gap: 32px; }
.foot h4 { color: var(--ink); font-size: 14px; margin-bottom: 12px; letter-spacing: .02em; }
.foot ul { list-style: none; display: grid; gap: 8px; }
.foot a { text-decoration: none; color: var(--muted); }
.foot a:hover { color: var(--ink); }
.foot .legal { grid-column: 1 / -1; border-top: 1px solid var(--line); padding-top: 22px; margin-top: 8px; font-size: 13.5px; }

/* ---------- Accueil : garanties sous les boutons ---------- */
.trust { list-style: none; display: flex; flex-wrap: wrap; gap: 8px 20px; margin-top: 20px; font-size: 15px; color: var(--ink-soft); }
.trust li { display: inline-flex; align-items: center; gap: 8px; }
.trust li::before { content: "✓"; width: 18px; height: 18px; border-radius: 50%; background: var(--ok-bg); color: var(--ok-ink); font-size: 11px; font-weight: 800; display: inline-flex; align-items: center; justify-content: center; }

/* ---------- Accueil : avis (masqué tant qu'il n'y en a pas) ---------- */
.reviews { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.review { background: var(--paper); border: 1px solid #f0e8dc; border-radius: var(--radius); padding: 28px; }
.review blockquote { font-size: 18px; color: var(--ink); }
.review blockquote::before { content: "“"; display: block; font-family: "Instrument Serif", Georgia, serif; font-size: 54px; line-height: 0.6; color: var(--accent-text); margin-bottom: 8px; }
.review figcaption { margin-top: 16px; font-size: 15px; color: var(--muted); }

/* ---------- Accueil : avant / après ---------- */
/* Deux cartes : « Avant » en retrait (pointillés, texte gris), « Après » mise en
   avant (seule bordure terracotta). À l'intérieur : intitulé discret, valeur lisible.
   Aucune autre couleur ni graisse : l'œil ne doit aller qu'à la carte « Après ». */
.ba { display: grid; grid-template-columns: minmax(0, 1fr) auto minmax(0, 1fr); gap: 20px; align-items: stretch; }
.ba-side { border-radius: var(--radius); padding: 26px 28px; }
.ba-side.before { border: 1px dashed #cbbfae; color: var(--muted); }
.ba-side.after { background: var(--paper); border: 2px solid var(--accent); box-shadow: 0 18px 40px -24px rgba(169, 75, 43, 0.35); }
.ba-head { display: flex; align-items: center; gap: 14px; padding-bottom: 18px; }
.ba-head img { width: 56px; height: 56px; border-radius: 12px; object-fit: cover; border: 1px solid #f0e8dc; }
.ba-side.before .ba-head img { filter: grayscale(0.6); opacity: 0.75; }
.ba-head h3 { font-size: 19px; }
.ba-side.before h3 { color: var(--ink-soft); }
.ba-side dl > div { padding: 12px 0; border-top: 1px solid var(--line); }
.ba-side dt { font-size: 13px; color: var(--muted); }
.ba-side dd { margin-top: 2px; font-size: 16px; }
.ba-side.after dd { color: var(--ink); }
.ba-side code { font-size: 14px; overflow-wrap: anywhere; }
.ba-arrow { align-self: center; font-size: 28px; color: var(--muted); }
.ba-note { margin-top: 16px; font-size: 14px; color: var(--muted); max-width: 760px; }

/* ---------- Accueil : bénéfices (2 × 2) ---------- */
.features.benefits { grid-template-columns: repeat(2, 1fr); }

/* ---------- « Une vraie personne vous répond » (avant le dernier appel) ---------- */
.help-section { padding: 0 0 24px; }
.help { display: flex; align-items: center; justify-content: space-between; gap: 32px; background: var(--paper); border: 1px solid #f0e8dc; border-radius: var(--radius); padding: 32px 36px; }
.help h2 { font-size: clamp(26px, 2.8vw, 34px); margin-top: 12px; }
.help p { margin-top: 12px; color: var(--ink-soft); font-size: 17px; max-width: 46em; }
.help .btn { flex: none; }

/* ---------- Téléphone : bouton « Installer » toujours à portée de pouce ---------- */
.sticky-cta { display: none; }

/* ---------- Mobile ---------- */
@media (max-width: 980px) {
  .hero .wrap, .detail { grid-template-columns: minmax(0, 1fr); }
  .detail.flip .detail-text { order: 0; }
  .steps, .plans { grid-template-columns: repeat(2, 1fr); }
  .features, .guide-list, .all-features { grid-template-columns: 1fr 1fr; }
  .promises { grid-template-columns: 1fr 1fr; }
  .foot .wrap { grid-template-columns: 1fr 1fr; }
  .reviews { grid-template-columns: 1fr; }
}
@media (max-width: 760px) {
  body { font-size: 17px; }
  section { padding: 68px 0; }
  .hero { padding: 40px 0 64px; }
  .menu-btn { display: block; }
  .nav { display: none; position: absolute; top: 72px; left: 0; right: 0; flex-direction: column; gap: 0; background: var(--ivory); border-bottom: 1px solid var(--line); padding: 8px 24px 18px; }
  .nav.open { display: flex; }
  .nav a { padding: 12px 0; font-size: 18px; }
  .top .cta-top { display: none; }
  .steps, .plans, .features, .guide-list, .promises, .all-features, .compare { grid-template-columns: 1fr; }
  .compare-col { padding: 24px 22px; }
  .dark { margin: 0 8px; border-radius: 26px; }
  .match-row { grid-template-columns: 56px 1fr; }
  .match-row img { width: 56px; height: 56px; }
  .match-row .chip { grid-column: 2; justify-self: start; }
  .foot .wrap { grid-template-columns: 1fr; }
  .features.benefits { grid-template-columns: 1fr; }
  .help { flex-direction: column; align-items: flex-start; padding: 24px 22px; gap: 20px; }
  /* Avant / après : une carte par ligne, « Avant » puis « Après ». */
  .ba { grid-template-columns: minmax(0, 1fr); gap: 12px; }
  .ba-side { padding: 22px 20px; }
  .ba-arrow { justify-self: center; transform: rotate(90deg); }
  .sticky-cta { display: block; position: fixed; left: 12px; right: 12px; bottom: 12px; z-index: 30; transform: translateY(160%); transition: transform .25s ease; }
  .sticky-cta.show { transform: none; }
  .sticky-cta .btn { width: 100%; justify-content: center; box-shadow: 0 14px 36px rgba(19, 20, 23, 0.28); }
}
/* Très petits téléphones (320-380 px) : le grand titre ne doit jamais élargir la page. */
@media (max-width: 380px) {
  h1 { font-size: 38px; overflow-wrap: break-word; }
  .wrap { padding-left: 16px; padding-right: 16px; }
}
@media (prefers-reduced-motion: reduce) { * { transition: none !important; scroll-behavior: auto !important; } }
