/* ==========================================================================
   Prest'auto95 — Stylesheet
   Variables CSS en tête de fichier : modifie --color-accent* pour changer
   la couleur d'accent (or par défaut, en écho au prospectus).
   ========================================================================== */

:root {
  /* Couleurs — thème clair, ivoire chaud, texte foncé */
  --color-bg: #f9f5ec;
  --color-bg-alt: #f1e9d7;
  --color-surface: #ffffff;
  --color-surface-2: #f4eee0;
  --color-border: rgba(35, 26, 12, 0.12);
  --color-text: #241d13;
  --color-text-muted: #6c6252;

  /* Accent — OR profond (assez foncé pour rester lisible sur fond clair). Pour repasser en vert : */
  /* --color-accent: #3ecf7e; --color-accent-light: #7cf0ab; --color-accent-dark: #1f9457; --color-accent-contrast: #06170d; */
  --color-accent: #9c7a3c;
  --color-accent-light: #c9a464;
  --color-accent-dark: #6b5225;
  --color-accent-contrast: #221a0d;

  /* Typo */
  --font-display: 'Oswald', 'Arial Narrow', sans-serif;
  --font-body: 'Manrope', 'Segoe UI', sans-serif;
  --font-script: 'Lobster', cursive;

  /* Layout */
  --container-width: 1180px;
  --radius-sm: 8px;
  --radius-md: 14px;
  --radius-lg: 22px;
  --header-height: 60px;

  /* Ease "premium" (identique à la courbe utilisée par les sites de detailing haut de gamme) */
  --ease: cubic-bezier(0.4, 0, 0.2, 1);
}

/* ---------- Reset ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  color: var(--color-text);
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  background: var(--color-bg);
}
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
ul { list-style: none; margin: 0; padding: 0; }
h1, h2, h3, h4 {
  font-family: var(--font-display);
  font-weight: 700;
  line-height: 1.15;
  margin: 0 0 0.5em;
  text-transform: uppercase;
  letter-spacing: 0.02em;
}
/* Les titres de section restent nets (pas de halo) — le flou n'est réservé qu'au
   bandeau d'accueil (h1), où le texte clair sur photo sombre le justifie. */
h1, h2 { font-style: italic; }
h2 {
  font-size: clamp(1.8rem, 3.4vw, 2.6rem);
  margin-bottom: 0.6em;
}
h3 { font-size: 1.3rem; color: var(--color-text); }
p { margin: 0 0 1em; color: var(--color-text-muted); }
.accent { color: var(--color-accent); }

.container {
  width: 100%;
  max-width: var(--container-width);
  margin: 0 auto;
  padding: 0 24px;
}

.skip-link {
  position: absolute;
  left: -999px;
  top: 0;
  background: var(--color-accent);
  color: var(--color-accent-contrast);
  padding: 10px 16px;
  z-index: 1000;
  border-radius: 0 0 8px 0;
}
.skip-link:focus { left: 0; }

section.section { padding: 80px 0; scroll-margin-top: var(--header-height); }
.section-alt { background: var(--color-bg-alt); }
/* Présentation et Prestations partagent le même fond (pas de section-alt entre les deux) :
   on resserre l'espace entre elles pour éviter un grand vide visuel sans repère de couleur. */
#presentation { padding-bottom: 40px; }
#prestations { padding-top: 40px; }
.section-intro { max-width: 640px; color: var(--color-text); }
.eyebrow {
  font-family: var(--font-script);
  text-transform: none;
  letter-spacing: 0.03em;
  color: var(--color-accent);
  font-size: clamp(1.9rem, 1.4rem + 2vw, 2.5rem);
  margin-bottom: 0.4em;
}

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 14px 28px;
  border-radius: 999px;
  font-family: var(--font-display);
  text-transform: uppercase;
  letter-spacing: 0.06em;
  font-size: 0.92rem;
  font-weight: 600;
  border: 1.5px solid transparent;
  cursor: pointer;
  transition: transform 0.3s var(--ease), background 0.3s var(--ease), color 0.3s var(--ease), border-color 0.3s var(--ease), box-shadow 0.3s var(--ease);
}
.btn:hover { transform: translateY(-2px); }
.btn-primary {
  background: linear-gradient(135deg, var(--color-accent-light), var(--color-accent-dark));
  color: var(--color-accent-contrast);
  box-shadow: 0 10px 26px rgba(156, 122, 60, 0.22);
}
.btn-primary:hover {
  filter: brightness(1.08);
  box-shadow: 0 0 30px rgba(156, 122, 60, 0.45);
}
.btn-outline {
  border-color: var(--color-border);
  color: var(--color-text);
  background: transparent;
}
.btn-outline:hover {
  border-color: var(--color-accent);
  color: var(--color-accent);
  box-shadow: 0 0 24px rgba(156, 122, 60, 0.16);
}
.btn-small { padding: 10px 20px; font-size: 0.82rem; }

