/* =============================================
   Transports Dubourg — Design System
   Color palette : indigo brand + warm neutrals
   Typography  : Inter (Google Fonts) + system fallback
   Build target : zero JS framework, modern CSS
   ============================================= */

:root {
  /* Brand */
  --brand-900: #1e3a8a;
  --brand-800: #1e40af;
  --brand-700: #2342b8;
  --brand-600: #3b56c5;
  --brand-100: #e0e7ff;
  --brand-50:  #eef2ff;

  /* Neutrals */
  --ink-900: #0e1428;
  --ink-700: #2a3142;
  --ink-500: #5a6275;
  --ink-300: #c4cad6;
  --ink-100: #eef0f4;
  --ink-50:  #f7f8fa;
  --white:   #ffffff;

  /* Accent (warm) */
  --warm-700: #b56a3a;
  --warm-500: #e8a878;

  /* Semantic */
  --bg: #fbfbf8;
  --bg-alt: #f4f4ef;
  --text: var(--ink-900);
  --text-muted: var(--ink-500);
  --rule: #e6e6df;

  /* Type scale (clamp for fluid) */
  --fs-xs:    clamp(0.78rem, 0.78rem + 0vw, 0.82rem);
  --fs-sm:    clamp(0.875rem, 0.86rem + 0.1vw, 0.92rem);
  --fs-base:  clamp(1rem, 0.97rem + 0.15vw, 1.07rem);
  --fs-lg:    clamp(1.125rem, 1.08rem + 0.2vw, 1.22rem);
  --fs-xl:    clamp(1.35rem, 1.22rem + 0.5vw, 1.55rem);
  --fs-2xl:   clamp(1.7rem, 1.5rem + 0.9vw, 2.1rem);
  --fs-3xl:   clamp(2.1rem, 1.7rem + 1.6vw, 3rem);
  --fs-4xl:   clamp(2.6rem, 2rem + 2.6vw, 4.2rem);

  /* Spacing */
  --sp-1: 0.25rem;
  --sp-2: 0.5rem;
  --sp-3: 0.75rem;
  --sp-4: 1rem;
  --sp-5: 1.5rem;
  --sp-6: 2rem;
  --sp-8: 3rem;
  --sp-10: 4rem;
  --sp-12: 6rem;
  --sp-16: 8rem;

  /* Layout */
  --container: 1180px;
  --container-tight: 880px;

  /* Effects */
  --radius: 4px;
  --radius-lg: 8px;
  --shadow-sm: 0 1px 2px rgba(14, 20, 40, 0.06), 0 1px 3px rgba(14, 20, 40, 0.04);
  --shadow-md: 0 4px 12px rgba(14, 20, 40, 0.06), 0 1px 4px rgba(14, 20, 40, 0.04);
  --shadow-lg: 0 18px 40px rgba(14, 20, 40, 0.12);

  --transition: 200ms cubic-bezier(0.22, 0.61, 0.36, 1);
}

/* =============================================
   Reset & base
   ============================================= */

*, *::before, *::after { box-sizing: border-box; }
* { margin: 0; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body {
  font-family: 'Inter', system-ui, -apple-system, 'Segoe UI', Roboto, sans-serif;
  font-size: var(--fs-base);
  line-height: 1.6;
  color: var(--text);
  background: var(--bg);
  font-feature-settings: 'ss01', 'cv11';
  -webkit-font-smoothing: antialiased;
}
img, video { display: block; max-width: 100%; height: auto; }
a { color: var(--brand-800); text-decoration: none; transition: color var(--transition); }
a:hover { color: var(--brand-900); }
h1, h2, h3, h4 {
  font-family: 'Inter', sans-serif;
  font-weight: 700;
  letter-spacing: -0.02em;
  line-height: 1.15;
  color: var(--ink-900);
}
h1 { font-size: var(--fs-4xl); letter-spacing: -0.03em; }
h2 { font-size: var(--fs-3xl); }
h3 { font-size: var(--fs-xl); font-weight: 600; }
h4 { font-size: var(--fs-lg); font-weight: 600; }
p { color: var(--text); }
ul, ol { padding-left: 1.25rem; }
li + li { margin-top: 0.35rem; }
.site-nav-links li + li,
.mobile-menu li + li,
.commitments li + li,
.site-nav li + li,
footer li + li { margin-top: 0; }
small { font-size: var(--fs-xs); color: var(--text-muted); }
hr { border: 0; border-top: 1px solid var(--rule); margin: var(--sp-8) 0; }

/* =============================================
   Layout primitives
   ============================================= */

.container { width: 100%; max-width: var(--container); margin: 0 auto; padding: 0 var(--sp-5); }
.container-tight { width: 100%; max-width: var(--container-tight); margin: 0 auto; padding: 0 var(--sp-5); }

.section { padding: var(--sp-12) 0; }
.section-sm { padding: var(--sp-8) 0; }
.section-lg { padding: var(--sp-16) 0; }
.section--alt { background: var(--bg-alt); }
.section--dark { background: var(--ink-900); color: var(--ink-100); }
.section--dark h1, .section--dark h2, .section--dark h3 { color: var(--white); }
.section--brand { background: var(--brand-900); color: var(--brand-100); }
.section--brand h1, .section--brand h2, .section--brand h3 { color: var(--white); }

.grid { display: grid; gap: var(--sp-6); }
.grid-2 { grid-template-columns: 1fr; }
.grid-3 { grid-template-columns: 1fr; }
.grid-4 { grid-template-columns: repeat(2, 1fr); }

@media (min-width: 640px) {
  .grid-4 { grid-template-columns: repeat(2, 1fr); }
}
@media (min-width: 800px) {
  .grid-2 { grid-template-columns: repeat(2, 1fr); }
  .grid-3 { grid-template-columns: repeat(3, 1fr); }
  .grid-4 { grid-template-columns: repeat(4, 1fr); }
}

.stack > * + * { margin-top: var(--sp-4); }
.stack-sm > * + * { margin-top: var(--sp-2); }
.stack-lg > * + * { margin-top: var(--sp-6); }

/* =============================================
   Typography utilities
   ============================================= */

.eyebrow {
  display: inline-block;
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--brand-800);
  margin-bottom: var(--sp-3);
}
.section--dark .eyebrow, .section--brand .eyebrow { color: var(--warm-500); }
.lede {
  font-size: var(--fs-lg);
  color: var(--text);
  max-width: 65ch;
}
.lede--big { font-size: var(--fs-xl); line-height: 1.45; }
.muted { color: var(--text-muted); }
.text-center { text-align: center; }
.mx-auto { margin-left: auto; margin-right: auto; max-width: 65ch; }

