/* ==========================================================================
   CARS TOP DEAL SÀRL — FEUILLE DE STYLE
   --------------------------------------------------------------------------
   Direction : le site se lit comme un rapport d'expertise, pas comme une
   brochure. Chaque promesse commerciale est présentée comme une ligne
   vérifiable — d'où le monospace pour toute donnée, les coches de contrôle,
   et le registre de vérification qui sert d'élément signature.

   Palette tirée des photos du garage : le gris béton du bitume de l'Avenue
   du Simplon, le graphite des carrosseries, le rouge suisse en tampon.
   ========================================================================== */

/* --------------------------------------------------------------------------
   1. JETONS
   -------------------------------------------------------------------------- */

:root {
  /* Fonds */
  --beton: #eceef1;          /* sol de page : le bitume du parc */
  --beton-creux: #e3e7eb;    /* bandes en creux, un ton plus bas */
  --blanc: #ffffff;
  --graphite: #12161b;       /* bandes sombres, texte principal */
  --graphite-2: #1c232b;     /* surface sombre secondaire */
  --graphite-3: #2b343e;     /* bordures sur fond sombre */

  /* Texte */
  --encre: #12161b;
  --encre-douce: #4a555f;
  /* Assez sombre pour rester lisible sur blanc ET sur --beton-creux : ce ton
     porte les étiquettes monospace et les en-têtes de tableau, c'est-à-dire du
     petit texte, qui exige 4.5:1 (contraste obtenu 5.85 et 4.71). */
  --encre-pale: #5b6672;
  --encre-inverse: #eef1f4;
  --encre-inverse-douce: #a3aeb8;
  /* Équivalent de --encre-pale pour les fonds sombres : le ton clair ne peut
     pas servir sur graphite, il faut son pendant inversé. */
  --encre-inverse-pale: #8b96a1;

  /* Traits */
  --trait: #dbe0e5;
  --trait-fort: #c2cad2;

  /* Accents */
  --rouge: #c8102e;          /* rouge suisse, réservé à l'action et au tampon */
  --rouge-sombre: #a20d25;
  --rouge-voile: rgba(200, 16, 46, 0.07);
  --vert: #157f52;           /* uniquement les coches de contrôle */
  --vert-voile: rgba(21, 127, 82, 0.09);
  --whatsapp: #1faf54;
  --whatsapp-sombre: #17853f;

  /* Typographie */
  --titre: "Archivo", "Segoe UI", system-ui, sans-serif;
  --texte: "Archivo", "Segoe UI", system-ui, sans-serif;
  --donnee: "IBM Plex Mono", ui-monospace, "SFMono-Regular", Menlo, monospace;

  /* Mesures */
  --largeur: 1200px;
  --gouttiere: 24px;
  --hauteur-entete: 72px;

  /* Rayons : francs mais pas ronds, on est dans le technique */
  --r-s: 6px;
  --r-m: 10px;
  --r-l: 16px;

  /* Ombres : basses et nettes, comme une pièce posée sur un plan */
  --ombre-s: 0 1px 2px rgba(18, 22, 27, 0.06), 0 2px 6px rgba(18, 22, 27, 0.04);
  --ombre-m: 0 2px 4px rgba(18, 22, 27, 0.05), 0 12px 28px -8px rgba(18, 22, 27, 0.14);
  --ombre-l: 0 4px 8px rgba(18, 22, 27, 0.06), 0 28px 60px -16px rgba(18, 22, 27, 0.26);

  --transition: 180ms cubic-bezier(0.2, 0.8, 0.3, 1);
}

/* --------------------------------------------------------------------------
   2. RÉINITIALISATION
   -------------------------------------------------------------------------- */

*,
*::before,
*::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  font-size: 16px;
  scroll-behavior: smooth;
  /* Le sommaire collant ne doit pas masquer le titre de la section visée. */
  scroll-padding-top: calc(var(--hauteur-entete) + 16px);
}

body {
  font-family: var(--texte);
  background: var(--beton);
  color: var(--encre);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}

img,
svg,
iframe {
  display: block;
  max-width: 100%;
}

img {
  height: auto;
}

a {
  color: inherit;
  text-decoration: none;
}

ul {
  list-style: none;
}

button,
input,
select,
textarea {
  font: inherit;
  color: inherit;
}

/* Un focus visible partout : c'est la base, pas une option. */
:focus-visible {
  outline: 3px solid var(--rouge);
  outline-offset: 2px;
  border-radius: 3px;
}

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

/* --------------------------------------------------------------------------
   3. PRIMITIVES
   -------------------------------------------------------------------------- */

.conteneur {
  width: 100%;
  max-width: var(--largeur);
  margin: 0 auto;
  padding: 0 var(--gouttiere);
}

/* Étiquette monospace : sert d'amorce à chaque bloc. Elle porte toujours une
   information réelle (canton, nature du bloc, numéro), jamais un ornement. */
.etiquette {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: var(--donnee);
  font-size: 0.7rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--encre-pale);
}

.etiquette--rouge {
  color: var(--rouge);
}

.etiquette--inverse {
  color: var(--encre-inverse-douce);
}

.etiquette::before {
  content: "";
  width: 18px;
  height: 1px;
  background: currentColor;
  opacity: 0.6;
}