/* ---------- Header ---------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 500;
  min-height: var(--header-height);
  display: flex;
  align-items: center;
  background: rgba(249, 245, 236, 0.85);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--color-border);
}
.header-inner {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding-top: 10px;
  padding-bottom: 10px;
}
.logo { display: flex; align-items: center; gap: 10px; }
.logo-img { height: 36px; width: auto; }
.logo-fallback { display: flex; align-items: center; gap: 12px; }
.logo-fallback-text-wrap { display: flex; flex-direction: column; align-items: flex-start; line-height: 1.1; }
.logo-fallback-text {
  font-family: var(--font-script);
  font-size: 1.4rem;
  font-weight: 400;
  letter-spacing: 0;
  color: var(--color-text);
}
.logo-tagline {
  font-family: var(--font-script);
  font-size: 0.72rem;
  color: var(--color-text-muted);
  line-height: 1;
}

.main-nav ul { display: flex; align-items: center; gap: 22px; }
.main-nav a {
  font-family: var(--font-display);
  font-size: 0.88rem;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: var(--color-text);
  opacity: 0.75;
  transition: opacity 0.2s ease, color 0.2s ease;
}
.main-nav a:hover { opacity: 1; color: var(--color-accent); }

.header-social { display: flex; align-items: center; gap: 10px; }
.header-social-label {
  font-family: var(--font-display);
  text-transform: uppercase;
  letter-spacing: 0.04em;
  font-size: 0.7rem;
  color: var(--color-text-muted);
  white-space: nowrap;
}
.social-links { display: flex; gap: 8px; }
.social-links a {
  width: 32px;
  height: 32px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  border: 1px solid var(--color-border);
  color: var(--color-text-muted);
  transition: color 0.3s var(--ease), border-color 0.3s var(--ease), transform 0.3s var(--ease), box-shadow 0.3s var(--ease);
}
.social-links a:hover {
  color: var(--color-accent);
  border-color: var(--color-accent);
  transform: translateY(-2px);
  box-shadow: 0 0 18px rgba(156, 122, 60, 0.25);
}

/* ---------- Hero (photo de fond) ---------- */
.hero {
  position: relative;
  min-height: 62vh;
  display: flex;
  align-items: center;
  background-size: cover;
  background-position: center;
  background-color: var(--color-bg);
  overflow: hidden;
}
.hero-overlay {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(180deg, rgba(8, 8, 8, 0.55) 0%, rgba(8, 8, 8, 0.74) 55%, rgba(8, 8, 8, 0.95) 100%),
    linear-gradient(90deg, rgba(8, 8, 8, 0.65) 0%, rgba(8, 8, 8, 0.22) 55%, rgba(8, 8, 8, 0.52) 100%);
}
.hero-inner {
  position: relative;
  z-index: 1;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 48px;
  padding: 70px 24px;
}
.hero-content { max-width: 560px; }
/*
  Le bandeau reste sur une photo sombre même si le reste du site est passé en thème
  clair : ces couleurs sont donc volontairement fixées en clair (indépendantes de
  --color-text / --color-accent, qui sont désormais foncés pour le fond ivoire).
*/
.hero-content .eyebrow { color: var(--color-accent-light); }
.hero-content h1 {
  font-size: clamp(2.1rem, 4.6vw, 3.4rem);
  color: #f9f5ec;
  text-shadow: 0 2px 14px rgba(0, 0, 0, 0.55);
}
.hero-content h1 .accent { color: var(--color-accent-light); }
/* Sous-ligne du H1 : porte le ciblage geographique sans ecraser la punchline. */
.hero-content h1 .hero-h1-sub {
  display: block;
  margin-top: 0.4em;
  font-size: clamp(0.95rem, 1.5vw, 1.2rem);
  font-weight: 500;
  letter-spacing: 0.02em;
  color: #e6dccb;
  text-shadow: 0 2px 10px rgba(0, 0, 0, 0.5);
}
.hero-subtitle { color: #e6dccb; max-width: 520px; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 16px; margin-top: 1.6em; }
.hero-actions .btn-outline { color: #f9f5ec; border-color: rgba(249, 245, 236, 0.4); }
.hero-actions .btn-outline:hover {
  color: var(--color-accent-light);
  border-color: var(--color-accent-light);
  box-shadow: 0 0 24px rgba(201, 164, 100, 0.3);
}
.hero-phone { flex-shrink: 0; }

/* ---------- Cartes prestations (aperçu) ---------- */
.service-cards {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 18px;
  margin: 28px 0 48px;
}
.service-card {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 8px;
  background: var(--color-surface);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-md);
  padding: 26px 22px;
  width: 100%;
  font: inherit;
  text-align: left;
  cursor: pointer;
  transition: transform 0.35s var(--ease), border-color 0.35s var(--ease), box-shadow 0.35s var(--ease);
}
.service-card:hover {
  transform: translateY(-4px);
  border-color: var(--color-accent);
  box-shadow: 0 16px 36px rgba(0, 0, 0, 0.3), 0 0 24px rgba(156, 122, 60, 0.14);
}
.service-card[aria-expanded="true"] {
  border-color: var(--color-accent);
  box-shadow: 0 0 0 2px rgba(156, 122, 60, 0.25);
}
.service-card-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 52px;
  height: 52px;
  border-radius: 50%;
  background: rgba(156, 122, 60, 0.12);
  color: var(--color-accent);
  margin-bottom: 6px;
}
.service-card-title {
  font-family: var(--font-display);
  text-transform: uppercase;
  letter-spacing: 0.03em;
  font-size: 1rem;
  color: var(--color-text);
}
.service-card-desc { color: var(--color-text-muted); font-size: 0.88rem; line-height: 1.5; }
.service-card-link {
  display: flex;
  align-items: center;
  gap: 6px;
  margin-top: auto;
  padding-top: 10px;
  color: var(--color-accent);
  font-family: var(--font-display);
  font-size: 0.8rem;
  text-transform: uppercase;
  letter-spacing: 0.04em;
}
.service-card-chevron { transition: transform 0.3s var(--ease); }
.service-card[aria-expanded="true"] .service-card-chevron { transform: rotate(180deg); }

/* ---------- Contact ---------- */
.contact-cards {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  margin: 28px 0 24px;
}
.contact-card {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 8px;
  background: var(--color-surface);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-md);
  padding: 30px 22px;
  transition: transform 0.35s var(--ease), border-color 0.35s var(--ease), box-shadow 0.35s var(--ease);
}
.contact-card:hover {
  transform: translateY(-4px);
  border-color: var(--color-accent);
  box-shadow: 0 16px 36px rgba(0, 0, 0, 0.1), 0 0 24px rgba(156, 122, 60, 0.16);
}
.contact-card-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 56px;
  height: 56px;
  border-radius: 50%;
  background: rgba(156, 122, 60, 0.12);
  color: var(--color-accent);
  margin-bottom: 6px;
}
.contact-card-label {
  font-family: var(--font-display);
  text-transform: uppercase;
  letter-spacing: 0.04em;
  font-size: 0.8rem;
  color: var(--color-text-muted);
}
.contact-card-value {
  font-family: var(--font-display);
  font-size: 1.05rem;
  font-weight: 600;
  color: var(--color-text);
  word-break: break-word;
}
.contact-note {
  text-align: center;
  font-style: italic;
  font-size: 0.9rem;
  margin: 0;
}

