/* Site vitrine Movoo (accueil + /moto/, /camping-car/, /rando-trail-velo/, /securite/,
   /pionniers/, /faq/) — refonte du 2026-10-15 selon le brief marketing. Même charte que le
   routeur refondu (styles/main.css : jetons de couleur Material 3 de l'app Android, police
   Manrope, icônes MovooIcons, thème Automatique/Clair/Sombre via js/theme-init.js), en version
   vitrine : aérée, mobile d'abord, sans bibliothèque. Les jetons ci-dessous reprennent ceux de
   main.css (feuille du routeur, non chargée ici car elle fige la page en plein écran).
   Fichier distinct de styles/landing.css, conservé tel quel pour la page d'invitation de groupe
   (g/index.html) qui l'utilise encore. */

:root {
  --bg: #F6F1E7;
  --surface: #FFFFFF;
  --surface-low: #FBF8F2;
  --surface-high: #F1EBDF;
  --surface-highest: #EAE3D5;
  --ink: #17201B;
  --muted: #5B655E;
  --line: #CBD3CC;
  --line-soft: #E4E8E1;
  --primary: #1F4D3A;
  --primary-strong: #163828;
  --on-primary: #FFFFFF;
  --primary-container: #DDEBDF;
  --on-primary-container: #0E2A1E;
  --accent: #C4541F;
  --accent-strong: #A84516;
  --on-accent: #FFFFFF;
  --accent-container: #F8DCCD;
  --on-accent-container: #4A1904;
  --lake: #2F6FB0;
  --danger: #B3261E;
  --danger-container: #F9DEDC;
  --on-danger-container: #410E0B;
  --warn-container: #FFF1D6;
  --on-warn-container: #5A3B00;
  --brand-night: #163F39;
  --hero-from: #F6F1E7;
  --hero-to: #EFE3CF;
  --shadow-1: 0 1px 2px rgba(23, 32, 27, .10), 0 2px 10px rgba(23, 32, 27, .08);
  --shadow-2: 0 18px 50px rgba(23, 32, 27, .18), 0 2px 8px rgba(23, 32, 27, .08);
  --focus: #2F6FB0;
  --font: "Manrope", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  --radius-s: 10px;
  --radius-m: 16px;
  --radius-l: 26px;
  --ease: cubic-bezier(.2, .8, .2, 1);
  --wrap: 1160px;
  --gutter: 16px;
  color-scheme: light;
}

@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) {
    --bg: #121814; --surface: #1A211D; --surface-low: #161D19; --surface-high: #232E27; --surface-highest: #2B372F;
    --ink: #E6ECE7; --muted: #A9B5AC; --line: #4A554D; --line-soft: #323C35;
    --primary: #8FD0A9; --primary-strong: #A8DDB9; --on-primary: #0E2A1E; --primary-container: #24412F; --on-primary-container: #A8DDB9;
    --accent: #E07A47; --accent-strong: #EB8F60; --on-accent: #121814; --accent-container: #6E2A0B; --on-accent-container: #F8DCCD;
    --lake: #9CC3EE;
    --danger: #F2B8B5; --danger-container: #8C1D18; --on-danger-container: #F9DEDC;
    --warn-container: #4A3A12; --on-warn-container: #FFE3A3;
    --brand-night: #0E1F1B; --hero-from: #121814; --hero-to: #1A2620;
    --shadow-1: 0 1px 2px rgba(0, 0, 0, .5), 0 2px 10px rgba(0, 0, 0, .35);
    --shadow-2: 0 18px 50px rgba(0, 0, 0, .55);
    --focus: #9CC3EE;
    color-scheme: dark;
  }
}
:root[data-theme="dark"] {
  --bg: #121814; --surface: #1A211D; --surface-low: #161D19; --surface-high: #232E27; --surface-highest: #2B372F;
  --ink: #E6ECE7; --muted: #A9B5AC; --line: #4A554D; --line-soft: #323C35;
  --primary: #8FD0A9; --primary-strong: #A8DDB9; --on-primary: #0E2A1E; --primary-container: #24412F; --on-primary-container: #A8DDB9;
  --accent: #E07A47; --accent-strong: #EB8F60; --on-accent: #121814; --accent-container: #6E2A0B; --on-accent-container: #F8DCCD;
  --lake: #9CC3EE;
  --danger: #F2B8B5; --danger-container: #8C1D18; --on-danger-container: #F9DEDC;
  --warn-container: #4A3A12; --on-warn-container: #FFE3A3;
  --brand-night: #0E1F1B; --hero-from: #121814; --hero-to: #1A2620;
  --shadow-1: 0 1px 2px rgba(0, 0, 0, .5), 0 2px 10px rgba(0, 0, 0, .35);
  --shadow-2: 0 18px 50px rgba(0, 0, 0, .55);
  --focus: #9CC3EE;
  color-scheme: dark;
}

