/* ==========================================================================
   CLEAN UP BIO — Feuille de style principale
   Site : clean-up-bio.fr
   ========================================================================== */

/* ---------- 1. Reset & base ---------- */
*,
*::before,
*::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
  overflow-x: hidden;
  max-width: 100%;
}

body {
  font-family: 'Open Sans', 'Roboto', 'Segoe UI', sans-serif;
  font-size: 16px;
  line-height: 1.7;
  color: #444444;
  background-color: #ffffff;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
  position: relative;
}
/* Logo en watermark de fond — discret, sur toutes les pages */
body::before {
  content: '';
  position: fixed;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 70vmin;
  height: 70vmin;
  background-image: url('../images/clean-up-logo.png');
  background-repeat: no-repeat;
  background-position: center;
  background-size: contain;
  opacity: 0.05;
  pointer-events: none;
  z-index: 0;
  mix-blend-mode: multiply;
}
/* Toutes les sections doivent être au-dessus du watermark */
header, section, footer, main { position: relative; z-index: 1; }

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

a {
  color: #4a7c3f;
  text-decoration: none;
  transition: color 0.25s ease;
}

a:hover,
a:focus {
  color: #2f5233;
}

ul {
  list-style: none;
}

/* ---------- 2. Variables (palette Clean Up Bio) ---------- */
:root {
  --color-primary: #5c8a3a;       /* vert botanique profond — plus pro */
  --color-primary-dark: #3d6b2a;  /* vert forêt */
  --color-primary-darker: #1f3a1b; /* vert presque noir — header overlay */
  --color-accent: #b8782c;        /* miel / terre cuite chaude */
  --color-accent-dark: #8e5a1f;
  --color-sage: #87a96b;          /* vert sauge — mots-clés d'activité */
  --color-sage-dark: #6e8c54;
  --color-pale-green: #e8f0dc;    /* fond vert pâle (médaillon logo) */
  --color-cream: #faf6ec;         /* crème chaude — sections de séparation */
  --color-mint: #a8d5ba;          /* menthe fraîche — accents */
  --color-deep-forest: #1a3520;   /* vert très profond — overlay forêt */
  --color-gold: #c9a449;          /* or — touches premium */
  /* Couleurs naturelles — palette beige/sable demandée par le client */
  --color-beige: #e8dcc4;         /* beige sable doux */
  --color-beige-dark: #c9b896;    /* beige foncé */
  --color-linen: #f3ebd7;         /* lin clair */
  --color-wood: #8b6f47;          /* bois naturel */
  --color-wood-light: #b89876;    /* bois clair (planches barrière) */
  --color-text: #333333;
  --color-text-soft: #555555;
  --color-text-muted: #777777;
  --color-bg: #ffffff;
  --color-bg-alt: #f9f9f9;
  --color-bg-soft: #f5f7f1;
  --color-border: #e6e6e6;
  --shadow-sm: 0 2px 8px rgba(0, 0, 0, 0.06);
  --shadow-md: 0 6px 20px rgba(0, 0, 0, 0.08);
  --shadow-lg: 0 12px 40px rgba(0, 0, 0, 0.10);
  --radius: 8px;
  --radius-lg: 14px;
  --container: 1180px;
}

/* ---------- 3. Typographie ---------- */
h1, h2, h3, h4 {
  font-family: 'Playfair Display', 'Merriweather', Georgia, serif;
  color: var(--color-text);
  line-height: 1.25;
  font-weight: 700;
  margin-bottom: 0.6em;
}

h1 { font-size: clamp(2rem, 4.5vw, 3.2rem); }
h2 { font-size: clamp(1.6rem, 3.5vw, 2.4rem); }
h3 { font-size: clamp(1.25rem, 2.5vw, 1.55rem); }
h4 { font-size: 1.1rem; }

p {
  margin-bottom: 1.1em;
  max-width: 70ch;
}

strong { color: var(--color-text); font-weight: 600; }

/* Mots-clés d'activité : vert sauge en gras */
.kw {
  color: var(--color-sage);
  font-weight: 700;
}
strong.kw, .kw strong { color: var(--color-sage-dark); }

/* Sur le hero (fond forêt sombre), les mots-clés passent en vert clair/mint pour ressortir */
.hero-content .kw,
.hero .kw {
  color: var(--color-mint);
  text-shadow: 0 1px 6px rgba(0, 0, 0, 0.45);
}
.hero-content h1 .kw,
.hero h1 .kw {
  color: var(--color-mint);
}

/* === Icônes Lucide === */
[data-lucide] {
  width: 100%;
  height: 100%;
  stroke-width: 1.75;
  display: block;
}
/* Taille des icônes dans leurs conteneurs */
.card-icon svg,
.card-icon [data-lucide] {
  width: 32px;
  height: 32px;
}
.value-icon svg,
.value-icon [data-lucide] {
  width: 32px;
  height: 32px;
}
.service-icon svg,
.service-icon [data-lucide] {
  width: 32px;
  height: 32px;
}
.contact-info-item .icon svg,
.contact-info-item .icon [data-lucide] {
  width: 20px;
  height: 20px;
  stroke: #ffffff;
}
.call-icon-big svg,
.call-icon-big [data-lucide] {
  width: 36px;
  height: 36px;
  stroke: #ffffff;
}

.lead {
  font-size: 1.1rem;
  color: var(--color-text-soft);
  max-width: 60ch;
}

/* ---------- 4. Layout helpers ---------- */
.container {
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 24px;
}

section {
  padding: 80px 0;
}

.section-alt { background-color: var(--color-cream); }
.section-soft { background-color: var(--color-bg-soft); }

.section-header {
  text-align: center;
  max-width: 720px;
  margin: 0 auto 50px;
}

.section-header p { margin-left: auto; margin-right: auto; }

.eyebrow {
  display: inline-block;
  font-size: 0.85rem;
  text-transform: uppercase;
  letter-spacing: 2px;
  font-weight: 700;
  color: var(--color-primary);
  margin-bottom: 14px;
}

/* ---------- 5. Boutons & CTA ---------- */
.btn {
  display: inline-block;
  padding: 14px 30px;
  font-family: inherit;
  font-size: 1rem;
  font-weight: 600;
  text-align: center;
  border: 2px solid transparent;
  border-radius: var(--radius);
  cursor: pointer;
  transition: all 0.25s ease;
  letter-spacing: 0.3px;
  line-height: 1.2;
}

.btn-primary {
  background: linear-gradient(135deg, var(--color-primary) 0%, var(--color-primary-dark) 100%);
  color: #ffffff;
  border-color: var(--color-primary-dark);
  box-shadow: 0 4px 12px rgba(61, 107, 42, 0.25);
}
.btn-primary:hover,
.btn-primary:focus {
  background: linear-gradient(135deg, var(--color-primary-dark) 0%, var(--color-primary-darker) 100%);
  border-color: var(--color-primary-darker);
  color: #ffffff;
  transform: translateY(-2px);
  box-shadow: 0 8px 22px rgba(31, 58, 27, 0.4);
}

