/* Site vitrine Tickami — feuille de style commune (générée dans /assets/site.css par scripts/build_site.py). */

@font-face { font-family: "DM Sans"; font-style: normal; font-weight: 400; font-display: swap; src: url("fonts/dm-sans-latin-400-normal.woff2") format("woff2"); }
@font-face { font-family: "DM Sans"; font-style: normal; font-weight: 500; font-display: swap; src: url("fonts/dm-sans-latin-500-normal.woff2") format("woff2"); }
@font-face { font-family: "DM Sans"; font-style: normal; font-weight: 600; font-display: swap; src: url("fonts/dm-sans-latin-600-normal.woff2") format("woff2"); }
@font-face { font-family: "DM Sans"; font-style: normal; font-weight: 700; font-display: swap; src: url("fonts/dm-sans-latin-700-normal.woff2") format("woff2"); }
@font-face { font-family: "Fraunces"; font-style: normal; font-weight: 500; font-display: swap; src: url("fonts/fraunces-latin-500-normal.woff2") format("woff2"); }
@font-face { font-family: "Fraunces"; font-style: normal; font-weight: 600; font-display: swap; src: url("fonts/fraunces-latin-600-normal.woff2") format("woff2"); }

/* Palette claire (maquette) */
:root {
  color-scheme: light;
  --paper: #F4F1EA;
  --surface: #FFFFFF;
  --sand: #EDE7DC;
  --border: #E3DED3;
  --border-strong: #D8D2C4;
  --text: #17191E;
  --muted: #5B5F68;
  --accent: #B4461F;
  --accent-hover: #9A3A18;
  --accent-text: #9A3A18;
  --accent-soft: #F7E1D6;
  --accent-bg: #B4461F;
  --on-accent: #FFFFFF;
  --btn-bg: #17191E;
  --btn-text: #FFFFFF;
  --btn-sub: #B9B5AC;
  --ink: #17191E;
  --ink-text: #F4F1EA;
  --ink-muted: #B9B5AC;
  --ink-border: #33363F;
  --ink-accent: #F2A07E;
  --success: #2F6E55;
  --success-soft: #DCEDE4;
  --shadow: 0 16px 40px rgba(23, 25, 30, 0.12);
  --shadow-strong: 0 40px 80px rgba(23, 25, 30, 0.22);
  --header-bg: rgba(244, 241, 234, 0.86);
  --serif: "Fraunces", Georgia, "Times New Roman", serif;
  --sans: "DM Sans", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  --radius: 20px;
  --gutter: clamp(16px, 5vw, 64px);
}

/* Palette sombre : réglage du système, sauf choix explicite « clair » */
@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) {
    color-scheme: dark;
    --paper: #121316;
    --surface: #1B1D22;
    --sand: #17191D;
    --border: #2C2F36;
    --border-strong: #3A3E46;
    --text: #F4F1EA;
    --muted: #B3AEA4;
    --accent: #F2A07E;
    --accent-hover: #F7B89C;
    --accent-text: #F2A07E;
    --accent-soft: #3A261D;
    --accent-bg: #C4532A;
    --on-accent: #FFFFFF;
    --btn-bg: #F4F1EA;
    --btn-text: #17191E;
    --btn-sub: #5B5F68;
    --ink: #0B0C0E;
    --ink-text: #F4F1EA;
    --ink-muted: #B3AEA4;
    --ink-border: #2C2F36;
    --ink-accent: #F2A07E;
    --success: #6FBF98;
    --success-soft: #1D3529;
    --shadow: 0 16px 40px rgba(0, 0, 0, 0.45);
    --shadow-strong: 0 40px 80px rgba(0, 0, 0, 0.55);
    --header-bg: rgba(18, 19, 22, 0.86);
  }
}
:root[data-theme="dark"] {
  color-scheme: dark;
  --paper: #121316;
  --surface: #1B1D22;
  --sand: #17191D;
  --border: #2C2F36;
  --border-strong: #3A3E46;
  --text: #F4F1EA;
  --muted: #B3AEA4;
  --accent: #F2A07E;
  --accent-hover: #F7B89C;
  --accent-text: #F2A07E;
  --accent-soft: #3A261D;
  --accent-bg: #C4532A;
  --on-accent: #FFFFFF;
  --btn-bg: #F4F1EA;
  --btn-text: #17191E;
  --btn-sub: #5B5F68;
  --ink: #0B0C0E;
  --ink-text: #F4F1EA;
  --ink-muted: #B3AEA4;
  --ink-border: #2C2F36;
  --ink-accent: #F2A07E;
  --success: #6FBF98;
  --success-soft: #1D3529;
  --shadow: 0 16px 40px rgba(0, 0, 0, 0.45);
  --shadow-strong: 0 40px 80px rgba(0, 0, 0, 0.55);
  --header-bg: rgba(18, 19, 22, 0.86);
}

