/* Réflex Pièces Auto — feuille de style du site
   Couleurs : jaune du logo #FFCC00, noir #111111 */

:root {
  --jaune: #FFCC00;
  --noir: #111111;
  --noir-profond: #080808;
  --gris-fonce: #191919;
  --carte: #1E1E1E;
  --trait: #3A3A3A;
  --clair: #F4F2EE;
  --texte: #F4F2EE;
  --texte-doux: #CCCCCC;
  --texte-sombre: #3A3A3A;
  --largeur: 1240px;
  --titres: 'Barlow Condensed', 'Arial Narrow', Arial, sans-serif;
  --corps: 'Barlow', 'Helvetica Neue', Arial, sans-serif;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--noir);
  color: var(--texte);
  font-family: var(--corps);
  font-size: 17px;
  line-height: 1.5;
}
img { max-width: 100%; height: auto; display: block; }
a { color: inherit; }
a:hover { opacity: .85; }
:focus-visible { outline: 3px solid var(--jaune); outline-offset: 3px; }
h1, h2, h3 { margin: 0; font-family: var(--titres); font-weight: 700; text-transform: uppercase; line-height: 1; }
p { margin: 0; }

.conteneur { max-width: var(--largeur); margin: 0 auto; padding-left: 32px; padding-right: 32px; }
.section { padding-top: 96px; padding-bottom: 96px; }
.section-claire { background: var(--clair); color: var(--noir); }
.section-grise { background: var(--gris-fonce); }
.surtitre { font-weight: 600; font-size: 15px; letter-spacing: 3px; color: var(--jaune); text-transform: uppercase; }
.section-claire .surtitre { color: #4A4A4A; }
.titre-section { font-size: clamp(40px, 5vw, 60px); }
.entete-section { display: flex; flex-direction: column; gap: 12px; margin-bottom: 48px; }
.lien-evitement { position: absolute; left: -9999px; }
.lien-evitement:focus { left: 16px; top: 16px; z-index: 100; background: var(--jaune); color: var(--noir); padding: 12px 16px; }

/* Boutons */
.bouton { display: inline-block; text-decoration: none; font-weight: 600; font-size: 18px; padding: 16px 28px; border-radius: 4px; border: 2px solid transparent; text-align: center; }
.bouton-jaune { background: var(--jaune); color: var(--noir); border-color: var(--jaune); }
.bouton-contour { border-color: currentColor; }
.bouton-noir { background: var(--noir); color: #FFFFFF; border-color: var(--noir); }
.bouton-petit { font-size: 16px; padding: 12px 20px; }

/* Barre du haut et en-tête */
.barre-infos { background: var(--noir-profond); color: #BDBDBD; font-size: 14px; }
.barre-infos .conteneur { padding-top: 10px; padding-bottom: 10px; display: flex; flex-wrap: wrap; gap: 6px 32px; justify-content: space-between; }
.entete { background: #FFFFFF; color: var(--noir); position: sticky; top: 0; z-index: 50; box-shadow: 0 1px 0 rgba(0,0,0,.12); }
.entete .conteneur { max-width: 1440px; padding-top: 12px; padding-bottom: 12px; display: flex; flex-wrap: wrap; gap: 12px 28px; align-items: center; justify-content: space-between; }
.entete .logo img { height: 52px; width: auto; }
.menu { display: flex; flex-wrap: wrap; gap: 4px 26px; font-weight: 600; font-size: 16px; }
.menu a { text-decoration: none; padding: 12px 0; border-bottom: 3px solid transparent; }
.menu a[aria-current="page"] { border-bottom-color: var(--jaune); }
.entete-actions { display: flex; flex-wrap: wrap; gap: 12px; }
.bouton-menu { display: none; width: 48px; height: 48px; border: 2px solid var(--noir); border-radius: 4px; background: #FFFFFF; align-items: center; justify-content: center; padding: 0; cursor: pointer; }

/* Bandeau d'accueil */
.bandeau { position: relative; min-height: 840px; display: flex; align-items: flex-end; overflow: hidden; }
.bandeau > img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: center top; }
.bandeau::after { content: ""; position: absolute; inset: 0; background: linear-gradient(to bottom, rgba(8,8,8,0) 42%, rgba(8,8,8,.9) 74%); }
.bandeau-texte { position: relative; z-index: 1; width: 100%; padding-top: 96px; padding-bottom: 56px; display: flex; flex-direction: column; gap: 24px; }
.bandeau h1 { font-size: clamp(44px, 6vw, 84px); line-height: .95; }
.bandeau p { font-size: 21px; max-width: 640px; color: #E3E0DA; }
.groupe-boutons { display: flex; flex-wrap: wrap; gap: 16px; }
.filet-jaune { height: 8px; background: var(--jaune); }

/* En-tête des pages intérieures */
.tete-page .conteneur { padding-top: 72px; padding-bottom: 72px; display: flex; flex-wrap: wrap; gap: 48px; align-items: center; }
.tete-page-texte { flex: 1 1 460px; display: flex; flex-direction: column; gap: 20px; }
.tete-page h1 { font-size: clamp(48px, 7vw, 96px); line-height: .95; }
.tete-page p { font-size: 21px; color: #E3E0DA; max-width: 560px; }
.tete-page-photo { flex: 1 1 420px; }
.tete-page-photo img { width: 100%; height: 440px; object-fit: cover; border-radius: 6px; }
.fil { font-weight: 600; font-size: 15px; letter-spacing: 3px; color: var(--jaune); text-transform: uppercase; }
.fil a { text-decoration: none; }

/* Chiffres clés */
.chiffres { display: flex; flex-wrap: wrap; gap: 32px 40px; padding-top: 48px; padding-bottom: 48px; }
.chiffre { flex: 1 1 220px; display: flex; flex-direction: column; gap: 4px; }
.chiffre strong { font-family: var(--titres); font-weight: 700; font-size: 68px; line-height: 1; color: var(--jaune); }
.chiffre span { color: var(--texte-doux); }

/* Cartes */
.grille { display: flex; flex-wrap: wrap; gap: 24px; }
.carte { flex: 1 1 260px; background: var(--carte); border-radius: 6px; overflow: hidden; display: flex; flex-direction: column; }
.carte > img { width: 100%; height: 220px; object-fit: cover; }
.carte-corps { padding: 24px; display: flex; flex-direction: column; gap: 12px; flex-grow: 1; }
.carte-numero { font-family: var(--titres); font-weight: 600; font-size: 16px; letter-spacing: 2px; color: var(--jaune); }
.carte h3 { font-size: 32px; }
.carte p { color: var(--texte-doux); flex-grow: 1; }
.carte .lien { font-weight: 600; padding: 12px 0; }
.carte-large { flex: 1 1 340px; }
.carte-large h3 { font-size: 30px; line-height: 1.05; }
.carte-claire { background: var(--clair); color: var(--noir); }
.carte-claire p { color: var(--texte-sombre); }
.carte-claire .grand { font-family: var(--titres); font-weight: 700; font-size: 72px; line-height: 1; }

/* Engagements et marques */
.engagements { display: flex; flex-wrap: wrap; gap: 40px 64px; }
.engagements > div { flex: 1 1 280px; display: flex; flex-direction: column; gap: 12px; }
.engagements .intro { flex: 1 1 320px; }
.engagement { border-top: 4px solid var(--noir); padding-top: 20px; }
.engagement h3 { font-size: 30px; line-height: 1.05; }
.engagement p { color: var(--texte-sombre); }
.marques { margin-top: 56px; display: flex; flex-direction: column; align-items: center; gap: 16px; }
.marques-titre { font-size: 14px; letter-spacing: 2px; font-weight: 600; color: #4A4A4A; text-transform: uppercase; text-align: center; }
.marques ul { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(5, 152px); justify-content: center; gap: 12px; }
.marques img { width: 152px; height: 76px; object-fit: contain; background: #FFFFFF; border: 1px solid #D5D2CB; border-radius: 4px; }

/* Listes */
.familles { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); gap: 0 32px; }
.familles li { padding: 14px 0; border-bottom: 1px solid #BEBAB2; font-weight: 500; }
.liste-equipement { flex: 2 1 520px; display: flex; flex-direction: column; margin: 0; padding: 0; list-style: none; }
.liste-equipement li { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 4px 24px; padding: 20px 0; border-top: 1px solid #BEBAB2; }
.liste-equipement li:first-child { border-top: 2px solid var(--noir); }
.liste-equipement li:last-child { border-bottom: 1px solid #BEBAB2; }
.liste-equipement strong { font-weight: 600; font-size: 20px; }
.liste-equipement span { color: var(--texte-sombre); }
.deux-colonnes { display: flex; flex-wrap: wrap; gap: 48px 64px; }
.deux-colonnes > .colonne { flex: 1 1 380px; display: flex; flex-direction: column; gap: 20px; }
.deux-colonnes img { border-radius: 6px; width: 100%; object-fit: cover; }
.texte-doux { color: var(--texte-doux); }
.section-claire .texte-doux { color: var(--texte-sombre); }

/* Galerie */
.galerie { display: grid; grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); gap: 16px; }
.galerie img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; border-radius: 6px; }
.galerie.carree img { aspect-ratio: 1 / 1; }

/* Bandeau d'appel */
.appel { background: var(--jaune); color: var(--noir); }
.appel .conteneur { padding-top: 64px; padding-bottom: 64px; display: flex; flex-wrap: wrap; gap: 24px 48px; align-items: center; justify-content: space-between; }
.appel h2 { flex: 1 1 480px; font-size: clamp(34px, 4vw, 48px); }

/* Contact */
.contact { display: flex; flex-wrap: wrap; gap: 48px; }
.contact-infos { flex: 1 1 380px; display: flex; flex-direction: column; gap: 28px; }
.coordonnees { display: flex; flex-direction: column; gap: 6px; font-size: 19px; font-style: normal; }
.coordonnees a { padding: 8px 0; }
.coordonnees .tel { font-weight: 600; }
.horaires { width: 100%; border-collapse: collapse; }
.horaires th, .horaires td { padding: 14px 0; border-bottom: 1px solid var(--trait); text-align: left; font-weight: 400; }
.horaires tr:first-child th, .horaires tr:first-child td { border-top: 1px solid var(--trait); }
.horaires td { text-align: right; font-weight: 600; }
.horaires .ferme { color: #BDBDBD; font-weight: 400; }
.contact-plan { flex: 1 1 420px; min-height: 420px; border-radius: 6px; overflow: hidden; position: relative; display: flex; align-items: flex-end; }
.contact-plan img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.contact-plan .bouton { position: relative; margin: 24px; }

.suivez { display: flex; flex-direction: column; gap: 12px; }
.reseaux { display: flex; flex-wrap: wrap; gap: 12px; }
.reseaux a { display: inline-flex; align-items: center; gap: 10px; text-decoration: none; font-weight: 600; padding: 12px 20px; border: 2px solid var(--jaune); border-radius: 4px; color: var(--jaune); }
.reseaux a:hover { background: var(--jaune); color: var(--noir); opacity: 1; }
.reseaux-pied { width: 100%; }
.reseaux img { width: 22px; height: 22px; }
.reseaux-pied a { padding: 8px 16px; font-size: 14px; }
.reseaux-pied img { width: 18px; height: 18px; }

/* Accès pro */
.acces { flex: 1 1 280px; background: #FFFFFF; color: var(--noir); border-radius: 6px; padding: 28px; display: flex; flex-direction: column; gap: 20px; align-items: flex-start; }
.acces img { width: 220px; height: 110px; object-fit: contain; }

/* Texte courant (mentions légales) */
.prose { max-width: 760px; display: flex; flex-direction: column; gap: 16px; }
.prose h2 { font-size: 30px; margin-top: 24px; }
.prose a { text-decoration: underline; }

/* Pied de page */
.pied { background: var(--noir-profond); color: #BDBDBD; font-size: 15px; }
.pied .conteneur { padding-top: 32px; padding-bottom: 32px; display: flex; flex-wrap: wrap; gap: 12px 32px; justify-content: space-between; }
.pied nav { display: flex; flex-wrap: wrap; gap: 8px 20px; }
.pied a { text-decoration: none; padding: 6px 0; }

/* Écrans étroits */
@media (max-width: 1280px) {
  .bouton-menu { display: flex; }
  .menu, .entete-actions { display: none; width: 100%; }
  .entete.ouvert .menu { display: flex; flex-direction: column; gap: 0; }
  .entete.ouvert .menu a { padding: 14px 0; border-bottom: 1px solid #E2E2E2; }
  .entete.ouvert .entete-actions { display: flex; padding-bottom: 8px; }
}
@media (max-width: 700px) {
  body { font-size: 16px; }
  .conteneur { padding-left: 20px; padding-right: 20px; }
  .section { padding-top: 56px; padding-bottom: 56px; }
  .entete .logo img { height: 38px; }
  .barre-infos .adresse { display: none; }
  .bandeau { min-height: 0; flex-direction: column; align-items: stretch; }
  .bandeau > img { position: static; height: 250px; object-position: center 30%; }
  .bandeau::after { display: none; }
  .bandeau-texte { padding-top: 28px; padding-bottom: 32px; gap: 16px; }
  .bandeau p { font-size: 17px; }
  .bandeau .bouton, .appel .bouton { width: 100%; }
  .tete-page .conteneur { padding-top: 40px; padding-bottom: 40px; gap: 28px; }
  .tete-page p { font-size: 18px; }
  .tete-page-photo img { height: 260px; }
  .chiffres { padding-top: 28px; padding-bottom: 28px; gap: 24px 16px; }
  .chiffre { flex: 1 1 140px; }
  .chiffre strong { font-size: 44px; }
  .chiffre span { font-size: 14px; }
  .entete-section { margin-bottom: 28px; }
  .marques ul { grid-template-columns: repeat(2, 132px); }
  .marques img { width: 132px; height: 66px; }
  .appel .conteneur { padding-top: 40px; padding-bottom: 40px; }
  .contact-plan { min-height: 260px; }
}
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }
