/* ==========================================================================
   BENA MOTORS — styles.css
   Palette : anthracite / blanc / or (accent)
   Police : system stack (aucune requête externe, aucune collecte)
   ========================================================================== */

:root {
  --anthracite: #17181c;
  --anthracite-2: #1f2126;
  --anthracite-soft: #2a2d34;
  --white: #ffffff;
  --off-white: #f6f5f2;
  --gray-100: #eceae5;
  --gray-300: #c9c7c2;
  --gray-500: #8a8983;
  --gray-700: #4a4a48;
  --accent: #cc9341;
  --accent-light: #dfb97f;
  --accent-dark: #8d6534;
  --success: #3f8f5f;

  --radius-sm: 8px;
  --radius-md: 14px;
  --radius-lg: 22px;

  --shadow-sm: 0 2px 10px rgba(23, 24, 28, 0.06);
  --shadow-md: 0 10px 30px rgba(23, 24, 28, 0.12);
  --shadow-lg: 0 20px 50px rgba(23, 24, 28, 0.18);

  --header-h: 68px;
  --container: 1160px;

  --font: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
}

/* ---------- Reset ---------- */
* { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: calc(var(--header-h) + 12px); }
body {
  font-family: var(--font);
  color: var(--anthracite);
  background: var(--white);
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
}
img, video { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
ul { list-style: none; }
button { font: inherit; cursor: pointer; border: none; background: none; }
h1, h2, h3, h4 { line-height: 1.15; font-weight: 700; letter-spacing: -0.02em; }
.container { max-width: var(--container); margin: 0 auto; padding: 0 20px; }
section { padding: 72px 0; }
.section-head { text-align: center; max-width: 620px; margin: 0 auto 44px; }
.eyebrow {
  display: inline-block;
  font-size: 12.5px;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--accent-dark);
  margin-bottom: 10px;
}
.section-head h2 { font-size: clamp(26px, 4vw, 36px); margin-bottom: 12px; }
.section-head p { color: var(--gray-700); font-size: 16px; }
/* Titre assez large pour tenir sur une seule ligne en desktop. */
.section-head-wide { max-width: 840px; }
.section-head-wide p { max-width: 620px; margin-inline: auto; }
@media (min-width: 900px) { .section-head-wide h2 { white-space: nowrap; } }
.section-alt { background: var(--off-white); }

/* ---------- Boutons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 14px 26px;
  border-radius: 999px;
  font-weight: 600;
  font-size: 15px;
  white-space: nowrap;
  transition: transform 0.15s ease, box-shadow 0.15s ease, background 0.15s ease;
}
.btn:active { transform: scale(0.97); }
.btn-whatsapp {
  background: #25d366;
  color: var(--white);
  box-shadow: var(--shadow-sm);
}
.btn-whatsapp:hover { background: #1fb959; box-shadow: var(--shadow-md); }
.btn-call {
  background: var(--anthracite);
  color: var(--white);
}
.btn-call:hover { background: var(--anthracite-2); box-shadow: var(--shadow-md); }
.btn-gold {
  background: var(--accent);
  color: var(--anthracite);
}
.btn-gold:hover { background: var(--accent-light); box-shadow: var(--shadow-md); }
.btn-outline {
  background: transparent;
  border: 1.5px solid var(--anthracite);
  color: var(--anthracite);
}
.btn-outline:hover { background: var(--anthracite); color: var(--white); }
.btn-outline-light {
  background: transparent;
  border: 1.5px solid rgba(255,255,255,0.55);
  color: var(--white);
}
.btn-outline-light:hover { background: rgba(255,255,255,0.12); border-color: var(--white); }
.btn-block { width: 100%; }
.btn svg { width: 18px; height: 18px; flex-shrink: 0; }

/* ---------- Header ---------- */
.site-header {
  position: fixed;
  top: 0; left: 0; right: 0;
  height: var(--header-h);
  z-index: 1000;
  background: rgba(23, 24, 28, 0.92);
  backdrop-filter: saturate(160%) blur(10px);
  -webkit-backdrop-filter: saturate(160%) blur(10px);
  border-bottom: 1px solid rgba(255,255,255,0.06);
  transition: background 0.2s ease;
}
.header-inner {
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}
.brand {
  display: flex;
  align-items: center;
  gap: 10px;
  font-weight: 800;
  font-size: 18px;
  color: var(--white);
  letter-spacing: -0.01em;
}
.brand .logo-mark {
  height: 46px;
  flex-shrink: 0;
}
.brand .logo-mark img { height: 100%; width: auto; object-fit: contain; }
.brand .logo-fallback {
  width: 34px; height: 34px;
  border-radius: 8px;
  background: var(--accent);
  display: flex; align-items: center; justify-content: center;
  color: var(--anthracite);
  font-weight: 800;
  font-size: 15px;
}
.sr-only {
  position: absolute;
  width: 1px; height: 1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
  white-space: nowrap;
}
.footer-brand .logo-mark { height: 60px; }

.main-nav { display: none; }
.main-nav ul { display: flex; gap: 28px; }
.main-nav a {
  color: rgba(255,255,255,0.82);
  font-size: 14.5px;
  font-weight: 500;
  transition: color 0.15s ease;
  position: relative;
}
.main-nav a:hover { color: var(--white); }

.header-actions { display: flex; align-items: center; gap: 10px; }
.header-actions .btn { padding: 10px 16px; font-size: 13.5px; }
.header-actions .btn-call span { display: none; }

.nav-toggle {
  display: flex;
  width: 40px; height: 40px;
  align-items: center; justify-content: center;
  color: var(--white);
  flex-shrink: 0;
}
.nav-toggle svg { width: 24px; height: 24px; }

.mobile-nav {
  position: fixed;
  top: var(--header-h); left: 0; right: 0;
  background: var(--anthracite);
  border-bottom: 1px solid rgba(255,255,255,0.08);
  transform: translateY(-8px);
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.18s ease, transform 0.18s ease;
  z-index: 999;
}
.mobile-nav.is-open { opacity: 1; transform: translateY(0); pointer-events: auto; }
.mobile-nav ul { padding: 10px 20px 20px; }
.mobile-nav a {
  display: block;
  padding: 14px 4px;
  color: rgba(255,255,255,0.88);
  font-size: 16px;
  font-weight: 500;
  border-bottom: 1px solid rgba(255,255,255,0.06);
}

@media (min-width: 900px) {
  .main-nav { display: block; }
  .nav-toggle { display: none; }
  .mobile-nav { display: none; }
  .header-actions .btn-call span { display: inline; }
}

/* ---------- Hero ---------- */
.hero {
  position: relative;
  /* Plafonné : au-delà, le bloc de texte se perdait dans une immense zone vide. */
  min-height: min(100svh, 840px);
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding-top: calc(var(--header-h) + 48px);
  padding-bottom: 56px;
  color: var(--white);
  overflow: hidden;
}
.hero-media {
  position: absolute; inset: 0;
  z-index: 0;
}
.hero-media img { width: 100%; height: 100%; object-fit: cover; object-position: center 62%; }
/* Voile plus sombre derrière le texte, plus clair sur les bords : le texte reste
   lisible sans éteindre la photo du parc. */
.hero-media::after {
  content: "";
  position: absolute; inset: 0;
  background:
    radial-gradient(ellipse 78% 62% at 50% 52%, rgba(15,16,19,0.86) 0%, rgba(15,16,19,0.62) 55%, rgba(15,16,19,0.34) 100%),
    linear-gradient(180deg, rgba(15,16,19,0.66) 0%, rgba(15,16,19,0.22) 26%, rgba(15,16,19,0.52) 74%, rgba(15,16,19,0.92) 100%);
}
.hero-content { position: relative; z-index: 1; max-width: 760px; margin: 0 auto; }
.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(255,255,255,0.1);
  border: 1px solid rgba(255,255,255,0.2);
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
  padding: 7px 15px;
  border-radius: 999px;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  margin-bottom: 26px;
}
.hero-badge .dot { width: 7px; height: 7px; border-radius: 50%; background: var(--accent); }
.hero h1 {
  font-size: clamp(38px, 7.4vw, 74px);
  letter-spacing: -0.035em;
  line-height: 1.02;
  margin-bottom: 16px;
  text-shadow: 0 2px 24px rgba(0,0,0,0.35);
}
.hero h1 span { color: var(--accent); }
.hero-tagline {
  font-size: clamp(17px, 2.4vw, 22px);
  font-weight: 600;
  color: var(--white);
  margin-bottom: 14px;
  text-shadow: 0 1px 16px rgba(0,0,0,0.4);
}
.hero .subtitle {
  font-size: clamp(15px, 1.9vw, 17px);
  color: rgba(255,255,255,0.82);
  max-width: 580px;
  margin: 0 auto 32px;
}
.hero-cta { display: flex; flex-wrap: wrap; gap: 12px; justify-content: center; align-items: center; }