.ico {
  width: 1em;
  height: 1em;
  flex: none;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.75;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.ico--plein {
  fill: currentColor;
  stroke: none;
}

/* Le sprite d'icônes ne doit pas occuper de place dans le flux. */
.sprite {
  position: absolute;
  width: 0;
  height: 0;
  overflow: hidden;
}

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

/* --------------------------------------------------------------------------
   4. TYPOGRAPHIE
   -------------------------------------------------------------------------- */

.titre-xxl,
.titre-xl,
.titre-l,
.titre-m {
  font-family: var(--titre);
  font-weight: 800;
  line-height: 1.08;
  letter-spacing: -0.025em;
  text-wrap: balance;
}

.titre-xxl {
  font-size: clamp(2.3rem, 5.4vw, 4rem);
}

.titre-xl {
  font-size: clamp(1.85rem, 3.6vw, 2.7rem);
}

.titre-l {
  font-size: clamp(1.4rem, 2.4vw, 1.75rem);
  font-weight: 700;
  letter-spacing: -0.02em;
}

.titre-m {
  font-size: 1.1rem;
  font-weight: 700;
  line-height: 1.3;
  letter-spacing: -0.01em;
}

.chapeau {
  font-size: clamp(1rem, 1.5vw, 1.14rem);
  line-height: 1.65;
  color: var(--encre-douce);
  max-width: 62ch;
  text-wrap: pretty;
}

.texte {
  color: var(--encre-douce);
  text-wrap: pretty;
}

.accent-rouge {
  color: var(--rouge);
}

/* --------------------------------------------------------------------------
   5. BOUTONS
   -------------------------------------------------------------------------- */

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 9px;
  padding: 13px 22px;
  border: 1px solid transparent;
  border-radius: var(--r-s);
  background: none;
  font-family: var(--titre);
  font-size: 0.94rem;
  font-weight: 700;
  letter-spacing: -0.005em;
  line-height: 1.2;
  cursor: pointer;
  transition: background var(--transition), border-color var(--transition),
    transform var(--transition), box-shadow var(--transition);
}

.btn .ico {
  width: 1.15em;
  height: 1.15em;
}

.btn:hover {
  transform: translateY(-1px);
}

.btn:active {
  transform: translateY(0);
}

.btn--primaire {
  background: var(--rouge);
  color: #fff;
  box-shadow: 0 2px 4px rgba(200, 16, 46, 0.2), 0 10px 22px -8px rgba(200, 16, 46, 0.45);
}

.btn--primaire:hover {
  background: var(--rouge-sombre);
}

.btn--whatsapp {
  background: var(--whatsapp);
  color: #fff;
  box-shadow: 0 2px 4px rgba(31, 175, 84, 0.18), 0 10px 22px -8px rgba(31, 175, 84, 0.4);
}

.btn--whatsapp:hover {
  background: var(--whatsapp-sombre);
}

.btn--contour {
  border-color: var(--trait-fort);
  background: var(--blanc);
  color: var(--encre);
}

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

.btn--sombre {
  background: var(--graphite);
  color: var(--encre-inverse);
}

.btn--sombre:hover {
  background: var(--graphite-2);
}

.btn--fantome-clair {
  border-color: rgba(255, 255, 255, 0.28);
  color: #fff;
}

.btn--fantome-clair:hover {
  border-color: rgba(255, 255, 255, 0.6);
  background: rgba(255, 255, 255, 0.08);
}

.btn--pleine-largeur {
  width: 100%;
}

/* Lien textuel avec flèche : sert de sortie secondaire d'un bloc. */
.lien-fleche {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  font-weight: 700;
  font-size: 0.94rem;
  color: var(--rouge);
  border-bottom: 1.5px solid transparent;
  transition: border-color var(--transition), gap var(--transition);
}

.lien-fleche:hover {
  border-bottom-color: currentColor;
  gap: 11px;
}

/* --------------------------------------------------------------------------
   6. BANDEAU HAUT + EN-TÊTE
   -------------------------------------------------------------------------- */

.bandeau-haut {
  background: var(--graphite);
  color: var(--encre-inverse-douce);
  font-size: 0.8rem;
}

.bandeau-haut .conteneur {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  min-height: 40px;
  flex-wrap: wrap;
}

.bandeau-coordonnees {
  display: flex;
  align-items: center;
  gap: 22px;
  flex-wrap: wrap;
}

.bandeau-coordonnees > * {
  display: inline-flex;
  align-items: center;
  gap: 7px;
}

.bandeau-coordonnees a {
  color: var(--blanc);
  font-weight: 600;
  border-bottom: 1px solid transparent;
  transition: border-color var(--transition);
}

.bandeau-coordonnees a:hover {
  border-bottom-color: rgba(255, 255, 255, 0.45);
}

.bandeau-coordonnees .ico {
  color: var(--rouge);
  width: 0.95rem;
  height: 0.95rem;
  stroke-width: 2;
}

.langues {
  display: flex;
  align-items: center;
  gap: 2px;
  font-family: var(--donnee);
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.06em;
}

.langue {
  padding: 4px 9px;
  border-radius: var(--r-s);
  color: var(--encre-inverse-douce);
  transition: background var(--transition), color var(--transition);
}

.langue:hover {
  color: var(--blanc);
  background: rgba(255, 255, 255, 0.08);
}

.langue[aria-current="true"] {
  background: var(--rouge);
  color: #fff;
}

.entete {
  position: sticky;
  top: 0;
  z-index: 200;
  background: rgba(255, 255, 255, 0.94);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--trait);
}

.entete .conteneur {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  min-height: var(--hauteur-entete);
}

.logo img {
  height: 38px;
  width: auto;
}

.navigation {
  display: flex;
  align-items: center;
  gap: 4px;
}

.nav-lien {
  padding: 8px 12px;
  border-radius: var(--r-s);
  font-size: 0.88rem;
  font-weight: 600;
  color: var(--encre-douce);
  transition: color var(--transition), background var(--transition);
}

.nav-lien:hover {
  color: var(--encre);
  background: var(--beton-creux);
}

.nav-lien.est-active {
  color: var(--rouge);
}

