/* ==========================================================================
   Signature Prestige VTC — feuille de style
   Palette : obsidian / brass — grille inspirée des tableaux de départs
   ========================================================================== */

:root {
  --bg: #0b0b0c;
  --bg-panel: #131215;
  --bg-panel-2: #17161a;
  --gold: #c9a24b;
  --gold-soft: #e4cd8b;
  --ivory: #edeae2;
  --muted: #948f83;
  --line: #2a2820;
  --line-soft: #201f22;

  --font-display: "Fraunces", "Iowan Old Style", serif;
  --font-body: "Work Sans", -apple-system, BlinkMacSystemFont, sans-serif;
  --font-mono: "JetBrains Mono", "SF Mono", monospace;

  --container: 1160px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  * { animation-duration: 0.01ms !important; animation-iteration-count: 1 !important; transition-duration: 0.01ms !important; }
}

body {
  margin: 0;
  background: var(--bg);
  color: var(--ivory);
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

img { max-width: 100%; display: block; }
a { color: inherit; }

.wrap {
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 28px;
}

h1, h2, h3 {
  font-family: var(--font-display);
  font-weight: 600;
  line-height: 1.08;
  margin: 0 0 0.5em;
  color: var(--ivory);
}

h1 { font-size: clamp(2.6rem, 5.5vw, 4.6rem); font-weight: 500; letter-spacing: -0.01em; }
h2 { font-size: clamp(1.8rem, 3.4vw, 2.6rem); }
h3 { font-size: 1.25rem; }

p { margin: 0 0 1em; color: var(--ivory); }
.lede { color: var(--muted); font-size: 1.15rem; max-width: 42em; }

.eyebrow {
  font-family: var(--font-mono);
  text-transform: uppercase;
  letter-spacing: 0.16em;
  font-size: 0.72rem;
  color: var(--gold);
  display: inline-flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 18px;
}
.eyebrow::before {
  content: "";
  width: 22px; height: 1px;
  background: var(--gold);
  display: inline-block;
}

/* Focus visibility */
a:focus-visible, button:focus-visible, input:focus-visible, textarea:focus-visible {
  outline: 2px solid var(--gold);
  outline-offset: 3px;
}

/* ---------------- Header ---------------- */
.site-header {
  position: sticky; top: 0; z-index: 50;
  background: rgba(11,11,12,0.88);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--line-soft);
}
.site-header .wrap {
  display: flex; align-items: center; justify-content: space-between;
  height: 82px;
}
.logo {
  text-decoration: none;
  display: flex; align-items: center;
}
.logo img { height: 56px; width: auto; display: block; }

.footer-logo img { height: 44px; width: auto; display: block; margin-bottom: 16px; }

nav.main-nav { display: flex; align-items: center; gap: 36px; }
nav.main-nav a {
  text-decoration: none; color: var(--muted);
  font-size: 0.92rem; letter-spacing: 0.01em;
  transition: color 0.2s ease;
  position: relative;
  padding: 4px 0;
}
nav.main-nav a:hover, nav.main-nav a[aria-current="page"] { color: var(--ivory); }
nav.main-nav a[aria-current="page"]::after {
  content: ""; position: absolute; left: 0; bottom: -2px; width: 100%; height: 1px; background: var(--gold);
}
.nav-cta {
  border: 1px solid var(--gold); color: var(--gold) !important;
  padding: 9px 18px; border-radius: 2px;
  font-family: var(--font-mono); font-size: 0.72rem !important;
  text-transform: uppercase; letter-spacing: 0.12em;
  transition: background 0.2s ease, color 0.2s ease;
}
.nav-cta:hover { background: var(--gold); color: var(--bg) !important; }

.mobile-toggle { display: none; }

/* ---------------- Hero ---------------- */
.hero {
  padding: 96px 0 64px;
  border-bottom: 1px solid var(--line-soft);
}
.hero-grid {
  display: grid; grid-template-columns: 1.15fr 0.85fr; gap: 64px; align-items: end;
}
.hero h1 { margin-bottom: 24px; }
.hero-actions { display: flex; gap: 16px; margin-top: 36px; flex-wrap: wrap; }

