/* Site vitrine — reprend les jetons du design system de l'application (docs/04-design-system.md) */
@font-face {
  font-family: 'Inter';
  font-style: normal;
  font-weight: 100 900;
  font-display: swap;
  src: url('/fonts/inter-var.woff2') format('woff2');
}

:root {
  --brand: #635bff;
  --brand-600: #5048e5;
  --brand-700: #4038c2;
  --brand-50: #f0f0ff;
  --brand-100: #e3e2ff;
  --ink: #0a2540;
  --ink-2: #1a3a5c;
  --muted: #5b6b7f;
  --line: #e3e8ee;
  --canvas: #f6f9fc;
  --surface: #ffffff;
  --success: #16a34a;
  --amber: #d97706;
  --radius: 14px;
  --radius-lg: 22px;
  --shadow-sm: 0 1px 2px rgba(10, 37, 64, 0.06), 0 1px 1px rgba(10, 37, 64, 0.04);
  --shadow: 0 2px 6px rgba(10, 37, 64, 0.05), 0 12px 32px -8px rgba(10, 37, 64, 0.12);
  --shadow-lg: 0 30px 60px -12px rgba(50, 50, 93, 0.25), 0 18px 36px -18px rgba(0, 0, 0, 0.3);
  --container: 1180px;
  --gutter: clamp(16px, 4vw, 32px);
  --header-h: 68px;
  color-scheme: light;
}

*,
*::before,
*::after { box-sizing: border-box; }

html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: calc(var(--header-h) + 16px); }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } *, *::before, *::after { transition: none !important; animation: none !important; } }