.actions-entete {
  display: flex;
  align-items: center;
  gap: 10px;
}

.bascule-menu {
  display: none;
  padding: 9px;
  border: 1px solid var(--trait);
  border-radius: var(--r-s);
  background: var(--blanc);
  cursor: pointer;
}

.bascule-menu .ico {
  width: 1.3rem;
  height: 1.3rem;
}

/* --------------------------------------------------------------------------
   7. HÉROS
   -------------------------------------------------------------------------- */

.heros {
  position: relative;
  background: var(--graphite);
  color: var(--encre-inverse);
  padding: clamp(52px, 8vw, 86px) 0 clamp(150px, 17vw, 200px);
  overflow: hidden;
}

/* Trame technique très discrète : évoque le papier millimétré d'un rapport
   sans jamais entrer en concurrence avec le texte. */
.heros::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image: linear-gradient(rgba(255, 255, 255, 0.028) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.028) 1px, transparent 1px);
  background-size: 56px 56px;
  mask-image: radial-gradient(ellipse 90% 70% at 50% 0%, #000 35%, transparent 78%);
  pointer-events: none;
}

.heros .conteneur {
  position: relative;
  z-index: 1;
}

.heros-titre {
  margin: 18px 0 20px;
  /* Assez large pour que « Une voiture d'occasion » tienne sur une ligne :
     la coupure imposée par le <br> ne doit pas se doubler d'une coupure subie. */
  max-width: 23ch;
}

.heros-chapeau {
  color: var(--encre-inverse-douce);
  font-size: clamp(1rem, 1.5vw, 1.15rem);
  line-height: 1.65;
  max-width: 56ch;
}

.heros-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 30px;
}

/* Trois faits chiffrés sous les boutons. Séparateurs verticaux plutôt que
   cartes : ce sont des données, pas des arguments. */
.faits {
  display: flex;
  flex-wrap: wrap;
  gap: clamp(24px, 5vw, 54px);
  margin-top: 44px;
  padding-top: 28px;
  border-top: 1px solid var(--graphite-3);
}

.fait-valeur {
  display: block;
  font-family: var(--titre);
  font-size: clamp(1.5rem, 2.6vw, 1.95rem);
  font-weight: 800;
  letter-spacing: -0.03em;
  color: var(--blanc);
  line-height: 1.1;
}

.fait-libelle {
  display: block;
  margin-top: 5px;
  font-family: var(--donnee);
  font-size: 0.68rem;
  font-weight: 500;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--encre-inverse-douce);
}

.fait a {
  border-bottom: 1px solid rgba(255, 255, 255, 0.3);
}

.fait a:hover {
  border-bottom-color: var(--blanc);
}

/* --------------------------------------------------------------------------
   8. PANORAMA + REGISTRE DE VÉRIFICATION  (élément signature)
   --------------------------------------------------------------------------
   La photo du parc réel, et par-dessus, à cheval, le registre : chaque
   garantie posée comme une ligne cochée d'un procès-verbal. La promesse et
   sa preuve littéralement superposées.
   -------------------------------------------------------------------------- */

.panorama {
  position: relative;
  margin-top: clamp(-140px, -15vw, -190px);
}

.panorama-image {
  width: 100%;
  height: clamp(190px, 26vw, 330px);
  object-fit: cover;
  object-position: center 62%;
}

/* Bande photo autonome, sans registre par-dessus. Les trois photos du garage
   sont panoramiques (~3.7:1) : les servir pleine largeur joue leur format,
   alors que les coller à côté d'une colonne de texte laisse un vide. */
.bande-photo {
  margin: 0;
}

.bande-photo img {
  width: 100%;
  height: clamp(170px, 22vw, 280px);
  object-fit: cover;
  object-position: center 58%;
}

/* Bande réduite : pour les sections volontairement allégées. */
.bande-photo--fine img {
  height: clamp(120px, 14vw, 180px);
}

.bande-photo figcaption {
  max-width: var(--largeur);
  margin: 0 auto;
  padding: 12px var(--gouttiere) 0;
  font-family: var(--donnee);
  font-size: 0.7rem;
  letter-spacing: 0.06em;
  color: var(--encre-pale);
}


/* Portrait du fondateur : un visage à côté de la promesse « pas une chaîne ».
   Rond, petit, dans une carte discrète — c'est un repère, pas un poster. */
.portrait {
  display: flex;
  align-items: center;
  gap: 18px;
  margin: 24px 0 0;
  padding: 16px 20px 16px 16px;
  background: var(--blanc);
  border: 1px solid var(--trait);
  border-radius: var(--r-m);
}

/* C'est le <picture> qui est l'enfant flex, pas l'image : c'est lui
   qu'il faut empêcher de se comprimer sur petit écran. */
.portrait picture {
  flex: 0 0 132px;
  width: 132px;
  height: 132px;
}

.portrait img {
  display: block;
  width: 100%;
  height: 100%;
  border-radius: 50%;
  object-fit: cover;
  box-shadow: var(--ombre-s);
}

.portrait figcaption {
  font-size: 0.95rem;
  line-height: 1.5;
  color: var(--encre-douce);
}

.portrait figcaption strong {
  font-family: var(--titre);
  font-weight: 700;
  color: var(--encre);
}

.portrait figcaption span {
  display: block;
  margin-top: 4px;
}

@media (max-width: 480px) {
  .portrait { gap: 14px; }
  .portrait picture { flex-basis: 96px; width: 96px; height: 96px; }
}

.registre {
  position: relative;
  z-index: 2;
  margin: clamp(-70px, -7vw, -90px) auto 0;
  max-width: calc(var(--largeur) - 2 * var(--gouttiere));
  background: var(--graphite);
  color: var(--encre-inverse);
  border-radius: var(--r-l);
  box-shadow: var(--ombre-l);
  overflow: hidden;
}