.btn {
  display: inline-flex; align-items: center; gap: 10px;
  padding: 15px 26px;
  font-family: var(--font-mono); font-size: 0.76rem;
  text-transform: uppercase; letter-spacing: 0.1em;
  text-decoration: none; border-radius: 2px;
  transition: all 0.2s ease;
  border: 1px solid transparent;
}
.btn-primary { background: var(--gold); color: var(--bg); }
.btn-primary:hover { background: var(--gold-soft); }
.btn-ghost { border-color: var(--line); color: var(--ivory); }
.btn-ghost:hover { border-color: var(--gold); color: var(--gold); }

/* Route board — signature element */
.route-board {
  background: var(--bg-panel);
  border: 1px solid var(--line);
  border-radius: 3px;
  overflow: hidden;
}
.route-board__head {
  display: flex; justify-content: space-between; align-items: center;
  padding: 14px 20px;
  border-bottom: 1px solid var(--line);
  font-family: var(--font-mono); font-size: 0.68rem;
  text-transform: uppercase; letter-spacing: 0.14em; color: var(--muted);
}
.route-board__head .live { color: var(--gold); display: flex; align-items: center; gap: 8px; }
.route-board__head .live::before {
  content: ""; width: 6px; height: 6px; border-radius: 50%;
  background: var(--gold); display: inline-block;
  animation: pulse 2s ease-in-out infinite;
}
@keyframes pulse { 0%,100% { opacity: 1; } 50% { opacity: 0.35; } }

.route-row {
  display: grid; grid-template-columns: 70px 1fr auto auto;
  gap: 16px; align-items: center;
  padding: 15px 20px;
  border-bottom: 1px solid var(--line-soft);
  font-family: var(--font-mono); font-size: 0.82rem;
}
.route-row:last-child { border-bottom: none; }
.route-row .code { color: var(--gold-soft); font-weight: 500; letter-spacing: 0.04em; }
.route-row .dest { color: var(--ivory); font-family: var(--font-body); font-size: 0.94rem; }
.route-row .time { color: var(--muted); }
.route-row .status { color: var(--gold); text-transform: uppercase; font-size: 0.65rem; letter-spacing: 0.1em; }

/* ---------------- Sections ---------------- */
section { padding: 88px 0; }
.section-alt { background: var(--bg-panel); border-top: 1px solid var(--line-soft); border-bottom: 1px solid var(--line-soft); }
.section-head { max-width: 640px; margin-bottom: 56px; }

.grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1px; background: var(--line-soft); border: 1px solid var(--line-soft); }
.grid-2 { display: grid; grid-template-columns: repeat(2, 1fr); gap: 1px; background: var(--line-soft); border: 1px solid var(--line-soft); }

.card {
  background: var(--bg);
  padding: 40px 32px;
}
.section-alt .card { background: var(--bg-panel); }
.card .num { font-family: var(--font-mono); color: var(--gold); font-size: 0.75rem; letter-spacing: 0.1em; margin-bottom: 18px; display: block; }
.card h3 { margin-bottom: 12px; }
.card p { color: var(--muted); margin-bottom: 0; font-size: 0.95rem; }
.card ul { margin: 14px 0 0; padding: 0; list-style: none; color: var(--muted); font-size: 0.92rem; }
.card ul li { padding: 6px 0 6px 20px; position: relative; border-top: 1px solid var(--line-soft); }
.card ul li:first-child { border-top: none; }
.card ul li::before { content: "—"; position: absolute; left: 0; color: var(--gold); }

/* Stats strip */
.stats { display: flex; gap: 0; border: 1px solid var(--line); border-radius: 3px; overflow: hidden; }
.stat { flex: 1; padding: 28px 24px; border-left: 1px solid var(--line); }
.stat:first-child { border-left: none; }
.stat .n { font-family: var(--font-display); font-size: 2.4rem; color: var(--gold); display: block; margin-bottom: 6px; }
.stat .l { font-family: var(--font-mono); font-size: 0.68rem; text-transform: uppercase; letter-spacing: 0.1em; color: var(--muted); }

/* Fleet cards */
.fleet-card { background: var(--bg-panel); border: 1px solid var(--line-soft); padding: 0; }
.fleet-card__img { aspect-ratio: 16/10; background: var(--bg-panel-2); display: flex; align-items: center; justify-content: center; color: var(--muted); font-family: var(--font-mono); font-size: 0.7rem; letter-spacing: 0.1em; text-transform: uppercase; border-bottom: 1px solid var(--line-soft); }
.fleet-card__body { padding: 28px; }
.fleet-card__meta { display: flex; gap: 18px; margin-top: 16px; font-family: var(--font-mono); font-size: 0.75rem; color: var(--muted); }
.fleet-card__meta span { color: var(--gold-soft); }