.btn-accent {
  background: linear-gradient(135deg, var(--color-accent) 0%, var(--color-accent-dark) 100%);
  color: #ffffff;
  border-color: var(--color-accent-dark);
  box-shadow: 0 4px 12px rgba(184, 120, 44, 0.25);
}
.btn-accent:hover,
.btn-accent:focus {
  background: linear-gradient(135deg, var(--color-accent-dark) 0%, #6e4515 100%);
  border-color: #6e4515;
  color: #ffffff;
  transform: translateY(-2px);
  box-shadow: 0 8px 22px rgba(142, 90, 31, 0.4);
}

.btn-outline {
  background-color: transparent;
  color: var(--color-primary-dark);
  border-color: var(--color-primary-dark);
}
.btn-outline:hover,
.btn-outline:focus {
  background-color: var(--color-primary-dark);
  color: #ffffff;
}

.btn-block { display: block; width: 100%; }

/* ---------- 6. Header & navigation : bannière forêt + logo médaillon ---------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background-image:
    linear-gradient(to bottom, rgba(26, 53, 32, 0.78) 0%, rgba(31, 58, 27, 0.62) 50%, rgba(47, 82, 51, 0.55) 100%),
    url('https://images.unsplash.com/photo-1441974231531-c6227db76b6e?w=1920&q=80&auto=format&fit=crop');
  background-size: cover;
  background-position: center;
  border-bottom: 4px solid var(--color-primary);
  box-shadow: 0 6px 24px rgba(0, 0, 0, 0.15);
  transition: background 0.3s ease, box-shadow 0.3s ease, border-bottom-width 0.3s ease;
}

/* Transitions douces sur tous les éléments du header */
.header-inner,
.logo-medallion,
.logo img,
.nav-left a, .nav-right a {
  transition: all 0.3s ease;
}

/* ===== HEADER COMPACT AU SCROLL (desktop) ===== */
@media (min-width: 981px) {
  .site-header.scrolled {
    background-image:
      linear-gradient(to bottom, rgba(26, 53, 32, 0.92) 0%, rgba(31, 58, 27, 0.88) 100%),
      url('https://images.unsplash.com/photo-1441974231531-c6227db76b6e?w=1920&q=80&auto=format&fit=crop');
    border-bottom-width: 2px;
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.25);
  }

  /* Layout flex en ligne : tous les onglets visibles à droite du logo */
  .site-header.scrolled .header-inner {
    display: flex;
    flex-wrap: nowrap;
    align-items: center;
    justify-content: flex-start;
    min-height: 58px;
    padding: 6px 0 10px;
    gap: 18px;
    overflow: visible;
  }

  /* Logo : à gauche, compact, ne se rétracte pas */
  .site-header.scrolled .logo {
    order: 1;
    margin-right: auto;
    flex-shrink: 0;
  }
  .site-header.scrolled .logo-medallion {
    width: 52px;
    height: 52px;
    padding: 5px;
    box-shadow:
      0 0 0 2px rgba(255, 255, 255, 0.85),
      0 0 0 4px rgba(168, 213, 186, 0.3),
      0 4px 12px rgba(0, 0, 0, 0.2);
  }
  .site-header.scrolled .logo img { max-height: 40px; }

  /* Navigations : visibles, ne se rétractent pas, padding remis à zéro */
  .site-header.scrolled .nav-left,
  .site-header.scrolled .nav-right {
    padding: 0 !important;
    flex-shrink: 0;
    justify-content: flex-start;
  }
  .site-header.scrolled .nav-left { order: 2; }
  .site-header.scrolled .nav-right { order: 3; }
  .site-header.scrolled .nav-left ul,
  .site-header.scrolled .nav-right ul {
    gap: 16px;
    flex-wrap: nowrap;
  }
  .site-header.scrolled .nav-left a,
  .site-header.scrolled .nav-right a {
    font-size: 0.86rem;
    white-space: nowrap;
  }

  /* Boutons "Appeler" + "Prendre RDV" : icônes seules en scrolled (gain d'espace pour la nav) */
  .site-header.scrolled .header-cta {
    order: 4;
    flex-shrink: 0;
    gap: 6px;
  }
  .site-header.scrolled .header-cta .btn-call {
    padding: 0;
    width: 38px;
    height: 38px;
    justify-content: center;
    align-items: center;
    border-radius: 50%;
  }
  .site-header.scrolled .header-cta .btn-call .btn-call-label {
    display: none;
  }
  .site-header.scrolled .header-cta .btn-call svg {
    width: 18px;
    height: 18px;
  }
}

/* Sur écrans intermédiaires (981-1200px) : compacter la nav */
@media (min-width: 981px) and (max-width: 1200px) {
  .site-header.scrolled .header-inner { gap: 14px; }
  .site-header.scrolled .nav-left ul,
  .site-header.scrolled .nav-right ul { gap: 12px; }
  .site-header.scrolled .nav-left a,
  .site-header.scrolled .nav-right a { font-size: 0.82rem; }
  .site-header.scrolled .header-cta .btn-call {
    width: 34px;
    height: 34px;
  }
}

.header-inner {
  display: grid;
  grid-template-columns: 1fr auto 1fr auto;
  align-items: center;
  padding: 12px 0 18px; /* + padding-bottom pour aérer le logo */
  gap: 12px;
  min-height: 86px;
}

/* Navigations gauche & droite */
.nav-left, .nav-right {
  display: flex;
  align-items: center;
}
.nav-left ul, .nav-right ul {
  display: flex;
  align-items: center;
  gap: 20px;
  list-style: none;
}
.nav-left { justify-content: flex-end; padding-right: 10px; }
.nav-right { justify-content: flex-start; padding-left: 10px; }

.nav-left a, .nav-right a {
  color: #ffffff;
  font-weight: 600;
  font-size: 0.92rem;
  padding: 6px 14px;
  position: relative;
  text-shadow: 0 1px 3px rgba(0, 0, 0, 0.4);
  white-space: nowrap;
}
/* Effet "barrière" : séparateurs verticaux entre onglets (planches de fence) */
.nav-left li + li a::before,
.nav-right li + li a::before {
  content: '';
  position: absolute;
  left: -2px;
  top: 50%;
  transform: translateY(-50%);
  width: 2px;
  height: 14px;
  background: linear-gradient(180deg, rgba(232, 220, 196, 0) 0%, rgba(232, 220, 196, 0.6) 50%, rgba(232, 220, 196, 0) 100%);
  border-radius: 1px;
}
.nav-left a::after, .nav-right a::after {
  content: '';
  position: absolute;
  left: 0; bottom: -2px;
  width: 0; height: 2px;
  background-color: #ffffff;
  transition: width 0.25s ease;
}
.nav-left a:hover::after,
.nav-right a:hover::after,
.nav-left a.active::after,
.nav-right a.active::after { width: 100%; }

