/* ==========================================================================
   Taxi Dam's — Identité visuelle
   Charte noir & doré. Territoire de Belfort, Nord Franche-Comté.
   ========================================================================== */

:root {
  --marine-950: #060606;   /* noir profond */
  --marine-900: #0D0D0D;
  --marine-800: #141414;   /* fond sections sombres */
  --marine-700: #1D1D1D;
  --marine-600: #292929;
  --sable: #F7F5F0;        /* fond clair */
  --sable-2: #EFE9DC;
  --encre: #161513;
  --ambre: #C9A24E;        /* or / doré — couleur signature */
  --ambre-clair: #E3C381;
  --teal: #8C7333;         /* bronze foncé, utilisé pour petits accents de texte */
  --rouge: #B33A3A;
  --vert: #3E8E5A;
  --blanc: #FFFFFF;

  --font-display: "Montserrat", -apple-system, BlinkMacSystemFont, sans-serif;
  --font-body: "Montserrat", -apple-system, BlinkMacSystemFont, sans-serif;
  --font-mono: "IBM Plex Mono", monospace;

  --radius: 10px;
  --shadow: 0 10px 30px rgba(0, 0, 0, 0.18);
}

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

body {
  margin: 0;
  font-family: var(--font-body);
  color: var(--encre);
  background: var(--sable);
  line-height: 1.6;
}

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

h1, h2, h3, h4 {
  font-family: var(--font-display);
  font-weight: 700;
  line-height: 1.15;
  margin: 0 0 0.5em;
  color: var(--marine-950);
}
h1 { font-size: clamp(2.1rem, 4.5vw, 3.4rem); font-weight: 800; }
h2 { font-size: clamp(1.6rem, 3vw, 2.3rem); }
h3 { font-size: 1.3rem; }

p { margin: 0 0 1em; }
/* Les liens d'ancre (#...) s'arrêtent sous le menu collant, pas derrière lui */
html { scroll-padding-top: 96px; }

ul { margin: 0 0 1.2em; padding-left: 0; list-style: none; }
ul li {
  position: relative; padding-left: 26px; margin-bottom: 8px;
  color: rgba(22,21,19,0.85);
}
ul li::before {
  content: '›'; position: absolute; left: 4px; top: -1px;
  color: var(--ambre); font-weight: 700; font-size: 1.1em;
}
h2 { margin-top: 1.6em; }
h2:first-child { margin-top: 0; }

.container {
  max-width: 1140px;
  margin: 0 auto;
  padding: 0 24px;
}

/* --- Bouton --- */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 14px 26px;
  border-radius: 999px;
  font-family: var(--font-body);
  font-weight: 600;
  font-size: 0.95rem;
  border: none;
  cursor: pointer;
  transition: transform 0.15s ease, box-shadow 0.15s ease;
}
.btn:hover { transform: translateY(-2px); }
.btn:focus-visible { outline: 3px solid var(--ambre); outline-offset: 2px; }
.btn-ambre { background: var(--ambre); color: var(--marine-950); box-shadow: 0 6px 18px rgba(201,162,78,0.35); }
.btn-marine { background: var(--marine-950); color: var(--ambre-clair); }
.btn-outline { background: transparent; color: var(--marine-950); border: 1.5px solid var(--marine-950); }
.btn-outline:hover { background: var(--marine-950); color: var(--sable); }
.btn-block { width: 100%; justify-content: center; }

/* --- Pré-header (bandeau doré) --- */
.pre-header { background: var(--ambre); padding: 10px 24px; }
.pre-header-inner {
  display: flex; justify-content: flex-end; align-items: center; gap: 14px;
  max-width: 1140px; margin: 0 auto;
}
.pre-header-tel {
  background: var(--blanc); color: var(--marine-950);
  font-family: var(--font-mono); font-weight: 600; font-size: 0.9rem;
  padding: 9px 20px; border-radius: 999px; white-space: nowrap;
}
.pre-header-cta {
  background: var(--ambre-clair); border: 1.5px solid rgba(10,9,8,0.25);
  color: var(--marine-950); font-weight: 800; text-transform: uppercase;
  letter-spacing: 0.03em; font-size: 0.8rem; padding: 10px 22px;
  border-radius: 999px; white-space: nowrap;
}
.pre-header-cta:hover { background: var(--blanc); }

/* --- Header / Nav --- */
.site-header {
  position: sticky; top: 0; z-index: 100;
  background: var(--blanc);
  border-bottom: 1px solid rgba(0,0,0,0.08);
}
.nav-wrap {
  display: flex; align-items: center; justify-content: space-between;
  padding: 8px 24px; max-width: 1140px; margin: 0 auto;
}
.logo {
  font-family: var(--font-display);
  font-size: 1.5rem;
  color: var(--marine-950);
  display: flex; align-items: baseline; gap: 6px;
}
.logo span { color: var(--ambre); }
.logo-badge { align-items: center; gap: 12px; }
.logo-badge img { display: block; flex-shrink: 0; }
.logo-badge-text { font-size: 1.35rem; white-space: nowrap; font-family: var(--font-display); }
.logo-badge-text em { font-style: normal; color: var(--ambre); }
.nav-links {
  display: flex; gap: 30px; list-style: none; margin: 0; padding: 0;
  font-size: 0.95rem; font-weight: 600;
}
.nav-links li { padding-left: 0; margin-bottom: 0; white-space: nowrap; }
.nav-links li::before { content: none; }
.nav-links a {
  position: relative; padding: 4px 0; color: var(--teal);
  border-bottom: 2px solid transparent; transition: color 0.2s ease, border-color 0.2s ease;
}
.nav-links a:hover, .nav-links a.active { color: var(--marine-950); border-bottom-color: var(--marine-950); }
.nav-links-mobile-only { display: none; }

/* Bouton hamburger (mobile) */
.nav-toggle {
  display: none; flex-direction: column; justify-content: center; gap: 5px;
  width: 40px; height: 40px; background: none; border: none; cursor: pointer;
  padding: 0; flex-shrink: 0; position: relative; z-index: 360;
}
.nav-toggle span {
  display: block; width: 100%; height: 2.5px; background: var(--marine-950);
  border-radius: 2px; transition: transform 0.25s ease, opacity 0.25s ease;
}
.nav-toggle-open span:nth-child(1) { transform: translateY(7.5px) rotate(45deg); }
.nav-toggle-open span:nth-child(2) { opacity: 0; }
.nav-toggle-open span:nth-child(3) { transform: translateY(-7.5px) rotate(-45deg); }