/* ---------- Avis clients (carrousel un avis à la fois) ---------- */
.rating-badge {
  color: var(--color-accent);
  letter-spacing: 2px;
  margin-right: 6px;
}
.section-intro a { color: var(--color-accent); font-weight: 600; }
.section-intro a:hover { text-decoration: underline; }

.review-carousel {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 20px;
  margin-top: 40px;
}
.review-nav {
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  border: 1px solid var(--color-border);
  background: var(--color-surface);
  color: var(--color-text);
  cursor: pointer;
  transition: transform 0.3s var(--ease), border-color 0.3s var(--ease), color 0.3s var(--ease), box-shadow 0.3s var(--ease);
}
.review-nav:hover {
  border-color: var(--color-accent);
  color: var(--color-accent);
  box-shadow: 0 0 18px rgba(156, 122, 60, 0.2);
}
.review-slide-viewport {
  position: relative;
  width: 100%;
  max-width: 640px;
  min-height: 300px;
}
.review-slide {
  display: none;
  background: var(--color-surface);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-lg);
  padding: 36px 40px;
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.08);
  animation: review-slide-in 0.4s var(--ease);
}
.review-slide.is-active { display: block; }
@keyframes review-slide-in {
  from { opacity: 0; transform: translateY(8px); }
  to { opacity: 1; transform: translateY(0); }
}
.review-google-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 14px;
  border-radius: 999px;
  background: rgba(156, 122, 60, 0.12);
  font-family: var(--font-display);
  text-transform: uppercase;
  letter-spacing: 0.04em;
  font-size: 0.78rem;
  color: var(--color-text-muted);
  margin-bottom: 18px;
}
.review-stars { color: var(--color-accent); letter-spacing: 3px; margin-bottom: 16px; font-size: 1rem; }
.review-text { color: var(--color-text); font-style: italic; font-size: 1.05rem; margin-bottom: 24px; }
.review-author { display: flex; flex-direction: column; gap: 2px; }
.review-name {
  font-family: var(--font-display);
  text-transform: uppercase;
  letter-spacing: 0.04em;
  font-size: 0.9rem;
  color: var(--color-text);
}
.review-time { font-size: 0.82rem; color: var(--color-accent); }

.review-dots { display: flex; align-items: center; justify-content: center; gap: 10px; margin-top: 28px; }
.review-dot {
  width: 9px;
  height: 9px;
  border-radius: 50%;
  border: none;
  padding: 0;
  background: var(--color-border);
  cursor: pointer;
  transition: background 0.3s var(--ease), transform 0.3s var(--ease);
}
.review-dot:hover { background: var(--color-accent-light); }
.review-dot.is-active { background: var(--color-accent); transform: scale(1.25); }

/* ---------- Vidéo (mockup téléphone, dans le bandeau d'accueil) ---------- */
.hero-phone { width: min(260px, 62vw); }
.phone-mockup {
  position: relative;
  width: 100%;
  aspect-ratio: 9 / 19.5;
  border-radius: 2.6rem;
  padding: 7px;
  background: linear-gradient(160deg, #2c2c2c, #060606 65%);
  border: 1px solid rgba(255, 255, 255, 0.08);
  box-shadow:
    0 0 40px rgba(201, 164, 100, 0.35),
    0 0 90px rgba(201, 164, 100, 0.2),
    0 25px 50px rgba(0, 0, 0, 0.5);
  transition: transform 0.35s var(--ease);
}
.phone-mockup:hover { transform: translateY(-4px); }
.phone-screen {
  position: relative;
  width: 100%;
  height: 100%;
  border-radius: 2.1rem;
  overflow: hidden;
  background: #000;
}
.phone-screen video {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}
.phone-notch {
  position: absolute;
  top: 14px;
  left: 50%;
  transform: translateX(-50%);
  width: 32%;
  height: 20px;
  background: #000;
  border-radius: 999px;
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.06);
  pointer-events: none;
}