.registre-entete {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 16px;
  flex-wrap: wrap;
  padding: 20px clamp(20px, 3vw, 32px);
  border-bottom: 1px solid var(--graphite-3);
}

.registre-titre {
  font-family: var(--donnee);
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.13em;
  text-transform: uppercase;
  color: var(--blanc);
}

.registre-reference {
  font-family: var(--donnee);
  font-size: 0.7rem;
  color: var(--encre-inverse-douce);
  letter-spacing: 0.06em;
}

.registre-lignes {
  padding: 6px clamp(20px, 3vw, 32px) 22px;
}

/* La ligne de contrôle : intitulé à gauche, valeur à droite, filet pointillé
   qui les relie — la mise en page d'un procès-verbal. */
.ligne-controle {
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: baseline;
  gap: 12px;
  padding: 13px 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
}

.ligne-controle:last-child {
  border-bottom: none;
}

.ligne-intitule {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-family: var(--donnee);
  font-size: 0.76rem;
  font-weight: 600;
  letter-spacing: 0.07em;
  text-transform: uppercase;
  color: var(--encre-inverse);
}

.ligne-coche {
  width: 17px;
  height: 17px;
  flex: none;
  border-radius: 50%;
  background: var(--vert-voile);
  color: #3ddc97;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 1px solid rgba(61, 220, 151, 0.35);
}

.ligne-coche .ico {
  width: 10px;
  height: 10px;
  stroke-width: 3;
}

.ligne-filet {
  border-bottom: 1px dotted var(--graphite-3);
  transform: translateY(-4px);
}

.ligne-valeur {
  font-family: var(--donnee);
  font-size: 0.78rem;
  font-weight: 500;
  color: #fff;
  text-align: right;
}

.registre-pied {
  padding: 16px clamp(20px, 3vw, 32px);
  background: var(--graphite-2);
  border-top: 1px solid var(--graphite-3);
  font-size: 0.83rem;
  color: var(--encre-inverse-douce);
  display: flex;
  align-items: center;
  gap: 10px;
  flex-wrap: wrap;
}

.registre-pied .ico {
  color: #3ddc97;
  width: 1.05rem;
  height: 1.05rem;
  flex: none;
}

/* Dernière ligne du registre : l'offre de contre-expertise. C'est
   l'aboutissement de la promesse de vérifiabilité — on invite le client à ne
   pas nous croire sur parole. Elle est donc traitée plus fort que le reste. */
.registre-contre-expertise {
  display: flex;
  align-items: flex-start;
  gap: 14px;
  padding: 20px clamp(20px, 3vw, 32px) 22px;
  background: var(--graphite-2);
  border-top: 1px solid var(--graphite-3);
}

.registre-contre-expertise > .ico {
  width: 1.35rem;
  height: 1.35rem;
  flex: none;
  margin-top: 0.15em;
  color: var(--blanc);
}

.contre-expertise-titre {
  display: block;
  margin-bottom: 5px;
  font-family: var(--donnee);
  font-size: 0.68rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: #3ddc97;
}

.contre-expertise-texte {
  font-size: 0.98rem;
  line-height: 1.6;
  color: var(--blanc);
  max-width: 72ch;
}

/* --------------------------------------------------------------------------
   9. SECTIONS
   -------------------------------------------------------------------------- */

.section {
  padding: clamp(54px, 8vw, 90px) 0;
}

.section--creuse {
  background: var(--beton-creux);
}

.section--blanche {
  background: var(--blanc);
}

.section--sombre {
  background: var(--graphite);
  color: var(--encre-inverse);
}

.section--sombre .chapeau,
.section--sombre .texte {
  color: var(--encre-inverse-douce);
}

/* Section allégée : sert aux activités accessoires (atelier, location) pour
   qu'elles restent présentes sans concurrencer la vente. */
.section--allegee {
  padding: clamp(40px, 5vw, 58px) 0;
}

.entete-section {
  max-width: 66ch;
  margin-bottom: clamp(30px, 4vw, 46px);
}

.entete-section--centree {
  margin-left: auto;
  margin-right: auto;
  text-align: center;
}

.entete-section--centree .chapeau {
  margin-left: auto;
  margin-right: auto;
}

.entete-section .titre-xl,
.entete-section .titre-l {
  margin: 14px 0 14px;
}

/* --------------------------------------------------------------------------
   10. GRILLES ET CARTES
   -------------------------------------------------------------------------- */

.grille {
  display: grid;
  gap: 20px;
}

.grille--2 {
  grid-template-columns: repeat(2, 1fr);
}

.grille--3 {
  grid-template-columns: repeat(3, 1fr);
}

.grille--4 {
  grid-template-columns: repeat(4, 1fr);
}

.grille--texte-image {
  grid-template-columns: 1fr 1fr;
  gap: clamp(28px, 5vw, 56px);
  align-items: center;
}

.carte {
  padding: 26px;
  background: var(--blanc);
  border: 1px solid var(--trait);
  border-radius: var(--r-m);
  transition: border-color var(--transition), box-shadow var(--transition),
    transform var(--transition);
}

.carte--survol:hover {
  border-color: var(--trait-fort);
  box-shadow: var(--ombre-m);
  transform: translateY(-2px);
}

.carte-pastille {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 42px;
  height: 42px;
  margin-bottom: 16px;
  border-radius: var(--r-s);
  background: var(--rouge-voile);
  color: var(--rouge);
}

.carte-pastille .ico {
  width: 1.25rem;
  height: 1.25rem;
}

.carte .titre-m {
  margin-bottom: 8px;
}

