/* EasyVola — styles */
:root {
  --navy: #1e3a8a;
  --navy-deep: #14275f;
  --blue: #2563eb;
  --blue-soft: #e8f0fe;
  --cta: #c2410c;
  --cta-hover: #9a3412;
  --bg: #f5f8ff;
  --surface: #ffffff;
  --ink: #0f1e45;
  --muted: #55617e;
  --border: #d6e2f5;
  --success: #15803d;
  --success-soft: #e7f6ec;
  --warn: #92400e;
  --warn-soft: #fef3c7;
  --danger: #b91c1c;
  --radius: 14px;
  --radius-sm: 10px;
  --shadow-1: 0 1px 2px rgba(15, 30, 69, .06), 0 2px 8px rgba(15, 30, 69, .05);
  --shadow-2: 0 8px 28px rgba(15, 30, 69, .12);
  --font-head: "Lexend", system-ui, sans-serif;
  --font-body: "Source Sans 3", system-ui, sans-serif;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 84px; }
body {
  margin: 0; background: var(--bg); color: var(--ink);
  font: 400 17px/1.55 var(--font-body);
  -webkit-font-smoothing: antialiased;
}
h1, h2, h3 { font-family: var(--font-head); line-height: 1.2; margin: 0; letter-spacing: -.01em; }
p { margin: 0; }
a { color: var(--blue); }
button, input, select, textarea { font: inherit; color: inherit; }
button { cursor: pointer; }
[hidden] { display: none !important; }
:focus-visible { outline: 3px solid var(--blue); outline-offset: 2px; border-radius: 6px; }
svg.i { width: 1.25em; height: 1.25em; flex: none; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }

