/* Noflaay Transport — feuille de style */
:root {
  --ink: #0d1f24;
  --ink-2: #13292f;
  --ink-3: #1c363d;
  --gold: #c9a96e;
  --gold-2: #e0c690;
  --paper: #f6f4ef;
  --white: #ffffff;
  --muted: #6b7a80;
  --line: #e3ded3;
  --ok: #2f8f5b;
  --warn: #c98a1e;
  --bad: #b5473a;
  --radius: 14px;
  --serif: "Cormorant Garamond", Georgia, serif;
  --sans: "Jost", system-ui, -apple-system, "Segoe UI", sans-serif;
  --shadow: 0 18px 40px -18px rgba(13, 31, 36, .35);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 80px; }
body { margin: 0; font-family: var(--sans); color: var(--ink); background: var(--paper); line-height: 1.6; font-size: 16px; }
img { max-width: 100%; display: block; }
a { color: inherit; }
button, input, select, textarea { font: inherit; color: inherit; }
.container { width: min(1180px, 100% - 40px); margin-inline: auto; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); }

/* ---------- En-tête ---------- */
.header { position: sticky; top: 0; z-index: 50; background: rgba(13, 31, 36, .96); backdrop-filter: blur(8px); border-bottom: 1px solid rgba(201, 169, 110, .18); }
.header .container { display: flex; align-items: center; justify-content: space-between; height: 72px; gap: 20px; }
.logo { display: flex; flex-direction: column; text-decoration: none; line-height: 1; }
.logo .word { font-family: var(--serif); font-size: 30px; letter-spacing: 1px; color: #fff; font-weight: 500; }
.logo .word span { color: var(--gold); }
.logo .sub { font-size: 9.5px; letter-spacing: 7px; color: #cfd6d8; margin-top: 3px; padding-left: 2px; }
.nav { display: flex; align-items: center; gap: 26px; }
.nav a { color: #d7dee0; text-decoration: none; font-size: 15px; letter-spacing: .3px; }
.nav a:hover { color: var(--gold-2); }
.nav .btn { color: var(--ink); }
.burger { display: none; background: none; border: 0; color: #fff; padding: 8px; cursor: pointer; }
.burger svg { width: 28px; height: 28px; }

.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; border: 0; cursor: pointer; text-decoration: none; border-radius: 999px; padding: 12px 22px; font-weight: 500; letter-spacing: .3px; transition: transform .15s, background .15s, box-shadow .15s; }
.btn:active { transform: translateY(1px); }
.btn-gold { background: var(--gold); color: var(--ink); }
.btn-gold:hover { background: var(--gold-2); }
.btn-ghost { background: transparent; color: #fff; border: 1px solid rgba(255, 255, 255, .35); }
.btn-ghost:hover { border-color: var(--gold); color: var(--gold-2); }
.btn-dark { background: var(--ink); color: #fff; }
.btn-dark:hover { background: var(--ink-3); }
.btn-lg { padding: 15px 28px; font-size: 17px; }
.btn[disabled] { opacity: .6; cursor: progress; }

/* ---------- Hero ---------- */
.hero { position: relative; background: var(--ink); color: #fff; overflow: hidden; }
.hero::before { content: ""; position: absolute; inset: 0; background:
  linear-gradient(115deg, rgba(255,255,255,.05) 0 30%, transparent 30% 100%),
  radial-gradient(900px 400px at 85% 20%, rgba(201,169,110,.16), transparent 70%); }
.hero .container { position: relative; display: grid; grid-template-columns: 1.05fr 1fr; gap: 48px; align-items: center; padding: 80px 0 96px; }
.eyebrow { text-transform: uppercase; letter-spacing: 4px; font-size: 12.5px; color: var(--gold); margin: 0 0 18px; }
.hero h1 { font-family: var(--serif); font-weight: 500; font-size: clamp(42px, 6vw, 72px); line-height: 1.02; margin: 0 0 20px; letter-spacing: .5px; }
.hero h1 em { color: var(--gold); font-style: italic; }
.hero p.lead { color: #c4ced1; font-size: 18px; max-width: 520px; margin: 0 0 30px; }
.hero .ctas { display: flex; gap: 14px; flex-wrap: wrap; }
.hero-visual { position: relative; }
.hero-visual img { height: auto; border-radius: 18px; aspect-ratio: 4/3; object-fit: cover; width: 100%; box-shadow: 0 30px 60px -20px rgba(0,0,0,.6); }
.hero-visual .badge { position: absolute; left: -22px; bottom: -22px; background: var(--paper); color: var(--ink); border-radius: 14px; padding: 14px 18px; box-shadow: var(--shadow); }
.hero-visual .badge strong { display: block; font-family: var(--serif); font-size: 26px; line-height: 1; }
.hero-visual .badge span { font-size: 13px; color: var(--muted); }
.trust { display: flex; gap: 28px; margin-top: 40px; flex-wrap: wrap; }
.trust div { display: flex; align-items: center; gap: 10px; color: #c4ced1; font-size: 14.5px; }
.trust svg { width: 20px; height: 20px; color: var(--gold); flex: none; }

/* ---------- Sections ---------- */
section { padding: 96px 0; }
.section-head { max-width: 680px; margin-bottom: 48px; }
.section-head.center { margin-inline: auto; text-align: center; }
.section-head h2 { font-family: var(--serif); font-weight: 500; font-size: clamp(34px, 4vw, 48px); line-height: 1.1; margin: 0 0 12px; }
.section-head p { color: var(--muted); margin: 0; font-size: 17px; }
.ornament { display: flex; align-items: center; gap: 10px; color: var(--gold); margin-bottom: 14px; }
.section-head.center .ornament { justify-content: center; }
.ornament::before, .ornament::after { content: ""; height: 1px; width: 40px; background: currentColor; }

/* Services */
.services { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
.service { background: var(--white); border: 1px solid var(--line); border-radius: var(--radius); padding: 28px 24px; display: flex; flex-direction: column; transition: transform .2s, box-shadow .2s; }
.service:hover { transform: translateY(-4px); box-shadow: var(--shadow); }
.service .icon { width: 50px; height: 50px; border-radius: 12px; background: var(--ink); color: var(--gold); display: grid; place-items: center; margin-bottom: 18px; }
.service .icon svg { width: 26px; height: 26px; }
.service h3 { font-family: var(--serif); font-size: 26px; font-weight: 600; margin: 0 0 8px; }
.service p { color: var(--muted); margin: 0 0 18px; font-size: 15px; flex: 1; }
.service .from { font-size: 13px; color: var(--muted); }
.service .from strong { display: block; font-size: 20px; color: var(--ink); font-weight: 600; }
.service a.more { margin-top: 16px; font-size: 14.5px; color: var(--ink); font-weight: 500; text-decoration: none; border-bottom: 1px solid var(--gold); align-self: flex-start; }

/* Flotte */
.fleet-section { background: var(--white); }
.fleet { display: grid; grid-template-columns: 1fr 1fr; gap: 32px; }
.car { border: 1px solid var(--line); border-radius: 18px; overflow: hidden; background: var(--paper); display: flex; flex-direction: column; }
.car .main { position: relative; aspect-ratio: 16/10; background: #ddd; overflow: hidden; }
.car .main img { width: 100%; height: 100%; object-fit: cover; transition: opacity .25s; }
.car .main .tag { position: absolute; top: 14px; left: 14px; background: rgba(13,31,36,.85); color: var(--gold-2); font-size: 12px; letter-spacing: 2px; text-transform: uppercase; padding: 6px 12px; border-radius: 999px; }
.thumbs { display: flex; gap: 8px; padding: 10px; overflow-x: auto; background: var(--white); border-bottom: 1px solid var(--line); scrollbar-width: thin; }
.thumbs button { flex: none; width: 74px; height: 52px; border-radius: 8px; overflow: hidden; border: 2px solid transparent; padding: 0; cursor: pointer; opacity: .7; background: none; }
.thumbs button.active, .thumbs button:hover { border-color: var(--gold); opacity: 1; }
.thumbs img { width: 100%; height: 100%; object-fit: cover; }
.car .body { padding: 24px 26px 28px; display: flex; flex-direction: column; flex: 1; }
.car h3 { font-family: var(--serif); font-size: 32px; font-weight: 600; margin: 0; line-height: 1.1; }
.car .meta { color: var(--muted); font-size: 14.5px; margin: 4px 0 16px; }
.chips { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 20px; }
.chip { font-size: 13px; padding: 5px 12px; border-radius: 999px; background: var(--white); border: 1px solid var(--line); }
.car .prices { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; margin-bottom: 22px; }
.car .prices div { background: var(--white); border-radius: 10px; padding: 12px; border: 1px solid var(--line); }
.car .prices span { display: block; font-size: 12px; color: var(--muted); text-transform: uppercase; letter-spacing: 1px; }
.car .prices strong { font-size: 16px; }
.car .btn { margin-top: auto; align-self: flex-start; }

/* Tarifs */
.pricing { display: grid; grid-template-columns: 1.3fr 1fr; gap: 28px; }
.price-card { background: var(--ink); color: #fff; border-radius: 18px; padding: 34px; position: relative; overflow: hidden; }
.price-card::after { content: ""; position: absolute; right: -60px; top: -60px; width: 200px; height: 200px; border: 1px solid rgba(201,169,110,.25); border-radius: 50%; }
.price-card h3 { font-family: var(--sans); text-transform: uppercase; letter-spacing: 2px; font-size: 18px; margin: 0 0 22px; font-weight: 600; }
.price-card table { width: 100%; border-collapse: collapse; }
.price-card th { text-align: left; font-weight: 400; color: #b9c4c7; font-size: 15px; padding: 10px 0; }
.price-card th.col { text-align: right; color: #fff; font-size: 16px; }
.price-card td { padding: 12px 0; border-top: 1px solid rgba(255,255,255,.1); }
.price-card td.v { text-align: right; color: var(--gold-2); font-weight: 500; font-size: 17px; white-space: nowrap; }
.price-card .note { color: #9fb0b4; font-size: 14px; margin: 18px 0 0; }

/* Calendrier */
.cal-section { background: var(--white); }
.cal-toolbar { display: flex; align-items: center; justify-content: space-between; gap: 16px; flex-wrap: wrap; margin-bottom: 18px; }
.cal-nav { display: flex; align-items: center; gap: 10px; }
.cal-nav h3 { font-family: var(--serif); font-size: 30px; margin: 0 8px; min-width: 210px; text-align: center; font-weight: 600; text-transform: capitalize; }
.icon-btn { width: 40px; height: 40px; border-radius: 50%; border: 1px solid var(--line); background: var(--white); cursor: pointer; display: grid; place-items: center; }
.icon-btn:hover { border-color: var(--gold); }
.segmented { display: inline-flex; max-width: 100%; overflow-x: auto; background: var(--paper); border-radius: 999px; padding: 4px; border: 1px solid var(--line); }
.segmented button { border: 0; background: none; padding: 8px 16px; border-radius: 999px; cursor: pointer; font-size: 14.5px; }
.segmented button.active { background: var(--ink); color: #fff; }
.legend { display: flex; gap: 18px; font-size: 13.5px; color: var(--muted); flex-wrap: wrap; margin-top: 14px; }
.legend i { display: inline-block; width: 12px; height: 12px; border-radius: 3px; margin-right: 6px; vertical-align: -1px; }
.cal { display: grid; grid-template-columns: repeat(7, minmax(0, 1fr)); border: 1px solid var(--line); border-radius: 14px; overflow: hidden; background: var(--line); gap: 1px; }
.cal .dow { background: var(--ink); color: #cfd6d8; font-size: 12.5px; text-transform: uppercase; letter-spacing: 1.5px; text-align: center; padding: 10px 0; }
.cal .day { background: var(--white); min-height: 104px; padding: 8px; display: flex; flex-direction: column; gap: 4px; cursor: pointer; position: relative; transition: background .15s; text-align: left; border: 0; }
.cal .day:hover { background: #fbf8f1; }
.cal .day.out { background: #f7f6f2; color: #b3b8b9; cursor: default; }
.cal .day.past { background: #f7f6f2; cursor: not-allowed; }
.cal .day.past .num { color: #b3b8b9; }
.cal .day.today .num { background: var(--gold); color: var(--ink); }
.cal .num { font-size: 14px; font-weight: 500; width: 28px; height: 28px; display: grid; place-items: center; border-radius: 50%; }
.slot { font-size: 11.5px; line-height: 1.3; border-radius: 5px; padding: 3px 6px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.slot.reserve { background: #f3dcd8; color: #7c2c22; }
.slot.en_attente { background: #f7ead0; color: #7a5410; }
.slot.libre { background: #dff0e6; color: #1f6b42; }
.slot b { font-weight: 600; }
.cal-hint { color: var(--muted); font-size: 14px; margin-top: 12px; }

/* Formulaire */
.book-section { background: linear-gradient(180deg, var(--paper), #efebe2); }
.book { display: grid; grid-template-columns: 1.55fr 1fr; gap: 30px; align-items: start; }
.panel { background: var(--white); border-radius: 18px; border: 1px solid var(--line); padding: 30px; }
.step { margin-bottom: 30px; }
.step:last-of-type { margin-bottom: 18px; }
.step h3 { display: flex; align-items: center; gap: 12px; font-size: 19px; font-weight: 600; margin: 0 0 16px; }
.step h3 .n { width: 30px; height: 30px; border-radius: 50%; background: var(--ink); color: var(--gold); display: grid; place-items: center; font-size: 15px; flex: none; }
.options { display: grid; gap: 12px; }
.options.four { grid-template-columns: repeat(4, 1fr); }
.options.two { grid-template-columns: repeat(2, 1fr); }
.opt { position: relative; }
.opt input { position: absolute; opacity: 0; inset: 0; pointer-events: none; }
.opt label { display: flex; flex-direction: column; gap: 4px; height: 100%; padding: 14px 14px; border: 1.5px solid var(--line); border-radius: 12px; cursor: pointer; transition: border-color .15s, background .15s; }
.opt label:hover { border-color: #cdbf9f; }
.opt input:checked + label { border-color: var(--ink); background: #f8f5ee; box-shadow: inset 0 0 0 1px var(--ink); }
.opt input:focus-visible + label { outline: 3px solid var(--gold); outline-offset: 2px; }
.opt input:disabled + label { opacity: .45; cursor: not-allowed; }
.opt label strong { font-size: 15.5px; }
.opt label small { color: var(--muted); font-size: 13px; }
.opt label .car-thumb { width: 100%; aspect-ratio: 16/9; object-fit: cover; border-radius: 8px; margin-bottom: 6px; }
.grid { display: grid; gap: 14px; }
.grid.c2 { grid-template-columns: 1fr 1fr; }
.grid.c3 { grid-template-columns: 1fr 1fr 1fr; }
.field { display: flex; flex-direction: column; gap: 6px; }
.field label { font-size: 14px; font-weight: 500; }
.field label .opt-l { color: var(--muted); font-weight: 400; }
.field input, .field select, .field textarea { border: 1.5px solid var(--line); border-radius: 10px; padding: 12px 14px; background: var(--white); outline: none; width: 100%; transition: border-color .15s; }
.field input:focus, .field select:focus, .field textarea:focus { border-color: var(--ink); }
.field textarea { min-height: 90px; resize: vertical; }
.field .err { color: var(--bad); font-size: 13px; min-height: 0; }
.field.invalid input, .field.invalid select { border-color: var(--bad); }
.hidden { display: none !important; }
.avail { margin-top: 14px; padding: 12px 14px; border-radius: 10px; font-size: 14.5px; display: flex; gap: 10px; align-items: flex-start; }
.avail.ok { background: #e6f4ec; color: #1f6b42; }
.avail.warn { background: #fbf1dc; color: #7a5410; }
.avail.bad { background: #f8e1dd; color: #7c2c22; }
.hp { position: absolute; left: -9999px; }

.summary { position: sticky; top: 96px; background: var(--ink); color: #fff; border-radius: 18px; padding: 28px; }
.summary h3 { font-family: var(--serif); font-weight: 500; font-size: 30px; margin: 0 0 18px; }
.summary dl { margin: 0; display: grid; grid-template-columns: auto 1fr; gap: 10px 16px; font-size: 15px; }
.summary dt { color: #9fb0b4; }
.summary dd { margin: 0; text-align: right; }
.summary .total { border-top: 1px solid rgba(255,255,255,.15); margin-top: 20px; padding-top: 18px; display: flex; justify-content: space-between; align-items: baseline; }
.summary .total span { color: #9fb0b4; }
.summary .total strong { font-size: 28px; color: var(--gold-2); font-weight: 500; font-family: var(--serif); }
.summary .fine { color: #9fb0b4; font-size: 13px; margin: 14px 0 0; }
.summary .btn { width: 100%; margin-top: 22px; }
.form-error { background: #f8e1dd; color: #7c2c22; border-radius: 10px; padding: 12px 14px; margin-top: 14px; font-size: 14.5px; }

/* Succès */
.success { text-align: center; padding: 50px 30px; }
.success .check { width: 72px; height: 72px; border-radius: 50%; background: #e6f4ec; color: var(--ok); display: grid; place-items: center; margin: 0 auto 20px; }
.success h3 { font-family: var(--serif); font-size: 36px; margin: 0 0 10px; font-weight: 500; }
.success .ref { display: inline-block; font-size: 24px; letter-spacing: 3px; font-weight: 600; background: var(--paper); padding: 10px 20px; border-radius: 10px; margin: 10px 0 18px; border: 1px dashed var(--gold); }
.success p { color: var(--muted); max-width: 520px; margin: 0 auto 10px; }

/* Suivi */
.track { display: grid; grid-template-columns: 1fr 1fr auto; gap: 12px; align-items: end; }
.track-result { margin-top: 16px; }
.status-pill { display: inline-block; padding: 4px 12px; border-radius: 999px; font-size: 13px; font-weight: 600; }
.status-pill.en_attente { background: #fbf1dc; color: #7a5410; }
.status-pill.confirmee { background: #e6f4ec; color: #1f6b42; }
.status-pill.refusee, .status-pill.annulee { background: #f8e1dd; color: #7c2c22; }

/* Pied de page */
.footer { background: var(--ink); color: #c4ced1; padding: 64px 0 30px; }
.footer .cols { display: grid; grid-template-columns: 1.3fr 1fr 1fr; gap: 40px; }
.footer h4 { color: #fff; font-weight: 500; margin: 0 0 14px; letter-spacing: 1px; }
.footer a { text-decoration: none; }
.footer a:hover { color: var(--gold-2); }
.footer ul { list-style: none; padding: 0; margin: 0; display: grid; gap: 10px; }
.footer .contact li { display: flex; gap: 10px; align-items: center; }
.footer .contact svg { width: 18px; height: 18px; color: var(--gold); flex: none; }
.footer .copy { border-top: 1px solid rgba(255,255,255,.1); margin-top: 44px; padding-top: 20px; padding-right: 80px; font-size: 13.5px; display: flex; justify-content: space-between; gap: 10px; flex-wrap: wrap; }
.wa-float { position: fixed; right: 20px; bottom: 20px; z-index: 40; width: 58px; height: 58px; border-radius: 50%; background: #25d366; color: #fff; display: grid; place-items: center; box-shadow: 0 10px 25px -5px rgba(0,0,0,.35); }
.wa-float svg { width: 30px; height: 30px; }

/* ---------- Responsive ---------- */
@media (max-width: 1020px) {
  .services { grid-template-columns: 1fr 1fr; }
  .book { grid-template-columns: 1fr; }
  .summary { position: static; }
  .options.four { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 860px) {
  .nav { position: fixed; inset: 72px 0 auto 0; background: var(--ink); flex-direction: column; align-items: stretch; padding: 18px 20px 26px; gap: 6px; display: none; border-bottom: 1px solid rgba(201,169,110,.3); }
  .nav.open { display: flex; }
  .nav a { padding: 10px 4px; font-size: 17px; }
  .nav .btn { margin-top: 8px; }
  .burger { display: block; }
  .hero .container { grid-template-columns: 1fr; padding: 50px 0 70px; gap: 40px; }
  .hero-visual .badge { left: 12px; bottom: -18px; }
  .fleet, .pricing { grid-template-columns: 1fr; }
  section { padding: 70px 0; }
  .footer .cols { grid-template-columns: 1fr; }
  .track { grid-template-columns: 1fr; }
}
@media (max-width: 620px) {
  .services { grid-template-columns: 1fr; }
  .grid.c2, .grid.c3 { grid-template-columns: 1fr; }
  .panel { padding: 22px 18px; }
  .cal .day { min-height: 62px; padding: 4px; }
  .cal .slot { font-size: 0; padding: 0; height: 6px; }
  .cal .dow { font-size: 10.5px; letter-spacing: 0; }
  .cal-nav h3 { font-size: 24px; min-width: 150px; }
  .car .prices { grid-template-columns: 1fr 1fr 1fr; }
  .car .prices strong { font-size: 14px; }
}