.carte .texte {
  font-size: 0.93rem;
}

.liste-cochee {
  margin-top: 16px;
  display: grid;
  gap: 9px;
}

.liste-cochee li {
  display: flex;
  align-items: flex-start;
  gap: 9px;
  font-size: 0.89rem;
  color: var(--encre-douce);
}

.liste-cochee .ico {
  color: var(--vert);
  width: 1rem;
  height: 1rem;
  stroke-width: 2.5;
  margin-top: 0.32em;
}

/* Étapes numérotées : le numéro n'est là que parce qu'il s'agit d'une vraie
   séquence, où l'ordre est une information pour le lecteur. */
.etape {
  position: relative;
  padding: 26px 22px 22px;
  background: var(--blanc);
  border: 1px solid var(--trait);
  border-radius: var(--r-m);
}

.etape-rang {
  display: block;
  margin-bottom: 12px;
  font-family: var(--donnee);
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  color: var(--rouge);
}

.etape .titre-m {
  margin-bottom: 7px;
}

.etape .texte {
  font-size: 0.9rem;
}

/* --------------------------------------------------------------------------
   11. STOCK (widget AutoScout24)
   -------------------------------------------------------------------------- */

.bloc-stock {
  padding: clamp(18px, 2.4vw, 26px);
  background: var(--blanc);
  border: 1px solid var(--trait);
  border-radius: var(--r-l);
  box-shadow: var(--ombre-s);
}

.bloc-stock-entete {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  flex-wrap: wrap;
  margin-bottom: 18px;
  padding-bottom: 16px;
  border-bottom: 1px solid var(--trait);
}

.bloc-stock-entete .titre-l {
  display: flex;
  align-items: center;
  gap: 11px;
}

.bloc-stock-entete .ico {
  color: var(--rouge);
  width: 1.15rem;
  height: 1.15rem;
}

/* --------------------------------------------------------------------------
   12. COMPARATIF
   -------------------------------------------------------------------------- */

.enveloppe-tableau {
  overflow-x: auto;
  border: 1px solid var(--trait);
  border-radius: var(--r-m);
  background: var(--blanc);
}

.comparatif {
  width: 100%;
  min-width: 640px;
  border-collapse: collapse;
  font-size: 0.9rem;
}

.comparatif th,
.comparatif td {
  padding: 15px 18px;
  text-align: left;
  border-bottom: 1px solid var(--trait);
  vertical-align: top;
}

.comparatif thead th {
  font-family: var(--donnee);
  font-size: 0.7rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--encre-pale);
  background: var(--beton-creux);
  white-space: nowrap;
}

.comparatif tbody th {
  font-weight: 700;
  color: var(--encre);
  width: 24%;
}

.comparatif .colonne-nous {
  background: var(--rouge-voile);
  color: var(--encre);
}

.comparatif thead .colonne-nous {
  background: var(--rouge);
  color: #fff;
}

.comparatif tr:last-child th,
.comparatif tr:last-child td {
  border-bottom: none;
}

.marque-oui,
.marque-non {
  display: inline-flex;
  align-items: flex-start;
  gap: 9px;
}

.marque-oui .ico {
  color: var(--vert);
  margin-top: 0.2em;
  flex: none;
  stroke-width: 2.5;
}

.marque-non .ico {
  color: var(--encre-pale);
  margin-top: 0.2em;
  flex: none;
  stroke-width: 2.5;
}

.marque-non {
  color: var(--encre-pale);
}

/* --------------------------------------------------------------------------
   13. PARTENAIRES
   -------------------------------------------------------------------------- */

.bande-partenaires {
  padding: 26px 0;
  background: var(--blanc);
  border-top: 1px solid var(--trait);
  border-bottom: 1px solid var(--trait);
}

.bande-partenaires .conteneur {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: clamp(20px, 5vw, 56px);
  flex-wrap: wrap;
}

.partenaires-intitule {
  font-family: var(--donnee);
  font-size: 0.68rem;
  font-weight: 600;
  letter-spacing: 0.11em;
  text-transform: uppercase;
  color: var(--encre-pale);
  max-width: 15ch;
  line-height: 1.5;
}

/* Les logos partenaires ont des proportions très différentes (AXA est carré,
   Cembra très large). Contraindre la seule hauteur donnerait un AXA minuscule
   à côté d'un Cembra étiré : on borne les deux dimensions et on centre. */
.partenaire {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 120px;
  height: 46px;
}

.partenaire img {
  max-width: 100%;
  max-height: 100%;
  width: auto;
  height: auto;
  object-fit: contain;
  filter: grayscale(100%);
  opacity: 0.62;
  transition: filter var(--transition), opacity var(--transition);
}

.partenaire:hover img {
  filter: grayscale(0);
  opacity: 1;
}

/* --------------------------------------------------------------------------
   14. AVIS
   -------------------------------------------------------------------------- */

.note-google {
  display: inline-flex;
  align-items: center;
  gap: 14px;
  padding: 13px 20px;
  background: var(--blanc);
  border: 1px solid var(--trait);
  border-radius: var(--r-m);
  box-shadow: var(--ombre-s);
}

.note-valeur {
  font-family: var(--titre);
  font-size: 1.75rem;
  font-weight: 800;
  letter-spacing: -0.03em;
  line-height: 1;
}

.etoiles {
  display: inline-flex;
  gap: 2px;
  color: #f5a623;
}

.etoiles .ico {
  width: 0.95rem;
  height: 0.95rem;
}

.note-detail {
  font-size: 0.82rem;
  color: var(--encre-douce);
  line-height: 1.4;
}

.avis {
  display: flex;
  flex-direction: column;
  gap: 16px;
  padding: 24px;
  background: var(--blanc);
  border: 1px solid var(--trait);
  border-radius: var(--r-m);
  height: 100%;
}

