/* =====================================================================
   ADA Location — Feuille de style principale
   Site statique HTML/CSS/JS (base pour conversion WordPress ultérieure)
   ---------------------------------------------------------------------
   Sommaire :
   1.  Variables (design tokens)
   2.  Reset & base
   3.  Utilitaires (.container, boutons, titres de section)
   4.  Header / navigation
   5.  Hero + moteur de recherche
   6.  Section véhicules (carrousel)
   7.  Section « Comment ça marche »
   8.  Section avis clients
   9.  Section « À propos »
   10. Section FAQ
   11. Footer
   12. Responsive
   ===================================================================== */

/* =====================================================================
   1. VARIABLES (DESIGN TOKENS)
   ===================================================================== */
:root {
  /* Couleurs de marque */
  --color-primary:      #ff0041;   /* rouge ADA */
  --color-primary-dark: #d10036;
  --color-dark:         #262626;   /* anthracite (texte, boutons) */
  --color-dark-hover:   #3d3d3d;

  /* Neutres */
  --color-text:         #262626;
  --color-text-muted:   #6b7280;
  --color-white:        #ffffff;
  --color-bg:           #ffffff;
  --color-bg-soft:      #f5f5f5;   /* gris clair sections/cartes */
  --color-bg-peach:     #fbe9e0;   /* fond section avis */
  --color-border:       #e5e5e5;

  /* Typographie */
  --font-title:   "Poppins", sans-serif;      /* grands titres */
  --font-heading: "Montserrat", sans-serif;   /* sous-titres / intertitres */
  --font-body:    "Open Sans", sans-serif;    /* corps de texte */

  /* Rayons & ombres */
  --radius-sm: 8px;
  --radius:    14px;
  --radius-lg: 22px;
  --radius-pill: 999px;
  --shadow-sm: 0 2px 8px rgba(0, 0, 0, .06);
  --shadow:    0 8px 30px rgba(0, 0, 0, .08);

  /* Layout */
  --container: 1200px;
  --gap: 24px;

  /* Transitions */
  --transition: .25s ease;
}

/* =====================================================================
   2. RESET & BASE
   ===================================================================== */
*,
*::before,
*::after { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.6;
  color: var(--color-text);
  background: var(--color-bg);
  -webkit-font-smoothing: antialiased;
}

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

a {
  color: inherit;
  text-decoration: none;
  transition: color var(--transition);
}

ul { list-style: none; margin: 0; padding: 0; }

h1, h2, h3, h4 {
  font-family: var(--font-title);
  color: var(--color-dark);
  margin: 0 0 .5em;
  line-height: 1.2;
}

h3 { font-family: var(--font-heading); }

p { margin: 0 0 1em; }

/* =====================================================================
   3. UTILITAIRES
   ===================================================================== */
.container {
  width: 100%;
  max-width: var(--container);
  margin-inline: auto;
  padding-inline: 24px;
}

.section { padding: 72px 0; }
.section--soft  { background: var(--color-bg-soft); }
.section--peach { background: var(--color-bg-peach); }

/* En-tête de section (petit sur-titre + gros titre) */
.section-eyebrow {
  display: block;
  text-align: center;
  font-family: var(--font-heading);
  text-transform: uppercase;
  color: rgb(82 82 82);
  margin-bottom: 10px;
  letter-spacing: 4px;
  font-size: 16px;
  font-weight: 400;
  line-height: 150%;
}

.section-title {
  text-align: center;
  font-family: var(--font-title);
  font-size: clamp(1.7rem, 3vw, 2.4rem);
  font-weight: 700;
  margin-bottom: 48px;
}

