/* ==========================================================
   CleanZak — feuille de style principale
   Palette tirée du logo : vert #2E9E5C, encre #14231B, menthe
   ========================================================== */

:root {
  --green: #2e9e5c;
  --green-dark: #1f7a45;
  --green-deep: #0f3d26;
  --ink: #14231b;
  --gray: #5c6b62;
  --mint: #e3f4ea;
  --mint-soft: #f3faf6;
  --white: #ffffff;
  --line: #e6f0ea;
  --grad-green: linear-gradient(135deg, #38b76c, #1f7a45);
  --shadow-sm: 0 1px 2px rgba(15, 61, 38, 0.05), 0 4px 14px rgba(15, 61, 38, 0.06);
  --shadow-md: 0 2px 6px rgba(15, 61, 38, 0.06), 0 14px 34px rgba(15, 61, 38, 0.10);
  --shadow-lg: 0 4px 10px rgba(15, 61, 38, 0.06), 0 26px 60px rgba(15, 61, 38, 0.16);
  --radius: 18px;
  --radius-lg: 28px;
  --header-h: 82px;
}

::selection { background: var(--green); color: var(--white); }

* { margin: 0; padding: 0; box-sizing: border-box; }

html { scroll-behavior: smooth; scroll-padding-top: calc(var(--header-h) + 12px); }

body {
  font-family: "Poppins", system-ui, -apple-system, "Segoe UI", sans-serif;
  color: var(--ink);
  background: var(--white);
  line-height: 1.65;
  overflow-x: hidden;
}

img, video { max-width: 100%; display: block; }
a { text-decoration: none; color: inherit; }
ul, ol { list-style: none; }

.container { width: min(1180px, 92%); margin-inline: auto; }

h1, h2, h3, h4 { line-height: 1.2; font-weight: 700; color: var(--green-deep); letter-spacing: -0.02em; }
h2 { font-size: clamp(1.7rem, 3.4vw, 2.6rem); }
h3 { font-size: 1.15rem; }

.text-green { color: var(--green); }

/* ---------- Boutons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  padding: 16px 30px; border-radius: 999px;
  font-weight: 600; font-size: 0.98rem; font-family: inherit;
  border: none; cursor: pointer;
  transition: transform 0.2s ease, box-shadow 0.2s ease, background 0.2s ease, color 0.2s ease;
}
.btn { position: relative; overflow: hidden; }
.btn:hover { transform: translateY(-2px); }
.btn--primary { background: var(--grad-green); color: var(--white); box-shadow: 0 8px 22px rgba(46, 158, 92, 0.38); }
.btn--primary:hover { box-shadow: 0 12px 28px rgba(46, 158, 92, 0.48); }
.btn--primary::after {
  content: ""; position: absolute; inset: 0;
  background: linear-gradient(110deg, transparent 30%, rgba(255, 255, 255, 0.25) 50%, transparent 70%);
  transform: translateX(-100%); transition: transform 0.55s ease;
}
.btn--primary:hover::after { transform: translateX(100%); }
.btn--outline { border: 2px solid var(--green); padding: 14px 28px; color: var(--green-dark); background: var(--white); }
.btn--outline:hover { background: var(--mint); }
.btn--white { background: var(--white); color: var(--green-deep); box-shadow: 0 8px 22px rgba(0, 0, 0, 0.18); }
.btn--whatsapp { background: #25d366; color: var(--white); box-shadow: 0 8px 22px rgba(37, 211, 102, 0.35); }
/* Bouton clair pour fond photo sombre */
.btn--ghost {
  background: rgba(255, 255, 255, 0.14); color: var(--white);
  border: 1px solid rgba(255, 255, 255, 0.4);
  backdrop-filter: blur(6px);
}
.btn--ghost:hover { background: rgba(255, 255, 255, 0.26); }
.btn--sm { padding: 12px 22px; font-size: 0.9rem; }
.btn--outline.btn--sm { padding: 10px 20px; }
.btn--full { width: 100%; }

/* Sur-titre de section : plus de pastille ni de point, juste un intitulé
   en petites capitales espacées. --green-dark (et non --green) pour rester
   lisible sur fond clair. */
.badge {
  display: block; margin-bottom: 12px;
  color: var(--green-dark);
  font-size: 0.78rem; font-weight: 800;
  letter-spacing: 0.16em; text-transform: uppercase;
}
/* Variante sur photo sombre */
.badge--light { color: #8ad9ab; }

/* ---------- En-tête ---------- */
.header {
  position: fixed; inset: 0 0 auto 0; z-index: 100;
  background: rgba(255, 255, 255, 0.85);
  backdrop-filter: blur(14px) saturate(1.4);
  -webkit-backdrop-filter: blur(14px) saturate(1.4);
  border-bottom: 1px solid transparent;
  transition: box-shadow 0.25s ease, border-color 0.25s ease;
}
.header.is-scrolled { box-shadow: var(--shadow-sm); border-color: var(--line); }
.header__inner {
  display: flex; align-items: center; justify-content: space-between;
  gap: 20px; height: var(--header-h);
}
.header__logo img { width: 158px; height: auto; }

.nav__list { display: flex; gap: 28px; }
.nav__link {
  font-weight: 500; font-size: 0.95rem; color: var(--ink);
  padding: 6px 2px; position: relative; transition: color 0.2s ease;
}
.nav__link::after {
  content: ""; position: absolute; left: 0; bottom: 0;
  width: 100%; height: 2px; background: var(--green);
  border-radius: 2px; transform: scaleX(0); transform-origin: left;
  transition: transform 0.25s ease;
}
.nav__link:hover, .nav__link.is-active { color: var(--green-dark); }
.nav__link:hover::after, .nav__link.is-active::after { transform: scaleX(1); }

.header__actions { display: flex; align-items: center; gap: 16px; }
.header__phone {
  display: inline-flex; align-items: center; gap: 8px;
  font-weight: 700; color: var(--green-dark); font-size: 0.95rem;
  transition: color 0.2s ease;
}
.header__phone:hover { color: var(--green); }

.header__burger {
  display: none; flex-direction: column; gap: 5px;
  background: none; border: none; cursor: pointer; padding: 6px;
}
.header__burger span {
  width: 26px; height: 3px; border-radius: 2px;
  background: var(--green-deep); transition: transform 0.25s ease, opacity 0.25s ease;
}
.header__burger.is-open span:nth-child(1) { transform: translateY(8px) rotate(45deg); }
.header__burger.is-open span:nth-child(2) { opacity: 0; }
.header__burger.is-open span:nth-child(3) { transform: translateY(-8px) rotate(-45deg); }

/* ---------- Héro ---------- */
/* La mascotte est posée sur le bas du héros (padding-bottom: 0) : elle est
   ainsi « au sol » au lieu de flotter dans le vide, et le bandeau qui suit
   fait office de plancher. */
.hero {
  position: relative;
  /* Pas de marge haute supplémentaire : elle s'ajouterait au centrage vertical
     de la colonne texte et déséquilibrerait le haut par rapport au bas. */
  padding: var(--header-h) 0 0;
  background:
    radial-gradient(900px 500px at 85% 15%, rgba(46, 158, 92, 0.14), transparent 60%),
    radial-gradient(700px 420px at 5% 90%, rgba(46, 158, 92, 0.10), transparent 60%),
    linear-gradient(160deg, var(--mint-soft) 0%, var(--mint) 100%);
  overflow: hidden;
}
/* 1.12fr : juste assez pour que les 3 puces tiennent sur une seule ligne */
.hero__inner {
  display: grid; grid-template-columns: 1.12fr 0.88fr;
  align-items: center; gap: 48px;
}
.hero__title { font-size: clamp(2.2rem, 5vw, 3.5rem); font-weight: 800; margin-bottom: 20px; }
.hero__text { color: var(--gray); font-size: 1.05rem; max-width: 500px; margin-bottom: 30px; }
.hero__cta { display: flex; flex-wrap: wrap; gap: 14px; margin-bottom: 26px; }

/* Les 4 atouts (anciennement un bandeau séparé) remontent dans le héros */
.hero__features {
  display: grid; grid-template-columns: 1fr 1fr;
  gap: 14px 20px; list-style: none;
}
.hero__features li { display: flex; align-items: center; gap: 13px; line-height: 1.35; }
.hero__feature-icon {
  flex: 0 0 auto; width: 52px; height: 52px; border-radius: 50%;
  display: grid; place-items: center;
  background: rgba(255, 255, 255, 0.9);
  box-shadow: var(--shadow-sm);
}
.hero__features strong { display: block; color: var(--green-deep); font-size: 0.95rem; }
.hero__features small { color: var(--gray); font-size: 0.85rem; }

.hero__visual {
  position: relative; align-self: end;
  display: flex; justify-content: center; padding: 0;
}
.hero__img {
  position: relative; z-index: 1;
  width: min(440px, 90%); height: auto;
}
/* Bulles décoratives */
.hero__bubbles span {
  position: absolute; border-radius: 50%;
  background: rgba(46, 158, 92, 0.10);
  animation: rise 14s linear infinite;
}
.hero__bubbles span:nth-child(1) { width: 42px; height: 42px; left: 6%;  bottom: -60px; animation-duration: 13s; }
.hero__bubbles span:nth-child(2) { width: 24px; height: 24px; left: 18%; bottom: -40px; animation-duration: 17s; animation-delay: 2s; }
.hero__bubbles span:nth-child(3) { width: 56px; height: 56px; left: 42%; bottom: -80px; animation-duration: 19s; animation-delay: 4s; }
.hero__bubbles span:nth-child(4) { width: 18px; height: 18px; left: 65%; bottom: -30px; animation-duration: 12s; animation-delay: 1s; }
.hero__bubbles span:nth-child(5) { width: 34px; height: 34px; left: 82%; bottom: -50px; animation-duration: 16s; animation-delay: 5s; }
.hero__bubbles span:nth-child(6) { width: 26px; height: 26px; left: 93%; bottom: -40px; animation-duration: 14s; animation-delay: 3s; }
@keyframes rise {
  from { transform: translateY(0); opacity: 0; }
  10% { opacity: 1; }
  90% { opacity: 1; }
  to { transform: translateY(-110vh); opacity: 0; }
}

/* ---------- Bandeau atouts ---------- */
/* Icônes illustrées — dimensions explicites pour neutraliser les
   attributs width/height du HTML */
.hero__feature-icon img, .contact__icon img {
  width: 32px; height: 32px; object-fit: contain;
}

/* ---------- Sections génériques ---------- */
.section { padding: 90px 0; }
.section--mint { background: linear-gradient(180deg, var(--mint-soft), var(--mint) 140%); }
.section__head { text-align: center; max-width: 640px; margin: 0 auto 54px; }
.section__head p { color: var(--gray); margin-top: 14px; }
.section__head--left { text-align: left; margin: 0 0 34px; }

/* ---------- Services ---------- */
.services__grid {
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 28px;
}
.service {
  background: var(--white); border-radius: var(--radius-lg);
  overflow: hidden; box-shadow: var(--shadow-sm);
  border: 1px solid var(--line);
  transition: transform 0.28s ease, box-shadow 0.28s ease, border-color 0.28s ease;
}
.service:hover { transform: translateY(-8px); box-shadow: var(--shadow-lg); border-color: rgba(46, 158, 92, 0.35); }
.service__img { position: relative; aspect-ratio: 1 / 0.82; overflow: hidden; background: var(--mint-soft); }
.service__img::after {
  content: ""; position: absolute; inset: 0;
  background: linear-gradient(180deg, transparent 62%, rgba(15, 61, 38, 0.18));
  opacity: 0; transition: opacity 0.35s ease;
}
.service:hover .service__img::after { opacity: 1; }
.service__img img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.45s ease; }
.service:hover .service__img img { transform: scale(1.06); }
.service__body { padding: 24px 26px 28px; }
.service__body h3 { margin-bottom: 10px; }
.service__body p { color: var(--gray); font-size: 0.94rem; margin-bottom: 16px; }
.service__link { display: inline-flex; align-items: center; gap: 6px; color: var(--green-dark); font-weight: 600; font-size: 0.94rem; transition: color 0.2s ease, gap 0.2s ease; }
.service__link:hover { color: var(--green); gap: 10px; }

/* ---------- Pourquoi nous ---------- */
/* ---------- Pourquoi nous (bandeau pleine largeur) ---------- */
/* La photo est en paysage : un bandeau la met en valeur sans la recadrer durement */
.why-band { position: relative; overflow: hidden; }
/* Recadrage ancré en haut (object-position Y = top) : la coupe se fait donc
   toujours par le bas, jamais sur la tête de la mascotte. */
.why-band__img {
  position: absolute; inset: 0;
  width: 100%; height: 100%; min-height: 500px;
  object-fit: cover; object-position: 53% top;
}
.why-band__overlay {
  position: relative; min-height: 500px;
  display: flex; align-items: center; padding: 72px 0;
  background: linear-gradient(90deg,
    rgba(10, 40, 24, 0.94) 0%,
    rgba(10, 40, 24, 0.88) 40%,
    rgba(10, 40, 24, 0.55) 54%,
    rgba(10, 40, 24, 0.10) 70%,
    rgba(10, 40, 24, 0) 84%);
}
.why-band__content { max-width: 580px; }
.why-band__content h2 { color: var(--white); margin-bottom: 30px; }
.why-band__list {
  display: grid; grid-template-columns: 1fr 1fr;
  gap: 18px 26px;
}
.why-band__list li { display: flex; gap: 14px; align-items: center; }
/* Pastille blanche pleine : les icônes couleur ressortent, une pastille
   translucide les rendait ternes sur le fond sombre */
.why-band__icon {
  flex: 0 0 auto; width: 52px; height: 52px; border-radius: 50%;
  display: grid; place-items: center;
  background: var(--white);
  box-shadow: 0 4px 14px rgba(0, 0, 0, 0.22);
}
.why-band__icon img { width: 29px; height: 29px; object-fit: contain; }
.why-band__list strong { display: block; color: var(--white); font-size: 0.96rem; }
.why-band__list small {
  display: block; color: rgba(255, 255, 255, 0.74);
  font-size: 0.83rem; line-height: 1.42; margin-top: 2px;
}

/* Écran étroit : le dégradé latéral ne protège plus le texte, on assombrit
   toute la photo et la mascotte passe en arrière-plan. */
@media (max-width: 1023px) {
  .why-band__overlay {
    padding: 64px 0;
    background: linear-gradient(180deg, rgba(10, 40, 24, 0.92) 0%, rgba(10, 40, 24, 0.84) 100%);
  }
  .why-band__img { object-position: 64% top; }
  .why-band__content { max-width: none; }
}
@media (max-width: 620px) {
  .why-band__list { grid-template-columns: 1fr; gap: 16px; }
}

/* ---------- Avant / Après ---------- */
.ba__grid {
  display: grid; grid-template-columns: repeat(2, 1fr); gap: 30px;
}
.ba-card {
  background: var(--white); border-radius: var(--radius-lg);
  overflow: hidden; box-shadow: var(--shadow-sm);
  border: 1px solid var(--line);
  transition: transform 0.28s ease, box-shadow 0.28s ease, border-color 0.28s ease;
}
.ba-card:hover { transform: translateY(-6px); box-shadow: var(--shadow-lg); border-color: rgba(46, 158, 92, 0.35); }
/* Une seule carte sur la dernière ligne : on la centre */
.ba-card:last-child:nth-child(odd) { grid-column: 1 / -1; max-width: calc(50% - 15px); justify-self: center; }

/* Titre et légende masqués sur la carte — l'image parle d'elle-même — mais
   conservés dans le HTML : la visionneuse plein écran les réutilise. */
.ba-card__title, .ba-card figcaption { display: none; }

/* Les deux vues, séparées par une gouttière blanche et une flèche */
.ba-card__pair {
  --ba-label-h: 37px;
  position: relative; display: grid; grid-template-columns: 1fr 1fr; gap: 10px;
}
.ba-shot {
  position: relative; overflow: hidden; background: var(--mint-soft);
  display: flex; flex-direction: column;
}
/* height:auto neutralise l'attribut height="800" du HTML, sinon aspect-ratio est ignoré */
.ba-shot img { width: 100%; height: auto; object-fit: cover; aspect-ratio: 3 / 4; }

/* Bandeau au-dessus de la photo (et non par-dessus) : l'image reste entière */
.ba-shot__label {
  flex: none; padding: 9px 10px; text-align: center;
  font-size: 0.72rem; font-weight: 800;
  letter-spacing: 0.1em; text-transform: uppercase;
  color: var(--white);
}
.ba-shot--before .ba-shot__label { background: rgba(58, 66, 62, 0.92); }
.ba-shot--after .ba-shot__label { background: rgba(46, 158, 92, 0.95); }
.ba-shot--after::after {
  content: ""; position: absolute; inset: 0; pointer-events: none;
  border: 2px solid rgba(46, 158, 92, 0.55);
}

.ba-card__arrow {
  /* décalé de la moitié du bandeau pour rester au centre des photos */
  position: absolute; left: 50%; top: calc(50% + var(--ba-label-h) / 2);
  transform: translate(-50%, -50%);
  z-index: 3; width: 42px; height: 42px; border-radius: 50%;
  display: grid; place-items: center;
  background: var(--white); color: var(--green);
  font-size: 1.15rem; line-height: 1; font-weight: 700;
  box-shadow: 0 4px 14px rgba(15, 61, 38, 0.25);
}


/* Paire cliquable (ajoutée par JS uniquement) */
.ba-card__pair.is-zoomable { cursor: zoom-in; }
.ba-card__pair.is-zoomable:focus-visible { outline: 3px solid var(--green); outline-offset: 4px; }
.ba-card__zoom {
  position: absolute; right: 12px; bottom: 12px; z-index: 3;
  width: 38px; height: 38px; border-radius: 50%;
  display: grid; place-items: center; pointer-events: none;
  background: rgba(255, 255, 255, 0.9); color: var(--green-deep);
  box-shadow: 0 3px 12px rgba(15, 61, 38, 0.28);
  opacity: 0.75; transition: opacity 0.25s ease, transform 0.25s ease;
}
.ba-card:hover .ba-card__zoom { opacity: 1; transform: scale(1.08); }

/* ---------- Visionneuse plein écran ---------- */
.lb { position: fixed; inset: 0; z-index: 200; display: none; }
.lb.is-open { display: block; }
/* Opaque : la page ne doit pas transparaître derrière les photos */
.lb__backdrop { position: absolute; inset: 0; background: #0a2416; }
.lb__dialog {
  position: relative; height: 100%;
  display: flex; flex-direction: column;
  padding: 16px clamp(14px, 5vw, 70px) 22px;
}
.lb__bar { display: flex; align-items: flex-start; gap: 20px; color: var(--white); }
.lb__meta { flex: 1; min-width: 0; }
.lb__title { color: var(--white); font-size: 1.15rem; margin: 0; }
.lb__count { display: block; margin-top: 4px; font-size: 0.82rem; color: rgba(255, 255, 255, 0.6); }
.lb__close {
  flex: none; width: 42px; height: 42px; border-radius: 50%;
  border: 1px solid rgba(255, 255, 255, 0.28); background: rgba(255, 255, 255, 0.08);
  color: var(--white); font-size: 1.6rem; line-height: 1; cursor: pointer;
  transition: background 0.2s ease;
}
.lb__close:hover { background: rgba(255, 255, 255, 0.2); }

.lb__toggle { display: none; gap: 8px; margin: 14px 0 0; }
.lb__tab {
  flex: 1; padding: 10px; border-radius: 999px; cursor: pointer;
  border: 1px solid rgba(255, 255, 255, 0.3); background: transparent;
  color: rgba(255, 255, 255, 0.75);
  font-size: 0.78rem; font-weight: 800; letter-spacing: 0.08em; text-transform: uppercase;
}
.lb__tab.is-active { background: var(--green); border-color: var(--green); color: var(--white); }

.lb__pair {
  flex: 1; min-height: 0; margin-top: 16px;
  display: grid; grid-template-columns: 1fr 1fr; gap: 18px;
}
/* La colonne s'ajuste à la largeur réelle de la photo,
   pour que le bandeau Avant/Après fasse exactement la même largeur qu'elle. */
.lb__shot {
  position: relative; margin: 0; min-height: 0; min-width: 0;
  display: grid; grid-template-rows: auto minmax(0, 1fr);
  justify-content: center;
}
.lb__shot img { height: 100%; width: auto; max-width: 100%; object-fit: contain; }
.lb__label {
  padding: 8px; text-align: center; color: var(--white);
  font-size: 0.72rem; font-weight: 800; letter-spacing: 0.1em; text-transform: uppercase;
}
.lb__label--before { background: rgba(58, 66, 62, 0.95); }
.lb__label--after { background: var(--green); }

.lb__caption {
  flex: none; margin: 14px 0 0; text-align: center;
  color: rgba(255, 255, 255, 0.82); font-size: 0.92rem;
}

.lb__nav {
  position: absolute; top: 50%; transform: translateY(-50%);
  width: 46px; height: 46px; border-radius: 50%; cursor: pointer;
  border: 1px solid rgba(255, 255, 255, 0.28); background: rgba(255, 255, 255, 0.1);
  color: var(--white); font-size: 1.7rem; line-height: 1;
  display: grid; place-items: center;
  transition: background 0.2s ease;
}
.lb__nav:hover { background: rgba(255, 255, 255, 0.24); }
.lb__nav--prev { left: 10px; }
.lb__nav--next { right: 10px; }

/* ---------- Étapes ---------- */
.steps {
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 28px;
  counter-reset: steps;
}
.step {
  position: relative;
  background: var(--white); border-radius: var(--radius-lg);
  padding: 0 30px 34px; text-align: center; box-shadow: var(--shadow-sm);
  border: 1px solid var(--line); overflow: hidden;
  transition: transform 0.28s ease, box-shadow 0.28s ease;
}
.step:hover { transform: translateY(-6px); box-shadow: var(--shadow-lg); }
.step__media {
  margin: 0 -30px 6px;
  background: radial-gradient(circle at 50% 30%, var(--mint) 0%, var(--mint-soft) 75%);
  display: grid; place-items: center; padding: 18px 0 6px;
}
.step__media img {
  width: min(210px, 70%); height: auto;
  mix-blend-mode: multiply;
  transition: transform 0.35s ease;
}
.step:hover .step__media img { transform: scale(1.05); }
.step__num {
  display: inline-grid; place-items: center;
  width: 52px; height: 52px; border-radius: 50%;
  background: var(--grad-green); color: var(--white);
  font-size: 1.25rem; font-weight: 800;
  margin: -26px 0 14px; position: relative;
  border: 4px solid var(--white);
  box-shadow: 0 8px 20px rgba(46, 158, 92, 0.35);
}
.step h3 { margin-bottom: 10px; }
.step p { color: var(--gray); font-size: 0.94rem; }

/* ---------- Bandeau final : preuve + prise de contact ---------- */
.results { position: relative; overflow: hidden; }
.results__img {
  width: 100%; height: 100%; min-height: 500px;
  object-fit: cover; object-position: 70% center;
  position: absolute; inset: 0;
}
.results__overlay {
  position: relative; min-height: 500px;
  display: flex; align-items: center;
  background: linear-gradient(90deg, rgba(10, 40, 24, 0.9) 0%, rgba(10, 40, 24, 0.7) 45%, rgba(10, 40, 24, 0.08) 82%);
  padding: 80px 0;
}
.results__content { max-width: 640px; }
.results__actions { display: flex; flex-wrap: wrap; gap: 14px; }
.results__content h2 { color: var(--white); margin-bottom: 14px; }
.results__content p { color: rgba(255, 255, 255, 0.85); margin-bottom: 26px; font-size: 0.98rem; }

/* ---------- Avis ---------- */
.reviews__grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 28px; }
.review {
  position: relative;
  background: var(--white); border: 1px solid var(--line);
  border-radius: var(--radius-lg); padding: 30px 28px;
  box-shadow: var(--shadow-sm); display: flex; flex-direction: column; gap: 14px;
  transition: transform 0.28s ease, box-shadow 0.28s ease;
}
.review:hover { transform: translateY(-5px); box-shadow: var(--shadow-md); }
.review::before {
  content: "“"; position: absolute; top: 6px; right: 22px;
  font-size: 4.6rem; line-height: 1; font-family: Georgia, serif;
  color: var(--mint); pointer-events: none;
}
.review__stars { color: #f5b301; letter-spacing: 3px; font-size: 1.05rem; }
.review p { color: var(--gray); font-size: 0.96rem; font-style: italic; flex: 1; }
.review footer { display: flex; align-items: center; gap: 12px; }
.review__avatar {
  flex: 0 0 auto; width: 44px; height: 44px; border-radius: 50%;
  display: grid; place-items: center;
  background: var(--grad-green); color: var(--white);
  font-weight: 700; font-size: 1.05rem;
}
.review footer strong { color: var(--green-deep); display: block; }
.review footer small { color: var(--gray); }

/* ---------- Bandeau CTA ---------- */
/* ---------- Contact ---------- */
/* stretch : le formulaire épouse la hauteur de la colonne de gauche,
   les deux blocs se terminent donc exactement sur la même ligne. */
.contact__grid {
  display: grid; grid-template-columns: 1fr 1.05fr; gap: 40px;
  align-items: stretch;
}
/* space-between : mascotte en haut, coordonnées calées en bas — la dernière
   ligne de cartes s'aligne alors exactement sur le bas du formulaire. */
.contact__info { display: grid; gap: 22px; align-content: space-between; }

/* Mascotte détourée : plus de cadre ni de mix-blend-mode, elle pose
   directement sur le fond de la section. */
.contact__visual { position: relative; text-align: center; }
.contact__visual img {
  display: block; width: min(300px, 72%); height: auto; margin-inline: auto;
}
.contact__visual-text {
  display: inline-block; position: relative; margin-top: -26px; text-align: left;
  background: var(--white); border: 1px solid var(--line);
  border-radius: 16px; padding: 12px 20px; box-shadow: var(--shadow-md);
  line-height: 1.35;
}
.contact__visual-text strong { display: block; color: var(--green-deep); font-size: 0.94rem; }
.contact__visual-text small { color: var(--gray); font-size: 0.82rem; }

/* Coordonnées en 2×2 : colonne moins haute, mieux équilibrée avec le formulaire */
.contact__cards { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.contact__card {
  display: flex; align-items: center; gap: 13px;
  background: var(--mint-soft); border: 1px solid #e2f0e8;
  border-radius: var(--radius); padding: 16px 18px;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}
a.contact__card:hover { transform: translateY(-3px); box-shadow: var(--shadow-sm); }
.contact__icon {
  flex: 0 0 auto; width: 46px; height: 46px; border-radius: 50%;
  display: grid; place-items: center;
  background: var(--white); box-shadow: var(--shadow-sm);
}
.contact__card strong { display: block; color: var(--green-deep); font-size: 0.9rem; }
.contact__card span { color: var(--gray); font-size: 0.88rem; }

.contact__form {
  position: relative; /* repère pour le voile d'envoi */
  background: var(--white); border: 1px solid #eef4f0;
  border-radius: var(--radius-lg); padding: 36px;
  box-shadow: var(--shadow-md);
  display: flex; flex-direction: column; gap: 18px;
}
/* Le champ message absorbe la hauteur restante */
.form__group--grow { flex: 1; display: flex; flex-direction: column; gap: 7px; }
.form__group--grow textarea { flex: 1; min-height: 120px; }
.form__row { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.form__group { display: grid; gap: 7px; }
.form__group label { font-weight: 600; font-size: 0.9rem; color: var(--green-deep); }
.form__group input,
.form__group select,
.form__group textarea {
  font-family: inherit; font-size: 0.95rem; color: var(--ink);
  padding: 13px 16px; border-radius: 12px;
  border: 1.5px solid #dcE8e1; background: var(--mint-soft);
  transition: border-color 0.2s ease, background 0.2s ease;
  width: 100%; resize: vertical;
}
.form__group input:focus,
.form__group select:focus,
.form__group textarea:focus {
  outline: none; border-color: var(--green); background: var(--white);
}
.form__hint { text-align: center; font-size: 0.8rem; color: var(--gray); }

/* Champ anti-spam : hors écran, jamais vu ni tabulé par un humain */
.form__trap { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }

/* Message de retour après envoi du formulaire */
.form__status {
  display: none; text-align: center; font-size: 0.9rem; font-weight: 600;
  padding: 12px 16px; border-radius: 12px; line-height: 1.45;
}
.form__status.is-pending { display: block; color: var(--gray); background: var(--mint-soft); }
.form__status.is-ok { display: block; color: var(--green-dark); background: var(--mint); }
.form__status.is-error { display: block; color: #a13a2c; background: #fdeceb; }

/* ---------- Voile d'envoi (anti double-envoi) ---------- */
/* L'attribut hidden doit toujours l'emporter sur un display: en CSS */
[hidden] { display: none !important; }

.form__overlay {
  position: absolute; inset: 0; z-index: 5;
  display: grid; place-items: center; padding: 28px;
  border-radius: var(--radius-lg);
  background: rgba(255, 255, 255, 0.72);
  backdrop-filter: blur(7px); -webkit-backdrop-filter: blur(7px);
  animation: overlayIn 0.28s ease;
}
@keyframes overlayIn { from { opacity: 0; } }
.form__overlay-inner { display: grid; justify-items: center; gap: 16px; text-align: center; }
.form__overlay-text { font-weight: 700; font-size: 1.05rem; color: var(--green-deep); max-width: 26ch; }
.form__overlay-sub { font-size: 0.86rem; color: var(--gray); max-width: 30ch; }
.form__overlay-sub:empty { display: none; }

/* Cercle qui tourne pendant l'envoi */
.loader {
  width: 56px; height: 56px; border-radius: 50%;
  border: 4px solid var(--mint); border-top-color: var(--green);
  animation: spin 0.85s linear infinite;
}
@keyframes spin { to { transform: rotate(360deg); } }

/* Coche verte une fois la demande enregistrée */
.check { width: 58px; height: 58px; display: none; }
.check circle, .check path {
  fill: none; stroke: var(--green); stroke-width: 3.5;
  stroke-linecap: round; stroke-linejoin: round;
}
.check circle { stroke-dasharray: 151; stroke-dashoffset: 151; animation: draw 0.5s ease forwards; }
.check path { stroke-dasharray: 36; stroke-dashoffset: 36; animation: draw 0.35s 0.42s ease forwards; }
@keyframes draw { to { stroke-dashoffset: 0; } }

.form__overlay.is-done .loader { display: none; }
.form__overlay.is-done .check { display: block; }

@media (prefers-reduced-motion: reduce) {
  .form__overlay { animation: none; }
  .loader { animation-duration: 2.5s; }
  .check circle, .check path { animation: none; stroke-dashoffset: 0; }
}

/* ---------- Pied de page ---------- */
.footer { background: var(--green-deep); color: #cfe5d8; }
.footer__inner {
  display: grid; grid-template-columns: 1.4fr 1fr 1fr 1fr;
  gap: 40px; padding: 64px 0 44px;
}
.footer__brand img { width: 170px; height: auto; margin-bottom: 16px; background: var(--white); padding: 10px 14px; border-radius: 12px; }
.footer__brand p { font-size: 0.92rem; opacity: 0.85; }
.footer__col h4 { color: var(--white); margin-bottom: 16px; font-size: 1rem; }
.footer__col ul { display: grid; gap: 10px; font-size: 0.92rem; }
.footer__col a { opacity: 0.85; transition: opacity 0.2s ease, color 0.2s ease; }
.footer__col a:hover { opacity: 1; color: var(--white); }
.footer__bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.12);
  padding: 20px 0; text-align: center; font-size: 0.85rem; opacity: 0.75;
}

/* ---------- WhatsApp flottant ---------- */
.whatsapp-fab {
  position: fixed; right: 22px; bottom: 22px; z-index: 90;
  width: 58px; height: 58px; border-radius: 50%;
  display: grid; place-items: center;
  background: #25d366; color: var(--white);
  box-shadow: 0 10px 24px rgba(37, 211, 102, 0.45);
  transition: transform 0.2s ease;
}
.whatsapp-fab:hover { transform: scale(1.08); }

/* ---------- Animations d'apparition ---------- */
.reveal { opacity: 0; transform: translateY(26px); transition: opacity 0.7s ease, transform 0.7s ease; }
.reveal.is-visible { opacity: 1; transform: none; }
/* Décalage en cascade pour les grilles */
.reveal:nth-child(2) { transition-delay: 0.08s; }
.reveal:nth-child(3) { transition-delay: 0.16s; }
.reveal:nth-child(4) { transition-delay: 0.24s; }
.reveal:nth-child(5) { transition-delay: 0.32s; }
.reveal:nth-child(6) { transition-delay: 0.4s; }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .reveal { opacity: 1; transform: none; transition: none; }
  .hero__img, .hero__bubbles span { animation: none; }
}

/* ==========================================================
   Responsive
   ========================================================== */
@media (max-width: 1024px) {
  .services__grid, .reviews__grid { grid-template-columns: repeat(2, 1fr); }
  .header__phone span { display: none; }
}

@media (max-width: 860px) {
  :root { --header-h: 72px; }
  .header__logo img { width: 132px; }

  .header__burger { display: flex; }
  .nav {
    position: fixed; top: var(--header-h); right: 0;
    width: min(320px, 84vw); height: calc(100vh - var(--header-h));
    background: var(--white); box-shadow: var(--shadow-lg);
    transform: translateX(100%); transition: transform 0.3s ease;
    padding: 30px 26px;
  }
  .nav.is-open { transform: translateX(0); }
  .nav__list { flex-direction: column; gap: 8px; }
  .nav__link { display: block; padding: 12px 10px; font-size: 1.05rem; border-radius: 10px; }
  .nav__link:hover, .nav__link.is-active { background: var(--mint); }
  .nav__link::after { display: none; }

  .hero__inner { grid-template-columns: 1fr; text-align: center; }
  .hero__text { margin-inline: auto; }
  .hero__cta { justify-content: center; }
  /* Bloc centré mais texte aligné à gauche : plus lisible à côté des icônes */
  .hero__features { max-width: 430px; margin-inline: auto; text-align: left; }
  .hero__visual { margin-top: 10px; }


  .results__overlay {
    background: linear-gradient(90deg, rgba(10, 40, 24, 0.85) 0%, rgba(10, 40, 24, 0.62) 60%, rgba(10, 40, 24, 0.3) 100%);
  }

  .ba__grid { grid-template-columns: 1fr; max-width: 620px; margin-inline: auto; }
  .ba-card:last-child:nth-child(odd) { grid-column: auto; max-width: none; justify-self: stretch; }

  .steps { grid-template-columns: 1fr; max-width: 480px; margin-inline: auto; }
  .contact__grid { grid-template-columns: 1fr; }
  .footer__inner { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 560px) {
  .section { padding: 64px 0; }
  .services__grid, .reviews__grid { grid-template-columns: 1fr; }
  .hero__features { grid-template-columns: 1fr; max-width: 320px; }
  .form__row { grid-template-columns: 1fr; }
  .footer__inner { grid-template-columns: 1fr; text-align: left; }
  .btn { width: 100%; }
  .header__actions .btn--sm { width: auto; }
  .results__img, .results__overlay { min-height: 420px; }
  .results__content .btn { width: auto; }
  .contact__visual img { width: min(240px, 66%); }
  .contact__cards { grid-template-columns: 1fr; }

  /* Avant/Après : on garde les deux vues côte à côte, la lecture reste gauche → droite */
  .ba-card__pair { gap: 6px; --ba-label-h: 30px; }
  .ba-card__title { padding: 14px 16px 10px; font-size: 0.98rem; }
  .ba-card figcaption { padding: 13px 16px 16px; font-size: 0.86rem; }
  .ba-shot__label { padding: 7px 6px; font-size: 0.62rem; letter-spacing: 0.06em; }
  .ba-card__arrow { width: 30px; height: 30px; font-size: 0.9rem; }
}

/* Visionneuse : côte à côte trop petit sur mobile → une vue à la fois, avec bascule */
@media (max-width: 760px) {
  .lb__toggle { display: flex; }
  .lb__pair { grid-template-columns: 1fr; }
  .lb__shot { display: none; }
  .lb__shot.is-active { display: flex; }
  /* La bascule indique déjà la vue : le bandeau ferait doublon */
  .lb__label { display: none; }
  .lb__nav { width: 38px; height: 38px; font-size: 1.4rem; }
  .lb__nav--prev { left: 4px; }
  .lb__nav--next { right: 4px; }
  .lb__dialog { padding: 14px 12px 18px; }
}