.container { width: min(1160px, 100% - 32px); margin-inline: auto; }
.narrow { width: min(720px, 100% - 32px); padding-block: 40px 72px; }
.skip-link { position: absolute; inset-inline-start: 8px; top: -80px; background: #fff; padding: 8px 14px; border-radius: 8px; z-index: 100; }
.skip-link:focus { top: 8px; }

/* Boutons */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  min-height: 48px; padding: 0 22px; border-radius: 12px; border: 1.5px solid transparent;
  font: 600 16px/1 var(--font-head); text-decoration: none; touch-action: manipulation; white-space: nowrap;
  transition: background-color .18s ease, border-color .18s ease, transform .12s ease, box-shadow .18s ease;
}
.btn:active { transform: scale(.98); }
.btn-sm { min-height: 44px; padding: 0 16px; font-size: 15px; }
.btn-block { width: 100%; }
.btn-cta { background: var(--cta); color: #fff; box-shadow: 0 6px 16px rgba(194, 65, 12, .28); }
.btn-cta:hover { background: var(--cta-hover); }
.btn-primary { background: var(--navy); color: #fff; }
.btn-primary:hover { background: var(--navy-deep); }
.btn-ghost { background: transparent; color: var(--navy); border-color: var(--border); }
.btn-ghost:hover { background: var(--blue-soft); border-color: var(--blue); }
.btn[disabled] { opacity: .55; cursor: not-allowed; box-shadow: none; }
.btn .spinner { width: 18px; height: 18px; border-radius: 50%; border: 2.5px solid rgba(255,255,255,.4); border-top-color: #fff; animation: spin .7s linear infinite; }
@keyframes spin { to { transform: rotate(360deg); } }

/* En-tête */
.site-header { position: sticky; top: 0; z-index: 40; background: rgba(255,255,255,.94); backdrop-filter: blur(8px); border-bottom: 1px solid var(--border); }
.header-inner { display: flex; align-items: center; gap: 24px; height: 68px; }
.logo { display: inline-flex; align-items: center; gap: 10px; text-decoration: none; color: var(--navy); font: 700 22px/1 var(--font-head); letter-spacing: -.02em; }
.logo b { color: var(--cta); font-weight: 700; }
.logo-light { color: #fff; }
.logo-light b { color: #fdba74; }
.main-nav { display: none; gap: 4px; margin-inline-start: auto; }
.main-nav button, .main-nav a { background: none; border: 0; padding: 10px 12px; border-radius: 8px; color: var(--ink); font: 500 15px/1 var(--font-head); text-decoration: none; }
.main-nav button:hover, .main-nav a:hover { background: var(--blue-soft); color: var(--navy); }
.header-cta { margin-inline-start: auto; }
@media (min-width: 960px) { .main-nav { display: flex; } .header-cta { margin-inline-start: 0; } }

/* Hero */
.hero { background: linear-gradient(160deg, #14275f 0%, #1e3a8a 55%, #2a56c6 100%); color: #fff; padding: 56px 0 72px; }
.hero-grid { display: grid; gap: 36px; align-items: center; }
.eyebrow { font: 600 14px/1.3 var(--font-head); letter-spacing: .04em; text-transform: uppercase; color: #fdba74; margin-bottom: 14px; }
.hero h1 { font-size: clamp(2rem, 4.6vw, 3.25rem); font-weight: 700; }
.lead { margin-top: 18px; font-size: 1.15rem; color: #dbe6ff; max-width: 56ch; }
.hero-points { list-style: none; padding: 0; margin: 24px 0 0; display: grid; gap: 10px; }
.hero-points li { display: flex; gap: 10px; align-items: flex-start; color: #eef3ff; }
.hero-points svg { color: #86efac; margin-top: 3px; }
.hero-card { background: var(--surface); color: var(--ink); border-radius: 18px; padding: 24px; box-shadow: var(--shadow-2); display: grid; gap: 16px; }
.hero-card h2 { font-size: 1.25rem; }
.secure-note { display: flex; gap: 8px; align-items: center; justify-content: center; font-size: 14px; color: var(--muted); }
@media (min-width: 900px) { .hero-grid { grid-template-columns: 1.15fr .85fr; gap: 56px; } .hero { padding: 80px 0 96px; } }

/* Sections */
.section { padding: 64px 0; }
.section-alt { background: #fff; border-block: 1px solid var(--border); }
.section-title { font-size: clamp(1.5rem, 3vw, 2.1rem); text-align: center; }
.section-sub { color: var(--muted); text-align: center; max-width: 62ch; margin: 12px auto 36px; }
.section-sub.left { text-align: start; margin-inline: 0; }
.page-title { font-size: clamp(1.6rem, 3vw, 2.1rem); }

.svc-showcase { display: grid; grid-template-columns: repeat(auto-fill, minmax(230px, 1fr)); gap: 16px; }
.svc-tile { background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius); padding: 20px; display: grid; gap: 8px; box-shadow: var(--shadow-1); }
.svc-tile h3 { font-size: 1.05rem; }
.svc-tile p { color: var(--muted); font-size: .95rem; }
.svc-ico { width: 44px; height: 44px; border-radius: 12px; background: var(--blue-soft); color: var(--navy); display: grid; place-items: center; }
.svc-ico svg { width: 24px; height: 24px; }

.steps-row { list-style: none; padding: 0; margin: 0; display: grid; gap: 20px; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); }
.steps-row li { padding: 4px; }
.steps-row h3 { font-size: 1.1rem; margin: 12px 0 6px; }
.steps-row p { color: var(--muted); }
.step-num { width: 40px; height: 40px; border-radius: 50%; background: var(--navy); color: #fff; display: grid; place-items: center; font: 700 17px/1 var(--font-head); }

/* Packs */
.packs { display: grid; gap: 18px; grid-template-columns: repeat(auto-fit, minmax(250px, 1fr)); align-items: stretch; }
.pack { position: relative; background: var(--surface); border: 1.5px solid var(--border); border-radius: 18px; padding: 26px 22px 22px; display: flex; flex-direction: column; gap: 14px; box-shadow: var(--shadow-1); transition: border-color .18s ease, box-shadow .18s ease; }
.pack.featured { border-color: var(--navy); box-shadow: var(--shadow-2); }
.pack-badge { position: absolute; top: -12px; inset-inline-start: 22px; background: var(--navy); color: #fff; font: 600 12px/1 var(--font-head); padding: 6px 10px; border-radius: 999px; letter-spacing: .03em; }
.pack h3 { font-size: 1.2rem; }
.pack-tag { color: var(--muted); font-size: .95rem; }
.pack-price { font: 700 2.2rem/1 var(--font-head); color: var(--navy); font-variant-numeric: tabular-nums; }
.pack-price small { font: 500 .95rem/1 var(--font-body); color: var(--muted); }
.pack-delay { display: inline-flex; align-items: center; gap: 8px; font-weight: 600; color: var(--ink); }
.pack ul { list-style: none; padding: 0; margin: 0; display: grid; gap: 8px; flex: 1; }
.pack li { display: flex; gap: 8px; align-items: flex-start; font-size: .97rem; }
.pack li svg { color: var(--success); margin-top: 3px; }
label.pack { cursor: pointer; }
label.pack:hover { border-color: var(--blue); }
label.pack:has(input:checked) { border-color: var(--cta); box-shadow: 0 0 0 3px rgba(194, 65, 12, .18), var(--shadow-2); }
label.pack:has(input:focus-visible) { outline: 3px solid var(--blue); outline-offset: 2px; }
.pack-pick { display: flex; align-items: center; gap: 8px; font: 600 15px/1 var(--font-head); color: var(--navy); padding-top: 12px; border-top: 1px solid var(--border); }
.pack-pick input { width: 20px; height: 20px; accent-color: var(--cta); }

/* FAQ */
.faq-wrap { max-width: 820px; }
.faq-wrap .section-title { margin-bottom: 28px; }
details { background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius-sm); margin-bottom: 10px; }
summary { cursor: pointer; padding: 16px 18px; font: 600 1rem/1.4 var(--font-head); list-style-position: outside; }
details p { padding: 0 18px 18px; color: var(--muted); }

.cta-band { background: var(--navy-deep); color: #fff; padding: 48px 0; }
.cta-band-inner { display: flex; flex-wrap: wrap; gap: 20px; align-items: center; justify-content: space-between; }
.cta-band h2 { font-size: clamp(1.3rem, 2.6vw, 1.7rem); max-width: 28ch; }

/* Pied de page */
.site-footer { background: #0c1838; color: #c7d3ee; padding: 44px 0 24px; font-size: .97rem; }
.site-footer a { color: #e3ebff; }
.footer-grid { display: grid; gap: 28px; grid-template-columns: repeat(auto-fit, minmax(210px, 1fr)); }
.footer-grid h3 { font-size: 1rem; color: #fff; margin-bottom: 8px; }
.footer-grid p { margin-top: 10px; line-height: 1.8; }
.footer-bottom { margin-top: 28px; padding-top: 18px; border-top: 1px solid rgba(255,255,255,.14); font-size: .88rem; color: #9fb0d6; }

/* ===== Assistant ===== */
.wizard-layout { display: grid; gap: 24px; padding-block: 28px 72px; align-items: start; }
@media (min-width: 1020px) { .wizard-layout { grid-template-columns: minmax(0, 1fr) 340px; gap: 32px; } .summary { position: sticky; top: 92px; } }

.stepper { list-style: none; display: flex; gap: 6px; padding: 0; margin: 0 0 20px; }
.stepper li { flex: 1; display: grid; gap: 8px; font: 500 13px/1.2 var(--font-head); color: var(--muted); }
.stepper li::before { content: ""; height: 5px; border-radius: 99px; background: var(--border); transition: background-color .25s ease; }
.stepper li.done::before { background: var(--success); }
.stepper li.current { color: var(--navy); font-weight: 600; }
.stepper li.current::before { background: var(--cta); }
.stepper li span { display: none; }
.stepper li.current span { display: block; }
@media (min-width: 720px) { .stepper li span { display: block; } }

.card { background: var(--surface); border: 1px solid var(--border); border-radius: 18px; padding: 22px; box-shadow: var(--shadow-1); }
@media (min-width: 720px) { .card { padding: 30px; } }
.step-head h1 { font-size: clamp(1.4rem, 2.8vw, 1.8rem); }
.step-head p { color: var(--muted); margin-top: 8px; }
.step-body { display: grid; gap: 22px; margin-top: 24px; }
.group { border: 0; padding: 0; margin: 0; display: grid; gap: 14px; min-width: 0; }
.group > legend, .group-title { font: 600 1.05rem/1.3 var(--font-head); padding: 0; margin-bottom: 4px; }
.grid-2 { display: grid; gap: 14px; }
@media (min-width: 640px) { .grid-2 { grid-template-columns: 1fr 1fr; } }

.field { display: grid; gap: 6px; min-width: 0; }
.field > label, .field-label { font: 600 .95rem/1.3 var(--font-body); }
.req { color: var(--danger); }
.field input[type=text], .field input[type=email], .field input[type=tel], .field input[type=date], .field input[type=password], .field select, .field textarea {
  width: 100%; min-height: 48px; padding: 10px 14px; background: #fff;
  border: 1.5px solid #b9c8e4; border-radius: 10px; transition: border-color .15s ease, box-shadow .15s ease;
}
.field textarea { min-height: 96px; resize: vertical; }
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-color: var(--blue); box-shadow: 0 0 0 3px rgba(37, 99, 235, .2); }
.field.has-error input, .field.has-error select, .field.has-error textarea { border-color: var(--danger); }
.help { font-size: .88rem; color: var(--muted); }
.error { font-size: .9rem; color: var(--danger); font-weight: 600; display: flex; gap: 6px; align-items: center; }

/* Choix en pastilles */
.chips { display: flex; flex-wrap: wrap; gap: 8px; }
.chip { position: relative; }
.chip input { position: absolute; opacity: 0; inset: 0; cursor: pointer; }
.chip span { display: inline-flex; align-items: center; min-height: 44px; padding: 0 16px; border-radius: 999px; border: 1.5px solid #b9c8e4; background: #fff; font-weight: 600; font-size: .95rem; transition: all .15s ease; }
.chip input:hover + span { border-color: var(--blue); }
.chip input:checked + span { background: var(--navy); border-color: var(--navy); color: #fff; }
.chip input:focus-visible + span { outline: 3px solid var(--blue); outline-offset: 2px; }

.check { display: flex; gap: 10px; align-items: flex-start; cursor: pointer; min-height: 44px; padding-block: 8px; }
.check input { width: 20px; height: 20px; margin-top: 2px; accent-color: var(--navy); flex: none; }

/* Passagers */
.pax-row { display: flex; gap: 10px; align-items: flex-end; }
.pax-row .field { flex: 1; }
.icon-btn { width: 48px; height: 48px; flex: none; display: grid; place-items: center; border-radius: 10px; border: 1.5px solid var(--border); background: #fff; color: var(--muted); }
.icon-btn:hover { color: var(--danger); border-color: var(--danger); }
.link-btn { background: none; border: 0; padding: 10px 0; color: var(--blue); font-weight: 600; display: inline-flex; gap: 8px; align-items: center; justify-self: start; min-height: 44px; }
.link-btn:hover { text-decoration: underline; }

/* Cartes de service (sélection) */
.svc-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(150px, 1fr)); gap: 12px; }
.svc-card { position: relative; display: grid; gap: 10px; justify-items: start; padding: 16px; border: 1.5px solid var(--border); border-radius: var(--radius); background: #fff; cursor: pointer; transition: border-color .15s ease, box-shadow .15s ease, background-color .15s ease; }
.svc-card:hover { border-color: var(--blue); }
.svc-card input { position: absolute; opacity: 0; inset: 0; cursor: pointer; }
.svc-card strong { font: 600 .98rem/1.25 var(--font-head); }
.svc-card small { color: var(--muted); font-size: .85rem; line-height: 1.35; }
.svc-card .tick { position: absolute; top: 12px; inset-inline-end: 12px; width: 24px; height: 24px; border-radius: 50%; border: 1.5px solid #b9c8e4; display: grid; place-items: center; color: transparent; }
.svc-card .tick svg { width: 14px; height: 14px; stroke-width: 3; }
.svc-card:has(input:checked) { border-color: var(--navy); background: #f1f6ff; box-shadow: 0 0 0 3px rgba(30, 58, 138, .14); }
.svc-card:has(input:checked) .tick { background: var(--navy); border-color: var(--navy); color: #fff; }
.svc-card:has(input:focus-visible) { outline: 3px solid var(--blue); outline-offset: 2px; }
.new-tag { font: 600 11px/1 var(--font-head); background: var(--cta); color: #fff; padding: 4px 7px; border-radius: 999px; }

/* Bloc détail d'un service */
.detail { border: 1px solid var(--border); border-radius: var(--radius); overflow: hidden; }
.detail-head { display: flex; gap: 12px; align-items: center; padding: 14px 18px; background: #f1f6ff; border-bottom: 1px solid var(--border); }
.detail-head h2 { font-size: 1.08rem; }
.detail-head .svc-ico { width: 38px; height: 38px; background: #fff; }
.detail-body { padding: 18px; display: grid; gap: 18px; }
.pax-block { border: 1px solid var(--border); border-radius: var(--radius-sm); padding: 4px 14px; }
.pax-block.on { padding-bottom: 14px; background: #fbfcff; }
.pax-fields { display: grid; gap: 14px; padding-top: 6px; }

.notice { display: flex; gap: 10px; align-items: flex-start; padding: 12px 14px; border-radius: var(--radius-sm); font-size: .95rem; background: var(--blue-soft); color: #1e2f66; }
.notice.warn { background: var(--warn-soft); color: var(--warn); }
.notice.ok { background: var(--success-soft); color: #14532d; }
.notice svg { margin-top: 2px; }

.wizard-nav { display: flex; justify-content: space-between; gap: 12px; margin-top: 28px; padding-top: 20px; border-top: 1px solid var(--border); }
.wizard-nav .btn-cta, .wizard-nav .btn-primary { margin-inline-start: auto; }

/* Récapitulatif */
.summary { background: var(--surface); border: 1px solid var(--border); border-radius: 18px; padding: 22px; box-shadow: var(--shadow-1); display: grid; gap: 16px; }
.summary h2 { font-size: 1.1rem; }
.summary dl { margin: 0; display: grid; gap: 10px; }
.summary dt { font-size: .82rem; text-transform: uppercase; letter-spacing: .05em; color: var(--muted); font-weight: 600; }
.summary dd { margin: 2px 0 0; font-weight: 600; overflow-wrap: anywhere; }
.summary ul { list-style: none; padding: 0; margin: 4px 0 0; display: grid; gap: 6px; }
.summary li { display: flex; gap: 8px; align-items: center; font-weight: 500; }
.summary li svg { color: var(--navy); }
.summary .empty { color: var(--muted); font-weight: 400; }
.total { border-top: 1px solid var(--border); padding-top: 14px; display: grid; gap: 6px; }
.total-row { display: flex; justify-content: space-between; gap: 12px; align-items: baseline; }
.total-row strong { font: 700 1.5rem/1 var(--font-head); color: var(--navy); font-variant-numeric: tabular-nums; }
.total small { color: var(--muted); font-size: .88rem; }

/* Récap final + confirmation */
.recap-list { display: grid; gap: 10px; }
.recap-item { border: 1px solid var(--border); border-radius: var(--radius-sm); padding: 12px 14px; }
.recap-item h3 { font-size: 1rem; display: flex; gap: 8px; align-items: center; }
.recap-item p { color: var(--muted); font-size: .95rem; margin-top: 4px; }
.pay-methods { display: grid; gap: 10px; }
@media (min-width: 560px) { .pay-methods { grid-template-columns: 1fr 1fr; } }
.pay-opt { display: flex; gap: 12px; align-items: center; padding: 14px 16px; border: 1.5px solid var(--border); border-radius: var(--radius-sm); cursor: pointer; font-weight: 600; min-height: 56px; }
.pay-opt input { width: 20px; height: 20px; accent-color: var(--cta); }
.pay-opt:has(input:checked) { border-color: var(--cta); background: #fff7f2; }

.confirm { text-align: center; }
.confirm-ico { width: 68px; height: 68px; margin: 0 auto 16px; border-radius: 50%; background: var(--success-soft); color: var(--success); display: grid; place-items: center; }
.confirm-ico svg { width: 34px; height: 34px; stroke-width: 2.4; }
.ref-box { display: inline-block; margin: 18px 0 6px; padding: 12px 22px; border-radius: 12px; background: var(--blue-soft); font: 700 1.35rem/1 var(--font-head); letter-spacing: .06em; color: var(--navy); }
.timeline { list-style: none; padding: 0; margin: 26px 0 0; text-align: start; display: grid; }
.timeline li { position: relative; padding: 0 0 22px; padding-inline-start: 40px; }
.timeline li:last-child { padding-bottom: 0; }
.timeline li::before { content: ""; position: absolute; inset-inline-start: 11px; top: 26px; bottom: 0; width: 2px; background: var(--border); }
.timeline li:last-child::before { display: none; }
.timeline .dot { position: absolute; inset-inline-start: 0; top: 0; width: 24px; height: 24px; border-radius: 50%; border: 2px solid var(--border); background: #fff; display: grid; place-items: center; color: #fff; }
.timeline .dot svg { width: 13px; height: 13px; stroke-width: 3.2; }
.timeline li.done .dot { background: var(--success); border-color: var(--success); }
.timeline li.current .dot { border-color: var(--cta); box-shadow: 0 0 0 4px rgba(194, 65, 12, .18); }
.timeline h3 { font-size: 1rem; }
.timeline p { color: var(--muted); font-size: .95rem; margin-top: 2px; }
.confirm-actions { display: flex; flex-wrap: wrap; gap: 12px; justify-content: center; margin-top: 28px; }

.track-form { display: grid; gap: 14px; }
@media (min-width: 640px) { .track-form { grid-template-columns: 1fr 1fr auto; align-items: end; } }
#trackResult { margin-top: 22px; }

.toast { position: fixed; left: 50%; bottom: 24px; transform: translateX(-50%); background: var(--ink); color: #fff; padding: 12px 18px; border-radius: 12px; box-shadow: var(--shadow-2); z-index: 100; max-width: calc(100% - 32px); }

.fade-in { animation: fadeIn .22s ease-out; }
@keyframes fadeIn { from { opacity: 0; transform: translateY(6px); } to { opacity: 1; transform: none; } }
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .01ms !important; transition-duration: .01ms !important; scroll-behavior: auto !important; }
}

/* Tuiles de service cliquables et lien vers les conditions générales */
a.svc-tile { color: inherit; text-decoration: none; }
.cgv-link { margin: -6px 0 14px; }
