/* ==========================================================================
   1. RESET & BASE STYLES
   ========================================================================== */
*,
*::before,
*::after {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth; /* Pour un défilement doux avec les ancres */
  font-size: 100%; /* Base pour le REM, 1rem = 16px par défaut */
}

body {
  font-family: "Open Sans", "Open Sans Condensed", sans-serif; /* Open Sans en premier choix plus standard */
  font-size: 1rem; /* 16px, ajusté avec des REM ou EM plus tard */
  background-color: #ffffff;
  color: #333333; /* Gris foncé standard pour le texte */
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden; /* Empêche le scroll horizontal */
}

img {
  display: block;
  max-width: 100%;
  height: auto;
  vertical-align: middle; /* Meilleur alignement vertical par défaut */
}

a {
  text-decoration: none;
  color: #007bff; /* Couleur de lien standard, à personnaliser */
  transition: color 0.25s ease;
}
a:hover {
  color: #0056b3; /* Assombrir au survol */
}

h1, h2, h3, h4, h5, h6 {
  font-family: "Open Sans Condensed", "Open Sans", sans-serif;
  color: #222222; /* Titres un peu plus foncés */
  margin-bottom: 0.75rem; /* Marge inférieure standard pour les titres */
  line-height: 1.3; /* Interligne plus serré pour les titres */
  font-weight: 600; /* Titres en semi-gras par défaut */
}
h1 { font-size: 2.5rem; } /* Tailles de base, ajuster avec media queries */
h2 { font-size: 2rem; }
h3 { font-size: 1.75rem; }
h4 { font-size: 1.5rem; }
h5 { font-size: 1.25rem; }
h6 { font-size: 1rem; }


/* ==========================================================================
   2. GLOBAL UTILITIES & LAYOUT
   ========================================================================== */

.container {
  max-width: 1140px;
  margin-left: auto;
  margin-right: auto;
  padding-left: 1rem;
  padding-right: 1rem;
  width: 100%;
}

.section-padding {
  padding-top: 3rem;
  padding-bottom: 3rem;
}

.full-width-section {
  width: 100vw;
  position: relative;
  left: 50%;
  right: 50%;
  margin-left: -50vw;
  margin-right: -50vw;
  box-sizing: border-box;
}
.full-width-section > .container {
  max-width: 1140px;
  margin-left: auto;
  margin-right: auto;
  padding-left: 1rem;
  padding-right: 1rem;
}

/* ==========================================================================
   3. NAVBAR (Refonte esthétique)
   ========================================================================== */

.navbar {
  background-color: #ffffff;
  height: 70px;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.05), 0 1px 2px rgba(0, 0, 0, 0.03);
  display: flex;
  align-items: center;
  padding-left: 0.5rem;
  padding-right: 1rem;
  position: sticky;
  top: 0;
  z-index: 1000;
  width: 100%;
}

.navbar-container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  height: 100%;
}

.logo-link {
  display: flex;
  align-items: center;
  text-decoration: none;
  flex-shrink: 0;
  margin-right: 1rem;
}

.logo-text-navbar {
  font-family: "Open Sans Condensed", "Open Sans", sans-serif;
  font-size: 1.7rem;
  font-weight: 700;
  color: #275E73;
  letter-spacing: -0.5px;
  transition: color 0.2s ease;
}

.logo-text-navbar:hover {
  color: #1c4656;
}

.nav-links {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
}

.main-nav-wrapper,
.auth-links-wrapper {
  display: flex;
  align-items: center;
}

.main-nav-items {
  display: flex;
  align-items: center;
  list-style: none;
  padding: 0;
  margin: 0;
}

.auth-nav-items {
  display: none !important; /* caché en desktop */
}

.auth-links-desktop {
  display: flex !important;
  gap: 0.75rem;
  align-items: center;
}

