/* ==================================================================
   Mr. O – L'entretien de votre piscine
   Feuille de style principale
   ------------------------------------------------------------------
   Sommaire
   1.  Polices
   2.  Variables (couleurs, tailles…)
   3.  Base
   4.  Éléments réutilisables (boutons, titres, étoiles…)
   5.  Barre de progression « niveau d'eau »
   6.  En-tête et menu mobile
   7.  Accueil
   8.  Arguments clés
   9.  Prestations
   10. Formules
   11. Avant / après
   12. Qui est Mister O ?
   13. Avis
   14. Zone d'intervention
   15. Contact
   16. Bandeau final
   17. Pied de page, barre mobile, mentions légales
   18. Animations au scroll
   ================================================================== */


/* ------------------------------------------------------------------
   1. POLICES (hébergées sur le site : rapide et sans tiers)
   ------------------------------------------------------------------ */
@font-face { font-family: "Poppins"; font-weight: 600; font-style: normal; font-display: swap; src: url("fonts/poppins-latin-600-normal.woff2") format("woff2"); }
@font-face { font-family: "Poppins"; font-weight: 700; font-style: normal; font-display: swap; src: url("fonts/poppins-latin-700-normal.woff2") format("woff2"); }
@font-face { font-family: "Poppins"; font-weight: 800; font-style: normal; font-display: swap; src: url("fonts/poppins-latin-800-normal.woff2") format("woff2"); }
@font-face { font-family: "Open Sans"; font-weight: 400; font-style: normal; font-display: swap; src: url("fonts/open-sans-latin-400-normal.woff2") format("woff2"); }
@font-face { font-family: "Open Sans"; font-weight: 600; font-style: normal; font-display: swap; src: url("fonts/open-sans-latin-600-normal.woff2") format("woff2"); }
@font-face { font-family: "Open Sans"; font-weight: 700; font-style: normal; font-display: swap; src: url("fonts/open-sans-latin-700-normal.woff2") format("woff2"); }


/* ------------------------------------------------------------------
   2. VARIABLES
   ------------------------------------------------------------------ */
:root {
  /* Couleurs de la marque */
  --blue: #38B3FC;          /* bleu du logo */
  --blue-text: #1683C7;     /* bleu plus soutenu, lisible sur fond blanc */
  --blue-100: #D6EFFE;
  --blue-50: #EEF8FF;
  --navy: #0F2C59;          /* bleu marine des flyers */
  --navy-900: #0A1F42;
  --yellow: #FDC12A;        /* jaune soleil des flyers */
  --yellow-600: #F2AE00;
  --yellow-50: #FFF7DE;
  --green: #2E9E73;

  --text: #0F2C59;
  --muted: #4B5F80;
  --white: #FFFFFF;
  --line: #DCEBF7;

  /* Typographie */
  --font-title: "Poppins", "Segoe UI", system-ui, sans-serif;
  --font-text: "Open Sans", "Segoe UI", system-ui, sans-serif;

  /* Mise en page */
  --container: 1200px;
  --gutter: clamp(20px, 5vw, 48px);
  --header-h: 76px;
  --radius: 22px;
  --radius-lg: 30px;
  --shadow-sm: 0 2px 8px rgba(15, 44, 89, .06);
  --shadow: 0 18px 40px -18px rgba(15, 44, 89, .28);
  --shadow-lg: 0 30px 60px -24px rgba(15, 44, 89, .38);
  --ease: cubic-bezier(.2, .7, .2, 1);
}


/* ------------------------------------------------------------------
   3. BASE
   ------------------------------------------------------------------ */
*, *::before, *::after { box-sizing: border-box; }

html {
  scroll-behavior: smooth;
  scroll-padding-top: calc(var(--header-h) + 12px);
  -webkit-text-size-adjust: 100%;
}

body {
  margin: 0;
  font-family: var(--font-text);
  font-size: 1.0625rem;
  line-height: 1.65;
  color: var(--text);
  background: var(--white);
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}
main, .footer { overflow-x: clip;
}
body.no-scroll { overflow: hidden; }

h1, h2, h3, h4 { font-family: var(--font-title); line-height: 1.15; margin: 0; }
p { margin: 0; }
ul, ol { margin: 0; padding: 0; list-style: none; }
img, svg { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; cursor: pointer; background: none; border: 0; padding: 0; }
strong { font-weight: 700; }
sup { font-size: .6em; vertical-align: super; line-height: 0; }

:focus-visible { outline: 3px solid var(--yellow); outline-offset: 3px; border-radius: 6px; }

.sprite { position: absolute; width: 0; height: 0; overflow: hidden; }

.container {
  width: 100%;
  max-width: calc(var(--container) + var(--gutter) * 2);
  margin-inline: auto;
  padding-inline: var(--gutter);
}

.skip-link {
  position: fixed; top: -100px; left: 10px; z-index: 3000;
  padding: .7em 1.2em; border-radius: 999px;
  background: var(--yellow); color: var(--navy); font-weight: 700;
  transition: top .2s;
}
.skip-link:focus { top: 10px; }

.section { position: relative; padding-block: clamp(72px, 10vw, 120px); }


/* ------------------------------------------------------------------
   4. ÉLÉMENTS RÉUTILISABLES
   ------------------------------------------------------------------ */
.icon { width: 1.25em; height: 1.25em; flex-shrink: 0; }

/* Boutons */
.btn {
  text-align: center;
  display: inline-flex; align-items: center; justify-content: center; gap: .6em;
  padding: .85em 1.5em;
  border-radius: 999px;
  font-family: var(--font-title); font-weight: 600; font-size: 1rem; line-height: 1.2;
  transition: transform .25s var(--ease), box-shadow .25s var(--ease), background-color .25s, color .25s, border-color .25s;
}
.btn:hover { transform: translateY(-2px); }
.btn:active { transform: translateY(0); }
.btn .icon { transition: transform .25s var(--ease); }
.btn:hover .icon:last-child:not(:first-child) { transform: translateX(3px); }