/* Base */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: 88px; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }
body {
  margin: 0; background: var(--paper); color: var(--text);
  font-family: var(--sans); font-size: 16px; line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}
img, svg { max-width: 100%; }
a { color: var(--accent); text-decoration: none; }
a:hover { color: var(--accent-hover); }
a:focus-visible, button:focus-visible, summary:focus-visible { outline: 2px solid var(--accent); outline-offset: 3px; border-radius: 6px; }
h1, h2, h3 { font-family: var(--serif); font-weight: 600; margin: 0; letter-spacing: -0.01em; }
p { margin: 0; }
.lucide { flex-shrink: 0; }
.skip { position: absolute; left: -9999px; top: 8px; z-index: 100; background: var(--btn-bg); color: var(--btn-text); padding: 8px 14px; border-radius: 10px; }
.skip:focus { left: 16px; }
.wrap { width: 100%; max-width: 1248px; margin-inline: auto; padding-inline: var(--gutter); }
.visually-hidden { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

/* En-tête */
.site-header {
  position: sticky; top: env(safe-area-inset-top, 0px); z-index: 50;
  background: var(--header-bg); backdrop-filter: saturate(160%) blur(14px); -webkit-backdrop-filter: saturate(160%) blur(14px);
  border-bottom: 1px solid var(--border);
}
.site-header .wrap { height: 72px; display: flex; align-items: center; justify-content: space-between; gap: 16px; }
.brand { display: flex; align-items: center; gap: 10px; color: var(--text); font-family: var(--serif); font-size: 24px; font-weight: 600; }
.brand:hover { color: var(--text); }
.brand img { width: 34px; height: 34px; border-radius: 9px; }
.nav { display: flex; align-items: center; gap: 28px; font-size: 15px; font-weight: 500; }
.nav a { color: var(--text); }
.nav a:hover, .nav a[aria-current="page"] { color: var(--accent); }
.header-tools { display: flex; align-items: center; gap: 8px; }
.icon-btn {
  width: 40px; height: 40px; border-radius: 12px; border: 1px solid var(--border); background: var(--surface);
  color: var(--text); display: inline-flex; align-items: center; justify-content: center; cursor: pointer; padding: 0;
}
.icon-btn:hover { border-color: var(--border-strong); color: var(--accent); }
.lang-link { height: 40px; padding: 0 12px; border-radius: 12px; border: 1px solid var(--border); background: var(--surface); color: var(--text); display: inline-flex; align-items: center; gap: 6px; font-size: 14px; font-weight: 600; }
.lang-link:hover { color: var(--accent); border-color: var(--border-strong); }
.theme-toggle .icon-sun { display: none; }
:root[data-theme="dark"] .theme-toggle .icon-sun { display: block; }
:root[data-theme="dark"] .theme-toggle .icon-moon { display: none; }
@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) .theme-toggle .icon-sun { display: block; }
  :root:not([data-theme="light"]) .theme-toggle .icon-moon { display: none; }
}
.menu-toggle { display: none; }
.menu-toggle .icon-x { display: none; }
.site-header.menu-open .menu-toggle .icon-x { display: block; }
.site-header.menu-open .menu-toggle .icon-menu { display: none; }
.header-cta { height: 40px; padding: 0 16px; font-size: 14px; }
@media (max-width: 900px) {
  .nav { display: none; }
  .menu-toggle { display: inline-flex; }
  .btn.header-cta { display: none; }
  .site-header.menu-open .nav {
    display: flex; flex-direction: column; align-items: stretch; gap: 0;
    position: absolute; left: 0; right: 0; top: 72px; background: var(--paper);
    border-bottom: 1px solid var(--border); padding: 8px var(--gutter) 16px; box-shadow: var(--shadow);
  }
  .site-header.menu-open .nav a { padding: 12px 0; border-bottom: 1px solid var(--border); font-size: 17px; }
  .site-header.menu-open .nav a:last-child { border-bottom: 0; }
}