/* =============================================
   Navigation
   ============================================= */

.site-nav {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(251, 251, 248, 0.92);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--rule);
}
.site-nav-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--sp-6);
  height: 76px;
  width: 100%;
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 var(--sp-5);
}
.site-nav-logo {
  flex-shrink: 0;
  display: flex;
  align-items: center;
}
.site-nav-logo img {
  height: 63px;
  width: auto;
  display: block;
  object-fit: contain;
  flex-shrink: 0;
}
.site-nav-links {
  display: none;
  gap: var(--sp-6);
  list-style: none;
  padding: 0;
  margin: 0;
}
.site-nav-links a {
  font-size: var(--fs-sm);
  font-weight: 500;
  color: var(--ink-700);
  padding: var(--sp-2) 0;
  border-bottom: 2px solid transparent;
  transition: color var(--transition), border-color var(--transition);
}
.site-nav-links a:hover,
.site-nav-links a[aria-current="page"] {
  color: var(--brand-900);
  border-bottom-color: var(--brand-700);
}
.site-nav-cta {
  display: none;
}
@media (min-width: 1200px) {
  .site-nav-links { display: flex; }
  .site-nav-cta { display: inline-flex; }
}

/* Mobile menu (CSS-only) */
.menu-toggle {
  display: inline-flex;
  border: 0;
  background: transparent;
  cursor: pointer;
  padding: var(--sp-2);
  align-items: center;
  justify-content: center;
}
.menu-toggle svg { width: 24px; height: 24px; stroke: var(--ink-900); }
@media (min-width: 1200px) { .menu-toggle { display: none; } }
#menu-state { display: none; }
.mobile-menu {
  display: none;
  background: var(--bg);
  border-bottom: 1px solid var(--rule);
  padding: var(--sp-4) var(--sp-5);
}
.mobile-menu ul { list-style: none; padding: 0; margin: 0; }
.mobile-menu li { padding: var(--sp-3) 0; border-bottom: 1px solid var(--rule); }
.mobile-menu li:last-child { border-bottom: 0; }
.mobile-menu a { display: block; color: var(--ink-700); font-weight: 500; }
#menu-state:checked ~ .mobile-menu { display: block; }
@media (min-width: 1200px) { .mobile-menu { display: none !important; } }

/* =============================================
   Buttons
   ============================================= */

.btn {
  display: inline-flex;
  align-items: center;
  gap: var(--sp-2);
  padding: 0.75rem 1.4rem;
  font-size: var(--fs-sm);
  font-weight: 600;
  letter-spacing: 0.01em;
  border: 1px solid transparent;
  border-radius: var(--radius);
  cursor: pointer;
  transition: all var(--transition);
  text-decoration: none;
  white-space: nowrap;
}
.btn-primary {
  background: var(--brand-900);
  color: var(--white);
}
.btn-primary:hover {
  background: var(--brand-700);
  color: var(--white);
  transform: translateY(-1px);
  box-shadow: var(--shadow-md);
}
.btn-secondary {
  background: transparent;
  border-color: var(--brand-900);
  color: var(--brand-900);
}
.btn-secondary:hover {
  background: var(--brand-900);
  color: var(--white);
}
.btn-ghost {
  background: transparent;
  color: var(--ink-700);
}
.btn-ghost:hover { color: var(--brand-900); }
.btn-on-dark {
  background: var(--white);
  color: var(--brand-900);
}
.btn-on-dark:hover { background: var(--brand-50); }
.btn svg { width: 16px; height: 16px; }