/* ---------- Prestations / pricing ---------- */
/* Chaque panneau est masqué par défaut et s'ouvre au clic sur la carte correspondante
   (voir js/main.js). Fond photo + dégradé sombre pour que les tarifs restent lisibles
   quelle que soit l'image, quel que soit le thème du site (le panneau reste toujours sombre). */
.price-block {
  display: none;
  position: relative;
  margin-top: 28px;
  border-radius: var(--radius-lg);
  overflow: hidden;
  background-size: cover;
  background-position: center;
  box-shadow: 0 24px 60px rgba(0, 0, 0, 0.25);
  scroll-margin-top: calc(var(--header-height) + 12px);
}
.price-block::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(10, 10, 10, 0.55) 0%, rgba(10, 10, 10, 0.82) 60%, rgba(10, 10, 10, 0.92) 100%);
}
.price-block.is-open {
  display: block;
  animation: price-block-in 0.4s var(--ease);
}
@keyframes price-block-in {
  from { opacity: 0; transform: translateY(-10px); }
  to { opacity: 1; transform: translateY(0); }
}
.price-block-inner { position: relative; padding: 40px 32px; }
.price-block-close {
  position: absolute;
  top: 16px;
  right: 16px;
  z-index: 2;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  border: 1px solid rgba(245, 242, 234, 0.3);
  background: rgba(10, 10, 10, 0.5);
  color: #f5f2ea;
  font-size: 1.3rem;
  line-height: 1;
  cursor: pointer;
  transition: background 0.3s var(--ease), border-color 0.3s var(--ease);
}
.price-block-close:hover { background: rgba(10, 10, 10, 0.75); border-color: var(--color-accent-light); }
.price-block h3 {
  color: #f5f2ea;
  border-bottom: 1px solid rgba(245, 242, 234, 0.25);
  padding-bottom: 12px;
  margin-bottom: 24px;
}
.price-block h3.price-subheading {
  font-size: 1rem;
  margin-top: 28px;
  padding-bottom: 8px;
}
.price-list-main li { font-size: 1.15rem; }
.price-list-main .price-inline { font-size: 1.4rem; }
.price-star { font-size: 1.1rem; vertical-align: super; color: var(--color-accent-light); }
.price-note {
  margin-top: 14px;
  font-size: 0.85rem;
  font-style: italic;
  color: rgba(245, 242, 234, 0.75);
}