.avis-citation {
  flex: 1;
  font-size: 0.95rem;
  line-height: 1.65;
  color: var(--encre);
}

.avis-auteur {
  display: flex;
  align-items: center;
  gap: 12px;
  padding-top: 16px;
  border-top: 1px solid var(--trait);
}

.avis-initiales {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 38px;
  height: 38px;
  flex: none;
  border-radius: 50%;
  background: var(--graphite);
  color: var(--blanc);
  font-family: var(--donnee);
  font-size: 0.76rem;
  font-weight: 600;
}

.avis-nom {
  display: block;
  font-weight: 700;
  font-size: 0.92rem;
}

.avis-role {
  display: block;
  font-family: var(--donnee);
  font-size: 0.68rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--encre-pale);
  margin-top: 2px;
}

/* --------------------------------------------------------------------------
   14b. QUESTIONS FRÉQUENTES
   --------------------------------------------------------------------------
   Construite sur <details>/<summary> : l'ouverture et la fermeture sont
   natives, donc accessibles au clavier et fonctionnelles sans JavaScript.
   -------------------------------------------------------------------------- */

.faq {
  display: grid;
  gap: 10px;
  max-width: 820px;
}

.faq-item {
  background: var(--blanc);
  border: 1px solid var(--trait);
  border-radius: var(--r-m);
  transition: border-color var(--transition), box-shadow var(--transition);
}

.faq-item[open] {
  border-color: var(--trait-fort);
  box-shadow: var(--ombre-s);
}

.faq-question {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 17px 20px;
  cursor: pointer;
  font-family: var(--titre);
  font-size: 1rem;
  font-weight: 700;
  letter-spacing: -0.01em;
  line-height: 1.4;
  list-style: none;
}

/* Le triangle par défaut des navigateurs ne suit pas le reste du dessin. */
.faq-question::-webkit-details-marker {
  display: none;
}

.faq-question::marker {
  content: "";
}

.faq-question:hover {
  color: var(--rouge);
}

.faq-question .ico {
  width: 1.15rem;
  height: 1.15rem;
  flex: none;
  color: var(--encre-pale);
  transition: transform var(--transition), color var(--transition);
}

.faq-item[open] .faq-question .ico {
  transform: rotate(180deg);
  color: var(--rouge);
}

.faq-reponse {
  padding: 0 20px 20px;
  border-top: 1px solid var(--trait);
  margin-top: -1px;
  padding-top: 16px;
}

.faq-reponse p {
  color: var(--encre-douce);
  line-height: 1.7;
  font-size: 0.95rem;
}

.faq-reponse p + p {
  margin-top: 11px;
}

.faq-reponse a {
  color: var(--rouge);
  text-decoration: underline;
}

.faq-reponse strong {
  color: var(--encre);
}

.faq-pied {
  margin-top: 22px;
  font-size: 0.95rem;
  color: var(--encre-douce);
}

/* --------------------------------------------------------------------------
   15. TARIFS DE LOCATION (compact — activité accessoire)
   -------------------------------------------------------------------------- */

.tarifs {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.88rem;
  background: var(--blanc);
}

.tarifs th,
.tarifs td {
  padding: 11px 14px;
  text-align: left;
  border-bottom: 1px solid var(--trait);
}

.tarifs thead th {
  font-family: var(--donnee);
  font-size: 0.66rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--encre-pale);
  background: var(--beton-creux);
}

.tarifs tbody th {
  font-family: var(--donnee);
  font-size: 0.74rem;
  font-weight: 600;
  letter-spacing: 0.05em;
  color: var(--encre);
}

.tarifs .prix {
  font-family: var(--titre);
  font-weight: 800;
  font-size: 1rem;
  white-space: nowrap;
}

.tarifs tr:last-child th,
.tarifs tr:last-child td {
  border-bottom: none;
}

/* --------------------------------------------------------------------------
   16. FORMULAIRES
   -------------------------------------------------------------------------- */

.champ {
  display: block;
  margin-bottom: 15px;
}

.champ-intitule {
  display: block;
  margin-bottom: 6px;
  font-size: 0.83rem;
  font-weight: 600;
  color: var(--encre);
}

.champ-aide {
  display: block;
  margin-top: 5px;
  font-size: 0.78rem;
  color: var(--encre-pale);
}

.controle {
  width: 100%;
  padding: 11px 13px;
  background: var(--blanc);
  border: 1px solid var(--trait-fort);
  border-radius: var(--r-s);
  font-size: 0.94rem;
  transition: border-color var(--transition), box-shadow var(--transition);
}

.controle:focus {
  outline: none;
  border-color: var(--rouge);
  box-shadow: 0 0 0 3px var(--rouge-voile);
}

.controle:invalid:not(:placeholder-shown) {
  border-color: var(--rouge);
}

textarea.controle {
  min-height: 110px;
  resize: vertical;
}

.grille-champs {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0 16px;
}

.consentement {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  margin: 4px 0 18px;
  font-size: 0.82rem;
  line-height: 1.55;
  color: var(--encre-douce);
}

.consentement input {
  margin-top: 0.25em;
  width: 16px;
  height: 16px;
  flex: none;
  accent-color: var(--rouge);
}

.consentement a {
  color: var(--rouge);
  text-decoration: underline;
}

/* Piège à robots : invisible pour l'humain, rempli par les scripts. */
.piege {
  position: absolute;
  left: -9999px;
  width: 1px;
  height: 1px;
  overflow: hidden;
}

.retour-formulaire {
  margin-top: 14px;
  padding: 13px 15px;
  border-radius: var(--r-s);
  font-size: 0.88rem;
  line-height: 1.5;
  display: none;
}