/* Logo médaillon central (fond vert pâle) */
.logo {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  position: relative;
}
.logo-medallion {
  display: flex;
  align-items: center;
  justify-content: center;
  background: radial-gradient(circle at 30% 25%, #ffffff 0%, var(--color-pale-green) 80%);
  border-radius: 50%;
  width: 78px;
  height: 78px;
  padding: 8px;
  box-shadow:
    0 0 0 2px rgba(255, 255, 255, 0.85),
    0 0 0 5px rgba(168, 213, 186, 0.35),
    0 8px 22px rgba(0, 0, 0, 0.3);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}
.logo-medallion:hover {
  box-shadow:
    0 0 0 3px rgba(255, 255, 255, 0.95),
    0 0 0 8px rgba(168, 213, 186, 0.5),
    0 14px 32px rgba(0, 0, 0, 0.4);
}
.logo-medallion:hover { transform: scale(1.04); }
.logo img {
  height: auto;
  max-height: 62px;
  max-width: 100%;
  /* Supprime le fond blanc du PNG */
  mix-blend-mode: multiply;
}

/* Bouton "Appeler" dans le header — taille adaptée */
.header-cta {
  display: flex;
  align-items: center;
  gap: 8px;
}
.header-cta .btn {
  padding: 9px 16px;
  font-size: 0.88rem;
}
.header-cta .btn-call svg {
  width: 16px;
  height: 16px;
}
/* Burger : caché par défaut (desktop) */
.menu-toggle { display: none; }
.logo-text {
  font-family: 'Playfair Display', serif;
  font-size: 1.15rem;
  font-weight: 700;
  color: var(--color-primary-dark);
  letter-spacing: 1px;
  line-height: 1.1;
}
.logo-text span {
  display: block;
  font-size: 0.7rem;
  font-weight: 400;
  letter-spacing: 1.5px;
  color: var(--color-text-muted);
  text-transform: uppercase;
  font-family: 'Open Sans', sans-serif;
}

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

.main-nav a {
  color: var(--color-text);
  font-weight: 600;
  font-size: 0.95rem;
  padding: 6px 0;
  position: relative;
}
.main-nav a::after {
  content: '';
  position: absolute;
  left: 0;
  bottom: 0;
  width: 0;
  height: 2px;
  background-color: var(--color-primary);
  transition: width 0.25s ease;
}
.main-nav a:hover::after,
.main-nav a.active::after { width: 100%; }
.main-nav a.active { color: var(--color-primary-dark); }

.header-cta {
  display: flex;
  gap: 10px;
  align-items: center;
}
.header-phone {
  color: var(--color-primary-dark);
  font-weight: 700;
  white-space: nowrap;
}

/* Bouton "Appeler" avec icône téléphone */
.btn-call {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  white-space: nowrap;
}
.btn-call svg {
  width: 18px;
  height: 18px;
  flex-shrink: 0;
  fill: currentColor;
}

.menu-toggle {
  display: none;
  background: none;
  border: 0;
  width: 40px;
  height: 40px;
  cursor: pointer;
  padding: 0;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
}
.menu-toggle span {
  display: block;
  width: 26px;
  height: 3px;
  background-color: var(--color-primary-dark);
  border-radius: 2px;
  transition: all 0.25s ease;
}
.menu-toggle.is-open span:nth-child(1) { transform: translateY(8px) rotate(45deg); }
.menu-toggle.is-open span:nth-child(2) { opacity: 0; }
.menu-toggle.is-open span:nth-child(3) { transform: translateY(-8px) rotate(-45deg); }

/* ---------- 7. Hero ---------- */
.hero {
  position: relative;
  padding: 120px 0 100px;
  background:
    linear-gradient(180deg, rgba(20, 40, 24, 0.78) 0%, rgba(31, 58, 27, 0.7) 100%),
    url('https://images.unsplash.com/photo-1502082553048-f009c37129b9?w=1920&q=85&auto=format&fit=crop');
  background-size: cover;
  background-position: center top;
  overflow: hidden;
  color: #ffffff;
}
.hero .eyebrow { color: var(--color-mint); text-shadow: 0 1px 6px rgba(0, 0, 0, 0.5); }
.hero h1 { color: #ffffff; text-shadow: 0 2px 12px rgba(0, 0, 0, 0.4); }
.hero .lead { color: rgba(255, 255, 255, 0.95); text-shadow: 0 1px 8px rgba(0, 0, 0, 0.4); }
.hero .lead strong { color: #ffffff; }
.hero::before {
  content: '';
  position: absolute;
  top: -80px;
  right: -80px;
  width: 380px;
  height: 380px;
  background: radial-gradient(circle, rgba(168, 213, 186, 0.35), transparent 70%);
  border-radius: 50%;
  z-index: 0;
}
.hero::after {
  content: '';
  position: absolute;
  bottom: -120px;
  left: -100px;
  width: 320px;
  height: 320px;
  background: radial-gradient(circle, rgba(135, 169, 107, 0.25), transparent 65%);
  border-radius: 50%;
  z-index: 0;
}

.hero-grid {
  display: grid;
  grid-template-columns: 1.1fr 1fr;
  gap: 50px;
  align-items: center;
  position: relative;
  z-index: 1;
}

.hero-content h1 { color: #ffffff; }
.hero-content h1 strong { color: var(--color-mint); }
.hero-content .lead { font-size: 1.2rem; margin-bottom: 30px; }
.hero-cta { display: flex; gap: 14px; flex-wrap: wrap; margin-top: 12px; }

.hero-visual {
  position: relative;
  text-align: center;
}

/* Tampon ECO RESPONSABLE — visible sur fond clair ou sombre */
/* Badge ECO RESPONSABLE vectoriel — pastille ronde, fond transparent */
.eco-stamp {
  position: absolute;
  top: 14px;
  right: 14px;
  z-index: 4;
  width: 92px;
  height: 92px;
  border-radius: 50%;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 1px;
  background: radial-gradient(circle at 35% 30%, #ffffff 0%, var(--color-pale-green) 100%);
  border: 2px dashed var(--color-primary);
  box-shadow: 0 6px 16px rgba(31, 58, 27, 0.28);
  color: var(--color-primary-darker);
  text-align: center;
  transform: rotate(-10deg);
  animation: stampPulse 3.2s ease-in-out infinite;
}
.eco-stamp i,
.eco-stamp [data-lucide] {
  width: 26px;
  height: 26px;
  stroke: var(--color-primary);
  stroke-width: 2;
}
.eco-stamp .eco-stamp-top {
  font-family: 'Playfair Display', serif;
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 2px;
  line-height: 1;
}
.eco-stamp .eco-stamp-bottom {
  font-family: 'Open Sans', sans-serif;
  font-size: 0.56rem;
  font-weight: 700;
  letter-spacing: 1px;
  line-height: 1;
  text-transform: uppercase;
}
@keyframes stampPulse {
  0%, 100% { transform: rotate(-10deg) scale(1); }
  50%      { transform: rotate(-7deg) scale(1.06); }
}
.eco-stamp-inline {
  display: inline-block;
  vertical-align: middle;
  width: 90px;
  height: auto;
  margin: 0 6px;
}

/* ===== HERO PHOTO ANIMÉE — bio cleaning ===== */
.hero-photo-frame {
  position: relative;
  max-width: 500px;
  margin: 0 auto;
  aspect-ratio: 4 / 5;
  border-radius: 24px;
  overflow: hidden;
  box-shadow:
    0 20px 60px rgba(31, 58, 27, 0.3),
    0 0 0 6px rgba(255, 255, 255, 0.9),
    0 0 0 10px rgba(168, 213, 186, 0.4);
  background: var(--color-pale-green);
}
.hero-photo-frame > img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  filter: saturate(1.12) contrast(1.04);
  mix-blend-mode: normal; /* override la règle .logo img */
}

/* Voile vert doux sur la photo pour cohérence */
.hero-photo-frame::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(31, 58, 27, 0) 50%, rgba(31, 58, 27, 0.35) 100%);
  z-index: 1;
  pointer-events: none;
}

/* Bulles éco qui montent */
.hero-anim {
  position: absolute;
  inset: 0;
  z-index: 2;
  pointer-events: none;
  overflow: hidden;
}
.bubble {
  position: absolute;
  border-radius: 50%;
  background: radial-gradient(circle at 32% 28%, rgba(255, 255, 255, 0.95) 0%, rgba(168, 213, 186, 0.55) 70%, rgba(135, 169, 107, 0.4) 100%);
  border: 1.5px solid rgba(255, 255, 255, 0.7);
  box-shadow:
    inset 0 0 8px rgba(255, 255, 255, 0.6),
    0 4px 12px rgba(74, 124, 63, 0.3);
  animation: bubbleRise 7s ease-in infinite;
  opacity: 0;
}
.bubble::after {
  content: '';
  position: absolute;
  inset: 22%;
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%234A7C3F' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'><path d='M11 20A7 7 0 0 1 9.8 6.1C15.5 5 17 4.48 19 2c1 2 2 4.18 2 8 0 5.5-4.78 10-10 10Z'/><path d='M2 21c0-3 1.85-5.36 5.08-6'/></svg>");
  background-size: contain;
  background-repeat: no-repeat;
  background-position: center;
  opacity: 0.85;
}
.bubble-1 { width: 42px; height: 42px; left: 12%; bottom: -50px; animation-delay: 0s; }
.bubble-2 { width: 30px; height: 30px; left: 32%; bottom: -50px; animation-delay: 1.5s; animation-duration: 6s; }
.bubble-3 { width: 54px; height: 54px; left: 56%; bottom: -50px; animation-delay: 3s; animation-duration: 8s; }
.bubble-4 { width: 36px; height: 36px; left: 78%; bottom: -50px; animation-delay: 2.2s; animation-duration: 7.5s; }
.bubble-5 { width: 24px; height: 24px; left: 22%; bottom: -50px; animation-delay: 4.5s; animation-duration: 6.5s; }
.bubble-6 { width: 28px; height: 28px; left: 68%; bottom: -50px; animation-delay: 5s; animation-duration: 7s; }

@keyframes bubbleRise {
  0%   { transform: translateY(0) translateX(0); opacity: 0; }
  10%  { opacity: 0.95; }
  50%  { transform: translateY(-200px) translateX(15px); }
  80%  { opacity: 0.7; }
  100% { transform: translateY(-420px) translateX(-10px); opacity: 0; }
}

/* Étincelles qui scintillent */
.spark {
  position: absolute;
  width: 18px;
  height: 18px;
  background-color: #FFE49A;
  clip-path: polygon(50% 0%, 58% 38%, 100% 50%, 58% 62%, 50% 100%, 42% 62%, 0% 50%, 42% 38%);
  animation: sparkFlash 2.4s ease-in-out infinite;
  filter: drop-shadow(0 0 6px rgba(255, 228, 154, 0.8));
}
.spark-1 { top: 12%; right: 14%; animation-delay: 0.2s; }
.spark-2 { top: 28%; right: 8%;  width: 14px; height: 14px; animation-delay: 1.1s; }
.spark-3 { top: 55%; left: 10%;  width: 16px; height: 16px; animation-delay: 0.7s; }
.spark-4 { top: 72%; right: 22%; width: 12px; height: 12px; animation-delay: 1.6s; }
.spark-5 { top: 38%; left: 22%;  width: 13px; height: 13px; animation-delay: 2.0s; }

@keyframes sparkFlash {
  0%, 100% { transform: scale(0) rotate(0deg); opacity: 0; }
  50%      { transform: scale(1) rotate(45deg); opacity: 1; }
}

/* Pastille "100% BIO" élégante, intégrée en haut à gauche de la photo */
.hero-badge-100 {
  position: absolute;
  top: 18px;
  left: 18px;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 7px 14px 7px 10px;
  border-radius: 30px;
  background: rgba(255, 255, 255, 0.94);
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
  color: var(--color-primary-darker);
  z-index: 3;
  box-shadow: 0 4px 14px rgba(31, 58, 27, 0.18);
  border: 1px solid rgba(255, 255, 255, 0.7);
  font-family: 'Open Sans', sans-serif;
  font-size: 0.85rem;
}
.hero-badge-100::before {
  content: '';
  width: 18px;
  height: 18px;
  flex-shrink: 0;
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%235C8A3A' stroke-width='2.2' stroke-linecap='round' stroke-linejoin='round'><path d='M11 20A7 7 0 0 1 9.8 6.1C15.5 5 17 4.48 19 2c1 2 2 4.18 2 8 0 5.5-4.78 10-10 10Z'/><path d='M2 21c0-3 1.85-5.36 5.08-6'/></svg>");
  background-size: contain;
  background-repeat: no-repeat;
  background-position: center;
}
.hero-badge-100 span {
  font-weight: 600;
  letter-spacing: 0.5px;
  color: var(--color-primary-dark);
}
.hero-badge-100 strong {
  font-weight: 800;
  letter-spacing: 0.5px;
  color: var(--color-primary-darker);
  margin-left: 2px;
}

/* Respect des préférences "réduire les animations" */
@media (prefers-reduced-motion: reduce) {
  .bubble, .spark, .hero-badge-100 {
    animation: none;
  }
  .bubble, .spark { opacity: 1; }
}
.hero-visual .badge-eco {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background-color: #ffffff;
  border: 1px solid var(--color-border);
  border-radius: 999px;
  padding: 10px 20px;
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--color-primary-dark);
  box-shadow: var(--shadow-sm);
  margin-bottom: 20px;
}
.hero-visual .badge-eco::before {
  content: '';
  width: 10px; height: 10px;
  border-radius: 50%;
  background-color: var(--color-primary);
}

.hero-stats {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
  margin-top: 40px;
  background: #ffffff;
  border-radius: var(--radius-lg);
  padding: 24px;
  box-shadow: var(--shadow-md);
}
.hero-stat strong {
  display: block;
  font-family: 'Playfair Display', serif;
  font-size: 1.8rem;
  color: var(--color-primary);
  margin-bottom: 2px;
}
.hero-stat span { font-size: 0.85rem; color: var(--color-text-muted); }

/* ---------- 8. Cartes services / blocs ---------- */
.cards-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 28px;
}

