/* Taxeo — site public (vitrine, réservation, espace client) */
:root {
  --navy: #0B1B2B; --navy-2: #12283C; --navy-3: #1B3550;
  --taxi: #F5B700; --taxi-d: #C99600; --taxi-soft: #FFF4CC;
  --ink: #111B21; --muted: #56656F; --line: #E6E1D8; --paper: #FAF8F4; --card: #FFFFFF;
  --green: #2EAD5B; --violet: #9B51E0; --danger: #C62828;
  --r: 18px; --shadow: 0 1px 2px rgba(11,27,43,.06), 0 8px 24px rgba(11,27,43,.08);
  --font: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
}
@media (prefers-color-scheme: dark) {
  :root { --ink: #E9EDEF; --muted: #A2B0BA; --line: #243746; --paper: #0A141D; --card: #102231; --taxi-soft: #3A2F0A; }
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; font: 17px/1.55 var(--font); color: var(--ink); background: var(--paper); -webkit-font-smoothing: antialiased; }
img { max-width: 100%; height: auto; display: block; }   /* height: auto : garde les proportions malgré les attributs width/height des <img> */
a { color: inherit; }
.wrap { max-width: 1120px; margin: 0 auto; padding: 0 20px; }
.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); }

/* ---------- En-tête ---------- */
.top { position: sticky; top: 0; z-index: 20; background: rgba(11,27,43,.94); backdrop-filter: saturate(140%) blur(10px); color: #fff; }
.top .wrap { display: flex; align-items: center; gap: 14px; height: 64px; }
.brand { display: flex; align-items: center; gap: 10px; text-decoration: none; font-weight: 900; font-size: 22px; letter-spacing: -.02em; color: #fff; }
.brand .mk { width: 34px; height: 34px; border-radius: 10px; background: var(--taxi); display: grid; place-items: center; font-size: 19px; }
.brand small { font-size: 11px; font-weight: 800; background: var(--taxi); color: var(--navy); border-radius: 5px; padding: 1px 6px; letter-spacing: .08em; }
.top nav { margin-left: auto; display: flex; align-items: center; gap: 6px; }
.top nav .lnk { color: #C9D3DC; text-decoration: none; font-weight: 600; font-size: 15px; padding: 8px 10px; border-radius: 10px; }
.top nav .lnk:hover { color: #fff; background: rgba(255,255,255,.06); }
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; font: inherit; font-weight: 800; font-size: 15px; text-decoration: none; cursor: pointer;
  border: 0; border-radius: 999px; padding: 10px 18px; background: var(--taxi); color: var(--navy); transition: transform .12s, background .12s; white-space: nowrap; }
.btn:hover { background: #FFC61A; }
.btn:active { transform: scale(.98); }
.btn.ghost { background: transparent; color: #fff; box-shadow: inset 0 0 0 1.5px rgba(255,255,255,.35); }
.btn.ghost:hover { box-shadow: inset 0 0 0 1.5px #fff; background: rgba(255,255,255,.06); }
.btn.dark { background: var(--navy); color: #fff; }
.btn.dark:hover { background: var(--navy-3); }
.btn.lg { font-size: 17px; padding: 14px 24px; }
.btn.block { width: 100%; }
.btn[disabled] { opacity: .55; cursor: default; }
.menu-btn { display: none; background: none; border: 0; color: #fff; font-size: 26px; padding: 6px 8px; cursor: pointer; }
.checker { height: 10px; background: repeating-conic-gradient(var(--navy) 0 25%, var(--taxi) 0 50%) 0 0 / 20px 20px; }
@media (max-width: 860px) {
  .top nav .lnk.opt { display: none; }
}
@media (max-width: 620px) {
  .top .wrap { height: 58px; gap: 8px; }
  .brand { font-size: 20px; } .brand small { display: none; }
  .top nav .btn { padding: 8px 12px; font-size: 13px; }
  .top nav .lnk { display: none; }
}

/* ---------- Héros ---------- */
.hero { background: radial-gradient(1200px 500px at 85% -10%, #1F4466 0%, transparent 60%), var(--navy); color: #fff; overflow: hidden; }
.hero .wrap { display: grid; grid-template-columns: 1.1fr .9fr; gap: 40px; align-items: center; padding-top: 64px; padding-bottom: 72px; }
.eyebrow { display: inline-flex; gap: 8px; align-items: center; font-weight: 800; font-size: 13px; letter-spacing: .08em; text-transform: uppercase; color: var(--taxi);
  background: rgba(245,183,0,.1); border: 1px solid rgba(245,183,0,.35); border-radius: 999px; padding: 6px 12px; }
.hero h1 { font-size: clamp(38px, 5.4vw, 64px); line-height: 1.02; letter-spacing: -.035em; margin: 18px 0 18px; font-weight: 900; }
.hero h1 em { font-style: normal; color: var(--taxi); }
.hero p.lead { font-size: clamp(18px, 2vw, 21px); color: #C9D3DC; max-width: 36ch; margin: 0 0 26px; }
.hero .ctas { display: flex; flex-wrap: wrap; gap: 12px; }
.hero .fine { margin-top: 18px; font-size: 14px; color: #93A4B2; }
.price-tag { display: inline-flex; align-items: baseline; gap: 6px; font-weight: 900; color: #fff; }
.price-tag b { font-size: 28px; color: var(--taxi); letter-spacing: -.02em; }
.phones { position: relative; height: 560px; }
.phone { position: absolute; width: 270px; border-radius: 38px; padding: 10px; background: #050B12; box-shadow: 0 30px 60px rgba(0,0,0,.45), inset 0 0 0 2px #2A3D50; }
.phone img { border-radius: 29px; width: 100%; }
.phone.a { right: 150px; top: 30px; transform: rotate(-5deg); }
.phone.b { right: 0; top: 0; transform: rotate(4deg); z-index: 1; }
@media (max-width: 920px) {
  .hero .wrap { grid-template-columns: 1fr; padding-top: 40px; padding-bottom: 48px; }
  .phones { height: 430px; max-width: 420px; margin: 0 auto; width: 100%; }
  .phone { width: 200px; border-radius: 30px; padding: 8px; } .phone img { border-radius: 23px; }
  .phone.a { right: auto; left: 0; top: 20px; } .phone.b { right: 0; }
}

/* ---------- Bandeau de confiance ---------- */
.trust { background: var(--taxi); color: var(--navy); }
.trust .wrap { display: flex; flex-wrap: wrap; justify-content: center; gap: 10px 34px; padding: 14px 20px; font-weight: 800; font-size: 15px; }
.trust span { display: inline-flex; align-items: center; gap: 8px; }

/* ---------- Sections ---------- */
section.s { padding: 84px 0; }
section.s.alt { background: var(--card); }
.kicker { color: var(--taxi-d); font-weight: 900; text-transform: uppercase; letter-spacing: .1em; font-size: 13px; }
h2.t { font-size: clamp(30px, 3.6vw, 44px); line-height: 1.08; letter-spacing: -.03em; margin: 10px 0 14px; font-weight: 900; }
p.sub { color: var(--muted); font-size: 19px; max-width: 60ch; margin: 0 0 40px; }
.grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(250px, 1fr)); gap: 16px; }
.feat { background: var(--card); border: 1px solid var(--line); border-radius: var(--r); padding: 22px; }
section.alt .feat { background: var(--paper); }
.feat .ic { width: 46px; height: 46px; border-radius: 13px; background: var(--taxi-soft); display: grid; place-items: center; font-size: 23px; margin-bottom: 14px; }
.feat h3 { margin: 0 0 6px; font-size: 18px; letter-spacing: -.01em; }
.feat p { margin: 0; color: var(--muted); font-size: 15.5px; }
.feat .new { display: inline-block; margin-left: 6px; font-size: 11px; font-weight: 900; background: var(--navy); color: var(--taxi); border-radius: 6px; padding: 1px 6px; vertical-align: 2px; }

/* Démonstrations (capture + texte) */
.show { display: grid; grid-template-columns: 1fr 1fr; gap: 56px; align-items: center; margin-top: 70px; }
.show:first-of-type { margin-top: 0; }
.show.rev .shot { order: 2; }
.show .shot { display: flex; justify-content: center; }
.show .shot .phone { position: static; transform: none; width: 300px; }
.show h3 { font-size: clamp(24px, 2.6vw, 32px); letter-spacing: -.02em; line-height: 1.15; margin: 8px 0 12px; }
.show p { color: var(--muted); font-size: 17.5px; margin: 0 0 14px; }
.show ul { list-style: none; padding: 0; margin: 0; display: grid; gap: 9px; }
.show li { display: flex; gap: 10px; align-items: flex-start; }
.show li::before { content: "✓"; flex: none; width: 22px; height: 22px; border-radius: 50%; background: var(--taxi); color: var(--navy); font-weight: 900; font-size: 13px; display: grid; place-items: center; margin-top: 2px; }
.legend { display: flex; flex-wrap: wrap; gap: 8px; margin: 4px 0 16px; }
.legend span { display: inline-flex; align-items: center; gap: 7px; font-weight: 700; font-size: 14px; background: var(--card); border: 1px solid var(--line); border-radius: 999px; padding: 5px 12px; }
.legend i { width: 12px; height: 12px; border-radius: 4px; }
@media (max-width: 820px) {
  .show { grid-template-columns: 1fr; gap: 28px; margin-top: 56px; }
  .show.rev .shot { order: 0; }
  .show .shot .phone { width: 250px; }
}

/* France / engagement */
.fr { background: var(--navy); color: #fff; position: relative; overflow: hidden; }
.fr::after { content: ""; position: absolute; inset: 0 0 0 auto; width: 16px; background: linear-gradient(#0055A4 0 33.3%, #fff 0 66.6%, #EF4135 0); }
.fr h2.t { color: #fff; }
.fr p.sub { color: #C9D3DC; }
.fr .grid .feat { background: var(--navy-2); border-color: var(--navy-3); }
.fr .feat p { color: #B4C2CD; }
.fr .feat .ic { background: rgba(245,183,0,.14); }
.big-quote { font-size: clamp(26px, 3.2vw, 40px); font-weight: 900; letter-spacing: -.025em; line-height: 1.15; margin: 0 0 18px; max-width: 26ch; }
.big-quote em { font-style: normal; color: var(--taxi); }

/* Tarif */
.pricing { display: grid; grid-template-columns: 1.05fr .95fr; gap: 32px; align-items: center; }
.plan { background: var(--navy); color: #fff; border-radius: 26px; padding: 34px; box-shadow: var(--shadow); position: relative; overflow: hidden; }
.plan .checker { position: absolute; left: 0; right: 0; top: 0; }
.plan h3 { margin: 6px 0 4px; font-size: 20px; color: #C9D3DC; font-weight: 700; }
.plan .amount { font-size: 66px; font-weight: 900; letter-spacing: -.04em; line-height: 1; color: var(--taxi); }
.plan .amount small { font-size: 20px; color: #fff; letter-spacing: 0; font-weight: 700; }
.plan ul { list-style: none; padding: 0; margin: 22px 0 26px; display: grid; gap: 9px; }
.plan li { display: flex; gap: 10px; color: #E4EAEF; }
.plan li::before { content: "✓"; color: var(--taxi); font-weight: 900; }
.zero { font-size: 15px; color: #93A4B2; margin-top: 14px; text-align: center; }
@media (max-width: 820px) { .pricing { grid-template-columns: 1fr; } }

/* Clients */
.client-band { background: linear-gradient(120deg, var(--taxi) 0%, #FFCF3D 100%); color: var(--navy); border-radius: 28px; padding: 40px; display: grid; grid-template-columns: 1.3fr .7fr; gap: 24px; align-items: center; }
.client-band h2 { font-size: clamp(28px, 3.2vw, 40px); margin: 0 0 10px; letter-spacing: -.03em; line-height: 1.1; }
.client-band p { margin: 0; font-size: 18px; font-weight: 500; }
.client-band .ctas { display: grid; gap: 10px; }
.client-band .btn.ghost { color: var(--navy); box-shadow: inset 0 0 0 1.5px var(--navy); }
@media (max-width: 760px) { .client-band { grid-template-columns: 1fr; padding: 28px; } }

/* FAQ */
.faq { max-width: 820px; }
.faq details { background: var(--card); border: 1px solid var(--line); border-radius: 14px; padding: 0 18px; margin-bottom: 10px; }
.faq summary { cursor: pointer; font-weight: 800; padding: 16px 0; list-style: none; display: flex; justify-content: space-between; gap: 12px; }
.faq summary::after { content: "+"; font-size: 22px; line-height: 1; color: var(--taxi-d); }
.faq details[open] summary::after { content: "–"; }
.faq details p { margin: 0 0 16px; color: var(--muted); }

/* Pied de page */
footer.foot { background: var(--navy); color: #93A4B2; font-size: 14px; }
footer.foot .wrap { padding: 40px 20px; display: grid; grid-template-columns: 1.4fr 1fr 1fr; gap: 24px; }
footer.foot b { color: #fff; display: block; margin-bottom: 8px; }
footer.foot a { color: #C9D3DC; text-decoration: none; display: block; padding: 3px 0; }
footer.foot a:hover { color: var(--taxi); }
footer.foot .legal { grid-column: 1 / -1; border-top: 1px solid var(--navy-3); padding-top: 18px; font-size: 13px; }
@media (max-width: 700px) { footer.foot .wrap { grid-template-columns: 1fr; } }

/* ---------- Formulaires (réservation, espace client) ---------- */
.page-head { background: var(--navy); color: #fff; padding: 40px 0 34px; }
.page-head h1 { font-size: clamp(30px, 4vw, 44px); margin: 8px 0 8px; letter-spacing: -.03em; line-height: 1.08; }
.page-head p { margin: 0; color: #C9D3DC; font-size: 18px; max-width: 60ch; }
.form-wrap { display: grid; grid-template-columns: 1fr 340px; gap: 28px; padding: 32px 0 80px; align-items: start; }
@media (max-width: 900px) { .form-wrap { grid-template-columns: 1fr; } }
.panel { background: var(--card); border: 1px solid var(--line); border-radius: var(--r); padding: 22px; margin-bottom: 16px; }
.panel h2 { font-size: 19px; margin: 0 0 14px; display: flex; align-items: center; gap: 10px; }
.panel h2 .n { width: 28px; height: 28px; border-radius: 50%; background: var(--navy); color: var(--taxi); font-size: 14px; display: grid; place-items: center; flex: none; }
label.l { display: block; font-weight: 700; font-size: 14.5px; margin: 12px 0 6px; }
label.l .opt { color: var(--muted); font-weight: 500; }
.in { width: 100%; font: inherit; font-size: 16px; color: var(--ink); background: var(--paper); border: 1.5px solid var(--line); border-radius: 12px; padding: 12px 14px; outline: none; transition: border-color .12s, box-shadow .12s; }
.in:focus { border-color: var(--taxi-d); box-shadow: 0 0 0 4px rgba(245,183,0,.2); }
textarea.in { min-height: 90px; resize: vertical; }
.row2 { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
@media (max-width: 520px) { .row2 { grid-template-columns: 1fr; } }
.seg { display: flex; flex-wrap: wrap; gap: 8px; }
.seg label { cursor: pointer; }
.seg input { position: absolute; opacity: 0; pointer-events: none; }
.seg span { display: inline-flex; align-items: center; gap: 8px; border: 1.5px solid var(--line); background: var(--paper); border-radius: 12px; padding: 10px 14px; font-weight: 700; font-size: 15px; }
.seg input:checked + span { border-color: var(--navy); background: var(--navy); color: #fff; }
.seg input:focus-visible + span { box-shadow: 0 0 0 4px rgba(245,183,0,.35); }
.seg.big span { padding: 14px 16px; flex-direction: column; align-items: flex-start; gap: 2px; min-width: 200px; }
.seg.big span small { font-weight: 500; opacity: .75; font-size: 13px; }
.hint { color: var(--muted); font-size: 14px; margin: 6px 0 0; }
.check { display: flex; gap: 10px; align-items: flex-start; font-size: 15px; margin: 10px 0; }
.check input { width: 20px; height: 20px; margin-top: 2px; accent-color: var(--taxi-d); flex: none; }
.ac { position: relative; }
.ac-list { position: absolute; z-index: 5; left: 0; right: 0; top: calc(100% + 4px); background: var(--card); border: 1px solid var(--line); border-radius: 12px; box-shadow: var(--shadow); overflow: hidden; }
.ac-list button { display: block; width: 100%; text-align: left; font: inherit; font-size: 15px; background: none; border: 0; border-top: 1px solid var(--line); padding: 10px 14px; color: var(--ink); cursor: pointer; }
.ac-list button:first-child { border-top: 0; }
.ac-list button:hover, .ac-list button.on { background: var(--taxi-soft); }
.ac-list small { display: block; color: var(--muted); font-size: 12.5px; }
.hidden { display: none !important; }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.side { position: sticky; top: 84px; }
.side .panel { background: var(--navy); color: #fff; border: 0; }
.side .panel p, .side .panel li { color: #C9D3DC; font-size: 15px; }
.side ul { padding-left: 18px; margin: 8px 0 0; }
.err { background: #FDECEA; color: var(--danger); border-radius: 12px; padding: 12px 14px; font-weight: 600; margin: 0 0 12px; }
.ok-box { text-align: center; padding: 34px 22px; }
.ok-box .ref { display: inline-block; font-size: 30px; font-weight: 900; letter-spacing: .06em; background: var(--taxi-soft); border: 2px dashed var(--taxi-d); color: var(--ink); border-radius: 14px; padding: 8px 18px; margin: 10px 0 14px; }
.ok-box .big { font-size: 54px; }

/* Espace client */
.tabs-c { display: flex; gap: 8px; margin: 0 0 16px; }
.tabs-c button { font: inherit; font-weight: 800; border: 1.5px solid var(--line); background: var(--card); color: var(--ink); border-radius: 999px; padding: 9px 16px; cursor: pointer; }
.tabs-c button.on { background: var(--navy); color: #fff; border-color: var(--navy); }
.item { display: flex; gap: 14px; align-items: center; background: var(--card); border: 1px solid var(--line); border-radius: 14px; padding: 14px 16px; margin-bottom: 10px; }
.item .bar { align-self: stretch; width: 5px; border-radius: 4px; flex: none; }
.item .main { flex: 1; min-width: 0; }
.item .main b { display: block; }
.item .main span { color: var(--muted); font-size: 14.5px; display: block; }
.item .side-r { text-align: right; flex: none; display: grid; gap: 6px; justify-items: end; }
.badge { display: inline-block; font-size: 12.5px; font-weight: 800; border-radius: 999px; padding: 3px 10px; }
.st-pending { background: #E3F5EA; color: #1E7F43; } .st-confirmed { background: var(--taxi-soft); color: #7A5B00; }
.st-done { background: #E8F0FE; color: #1A56B8; } .st-cancelled { background: #EEE; color: #555; }
.empty { text-align: center; color: var(--muted); padding: 30px 10px; }
.code-in { font-size: 28px; letter-spacing: .4em; text-align: center; font-weight: 800; }
.linkbtn { background: none; border: 0; font: inherit; color: var(--taxi-d); font-weight: 700; cursor: pointer; padding: 0; text-decoration: underline; }
.toast { position: fixed; left: 50%; bottom: 24px; transform: translateX(-50%); background: var(--navy); color: #fff; padding: 12px 18px; border-radius: 12px; font-weight: 700; z-index: 50; box-shadow: var(--shadow); max-width: 90vw; }
.sm-only { display: none; }
@media (max-width: 620px) { .lg-only { display: none; } .sm-only { display: inline; } }
.form-wrap > * { min-width: 0; }
.in { min-width: 0; max-width: 100%; }
input[type="datetime-local"].in { -webkit-appearance: none; appearance: none; min-height: 48px; }
@media (max-width: 560px) {
  .item { flex-wrap: wrap; }
  .item .main { flex-basis: calc(100% - 30px); }
  .item .side-r { width: 100%; display: flex; justify-content: space-between; align-items: center; padding-left: 19px; }
  .tabs-c button { padding: 8px 12px; font-size: 15px; }
  .seg.big span { min-width: 0; width: 100%; }
  .seg.big label { flex: 1 1 100%; }
}

/* Fonctions en préparation (portail de réservation) : masquées tant que BOOKINGS_ENABLED n'est pas activé */
html[data-portal="off"] [data-portal] { display: none !important; }
html:not([data-portal="off"]) [data-noportal] { display: none !important; }