@media (max-width: 991.98px) {
  .auth-nav-items {
    display: flex !important;
    flex-direction: column;
    list-style: none;
    margin: 1.5rem 0 0 0;
    padding-top: 1rem;
    border-top: 1px solid #e9ecef;
    gap: 0.8rem;
    width: 100%;
  }

  .auth-nav-items li {
    width: 100%;
    text-align: center;
  }

  .auth-nav-items a {
    background-color: rgba(39, 94, 115, 0.05);
    padding: 0.9rem 1.2rem;
    border-radius: 6px;
    font-weight: 600;
    display: block;
    color: #275E73;
    border: 1px solid #275E73;
  }

  .auth-nav-items a:last-child {
    background-color: #275E73;
    color: white;
    border: none;
  }

  .auth-nav-items a:hover {
    background-color: #1c4656;
    color: white;
  }

  .auth-links-desktop {
    display: none !important;
  }
}


.auth-links-desktop a {
  font-size: 0.825rem;
  font-weight: 600;
  text-transform: uppercase;
  padding: 0.45rem 1rem;
  border-radius: 25px;
  transition: all 0.25s ease;
}

.auth-links-desktop a:first-child {
  border: 1px solid #275E73;
  background-color: transparent;
  color: #275E73;
  margin-right: 0.5rem;
}

.auth-links-desktop a:first-child:hover {
  background-color: #275E73;
  color: #fff;
}

.auth-links-desktop a:last-child {
  background-color: #275E73;
  color: #ffffff;
  border: 1px solid transparent;
}

.auth-links-desktop a:last-child:hover {
  background-color: #1e4859;
}

.nav-links ul {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  align-items: center;
}

.nav-links li {
  position: relative;
  margin: 0 0.25rem;
}

.nav-links a,
.nav-links .dropdown-toggle {
  display: block;
  padding: 0.6rem 0.9rem;
  color: #555e68;
  font-family: "Open Sans", "Open Sans Condensed", sans-serif;
  font-weight: 500;
  text-transform: uppercase;
  font-size: 0.825rem;
  letter-spacing: 0.6px;
  transition: color 0.2s ease, background-color 0.2s ease;
  border-radius: 5px;
  position: relative;
}

.nav-links a:hover,
.nav-links .dropdown-toggle:hover,
.nav-links li.active > a,
.nav-links li.active > .dropdown-toggle,
.nav-links li.has-dropdown:hover > .dropdown-toggle {
  color: #275E73;
  background-color: rgba(39, 94, 115, 0.07);
}

.nav-links > ul > li > a::after,
.nav-links > ul > li > .dropdown-toggle::after {
  content: '';
  position: absolute;
  bottom: -2px;
  left: 50%;
  transform: translateX(-50%);
  width: 0;
  height: 2px;
  background-color: #275E73;
  transition: width 0.25s ease;
}

.nav-links > ul > li > a:hover::after,
.nav-links > ul > li > .dropdown-toggle:hover::after,
.nav-links > ul > li.active > a::after {
  width: 60%;
}

.dropdown-toggle .dropdown-arrow {
  font-size: 0.65em;
  margin-left: 0.4rem;
  transition: transform 0.25s ease;
  display: inline-block;
}
.nav-links li.has-dropdown:hover > .dropdown-toggle .dropdown-arrow {
  transform: rotate(180deg);
}

.dropdown-menu {
  display: none;
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  position: absolute;
  top: calc(100% + 2px);
  left: 50%;
  background-color: #ffffff;
  min-width: 200px;
  box-shadow: 0 5px 15px rgba(0,0,0,0.08), 0 2px 5px rgba(0,0,0,0.04);
  border: 1px solid #e9ecef;
  border-radius: 6px;
  padding: 0.5rem 0;
  z-index: 1001;
  transform: translateX(-50%) translateY(5px);
  transition: opacity 0.2s ease-out, transform 0.2s ease-out, visibility 0s linear 0.2s;
}

.nav-links li.has-dropdown:hover > .dropdown-menu {
  display: block;
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
  transform: translateX(-50%) translateY(0);
  transition-delay: 0s;
}