.card {
  background-color: #ffffff;
  border: 1px solid var(--color-border);
  border-radius: var(--radius-lg);
  padding: 32px 28px;
  transition: transform 0.25s ease, box-shadow 0.25s ease, border-color 0.25s ease;
}
.card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-md);
  border-color: rgba(107, 166, 68, 0.4);
}
.card-icon {
  width: 56px; height: 56px;
  display: flex; align-items: center; justify-content: center;
  background-color: var(--color-bg-soft);
  border-radius: 12px;
  margin-bottom: 18px;
  font-size: 1.6rem;
  color: var(--color-primary);
}
.card h3 { font-size: 1.25rem; margin-bottom: 10px; }
.card p { font-size: 0.97rem; color: var(--color-text-soft); }

/* Cartes "audience" (Pro / Particulier) */
.audience-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 30px;
}
.audience-card {
  position: relative;
  border-radius: var(--radius-lg);
  padding: 44px 38px;
  overflow: hidden;
  border: 1px solid var(--color-border);
  background: #ffffff;
  box-shadow: 0 8px 24px rgba(31, 58, 27, 0.08);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}
.audience-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 16px 40px rgba(31, 58, 27, 0.15);
}
.audience-card.audience-pro {
  background: linear-gradient(135deg, #f0f5e8 0%, #ffffff 60%);
  border-top: 5px solid var(--color-primary);
}
.audience-card.audience-pro::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 5px;
  background: linear-gradient(90deg, var(--color-primary-dark), var(--color-primary), var(--color-sage));
}
.audience-card.audience-part {
  background: linear-gradient(135deg, #fbf3e8 0%, #ffffff 60%);
  border-top: 5px solid var(--color-accent);
}
.audience-card.audience-part::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 5px;
  background: linear-gradient(90deg, var(--color-accent-dark), var(--color-accent), var(--color-gold));
}
.audience-card h3 { margin-bottom: 14px; }
.audience-card ul {
  margin: 18px 0 26px;
  padding-left: 0;
}
.audience-card li {
  position: relative;
  padding-left: 28px;
  margin-bottom: 10px;
  color: var(--color-text-soft);
}
.audience-card li::before {
  content: '✓';
  position: absolute;
  left: 0; top: 0;
  width: 20px; height: 20px;
  display: flex; align-items: center; justify-content: center;
  font-size: 0.8rem;
  font-weight: 700;
  color: #ffffff;
  background-color: var(--color-primary);
  border-radius: 50%;
}
.audience-card.audience-part li::before { background-color: var(--color-accent); }

/* ---------- 9. Bandeau "engagement / valeurs" ---------- */
.values {
  background:
    linear-gradient(180deg, var(--color-cream) 0%, var(--color-bg-soft) 100%);
}
.values-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 28px;
  text-align: center;
}
.value-item .value-icon {
  width: 64px; height: 64px;
  margin: 0 auto 16px;
  display: flex; align-items: center; justify-content: center;
  background-color: #ffffff;
  border-radius: 50%;
  font-size: 1.6rem;
  color: var(--color-primary);
  box-shadow: var(--shadow-sm);
}
.value-item h3 { font-size: 1.15rem; }
.value-item p { font-size: 0.95rem; color: var(--color-text-soft); margin: 0 auto; }