.btn--yellow { background: var(--yellow); color: var(--navy); box-shadow: 0 12px 26px -12px rgba(242, 174, 0, .9); }
.btn--yellow:hover { background: #FFCB45; box-shadow: 0 16px 30px -12px rgba(242, 174, 0, .95); }
.btn--blue { background: var(--blue); color: var(--navy); box-shadow: 0 12px 26px -12px rgba(56, 179, 252, .8); }
.btn--blue:hover { background: #5BC2FF; }
.btn--outline-light { border: 2px solid rgba(255, 255, 255, .75); color: var(--white); }
.btn--outline-light:hover { background: var(--white); color: var(--navy); border-color: var(--white); }
.btn--ghost-dark { border: 2px solid var(--blue-100); color: var(--navy); }
.btn--ghost-dark:hover { border-color: var(--blue); background: var(--blue-50); }

.btn--sm { padding: .62em 1.15em; font-size: .92rem; }
.btn--lg { padding: 1em 1.7em; font-size: 1.05rem; }
.btn--xl { padding: 1.05em 1.9em; font-size: clamp(1.25rem, 2.6vw, 1.6rem); font-weight: 700; letter-spacing: .02em; }
.btn--block { width: 100%; }
.btn--sm, .btn--xl, .header__phone { white-space: nowrap; }

/* Titres de section */
.section-head { max-width: 760px; margin: 0 auto clamp(40px, 6vw, 64px); text-align: center; }
.section-head--left { margin-inline: 0; text-align: left; margin-bottom: 32px; }

.eyebrow {
  display: inline-flex; align-items: center; gap: .6em;
  margin-bottom: 14px;
  font-family: var(--font-title); font-weight: 700; font-size: .82rem;
  letter-spacing: .16em; text-transform: uppercase;
  color: var(--blue-text);
}
.eyebrow::before {
  content: ""; width: 28px; height: 10px; flex-shrink: 0;
  background: var(--yellow);
  -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 28 10'%3E%3Cpath d='M1 5c3-4 6-4 9 0s6 4 9 0 6-4 8-1' fill='none' stroke='%23000' stroke-width='2.6' stroke-linecap='round'/%3E%3C/svg%3E") center / contain no-repeat;
          mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 28 10'%3E%3Cpath d='M1 5c3-4 6-4 9 0s6 4 9 0 6-4 8-1' fill='none' stroke='%23000' stroke-width='2.6' stroke-linecap='round'/%3E%3C/svg%3E") center / contain no-repeat;
}

.section-title { text-wrap: balance; font-weight: 800; font-size: clamp(1.9rem, 4.2vw, 2.85rem); letter-spacing: -.015em; color: var(--navy); }
.section-intro { margin-top: 18px; font-size: 1.08rem; color: var(--muted); }
.hl-blue { color: var(--blue-text); }
.hl-yellow { color: var(--yellow); }

/* Pastille */
.pill {
  display: inline-flex; align-items: center; gap: .5em;
  padding: .45em 1em;
  border-radius: 999px;
  font-size: .9rem; font-weight: 600;
  background: rgba(255, 255, 255, .14);
  border: 1px solid rgba(255, 255, 255, .25);
  backdrop-filter: blur(6px); -webkit-backdrop-filter: blur(6px);
}
.pill .icon { color: var(--yellow); }

/* Étiquettes */
.tag {
  display: inline-block; padding: .3em .85em; border-radius: 999px;
  font-family: var(--font-title); font-size: .75rem; font-weight: 600; letter-spacing: .02em;
  background: var(--blue-50); color: var(--blue-text);
}
.tag--yellow { background: var(--yellow-50); color: #A26F00; }
.tag--green { background: #E3F5EC; color: var(--green); }

/* Étoiles */
.stars { display: inline-flex; gap: 2px; color: var(--yellow); }
.stars svg { width: 18px; height: 18px; }
.stars--sm svg { width: 15px; height: 15px; }
.stars--lg svg { width: 28px; height: 28px; }
.star-part {
  -webkit-mask-image: linear-gradient(90deg, #000 70%, rgba(0, 0, 0, .25) 70%);
          mask-image: linear-gradient(90deg, #000 70%, rgba(0, 0, 0, .25) 70%);
}

/* Liste à coches */
.checklist { display: grid; gap: 10px; }
.checklist li { position: relative; padding-left: 32px; color: var(--muted); line-height: 1.45; }
.checklist li::before {
  content: ""; position: absolute; left: 0; top: .05em;
  width: 21px; height: 21px; border-radius: 50%;
  background: var(--blue-50) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='m6 12.5 4 3.8L18 8' fill='none' stroke='%231683C7' stroke-width='2.8' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center / 14px no-repeat;
}
.checklist--plus li::before {
  background: var(--yellow-50) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M12 6v12M6 12h12' fill='none' stroke='%23C28800' stroke-width='3' stroke-linecap='round'/%3E%3C/svg%3E") center / 13px no-repeat;
}

/* Vagues de séparation */
.divider { position: absolute; left: 0; width: 100%; pointer-events: none; z-index: 1; }

/* Bulles qui remontent */
.bubbles { position: absolute; inset: 0; overflow: hidden; pointer-events: none; z-index: 1; }
.bubbles span {
  position: absolute; bottom: -40px; left: var(--x, 50%);
  width: var(--s, 14px); height: var(--s, 14px);
  border-radius: 50%;
  border: 1.5px solid rgba(255, 255, 255, .55);
  background: radial-gradient(circle at 30% 30%, rgba(255, 255, 255, .7) 0 18%, rgba(255, 255, 255, .08) 20%);
  opacity: 0;
  animation: bubble-rise var(--t, 14s) linear infinite;
  animation-delay: var(--delay, 0s);
}
.bubbles span:nth-child(1) { --x: 8%;  --s: 18px; --t: 15s; --delay: 0s; }
.bubbles span:nth-child(2) { --x: 22%; --s: 10px; --t: 11s; --delay: 3s; }
.bubbles span:nth-child(3) { --x: 38%; --s: 24px; --t: 18s; --delay: 6s; }
.bubbles span:nth-child(4) { --x: 55%; --s: 12px; --t: 13s; --delay: 1.5s; }
.bubbles span:nth-child(5) { --x: 68%; --s: 20px; --t: 16s; --delay: 8s; }
.bubbles span:nth-child(6) { --x: 80%; --s: 9px;  --t: 10s; --delay: 4.5s; }
.bubbles span:nth-child(7) { --x: 90%; --s: 16px; --t: 17s; --delay: 10s; }
.bubbles span:nth-child(8) { --x: 47%; --s: 8px;  --t: 12s; --delay: 7s; }

@keyframes bubble-rise {
  0%   { transform: translate(0, 0) scale(.6); opacity: 0; }
  10%  { opacity: .9; }
  50%  { transform: translate(14px, -50vh) scale(1); }
  90%  { opacity: .6; }
  100% { transform: translate(-10px, -100vh) scale(1.05); opacity: 0; }
}


/* ------------------------------------------------------------------
   5. BARRE DE PROGRESSION « NIVEAU D'EAU »
   ------------------------------------------------------------------ */
/* Ordinateur : tube vertical à gauche, qui se remplit d'eau */
.water-level {
  display: none;
  position: fixed; left: 16px; top: 50%; z-index: 900;
  transform: translateY(-50%);
  pointer-events: none;
}
.water-level__tube {
  position: relative;
  width: 12px; height: 52vh; max-height: 480px;
  border-radius: 999px;
  overflow: hidden;
  background: rgba(255, 255, 255, .55);
  border: 2px solid rgba(56, 179, 252, .45);
  box-shadow: 0 6px 18px rgba(15, 44, 89, .18), inset 0 0 0 1px rgba(255, 255, 255, .6);
  backdrop-filter: blur(4px); -webkit-backdrop-filter: blur(4px);
}
.water-level__fill {
  position: absolute; left: 0; right: 0; bottom: 0;
  height: var(--level, 0%);
  min-height: 6px;
  background: linear-gradient(180deg, #6CCBFF 0%, var(--blue) 40%, #1683C7 100%);
}
.water-level__wave {
  position: absolute; left: 0; top: -5px;
  width: 200%; height: 6px;
  fill: #6CCBFF;
  animation: level-wave 1.6s linear infinite;
}
@keyframes level-wave { to { transform: translateX(-50%); } }
.water-level__bubble {
  position: absolute; left: 50%; bottom: 0;
  width: 4px; height: 4px; margin-left: -2px;
  border-radius: 50%; background: rgba(255, 255, 255, .85);
  animation: level-bubble 3s ease-in infinite;
}
.water-level__bubble:nth-of-type(2) { animation-delay: 1s; left: 30%; }
.water-level__bubble:nth-of-type(3) { animation-delay: 2s; left: 70%; width: 3px; height: 3px; }
@keyframes level-bubble {
  0% { transform: translateY(0); opacity: 0; }
  20% { opacity: 1; }
  100% { transform: translateY(-120px); opacity: 0; }
}

/* Mobile : jauge « niveau d'eau » couchée horizontalement en haut (même style que le tube desktop) */
.progress-top {
  position: fixed; top: 0; left: 0; right: 0; z-index: 1200;
  height: 7px; pointer-events: none;
  overflow: hidden;
  background: rgba(255, 255, 255, .55);
  border-bottom: 2px solid rgba(56, 179, 252, .45);
  box-shadow: 0 4px 14px rgba(15, 44, 89, .18), inset 0 0 0 1px rgba(255, 255, 255, .6);
  backdrop-filter: blur(4px); -webkit-backdrop-filter: blur(4px);
}
.progress-top span {
  display: block; position: relative; height: 100%;
  width: calc(var(--progress, 0) * 100%);
  background: linear-gradient(90deg, #6CCBFF 0%, var(--blue) 45%, #1683C7 100%);
}
/* crête d'eau animée au bord d'avancée */
.progress-top span::before {
  content: ""; position: absolute; right: -4px; top: -50%;
  width: 8px; height: 200%;
  fill: #6CCBFF;
  background:
    radial-gradient(circle at 0 25%, #8ED8FF 42%, transparent 46%),
    radial-gradient(circle at 0 75%, #8ED8FF 42%, transparent 46%);
  background-size: 8px 8px;
  animation: level-wave-h 1.6s linear infinite;
}
@keyframes level-wave-h { to { transform: translateY(-8px); } }
.progress-top span::after {
  content: ""; position: absolute; right: -1px; top: 0; bottom: 0; width: 4px;
  background: #9DDCFF; box-shadow: 0 0 8px rgba(140, 203, 255, .95);
}

@media (min-width: 1024px) {
  .water-level { display: block; }
  .progress-top { display: none; }
}


/* ------------------------------------------------------------------
   6. EN-TÊTE ET MENU MOBILE
   ------------------------------------------------------------------ */
.header {
  position: fixed; inset: 0 0 auto 0; z-index: 1000;
  height: var(--header-h);
  color: var(--white);
  transition: background-color .35s, box-shadow .35s, color .35s, height .35s;
}
.header.is-scrolled {
  --header-h: 66px;
  background: rgba(255, 255, 255, .94);
  backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px);
  box-shadow: 0 6px 24px -10px rgba(15, 44, 89, .25);
  color: var(--navy);
}
.header__inner { height: 100%; display: flex; align-items: center; justify-content: space-between; gap: 24px; }

.brand { display: flex; align-items: center; gap: 12px; flex-shrink: 0; }
.brand__logo { width: 92px; height: auto; aspect-ratio: 744 / 250; color: var(--white); transition: color .35s, width .35s; }
.header.is-scrolled .brand__logo { color: var(--blue); width: 84px; }
.brand__tagline {
  padding-left: 12px; border-left: 1.5px solid currentColor;
  font-family: var(--font-title); font-size: .72rem; font-weight: 600; line-height: 1.25;
  opacity: .9;
}

.nav { display: none; }
.nav__list { display: flex; gap: 4px; }
.nav__list a {
  position: relative; display: block;
  padding: .5em .8em;
  font-family: var(--font-title); font-size: .92rem; font-weight: 600;
  border-radius: 999px;
  transition: color .25s, background-color .25s;
}
.nav__list a::after {
  content: ""; position: absolute; left: .8em; right: .8em; bottom: .25em;
  height: 2px; border-radius: 2px; background: var(--yellow);
  transform: scaleX(0); transform-origin: left; transition: transform .3s var(--ease);
}
.nav__list a:hover::after, .nav__list a.is-active::after { transform: scaleX(1); }
.header.is-scrolled .nav__list a.is-active { color: var(--blue-text); }

.header__actions { display: flex; align-items: center; gap: 14px; }
.header__phone { display: none; align-items: center; gap: .45em; font-family: var(--font-title); font-weight: 600; font-size: .95rem; }
.header__phone .icon { color: var(--yellow); }
.header.is-scrolled .header__phone .icon { color: var(--blue-text); }
.header__cta { display: none; }

/* Bouton hamburger */
.burger {
  position: relative; width: 46px; height: 46px; border-radius: 50%;
  display: grid; place-content: center; gap: 5px;
  background: rgba(255, 255, 255, .14);
  border: 1px solid rgba(255, 255, 255, .25);
  transition: background-color .3s, border-color .3s;
}
.header.is-scrolled .burger { background: var(--blue-50); border-color: var(--blue-100); }
.burger span { display: block; width: 20px; height: 2px; border-radius: 2px; background: currentColor; transition: transform .3s; }
.burger span:nth-child(2) { width: 14px; justify-self: end; }

@media (min-width: 560px) { .header__cta { display: inline-flex; } }
@media (min-width: 760px) { .header__phone { display: inline-flex; } }
@media (min-width: 1180px) {
  .nav { display: block; }
  .burger { display: none; }
}
@media (max-width: 420px) {
  .brand__tagline { display: none; }
}

/* Drawer */
.drawer-overlay {
  position: fixed; inset: 0; z-index: 1300;
  background: rgba(10, 31, 66, .55);
  backdrop-filter: blur(3px); -webkit-backdrop-filter: blur(3px);
  opacity: 0; visibility: hidden;
  transition: opacity .35s, visibility .35s;
}
.drawer {
  position: fixed; top: 0; right: 0; bottom: 0; z-index: 1400;
  width: min(86vw, 370px);
  display: flex; flex-direction: column;
  background: var(--white);
  box-shadow: -20px 0 60px -20px rgba(10, 31, 66, .5);
  transform: translateX(105%);
  visibility: hidden;
  transition: transform .45s var(--ease), visibility .45s;
  overflow-y: auto;
}
.drawer.is-open { transform: none; visibility: visible; }
body.drawer-open .drawer-overlay { opacity: 1; visibility: visible; }

.drawer__head { display: flex; align-items: center; justify-content: space-between; padding: 18px 20px 18px 24px; border-bottom: 1px solid var(--line); }
.drawer__logo { width: 82px; height: auto; aspect-ratio: 744 / 250; color: var(--blue); }
.drawer__close { width: 44px; height: 44px; border-radius: 50%; display: grid; place-items: center; background: var(--blue-50); color: var(--navy); }
.drawer__close .icon { width: 22px; height: 22px; }

.drawer__list { padding: 14px 12px; }
.drawer__list li { opacity: 0; transform: translateX(24px); transition: opacity .4s, transform .4s var(--ease); }
.drawer.is-open .drawer__list li { opacity: 1; transform: none; }
.drawer.is-open .drawer__list li:nth-child(1) { transition-delay: .08s; }
.drawer.is-open .drawer__list li:nth-child(2) { transition-delay: .12s; }
.drawer.is-open .drawer__list li:nth-child(3) { transition-delay: .16s; }
.drawer.is-open .drawer__list li:nth-child(4) { transition-delay: .20s; }
.drawer.is-open .drawer__list li:nth-child(5) { transition-delay: .24s; }
.drawer.is-open .drawer__list li:nth-child(6) { transition-delay: .28s; }
.drawer.is-open .drawer__list li:nth-child(7) { transition-delay: .32s; }
.drawer__list a {
  display: flex; align-items: center; gap: 14px;
  padding: 13px 14px; border-radius: 14px;
  font-family: var(--font-title); font-weight: 600; font-size: 1.05rem;
  transition: background-color .2s;
}
.drawer__list a .icon { width: 24px; height: 24px; color: var(--blue-text); }
.drawer__list a:hover, .drawer__list a.is-active { background: var(--blue-50); }

.drawer__foot { margin-top: auto; padding: 20px 24px 28px; display: grid; gap: 10px; background: var(--blue-50); }
.drawer__hint { font-size: .88rem; color: var(--muted); text-align: center; margin-bottom: 4px; }


/* ------------------------------------------------------------------
   7. ACCUEIL
   ------------------------------------------------------------------ */
.hero {
  position: relative;
  min-height: min(100svh, 940px);
  display: flex; align-items: center;
  padding: calc(var(--header-h) + 56px) 0 190px;
  color: var(--white);
  overflow: hidden;
  isolation: isolate;
  background: var(--navy);
}
.hero__bg {
  position: absolute; inset: -4%; z-index: -1;
  background: url("images/eau.jpg") center / cover no-repeat;
  animation: water-drift 26s ease-in-out infinite alternate;
}
.hero__bg::after {
  content: ""; position: absolute; inset: 0;
  background:
    linear-gradient(100deg, rgba(10, 31, 66, .94) 0%, rgba(15, 44, 89, .82) 42%, rgba(15, 44, 89, .35) 100%),
    linear-gradient(0deg, rgba(10, 31, 66, .35), transparent 40%);
}
@keyframes water-drift {
  from { transform: scale(1) translate(0, 0); }
  to   { transform: scale(1.08) translate(-1.5%, 1%); }
}

.hero__inner { position: relative; z-index: 2; display: flex; align-items: center; justify-content: space-between; gap: 40px; }
.hero__content { max-width: 680px; }
.hero__title {
  margin-top: 22px;
  font-weight: 800; text-transform: uppercase;
  font-size: clamp(2.5rem, 7vw, 4.7rem);
  line-height: 1.02; letter-spacing: -.01em;
  text-wrap: balance;
}
.hero__subtitle { margin-top: 12px; font-family: var(--font-title); font-weight: 600; font-size: clamp(1.2rem, 2.6vw, 1.75rem); line-height: 1.3; }
.hero__text { margin-top: 20px; max-width: 540px; font-size: 1.1rem; color: rgba(255, 255, 255, .85); }
.hero__actions { margin-top: 34px; display: flex; flex-wrap: wrap; gap: 14px; }
.hero__rating {
  margin-top: 30px;
  display: inline-flex; align-items: center; gap: 12px; flex-wrap: wrap;
  font-size: .95rem; color: rgba(255, 255, 255, .9);
  transition: opacity .2s;
}
.hero__rating:hover { opacity: .8; }
.hero__rating strong { color: var(--white); }

/* Badge rotatif */
.hero__badge {
  position: relative; flex-shrink: 0;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(10, 31, 66, .55) 0 58%, rgba(10, 31, 66, 0) 72%);
  width: 220px; height: 220px;
  display: none; place-items: center;
}
.hero__badge-text {
  position: absolute; inset: 0; width: 100%; height: 100%;
  font-family: var(--font-title); font-weight: 800; font-size: 15px;
  fill: var(--yellow);
  animation: spin 22s linear infinite;
}
.hero__badge-buoy {
  width: 150px; height: 150px;
  filter: drop-shadow(0 14px 18px rgba(0, 0, 0, .3));
  animation: bob 3.2s ease-in-out infinite;
}
.hero__badge-buoy img { width: 100%; height: 100%; object-fit: contain; display: block; transform-origin: center; transition: transform .3s var(--ease); }
.hero__badge:hover .hero__badge-buoy img { animation: buoy-swing 1.1s ease-in-out infinite; }
@keyframes buoy-swing {
  0%, 100% { transform: scale(1.08) rotate(-7deg); }
  50% { transform: scale(1.08) rotate(7deg); }
}

/* Bulles au survol */
.hero__badge-bubbles { position: absolute; inset: 0; pointer-events: none; z-index: 2; }
.hero__badge-bubbles i {
  position: absolute; bottom: 36%;
  border-radius: 50%;
  background:
    radial-gradient(circle at 32% 28%, rgba(255, 255, 255, .98), rgba(255, 255, 255, .25) 45%, rgba(173, 220, 255, .12) 68%, rgba(173, 220, 255, 0) 75%);
  box-shadow: inset 0 0 2px rgba(255, 255, 255, .7), 0 0 4px rgba(173, 220, 255, .4);
  opacity: 0;
  will-change: transform, opacity;
}
/* position (réparties tout autour) / taille / départ / vitesse variées */
.hero__badge-bubbles i:nth-child(1)  { left: 12%; bottom: 30%; width: 9px;  height: 9px;  }
.hero__badge-bubbles i:nth-child(2)  { left: 22%; bottom: 22%; width: 12px; height: 12px; }
.hero__badge-bubbles i:nth-child(3)  { left: 31%; bottom: 34%; width: 6px;  height: 6px;  }
.hero__badge-bubbles i:nth-child(4)  { left: 40%; bottom: 20%; width: 14px; height: 14px; }
.hero__badge-bubbles i:nth-child(5)  { left: 48%; bottom: 28%; width: 7px;  height: 7px;  }
.hero__badge-bubbles i:nth-child(6)  { left: 55%; bottom: 18%; width: 10px; height: 10px; }
.hero__badge-bubbles i:nth-child(7)  { left: 62%; bottom: 32%; width: 5px;  height: 5px;  }
.hero__badge-bubbles i:nth-child(8)  { left: 69%; bottom: 24%; width: 11px; height: 11px; }
.hero__badge-bubbles i:nth-child(9)  { left: 77%; bottom: 34%; width: 8px;  height: 8px;  }
.hero__badge-bubbles i:nth-child(10) { left: 86%; bottom: 28%; width: 6px;  height: 6px;  }
.hero__badge-bubbles i:nth-child(11) { left: 18%; bottom: 40%; width: 7px;  height: 7px;  }
.hero__badge-bubbles i:nth-child(12) { left: 82%; bottom: 40%; width: 9px;  height: 9px;  }

/* chaque bulle a sa propre durée + un délai négatif : démarrage immédiat et décalé,
   et comme les durées sont toutes différentes, elles ne se resynchronisent jamais */
.hero__badge:hover .hero__badge-bubbles i {
  animation: badge-bubble-l var(--dur, 3s) ease-in infinite;
  animation-delay: var(--del, 0s);
}
.hero__badge:hover .hero__badge-bubbles i:nth-child(even) { animation-name: badge-bubble-r; }

.hero__badge-bubbles i:nth-child(1)  { --dur: 2.6s; --del: -0.3s; }
.hero__badge-bubbles i:nth-child(2)  { --dur: 3.4s; --del: -1.9s; }
.hero__badge-bubbles i:nth-child(3)  { --dur: 2.2s; --del: -1.1s; }
.hero__badge-bubbles i:nth-child(4)  { --dur: 3.8s; --del: -0.6s; }
.hero__badge-bubbles i:nth-child(5)  { --dur: 2.9s; --del: -2.3s; }
.hero__badge-bubbles i:nth-child(6)  { --dur: 3.1s; --del: -1.4s; }
.hero__badge-bubbles i:nth-child(7)  { --dur: 2.4s; --del: -0.9s; }
.hero__badge-bubbles i:nth-child(8)  { --dur: 3.6s; --del: -2.7s; }
.hero__badge-bubbles i:nth-child(9)  { --dur: 2.7s; --del: -1.6s; }
.hero__badge-bubbles i:nth-child(10) { --dur: 3.2s; --del: -0.2s; }
.hero__badge-bubbles i:nth-child(11) { --dur: 2.5s; --del: -3.0s; }
.hero__badge-bubbles i:nth-child(12) { --dur: 3.5s; --del: -2.0s; }

@keyframes badge-bubble-l {
  0%   { transform: translate(0, 0) scale(.3);          opacity: 0; }
  12%  { opacity: .95; }
  35%  { transform: translate(-6px, -55px)  scale(.9); }
  65%  { transform: translate(5px, -110px)  scale(1); }
  85%  { opacity: .65; }
  100% { transform: translate(-3px, -165px) scale(.95); opacity: 0; }
}
@keyframes badge-bubble-r {
  0%   { transform: translate(0, 0) scale(.3);          opacity: 0; }
  12%  { opacity: .95; }
  35%  { transform: translate(6px, -52px)   scale(.9); }
  65%  { transform: translate(-6px, -108px) scale(1); }
  85%  { opacity: .65; }
  100% { transform: translate(4px, -162px)  scale(.9);  opacity: 0; }
}
@keyframes spin { to { transform: rotate(360deg); } }
@keyframes bob {
  0%, 100% { transform: translateY(0) rotate(-6deg); }
  50% { transform: translateY(-10px) rotate(6deg); }
}
@media (min-width: 960px) { .hero__badge { display: grid; } }
@media (min-width: 1180px) { .hero__badge { width: 250px; height: 250px; margin-right: 30px; } }

/* Vagues animées en bas de l'accueil */
.hero__waves { position: absolute; left: 0; right: 0; bottom: -1px; height: 130px; z-index: 3; pointer-events: none; overflow: hidden; }
.wave { position: absolute; bottom: 0; left: 0; width: 200%; max-width: none; height: 100%; }
.wave--back { fill: rgba(255, 255, 255, .28); animation: wave-move 22s linear infinite; }
.wave--front { fill: var(--white); animation: wave-move 14s linear infinite reverse; }
@keyframes wave-move { to { transform: translateX(-50%); } }

/* Sur mobile : on remonte les vagues dans le hero pour qu'elles soient visibles
   dès l'ouverture, avec un fond blanc en dessous (continuité avec la section suivante). */
@media (max-width: 759px) {
  .hero__waves { height: 190px; }
  .hero__waves::after {
    content: ""; position: absolute; left: 0; right: 0; top: 92px; bottom: 0;
    background: var(--white);
  }
  .hero__waves .wave { top: 0; bottom: auto; height: 100px; }
}


/* ------------------------------------------------------------------
   8. ARGUMENTS CLÉS
   ------------------------------------------------------------------ */
.perks { position: relative; z-index: 4; margin-top: -96px; }
.perks__grid { display: grid; gap: 16px; grid-template-columns: 1fr; }
.perk {
  padding: 26px 24px;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  transition: transform .3s var(--ease), box-shadow .3s;
}
.perk:hover { transform: translateY(-4px); box-shadow: var(--shadow-lg); }
.perk__icon {
  display: grid; place-items: center;
  width: 50px; height: 50px; margin-bottom: 16px;
  border-radius: 16px;
  background: var(--blue-50); color: var(--blue-text);
}
.perk__icon svg { width: 26px; height: 26px; }
.perk__icon--yellow { background: var(--yellow); color: var(--navy); }
.perk__value { font-family: var(--font-title); font-weight: 800; font-size: 1.3rem; line-height: 1.2; }
.perk__label { margin-top: 6px; font-size: .95rem; line-height: 1.5; color: var(--muted); }

@media (min-width: 560px) { .perks__grid { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1040px) { .perks__grid { grid-template-columns: repeat(4, 1fr); } }


/* ------------------------------------------------------------------
   9. PRESTATIONS
   ------------------------------------------------------------------ */
.services { background: linear-gradient(180deg, var(--white) 0%, var(--blue-50) 22%, var(--blue-50) 100%); }
.services__grid { display: grid; gap: 22px; grid-template-columns: 1fr; }
.service {
  position: relative;
  display: flex; flex-direction: column; gap: 16px;
  padding: 30px 28px 32px;
  background: var(--white);
  border-radius: var(--radius);
  box-shadow: var(--shadow-sm), 0 0 0 1px var(--line);
  overflow: hidden;
  transition: transform .35s var(--ease), box-shadow .35s;
}
.service::before {
  content: ""; position: absolute; left: 0; right: 0; top: 0; height: 4px;
  background: linear-gradient(90deg, var(--blue), var(--yellow));
  transform: scaleX(0); transform-origin: left; transition: transform .45s var(--ease);
}
.service:hover { transform: translateY(-6px); box-shadow: var(--shadow-lg), 0 0 0 1px var(--blue-100); }
.service:hover::before { transform: scaleX(1); }

.service__top { display: flex; align-items: center; justify-content: space-between; gap: 12px; }
.service__icon {
  display: grid; place-items: center;
  width: 60px; height: 60px; border-radius: 18px;
  background: var(--blue-50); color: var(--blue-text);
  transition: transform .4s var(--ease);
}
.service__icon svg { width: 32px; height: 32px; }
.service:hover .service__icon { transform: rotate(-8deg) scale(1.06); }
.service__icon--yellow { background: var(--yellow-50); color: #C28800; }
.service__icon--green { background: #E3F5EC; color: var(--green); }
.service__title { font-weight: 700; font-size: 1.32rem; }

.includes {
  display: flex; align-items: center; gap: 8px;
  padding: 9px 12px; border-radius: 12px;
  background: var(--blue-50);
  font-size: .9rem; font-weight: 600; color: var(--blue-text);
}
.includes .icon { width: 18px; height: 18px; }

.service__link {
  margin-top: auto; display: inline-flex; align-items: center; gap: .4em;
  font-family: var(--font-title); font-weight: 600; font-size: .95rem; color: var(--blue-text);
}
.service__link .icon { transition: transform .25s; }
.service__link:hover .icon { transform: translateX(4px); }

@media (min-width: 700px) { .services__grid { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1040px) { .services__grid { grid-template-columns: repeat(3, 1fr); } }


/* ------------------------------------------------------------------
   10. FORMULES
   ------------------------------------------------------------------ */
.formulas__inner { display: grid; gap: 48px; align-items: center; }

.formulas__media { position: relative; max-width: 460px; margin-inline: auto; width: 100%; }
.formulas__media img {
  width: 100%; height: auto; display: block;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-lg);
}
.formulas__media::before {
  content: ""; position: absolute; z-index: -1;
  inset: 22px -18px -18px 22px;
  border-radius: var(--radius-lg);
  background: repeating-linear-gradient(135deg, var(--blue-100) 0 2px, transparent 2px 12px);
}
.formulas__media-card {
  position: absolute; left: -14px; bottom: 26px; right: 30px;
  display: flex; align-items: center; gap: 14px;
  padding: 16px 18px;
  background: rgba(255, 255, 255, .95);
  backdrop-filter: blur(8px); -webkit-backdrop-filter: blur(8px);
  border-radius: 18px; box-shadow: var(--shadow);
  font-size: .9rem; line-height: 1.45; color: var(--muted);
}
.formulas__media-card strong { display: block; font-family: var(--font-title); font-size: 1rem; color: var(--navy); }
.formulas__media-icon { display: grid; place-items: center; width: 46px; height: 46px; flex-shrink: 0; border-radius: 14px; background: var(--yellow); color: var(--navy); }
.formulas__media-icon svg { width: 26px; height: 26px; }

.freq { display: grid; gap: 12px; }
.freq__item {
  display: flex; align-items: flex-start; gap: 18px;
  padding: 18px 20px;
  border-radius: 18px;
  border: 1px solid var(--line);
  background: var(--white);
  transition: border-color .3s, transform .3s var(--ease), box-shadow .3s;
}
.freq__item:hover { border-color: var(--blue); transform: translateX(6px); box-shadow: var(--shadow); }
.freq__item h3 { font-weight: 700; font-size: 1.08rem; margin-bottom: 3px; }
.freq__item p { font-size: .96rem; line-height: 1.5; color: var(--muted); }
.freq__dots {
  flex-shrink: 0; width: 48px; height: 48px; margin-top: 2px;
  display: grid; grid-template-columns: repeat(2, 9px); grid-auto-rows: 9px; gap: 5px;
  place-content: center;
  border-radius: 14px; background: var(--blue-50);
}
.freq__dots i { display: block; width: 9px; height: 9px; border-radius: 50%; background: var(--blue); }

.freq__item--featured { background: var(--navy); border-color: var(--navy); color: var(--white); }
.freq__item--featured p { color: rgba(255, 255, 255, .8); }
.freq__item--featured .freq__dots { background: rgba(255, 255, 255, .1); }
.freq__item--featured .freq__dots i { background: var(--yellow); }
.freq__item--featured:hover { border-color: var(--yellow); }

.price-note {
  margin-top: 22px;
  display: flex; align-items: center; gap: 16px;
  padding: 18px 20px; border-radius: 18px;
  background: var(--yellow-50);
  border: 1px dashed #F0C65A;
  font-size: .96rem; line-height: 1.5; color: var(--muted);
}
.price-note strong { display: block; color: var(--navy); font-family: var(--font-title); font-weight: 700; }
.price-note__icon { display: grid; place-items: center; width: 46px; height: 46px; flex-shrink: 0; border-radius: 50%; background: var(--yellow); color: var(--navy); }
.price-note__icon svg { width: 24px; height: 24px; }

@media (min-width: 960px) {
  .formulas__inner { grid-template-columns: 5fr 7fr; gap: 72px; }
  .formulas__media { margin: 0; }
}


/* ------------------------------------------------------------------
   11. AVANT / APRÈS
   ------------------------------------------------------------------ */
.results {
  padding-block: clamp(130px, 14vw, 170px);
  background: radial-gradient(1000px 500px at 85% 20%, rgba(56, 179, 252, .22), transparent 60%), var(--navy);
  color: var(--white);
  overflow: hidden;
}
.results .divider { fill: var(--white); height: clamp(40px, 6vw, 90px); }
.divider--top { top: -1px; }
.divider--bottom { bottom: -1px; }

.results__inner { position: relative; z-index: 2; display: grid; gap: 48px; align-items: center; }
.results__inner > *, .formulas__inner > *, .about__inner > *, .zone__inner > *, .contact__card > * { min-width: 0; }
.results .section-title { color: var(--white); }
.results .hl-blue { color: var(--blue); }
.results .section-intro { color: rgba(255, 255, 255, .8); }
.results .eyebrow { color: var(--blue); }

.compare {
  --pos: 50%;
  position: relative;
  aspect-ratio: 4 / 3;
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: 0 30px 70px -20px rgba(0, 0, 0, .55), 0 0 0 6px rgba(255, 255, 255, .08);
  user-select: none; -webkit-user-select: none;
  touch-action: pan-y;
  cursor: ew-resize;
}
.compare__img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; pointer-events: none; }
.compare__before { position: absolute; inset: 0; clip-path: inset(0 calc(100% - var(--pos)) 0 0); }
.compare__handle {
  position: absolute; top: 0; bottom: 0; left: var(--pos);
  width: 3px; margin-left: -1.5px;
  background: var(--white);
  box-shadow: 0 0 12px rgba(0, 0, 0, .35);
  pointer-events: none;
}
.compare__knob {
  position: absolute; top: 50%; left: 50%;
  width: 54px; height: 54px; margin: -27px 0 0 -27px;
  display: grid; place-items: center;
  border-radius: 50%;
  background: var(--yellow); color: var(--navy);
  border: 3px solid var(--white);
  box-shadow: 0 8px 22px rgba(0, 0, 0, .35);
  transition: transform .2s var(--ease);
}
.compare__knob .icon { width: 26px; height: 26px; }
.compare.is-dragging .compare__knob, .compare:hover .compare__knob { transform: scale(1.08); }
.compare__label {
  position: absolute; top: 16px;
  padding: .35em .95em; border-radius: 999px;
  font-family: var(--font-title); font-weight: 700; font-size: .8rem; letter-spacing: .1em; text-transform: uppercase;
  pointer-events: none;
}
.compare__label--before { left: 16px; background: rgba(10, 31, 66, .75); color: var(--white); }
.compare__label--after { right: 16px; background: var(--white); color: var(--navy); }
.compare__range { position: absolute; inset: 0; width: 100%; height: 100%; margin: 0; opacity: 0; pointer-events: none; }
.compare:has(.compare__range:focus-visible) { outline: 3px solid var(--yellow); outline-offset: 4px; }
.compare__hint { margin-top: 14px; display: flex; align-items: center; justify-content: center; gap: 8px; font-size: .9rem; color: rgba(255, 255, 255, .65); }

/* Petite animation d'invitation à faire glisser */
.compare.is-teasing .compare__before, .compare.is-teasing .compare__handle { transition: clip-path .9s var(--ease), left .9s var(--ease); }

.quote-card {
  margin: 0 0 28px;
  padding: 24px 26px;
  border-radius: var(--radius);
  background: rgba(255, 255, 255, .07);
  border: 1px solid rgba(255, 255, 255, .14);
}
.quote-card blockquote { margin: 12px 0 10px; font-size: 1.04rem; font-style: italic; line-height: 1.6; color: rgba(255, 255, 255, .92); }
.quote-card figcaption { font-size: .88rem; font-weight: 600; color: var(--blue); }

@media (min-width: 960px) { .results__inner { grid-template-columns: 1.1fr 1fr; gap: 72px; } }


/* ------------------------------------------------------------------
   12. QUI EST MISTER O ?
   ------------------------------------------------------------------ */
.about__inner { display: grid; gap: 56px; align-items: center; }
.about__visual {
  position: relative;
  width: 100%; max-width: 470px; margin-inline: auto;
  aspect-ratio: 1 / 1.06;
  container-type: inline-size;
}
.about__blob {
  position: absolute; left: 0; right: 0; bottom: 0;
  aspect-ratio: 1; border-radius: 50%;
  background: radial-gradient(circle at 30% 25%, #FFD45E, var(--yellow) 55%, var(--yellow-600));
  box-shadow: inset 0 -20px 40px rgba(194, 136, 0, .25);
}
.about__photo {
  position: absolute; inset: 0;
  width: 100%; height: 100%;
  object-fit: contain; object-position: center bottom;
  /* La photo dépasse du cercle en haut et se fond dans le cercle en bas */
  -webkit-mask:
    linear-gradient(#000 0 0) top / 100% calc(100% - 50cqw) no-repeat,
    radial-gradient(circle 50cqw at 50% calc(100% - 50cqw), #000 99.5%, transparent 100%);
          mask:
    linear-gradient(#000 0 0) top / 100% calc(100% - 50cqw) no-repeat,
    radial-gradient(circle 50cqw at 50% calc(100% - 50cqw), #000 99.5%, transparent 100%);
}
.about__ring {
  position: absolute; top: 12%; right: -2%;
  width: 22%; aspect-ratio: 1; border-radius: 50%;
  border: clamp(10px, 3.2cqw, 16px) solid var(--blue);
  animation: float 6s ease-in-out infinite;
}
.about__dot { position: absolute; border-radius: 50%; border: 2px solid var(--blue); background: rgba(56, 179, 252, .12); animation: float 5s ease-in-out infinite; }
.about__dot--1 { width: 26px; height: 26px; top: 6%; left: 10%; animation-delay: -1s; }
.about__dot--2 { width: 14px; height: 14px; top: 20%; left: 2%; animation-delay: -2.5s; }
.about__dot--3 { width: 18px; height: 18px; top: 2%; right: 30%; animation-delay: -3.5s; }
@keyframes float { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-12px); } }

.about__name {
  position: absolute; left: -4%; bottom: 8%;
  padding: 14px 20px; border-radius: 18px;
  background: var(--white); box-shadow: var(--shadow-lg);
  line-height: 1.3;
}
.about__name strong { display: block; font-family: var(--font-title); font-size: 1.05rem; }
.about__name span { font-size: .85rem; color: var(--muted); }

.traits { display: grid; gap: 18px; }
.trait { display: flex; gap: 16px; align-items: flex-start; }
.trait__icon { display: grid; place-items: center; width: 50px; height: 50px; flex-shrink: 0; border-radius: 16px; background: var(--blue-50); color: var(--blue-text); }
.trait__icon svg { width: 28px; height: 28px; }
.trait h3 { font-weight: 700; font-size: 1.08rem; margin-bottom: 4px; }
.trait p { font-size: .97rem; line-height: 1.55; color: var(--muted); }

@media (min-width: 640px) { .traits { grid-template-columns: repeat(2, 1fr); gap: 26px 28px; } }
@media (min-width: 960px) {
  .about__inner { grid-template-columns: 5fr 7fr; gap: 72px; }
  .about__visual { margin: 0; }
}


/* ------------------------------------------------------------------
   13. AVIS
   ------------------------------------------------------------------ */
.reviews { background: var(--blue-50); }

/* --- Carrousel d'avis --- */
.reviews-carousel { position: relative; }
.reviews-carousel__viewport {
  overflow: hidden;
  padding: 22px 0 32px;
  -webkit-mask-image: linear-gradient(to right, transparent 0, #000 8%, #000 92%, transparent 100%);
  mask-image: linear-gradient(to right, transparent 0, #000 8%, #000 92%, transparent 100%);
}
.reviews-carousel__track { display: flex; gap: 20px; width: max-content; will-change: transform; }
.reviews-carousel .review,
.reviews-carousel .rating-card { flex: 0 0 320px; width: 320px; margin: 0; }
.reviews-carousel__controls {
  display: flex; align-items: center; justify-content: center; gap: 18px;
  margin-top: 6px;
}
.reviews-carousel__btn {
  flex: none;
  display: grid; place-items: center;
  width: 46px; height: 46px; border-radius: 50%;
  background: var(--white); color: var(--navy);
  box-shadow: var(--shadow);
  transition: background-color .2s, transform .2s;
}
.reviews-carousel__btn:hover { background: var(--yellow); transform: translateY(-2px); }
.reviews-carousel__btn .icon { width: 22px; height: 22px; }
.reviews-carousel__btn--prev .icon { transform: scaleX(-1); }

.reviews-carousel__dots { display: flex; align-items: center; gap: 9px; }
.reviews-carousel__dot {
  width: 9px; height: 9px; border-radius: 999px;
  background: var(--blue-100);
  transition: background-color .25s var(--ease), width .25s var(--ease);
}
.reviews-carousel__dot:hover { background: var(--blue); }
.reviews-carousel__dot.is-active { width: 26px; background: var(--blue-text); }

@media (max-width: 600px) {
  .reviews-carousel__controls { gap: 12px; }
  .reviews-carousel__btn { width: 42px; height: 42px; }
  .reviews-carousel__btn .icon { width: 19px; height: 19px; }
  .reviews-carousel .review,
  .reviews-carousel .rating-card { flex-basis: 280px; width: 280px; }
}

.rating-card {
  display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 10px;
  padding: 34px 28px;
  border-radius: var(--radius);
  background: var(--navy); color: var(--white);
  text-align: center;
  box-shadow: var(--shadow);
}
.rating-card__score { font-family: var(--font-title); font-weight: 800; font-size: 4.2rem; line-height: 1; }
.rating-card__score small { font-size: 1.4rem; opacity: .7; margin-left: 2px; }
.rating-card__count { font-size: .95rem; color: rgba(255, 255, 255, .8); margin-bottom: 14px; }

.review {
  margin: 0;
  display: flex; flex-direction: column;
  padding: 28px 26px;
  border-radius: var(--radius);
  background: var(--white);
  box-shadow: var(--shadow-sm), 0 0 0 1px var(--line);
  position: relative;
  transition: transform .35s var(--ease), box-shadow .35s;
}
.review::after {
  content: "\201D"; position: absolute; top: 4px; right: 22px;
  font-family: Georgia, serif; font-size: 5rem; line-height: 1; color: var(--blue-100);
}
.review:hover { transform: translateY(-5px); box-shadow: var(--shadow); }
.review__head { display: flex; align-items: center; gap: 12px; margin-bottom: 16px; }
.review__head strong { display: block; font-family: var(--font-title); font-size: 1rem; line-height: 1.2; }
.avatar {
  display: grid; place-items: center;
  width: 46px; height: 46px; flex-shrink: 0;
  border-radius: 50%;
  background: var(--c); color: var(--white);
  font-family: var(--font-title); font-weight: 700; font-size: 1.1rem;
}
.review blockquote { margin: 0; flex: 1; font-size: .98rem; line-height: 1.6; color: var(--muted); }
.review figcaption {
  margin-top: 18px; padding-top: 14px;
  border-top: 1px solid var(--line);
  font-size: .82rem; font-weight: 600; color: var(--blue-text);
}
.review figcaption a { color: inherit; text-decoration: none; }
.review figcaption a:hover,
.review figcaption a:focus-visible { text-decoration: underline; }



/* ------------------------------------------------------------------
   14. ZONE D'INTERVENTION
   ------------------------------------------------------------------ */
.zone__inner { display: grid; gap: 44px; align-items: center; }
.zone__card {
  position: relative; overflow: hidden;
  padding: clamp(28px, 4vw, 44px);
  border-radius: var(--radius-lg);
  background: var(--navy); color: var(--white);
  box-shadow: var(--shadow-lg);
}
.zone__note { margin-top: 22px; display: flex; gap: 10px; align-items: flex-start; font-size: .96rem; color: var(--muted); }
.zone__note .icon { color: var(--blue-text); margin-top: 2px; }
.zone__note a { color: var(--blue-text); font-weight: 700; text-decoration: underline; text-underline-offset: 3px; }

.zone__map-wrap { position: relative; }
.zone__map {
  height: clamp(340px, 46vw, 480px);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-lg), 0 0 0 6px var(--blue-50);
  background: var(--blue-50);
  z-index: 1;
}
.zone__map-iframe { display: block; width: 100%; height: 100%; border: 0; }
.zone__map-link {
  position: absolute; z-index: 5; right: 16px; bottom: 16px;
  display: inline-flex; align-items: center; gap: .45em;
  padding: .6em 1.1em; border-radius: 999px;
  background: var(--white); box-shadow: var(--shadow);
  font-family: var(--font-title); font-weight: 600; font-size: .88rem;
  transition: transform .25s;
}
.zone__map-link:hover { transform: translateY(-2px); }
.zone__map-link .icon { color: var(--blue-text); }

/* Personnalisation de la carte Leaflet */
.zone__map .leaflet-tile-pane { filter: saturate(.55) brightness(1.04) contrast(.95); }
.zone__map .leaflet-control-attribution { font-size: 10px; background: rgba(255, 255, 255, .8); border-radius: 8px 0 0 0; }
.zone__map .leaflet-control-zoom { border: 0; box-shadow: var(--shadow); border-radius: 12px; overflow: hidden; }
.zone__map .leaflet-control-zoom a { width: 36px; height: 36px; line-height: 36px; color: var(--navy); }
.map-marker { position: relative; }
.map-marker__pin {
  position: absolute; left: 50%; top: 50%;
  width: 46px; height: 46px; margin: -23px 0 0 -23px;
  display: grid; place-items: center;
  border-radius: 50%;
  background: var(--navy); border: 3px solid var(--white);
  box-shadow: 0 8px 18px rgba(15, 44, 89, .45);
}
.map-marker__pin i { width: 18px; height: 18px; border-radius: 50%; border: 5px solid var(--blue); }
.map-marker__pulse {
  position: absolute; left: 50%; top: 50%;
  width: 46px; height: 46px; margin: -23px 0 0 -23px;
  border-radius: 50%; background: rgba(56, 179, 252, .45);
  animation: pulse 2.2s ease-out infinite;
}
@keyframes pulse { from { transform: scale(1); opacity: .9; } to { transform: scale(2.6); opacity: 0; } }
.leaflet-popup-content-wrapper { border-radius: 14px; font-family: var(--font-text); }
.leaflet-popup-content { margin: 12px 16px; font-size: .9rem; line-height: 1.45; color: var(--navy); }
.leaflet-popup-content strong { font-family: var(--font-title); }

@media (min-width: 960px) { .zone__inner { grid-template-columns: 1fr 1.15fr; gap: 64px; } }


/* ------------------------------------------------------------------
   15. CONTACT
   ------------------------------------------------------------------ */
.contact { background: var(--blue-50); padding-bottom: clamp(110px, 14vw, 170px); }
.contact__card {
  display: grid; grid-template-columns: 1fr;
  border-radius: var(--radius-lg);
  overflow: hidden;
  background: var(--white);
  box-shadow: var(--shadow-lg);
}
.contact__main { padding: clamp(32px, 5vw, 60px); }
.contact__text { margin: 16px 0 30px; max-width: 480px; font-size: 1.08rem; color: var(--muted); }

.contact__alt { margin-top: 30px; }
.contact__alt p { font-size: .92rem; font-weight: 600; color: var(--muted); margin-bottom: 10px; }
.contact__alt-btns { display: flex; flex-wrap: wrap; gap: 10px; }
.chip-btn {
  display: inline-flex; align-items: center; gap: .5em;
  padding: .6em 1.15em; border-radius: 999px;
  border: 2px solid var(--blue-100);
  font-family: var(--font-title); font-weight: 600; font-size: .95rem;
  transition: border-color .25s, background-color .25s, transform .25s;
}
.chip-btn .icon { color: var(--blue-text); }
.chip-btn:hover { border-color: var(--blue); background: var(--blue-50); transform: translateY(-2px); }
.contact__place { margin-top: 28px; display: flex; align-items: center; gap: 8px; font-size: .92rem; color: var(--muted); }
.contact__place .icon { color: var(--blue-text); }

.contact__hours {
  position: relative; overflow: hidden;
  padding: clamp(32px, 5vw, 56px);
  background: var(--navy); color: var(--white);
}
.hours__head { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 14px; margin-bottom: 26px; }
.hours__head h3 { font-weight: 800; font-size: 1.8rem; color: var(--yellow); }
.status {
  display: inline-flex; align-items: center; gap: .55em;
  padding: .45em 1em; border-radius: 999px;
  background: rgba(255, 255, 255, .1);
  font-size: .88rem; font-weight: 600;
}
.status__dot { position: relative; width: 10px; height: 10px; border-radius: 50%; background: #9AA8C0; flex-shrink: 0; }
.status.is-open .status__dot { background: #3DDC97; }
.status.is-open .status__dot::after {
  content: ""; position: absolute; inset: 0; border-radius: 50%;
  background: #3DDC97; animation: pulse 1.8s ease-out infinite;
}
.status.is-closed .status__dot { background: var(--yellow); }

.hours { display: grid; gap: 6px; position: relative; z-index: 1; }
.hours__row {
  display: flex; justify-content: space-between; gap: 16px;
  padding: 16px 18px; border-radius: 14px;
  align-items: center;
  font-size: 1.05rem;
  border-bottom: 1px solid rgba(255, 255, 255, .1);
  transition: background-color .3s;
}
.hours__row span:last-child { font-family: var(--font-title); font-weight: 600; white-space: nowrap; }
.hours__row--closed { color: rgba(255, 255, 255, .55); }
.hours__row.is-today { background: rgba(56, 179, 252, .18); border-bottom-color: transparent; box-shadow: inset 4px 0 0 var(--yellow); }
.hours__row.is-today span:first-child { font-weight: 700; color: var(--white); }
.hours__row.is-today span:first-child::after { content: "aujourd'hui"; display: block; font-weight: 400; font-size: .8em; color: var(--blue); }
.hours__note { position: relative; z-index: 1; margin-top: 20px; font-size: .9rem; color: rgba(255, 255, 255, .7); }
.hours__deco { position: absolute; right: clamp(16px, 4%, 28px); bottom: clamp(16px, 4%, 24px); width: min(280px, 62%); height: auto; aspect-ratio: 744 / 250; color: rgba(255, 255, 255, .07); pointer-events: none; }

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


/* ------------------------------------------------------------------
   16. BANDEAU FINAL
   ------------------------------------------------------------------ */
.cta-band {
  position: relative;
  padding: clamp(130px, 14vw, 170px) 0 clamp(80px, 10vw, 110px);
  color: var(--white); text-align: center;
  overflow: hidden; isolation: isolate;
  background: var(--blue);
}
.cta-band__bg { position: absolute; inset: 0; z-index: -1; background: url("images/eau.jpg") center / cover; }
.cta-band__bg::after { content: ""; position: absolute; inset: 0; background: linear-gradient(160deg, rgba(56, 179, 252, .78) 0%, rgba(22, 131, 199, .85) 45%, rgba(15, 44, 89, .95) 100%); }
.divider--cta { top: -1px; height: clamp(50px, 7vw, 100px); fill: var(--white); z-index: 2; }
.cta-band__inner { position: relative; z-index: 2; }
.cta-band__deco { position: absolute; right: clamp(16px, 4%, 40px); bottom: clamp(16px, 4%, 32px); width: min(320px, 50%); height: auto; aspect-ratio: 744 / 250; color: rgba(255, 255, 255, .14); z-index: 1; pointer-events: none; }
@media (max-width: 759px) { .cta-band__deco { display: none; } }
.cta-band h2 { font-weight: 800; text-transform: uppercase; font-size: clamp(1.8rem, 4.6vw, 3.2rem); letter-spacing: -.01em; text-wrap: balance; }
.cta-band p { margin-top: 12px; font-size: 1.15rem; color: rgba(255, 255, 255, .9); }
.cta-band__btns { margin-top: 32px; display: flex; flex-wrap: wrap; justify-content: center; gap: 14px; }
.bubbles--few span:nth-child(1) { --x: 6%; }
.bubbles--few span:nth-child(5) { --x: 93%; }


/* ------------------------------------------------------------------
   17. PIED DE PAGE, BARRE MOBILE, MENTIONS LÉGALES
   ------------------------------------------------------------------ */
.footer { background: var(--navy-900); color: rgba(255, 255, 255, .75); padding-top: 70px; font-size: .95rem; }
.footer__grid { display: grid; gap: 40px 32px; padding-bottom: 50px; }
.footer__logo { width: 140px; height: auto; aspect-ratio: 744 / 250; color: var(--blue); }
.footer__brand-line { display: none; }
.footer__tagline { margin: 10px 0 14px; font-family: var(--font-title); font-weight: 600; color: var(--white); }
.footer__desc { max-width: 340px; line-height: 1.6; }

/* Titres de colonnes avec filet d'accent */
.footer__heading { position: relative; margin-bottom: 26px; padding-bottom: 12px; font-family: var(--font-title); font-size: 1.2rem; font-weight: 700; color: var(--white); }
.footer__heading::after { content: ""; position: absolute; left: 0; bottom: 0; width: 56px; height: 3px; border-radius: 2px; background: var(--yellow); }

.footer__col ul { display: grid; gap: 14px; }
.footer__col a { transition: color .2s; }
.footer__col a:hover { color: var(--yellow); }
.footer__link-btn { text-align: left; transition: color .2s; }
.footer__link-btn:hover { color: var(--yellow); }
.footer__contact a, .footer__contact span { display: inline-flex; align-items: flex-start; gap: .65em; }
.footer__contact .icon { flex: none; margin-top: .1em; color: var(--blue); }

/* Réseaux sociaux */
.footer__social { display: flex; gap: 12px; margin-top: 22px; }
.footer__social-btn {
  display: inline-flex; align-items: center; justify-content: center;
  width: 44px; height: 44px; border-radius: 50%;
  background: rgba(255, 255, 255, .08); color: var(--white);
  transition: background .2s, color .2s, transform .2s;
}
.footer__social-btn:hover { background: var(--yellow); color: var(--navy); transform: translateY(-2px); }
.footer__social-btn .icon { width: 20px; height: 20px; }

.footer__legal { border-top: 1px solid rgba(255, 255, 255, .1); padding-top: 24px; padding-bottom: 28px; }
.footer__bottom { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 12px; font-size: .85rem; }
.link-btn { text-decoration: underline; text-underline-offset: 3px; transition: color .2s; }
.link-btn:hover { color: var(--yellow); }

/* --- Desktop : 3 colonnes --- */
@media (min-width: 760px) { .footer__grid { grid-template-columns: 1.4fr 1fr 1.2fr; } }

/* --- Mobile : marque centrée, puis Navigation + Contact côte à côte --- */
@media (max-width: 759px) {
  .footer__grid { grid-template-columns: 1fr 1fr; gap: 36px 20px; }
  .footer__col { min-width: 0; }
  .footer__brand { grid-column: 1 / -1; display: flex; flex-direction: column; align-items: center; text-align: center; }
  .footer__logo { width: 160px; }
  .footer__brand-line { display: block; width: 70px; height: 3px; margin: 14px 0 4px; border-radius: 2px; background: var(--yellow); }
  .footer__desc { max-width: 420px; }
  .footer__social { justify-content: center; }
  .footer__contact a, .footer__contact span { display: flex; min-width: 0; overflow-wrap: anywhere; word-break: break-word; }
}

/* Boutons fixes en bas sur mobile */
.mobile-bar {
  position: fixed; left: 12px; right: 12px; bottom: 12px; z-index: 950;
  display: grid; grid-template-columns: 1.4fr 1fr; gap: 8px;
  padding: 8px; border-radius: 999px;
  background: rgba(255, 255, 255, .96);
  backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px);
  box-shadow: 0 14px 40px -10px rgba(10, 31, 66, .45);
  transform: translateY(140%);
  transition: transform .45s var(--ease);
}
.mobile-bar.is-visible { transform: none; }
.mobile-bar__btn {
  display: flex; align-items: center; justify-content: center; gap: .5em;
  padding: .8em 1em; border-radius: 999px;
  font-family: var(--font-title); font-weight: 700; font-size: 1rem;
  background: var(--blue-50); color: var(--navy);
}
.mobile-bar__btn--call { background: var(--yellow); }
@media (min-width: 760px) { .mobile-bar { display: none; } }
@media (max-width: 759px) { .footer { padding-bottom: 80px; } }

/* Mentions légales */
.legal {
  width: min(720px, calc(100% - 32px));
  max-height: calc(100dvh - 48px);
  padding: 0; border: 0; border-radius: var(--radius-lg);
  color: var(--text);
  box-shadow: var(--shadow-lg);
}
.legal::backdrop { background: rgba(10, 31, 66, .6); backdrop-filter: blur(4px); }
.legal[open] { animation: pop .35s var(--ease); }
@keyframes pop { from { opacity: 0; transform: translateY(20px) scale(.97); } }
.legal__inner { position: relative; padding: clamp(28px, 5vw, 48px); }
.legal h2 { font-weight: 800; font-size: 1.8rem; margin-bottom: 8px; padding-right: 50px; }
.legal h3 { margin-top: 24px; margin-bottom: 6px; font-size: 1.05rem; color: var(--blue-text); }
.legal p { font-size: .95rem; color: var(--muted); }
.legal p + p { margin-top: 8px; }
.legal__close { position: absolute; top: 20px; right: 20px; width: 44px; height: 44px; border-radius: 50%; display: grid; place-items: center; background: var(--blue-50); }
.legal__close .icon { width: 22px; height: 22px; }


/* ------------------------------------------------------------------
   18. ANIMATIONS AU SCROLL
   (actives seulement si JavaScript fonctionne : sinon tout reste visible)
   ------------------------------------------------------------------ */
.js [data-reveal] {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity .85s var(--ease), transform .85s var(--ease);
  transition-delay: calc(var(--d, 0) * 100ms);
}
.js [data-reveal="left"]  { transform: translateX(-46px); }
.js [data-reveal="right"] { transform: translateX(46px); }
.js [data-reveal="zoom"]  { transform: scale(.93); }
.js [data-reveal].is-visible { opacity: 1; transform: none; }

/* Respect du réglage « réduire les animations » */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after {
    animation-duration: .001ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: .001ms !important;
    transition-delay: 0s !important;
  }
  .js [data-reveal] { opacity: 1; transform: none; }
  .bubbles, .water-level__bubble { display: none; }
}