/* =============================================
   Hero
   ============================================= */

.hero {
  position: relative;
  min-height: 78vh;
  display: grid;
  align-items: end;
  color: var(--white);
  overflow: hidden;
  isolation: isolate;
}
.hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background: var(--bg-image) var(--bg-position, center)/cover no-repeat;
  z-index: -2;
}
.hero::after {
  content: '';
  position: absolute;
  inset: 0;
  background:
    linear-gradient(180deg, rgba(14, 20, 40, 0.05) 0%, rgba(14, 20, 40, 0.1) 35%, rgba(14, 20, 40, 0.75) 90%),
    linear-gradient(95deg, rgba(30, 58, 138, 0.45) 0%, rgba(30, 58, 138, 0) 60%);
  z-index: -1;
}
.hero-inner {
  width: 100%;
  max-width: var(--container);
  margin: 0 auto;
  padding: var(--sp-12) var(--sp-5);
  display: grid;
  gap: var(--sp-6);
}
.hero h1 {
  color: var(--white);
  max-width: 18ch;
  font-size: var(--fs-4xl);
  line-height: 1.05;
}
.hero p {
  color: rgba(255,255,255, 0.92);
  max-width: 55ch;
  font-size: var(--fs-lg);
}
.hero-meta {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: var(--sp-5);
  margin-top: var(--sp-2);
  font-size: var(--fs-sm);
  color: rgba(255,255,255, 0.85);
  text-transform: uppercase;
  letter-spacing: 0.12em;
}
.hero-meta span { display: inline-flex; align-items: center; gap: var(--sp-2); }
.hero-meta span::before { content: '·'; opacity: 0.6; margin-right: var(--sp-2); }
.hero-meta span:first-child::before { content: ''; margin: 0; }
.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: var(--sp-3);
  margin-top: var(--sp-4);
}

/* Compact hero variant (subpages) */
.hero--compact {
  min-height: 42vh;
}
.hero--compact .hero-inner { padding: var(--sp-10) var(--sp-5); }
.hero--compact h1 { font-size: var(--fs-3xl); }

/* =============================================
   Stat row
   ============================================= */

.stats {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: var(--sp-6);
}
@media (min-width: 800px) {
  .stats { grid-template-columns: repeat(4, 1fr); }
}
.stat {
  text-align: left;
  padding: var(--sp-4) 0;
  border-top: 2px solid var(--brand-900);
}
.section--dark .stat, .section--brand .stat {
  border-top-color: var(--warm-500);
}
.stat-value {
  font-size: var(--fs-3xl);
  font-weight: 700;
  letter-spacing: -0.02em;
  line-height: 1;
  color: var(--ink-900);
}
.section--dark .stat-value, .section--brand .stat-value {
  color: var(--white);
}
.stat-label {
  margin-top: var(--sp-3);
  font-size: var(--fs-sm);
  color: var(--text-muted);
  line-height: 1.4;
}
.section--dark .stat-label, .section--brand .stat-label {
  color: rgba(255,255,255, 0.7);
}

/* =============================================
   Cards (services / pillars)
   ============================================= */

.card {
  background: var(--white);
  border: 1px solid var(--rule);
  border-radius: var(--radius-lg);
  padding: var(--sp-6);
  height: 100%;
  display: flex;
  flex-direction: column;
  transition: all var(--transition);
}
.card:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow-md);
  border-color: var(--brand-700);
}
.card-icon {
  width: 44px;
  height: 44px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  background: var(--brand-50);
  color: var(--brand-900);
  margin-bottom: var(--sp-4);
}
.card-icon svg { width: 22px; height: 22px; }
.card h3 { margin-bottom: var(--sp-3); }
.card p { color: var(--text-muted); font-size: var(--fs-base); flex: 1; }
.card-link {
  margin-top: var(--sp-4);
  font-weight: 600;
  display: inline-flex;
  align-items: center;
  gap: var(--sp-2);
  font-size: var(--fs-sm);
}

/* Card image at top (home pillar cards with photo) */
.card-img {
  margin: calc(-1 * var(--sp-6)) calc(-1 * var(--sp-6)) var(--sp-5);
  border-radius: var(--radius-lg) var(--radius-lg) 0 0;
  overflow: hidden;
  aspect-ratio: 4 / 1;
  background: var(--ink-50);
}
.card-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 400ms cubic-bezier(0.22, 0.61, 0.36, 1);
}
.card:hover .card-img img { transform: scale(1.04); }

/* Card variant : key pillars on home */
.pillar {
  padding: var(--sp-8);
  border-left: 3px solid var(--brand-900);
  background: var(--white);
  border-radius: 0 var(--radius-lg) var(--radius-lg) 0;
}
.pillar h3 {
  font-size: var(--fs-2xl);
  margin-bottom: var(--sp-3);
}