/* ---------- 10. Process / étapes ---------- */
.steps {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 24px;
  counter-reset: step;
}
.step {
  position: relative;
  padding: 30px 24px 26px;
  background: #ffffff;
  border-radius: var(--radius-lg);
  border: 1px solid var(--color-border);
  counter-increment: step;
}
.step::before {
  content: counter(step, decimal-leading-zero);
  position: absolute;
  top: -18px; left: 24px;
  font-family: 'Playfair Display', serif;
  font-size: 1.3rem;
  font-weight: 700;
  color: #ffffff;
  background-color: var(--color-primary);
  width: 44px; height: 44px;
  display: flex; align-items: center; justify-content: center;
  border-radius: 50%;
  box-shadow: var(--shadow-sm);
}
.step h3 { font-size: 1.15rem; margin-top: 14px; }
.step p { font-size: 0.95rem; color: var(--color-text-soft); margin: 0; }

/* ---------- 10b. Section "Appelez-nous" ---------- */
.call-section {
  background: linear-gradient(135deg, #f5f7f1 0%, #ffffff 60%);
  border-top: 1px solid var(--color-border);
  border-bottom: 1px solid var(--color-border);
}
.call-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 50px;
  align-items: center;
}
.call-text .eyebrow { color: var(--color-primary); }
.call-text h2 { color: var(--color-primary-darker); margin-bottom: 12px; }
.call-text p { color: var(--color-text-soft); }

.call-card {
  background: #ffffff;
  border: 1px solid var(--color-border);
  border-radius: var(--radius-lg);
  padding: 40px 36px;
  box-shadow: var(--shadow-md);
  text-align: center;
  position: relative;
}
.call-card::before {
  content: '';
  position: absolute;
  inset: -1px;
  border-radius: var(--radius-lg);
  padding: 2px;
  background: linear-gradient(135deg, var(--color-primary), var(--color-accent));
  -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
  -webkit-mask-composite: xor;
          mask-composite: exclude;
  pointer-events: none;
}
.call-icon-big {
  width: 72px;
  height: 72px;
  margin: 0 auto 18px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--color-primary);
  color: #ffffff;
  border-radius: 50%;
  font-size: 1.8rem;
  box-shadow: 0 8px 24px rgba(107, 166, 68, 0.3);
}
.call-number {
  display: block;
  font-family: 'Playfair Display', serif;
  font-size: clamp(2rem, 4vw, 2.6rem);
  font-weight: 700;
  color: var(--color-primary-darker);
  margin: 6px 0 4px;
  letter-spacing: 1px;
  text-decoration: none;
  transition: color 0.25s ease;
}
.call-number:hover { color: var(--color-primary); }
.call-availability {
  display: block;
  font-size: 0.92rem;
  color: var(--color-text-muted);
  margin-bottom: 22px;
}
.call-card .btn { width: 100%; }

@media (max-width: 980px) {
  .call-grid { grid-template-columns: 1fr; gap: 36px; }
}

/* ---------- 10c. Galerie / Réalisations ---------- */
.gallery-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 24px;
}
.gallery-item {
  position: relative;
  border-radius: var(--radius-lg);
  overflow: hidden;
  aspect-ratio: 4 / 3;
  background-color: var(--color-bg-soft);
  cursor: default;
  box-shadow: var(--shadow-sm);
  transition: transform 0.35s ease, box-shadow 0.35s ease;
}
.gallery-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.6s ease, filter 0.4s ease;
  /* Traitement bio : saturation des verts + teinte douce */
  filter: saturate(1.15) contrast(1.04);
}
.gallery-item:hover img { filter: saturate(1.25) contrast(1.06); }

/* Léger voile vert sur l'image (mood bio) */
.gallery-item::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(107, 166, 68, 0.0) 40%, rgba(74, 124, 63, 0.15) 100%);
  z-index: 1;
  pointer-events: none;
}

/* Badge "BIO" en haut à gauche de chaque vignette */
.gallery-item::after {
  content: '🌿';
  position: absolute;
  top: 14px;
  left: 14px;
  z-index: 3;
  background: #ffffff;
  width: 38px;
  height: 38px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 18px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.18);
  border: 2px solid var(--color-primary);
}
.gallery-overlay { z-index: 2; }
.gallery-item:hover { transform: translateY(-4px); box-shadow: var(--shadow-md); }
.gallery-item:hover img { transform: scale(1.05); }

.gallery-overlay {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: 24px;
  background: linear-gradient(to top, rgba(31, 44, 26, 0.85) 0%, rgba(31, 44, 26, 0.3) 50%, transparent 100%);
  color: #ffffff;
}
.gallery-overlay .tag {
  display: inline-block;
  align-self: flex-start;
  background-color: var(--color-primary);
  color: #ffffff;
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1.5px;
  padding: 4px 12px;
  border-radius: 20px;
  margin-bottom: 10px;
}
.gallery-overlay h3 {
  color: #ffffff;
  font-size: 1.15rem;
  margin: 0 0 4px 0;
}
.gallery-overlay p {
  color: rgba(255, 255, 255, 0.9);
  font-size: 0.9rem;
  margin: 0;
  max-width: none;
}

/* ---------- 10d. Image-bandeau pages internes ---------- */
.section-image-banner {
  min-height: 280px;
  background-size: cover;
  background-position: center;
  background-attachment: scroll;
  position: relative;
  margin-top: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 60px 0;
}
.section-image-banner::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(31, 58, 27, 0.72), rgba(74, 124, 63, 0.55));
  z-index: 1;
}
/* Contenu du bandeau (texte + bouton) */
.banner-content {
  position: relative;
  z-index: 2;
  text-align: center;
  color: #ffffff;
  max-width: 720px;
  padding: 0 24px;
}
.banner-content h2 {
  color: #ffffff;
  margin-bottom: 14px;
  text-shadow: 0 2px 12px rgba(0, 0, 0, 0.35);
}
.banner-content p {
  color: rgba(255, 255, 255, 0.95);
  font-size: 1.05rem;
  margin: 0 auto 26px;
  max-width: 60ch;
  text-shadow: 0 1px 6px rgba(0, 0, 0, 0.3);
}
.banner-content .btn {
  box-shadow: 0 8px 22px rgba(0, 0, 0, 0.3);
}
/* Mots en gras à l'intérieur des bandeaux verts → vert clair (mint) */
.banner-content strong,
.cta-banner strong {
  color: var(--color-mint);
  font-weight: 700;
}
/* Badge "BIO" sur les bandeaux d'image */
.section-image-banner::before {
  content: '🌿 Nettoyage 100% Bio';
  position: absolute;
  top: 22px;
  right: 22px;
  z-index: 2;
  background: #ffffff;
  color: var(--color-primary-darker);
  font-weight: 700;
  font-size: 0.85rem;
  padding: 8px 16px;
  border-radius: 30px;
  box-shadow: 0 4px 14px rgba(0, 0, 0, 0.2);
  border: 2px solid var(--color-primary);
}

/* Wrapper pour les photos directes (audience cards, etc.) */
.bio-photo {
  position: relative;
  border-radius: 10px;
  overflow: hidden;
}
.bio-photo img {
  display: block;
  width: 100%;
  filter: saturate(1.15) contrast(1.04);
  transition: filter 0.3s ease;
}
.bio-photo::after {
  content: '🌿';
  position: absolute;
  top: 12px;
  left: 12px;
  z-index: 3;
  background: #ffffff;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 18px;
  box-shadow: 0 3px 10px rgba(0, 0, 0, 0.18);
  border: 2px solid var(--color-primary);
}