/* ---------- Base ---------- */
*, *::before, *::after { box-sizing: border-box; }
* { margin: 0; padding: 0; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: 76px; }
body {
  font-family: var(--font); font-size: 16px; line-height: 1.6; font-weight: 500;
  background: var(--bg); color: var(--ink); overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; height: auto; display: block; }
a { color: var(--primary); text-underline-offset: 3px; }
button, input, select { font: inherit; color: inherit; }
:focus-visible { outline: 2.5px solid var(--focus); outline-offset: 3px; border-radius: 8px; }
h1, h2, h3 { font-weight: 800; letter-spacing: -.02em; line-height: 1.15; text-wrap: balance; }
p { text-wrap: pretty; }
.icon { width: 20px; height: 20px; flex-shrink: 0; }
.sr-only { position: absolute !important; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0, 0, 0, 0); white-space: nowrap; border: 0; }
.muted { color: var(--muted); }
.wrap { width: 100%; max-width: var(--wrap); margin: 0 auto; padding: 0 var(--gutter); }
@media (min-width: 720px) { :root { --gutter: 28px; } }
@media (prefers-reduced-motion: reduce) { *, *::before, *::after { transition-duration: .01ms !important; animation-duration: .01ms !important; scroll-behavior: auto !important; } }
.skip-link { position: absolute; left: 12px; top: -60px; z-index: 100; background: var(--accent); color: var(--on-accent); padding: 8px 14px; border-radius: 999px; font-weight: 800; text-decoration: none; }
.skip-link:focus { top: 10px; }

