/* Kivoform, site vitrine. Une seule feuille, sans dépendance ni police à télécharger : la police système est
   celle de l'app sur iPhone. Couleurs reprises de l'app (AccentColor, kfGradient). */

:root {
  color-scheme: light dark;
  --accent: #2f64e7;
  --accent-ink: #2457d6;
  --grad-a: #22b8cf;
  --grad-b: #2f64e7;
  --gradient: linear-gradient(135deg, var(--grad-a), var(--grad-b));
  /* Fonds qui portent du texte blanc : contraste d'au moins 4,5:1 sur toute leur surface (WCAG AA). */
  --solid: #2f64e7;
  /* Titre en dégradé : au moins 3:1 sur le fond clair (texte large). */
  --gradient-text: linear-gradient(135deg, #0e8fa8, #2f64e7);
  --gradient-strong: linear-gradient(135deg, #0b7a8f, #2f64e7);
  --bg: #ffffff;
  --bg-soft: #f3f7fb;
  --card: #ffffff;
  --text: #16161d;
  --muted: #5a6573;
  --line: #e1e8f0;
  --good: #1f9d55;
  --warn-bg: #fff4d6;
  --warn-text: #6b4a00;
  --shadow: 0 1px 2px rgba(22, 22, 29, .05), 0 12px 32px -12px rgba(20, 60, 140, .18);
  --radius: 22px;
  --wrap: 1120px;
  --font: -apple-system, BlinkMacSystemFont, "SF Pro Text", "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  --font-display: -apple-system, BlinkMacSystemFont, "SF Pro Display", "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
}

@media (prefers-color-scheme: dark) {
  :root {
    --accent: #6c9bff;
    --accent-ink: #8db3ff;
    --gradient-text: linear-gradient(135deg, #22b8cf, #6c9bff);
    --bg: #0e1116;
    --bg-soft: #141a22;
    --card: #19202a;
    --text: #f5f5f7;
    --muted: #9ba7b6;
    --line: #27303c;
    --good: #45c97a;
    --warn-bg: #3a2f10;
    --warn-text: #ffd98a;
    --shadow: 0 1px 2px rgba(0, 0, 0, .4), 0 16px 40px -16px rgba(0, 0, 0, .7);
  }
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font: 17px/1.6 var(--font);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}
img { max-width: 100%; height: auto; display: block; }
figure { margin: 0; }
a { color: var(--accent-ink); text-underline-offset: 3px; }
a:hover { text-decoration-thickness: 2px; }
:focus-visible { outline: 3px solid var(--accent); outline-offset: 3px; border-radius: 8px; }
h1, h2, h3 { font-family: var(--font-display); line-height: 1.12; letter-spacing: -0.02em; margin: 0; }
h1 { font-size: clamp(2.3rem, 6.2vw, 4.1rem); font-weight: 800; }
h2 { font-size: clamp(1.8rem, 4vw, 2.7rem); font-weight: 800; }
h3 { font-size: 1.18rem; font-weight: 700; letter-spacing: -0.01em; }
p { margin: 0 0 1em; }

.wrap { width: min(var(--wrap), 100% - 40px); margin-inline: auto; }
@supports not (width: min(1px, 100%)) { .wrap { width: 92%; max-width: var(--wrap); } }

.skip {
  position: absolute; left: 12px; top: -60px; z-index: 100; padding: 10px 16px; border-radius: 12px;
  background: var(--text); color: var(--bg); font-weight: 600; text-decoration: none;
}
.skip:focus { top: 12px; }
/* Texte réservé aux lecteurs d'écran */
.sr-only {
  position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0 0 0 0);
  white-space: nowrap; border: 0;
}

.gradient-text {
  background: var(--gradient-text); -webkit-background-clip: text; background-clip: text; color: transparent;
}
.lead { font-size: clamp(1.08rem, 2vw, 1.28rem); color: var(--muted); max-width: 38em; }
.center { text-align: center; }
.center .lead { margin-inline: auto; }
.more { margin-top: 30px; }
.flush { margin: 0 0 4px; }

/* En-tête ------------------------------------------------------------------------------------------- */
.site-header {
  position: sticky; top: 0; z-index: 50;
  background: color-mix(in srgb, var(--bg) 82%, transparent);
  -webkit-backdrop-filter: saturate(180%) blur(16px); backdrop-filter: saturate(180%) blur(16px);
  border-bottom: 1px solid color-mix(in srgb, var(--line) 70%, transparent);
}
@supports not (background: color-mix(in srgb, red, blue)) { .site-header { background: var(--bg); } }
.site-header .wrap { display: flex; align-items: center; justify-content: space-between; gap: 16px; min-height: 64px; }
.brand { display: inline-flex; align-items: center; gap: 10px; color: var(--text); text-decoration: none; font-weight: 800; font-size: 1.18rem; letter-spacing: -0.02em; }
.brand img { width: 34px; height: 34px; border-radius: 9px; }
.nav { display: flex; align-items: center; gap: 6px; }
.nav a {
  color: var(--muted); text-decoration: none; font-weight: 600; font-size: .95rem; padding: 8px 12px; border-radius: 10px;
}
.nav a:hover, .nav a[aria-current="page"] { color: var(--text); background: var(--bg-soft); }
.menu { display: none; position: relative; }
.menu summary {
  list-style: none; cursor: pointer; padding: 8px 12px; border-radius: 10px; font-weight: 700; color: var(--text);
  border: 1px solid var(--line);
}
.menu summary::-webkit-details-marker { display: none; }
.menu[open] summary { background: var(--bg-soft); }
.menu nav {
  position: absolute; right: 0; top: calc(100% + 8px); min-width: 220px; padding: 8px; display: grid;
  background: var(--card); border: 1px solid var(--line); border-radius: 16px; box-shadow: var(--shadow);
}
.menu nav a { color: var(--text); text-decoration: none; padding: 12px 14px; border-radius: 10px; font-weight: 600; }
.menu nav a:hover { background: var(--bg-soft); }
/* Sélecteur de langue : une liste déroulante sans JavaScript (details), un lien par langue, nommée dans sa propre langue. */
.langmenu { position: relative; }
.langmenu summary {
  list-style: none; cursor: pointer; display: inline-flex; align-items: center; gap: 8px; padding: 8px 12px; border-radius: 10px;
  border: 1px solid var(--line); color: var(--text); font-weight: 600; font-size: .92rem; white-space: nowrap;
}
.langmenu summary::-webkit-details-marker { display: none; }
.langmenu summary svg { width: 16px; height: 16px; }
.langmenu[open] summary, .langmenu summary:hover { background: var(--bg-soft); }
.langlist {
  position: absolute; right: 0; top: calc(100% + 8px); z-index: 60; width: max-content; max-width: min(92vw, 520px);
  display: grid; grid-template-columns: repeat(2, minmax(150px, 1fr)); gap: 2px; padding: 8px;
  background: var(--card); border: 1px solid var(--line); border-radius: 16px; box-shadow: var(--shadow);
}
.langlist a { color: var(--text); text-decoration: none; padding: 9px 12px; border-radius: 10px; font-weight: 600; font-size: .93rem; }
.langlist a:hover { background: var(--bg-soft); }
.site-header .wrap > .nav { margin-left: auto; }
.site-header .wrap > .menu { margin-left: 0; }
@media (max-width: 760px) { .site-header .wrap > .langmenu { margin-left: auto; } .langlist { grid-template-columns: 1fr; right: -4px; max-height: 70vh; overflow-y: auto; } }
/* Écritures sans espaces ou à fort relief : pas de resserrement des titres, coupures de ligne adaptées. */
:lang(ja) h1, :lang(ja) h2, :lang(ja) h3, :lang(ko) h1, :lang(ko) h2, :lang(ko) h3,
:lang(zh) h1, :lang(zh) h2, :lang(zh) h3, :lang(hi) h1, :lang(hi) h2, :lang(hi) h3 { letter-spacing: 0; line-height: 1.3; }
:lang(ja), :lang(zh) { line-break: strict; }
h1, h2, h3 { text-wrap: balance; }
:lang(ja) h1, :lang(ja) h2, :lang(ja) h3, :lang(zh) h1, :lang(zh) h2, :lang(zh) h3 { word-break: auto-phrase; }
:lang(ko) { word-break: keep-all; }
body { overflow-wrap: break-word; }
:lang(de) p, :lang(de) li { hyphens: auto; }
:lang(de) h1, :lang(de) h2, :lang(de) h3 { hyphens: manual; }
@media (max-width: 760px) {
  .nav { display: none; }
  .menu { display: block; }
}

/* Boutons ------------------------------------------------------------------------------------------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px; min-height: 52px; padding: 0 24px;
  border-radius: 16px; font-weight: 700; font-size: 1.02rem; text-decoration: none; border: 1px solid transparent;
  transition: transform .15s ease, box-shadow .15s ease, background-color .15s ease;
}
.btn:hover { transform: translateY(-1px); }
.btn-primary { background: var(--gradient-strong); color: #fff; box-shadow: 0 10px 24px -10px rgba(47, 100, 231, .7); }
.btn-secondary { background: var(--card); color: var(--text); border-color: var(--line); }
.btn-secondary:hover { border-color: var(--accent); }
.btn svg { flex: none; }
.cta-row { display: flex; flex-wrap: wrap; gap: 12px; align-items: center; }
.cta-note { color: var(--muted); font-size: .92rem; margin-top: 14px; }

/* Badge de disponibilité (remplacé par le badge officiel d'Apple à la sortie, voir README) */
.store {
  display: inline-flex; align-items: center; gap: 12px; min-height: 56px; padding: 8px 20px 8px 16px; border-radius: 16px;
  background: #0b0b0f; color: #fff; text-decoration: none; border: 1px solid #2c2c36;
}
.store:hover { transform: translateY(-1px); }
.store svg { width: 26px; height: 26px; fill: currentColor; }
.store span { display: grid; line-height: 1.15; text-align: left; }
.store small { font-size: .72rem; opacity: .85; font-weight: 500; }
.store strong { font-size: 1.12rem; font-weight: 700; letter-spacing: -0.01em; }

/* Accueil ------------------------------------------------------------------------------------------- */
.hero { position: relative; overflow: hidden; padding: clamp(40px, 7vw, 96px) 0 clamp(56px, 8vw, 110px); }
.hero::before {
  content: ""; position: absolute; inset: -30% -10% auto 40%; height: 120%; z-index: -1;
  background: radial-gradient(closest-side, rgba(34, 184, 207, .22), transparent 70%),
              radial-gradient(closest-side at 30% 60%, rgba(47, 100, 231, .2), transparent 70%);
}
.hero .wrap { display: grid; grid-template-columns: 1.05fr .95fr; gap: clamp(32px, 5vw, 72px); align-items: center; }
.hero h1 { margin-bottom: 22px; }
.hero .lead { margin-bottom: 30px; }
.hero-points { display: flex; flex-wrap: wrap; gap: 10px 22px; margin: 26px 0 0; padding: 0; list-style: none; color: var(--muted); font-size: .95rem; font-weight: 600; }
.hero-points li { display: inline-flex; align-items: center; gap: 8px; }
.hero-points svg { color: var(--good); flex: none; }
.hero-visual { position: relative; display: flex; justify-content: center; min-height: 520px; }
.hero-visual .phone { width: min(300px, 70vw); transform: rotate(-3deg); }
.hero-visual .phone.second { position: absolute; width: min(250px, 56vw); right: 2%; top: 64px; transform: rotate(5deg); opacity: .96; }
.hero-visual .phone.first { position: relative; left: -12%; z-index: 2; }
@media (max-width: 900px) {
  .hero .wrap { grid-template-columns: 1fr; }
  .hero-visual { min-height: 0; margin-top: 12px; }
  .hero-visual .phone.first { left: -8%; }
}
@media (max-width: 520px) {
  .hero-visual .phone.second { display: none; }
  .hero-visual .phone.first { left: 0; transform: none; }
}

/* Cadre de smartphone autour des captures réelles de l'app */
.phone {
  position: relative; border-radius: 46px; padding: 10px; background: #111118;
  box-shadow: 0 0 0 1px rgba(255, 255, 255, .06) inset, 0 40px 70px -30px rgba(20, 50, 130, .55), 0 18px 30px -18px rgba(0, 0, 0, .45);
}
.phone img { border-radius: 36px; width: 100%; aspect-ratio: 1320 / 2868; object-fit: cover; background: #f2f2f7; }

/* Sections ------------------------------------------------------------------------------------------ */
.section { padding: clamp(64px, 9vw, 120px) 0; }
.section.soft { background: var(--bg-soft); }
.section-head { margin-bottom: clamp(36px, 5vw, 60px); }
.section-head h2 { margin-bottom: 14px; }

.card {
  background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); padding: 26px; box-shadow: var(--shadow);
}
.card h3 { margin-top: 14px; }
.icon {
  width: 46px; height: 46px; border-radius: 14px; display: grid; place-items: center; color: #fff; background: var(--gradient-strong);
}
.icon svg { width: 24px; height: 24px; }

/* Étapes */
.steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: clamp(20px, 3vw, 36px); counter-reset: step; list-style: none; padding: 0; margin: 0; }
.steps li { display: grid; gap: 18px; align-content: start; }
.steps .phone { width: min(250px, 72%); margin: 0 auto 6px; }
.steps h3::before {
  counter-increment: step; content: counter(step); display: inline-grid; place-items: center; width: 32px; height: 32px;
  margin-right: 10px; border-radius: 50%; background: var(--solid); color: #fff; font-size: .95rem; vertical-align: 2px;
}
.steps p { color: var(--muted); margin: 0; }
@media (max-width: 860px) {
  .steps { grid-template-columns: 1fr; max-width: 460px; margin-inline: auto; }
}

/* Grille de fonctionnalités */
.features { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.features .card p { color: var(--muted); margin: 8px 0 0; font-size: .98rem; }
.features .wide { grid-column: span 2; }
@media (max-width: 960px) { .features { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 620px) {
  .features { grid-template-columns: 1fr; gap: 12px; }
  .features .wide { grid-column: auto; }
  /* Cartes compactes : icône à gauche, texte à droite, pour ne pas étirer la page sur smartphone. */
  .features .card, .trust .card { display: grid; grid-template-columns: 46px 1fr; gap: 2px 16px; padding: 18px; }
  .features .card .icon, .trust .card .icon { grid-row: span 2; }
  .features .card h3, .trust .card h3 { margin-top: 2px; }
}

/* Expérience des répondants : maquette en HTML du formulaire web */
.split { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(32px, 5vw, 72px); align-items: center; }
@media (max-width: 900px) { .split { grid-template-columns: 1fr; } }
.checks { list-style: none; padding: 0; margin: 22px 0 28px; display: grid; gap: 14px; }
.checks li { display: grid; grid-template-columns: 26px 1fr; gap: 12px; align-items: start; }
.checks svg { color: var(--accent); margin-top: 3px; }
.checks strong { display: block; }
.checks span { color: var(--muted); }
.browser {
  border-radius: 20px; overflow: hidden; background: var(--card); border: 1px solid var(--line); box-shadow: var(--shadow);
}
.browser-bar { display: flex; align-items: center; gap: 8px; padding: 12px 16px; border-bottom: 1px solid var(--line); background: var(--bg-soft); }
.browser-bar i { width: 11px; height: 11px; border-radius: 50%; background: var(--line); }
.browser-bar span {
  margin-left: 10px; flex: 1; font-size: .82rem; color: var(--muted); background: var(--card); border: 1px solid var(--line);
  border-radius: 8px; padding: 4px 10px; overflow: hidden; white-space: nowrap; text-overflow: ellipsis;
}
.mock { padding: clamp(24px, 4vw, 44px); }
.mock .progress { height: 4px; border-radius: 4px; background: var(--line); margin-bottom: 28px; overflow: hidden; }
.mock .progress b { display: block; width: 50%; height: 100%; background: var(--accent); border-radius: 4px; }
.mock .count { color: var(--accent-ink); font-weight: 700; font-size: .9rem; }
.mock .q { font-size: clamp(1.3rem, 2.6vw, 1.6rem); font-weight: 800; letter-spacing: -0.02em; margin: 8px 0 22px; line-height: 1.25; }
.mock .choices { display: grid; gap: 10px; margin-bottom: 22px; }
.mock .choice {
  display: flex; align-items: center; gap: 12px; padding: 14px 16px; border-radius: 14px; border: 1.5px solid var(--line); font-weight: 600;
}
.mock .choice.on { border-color: var(--accent); background: color-mix(in srgb, var(--accent) 9%, transparent); }
.mock .key {
  width: 28px; height: 28px; border-radius: 8px; display: grid; place-items: center; font-size: .82rem; font-weight: 800;
  border: 1.5px solid var(--line); color: var(--muted);
}
.mock .on .key { background: var(--solid); border-color: var(--solid); color: #fff; }
.mock .actions { display: flex; gap: 10px; }
.mock .back, .mock .next { height: 50px; border-radius: 14px; display: grid; place-items: center; font-weight: 700; }
.mock .back { width: 50px; background: var(--bg-soft); color: var(--text); }
.mock .next { flex: 1; background: var(--solid); color: #fff; }

/* Thèmes */
.themes-band { display: grid; grid-template-columns: .9fr 1.1fr; gap: clamp(32px, 5vw, 72px); align-items: center; }
.themes-band .phone { width: min(280px, 70vw); margin-inline: auto; }
.results-shot .phone { width: min(280px, 70vw); margin-inline: auto; }
@media (max-width: 900px) { .themes-band { grid-template-columns: 1fr; } .themes-band .phone { order: 2; } }
.swatches { display: flex; flex-wrap: wrap; gap: 10px; margin: 22px 0; }
.swatches span { width: 44px; height: 44px; border-radius: 13px; border: 1px solid var(--line); display: grid; place-items: center; }
.swatches span i { width: 18px; height: 18px; border-radius: 50%; }
.sw-indigo { background: #fff; } .sw-indigo i { background: #2f64e7; }
.sw-ocean { background: #f4f8ff; } .sw-ocean i { background: #0a84ff; }
.sw-forest { background: #f5fbf7; } .sw-forest i { background: #1f9d55; }
.sw-noir { background: #111114; } .sw-noir i { background: #fff; }
.sw-sunset { background: #fff6ef; } .sw-sunset i { background: #ff5a36; }
.sw-blossom { background: #fff3f7; } .sw-blossom i { background: #e0457b; }
.sw-editorial { background: #f7f3ec; } .sw-editorial i { background: #1c1c1e; }
.sw-midnight { background: #0e0b1f; } .sw-midnight i { background: #8e7cff; }
.sw-lime { background: #f3ffe3; } .sw-lime i { background: #2e7d00; }
.sw-sand { background: #fffbf2; } .sw-sand i { background: #b7791f; }

/* Résultats : petits graphiques en CSS */
.results-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px; margin-bottom: 18px; }
.metric { background: var(--card); border: 1px solid var(--line); border-radius: 18px; padding: 18px; }
.metric strong { display: block; font-size: 1.7rem; font-weight: 800; letter-spacing: -0.02em; white-space: nowrap; }
.split .results-grid { grid-template-columns: repeat(2, 1fr); }
.metric span { color: var(--muted); font-size: .9rem; }
@media (max-width: 760px) { .results-grid { grid-template-columns: repeat(2, 1fr); } }
.bars { display: grid; gap: 12px; }
.bar { display: grid; grid-template-columns: 9em 1fr 3em; gap: 12px; align-items: center; font-size: .95rem; }
.bar .track { display: block; height: 12px; border-radius: 6px; background: var(--bg-soft); border: 1px solid var(--line); overflow: hidden; }
.bar .fill { display: block; height: 100%; background: var(--gradient); border-radius: 6px; }
.bar .n { text-align: right; color: var(--muted); font-variant-numeric: tabular-nums; }
.w-62 { width: 62%; } .w-24 { width: 24%; } .w-14 { width: 14%; }
@media (max-width: 520px) { .bar { grid-template-columns: 7em 1fr 2.6em; } }

/* Confidentialité */
.trust { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }
.trust .card { padding: 22px; }
.trust p { color: var(--muted); margin: 6px 0 0; font-size: .96rem; }
@media (max-width: 960px) { .trust { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 560px) { .trust { grid-template-columns: 1fr; } }

/* Offres */
.plans { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; align-items: stretch; }
@media (max-width: 1060px) { .plans { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 600px) { .plans { grid-template-columns: 1fr; } }
.plan { display: flex; flex-direction: column; gap: 6px; position: relative; }
.plan.featured { border: 2px solid var(--accent); }
.plan .badge {
  position: absolute; top: -13px; left: 24px; padding: 3px 12px; border-radius: 999px; background: var(--solid); color: #fff;
  font-size: .78rem; font-weight: 700;
}
.plan h3 { margin: 0; font-size: 1.3rem; }
.price { font-size: 2rem; font-weight: 800; letter-spacing: -0.02em; margin: 6px 0 0; }
.price small { font-size: .95rem; font-weight: 600; color: var(--muted); letter-spacing: 0; }
.price-alt { color: var(--muted); font-size: .9rem; margin: 0 0 10px; }
.plan ul { list-style: none; padding: 0; margin: 8px 0 0; display: grid; gap: 9px; font-size: .96rem; }
.plan li { display: grid; grid-template-columns: 20px 1fr; gap: 8px; }
.plan li svg { color: var(--accent); margin-top: 4px; }
.fineprint { color: var(--muted); font-size: .9rem; margin-top: 22px; max-width: 60em; }

/* Questions fréquentes */
.faq { display: grid; gap: 12px; max-width: 820px; }
.faq details { background: var(--card); border: 1px solid var(--line); border-radius: 18px; padding: 0 22px; }
.faq summary {
  cursor: pointer; list-style: none; padding: 20px 34px 20px 0; font-weight: 700; position: relative;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after {
  content: ""; position: absolute; right: 4px; top: 50%; width: 10px; height: 10px; margin-top: -7px;
  border-right: 2px solid var(--muted); border-bottom: 2px solid var(--muted); transform: rotate(45deg); transition: transform .2s;
}
.faq details[open] summary::after { transform: rotate(-135deg); margin-top: -2px; }
.faq details p { color: var(--muted); margin: 0 0 20px; }

/* Bandeau final */
.final {
  border-radius: 32px; padding: clamp(40px, 6vw, 72px); background: var(--gradient-strong); color: #fff; text-align: center;
  box-shadow: 0 30px 60px -30px rgba(47, 100, 231, .8);
}
.final h2 { margin-bottom: 14px; }
.final p { color: rgba(255, 255, 255, .9); max-width: 34em; margin: 0 auto 28px; font-size: 1.12rem; }
.final .cta-row { justify-content: center; }
.final .btn-secondary { background: rgba(255, 255, 255, .14); color: #fff; border-color: rgba(255, 255, 255, .4); }
.final .btn-secondary:hover { background: rgba(255, 255, 255, .22); border-color: #fff; }

/* Comparatif des offres */
.compare { width: 100%; border-collapse: collapse; font-size: .96rem; background: var(--card); border-radius: 18px; overflow: hidden; }
.table-scroll { overflow-x: auto; border: 1px solid var(--line); border-radius: 18px; -webkit-overflow-scrolling: touch; }
.compare th, .compare td { padding: 13px 14px; border-bottom: 1px solid var(--line); text-align: center; white-space: nowrap; }
.compare th:first-child, .compare td:first-child { text-align: left; white-space: normal; min-width: 12em; }
.compare thead th { background: var(--bg-soft); font-weight: 700; }
.compare tr:last-child td { border-bottom: 0; }
.yes { color: var(--accent-ink); font-weight: 800; }
.no { color: var(--muted); }

/* Pages d'information (aide, légal) */
.prose { max-width: 760px; padding: clamp(40px, 6vw, 72px) 0 clamp(56px, 8vw, 96px); }
.prose h1 { font-size: clamp(2rem, 4.6vw, 3rem); margin-bottom: 10px; }
.prose h2 { font-size: 1.4rem; margin: 2.2em 0 .6em; scroll-margin-top: 80px; }
.prose h3 { font-size: 1.08rem; margin: 1.6em 0 .4em; }
.prose .meta { color: var(--muted); font-size: .94rem; margin-bottom: 28px; }
.prose ul { padding-left: 1.25em; }
.prose li { margin: 6px 0; }
.prose table { width: 100%; border-collapse: collapse; margin: 16px 0; font-size: .96rem; }
.prose th, .prose td { text-align: left; vertical-align: top; padding: 10px 12px; border-bottom: 1px solid var(--line); }
.prose th { color: var(--muted); font-weight: 700; }
.prose .table-scroll table { margin: 0; }
.note {
  background: var(--bg-soft); border: 1px solid var(--line); border-radius: 18px; padding: 18px 20px; margin: 22px 0;
}
.note p:last-child { margin-bottom: 0; }
.todo {
  background: var(--warn-bg); color: var(--warn-text); border-radius: 6px; padding: 1px 6px; font-weight: 700;
}
.contact-card { display: grid; grid-template-columns: auto 1fr; gap: 16px; align-items: center; }
@media (max-width: 520px) { .contact-card { grid-template-columns: 1fr; } }

/* Pied de page -------------------------------------------------------------------------------------- */
.site-footer { border-top: 1px solid var(--line); padding: 48px 0 calc(32px + env(safe-area-inset-bottom)); background: var(--bg); }
.site-footer .wrap { display: grid; grid-template-columns: 1.4fr repeat(3, 1fr); gap: 28px; }
.site-footer p { color: var(--muted); font-size: .94rem; margin: 12px 0 0; max-width: 24em; }
.site-footer h2 { font-size: .82rem; text-transform: uppercase; letter-spacing: .08em; color: var(--muted); margin-bottom: 12px; }
.site-footer ul { list-style: none; padding: 0; margin: 0; display: grid; gap: 8px; }
.site-footer a { color: var(--text); text-decoration: none; font-size: .96rem; }
.site-footer a:hover { color: var(--accent-ink); text-decoration: underline; }
.site-footer .legal { max-width: none; grid-column: 1 / -1; border-top: 1px solid var(--line); padding-top: 20px; color: var(--muted); font-size: .88rem; }
@media (max-width: 760px) { .site-footer .wrap { grid-template-columns: 1fr 1fr; } .site-footer .about { grid-column: 1 / -1; } }

/* 404 */
.not-found { min-height: 60vh; display: grid; place-items: center; text-align: center; padding: 72px 0; }
.not-found .code { font-size: clamp(4rem, 14vw, 8rem); font-weight: 800; line-height: 1; margin-bottom: 12px; }
.not-found h1 { font-size: clamp(1.6rem, 4vw, 2.4rem); margin-bottom: 14px; }
.not-found .lead { margin: 0 auto 26px; }
.not-found .cta-row { justify-content: center; }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition: none !important; animation: none !important; }
  .btn:hover, .store:hover { transform: none; }
}
/* Contraste élevé (Windows) : le texte en dégradé, transparent, deviendrait invisible. */
@media (forced-colors: active) {
  .gradient-text { background: none; color: CanvasText; }
}
@media print {
  .site-header, .site-footer, .final, .skip { display: none; }
  body { background: #fff; color: #000; }
}

/* Comparatif des offres replié sous les cartes d'offres de l'accueil */
.compare-more { margin: 28px auto 0; max-width: 920px; }
.compare-more summary { cursor: pointer; font-weight: 700; text-align: center; color: var(--accent); padding: 10px; }
.compare-more[open] summary { margin-bottom: 14px; }

/* Annonce « Bientôt sur l'App Store » : pas de lien tant que la fiche n'existe pas */
.store-soon { cursor: default; }
.store-soon:hover { transform: none; }