/* Card variant : vehicle */
.vehicle {
  background: var(--white);
  border: 1px solid var(--rule);
  border-radius: var(--radius-lg);
  overflow: hidden;
  display: flex;
  flex-direction: column;
}
.vehicle-img {
  aspect-ratio: 4/3;
  background: var(--ink-50);
  overflow: hidden;
}
.vehicle-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 400ms cubic-bezier(0.22, 0.61, 0.36, 1);
}
.vehicle:hover .vehicle-img img { transform: scale(1.04); }
.vehicle-body { padding: var(--sp-5); flex: 1; display: flex; flex-direction: column; }
.vehicle h4 { margin-bottom: var(--sp-2); }
.vehicle p { color: var(--text-muted); font-size: var(--fs-sm); flex: 1; }
.vehicle-specs {
  margin-top: var(--sp-4);
  padding-top: var(--sp-4);
  border-top: 1px solid var(--rule);
  font-size: var(--fs-xs);
  color: var(--text-muted);
  display: flex;
  flex-wrap: wrap;
  gap: var(--sp-3);
}
.vehicle-specs strong { color: var(--ink-900); font-weight: 600; }

/* =============================================
   Split layouts
   ============================================= */

.split {
  display: grid;
  gap: var(--sp-10);
  align-items: center;
}
@media (min-width: 900px) {
  .split { grid-template-columns: 1fr 1fr; gap: var(--sp-16); }
  .split--6-4 { grid-template-columns: 6fr 4fr; }
  .split--4-6 { grid-template-columns: 4fr 6fr; }
}
.split-img {
  border-radius: var(--radius-lg);
  overflow: hidden;
  aspect-ratio: 4/3;
  background: var(--ink-100);
}
.split-img img { width: 100%; height: 100%; object-fit: cover; }

/* =============================================
   Engagements (RSE list)
   ============================================= */

.commitments {
  display: grid;
  gap: var(--sp-2);
}
.commitment {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: var(--sp-5);
  padding: var(--sp-6) 0;
  border-bottom: 1px solid var(--rule);
}
.commitment:last-child { border-bottom: 0; }
.commitment-num {
  font-family: 'Inter', sans-serif;
  font-size: var(--fs-2xl);
  font-weight: 600;
  color: var(--brand-700);
  font-variant-numeric: tabular-nums;
  line-height: 1;
  letter-spacing: -0.02em;
  min-width: 4ch;
}
.commitment h3 { margin-bottom: var(--sp-2); }

/* =============================================
   Quote / testimonial block
   ============================================= */

.quote-block {
  padding: var(--sp-8);
  background: var(--brand-50);
  border-radius: var(--radius-lg);
  border-left: 4px solid var(--brand-700);
}
.quote-block blockquote {
  font-size: var(--fs-xl);
  line-height: 1.45;
  font-weight: 500;
  color: var(--ink-900);
  margin: 0 0 var(--sp-4);
}
.quote-block cite {
  font-style: normal;
  font-size: var(--fs-sm);
  color: var(--text-muted);
}

/* =============================================
   Contact / form
   ============================================= */

.contact-grid {
  display: grid;
  gap: var(--sp-8);
}
@media (min-width: 900px) {
  .contact-grid { grid-template-columns: 5fr 7fr; gap: var(--sp-10); }
}
.contact-info-block {
  padding: var(--sp-3) 0;
  border-top: 1px solid var(--rule);
}
.contact-info-block:first-child { border-top: 0; padding-top: 0; }
.contact-info-block h4 {
  font-size: var(--fs-xs);
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--text-muted);
  margin-bottom: var(--sp-2);
  font-weight: 600;
}
.contact-info-block p, .contact-info-block a {
  font-size: var(--fs-base);
  color: var(--ink-900);
}

form { display: grid; gap: var(--sp-4); }
.form-row { display: grid; gap: var(--sp-4); grid-template-columns: 1fr; }
@media (min-width: 600px) { .form-row { grid-template-columns: 1fr 1fr; } }
label {
  display: grid;
  gap: var(--sp-2);
  font-size: var(--fs-sm);
  font-weight: 500;
  color: var(--ink-700);
}
input, textarea, select {
  font: inherit;
  padding: 0.75rem 0.9rem;
  border: 1px solid var(--ink-300);
  border-radius: var(--radius);
  background: var(--white);
  color: var(--ink-900);
  transition: border-color var(--transition), box-shadow var(--transition);
}
input:focus, textarea:focus, select:focus {
  outline: none;
  border-color: var(--brand-800);
  box-shadow: 0 0 0 3px var(--brand-100);
}
textarea { min-height: 140px; resize: vertical; }
.form-note { font-size: var(--fs-xs); color: var(--text-muted); margin-top: var(--sp-2); }

/* =============================================
   Footer
   ============================================= */