/* Boutons */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  height: 52px; padding: 0 22px; border-radius: 14px; font-size: 16px; font-weight: 600;
  border: 1.5px solid transparent; cursor: pointer; text-align: center; line-height: 1.2;
}
.btn-dark { background: var(--btn-bg); color: var(--btn-text); }
.btn-dark:hover { color: var(--btn-text); opacity: 0.9; }
.btn-accent { background: var(--accent-bg); color: var(--on-accent); }
.btn-accent:hover { color: var(--on-accent); filter: brightness(0.92); }
.btn-outline { border-color: var(--text); color: var(--text); background: transparent; }
.btn-outline:hover { color: var(--accent); border-color: var(--accent); }
.btn-block { width: 100%; }
.store-btn {
  display: inline-flex; align-items: center; gap: 12px; height: 58px; padding: 0 22px 0 18px;
  border-radius: 14px; background: var(--btn-bg); color: var(--btn-text);
}
.store-btn:hover { color: var(--btn-text); opacity: 0.9; }
.store-btn span { display: flex; flex-direction: column; line-height: 1.15; }
.store-btn small { font-size: 12px; color: var(--btn-sub); }
.store-btn strong { font-size: 18px; font-weight: 600; }
.store-btn.is-soon { cursor: default; }
.store-btn.is-soon:hover { opacity: 1; }
.link-arrow { display: inline-flex; align-items: center; gap: 6px; font-weight: 600; font-size: 16px; }
.link-arrow .lucide { transition: transform 0.2s; }
.link-arrow:hover .lucide { transform: translateX(3px); }

/* Titres de section */
.section { padding-block: clamp(64px, 9vw, 104px); }
.section-white { background: var(--surface); border-block: 1px solid var(--border); }
.section-sand { background: var(--sand); }
.section-ink { background: var(--ink); color: var(--ink-text); }
.eyebrow { display: block; font-size: 14px; font-weight: 700; letter-spacing: 0.1em; text-transform: uppercase; color: var(--accent); margin-bottom: 12px; }
.section-ink .eyebrow { color: var(--ink-accent); }
.h-display { font-size: clamp(42px, 6.4vw, 76px); line-height: 1.02; letter-spacing: -0.02em; }
.h-section { font-size: clamp(34px, 4.4vw, 52px); line-height: 1.08; }
.lead { font-size: clamp(17px, 1.6vw, 20px); line-height: 1.55; color: var(--muted); }
.section-ink .lead { color: var(--ink-muted); }
.section-head { max-width: 760px; margin-bottom: clamp(32px, 5vw, 48px); display: flex; flex-direction: column; gap: 16px; }
.section-head.center { margin-inline: auto; text-align: center; align-items: center; }
.split-head { display: flex; align-items: flex-end; justify-content: space-between; gap: 32px; flex-wrap: wrap; margin-bottom: clamp(32px, 5vw, 48px); }
.split-head .lead { max-width: 420px; }