/* Boutons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  font-family: var(--font-body);
  font-weight: 600;
  font-size: 15px;
  padding: 14px 26px;
  border: 2px solid transparent;
  border-radius: 10px;
  cursor: pointer;
  transition: all var(--transition);
  white-space: nowrap;
}

.btn--dark {
  background: var(--color-dark);
  color: var(--color-white);
}
.btn--dark:hover { background: var(--color-dark-hover); }

.btn--primary {
  background: var(--color-primary);
  color: var(--color-white);
}
.btn--primary:hover { background: var(--color-primary-dark); }

.btn--outline {
  background: transparent;
  color: var(--color-dark);
  border-color: var(--color-dark);
}
.btn--outline:hover { background: var(--color-dark); color: var(--color-white); }

/* =====================================================================
   4. HEADER / NAVIGATION
   ===================================================================== */
.site-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  background: transparent;
  border-bottom: 1px solid transparent;
  transition: background var(--transition), border-color var(--transition), box-shadow var(--transition);
}
/* État défilé : le header devient blanc (sticky) */
.site-header.is-scrolled {
  background: var(--color-white);
  border-bottom-color: var(--color-border);
  box-shadow: var(--shadow-sm);
}

.site-header .container {
  display: flex;
  align-items: center;
  gap: 32px;
  min-height: 74px;
}

.site-logo img { height: 30px; width: auto; }

.main-nav ul {
  display: flex;
  gap: 28px;
}

.main-nav a {
  font-size: .875rem;
  font-weight: 600;
  color: var(--color-dark);
  padding: 6px 0;
  position: relative;
}
.main-nav a::after {
  content: "";
  position: absolute;
  left: 0; bottom: 0;
  width: 0; height: 2px;
  background: var(--color-primary);
  transition: width var(--transition);
}
.main-nav a:hover { color: var(--color-primary); }
.main-nav a:hover::after { width: 100%; }

/* Burger (mobile) */
.nav-toggle {
  display: none;
  margin-left: auto;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 6px;
}
.nav-toggle span {
  width: 24px; height: 2px;
  background: var(--color-dark);
  border-radius: 2px;
  transition: var(--transition);
}

/* =====================================================================
   5. HERO + MOTEUR DE RECHERCHE
   ===================================================================== */
.hero {
  position: relative;
  background: #ffffff;
  overflow: hidden;
}
.hero .container {
  position: relative;
  z-index: 10;               /* au-dessus de .vehicles pour le formulaire figé */
  min-height: 640px;
  display: flex;
  flex-direction: column;
  align-items: stretch;
  justify-content: flex-start;
}

.hero-content { padding: 118px 0 22px; max-width: 560px; }

.hero-title {
  font-family: var(--font-title);
  font-size: clamp(2rem, 4vw, 3rem);
  font-weight: 700;
  line-height: 1.1;
  margin-bottom: 22px;
}
.hero-title .accent {
  color: var(--color-primary);
  display: inline-block;
  transition: opacity .3s ease, transform .3s ease;
}
/* État transitoire pendant le changement de mot */
.hero-title .accent.is-out {
  opacity: 0;
  transform: translateY(10px);
}

.hero-list { margin-bottom: 28px; }
.hero-list li {
  display: flex;
  align-items: center;
  gap: 10px;
  font-weight: 600;
  margin-bottom: 8px;
}
.hero-list li::before {
  content: "";
  width: 9px; height: 9px;
  border-radius: 50%;
  background: var(--color-primary);
  flex-shrink: 0;
}

/* Image du hero : hors du container, collée au bord haut/droit de la
   fenêtre. La forme est donnée par masque.svg, converti en clip-path SVG
   inline (#heroMask) — plus robuste que mask-image (si non supporté,
   l'image reste visible au lieu de disparaître). */
.hero-media {
  position: absolute;
  top: 0;
  right: 0;
  width: 46vw;
  max-width: 640px;
  min-width: 480px;
  aspect-ratio: 1 / 1;
  z-index: 1;
  -webkit-clip-path: url(#heroMask);
          clip-path: url(#heroMask);
}
.hero-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  display: block;
  transition: opacity .25s ease;
}
/* Fondu lors du changement d'image (onglet) */
.hero-media img.is-fading { opacity: 0; }

/* Moteur de recherche */
/* Bloc blanc n°1 : les onglets (largeur du contenu, aligné à gauche) */
.search-tabs-box {
  position: relative;
  z-index: 3;                 /* passe au-dessus de l'image */
  align-self: flex-start;
  background: var(--color-white);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  padding: 8px;
  margin-bottom: 14px;
}

/* Bloc blanc n°2 : le formulaire (toute la largeur du container) */
.search-form-box {
  position: relative;
  z-index: 3;
  background: var(--color-white);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  padding: 16px 20px;
  width: 100%;
  margin-bottom: 48px;
}

/* État figé (sticky desktop) : left/width posés en JS via le placeholder */
.search-form-box.is-stuck {
  position: fixed;
  top: 84px;                 /* header (74px) + 10px de marge */
  margin-bottom: 0;
  z-index: 90;               /* sous le header (100) */
  box-shadow: var(--shadow);
}

.search-tabs {
  display: flex;
  gap: 6px;
}
.search-tab {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-family: var(--font-body);
  font-size: 13px;
  font-weight: 600;
  padding: 8px 16px;
  border: 1px solid var(--color-border);
  border-radius: 8px;
  background: var(--color-white);
  color: var(--color-text-muted);
  cursor: pointer;
  transition: var(--transition);
}
.search-tab.is-active {
  background: var(--color-dark);
  border-color: var(--color-dark);
  color: var(--color-white);
}
.tab-icon {
  width: 16px;
  height: 16px;
  object-fit: contain;
}
/* Icône blanche sur l'onglet actif (fond sombre) */
.search-tab.is-active .tab-icon {
  filter: brightness(0) invert(1);
}

.search-fields {
  display: grid;
  grid-template-columns: 1.6fr 1fr 1fr 1fr 1fr auto;
  gap: 8px;
  align-items: end;
}

.field { display: flex; flex-direction: column; gap: 3px; }
.field label {
  font-size: 11px;
  font-weight: 700;
  color: var(--color-dark);
}
.field input {
  font-family: var(--font-body);
  font-size: 13px;
  padding: 9px 10px;
  border: 1px solid var(--color-border);
  border-radius: var(--radius-sm);
  color: var(--color-text);
  width: 100%;
}
.field input::placeholder { color: #b6b6b6; }
.field input:focus {
  outline: none;
  border-color: var(--color-primary);
}
.search-fields .btn { height: 40px; padding-inline: 20px; }

/* =====================================================================
   6. SECTION VÉHICULES (CARROUSEL)
   ===================================================================== */
.vehicles {
  position: relative;
  z-index: 2;
  margin-top: -100px;        /* section remontée de 100px */
  background: transparent;
}

/* Zone carrousels : repère de positionnement pour les flèches */
.carousels { position: relative; }

/* Un seul carrousel visible à la fois (selon l'onglet actif) */
.carousels .carousel { display: none; }
.carousels .carousel.is-active { display: flex; }

.carousel {
  gap: var(--gap);
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  padding: 6px 4px 20px;
  scroll-behavior: smooth;
  scrollbar-width: none;
}
.carousel::-webkit-scrollbar { display: none; }

.vehicle-card {
  scroll-snap-align: start;
  flex: 0 0 clamp(240px, 27%, 290px);
  background: var(--color-white);
  box-shadow: var(--shadow);
  border-radius: var(--radius);
  padding: 22px 22px 26px;
  transition: transform var(--transition);
}
/* Au survol : uniquement l'animation vers le haut */
.vehicle-card:hover {
  transform: translateY(-6px);
}
.vehicle-card h3 {
  font-family: var(--font-title);
  font-size: 1.15rem;
  margin-bottom: 2px;
}
.vehicle-card p {
  color: var(--color-text-muted);
  font-size: 14px;
  margin-bottom: 18px;
}
.vehicle-card .vehicle-img {
  height: 140px;
  display: flex;
  align-items: center;
  justify-content: center;
}
.vehicle-card .vehicle-img img {
  max-height: 100%;
  max-width: 100%;
  width: auto;
  object-fit: contain;
}

/* Flèches : centrées verticalement sur la rangée de cartes,
   légèrement en dehors des cartes (pas collées au bord de l'écran) */
.carousel-nav {
  position: absolute;
  top: 50%;
  right: -20px;
  transform: translateY(-50%);
  width: 46px; height: 46px;
  border-radius: 50%;
  background: var(--color-white);
  border: 1px solid var(--color-border);
  box-shadow: var(--shadow);
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 20px;
  line-height: 1;
  color: var(--color-dark);
  z-index: 4;
  transition: background var(--transition), color var(--transition);
}
.carousel-nav:hover { background: var(--color-dark); color: var(--color-white); }
.carousel-nav--prev { left: -20px; right: auto; }

/* =====================================================================
   7. SECTION « COMMENT ÇA MARCHE »
   ===================================================================== */
.how .container {
  display: grid;
  grid-template-columns: 1fr 1.1fr;
  gap: 56px;
  align-items: center;
}
.how-media img {
  border: none;
  border-radius: 0;
  width: 100%;
  object-fit: cover;
}
.how-content .section-eyebrow,
.how-content .how-title { text-align: left; }
.how-title {
  font-family: var(--font-title);
  font-size: clamp(1.6rem, 2.6vw, 2.1rem);
  font-weight: 700;
  margin-bottom: 32px;
}

.steps { margin-bottom: 32px; }
.step {
  display: grid;
  grid-template-columns: 52px 1fr;
  gap: 16px;
  margin-bottom: 24px;
}
.step-icon {
  width: 52px; height: 52px;
  border-radius: 50%;
  background: var(--color-bg-peach);
  display: inline-flex;
  align-items: center;
  justify-content: center;
}
.step-icon img { width: 26px; height: 26px; }
.step h3 {
  font-family: var(--font-heading);
  font-size: 1.1rem;
  font-weight: 700;
  margin-bottom: 4px;
}
.step p {
  color: var(--color-text-muted);
  font-size: 14px;
  margin: 0;
}

/* =====================================================================
   8. SECTION AVIS CLIENTS
   ===================================================================== */
.reviews .reviews-grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 18px;
  align-items: stretch;
}
.trust-summary {
  text-align: center;
  display: flex;
  flex-direction: column;
  justify-content: center;
}
.trust-summary .trust-score {
  font-family: var(--font-title);
  font-weight: 700;
  font-size: 1.3rem;
}
.trust-stars { color: #00b67a; font-size: 1.3rem; letter-spacing: 2px; }
.trust-summary small { color: var(--color-text-muted); font-size: 12px; }

.review-card {
  background: var(--color-white);
  border-radius: var(--radius);
  padding: 18px;
  box-shadow: var(--shadow-sm);
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.review-card .stars {
  background: #00b67a;
  color: #fff;
  font-size: 12px;
  letter-spacing: 1px;
  padding: 3px 6px;
  border-radius: 4px;
  align-self: flex-start;
}
.review-card .review-meta {
  font-size: 12px;
  color: var(--color-text-muted);
}
.review-card h4 {
  font-family: var(--font-heading);
  font-size: .95rem;
  font-weight: 700;
  margin: 0;
}
.review-card p {
  font-size: 13px;
  color: var(--color-text-muted);
  margin: 0;
}

/* =====================================================================
   9. SECTION « À PROPOS »
   ===================================================================== */
.about-block {
  display: grid;
  grid-template-columns: 1.3fr 1fr;
  gap: 48px;
  align-items: center;
  margin-bottom: 40px;
}
.about-block--reverse { grid-template-columns: 1fr 1.3fr; }
.about-block--reverse .about-text { order: 2; }

.about-text h3 {
  font-family: var(--font-title);
  font-size: 1.25rem;
  font-weight: 700;
  margin: 0 0 10px;
}
.about-text h3 + h3 { margin-top: 24px; }
.about-text p { color: #4b4b4b; font-size: 15px; }
.about-text .link-red { color: var(--color-primary); font-weight: 600; }
.about-media img { border-radius: var(--radius-lg); width: 100%; object-fit: cover; }

.about-text ul.about-list {
  margin: 0 0 20px;
  padding-left: 18px;
  list-style: disc;
}
.about-text ul.about-list li {
  font-size: 15px;
  color: #4b4b4b;
  margin-bottom: 8px;
  padding-left: 4px;
}
.about-text ul.about-list li::marker { color: var(--color-primary); }

/* =====================================================================
   10. SECTION FAQ
   ===================================================================== */
.faq-list {
  margin: 0 auto 40px;
  display: flex;
  flex-direction: column;
  gap: 14px;
  background-color: #fff;
  border-radius: 10px;
}
.faq-item {
  background: none;
  border-radius: 0;
  overflow: hidden;
}
.faq-question {
  width: 100%;
  text-align: left;
  background: none;
  border: none;
  cursor: pointer;
  font-family: var(--font-body);
  font-size: 15px;
  font-weight: 600;
  color: var(--color-dark);
  padding: 20px 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}
.faq-question .chevron {
  flex-shrink: 0;
  transition: transform var(--transition);
  color: var(--color-primary);
  font-size: 18px;
}
.faq-item.is-open .chevron { transform: rotate(180deg); }
.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height var(--transition);
}
.faq-answer p {
  padding: 0 24px 20px;
  margin: 0;
  color: var(--color-text-muted);
  font-size: 14px;
}

.faq-cta { text-align: center; }

/* =====================================================================
   11. FOOTER
   ===================================================================== */
.site-footer {
  background: var(--color-white);
  border-top: 1px solid var(--color-border);
  padding-top: 64px;
}
.footer-cols {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 32px;
  padding-bottom: 40px;
}
.footer-col h4 {
  font-family: var(--font-heading);
  font-size: 1rem;
  font-weight: 700;
  margin-bottom: 16px;
}
.footer-col li { margin-bottom: 9px; }
.footer-col a {
  color: var(--color-text-muted);
  font-size: 14px;
}
.footer-col a:hover { color: var(--color-primary); }

.footer-pay {
  border-top: 1px solid var(--color-border);
  padding: 24px 0;
  font-weight: 600;
  font-size: 14px;
}

.footer-bottom {
  display: grid;
  grid-template-columns: repeat(3, 1fr) auto;
  gap: 32px;
  padding: 32px 0 48px;
  border-top: 1px solid var(--color-border);
  align-items: start;
}
.footer-bottom h4 {
  font-family: var(--font-heading);
  font-size: .95rem;
  font-weight: 700;
  margin-bottom: 14px;
}
.footer-bottom li { margin-bottom: 8px; }
.footer-bottom a { color: var(--color-text-muted); font-size: 14px; }
.footer-bottom a:hover { color: var(--color-primary); }
.footer-brand { text-align: right; }
.footer-brand img { height: 40px; margin-left: auto; margin-bottom: 14px; }

.footer-phone {
  background: var(--color-dark);
  color: var(--color-white);
  padding: 18px 0;
}
.footer-phone .container {
  display: flex;
  justify-content: flex-end;
  align-items: center;
  gap: 12px;
}
.footer-phone .phone-number {
  font-family: var(--font-title);
  font-weight: 700;
  font-size: 1.1rem;
}
.footer-phone small { color: #c9c9c9; font-size: 12px; display: block; }

/* =====================================================================
   12. RESPONSIVE
   ===================================================================== */
@media (max-width: 1024px) {
  .search-fields { grid-template-columns: 1fr 1fr; }
  .search-fields .btn { grid-column: 1 / -1; }
  .reviews .reviews-grid { grid-template-columns: repeat(2, 1fr); }
  .footer-bottom { grid-template-columns: 1fr 1fr; }
  .footer-brand { text-align: left; grid-column: 1 / -1; }
  .footer-brand img { margin-left: 0; }
}

@media (max-width: 860px) {
  .main-nav {
    position: absolute;
    top: 74px; left: 0; right: 0;
    background: var(--color-white);
    border-bottom: 1px solid var(--color-border);
    box-shadow: var(--shadow);
    display: none;
  }
  .main-nav.is-open { display: block; }
  .main-nav ul { flex-direction: column; gap: 0; padding: 8px 24px; }
  .main-nav li { border-bottom: 1px solid var(--color-border); }
  .main-nav a { display: block; padding: 14px 0; }
  .nav-toggle { display: flex; order: 3; }
  .header-actions { margin-left: auto; }

  .hero .container { min-height: auto; }
  .hero-media {
    width: 34vw;
    max-width: 300px;
    min-width: 0;
  }
  .hero-content { padding: 100px 0 40px; max-width: 100%; }

  .how .container { grid-template-columns: 1fr; gap: 32px; }
  .how-media { order: -1; }
  .footer-cols { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 560px) {
  .section { padding: 48px 0; }
  .hero-media { display: none; }   /* pas d'image sur mobile */
  .hero-content { padding: 84px 0 32px; }
  .hero-title { font-size: 2rem; }
  .search-fields { grid-template-columns: 1fr; }
  .reviews .reviews-grid { grid-template-columns: 1fr; }
  .trust-summary { display: none; }
  .about-block,
  .about-block--reverse { grid-template-columns: 1fr; }
  .about-block--reverse .about-text { order: 0; }
  .about-media { order: -1; }
  .footer-cols,
  .footer-bottom { grid-template-columns: 1fr; }
}

/* =====================================================================
   13. PAGES LÉGALES / CONTENU (mentions, CGL, confidentialité, plan)
   ===================================================================== */
/* Sur les pages internes, le header est toujours blanc */
.site-header.is-solid {
  background: var(--color-white);
  border-bottom-color: var(--color-border);
}

.legal-hero {
  background: var(--color-bg-soft);
  padding: 120px 0 40px;            /* dégage le header fixe */
  border-bottom: 1px solid var(--color-border);
}
.legal-hero .breadcrumb {
  font-size: 13px;
  color: var(--color-text-muted);
  margin-bottom: 10px;
}
.legal-hero .breadcrumb a { color: var(--color-primary); font-weight: 600; }
.legal-hero h1 {
  font-family: var(--font-title);
  font-size: clamp(1.8rem, 3.4vw, 2.6rem);
  margin: 0;
}
.legal-hero p.lead {
  margin: 12px 0 0;
  color: #4b4b4b;
  max-width: 760px;
}

.legal-content {
  max-width: 920px;
  padding-top: 48px;
  padding-bottom: 72px;
}
.legal-content h2 {
  font-family: var(--font-title);
  font-size: 1.35rem;
  margin: 40px 0 12px;
  color: var(--color-dark);
}
.legal-content h3 {
  font-family: var(--font-heading);
  font-size: 1.05rem;
  font-weight: 700;
  margin: 24px 0 8px;
  color: var(--color-dark);
}
.legal-content p { color: #3f3f3f; font-size: 15px; line-height: 1.75; }
.legal-content ul { list-style: disc; padding-left: 22px; margin: 0 0 16px; }
.legal-content ol { padding-left: 22px; margin: 0 0 16px; }
.legal-content li { font-size: 15px; color: #3f3f3f; margin-bottom: 8px; line-height: 1.65; }
.legal-content li::marker { color: var(--color-primary); }
.legal-content a { color: var(--color-primary); font-weight: 600; }
.legal-content strong { color: var(--color-dark); }
.legal-content .muted { color: var(--color-text-muted); font-size: 13px; }

/* Encadré ATTENTION */
.legal-note {
  background: #fff5f6;
  border-left: 4px solid var(--color-primary);
  padding: 14px 18px;
  border-radius: 8px;
  margin: 18px 0;
  font-size: 14.5px;
}
.legal-note strong { color: var(--color-primary); }

/* Tableau (CGL §5) */
.legal-table {
  width: 100%;
  border-collapse: collapse;
  margin: 16px 0 24px;
  font-size: 13.5px;
}
.legal-table th,
.legal-table td {
  border: 1px solid var(--color-border);
  padding: 10px 12px;
  text-align: left;
  vertical-align: top;
}
.legal-table th {
  background: var(--color-bg-soft);
  font-family: var(--font-heading);
  font-weight: 700;
}
.table-wrap { overflow-x: auto; }

/* Sommaire */
.legal-toc {
  background: var(--color-bg-soft);
  border-radius: var(--radius);
  padding: 20px 24px;
  margin-bottom: 32px;
}
.legal-toc h2 { margin: 0 0 12px; font-size: 1.1rem; }
.legal-toc ol { margin: 0; }
.legal-toc a { color: var(--color-dark); font-weight: 600; }
.legal-toc a:hover { color: var(--color-primary); }

/* Plan du site */
.sitemap-cols {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 32px;
}
.sitemap-col h2 { font-size: 1.1rem; margin-top: 0; }
.sitemap-col ul { list-style: none; padding-left: 0; }
.sitemap-col li { margin-bottom: 8px; }

/* Fiche définitions (mentions / infos société) */
.info-grid { display: grid; grid-template-columns: 200px 1fr; gap: 8px 20px; margin: 12px 0 24px; }
.info-grid dt { font-weight: 700; color: var(--color-dark); font-size: 14px; }
.info-grid dd { margin: 0; font-size: 14px; color: #3f3f3f; }
@media (max-width: 560px) {
  .info-grid { grid-template-columns: 1fr; gap: 2px 0; }
  .info-grid dd { margin-bottom: 10px; }
}

/* =====================================================================
   14. PAGE CONTACT
   ===================================================================== */
.contact-layout {
  display: grid;
  grid-template-columns: 1fr 1.1fr;
  gap: 44px;
  align-items: start;
  margin-bottom: 8px;
}

.contact-info h2 { font-size: 1.4rem; margin: 0 0 8px; }
.contact-info > p { color: #4b4b4b; font-size: 15px; }

.contact-list { list-style: none; padding: 0; margin: 24px 0 0; }
.contact-list li {
  display: flex;
  gap: 14px;
  align-items: flex-start;
  margin-bottom: 20px;
}
.contact-ico {
  flex-shrink: 0;
  width: 44px; height: 44px;
  border-radius: 50%;
  background: var(--color-bg-peach);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: var(--color-primary);
}
.contact-ico svg { width: 20px; height: 20px; }
.contact-list .c-label { font-family: var(--font-heading); font-weight: 700; font-size: .95rem; color: var(--color-dark); display: block; margin-bottom: 2px; }
.contact-list .c-value { font-size: 14px; color: #4b4b4b; line-height: 1.5; }
.contact-list a { color: #4b4b4b; }
.contact-list a:hover { color: var(--color-primary); }

/* Formulaire */
.contact-form {
  background: var(--color-white);
  border: 1px solid var(--color-border);
  border-radius: var(--radius);
  box-shadow: var(--shadow-sm);
  padding: 28px;
}
.contact-form h2 { font-size: 1.25rem; margin: 0 0 18px; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.form-group { display: flex; flex-direction: column; gap: 6px; margin-bottom: 16px; }
.form-group label { font-size: 13px; font-weight: 700; color: var(--color-dark); }
.form-group input,
.form-group select,
.form-group textarea {
  font-family: var(--font-body);
  font-size: 14px;
  padding: 11px 13px;
  border: 1px solid var(--color-border);
  border-radius: var(--radius-sm);
  color: var(--color-text);
  width: 100%;
  background: var(--color-white);
}
.form-group textarea { resize: vertical; min-height: 130px; }
.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus { outline: none; border-color: var(--color-primary); }
.form-consent { display: flex; gap: 10px; align-items: flex-start; font-size: 13px; color: #4b4b4b; margin-bottom: 18px; }
.form-consent input { margin-top: 3px; }

/* Image placeholder */
.img-placeholder {
  position: relative;
  width: 100%;
  border-radius: var(--radius);
  background:
    repeating-linear-gradient(45deg, #eceff1 0 12px, #e4e8eb 12px 24px);
  border: 1px dashed #c7ccd1;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #8a9199;
  font-family: var(--font-heading);
  font-weight: 600;
  font-size: 14px;
  text-align: center;
  min-height: 220px;
}
.img-placeholder span { padding: 8px 14px; }

.contact-gallery {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  margin: 40px 0 8px;
}

/* Carte Leaflet */
#map {
  height: 440px;
  width: 100%;
  border-radius: var(--radius);
  border: 1px solid var(--color-border);
  z-index: 1;                 /* reste sous le header */
}
.map-section { margin-top: 8px; }

@media (max-width: 860px) {
  .contact-layout { grid-template-columns: 1fr; gap: 32px; }
  .contact-gallery { grid-template-columns: 1fr; }
}
@media (max-width: 560px) {
  .form-row { grid-template-columns: 1fr; }
}

/* Image agence (colonne contact-info) */
.contact-agence-img {
  width: 100%;
  border-radius: var(--radius);
  object-fit: cover;
  margin-top: 28px;
}

/* =====================================================================
   15. PAGE AIDE (blocs questions fréquentes + popup)
   ===================================================================== */
.help-cards {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
  margin-bottom: 52px;
}
.help-card {
  text-align: left;
  background: var(--color-white);
  border: 1px solid var(--color-border);
  border-radius: var(--radius);
  box-shadow: var(--shadow-sm);
  padding: 24px 22px;
  cursor: pointer;
  display: flex;
  flex-direction: column;
  gap: 12px;
  font-family: inherit;
  transition: transform var(--transition), box-shadow var(--transition);
}
.help-card:hover { transform: translateY(-4px); box-shadow: var(--shadow); }
.help-card-ico {
  width: 46px; height: 46px; border-radius: 50%;
  background: var(--color-bg-peach); color: var(--color-primary);
  display: inline-flex; align-items: center; justify-content: center;
}
.help-card-ico svg { width: 22px; height: 22px; }
.help-card-q {
  font-family: var(--font-heading);
  font-weight: 700; font-size: 1rem;
  color: var(--color-dark); line-height: 1.35;
}
.help-card-more { font-size: 13px; font-weight: 600; color: var(--color-primary); margin-top: auto; }
.help-card-answer { display: none; }

/* Popup / modal */
.help-modal {
  position: fixed;
  inset: 0;
  z-index: 200;                /* au-dessus du header */
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 20px;
}
.help-modal[hidden] { display: none; }
.help-modal-overlay { position: absolute; inset: 0; background: rgba(0, 0, 0, .5); }
.help-modal-dialog {
  position: relative;
  z-index: 1;
  background: #fff;
  border-radius: var(--radius);
  max-width: 560px;
  width: 100%;
  max-height: 85vh;
  overflow-y: auto;
  padding: 34px;
  box-shadow: var(--shadow);
  animation: helpIn .25s ease;
}
@keyframes helpIn {
  from { opacity: 0; transform: translateY(14px) scale(.98); }
  to   { opacity: 1; transform: none; }
}
.help-modal-close {
  position: absolute;
  top: 14px; right: 14px;
  width: 36px; height: 36px;
  border-radius: 50%;
  border: none;
  background: var(--color-bg-soft);
  color: var(--color-dark);
  font-size: 22px; line-height: 1;
  cursor: pointer;
  transition: var(--transition);
}
.help-modal-close:hover { background: var(--color-primary); color: #fff; }
.help-modal-dialog h3 {
  font-family: var(--font-title);
  font-size: 1.3rem;
  margin: 0 40px 14px 0;
  color: var(--color-dark);
}
.help-modal-body p { color: #3f3f3f; font-size: 15px; line-height: 1.7; }
.help-modal-body ul { list-style: disc; padding-left: 20px; margin: 0 0 12px; }
.help-modal-body li { font-size: 15px; color: #3f3f3f; margin-bottom: 6px; }
.help-modal-body a { color: var(--color-primary); font-weight: 600; }

body.modal-open { overflow: hidden; }

@media (max-width: 900px) { .help-cards { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 520px) { .help-cards { grid-template-columns: 1fr; } }
