/* Page d'accueil teramob.sn. Les pages légales gardent style.css. */
@font-face {
  font-family: "Jakarta";
  src: url("/fonts/jakarta-latin.woff2") format("woff2");
  font-weight: 200 800;
  font-display: swap;
}

:root {
  --navy: #1e293b;
  --navy-deep: #0f172a;
  --ink: #0f172a;
  --text: #334155;
  --muted: #64748b;
  --line: #e2e8f0;
  --sand: #fbf7f2;
  --white: #ffffff;
  --orange: #f97316;
  --orange-dark: #c2410c;
  --orange-soft: #fff7ed;
  --green: #059669;
  --radius: 20px;
  --shadow: 0 1px 2px rgb(15 23 42 / 0.04), 0 12px 32px -12px rgb(15 23 42 / 0.18);
  --wrap: 1140px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  background: var(--white);
  color: var(--text);
  font: 16px/1.65 "Jakarta", -apple-system, "Segoe UI", Roboto, Arial, sans-serif;
  -webkit-font-smoothing: antialiased;
}
img, svg { display: block; max-width: 100%; }
a { color: inherit; }
h1, h2, h3 { color: var(--ink); line-height: 1.15; margin: 0; letter-spacing: -0.02em; }
p { margin: 0; }
.wrap { max-width: var(--wrap); margin: 0 auto; padding: 0 20px; }
.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
:focus-visible { outline: 3px solid var(--orange); outline-offset: 3px; border-radius: 6px; }