.retour-formulaire.est-visible {
  display: block;
}

.retour-formulaire--succes {
  background: var(--vert-voile);
  border: 1px solid rgba(21, 127, 82, 0.3);
  color: #0d5c3a;
}

.retour-formulaire--erreur {
  background: var(--rouge-voile);
  border: 1px solid rgba(200, 16, 46, 0.3);
  color: var(--rouge-sombre);
}

/* --------------------------------------------------------------------------
   17. CONTACT
   -------------------------------------------------------------------------- */

.grille-contact {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
  align-items: start;
}

.bloc-info {
  padding: 26px;
  background: var(--blanc);
  border: 1px solid var(--trait);
  border-radius: var(--r-m);
}

.bloc-info .titre-l {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 20px;
  padding-bottom: 16px;
  border-bottom: 1px solid var(--trait);
}

.bloc-info .titre-l .ico {
  color: var(--rouge);
  width: 1.15rem;
  height: 1.15rem;
}

.coordonnees {
  display: grid;
  gap: 16px;
}

.coordonnee {
  display: flex;
  align-items: flex-start;
  gap: 13px;
}

.coordonnee > .ico {
  color: var(--rouge);
  width: 1.05rem;
  height: 1.05rem;
  margin-top: 0.3em;
  flex: none;
}

.coordonnee-intitule {
  display: block;
  font-family: var(--donnee);
  font-size: 0.66rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--encre-pale);
  margin-bottom: 3px;
}

.coordonnee-valeur {
  font-size: 0.95rem;
  font-weight: 600;
  line-height: 1.5;
}

.coordonnee-valeur a {
  border-bottom: 1px solid var(--trait-fort);
  transition: border-color var(--transition);
}

.coordonnee-valeur a:hover {
  border-bottom-color: var(--rouge);
  color: var(--rouge);
}

.horaires {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.89rem;
}

.horaires th,
.horaires td {
  padding: 9px 0;
  text-align: left;
  border-bottom: 1px solid var(--trait);
}

.horaires th {
  font-weight: 600;
  color: var(--encre-douce);
}

.horaires td {
  text-align: right;
  font-family: var(--donnee);
  font-size: 0.8rem;
  color: var(--encre);
}

.horaires tr:last-child th,
.horaires tr:last-child td {
  border-bottom: none;
}

.horaires-intitule {
  margin: 20px 0 8px;
  font-family: var(--donnee);
  font-size: 0.68rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--encre-pale);
}

.horaires-intitule:first-child {
  margin-top: 0;
}

.carte-acces {
  margin-top: 20px;
  border: 1px solid var(--trait);
  border-radius: var(--r-m);
  overflow: hidden;
  background: var(--blanc);
}

.carte-acces iframe {
  width: 100%;
  height: 380px;
  border: 0;
}

/* --------------------------------------------------------------------------
   18. PIED DE PAGE
   -------------------------------------------------------------------------- */

.pied {
  background: var(--graphite);
  color: var(--encre-inverse-douce);
  padding: clamp(44px, 6vw, 62px) 0 26px;
  font-size: 0.9rem;
}

.pied-grille {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 34px;
  padding-bottom: 34px;
  border-bottom: 1px solid var(--graphite-3);
}

.pied-marque img {
  height: 36px;
  width: auto;
  margin-bottom: 16px;
  /* Le logo est prévu pour un fond clair : on l'éclaircit sur fond sombre. */
  filter: brightness(0) invert(1);
  opacity: 0.92;
}

.pied-marque p {
  max-width: 42ch;
  line-height: 1.6;
}

.pied-titre {
  margin-bottom: 14px;
  font-family: var(--donnee);
  font-size: 0.68rem;
  font-weight: 600;
  letter-spacing: 0.11em;
  text-transform: uppercase;
  color: var(--blanc);
}

.pied-liens {
  display: grid;
  gap: 9px;
}

.pied-liens a {
  color: var(--encre-inverse-douce);
  transition: color var(--transition);
}

.pied-liens a:hover {
  color: var(--blanc);
}

.pied-bas {
  display: flex;
  justify-content: space-between;
  gap: 18px;
  flex-wrap: wrap;
  padding-top: 22px;
  font-size: 0.82rem;
  color: var(--encre-inverse-pale);
}

.pied-bas a {
  border-bottom: 1px solid rgba(255, 255, 255, 0.25);
}

.pied-bas a:hover {
  color: var(--blanc);
  border-bottom-color: var(--blanc);
}

.pied-identite {
  font-family: var(--donnee);
  font-size: 0.72rem;
  letter-spacing: 0.04em;
}

/* --------------------------------------------------------------------------
   19. BARRE D'ACTION MOBILE
   --------------------------------------------------------------------------
   Sur téléphone, appeler est l'action numéro un d'un garage. Elle doit être
   atteignable à tout moment, sans remonter la page.
   -------------------------------------------------------------------------- */

.barre-mobile {
  display: none;
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  z-index: 300;
  background: rgba(255, 255, 255, 0.97);
  backdrop-filter: blur(10px);
  border-top: 1px solid var(--trait);
  padding: 9px 10px calc(9px + env(safe-area-inset-bottom));
  gap: 8px;
  box-shadow: 0 -4px 20px rgba(18, 22, 27, 0.1);
}

.barre-mobile .btn {
  flex: 1;
  padding: 12px 8px;
  font-size: 0.86rem;
}

/* --------------------------------------------------------------------------
   21. BANDEAU DE CONSENTEMENT
   -------------------------------------------------------------------------- */