.dropdown-menu li {
  margin: 0;
}
.dropdown-menu li a {
  display: block;
  padding: 0.7rem 1.2rem;
  font-size: 0.8rem;
  font-weight: 400;
  text-transform: none;
  white-space: nowrap;
  color: #495057;
  transition: background-color 0.15s ease, color 0.15s ease;
}
.dropdown-menu li a:hover {
  background-color: #275E73;
  color: #ffffff;
}

.mobile-nav-toggle {
  display: none;
  z-index: 1005;
}

@media (max-width: 991.98px) {
  .mobile-nav-toggle {
    display: flex;
    align-items: center;
    justify-content: center;
    height: 40px;
    width: 40px;
  }

  .nav-links {
    display: none;
    position: fixed;
    top: 0;
    left: -100%;
    width: 80%;
    max-width: 300px;
    height: 100vh;
    background-color: #ffffff;
    flex-direction: column;
    align-items: stretch;
    padding: 60px 0 20px 0;
    box-shadow: 5px 0 15px rgba(0,0,0,0.1);
    transition: left 0.3s ease-in-out;
    overflow-y: auto;
    margin-left: 0;
  }

  .nav-links.active {
    display: flex;
    left: 0;
  }

  .nav-links ul {
    flex-direction: column;
    width: 100%;
  }

  .nav-links li {
    margin: 0;
    width: 100%;
  }

  .nav-links > ul > li {
    border-bottom: 1px solid #f0f0f0;
  }

  .nav-links > ul > li:last-child {
    border-bottom: none;
  }

  .nav-links > ul > li > a::after,
  .nav-links > ul > li > .dropdown-toggle::after {
    display: none;
  }

  .nav-links a,
  .nav-links .dropdown-toggle {
    padding: 0.9rem 1.5rem;
    font-size: 0.9rem;
    border-radius: 0;
  }

  .nav-links a:hover,
  .nav-links .dropdown-toggle:hover {
    background-color: rgba(39, 94, 115, 0.05);
  }

  .dropdown-menu {
    position: static;
    box-shadow: none;
    border: none;
    border-top: 1px solid #f0f0f0;
    padding-left: 1rem;
    background-color: #f9f9fa;
    width: 100%;
    display: none;
    animation: none;
  }

  .nav-links li.has-dropdown.dropdown-open > .dropdown-menu {
    display: block;
  }

  .dropdown-menu li a {
    padding: 0.8rem 1.5rem;
  }
}

.auth-links-desktop {
  display: flex;
  gap: 0.75rem;
  align-items: center;
}

.auth-links-desktop a {
  font-size: 0.825rem;
  font-weight: 600;
  text-transform: uppercase;
  padding: 0.45rem 1rem;
  border-radius: 25px;
  transition: all 0.25s ease;
}

.auth-links-desktop a:first-child {
  border: 1px solid #275E73;
  background-color: transparent;
  color: #275E73;
  margin-right: 0.5rem;
}

.auth-links-desktop a:first-child:hover {
  background-color: #275E73;
  color: #fff;
}

.auth-links-desktop a:last-child {
  background-color: #275E73;
  color: #ffffff;
  border: 1px solid transparent;
}

.auth-links-desktop a:last-child:hover {
  background-color: #1e4859;
}

@media (max-width: 991.98px) {
  .auth-links-desktop {
    display: none;
  }
}

/* ==========================================================================
   4. SECTION HERO
   ========================================================================== */

