/* ============================================================
   style.css — Auto-école · thème « Asphalte »
   Fond asphalte, accent orange (logo), marquages au sol.
   Compatibilité vieux téléphones : pas de inset:, repli avant
   clamp(), pas de gap sur flex pour les éléments essentiels.
   ============================================================ */

/* ── Variables CSS ────────────────────────────────────────── */
:root {
  --asphalte:    #16191d;
  --asphalte-2:  #1d2126;
  --asphalte-3:  #252a31;
  --bord:        #333a43;
  --gris:        #a3a9b1;
  --gris-clair:  #c9ced4;
  --blanc:       #f4f4f2;
  --orange:      #f26b21;
  --orange-clair:#ff8a47;
  --orange-sombre:#c4521a;
  --rouge:       #e5484d;
  --vert:        #3ecf8e;

  --font-titre:  'Barlow Condensed', 'Arial Narrow', Arial, sans-serif;
  --font-texte:  'Inter', Arial, Helvetica, sans-serif;

  --rayon:       6px;
  --transition:  cubic-bezier(0.25, 0.46, 0.45, 0.94);
  --nav-h:       76px;
}

/* ── Reset & base ─────────────────────────────────────────── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

html { scroll-behavior: smooth; overflow-x: hidden; -webkit-text-size-adjust: 100%; }

body {
  background-color: var(--asphalte);
  color: var(--blanc);
  font-family: var(--font-texte);
  font-size: 16px;
  line-height: 1.65;
  overflow-x: hidden;
}

/* Grain léger façon bitume */
body::before {
  content: '';
  position: fixed;
  top: 0; right: 0; bottom: 0; left: 0;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 256 256' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)' opacity='0.05'/%3E%3C/svg%3E");
  pointer-events: none;
  z-index: 1;
  opacity: 0.6;
}

img, svg { max-width: 100%; display: block; }
a { color: var(--orange); text-decoration: none; }
a:hover { color: var(--orange-clair); }
strong { font-weight: 600; }

h1, h2, h3 {
  font-family: var(--font-titre);
  font-weight: 600;
  line-height: 1.05;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

::selection { background: var(--orange); color: var(--asphalte); }

:focus-visible { outline: 2px solid var(--orange); outline-offset: 3px; }

.sr-only {
  position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0, 0, 0, 0); white-space: nowrap; border: 0;
}

.conteneur { width: 100%; max-width: 1180px; margin: 0 auto; padding: 0 24px; position: relative; z-index: 2; }

/* ── Boutons ──────────────────────────────────────────────── */
.btn {
  display: inline-block;
  font-family: var(--font-titre);
  font-size: 18px;
  font-weight: 600;
  letter-spacing: 1px;
  text-transform: uppercase;
  line-height: 1;
  padding: 15px 26px;
  border-radius: var(--rayon);
  border: 2px solid transparent;
  cursor: pointer;
  text-align: center;
  transition: background 0.25s var(--transition), color 0.25s, border-color 0.25s, transform 0.25s var(--transition);
}
.btn i { margin-right: 8px; }
.btn:hover { transform: translateY(-2px); }

.btn-orange { background: var(--orange); color: var(--asphalte); }
.btn-orange:hover { background: var(--orange-clair); color: var(--asphalte); }

.btn-contour { border-color: var(--blanc); color: var(--blanc); background: transparent; }
.btn-contour:hover { border-color: var(--orange); color: var(--orange); }