/* Le 06 et la pastille WhatsApp restent solidaires, même au retour à la ligne. */
.hero-cta-primary { display: inline-flex; align-items: center; gap: 12px; }

/* Pastille WhatsApp à côté du 06. */
.hero-wa-pill {
  width: 50px; height: 50px;
  flex-shrink: 0;
  border-radius: 50%;
  background: #25d366;
  color: var(--white);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 16px rgba(37, 211, 102, 0.35);
  transition: background 0.15s ease, transform 0.15s ease, box-shadow 0.15s ease;
}
.hero-wa-pill svg { width: 26px; height: 26px; }
.hero-wa-pill:hover { background: #1fb959; box-shadow: 0 6px 22px rgba(37, 211, 102, 0.45); }
.hero-wa-pill:active { transform: scale(0.94); }

.hero-trust {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 12px 26px;
  margin-top: 34px;
  padding-top: 24px;
  border-top: 1px solid rgba(255,255,255,0.14);
}
.hero-trust li {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  font-size: 13px;
  font-weight: 500;
  color: rgba(255,255,255,0.78);
}
.hero-trust svg { width: 15px; height: 15px; color: var(--accent); flex-shrink: 0; }

@media (max-width: 420px) {
  .hero-trust { gap: 10px 16px; }
  .hero-trust li { font-size: 12px; }
}

/* ---------- Cards génériques ---------- */
.grid {
  display: grid;
  gap: 22px;
}
.card {
  background: var(--white);
  border: 1px solid var(--gray-100);
  border-radius: var(--radius-lg);
  padding: 30px 26px;
  transition: transform 0.2s ease, box-shadow 0.2s ease, border-color 0.2s ease;
}
.card:hover { transform: translateY(-4px); box-shadow: var(--shadow-md); border-color: transparent; }

/* ---------- Services ---------- */
.services-grid { grid-template-columns: 1fr; }
.service-icon {
  width: 52px; height: 52px;
  border-radius: var(--radius-sm);
  background: var(--anthracite);
  color: var(--accent);
  display: flex; align-items: center; justify-content: center;
  margin-bottom: 18px;
}
.service-icon svg { width: 26px; height: 26px; }
.card h3 { font-size: 19px; margin-bottom: 10px; }
.card p { color: var(--gray-700); font-size: 14.5px; margin-bottom: 18px; }
.card-link {
  display: inline-flex; align-items: center; gap: 6px;
  font-size: 14px; font-weight: 700; color: var(--accent-dark);
}
.card-link svg { width: 15px; height: 15px; transition: transform 0.15s ease; }
.card-link:hover svg { transform: translateX(3px); }

.steps-accordion {
  border-top: 1px solid var(--gray-100);
  border-bottom: 1px solid var(--gray-100);
  margin-bottom: 18px;
}
.steps-accordion summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  padding: 13px 2px;
  font-size: 13.5px;
  font-weight: 700;
  color: var(--anthracite);
  cursor: pointer;
  list-style: none;
}
.steps-accordion summary::-webkit-details-marker { display: none; }
.steps-accordion summary svg { width: 16px; height: 16px; color: var(--accent-dark); transition: transform 0.2s ease; flex-shrink: 0; }
.steps-accordion[open] summary svg { transform: rotate(180deg); }
.steps-list { padding: 2px 2px 16px 20px; }
.steps-list li { font-size: 13.5px; color: var(--gray-700); margin-bottom: 10px; line-height: 1.5; }
.steps-list li:last-child { margin-bottom: 0; }
.steps-list strong { color: var(--anthracite); }