/* ---------- Boutons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  min-height: 48px; padding: 10px 22px; border: 1.5px solid transparent; border-radius: 999px;
  font-size: 16px; font-weight: 800; cursor: pointer; text-decoration: none; text-align: center; line-height: 1.25;
  transition: background .15s, box-shadow .15s, transform .12s var(--ease), border-color .15s;
}
.btn:active { transform: scale(.98); }
.btn-primary { background: var(--accent); color: var(--on-accent); box-shadow: 0 6px 18px color-mix(in srgb, var(--accent) 35%, transparent); }
.btn-primary:hover { background: var(--accent-strong); }
.btn-secondary { background: var(--surface); color: var(--ink); border-color: var(--line); }
.btn-secondary:hover { border-color: var(--primary); }
.btn-tonal { background: var(--primary-container); color: var(--on-primary-container); }
.btn-ghost { background: transparent; color: var(--primary); border-color: var(--line); }
.btn-sm { min-height: 38px; padding: 6px 14px; font-size: 14px; }
.btn .icon { width: 18px; height: 18px; }
.cta-row { display: flex; flex-wrap: wrap; gap: 12px; align-items: center; }
.cta-row .btn { flex: 1 1 auto; }
@media (min-width: 560px) { .cta-row .btn { flex: 0 0 auto; } }
.link-arrow { display: inline-flex; align-items: center; gap: 6px; font-weight: 800; text-decoration: none; }
.link-arrow:hover { text-decoration: underline; }
.link-arrow .icon { width: 18px; height: 18px; }
.link-like { background: none; border: none; color: inherit; cursor: pointer; font-weight: 700; padding: 0; text-align: left; }

/* ---------- En-tête ---------- */
.site-header {
  position: sticky; top: 0; z-index: 50;
  background: color-mix(in srgb, var(--bg) 88%, transparent);
  backdrop-filter: saturate(1.4) blur(12px); -webkit-backdrop-filter: saturate(1.4) blur(12px);
  border-bottom: 1px solid var(--line-soft);
}
.site-header-inner { max-width: var(--wrap); margin: 0 auto; padding: 10px var(--gutter); display: flex; align-items: center; gap: 12px; min-height: 64px; flex-wrap: wrap; }
.brand { display: inline-flex; align-items: center; gap: 10px; color: var(--ink); text-decoration: none; font-weight: 800; font-size: 20px; letter-spacing: -.02em; margin-right: auto; }
.brand-mark { border-radius: 9px; }
.menu-toggle { display: inline-flex; align-items: center; gap: 6px; min-height: 44px; padding: 8px 14px; border-radius: 999px; border: 1px solid var(--line); background: var(--surface); cursor: pointer; font-weight: 800; }
.site-menu { display: none; width: 100%; flex-direction: column; gap: 14px; padding: 10px 0 14px; }
.site-header.menu-open .site-menu { display: flex; }
.site-nav { display: flex; flex-direction: column; gap: 2px; }
.site-nav a { color: var(--ink); text-decoration: none; font-weight: 700; padding: 10px 12px; border-radius: 12px; }
.site-nav a:hover { background: var(--surface-high); }
.site-nav a[aria-current="page"] { background: var(--primary-container); color: var(--on-primary-container); }
.site-nav .nav-pioneer { color: var(--accent); }
.site-nav .nav-pioneer[aria-current="page"] { background: var(--accent-container); color: var(--on-accent-container); }
.site-tools { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; }
.tool-select { position: relative; display: inline-flex; align-items: center; gap: 4px; min-height: 40px; padding: 0 4px 0 10px; border: 1px solid var(--line); border-radius: 999px; background: var(--surface); color: var(--muted); }
.tool-select select { appearance: none; -webkit-appearance: none; border: none; background: transparent; color: var(--ink); font-weight: 700; font-size: 14px; padding: 8px 10px 8px 2px; cursor: pointer; }
.tool-select .icon { width: 17px; height: 17px; }
.auth-status { display: inline-flex; align-items: center; }
.status-dot { width: 10px; height: 10px; border-radius: 50%; background: var(--line); box-shadow: 0 0 0 3px var(--surface-high); }
.status-dot.status-dot-online { background: #3FA35B; }
.nav-login, .account-toggle { white-space: nowrap; display: inline-flex; align-items: center; gap: 6px; min-height: 40px; padding: 6px 14px; border-radius: 999px; font-weight: 800; font-size: 14px; text-decoration: none; color: var(--ink); background: var(--surface); border: 1px solid var(--line); cursor: pointer; }
.nav-login .icon, .account-toggle .icon { width: 17px; height: 17px; }
.account-menu { position: relative; }
.account-links { position: absolute; right: 0; top: calc(100% + 8px); min-width: 210px; display: flex; flex-direction: column; padding: 8px; background: var(--surface); border: 1px solid var(--line-soft); border-radius: var(--radius-m); box-shadow: var(--shadow-2); z-index: 60; }
.account-links[hidden] { display: none; }
.account-links a, .account-links button { padding: 10px 12px; border-radius: 10px; color: var(--ink); text-decoration: none; font-weight: 700; font-size: 15px; }
.account-links a:hover, .account-links button:hover { background: var(--surface-high); }
.account-toggle[aria-expanded="true"] .chevron { transform: rotate(180deg); }
/* Menu mobile (sous 1120 px, menu déplié) : la liste « Mon compte » s'ouvre dans le flux, sous le
   bouton, au lieu d'une bulle alignée à droite qui sortait de l'écran à gauche (2026-10-17). */
@media (max-width: 1119.98px) {
  .account-links { position: static; margin-top: 8px; min-width: 0; width: 100%; box-shadow: none; }
}
[hidden] { display: none !important; }

@media (min-width: 1120px) {
  .menu-toggle { display: none; }
  .site-header-inner { flex-wrap: nowrap; }
  .site-menu { display: flex; width: auto; flex-direction: row; align-items: center; gap: 16px; padding: 0; }
  .site-nav { flex-direction: row; align-items: center; gap: 2px; }
  .site-nav a { padding: 8px 12px; font-size: 15px; white-space: nowrap; }
  .site-nav .nav-pioneer { background: var(--accent-container); color: var(--on-accent-container); margin-left: 6px; }
  .site-tools { flex-wrap: nowrap; }
}

/* ---------- Sections ---------- */
main { display: block; }
.section { padding: 64px 0; }
.section-tight { padding: 40px 0; }
@media (min-width: 900px) { .section { padding: 96px 0; } }
.eyebrow { display: inline-flex; align-items: center; gap: 8px; font-size: 13px; font-weight: 800; letter-spacing: .08em; text-transform: uppercase; color: var(--accent); margin-bottom: 14px; }
.section-title { font-size: clamp(28px, 4.2vw, 42px); margin-bottom: 16px; }
.lead { font-size: clamp(17px, 1.6vw, 20px); color: var(--muted); max-width: 62ch; }
.center { text-align: center; }
.center .lead { margin-left: auto; margin-right: auto; }

/* ---------- Hero ---------- */
.hero { position: relative; overflow: hidden; background: linear-gradient(180deg, var(--hero-from), var(--hero-to)); }
.hero-inner { display: grid; gap: 40px; padding-top: 40px; padding-bottom: 56px; align-items: center; }
.hero h1 { font-size: clamp(36px, 7.2vw, 66px); line-height: 1.04; letter-spacing: -.035em; margin-bottom: 18px; }
.hero h1 .accent { color: var(--accent); }
.hero .lead { margin-bottom: 26px; }
.hero-note { margin-top: 18px; font-size: 14px; font-weight: 700; color: var(--muted); }
.hero-note .icon { width: 16px; height: 16px; color: var(--primary); vertical-align: -3px; margin-right: 4px; }
.hero-visual { position: relative; min-height: 260px; }
.hero-sun { position: absolute; width: 74%; aspect-ratio: 1; border-radius: 50%; right: -6%; top: -4%; background: radial-gradient(circle at 50% 40%, #F6C65B 0%, #E8622C 55%, #B8431B 100%); opacity: .18; filter: blur(2px); }
.browser-frame { position: relative; border-radius: 14px; overflow: hidden; background: var(--surface); box-shadow: var(--shadow-2); border: 1px solid var(--line-soft); }
.browser-frame img { width: 100%; }
.browser-frame::before { content: ""; display: block; height: 22px; background: var(--surface-high); border-bottom: 1px solid var(--line-soft);
  background-image: radial-gradient(circle, #E8622C 3.5px, transparent 4px), radial-gradient(circle, #E0A438 3.5px, transparent 4px), radial-gradient(circle, #3FA35B 3.5px, transparent 4px);
  background-size: 14px 22px; background-repeat: no-repeat; background-position: 10px 0, 24px 0, 38px 0; }
.phone-frame { position: relative; border-radius: 30px; padding: 7px; background: #0E1512; box-shadow: var(--shadow-2); }
.phone-frame img { border-radius: 24px; }
.hero-visual .browser-frame { width: 92%; }
.hero-visual .phone-frame { position: absolute; width: 34%; right: 0; bottom: -18px; }
@media (min-width: 900px) {
  .hero-inner { grid-template-columns: 1.02fr 1fr; gap: 48px; padding-top: 72px; padding-bottom: 96px; }
  .hero-visual { min-height: 440px; }
  .hero-visual .browser-frame { width: 100%; margin-top: 10px; }
  .hero-visual .phone-frame { width: 31%; right: -18px; bottom: -46px; }
}
.hero-ridge { position: absolute; left: 0; right: 0; bottom: -1px; width: 100%; height: 56px; color: var(--bg); pointer-events: none; }

/* Bandeau « fini de jongler » */
.juggle { text-align: center; font-size: clamp(19px, 2.4vw, 26px); font-weight: 800; letter-spacing: -.01em; padding: 36px var(--gutter) 8px; max-width: 900px; margin: 0 auto; }
.juggle span { color: var(--accent); }

/* ---------- Étapes ---------- */
.steps { display: grid; gap: 16px; margin-top: 32px; counter-reset: step; }
@media (min-width: 760px) { .steps { grid-template-columns: repeat(3, 1fr); gap: 20px; } }
.step { position: relative; padding: 26px 24px; background: var(--surface); border: 1px solid var(--line-soft); border-radius: var(--radius-l); box-shadow: var(--shadow-1); }
.step-num { display: inline-flex; align-items: center; justify-content: center; width: 44px; height: 44px; border-radius: 14px; background: var(--primary-container); color: var(--on-primary-container); margin-bottom: 14px; }
.step-num .icon { width: 22px; height: 22px; }
.step h3 { font-size: 20px; margin-bottom: 6px; }
.step h3::before { counter-increment: step; content: counter(step) ". "; color: var(--accent); }
.step p { color: var(--muted); }

/* ---------- Piliers (blocs alternés) ---------- */
.pillar { display: grid; gap: 28px; align-items: center; padding: 40px 0; }
.pillar + .pillar { border-top: 1px solid var(--line-soft); }
@media (min-width: 900px) {
  .pillar { grid-template-columns: 1fr 1fr; gap: 64px; padding: 64px 0; }
  .pillar.reverse .pillar-media { order: 2; }
}
.pillar h2 { font-size: clamp(26px, 3.4vw, 36px); margin-bottom: 14px; }
.pillar p { color: var(--muted); font-size: 17px; }
.pillar-media { display: flex; justify-content: center; position: relative; }
.pillar-media .phone-frame { width: min(300px, 74%); }
.pillar-media .browser-frame { width: 100%; max-width: 360px; }
.pillar-media.with-glow::before { content: ""; position: absolute; inset: 10% 6%; background: radial-gradient(circle, color-mix(in srgb, var(--accent) 22%, transparent), transparent 70%); filter: blur(30px); z-index: -1; }
.checks { list-style: none; display: grid; gap: 12px; margin: 20px 0 0; }
.checks li { display: grid; grid-template-columns: 26px 1fr; gap: 10px; align-items: start; color: var(--ink); font-weight: 600; }
.checks li .icon { width: 22px; height: 22px; padding: 3px; border-radius: 50%; background: var(--primary-container); color: var(--on-primary-container); margin-top: 2px; }
.pillar .link-arrow { margin-top: 20px; }

/* Panneau de fonctionnalités (pas une capture : liste illustrée) */
.feature-panel { width: min(420px, 100%); padding: 26px; border-radius: var(--radius-l); background: var(--surface); border: 1px solid var(--line-soft); box-shadow: var(--shadow-2); }
.feature-panel h3 { font-size: 15px; text-transform: uppercase; letter-spacing: .06em; color: var(--muted); margin-bottom: 16px; }
.feature-panel ul { list-style: none; display: grid; gap: 12px; }
.feature-panel li { display: flex; align-items: center; gap: 14px; padding: 12px 14px; border-radius: 14px; background: var(--surface-low); border: 1px solid var(--line-soft); font-weight: 700; }
.feature-panel li .badge-ic { display: inline-flex; align-items: center; justify-content: center; width: 40px; height: 40px; border-radius: 12px; background: var(--primary-container); color: var(--on-primary-container); flex-shrink: 0; }
.feature-panel.sos li .badge-ic { background: var(--danger-container); color: var(--on-danger-container); }
.sos-dial { display: flex; align-items: center; gap: 16px; margin-bottom: 18px; }
.sos-dial b { display: inline-flex; align-items: center; justify-content: center; width: 72px; height: 72px; border-radius: 50%; background: #C62828; color: #fff; font-size: 26px; font-weight: 800; box-shadow: 0 0 0 8px color-mix(in srgb, #C62828 20%, transparent); }

/* ---------- Tuiles « Movoo pour… » ---------- */
.tiles { display: grid; gap: 14px; margin-top: 30px; grid-template-columns: 1fr; }
@media (min-width: 560px) { .tiles { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 980px) { .tiles { grid-template-columns: repeat(4, 1fr); } }
.tile { display: flex; flex-direction: column; gap: 10px; padding: 24px; border-radius: var(--radius-l); background: var(--surface); border: 1px solid var(--line-soft); text-decoration: none; color: var(--ink); box-shadow: var(--shadow-1); transition: transform .18s var(--ease), box-shadow .18s, border-color .18s; }
.tile:hover { transform: translateY(-3px); box-shadow: var(--shadow-2); border-color: var(--primary); }
.tile-ic { display: inline-flex; align-items: center; justify-content: center; width: 52px; height: 52px; border-radius: 16px; background: var(--accent-container); color: var(--on-accent-container); }
.tile-ic .icon { width: 28px; height: 28px; }
.tile h3 { font-size: 20px; }
.tile p { color: var(--muted); flex: 1; }
.tile .link-arrow { color: var(--primary); }

/* ---------- Bandeaux ---------- */
.band { border-radius: var(--radius-l); padding: 32px 26px; display: grid; gap: 18px; align-items: center; }
@media (min-width: 860px) { .band { grid-template-columns: auto 1fr auto; padding: 40px 44px; gap: 28px; } }
.band h2 { font-size: clamp(22px, 2.8vw, 30px); margin-bottom: 6px; }
.band-ic { display: inline-flex; align-items: center; justify-content: center; width: 64px; height: 64px; border-radius: 20px; }
.band-ic .icon { width: 32px; height: 32px; }
.band-safety { background: var(--accent-container); color: var(--on-accent-container); }
.band-safety .band-ic { background: color-mix(in srgb, var(--accent) 22%, transparent); }
.band-safety a { color: var(--on-accent-container); }
.band-privacy { background: var(--primary-container); color: var(--on-primary-container); }
.band-privacy .band-ic { background: color-mix(in srgb, var(--primary) 18%, transparent); }
.band-privacy a { color: var(--on-primary-container); }
.band + .band { margin-top: 16px; }

/* Avertissement 112 (toujours lisible, au-dessus de la ligne de flottaison sur /securite/) */
.notice-112 { display: flex; gap: 12px; align-items: flex-start; padding: 14px 18px; border-radius: var(--radius-m); background: var(--danger-container); color: var(--on-danger-container); font-weight: 800; border: 1.5px solid color-mix(in srgb, var(--danger) 45%, transparent); }
.notice-112 .icon { width: 24px; height: 24px; margin-top: 1px; }
.notice-112 a { color: inherit; }

/* ---------- Appel Pionnier ---------- */
.pioneer-cta { position: relative; overflow: hidden; border: 1px solid color-mix(in srgb, #8FD0A9 18%, transparent); border-radius: var(--radius-l); padding: 44px 26px; background: var(--brand-night); color: #F2EFE6; text-align: center; }
.pioneer-cta h2 { font-size: clamp(28px, 4vw, 40px); margin-bottom: 12px; color: #fff; }
.pioneer-cta p { max-width: 60ch; margin: 0 auto 26px; color: #CFE0D6; font-size: 17px; }
.pioneer-cta .cta-row { justify-content: center; }
.pioneer-cta .btn-secondary { background: transparent; color: #fff; border-color: rgba(255, 255, 255, .4); }
.pioneer-cta > :not(.sun) { position: relative; }
.pioneer-cta .sun { position: absolute; width: 340px; height: 340px; border-radius: 50%; right: -90px; top: -150px; background: radial-gradient(circle, #F6C65B, #E8622C 60%, transparent 70%); opacity: .35; }
@media (min-width: 860px) { .pioneer-cta { padding: 64px 48px; } }

/* ---------- FAQ ---------- */
.faq-list { display: grid; gap: 10px; margin-top: 28px; max-width: 860px; }
.center .faq-list { margin-left: auto; margin-right: auto; text-align: left; }
.faq-list details { background: var(--surface); border: 1px solid var(--line-soft); border-radius: var(--radius-m); padding: 0 20px; }
.faq-list summary { cursor: pointer; list-style: none; padding: 18px 0; font-weight: 800; font-size: 17px; display: flex; justify-content: space-between; gap: 16px; align-items: center; }
.faq-list summary::-webkit-details-marker { display: none; }
.faq-list summary::after { content: "+"; font-size: 24px; font-weight: 600; color: var(--accent); line-height: 1; }
.faq-list details[open] summary::after { content: "−"; }
.faq-list details p { padding: 0 0 18px; color: var(--muted); }

/* ---------- Compte (connexion / inscription — fonctions historiques de l'accueil) ---------- */
.account-section { display: grid; gap: 28px; align-items: start; }
@media (min-width: 900px) { .account-section { grid-template-columns: 1fr 1fr; gap: 56px; } }
.card { background: var(--surface); border: 1px solid var(--line-soft); border-radius: var(--radius-l); padding: 26px; box-shadow: var(--shadow-1); }
.auth-tabs { display: grid; grid-template-columns: 1fr 1fr; gap: 4px; padding: 4px; background: var(--surface-high); border-radius: 999px; margin-bottom: 22px; }
.auth-tab { border: none; background: transparent; padding: 10px; border-radius: 999px; font-weight: 800; cursor: pointer; color: var(--muted); }
.auth-tab.active { background: var(--surface); color: var(--ink); box-shadow: var(--shadow-1); }
.form-row { display: grid; gap: 6px; margin-bottom: 14px; }
.form-row label { font-size: 14px; font-weight: 700; }
.form-row input[type="email"], .form-row input[type="text"], .form-row input[type="password"] { width: 100%; min-height: 46px; padding: 10px 14px; border-radius: 12px; border: 1.5px solid var(--line); background: var(--surface-low); }
.form-row input:focus { border-color: var(--primary); outline: none; box-shadow: 0 0 0 3px color-mix(in srgb, var(--primary) 20%, transparent); }
.form-row-checkbox label { display: flex; gap: 10px; align-items: flex-start; font-weight: 600; }
.form-row-checkbox input { margin-top: 5px; width: 18px; height: 18px; accent-color: var(--primary); }
.consent-privacy-link { margin-left: 28px; font-size: 14px; font-weight: 700; color: var(--primary); text-decoration: underline; }
.password-field { position: relative; }
.password-field input { padding-right: 48px !important; }
.btn-toggle-password { position: absolute; right: 6px; top: 50%; transform: translateY(-50%); width: 38px; height: 38px; border: none; border-radius: 10px; background: transparent; cursor: pointer; }
.btn-toggle-password[aria-pressed="true"] { background: var(--surface-high); }
form .btn[type="submit"] { width: 100%; margin-top: 4px; background: var(--accent); color: var(--on-accent); }
.feedback { margin-top: 12px; padding: 10px 14px; border-radius: 12px; font-weight: 700; font-size: 14px; }
.feedback.error { background: var(--danger-container); color: var(--on-danger-container); }
.auth-switch { margin-top: 14px; font-size: 14px; text-align: center; }
.logged-in-card h2 { font-size: 24px; margin-bottom: 14px; }

/* ---------- Pages de profil (/moto/, …) ---------- */
.page-hero { background: linear-gradient(180deg, var(--hero-from), var(--hero-to)); padding: 44px 0 52px; }
@media (min-width: 900px) { .page-hero { padding: 72px 0 80px; } }
.page-hero h1 { font-size: clamp(32px, 5.6vw, 54px); line-height: 1.06; letter-spacing: -.03em; margin-bottom: 16px; max-width: 20ch; }
.page-hero .lead { margin-bottom: 26px; }
.page-hero-ic { display: flex; align-items: center; justify-content: center; width: 56px; height: 56px; border-radius: 18px; background: var(--accent-container); color: var(--on-accent-container); margin-bottom: 16px; }
.page-hero-ic .icon { width: 30px; height: 30px; }
.change-list { list-style: none; display: grid; gap: 12px; margin-top: 24px; }
@media (min-width: 860px) { .change-list { grid-template-columns: 1fr 1fr; } }
.change-list li { display: grid; grid-template-columns: 30px 1fr; gap: 12px; padding: 18px; background: var(--surface); border: 1px solid var(--line-soft); border-radius: var(--radius-m); font-weight: 600; }
.change-list li .icon { width: 26px; height: 26px; padding: 4px; border-radius: 50%; background: var(--primary-container); color: var(--on-primary-container); }
.caution { margin-top: 18px; padding: 14px 18px; border-radius: var(--radius-m); background: var(--warn-container); color: var(--on-warn-container); font-weight: 700; }
.gallery { display: grid; gap: 20px; margin-top: 28px; align-items: center; grid-template-columns: 1fr 1fr; }
.gallery figure { margin: 0; }
.gallery .wide { grid-column: 1 / -1; }
@media (min-width: 900px) { .gallery { grid-template-columns: 2fr 1fr 1fr; } .gallery .wide { grid-column: auto; } }
.gallery figcaption { margin-top: 12px; font-size: 14px; color: var(--muted); font-weight: 600; text-align: center; }
.gallery .phone-frame { max-width: 280px; margin: 0 auto; }
.screens-note { margin-top: 14px; font-size: 13px; color: var(--muted); }
.scenario { margin-top: 8px; padding: 30px 26px; border-radius: var(--radius-l); background: var(--surface); border: 1px solid var(--line-soft); border-left: 6px solid var(--accent); box-shadow: var(--shadow-1); }
.scenario .eyebrow { margin-bottom: 8px; }
.scenario h2 { font-size: clamp(22px, 3vw, 30px); margin-bottom: 10px; }
.scenario p { color: var(--muted); font-size: 17px; max-width: 70ch; }

/* Sécurité */
.sec-grid { display: grid; gap: 18px; margin-top: 8px; }
@media (min-width: 860px) { .sec-grid { grid-template-columns: 1fr 1fr; gap: 22px; } }
.sec-card { padding: 26px; background: var(--surface); border: 1px solid var(--line-soft); border-radius: var(--radius-l); box-shadow: var(--shadow-1); }
.sec-card h2 { font-size: 22px; margin: 12px 0 10px; }
.sec-card p, .sec-card li { color: var(--muted); }
.sec-card .badge-ic { display: inline-flex; align-items: center; justify-content: center; width: 46px; height: 46px; border-radius: 14px; background: var(--primary-container); color: var(--on-primary-container); }
.sec-card.sos .badge-ic { background: var(--danger-container); color: var(--on-danger-container); }
.sec-card ol { padding-left: 20px; display: grid; gap: 8px; }
.limits { margin-top: 22px; padding: 30px 26px; border-radius: var(--radius-l); background: var(--warn-container); color: var(--on-warn-container); }
.limits h2 { font-size: clamp(22px, 3vw, 30px); margin-bottom: 14px; }
.limits ul { display: grid; gap: 10px; padding-left: 20px; font-weight: 600; }

/* Pionniers */
.two-cols { display: grid; gap: 18px; }
@media (min-width: 860px) { .two-cols { grid-template-columns: 1fr 1fr; gap: 22px; } }
.join-steps { list-style: none; display: grid; gap: 14px; counter-reset: join; margin: 18px 0 24px; }
.join-steps li { display: grid; grid-template-columns: 40px 1fr; gap: 14px; align-items: start; font-weight: 600; }
.join-steps li::before { counter-increment: join; content: counter(join); display: inline-flex; align-items: center; justify-content: center; width: 40px; height: 40px; border-radius: 50%; background: var(--accent); color: var(--on-accent); font-weight: 800; }
.contact-box { display: grid; gap: 12px; margin-top: 18px; padding: 18px; border-radius: var(--radius-m); background: var(--surface-low); border: 1px dashed var(--line); }
.contact-line { display: flex; flex-wrap: wrap; gap: 10px; align-items: center; }
.email-text { font-weight: 800; font-size: 18px; color: var(--primary); user-select: all; word-break: break-all; }
.copy-status { font-size: 14px; font-weight: 700; color: var(--primary); min-height: 1.2em; }
.small-print { font-size: 14px; color: var(--muted); margin-top: 14px; }

/* ---------- Pied de page ---------- */
.site-footer { margin-top: 40px; background: var(--surface-low); border-top: 1px solid var(--line-soft); }
.site-footer-inner { max-width: var(--wrap); margin: 0 auto; padding: 44px var(--gutter) 56px; display: grid; gap: 28px; grid-template-columns: 1fr; }
@media (min-width: 700px) { .site-footer-inner { grid-template-columns: 1fr 1fr; } }
@media (min-width: 1000px) { .site-footer-inner { grid-template-columns: 1.6fr 1fr 1fr 1.2fr; } }
.footer-brand p { margin-top: 10px; font-size: 15px; }
.footer-col { display: flex; flex-direction: column; gap: 8px; align-items: flex-start; }
.footer-col h2 { font-size: 13px; text-transform: uppercase; letter-spacing: .08em; color: var(--muted); margin-bottom: 4px; }
.footer-col a { color: var(--ink); text-decoration: none; font-weight: 600; }
.footer-col a:hover { text-decoration: underline; }
.footer-col .email-text { color: var(--primary); font-size: 16px; }

/* Suggestion de la version traduite (page française vue avec un navigateur en anglais,
   néerlandais ou allemand, sans préférence enregistrée) — js/site/shell.js. */
.lang-suggest { background: var(--primary-container); color: var(--on-primary-container); text-align: center; padding: 10px var(--gutter); font-weight: 700; font-size: 15px; }
.lang-suggest a { color: inherit; }

/* Page « À propos et mentions légales » (/a-propos/, ligne M4, 2026-10-24). */
.about-hero { display: flex; gap: 22px; align-items: flex-start; }
.about-logo { flex: none; border-radius: 18px; }
@media (max-width: 600px) { .about-hero { flex-direction: column; gap: 14px; } }
@media (min-width: 860px) { .about-grid .about-wide { grid-column: 1 / -1; } }
.about-grid h3 { font-size: 17px; margin: 18px 0 8px; }
.about-grid p + p { margin-top: 6px; }
.about-name { font-weight: 800; font-size: 18px; color: var(--ink, inherit); }
.about-list { padding-left: 20px; display: grid; gap: 6px; margin: 8px 0; color: var(--muted); }
.about-grid a { overflow-wrap: anywhere; }
.about-facts { display: grid; grid-template-columns: auto 1fr; gap: 6px 14px; margin-top: 12px; }
.about-facts dt { font-weight: 700; }
.about-facts dd { margin: 0; color: var(--muted); }
@media (max-width: 480px) { .about-facts { grid-template-columns: 1fr; } .about-facts dd { margin-bottom: 6px; } }

/* Conditions générales d'utilisation (/cgu/, 2026-10-24) : texte long, lisible, imprimable. */
.terms-actions { display: flex; flex-wrap: wrap; gap: 12px 20px; align-items: center; margin-top: 18px; }
.terms-text { max-width: 820px; line-height: 1.6; }
.terms-text h2 { font-size: 22px; margin: 34px 0 10px; scroll-margin-top: 90px; }
.terms-text p, .terms-text ul, .terms-text ol { margin: 10px 0; }
.terms-text ul, .terms-text ol { padding-left: 22px; display: grid; gap: 4px; }
.terms-text blockquote { margin: 14px 0; padding: 12px 16px; border-left: 4px solid var(--primary); background: var(--surface); border-radius: 8px; }
.terms-text a { overflow-wrap: anywhere; }
.terms-table { overflow-x: auto; margin: 12px 0; }
.terms-table table { border-collapse: collapse; width: 100%; font-size: 15px; }
.terms-table th, .terms-table td { border: 1px solid var(--line); padding: 8px 10px; text-align: left; vertical-align: top; }
@media print {
  .site-header, .site-footer, .terms-actions { display: none !important; }
  .terms-text { max-width: none; }
}