body {
  margin: 0;
  font-family: 'Inter', ui-sans-serif, system-ui, -apple-system, 'Segoe UI', Roboto, Arial, sans-serif;
  font-size: 17px;
  line-height: 1.6;
  color: var(--ink);
  background: var(--surface);
  font-feature-settings: 'cv11', 'ss01';
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

img { max-width: 100%; height: auto; display: block; }
a { color: var(--brand-600); text-decoration-thickness: 1px; text-underline-offset: 3px; }
a:hover { color: var(--brand-700); }
:focus-visible { outline: 3px solid var(--brand); outline-offset: 2px; border-radius: 6px; }
h1, h2, h3 { line-height: 1.15; letter-spacing: -0.02em; margin: 0; text-wrap: balance; }
p { margin: 0 0 1em; text-wrap: pretty; }
p:last-child { margin-bottom: 0; }
ul, ol { margin: 0; padding: 0; list-style: none; }

.container { width: 100%; max-width: calc(var(--container) + 2 * var(--gutter)); margin: 0 auto; padding: 0 var(--gutter); }
.icon { width: 22px; height: 22px; flex: none; }
.icon-sm { width: 18px; height: 18px; }
.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.hp { position: absolute; left: -9999px; }

.skip { position: absolute; left: 12px; top: -60px; z-index: 100; background: var(--ink); color: #fff; padding: 10px 16px; border-radius: 8px; font-weight: 600; }
.skip:focus { top: 12px; color: #fff; }

/* ─── Boutons ─────────────────────────────────────────────────────────────── */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  min-height: 48px; padding: 0 22px; border-radius: 999px; border: 1px solid transparent;
  font: inherit; font-size: 16px; font-weight: 600; letter-spacing: -0.005em; line-height: 1;
  text-decoration: none; cursor: pointer; white-space: nowrap;
  transition: background 0.15s, color 0.15s, box-shadow 0.15s, transform 0.15s, border-color 0.15s;
}
.btn:active { transform: translateY(1px); }
.btn-primary { background: var(--brand); color: #fff; box-shadow: 0 6px 16px -4px rgba(99, 91, 255, 0.55); }
.btn-primary:hover { background: var(--brand-600); color: #fff; box-shadow: 0 10px 22px -6px rgba(99, 91, 255, 0.6); }
.btn-secondary { background: var(--ink); color: #fff; }
.btn-secondary:hover { background: var(--ink-2); color: #fff; }
.btn-ghost { background: #fff; color: var(--ink); border-color: var(--line); box-shadow: var(--shadow-sm); }
.btn-ghost:hover { color: var(--ink); border-color: #c9d3de; }
.btn-light { background: rgba(255, 255, 255, 0.12); color: #fff; border-color: rgba(255, 255, 255, 0.28); }
.btn-light:hover { background: rgba(255, 255, 255, 0.2); color: #fff; }
.btn-sm { min-height: 40px; padding: 0 16px; font-size: 15px; }
.btn-lg { min-height: 54px; padding: 0 28px; font-size: 17px; }
.actions { display: flex; flex-wrap: wrap; gap: 12px; }
.more { display: inline-flex; align-items: center; gap: 6px; font-weight: 600; text-decoration: none; margin-top: 4px; }
.more .icon { transition: transform 0.15s; }
.more:hover .icon { transform: translateX(3px); }

/* ─── En-tête ─────────────────────────────────────────────────────────────── */
.site-header {
  position: sticky; top: 0; z-index: 50; height: var(--header-h);
  background: rgba(255, 255, 255, 0.82); backdrop-filter: saturate(180%) blur(14px); -webkit-backdrop-filter: saturate(180%) blur(14px);
  border-bottom: 1px solid transparent; transition: border-color 0.2s, box-shadow 0.2s;
}
.site-header.scrolled { border-bottom-color: var(--line); box-shadow: 0 6px 20px -16px rgba(10, 37, 64, 0.3); }
.nav { display: flex; align-items: center; gap: 24px; height: 100%; }
.logo { display: inline-flex; align-items: center; gap: 10px; text-decoration: none; color: var(--ink); font-weight: 700; font-size: 20px; letter-spacing: -0.03em; flex: none; }
.logo:hover { color: var(--ink); }
.logo-mark {
  display: grid; place-items: center; width: 34px; height: 34px; border-radius: 10px;
  background: linear-gradient(135deg, #7a73ff, var(--brand-600)); color: #fff; font-size: 18px; font-weight: 700;
  box-shadow: 0 6px 14px -6px rgba(99, 91, 255, 0.8), inset 0 1px 0 rgba(255, 255, 255, 0.25);
}
.logo-light, .logo-light:hover { color: #fff; }
.nav-main { display: flex; align-items: center; gap: 20px; flex: 1; justify-content: space-between; }
.nav-main ul { display: flex; gap: 2px; margin-left: 12px; }
.nav-main ul a { display: block; padding: 8px 11px; border-radius: 8px; color: var(--ink); text-decoration: none; font-size: 15px; font-weight: 500; }
.nav-main ul a:hover { background: var(--canvas); color: var(--ink); }
.nav-main ul a[aria-current='page'] { color: var(--brand-600); background: var(--brand-50); }
.nav-extra { display: flex; align-items: center; gap: 14px; }
.langs { display: inline-flex; padding: 3px; border-radius: 999px; background: var(--canvas); border: 1px solid var(--line); }
.langs a { padding: 4px 9px; border-radius: 999px; font-size: 13px; font-weight: 600; color: var(--muted); text-decoration: none; }
.langs a:hover { color: var(--ink); }
.langs a[aria-current='true'] { background: #fff; color: var(--ink); box-shadow: var(--shadow-sm); }
.nav-toggle { display: none; margin-left: auto; width: 44px; height: 44px; border: 1px solid var(--line); border-radius: 12px; background: #fff; color: var(--ink); cursor: pointer; place-items: center; }
.nav-toggle .i-close { display: none; }

@media (max-width: 1080px) {
  .nav-toggle { display: grid; }
  .nav-main {
    position: fixed; inset: var(--header-h) 0 auto 0; z-index: 49;
    flex-direction: column; align-items: stretch; gap: 16px; padding: 16px var(--gutter) 24px;
    background: #fff; border-bottom: 1px solid var(--line); box-shadow: 0 24px 40px -24px rgba(10, 37, 64, 0.35);
    max-height: calc(100dvh - var(--header-h)); overflow-y: auto;
    visibility: hidden; opacity: 0; transform: translateY(-8px); transition: opacity 0.18s, transform 0.18s, visibility 0.18s;
  }
  .nav-open .nav-main { visibility: visible; opacity: 1; transform: none; }
  .nav-open .nav-toggle .i-open { display: none; }
  .nav-open .nav-toggle .i-close { display: block; }
  .nav-main ul { flex-direction: column; margin: 0; }
  .nav-main ul a { padding: 12px 8px; font-size: 17px; border-bottom: 1px solid var(--canvas); border-radius: 0; }
  .nav-extra { justify-content: space-between; }
}

.crumbs { display: flex; gap: 8px; align-items: center; padding-top: 20px; font-size: 14px; color: var(--muted); }
.crumbs a { color: var(--muted); text-decoration: none; }
.crumbs a:hover { color: var(--ink); }
.crumbs + .hero { padding-top: 32px; }

/* ─── Hero ────────────────────────────────────────────────────────────────── */
.hero { position: relative; overflow: hidden; padding: 64px 0 88px; isolation: isolate; }
.hero::before {
  content: ''; position: absolute; inset: -30% -10% auto -10%; height: 130%; z-index: -1;
  background:
    radial-gradient(40% 50% at 85% 20%, rgba(99, 91, 255, 0.20), transparent 70%),
    radial-gradient(35% 45% at 70% 70%, rgba(14, 165, 233, 0.13), transparent 70%),
    radial-gradient(30% 40% at 10% 10%, rgba(245, 158, 11, 0.09), transparent 70%),
    linear-gradient(180deg, #fbfcff 0%, #fff 100%);
}
.hero-grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.1fr); gap: 56px; align-items: center; }
.hero-text .hero-grid { grid-template-columns: minmax(0, 820px); }
.hero-text { padding: 56px 0 40px; }
.eyebrow { display: inline-flex; align-items: center; gap: 8px; margin-bottom: 20px; padding: 6px 12px 6px 10px; border-radius: 999px; background: #fff; border: 1px solid var(--line); box-shadow: var(--shadow-sm); font-size: 14px; font-weight: 600; color: var(--ink-2); }
.eyebrow .dot { width: 8px; height: 8px; border-radius: 50%; background: var(--brand); box-shadow: 0 0 0 4px var(--brand-100); }
.hero h1 { font-size: clamp(38px, 5.4vw, 64px); font-weight: 750; letter-spacing: -0.035em; margin-bottom: 22px; }
.hero h1 em { font-style: normal; background: linear-gradient(90deg, var(--brand) 0%, #0ea5e9 100%); -webkit-background-clip: text; background-clip: text; color: transparent; }
.lead { font-size: clamp(18px, 1.6vw, 20px); color: var(--muted); max-width: 40em; margin-bottom: 30px; }
.lead a { font-weight: 600; }
.hero-points { display: flex; flex-wrap: wrap; gap: 10px 22px; margin-top: 28px; font-size: 15px; color: var(--ink-2); font-weight: 500; }
.hero-points li { display: inline-flex; align-items: center; gap: 7px; }
.hero-points .icon { color: var(--success); }

.hero-visual { position: relative; }
.hero-visual-home { padding: 0 0 48px 0; }
.hero-visual-home .device-tablet { transform: perspective(2000px) rotateY(-9deg) rotateX(3deg); transform-origin: left center; }
.hero-visual-home .device-phone { position: absolute; right: -6px; bottom: 0; width: 30%; max-width: 190px; }
.float {
  position: absolute; display: flex; align-items: center; gap: 10px; padding: 10px 14px 10px 10px;
  background: #fff; border-radius: 14px; box-shadow: var(--shadow-lg); border: 1px solid var(--line); font-size: 13px; line-height: 1.3;
}
.float b { display: block; font-size: 14px; }
.float small { color: var(--muted); font-size: 13px; }
.float-ic { display: grid; place-items: center; width: 34px; height: 34px; border-radius: 10px; background: var(--brand-50); color: var(--brand); }
.float-ic.ok { background: #dcfce7; color: var(--success); }
.float-a { left: -28px; bottom: 18%; animation: bob 6s ease-in-out infinite; }
.float-b { left: 18%; top: -18px; animation: bob 7s ease-in-out -2s infinite; }
@keyframes bob { 50% { transform: translateY(-8px); } }

/* ─── Cadres d'appareils ──────────────────────────────────────────────────── */
.device { position: relative; background: #0d1b2e; box-shadow: var(--shadow-lg); }
.device img { width: 100%; }
.device-tablet { padding: 12px; border-radius: 26px; background: linear-gradient(145deg, #1f2f45, #0b1626); }
.device-tablet img { border-radius: 14px; }
.device-phone { padding: 7px; border-radius: 32px; background: linear-gradient(145deg, #253650, #0b1626); max-width: 300px; margin: 0 auto; }
.device-phone img { border-radius: 26px; }
.device-desktop { border-radius: 12px; background: #fff; border: 1px solid var(--line); overflow: hidden; }
.device-bar { display: flex; gap: 6px; padding: 10px 12px; background: var(--canvas); border-bottom: 1px solid var(--line); }
.device-bar i { width: 10px; height: 10px; border-radius: 50%; background: #d5dde6; }
.device-bar i:first-child { background: #ff6159; } .device-bar i:nth-child(2) { background: #ffbd2e; } .device-bar i:nth-child(3) { background: #28c941; }
.device-ticket { background: #fff; padding: 10px 6px 18px; border-radius: 6px; max-width: 300px; margin: 0 auto; transform: rotate(-2deg); border: 1px solid var(--line); }

/* ─── Bandeau de confiance ───────────────────────────────────────────────── */
.trust { border-block: 1px solid var(--line); background: #fff; }
.trust ul { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 14px 28px; padding: 22px 0; }
.trust li { display: inline-flex; align-items: center; gap: 10px; font-weight: 600; font-size: 15px; color: var(--ink-2); }
.trust .icon { color: var(--brand); }

/* ─── Sections ────────────────────────────────────────────────────────────── */
.section { padding: clamp(64px, 9vw, 112px) 0; }
.section-alt { background: var(--canvas); }
.section:not(.section-alt):not(.section-dark) + .section:not(.section-alt):not(.section-dark) { padding-top: 0; }
.section-alt + .section-alt { padding-top: 0; }
.section-head { max-width: 760px; margin-bottom: 52px; }
.section-head.center { margin-inline: auto; text-align: center; }
.kicker { margin-bottom: 12px; font-size: 14px; font-weight: 700; letter-spacing: 0.06em; text-transform: uppercase; color: var(--brand); }
.section-title { font-size: clamp(30px, 3.6vw, 44px); font-weight: 720; letter-spacing: -0.03em; margin-bottom: 16px; }
.section-lead { font-size: 19px; color: var(--muted); }

.grid { display: grid; gap: 20px; }
.grid-2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.grid-3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.grid-4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }
.card { position: relative; padding: 28px; border-radius: var(--radius-lg); background: #fff; border: 1px solid var(--line); box-shadow: var(--shadow-sm); transition: box-shadow 0.2s, transform 0.2s, border-color 0.2s; display: flex; flex-direction: column; }
.card:hover { box-shadow: var(--shadow); border-color: #d4dce6; }
.card h3 { font-size: 20px; font-weight: 680; margin-bottom: 8px; }
.card > p { color: var(--muted); font-size: 16px; }
.card .more { margin-top: auto; padding-top: 14px; }
.card-ic { display: grid; place-items: center; width: 46px; height: 46px; margin-bottom: 18px; border-radius: 13px; background: var(--brand-50); color: var(--brand); }
.grid-2 .card { padding: 32px; }
.grid-2 .card .ticks { margin-top: 14px; }
.card[id] { scroll-margin-top: calc(var(--header-h) + 20px); }

.ticks { display: grid; gap: 9px; margin: 18px 0 4px; }
.ticks li { display: flex; gap: 10px; align-items: flex-start; font-size: 16px; color: var(--ink-2); }
.ticks .icon { margin-top: 3px; color: var(--success); }

/* Lignes alternées texte / image */
.rows { display: grid; gap: clamp(72px, 9vw, 120px); }
.row { display: grid; grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr); gap: clamp(32px, 6vw, 80px); align-items: center; }
.row-rev .row-copy { order: 2; }
.row-title { font-size: clamp(26px, 2.8vw, 34px); font-weight: 720; letter-spacing: -0.025em; margin-bottom: 16px; }
.row-copy > p { color: var(--muted); font-size: 18px; }
.row-copy .more { margin-top: 18px; }
.row-media-narrow .device { max-width: 300px; }
.row[id] { scroll-margin-top: calc(var(--header-h) + 24px); }

/* Chiffres */
.section-dark { background: radial-gradient(60% 80% at 80% 0%, rgba(99, 91, 255, 0.35), transparent 70%), var(--ink); color: #fff; }
.section-dark .kicker { color: #a5a0ff; }
.stats { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 1px; margin: 0; border-radius: var(--radius-lg); overflow: hidden; background: rgba(255, 255, 255, 0.12); }
.stat { padding: 32px 24px; background: rgba(10, 37, 64, 0.92); display: flex; flex-direction: column; gap: 6px; }
.stat dd { order: -1; }
.stat dd { margin: 0; font-size: clamp(34px, 4vw, 48px); font-weight: 750; letter-spacing: -0.03em; font-variant-numeric: tabular-nums; line-height: 1.1; }
.stat dt { color: #b6c2d1; font-size: 15px; }
.stats-note { margin-top: 22px; text-align: center; color: #9fb0c3; font-size: 15px; }

/* Étapes */
.steps { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 20px; counter-reset: s; }
.step { position: relative; padding: 28px; border-radius: var(--radius-lg); background: #fff; border: 1px solid var(--line); }
.section-alt .step { box-shadow: var(--shadow-sm); }
.step-n { display: grid; place-items: center; width: 40px; height: 40px; margin-bottom: 18px; border-radius: 50%; background: var(--ink); color: #fff; font-weight: 700; }
.step h3 { font-size: 19px; margin-bottom: 8px; }
.step p { color: var(--muted); font-size: 16px; }

/* Tarifs */
.plans { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; align-items: stretch; }
.plan { position: relative; display: flex; flex-direction: column; padding: 32px 28px; border-radius: var(--radius-lg); background: #fff; border: 1px solid var(--line); box-shadow: var(--shadow-sm); }
.plan h3 { font-size: 22px; margin-bottom: 6px; }
.plan-desc { color: var(--muted); font-size: 16px; min-height: 3.2em; }
.plan-price { display: flex; align-items: baseline; flex-wrap: wrap; gap: 4px 8px; margin: 8px 0 4px; }
.plan-price .amount { font-size: 38px; font-weight: 760; letter-spacing: -0.035em; line-height: 1; }
.plan-price .unit { color: var(--muted); font-size: 16px; font-weight: 500; }
.plan-sub { font-size: 14px; color: var(--muted); }
.plan .ticks { margin: 22px 0 28px; flex: 1; align-content: start; }
.plan .btn { width: 100%; }
.plan-featured { border: 2px solid var(--brand); box-shadow: 0 24px 48px -20px rgba(99, 91, 255, 0.45); }
.plan-badge { position: absolute; top: -14px; left: 28px; margin: 0; padding: 4px 12px; border-radius: 999px; background: var(--brand); color: #fff; font-size: 13px; font-weight: 700; }
.fine { margin-top: 24px; font-size: 14px; color: var(--muted); text-align: center; }
.section-head + .plans { margin-top: 8px; }

/* Comparatif */
.table-wrap { overflow-x: auto; border-radius: var(--radius-lg); border: 1px solid var(--line); background: #fff; box-shadow: var(--shadow-sm); }
.compare { width: 100%; border-collapse: collapse; font-size: 16px; min-width: 560px; }
.compare th, .compare td { padding: 16px 20px; text-align: left; border-bottom: 1px solid var(--line); vertical-align: top; }
.compare thead th { font-size: 15px; background: var(--canvas); }
.compare tbody th { font-weight: 600; width: 34%; }
.compare tr:last-child > * { border-bottom: 0; }
.compare .yes { color: var(--success); }
.compare .no { color: #9aa8b8; }

/* FAQ */
.faq { max-width: 820px; margin: 0 auto; border-top: 1px solid var(--line); }
.faq details { border-bottom: 1px solid var(--line); }
.faq summary { display: flex; justify-content: space-between; align-items: center; gap: 16px; padding: 22px 4px; cursor: pointer; list-style: none; font-size: 18px; font-weight: 620; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary:hover { color: var(--brand-600); }
.faq .chev { color: var(--muted); transition: transform 0.2s; }
.faq details[open] .chev { transform: rotate(180deg); }
.faq-a { padding: 0 4px 24px; color: var(--muted); max-width: 70ch; }
.section-head:not(.center) + .faq { margin-left: 0; }
.section-head:not(.center) { margin-bottom: 20px; }
.section-head:not(.center) .section-title { font-size: 26px; }
.center-link { text-align: center; margin-top: 28px; }

/* Oui / Non */
.split { display: grid; grid-template-columns: 1.4fr 1fr; gap: 20px; }
.split-col { padding: 32px; border-radius: var(--radius-lg); background: #fff; border: 1px solid var(--line); box-shadow: var(--shadow-sm); }
.split-col h3 { font-size: 20px; margin-bottom: 18px; }
.split-col ul { display: grid; gap: 12px; }
.split-col li { display: flex; gap: 12px; align-items: flex-start; }
.split-col .icon { margin-top: 3px; }
.split-yes .icon { color: var(--success); }
.split-no .icon { color: #9aa8b8; }
.split-no li { color: var(--muted); }

/* Encadré */
.callout { display: flex; gap: 20px; align-items: flex-start; max-width: 900px; margin: 0 auto; padding: 28px 32px; border-radius: var(--radius-lg); background: #fffaf0; border: 1px solid #f7dfae; }
.callout-ic { width: 28px; height: 28px; color: var(--amber); margin-top: 2px; }
.callout h3 { font-size: 20px; margin-bottom: 6px; }
.callout p { color: #5c4a2a; }
.callout .more { margin-top: 10px; }

/* Galerie */
.gallery { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 32px; }
.gallery figure { margin: 0; }
.gallery figcaption { margin-top: 12px; color: var(--muted); font-size: 15px; text-align: center; }

/* Texte long */
.prose { max-width: 760px; margin: 0 auto; font-size: 18px; }
.prose h2 { font-size: 28px; margin: 48px 0 16px; }
.prose h2:first-child { margin-top: 0; }
.prose p, .prose li { color: var(--ink-2); }
.prose ul { display: grid; gap: 10px; margin: 0 0 1em; }
.prose li { position: relative; padding-left: 26px; }
.prose li::before { content: ''; position: absolute; left: 4px; top: 0.62em; width: 8px; height: 8px; border-radius: 50%; background: var(--brand); }

/* Contact */
.contact { display: grid; grid-template-columns: minmax(0, 0.8fr) minmax(0, 1.2fr); gap: clamp(32px, 6vw, 72px); align-items: start; }
.contact-side .section-head { margin-bottom: 28px; }
.contact-side .section-head .section-title { font-size: clamp(34px, 4.4vw, 52px); letter-spacing: -0.035em; }
.contact-list { display: grid; gap: 14px; margin-bottom: 28px; }
.contact-list li { display: flex; gap: 12px; align-items: center; font-weight: 600; }
.contact-list .icon { color: var(--brand); }
.contact-list a { color: var(--ink); text-decoration: none; }
.contact-list a:hover { color: var(--brand-600); }
.form { display: grid; gap: 18px; padding: clamp(24px, 4vw, 40px); border-radius: var(--radius-lg); background: #fff; border: 1px solid var(--line); box-shadow: var(--shadow); }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.form label { display: grid; gap: 6px; font-size: 15px; font-weight: 600; color: var(--ink-2); }
.form input, .form select, .form textarea {
  width: 100%; min-height: 48px; padding: 11px 14px; border-radius: 10px; border: 1px solid #cfd8e3; background: #fff;
  font: inherit; font-size: 16px; font-weight: 400; color: var(--ink); transition: border-color 0.15s, box-shadow 0.15s;
}
.form textarea { resize: vertical; min-height: 120px; }
.form input:focus, .form select:focus, .form textarea:focus { outline: none; border-color: var(--brand); box-shadow: 0 0 0 4px var(--brand-100); }
.form .fine { text-align: left; margin: 0; }
.form-status { margin: 0; font-weight: 600; }
.form-status.ok { color: var(--success); }
.form-status.err { color: #dc2626; }
.form button { justify-self: start; }

/* Bandeau d'appel à l'action */
.cta-band { padding: clamp(56px, 8vw, 96px) 0; background: radial-gradient(50% 100% at 100% 0%, rgba(14, 165, 233, 0.35), transparent 70%), radial-gradient(60% 120% at 0% 100%, rgba(99, 91, 255, 0.55), transparent 70%), var(--ink); color: #fff; }
.cta-inner { display: flex; align-items: center; justify-content: space-between; gap: 32px; }
.cta-band h2 { font-size: clamp(28px, 3.4vw, 40px); margin-bottom: 12px; max-width: 18em; }
.cta-band p { color: #c7d2e0; font-size: 18px; max-width: 36em; }
.cta-band .actions { flex: none; }

/* Pied de page */
.site-footer { background: #061a2e; color: #b6c2d1; padding: 64px 0 28px; font-size: 15px; }
.foot-grid { display: grid; grid-template-columns: 1.6fr 1fr 1fr 1fr; gap: 40px; }
.foot-brand p { margin-top: 16px; max-width: 26em; }
.foot-title { color: #fff; font-size: 14px; letter-spacing: 0.06em; text-transform: uppercase; margin-bottom: 14px; }
.site-footer ul { display: grid; gap: 9px; }
.site-footer a { color: #b6c2d1; text-decoration: none; }
.site-footer a:hover { color: #fff; }
.foot-bottom { display: flex; justify-content: space-between; flex-wrap: wrap; gap: 12px; margin-top: 48px; padding-top: 24px; border-top: 1px solid rgba(255, 255, 255, 0.1); font-size: 14px; }
.foot-bottom strong, .foot-bottom a { color: #fff; }

/* Suggestion de langue */
.lang-hint { position: fixed; z-index: 60; left: 16px; right: 16px; bottom: 20px; width: fit-content; margin: 0 auto; display: flex; align-items: center; gap: 14px; padding: 10px 10px 10px 18px; border-radius: 999px; background: var(--ink); color: #fff; box-shadow: var(--shadow-lg); font-size: 15px; }
.lang-hint[hidden] { display: none; }
.lang-hint a { color: #fff; font-weight: 700; }
.lang-hint button { border: 0; background: rgba(255, 255, 255, 0.14); color: #fff; width: 34px; height: 34px; border-radius: 50%; cursor: pointer; display: grid; place-items: center; font-size: 18px; }

/* ─── Responsive ──────────────────────────────────────────────────────────── */
@media (max-width: 1024px) {
  .hero-grid { grid-template-columns: 1fr; gap: 48px; }
  .hero-visual { max-width: 720px; }
  .hero-visual-home .device-tablet { transform: none; }
  .grid-4 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .grid-3 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .plans { grid-template-columns: 1fr; max-width: 520px; margin: 0 auto; }
  .plan-desc { min-height: 0; }
  .stats { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .row, .contact { grid-template-columns: 1fr; }
  .row-rev .row-copy { order: 0; }
  .cta-inner { flex-direction: column; align-items: flex-start; }
  .foot-grid { grid-template-columns: 1fr 1fr; }
  .foot-brand { grid-column: 1 / -1; }
  .split { grid-template-columns: 1fr; }
}
@media (max-width: 640px) {
  body { font-size: 16px; }
  .hero { padding: 40px 0 64px; }
  .hero-text { padding: 36px 0 24px; }
  .actions .btn { flex: 1 1 100%; }
  .grid-2, .grid-3, .grid-4, .gallery { grid-template-columns: 1fr; }
  .form-row { grid-template-columns: 1fr; }
  .form button { justify-self: stretch; }
  .trust ul { justify-content: flex-start; }
  .trust li { flex: 1 1 45%; font-size: 14px; }
  .float-a { left: 0; bottom: 6%; }
  .float-b { left: auto; right: 0; top: -22px; }
  .float small { display: none; }
  .hero-visual-home .device-phone { width: 34%; right: 0; }
  .card, .grid-2 .card, .split-col, .step { padding: 24px; }
  .callout { flex-direction: column; padding: 24px; gap: 12px; }
  .stat { padding: 24px 18px; }
  .lang-hint { border-radius: 16px; bottom: 12px; }
  .compare { min-width: 0; font-size: 14px; }
  .compare th, .compare td { padding: 12px 10px; }
  .compare tbody th { width: 30%; }
}

/* Formulaire : type de demande */
.wants { display: flex; flex-wrap: wrap; gap: 8px; margin: 0; padding: 0; border: 0; }
.wants legend { width: 100%; margin-bottom: 8px; font-size: 15px; font-weight: 600; color: var(--ink-2); }
.form .chip { display: inline-flex; cursor: pointer; }
.form .chip { position: relative; }
.form .chip input { position: absolute; inset: 0; width: 1px; height: 1px; min-height: 0; padding: 0; opacity: 0; pointer-events: none; }
.chip span { padding: 9px 16px; border-radius: 999px; border: 1px solid #cfd8e3; font-size: 15px; font-weight: 600; color: var(--ink-2); transition: background 0.15s, border-color 0.15s, color 0.15s; }
.chip input:checked + span { background: var(--brand-50); border-color: var(--brand); color: var(--brand-700); }
.chip input:focus-visible + span { outline: 3px solid var(--brand); outline-offset: 2px; }

/* Relance au milieu des pages */
.nudge { display: flex; align-items: center; justify-content: space-between; gap: 20px 32px; flex-wrap: wrap; margin: 0 auto; padding: 24px 28px; border-radius: var(--radius-lg); background: linear-gradient(120deg, var(--brand-50), #eef8ff); border: 1px solid var(--brand-100); }
.nudge strong { display: block; font-size: 20px; letter-spacing: -0.01em; margin-bottom: 4px; }
.nudge span { color: var(--muted); }
.container:has(> .nudge) { margin-block: clamp(28px, 4vw, 48px) clamp(56px, 8vw, 96px); }

/* Barre d'action fixe sur mobile */
.mobile-cta { display: none; }
@media (max-width: 760px) {
  .mobile-cta { position: fixed; z-index: 55; left: 0; right: 0; bottom: 0; display: flex; gap: 10px; padding: 10px 16px calc(10px + env(safe-area-inset-bottom)); background: rgba(255, 255, 255, 0.94); backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px); border-top: 1px solid var(--line); }
  .mobile-cta .btn { flex: 1; min-height: 48px; }
  .mobile-cta .btn-ghost { flex: 0 0 auto; }
  body:has(.mobile-cta) { padding-bottom: 72px; }
  body:has(.mobile-cta) .lang-hint { bottom: 84px; }
}