.btn-sombre { background: var(--asphalte); color: var(--blanc); }
.btn-sombre:hover { background: #000; color: var(--orange); }

.boutons .btn { margin: 0 12px 12px 0; }

/* ── Marquages au sol ─────────────────────────────────────── */
.marquage {
  height: 4px;
  width: 100%;
  background: repeating-linear-gradient(90deg, var(--blanc) 0, var(--blanc) 26px, transparent 26px, transparent 44px);
  opacity: 0.85;
}
.marquage.court { width: 132px; }
.marquage.orange { background: repeating-linear-gradient(90deg, var(--orange) 0, var(--orange) 26px, transparent 26px, transparent 44px); }


/* ── Navigation ───────────────────────────────────────────── */
#navbar {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 50;
  height: var(--nav-h);
  transition: background 0.3s, border-color 0.3s;
  border-bottom: 1px solid transparent;
}
#navbar.scrolled, #navbar.plein {
  background: rgba(22, 25, 29, 0.96);
  border-bottom-color: var(--bord);
}
#navbar .conteneur {
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.nav-logo { display: flex; align-items: center; color: var(--blanc); }
.nav-logo:hover { color: var(--blanc); }
.nav-logo-icone { display: block; width: 44px; height: 44px; margin-right: 12px; flex-shrink: 0; }
.nav-logo-texte { display: flex; flex-direction: column; line-height: 1; }
.nav-logo-petit {
  font-family: var(--font-titre); font-size: 12px; font-weight: 600;
  letter-spacing: 3px; text-transform: uppercase; color: var(--orange);
  margin-bottom: 3px;
}
.nav-logo-nom {
  font-family: var(--font-titre); font-size: 24px; font-weight: 600;
  text-transform: uppercase; letter-spacing: 0.5px;
}

.nav-links { display: flex; align-items: center; list-style: none; }
.nav-links li { margin-left: 30px; }
.nav-links a {
  font-family: var(--font-titre);
  font-size: 18px;
  font-weight: 500;
  letter-spacing: 1px;
  text-transform: uppercase;
  color: var(--gris-clair);
  position: relative;
  padding: 6px 0;
}
.nav-links a::after {
  content: '';
  position: absolute;
  left: 0; bottom: 0;
  width: 0; height: 3px;
  background: repeating-linear-gradient(90deg, var(--orange) 0, var(--orange) 8px, transparent 8px, transparent 13px);
  transition: width 0.3s var(--transition);
}
.nav-links a:hover, .nav-links a.actif { color: var(--blanc); }
.nav-links a:hover::after, .nav-links a.actif::after { width: 100%; }
.nav-links .nav-tel {
  padding: 10px 16px;
  border-radius: var(--rayon);
  background: var(--orange);
  color: var(--asphalte);
  font-weight: 600;
}
.nav-links .nav-tel { white-space: nowrap; }
.nav-links .nav-tel::after { display: none; }
.nav-links .nav-tel:hover { background: var(--orange-clair); color: var(--asphalte); }
.nav-links .nav-tel i { margin-right: 6px; }

.burger-btn {
  display: none;
  width: 46px; height: 46px;
  background: transparent;
  border: 1px solid var(--bord);
  border-radius: var(--rayon);
  cursor: pointer;
  position: relative;
}
.burger-btn span {
  position: absolute;
  left: 11px; right: 11px;
  height: 2px;
  background: var(--blanc);
  transition: transform 0.3s, opacity 0.3s;
}
.burger-btn span:nth-child(1) { top: 15px; }
.burger-btn span:nth-child(2) { top: 22px; }
.burger-btn span:nth-child(3) { top: 29px; }

/* Menu mobile plein écran */
#mobile-menu {
  position: fixed;
  top: 0; right: 0; bottom: 0; left: 0;
  z-index: 100;
  background: var(--asphalte);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.3s, visibility 0.3s;
}
#mobile-menu.open { opacity: 1; visibility: visible; }
#mobile-menu a {
  font-family: var(--font-titre);
  font-size: 34px;
  font-weight: 600;
  text-transform: uppercase;
  color: var(--blanc);
  margin: 10px 0;
}
#mobile-menu a:hover, #mobile-menu a.actif { color: var(--orange); }
#mobile-menu .mobile-tel {
  margin-top: 26px;
  font-size: 22px;
  padding: 14px 24px;
  border-radius: var(--rayon);
  background: var(--orange);
  color: var(--asphalte);
}
#mobile-menu .mobile-tel i { margin-right: 8px; }
#mobile-menu .mobile-tel-2 { margin-top: 4px; }
#mobile-close {
  position: absolute;
  top: 18px; right: 20px;
  width: 46px; height: 46px;
  font-size: 24px;
  color: var(--blanc);
  background: transparent;
  border: 1px solid var(--bord);
  border-radius: var(--rayon);
  cursor: pointer;
}