.consentement-cookies {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  z-index: 500;
  display: none;
  padding: 18px var(--gouttiere);
  background: var(--graphite);
  color: var(--encre-inverse);
  border-top: 2px solid var(--rouge);
  box-shadow: 0 -8px 32px rgba(0, 0, 0, 0.3);
}

.consentement-cookies.est-visible {
  display: block;
}

.consentement-cookies .conteneur {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  flex-wrap: wrap;
  padding: 0;
}

.consentement-texte {
  flex: 1;
  min-width: 260px;
  font-size: 0.86rem;
  line-height: 1.6;
  color: var(--encre-inverse-douce);
}

.consentement-texte a {
  color: var(--blanc);
  text-decoration: underline;
}

.consentement-actions {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
}

/* --------------------------------------------------------------------------
   22. PAGES DE TEXTE (mentions légales, confidentialité)
   -------------------------------------------------------------------------- */

.page-texte {
  padding: clamp(40px, 6vw, 70px) 0 clamp(54px, 8vw, 90px);
}

.page-texte .conteneur {
  max-width: 760px;
}

.page-texte h2 {
  font-family: var(--titre);
  font-size: 1.3rem;
  font-weight: 700;
  letter-spacing: -0.015em;
  margin: 38px 0 12px;
  padding-top: 22px;
  border-top: 1px solid var(--trait);
}

.page-texte h3 {
  font-family: var(--titre);
  font-size: 1rem;
  font-weight: 700;
  margin: 22px 0 8px;
}

.page-texte p,
.page-texte li {
  color: var(--encre-douce);
  line-height: 1.7;
  margin-bottom: 12px;
}

.page-texte ul {
  padding-left: 20px;
  list-style: disc;
}

.page-texte li {
  margin-bottom: 7px;
}

.page-texte a {
  color: var(--rouge);
  text-decoration: underline;
}

.page-texte dl {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 8px 20px;
  margin: 16px 0 20px;
  padding: 18px 20px;
  background: var(--blanc);
  border: 1px solid var(--trait);
  border-radius: var(--r-m);
}

.page-texte dt {
  font-family: var(--donnee);
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--encre-pale);
  padding-top: 0.25em;
}

.page-texte dd {
  font-size: 0.95rem;
  color: var(--encre);
}

.maj {
  font-family: var(--donnee);
  font-size: 0.74rem;
  letter-spacing: 0.06em;
  color: var(--encre-pale);
}

/* --------------------------------------------------------------------------
   23. ADAPTATIONS
   -------------------------------------------------------------------------- */

@media (max-width: 1080px) {
  .grille--4 {
    grid-template-columns: repeat(2, 1fr);
  }
  .pied-grille {
    grid-template-columns: 1fr 1fr;
    gap: 28px;
  }
  .pied-marque {
    grid-column: 1 / -1;
  }
}

@media (max-width: 940px) {
  .navigation {
    position: fixed;
    top: var(--hauteur-entete);
    left: 0;
    right: 0;
    z-index: 190;
    flex-direction: column;
    align-items: stretch;
    gap: 2px;
    padding: 14px var(--gouttiere) 20px;
    background: var(--blanc);
    border-bottom: 1px solid var(--trait);
    box-shadow: var(--ombre-m);
    transform: translateY(-120%);
    visibility: hidden;
    transition: transform var(--transition), visibility var(--transition);
  }

  .navigation.est-ouverte {
    transform: translateY(0);
    visibility: visible;
  }

  .nav-lien {
    padding: 12px 10px;
    font-size: 0.95rem;
    border-bottom: 1px solid var(--trait);
    border-radius: 0;
  }

  .nav-lien:last-child {
    border-bottom: none;
  }

  .bascule-menu {
    display: inline-flex;
  }

  .actions-entete .btn {
    display: none;
  }

  .grille--3,
  .grille--texte-image,
  .grille-contact {
    grid-template-columns: 1fr;
  }

  /* La photo passe au-dessus du texte : on regarde les voitures d'abord. */
  .grille--texte-image .visuel-associe {
    order: -1;
  }

  .barre-mobile {
    display: flex;
  }

  /* Place pour la barre d'action fixe. */
  body {
    padding-bottom: 66px;
  }

  .consentement-cookies {
    bottom: 66px;
  }
}

@media (max-width: 720px) {
  .bandeau-coordonnees {
    gap: 14px;
    font-size: 0.76rem;
  }

  /* On masque l'adresse, jamais les numéros : le téléphone reste la première
     action possible depuis un mobile. */
  .bandeau-adresse {
    display: none;
  }

  .grille--2,
  .grille--4,
  .grille-champs {
    grid-template-columns: 1fr;
  }

  .registre {
    margin-left: var(--gouttiere);
    margin-right: var(--gouttiere);
  }

  .ligne-controle {
    grid-template-columns: 1fr auto;
    gap: 6px 12px;
  }

  .ligne-filet {
    display: none;
  }

  .faits {
    gap: 20px 32px;
  }

  .modale {
    padding: 24px 20px;
  }

  .page-texte dl {
    grid-template-columns: 1fr;
    gap: 2px;
  }

  .page-texte dt {
    margin-top: 10px;
  }
}

@media (max-width: 480px) {
  .heros-actions .btn {
    width: 100%;
  }

  .bandeau-haut .conteneur {
    justify-content: center;
  }
}

/* --------------------------------------------------------------------------
   24. IMPRESSION
   -------------------------------------------------------------------------- */

@media print {
  .entete,
  .barre-mobile,
  .consentement-cookies,
  .voile,
  .bande-partenaires,
  .carte-acces {
    display: none !important;
  }

  body {
    background: #fff;
    padding-bottom: 0;
  }

  .heros,
  .registre,
  .section--sombre,
  .pied {
    background: #fff !important;
    color: #000 !important;
  }
}