@media (max-width: 600px) {
  .section-image-banner { min-height: 200px; padding: 40px 0; }
  .section-image-banner::before {
    font-size: 0.72rem;
    padding: 6px 12px;
    top: 12px; right: 12px;
  }
  .banner-content p { font-size: 0.95rem; }
}

/* ---------- 11. CTA bandeau ---------- */
.cta-banner {
  background:
    linear-gradient(135deg, rgba(26, 53, 32, 0.82) 0%, rgba(61, 107, 42, 0.74) 50%, rgba(92, 138, 58, 0.7) 100%),
    url('https://images.unsplash.com/photo-1441974231531-c6227db76b6e?w=1920&q=80&auto=format&fit=crop');
  background-size: cover;
  background-position: center;
  background-attachment: fixed;
  color: #ffffff;
  text-align: center;
  padding: 80px 0;
  position: relative;
  overflow: hidden;
}
.cta-banner::before {
  content: '';
  position: absolute;
  top: -120px;
  right: -120px;
  width: 380px;
  height: 380px;
  background: radial-gradient(circle, rgba(168, 213, 186, 0.18), transparent 70%);
  border-radius: 50%;
}
.cta-banner::after {
  content: '';
  position: absolute;
  bottom: -100px;
  left: -100px;
  width: 320px;
  height: 320px;
  background: radial-gradient(circle, rgba(201, 164, 73, 0.12), transparent 70%);
  border-radius: 50%;
}
.cta-banner > * { position: relative; z-index: 1; }
.cta-banner h2 { color: #ffffff; }
.cta-banner p { color: rgba(255, 255, 255, 0.9); margin: 0 auto 26px; max-width: 60ch; }
.cta-banner .btn-primary {
  background: linear-gradient(135deg, var(--color-primary) 0%, var(--color-primary-dark) 100%);
  color: #ffffff;
  border-color: var(--color-primary-dark);
  box-shadow: 0 6px 18px rgba(0, 0, 0, 0.25);
}
.cta-banner .btn-primary:hover {
  background: linear-gradient(135deg, var(--color-primary-dark) 0%, var(--color-primary-darker) 100%);
  color: #ffffff;
  border-color: var(--color-primary-darker);
  box-shadow: 0 10px 24px rgba(0, 0, 0, 0.35);
}
.cta-banner-actions { display: flex; gap: 14px; justify-content: center; flex-wrap: wrap; }

/* ---------- 12. Page interne — bannière ---------- */
.page-banner {
  background: linear-gradient(135deg, var(--color-bg-soft), #ffffff);
  padding: 70px 0 50px;
  text-align: center;
  border-bottom: 1px solid var(--color-border);
}
.page-banner h1 { color: var(--color-primary-darker); }
.page-banner p { margin: 0 auto; max-width: 60ch; color: var(--color-text-soft); }
.breadcrumb {
  font-size: 0.85rem;
  color: var(--color-text-muted);
  margin-bottom: 14px;
}
.breadcrumb a { color: var(--color-text-muted); }
.breadcrumb a:hover { color: var(--color-primary); }

/* ---------- 13. Listes services détaillés ---------- */
.service-list {
  display: grid;
  grid-template-columns: 1fr;
  gap: 24px;
}
.service-row {
  display: grid;
  grid-template-columns: 80px 1fr;
  gap: 24px;
  align-items: start;
  padding: 28px;
  background: #ffffff;
  border: 1px solid var(--color-border);
  border-radius: var(--radius-lg);
  transition: border-color 0.25s ease, box-shadow 0.25s ease;
}
.service-row:hover {
  border-color: rgba(107, 166, 68, 0.5);
  box-shadow: var(--shadow-sm);
}
.service-row .service-icon {
  width: 64px; height: 64px;
  display: flex; align-items: center; justify-content: center;
  background-color: var(--color-bg-soft);
  border-radius: 14px;
  font-size: 1.7rem;
  color: var(--color-primary);
}
.service-row h3 { margin-bottom: 8px; font-size: 1.2rem; }
.service-row p { margin-bottom: 0; font-size: 0.97rem; color: var(--color-text-soft); }

/* ---------- 13a. AVANT / APRÈS — comparateur slider ---------- */
.before-after-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 32px;
}

/* Carte "montage" avant/après (image composite fournie par le client) */
.ba-full {
  position: relative;
  border-radius: var(--radius-lg);
  overflow: hidden;
  border: 1px solid var(--color-border);
  box-shadow: var(--shadow-sm);
  background: #ffffff;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}
.ba-full:hover { transform: translateY(-4px); box-shadow: var(--shadow-md); }
.ba-full .ba-media { position: relative; display: block; }
.ba-full img {
  width: 100%;
  height: auto;
  display: block;
  filter: saturate(1.1) contrast(1.03);
}
.ba-full .ba-tags {
  position: absolute;
  top: 14px; left: 14px; right: 14px;
  display: flex;
  justify-content: space-between;
  pointer-events: none;
  z-index: 2;
}
/* Montage vertical (avant en haut, après en bas) : étiquettes empilées à gauche */
.ba-full.ba-vertical .ba-tags {
  top: 14px; bottom: 14px; left: 14px; right: 14px;
  flex-direction: column;
  align-items: flex-start;
  justify-content: space-between;
}
.ba-full .ba-tag {
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1px;
  padding: 5px 12px;
  border-radius: 20px;
  background: rgba(255, 255, 255, 0.95);
  box-shadow: 0 2px 8px rgba(0,0,0,0.15);
}
.ba-full .ba-tag-before { color: #b85450; }
.ba-full .ba-tag-after  { color: var(--color-primary-dark); }
.ba-full .ba-caption {
  padding: 18px 22px;
}
.ba-full .ba-caption h3 { margin: 0 0 4px; font-size: 1.15rem; color: var(--color-primary-darker); }
.ba-full .ba-caption p { margin: 0; font-size: 0.92rem; color: var(--color-text-soft); }
.ba-card {
  background: #ffffff;
  border: 1px solid var(--color-border);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}
.ba-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-md); }
.ba-card-header {
  padding: 18px 22px 0;
}
.ba-card-header h3 {
  margin: 0 0 4px;
  font-size: 1.2rem;
  color: var(--color-primary-darker);
}
.ba-card-header p {
  margin: 0;
  font-size: 0.9rem;
  color: var(--color-text-muted);
}
.ba-compare {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4px;
  padding: 16px;
}
.ba-slot {
  position: relative;
  aspect-ratio: 4 / 3;
  background-color: var(--color-bg-soft);
  border-radius: 8px;
  overflow: hidden;
  border: 2px dashed var(--color-border);
}
.ba-slot img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}
.ba-label {
  position: absolute;
  top: 10px;
  left: 10px;
  background: rgba(255, 255, 255, 0.95);
  color: var(--color-text);
  font-weight: 700;
  font-size: 0.78rem;
  padding: 4px 10px;
  border-radius: 20px;
  text-transform: uppercase;
  letter-spacing: 1px;
  z-index: 2;
}
.ba-slot.ba-before .ba-label { color: #b85450; }
.ba-slot.ba-after .ba-label  { color: var(--color-primary-dark); }
.ba-placeholder {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  color: var(--color-text-muted);
  font-size: 0.85rem;
  text-align: center;
  padding: 16px;
}
.ba-placeholder svg { width: 32px; height: 32px; margin-bottom: 8px; opacity: 0.5; }

/* ---------- 13c. AVIS clients ---------- */
.reviews-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 26px;
}
.review-card {
  background: #ffffff;
  border: 1px solid var(--color-border);
  border-radius: var(--radius-lg);
  padding: 28px 26px;
  box-shadow: var(--shadow-sm);
  display: flex;
  flex-direction: column;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}