/* ── Hero ─────────────────────────────────────────────────── */
.hero {
  position: relative;
  min-height: 640px;
  min-height: 92vh;
  display: flex;
  align-items: center;
  padding: calc(var(--nav-h) + 40px) 0 220px;
  overflow: hidden;
  background: radial-gradient(ellipse at 50% 0%, #232830 0%, var(--asphalte) 70%);
}
.hero-route {
  position: absolute;
  left: 0; right: 0; bottom: 0;
  height: 46%;
  z-index: 0;
  pointer-events: none;
}
.hero-route svg { width: 100%; height: 100%; }
.route-axe { animation: route-defile 0.9s linear infinite; }
@keyframes route-defile { to { stroke-dashoffset: -80; } }

.hero-contenu { max-width: 760px; }
.section-label {
  display: inline-flex;
  align-items: center;
  font-family: var(--font-titre);
  font-size: 16px;
  font-weight: 600;
  letter-spacing: 3px;
  text-transform: uppercase;
  color: var(--orange);
  margin-bottom: 14px;
}
.section-label::before {
  content: '';
  width: 28px; height: 3px;
  background: var(--orange);
  margin-right: 12px;
}
.hero h1 {
  font-size: 56px;
  font-size: clamp(46px, 8vw, 96px);
  line-height: 0.95;
  margin-bottom: 22px;
}
.hero h1 em { font-style: normal; color: var(--orange); }
.hero-texte {
  font-size: 18px;
  color: var(--gris-clair);
  max-width: 600px;
  margin-bottom: 32px;
}
.hero-infos { margin-top: 18px; color: var(--gris); font-size: 15px; }
.hero-infos span { display: inline-block; margin: 0 22px 8px 0; }
.hero-infos i { color: var(--orange); margin-right: 8px; }

/* En-tête des pages intérieures */
.entete-page {
  position: relative;
  padding: calc(var(--nav-h) + 70px) 0 60px;
  background: radial-gradient(ellipse at 50% 0%, #232830 0%, var(--asphalte) 75%);
  border-bottom: 1px solid var(--bord);
  overflow: hidden;
}
.entete-page h1 { font-size: 48px; font-size: clamp(40px, 6vw, 72px); margin-bottom: 14px; }
.entete-page p { color: var(--gris-clair); max-width: 640px; font-size: 17px; }
.entete-page .marquage { position: absolute; left: 0; bottom: 18px; }

/* ── Sections ─────────────────────────────────────────────── */
.section { padding: 96px 0; position: relative; }
.section-alt { background: var(--asphalte-2); border-top: 1px solid var(--bord); border-bottom: 1px solid var(--bord); }
.section-titre { font-size: 40px; font-size: clamp(34px, 5vw, 56px); margin-bottom: 18px; }
.section-intro { color: var(--gris-clair); max-width: 640px; margin-bottom: 48px; font-size: 17px; }
.section-centre { text-align: center; }
.section-centre .section-intro { margin-left: auto; margin-right: auto; }

/* Grilles */
.grille { display: grid; grid-gap: 22px; gap: 22px; }
.grille-2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.grille-3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.grille-4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }
.grille-texte { grid-template-columns: minmax(0, 1.1fr) minmax(0, 0.9fr); grid-gap: 64px; gap: 64px; align-items: center; }

/* Cartes */
.carte {
  background: var(--asphalte-3);
  border: 1px solid var(--bord);
  border-radius: var(--rayon);
  padding: 28px;
  transition: border-color 0.3s, transform 0.3s var(--transition);
}
.carte h3 { font-size: 24px; margin-bottom: 10px; }
.carte p { color: var(--gris-clair); font-size: 15px; }
.carte > i { font-size: 26px; color: var(--orange); margin-bottom: 18px; display: block; }
a.carte { display: block; color: var(--blanc); }
a.carte:hover, .atout:hover { border-color: var(--orange); transform: translateY(-3px); }

/* Chiffres clés */
.chiffres { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); grid-gap: 18px; gap: 18px; }
.chiffre {
  border-left: 4px solid var(--orange);
  padding: 8px 0 8px 18px;
}
.chiffre-valeur { display: block; font-family: var(--font-titre); font-size: 52px; font-weight: 600; line-height: 1; color: var(--blanc); }
.chiffre-libelle { display: block; color: var(--gris); font-size: 14px; margin-top: 6px; }