/* Quote / testimonial */
blockquote {
  font-family: var(--font-display); font-size: 1.5rem; font-weight: 400;
  line-height: 1.4; color: var(--ivory); margin: 0; padding-left: 28px;
  border-left: 2px solid var(--gold);
}
blockquote cite { display: block; margin-top: 18px; font-family: var(--font-mono); font-size: 0.72rem; color: var(--muted); font-style: normal; text-transform: uppercase; letter-spacing: 0.08em; }

/* Zone list (localities) */
.zone-list { display: flex; flex-wrap: wrap; gap: 10px; }
.zone-list span {
  font-family: var(--font-mono); font-size: 0.75rem; color: var(--muted);
  border: 1px solid var(--line); padding: 8px 14px; border-radius: 2px;
}

/* CTA band */
.cta-band {
  background: var(--bg-panel);
  border-top: 1px solid var(--line-soft);
  padding: 80px 0;
  text-align: center;
}
.cta-band h2 { margin-bottom: 14px; }
.cta-band .lede { margin: 0 auto 32px; }

/* ---------------- Forms ---------------- */
.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
.form-grid .full { grid-column: 1 / -1; }
label {
  display: block; font-family: var(--font-mono); font-size: 0.7rem;
  text-transform: uppercase; letter-spacing: 0.1em; color: var(--muted); margin-bottom: 8px;
}
input, select, textarea {
  width: 100%; background: var(--bg); border: 1px solid var(--line);
  color: var(--ivory); padding: 13px 14px; font-family: var(--font-body);
  font-size: 0.95rem; border-radius: 2px;
}
input:focus, select:focus, textarea:focus { border-color: var(--gold); }
textarea { min-height: 120px; resize: vertical; }
.field { margin-bottom: 4px; }
.form-note { font-size: 0.82rem; color: var(--muted); margin-top: 18px; }

/* ---------------- Footer ---------------- */
footer.site-footer {
  border-top: 1px solid var(--line-soft);
  padding: 56px 0 32px;
}
.footer-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1fr; gap: 40px; margin-bottom: 48px; }
.footer-grid h4 { font-family: var(--font-mono); font-size: 0.7rem; text-transform: uppercase; letter-spacing: 0.1em; color: var(--gold); margin: 0 0 16px; }
.footer-grid ul { list-style: none; padding: 0; margin: 0; }
.footer-grid li { margin-bottom: 10px; }
.footer-grid a { text-decoration: none; color: var(--muted); font-size: 0.9rem; transition: color 0.2s ease; }
.footer-grid a:hover { color: var(--gold); }
.footer-bottom {
  border-top: 1px solid var(--line-soft); padding-top: 24px;
  display: flex; justify-content: space-between; align-items: center;
  font-family: var(--font-mono); font-size: 0.7rem; color: var(--muted); letter-spacing: 0.02em;
}

/* Breadcrumb / page header (inner pages) */
.page-head { padding: 64px 0 56px; border-bottom: 1px solid var(--line-soft); }
.breadcrumb { font-family: var(--font-mono); font-size: 0.7rem; color: var(--muted); text-transform: uppercase; letter-spacing: 0.08em; margin-bottom: 20px; }
.breadcrumb a { color: var(--muted); text-decoration: none; }
.breadcrumb a:hover { color: var(--gold); }

/* ---------------- Responsive ---------------- */
@media (max-width: 880px) {
  nav.main-nav { display: none; }
  .mobile-toggle { display: block; background: none; border: 1px solid var(--line); color: var(--ivory); padding: 8px 12px; border-radius: 2px; font-family: var(--font-mono); font-size: 0.7rem; }
  .hero-grid { grid-template-columns: 1fr; gap: 40px; }
  .grid-3, .grid-2 { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .form-grid { grid-template-columns: 1fr; }
  .stats { flex-direction: column; }
  .stat { border-left: none; border-top: 1px solid var(--line); }
  .stat:first-child { border-top: none; }
  section { padding: 64px 0; }
}
