/* =========================================================
   MOBIDAKAR — Identité visuelle : océan Atlantique + coucher de soleil
   ========================================================= */
:root {
  --ocean: #0a4d68;
  --ocean-2: #073a4f;
  --ocean-3: #e6f1f5;
  --sun: #ff7a1a;
  --sun-2: #e8660a;
  --sand: #f8f3ec;
  --ink: #102a36;
  --muted: #58707b;
  --line: #e1e8eb;
  --ok: #17864f;
  --err: #c8342b;
  --r: 16px;
  --shadow: 0 10px 30px rgba(10, 77, 104, .10);
  --wrap: 1160px;
}
* { box-sizing: border-box; }
[hidden] { display: none !important; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body { margin: 0; font-family: "Plus Jakarta Sans", system-ui, -apple-system, Segoe UI, Roboto, sans-serif; color: var(--ink); background: #fff; line-height: 1.6; font-size: 16px; }
img { max-width: 100%; display: block; }
a { color: inherit; }
h1, h2, h3 { line-height: 1.15; margin: 0 0 .5em; letter-spacing: -.02em; }
h1 { font-size: clamp(2rem, 5vw, 3.2rem); font-weight: 800; }
h2 { font-size: clamp(1.55rem, 3.4vw, 2.2rem); font-weight: 800; }
h3 { font-size: 1.12rem; font-weight: 700; }
.wrap { max-width: var(--wrap); margin: 0 auto; padding: 0 16px; }
.section { padding: 68px 0; }
section[id] { scroll-margin-top: 72px; }
.sand { background: var(--sand); }
.kicker { display: inline-block; text-transform: uppercase; letter-spacing: .12em; font-size: .75rem; font-weight: 800; color: var(--sun-2); margin-bottom: .5rem; }
.lead { color: var(--muted); font-size: 1.07rem; max-width: 700px; }
.muted { color: var(--muted); }
.small { font-size: .87rem; }
.center { text-align: center; }
.center .lead { margin-left: auto; margin-right: auto; }

/* ---------- Boutons ---------- */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: .5em; padding: .85em 1.35em; border-radius: 12px; font: inherit; font-weight: 700; text-decoration: none; border: 2px solid transparent; cursor: pointer; transition: .15s; font-size: .98rem; }
.btn-sun { background: var(--sun); color: #fff; }
.btn-sun:hover { background: var(--sun-2); }
.btn-ocean { background: var(--ocean); color: #fff; }
.btn-ocean:hover { background: var(--ocean-2); }
.btn-line { border-color: currentColor; background: transparent; }
.btn-wa { background: #25d366; color: #fff; }
.btn-sm { padding: .5em .95em; font-size: .88rem; }
.btn-block { width: 100%; }
.btn:disabled { opacity: .5; cursor: not-allowed; }

/* ---------- En-tête ---------- */
.md-head { position: sticky; top: 0; z-index: 60; background: rgba(255,255,255,.97); backdrop-filter: blur(8px); border-bottom: 1px solid var(--line); }
.md-head .wrap { display: flex; align-items: center; justify-content: space-between; height: 66px; }
.brand { display: flex; align-items: center; gap: 10px; text-decoration: none; }
.brand svg { width: 38px; height: 38px; flex: none; }
.brand b { font-size: 1.4rem; font-weight: 800; letter-spacing: -.03em; color: var(--ocean); line-height: 1; }
.brand b span { color: var(--sun); }
.brand small { display: block; font-size: .62rem; letter-spacing: .1em; text-transform: uppercase; color: var(--muted); font-weight: 700; margin-top: 3px; }
.md-nav { display: flex; align-items: center; gap: 22px; }
.md-nav a { text-decoration: none; font-weight: 600; font-size: .94rem; }
.md-nav a:hover, .md-nav a.on { color: var(--sun-2); }
.burger { display: none; border: 0; background: none; font-size: 1.6rem; color: var(--ocean); cursor: pointer; }
@media (max-width: 940px) {
  .burger { display: block; }
  .md-nav { display: none; position: absolute; top: 66px; left: 0; right: 0; background: #fff; flex-direction: column; align-items: stretch; gap: 2px; padding: 10px 16px 18px; box-shadow: var(--shadow); }
  .md-nav.open { display: flex; }
  .md-nav a { padding: 11px 2px; }
}

/* ---------- Hero ---------- */
.hero { position: relative; color: #fff; background:
  radial-gradient(900px 420px at 90% 0%, rgba(255,122,26,.35), transparent 60%),
  linear-gradient(170deg, var(--ocean) 0%, var(--ocean-2) 100%); padding: 56px 0 72px; overflow: hidden; }
.hero::after { content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 60px; background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 1200 60' preserveAspectRatio='none'%3E%3Cpath d='M0 30 Q150 0 300 30 T600 30 T900 30 T1200 30 V60 H0Z' fill='%23ffffff'/%3E%3C/svg%3E") center/100% 100% no-repeat; }
.hero .wrap { position: relative; z-index: 1; display: grid; grid-template-columns: 1fr 1.05fr; gap: 40px; align-items: start; }
.hero p.lead { color: #cfe3ec; }
.hero h1 em { font-style: normal; color: #ffb27a; }
.hero-points { list-style: none; padding: 0; margin: 22px 0 0; display: grid; gap: 10px; }
.hero-points li { display: flex; gap: 10px; align-items: center; color: #e2eef3; }
.hero-points li::before { content: "✓"; width: 24px; height: 24px; border-radius: 50%; background: rgba(255,122,26,.25); color: #ffb27a; display: grid; place-items: center; font-weight: 800; font-size: .8rem; flex: none; }
.crumbs { font-size: .85rem; color: #b9d3de; margin-bottom: 14px; }
.crumbs a { color: #fff; }
@media (max-width: 900px) { .hero .wrap { grid-template-columns: 1fr; gap: 24px; } .hero { padding: 32px 0 64px; } }
@media (max-width: 600px) { .hero-points { display: none; } .hero .lead { margin-bottom: 0; } }

/* ---------- Module de réservation ---------- */
.booker { background: #fff; color: var(--ink); border-radius: 20px; box-shadow: 0 20px 50px rgba(0,0,0,.25); overflow: hidden; }
.bk-tabs { display: grid; grid-template-columns: repeat(3, 1fr); background: var(--ocean-3); }
.bk-tabs button { border: 0; background: none; padding: 14px 6px; font: inherit; font-weight: 700; font-size: .9rem; cursor: pointer; color: var(--muted); border-bottom: 3px solid transparent; }
.bk-tabs button.on { background: #fff; color: var(--ocean); border-bottom-color: var(--sun); }
.bk-body { padding: 20px; }
.bk-steps { display: flex; gap: 6px; margin-bottom: 14px; }
.bk-steps span { flex: 1; height: 4px; border-radius: 4px; background: var(--line); }
.bk-steps span.on { background: var(--sun); }
.fgrid { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.fgrid .full { grid-column: 1 / -1; }
@media (max-width: 480px) { .fgrid { grid-template-columns: 1fr; } }
label.f { display: grid; gap: 5px; font-size: .82rem; font-weight: 700; color: var(--ink); }
input, select, textarea { width: 100%; padding: .75em .85em; border: 1.5px solid #cfdbe0; border-radius: 10px; font: inherit; font-size: 1rem; background: #fff; color: var(--ink); }
input:focus, select:focus, textarea:focus { outline: none; border-color: var(--ocean); box-shadow: 0 0 0 3px rgba(10,77,104,.15); }
.seg { display: grid; grid-template-columns: 1fr 1fr; background: var(--ocean-3); padding: 4px; border-radius: 12px; gap: 4px; }
.seg label { text-align: center; padding: .6em; border-radius: 9px; cursor: pointer; font-weight: 700; font-size: .88rem; color: var(--muted); }
.seg input { display: none; }
.seg label:has(input:checked) { background: #fff; color: var(--ocean); box-shadow: 0 2px 6px rgba(0,0,0,.08); }
.classes { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; }
.cls { border: 2px solid var(--line); border-radius: 12px; padding: 10px 8px; text-align: center; cursor: pointer; position: relative; }
.cls input { position: absolute; opacity: 0; }
.cls b { display: block; font-size: .95rem; }
.cls .cap { font-size: .75rem; color: var(--muted); }
.cls .p { font-weight: 800; color: var(--ocean); font-size: .9rem; margin-top: 4px; }
.cls:has(input:checked) { border-color: var(--sun); background: #fff7f0; }
.cls:has(input:disabled) { opacity: .4; cursor: not-allowed; }
.check { display: flex; align-items: center; gap: 8px; font-size: .9rem; font-weight: 600; cursor: pointer; }
.check input { width: 18px; height: 18px; accent-color: var(--sun); }
.summary { background: var(--sand); border-radius: 12px; padding: 12px 14px; display: grid; gap: 5px; font-size: .92rem; }
.summary .row { display: flex; justify-content: space-between; gap: 10px; }
.summary .total { border-top: 1px dashed #d9cdbd; padding-top: 7px; margin-top: 2px; font-weight: 800; font-size: 1.1rem; color: var(--ocean); }
.bk-actions { display: flex; gap: 10px; margin-top: 14px; }
.bk-actions .btn { flex: 1; }
.bk-err { background: #fdeceb; color: var(--err); padding: 10px 12px; border-radius: 10px; font-size: .9rem; margin-top: 10px; }
.bk-ok { text-align: center; padding: 10px 4px; }
.bk-ok .ref { display: inline-block; font-size: 1.6rem; font-weight: 800; letter-spacing: .08em; color: var(--ocean); background: var(--ocean-3); padding: .2em .7em; border-radius: 10px; margin: 8px 0 12px; }
.pick { display: grid; gap: 10px; max-height: 420px; overflow-y: auto; padding-right: 2px; }
.pick-item { display: grid; grid-template-columns: 96px 1fr auto; gap: 12px; align-items: center; border: 2px solid var(--line); border-radius: 12px; padding: 8px; }
.pick-item img { width: 96px; height: 64px; object-fit: cover; border-radius: 8px; background: var(--sand); }
.pick-item.busy { opacity: .45; }
.pick-item.sel { border-color: var(--sun); background: #fff7f0; }
.pick-item .pr { text-align: right; font-weight: 800; color: var(--ocean); white-space: nowrap; }
.pick-item .pr small { display: block; font-weight: 500; color: var(--muted); }
@media (max-width: 480px) { .pick-item { grid-template-columns: 72px 1fr; } .pick-item img { width: 72px; height: 52px; } .pick-item .pr { grid-column: 1 / -1; text-align: left; display: flex; justify-content: space-between; align-items: center; } }
.hp { position: absolute; left: -9999px; }

/* ---------- Cartes / grilles ---------- */
.grid { display: grid; gap: 18px; }
.g4 { grid-template-columns: repeat(4, 1fr); }
.g3 { grid-template-columns: repeat(3, 1fr); }
.g2 { grid-template-columns: repeat(2, 1fr); }
@media (max-width: 980px) { .g4, .g3 { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 600px) { .g4, .g3, .g2 { grid-template-columns: 1fr; } }
.card { background: #fff; border: 1px solid var(--line); border-radius: var(--r); padding: 22px; }
.card p { color: var(--muted); margin: 0; }
.ico { width: 46px; height: 46px; border-radius: 12px; background: #fff1e6; display: grid; place-items: center; font-size: 1.35rem; margin-bottom: 12px; }
a.card { text-decoration: none; transition: .2s; display: block; }
a.card:hover { transform: translateY(-3px); box-shadow: var(--shadow); }
a.card .go { color: var(--sun-2); font-weight: 700; margin-top: 10px; display: inline-block; }
.ticks { list-style: none; padding: 0; margin: 12px 0 0; display: grid; gap: 6px; }
.ticks li::before { content: "✓"; color: var(--ok); font-weight: 800; margin-right: 8px; }

/* ---------- Tarifs transfert ---------- */
.tbl-wrap { overflow-x: auto; border: 1px solid var(--line); border-radius: var(--r); background: #fff; }
table.tbl { width: 100%; border-collapse: collapse; min-width: 600px; }
.tbl th, .tbl td { padding: 13px 16px; text-align: left; border-bottom: 1px solid var(--line); }
.tbl th { background: var(--ocean); color: #fff; font-size: .88rem; }
.tbl td b { color: var(--ocean); }
.tbl tr:last-child td { border-bottom: 0; }
.tbl tr.hl td { background: #fff7f0; }
.tbl a { color: var(--ocean); font-weight: 700; }

/* ---------- Flotte ---------- */
.fleet { display: grid; grid-template-columns: repeat(auto-fill, minmax(250px, 1fr)); gap: 18px; }
.car { border: 1px solid var(--line); border-radius: var(--r); overflow: hidden; background: #fff; display: flex; flex-direction: column; }
.car .ph { aspect-ratio: 16/10; background: var(--sand); }
.car .ph img { width: 100%; height: 100%; object-fit: cover; }
.car .bd { padding: 14px 16px 16px; display: flex; flex-direction: column; gap: 6px; flex: 1; }
.car .sp { display: flex; flex-wrap: wrap; gap: 4px 12px; color: var(--muted); font-size: .85rem; }
.car .ft { margin-top: auto; padding-top: 8px; display: flex; justify-content: space-between; align-items: center; gap: 8px; }
.car .ft b { color: var(--ocean); font-size: 1.15rem; }

/* ---------- Étapes / FAQ ---------- */
.steps { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; counter-reset: s; }
@media (max-width: 900px) { .steps { grid-template-columns: 1fr 1fr; } }
@media (max-width: 540px) { .steps { grid-template-columns: 1fr; } }
.step { position: relative; padding: 20px; border-radius: var(--r); background: #fff; border: 1px solid var(--line); }
.step::before { counter-increment: s; content: counter(s); display: grid; place-items: center; width: 34px; height: 34px; border-radius: 50%; background: var(--sun); color: #fff; font-weight: 800; margin-bottom: 10px; }
.step p { margin: 0; color: var(--muted); font-size: .94rem; }
.faq { max-width: 820px; }
.faq details { border-bottom: 1px solid var(--line); padding: 14px 0; }
.faq summary { cursor: pointer; font-weight: 700; list-style: none; display: flex; justify-content: space-between; gap: 10px; }
.faq summary::after { content: "+"; color: var(--sun); font-size: 1.3rem; line-height: 1; }
.faq details[open] summary::after { content: "–"; }
.faq details p { color: var(--muted); margin: 10px 0 0; }
.prose { max-width: 820px; }
.prose p { color: #33505c; }
.prose h2 { margin-top: 1.4em; }

/* ---------- Bandeau ---------- */
.band { background: linear-gradient(135deg, var(--ocean), var(--ocean-2)); color: #fff; border-radius: 22px; padding: 40px; display: grid; grid-template-columns: 1.4fr 1fr; gap: 26px; align-items: center; }
.band p { color: #cfe3ec; }
@media (max-width: 820px) { .band { grid-template-columns: 1fr; padding: 28px 20px; } }

/* ---------- Pied de page ---------- */
.md-foot { background: var(--ocean-2); color: #b8d0da; padding: 48px 0 90px; font-size: .92rem; }
.md-foot .cols { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1fr; gap: 26px; }
.md-foot h4 { color: #fff; margin: 0 0 10px; font-size: .95rem; }
.md-foot a { text-decoration: none; display: block; padding: 3px 0; }
.md-foot a:hover { color: #ffb27a; }
.md-foot .brand b { color: #fff; }
.md-foot .bottom { margin-top: 30px; padding-top: 16px; border-top: 1px solid rgba(255,255,255,.1); display: flex; flex-wrap: wrap; justify-content: space-between; gap: 10px; }
@media (max-width: 820px) { .md-foot .cols { grid-template-columns: 1fr 1fr; } }
@media (max-width: 520px) { .md-foot .cols { grid-template-columns: 1fr; } }

/* ---------- Barre mobile fixe + installation ---------- */
.mbar { position: fixed; left: 0; right: 0; bottom: 0; z-index: 70; display: none; gap: 8px; padding: 10px 12px calc(10px + env(safe-area-inset-bottom)); background: #fff; border-top: 1px solid var(--line); box-shadow: 0 -6px 20px rgba(0,0,0,.08); }
.mbar .btn { flex: 1; padding: .75em; }
@media (max-width: 760px) { .mbar { display: flex; } }
.install { position: fixed; left: 12px; right: 12px; bottom: 80px; z-index: 75; background: var(--ink); color: #fff; border-radius: 14px; padding: 12px 14px; display: flex; align-items: center; gap: 12px; box-shadow: var(--shadow); max-width: 460px; margin: 0 auto; }
.install p { margin: 0; flex: 1; font-size: .88rem; }
.install button.x { background: none; border: 0; color: #9fb6c0; font-size: 1.3rem; cursor: pointer; }
@media (min-width: 761px) { .install { bottom: 20px; left: auto; right: 20px; } }
.demo-bar { background: var(--sun); color: #fff; text-align: center; font-size: .84rem; padding: 6px 12px; font-weight: 700; }
