/* Landing Ridearound — charte : bleu nuit #0B1326, orange #FF5500 → #FF9500, vert départ #10B981 */
:root {
  --navy: #0B1326;
  --navy-2: #131B2E;
  --navy-3: #1C2640;
  --orange: #FF5500;
  --orange-2: #FF9500;
  --green: #10B981;
  --grad: linear-gradient(135deg, #FF5500, #FF9500);
  --bg: #F8FAFC;
  --surface: #FFFFFF;
  --surface-2: #F1F5F9;
  --line: #E2E8F0;
  --ink: #0F172A;
  --muted: #5B6779;
  --link: #C2410C;
  --shadow: 0 18px 40px rgba(11, 19, 38, .12), 0 2px 6px rgba(11, 19, 38, .05);
  color-scheme: light;
}
@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) {
    --bg: #0B1326; --surface: #131B2E; --surface-2: #1C2640; --line: #28324C;
    --ink: #F8FAFC; --muted: #9AA6BC; --link: #FF9A5C; --shadow: 0 18px 40px rgba(0, 0, 0, .45);
    color-scheme: dark;
  }
}
:root[data-theme="dark"] {
  --bg: #0B1326; --surface: #131B2E; --surface-2: #1C2640; --line: #28324C;
  --ink: #F8FAFC; --muted: #9AA6BC; --link: #FF9A5C; --shadow: 0 18px 40px rgba(0, 0, 0, .45);
  color-scheme: dark;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 72px; }
body {
  margin: 0; background: var(--bg); color: var(--ink);
  font: 400 17px/1.55 Inter, system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  -webkit-font-smoothing: antialiased; overflow-x: hidden;
}
a { color: inherit; }
img { display: block; }
h1, h2, h3 { margin: 0; letter-spacing: -.025em; line-height: 1.15; }
svg { flex: none; }
.wrap { max-width: 1140px; margin: 0 auto; padding: 0 24px; }