.site-footer {
  background: var(--ink-900);
  color: rgba(255,255,255, 0.75);
  padding: var(--sp-12) 0 var(--sp-6);
}
.site-footer h4 {
  color: var(--white);
  font-size: var(--fs-xs);
  text-transform: uppercase;
  letter-spacing: 0.12em;
  margin-bottom: var(--sp-4);
  font-weight: 600;
}
.footer-grid {
  display: grid;
  gap: var(--sp-8);
  grid-template-columns: 1fr;
}
@media (min-width: 700px) {
  .footer-grid { grid-template-columns: 2fr 1fr 1fr 1fr; }
}
.footer-grid a {
  color: rgba(255,255,255, 0.7);
  font-size: var(--fs-sm);
  display: block;
  padding: 0.25rem 0;
}
.footer-grid a:hover { color: var(--white); }
.footer-grid ul { list-style: none; padding: 0; margin: 0; }
.footer-grid li { margin: 0; }
.footer-brand img { height: 28px; width: auto; filter: brightness(0) invert(1); margin-bottom: var(--sp-3); }
.footer-brand p { color: rgba(255,255,255, 0.7); font-size: var(--fs-sm); max-width: 32ch; }
.footer-bottom {
  margin-top: var(--sp-10);
  padding-top: var(--sp-5);
  border-top: 1px solid rgba(255,255,255, 0.08);
  display: flex;
  flex-wrap: wrap;
  gap: var(--sp-5);
  justify-content: space-between;
  align-items: center;
  font-size: var(--fs-xs);
  color: rgba(255,255,255, 0.5);
}
.footer-bottom a { color: rgba(255,255,255, 0.6); }
.footer-bottom a:hover { color: var(--white); }

/* =============================================
   Misc utilities
   ============================================= */

.tagline {
  display: inline-flex;
  align-items: center;
  gap: var(--sp-2);
  padding: 0.4rem 0.85rem;
  background: rgba(255,255,255, 0.12);
  backdrop-filter: blur(10px);
  border: 1px solid rgba(255,255,255, 0.18);
  color: var(--white);
  border-radius: 999px;
  font-size: var(--fs-xs);
  font-weight: 500;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  width: fit-content;
}
.tagline-dot {
  width: 8px; height: 8px; border-radius: 50%; background: var(--warm-500);
}

.divider-band {
  background: var(--brand-900);
  color: var(--white);
  padding: var(--sp-8) 0;
}
.divider-band p {
  font-size: var(--fs-xl);
  color: rgba(255,255,255, 0.9);
  max-width: 60ch;
}

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

/* =============================================
   Catalogue page — flotte-catalogue.html
   ============================================= */