@media (max-width: 900px) {
  .nav-links {
    display: flex; flex-direction: column; gap: 0;
    position: fixed; top: 0; right: 0; bottom: 0; width: min(320px, 85vw);
    background: var(--blanc); box-shadow: -8px 0 30px rgba(0,0,0,0.15);
    padding: 100px 28px 28px; z-index: 350;
    transform: translateX(100%); transition: transform 0.3s ease;
    overflow-y: auto;
  }
  .nav-links.nav-links-open { transform: translateX(0); }
  .nav-links li { width: 100%; white-space: normal; }
  .nav-links a {
    display: block; padding: 14px 0; font-size: 1.05rem;
    border-bottom: 1px solid rgba(11,37,69,0.08);
  }
  .nav-links a.active, .nav-links a:hover { border-bottom-color: rgba(11,37,69,0.08); }
  .nav-links-mobile-only { display: block; }
  .nav-toggle { display: flex; }
}

/* Voile derrière le menu mobile ouvert */
body.nav-menu-ouvert::after {
  content: ''; position: fixed; inset: 0; background: rgba(6,6,6,0.45); z-index: 340;
}
body.nav-menu-ouvert { overflow: hidden; }
/* L'en-tête (et donc le bouton hamburger) doit rester au-dessus du voile :
   sans ceci, le z-index du bouton seul ne suffit pas car .site-header crée
   son propre contexte d'empilement (piège classique du CSS). */
body.nav-menu-ouvert .site-header { position: sticky; z-index: 360; }

@media (max-width: 640px) {
  .pre-header { padding: 8px 16px; }
  .pre-header-inner { gap: 8px; }
  .pre-header-tel { padding: 8px 14px; font-size: 0.8rem; }
  .pre-header-cta { padding: 8px 14px; font-size: 0.7rem; }
  .nav-wrap { padding: 8px 16px; gap: 10px; }
  .logo-badge img { width: 56px; height: 56px; }
}
@media (max-width: 400px) {
  .pre-header-tel { padding: 7px 10px; font-size: 0.72rem; }
  .pre-header-cta { padding: 7px 10px; font-size: 0.62rem; }
  .logo-badge img { width: 48px; height: 48px; }
}

/* --- Hero --- */
.hero {
  position: relative;
  background: linear-gradient(120deg, var(--marine-950) 0%, var(--marine-800) 45%, var(--marine-700) 75%, var(--marine-800) 100%);
  background-size: 220% 220%;
  animation: hero-drift 18s ease-in-out infinite;
  color: var(--sable);
  overflow: hidden;
}
@keyframes hero-drift {
  0% { background-position: 0% 50%; }
  50% { background-position: 100% 50%; }
  100% { background-position: 0% 50%; }
}
.hero-inner {
  max-width: 1140px; margin: 0 auto; padding: 90px 24px 70px;
  display: grid; grid-template-columns: 1.1fr 0.9fr; gap: 50px; align-items: center;
}
.hero-eyebrow {
  font-family: var(--font-mono); text-transform: uppercase; letter-spacing: 0.12em;
  font-size: 0.8rem; color: var(--ambre-clair); margin-bottom: 18px;
}
.hero h1 { color: var(--blanc); }
.hero p.lead { font-size: 1.15rem; color: rgba(247,245,240,0.85); max-width: 46ch; }
.hero-actions { display: flex; gap: 14px; margin-top: 28px; flex-wrap: wrap; }

