/* Flit : mêmes couleurs que l'app (lib/theme/app_colors.dart) */
:root {
  --yellow: #F7BB2B;
  --yellow-soft: #FFF4CC;
  --black: #111111;
  --muted: #7A7A82;
  --page: #F3F4F6;
  --card: #FFFFFF;
  --row: #F6F7F9;
  --radius: 26px;
  --font: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Helvetica, Arial, sans-serif;
}

* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body { margin: 0; background: var(--card); color: var(--black); font-family: var(--font); line-height: 1.5; }
a { color: inherit; }
img { max-width: 100%; display: block; }

.wrap { width: 100%; max-width: 1080px; margin: 0 auto; padding: 0 20px; }

/* En-tête fixe, comme l'inspiration : nom à gauche, bouton à droite */
.top { position: sticky; top: 0; z-index: 10; background: rgba(255, 255, 255, .92); backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px); border-bottom: 1px solid #EDEDF0; }
.top .wrap { display: flex; align-items: center; justify-content: space-between; height: 68px; }
.logo { font-weight: 800; font-size: 26px; letter-spacing: -.5px; text-decoration: none; }
.logo span { color: var(--yellow); }

.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; min-height: 48px; padding: 0 24px; border-radius: 999px; background: var(--yellow); color: var(--black); font-weight: 600; font-size: 16px; text-decoration: none; border: 0; }
.btn.small { min-height: 40px; padding: 0 18px; font-size: 15px; }
.btn.dark { background: var(--black); color: #fff; }

/* Grand titre */
.hero { text-align: center; padding: 64px 0 24px; }
.hero h1 { margin: 0 auto; max-width: 820px; font-size: clamp(42px, 9vw, 88px); line-height: 1.02; font-weight: 800; letter-spacing: -2px; }
.hero p { margin: 20px auto 28px; max-width: 520px; font-size: 18px; color: var(--muted); }
.soon { margin-top: 14px; font-size: 14px; color: var(--muted); }

/* Téléphone : reprend l'écran d'accueil de l'app */
.phone { width: 270px; height: 470px; margin: 48px auto 0; border-radius: 44px; background: var(--black); padding: 12px; box-shadow: 0 30px 60px rgba(0, 0, 0, .18); }
.screen { height: 100%; border-radius: 34px; background: var(--page); display: flex; flex-direction: column; align-items: center; padding: 40px 18px 18px; }
.halo { position: relative; width: 150px; height: 150px; border-radius: 50%; background: var(--yellow-soft); display: grid; place-items: center; }
.halo .inner { width: 100px; height: 100px; border-radius: 50%; background: #fff; display: grid; place-items: center; }
.halo .badge { position: absolute; right: 8px; bottom: 14px; width: 40px; height: 40px; border-radius: 50%; background: var(--yellow); border: 3px solid #fff; display: grid; place-items: center; }
.screen h2 { margin: 26px 0 0; font-size: 19px; white-space: nowrap; line-height: 1.2; font-weight: 600; text-align: center; }
.dots { display: flex; gap: 5px; margin: 16px 0 auto; }
.dots i { width: 6px; height: 6px; border-radius: 3px; background: #DDDDE2; }
.dots i:first-child { width: 22px; background: var(--yellow); }
.fake-btn { width: 100%; height: 42px; border-radius: 999px; display: grid; place-items: center; font-size: 14px; font-weight: 600; margin-top: 8px; background: var(--yellow); }
.fake-btn.grey { background: #E8E8EB; }

/* Sections */
section { padding: 72px 0; }
.title { text-align: center; margin: 0 auto 36px; max-width: 760px; font-size: clamp(34px, 6.5vw, 60px); line-height: 1.05; font-weight: 800; letter-spacing: -1.5px; }
.lead { text-align: center; margin: -20px auto 36px; max-width: 520px; color: var(--muted); font-size: 17px; }

.grid { display: grid; gap: 14px; grid-template-columns: repeat(auto-fit, minmax(230px, 1fr)); }
.card { background: var(--row); border-radius: var(--radius); padding: 24px; }
.card h3 { margin: 0 0 6px; font-size: 18px; font-weight: 600; }
.card p { margin: 0; color: var(--muted); font-size: 15px; }
.num { width: 36px; height: 36px; border-radius: 50%; background: var(--yellow); display: grid; place-items: center; font-weight: 800; margin-bottom: 16px; }

.ride { text-align: center; }
/* multiply : le fond blanc des images disparaît sur la carte grise */
.ride img { height: 96px; width: auto; margin: 0 auto 14px; object-fit: contain; mix-blend-mode: multiply; }
.rides { grid-template-columns: repeat(4, 1fr); }

.band { background: var(--black); color: #fff; border-radius: 32px; padding: 48px 28px; text-align: center; }
.band h2 { margin: 0 0 10px; font-size: clamp(30px, 5vw, 44px); line-height: 1.1; font-weight: 800; letter-spacing: -1px; }
.band p { margin: 0 auto 24px; max-width: 460px; color: #B9B9C0; }

/* Pied de page */
footer { border-top: 1px solid #EDEDF0; padding: 36px 0 48px; color: var(--muted); font-size: 14px; }
footer .wrap { display: flex; flex-wrap: wrap; gap: 16px 28px; align-items: center; justify-content: space-between; }
footer nav { display: flex; flex-wrap: wrap; gap: 10px 22px; }
footer nav a { text-decoration: none; }
footer nav a:hover { color: var(--black); }

/* Pages de texte (conditions, confidentialité, à propos, support) */
.doc { max-width: 720px; padding: 48px 20px 72px; margin: 0 auto; }
.doc h1 { font-size: clamp(34px, 6vw, 52px); line-height: 1.05; font-weight: 800; letter-spacing: -1.2px; margin: 0 0 8px; }
.doc .date { color: var(--muted); margin: 0 0 36px; font-size: 15px; }
.doc h2 { font-size: 21px; font-weight: 700; margin: 36px 0 10px; }
.doc p, .doc li { font-size: 16px; color: #3A3A40; }
.doc ul { padding-left: 20px; }
.doc li { margin: 6px 0; }
.doc .box { background: var(--row); border-radius: 20px; padding: 18px 20px; margin: 20px 0; }

@media (max-width: 520px) {
  .top .wrap { height: 60px; }
  .logo { font-size: 23px; }
  .hero { padding-top: 44px; }
  .hero h1 { letter-spacing: -1.2px; }
  section { padding: 56px 0; }
}
@media (max-width: 860px) {
  .rides { grid-template-columns: repeat(2, 1fr); gap: 10px; }
  .rides .card { padding: 18px 12px; }
  .ride img { height: 72px; }
}