/* Tablette : 2 colonnes, la 5e carte reste seule — on la centre. */
@media (min-width: 640px) and (max-width: 1023px) {
  .services-grid { grid-template-columns: repeat(4, 1fr); }
  .services-grid > .card { grid-column: span 2; }
  .services-grid > .card:nth-last-child(1) { grid-column: 2 / span 2; }
}

/* 5 cartes sur 3 colonnes : la grille est posée sur 6 colonnes, chaque carte en
   occupe 2. Les deux dernières sont décalées d'une demi-carte pour être centrées
   sous la rangée du haut, au lieu de rester calées à gauche. */
@media (min-width: 1024px) {
  .services-grid { grid-template-columns: repeat(6, 1fr); }
  .services-grid > .card { grid-column: span 2; }
  .services-grid > .card:nth-last-child(2) { grid-column: 2 / span 2; }
  .services-grid > .card:nth-last-child(1) { grid-column: 4 / span 2; }
}

/* ---------- Véhicules : carrousel en éventail ---------- */
/* L'éventail déborde volontairement sur les côtés (cartes latérales + cartes
   masquées envoyées hors champ). Sans ce rognage, elles rendent toute la page
   scrollable horizontalement. `hidden` sert de repli pour Safari < 16. */
#vehicules {
  overflow-x: hidden;
  overflow-x: clip;
}
.fan {
  --fan-card-w: clamp(168px, 46vw, 292px);
  --fan-ease: cubic-bezier(.34, 1.4, .64, 1);
}
.fan-stage {
  position: relative;
  /* Hauteur calée sur l'étalement réel : 1 carte de chaque côté en mobile,
     2 en tablette, 3 en desktop — voir sideCount() dans script.js. */
  height: calc(var(--fan-card-w) * 1.48);
  margin-inline: auto;
  touch-action: pan-y;
}
@media (min-width: 560px) { .fan-stage { height: calc(var(--fan-card-w) * 1.64); } }
@media (min-width: 900px) { .fan-stage { height: calc(var(--fan-card-w) * 1.80); } }
.fan-card {
  position: absolute;
  top: 0;
  left: 50%;
  width: var(--fan-card-w);
  aspect-ratio: 3 / 4;
  margin-left: calc(var(--fan-card-w) / -2);
  border-radius: var(--radius-md);
  overflow: hidden;
  background: var(--gray-100);
  box-shadow: 0 18px 40px rgba(23, 24, 28, 0.22);
  cursor: pointer;
  opacity: 0;
  transform-origin: 50% 88%;
  transition: transform .55s var(--fan-ease), opacity .35s ease, box-shadow .3s ease;
  will-change: transform;
  -webkit-tap-highlight-color: transparent;
}
.fan-card img { width: 100%; height: 100%; object-fit: cover; display: block; pointer-events: none; }
.fan-card::after {
  content: "";
  position: absolute; inset: 0;
  background: linear-gradient(180deg, rgba(23,24,28,0) 55%, rgba(23,24,28,.45));
  opacity: 0;
  transition: opacity .35s ease;
}
.fan-card.is-active { box-shadow: 0 26px 60px rgba(23, 24, 28, 0.3); cursor: default; }
.fan-card.is-active::after { opacity: 1; }
.fan-card.is-hidden { pointer-events: none; }

.fan-controls {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 18px;
  margin-top: 26px;
}
.fan-nav {
  width: 44px; height: 44px;
  border-radius: 50%;
  border: 1.5px solid var(--gray-300);
  background: var(--white);
  color: var(--anthracite);
  display: flex; align-items: center; justify-content: center;
  transition: border-color .2s ease, background .2s ease, color .2s ease;
}
.fan-nav svg { width: 18px; height: 18px; }
.fan-nav:hover { border-color: var(--accent); background: var(--accent); color: var(--white); }
.fan-nav:active { transform: scale(.94); }

.fan-dots { display: flex; align-items: center; gap: 8px; }
.fan-dots button {
  width: 8px; height: 8px;
  border-radius: 50%;
  background: var(--gray-300);
  transition: background .25s ease, transform .25s ease, width .25s ease;
}
.fan-dots button.is-active { background: var(--accent); width: 22px; border-radius: 999px; }

