
.commande-page {
  --cmd-ink:#15181f;
  --cmd-ink-soft:#565f72;
  --cmd-paper:#f6f4ef;
  --cmd-panel:#ffffff;
  --cmd-line:rgba(21,24,31,0.12);
  --cmd-blue:#1455d9;
  --cmd-blue-deep:#0b3fae;
  --cmd-gold:#d99a1b;
  --cmd-gold-deep:#a9740c;
  --cmd-gold-pale:#f6e6c4;
  --cmd-whatsapp:#25d366;
  --cmd-danger:#c1443f;
}
.commande-page * { box-sizing:border-box; }
.commande-page {
  margin:0;
  background:var(--cmd-paper);
  color:var(--cmd-ink);
  font-family:'Inter',sans-serif;
  -webkit-font-smoothing:antialiased;
}
.commande-page h1, .commande-page h2, .commande-page h3 { font-family:'Space Grotesk',sans-serif; margin:0; }
.commande-page .wrap { max-width:1180px; margin:0 auto; padding:0 24px; }

/* ---------- HERO ---------- */
.commande-page .hero {
  background: linear-gradient(180deg,var(--cmd-blue-deep),var(--cmd-blue) 85%);
  color:#f3f1ea;
  padding:76px 0 96px;
}
.commande-page .hero-inner { max-width:640px; margin:0 auto; text-align:center; }
.commande-page .hero h1 {
  font-size:clamp(2.1rem,4.6vw,3rem);
  line-height:1.1;
  letter-spacing:-0.01em;
  margin-bottom:16px;
}
.commande-page .hero .subtitle {
  font-size:1.2rem;
  font-weight:500;
  color:var(--cmd-gold-pale);
  margin-bottom:20px;
}
.commande-page .hero .description {
  font-size:1rem;
  line-height:1.7;
  color:#c9cedb;
  max-width:520px;
  margin:0 auto 30px;
}
.commande-page .hero .cta {
  display:inline-block;
  background:var(--cmd-gold);
  color:var(--cmd-blue-deep);
  font-weight:600;
  padding:14px 28px;
  border-radius:10px;
  text-decoration:none;
  transition:background .15s ease, transform .1s ease;
}
.commande-page .hero .cta:hover { background:#e8ac33; }
.commande-page .hero .cta:active { transform:scale(0.98); }

/* ---------- STEPS ---------- */
.commande-page .steps-section { padding:64px 0 20px; }
.commande-page .steps-section h2 {
  text-align:center;
  font-size:1.5rem;
  margin-bottom:44px;
}
.commande-page .steps {
  display:flex;
  justify-content:space-between;
  max-width:820px;
  margin:0 auto;
  position:relative;
}
.commande-page .steps::before {
  content:"";
  position:absolute;
  top:22px;
  left:40px;
  right:40px;
  height:2px;
  background:var(--cmd-line);
  z-index:0;
}
.commande-page .step {
  position:relative;
  z-index:1;
  flex:1;
  text-align:center;
  padding:0 8px;
}
.commande-page .step .num {
  width:44px; height:44px;
  border-radius:50%;
  background:var(--cmd-panel);
  border:2px solid var(--cmd-blue);
  color:var(--cmd-blue);
  display:flex; align-items:center; justify-content:center;
  font-family:'Space Grotesk',sans-serif;
  font-weight:600;
  margin:0 auto 12px;
}
.commande-page .step.active .num { background:var(--cmd-gold); border-color:var(--cmd-gold); color:var(--cmd-blue-deep); }
.commande-page .step .label { font-size:0.85rem; color:var(--cmd-ink-soft); font-weight:500; }

/* ---------- BOOKING / TABLET ---------- */
.commande-page .booking-section { padding:56px 0 90px; }
.commande-page .stage { display:flex; justify-content:center; }

.commande-page .tablet {
  width:100%;
  max-width:880px;
  background:linear-gradient(160deg,#2a2f3a,#12141b);
  border-radius:34px;
  padding:20px;
  box-shadow:0 50px 90px -40px rgba(15,20,30,0.5);
}
.commande-page .tablet-cam {
  width:8px; height:8px; border-radius:50%;
  background:#454c5c;
  margin:0 auto 14px;
}
.commande-page .screen {
  background:var(--cmd-panel);
  border-radius:18px;
  padding:30px 34px 34px;
}

.commande-page .tabs {
  display:flex;
  gap:6px;
  background:var(--cmd-paper);
  padding:6px;
  border-radius:12px;
  margin-bottom:26px;
}
.commande-page .tab-btn {
  flex:1;
  border:none;
  background:transparent;
  padding:12px 10px;
  font-family:'Inter',sans-serif;
  font-weight:600;
  font-size:0.88rem;
  color:var(--cmd-ink-soft);
  border-radius:9px;
  cursor:pointer;
}
.commande-page .tab-btn.active { background:var(--cmd-blue); color:#fff; }

.commande-page .tab-panel { display:none; }
.commande-page .tab-panel.active { display:block; }

.commande-page .form-step { display:none; }
.commande-page .form-step.active { display:block; }

.commande-page .field-grid {
  display:grid;
  grid-template-columns:1fr 1fr;
  gap:16px 18px;
}
.commande-page .field { display:flex; flex-direction:column; }
.commande-page .field.full { grid-column:1 / -1; }

.commande-page .field label {
  display:flex;
  align-items:center;
  gap:8px;
  font-size:0.78rem;
  color:var(--cmd-ink-soft);
  margin-bottom:6px;
  font-weight:600;
}
.commande-page .field label svg { width:15px; height:15px; stroke:var(--cmd-blue); flex-shrink:0; }

input[type="text"],
input[type="date"],
input[type="time"],
.commande-page input[type="number"] {
  width:100%;
  padding:12px 13px;
  border:1px solid var(--cmd-line);
  border-radius:10px;
  background:#fdfcfa;
  font-family:'Inter',sans-serif;
  font-size:0.92rem;
  color:var(--cmd-ink);
  outline:none;
  transition:border-color .15s ease, box-shadow .15s ease;
}
.commande-page input:focus {
  border-color:var(--cmd-gold-deep);
  box-shadow:0 0 0 3px rgba(169,116,12,0.15);
}

.commande-page .stops-list { display:flex; flex-direction:column; gap:10px; margin-bottom:8px; }
.commande-page .stop-row { display:flex; gap:8px; align-items:center; }
.commande-page .stop-row input { flex:1; }
.commande-page .stop-remove {
  border:none; background:none; color:var(--cmd-danger);
  font-size:1.1rem; cursor:pointer; width:28px; flex-shrink:0;
}
.commande-page .add-stop {
  border:1px dashed var(--cmd-line);
  background:none;
  color:var(--cmd-blue);
  font-weight:600;
  font-size:0.85rem;
  padding:9px 12px;
  border-radius:9px;
  cursor:pointer;
  margin-bottom:18px;
}

.commande-page .counter {
  display:flex;
  align-items:center;
  border:1px solid var(--cmd-line);
  border-radius:10px;
  overflow:hidden;
}
.commande-page .counter button {
  width:38px; height:42px;
  border:none;
  background:var(--cmd-paper);
  font-size:1.1rem;
  cursor:pointer;
  color:var(--cmd-blue);
}
.commande-page .counter input {
  border:none;
  text-align:center;
  width:100%;
  padding:0;
}

.commande-page .pmr-toggle { display:flex; gap:10px; }
.commande-page .pmr-toggle label {
  flex:1;
  text-align:center;
  padding:11px;
  border:1px solid var(--cmd-line);
  border-radius:10px;
  cursor:pointer;
  font-weight:600;
  font-size:0.85rem;
  color:var(--cmd-ink-soft);
}
.commande-page .pmr-toggle input { display:none; }
.commande-page .pmr-toggle input:checked + span { color:inherit; }
.commande-page .pmr-toggle label:has(input:checked) {
  background:var(--cmd-blue);
  border-color:var(--cmd-blue);
  color:#fff;
}

.commande-page .step-nav {
  display:flex;
  justify-content:space-between;
  align-items:center;
  margin-top:26px;
}
.commande-page .handset-btn {
  display:inline-flex;
  align-items:center;
  gap:9px;
  border:none;
  border-radius:30px;
  padding:11px 22px;
  font-family:'Inter',sans-serif;
  font-weight:600;
  font-size:0.9rem;
  cursor:pointer;
}
.commande-page .handset-btn.next { background:var(--cmd-blue); color:#fff; margin-left:auto; }
.commande-page .handset-btn.next:hover { background:#0b3fae; }
.commande-page .handset-btn.back { background:#eef4ff; color:var(--cmd-blue); }
.commande-page .handset-btn.back:hover { background:#dfeaff; }
.commande-page .handset-btn svg { width:18px; height:18px; }

.commande-page .submit-btn {
  width:100%;
  margin-top:6px;
  padding:14px;
  border:none;
  border-radius:10px;
  background:var(--cmd-gold);
  color:var(--cmd-blue-deep);
  font-family:'Space Grotesk',sans-serif;
  font-weight:600;
  font-size:1rem;
  cursor:pointer;
}
.commande-page .submit-btn:hover { background:#e8ac33; }

.commande-page .errors {
  background:rgba(193,68,63,0.06);
  border:1px solid rgba(193,68,63,0.3);
  color:#8f3430;
  font-size:0.82rem;
  padding:10px 13px;
  border-radius:9px;
  margin-bottom:18px;
}

.commande-page .success-box { text-align:center; padding:20px 0; }
.commande-page .success-box .mark {
  width:54px; height:54px; border-radius:50%;
  background:var(--cmd-blue); color:#fff;
  display:flex; align-items:center; justify-content:center;
  margin:0 auto 16px; font-size:1.5rem;
}
.commande-page .success-box p { color:var(--cmd-ink-soft); font-size:0.92rem; margin:0 0 18px; }
.commande-page .recap {
  text-align:left;
  background:var(--cmd-paper);
  border-radius:12px;
  padding:16px 18px;
  font-size:0.85rem;
  color:var(--cmd-ink);
  max-width:420px;
  margin:0 auto;
}
.commande-page .recap div { padding:4px 0; border-bottom:1px solid var(--cmd-line); }
.commande-page .recap div:last-child { border-bottom:none; }
.commande-page .recap b { color:var(--cmd-ink-soft); font-weight:600; }

/* ---------- MAP ---------- */
.commande-page .map-section { padding:20px 0 90px; }
.commande-page .map-section h2 { text-align:center; font-size:1.5rem; margin-bottom:8px; }
.commande-page .map-section .lead { text-align:center; color:var(--cmd-ink-soft); max-width:520px; margin:0 auto 32px; }
.commande-page #taxi-map {
  height:420px;
  border-radius:20px;
  border:1px solid var(--cmd-line);
  box-shadow:0 20px 50px -30px rgba(15,20,30,0.4);
}
.commande-page .map-legend {
  display:flex; justify-content:center; gap:28px;
  margin-top:18px; font-size:0.85rem; color:var(--cmd-ink-soft);
}
.commande-page .map-legend span { display:inline-flex; align-items:center; gap:8px; }
.commande-page .dot { width:12px; height:12px; border-radius:50%; display:inline-block; }
.commande-page .dot.taxi { background:var(--cmd-gold); }
.commande-page .dot.vtc { background:var(--cmd-blue); }
.commande-page .dot.me { background:var(--cmd-danger); }

/* ---------- TARIFFS ---------- */
.commande-page .tariffs-section { padding:0 0 100px; }
.commande-page .tariffs-section h2 { text-align:center; font-size:1.5rem; margin-bottom:8px; }
.commande-page .tariffs-section .lead { text-align:center; color:var(--cmd-ink-soft); max-width:560px; margin:0 auto 34px; }
.commande-page table.tariffs {
  width:100%;
  max-width:840px;
  margin:0 auto;
  border-collapse:collapse;
  background:var(--cmd-panel);
  border-radius:14px;
  overflow:hidden;
  box-shadow:0 20px 50px -35px rgba(15,20,30,0.4);
}
.commande-page table.tariffs th, .commande-page table.tariffs td {
  padding:14px 18px;
  text-align:left;
  font-size:0.9rem;
  border-bottom:1px solid var(--cmd-line);
}
.commande-page table.tariffs th {
  background:var(--cmd-blue);
  color:#fff;
  font-family:'Space Grotesk',sans-serif;
  font-weight:600;
}
.commande-page table.tariffs tr:last-child td { border-bottom:none; }
.commande-page table.tariffs td.price { font-weight:600; color:var(--cmd-gold-deep); white-space:nowrap; }
.commande-page .tariff-note { text-align:center; font-size:0.8rem; color:var(--cmd-ink-soft); margin-top:14px; }
.commande-page .call-line {
  text-align:center;
  margin-top:30px;
  font-size:1.05rem;
  font-weight:600;
}
.commande-page .call-line a { color:var(--cmd-blue); text-decoration:none; border-bottom:2px solid var(--cmd-gold); }



@media (max-width:720px){
  .commande-page .field-grid { grid-template-columns:1fr; }
  .commande-page .steps { flex-wrap:wrap; gap:20px; }
  .commande-page .steps::before { display:none; }
  .commande-page .screen { padding:22px 18px 26px; }
}

.commande-page .commande-note{margin:0 0 22px;padding:13px 16px;border-radius:12px;background:#f2f6ff;border:1px solid #dce7fb;color:#4b5d77;font-size:.84rem;line-height:1.55}
.commande-page .guest-grid{margin-bottom:18px}
.commande-page .guest-grid .field input{min-height:44px}
.commande-page .stop-label{display:block;font-size:.78rem;color:var(--cmd-ink-soft);font-weight:600;margin-bottom:8px}
.commande-page .submit-btn{width:auto;min-width:220px;margin-top:0}
.commande-page .step-nav{gap:12px}
.commande-page .step-nav .back{margin-right:auto}
.commande-page .tariffs-section a{color:var(--cmd-blue);font-weight:700;text-decoration:none}
.commande-page #commandeMap{height:420px;border-radius:20px;border:1px solid var(--cmd-line);box-shadow:0 20px 50px -30px rgba(15,20,30,.4);overflow:hidden}
@media (max-width:900px){.commande-page .tablet{max-width:760px}.commande-page .screen{padding:26px 24px 30px}}
@media (max-width:720px){.commande-page .hero{padding:58px 0 70px}.commande-page .steps-section{padding-top:46px}.commande-page .booking-section{padding-top:38px}.commande-page .field-grid{grid-template-columns:1fr}.commande-page .field.full{grid-column:auto}.commande-page .screen{padding:20px 16px 24px}.commande-page .tabs{flex-direction:column}.commande-page .tab-btn{text-align:center}.commande-page .step-nav{flex-wrap:wrap}.commande-page .submit-btn{width:100%}.commande-page #commandeMap{height:330px}.commande-page .map-legend{flex-wrap:wrap;gap:12px}.commande-page table.tariffs{display:block;overflow-x:auto;white-space:nowrap}.commande-page .tariffs-section{padding-bottom:65px}}
@media (max-width:420px){.commande-page .hero h1{font-size:2rem}.commande-page .hero .description{font-size:.92rem}.commande-page .wrap{padding:0 15px}.commande-page .tablet{padding:10px;border-radius:22px}.commande-page .screen{border-radius:14px}.commande-page .counter button{width:42px}.commande-page .counter input{min-width:50px}}


/* V17 command-page refinements */
.commande-page{position:relative;}
/* The global header is fixed/absolute in the current site build: reserve its visual height. */
.commande-page .hero{margin-top:82px;padding-bottom:60px;}
.commande-page .steps-section{padding-top:24px;}
.commande-page .steps-section h2{margin-bottom:34px;}

/* Native time controls: make the complete field/icon feel clickable. */
.commande-page input[type="time"]{cursor:pointer;}
.commande-page input[type="time"]::-webkit-calendar-picker-indicator{cursor:pointer;opacity:.85;width:20px;height:20px;}
.commande-page .field label svg{cursor:pointer;}

/* Telephone handset controls: compact icon-only controls with hover tooltip. */
.commande-page .handset-btn{
  position:relative;
  width:54px;height:54px;padding:0;border-radius:50%;
  display:inline-grid;place-items:center;gap:0;
  box-shadow:0 10px 24px rgba(20,85,217,.16);
  transition:transform .2s ease,box-shadow .2s ease,background .2s ease;
}
.commande-page .handset-btn i{font-size:21px;line-height:1;}
.commande-page .handset-btn.next{background:var(--cmd-blue);color:#fff;margin-left:auto;}
.commande-page .handset-btn.back{background:#eef4ff;color:var(--cmd-blue);margin-right:auto;}
.commande-page .handset-btn:hover{transform:translateY(-2px) scale(1.04);box-shadow:0 14px 28px rgba(20,85,217,.23);}
.commande-page .handset-btn::after,
.commande-page .submit-btn::after{
  content:attr(data-tooltip);
  position:absolute;left:50%;bottom:calc(100% + 9px);transform:translate(-50%,5px);
  background:#111827;color:#fff;padding:7px 10px;border-radius:7px;
  font:600 11px/1.2 'Inter',sans-serif;white-space:nowrap;
  opacity:0;visibility:hidden;pointer-events:none;transition:.18s ease;z-index:50;
  box-shadow:0 8px 20px rgba(15,23,42,.2);
}
.commande-page .handset-btn:hover::after,
.commande-page .submit-btn:hover::after{opacity:1;visibility:visible;transform:translate(-50%,0);}
.commande-page .submit-btn{position:relative;}
.commande-page .submit-btn::after{bottom:calc(100% + 8px);}

/* No plus control for luggage: keep luggage as a decrement-only counter. */
.commande-page .counter input[name="bagages"] + .plus{display:none!important;}
.commande-page .counter input[name="bagages"]{min-width:62px;}

/* Smaller PMR choices. */
.commande-page .pmr-toggle{display:inline-flex;gap:8px;}
.commande-page .pmr-toggle label{flex:0 0 auto;min-width:66px;padding:7px 13px;font-size:.78rem;border-radius:8px;}

@media(max-width:720px){
  .commande-page .hero{margin-top:72px;padding-top:50px;}
  .commande-page .steps-section{padding-top:30px;}
  .commande-page .handset-btn{width:50px;height:50px;}
}