.wordmark { font-weight: 800; letter-spacing: -.035em; font-size: 21px; color: #fff; }
.wordmark b { font-weight: 800; }
.wordmark i { font-style: normal; color: var(--orange); }

/* ---------- boutons ---------- */
.btn-primary, .btn-ghost, .btn-app {
  display: inline-flex; align-items: center; gap: 8px; text-decoration: none; font-weight: 700;
  border-radius: 14px; transition: transform .15s, box-shadow .15s, background .15s;
}
.btn-primary svg, .btn-app svg { width: 18px; height: 18px; fill: none; stroke: currentColor; stroke-width: 2.4; stroke-linecap: round; stroke-linejoin: round; }
.btn-primary { background: var(--grad); color: #fff; padding: 15px 22px; box-shadow: 0 10px 26px rgba(255, 85, 0, .35); }
.btn-primary:hover { transform: translateY(-1px); box-shadow: 0 14px 30px rgba(255, 85, 0, .45); }
.btn-primary.big { padding: 18px 28px; font-size: 18px; }
.btn-ghost { color: #fff; padding: 15px 20px; border: 1px solid rgba(255, 255, 255, .22); }
.btn-ghost:hover { background: rgba(255, 255, 255, .08); }
.btn-app { background: var(--grad); color: #fff; padding: 9px 14px; font-size: 15px; border-radius: 11px; white-space: nowrap; }
.btn-app:hover { transform: translateY(-1px); }

/* ---------- navigation ---------- */
.nav { position: sticky; top: 0; z-index: 50; background: rgba(11, 19, 38, .82); backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px); transition: box-shadow .2s; }
.nav.scrolled { box-shadow: 0 6px 24px rgba(0, 0, 0, .25); }
.nav-in { display: flex; align-items: center; gap: 20px; height: 64px; }
.brand { display: inline-flex; align-items: center; gap: 9px; text-decoration: none; }
.nav-links { display: flex; gap: 26px; margin-left: auto; }
.nav-links a { color: rgba(255, 255, 255, .72); text-decoration: none; font-size: 15px; font-weight: 600; }
.nav-links a:hover { color: #fff; }

/* menu de langue (construit par js/i18n.js dans la barre) */
.lang-wrap { position: relative; }
.nav-links + .lang-wrap { margin-left: 0; }
.lang-btn { display: inline-flex; align-items: center; gap: 4px; height: 36px; padding: 0 8px 0 10px; border-radius: 10px; background: rgba(255, 255, 255, .08); color: #fff; border: 1px solid rgba(255, 255, 255, .2); font: 800 12px Inter, system-ui, sans-serif; cursor: pointer; }
.lang-btn svg { width: 15px; height: 15px; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.lang-menu { position: absolute; right: 0; top: calc(100% + 6px); min-width: 160px; background: #fff; color: #0F172A; border-radius: 12px; box-shadow: 0 12px 30px rgba(0, 0, 0, .25); padding: 6px; z-index: 60; }
.lang-menu button { display: flex; justify-content: space-between; width: 100%; padding: 10px 12px; border: 0; background: none; border-radius: 8px; font: 600 15px Inter, system-ui, sans-serif; color: inherit; cursor: pointer; }
.lang-menu button:hover, .lang-menu button[aria-selected="true"] { background: #FFF4ED; }
.lang-menu button b { color: var(--orange); font-size: 12px; }

/* ---------- hero ---------- */
.hero {
  position: relative; overflow: hidden; color: #fff;
  background:
    radial-gradient(900px 500px at 85% 10%, rgba(255, 85, 0, .22), transparent 60%),
    radial-gradient(700px 500px at -10% 110%, rgba(16, 185, 129, .12), transparent 60%),
    var(--navy);
  margin-top: -64px; padding: 104px 0 64px;
}
.hero::before {
  content: ""; position: absolute; inset: 0; pointer-events: none; opacity: .5;
  background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='600' height='600' viewBox='0 0 600 600'%3E%3Cg fill='none' stroke='%231E2A44' stroke-width='1.2'%3E%3Cpath d='M-20 120C80 60 180 180 300 110S520 40 620 90'/%3E%3Cpath d='M-20 200C90 150 200 260 310 190S520 130 620 170'/%3E%3Cpath d='M-20 280C100 240 210 340 320 270S530 220 620 250'/%3E%3Cpath d='M-20 360C110 330 220 420 330 350S540 310 620 330'/%3E%3Cpath d='M-20 440C120 420 230 500 340 430S550 400 620 410'/%3E%3Cpath d='M-20 520C130 510 240 580 350 510S560 490 620 490'/%3E%3C/g%3E%3C/svg%3E") center / 600px;
  -webkit-mask-image: linear-gradient(to bottom, #000 40%, transparent);
  mask-image: linear-gradient(to bottom, #000 40%, transparent);
}
.hero-in { position: relative; display: grid; grid-template-columns: 1.1fr .9fr; gap: 56px; align-items: center; }
.pill { display: inline-block; font-size: 13px; font-weight: 700; letter-spacing: .04em; padding: 6px 12px; border-radius: 999px; background: rgba(255, 85, 0, .14); color: #FFB27F; border: 1px solid rgba(255, 85, 0, .35); margin-bottom: 20px; }
.hero h1 { font-size: clamp(34px, 4.6vw, 54px); font-weight: 800; }
.hero h1 em { font-style: normal; background: var(--grad); -webkit-background-clip: text; background-clip: text; color: transparent; }
.lead { font-size: 19px; color: rgba(255, 255, 255, .78); margin: 22px 0 30px; max-width: 540px; }
.hero-cta { display: flex; flex-wrap: wrap; gap: 12px; }
.hero-points { list-style: none; padding: 0; margin: 30px 0 0; display: flex; flex-wrap: wrap; gap: 10px 22px; font-size: 15px; color: rgba(255, 255, 255, .72); }
.hero-points li { display: flex; align-items: center; gap: 7px; }
.hero-points svg { width: 17px; height: 17px; fill: none; stroke: var(--green); stroke-width: 2.6; stroke-linecap: round; stroke-linejoin: round; }

/* ---------- maquette de téléphone ---------- */
.phone { justify-self: center; width: 300px; padding: 11px; border-radius: 46px; background: #05080F; box-shadow: 0 40px 80px rgba(0, 0, 0, .5), 0 0 0 1px rgba(255, 255, 255, .08), 0 0 90px rgba(255, 85, 0, .18); }
.ph-glass { position: relative; height: 590px; border-radius: 36px; overflow: hidden; background: #E8ECE4; }
.ph-status { position: absolute; z-index: 3; top: 0; left: 0; right: 0; height: 40px; display: flex; align-items: center; justify-content: space-between; padding: 0 24px; font: 700 13px Inter, system-ui, sans-serif; color: #0F172A; }
.ph-island { position: absolute; left: 50%; top: 9px; width: 86px; height: 24px; margin-left: -43px; border-radius: 14px; background: #05080F; }
.ph-bat { width: 22px; height: 11px; border: 1.5px solid #0F172A; border-radius: 3px; position: relative; }
.ph-bat::after { content: ""; position: absolute; inset: 1.5px 5px 1.5px 1.5px; background: #0F172A; border-radius: 1px; }
.ph-map { position: absolute; inset: 0; width: 100%; height: 360px; }
.m-bg { fill: #EEF0E8; }
.m-wood { fill: #CFE6C4; }
.m-water { fill: #B9D9F0; }
.m-road path { fill: none; stroke: #fff; stroke-width: 7; stroke-linecap: round; }
.m-path path { fill: none; stroke: #B79F80; stroke-width: 1.6; stroke-dasharray: 4 3; }
.m-route-glow { fill: none; stroke: #FF5500; stroke-opacity: .25; stroke-width: 14; stroke-linejoin: round; }
.m-route { fill: none; stroke: #FF5500; stroke-width: 5; stroke-linejoin: round; stroke-linecap: round; stroke-dasharray: 900; stroke-dashoffset: 900; animation: draw 2.6s .4s ease-out forwards; }
@keyframes draw { to { stroke-dashoffset: 0; } }
.m-start-o { fill: #fff; }
.m-start { fill: var(--green); }
.m-arrow path { fill: none; stroke: #fff; stroke-width: 2.4; stroke-linecap: round; }
.ph-brand { position: absolute; z-index: 2; top: 46px; left: 14px; display: flex; align-items: center; gap: 6px; padding: 6px 10px 6px 8px; border-radius: 12px; background: rgba(11, 19, 38, .9); color: #fff; font-weight: 800; font-size: 14px; letter-spacing: -.03em; }
.ph-brand img { width: 13px; height: 16px; }
.ph-brand i { font-style: normal; color: var(--orange); }
.ph-sheet { position: absolute; left: 0; right: 0; bottom: 0; padding: 8px 16px 20px; background: #fff; border-radius: 24px 24px 0 0; box-shadow: 0 -10px 30px rgba(11, 19, 38, .15); color: #0F172A; font-family: Inter, system-ui, sans-serif; }
.ph-grip { width: 38px; height: 4px; border-radius: 3px; background: #CBD5E1; margin: 0 auto 12px; }
.ph-title { display: flex; justify-content: space-between; align-items: center; gap: 8px; }
.ph-title b { font-size: 16px; letter-spacing: -.02em; white-space: nowrap; }
.ph-ok { font-size: 10px; font-weight: 700; color: #047857; background: #D1FAE5; padding: 3px 7px; border-radius: 999px; white-space: nowrap; }
.ph-kind { font-size: 12px; color: #5B6779; margin-top: 2px; }
.ph-stats { display: grid; grid-template-columns: repeat(3, 1fr); gap: 6px; margin-top: 12px; }
.ph-stats div { background: #F1F5F9; border-radius: 11px; padding: 7px 9px; }
.ph-stats small { display: block; font-size: 9.5px; font-weight: 700; letter-spacing: .06em; color: #5B6779; }
.ph-stats b { font-size: 15px; letter-spacing: -.02em; white-space: nowrap; }
.ph-stats div { min-width: 0; }
.ph-prof { display: block; width: 100%; height: 40px; margin-top: 10px; }
.ph-prof path { fill: rgba(255, 85, 0, .16); stroke: #FF5500; stroke-width: 1.5; }
.ph-btns { display: flex; gap: 8px; margin-top: 12px; }
.ph-go { flex: 1; text-align: center; background: var(--grad); color: #fff; font-weight: 700; font-size: 13px; padding: 11px 8px; border-radius: 12px; }
.ph-more { text-align: center; background: #F1F5F9; font-weight: 700; font-size: 13px; padding: 11px 12px; border-radius: 12px; }

/* ---------- bandeau ---------- */
.band { background: var(--navy-2); color: #fff; border-top: 1px solid rgba(255, 255, 255, .06); }
.band-in { display: grid; grid-template-columns: repeat(4, 1fr); }
.band-in > div { padding: 22px 20px; border-left: 1px solid rgba(255, 255, 255, .07); }
.band-in > div:first-child { border-left: 0; padding-left: 0; }
.band b { display: block; font-size: 34px; font-weight: 800; letter-spacing: -.03em; background: var(--grad); -webkit-background-clip: text; background-clip: text; color: transparent; }
.band span { font-size: 15px; color: rgba(255, 255, 255, .68); }

/* ---------- sections ---------- */
.section { padding: 60px 0; }
.section.alt { background: var(--surface-2); }
.section.dark { background: var(--navy); color: #fff; }
.sec-head { max-width: 680px; margin: 0 auto 32px; text-align: center; }
.sec-head h2 { font-size: clamp(28px, 3.4vw, 40px); font-weight: 800; margin: 10px 0 10px; }
.sec-head p { color: var(--muted); font-size: 18px; margin: 0; }
.sec-head.light p { color: rgba(255, 255, 255, .7); }
.eyebrow { font-size: 13px; font-weight: 800; letter-spacing: .14em; color: var(--orange); }

.features { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.feature { background: var(--surface); border: 1px solid var(--line); border-radius: 20px; padding: 26px; transition: transform .2s, box-shadow .2s; }
.feature:hover { transform: translateY(-2px); box-shadow: var(--shadow); }
.feature h3 { font-size: 19px; margin: 16px 0 8px; }
.feature p { margin: 0; color: var(--muted); font-size: 16px; }
.f-ic { display: inline-grid; place-items: center; width: 46px; height: 46px; border-radius: 13px; background: rgba(255, 85, 0, .1); color: var(--orange); }
.f-ic svg { width: 24px; height: 24px; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.f-ic.big { width: 64px; height: 64px; border-radius: 18px; }
.f-ic.big svg { width: 32px; height: 32px; }


/* activités */
.acts { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; align-items: start; }
.act { background: var(--surface); border: 1px solid var(--line); border-radius: 20px; padding: 24px; }
.act-h { display: flex; align-items: center; gap: 12px; margin-bottom: 14px; }
.act-h h3 { font-size: 22px; }
.act-ic { display: inline-grid; place-items: center; width: 48px; height: 48px; border-radius: 14px; background: var(--navy); color: var(--orange-2); }
.act-ic svg { width: 26px; height: 26px; fill: none; stroke: currentColor; stroke-width: 1.9; stroke-linecap: round; stroke-linejoin: round; }
.act ul { list-style: none; padding: 0; margin: 0; }
.act li { display: flex; justify-content: space-between; align-items: baseline; gap: 12px; padding: 11px 0; border-top: 1px solid var(--line); }
.act li b { font-size: 16px; }
.act li span { color: var(--muted); font-size: 14.5px; text-align: right; }

/* formes */
.shapes { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.shape { background: var(--surface); border: 1px solid var(--line); border-radius: 20px; padding: 24px; text-align: center; }
.shape svg { width: 100%; max-width: 200px; height: 110px; margin: 0 auto 8px; display: block; }
.s-r, .s-r2 { fill: none; stroke: var(--orange); stroke-width: 4; stroke-linecap: round; stroke-linejoin: round; }
.s-r2 { stroke: var(--orange-2); stroke-dasharray: 5 6; stroke-width: 3; }
.s-a { fill: var(--green); stroke: var(--surface); stroke-width: 3; }
.s-b { fill: var(--orange); stroke: var(--surface); stroke-width: 3; }
.s-t { fill: var(--surface); stroke: var(--orange); stroke-width: 3; }
.shape h3 { font-size: 20px; margin-bottom: 6px; }
.shape p { margin: 0; color: var(--muted); font-size: 15.5px; }

/* mes parcours */
.saved-in { display: grid; grid-template-columns: 1fr 1fr; gap: 64px; align-items: center; }
.saved-demo { display: grid; gap: 12px; }
.sv-card { display: flex; align-items: center; gap: 14px; background: var(--surface); border: 1px solid var(--line); border-radius: 18px; padding: 16px 18px; box-shadow: var(--shadow); }
.sv-card:nth-child(2) { margin-left: 28px; }
.sv-card:nth-child(3) { margin-left: 56px; }
.sv-ic { display: grid; place-items: center; width: 44px; height: 44px; border-radius: 12px; background: rgba(255, 85, 0, .1); font-size: 22px; }
.sv-card div { flex: 1; min-width: 0; }
.sv-card b { display: block; font-size: 16px; }
.sv-card small { color: var(--muted); font-size: 13.5px; }
.sv-n { font-size: 12.5px; font-weight: 700; color: #047857; background: #D1FAE5; padding: 4px 9px; border-radius: 999px; white-space: nowrap; }
.saved-txt h2 { font-size: clamp(28px, 3.2vw, 38px); font-weight: 800; margin: 12px 0 14px; }
.saved-txt p { color: var(--muted); font-size: 18px; margin: 0 0 20px; }
.checks { list-style: none; padding: 0; margin: 0; display: grid; gap: 10px; }
.checks li { position: relative; padding-left: 30px; font-weight: 600; }
.checks li::before { content: ""; position: absolute; left: 0; top: 3px; width: 20px; height: 20px; border-radius: 50%; background: var(--green) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M6 12l4 4 8-9' fill='none' stroke='%23fff' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center / 14px no-repeat; }

/* confidentialité */
.privacy { padding: 44px 0; }
.privacy-in { display: flex; gap: 28px; align-items: flex-start; max-width: 860px; }
.privacy h2 { font-size: 26px; font-weight: 800; margin-bottom: 8px; }
.privacy p { margin: 0; color: var(--muted); }

/* appel final */
.final { background: radial-gradient(700px 360px at 50% 0%, rgba(255, 85, 0, .28), transparent 70%), var(--navy); color: #fff; padding: 64px 0; text-align: center; }
.final h2 { font-size: clamp(32px, 4.4vw, 50px); font-weight: 800; }
.final p { color: rgba(255, 255, 255, .72); font-size: 19px; margin: 14px 0 32px; }

/* pied de page */
.footer { background: #070C17; color: rgba(255, 255, 255, .6); padding: 30px 0; font-size: 14px; }
.foot-in { display: flex; align-items: center; gap: 24px; flex-wrap: wrap; }
.footer p { margin: 0; flex: 1; min-width: 240px; }
.footer p a { color: rgba(255, 255, 255, .85); }
.foot-app { color: var(--orange-2); font-weight: 700; text-decoration: none; }
.footer .wordmark { font-size: 18px; }

/* bannière d'installation (téléphone) */
.install-banner { position: fixed; z-index: 80; left: 12px; right: 12px; bottom: calc(12px + env(safe-area-inset-bottom, 0px)); display: flex; align-items: center; gap: 12px; padding: 12px 10px 12px 12px; border-radius: 18px; background: var(--navy-2); color: #fff; box-shadow: 0 16px 40px rgba(0, 0, 0, .4); border: 1px solid rgba(255, 255, 255, .1); animation: up .3s ease-out; }
@keyframes up { from { transform: translateY(30px); opacity: 0; } }
.install-icon { width: 44px; height: 44px; border-radius: 11px; }
.install-text { flex: 1; min-width: 0; font-size: 13.5px; line-height: 1.35; color: rgba(255, 255, 255, .75); }
.install-text strong { display: block; color: #fff; font-size: 15px; }
.install-share svg { width: 15px; height: 15px; vertical-align: -2px; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.install-go { border: 0; background: var(--grad); color: #fff; font: 700 14px Inter, system-ui, sans-serif; padding: 10px 14px; border-radius: 11px; cursor: pointer; }
.install-close { border: 0; background: none; color: rgba(255, 255, 255, .6); padding: 6px; cursor: pointer; display: grid; }
.install-close svg { width: 20px; height: 20px; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .m-route { animation: none; stroke-dashoffset: 0; }
}

/* ---------- tablette ---------- */
@media (max-width: 960px) {
  .nav-links { display: none; }
  .lang-wrap { margin-left: auto; }
  .hero-in { grid-template-columns: 1fr; gap: 48px; }
  .hero-txt { text-align: center; }
  .lead { margin-left: auto; margin-right: auto; }
  .hero-cta, .hero-points { justify-content: center; }
  .features, .acts, .shapes { grid-template-columns: 1fr 1fr; }
  .band-in { grid-template-columns: 1fr 1fr; }
  .band-in > div:nth-child(3) { border-left: 0; padding-left: 0; }
  .band-in > div { border-top: 1px solid rgba(255, 255, 255, .07); }
  .band-in > div:nth-child(-n+2) { border-top: 0; }
  .saved-in { grid-template-columns: 1fr; gap: 40px; }
  .saved-txt { order: -1; }
}

/* ---------- téléphone ---------- */
@media (max-width: 620px) {
  .wrap { padding: 0 16px; }
  .nav-in { gap: 10px; height: 58px; }
  .hero { margin-top: -58px; padding: 84px 0 44px; }
  html { scroll-padding-top: 64px; }
  .btn-app { padding: 8px 11px; font-size: 14px; }
  .btn-app svg { display: none; }
  .wordmark { font-size: 19px; }
  .lead { font-size: 17px; }
  .hero-cta a { flex: 1 1 100%; justify-content: center; }
  .phone { width: 272px; }
  .ph-glass { height: 540px; }
  .ph-stats b { font-size: 13.5px; }
  .section { padding: 40px 0; }
  .sec-head { margin-bottom: 24px; }
  .sec-head p { font-size: 16.5px; }
  .features, .acts, .shapes { grid-template-columns: 1fr; }
  .feature { padding: 22px; }
  .band-in > div { padding: 22px 12px; }
  .band b { font-size: 28px; }
  .band span { font-size: 14px; }
  .sv-card:nth-child(n) { margin-left: 0; }
  .privacy-in { flex-direction: column; gap: 16px; }
  .final { padding: 48px 0; }
  .foot-in { flex-direction: column; align-items: flex-start; gap: 14px; }
}
.foot-ed { display: block; color: rgba(255, 255, 255, .85); font-weight: 600; margin-bottom: 4px; }
.install-share circle { fill: currentColor; stroke: none; }
.foot-links { display: inline-flex; gap: 18px; align-items: center; }
.foot-install { color: rgba(255, 255, 255, .85); font-weight: 700; text-decoration: none; }
.foot-install[hidden] { display: none; }
.beta-tag { display: inline-block; margin-left: 2px; padding: 2px 7px; border-radius: 999px; border: 1px solid rgba(255, 85, 0, .45); background: rgba(255, 85, 0, .14); color: #FF8A3D; font: 800 10px/1.2 Inter, system-ui, sans-serif; letter-spacing: .08em; text-transform: uppercase; white-space: nowrap; }
.brand .beta-tag { margin-left: 0; }