.fan-caption { text-align: center; margin-top: 22px; }
.fan-caption h3 { font-size: clamp(19px, 3vw, 23px); margin-bottom: 5px; }
.fan-caption p { color: var(--gray-700); font-size: 14.5px; margin-bottom: 18px; }

@media (prefers-reduced-motion: reduce) {
  .fan-card { transition: opacity .2s ease; }
}

.stock-cta { text-align: center; margin-top: 44px; }
.stock-cta p { color: var(--gray-700); margin-bottom: 16px; font-size: 14.5px; }

/* ---------- Garanties ---------- */
.guarantees-section { background: var(--anthracite); color: var(--white); }
.guarantees-grid { grid-template-columns: 1fr; }
.guarantee-item {
  display: flex; gap: 16px; align-items: flex-start;
  padding: 22px 0;
  border-bottom: 1px solid rgba(255,255,255,0.08);
}
.guarantee-item .check {
  flex-shrink: 0;
  width: 30px; height: 30px;
  border-radius: 50%;
  background: rgba(200, 162, 77, 0.16);
  color: var(--accent);
  display: flex; align-items: center; justify-content: center;
}
.guarantee-item .check svg { width: 16px; height: 16px; }
.guarantee-item h4 { font-size: 15.5px; margin-bottom: 4px; color: var(--white); }
.guarantee-item p { font-size: 13.5px; color: rgba(255,255,255,0.65); }

@media (min-width: 720px) { .guarantees-grid { grid-template-columns: 1fr 1fr; column-gap: 40px; } }

/* ---------- Estimation express ---------- */
.estimate-section {
  background: linear-gradient(135deg, var(--accent-dark), var(--accent));
  color: var(--anthracite);
}
.estimate-inner {
  display: flex;
  flex-direction: column;
  gap: 22px;
  align-items: flex-start;
}
.estimate-text .eyebrow { color: rgba(23,24,28,0.65); }
.estimate-text h2 { font-size: clamp(24px, 4vw, 32px); margin-bottom: 10px; color: var(--anthracite); }
.estimate-text p { color: rgba(23,24,28,0.78); max-width: 560px; font-size: 15.5px; }
.estimate-section .btn-gold {
  background: var(--anthracite);
  color: var(--white);
  flex-shrink: 0;
}
.estimate-section .btn-gold:hover { background: var(--anthracite-2); }

@media (min-width: 800px) {
  .estimate-inner { flex-direction: row; align-items: center; justify-content: space-between; }
}

/* ---------- À propos ---------- */
.about {
  display: grid;
  gap: 40px;
  align-items: center;
}
.about-media {
  border-radius: var(--radius-lg);
  overflow: hidden;
  aspect-ratio: 4 / 5;
  background: var(--gray-100);
  box-shadow: var(--shadow-md);
}
.about-media img, .about-media video { width: 100%; height: 100%; object-fit: cover; }
.about-text .eyebrow { color: var(--accent-dark); }
.about-text h2 { font-size: clamp(26px, 4vw, 34px); margin-bottom: 18px; }
.about-text p { color: var(--gray-700); margin-bottom: 16px; font-size: 15.5px; }
.about-stats { display: flex; gap: 30px; margin-top: 26px; flex-wrap: wrap; }
.about-stats div strong { display: block; font-size: 26px; color: var(--anthracite); }
.about-stats div span { font-size: 13px; color: var(--gray-500); }

@media (min-width: 900px) { .about { grid-template-columns: 0.85fr 1.15fr; } }

.local-video-wrap { margin-top: 48px; }
.local-video-label {
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--accent-dark);
  margin-bottom: 14px;
}
.local-video {
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-md);
  background: var(--anthracite);
  max-width: 720px;
}
.local-video video { width: 100%; max-height: 65vh; display: block; }