.review-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-md); }
.review-stars {
  display: flex;
  gap: 2px;
  margin-bottom: 14px;
  color: var(--color-gold);
}
.review-stars svg { width: 18px; height: 18px; fill: var(--color-gold); stroke: var(--color-gold); }
.review-text {
  font-size: 0.98rem;
  color: var(--color-text-soft);
  line-height: 1.7;
  margin-bottom: 20px;
  flex-grow: 1;
}
.review-text::before { content: '\201C'; color: var(--color-primary); font-size: 1.4rem; font-weight: 700; }
.review-author {
  display: flex;
  align-items: center;
  gap: 12px;
  border-top: 1px solid var(--color-border);
  padding-top: 16px;
}
.review-avatar {
  width: 44px; height: 44px;
  flex-shrink: 0;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--color-primary), var(--color-primary-dark));
  color: #ffffff;
  display: flex; align-items: center; justify-content: center;
  font-family: 'Playfair Display', serif;
  font-weight: 700;
  font-size: 1.1rem;
}
.review-author strong { display: block; font-size: 0.95rem; color: var(--color-text); }
.review-author span { font-size: 0.82rem; color: var(--color-text-muted); }

.reviews-summary {
  text-align: center;
  max-width: 540px;
  margin: 0 auto 44px;
  background: #ffffff;
  border: 1px solid var(--color-border);
  border-radius: var(--radius-lg);
  padding: 28px;
  box-shadow: var(--shadow-sm);
}
.reviews-summary .big-note {
  font-family: 'Playfair Display', serif;
  font-size: 2.6rem;
  font-weight: 700;
  color: var(--color-primary-dark);
  line-height: 1;
}
.reviews-summary .stars-row {
  display: flex; justify-content: center; gap: 3px; margin: 8px 0;
  color: var(--color-gold);
}
.reviews-summary .stars-row svg { width: 22px; height: 22px; fill: var(--color-gold); stroke: var(--color-gold); }
.reviews-summary p { margin: 0; color: var(--color-text-muted); font-size: 0.9rem; }

/* ---------- 13b. FAQ accordéon ---------- */
.faq-list {
  max-width: 820px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 14px;
}
.faq-item {
  background-color: #ffffff;
  border: 1px solid var(--color-border);
  border-radius: var(--radius-lg);
  overflow: hidden;
  transition: border-color 0.25s ease, box-shadow 0.25s ease;
}
.faq-item:hover {
  border-color: rgba(92, 138, 58, 0.4);
  box-shadow: var(--shadow-sm);
}
.faq-item[open] {
  border-color: var(--color-primary);
  box-shadow: 0 6px 18px rgba(61, 107, 42, 0.12);
}
.faq-item summary {
  cursor: pointer;
  padding: 20px 24px;
  font-family: 'Playfair Display', serif;
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--color-text);
  list-style: none;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  user-select: none;
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary::after {
  content: '+';
  font-family: 'Open Sans', sans-serif;
  font-size: 1.6rem;
  font-weight: 400;
  color: var(--color-primary);
  width: 32px;
  height: 32px;
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  background-color: var(--color-pale-green);
  border-radius: 50%;
  transition: transform 0.3s ease, background 0.3s ease;
}
.faq-item[open] summary::after {
  content: '−';
  transform: rotate(180deg);
  background-color: var(--color-primary);
  color: #ffffff;
}
.faq-item summary:hover { color: var(--color-primary-dark); }
.faq-answer {
  padding: 0 24px 22px;
  color: var(--color-text-soft);
  font-size: 0.98rem;
  line-height: 1.7;
}
.faq-answer p { margin-bottom: 0.9em; }
.faq-answer p:last-child { margin-bottom: 0; }
.faq-answer ul { margin: 0.5em 0 0.5em 0; padding: 0; }
.faq-answer ul li {
  position: relative;
  padding-left: 22px;
  margin-bottom: 6px;
}
.faq-answer ul li::before {
  content: '';
  position: absolute;
  left: 0; top: 11px;
  width: 7px; height: 7px;
  background-color: var(--color-primary);
  border-radius: 50%;
}

/* Catégorie FAQ (titre de groupe) */
.faq-category {
  margin-top: 40px;
  text-align: center;
}
.faq-category:first-of-type { margin-top: 0; }
.faq-category h3 {
  display: inline-block;
  font-size: 1.2rem;
  color: var(--color-primary-dark);
  padding: 8px 22px;
  background-color: var(--color-pale-green);
  border-radius: 30px;
  margin-bottom: 24px;
}

/* ---------- 14. Formulaire contact ---------- */
.form-grid {
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  gap: 50px;
  align-items: start;
}
.form-card {
  background: #ffffff;
  border: 1px solid var(--color-border);
  border-radius: var(--radius-lg);
  padding: 36px 32px;
  box-shadow: var(--shadow-sm);
}
.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}
.form-group {
  margin-bottom: 18px;
}
.form-group label {
  display: block;
  font-weight: 600;
  font-size: 0.9rem;
  color: var(--color-text);
  margin-bottom: 6px;
}
.form-group input,
.form-group select,
.form-group textarea {
  width: 100%;
  padding: 12px 14px;
  font-family: inherit;
  font-size: 1rem;
  color: var(--color-text);
  background-color: #ffffff;
  border: 1.5px solid var(--color-border);
  border-radius: var(--radius);
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
}
.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  outline: none;
  border-color: var(--color-primary);
  box-shadow: 0 0 0 4px rgba(107, 166, 68, 0.15);
}
.form-group textarea { min-height: 130px; resize: vertical; }
.form-consent {
  display: flex;
  gap: 10px;
  align-items: flex-start;
  font-size: 0.88rem;
  color: var(--color-text-soft);
  margin-bottom: 18px;
}
.form-consent input { margin-top: 4px; }

.contact-info {
  background: var(--color-bg-soft);
  border-radius: var(--radius-lg);
  padding: 36px 32px;
}
.contact-info h3 { margin-bottom: 18px; }
.contact-info-item {
  display: flex;
  gap: 14px;
  align-items: flex-start;
  margin-bottom: 22px;
}
.contact-info-item .icon {
  width: 42px; height: 42px;
  flex-shrink: 0;
  display: flex; align-items: center; justify-content: center;
  background: var(--color-primary);
  color: #ffffff;
  border-radius: 50%;
  font-size: 1.1rem;
}
.contact-info-item strong {
  display: block;
  font-weight: 700;
  margin-bottom: 2px;
}
.contact-info-item a { color: var(--color-text); }
.contact-info-item a:hover { color: var(--color-primary); }

