/* =========================================================================
   Wyvo — site vitrine
   Thèmes : clair (défaut, façon Uber) · .t-dark (Wyvo Pro) · .t-green (Teens)
   Principes : pas de pastilles, pas de titres de section, pas de gros
   encadrés. Sections blanches ou gris clair, cartes blanches sobres.
   ========================================================================= */

:root {
  --bg: #ffffff;
  --bg-alt: #f3f4f2;
  --ink: #0e1110;
  --soft: #545b58;
  --grey: #767d79;
  --line: #e5e8e3;
  --line-2: #d9ddd7;
  --field: #f3f4f2;

  --brand: #35d461;
  --green: #63cd84;
  --green-dark: #2e8b53;
  --green-ink: #0b2f1a;
  --green-soft: #e9f8ee;
  --lime: #cdee7a;
  --lime-dark: #bce362;

  --r: 12px;
  --shadow: 0 2px 6px rgba(16, 19, 18, .06), 0 18px 48px rgba(16, 19, 18, .12);
  --ease: cubic-bezier(.2, .7, .2, 1);
  --hdr: 68px;
  --gutter: 24px;
  --maxw: 1200px;
}
.t-dark {
  --bg: #000000;
  --bg-alt: #0b0c0c;
  --ink: #ffffff;
  --soft: #a3aaa6;
  --grey: #7f8783;
  --line: #1f2221;
  --line-2: #2c302e;
}
.t-green {
  --ink: #0b2f1a;
  --soft: #2f5a40;
  --grey: #4f7360;
  --line: #d3eadb;
  --bg-alt: #e9f8ee;
}

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: calc(var(--hdr) + 16px); }
body {
  font-family: "Open Sans", system-ui, -apple-system, "Segoe UI", Roboto, Arial, sans-serif;
  font-size: 16px; line-height: 1.6; color: var(--ink); background: var(--bg);
  -webkit-font-smoothing: antialiased; -moz-osx-font-smoothing: grayscale; overflow-x: hidden;
}
img, svg { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button, input, select, textarea { font: inherit; color: inherit; }
button { cursor: pointer; background: none; border: 0; }
:focus-visible { outline: 2px solid var(--brand); outline-offset: 3px; border-radius: 6px; }
::selection { background: var(--lime); color: #0b2f1a; }
[hidden] { display: none !important; }

.wrap { width: 100%; max-width: calc(var(--maxw) + var(--gutter) * 2); margin: 0 auto; padding: 0 var(--gutter); }
.wrap-narrow { max-width: calc(820px + var(--gutter) * 2); }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
@media (max-width: 560px) { :root { --gutter: 16px; } }

/* ---------- Typographie ---------- */
h1, h2, h3, h4 { font-weight: 700; letter-spacing: -.03em; line-height: 1.08; color: var(--ink); }
.h-xl { font-size: clamp(40px, 5.6vw, 72px); letter-spacing: -.045em; line-height: 1.02; }
.h-lg { font-size: clamp(32px, 4.2vw, 52px); letter-spacing: -.04em; line-height: 1.05; }
.h-md { font-size: clamp(24px, 2.8vw, 34px); letter-spacing: -.03em; }
.h-sm { font-size: 20px; letter-spacing: -.02em; line-height: 1.25; }
.lead { font-size: clamp(17px, 1.5vw, 19px); color: var(--soft); line-height: 1.6; max-width: 620px; }
.muted { color: var(--soft); }
.small { font-size: 14px; }
.tiny { font-size: 12.5px; color: var(--grey); }

/* ---------- Boutons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  height: 52px; padding: 0 24px; border-radius: 100px;
  font-weight: 600; font-size: 16px; letter-spacing: -.01em; white-space: nowrap;
  transition: transform .2s var(--ease), background .2s, color .2s, border-color .2s;
}
.btn:active { transform: scale(.98); }
.btn svg { width: 18px; height: 18px; }
.btn-dark { background: #0e1110; color: #fff; }
.btn-dark:hover { background: #2a2e2c; }
.btn-light { background: #fff; color: #0e1110; }
.btn-light:hover { background: #e9ece8; }
.btn-green { background: var(--brand); color: #04180b; }
.btn-green:hover { background: #4fe076; }
.btn-lime { background: linear-gradient(180deg, #d8f38d, #cdee7a 55%, #bfe463); color: #1b2410; }
.btn-lime:hover { filter: brightness(1.04); }
.btn-ghost { border: 1px solid var(--line-2); color: var(--ink); background: transparent; }
.btn-ghost:hover { border-color: var(--ink); }
.btn-text { color: var(--ink); }
.btn-text:hover { background: var(--bg-alt); }
.btn-sm { height: 40px; padding: 0 18px; font-size: 14.5px; }
.btn-block { width: 100%; }
.btn[aria-disabled="true"], .btn:disabled { opacity: .5; pointer-events: none; }
.link-arrow { display: inline-flex; align-items: center; gap: 6px; font-weight: 600; border-bottom: 1px solid currentColor; padding-bottom: 1px; width: fit-content; }
.link-arrow svg { width: 16px; height: 16px; transition: transform .2s var(--ease); }
.link-arrow:hover svg { transform: translateX(3px); }

/* ---------- Icônes ---------- */
.ic { width: 20px; height: 20px; flex: 0 0 auto; stroke: currentColor; fill: none; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.illu { width: 56px; height: 56px; flex: 0 0 auto; }

/* =========================================================================
   En-tête
   ========================================================================= */
.hdr-slot { height: var(--hdr); }
.hdr {
  position: fixed; inset: 0 0 auto 0; z-index: 100; height: var(--hdr);
  background: color-mix(in srgb, var(--bg) 92%, transparent);
  backdrop-filter: saturate(1.6) blur(16px); -webkit-backdrop-filter: saturate(1.6) blur(16px);
  border-bottom: 1px solid transparent; transition: border-color .25s;
}
.hdr.scrolled { border-bottom-color: var(--line); }
.hdr .wrap { height: 100%; display: flex; align-items: center; gap: 28px; }
.brand { display: inline-flex; align-items: center; }
.brand img { height: 26px; width: auto; }
.brand-pro img { height: 40px; }
.nav { display: flex; align-items: center; gap: 2px; flex: 1; }
.nav > a, .nav-dd > button {
  display: inline-flex; align-items: center; gap: 6px; height: 38px; padding: 0 14px; border-radius: 100px;
  font-size: 14.5px; font-weight: 600; color: var(--ink); transition: background .2s;
}
.nav > a:hover, .nav-dd > button:hover, .nav-dd.open > button, .nav > a[aria-current="page"] { background: var(--bg-alt); }
.t-dark .nav > a:hover, .t-dark .nav-dd > button:hover, .t-dark .nav-dd.open > button, .t-dark .nav > a[aria-current="page"] { background: #161817; }
.nav-dd { position: relative; }
.nav-dd > button .ic { width: 16px; height: 16px; transition: transform .25s var(--ease); }
.nav-dd.open > button .ic { transform: rotate(180deg); }
.dd-panel, .me-panel {
  position: absolute; top: calc(100% + 10px); left: -8px; width: 380px;
  background: #fff; color: #0e1110; border-radius: 16px; padding: 8px;
  box-shadow: 0 0 0 1px rgba(16, 19, 18, .06), 0 24px 60px rgba(16, 19, 18, .18);
  opacity: 0; transform: translateY(-6px); pointer-events: none; transition: opacity .2s, transform .25s var(--ease);
}
.nav-dd.open .dd-panel, .me.open .me-panel { opacity: 1; transform: none; pointer-events: auto; }
.dd-item { display: flex; gap: 14px; align-items: center; padding: 12px; border-radius: 10px; transition: background .15s; }
.dd-item:hover, .dd-item:focus-visible { background: #f3f4f2; }
.dd-item .illu { width: 44px; height: 44px; }
.dd-item b { display: block; font-size: 15px; font-weight: 700; letter-spacing: -.01em; }
.dd-item span { display: block; font-size: 13px; color: #545b58; line-height: 1.4; }
.hdr-cta { display: flex; align-items: center; gap: 6px; }
.burger { display: none; width: 42px; height: 42px; border-radius: 50%; align-items: center; justify-content: center; }
.burger:hover { background: var(--bg-alt); }

/* Avatar connecté */
.me { position: relative; }
.me > button { display: inline-flex; align-items: center; gap: 8px; height: 40px; padding: 0 5px 0 14px; border-radius: 100px; background: var(--bg-alt); font-weight: 600; font-size: 14.5px; }
.t-dark .me > button { background: #161817; }
.avatar { width: 30px; height: 30px; border-radius: 50%; background: #0e1110; color: #fff; display: inline-flex; align-items: center; justify-content: center; font-size: 13px; font-weight: 700; overflow: hidden; flex: 0 0 auto; }
.avatar img { width: 100%; height: 100%; object-fit: cover; }
.t-dark .avatar { background: #fff; color: #000; }
.me-panel { left: auto; right: 0; width: 280px; }
.me-head { padding: 14px 12px 12px; border-bottom: 1px solid #eceee9; margin-bottom: 6px; }
.me-head b { display: block; font-size: 17px; letter-spacing: -.01em; }
.me-head span { font-size: 13px; color: #545b58; word-break: break-all; }
.me-panel a, .me-panel button { display: flex; width: 100%; align-items: center; gap: 12px; padding: 11px 12px; border-radius: 10px; font-size: 15px; font-weight: 600; text-align: left; color: #0e1110; }
.me-panel a:hover, .me-panel button:hover { background: #f3f4f2; }
.me-panel .ic { width: 18px; height: 18px; }

.mnav {
  position: fixed; inset: var(--hdr) 0 0 0; z-index: 99; background: var(--bg);
  padding: 12px var(--gutter) 40px; overflow-y: auto;
  opacity: 0; transform: translateY(-8px); pointer-events: none; transition: opacity .2s, transform .25s var(--ease);
}
.mnav.open { opacity: 1; transform: none; pointer-events: auto; }
.mnav a.m-link { display: flex; justify-content: space-between; align-items: center; padding: 16px 0; font-size: 22px; font-weight: 700; letter-spacing: -.02em; border-bottom: 1px solid var(--line); }
.mnav .m-group { padding: 18px 0 8px; border-bottom: 1px solid var(--line); }
.mnav .m-group > p { font-size: 15px; font-weight: 700; color: var(--grey); margin-bottom: 6px; }
.mnav .m-group .dd-item { padding: 10px 0; }
.t-dark .mnav .dd-item b { color: #fff; }
.t-dark .mnav .dd-item span { color: #a3aaa6; }
.mnav .dd-item:hover { background: transparent; }
.mnav .m-actions { display: grid; gap: 10px; margin-top: 24px; }

@media (max-width: 980px) {
  .nav { display: none; }
  .hdr-cta .btn-text { display: none; }
  .burger { display: inline-flex; }
  .hdr-cta { margin-left: auto; }
  .hdr .wrap { gap: 8px; }
}
@media (max-width: 420px) { .hdr-cta > .btn, .me > button > span:first-child { display: none; } .me > button { padding: 0 5px; } }

/* =========================================================================
   Sections génériques
   ========================================================================= */
.section { padding: clamp(72px, 10vw, 120px) 0; }
.section-sm { padding: clamp(48px, 7vw, 80px) 0; }
.section-alt { background: var(--bg-alt); }
.section-head { display: grid; gap: 16px; margin-bottom: clamp(36px, 5vw, 56px); max-width: 760px; }
.section-head.center { text-align: center; margin-left: auto; margin-right: auto; justify-items: center; }
.grid-2 { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(32px, 5vw, 72px); align-items: center; }
.grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 40px clamp(24px, 4vw, 56px); }
.grid-2 > *, .grid-3 > * { min-width: 0; }
@media (max-width: 900px) { .grid-2, .grid-3 { grid-template-columns: 1fr; } }

/* Élément simple : illustration + titre + texte, sans encadré */
.item h3 { font-size: 19px; letter-spacing: -.02em; margin: 20px 0 8px; line-height: 1.3; }
.item p { color: var(--soft); font-size: 15.5px; }
.item .link-arrow { margin-top: 14px; }
.item .illu { width: 52px; height: 52px; }

/* Carte blanche façon Uber (sur fond gris) */
.ucards { display: grid; gap: 16px; }
.ucards.cols-2 { grid-template-columns: 1fr 1fr; }
.ucards.cols-3 { grid-template-columns: repeat(3, 1fr); }
@media (max-width: 900px) { .ucards.cols-2, .ucards.cols-3 { grid-template-columns: 1fr; } }
.ucard { display: flex; align-items: center; gap: 28px; padding: 28px 32px; border-radius: var(--r); background: #fff; color: #0e1110; transition: background .2s; }
a.ucard:hover { background: #fafbf9; }
.ucard .u-body { flex: 1; min-width: 0; }
.ucards > * { min-width: 0; }
.ucard .u-title { overflow-wrap: anywhere; }
.ucard .u-title { font-size: clamp(20px, 2vw, 26px); font-weight: 700; letter-spacing: -.025em; line-height: 1.2; }
.ucard .u-sub { font-size: 15px; color: #545b58; margin-top: 4px; }
.ucard .u-arrow { width: 26px; height: 26px; flex: 0 0 auto; transition: transform .2s var(--ease); }
a.ucard:hover .u-arrow { transform: translateX(4px); }
.ucard .qr { width: 132px; flex: 0 0 auto; }
.ucard .illu { width: 48px; height: 48px; }
.ucard.big .u-title { font-size: clamp(26px, 3vw, 34px); }
.t-dark .ucard { background: #111312; color: #fff; }
.t-dark a.ucard:hover { background: #171a18; }
.t-dark .ucard .u-sub { color: #a3aaa6; }
@media (max-width: 560px) { .ucard { padding: 22px; gap: 16px; } .ucard .qr { width: 96px; } .ucard.big .u-title { font-size: 22px; } .ucard .illu { width: 40px; height: 40px; } }

.lines { border-top: 1px solid var(--line); }
.lines > * { border-bottom: 1px solid var(--line); }

/* Apparition au défilement */
.reveal { opacity: 0; transform: translateY(24px); transition: opacity .8s var(--ease), transform .8s var(--ease); transition-delay: var(--d, 0s); }
.reveal.in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .reveal { opacity: 1; transform: none; transition: none; }
  *, *::before, *::after { animation-duration: .01ms !important; transition-duration: .01ms !important; }
}

/* =========================================================================
   Téléphone (maquette)
   ========================================================================= */
.phone {
  position: relative; width: min(300px, 78vw); height: max-content;
  border-radius: 50px; padding: 10px; background: #0b0c0c;
  box-shadow: inset 0 0 0 2px #2b2e2d, 0 2px 4px rgba(0,0,0,.08), 0 30px 80px rgba(16, 19, 18, .2);
  flex: 0 0 auto;
}
.phone::after { content: ""; position: absolute; top: 19px; left: 50%; width: 31%; height: 3.4%; transform: translateX(-50%); background: #000; border-radius: 40px; z-index: 3; }
.phone .screen { position: relative; width: 100%; aspect-ratio: 1179 / 2556; border-radius: 41px; overflow: hidden; background: #eef1ef; }
.phone .screen img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.phone .screen img.incoming { opacity: 0; transition: opacity .6s ease; }
.phone .screen img.incoming.show { opacity: 1; }
.phone-sm { width: min(250px, 66vw); border-radius: 42px; padding: 8px; }
.phone-sm::after { top: 16px; }
.phone-sm .screen { border-radius: 35px; }
.t-dark .phone { box-shadow: inset 0 0 0 2px #2b2e2d, 0 0 0 1px #1f2221; }
.duo { display: flex; gap: 20px; justify-content: center; }
@media (max-width: 560px) {
  .duo { gap: 12px; }
  .duo .phone-sm { width: 43vw; border-radius: 30px; padding: 6px; }
  .duo .phone-sm .screen { border-radius: 25px; }
  .duo .phone-sm::after { top: 11px; }
}

/* =========================================================================
   Accueil — héros + estimateur
   ========================================================================= */
.hero { padding: clamp(32px, 5vw, 64px) 0 clamp(56px, 7vw, 96px); }
.hero-grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.05fr); gap: clamp(28px, 4vw, 64px); align-items: stretch; }
.hero-copy { display: flex; flex-direction: column; gap: 22px; padding-top: 8px; }
.hero-copy h1 { font-size: clamp(40px, 4.3vw, 62px); }
.hero-visual { border-radius: 16px; background: var(--bg-alt); display: flex; align-items: center; justify-content: center; padding: 48px 24px; min-height: 520px; }
.hero-photo { position: relative; border-radius: 16px; overflow: hidden; min-height: 520px; background: var(--bg-alt); }
.hero-photo img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
@media (max-width: 980px) { .hero-grid { grid-template-columns: 1fr; } .hero-visual { min-height: 0; } .hero-photo { min-height: 0; aspect-ratio: 4 / 3; } }

.estimator { background: #fff; border-radius: 16px; padding: 18px; box-shadow: var(--shadow); margin-top: 6px; color: #0e1110; }
.seg { display: inline-flex; padding: 4px; gap: 2px; border-radius: 100px; background: #f1f2f0; margin-bottom: 14px; }
.seg button { white-space: nowrap; height: 34px; padding: 0 16px; border-radius: 100px; font-size: 14px; font-weight: 600; color: #545b58; transition: background .2s, color .2s; }
.seg button[aria-pressed="true"] { background: #fff; color: #0e1110; box-shadow: 0 1px 3px rgba(16,19,18,.12); }
.fields { position: relative; border-radius: 12px; background: var(--field); }
.fields::before { content: ""; position: absolute; left: 22.5px; top: 30px; bottom: 30px; width: 2px; background: #c9cec9; border-radius: 2px; }
.field { position: relative; display: flex; align-items: center; gap: 14px; padding: 0 12px 0 18px; height: 60px; }
.field + .field { border-top: 1px solid #e3e6e1; margin-left: 46px; padding-left: 0; }
.field + .field .mark { position: absolute; left: -28px; }
.field .mark { width: 11px; height: 11px; flex: 0 0 auto; z-index: 1; }
.mark.start { border-radius: 50%; background: #0e1110; box-shadow: 0 0 0 3px var(--field); }
.mark.end { border-radius: 3px; background: var(--brand); box-shadow: 0 0 0 3px var(--field); }
.field label { position: absolute; left: 47px; top: 9px; font-size: 11px; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; color: #767d79; pointer-events: none; }
.field + .field label { left: 0; }
.field input { flex: 1; min-width: 0; height: 100%; padding-top: 16px; border: 0; background: transparent; font-size: 16px; font-weight: 600; outline: none; }
.field input::placeholder { color: #9ba19d; font-weight: 500; }
.field .fbtn { width: 36px; height: 36px; border-radius: 50%; display: inline-flex; align-items: center; justify-content: center; color: #545b58; }
.field .fbtn:hover { background: #e9ece8; color: #0e1110; }
.swap { position: absolute; right: 12px; top: 50%; transform: translateY(-50%); z-index: 2; width: 36px; height: 36px; border-radius: 50%; background: #fff; border: 1px solid #e3e6e1; display: inline-flex; align-items: center; justify-content: center; }
.swap:hover { border-color: #0e1110; }
.field.has-swap { padding-right: 56px; }
.suggest { position: absolute; left: 0; right: 0; top: calc(100% + 6px); z-index: 30; background: #fff; border-radius: 14px; padding: 6px; box-shadow: 0 0 0 1px rgba(16, 19, 18, .06), 0 20px 50px rgba(16, 19, 18, .18); display: none; max-height: 330px; overflow-y: auto; }
.suggest.open { display: block; }
.suggest button { width: 100%; text-align: left; display: flex; gap: 12px; align-items: center; padding: 10px 12px; border-radius: 10px; }
.suggest button:hover, .suggest button.active { background: #f3f4f2; }
.suggest .s-ic { width: 34px; height: 34px; border-radius: 50%; background: #f1f2f0; display: inline-flex; align-items: center; justify-content: center; flex: 0 0 auto; }
.suggest .s-ic .ic { width: 16px; height: 16px; }
.suggest b { display: block; font-size: 15px; font-weight: 600; line-height: 1.3; }
.suggest small { display: block; font-size: 12.5px; color: #767d79; }
.suggest .s-empty { padding: 12px; font-size: 14px; color: #767d79; }
.when-extra { display: none; gap: 10px; margin-top: 10px; flex-wrap: wrap; }
.when-extra.show { display: flex; }
.when-extra input[type="date"], .when-extra input[type="time"] { height: 46px; padding: 0 14px; border-radius: 10px; border: 1px solid #e3e6e1; background: #fff; font-weight: 600; font-size: 15px; }
.days { display: flex; gap: 6px; flex-wrap: wrap; }
.days button { width: 40px; height: 40px; border-radius: 50%; border: 1px solid #e3e6e1; font-weight: 700; font-size: 14px; background: #fff; }
.days button[aria-pressed="true"] { background: var(--lime); border-color: var(--lime-dark); }
@media (max-width: 520px) { .seg { display: flex; width: 100%; } .seg button { flex: 1; padding: 0 8px; font-size: 13.5px; } .estimator { padding: 14px; } }
.est-actions { display: flex; gap: 10px; margin-top: 14px; align-items: center; }
.est-actions .btn { flex: 1; }
.est-note { font-size: 12.5px; color: #767d79; margin-top: 12px; line-height: 1.5; }
.est-error { display: none; margin-top: 12px; font-size: 14px; color: #b42318; }
.est-error.show { display: block; }
.quote { display: none; margin-top: 14px; border-top: 1px solid #eceee9; padding-top: 16px; animation: rise .45s var(--ease); }
.quote.show { display: block; }
@keyframes rise { from { opacity: 0; transform: translateY(8px); } to { opacity: 1; transform: none; } }
.quote-top { display: flex; align-items: flex-end; justify-content: space-between; gap: 16px; }
.quote-price { font-size: 46px; font-weight: 700; letter-spacing: -.045em; line-height: 1; }
.quote-meta { font-size: 14px; color: #545b58; text-align: right; }
.quote-meta b { color: #0e1110; }
.split { display: flex; height: 8px; border-radius: 8px; overflow: hidden; margin: 16px 0 12px; background: #eceee9; }
.split i { display: block; height: 100%; transition: width .6s var(--ease); }
.split .s-driver { background: #0e1110; }
.split .s-fee { background: var(--brand); }
.rows { display: grid; gap: 6px; font-size: 14.5px; }
.rows div { display: flex; justify-content: space-between; gap: 12px; }
.rows span { color: #545b58; display: inline-flex; align-items: center; gap: 8px; }
.rows span i { width: 9px; height: 9px; border-radius: 3px; display: inline-block; }
.rows b { font-weight: 600; font-variant-numeric: tabular-nums; }

/* Trajets récents (connecté) */
.recent-head { display: flex; justify-content: space-between; align-items: baseline; gap: 16px; margin-bottom: 18px; }
.recent-list { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; }
@media (max-width: 900px) { .recent-list { grid-template-columns: 1fr; } }

/* =========================================================================
   Accueil — onglets passager / conducteur
   ========================================================================= */
.tabs-bar { display: flex; gap: 4px; box-shadow: inset 0 -4px 0 var(--line); margin-bottom: 40px; overflow-x: auto; scrollbar-width: none; }
.tabs-bar::-webkit-scrollbar { display: none; }
.tabs-bar button { position: relative; padding: 14px 16px 16px; font-size: 15px; font-weight: 600; color: var(--soft); white-space: nowrap; transition: box-shadow .2s, color .2s; }
.tabs-bar button[aria-selected="true"] { color: var(--ink); box-shadow: inset 0 -4px 0 var(--ink); }
.tab-panel { animation: rise .45s var(--ease); }

.how { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: clamp(32px, 6vw, 96px); align-items: center; }
.steps { display: grid; }
.step { display: grid; grid-template-columns: 44px 1fr; gap: 18px; text-align: left; padding: 22px 0; border-bottom: 1px solid var(--line); opacity: .45; transition: opacity .3s; }
.step:first-child { border-top: 1px solid var(--line); }
.step:hover, .step[aria-current="true"] { opacity: 1; }
.step .num { width: 44px; height: 44px; border-radius: 50%; display: inline-flex; align-items: center; justify-content: center; font-weight: 700; border: 1px solid var(--line-2); }
.step[aria-current="true"] .num { background: #0e1110; color: #fff; border-color: #0e1110; }
.step h3 { font-size: 19px; letter-spacing: -.02em; margin-bottom: 4px; line-height: 1.3; }
.step p { color: var(--soft); font-size: 15px; }
.how-note { margin-top: 24px; display: flex; gap: 14px; align-items: flex-start; color: var(--soft); font-size: 14.5px; }
.how-note .illu { width: 40px; height: 40px; }
.how-note b { color: var(--ink); }
@media (max-width: 900px) { .how { grid-template-columns: 1fr; justify-items: center; } .how > div:first-child { width: 100%; } }

/* =========================================================================
   Accueil — fonctionnalités (téléphone collant)
   ========================================================================= */
.story { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(32px, 6vw, 96px); }
.story-step { min-height: 78vh; display: flex; flex-direction: column; justify-content: center; gap: 16px; padding: 40px 0; opacity: .28; transition: opacity .5s var(--ease); }
.story-step.active { opacity: 1; }
.story-step .illu { width: 60px; height: 60px; }
.story-step ul { list-style: none; display: grid; gap: 10px; margin-top: 6px; }
.story-step li { display: flex; gap: 12px; align-items: flex-start; color: var(--soft); font-size: 15.5px; }
.story-step li .ic { color: var(--green-dark); margin-top: 3px; width: 18px; height: 18px; }
.story-sticky { position: sticky; top: calc(var(--hdr) + 4vh); height: calc(100vh - var(--hdr) - 8vh); display: flex; align-items: center; justify-content: center; }
.story-sticky .phone { width: min(300px, calc((100vh - var(--hdr) - 8vh) * .44)); }
.story-step .m-phone { display: none; }
@media (max-width: 900px) {
  .story { grid-template-columns: 1fr; }
  .story-sticky { display: none; }
  .story-step { min-height: 0; opacity: 1; padding: 36px 0; border-bottom: 1px solid var(--line); }
  .story-step .m-phone { display: block; margin: 18px auto 0; }
}

/* =========================================================================
   Accueil — barème
   ========================================================================= */
.pricing { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(32px, 5vw, 72px); align-items: start; }
.rate-row { display: flex; align-items: baseline; gap: 18px; padding: 22px 0; }
.rate-row .v { font-size: 32px; font-weight: 700; letter-spacing: -.04em; min-width: 132px; font-variant-numeric: tabular-nums; }
.rate-row .v small { font-size: 15px; font-weight: 600; color: var(--grey); letter-spacing: 0; }
.rate-row p { color: var(--soft); font-size: 15px; line-height: 1.5; }
.rate-row p b { color: var(--ink); display: block; font-size: 16px; }
.calc { display: flex; flex-direction: column; gap: 18px; padding: 32px; border-radius: var(--r); background: #fff; }
.calc .lbl { display: flex; justify-content: space-between; align-items: baseline; font-size: 15px; color: var(--soft); }
.calc .lbl output { font-size: 22px; font-weight: 700; color: var(--ink); letter-spacing: -.02em; }
.calc .total { font-size: clamp(52px, 6.4vw, 76px); font-weight: 700; letter-spacing: -.05em; line-height: 1; font-variant-numeric: tabular-nums; }
.calc .split { margin: 0; height: 10px; }
input[type="range"] { -webkit-appearance: none; appearance: none; width: 100%; height: 28px; background: transparent; }
input[type="range"]::-webkit-slider-runnable-track { height: 6px; border-radius: 6px; background: linear-gradient(90deg, #0e1110 var(--p, 10%), #e3e6e1 var(--p, 10%)); }
input[type="range"]::-moz-range-track { height: 6px; border-radius: 6px; background: #e3e6e1; }
input[type="range"]::-moz-range-progress { height: 6px; border-radius: 6px; background: #0e1110; }
input[type="range"]::-webkit-slider-thumb { -webkit-appearance: none; width: 24px; height: 24px; border-radius: 50%; background: #fff; margin-top: -9px; box-shadow: 0 0 0 1px #d9ddd7, 0 2px 6px rgba(0,0,0,.18); }
input[type="range"]::-moz-range-thumb { width: 24px; height: 24px; border: 0; border-radius: 50%; background: #fff; box-shadow: 0 0 0 1px #d9ddd7, 0 2px 6px rgba(0,0,0,.18); }
@media (max-width: 900px) { .pricing { grid-template-columns: 1fr; } }

.checks { list-style: none; display: grid; gap: 14px; }
.checks li { display: flex; gap: 12px; align-items: flex-start; color: var(--soft); }
.checks li b { color: var(--ink); }
.checks li .ic { color: var(--green-dark); margin-top: 3px; width: 18px; height: 18px; }
.t-dark .checks li .ic { color: var(--brand); }


/* Badge App Store */
.store-row { display: flex; gap: 12px; flex-wrap: wrap; }
.store-badge { display: inline-flex; align-items: center; gap: 10px; height: 56px; padding: 0 20px 0 16px; border-radius: 12px; background: #000; color: #fff; transition: background .2s; }
.store-badge:hover { background: #2a2e2c; }
.store-badge svg { width: 28px; height: 28px; }
.store-badge span { display: grid; line-height: 1.1; font-size: 20px; font-weight: 600; letter-spacing: -.02em; }
.hash { display: block; padding: 14px 16px; border-radius: 10px; background: var(--field); font: 13px/1.6 ui-monospace, "SFMono-Regular", Consolas, monospace; word-break: break-all; color: var(--ink); }
.store-badge small { font-size: 11.5px; font-weight: 500; letter-spacing: 0; opacity: .85; }

/* =========================================================================
   Pied de page
   ========================================================================= */
.ftr { border-top: 1px solid var(--line); padding: 64px 0 36px; font-size: 14.5px; background: var(--bg); }
.ftr-grid { display: grid; grid-template-columns: 1.4fr repeat(4, 1fr); gap: 32px; }
.ftr h4 { font-size: 14px; font-weight: 700; margin-bottom: 14px; letter-spacing: 0; }
.ftr ul { list-style: none; display: grid; gap: 10px; }
.ftr ul a { color: var(--soft); transition: color .15s; }
.ftr ul a:hover { color: var(--ink); }
.ftr .brand img { height: 28px; }
.ftr .contact { display: grid; gap: 8px; margin-top: 18px; color: var(--soft); }
.ftr .contact a { display: inline-flex; gap: 10px; align-items: center; font-weight: 600; color: var(--ink); }
.ftr-bottom { display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap; margin-top: 48px; padding-top: 24px; border-top: 1px solid var(--line); color: var(--grey); font-size: 13px; }
@media (max-width: 900px) { .ftr-grid { grid-template-columns: 1fr 1fr; } .ftr-grid > :first-child { grid-column: 1 / -1; } }

/* =========================================================================
   Wyvo Pro (noir)
   ========================================================================= */
.t-dark .btn-ghost { border-color: #2c302e; color: #fff; }
.t-dark .btn-ghost:hover { border-color: #fff; }
.t-dark .btn-text { color: #fff; }
.t-dark .btn-text:hover { background: #161817; }
.t-dark .hdr-cta .btn-dark { background: #fff; color: #000; }
.pro-hero { padding: clamp(40px, 7vw, 100px) 0 clamp(60px, 8vw, 110px); }
.pro-hero h1 { font-size: clamp(40px, 5vw, 68px); }
.pro-hero h1 .g { color: var(--brand); }
.pro-hero-art { display: flex; justify-content: center; }
.price-big { font-size: clamp(64px, 8vw, 96px); font-weight: 700; letter-spacing: -.055em; line-height: 1; }
.price-big small { font-size: 18px; font-weight: 600; color: var(--soft); letter-spacing: -.01em; margin-left: 6px; }
.cols3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: clamp(24px, 4vw, 56px); }
.cols3 > div { border-top: 1px solid var(--line-2); padding-top: 24px; }
.cols3 .n { font-size: 15px; font-weight: 700; color: var(--brand); }
.cols3 h3 { font-size: 21px; margin: 14px 0 8px; }
.cols3 p { color: var(--soft); font-size: 15px; }
@media (max-width: 900px) { .cols3 { grid-template-columns: 1fr; } }

/* FAQ */
.faq { display: grid; border-top: 1px solid var(--line); }
.faq details { border-bottom: 1px solid var(--line); }
.faq summary { list-style: none; cursor: pointer; display: flex; justify-content: space-between; align-items: center; gap: 20px; padding: 22px 0; font-size: 18px; font-weight: 600; letter-spacing: -.015em; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary .pm { width: 32px; height: 32px; border-radius: 50%; display: inline-flex; align-items: center; justify-content: center; flex: 0 0 auto; transition: transform .3s var(--ease); }
.faq details[open] summary .pm { transform: rotate(45deg); }
.faq .ans { padding: 0 52px 24px 0; color: var(--soft); font-size: 15.5px; }
.faq .ans p + p { margin-top: 10px; }
.faq .ans a { text-decoration: underline; color: var(--ink); }

/* Liste numérotée (Commencer avec Pro) */
.numlist > div { display: grid; grid-template-columns: 56px 1fr; gap: 20px; padding: 28px 0; }
.numlist .n { font-size: 28px; font-weight: 700; letter-spacing: -.03em; color: var(--brand); line-height: 1.1; }
.numlist h3 { font-size: 20px; margin-bottom: 6px; }
.numlist p { color: var(--soft); font-size: 15.5px; }

/* =========================================================================
   Photos (emplacements à remplir)
   ========================================================================= */
.photo { position: relative; border-radius: 16px; overflow: hidden; aspect-ratio: 4 / 5; background: radial-gradient(circle at 30% 20%, #17502e, #0b2f1a 70%); display: flex; align-items: center; justify-content: center; }
.photo.wide { aspect-ratio: 16 / 10; }
.photo.cinema { aspect-ratio: 21 / 9; }
.photo img.ph-img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; opacity: 0; transition: opacity .6s; }
.photo.has-photo img.ph-img { opacity: 1; }
.photo .ph-art { width: 28%; height: auto; aspect-ratio: 1; transition: opacity .3s; }
.photo.cinema .ph-art { width: 12%; }
.photo.has-photo .ph-art, .photo.has-photo .ph-phone { opacity: 0; }
.photo.has-photo { background: var(--bg-alt); }
.photo .ph-phone { transition: opacity .3s; }
.t-dark .photo { background: radial-gradient(circle at 70% 30%, #10261a, #070908 70%); }
@media (max-width: 700px) { .photo.cinema { aspect-ratio: 4 / 3; } .photo.cinema .ph-art { width: 22%; } }

/* =========================================================================
   Wyvo for teens (vert)
   ========================================================================= */
.teens-hero { background: linear-gradient(160deg, #63cd84 0%, #8fdc87 45%, #cdee7a 100%); color: #0b2f1a; padding: clamp(40px, 6vw, 88px) 0 clamp(56px, 7vw, 104px); }
.teens-hero h1 { color: #0b2f1a; }
.teens-hero .lead { color: #174a2a; }
.teens-hero .lead b { color: #0b2f1a; }
.teens-hero .photo { background: rgba(255, 255, 255, .35); }
@media (max-width: 900px) { .teens-hero .photo { aspect-ratio: 4 / 3; } }
.t-green .btn-ghost { border-color: rgba(11, 47, 26, .3); color: #0b2f1a; }
.t-green .btn-ghost:hover { border-color: #0b2f1a; }

/* Parcours en frise verticale */
.timeline { position: relative; display: grid; }
.timeline::before { content: ""; position: absolute; left: 23px; top: 24px; bottom: 24px; width: 2px; background: linear-gradient(#0b2f1a, #63cd84); }
.tl-step { position: relative; display: grid; grid-template-columns: 48px 1fr; gap: 24px; padding: 0 0 40px; }
.tl-step:last-child { padding-bottom: 0; }
.tl-step .n { position: relative; z-index: 1; width: 48px; height: 48px; border-radius: 50%; background: #0b2f1a; color: var(--lime); display: inline-flex; align-items: center; justify-content: center; font-weight: 700; font-size: 18px; box-shadow: 0 0 0 6px var(--bg-alt); }
.tl-step h3 { font-size: 22px; letter-spacing: -.025em; margin: 10px 0 6px; }
.tl-step p { color: var(--soft); font-size: 16px; max-width: 460px; }

/* =========================================================================
   Pages Engagements
   ========================================================================= */
.page-hero { padding: clamp(48px, 8vw, 104px) 0 clamp(28px, 4vw, 48px); }
.page-hero h1 { max-width: 900px; }
.page-hero .lead { margin-top: 22px; }
.mini-cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 32px clamp(24px, 4vw, 56px); padding: 8px 16px 0; }
@media (max-width: 900px) { .mini-cards { grid-template-columns: 1fr; padding: 0; } }
.reason { display: grid; grid-template-columns: 80px minmax(0, .9fr) minmax(0, 1.1fr); gap: 28px; align-items: start; padding: 40px 0; }
.reason .illu { width: 60px; height: 60px; }
.reason h3 { font-size: clamp(22px, 2.4vw, 28px); letter-spacing: -.03em; }
.reason p { color: var(--soft); font-size: 16px; }
@media (max-width: 800px) { .reason { grid-template-columns: 1fr; gap: 14px; } }

.co2 { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(32px, 5vw, 72px); align-items: center; }
.co2 .ctrl { display: grid; gap: 22px; }
.co2 label { display: flex; justify-content: space-between; font-weight: 600; font-size: 15px; margin-bottom: 4px; }
.co2 .out { font-size: clamp(52px, 6.4vw, 76px); font-weight: 700; letter-spacing: -.05em; line-height: 1; }
.co2 .out small { font-size: 20px; letter-spacing: -.01em; }
.pax { display: flex; gap: 8px; }
.pax button { width: 44px; height: 44px; border-radius: 50%; border: 1px solid var(--line-2); background: #fff; font-weight: 700; }
.pax button[aria-pressed="true"] { background: #0e1110; color: #fff; border-color: #0e1110; }
@media (max-width: 800px) { .co2 { grid-template-columns: 1fr; } }

/* Illustrations (pages Engagements, Support, Teens) */
.page-hero-grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 400px); gap: clamp(32px, 5vw, 80px); align-items: center; }
.page-illu { margin: 0; border-radius: 16px; overflow: hidden; background: var(--bg-alt); }
.page-illu img { width: 100%; height: auto; }
.page-hero-grid .page-illu { max-height: 480px; aspect-ratio: 4 / 5; }
.page-hero-grid .page-illu img { height: 100%; object-fit: cover; }
.faq-illu { display: grid; grid-template-columns: minmax(0, 340px) minmax(0, 1fr); gap: clamp(32px, 6vw, 96px); align-items: start; }
.faq-illu .page-illu { position: sticky; top: calc(var(--hdr) + 32px); }
@media (max-width: 860px) {
  .page-hero-grid { grid-template-columns: 1fr; }
  .page-hero-grid .page-illu { max-width: 360px; max-height: none; }
  .faq-illu { grid-template-columns: 1fr; }
  .faq-illu .page-illu { position: static; max-width: 300px; }
}

/* =========================================================================
   Support
   ========================================================================= */
.urgent { display: flex; gap: 14px; align-items: center; color: var(--soft); font-size: 15px; margin-top: 22px; }
.urgent b { color: #b42318; }
.urgent .illu { width: 36px; height: 36px; }
.search { position: relative; max-width: 620px; }
.search input { width: 100%; height: 54px; border-radius: 10px; border: 0; padding: 0 22px 0 52px; font-size: 16px; background: var(--field); outline: none; box-shadow: inset 0 0 0 2px transparent; transition: box-shadow .2s; }
.search input:focus { box-shadow: inset 0 0 0 2px #0e1110; }
.search .ic { position: absolute; left: 18px; top: 50%; transform: translateY(-50%); color: var(--grey); }
.topics { display: flex; gap: 8px; flex-wrap: wrap; margin: 20px 0 8px; }
.topics button { height: 40px; padding: 0 16px; border-radius: 100px; background: var(--field); font-weight: 600; font-size: 14px; }
.topics button[aria-pressed="true"] { background: #0e1110; color: #fff; }
.faq-cat { font-size: 15px; font-weight: 700; color: var(--grey); padding: 28px 0 4px; }
.no-result { display: none; padding: 28px 0; color: var(--soft); }
.no-result.show { display: block; }

/* =========================================================================
   Pages légales
   ========================================================================= */
.legal { padding: clamp(40px, 6vw, 80px) 0 clamp(64px, 8vw, 110px); }
.legal h1 { font-size: clamp(34px, 4.6vw, 52px); letter-spacing: -.04em; }
.legal .updated { color: var(--grey); font-size: 14px; margin: 14px 0 20px; }
.legal h2 { font-size: 22px; letter-spacing: -.02em; margin: 40px 0 12px; }
.legal p, .legal li { color: #3b413e; font-size: 16px; line-height: 1.75; }
.legal ul { padding-left: 20px; display: grid; gap: 8px; margin: 10px 0; }
.legal p + p { margin-top: 10px; }
.legal a { text-decoration: underline; }
.legal .ph { background: #f1fadb; color: #4a5a12; padding: 1px 6px; border-radius: 6px; font-weight: 600; }
.legal .notice { display: flex; gap: 10px; align-items: flex-start; color: #8a5a00; font-size: 14.5px; }
.legal .notice p { color: #8a5a00; font-size: 14.5px; }
.legal .notice .ic { margin-top: 4px; }
.legal-nav { display: flex; gap: 8px; flex-wrap: wrap; margin-bottom: 36px; }
.legal-nav a { height: 38px; padding: 0 16px; border-radius: 100px; background: var(--field); display: inline-flex; align-items: center; font-size: 14px; font-weight: 600; text-decoration: none; }
.legal-nav a[aria-current="page"] { background: #0e1110; color: #fff; }

/* =========================================================================
   Connexion / inscription (façon Uber)
   ========================================================================= */
.auth-main { display: flex; justify-content: center; padding: clamp(40px, 8vh, 96px) var(--gutter) 96px; }
.auth-box { width: 100%; max-width: 420px; }
.auth-box h1 { font-size: 26px; letter-spacing: -.025em; line-height: 1.25; margin-bottom: 22px; }
.auth-box .sub { color: var(--soft); font-size: 15px; margin: -12px 0 22px; }
.inp { display: block; width: 100%; height: 50px; border-radius: 8px; border: 0; background: var(--field); padding: 0 16px; font-size: 16px; outline: none; box-shadow: inset 0 0 0 2px transparent; transition: box-shadow .15s, background .15s; }
.inp:focus { box-shadow: inset 0 0 0 2px #0e1110; background: #fff; }
.fld { display: grid; gap: 6px; margin-bottom: 14px; }
.fld > span { font-size: 14px; font-weight: 600; }
.fld-row { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.abtn { display: flex; width: 100%; height: 52px; border-radius: 8px; align-items: center; justify-content: center; gap: 12px; font-size: 16px; font-weight: 600; transition: background .15s, opacity .15s; }
.abtn-dark { background: #0e1110; color: #fff; }
.abtn-dark:hover { background: #2a2e2c; }
.abtn-grey { background: #eceee9; color: #0e1110; }
.abtn-grey:hover { background: #e2e5df; }
.abtn:disabled { opacity: .5; cursor: default; }
.abtn svg { width: 20px; height: 20px; }
.or { display: flex; align-items: center; gap: 14px; color: var(--grey); font-size: 14px; margin: 18px 0; }
.or::before, .or::after { content: ""; flex: 1; height: 1px; background: var(--line); }
.auth-stack { display: grid; gap: 10px; }
.auth-alt { margin-top: 22px; font-size: 14.5px; color: var(--soft); }
.auth-alt a, .auth-alt button { font-weight: 600; color: var(--ink); text-decoration: underline; }
.auth-err { display: none; color: #b42318; font-size: 14px; margin: -4px 0 14px; }
.auth-err.show { display: block; }
.auth-ok { color: var(--green-dark); font-size: 14px; margin-bottom: 14px; }
.chk { display: flex; gap: 12px; align-items: flex-start; font-size: 14px; color: var(--soft); margin: 6px 0 18px; }
.chk input { width: 20px; height: 20px; accent-color: #0e1110; margin-top: 1px; flex: 0 0 auto; }
.chk a { text-decoration: underline; color: var(--ink); }
.code-inp { letter-spacing: .5em; text-align: center; font-size: 24px; font-weight: 700; height: 60px; }
.back-link { display: inline-flex; align-items: center; gap: 6px; font-weight: 600; font-size: 14.5px; margin-bottom: 20px; color: var(--soft); }
.back-link:hover { color: var(--ink); }
.notice-line { display: flex; gap: 10px; align-items: flex-start; font-size: 14px; color: #8a5a00; margin-bottom: 18px; }

/* =========================================================================
   Espace compte (façon Uber)
   ========================================================================= */
.acct { display: grid; grid-template-columns: 280px minmax(0, 1fr); gap: clamp(24px, 5vw, 72px); padding: clamp(28px, 5vw, 56px) 0 96px; }
.acct-nav { position: sticky; top: calc(var(--hdr) + 24px); align-self: start; display: grid; gap: 2px; }
.acct-nav a { display: flex; align-items: center; gap: 12px; min-height: 44px; white-space: nowrap; padding: 0 14px; border-radius: 8px; font-weight: 600; font-size: 15px; color: var(--soft); }
.acct-nav a:hover { background: var(--bg-alt); color: var(--ink); }
.acct-nav a[aria-current="page"] { background: var(--bg-alt); color: var(--ink); }
.acct-nav .ic { width: 18px; height: 18px; }
@media (max-width: 860px) {
  .acct { grid-template-columns: 1fr; gap: 20px; }
  .acct-nav { position: static; display: flex; overflow-x: auto; gap: 4px; scrollbar-width: none; border-bottom: 1px solid var(--line); padding-bottom: 8px; }
  .acct-nav::-webkit-scrollbar { display: none; }
  .acct-nav a { white-space: nowrap; flex: 0 0 auto; }
}
.acct h1 { font-size: clamp(30px, 3.6vw, 40px); letter-spacing: -.035em; margin-bottom: 8px; }
.acct h2 { font-size: 22px; letter-spacing: -.02em; margin: 40px 0 14px; }
.acct-hero { display: flex; align-items: center; gap: 22px; margin-bottom: 28px; }
.acct-hero h1 { margin: 0; }
.avatar-xl { width: 88px; height: 88px; font-size: 32px; }
.acct-tiles { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; }
.acct-tile { display: flex; flex-direction: column; gap: 14px; padding: 20px; border-radius: 12px; background: var(--bg-alt); transition: background .15s; }
.acct-tile:hover { background: #eaebe8; }
.acct-tile .illu { width: 40px; height: 40px; }
.acct-tile b { font-size: 15.5px; }
@media (max-width: 640px) { .acct-tiles { grid-template-columns: 1fr; } .acct-tile { flex-direction: row; align-items: center; } }
.stats { display: grid; grid-template-columns: repeat(4, 1fr); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); margin-top: 28px; }
.stats > div { padding: 20px 16px 20px 0; }
.stats b { display: block; font-size: 26px; letter-spacing: -.03em; }
.stats span { font-size: 13.5px; color: var(--soft); }
@media (max-width: 640px) { .stats { grid-template-columns: 1fr 1fr; } }
.info-row { display: flex; align-items: center; justify-content: space-between; gap: 16px; width: 100%; text-align: left; padding: 18px 0; border-bottom: 1px solid var(--line); }
.info-row b { display: block; font-size: 16px; }
.info-row span { display: block; color: var(--soft); font-size: 15px; margin-top: 2px; word-break: break-word; }
button.info-row:hover b, a.info-row:hover b { text-decoration: underline; }
.info-row .ic { color: var(--grey); }
.banner { display: flex; gap: 14px; align-items: center; justify-content: space-between; flex-wrap: wrap; padding: 16px 0; border-bottom: 1px solid var(--line); margin-bottom: 8px; }
.banner p { color: var(--soft); font-size: 15px; }
.banner b { color: var(--ink); }

/* Trajets */
.trip-filters { display: flex; gap: 8px; margin: 4px 0 18px; flex-wrap: wrap; }
.trip-filters button { height: 38px; padding: 0 16px; border-radius: 100px; background: var(--field); font-weight: 600; font-size: 14px; }
.trip-filters button[aria-pressed="true"] { background: #0e1110; color: #fff; }
.trips-layout { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 32px; align-items: start; }
@media (max-width: 1100px) { .trips-layout { grid-template-columns: 1fr; } }
.trip { display: grid; grid-template-columns: 112px minmax(0, 1fr) auto; gap: 16px; align-items: center; width: 100%; text-align: left; padding: 14px; border-radius: 12px; transition: background .15s; }
.trip:hover, .trip[aria-current="true"] { background: var(--bg-alt); }
.trip-map { width: 112px; height: 76px; border-radius: 8px; overflow: hidden; background: linear-gradient(#fff 1px, transparent 1px) center / 14px 14px, linear-gradient(90deg, #fff 1px, transparent 1px) center / 14px 14px, #eceee9; }
.trip-map svg { width: 100%; height: 100%; }
.trip b { display: block; font-size: 15.5px; line-height: 1.35; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.trip .t-when { display: block; font-size: 13.5px; color: var(--soft); }
.trip .t-price { font-weight: 700; font-size: 15.5px; text-align: right; white-space: nowrap; }
.trip .t-state { display: block; font-size: 12.5px; font-weight: 600; color: var(--soft); text-align: right; }
.trip .t-state.cancel { color: #b42318; }
@media (max-width: 480px) { .trip { grid-template-columns: 84px minmax(0, 1fr); } .trip-map { width: 84px; height: 64px; } .trip > :last-child { grid-column: 2; text-align: left; } .trip .t-price, .trip .t-state { text-align: left; } }
.recent-list .trip { background: #fff; }
.recent-list .trip:hover { background: #fafbf9; }
.trip-detail { position: sticky; top: calc(var(--hdr) + 24px); max-height: calc(100vh - var(--hdr) - 48px); overflow-y: auto; border-radius: 12px; background: #fff; box-shadow: 0 0 0 1px var(--line); }
.trip-detail .d-map { height: 200px; background: linear-gradient(#fff 1px, transparent 1px) center / 30px 30px, linear-gradient(90deg, #fff 1px, transparent 1px) center / 30px 30px, #eceee9; }
.trip-detail .d-map svg { width: 100%; height: 100%; }
.trip-detail .d-body { padding: 24px; }
.trip-detail h3 { font-size: 22px; letter-spacing: -.025em; }
.trip-detail .d-when { color: var(--soft); font-size: 14.5px; margin-top: 2px; }
.d-route { position: relative; display: grid; gap: 18px; margin: 22px 0; padding-left: 28px; }
.d-route::before { content: ""; position: absolute; left: 5px; top: 8px; bottom: 8px; width: 2px; background: #c9cec9; }
.d-route div { position: relative; font-size: 15px; line-height: 1.4; }
.d-route div::before { content: ""; position: absolute; left: -28px; top: 4px; width: 12px; height: 12px; background: #0e1110; border-radius: 50%; box-shadow: 0 0 0 3px #fff; }
.d-route div:last-child::before { border-radius: 3px; background: var(--brand); }
.d-route small { display: block; color: var(--soft); font-size: 13px; }
.d-rows { border-top: 1px solid var(--line); }
.d-rows > div { display: flex; justify-content: space-between; gap: 16px; padding: 12px 0; border-bottom: 1px solid var(--line); font-size: 15px; }
.d-rows span { color: var(--soft); }
.d-rows .total { font-weight: 700; font-size: 17px; }
.d-rows .total span { color: var(--ink); }
.empty { padding: 40px 0; color: var(--soft); }
.empty .illu { width: 56px; height: 56px; margin-bottom: 14px; }
.skel { height: 104px; border-radius: 12px; background: linear-gradient(90deg, var(--bg-alt), #fafbf9, var(--bg-alt)); background-size: 200% 100%; animation: sk 1.2s infinite; margin-bottom: 8px; }
@keyframes sk { to { background-position: -200% 0; } }

/* Fenêtre de modification */
dialog.edit { border: 0; border-radius: 16px; padding: 28px; width: min(440px, calc(100vw - 32px)); box-shadow: 0 24px 80px rgba(0,0,0,.3); margin: auto; }
dialog.edit::backdrop { background: rgba(0,0,0,.45); }
dialog.edit h3 { font-size: 22px; margin-bottom: 18px; }
dialog.edit .acts { display: flex; gap: 10px; margin-top: 8px; }
dialog.edit .acts .abtn { flex: 1; }

.toast { position: fixed; left: 50%; bottom: 28px; transform: translate(-50%, 20px); background: #0e1110; color: #fff; padding: 12px 20px; border-radius: 10px; font-size: 14.5px; font-weight: 600; opacity: 0; pointer-events: none; transition: opacity .25s, transform .25s var(--ease); z-index: 200; }
.toast.show { opacity: 1; transform: translate(-50%, 0); }