/* --- En-tête ----------------------------------------------------------------- */
.top {
  position: sticky; top: 0; z-index: 20;
  background: rgb(255 255 255 / 0.86);
  backdrop-filter: saturate(1.6) blur(14px);
  -webkit-backdrop-filter: saturate(1.6) blur(14px);
  border-bottom: 1px solid transparent;
  transition: border-color .2s;
}
.top.scrolled { border-bottom-color: var(--line); }
.top .wrap { display: flex; align-items: center; gap: 24px; height: 72px; }
.top .logo img { height: 40px; width: auto; }
.top nav { display: flex; gap: 4px; margin-left: auto; }
.top nav a {
  text-decoration: none; font-size: 15px; font-weight: 500; color: var(--text);
  padding: 8px 12px; border-radius: 10px;
}
.top nav a:hover { background: #f1f5f9; color: var(--ink); }
.menu-btn { display: none; margin-left: auto; background: none; border: 0; padding: 10px; border-radius: 10px; cursor: pointer; color: var(--ink); }

.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  font: inherit; font-weight: 600; font-size: 15px; text-decoration: none; cursor: pointer;
  border-radius: 14px; padding: 12px 20px; border: 1px solid transparent;
  transition: transform .15s, background .15s, box-shadow .15s;
}
.btn:hover { transform: translateY(-1px); }
.btn-orange { background: var(--orange); color: #fff; box-shadow: 0 8px 20px -8px rgb(249 115 22 / .7); }
.btn-orange:hover { background: #ea580c; }
.btn-ghost { background: transparent; color: var(--ink); border-color: var(--line); }
.btn-ghost:hover { background: #f8fafc; }
.top .btn { padding: 9px 16px; font-size: 14px; }

/* --- Hero --------------------------------------------------------------------------- */
.hero {
  position: relative; overflow: hidden;
  background:
    radial-gradient(900px 500px at 85% -10%, rgb(249 115 22 / .22), transparent 60%),
    radial-gradient(700px 500px at -10% 110%, rgb(56 189 248 / .10), transparent 60%),
    var(--navy-deep);
  color: #cbd5e1;
}
.hero .wrap {
  display: grid; grid-template-columns: 1.1fr .9fr; gap: 48px; align-items: center;
  padding-top: 88px; padding-bottom: 104px;
}
.eyebrow {
  display: inline-flex; align-items: center; gap: 8px;
  font-size: 13px; font-weight: 600; letter-spacing: .02em;
  color: #fed7aa; background: rgb(249 115 22 / .12); border: 1px solid rgb(249 115 22 / .3);
  padding: 6px 12px; border-radius: 999px;
}
.eyebrow .dot { width: 7px; height: 7px; border-radius: 50%; background: var(--orange); box-shadow: 0 0 0 4px rgb(249 115 22 / .25); }
.hero h1 { color: #fff; font-size: clamp(38px, 5.4vw, 64px); font-weight: 800; margin: 22px 0 20px; }
.hero h1 em { font-style: normal; color: var(--orange); }
.hero .lead { font-size: 19px; max-width: 34em; color: #cbd5e1; }
.stores { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 36px; }
.store {
  display: flex; align-items: center; gap: 12px; min-width: 200px;
  background: rgb(255 255 255 / .06); border: 1px solid rgb(255 255 255 / .16);
  color: #fff; border-radius: 14px; padding: 10px 18px 10px 14px;
}
.store svg { width: 26px; height: 26px; flex: none; }
.store small { display: block; font-size: 11px; color: #94a3b8; line-height: 1.2; }
.store strong { display: block; font-size: 16px; line-height: 1.3; }
.hero .note { margin-top: 16px; font-size: 14px; color: #94a3b8; }
.hero .note a { color: #fdba74; }

/* Route décorative en fond */
.road { position: absolute; inset: auto 0 0 0; height: 140px; pointer-events: none; opacity: .5; }

/* Téléphone */
.phone-stage { position: relative; display: flex; justify-content: center; }
.phone {
  position: relative; width: 300px; aspect-ratio: 9 / 19;
  background: #0b1220; border-radius: 46px; padding: 12px;
  box-shadow: 0 0 0 2px #334155, 0 40px 80px -20px rgb(0 0 0 / .6), 0 0 120px -20px rgb(249 115 22 / .35);
}
.screen { height: 100%; border-radius: 36px; background: #f8fafc; overflow: hidden; display: flex; flex-direction: column; }
.notch { width: 96px; height: 26px; background: #0b1220; border-radius: 0 0 16px 16px; margin: 0 auto; flex: none; }
.app-head { padding: 14px 18px 10px; }
.app-head small { color: var(--muted); font-size: 11px; }
.app-head b { display: block; color: var(--ink); font-size: 18px; letter-spacing: -.01em; }
.search {
  margin: 4px 14px 12px; background: #fff; border-radius: 16px; padding: 10px 12px;
  box-shadow: 0 1px 2px rgb(15 23 42 / .06), 0 6px 16px -10px rgb(15 23 42 / .3); font-size: 12px; color: var(--ink);
}
.search .row { display: flex; align-items: center; gap: 8px; padding: 4px 0; }
.search .row + .row { border-top: 1px dashed var(--line); }
.pin { width: 8px; height: 8px; border-radius: 50%; border: 2px solid var(--navy); flex: none; }
.pin.to { background: var(--orange); border-color: var(--orange); }
.trip {
  margin: 0 14px 10px; background: #fff; border-radius: 16px; padding: 12px 14px;
  box-shadow: 0 1px 2px rgb(15 23 42 / .06); font-size: 12px; color: var(--text);
}
.trip .line { display: flex; justify-content: space-between; align-items: baseline; }
.trip .time { color: var(--ink); font-weight: 700; font-size: 14px; }
.trip .fare { color: var(--ink); font-weight: 800; font-size: 14px; }
.trip .route { display: flex; align-items: center; gap: 6px; margin: 4px 0 8px; color: var(--ink); font-weight: 600; }
.trip .route i { flex: 1; height: 2px; background: repeating-linear-gradient(90deg, #cbd5e1 0 4px, transparent 4px 8px); }
.trip .who { display: flex; align-items: center; gap: 8px; border-top: 1px solid #f1f5f9; padding-top: 8px; }
.avatar { width: 24px; height: 24px; border-radius: 50%; display: grid; place-items: center; font-size: 10px; font-weight: 700; color: #fff; flex: none; }
.badge-ok { margin-left: auto; color: var(--green); font-weight: 600; font-size: 10.5px; display: flex; align-items: center; gap: 3px; }
.float {
  position: absolute; background: #fff; color: var(--ink); border-radius: 16px; padding: 10px 14px;
  box-shadow: var(--shadow); font-size: 13px; display: flex; align-items: center; gap: 10px;
}
.float .ic { width: 32px; height: 32px; border-radius: 10px; display: grid; place-items: center; flex: none; }
.float small { display: block; color: var(--muted); font-size: 11px; line-height: 1.2; }
.float b { font-size: 13px; }
.float.f1 { left: -28px; top: 54%; }
.float.f2 { right: -48px; bottom: 9%; }

/* --- Sections ------------------------------------------------------------------- */
section { padding: 104px 0; }
.kicker { color: var(--orange-dark); font-weight: 700; font-size: 13px; letter-spacing: .08em; text-transform: uppercase; }
.title { font-size: clamp(30px, 3.6vw, 44px); font-weight: 800; margin: 10px 0 14px; }
.intro { font-size: 18px; color: var(--muted); max-width: 40em; }
.center { text-align: center; }
.center .intro { margin: 0 auto; }

/* Villes */
.cities { padding: 28px 0; border-bottom: 1px solid var(--line); background: var(--white); }
.cities .wrap { display: flex; align-items: center; gap: 24px; flex-wrap: wrap; justify-content: center; }
.cities p { font-size: 14px; color: var(--muted); font-weight: 500; }
.chips { display: flex; flex-wrap: wrap; gap: 8px; justify-content: center; }
.chip { font-size: 14px; font-weight: 600; color: var(--ink); background: #f8fafc; border: 1px solid var(--line); border-radius: 999px; padding: 7px 14px; display: inline-flex; align-items: center; gap: 8px; }
.chip svg { width: 14px; height: 14px; color: var(--orange); }

/* Comment ça marche */
.how { background: var(--sand); }
.tabs { display: inline-flex; gap: 4px; padding: 5px; background: #fff; border: 1px solid var(--line); border-radius: 16px; margin: 36px auto 40px; }
.tabs button {
  font: inherit; font-weight: 600; font-size: 15px; border: 0; cursor: pointer;
  padding: 10px 22px; border-radius: 12px; background: transparent; color: var(--muted);
}
.tabs button[aria-selected="true"] { background: var(--navy); color: #fff; }
.steps { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; list-style: none; margin: 0; padding: 0; counter-reset: s; text-align: left; }
.steps[hidden] { display: none; }
.step { background: #fff; border-radius: var(--radius); padding: 28px 24px; box-shadow: var(--shadow); position: relative; counter-increment: s; }
.step::before {
  content: counter(s); position: absolute; top: 24px; right: 24px;
  font-size: 44px; font-weight: 800; color: #f1f5f9; line-height: 1;
}
.step .ic { width: 48px; height: 48px; border-radius: 14px; background: var(--orange-soft); color: var(--orange-dark); display: grid; place-items: center; margin-bottom: 18px; }
.step .ic svg { width: 24px; height: 24px; }
.step h3 { font-size: 18px; margin-bottom: 8px; }
.step p { font-size: 15px; color: var(--muted); }

/* Confiance */
.trust .grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; margin-top: 56px; }
.feature { border: 1px solid var(--line); border-radius: var(--radius); padding: 28px; transition: border-color .2s, box-shadow .2s; }
.feature:hover { border-color: #fed7aa; box-shadow: var(--shadow); }
.feature .ic { width: 44px; height: 44px; border-radius: 12px; background: var(--navy); color: #fff; display: grid; place-items: center; margin-bottom: 18px; }
.feature .ic svg { width: 22px; height: 22px; }
.feature h3 { font-size: 18px; margin-bottom: 8px; }
.feature p { font-size: 15px; color: var(--muted); }

/* Prix */
.price { background: var(--navy-deep); color: #cbd5e1; position: relative; overflow: hidden; }
.price::after { content: ""; position: absolute; right: -200px; top: -200px; width: 600px; height: 600px; border-radius: 50%; background: radial-gradient(closest-side, rgb(249 115 22 / .25), transparent); }
.price .wrap { display: grid; grid-template-columns: 1fr 1fr; gap: 64px; align-items: center; position: relative; z-index: 1; }
.price .title { color: #fff; }
.price .intro { color: #94a3b8; }
.ticks { list-style: none; padding: 0; margin: 28px 0 0; display: grid; gap: 14px; }
.ticks li { display: flex; gap: 12px; align-items: flex-start; }
.ticks svg { width: 22px; height: 22px; flex: none; color: var(--orange); margin-top: 2px; }
.ticks b { color: #fff; }
.receipt { background: #fff; color: var(--text); border-radius: 24px; padding: 28px; box-shadow: 0 40px 80px -30px rgb(0 0 0 / .6); max-width: 420px; justify-self: end; width: 100%; }
.receipt h3 { font-size: 15px; color: var(--muted); font-weight: 600; }
.receipt .route { font-size: 22px; font-weight: 800; color: var(--ink); margin: 6px 0 20px; display: flex; align-items: center; gap: 10px; }
.receipt .route svg { width: 20px; color: var(--orange); }
.receipt dl { margin: 0; display: grid; gap: 12px; font-size: 15px; }
.receipt dl div { display: flex; justify-content: space-between; gap: 12px; }
.receipt dt { color: var(--muted); }
.receipt dd { margin: 0; font-weight: 600; color: var(--ink); text-align: right; }
.receipt .total { border-top: 1px dashed var(--line); padding-top: 14px; margin-top: 4px; font-size: 17px; }
.receipt .total dd { font-size: 22px; font-weight: 800; }
.pay { display: flex; gap: 8px; margin-top: 20px; }
.pay span { flex: 1; text-align: center; font-size: 13px; font-weight: 700; padding: 10px; border-radius: 12px; }
.pay .wave { background: #e0f2fe; color: #075985; }
.pay .om { background: var(--orange-soft); color: var(--orange-dark); }

/* Chauffeurs */
.drivers .wrap { display: grid; grid-template-columns: .95fr 1.05fr; gap: 64px; align-items: center; }
.drive-card { background: linear-gradient(160deg, var(--orange) 0%, #ea580c 100%); color: #fff; border-radius: 28px; padding: 40px; position: relative; overflow: hidden; }
.drive-card::before { content: ""; position: absolute; inset: auto -60px -60px auto; width: 220px; height: 220px; border-radius: 50%; border: 36px solid rgb(255 255 255 / .12); }
.drive-card .big { font-size: 56px; font-weight: 800; line-height: 1; letter-spacing: -.03em; }
.drive-card p { color: #ffedd5; margin-top: 8px; }
.drive-card .split { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; margin-top: 32px; position: relative; }
.drive-card .split div { background: rgb(255 255 255 / .14); border-radius: 16px; padding: 16px; }
.drive-card .split b { display: block; font-size: 24px; }
.drive-card .split small { color: #ffedd5; font-size: 13px; }
.list { list-style: none; padding: 0; margin: 28px 0 32px; display: grid; gap: 18px; }
.list li { display: flex; gap: 14px; }
.list .ic { width: 40px; height: 40px; border-radius: 12px; background: var(--orange-soft); color: var(--orange-dark); display: grid; place-items: center; flex: none; }
.list .ic svg { width: 20px; height: 20px; }
.list b { color: var(--ink); display: block; }
.list span { color: var(--muted); font-size: 15px; }

/* FAQ */
.faq { background: var(--sand); }
.faq .wrap { max-width: 820px; }
.qa { margin-top: 48px; display: grid; gap: 12px; }
details { background: #fff; border-radius: 16px; border: 1px solid var(--line); }
details[open] { box-shadow: var(--shadow); border-color: transparent; }
summary {
  list-style: none; cursor: pointer; padding: 20px 56px 20px 24px; position: relative;
  font-weight: 700; color: var(--ink); font-size: 17px;
}
summary::-webkit-details-marker { display: none; }
summary::after {
  content: ""; position: absolute; right: 24px; top: 50%; width: 10px; height: 10px; margin-top: -7px;
  border-right: 2px solid var(--muted); border-bottom: 2px solid var(--muted); transform: rotate(45deg); transition: transform .2s;
}
details[open] summary::after { transform: rotate(-135deg); margin-top: -2px; }
details > div { padding: 0 24px 22px; color: var(--muted); font-size: 15.5px; }
details > div p + p { margin-top: 10px; }
details a { color: var(--orange-dark); font-weight: 600; }

/* Appel final */
.cta { padding: 0 0 104px; background: var(--sand); }
.cta-box {
  background: var(--navy); border-radius: 32px; padding: 64px 48px; text-align: center; color: #cbd5e1;
  position: relative; overflow: hidden;
}
.cta-box::before { content: ""; position: absolute; left: 50%; top: -260px; width: 700px; height: 500px; transform: translateX(-50%); background: radial-gradient(closest-side, rgb(249 115 22 / .3), transparent); }
.cta-box > * { position: relative; }
.cta-box h2 { color: #fff; font-size: clamp(28px, 3.4vw, 40px); font-weight: 800; }
.cta-box p { margin: 14px auto 0; max-width: 36em; }
.cta-box .stores { justify-content: center; }

/* Pied de page */
footer.site { background: var(--navy-deep); color: #94a3b8; padding: 64px 0 32px; font-size: 14px; }
.foot { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1fr; gap: 40px; }
.foot img { height: 40px; width: auto; }
.foot p { margin-top: 16px; max-width: 26em; }
.foot h4 { color: #fff; font-size: 14px; margin: 0 0 14px; }
.foot ul { list-style: none; padding: 0; margin: 0; display: grid; gap: 10px; }
.foot a { text-decoration: none; }
.foot a:hover { color: #fff; }
.legal { border-top: 1px solid #1e293b; margin-top: 48px; padding-top: 24px; display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap; }

/* Apparition au défilement */
.reveal { opacity: 0; transform: translateY(18px); transition: opacity .7s ease, transform .7s ease; }
.reveal.in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .reveal { opacity: 1; transform: none; transition: none; }
  .btn:hover { transform: none; }
}

/* --- Tablette et téléphone ------------------------------------------------------- */
@media (max-width: 980px) {
  .hero .wrap, .price .wrap, .drivers .wrap { grid-template-columns: 1fr; gap: 56px; }
  .hero .wrap { padding-top: 56px; padding-bottom: 80px; }
  .steps { grid-template-columns: repeat(2, 1fr); }
  .trust .grid { grid-template-columns: repeat(2, 1fr); }
  .receipt { justify-self: start; }
  .foot { grid-template-columns: 1fr 1fr; }
  .drivers .drive-card { order: 2; }
}
@media (max-width: 760px) {
  .top nav, .top .btn { display: none; }
  .menu-btn { display: block; }
  .top.open nav {
    display: flex; flex-direction: column; position: absolute; top: 72px; left: 0; right: 0;
    background: #fff; border-bottom: 1px solid var(--line); padding: 8px 12px 16px; gap: 2px;
  }
  .top.open nav a { padding: 12px; font-size: 16px; }
  section { padding: 72px 0; }
  .hero h1 { margin-top: 18px; }
  .hero .lead { font-size: 17px; }
  .store { flex: 1 1 100%; }
  .phone { width: 260px; }
  .float.f1 { left: 0; }
  .float.f2 { right: 0; }
  .steps, .trust .grid { grid-template-columns: 1fr; }
  .tabs { display: flex; margin-left: 0; margin-right: 0; }
  .tabs button { flex: 1; padding: 10px 8px; }
  .drive-card { padding: 28px; }
  .drive-card .big { font-size: 44px; }
  .cta { padding-bottom: 72px; }
  .cta-box { padding: 48px 22px; border-radius: 24px; }
  .foot { grid-template-columns: 1fr; gap: 28px; }
}