/* ---------- 15. Footer ---------- */
.site-footer {
  background:
    linear-gradient(135deg, var(--color-deep-forest) 0%, #25431d 100%);
  color: #cfd5c8;
  padding: 70px 0 28px;
  margin-top: 0;
  border-top: 4px solid var(--color-primary);
}
.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr 1fr;
  gap: 40px;
}
.footer-brand .logo-text { color: #ffffff; display: block; margin-top: 4px; }
.footer-brand .logo-text span { color: #9bb38d; }
.footer-brand p { color: #b3bfa8; font-size: 0.93rem; margin-top: 12px; }

/* Logo dans le footer : médaillon pale-green pour visibilité sur fond sombre */
.footer-logo {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background-color: var(--color-pale-green);
  border-radius: 12px;
  padding: 10px 16px;
  margin-bottom: 14px;
  box-shadow: 0 4px 14px rgba(0, 0, 0, 0.25);
}
.footer-logo img {
  max-height: 64px;
  width: auto;
  display: block;
  mix-blend-mode: multiply;
}
.site-footer h4 {
  color: #ffffff;
  font-family: 'Open Sans', sans-serif;
  font-size: 0.85rem;
  text-transform: uppercase;
  letter-spacing: 2px;
  margin-bottom: 18px;
}
.site-footer ul li { margin-bottom: 10px; }
.site-footer a { color: #cfd5c8; font-size: 0.93rem; }
.site-footer a:hover { color: #ffffff; }
.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  padding-top: 22px;
  margin-top: 40px;
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 14px;
  font-size: 0.85rem;
  color: #95a48b;
}

/* ---------- 16. Tableaux & contenu enrichi ---------- */
.content-prose {
  max-width: 760px;
  margin: 0 auto;
}
.content-prose h2 { margin-top: 1.6em; }
.content-prose h3 { margin-top: 1.4em; }
.content-prose ul {
  margin: 0 0 1.2em 0;
  padding-left: 0;
}
.content-prose ul li {
  position: relative;
  padding-left: 24px;
  margin-bottom: 8px;
  color: var(--color-text-soft);
}
.content-prose ul li::before {
  content: '';
  position: absolute;
  left: 0; top: 12px;
  width: 8px; height: 8px;
  background-color: var(--color-primary);
  border-radius: 50%;
}

.callout {
  background: linear-gradient(135deg, var(--color-bg-soft), #ffffff);
  border-left: 4px solid var(--color-primary);
  padding: 22px 26px;
  border-radius: var(--radius);
  margin: 26px 0;
}
.callout strong { color: var(--color-primary-darker); }

/* ---------- 17. Responsive ---------- */
@media (max-width: 980px) {
  section { padding: 60px 0; }
  .hero { padding: 70px 0; }
  .hero-grid { grid-template-columns: 1fr; gap: 40px; }
  /* Sur mobile : texte d'abord, puis l'illustration de la maison */
  .hero-content { order: 1; }
  .hero-visual { order: 2; }
  .audience-grid { grid-template-columns: 1fr; }
  .form-grid { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr 1fr; }

  /* Header sur mobile : logo à gauche, burger + boutons à droite */
  .site-header { position: relative; }
  .header-inner {
    grid-template-columns: auto 1fr auto;
    min-height: 72px;
    gap: 8px;
    padding: 8px 0;
  }
  .logo-medallion {
    width: 64px;
    height: 64px;
    padding: 7px;
    box-shadow: 0 0 0 3px rgba(255, 255, 255, 0.7), 0 4px 14px rgba(0, 0, 0, 0.25);
  }
  .logo img { max-height: 50px; }

  /* Parallax désactivé sur mobile (saccades iOS) */
  .cta-banner { background-attachment: scroll; }

  /* Badges du hero réduits pour ne pas envahir la photo */
  .eco-stamp { width: 72px; height: 72px; top: 10px; right: 10px; }
  .eco-stamp .eco-stamp-top { font-size: 0.66rem; }
  .eco-stamp .eco-stamp-bottom { font-size: 0.48rem; }
  .eco-stamp i, .eco-stamp [data-lucide] { width: 20px; height: 20px; }
  .hero-badge-100 { padding: 6px 12px 6px 9px; font-size: 0.78rem; }

  /* Désactiver les nav split gauche/droite sur mobile */
  .nav-left, .nav-right { display: none; }

  /* Menu mobile : dropdown unique avec tous les liens */
  .main-nav-mobile {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: #ffffff;
    border-bottom: 3px solid var(--color-primary);
    padding: 16px 24px 24px;
    transform: translateY(-12px);
    opacity: 0;
    pointer-events: none;
    transition: all 0.25s ease;
    box-shadow: var(--shadow-md);
    z-index: 99;
  }
  .main-nav-mobile.is-open {
    transform: translateY(0);
    opacity: 1;
    pointer-events: auto;
  }
  .main-nav-mobile ul {
    list-style: none;
    margin: 0;
    padding: 0;
  }
  .main-nav-mobile a {
    display: block;
    padding: 14px 4px;
    border-bottom: 1px solid var(--color-border);
    color: var(--color-text);
    font-weight: 600;
    text-decoration: none;
  }
  .main-nav-mobile a:hover,
  .main-nav-mobile a.active { color: var(--color-primary); }

  /* Bouton "Appeler" + burger groupés à droite */
  .header-cta {
    margin-left: auto;
    display: flex;
    align-items: center;
    gap: 8px;
  }
  .header-cta .btn {
    padding: 10px 16px;
    font-size: 0.92rem;
  }
  .menu-toggle { display: flex; margin-left: 4px; }
  .menu-toggle span { background-color: #ffffff; }
}

/* Cacher le menu mobile sur desktop */
@media (min-width: 981px) {
  .main-nav-mobile { display: none; }
}

@media (max-width: 480px) {
  /* Sur très petits écrans, les boutons Appeler + RDV n'affichent que l'icône */
  .header-cta .btn-call {
    padding: 0;
    width: 40px;
    height: 40px;
    justify-content: center;
    align-items: center;
    border-radius: 50%;
  }
  .header-cta .btn-call .btn-call-label {
    display: none;
  }
  .header-cta .btn-call svg {
    width: 18px;
    height: 18px;
  }
  .header-cta { gap: 6px; }
  .menu-toggle { margin-left: 2px; }
  .logo-medallion { width: 58px; height: 58px; }
  .logo img { max-height: 44px; }
}

@media (max-width: 360px) {
  /* Écrans très étroits : compacter encore le header */
  .header-cta .btn-call { width: 36px; height: 36px; }
  .logo-medallion { width: 52px; height: 52px; padding: 6px; }
  .logo img { max-height: 38px; }
}

@media (max-width: 600px) {
  .container { padding: 0 20px; }
  section { padding: 50px 0; }
  .hero { padding: 50px 0 60px; }
  .hero-stats { grid-template-columns: 1fr; padding: 18px; gap: 12px; }
  .form-row { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; gap: 28px; }
  .footer-bottom { flex-direction: column; align-items: flex-start; }
  .service-row { grid-template-columns: 1fr; }
  .service-row .service-icon { width: 52px; height: 52px; font-size: 1.4rem; }
  /* Boutons hero : côte à côte sur mobile, taille égale */
  .hero-cta {
    flex-direction: row;
    flex-wrap: nowrap;
    gap: 8px;
  }
  .hero-cta .btn {
    flex: 1 1 0;
    width: auto;
    padding: 12px 10px;
    font-size: 0.85rem;
    text-align: center;
    line-height: 1.25;
  }
  .cta-banner-actions .btn { width: 100%; }
  .audience-card { padding: 28px 22px; }
  .form-card { padding: 26px 22px; }
  .contact-info { padding: 26px 22px; }
  .card { padding: 24px 22px; }
  .step { padding: 26px 22px; }
  .call-card { padding: 30px 22px; }

  /* Sécurité : empêcher tout débordement et garantir l'espace à droite */
  body { overflow-x: hidden; }
  img, svg, video, iframe { max-width: 100%; height: auto; }

  /* Grilles : une seule colonne sous 600px (évite tout débordement) */
  .cards-grid,
  .values-grid,
  .gallery-grid,
  .reviews-grid,
  .before-after-grid,
  .steps { grid-template-columns: 1fr; }

  /* Texte plus aéré sur mobile, jamais collé au bord */
  .content-prose { padding: 0; }
  h1, h2, h3 { overflow-wrap: break-word; }

  /* Page banner et CTA banner : padding réduits mais homogènes */
  .page-banner { padding: 50px 0 36px; }
  .cta-banner { padding: 50px 0; }

  /* Hero stats : aligner numéros et labels */
  .hero-stat strong { font-size: 1.5rem; }

  /* Form/contact info : alléger */
  .contact-info-item { gap: 12px; }
  .contact-info-item .icon { width: 38px; height: 38px; font-size: 1rem; }
}

@media (max-width: 380px) {
  .container { padding: 0 16px; }
  .hero h1 { font-size: 1.6rem; }
  .hero .lead { font-size: 1rem; }
  .hero-cta .btn { font-size: 0.8rem; padding: 11px 8px; }
  .audience-card { padding: 24px 18px; }
  .card { padding: 22px 18px; }
}