/* ---------- Avis Google ---------- */
.reviews-grid { grid-template-columns: 1fr; }
.review-card {
  background: var(--white);
  border: 1px solid var(--gray-100);
  border-radius: var(--radius-lg);
  padding: 26px 24px;
  text-align: left;
  display: flex;
  flex-direction: column;
}
.stars { display: flex; gap: 3px; margin-bottom: 14px; }
.stars svg { width: 16px; height: 16px; color: var(--accent); fill: var(--accent); }
.review-text { color: var(--gray-700); font-size: 14.5px; line-height: 1.6; margin-bottom: 20px; flex-grow: 1; }
.review-author { display: flex; align-items: center; gap: 12px; }
.review-avatar {
  flex-shrink: 0;
  width: 38px; height: 38px;
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  color: var(--white);
  font-weight: 700;
  font-size: 15px;
  text-transform: uppercase;
}
.review-author strong { display: block; font-size: 14px; color: var(--anthracite); }
.review-author span { font-size: 12.5px; color: var(--gray-500); }

@media (min-width: 640px) { .reviews-grid { grid-template-columns: 1fr 1fr; } }
@media (min-width: 1100px) { .reviews-grid { grid-template-columns: repeat(4, 1fr); } }

/* ---------- Zone couverte ---------- */
.coverage-section {
  background: var(--anthracite-2);
  color: var(--white);
  text-align: center;
}
.coverage-section .eyebrow { color: var(--accent-light); }
.coverage-section h2 { font-size: clamp(24px, 4vw, 32px); margin-bottom: 14px; }
.coverage-section p { color: rgba(255,255,255,0.72); max-width: 560px; margin: 0 auto; font-size: 15.5px; }
.coverage-badges { display: flex; justify-content: center; flex-wrap: wrap; gap: 12px; margin-top: 26px; }
.coverage-badges span {
  border: 1px solid rgba(255,255,255,0.18);
  padding: 8px 16px;
  border-radius: 999px;
  font-size: 13.5px;
  color: rgba(255,255,255,0.85);
}

/* ---------- Contact ---------- */
.contact-grid { display: grid; gap: 22px; }
.contact-primary {
  background: var(--anthracite);
  color: var(--white);
  border-radius: var(--radius-lg);
  padding: 36px 28px;
  display: flex;
  flex-direction: column;
  gap: 20px;
}
.contact-primary h3 { font-size: 22px; }
.contact-primary p { color: rgba(255,255,255,0.7); font-size: 14.5px; }
.contact-info-list { display: flex; flex-direction: column; gap: 18px; }
.contact-info-item { display: flex; gap: 14px; align-items: flex-start; }
.contact-info-item .icon {
  flex-shrink: 0;
  width: 42px; height: 42px;
  border-radius: var(--radius-sm);
  background: var(--off-white);
  color: var(--accent-dark);
  display: flex; align-items: center; justify-content: center;
}
.contact-info-item .icon svg { width: 20px; height: 20px; }
.contact-info-item h4 { font-size: 14.5px; margin-bottom: 3px; }
.contact-info-item p, .contact-info-item a { font-size: 14.5px; color: var(--gray-700); }
.contact-info-item a:hover { color: var(--accent-dark); }
.contact-info-item .card-link { margin-top: 6px; }
.phone-links { display: flex; flex-direction: column; gap: 2px; }

.map-embed {
  position: relative;
  border-radius: var(--radius-lg);
  overflow: hidden;
  border: 1px solid var(--gray-100);
  min-height: 320px;
}
.map-embed iframe { width: 100%; height: 100%; min-height: 320px; border: 0; display: block; }
.map-directions-btn {
  position: absolute;
  top: 14px; right: 14px;
  z-index: 2;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: var(--white);
  color: var(--anthracite);
  font-size: 13px;
  font-weight: 700;
  padding: 9px 14px;
  border-radius: 999px;
  box-shadow: var(--shadow-md);
}
.map-directions-btn svg { width: 14px; height: 14px; color: var(--accent-dark); }
.map-directions-btn:hover { background: var(--accent); }

@media (min-width: 1000px) {
  .contact-grid { grid-template-columns: 1fr 1fr 1.1fr; }
}