.catalogue-page { background: #E8EEFF; min-height: 100vh; }
.catalogue-page .site-nav { background: rgba(232, 238, 255, 0.85); }
.catalogue-hero { padding: var(--sp-12) var(--sp-5) var(--sp-8); text-align: center; }
.catalogue-grid { display: grid; gap: var(--sp-6); grid-template-columns: 1fr; max-width: 1280px; margin: 0 auto; padding: var(--sp-8) var(--sp-5); }
@media (min-width: 700px) { .catalogue-grid { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1100px) { .catalogue-grid { grid-template-columns: repeat(4, 1fr); } }
.cat-card { background: transparent; padding: var(--sp-4); text-align: center; transition: transform 250ms; display: flex; flex-direction: column; height: 100%; }
.cat-card:hover { transform: translateY(-4px); }
.cat-card-img { aspect-ratio: 4/3; margin-bottom: var(--sp-5); display: flex; align-items: center; justify-content: center; }
.cat-card-img img { max-width: 100%; max-height: 100%; object-fit: contain; }
.cat-card h3 { font-size: var(--fs-xl); margin-bottom: var(--sp-3); color: var(--ink-900); font-weight: 600; }
.cat-card p { color: var(--ink-700); font-size: var(--fs-sm); line-height: 1.5; margin-bottom: var(--sp-3); }
.cat-card .specs { display: flex; flex-wrap: wrap; gap: var(--sp-2); justify-content: center; margin-bottom: var(--sp-5); font-size: var(--fs-xs); color: var(--ink-500); }
.cat-card .specs span { padding: 2px 8px; border: 1px solid var(--ink-300); border-radius: 999px; }
.btn-reserve { display: inline-block; padding: 0.75rem 1.75rem; border: 1.5px solid var(--brand-800); color: var(--brand-800); border-radius: 999px; text-transform: uppercase; letter-spacing: 0.08em; font-size: 0.78rem; font-weight: 600; transition: all var(--transition); text-decoration: none; margin-top: auto; align-self: center; }
.btn-reserve:hover { background: var(--brand-800); color: var(--white); }

/* === RESPONSIVE OVERHAUL === */

/* --- Delta 1 --- */
/* ============================================================
   Responsive overhaul — appended after all existing rules.
   Later declarations at equal specificity win, so these are
   the authoritative mobile-first values on top of the legacy CSS.
   ============================================================ */

/* Global safety: nothing should ever cause horizontal scroll on mobile. */
html, body { overflow-x: clip; }
html { text-size-adjust: 100%; -webkit-text-size-adjust: 100%; }
img, svg, video { max-width: 100%; }

/* --- Delta 2 --- */
/* P0 ROOT-CAUSE FIX for horizontal scroll on every page.
   .site-nav-cta { display:none } (0,1,0) was defeated by
   .btn { display:inline-flex } (0,1,0, declared later).
   Raise specificity so hide always wins on mobile. */
.site-nav .site-nav-cta,
.site-nav a.btn.site-nav-cta { display: none; }

/* --- Delta 3 (rev. 2) --- */
/* The full nav row (8 links + logo + CTA) needs ~1175px; below that
   the links overflow under `overflow-x: clip` and become unreachable.
   Keep the hamburger until the row genuinely fits. */
@media (min-width: 1200px) {
  .site-nav .site-nav-links { display: flex; }
  .site-nav .site-nav-cta,
  .site-nav a.btn.site-nav-cta { display: inline-flex; }
  .site-nav .menu-toggle { display: none; }
}

/* --- Delta 4 --- */
.container, .container-tight { padding-left: var(--sp-5); padding-right: var(--sp-5); }
@media (min-width: 800px) {
  .container, .container-tight { padding-left: var(--sp-6); padding-right: var(--sp-6); }
}
@media (min-width: 1100px) {
  .container, .container-tight { padding-left: var(--sp-8); padding-right: var(--sp-8); }
}

/* --- Delta 5 --- */
.section { padding: var(--sp-10) 0; }
.section-lg { padding: var(--sp-12) 0; }
@media (min-width: 800px) {
  .section { padding: var(--sp-12) 0; }
  .section-lg { padding: var(--sp-16) 0; }
}

/* --- Delta 6 --- */
.hero { min-height: 62vh; background-position: 40% center; }
.hero-inner { padding: var(--sp-10) var(--sp-5); gap: var(--sp-5); }
.hero h1 { line-height: 1.1; max-width: 22ch; }
@media (min-width: 800px) {
  .hero { min-height: 78vh; }
  .hero-inner { padding: var(--sp-12) var(--sp-5); gap: var(--sp-6); }
  .hero h1 { line-height: 1.05; max-width: 18ch; }
}

/* --- Delta 7 --- */
.hero--compact { min-height: 36vh; }
.hero--compact .hero-inner { padding: var(--sp-8) var(--sp-5); }
@media (min-width: 800px) {
  .hero--compact { min-height: 42vh; }
  .hero--compact .hero-inner { padding: var(--sp-10) var(--sp-5); }
}

/* --- Delta 8 --- */
.hero .eyebrow, .hero--compact .eyebrow { color: var(--warm-500); }
.hero-actions .btn-ghost {
  color: var(--white);
  border: 1px solid rgba(255,255,255,0.4);
}
.hero-actions .btn-ghost:hover {
  color: var(--white);
  background: rgba(255,255,255,0.08);
}

/* --- Delta 9 --- */
.hero-actions { gap: var(--sp-3); width: 100%; }
.hero-actions .btn { flex: 1 1 auto; justify-content: center; min-width: 0; }
@media (min-width: 560px) {
  .hero-actions .btn { flex: 0 1 auto; }
}

/* --- Delta 10 --- */
.btn { min-height: 44px; padding: 0.7rem 1.2rem; }
@media (min-width: 800px) { .btn { padding: 0.75rem 1.4rem; } }
.menu-toggle { min-width: 44px; min-height: 44px; }
.mobile-menu a { min-height: 44px; display: flex; align-items: center; }

/* --- Delta 11 --- */
/* P1 — grid-4 was fixed 2-col on smallest screens, cramping metier cards
   to ~168px each on 375. Progressive collapse: 1 -> 2 -> 4. */
.grid-4 { grid-template-columns: 1fr; }
@media (min-width: 560px) {
  .grid-4 { grid-template-columns: repeat(2, 1fr); }
}
@media (min-width: 800px) {
  .grid-4 { grid-template-columns: repeat(4, 1fr); }
}

/* --- Delta 12 --- */
.card { padding: var(--sp-5); }
@media (min-width: 800px) { .card { padding: var(--sp-6); } }
.card-img { margin: calc(-1 * var(--sp-5)) calc(-1 * var(--sp-5)) var(--sp-4); }
@media (min-width: 800px) {
  .card-img { margin: calc(-1 * var(--sp-6)) calc(-1 * var(--sp-6)) var(--sp-5); }
}

/* --- Delta 13 --- */
.card-img { aspect-ratio: 3/2; }
@media (min-width: 900px) { .card-img { aspect-ratio: 4/1; } }

/* --- Delta 14 --- */
.pillar { padding: var(--sp-6); }
@media (min-width: 800px) { .pillar { padding: var(--sp-8); } }

/* --- Delta 15 --- */
.quote-block { padding: var(--sp-5); }
.quote-block blockquote { font-size: var(--fs-lg); }
@media (min-width: 800px) {
  .quote-block { padding: var(--sp-8); }
  .quote-block blockquote { font-size: var(--fs-xl); }
}

/* --- Delta 16 --- */
.split { gap: var(--sp-6); }
@media (min-width: 900px) { .split { gap: var(--sp-16); } }

/* --- Delta 17 --- */
/* Handle every inline aspect-ratio problem at the CSS layer,
   so we don't need to touch dozens of HTML lines. Attribute
   selectors have specificity (0,1,1); inline style is (1,0,0,0);
   !important is the only way to override inline. */
@media (max-width: 799px) {
  .split-img[style*="21/8"],
  .split-img[style*="21/9"] {
    aspect-ratio: 16 / 9 !important;
  }
  .split-img[style*="3/4"] {
    aspect-ratio: 4 / 3 !important;
  }
  .split-img[style*="margin-top: var(--sp-10)"] {
    margin-top: var(--sp-6) !important;
  }
  .split-img[style*="margin-top: var(--sp-8)"] {
    margin-top: var(--sp-5) !important;
  }
}

/* --- Delta 18 --- */
.split--v-center { }
@media (min-width: 900px) {
  .split--v-center { align-items: center; }
}

/* --- Delta 19 --- */
.commitment {
  grid-template-columns: 1fr;
  gap: var(--sp-2);
  padding: var(--sp-5) 0;
}
.commitment-num {
  font-size: var(--fs-xl);
  min-width: 0;
}
@media (min-width: 560px) {
  .commitment {
    grid-template-columns: auto 1fr;
    gap: var(--sp-5);
    padding: var(--sp-6) 0;
  }
  .commitment-num {
    font-size: var(--fs-2xl);
    min-width: 4ch;
  }
}

/* --- Delta 20 --- */
.stats { grid-template-columns: repeat(2, 1fr); gap: var(--sp-5); }
.stat-value { font-size: var(--fs-2xl); }
@media (min-width: 800px) {
  .stats { grid-template-columns: repeat(4, 1fr); gap: var(--sp-6); }
  .stat-value { font-size: var(--fs-3xl); }
}

/* --- Delta 21 --- */
.catalogue-hero { padding: var(--sp-10) var(--sp-5) var(--sp-6); }
.catalogue-hero h1 { font-size: var(--fs-2xl); letter-spacing: -0.02em; color: var(--ink-900); margin: var(--sp-3) auto; max-width: 22ch; }
.catalogue-hero > p { font-size: var(--fs-base); color: var(--ink-700); max-width: 58ch; margin: 0 auto; }
.catalogue-grid { padding: var(--sp-6) var(--sp-5); }
@media (min-width: 800px) {
  .catalogue-hero { padding: var(--sp-12) var(--sp-5) var(--sp-8); }
  .catalogue-hero h1 { font-size: var(--fs-3xl); }
  .catalogue-hero > p { font-size: var(--fs-lg); }
  .catalogue-grid { padding: var(--sp-8) var(--sp-5); }
}
.cat-card { padding: var(--sp-4); }

/* --- Delta 22 --- */
.section-heading { margin-bottom: var(--sp-5); }
.section-intro { margin-bottom: var(--sp-6); max-width: 60ch; }
@media (min-width: 800px) {
  .section-heading { margin-bottom: var(--sp-8); }
  .section-intro { margin-bottom: var(--sp-10); }
}

/* --- Delta 23 --- */
.fleet-photo { margin: 0; }
.fleet-photo img {
  width: 100%;
  aspect-ratio: 3 / 2;
  height: auto;
  object-fit: cover;
  border-radius: var(--radius);
  display: block;
}
.fleet-photo figcaption {
  margin-top: var(--sp-2);
  color: var(--text-muted);
  font-size: var(--fs-sm);
}

/* --- Delta 24 --- */
input, textarea, select { width: 100%; }
@media (max-width: 599px) {
  input, textarea, select { font-size: 16px; }
}

/* --- Delta 25 --- */
.vehicle-body { padding: var(--sp-4); }
@media (min-width: 800px) { .vehicle-body { padding: var(--sp-5); } }
.vehicle-specs { row-gap: var(--sp-2); }

/* --- Delta 26 --- */
.section--brand .brand-lede {
  font-size: var(--fs-base);
  color: rgba(255,255,255, 0.9);
  margin-bottom: var(--sp-5);
}
@media (min-width: 800px) {
  .section--brand .brand-lede {
    font-size: var(--fs-lg);
    margin-bottom: var(--sp-6);
  }
}

/* --- Delta 27 --- */
.hero-meta { gap: var(--sp-3); font-size: var(--fs-xs); }
@media (min-width: 800px) {
  .hero-meta { gap: var(--sp-5); font-size: var(--fs-sm); }
}

/* --- Delta 28 --- */
.divider-band { padding: var(--sp-6) 0; }
@media (min-width: 800px) { .divider-band { padding: var(--sp-8) 0; } }
.divider-band p { font-size: var(--fs-lg); }
@media (min-width: 800px) { .divider-band p { font-size: var(--fs-xl); } }

/* --- Delta 29 --- */
.site-nav-inner { height: 64px; gap: var(--sp-4); }
.site-nav-logo img { height: 44px; }
@media (min-width: 720px) {
  .site-nav-inner { height: 76px; gap: var(--sp-6); }
  .site-nav-logo img { height: 63px; }
}

/* --- Delta 30 --- */
.site-footer { padding: var(--sp-10) 0 var(--sp-5); }
.footer-grid { gap: var(--sp-6); }
@media (min-width: 800px) {
  .site-footer { padding: var(--sp-12) 0 var(--sp-6); }
  .footer-grid { gap: var(--sp-8); }
}

/* --- Delta 31 --- */
/* Mobile: the home hero anchors hard right via --bg-position (set inline on
   index.html), so the truck at the right edge of the 2.42:1 image stays
   visible at every width. The old 78% override (16:9-era image) is removed. */

/* --- Delta 32 --- */
/* Body copy is justified (aligned both sides). French auto-hyphenation
   keeps narrow columns (cards, commitments) free of rivers/gaps.
   Centered blocks keep their centering. */
p {
  text-align: justify;
  -webkit-hyphens: auto;
  hyphens: auto;
}
.text-center p { text-align: center; hyphens: none; -webkit-hyphens: none; }

/* --- Delta 33 --- */
/* Métiers: full-bleed half-section image bands (per mock-ups/metiers.png).
   Image column bleeds to the viewport edge and fills the section height;
   text column stays aligned with the .container grid. */
.metier-band { padding: 0; }
.metier-band-grid { display: grid; grid-template-columns: 1fr; }
.metier-band-text { padding: var(--sp-10) var(--sp-5); }
.metier-band-img { position: relative; overflow: hidden; }
.metier-band-img img { display: block; width: 100%; height: auto; }
@media (max-width: 899px) {
  .metier-band-img:not(.metier-band-img--contain) { aspect-ratio: 3 / 2; }
  .metier-band-img:not(.metier-band-img--contain) img { height: 100%; object-fit: cover; }
  /* Stacked order alternates strictly text -> image on every band,
     regardless of desktop image side. */
  .metier-band-grid--imgleft .metier-band-img { order: 2; }
  /* M03: the <picture> swaps to the original panorama on phone —
     let the box take its native ratio instead of the 3/2 crop. */
  .metier-band-img.metier-band-img--pano { aspect-ratio: 1584 / 672; }
}
@media (min-width: 900px) {
  .metier-band-grid--imgright { grid-template-columns: 2fr 1fr; }
  .metier-band-grid--imgleft { grid-template-columns: 1fr 2fr; }
  .metier-band-text { padding-top: var(--sp-12); padding-bottom: var(--sp-12); }
  /* 2fr text column: keep line length readable */
  .metier-band-text > * { max-width: 70ch; }
  .metier-band-grid--imgright .metier-band-text {
    padding-left: max(var(--sp-5), calc((100vw - var(--container)) / 2 + var(--sp-5)));
    padding-right: var(--sp-10);
  }
  .metier-band-grid--imgleft .metier-band-text {
    padding-right: max(var(--sp-5), calc((100vw - var(--container)) / 2 + var(--sp-5)));
    padding-left: var(--sp-10);
  }
  .metier-band-img img { position: absolute; inset: 0; height: 100%; object-fit: cover; }
  .metier-band-img--contain img { object-fit: contain; padding: var(--sp-6); }
}

/* --- Delta 35 --- */
/* Statut d'envoi du formulaire de contact (AJAX). */
#contact-form[hidden] { display: none; } /* form { display: grid } neutralise sinon l'attribut hidden */
.form-status {
  margin-top: var(--sp-5);
  padding: var(--sp-4) var(--sp-5);
  border-radius: var(--radius-lg);
  font-weight: 500;
  text-align: left;
  hyphens: none;
  -webkit-hyphens: none;
}
.form-status--ok { background: #f0fdf4; border: 1px solid #86efac; color: #166534; }
.form-status--err { background: #fef2f2; border: 1px solid #fca5a5; color: #991b1b; }

/* --- Delta 36 --- */
/* Home pillar cards: whole card clickable via stretched-link pattern.
   The existing .card-link grows an invisible overlay over the card, so
   keyboard focus and screen-reader semantics are unchanged. */
.card { position: relative; }
.card .card-link::after { content: ''; position: absolute; inset: 0; border-radius: var(--radius-lg); }
.card:has(.card-link:focus-visible) { outline: 2px solid var(--brand-700); outline-offset: 2px; }

/* --- Delta 38 --- */
/* Large intro ledes stay justified (Delta 32) but without auto-hyphenation:
   at this font size the broken words were worse than the wider spaces. */
.lede--big { hyphens: none; -webkit-hyphens: none; }