.hero {
  background: url('../img/vitrine1.jpg') center center / cover no-repeat; */ /* Décommenter si vous avez l'image */
  background-color: #e9f2f5; /* Couleur de fond de secours si l'image ne charge pas */
  padding: 5rem 1rem;
  text-align: center;
  color: #333333;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  min-height: 60vh;
  position: relative; /* Pour le pseudo-élément ::before */
}
.hero::before { /* Superposition pour améliorer la lisibilité du texte sur l'image */
  content: "";
  position: absolute;
  top: 0; left: 0; right: 0; bottom: 0; /* inset: 0; */
  background-color: rgba(255, 255, 255, 0.80);
  z-index: 1; /* Sous le contenu, au-dessus du background-image */
}
.hero-content {
  position: relative; /* Pour s'afficher au-dessus du ::before */
  z-index: 2;
  max-width: 700px;
  margin: 0 auto;
}
.hero-logo-graphic {
  max-width: 350px; /* Ajusté */
  margin: 0 auto 1.5rem auto;
  animation: fadeInLogo 0.8s 0.2s ease-out backwards; /* Animation d'apparition */
  transition: transform 0.3s ease, filter 0.3s ease;
}
.hero-logo-graphic:hover {
  transform: scale(1.03) translateY(-3px);
  filter: drop-shadow(0px 5px 10px rgba(0, 0, 0, 0.12));
}
@keyframes fadeInLogo {
  from { opacity: 0; transform: translateY(20px); }
  to { opacity: 1; transform: translateY(0); }
}
.hero h1 {
  font-size: 2.5rem; /* Ajusté */
  color: #2D496B;
  margin-bottom: 0.5rem;
  font-weight: 700;
}
.hero-subheadline {
  font-size: 1.25rem;
  color: #568992;
  margin-bottom: 1.5rem;
  font-weight: 400;
}
.hero-tagline {
  font-size: 1rem;
  color: #2D496B;
  font-weight: 500; /* Un peu plus de poids */
}

/* ==========================================================================
   5. SECTION TARIFS BANDEAU & DEVIS RAPIDE
   ========================================================================== */

.tarifs-reparation-bandeau {
  background-color: #4A7C85;
  color: #ffffff;
  padding: 3rem 1rem; /* Padding vertical un peu réduit */
  text-align: center;
}
.tarifs-reparation-content h2 { /* Cibler le H2 directement */
  font-size: 2.5rem; /* Ajusté */
  margin: 0 0 2rem 0; /* Marge en bas pour espacer du bloc devis-rapide */
  color: #ffffff;
  font-weight: 700;
  letter-spacing: 1px;
  text-transform: uppercase;
}
.devis-rapide-intro {
  max-width: 800px; /* Un peu moins large */
  margin: 0 auto; /* Centré */
  padding: 2.5rem; /* Padding interne */
  background-color: rgba(255, 255, 255, 0.08);
  border-radius: 10px;
  border: 1px solid rgba(255, 255, 255, 0.15);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}
.devis-rapide-intro:hover {
  transform: translateY(-5px);
  box-shadow: 0 10px 20px rgba(0,0,0,0.08);
}
.devis-rapide-intro h3 {
  font-size: 1.8rem; /* Ajusté */
  color: #ffffff;
  margin-top: 0;
  margin-bottom: 1rem;
  font-weight: 600;
  position: relative;
  padding-bottom: 1rem;
}
.devis-rapide-intro h3::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 70px;
  height: 3px;
  background-color: rgba(255, 255, 255, 0.6);
  border-radius: 2px;
}
.devis-rapide-intro p {
  font-size: 1rem;
  color: #e0e0e0;
  line-height: 1.7;
  margin-bottom: 1.2rem;
}
.devis-rapide-intro p:last-of-type {
  margin-bottom: 0;
  padding: 1rem 1.3rem;
  background-color: rgba(0, 0, 0, 0.1);
  border-radius: 8px;
  color: #f5f5f5;
  font-style: italic;
}
.devis-rapide-intro strong {
  color: #FFFFFF;
  font-weight: 700;
}