.texte-riche p { color: var(--gris-clair); margin-bottom: 16px; font-size: 17px; }

/* Formules (version courte, accueil) */
.formule-courte { position: relative; padding-bottom: 72px; }
.formule-courte-titre { display: block; font-family: var(--font-titre); font-size: 26px; font-weight: 600; text-transform: uppercase; line-height: 1.05; margin-bottom: 8px; }
.formule-courte-sous { display: block; color: var(--gris); font-size: 14px; }
.formule-courte-prix {
  position: absolute; left: 28px; bottom: 24px;
  font-family: var(--font-titre); font-size: 30px; font-weight: 600; color: var(--orange);
}
.formule-courte-prix::before { content: 'dès '; font-size: 16px; color: var(--gris); text-transform: uppercase; letter-spacing: 1px; }

/* Étapes du permis */
.etapes { counter-reset: etape; position: relative; }
.etape { position: relative; padding-top: 70px; }
.etape::before {
  counter-increment: etape;
  content: counter(etape);
  position: absolute; top: 0; left: 0;
  width: 50px; height: 50px;
  line-height: 50px;
  text-align: center;
  font-family: var(--font-titre); font-size: 26px; font-weight: 600;
  color: var(--asphalte);
  background: var(--orange);
  border-radius: var(--rayon);
}
.etape::after {
  content: '';
  position: absolute; top: 24px; left: 66px; right: 0;
  height: 3px;
  background: repeating-linear-gradient(90deg, var(--bord) 0, var(--bord) 14px, transparent 14px, transparent 24px);
}
.etape:last-child::after { display: none; }
.etape h3 { font-size: 24px; margin-bottom: 8px; }
.etape p { color: var(--gris-clair); font-size: 15px; padding-right: 16px; }
.etape p a { text-decoration: underline; }
.etape p a:hover { color: var(--orange-clair); }

/* Horaires */
.horaires { width: 100%; border-collapse: collapse; font-size: 15px; }
.horaires th, .horaires td { padding: 11px 14px; border-bottom: 1px solid var(--bord); text-align: left; }
.horaires th { font-weight: 500; color: var(--gris-clair); width: 38%; }
.horaires td { color: var(--blanc); }
.horaires .ferme { color: var(--gris); }
.horaires .sep { color: var(--gris); }
.horaires tr.aujourdhui th, .horaires tr.aujourdhui td { background: rgba(242, 107, 33, 0.09); color: var(--blanc); }
.horaires tr.aujourdhui th { box-shadow: inset 4px 0 0 var(--orange); }

.statut {
  display: inline-block;
  font-size: 13px;
  font-weight: 600;
  padding: 5px 12px;
  border-radius: 20px;
  margin-bottom: 16px;
  border: 1px solid var(--bord);
  color: var(--gris);
}
.statut::before { content: ''; display: inline-block; width: 8px; height: 8px; border-radius: 50%; background: var(--gris); margin-right: 8px; vertical-align: 1px; }
.statut.ouvert { color: var(--vert); border-color: rgba(62, 207, 142, 0.4); }
.statut.ouvert::before { background: var(--vert); }
.statut.ferme { color: var(--rouge); border-color: rgba(229, 72, 77, 0.4); }
.statut.ferme::before { background: var(--rouge); }