.price-list { display: flex; flex-direction: column; gap: 0; border-top: 1px solid rgba(245, 242, 234, 0.25); }
.price-list li {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  padding: 16px 4px;
  border-bottom: 1px solid rgba(245, 242, 234, 0.25);
  color: #f5f2ea;
  gap: 16px;
}
.price-list li > span:first-child {
  flex: 1 1 auto;
  min-width: 0;
}
.price-list li > span:first-child::before {
  content: '•';
  color: var(--color-accent-light);
  margin-right: 10px;
  font-weight: 700;
}
.price-list li.price-sublist {
  padding-left: 20px;
  color: rgba(245, 242, 234, 0.75);
  font-size: 0.92rem;
}
.price-list li.price-sublist > span:first-child::before { content: none; }
.price-arrow { color: var(--color-accent-light); }
.price-inline {
  font-family: var(--font-display);
  color: #f5f2ea;
  font-weight: 600;
  white-space: nowrap;
  flex-shrink: 0;
}
.price-list-devis li {
  justify-content: flex-start;
}
.price-list-devis li::before {
  content: '•';
  color: var(--color-accent-light);
  margin-right: 12px;
  font-weight: 700;
}
.price-block .btn { margin-top: 24px; }
.price-block .btn-outline { color: #f5f2ea; border-color: rgba(245, 242, 234, 0.4); }
.price-block .btn-outline:hover {
  color: var(--color-accent-light);
  border-color: var(--color-accent-light);
  box-shadow: 0 0 24px rgba(201, 164, 100, 0.3);
}

/* ---------- Galerie : grande vignette avant/après + onglets miniatures ---------- */
.ba-showcase { margin-top: 40px; }
.ba-slider {
  position: relative;
  overflow: hidden;
  user-select: none;
  background: #0a0a0a;
  cursor: ew-resize;
  touch-action: pan-y;
}
.ba-slider-main {
  max-width: 440px;
  aspect-ratio: 7 / 10;
  margin: 0 auto;
  border-radius: var(--radius-lg);
  border: 1px solid var(--color-border);
  box-shadow: 0 24px 60px rgba(0, 0, 0, 0.25);
  --ba-pos: 50%;
}
.ba-slider img { width: 100%; height: 100%; object-fit: cover; user-select: none; pointer-events: none; }
.ba-after, .ba-before { position: absolute; inset: 0; }
.ba-before { clip-path: inset(0 50% 0 0); -webkit-clip-path: inset(0 50% 0 0); }
/*
  Le drag souris/tactile est géré manuellement en JS (Pointer Events) sur .ba-slider —
  voir js/main.js. Ce <input type="range"> reste dans le DOM uniquement pour
  l'accessibilité clavier (Tab puis flèches gauche/droite) ; il n'intercepte plus les
  clics (pointer-events: none) pour ne pas gêner le geste de glissement personnalisé.
*/
.ba-range {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  margin: 0;
  opacity: 0;
  pointer-events: none;
  appearance: none;
  -webkit-appearance: none;
}
.ba-slider-main::after {
  content: '';
  position: absolute;
  top: 0;
  bottom: 0;
  left: var(--ba-pos);
  width: 2px;
  background: var(--color-accent);
  transform: translateX(-50%);
  pointer-events: none;
  z-index: 1;
}
.ba-range:focus-visible ~ .ba-handle-main { outline: 2px solid var(--color-accent-light); outline-offset: 3px; }
.ba-handle-main {
  position: absolute;
  top: 50%;
  left: var(--ba-pos);
  transform: translate(-50%, -50%);
  z-index: 2;
  width: 46px;
  height: 46px;
  border-radius: 50%;
  background: var(--color-accent);
  color: var(--color-accent-contrast);
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 6px 18px rgba(0, 0, 0, 0.4);
  pointer-events: none;
}
.ba-badge {
  position: absolute;
  top: 16px;
  z-index: 2;
  padding: 7px 16px;
  border-radius: 999px;
  background: rgba(10, 10, 10, 0.7);
  backdrop-filter: blur(4px);
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 0.78rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  pointer-events: none;
}
.ba-badge-avant { left: 16px; color: #e8756c; }
.ba-badge-apres { right: 16px; color: var(--color-accent-light); }

.ba-showcase-caption { text-align: center; margin-top: 26px; }
.ba-showcase-caption h3 { margin-bottom: 0.3em; }
.ba-showcase-caption p { margin: 0; }

.gallery-tabs {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 16px;
  margin-top: 36px;
}
.gallery-tab {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  width: 84px;
  background: none;
  border: none;
  padding: 0;
  cursor: pointer;
}
.gallery-tab-thumb {
  position: relative;
  width: 100%;
  aspect-ratio: 1;
  border-radius: 14px;
  overflow: hidden;
  border: 2px solid transparent;
  box-shadow: 0 6px 16px rgba(0, 0, 0, 0.12);
  transition: border-color 0.3s var(--ease), transform 0.3s var(--ease);
}
.gallery-tab:hover .gallery-tab-thumb { transform: translateY(-2px); }
.gallery-tab.is-active .gallery-tab-thumb {
  border-color: var(--color-accent);
  box-shadow: 0 0 0 3px rgba(156, 122, 60, 0.18);
}
.gallery-tab-before, .gallery-tab-after {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.gallery-tab-before { clip-path: inset(0 50% 0 0); }
.gallery-tab-after { clip-path: inset(0 0 0 50%); }
.gallery-tab-label {
  font-family: var(--font-display);
  text-transform: uppercase;
  font-size: 0.75rem;
  letter-spacing: 0.04em;
  color: var(--color-text-muted);
  transition: color 0.3s var(--ease);
}
.gallery-tab.is-active .gallery-tab-label { color: var(--color-accent); }

/* ---------- Footer ---------- */
.site-footer { background: var(--color-bg-alt); border-top: 1px solid var(--color-border); padding: 40px 0; }
.footer-inner {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
}
.footer-copy { margin: 0; font-size: 0.85rem; color: var(--color-text-muted); }
.footer-legal { display: flex; gap: 6px; flex-wrap: wrap; justify-content: center; font-size: 0.82rem; color: var(--color-text-muted); }
.footer-legal a { color: var(--color-text-muted); transition: color 0.2s ease; }
.footer-legal a:hover { color: var(--color-accent); text-decoration: underline; }

/* ---------- Pages légales (Mentions légales / Politique de confidentialité) ---------- */
.page-header { padding: 56px 0 8px; }
.page-header h1 { font-size: clamp(1.9rem, 3.6vw, 2.7rem); }
.page-header .section-intro { margin: 0; }
.legal-content { max-width: 760px; padding: 24px 0 96px; }
.legal-content h2 {
  font-style: normal;
  text-transform: none;
  font-size: 1.3rem;
  color: var(--color-text);
  margin-top: 2.2em;
}
.legal-content h2:first-child { margin-top: 0; }
.legal-content p, .legal-content li { color: var(--color-text-muted); }
.legal-content ul { list-style: disc; padding-left: 1.4em; margin: 0 0 1em; }
.legal-content li { margin-bottom: 0.4em; }
.legal-content a { color: var(--color-accent); font-weight: 600; }
.legal-content a:hover { text-decoration: underline; }

/* ---------- Scroll reveal ---------- */
/* Scoped to html.js (set by an inline script in <head>) so content stays
   visible by default if JavaScript is disabled or fails to load. */
.js .reveal { opacity: 0; transform: translateY(28px); transition: opacity 0.6s var(--ease), transform 0.6s var(--ease); }
.js .reveal.is-visible { opacity: 1; transform: translateY(0); }

/* ---------- Responsive ---------- */
@media (max-width: 720px) {
  .header-inner { justify-content: center; text-align: center; padding-top: 8px; padding-bottom: 8px; gap: 8px; }
  .logo-img { height: 28px; }
  .logo-fallback-text { font-size: 1.1rem; }
  .main-nav ul { gap: 8px 14px; flex-wrap: wrap; justify-content: center; }
  .main-nav a { font-size: 0.78rem; }
  .social-links { gap: 6px; }
  .social-links a { width: 28px; height: 28px; }
  .social-links a svg { width: 16px; height: 16px; }
  .header-social-label { display: none; }
  .ba-slider-main { max-width: 300px; aspect-ratio: 17 / 25; }
  .gallery-tab { width: 68px; }
  section.section { padding: 60px 0; }
  .footer-inner { flex-direction: column; text-align: center; }
  .logo-tagline { display: none; }
  .hero { min-height: auto; }
  .hero-inner { flex-direction: column; padding: 32px 20px 28px; text-align: center; gap: 20px; }
  .hero-content { max-width: 100%; }
  .hero-actions { justify-content: center; margin-top: 1.1em; gap: 12px; }
  .hero-phone { width: min(160px, 42vw); }
  .service-cards { grid-template-columns: 1fr; }
  .contact-cards { grid-template-columns: 1fr; }
  .review-carousel { gap: 10px; }
  .review-nav { width: 36px; height: 36px; }
  .review-slide { padding: 28px 20px; }
}

@media (min-width: 721px) and (max-width: 960px) {
  .service-cards { grid-template-columns: repeat(2, 1fr); }
  .contact-cards { grid-template-columns: repeat(2, 1fr); }
}