/* Styles pour .services-categories (si toujours utilisés et pertinents ici) */
.services-categories {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); /* Un peu plus petit */
  gap: 1.5rem;
  text-align: left;
  margin-top: 2rem; /* Si affiché dans cette section */
}
.service-category h4 {
  font-size: 1.1rem; /* Ajusté */
  color: #ffffff;
  margin-bottom: 0.7rem;
  padding-bottom: 0.3rem;
  border-bottom: 1px solid rgba(255, 255, 255, 0.2);
}
.service-category ul {
  list-style: none;
  padding: 0;
}
.service-category li {
  margin-bottom: 0.4rem;
}
.service-category li a {
  font-size: 0.9rem;
  color: #d9d9d9;
}
.service-category li a:hover {
  color: #ffffff;
  text-decoration: underline;
}

/* ==========================================================================
   6. SECTION POURQUOI REPAIR CLUB
   ========================================================================== */
   
.pourquoi-repair-club-section {
  text-align: center;
}
/* Le .section-padding gère déjà le padding général */
.pourquoi-repair-club-section h2 {
  font-size: 1.9rem;
  margin-bottom: 0.75rem; /* Un peu plus d'espace sous le H2 lui-même */
  color: #4A7C85;
  font-weight: 600;
  display: inline-block; /* Pour que le ::after soit relatif au texte */
  position: relative;
  padding-bottom: 0.75rem; /* Espace pour la ligne en dessous */
}
.pourquoi-repair-club-section h2::after {
  content: '';
  position: absolute;
  bottom: 0; /* Ligne collée au padding-bottom du H2 */
  left: 50%;
  transform: translateX(-50%);
  width: 70px;
  height: 2.5px;
  background-color: #4A7C85;
  border-radius: 1px;
}
.pourquoi-blocs-container {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 1.8rem; /* Espacement ajusté */
  margin-top: 3rem; /* Espace après titre ajusté */
}
.pourquoi-bloc {
  padding: 1.5rem 1.3rem; /* Padding interne plus généreux */
  border-radius: 8px; /* Coins plus arrondis */
  color: #ffffff;
  transition: transform 0.25s ease, box-shadow 0.25s ease;
  text-align: center; /* Assurer le centrage du contenu */
}
.pourquoi-bloc:hover {
  transform: translateY(-6px);
  box-shadow: 0 10px 20px rgba(0,0,0,0.12);
}
.pourquoi-icon {
  max-height: 50px; /* Icônes un peu plus grandes */
  margin: 0 auto 1rem auto; /* Plus d'espace sous l'icône */
}
.pourquoi-bloc h3 {
  font-size: 1.1rem; /* Ajusté */
  margin-bottom: 0.8rem;
  color: #ffffff;
  font-weight: 600;
  line-height: 1.35;
}
.pourquoi-bloc p {
  font-size: 0.875rem; /* 14px, pour une meilleure lisibilité */
  line-height: 1.6;
  color: #ededed;
}
.pourquoi-bloc p:last-child {
  margin-bottom: 0;
}
.pourquoi-bloc.bloc-carte-mere { background-color: #7e8185; } /* Gris légèrement désaturé */
.pourquoi-bloc.bloc-service    { background-color: #365175; } /* Bleu plus profond */
.pourquoi-bloc.bloc-qualite    { background-color: #FFFFFF; color: #333333; border: 1px solid #e0e0e0; }
.pourquoi-bloc.bloc-qualite h3 { color: #365175; } /* Utiliser la couleur d'accent du service */
.pourquoi-bloc.bloc-qualite p  { color: #555555; }
.pourquoi-bloc.bloc-rapidite   { background-color: #4A7C85; }


/* ==========================================================================
   7. SECTION GOOGLE REVIEWS
   ========================================================================== */

.google-reviews-section {
  background-color: #f8f9fa;
  /* .section-padding gère le padding */
}
.google-reviews-section .container { /* Pour centrer le widget si besoin */
    /* Le widget Elfsight devrait gérer son propre centrage ou vous pouvez le styler ici si besoin */
}

/* ==========================================================================
   8. SECTION NOS MAGASINS
   ========================================================================== */

.magasins-section {
  background-color: #f8f9fa; /* Fond cohérent avec les avis */
  text-align: center;
}
.magasins-section h2 {
  font-size: 1.9rem;
  margin-bottom: 0.75rem;
  color: #4A7C85;
  font-weight: 600;
  display: inline-block;
  position: relative;
  padding-bottom: 0.75rem;
}
.magasins-section h2::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 70px;
  height: 2.5px;
  background-color: #4A7C85;
  border-radius: 1px;
}
.magasins-liste {
  margin-top: 3.5rem;
  display: grid;
  gap: 2.5rem;
}
.magasin-item {
  background-color: #ffffff;
  border: 1px solid #e9ecef; /* Bordure standard légère */
  border-radius: 10px; /* Coins un peu plus arrondis */
  box-shadow: 0 6px 18px rgba(0, 0, 0, 0.07);
  display: grid; /* Sera modifié par media query pour desktop */
  grid-template-columns: 1fr; /* Mobile: une colonne */
  overflow: hidden;
  text-align: left;
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}
.magasin-item:hover {
  transform: translateY(-5px);
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.1);
}
.magasin-details {
  padding: 2rem; /* Padding interne plus généreux */
}
.magasin-details h3 {
  font-size: 1.4rem; /* Titre de magasin un peu plus grand */
  color: #2D496B;
  margin-bottom: 1.2rem;
  font-weight: 600;
}
.magasin-details p {
  font-size: 0.9rem; /* Texte des détails */
  color: #495057; /* Gris standard pour texte */
  margin-bottom: 0.8rem;
  line-height: 1.6;
  display: flex;
  align-items: flex-start; /* Aligne l'icône et le texte en haut */
}
.magasin-details p i.fas {
  color: #4A7C85;
  margin-right: 1rem;
  font-size: 1em; /* Taille de l'icône relative au texte du <p> */
  width: 20px; /* Largeur fixe pour l'alignement */
  text-align: center;
  margin-top: 0.15em; /* Petit ajustement vertical */
  flex-shrink: 0;
}
.magasin-details p a {
  color: #007bff;
  font-weight: 500; /* Liens dans les détails en semi-gras */
}
.magasin-details p a:hover {
  color: #0056b3;
  text-decoration: underline;
}
.magasin-details .membre-repair-club {
  font-size: 0.85rem; /* Ajusté */
  font-style: italic;
  color: #6c757d;
  margin-top: -0.8rem; /* Rapprocher du titre */
  margin-bottom: 1.2rem;
}
.btn-itineraire {
  display: inline-block; /* Pour qu'il ne prenne pas toute la largeur sauf sur mobile */
  background-color: #4A7C85;
  color: #ffffff;
  padding: 0.9rem 1.8rem; /* Padding généreux */
  border-radius: 6px;
  font-weight: 600;
  font-size: 0.9rem;
  transition: background-color 0.2s ease, transform 0.2s ease;
  margin-top: 1.2rem;
}
.btn-itineraire:hover {
  background-color: #3c636b;
  transform: translateY(-2px);
}
.btn-itineraire i.fas {
  margin-left: 0.6rem;
}
.magasin-map iframe {
  display: block;
  width: 100%;
  height: 250px; /* Hauteur par défaut pour mobile */
  border: none;
}

/* ==========================================================================
   9. FOOTER
   ========================================================================== */
   
.site-footer {
  background-color: #3e6b73; /* Un peu plus foncé que la navbar pour distinction */
  color: #cedce0; /* Texte clair mais pas blanc pur */
  padding: 4rem 1rem 2rem 1rem; /* Padding généreux */
  margin-top: 4rem; /* Bon espacement avant le footer */
  font-size: 0.9rem; /* Taille de base pour le texte du footer */
  line-height: 1.7;
}
/* Si .full-width-section est utilisé, .site-footer .container est superflu */
.footer-content-wrapper {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 2.5rem 2rem; /* Espacement vertical et horizontal */
  margin-bottom: 3rem;
}
.footer-column h4 {
  font-family: "Open Sans Condensed", "Open Sans", sans-serif;
  font-size: 1.2rem; /* Titres de colonnes */
  color: #ffffff;
  margin-bottom: 1rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}
.footer-logo-text { /* Pour le logo texte dans le footer si différent de h4 */
  font-size: 1.6rem;
  font-weight: 700;
  color: #ffffff;
  margin-bottom: 1rem;
}
.footer-column p {
  margin-bottom: 0.8rem;
  color: #cedce0; /* Cohérent avec la couleur principale du footer */
}
.footer-column p:last-child {
  margin-bottom: 0;
}
.footer-column address { /* Style pour les adresses */
    font-style: normal; /* Enlève l'italique par défaut */
    margin-bottom: 1rem;
}
.footer-column address strong {
    color: #e9f2f5; /* Noms de magasins un peu plus clairs */
    display: block;
    margin-bottom: 0.25rem;
}
.footer-column a {
  color: #e0f2f7; /* Liens clairs */
}
.footer-column a:hover {
  color: #ffffff;
  text-decoration: underline;
}
.footer-quick-links ul {
  list-style: none;
  padding: 0;
  margin: 0;
}
.footer-quick-links li {
  margin-bottom: 0.5rem;
}
.social-icons a {
  display: inline-block;
  color: #ffffff;
  font-size: 1.5rem;
  margin-right: 1rem;
  transition: transform 0.2s ease, color 0.2s ease;
}
.social-icons a:last-child { margin-right: 0; }
.social-icons a:hover {
  color: #b2dfdb; /* Couleur de survol subtile */
  transform: scale(1.12);
}
.footer-bottom {
  text-align: center;
  padding-top: 2rem;
  margin-top: 2rem;
  border-top: 1px solid rgba(255, 255, 255, 0.2); /* Séparateur plus visible */
  font-size: 0.85rem;
  color: #b2cdd2; /* Texte du copyright */
}
.footer-bottom p {
  margin: 0;
}
.footer-legal-links-separator { /* Séparateur pour les liens légaux */
  margin: 0 0.6em;
  color: rgba(255, 255, 255, 0.4);
}
.footer-legal-link { /* Style pour les liens légaux dans footer-bottom */
  color: #c5e0e5;
}
.footer-legal-link:hover {
  color: #ffffff;
}

/* ==========================================================================
   10. RESPONSIVE ADJUSTMENTS (Consolidation et affinements)
   ========================================================================== */

/* --- Medium Devices (Tablets, etc. >= 768px) --- */
@media (min-width: 768px) {
  .section-padding {
    padding-top: 4rem;
    padding-bottom: 4rem;
  }
  h1 { font-size: 2.8rem; }
  h2 { font-size: 2.2rem; }

  .hero { min-height: 65vh; } /* Un peu plus de hauteur sur tablette */

  .magasin-item { /* Disposition en 2 colonnes pour les magasins */
    grid-template-columns: repeat(2, 1fr);
    align-items: stretch;
  }
  .magasin-map iframe {
    height: 100%; /* La carte prend toute la hauteur de sa colonne */
  }
  .btn-itineraire {
      display: inline-block; /* Pour ne pas prendre toute la largeur */
      width: auto;
  }
}

/* --- Large Devices (Desktops >= 992px) --- */
@media (min-width: 992px) {
  .section-padding {
    padding-top: 5rem;
    padding-bottom: 5rem;
  }
  h1 { font-size: 3rem; }
  h2 { font-size: 2.5rem; }

  .hero { min-height: 70vh; }
  .hero-logo-graphic { max-width: 400px; }

  .tarifs-reparation-content h2 { font-size: 2.8rem; }
  .devis-rapide-intro h3 { font-size: 2rem; }

  .pourquoi-repair-club-section h2,
  .magasins-section h2 { font-size: 2.2rem; }
  .pourquoi-repair-club-section h2::after,
  .magasins-section h2::after { width: 80px; height: 3px; }

  /* Pour la liste des magasins, on peut passer à 2 ou 3 colonnes si désiré */
  .magasins-liste {
      /* Si vous avez beaucoup de magasins, vous pourriez envisager
         grid-template-columns: repeat(auto-fit, minmax(400px, 1fr));
         pour que les .magasin-item eux-mêmes se mettent en grille.
         Actuellement, c'est .magasin-item qui est en grille interne. */
  }
}

/* --- Small Devices (Phones <= 767.98px) --- */
@media (max-width: 767.98px) {
  body { font-size: 0.95rem; /* 15.2px, un peu plus petit sur mobile */ }
  h1 { font-size: 2rem; }
  h2 { font-size: 1.7rem; }
  h3 { font-size: 1.4rem; }

  .section-padding {
    padding-top: 2.5rem;
    padding-bottom: 2.5rem;
  }

  .hero { padding: 3rem 1rem; min-height: auto; } /* Hauteur auto sur mobile */
  .hero-logo-graphic { max-width: 250px; }

  .tarifs-reparation-content h2 { font-size: 1.9rem; margin-bottom: 1.5rem; }
  .tarifs-reparation-bandeau { padding: 2rem 1rem; }
  .devis-rapide-intro { padding: 2rem 1.5rem; }
  .devis-rapide-intro h3 { font-size: 1.5rem; }
  .devis-rapide-intro p { font-size: 0.9rem; }
  .services-categories { grid-template-columns: 1fr; } /* Une colonne pour les services */

  .pourquoi-repair-club-section h2,
  .magasins-section h2 { font-size: 1.7rem; padding-bottom: 0.6rem; }
  .pourquoi-repair-club-section h2::after,
  .magasins-section h2::after { width: 60px; height: 2px; }
  .pourquoi-blocs-container { grid-template-columns: 1fr; gap: 1.5rem; margin-top: 2rem; }

  .magasin-details { padding: 1.5rem; }
  .magasin-details h3 { font-size: 1.3rem; }
  .btn-itineraire {
    display: block; /* Prend toute la largeur sur mobile */
    width: 100%;
    text-align: center;
    padding: 0.8rem 1rem;
  }
  .magasin-map iframe { height: 220px; }

  .footer-content-wrapper {
    grid-template-columns: 1fr; /* Une colonne pour le footer sur mobile */
    gap: 2rem;
    text-align: center; /* Centrer le contenu des colonnes du footer */
  }
  .footer-column address, .footer-column p { text-align: center; }
  .social-icons { text-align: center; } /* Centrer les icônes sociales */
  .footer-column h4 { text-align: center; }
  .site-footer { padding: 3rem 1rem 1.5rem 1rem; }
  .footer-bottom p { font-size: 0.8rem; }
}

/* --- Extra Small Devices (Petits téléphones <= 575.98px) --- */
@media (max-width: 575.98px) {
  /* Navbar mobile déjà gérée par la media query 991.98px */
  .logo-text-navbar { font-size: 1.4rem; } /* Logo plus petit */

  h1 { font-size: 1.7rem; }
  h2 { font-size: 1.5rem; }

  .hero-logo-graphic { max-width: 200px; }

  .tarifs-reparation-content h2 { font-size: 1.6rem; }
  .devis-rapide-intro { padding: 1.5rem 1rem; }
  .devis-rapide-intro h3 { font-size: 1.3rem; }

  .pourquoi-bloc { padding: 1.5rem 1rem; }
  .pourquoi-bloc h3 { font-size: 1rem; }
  .pourquoi-bloc p { font-size: 0.85rem; }

  .magasin-details h3 { font-size: 1.2rem; }
  .magasin-details p { font-size: 0.875rem; }
}

/* ==========================================================================
   11. ANIMATIONS (Exemple)
   ========================================================================== */
/* L'animation fadeInLogo est déjà définie dans la section HERO */