/* ---------- Footer ---------- */
.site-footer {
  background: #101114;
  color: rgba(255,255,255,0.7);
  padding: 56px 0 24px;
  font-size: 14px;
}
.footer-grid {
  display: grid;
  gap: 34px;
  margin-bottom: 40px;
}
.footer-brand .brand { color: var(--white); margin-bottom: 12px; }
.footer-brand p { color: rgba(255,255,255,0.55); max-width: 280px; font-size: 13.5px; }
.footer-col h5 {
  color: var(--white);
  font-size: 13px;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  margin-bottom: 16px;
}
.footer-col ul { display: flex; flex-direction: column; gap: 10px; }
.footer-col a { color: rgba(255,255,255,0.62); transition: color 0.15s ease; }
.footer-col a:hover { color: var(--accent-light); }
.social-row { display: flex; gap: 10px; margin-top: 4px; }
.social-row a {
  width: 38px; height: 38px;
  border-radius: 50%;
  background: rgba(255,255,255,0.06);
  display: flex; align-items: center; justify-content: center;
  color: var(--white);
}
.social-row a:hover { background: var(--accent); color: var(--anthracite); }
.social-row svg { width: 18px; height: 18px; }
.footer-bottom {
  border-top: 1px solid rgba(255,255,255,0.08);
  padding-top: 22px;
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  justify-content: space-between;
  font-size: 12.5px;
  color: rgba(255,255,255,0.45);
}
.footer-bottom .legal-links { display: flex; gap: 18px; }
.footer-bottom a:hover { color: var(--white); }

@media (min-width: 720px) { .footer-grid { grid-template-columns: 1.4fr 1fr 1fr; } }
@media (min-width: 1000px) { .footer-grid { grid-template-columns: 1.6fr 1fr 1fr 1fr; } }

/* ---------- Placeholders image ---------- */
.img-fallback {
  display: flex !important;
  align-items: center;
  justify-content: center;
  background: repeating-linear-gradient(135deg, var(--gray-100), var(--gray-100) 10px, #e2e0da 10px, #e2e0da 20px);
  color: var(--gray-500);
  font-size: 12px;
  text-align: center;
  padding: 10px;
  width: 100%;
  height: 100%;
  min-height: 140px;
}
.img-fallback span {
  background: rgba(255,255,255,0.85);
  padding: 4px 9px;
  border-radius: 6px;
  font-family: ui-monospace, SFMono-Regular, Menlo, monospace;
  font-size: 11px;
  color: var(--gray-700);
}
.hero-media .img-fallback,
.about-media .img-fallback { min-height: 100%; height: 100%; }
.brand .img-fallback {
  min-height: 34px;
  width: 34px; height: 34px;
  border-radius: 8px;
  padding: 0;
  font-size: 7px;
}
.brand .img-fallback span { padding: 1px 2px; font-size: 6.5px; line-height: 1.2; }

/* ---------- Pages annexes (mentions / confidentialité) ---------- */
.legal-page {
  padding-top: calc(var(--header-h) + 50px);
  padding-bottom: 80px;
}
.legal-page .container { max-width: 780px; }
.legal-page h1 { font-size: clamp(26px, 4vw, 34px); margin-bottom: 8px; }
.legal-page .updated { color: var(--gray-500); font-size: 13.5px; margin-bottom: 40px; }
.legal-page h2 { font-size: 19px; margin: 34px 0 12px; }
.legal-page p, .legal-page li { color: var(--gray-700); font-size: 15px; margin-bottom: 12px; }
.legal-page ul { padding-left: 20px; list-style: disc; }
.legal-page a { color: var(--accent-dark); font-weight: 600; }
.back-link { display: inline-flex; align-items: center; gap: 6px; margin-bottom: 30px; font-size: 14px; font-weight: 600; color: var(--anthracite); }
.back-link svg { width: 16px; height: 16px; }

/* ---------- WhatsApp bouton flottant (mobile) ---------- */
.float-whatsapp {
  position: fixed;
  bottom: 18px; right: 18px;
  width: 56px; height: 56px;
  border-radius: 50%;
  background: #25d366;
  color: var(--white);
  display: flex; align-items: center; justify-content: center;
  box-shadow: var(--shadow-lg);
  z-index: 900;
}
.float-whatsapp svg { width: 28px; height: 28px; }

@media (min-width: 900px) { .float-whatsapp { display: none; } }