.infos-pratiques h3 { font-size: 26px; margin-bottom: 14px; }
.ligne-info { display: flex; align-items: flex-start; margin-bottom: 16px; color: var(--gris-clair); }
.ligne-info i { color: var(--orange); width: 26px; margin-top: 4px; flex-shrink: 0; }
.ligne-info a { color: var(--blanc); }
.ligne-info a:hover { color: var(--orange); }
.note-lecons { margin-top: 16px; color: var(--gris); font-size: 14px; }
.note-lecons i { color: var(--orange); margin-right: 6px; }

/* Bandeau d'appel orange */
.bandeau-cta {
  background: var(--orange);
  color: var(--asphalte);
  padding: 64px 0;
  position: relative;
  z-index: 2;
}
.bandeau-cta .conteneur { display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; }
.bandeau-cta h2 { font-size: 40px; font-size: clamp(32px, 4.5vw, 52px); margin: 0 24px 12px 0; }
.bandeau-cta p { font-size: 17px; margin: 0 24px 16px 0; max-width: 560px; }
.bandeau-cta .btn { margin: 0 12px 12px 0; }
.bandeau-cta .btn-contour { border-color: var(--asphalte); color: var(--asphalte); }
.bandeau-cta .btn-contour:hover { background: var(--asphalte); color: var(--orange); }

/* ── Tarifs ───────────────────────────────────────────────── */
.formules { align-items: stretch; }
.formule {
  position: relative;
  display: flex;
  flex-direction: column;
  background: var(--asphalte-3);
  border: 1px solid var(--bord);
  border-radius: var(--rayon);
  padding: 34px 28px 28px;
}
.formule.vedette { border-color: var(--orange); box-shadow: 0 0 0 1px var(--orange), 0 18px 40px rgba(0, 0, 0, 0.35); }
.formule-badge {
  position: absolute; top: -13px; left: 28px;
  background: var(--orange); color: var(--asphalte);
  font-family: var(--font-titre); font-size: 14px; font-weight: 600; letter-spacing: 1px; text-transform: uppercase;
  padding: 4px 12px; border-radius: 4px;
}
.formule h3 { font-size: 28px; margin-bottom: 6px; }
.formule-sous-titre { color: var(--gris); font-size: 14px; margin-bottom: 18px; }
.formule-acompte { color: var(--gris); font-size: 14px; margin: -8px 0 18px; }
.formule-prix {
  font-family: var(--font-titre); font-size: 52px; font-weight: 600; line-height: 1;
  color: var(--orange);
  padding-bottom: 20px; margin-bottom: 20px;
  border-bottom: 1px dashed var(--bord);
}
.formule ul { list-style: none; margin-bottom: 26px; -webkit-box-flex: 1; flex: 1 1 auto; }
.formule li { display: flex; align-items: flex-start; color: var(--gris-clair); font-size: 15px; margin-bottom: 10px; }
.formule li i { color: var(--orange); margin: 5px 10px 0 0; font-size: 13px; flex-shrink: 0; }
.formule .btn { width: 100%; }

.tableau-tarifs { width: 100%; border-collapse: collapse; background: var(--asphalte-3); border: 1px solid var(--bord); border-radius: var(--rayon); overflow: hidden; }
.tableau-tarifs th, .tableau-tarifs td { padding: 15px 20px; border-bottom: 1px solid var(--bord); text-align: left; }
.tableau-tarifs tr:last-child th, .tableau-tarifs tr:last-child td { border-bottom: none; }
.tableau-tarifs th { font-weight: 400; color: var(--gris-clair); }
.tableau-tarifs th small { display: block; color: var(--gris); font-size: 13px; }
.tableau-tarifs td { text-align: right; white-space: nowrap; font-family: var(--font-titre); font-size: 22px; font-weight: 600; color: var(--blanc); }
.tableau-tarifs tr:hover th, .tableau-tarifs tr:hover td { background: rgba(255, 255, 255, 0.02); }

.notes-tarifs { list-style: none; margin-top: 26px; color: var(--gris); font-size: 14px; }
.notes-tarifs li { margin-bottom: 6px; padding-left: 18px; position: relative; }
.notes-tarifs li::before { content: ''; position: absolute; left: 0; top: 9px; width: 8px; height: 3px; background: var(--orange); }