/* Hero */
.hero { padding-block: clamp(40px, 7vw, 88px) clamp(56px, 8vw, 96px); }
.hero .wrap { display: grid; grid-template-columns: minmax(0, 1fr) auto; align-items: center; gap: clamp(32px, 5vw, 64px); }
.hero-copy { display: flex; flex-direction: column; gap: 28px; }
.pill { align-self: flex-start; font-size: 14px; font-weight: 600; color: var(--accent-text); background: var(--accent-soft); border-radius: 999px; padding: 6px 14px; }
.hero .lead { max-width: 560px; }
.hero-actions { display: flex; align-items: center; gap: 20px; flex-wrap: wrap; }
.reassure { display: flex; flex-wrap: wrap; gap: 6px 16px; font-size: 14px; color: var(--muted); }
.reassure span { display: inline-flex; align-items: center; gap: 6px; }
.reassure .lucide { color: var(--success); }
.hero-visual { position: relative; width: 520px; display: flex; justify-content: center; padding-block: 12px; }
.float-card {
  position: absolute; z-index: 2; background: var(--surface); border: 1px solid var(--border); border-radius: 16px;
  padding: 16px; box-shadow: var(--shadow); display: flex; flex-direction: column; gap: 4px;
}
.float-card small { font-size: 13px; color: var(--muted); }
.float-card strong { font-family: var(--serif); font-size: 28px; font-weight: 600; line-height: 1.2; }
.float-card em { font-style: normal; font-size: 12px; font-weight: 600; color: var(--success); }
.float-vat { left: 0; top: 58%; width: 210px; }
.float-done { right: 0; top: 16%; width: 200px; flex-direction: row; align-items: center; gap: 10px; background: var(--btn-bg); color: var(--btn-text); border-color: transparent; padding: 14px 16px; font-size: 13px; line-height: 1.35; }
.float-done .dot { width: 32px; height: 32px; border-radius: 999px; background: #B4461F; color: #FFFFFF; display: flex; align-items: center; justify-content: center; flex-shrink: 0; }
@media (max-width: 1080px) {
  .hero .wrap { grid-template-columns: 1fr; }
  .hero-visual { width: 100%; max-width: 520px; margin-inline: auto; }
}
@media (max-width: 560px) {
  .float-card { display: none; }
}

/* Téléphone (captures d'écran simulées de l'app, toujours en clair comme l'app) */
.phone {
  --w: 300px; --s: 0.7692;
  width: calc(var(--w) + 18px); flex-shrink: 0; background: #17191E; border-radius: 50px; padding: 9px;
  box-shadow: var(--shadow-strong);
}
.phone-screen { width: var(--w); height: calc(var(--w) * 2.1641); border-radius: 42px; overflow: hidden; background: #F4F1EA; }
.phone-screen.dark { background: #17191E; }
.phone-canvas { width: 390px; height: 844px; transform: scale(var(--s)); transform-origin: 0 0; font-family: var(--sans); color: #17191E; }
.phone-canvas .serif { font-family: var(--serif); font-weight: 600; }
@media (max-width: 420px) { .phone { --w: 260px; --s: 0.6667; border-radius: 44px; } .phone-screen { border-radius: 36px; } }
@media (prefers-color-scheme: dark) { :root:not([data-theme="light"]) .phone { box-shadow: 0 0 0 1px #2C2F36, var(--shadow-strong); } }
:root[data-theme="dark"] .phone { box-shadow: 0 0 0 1px #2C2F36, var(--shadow-strong); }

/* Grilles et cartes */
.grid { display: grid; gap: clamp(16px, 2.4vw, 28px); }
.grid-3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.grid-4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }
.grid-2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
@media (max-width: 1000px) { .grid-4 { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 860px) { .grid-3, .grid-2 { grid-template-columns: 1fr; } }
@media (max-width: 560px) { .grid-4 { grid-template-columns: 1fr; } }
.card { background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius); padding: clamp(24px, 3vw, 32px); display: flex; flex-direction: column; gap: 14px; }
.card.on-paper { background: var(--paper); border-color: transparent; }
.card h3 { font-size: clamp(22px, 2.2vw, 26px); line-height: 1.2; }
.card p { color: var(--muted); }
.icon-tile { width: 52px; height: 52px; border-radius: 14px; background: var(--btn-bg); color: var(--btn-text); display: flex; align-items: center; justify-content: center; }
.icon-tile.sm { width: 44px; height: 44px; border-radius: 12px; }
.icon-tile.soft { background: var(--accent-soft); color: var(--accent-text); }
.step { font-size: 15px; font-weight: 700; color: var(--accent); }

/* Blocs texte + visuel */
.feature { display: grid; grid-template-columns: auto minmax(0, 1fr); align-items: center; gap: clamp(40px, 7vw, 96px); }
.feature.reverse { grid-template-columns: minmax(0, 1fr) auto; }
.feature-visual { width: 520px; display: flex; justify-content: center; }
.feature-copy { display: flex; flex-direction: column; gap: 24px; }
@media (max-width: 1080px) {
  .feature, .feature.reverse { grid-template-columns: 1fr; }
  .feature-visual { width: 100%; order: 2; }
}
.check-list { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 14px; font-size: 17px; }
.check-list li { display: flex; gap: 12px; align-items: flex-start; }
.check { flex-shrink: 0; width: 26px; height: 26px; border-radius: 999px; background: var(--accent-soft); color: var(--accent-text); display: flex; align-items: center; justify-content: center; margin-top: 1px; }
.note-card { background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius); padding: clamp(20px, 3vw, 28px); display: flex; gap: 20px; align-items: flex-start; }
.note-card h3 { font-size: 24px; margin-bottom: 8px; }
.note-card p { color: var(--muted); }
@media (max-width: 560px) { .note-card { flex-direction: column; } }

/* Section sombre « Pilotage » */
.ink-card { border: 1px solid var(--ink-border); border-radius: 18px; padding: 26px; display: flex; flex-direction: column; gap: 12px; }
.ink-card h3 { font-size: 24px; }
.ink-card p { font-size: 15px; color: var(--ink-muted); }
.bar { height: 6px; width: 64px; border-radius: 3px; }

/* Confiance */
.trust-item { display: flex; flex-direction: column; gap: 12px; }
.trust-item .lucide { color: var(--accent); }
.trust-item h3 { font-family: var(--sans); font-size: 20px; font-weight: 700; letter-spacing: 0; }
.trust-item p { color: var(--muted); }

/* Tarifs */
.billing-switch { display: inline-flex; background: var(--sand); border: 1px solid var(--border); border-radius: 999px; padding: 4px; gap: 4px; }
.billing-switch button { border: 0; background: transparent; color: var(--muted); font: 600 15px/1 var(--sans); padding: 10px 18px; border-radius: 999px; cursor: pointer; display: inline-flex; align-items: center; gap: 8px; }
.billing-switch button[aria-pressed="true"] { background: var(--surface); color: var(--text); box-shadow: 0 1px 3px rgba(0, 0, 0, 0.12); }
.billing-switch .save { font-size: 12px; font-weight: 700; color: var(--success); background: var(--success-soft); border-radius: 999px; padding: 3px 8px; }
.plans { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 28px; max-width: 900px; margin-inline: auto; align-items: stretch; }
@media (max-width: 760px) { .plans { grid-template-columns: 1fr; } }
.plan { position: relative; border: 1px solid var(--border); border-radius: 22px; padding: clamp(28px, 4vw, 40px); display: flex; flex-direction: column; gap: 18px; background: var(--paper); }
.section:not(.section-white) .plan { background: var(--surface); }
.plan.featured { border: 2px solid var(--accent-bg); background: var(--surface); box-shadow: 0 24px 48px rgba(180, 70, 31, 0.12); }
.plan .ribbon { position: absolute; top: -15px; left: clamp(28px, 4vw, 40px); font-size: 13px; font-weight: 700; color: var(--on-accent); background: var(--accent-bg); border-radius: 999px; padding: 5px 12px; }
.plan-name { font-size: 20px; font-weight: 700; }
.price { display: flex; align-items: baseline; gap: 6px; flex-wrap: wrap; }
.price strong { font-family: var(--serif); font-size: clamp(46px, 5vw, 56px); font-weight: 600; line-height: 1.05; }
.price span { font-size: 16px; color: var(--muted); }
.plan .sub { font-size: 15px; color: var(--muted); min-height: 1.6em; }
.plan ul { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 12px; flex-grow: 1; }
.plan li { display: flex; gap: 10px; align-items: flex-start; }
.plan li .lucide { color: var(--success); margin-top: 3px; }
.price-yearly { display: none; }
[data-billing="yearly"] .price-yearly { display: flex; }
[data-billing="yearly"] .price-monthly { display: none; }
.plans-note { text-align: center; color: var(--muted); font-size: 15px; margin-top: 24px; }
.table-scroll { overflow-x: auto; border: 1px solid var(--border); border-radius: var(--radius); background: var(--surface); }
.compare { width: 100%; min-width: 560px; border-collapse: collapse; font-size: 16px; }
.compare th, .compare td { padding: 16px 20px; text-align: left; border-bottom: 1px solid var(--border); }
.compare tr:last-child td, .compare tr:last-child th { border-bottom: 0; }
.compare thead th { font-size: 15px; color: var(--muted); font-weight: 600; background: var(--sand); }
.compare td { text-align: center; width: 24%; }
.compare thead th:not(:first-child) { text-align: center; }
.compare .lucide { color: var(--success); vertical-align: middle; }
.compare .dash { color: var(--muted); }

/* FAQ */
.faq-layout { display: grid; grid-template-columns: 340px minmax(0, 1fr); gap: clamp(32px, 6vw, 80px); align-items: start; }
.faq-layout > :first-child { position: sticky; top: 104px; display: flex; flex-direction: column; gap: 16px; }
@media (max-width: 900px) { .faq-layout { grid-template-columns: 1fr; } .faq-layout > :first-child { position: static; } }
.faq-group + .faq-group { margin-top: 48px; }
.faq-group h2 { font-size: 28px; margin-bottom: 8px; display: flex; align-items: center; gap: 12px; }
.faq-group h2 .lucide { color: var(--accent); }
details.faq { border-bottom: 1px solid var(--border); }
details.faq summary {
  list-style: none; cursor: pointer; padding: 22px 0; display: flex; justify-content: space-between; align-items: center; gap: 16px;
  font-size: clamp(17px, 1.6vw, 19px); font-weight: 700;
}
details.faq summary::-webkit-details-marker { display: none; }
details.faq summary .lucide { color: var(--muted); transition: transform 0.2s; }
details.faq[open] summary .lucide { transform: rotate(180deg); }
details.faq .answer { padding: 0 0 22px; color: var(--muted); font-size: 16px; line-height: 1.6; max-width: 72ch; }
details.faq .answer p + p { margin-top: 10px; }
.faq-toc { display: flex; flex-wrap: wrap; gap: 8px; }
.faq-toc a { font-size: 14px; font-weight: 600; padding: 6px 12px; border-radius: 999px; border: 1px solid var(--border); background: var(--surface); color: var(--text); }
.faq-toc a:hover { color: var(--accent); border-color: var(--border-strong); }
.contact-card { background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius); padding: 24px; display: flex; flex-direction: column; gap: 12px; }
.contact-card p { color: var(--muted); }

/* Page Fonctionnalités */
.page-hero { padding-block: clamp(48px, 8vw, 96px) clamp(32px, 5vw, 56px); }
.page-hero .wrap { display: flex; flex-direction: column; gap: 20px; max-width: 920px; margin-inline: 0; }
.page-hero .lead { max-width: 680px; }
.chips { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 8px; }
.chips a { display: inline-flex; align-items: center; gap: 8px; font-size: 15px; font-weight: 600; padding: 8px 14px; border-radius: 999px; background: var(--surface); border: 1px solid var(--border); color: var(--text); }
.chips a:hover { color: var(--accent); border-color: var(--border-strong); }
.chips .lucide { color: var(--accent); }
.fgroup { display: grid; grid-template-columns: 320px minmax(0, 1fr); gap: clamp(24px, 5vw, 64px); align-items: start; }
.fgroup + .fgroup { margin-top: clamp(56px, 8vw, 88px); padding-top: clamp(56px, 8vw, 88px); border-top: 1px solid var(--border); }
.fgroup-head { display: flex; flex-direction: column; gap: 14px; position: sticky; top: 104px; }
.fgroup-head h2 { font-size: clamp(30px, 3.4vw, 40px); line-height: 1.1; }
.fgroup-head p { color: var(--muted); font-size: 17px; }
@media (max-width: 900px) { .fgroup { grid-template-columns: 1fr; } .fgroup-head { position: static; } }
.fitems { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; }
@media (max-width: 640px) { .fitems { grid-template-columns: 1fr; } }
.fitem { background: var(--surface); border: 1px solid var(--border); border-radius: 18px; padding: 22px; display: flex; flex-direction: column; gap: 10px; }
.fitem h3 { font-family: var(--sans); font-size: 18px; font-weight: 700; letter-spacing: 0; }
.fitem p { color: var(--muted); font-size: 15px; }

/* Bandeau d'appel */
.cta-band { border-radius: 28px; background: var(--accent-bg); color: #FFFFFF; padding: clamp(36px, 6vw, 64px) clamp(24px, 6vw, 72px); display: flex; align-items: center; justify-content: space-between; gap: 32px 48px; flex-wrap: wrap; }
.cta-band h2 { font-size: clamp(32px, 4.2vw, 50px); line-height: 1.08; max-width: 640px; }
.cta-band p { color: #F7E1D6; font-size: 18px; margin-top: 14px; }
.cta-band .store-btn { background: #17191E; color: #FFFFFF; }
.cta-band .store-btn small { color: #B9B5AC; }
.section-cta { padding-block: clamp(48px, 7vw, 64px) clamp(64px, 8vw, 96px); }

/* Pages légales */
.legal-layout { display: grid; grid-template-columns: 260px minmax(0, 1fr); gap: clamp(32px, 6vw, 80px); align-items: start; }
@media (max-width: 900px) { .legal-layout { grid-template-columns: 1fr; } .legal-toc { display: none; } }
.legal-toc { position: sticky; top: 104px; display: flex; flex-direction: column; gap: 4px; font-size: 14px; border-left: 2px solid var(--border); padding-left: 16px; }
.legal-toc a { color: var(--muted); padding: 4px 0; }
.legal-toc a:hover { color: var(--accent); }
.legal-body { max-width: 72ch; }
.legal-body h2 { font-size: clamp(22px, 2.4vw, 26px); margin: 40px 0 12px; }
.legal-body h2:first-child { margin-top: 0; }
.legal-body p { margin: 0 0 12px; color: var(--text); }
.legal-body ul { margin: 0 0 12px; padding-left: 20px; }
.legal-body li { margin-bottom: 6px; }
.updated { display: inline-flex; align-items: center; gap: 8px; font-size: 14px; color: var(--muted); }
.legal-links { display: flex; flex-wrap: wrap; gap: 8px; }

/* Pied de page */
.site-footer { background: var(--ink); color: var(--ink-text); padding-block: 64px calc(40px + env(safe-area-inset-bottom, 0px)); }
.footer-top { display: flex; justify-content: space-between; gap: 48px; flex-wrap: wrap; }
.footer-brand { display: flex; flex-direction: column; gap: 12px; max-width: 320px; }
.footer-brand .brand { color: var(--ink-text); }
.footer-brand p { color: var(--ink-muted); font-size: 15px; }
.footer-cols { display: flex; gap: clamp(40px, 7vw, 96px); flex-wrap: wrap; font-size: 15px; }
.footer-cols div { display: flex; flex-direction: column; gap: 12px; }
.footer-cols strong { font-weight: 700; }
.footer-cols a { color: var(--ink-muted); }
.footer-cols a:hover { color: var(--ink-accent); }
.footer-bottom { margin-top: 48px; border-top: 1px solid var(--ink-border); padding-top: 20px; display: flex; justify-content: space-between; gap: 12px 32px; flex-wrap: wrap; font-size: 13px; color: #8C8A84; }

/* Page 404 */
.notfound { min-height: 60vh; display: flex; align-items: center; }
.notfound .wrap { display: flex; flex-direction: column; gap: 20px; align-items: flex-start; }

/* Tableau comparatif : tient dans l'écran d'un téléphone */
@media (max-width: 600px) {
  .table-scroll { overflow-x: visible; }
  .compare { min-width: 0; font-size: 14px; table-layout: fixed; }
  .compare th, .compare td { padding: 12px 8px; }
  .compare th[scope="row"] { width: 46%; padding-left: 14px; }
  .compare td { width: 27%; }
  .compare thead th { font-size: 13px; }
}