/* Signature : ligne de route reliant les communes du Territoire de Belfort */
.route-map { width: 100%; height: auto; }
.route-line {
  fill: none; stroke: var(--ambre); stroke-width: 2.5;
  stroke-dasharray: 6 8; stroke-linecap: round;
  animation: dash 40s linear infinite;
}
@keyframes dash { to { stroke-dashoffset: -400; } }
.route-dot { fill: var(--ambre-clair); }
.route-dot.active { fill: var(--ambre); }
.route-label { font-family: var(--font-mono); font-size: 12.5px; fill: rgba(247,245,240,0.88); }
.route-label-strong { font-weight: 600; fill: #fff; font-size: 14px; }
.route-label-sub { font-size: 10.5px; fill: var(--ambre-clair); }
.route-link { cursor: pointer; }
.route-link:hover .route-label { fill: var(--ambre-clair); text-decoration: underline; }
/* Point d'honneur (commune de stationnement) : halo qui respire */
.route-halo { fill: none; stroke: var(--ambre); stroke-width: 1.5; opacity: 0.6; transform-origin: center; transform-box: fill-box; animation: halo-pulse 2.8s ease-out infinite; }
@keyframes halo-pulse { 0% { transform: scale(0.8); opacity: 0.8; } 100% { transform: scale(2); opacity: 0; } }

@media (max-width: 860px) {
  .hero-inner { grid-template-columns: 1fr; padding-top: 50px; }
}

/* --- Bandeau stats --- */
.stats-bar {
  background: var(--marine-700); color: var(--sable);
  display: grid; grid-template-columns: repeat(3, 1fr);
  border-top: 1px solid rgba(247,245,240,0.1);
}
.stats-bar .stat { padding: 22px 16px; text-align: center; border-right: 1px solid rgba(247,245,240,0.1); }
.stats-bar .stat:last-child { border-right: none; }
.stats-bar .stat b { display: block; font-family: var(--font-display); font-size: 1.6rem; color: var(--ambre-clair); }
.stats-bar .stat small { font-size: 0.8rem; opacity: 0.8; }
@media (max-width: 700px) { .stats-bar { grid-template-columns: repeat(2, 1fr); } }

/* --- Sections génériques --- */
.section { padding: 70px 0; }
.section-sable { background: var(--sable); }
.section-blanc { background: var(--blanc); }
.section-marine { background: var(--marine-950); color: var(--sable); }
.section-marine h2, .section-marine h3 { color: var(--sable); }
.section-head { max-width: 640px; margin-bottom: 42px; }
.eyebrow {
  font-family: var(--font-mono); text-transform: uppercase; letter-spacing: 0.1em;
  font-size: 0.78rem; color: var(--teal); margin-bottom: 10px; display: block;
}

/* --- Cartes services --- */
.grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.grid-2 { display: grid; grid-template-columns: repeat(2, 1fr); gap: 24px; }
@media (max-width: 860px) { .grid-3, .grid-2 { grid-template-columns: 1fr; } }

.card {
  background: var(--blanc); border-radius: var(--radius); padding: 30px;
  box-shadow: var(--shadow); border: 1px solid rgba(0,0,0,0.06);
  color: var(--encre);
}
.card .num { font-family: var(--font-mono); color: var(--ambre); font-size: 0.85rem; }
/* Une carte est toujours à fond blanc : son texte doit rester lisible même
   placée dans une section sombre (qui impose sinon un texte clair aux titres). */
.card h1, .card h2, .card h3, .card h4 { color: var(--marine-950); }
.card p, .card li, .card a:not(.btn) { color: inherit; }
.card a:not(.btn) { color: var(--teal); }

/* --- Villes / SEO chips --- */
.chip-list { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 20px; }
.chip {
  background: var(--blanc); border: 1px solid rgba(0,0,0,0.15);
  padding: 8px 16px; border-radius: 999px; font-size: 0.85rem; font-weight: 500;
  color: var(--marine-950);
}
.chip:hover { border-color: var(--ambre); color: var(--marine-950); }

/* --- Formulaires --- */
.form-card {
  background: var(--blanc); border-radius: 16px; padding: 36px;
  box-shadow: var(--shadow); border: 1px solid rgba(0,0,0,0.08);
}
label { display: block; font-weight: 600; font-size: 0.88rem; margin-bottom: 6px; color: var(--marine-950); }
input, select, textarea {
  width: 100%; padding: 12px 14px; border: 1.5px solid rgba(0,0,0,0.18);
  border-radius: 8px; font-family: var(--font-body); font-size: 0.95rem;
  background: var(--sable); color: var(--encre); margin-bottom: 18px;
}
input:focus, select:focus, textarea:focus {
  outline: none; border-color: var(--ambre); background: var(--blanc);
}
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
@media (max-width: 700px) { .form-row { grid-template-columns: 1fr; } }
.field-hint { font-size: 0.8rem; color: rgba(22,21,19,0.55); margin-top: -14px; margin-bottom: 18px; }

.alert { padding: 14px 18px; border-radius: 8px; margin-bottom: 22px; font-size: 0.92rem; }
.alert-success { background: rgba(62,142,90,0.12); color: #235a37; border: 1px solid rgba(62,142,90,0.3); }
.alert-error { background: rgba(179,58,58,0.1); color: #8a2b2b; border: 1px solid rgba(179,58,58,0.3); }
.alert-info { background: rgba(201,162,78,0.12); color: #7A5F22; border: 1px solid rgba(201,162,78,0.35); }

/* --- Suivi réservation --- */
.tracker {
  display: flex; flex-direction: column; gap: 0;
  margin: 30px 0;
}
.tracker-step {
  display: flex; gap: 16px; padding-bottom: 30px; position: relative;
}
.tracker-step:not(:last-child)::before {
  content: ''; position: absolute; left: 13px; top: 30px; bottom: 0; width: 2px;
  background: rgba(0,0,0,0.15);
}
.tracker-dot {
  width: 28px; height: 28px; border-radius: 50%; flex-shrink: 0;
  display: flex; align-items: center; justify-content: center;
  background: rgba(0,0,0,0.08); font-size: 0.8rem; font-weight: 700; color: var(--marine-950);
}
.tracker-step.done .tracker-dot { background: var(--teal); color: var(--blanc); }
.tracker-step.active .tracker-dot { background: var(--ambre); color: var(--marine-950); }
.code-badge {
  font-family: var(--font-mono); background: var(--marine-950); color: var(--ambre-clair);
  padding: 6px 14px; border-radius: 6px; letter-spacing: 0.05em; display: inline-block;
}

/* --- Footer --- */
.site-footer { background: var(--marine-950); color: rgba(247,245,240,0.75); padding: 56px 0 24px; }
.footer-grid { display: grid; grid-template-columns: 1.3fr 1fr 1fr 0.9fr; gap: 32px; margin-bottom: 40px; }
.footer-grid h4 { color: var(--sable); font-size: 0.95rem; margin-bottom: 14px; }
.footer-grid a { display: block; padding: 4px 0; font-size: 0.9rem; color: rgba(247,245,240,0.7); }
.footer-grid a:hover { color: var(--ambre-clair); }
.footer-social { display: flex; gap: 14px; margin-top: 14px; }
.footer-social a { width: 34px; height: 34px; border-radius: 50%; border: 1px solid rgba(247,245,240,0.25); display: flex; align-items: center; justify-content: center; padding: 0; }
.footer-social a:hover { border-color: var(--ambre); color: var(--ambre-clair); }
.footer-bottom { border-top: 1px solid rgba(247,245,240,0.12); padding-top: 20px; font-size: 0.82rem; display: flex; justify-content: space-between; flex-wrap: wrap; gap: 10px; }
@media (max-width: 900px) { .footer-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 700px) { .footer-grid { grid-template-columns: 1fr; } }

/* --- Admin --- */
.admin-body { background: var(--sable); min-height: 100vh; font-family: var(--font-body); }
.admin-shell { display: grid; grid-template-columns: 240px 1fr; min-height: 100vh; }
.admin-sidebar { background: var(--marine-950); color: var(--sable); padding: 26px 18px; }
.admin-sidebar .logo { color: var(--sable); margin-bottom: 30px; }
.admin-nav a {
  display: flex; align-items: center; gap: 10px; padding: 11px 14px; border-radius: 8px;
  color: rgba(247,245,240,0.75); font-size: 0.92rem; margin-bottom: 4px;
}
.admin-nav a:hover, .admin-nav a.active { background: rgba(201,162,78,0.15); color: var(--ambre-clair); }
.admin-main { padding: 34px 40px; }
.admin-topbar { display: flex; justify-content: space-between; align-items: center; margin-bottom: 30px; }
table.data-table { width: 100%; border-collapse: collapse; background: var(--blanc); border-radius: 10px; overflow: hidden; box-shadow: var(--shadow); }
table.data-table th, table.data-table td { padding: 12px 16px; text-align: left; font-size: 0.9rem; border-bottom: 1px solid rgba(0,0,0,0.06); }
table.data-table th { background: var(--marine-950); color: var(--ambre-clair); font-weight: 600; }
.badge { padding: 4px 12px; border-radius: 999px; font-size: 0.78rem; font-weight: 600; color: #fff; display: inline-block; }
.login-wrap { min-height: 100vh; display: flex; align-items: center; justify-content: center; background: var(--marine-950); }
.login-card { background: var(--sable); padding: 44px; border-radius: 16px; width: 100%; max-width: 380px; }

/* --- Tableau tarifs réglementés --- */
table.tarifs-table { width: 100%; border-collapse: collapse; background: var(--blanc); border-radius: 10px; overflow: hidden; box-shadow: var(--shadow); margin: 20px 0; }
table.tarifs-table th, table.tarifs-table td { padding: 14px 18px; text-align: left; font-size: 0.92rem; border-bottom: 1px solid rgba(0,0,0,0.07); }
table.tarifs-table th { background: var(--marine-950); color: var(--ambre-clair); font-weight: 600; }
table.tarifs-table tr:last-child td { border-bottom: none; }

/* --- Barre d'action flottante (mobile) --- */
.sticky-cta {
  position: fixed; left: 0; right: 0; bottom: 0; z-index: 200;
  display: none; grid-template-columns: 1fr 1fr;
  box-shadow: 0 -8px 24px rgba(0,0,0,0.18);
}
.sticky-cta a {
  padding: 16px; text-align: center; font-weight: 700; font-size: 0.95rem;
}
.sticky-cta-call { background: var(--marine-950); color: var(--sable); }
.sticky-cta-book { background: var(--ambre); color: var(--marine-950); }
@media (max-width: 720px) {
  .sticky-cta { display: grid; }
  body { padding-bottom: 58px; }
}

/* --- Bandeau d'information cookies --- */
.cookie-banner {
  position: fixed; left: 0; right: 0; bottom: 0; z-index: 300;
  background: var(--marine-950); color: rgba(247,245,240,0.9);
  display: none; align-items: center; gap: 20px; flex-wrap: wrap;
  padding: 18px 24px; box-shadow: 0 -8px 24px rgba(0,0,0,0.25);
  border-top: 1px solid rgba(201,162,78,0.3);
}
.cookie-banner-text { margin: 0; flex: 1; min-width: 260px; font-size: 0.85rem; line-height: 1.5; }
.cookie-banner-text a { color: var(--ambre-clair); text-decoration: underline; white-space: nowrap; }
.cookie-banner .btn { flex-shrink: 0; }
@media (max-width: 720px) {
  .cookie-banner { bottom: 58px; padding: 14px 18px; }
}

/* --- Utilitaires --- */
.text-center { text-align: center; }
.mt-0 { margin-top: 0; }
.small { font-size: 0.85rem; color: rgba(22,21,19,0.6); }

/* --- Wizard de pré-réservation --- */
.wizard-tabs {
  display: flex; border-radius: 12px 12px 0 0; overflow: hidden;
  border: 1px solid rgba(0,0,0,0.1); border-bottom: none;
}
.wizard-tab {
  flex: 1; padding: 18px; background: var(--blanc); border: none; cursor: pointer;
  font-family: var(--font-body); font-weight: 700; font-size: 0.85rem; letter-spacing: 0.04em;
  text-transform: uppercase; color: rgba(22,21,19,0.5); border-bottom: 3px solid transparent;
}
.wizard-tab.active { color: var(--marine-950); border-bottom-color: var(--ambre); background: var(--sable-2); }

.wizard-stepper {
  display: flex; gap: 30px; padding: 20px 24px; background: var(--blanc);
  border: 1px solid rgba(0,0,0,0.1); border-top: none; flex-wrap: wrap;
}
.wizard-step-indicator {
  display: flex; align-items: center; gap: 10px; font-weight: 700; font-size: 0.9rem;
  color: rgba(22,21,19,0.4); cursor: default;
}
.wizard-step-indicator.active { color: var(--marine-950); }
.wizard-step-indicator.done { color: var(--teal); cursor: pointer; }
.wizard-step-num {
  width: 30px; height: 30px; border-radius: 50%; display: flex; align-items: center; justify-content: center;
  background: rgba(0,0,0,0.08); font-size: 0.85rem;
}
.wizard-step-indicator.active .wizard-step-num { background: var(--ambre); color: var(--marine-950); }
.wizard-step-indicator.done .wizard-step-num { background: var(--teal); color: var(--blanc); }

.wizard-panel { margin-top: 24px; }

.autocomplete-wrap { position: relative; }
.autocomplete-list {
  display: none; position: absolute; top: 100%; left: 0; right: 0; z-index: 50;
  background: var(--blanc); border: 1px solid rgba(0,0,0,0.15); border-radius: 8px;
  box-shadow: var(--shadow); max-height: 260px; overflow-y: auto; margin-top: 4px;
}
.autocomplete-item { padding: 12px 14px; font-size: 0.88rem; cursor: pointer; border-bottom: 1px solid rgba(0,0,0,0.06); }
.autocomplete-item:last-child { border-bottom: none; }
.autocomplete-item .ac-principal { display: block; font-weight: 600; }
.autocomplete-item .ac-secondaire { display: block; font-size: 0.8rem; opacity: 0.65; margin-top: 1px; }
.autocomplete-item.actif { background: var(--sable); color: var(--marine-950); }
.autocomplete-item:hover { background: var(--sable); color: var(--marine-950); }

.link-btn {
  background: none; border: none; color: var(--teal); font-weight: 600; font-size: 0.88rem;
  cursor: pointer; padding: 6px 0; text-decoration: underline;
}

#recap-card { position: sticky; top: 90px; }

/* --- Animations : apparition au scroll --- */
.reveal { opacity: 0; transform: translateY(26px); transition: opacity 0.65s cubic-bezier(.2,.7,.3,1), transform 0.65s cubic-bezier(.2,.7,.3,1); }
.reveal-visible { opacity: 1; transform: translateY(0); }
@media (prefers-reduced-motion: reduce) {
  .reveal { opacity: 1; transform: none; transition: none; }
  .route-line, .pulse-dot, .hero-eyebrow::before, .route-dot, .route-halo, .hero { animation: none !important; }
}

/* --- Cartes : effet de survol dynamique --- */
.card, .chip, .form-card { transition: transform 0.25s ease, box-shadow 0.25s ease, border-color 0.25s ease; }
.card:hover { transform: translateY(-6px); box-shadow: 0 18px 40px rgba(0,0,0,0.16); border-color: rgba(201,162,78,0.35); }
.chip:hover { transform: translateY(-2px); }

/* --- En-tête : ombre progressive au scroll --- */
.site-header { transition: box-shadow 0.3s ease, background 0.3s ease; }
.site-header.scrolled { box-shadow: 0 6px 20px rgba(0,0,0,0.08); }

/* --- Points de la carte-signature : pulsation douce --- */
.route-dot { animation: pulse-dot 2.6s ease-in-out infinite; transform-origin: center; transform-box: fill-box; }
.route-dot.active { animation-delay: 0s; }
.route-dot.d2 { animation-delay: 0.4s; }
.route-dot.d3 { animation-delay: 0.8s; }
.route-dot.d4 { animation-delay: 1.2s; }
.route-dot.d5 { animation-delay: 1.6s; }
@keyframes pulse-dot {
  0%, 100% { r: 5; opacity: 1; }
  50% { r: 7; opacity: 0.7; }
}

/* --- Montant de prix : petit effet d'apparition --- */
#prix-montant { transition: transform 0.3s ease; }
#prix-montant.bump { animation: bump-price 0.4s ease; }
@keyframes bump-price { 0% { transform: scale(0.85); opacity: 0.4; } 60% { transform: scale(1.06); } 100% { transform: scale(1); opacity: 1; } }

/* --- Bouton principal : lueur douce --- */
.btn-ambre { position: relative; overflow: hidden; }
.btn-ambre::after {
  content: ''; position: absolute; top: 0; left: -60%; width: 40%; height: 100%;
  background: linear-gradient(120deg, transparent, rgba(255,255,255,0.35), transparent);
  transform: skewX(-20deg);
}
.btn-ambre:hover::after { animation: shine-sweep 0.9s ease; }
@keyframes shine-sweep { from { left: -60%; } to { left: 130%; } }

/* --- FAQ --- */
.faq-item { background: var(--blanc); border-radius: var(--radius); border: 1px solid rgba(0,0,0,0.08); margin-bottom: 12px; overflow: hidden; }
.faq-question {
  width: 100%; text-align: left; padding: 18px 22px; background: none; border: none; cursor: pointer;
  font-family: var(--font-body); font-weight: 600; font-size: 1rem; color: var(--marine-950);
  display: flex; justify-content: space-between; align-items: center; gap: 14px;
}
.faq-question .faq-icon { font-family: var(--font-mono); color: var(--ambre); transition: transform 0.25s ease; flex-shrink: 0; }
.faq-item.open .faq-icon { transform: rotate(45deg); }
.faq-answer { max-height: 0; overflow: hidden; transition: max-height 0.35s ease, padding 0.35s ease; padding: 0 22px; }
.faq-item.open .faq-answer { max-height: 400px; padding: 0 22px 20px; }
.faq-answer p { margin: 0; color: rgba(22,21,19,0.75); font-size: 0.95rem; }

/* --- Bandeau photo (accueil) --- */
.night-drive {
  position: relative;
  height: clamp(280px, 40vw, 480px);
  overflow: hidden;
  background: #060606;
}
.night-drive-photo {
  position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: 50% 55%;
  animation: ken-burns 22s ease-in-out infinite alternate;
}
@keyframes ken-burns {
  from { transform: scale(1) translate(0, 0); }
  to { transform: scale(1.09) translate(-1%, -1%); }
}
.night-drive-fade {
  position: absolute; inset: 0;
  background: linear-gradient(to bottom, rgba(6,6,6,0.55) 0%, rgba(6,6,6,0.1) 35%, rgba(6,6,6,0.15) 65%, rgba(6,6,6,0.75) 100%);
}

/* Traînées de lumière discrètes en surimpression */
.night-drive-streak {
  position: absolute; bottom: -10%; width: 2px; height: 34%;
  background: linear-gradient(to top, rgba(232,163,78,0.85), rgba(232,163,78,0));
  filter: blur(0.5px); border-radius: 2px;
  animation-name: streak-rush; animation-timing-function: linear; animation-iteration-count: infinite;
}
@keyframes streak-rush {
  0% { transform: translateY(0) scaleY(0.4); opacity: 0; }
  15% { opacity: 0.9; }
  100% { transform: translateY(-220%) scaleY(1.3); opacity: 0; }
}
.night-drive-streak.s1 { left: 12%; animation-duration: 2.2s; animation-delay: 0s; }
.night-drive-streak.s3 { left: 50%; animation-duration: 1.8s; animation-delay: 0.7s; opacity: 0.7; }
.night-drive-streak.s5 { left: 86%; animation-duration: 2s; animation-delay: 1.2s; }

/* Badge "taxi officiel" (coin de l'image) */
.night-drive-badge {
  position: absolute; top: 22px; left: 22px; z-index: 5;
  background: rgba(6,6,6,0.55); backdrop-filter: blur(3px);
  border: 1px solid rgba(232,163,78,0.4); border-radius: 10px;
  padding: 10px 16px; display: flex; flex-direction: column; gap: 2px;
  font-family: var(--font-mono); font-size: 0.72rem; color: var(--ambre-clair);
  text-transform: uppercase; letter-spacing: 0.06em;
}
.night-drive-badge strong {
  font-family: var(--font-display); font-size: 1.05rem; color: var(--blanc);
  text-transform: none; letter-spacing: normal; font-weight: 500;
}

.night-drive-overlay {
  position: absolute; inset: 0; display: flex; flex-direction: column; align-items: center; justify-content: flex-end;
  text-align: center; z-index: 5; padding: 30px 20px;
}
.night-drive-overlay .hero-eyebrow { color: var(--ambre-clair); margin-bottom: 8px; font-weight: 600; text-shadow: 0 1px 10px rgba(0,0,0,0.9), 0 0 3px rgba(0,0,0,0.8); }
.night-drive-overlay h2 { color: var(--blanc); margin: 0; font-size: clamp(1.3rem, 3vw, 2rem); text-shadow: 0 2px 12px rgba(0,0,0,0.5); }

/* Sur mobile, le bandeau était trop court pour le badge + le texte + le bouton :
   on lui donne une hauteur fixe suffisante, et on resserre un peu le contenu. */
@media (max-width: 640px) {
  .night-drive { height: 520px; }
  .night-drive-photo { object-position: 27% 55%; }
  .night-drive-badge {
    position: static; margin: 16px auto 0; max-width: 280px;
    padding: 8px 14px; font-size: 0.68rem;
  }
  .night-drive-badge strong { font-size: 0.95rem; }
  .night-drive-overlay { padding: 16px 20px 28px; justify-content: flex-end; }
  .night-drive-overlay h2 { font-size: 1.2rem; }
}

@media (prefers-reduced-motion: reduce) {
  .night-drive-photo, .night-drive-streak {
    animation: none !important;
  }
}

/* --- Avis Google : badge + slider --- */
.avis-g { width: 22px; height: 22px; flex-shrink: 0; }
.avis-section .section-head { margin-left: auto; margin-right: auto; text-align: center; }
.avis-badge {
  display: inline-flex; align-items: center; gap: 14px; margin-top: 18px;
  background: var(--blanc); border-radius: 14px; padding: 12px 22px;
  box-shadow: var(--shadow); border: 1px solid rgba(0,0,0,0.06); color: var(--encre); text-align: left;
}
.avis-badge .avis-g { width: 38px; height: 38px; }
.avis-badge-note strong { font-size: 1.4rem; margin-right: 6px; }
.avis-badge small { color: rgba(22,21,19,0.7); }
.avis-stars { color: #F4B400; letter-spacing: 2px; font-size: 1.05rem; white-space: nowrap; }
.avis-stars-vides { color: rgba(0,0,0,0.15); }

.avis-slider { position: relative; padding: 0 58px; margin-top: 10px; }
.avis-track {
  display: flex; gap: 20px; overflow-x: auto; scroll-snap-type: x mandatory;
  scrollbar-width: none; -webkit-overflow-scrolling: touch; padding: 14px 16px 36px; margin: 0 -12px; scroll-padding: 0 16px;
  outline-offset: 4px;
}
.avis-track::-webkit-scrollbar { display: none; }
.avis-card {
  flex: 0 0 calc((100% - 40px) / 3); scroll-snap-align: start;
  background: var(--blanc); color: var(--encre); border-radius: var(--radius);
  padding: 24px; box-shadow: 0 6px 18px rgba(0,0,0,0.08); border: 1px solid rgba(0,0,0,0.06);
  display: flex; flex-direction: column; gap: 12px;
}
.avis-card-head { display: flex; align-items: center; gap: 12px; }
.avis-card-head > div { flex: 1; min-width: 0; display: flex; flex-direction: column; }
.avis-avatar {
  width: 42px; height: 42px; border-radius: 50%; flex-shrink: 0;
  background: var(--marine-950); color: var(--ambre-clair);
  display: flex; align-items: center; justify-content: center; font-weight: 700; font-size: 1.1rem;
}
.avis-auteur { font-size: 0.95rem; color: var(--marine-950); }
.avis-date { font-size: 0.78rem; color: rgba(22,21,19,0.6); }
.avis-texte {
  margin: 0; font-size: 0.93rem; line-height: 1.6; color: rgba(22,21,19,0.85);
  display: -webkit-box; -webkit-line-clamp: 7; -webkit-box-orient: vertical; overflow: hidden;
}
.avis-card.ouvert .avis-texte { display: block; -webkit-line-clamp: unset; overflow: visible; }
.avis-plus {
  align-self: flex-start; background: none; border: none; padding: 0; cursor: pointer;
  color: var(--teal); font: inherit; font-size: 0.85rem; font-weight: 600; text-decoration: underline;
}
.avis-nav {
  position: absolute; top: 50%; transform: translateY(-60%); z-index: 2;
  width: 44px; height: 44px; border-radius: 50%; border: none; cursor: pointer;
  background: var(--marine-950); color: var(--ambre-clair); font-size: 1.7rem; line-height: 1;
  box-shadow: var(--shadow); transition: background 0.2s ease, transform 0.2s ease;
}
.avis-nav:hover { background: var(--ambre); color: var(--marine-950); }
.avis-prev { left: 0; }
.avis-next { right: 0; }
.avis-statique .avis-nav { display: none; }
.avis-statique { padding: 0; }
.avis-dots { display: flex; justify-content: center; gap: 8px; margin-top: 4px; }
.avis-dot {
  width: 10px; height: 10px; border-radius: 50%; border: none; padding: 0; cursor: pointer;
  background: rgba(0,0,0,0.2); transition: background 0.2s ease, transform 0.2s ease;
}
.avis-dot.actif { background: var(--ambre); transform: scale(1.3); }

@media (max-width: 960px) {
  .avis-card { flex-basis: calc((100% - 20px) / 2); }
  .avis-track { gap: 20px; }
}
@media (max-width: 640px) {
  .avis-slider { padding: 0; }
  .avis-track { margin: 0 -16px; padding-left: 20px; padding-right: 20px; scroll-padding: 0 20px; }
  .avis-nav { display: none; }
  .avis-card { flex-basis: 86%; }
  .avis-track { gap: 14px; }
}

/* --- Bandeau d'accueil immersif : vidéo en boucle + verre dépoli --- */
.hero-video {
  position: relative; width: 100%; overflow: hidden; isolation: isolate; background: #0A0908; color: #fff;
  height: calc(100vh - 150px); height: calc(100svh - 150px); min-height: 560px; max-height: 980px;
}
.hv-poster, .hv-media {
  position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: 50% 60%;
}
.hv-media { opacity: 0; transition: opacity 0.9s ease; }
.hv-playing .hv-media { opacity: 1; }
.hv-shade {
  position: absolute; inset: 0; pointer-events: none;
  background: linear-gradient(to top, rgba(0,0,0,0.5) 0%, rgba(0,0,0,0) 48%), linear-gradient(to bottom, rgba(0,0,0,0.25) 0%, rgba(0,0,0,0) 22%);
}
.hv-content {
  position: absolute; inset: 0; z-index: 2; display: flex; flex-direction: column; justify-content: space-between;
  padding: 28px 48px 52px;
}
.glass {
  background: rgba(0,0,0,0.28); -webkit-backdrop-filter: blur(14px); backdrop-filter: blur(14px);
  border: 1px solid rgba(255,255,255,0.14); color: #fff; border-radius: 16px;
}
.hv-top { display: flex; justify-content: space-between; align-items: flex-start; gap: 12px; }
.hv-badge { padding: 12px 20px; display: flex; flex-direction: column; gap: 2px; }
.hv-badge span { font-family: var(--font-mono); font-size: 0.68rem; letter-spacing: 0.14em; text-transform: uppercase; color: var(--ambre-clair); }
.hv-badge strong { font-size: 1.05rem; font-weight: 600; }
.hv-badge small { font-family: var(--font-mono); font-size: 0.72rem; color: rgba(255,255,255,0.75); }
.hv-pause { width: 44px; height: 44px; border-radius: 50%; cursor: pointer; font-size: 0.7rem; letter-spacing: -2px; padding: 0; line-height: 1; }
.hv-pause:hover { background: rgba(0,0,0,0.45); }
.hv-bottom { display: flex; align-items: flex-end; justify-content: space-between; gap: 30px; }
.hv-left { max-width: 900px; }
.hv-title {
  font-weight: 300; color: #fff; line-height: 1.04; letter-spacing: -0.02em;
  font-size: clamp(2rem, 4.6vw, 4.6rem); text-shadow: 0 2px 30px rgba(0,0,0,0.35);
}
.hv-t1 { display: block; animation: hv-titre 1.4s cubic-bezier(.2,.7,.2,1) 0.2s both; }
.hv-t2 {
  display: block; margin-top: 16px; font-size: clamp(1rem, 1.7vw, 1.6rem); font-weight: 500;
  letter-spacing: 0.02em; color: var(--ambre-clair); animation: hv-titre 1.4s cubic-bezier(.2,.7,.2,1) 0.5s both;
}
@keyframes hv-titre {
  from { opacity: 0; filter: blur(12px); transform: translateY(26px); }
  to { opacity: 1; filter: blur(0); transform: none; }
}
.hv-in { opacity: 0; transform: translateY(22px); animation: hv-entree 1s cubic-bezier(.2,.7,.2,1) var(--d, 0s) forwards; }
@keyframes hv-entree { to { opacity: 1; transform: none; } }
.hv-sub { color: rgba(255,255,255,0.8); font-size: clamp(0.85rem, 1.2vw, 1.1rem); max-width: 520px; line-height: 1.6; margin: 16px 0 22px; }
.hv-form { display: flex; max-width: 560px; padding: 6px; border-radius: 999px; transition: border-color 0.2s ease; }
.hv-form:focus-within { border-color: var(--ambre); }
.hv-form input {
  flex: 1; min-width: 0; background: transparent; border: 0; outline: 0; box-shadow: none; color: #fff;
  font: inherit; font-size: 0.95rem; padding: 12px 20px; border-radius: 999px;
}
.hv-form input::placeholder { color: rgba(255,255,255,0.65); }
.hv-form button {
  flex-shrink: 0; border: 0; cursor: pointer; border-radius: 999px; padding: 12px 26px;
  background: var(--ambre); color: var(--marine-950); font: inherit; font-weight: 700; font-size: 0.9rem;
  transition: background 0.2s ease;
}
.hv-form button:hover { background: var(--ambre-clair); }
.hv-pills { display: flex; flex-direction: column; align-items: flex-end; gap: 10px; align-self: flex-end; }
.hv-pill { padding: 10px 18px; border-radius: 999px; font-size: 0.88rem; font-weight: 500; white-space: nowrap; }

@media (max-width: 900px) {
  .hero-video { height: calc(100vh - 122px); height: calc(100svh - 122px); min-height: 520px; }
  .hv-content { padding: 16px 16px 20px; }
  .hv-shade { background: linear-gradient(to top, rgba(0,0,0,0.68) 0%, rgba(0,0,0,0.3) 45%, rgba(0,0,0,0) 72%), linear-gradient(to bottom, rgba(0,0,0,0.25) 0%, rgba(0,0,0,0) 22%); }
  .hv-title { text-shadow: 0 2px 22px rgba(0,0,0,0.6); }
  .hv-bottom { flex-direction: column; align-items: stretch; gap: 14px; }
  .hv-pills { flex-direction: row; flex-wrap: wrap; align-items: flex-start; gap: 8px; }
  .hv-pill { font-size: 0.74rem; padding: 7px 13px; }
  .hv-title { font-size: clamp(1.75rem, 8.2vw, 3rem); }
  .hv-sub { font-size: 0.82rem; margin: 12px 0 14px; max-width: 100%; }
  .hv-form { max-width: 100%; }
  .hv-form input { font-size: 0.85rem; padding: 10px 14px; }
  .hv-form button { padding: 10px 16px; font-size: 0.8rem; }
  .hv-badge { padding: 9px 14px; }
  .hv-badge strong { font-size: 0.9rem; }
}
/* La barre « Appeler / Pré-réserver » fixée en bas des téléphones ne doit rien masquer */
@media (max-width: 720px) {
  .hv-content { padding-bottom: 76px; }
}
@media (prefers-reduced-motion: reduce) {
  .hv-in, .hv-t1, .hv-t2 { animation: none !important; opacity: 1; transform: none; filter: none; }
}
.hero h2 { color: var(--blanc); font-size: clamp(1.9rem, 3.6vw, 2.8rem); }

/* --- Bandeau « la voiture qui roule » (animation au défilement) --- */
.roule { position: relative; width: 100%; background: #0A0908; color: #fff; }
.roule-stage {
  position: relative; overflow: hidden; isolation: isolate; width: 100%;
  height: calc(100vh - 150px); height: calc(100svh - 150px); min-height: 520px; max-height: 980px;
  background: linear-gradient(to bottom, rgb(166,136,100) 0%, rgb(166,136,100) 22%, #17191b 62%, #0A0908 100%);
}
/* Mise en page de repli (sans JavaScript / animations réduites) : la scène couvre le bandeau */
.roule-scene {
  position: absolute; left: 50%; top: 50%; width: max(100%, calc((100svh - 150px) * 1.5)); aspect-ratio: 3 / 2;
  transform: translate(-48%, -52%);
}
.roule-actif .roule-scene { transform: none; }
.roule-plate { position: absolute; inset: 0; width: 100%; height: 100%; display: block; transform-origin: 40% 62%; will-change: transform; }
.roule-carwrap {
  position: absolute; left: 12.76%; top: 27.44%; width: 71.35%; transform-origin: 40% 82%; will-change: transform, filter;
}
.roule-car-intro { display: block; }
.roule-car { display: block; width: 100%; height: auto; }
/* Version floutée (flou de mouvement pré-calculé) : fondu enchaîné au lieu d'un filtre coûteux à chaque image */
.roule-car-flou { position: absolute; top: 0; left: -10.04%; width: 120.07%; height: auto; opacity: 0; pointer-events: none; will-change: opacity; }
.roule-car-intro { will-change: opacity; }
.roule-shadow {
  position: absolute; left: 6%; right: 6%; bottom: -3%; height: 14%; border-radius: 50%;
  background: radial-gradient(ellipse at center, rgba(0,0,0,0.65) 0%, rgba(0,0,0,0) 70%); filter: blur(6px);
}
.roule-streaks { position: absolute; inset: 0; overflow: hidden; pointer-events: none; opacity: 0; }
.roule-streaks i {
  position: absolute; left: 0; width: 700px; height: 2px; border-radius: 2px; transform-origin: 0 50%; will-change: transform, opacity;
  background: linear-gradient(90deg, rgba(255,226,160,0), rgba(255,226,160,0.8), rgba(255,226,160,0));
}
.roule-letterbox .roule-scene {
  -webkit-mask-image: linear-gradient(to bottom, transparent 0, #000 9%, #000 91%, transparent 100%);
  mask-image: linear-gradient(to bottom, transparent 0, #000 9%, #000 91%, transparent 100%);
}
.roule-shade {
  position: absolute; inset: 0; pointer-events: none;
  background: linear-gradient(to top, rgba(0,0,0,0.5) 0%, rgba(0,0,0,0) 48%), linear-gradient(to bottom, rgba(0,0,0,0.22) 0%, rgba(0,0,0,0) 22%);
}
.roule-fade { position: absolute; inset: 0; background: #0A0908; opacity: 0; pointer-events: none; z-index: 3; }
.roule-stage .hv-content { z-index: 4; }

/* Entrée de la voiture au chargement (la voiture arrive de la droite) */
@keyframes roule-arrivee {
  from { opacity: 0; transform: translateX(16%) scale(0.88); filter: blur(10px); }
  60% { opacity: 1; }
  to { opacity: 1; transform: none; filter: blur(0); }
}
.roule-car-intro { animation: roule-arrivee 1.7s cubic-bezier(.16,.8,.24,1) 0.1s both; transform-origin: 40% 82%; }

/* Écrans 2 et 3 : visibles seulement quand l'animation au défilement est active */
.roule-panel, .roule-hint { display: none; }
.roule-actif .roule-panel { display: flex; }
.roule-actif .roule-hint { display: flex; }
.roule-panel {
  position: absolute; inset: 0; z-index: 4; flex-direction: column; justify-content: center; align-items: flex-start;
  padding: 0 48px; opacity: 0; pointer-events: none; text-shadow: 0 2px 26px rgba(0,0,0,0.55);
}
.roule-kicker { font-family: var(--font-mono); text-transform: uppercase; letter-spacing: 0.16em; font-size: 0.8rem; color: var(--ambre-clair); margin-bottom: 14px; }
.roule-titre { font-weight: 300; color: #fff; line-height: 1.05; letter-spacing: -0.02em; font-size: clamp(2.2rem, 5.6vw, 5.4rem); max-width: 14ch; margin: 0; }
.roule-texte { color: rgba(255,255,255,0.85); font-size: clamp(0.95rem, 1.4vw, 1.2rem); max-width: 46ch; line-height: 1.6; margin-top: 18px; }
.roule-boutons { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 26px; }
.roule-panel-fin .roule-boutons { pointer-events: auto; }
.roule-hint {
  position: absolute; left: 50%; bottom: 22px; transform: translateX(-50%); z-index: 4; align-items: center; gap: 10px;
  padding: 9px 18px; border-radius: 999px; font-size: 0.78rem; letter-spacing: 0.08em; text-transform: uppercase;
  transition: opacity 0.4s ease;
}
.roule-hint i { width: 8px; height: 8px; border-right: 2px solid #fff; border-bottom: 2px solid #fff; transform: rotate(45deg); animation: roule-chevron 1.4s ease-in-out infinite; }
@keyframes roule-chevron { 0%,100% { transform: translateY(-2px) rotate(45deg); opacity: .5; } 50% { transform: translateY(3px) rotate(45deg); opacity: 1; } }

@media (max-width: 900px) {
  .roule-stage { height: calc(100vh - 122px); height: calc(100svh - 122px); min-height: 500px; }
  .roule-scene { width: max(155%, calc((100svh - 122px) * 1.5)); transform: translate(-48%, -60%); }
  .roule-panel { padding: 0 20px; justify-content: flex-start; padding-top: 9%; }
  .roule-titre { font-size: clamp(2rem, 9.5vw, 3.2rem); }
  .roule-hint { bottom: 84px; }
}
@media (max-width: 720px) {
  .roule-stage .hv-content { padding-bottom: 76px; }
  .roule-hint { display: none !important; }
}
/* Sur ordinateur, l'écran 2 se place à droite, là où la voiture ne passe pas */
@media (min-width: 901px) {
  [data-roule-b] { align-items: flex-end; text-align: right; padding-right: 56px; }
  [data-roule-b] .roule-titre { max-width: 12ch; }
}
@media (prefers-reduced-motion: reduce) {
  .roule-car-intro { animation: none; }
  .roule-hint i { animation: none; }
}

/* Mode de secours : si une image de l'animation ne se charge pas, on affiche simplement la photo du bandeau */
.roule-secours .roule-scene { left: 0; top: 0; width: 100%; height: 100%; aspect-ratio: auto; transform: none; }
.roule-secours .roule-plate { object-fit: cover; object-position: 50% 60%; transform: none; }
.roule-secours .roule-carwrap, .roule-secours .roule-streaks, .roule-secours .roule-fade,
.roule-secours .roule-panel, .roule-secours .roule-hint { display: none !important; }

/* --- Admin sur téléphone : menu en barre horizontale défilante, contenu pleine largeur --- */
@media (max-width: 860px) {
  .admin-shell { display: block; }
  .admin-sidebar { position: sticky; top: 0; z-index: 60; display: flex; align-items: center; gap: 10px; padding: 8px 10px; }
  .admin-sidebar .logo { margin: 0 !important; flex-shrink: 0; }
  .admin-sidebar .logo-badge-text { display: none; }
  .admin-sidebar .logo img { width: 36px; height: 36px; }
  .admin-nav { display: flex; gap: 4px; overflow-x: auto; flex: 1; -webkit-overflow-scrolling: touch; scrollbar-width: none; }
  .admin-nav::-webkit-scrollbar { display: none; }
  .admin-nav a { white-space: nowrap; padding: 9px 12px; font-size: 0.82rem; flex-shrink: 0; margin: 0; }
  .admin-main { padding: 18px 14px 40px; }
  .admin-main .form-row { grid-template-columns: 1fr; }
  .admin-main table.data-table { display: block; overflow-x: auto; -webkit-overflow-scrolling: touch; }
  .admin-main h1 { font-size: 1.9rem; }
}

/* --- Bandeau défilant des partenaires (bas de l'accueil) --- */
.partenaires { background: var(--blanc); padding: 44px 0 50px; border-top: 1px solid rgba(0,0,0,0.06); overflow: hidden; }
.partenaires-titre {
  text-align: center; margin: 0 0 26px; font-family: var(--font-mono); font-size: 0.78rem;
  letter-spacing: 0.18em; text-transform: uppercase; color: var(--ambre);
}
.partenaires-fenetre {
  position: relative; overflow: hidden;
  -webkit-mask-image: linear-gradient(to right, transparent 0, #000 8%, #000 92%, transparent 100%);
  mask-image: linear-gradient(to right, transparent 0, #000 8%, #000 92%, transparent 100%);
}
.partenaires-piste {
  display: flex; align-items: center; width: max-content; margin: 0; padding: 0; list-style: none;
  animation: partenaires-defilement var(--duree, 60s) linear infinite;
}
.partenaires-fenetre:hover .partenaires-piste, .partenaires-fenetre:focus-within .partenaires-piste { animation-play-state: paused; }
@keyframes partenaires-defilement { to { transform: translateX(-50%); } }
.partenaires-piste .partenaire::before { content: none; display: none; }
.partenaire { flex: 0 0 auto; display: flex; align-items: center; justify-content: center; height: 72px; padding: 0 34px; }
.partenaire a { display: flex; align-items: center; height: 100%; text-decoration: none; }
.partenaire img {
  height: 52px; width: auto; max-width: 170px; object-fit: contain;
  filter: grayscale(1); opacity: 0.65; transition: filter 0.25s ease, opacity 0.25s ease;
}
.partenaire:hover img, .partenaire a:focus-visible img { filter: none; opacity: 1; }
/* Sans logo : le nom en lettres de logo */
.partenaire-nom {
  font-weight: 800; font-size: 1.25rem; letter-spacing: 0.06em; text-transform: uppercase; white-space: nowrap;
  color: rgba(10,9,8,0.45); transition: color 0.25s ease;
}
.partenaire:hover .partenaire-nom, .partenaire a:focus-visible .partenaire-nom { color: var(--marine-950); }
@media (max-width: 700px) {
  .partenaires { padding: 34px 0 38px; }
  .partenaire { padding: 0 22px; height: 60px; }
  .partenaire img { height: 42px; max-width: 130px; }
  .partenaire-nom { font-size: 1.05rem; }
}
/* « Réduire les animations » : plus de défilement, les partenaires sont affichés côte à côte (une seule fois) */
@media (prefers-reduced-motion: reduce) {
  .partenaires-fenetre { -webkit-mask-image: none; mask-image: none; }
  .partenaires-piste { animation: none; width: auto; flex-wrap: wrap; justify-content: center; max-width: 1100px; margin: 0 auto; }
  .partenaires .partenaire[aria-hidden="true"] { display: none; }
}

/* --- Avis Google (widget Elfsight chargé après accord) --- */
.avis-elfsight { max-width: 1100px; margin: 0 auto; }
.avis-consent {
  max-width: 640px; margin: 0 auto; background: var(--blanc); border-radius: 14px; padding: 28px 26px;
  text-align: center; box-shadow: 0 10px 30px rgba(0,0,0,0.08);
}
.avis-consent p { margin: 0 0 16px; }
.avis-elfsight.charge .avis-consent { display: none; }

/* --- Encart tarifs : attente et péages non compris, remise aller-retour --- */
.encart-tarif {
  background: #fff8e6; border: 1px solid var(--ambre); border-left: 6px solid var(--ambre);
  border-radius: 12px; padding: 16px 20px; margin: 22px 0; text-align: left; color: var(--marine-950);
}
.encart-tarif p { margin: 0 0 8px; }
.encart-tarif p:last-child { margin-bottom: 0; }
.encart-tarif--compact { padding: 10px 14px; margin: 12px 0; font-size: 0.88rem; }
.encart-tarif--compact p { margin-bottom: 4px; }