.liste-pieces { list-style: none; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); grid-gap: 12px 34px; }
.liste-pieces li { display: flex; align-items: flex-start; color: var(--gris-clair); }
.liste-pieces i { color: var(--orange); width: 24px; margin-top: 5px; flex-shrink: 0; }
.liste-pieces abbr { color: var(--orange); text-decoration: none; border: 0; }
.note-pieces { margin-top: 22px; color: var(--gris); font-size: 14px; }
.maj-tarifs { color: var(--gris); font-size: 14px; margin-top: 4px; }

/* ── Formulaire ───────────────────────────────────────────── */
.formulaire { background: var(--asphalte-3); border: 1px solid var(--bord); border-radius: var(--rayon); padding: 34px; }
.champs-2 { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); grid-gap: 0 18px; gap: 0 18px; }
.champ { margin-bottom: 18px; }
.champ label { display: block; font-size: 14px; font-weight: 500; color: var(--gris-clair); margin-bottom: 7px; }
.champ label .requis { color: var(--orange); }
.champ input, .champ select, .champ textarea {
  width: 100%;
  font-family: var(--font-texte);
  font-size: 16px;
  color: var(--blanc);
  background: var(--asphalte);
  border: 1px solid var(--bord);
  border-radius: var(--rayon);
  padding: 13px 14px;
  transition: border-color 0.2s, box-shadow 0.2s;
  -webkit-appearance: none;
  appearance: none;
}
.champ select {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath d='M1 1l5 5 5-5' fill='none' stroke='%23f26b21' stroke-width='2'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 14px center;
  padding-right: 40px;
}
.champ textarea { min-height: 150px; resize: vertical; }
.champ input:focus, .champ select:focus, .champ textarea:focus { outline: none; border-color: var(--orange); box-shadow: 0 0 0 3px rgba(242, 107, 33, 0.18); }
.champ-piege { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.captcha-ligne { display: flex; align-items: center; flex-wrap: wrap; }
.captcha-ligne label { margin: 0 14px 0 0; color: var(--blanc); }
.captcha-ligne input { width: 110px; }
.mention-form { color: var(--gris); font-size: 13px; margin: 4px 0 20px; }

.form-feedback { display: none; padding: 14px 16px; border-radius: var(--rayon); margin-top: 18px; font-size: 15px; }
.form-feedback.success { display: block; background: rgba(62, 207, 142, 0.1); border: 1px solid rgba(62, 207, 142, 0.45); color: var(--vert); }
.form-feedback.error   { display: block; background: rgba(229, 72, 77, 0.1); border: 1px solid rgba(229, 72, 77, 0.45); color: #ff8a8d; }
.btn[disabled] { opacity: 0.6; cursor: wait; transform: none; }

/* ── Textes légaux ────────────────────────────────────────── */
.legal { max-width: 820px; }
.legal h2 { font-size: 28px; margin: 40px 0 14px; color: var(--orange); }
.legal p, .legal li { color: var(--gris-clair); margin-bottom: 12px; }
.legal ul { padding-left: 20px; }

/* ── Pied de page ─────────────────────────────────────────── */
footer {
  position: relative;
  z-index: 2;
  background: #111316;
  border-top: 4px solid var(--orange);
  padding: 64px 0 28px;
  color: var(--gris);
  font-size: 15px;
}
.pied-grille { display: grid; grid-template-columns: minmax(0, 1.3fr) minmax(0, 1fr) minmax(0, 1fr); grid-gap: 40px; gap: 40px; margin-bottom: 44px; }
footer h3 { font-size: 20px; color: var(--blanc); margin-bottom: 16px; letter-spacing: 1px; }
footer p { margin-bottom: 8px; }
footer a { color: var(--gris-clair); }
footer a:hover { color: var(--orange); }
footer ul { list-style: none; }
footer li { margin-bottom: 8px; }
.pied-logo { margin-bottom: 16px; }
.reseaux { margin-top: 16px; }
.reseaux a {
  display: inline-block;
  width: 40px; height: 40px; line-height: 40px;
  text-align: center;
  border: 1px solid var(--bord);
  border-radius: var(--rayon);
  margin-right: 8px;
  color: var(--blanc);
}
.reseaux a:hover { border-color: var(--orange); color: var(--orange); }
.pied-bas { border-top: 1px solid var(--bord); padding-top: 22px; display: flex; justify-content: space-between; flex-wrap: wrap; font-size: 13px; }
.pied-bas span { margin: 0 20px 6px 0; }
footer .horaires { font-size: 14px; }
footer .horaires th, footer .horaires td { padding: 5px 0; border-bottom: none; }
footer .horaires th { width: 42%; }
footer .horaires tr.aujourdhui th, footer .horaires tr.aujourdhui td { background: none; color: var(--orange); box-shadow: none; }

/* Bandeau « contenu provisoire » (contenu/site.json → "provisoire": true) */
.bandeau-provisoire {
  position: fixed;
  left: 14px; bottom: 14px;
  z-index: 60;
  background: repeating-linear-gradient(-45deg, var(--rouge) 0, var(--rouge) 10px, #c4373b 10px, #c4373b 20px);
  color: #fff;
  font-weight: 600;
  font-size: 13px;
  padding: 8px 14px;
  border-radius: var(--rayon);
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.4);
  pointer-events: none;
}

/* Page 404 */
.page-404 { min-height: 80vh; display: flex; align-items: center; padding-top: var(--nav-h); }
.panneau-404 {
  width: 120px; height: 120px;
  border-radius: 50%;
  background: var(--rouge);
  border: 6px solid var(--blanc);
  position: relative;
  margin-bottom: 30px;
}
.panneau-404::after { content: ''; position: absolute; left: 18px; right: 18px; top: 50%; height: 20px; margin-top: -10px; background: var(--blanc); }

/* ── Animations d'apparition ──────────────────────────────── */
/* Le contenu n'est masqué que si html.reveal-on est posé (voir <head>) */
.reveal-on .reveal { opacity: 0; transform: translateY(26px); transition: opacity 0.7s var(--transition), transform 0.7s var(--transition); }
.reveal-on .reveal.visible { opacity: 1; transform: none; }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .route-axe { animation: none; }
  .reveal-on .reveal { opacity: 1; transform: none; transition: none; }
}

/* ── Responsive ───────────────────────────────────────────── */
@media (max-width: 1040px) {
  .grille-4 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .etape::after { display: none; }
  .nav-links li { margin-left: 20px; }
  .nav-links li:last-child { margin-left: 10px; }
  .nav-links .nav-tel { padding: 10px 12px; }
}

@media (max-width: 900px) {
  .nav-links { display: none; }
  .burger-btn { display: block; }
  .grille-3, .grille-texte, .grille-2 { grid-template-columns: minmax(0, 1fr); }
  .grille-texte { grid-gap: 44px; gap: 44px; }
  .pied-grille { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); }
  .pied-grille > div:first-child { grid-column: 1 / -1; }
}

@media (max-width: 600px) {
  :root { --nav-h: 66px; }
  .conteneur { padding: 0 16px; }
  .section { padding: 68px 0; }
  .hero { padding-bottom: 170px; min-height: 0; }
  .hero-texte { font-size: 16px; }
  .hero-route { height: 34%; }
  .nav-logo-nom { font-size: 21px; }
  .nav-logo-icone { width: 38px; height: 38px; margin-right: 10px; }
  .grille-4, .champs-2, .pied-grille { grid-template-columns: minmax(0, 1fr); }
  .chiffre-valeur { font-size: 42px; }
  .formulaire { padding: 22px 18px; }
  .formule-prix { font-size: 46px; }
  .tableau-tarifs th, .tableau-tarifs td { padding: 13px 14px; }
  .tableau-tarifs td { font-size: 19px; }
  .liste-pieces { grid-template-columns: 1fr; }
  .boutons .btn, .bandeau-cta .btn { display: block; width: 100%; margin-right: 0; }
  .entete-page { padding-top: calc(var(--nav-h) + 44px); }
}
