/* ==========================================================================
   Les Plombiers du Coin — feuille de style

   Tout le système graphique vient du logo :
   · « le coin »  → un grand angle arrondi en haut à gauche, les trois autres
                    serrés, comme le coude du tuyau (panneaux, cartes, boutons) ;
   · la goutte    → puce, repère, ponctuation ;
   · deux teintes → le bleu marine du coude, le sarcelle de la goutte,
                    déclinés en nuances d’aqua — aucune autre couleur.
   Le décor reprend l’univers du métier : carrelage, tuyaux, eau qui coule.

   Pensé d’abord pour le téléphone : les règles de base sont celles du mobile,
   les écrans plus larges s’ajoutent par paliers (min-width). Le code reste
   volontairement classique (marges plutôt que « gap » en flexbox, propriétés
   physiques, valeurs de repli avant chaque clamp) pour fonctionner aussi sur
   les téléphones anciens. Règle à garder : ne jamais mêler var() et clamp()
   dans une même déclaration — le repli ne joue pas ; passer par une variable.
   ========================================================================== */

:root {
  /* Couleurs (conçues en OKLCH à partir du logo, livrées en hexadécimal) */
  --navy-950: #020C1D;
  --navy-900: #03132A;   /* encre — le lettrage du logo */
  --navy-800: #021937;   /* le coude du logo */
  --navy-700: #0A2649;
  --navy-600: #1E395A;
  --ink: var(--navy-900);
  --ink-2: #2F4157;
  --ink-3: #556578;
  --teal-700: #015259;
  --teal-600: #12636B;   /* la goutte du logo */
  --teal-500: #24838B;
  --teal-400: #49A9AE;
  --teal-300: #77CBCD;
  --teal-200: #AAE0E2;
  --water: #C7E7EA;
  --wash: #E0F2F4;
  --aqua-1: #D7EFF1;
  --aqua-2: #E9F6F8;
  --mist: #EEF4F8;
  --paper: #F7FAFC;
  --blanc: #FCFEFF;
  --on-navy: #EFF4F8;
  --on-navy-2: #B8CADA;
  --on-navy-3: #8BA1B7;
  --line: rgba(3, 19, 42, .12);
  --line-strong: rgba(3, 19, 42, .26);
  --line-on-navy: rgba(239, 244, 248, .15);

  /* Typographie */
  --font-display: "Hedvig Letters Serif", "Iowan Old Style", "Palatino Linotype", Palatino, Georgia, serif;
  --font-body: "Figtree", system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", sans-serif;
  --display-weight: 400;
  --display-tracking: -.02em;

  /* Tailles : valeurs fixes (repli), remplacées plus bas par des tailles fluides */
  --fs-h1: 2.375rem;
  --fs-h2: 2rem;
  --fs-say: 1.625rem;
  --fs-h3: 1.5rem;
  --fs-lede: 1.0625rem;
  --fs-body: 1.0625rem;
  --fs-sm: .9375rem;
  --fs-label: .8125rem;
  --fs-tel: 2.125rem;

  /* Espacements (échelle de 4 px) */
  --space-sm: 12px;
  --space-md: 16px;
  --space-lg: 24px;
  --space-xl: 32px;
  --gutter: 20px;
  --section: 80px;
  --wrap: 1240px;
  --entete: 64px;        /* hauteur de l’en-tête, que le fond de l’accueil vient doubler */
  --hero-top: 16px;      /* marge entre l’en-tête et le sur-titre */

  /* Le coin */
  --r: 20px;
  --r-coin: 64px;

  /* Mouvement */
  --ease-out: cubic-bezier(.16, 1, .3, 1);
  --ease-out-quart: cubic-bezier(.25, 1, .5, 1);

  /* Motifs : la goutte, la vague, le bord ondulé, le carrelage */
  --drop-teal: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 95 134'%3E%3Cpath fill='%2312636B' d='M47.5 0 87.1 59.8a47.5 47.5 0 1 1-79.2 0Z'/%3E%3C/svg%3E");
  --drop-light: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 95 134'%3E%3Cpath fill='%2377CBCD' d='M47.5 0 87.1 59.8a47.5 47.5 0 1 1-79.2 0Z'/%3E%3C/svg%3E");
  --vague: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 40 12'%3E%3Cpath d='M0 7Q10 0 20 7T40 7' fill='none' stroke='%2349A9AE' stroke-width='2.6'/%3E%3C/svg%3E");
  --ondule: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 240 24' preserveAspectRatio='none'%3E%3Cpath fill='%23F7FAFC' d='M0 0H240V12Q180 24 120 12T0 12Z'/%3E%3C/svg%3E");
  --carreaux: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='64' height='64'%3E%3Crect x='3' y='3' width='58' height='58' rx='9' fill='%23fff' fill-opacity='.045'/%3E%3C/svg%3E");
}

/* Tailles fluides, pour les navigateurs qui connaissent clamp() */
@supports (width: clamp(1px, 2vw, 3px)) {
  :root {
    --fs-h1: clamp(2.25rem, 11.2vw, 2.625rem);   /* le titre tient sur trois lignes dès 320 px */
    --fs-h2: clamp(2rem, 1.3rem + 3vw, 3.5rem);
    --fs-say: clamp(1.625rem, 1.3rem + 1.3vw, 2.125rem);
    --fs-lede: clamp(1.0625rem, 1rem + .45vw, 1.25rem);
    --fs-tel: clamp(1.9rem, .85rem + 6.4vw, 5.75rem);
    --gutter: clamp(20px, 5vw, 72px);
    --section: clamp(72px, 9vw, 136px);
    --r-coin: clamp(64px, 11vw, 150px);
    --hero-top: clamp(16px, 3.5vw, 48px);
  }
  @media (min-width: 392px) {
    :root { --fs-h1: clamp(2.625rem, 1.4rem + 5vw, 5rem); }
  }
}
@media (min-width: 560px) { :root { --entete: 72px; } }
@media (min-width: 940px) { :root { --entete: 92px; } }

/* ───────────── Base ───────────── */

*, *::before, *::after { box-sizing: border-box; }

html {
  -webkit-text-size-adjust: 100%;
  text-size-adjust: 100%;
  -webkit-tap-highlight-color: transparent;
  color-scheme: light;
  color-scheme: only light;   /* pas d’assombrissement automatique par le navigateur */
  scroll-padding-top: 80px;
}

body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: var(--font-body);
  font-size: var(--fs-body);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}

h1, h2, h3, p, ul, ol, dl, dd, figure { margin: 0; }
ul, ol { padding: 0; list-style: none; }
img, svg { display: block; max-width: 100%; }
a { color: inherit; }
a, button, summary { touch-action: manipulation; }

h1, h2 {
  font-family: var(--font-display);
  font-weight: var(--display-weight);
  letter-spacing: var(--display-tracking);
  text-wrap: balance;
}
h1 { font-size: var(--fs-h1); line-height: 1.04; }
h2 { font-size: var(--fs-h2); line-height: 1.06; }
p { text-wrap: pretty; }

::selection { background: var(--teal-300); color: var(--navy-900); }

:focus-visible {
  outline: 2px solid var(--teal-600);
  outline-offset: 3px;
  border-radius: 4px;
}

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

.nowrap { white-space: nowrap; }
.tel { font-variant-numeric: lining-nums tabular-nums; white-space: nowrap; }

.skip {
  position: absolute;
  left: 16px;
  top: -80px;
  z-index: 100;
  padding: 12px 18px;
  background: var(--navy-800);
  color: var(--on-navy);
  border-radius: 22px 8px 8px 8px;
  font-weight: 600;
  text-decoration: none;
  transition: top .2s;
}
.skip:focus { top: 12px; }

.ico {
  width: 1.1em;
  height: 1.1em;
  flex: none;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.8;
  stroke-linecap: round;
  stroke-linejoin: round;
}

/* ───────────── Éléments récurrents ───────────── */

/* Sur-titre : une goutte, puis quelques mots en petites capitales */
.eyebrow {
  display: flex;
  align-items: flex-start;
  font-size: var(--fs-label);
  font-weight: 600;
  letter-spacing: .08em;
  text-transform: uppercase;
  color: var(--teal-700);
}
.eyebrow::before {
  content: "";
  flex: none;
  width: 9px;
  height: 12.7px;
  margin: .24em 10px 0 0;
  background: var(--drop-teal) center / contain no-repeat;
}
.eyebrow--on-navy { color: var(--teal-200); }
.eyebrow--on-navy::before { background-image: var(--drop-light); }
@media (min-width: 400px) {
  .eyebrow { letter-spacing: .13em; }
}

/* Bouton : le coin du logo — grand arrondi en haut à gauche */
.btn {
  --h: 58px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  height: var(--h);
  padding: 0 28px 0 24px;
  border-radius: calc(var(--h) / 2) 10px 10px 10px;
  background: var(--navy-800);
  color: var(--on-navy);
  font-size: var(--fs-body);
  font-weight: 600;
  line-height: 1;
  text-decoration: none;
  white-space: nowrap;
  transition: background-color .25s, transform .25s var(--ease-out);
}
.btn .ico { color: var(--teal-300); transition: transform .5s var(--ease-out); }
.btn > .ico { margin-right: 12px; }
.btn:active { background: var(--navy-700); transform: scale(.98); }
.btn--sm { --h: 46px; padding: 0 20px 0 17px; font-size: var(--fs-sm); }
.btn--sm > .ico { margin-right: 9px; }
.btn--clair { background: var(--on-navy); color: var(--navy-800); }
.btn--clair .ico { color: var(--teal-600); }
.btn--clair:active { background: #fff; }

/* Le combiné qui « sonne » : un anneau s’élargit autour de l’icône */
.pouls { position: relative; display: inline-flex; margin-right: 12px; }
.pouls::before {
  content: "";
  position: absolute;
  left: 50%;
  top: 50%;
  width: 36px;
  height: 36px;
  margin: -18px 0 0 -18px;
  border: 1.5px solid var(--teal-300);
  border-radius: 50%;
  opacity: 0;
  pointer-events: none;
}
.btn--clair .pouls::before { border-color: var(--teal-600); }

/* Lien : un trait sarcelle qui s’épaissit */
.link {
  position: relative;
  display: inline-flex;
  align-items: center;
  padding-bottom: 5px;
  color: var(--ink);
  font-weight: 600;
  text-decoration: none;
  background: linear-gradient(var(--teal-600), var(--teal-600)) 0 100% / 100% 1.5px no-repeat;
  transition: background-size .3s var(--ease-out);
}
.link::before {            /* zone tactile élargie, sans toucher à la mise en page */
  content: "";
  position: absolute;
  top: -10px;
  right: -8px;
  bottom: -10px;
  left: -8px;
}
.link .ico { margin-left: 8px; transition: transform .4s var(--ease-out); }
.link:active { background-size: 100% 3px; }

/* Lien dans une phrase (le numéro) : souligné, avec une zone tactile haute */
.link--inline {
  display: inline;
  padding: 12px 0;
  background: none;
  text-decoration: underline;
  text-decoration-color: var(--teal-600);
  text-decoration-thickness: 1.5px;
  text-underline-offset: 4px;
}
.link--inline::before { content: none; }
.link--inline:active { text-decoration-thickness: 3px; }

@media (hover: hover) {
  .btn:hover { background: var(--navy-700); }
  .btn:hover .ico { transform: rotate(-12deg); }
  .btn--clair:hover { background: #fff; }
  .link:hover { background-size: 100% 3px; }
  .link:hover .ico { transform: translateY(3px); }
  .link--inline:hover { text-decoration-thickness: 3px; }
}

/* ───────────── En-tête ───────────── */

.site-header {
  position: -webkit-sticky;
  position: sticky;
  top: 0;
  z-index: 50;
}
.site-header::before {
  content: "";
  position: absolute;
  top: 0;
  right: 0;
  bottom: 0;
  left: 0;
  background: rgba(247, 250, 252, .94);
  border-bottom: 1px solid var(--line);
  opacity: 0;
  transition: opacity .3s;
}
@supports ((-webkit-backdrop-filter: blur(1px)) or (backdrop-filter: blur(1px))) {
  .site-header::before {
    background: rgba(247, 250, 252, .78);
    -webkit-backdrop-filter: saturate(1.6) blur(14px);
    backdrop-filter: saturate(1.6) blur(14px);
  }
}
.site-header.is-stuck::before { opacity: 1; }

.site-header__in {
  position: relative;
  display: flex;
  align-items: center;
  height: var(--entete);
}
.logo {
  flex: none;
  display: block;
  margin-right: 12px;
  padding: 6px 0;
  border-radius: 6px;
}
.logo img { height: 36px; width: auto; }

.nav { display: none; }
.site-header .btn { margin-left: auto; }
.btn__long { display: none; }

@media (max-width: 359.98px) {
  .logo img { height: 32px; }
  .btn--sm { padding: 0 15px 0 12px; }
  .hero__cta .btn { padding: 0 14px; font-size: 1rem; }   /* le bouton d’appel reste dans la colonne */
}
@media (min-width: 560px) {
  .logo img { height: 38px; }
  .btn__short { display: none; }
  .btn__long { display: inline; }
}
@media (min-width: 940px) {
  html { scroll-padding-top: 108px; }
  .logo img { height: 46px; }
}
@media (min-width: 1080px) {
  .nav { display: flex; margin-left: auto; }
  .nav a {
    position: relative;
    padding: 10px 0;
    color: var(--ink-2);
    font-size: var(--fs-sm);
    font-weight: 500;
    text-decoration: none;
    white-space: nowrap;
    transition: color .2s;
  }
  .nav a + a { margin-left: 28px; margin-left: clamp(20px, 2.6vw, 38px); }
  .nav a::after {
    content: "";
    position: absolute;
    left: 0;
    right: 0;
    bottom: 4px;
    height: 1.5px;
    background: var(--teal-600);
    transform: scaleX(0);
    transform-origin: 0 50%;
    transition: transform .4s var(--ease-out);
  }
  .site-header .btn { margin-left: 32px; margin-left: clamp(28px, 2.8vw, 40px); }
}
@media (hover: hover) {
  .nav a:hover { color: var(--ink); }
  .nav a:hover::after { transform: scaleX(1); }
}

/* ───────────── Accueil ───────────── */

/* Un bain d’aqua qui remonte jusque derrière l’en-tête */
.hero {
  position: relative;
  margin-top: calc(-1 * var(--entete));
  padding-top: calc(var(--entete) + var(--hero-top));
  background: var(--aqua-2);
  background: linear-gradient(180deg, var(--aqua-1) 0%, var(--aqua-2) 48%, #F1F9FA 100%);
  overflow: hidden;
}

/* Gouttes en suspension (grands écrans) */
.hero__goutte { display: none; }
@media (min-width: 940px) {
  .hero__goutte {
    display: block;
    position: absolute;
    background: var(--drop-teal) center / contain no-repeat;
    pointer-events: none;
  }
  .hero__goutte--1 { left: 49%; top: 138px; width: 20px; height: 28.2px; opacity: .2; }
  .hero__goutte--2 { left: 55.5%; top: 60%; width: 30px; height: 42.3px; opacity: .12; }
  .hero__goutte--3 { left: 2.2%; top: 66%; width: 15px; height: 21.2px; opacity: .22; }
}

.hero__grid {
  position: relative;
  display: grid;
  gap: 40px;
  gap: clamp(40px, 6vw, 80px);
  align-items: center;
}
.hero h1 {
  max-width: 8.7em;
  margin: .3em 0 .38em;
}
/* « du coin », souligné d’une vague sarcelle */
.vague { position: relative; display: inline-block; white-space: nowrap; }
.vague::after {
  content: "";
  position: absolute;
  left: -.02em;
  right: -.02em;
  bottom: -.1em;
  height: .2em;
  background: var(--vague) 0 50% / auto 100% repeat-x;
  transform-origin: 0 50%;
}
/* Le point final du titre : la goutte du logo */
.point { position: relative; color: transparent; }
.point::after {
  content: "";
  position: absolute;
  left: 50%;
  bottom: .345em;
  width: .172em;
  height: .243em;
  margin-left: -.045em;
  background: var(--drop-teal) center / contain no-repeat;
}
.lede {
  max-width: 44ch;
  color: var(--ink-2);
  font-size: var(--fs-lede);
  line-height: 1.55;
}

/* Sur téléphone : un bouton d’appel pleine largeur, le lien secondaire dessous */
.hero__cta {
  display: grid;
  gap: 6px;
  margin-top: 28px;
  margin-top: clamp(28px, 3.2vw, 44px);
}
.hero__cta .btn { width: 100%; }
.hero__cta .link { justify-self: start; margin-top: 12px; }

/* Les trois engagements, en pastilles */
.facts {
  display: flex;
  flex-wrap: wrap;
  margin: 26px 0 -8px;
  margin-top: clamp(26px, 3.6vw, 48px);
  color: var(--ink);
  font-size: .875rem;
  font-weight: 500;
}
.facts li {
  display: flex;
  align-items: center;
  margin: 0 7px 7px 0;
  padding: 7px 13px 7px 10px;
  border: 1px solid rgba(3, 19, 42, .07);
  border-radius: 999px;
  background: rgba(252, 254, 255, .8);
}
.facts li::before {
  content: "";
  flex: none;
  width: 8px;
  height: 11.3px;
  margin-right: 9px;
  background: var(--drop-teal) center / contain no-repeat;
}

@media (min-width: 600px) {
  .facts { font-size: var(--fs-sm); }
  .facts li { margin: 0 8px 8px 0; padding: 8px 15px 8px 12px; }
  .hero__cta { display: flex; align-items: center; }
  .hero__cta .btn { width: auto; margin-right: 32px; }
  .hero__cta .link { margin-top: 0; }
}

/* La scène : le coude du logo devant un mur carrelé */
.hero__art {
  position: relative;
  width: 100%;
  max-width: 340px;
  margin-left: auto;
  margin-right: auto;
  transform-origin: 0 0;
}
.scene { width: 100%; height: auto; overflow: visible; }
.scene__mur { fill: #B8DEE2; }
.scene__carreau { fill: #D2ECEF; }
.scene__c--clair { fill: #EFF8F9; }
.scene__c--eau { fill: #9CD7DA; }
.scene__c--fonce { fill: #7CC6CB; }
.scene__c--accent { fill: var(--teal-500); }
.scene__vague--1 { fill: #6AC2C6; }
.scene__vague--2 { fill: #9FDADD; }
.scene__bulle { fill: #fff; opacity: 0; }
.scene__pipe { fill: var(--navy-800); }
.scene__raccord { fill: var(--teal-400); }
.scene__reflet { fill: var(--teal-200); opacity: .8; }
.scene__drop { fill: var(--teal-600); transform-box: fill-box; transform-origin: 50% 0; }
.scene__lueur { fill: #fff; opacity: .3; }
.scene__eclat { fill: var(--teal-600); opacity: 0; }
.scene__ripple {
  fill: none;
  stroke: var(--teal-700);
  stroke-width: 2.5;
  opacity: 0;
  transform-box: fill-box;
  transform-origin: 50% 50%;
}

/* Pastille tournante */
.pastille {
  position: absolute;
  left: -12px;
  bottom: 6.5%;
  width: 30%;
  max-width: 136px;
  height: auto;
  overflow: visible;
}
.pastille__fond { fill: var(--navy-800); }
.pastille__tour { transform-origin: 70px 70px; }
.pastille__texte {
  fill: var(--on-navy);
  font-family: var(--font-body);
  font-size: 12.4px;
  font-weight: 700;
  letter-spacing: .04em;
}
.pastille__35 {
  fill: var(--teal-300);
  font-family: var(--font-display);
  font-size: 40px;
  letter-spacing: -.02em;
}

@media (min-width: 940px) {
  /* Deux colonnes : le titre est réglé pour tenir sur trois lignes */
  .hero__grid { grid-template-columns: minmax(0, 3fr) minmax(0, 2fr); }
  .hero h1 { font-size: clamp(3.4rem, 5.9vw, 5rem); }
  .hero__art { max-width: 470px; margin-right: 0; }
  .pastille { left: -34px; }
}

/* Les bons réflexes en cas de fuite */
.fuite {
  position: relative;
  display: grid;
  gap: 20px 48px;
  align-items: center;
  margin-top: 48px;
  margin-top: clamp(48px, 7vw, 96px);
  padding: 26px 24px;
  padding: clamp(26px, 3.2vw, 38px) clamp(24px, 4vw, 52px);
  border-radius: 46px var(--r) var(--r) var(--r);
  background: var(--navy-800);
  color: var(--on-navy);
}
.fuite__title {
  display: flex;
  align-items: center;
  font-size: 1.5rem;
  font-size: clamp(1.5rem, 1.25rem + 1vw, 1.875rem);
  line-height: 1.1;
  white-space: nowrap;
}
.fuite__title::before {      /* voyant d’alerte */
  content: "";
  flex: none;
  width: 10px;
  height: 10px;
  margin-right: 13px;
  border-radius: 50%;
  background: var(--teal-300);
}
.fuite__steps { display: grid; gap: 14px 32px; }
.fuite__steps li {
  display: flex;
  align-items: flex-start;
  color: var(--on-navy-2);
  font-size: 1rem;
  line-height: 1.45;
}
.fuite__n {
  flex: none;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 26px;
  height: 26px;
  margin: -1px 12px 0 0;
  border: 1.5px solid var(--teal-300);
  border-radius: 50%;
  color: var(--teal-300);
  font-size: .8125rem;
  font-weight: 700;
  line-height: 1;
}
.fuite a {
  padding: 14px 0;
  color: var(--on-navy);
  font-weight: 600;
  text-decoration: underline;
  text-decoration-color: var(--teal-300);
  text-decoration-thickness: 1.5px;
  text-underline-offset: 4px;
}
.fuite a:active { text-decoration-thickness: 3px; }
.fuite :focus-visible { outline-color: var(--teal-300); }
@media (hover: hover) {
  .fuite a:hover { text-decoration-thickness: 3px; }
}

@media (min-width: 720px) {
  .fuite__steps { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .fuite__steps li { font-size: var(--fs-sm); }
  .fuite__n { margin-top: -2px; }
}
@media (min-width: 1080px) {
  .fuite { grid-template-columns: auto minmax(0, 1fr); }
}

/* Ruban défilant : les prestations, au fil de l’eau */
.ruban {
  margin-top: 48px;
  margin-top: clamp(48px, 7vw, 96px);
  padding: 15px 0;
  background: var(--teal-600);
  color: var(--on-navy);
  overflow: hidden;
}
.ruban__piste {
  display: flex;
  width: -webkit-max-content;
  width: max-content;
}
.ruban__lot { display: flex; flex: none; }
.ruban__lot > span {
  display: flex;
  align-items: center;
  flex: none;
  font-family: var(--font-display);
  font-size: 1.25rem;
  letter-spacing: -.01em;
  line-height: 1.3;
  white-space: nowrap;
}
.ruban__lot > span::after {
  content: "";
  flex: none;
  width: 9px;
  height: 12.7px;
  margin: 0 22px;
  background: var(--drop-light) center / contain no-repeat;
}
@media (min-width: 720px) {
  .ruban { padding: 18px 0; }
  .ruban__lot > span { font-size: 1.5rem; }
  .ruban__lot > span::after { margin: 0 30px; }
}

/* ───────────── Sections ───────────── */

.section { padding-top: var(--section); padding-bottom: var(--section); }
.section--flush { padding-top: 0; padding-bottom: 0; }

.head {
  display: grid;
  gap: 18px;
  margin-bottom: 36px;
  margin-bottom: clamp(36px, 5vw, 64px);
}
.head__intro {
  max-width: 40ch;
  color: var(--ink-2);
  font-size: var(--fs-lede);
  line-height: 1.5;
}

/* ───────────── Services : six cartes, six couleurs, six pictogrammes ───────────── */

.cartes { display: grid; gap: 14px; }
.carte {
  /* couleurs par défaut d’une carte claire ; chaque variante les ajuste */
  --carte: var(--wash);
  --txt: var(--ink);
  --txt2: var(--ink-2);
  --txt3: var(--ink-3);
  --titre: var(--teal-700);
  --pa: var(--navy-800);
  --pb: var(--teal-600);
  --pc: var(--teal-400);
  position: relative;
  display: flex;
  flex-direction: column;
  padding: 22px 22px 26px;
  border-radius: 44px var(--r) var(--r) var(--r);
  background: var(--carte);
  color: var(--txt);
  overflow: hidden;
}
.carte--marine {
  --carte: var(--navy-800);
  --txt: var(--on-navy);
  --txt2: var(--on-navy-2);
  --txt3: var(--on-navy-3);
  --titre: var(--teal-300);
  --pa: var(--teal-300);
  --pb: var(--on-navy);
  --pc: var(--teal-500);
}
.carte--eau { --carte: var(--water); }
.carte--aqua { --carte: var(--teal-300); --txt3: var(--ink-2); --pb: var(--teal-700); --pc: var(--blanc); }
.carte--sarcelle {
  --carte: var(--teal-600);
  --txt: var(--on-navy);
  --txt2: #CFEBEC;
  --txt3: var(--teal-200);
  --titre: var(--teal-200);
  --pa: var(--on-navy);
  --pb: var(--teal-200);
  --pc: var(--teal-300);
}
.carte--brume { --carte: var(--wash); }
.carte--blanc { --carte: var(--blanc); --pb: var(--teal-300); box-shadow: inset 0 0 0 1px var(--line); }

.carte__num {
  padding-top: 4px;
  color: var(--txt3);
  font-size: var(--fs-label);
  font-weight: 600;
  letter-spacing: .1em;
  font-variant-numeric: tabular-nums;
}
.carte__dit {
  margin-top: 78px;
  font-family: var(--font-display);
  font-size: var(--fs-say);
  line-height: 1.1;
  letter-spacing: var(--display-tracking);
  text-wrap: balance;
}
.carte h3 {
  margin-top: 14px;
  color: var(--titre);
  font-size: var(--fs-body);
  font-weight: 700;
  line-height: 1.35;
}
.carte__txt { margin-top: 6px; color: var(--txt2); }

.svc__more {
  margin-top: 28px;
  margin-top: clamp(28px, 3vw, 40px);
  color: var(--ink-2);
  font-size: var(--fs-lede);
}
.svc__more a { color: var(--ink); font-weight: 600; }

/* Pictogrammes : traits épais et aplats, dans l’esprit du logo */
.picto {
  position: absolute;
  right: 16px;
  top: 16px;
  width: 104px;
  height: 104px;
  overflow: visible;
  transition: transform .7s var(--ease-out);
}
.p-a { fill: var(--pa); }
.p-b { fill: var(--pb); }
.p-c { fill: var(--pc); }
.p-fond { fill: var(--carte); }
.p-trait { fill: none; stroke-linecap: round; stroke-linejoin: round; }
.p-trait.p-a { stroke: var(--pa); }
.p-trait.p-b { stroke: var(--pb); }
.p-trait.p-c { stroke: var(--pc); }
.p-fond-trait { stroke: var(--carte); }
.p-pomme { stroke: var(--pa); stroke-width: 5; stroke-linejoin: round; }
.p-jet { stroke-dasharray: 9 9; }
.p-pompe { transform-box: fill-box; transform-origin: 50% 100%; }
.p-perle { transform-box: fill-box; transform-origin: 50% 0; }
.p-tambour { transform-origin: 60px 70px; }

@media (min-width: 640px) {
  .cartes { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 18px; }
  .carte { min-height: 340px; padding: 26px 26px 30px; }
  .carte__dit { margin-top: auto; padding-top: 124px; }
  .picto { right: 22px; top: 22px; width: 120px; height: 120px; }
}
@media (min-width: 1000px) {
  .cartes { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; }
  .carte { min-height: 392px; padding: 28px 28px 32px; }
  .carte__dit { padding-top: 140px; }
  .picto { width: 136px; height: 136px; }
}
@media (hover: hover) {
  .carte:hover .picto { transform: scale(1.1) rotate(-5deg); }
}

/* ───────────── Zone d’intervention ───────────── */

.zone {
  display: grid;
  gap: 36px;
  gap: clamp(36px, 5vw, 72px);
  align-items: center;
  padding: 44px 24px;
  padding: clamp(44px, 6.5vw, 96px) clamp(24px, 5.5vw, 88px);
  border-radius: var(--r-coin) var(--r) var(--r) var(--r);
  background: var(--navy-800);
  background: radial-gradient(90% 75% at 100% 0%, rgba(18, 99, 107, .55) 0%, rgba(18, 99, 107, 0) 72%), var(--navy-800);
  color: var(--on-navy);
}
.zone h2 { max-width: 7.4em; margin: 18px 0 22px; }
.compte { font-variant-numeric: lining-nums tabular-nums; }
.zone__intro {
  max-width: 46ch;
  color: var(--on-navy-2);
  font-size: var(--fs-lede);
  line-height: 1.55;
}
.communes {
  -webkit-columns: 2;
  columns: 2;
  -webkit-column-gap: 28px;
  column-gap: 28px;
  margin-top: 28px;
  margin-top: clamp(28px, 3.5vw, 44px);
  color: var(--on-navy);
  font-size: var(--fs-sm);
}
.communes li {
  padding: 9px 0;
  border-top: 1px solid var(--line-on-navy);
  -webkit-column-break-inside: avoid;
  page-break-inside: avoid;
  break-inside: avoid;
  transition: color .2s;
}
@media (hover: hover) and (min-width: 980px) {
  .communes li:hover { color: var(--teal-300); }
}
.zone__note {
  margin-top: 24px;
  color: var(--on-navy-3);
  font-size: var(--fs-sm);
}

.zone__map svg {
  width: 100%;
  max-width: 460px;
  height: auto;
  margin-left: auto;
  margin-right: auto;
  overflow: visible;
}
.map__land {
  fill: rgba(239, 244, 248, .05);
  stroke: var(--on-navy-3);
  stroke-width: 1;
  stroke-linejoin: round;
  vector-effect: non-scaling-stroke;
}
.map__dot { fill: var(--on-navy-3); opacity: .55; }
.map__town { fill: var(--on-navy); }
.map__capital { fill: var(--teal-300); }
.map__ring {
  fill: none;
  stroke: var(--teal-300);
  stroke-width: 1.4;
  opacity: .6;
  transform-box: fill-box;
  transform-origin: 50% 50%;
}
.map__label {
  fill: var(--on-navy);
  font-family: var(--font-body);
  font-size: 17px;
  font-weight: 500;
  letter-spacing: .01em;
  paint-order: stroke;
  stroke: var(--navy-800);
  stroke-width: 4px;
  stroke-linejoin: round;
}
.map__label--capital { font-size: 20px; font-weight: 700; }
/* Repère qui s’allume quand on survole une commune de la liste */
.map__ping { opacity: 0; transition: opacity .25s; pointer-events: none; }
.map__ping.is-on { opacity: 1; }
.map__ping-dot { fill: var(--teal-300); }
.map__ping-ring {
  fill: none;
  stroke: var(--teal-300);
  stroke-width: 1.5;
  transform-box: fill-box;
  transform-origin: 50% 50%;
}

@media (min-width: 420px) {
  .map__label { font-size: 15px; }
  .map__label--capital { font-size: 18px; }
}
@media (min-width: 560px) {
  .communes { -webkit-columns: 3; columns: 3; }
  .map__label { font-size: 12.5px; }
  .map__label--capital { font-size: 15px; }
}
@media (min-width: 980px) {
  .zone { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); }
  .zone__map svg { max-width: 520px; margin-right: 0; }
}

/* ───────────── Déroulé : un tuyau où l’eau circule, quatre étapes, une goutte ───────────── */

/* Bande aqua aux bords ondulés */
.bande {
  position: relative;
  margin-top: var(--section);
  background: var(--wash);
}
.bande::before,
.bande::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  height: 20px;
  background: var(--ondule) 0 0 / 240px 100% repeat-x;
  pointer-events: none;
}
.bande::before { top: -1px; }
.bande::after { bottom: -1px; transform: scaleY(-1); }

.steps-wrap { position: relative; padding: 0 0 34px 40px; }
.steps { display: grid; gap: 14px; }

.pipe__line,
.pipe__elbow,
.pipe__drop { position: absolute; display: block; }
.pipe__line {
  left: 6px;
  top: 34px;
  bottom: 22px;
  width: 5px;
  border-radius: 3px;
  background: var(--navy-800);
  transform-origin: 50% 0;
  overflow: hidden;
}
.pipe__line::after {          /* l’eau qui passe dans le tuyau */
  content: "";
  position: absolute;
  top: 0;
  right: 0;
  bottom: 0;
  left: 0;
  background-image: linear-gradient(180deg, var(--teal-300) 0, var(--teal-300) 10px, transparent 10px, transparent 30px);
  background-size: 100% 30px;
}
.pipe__elbow { display: none; }
.pipe__drop {
  left: 2px;
  bottom: 0;
  width: 13px;
  height: 18.3px;
  background: var(--drop-teal) center / contain no-repeat;
  transform-origin: 50% 0;
}

.step {
  position: relative;
  padding: 20px 20px 22px;
  border-radius: 30px 14px 14px 14px;
  background: var(--blanc);
}
.step::before {               /* raccord */
  content: "";
  position: absolute;
  left: -40px;
  top: 26px;
  width: 17px;
  height: 17px;
  border: 4px solid var(--navy-800);
  border-radius: 50%;
  background: var(--teal-300);
}
.step::after {                /* dérivation vers la carte */
  content: "";
  position: absolute;
  left: -23px;
  top: 32px;
  width: 23px;
  height: 5px;
  background: var(--navy-800);
}
.step__ico {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  margin-bottom: 14px;
  border-radius: 50%;
  background: var(--teal-200);     /* quatre pastilles, du plus clair au plus profond */
  color: var(--navy-900);
}
.step__ico .ico { width: 20px; height: 20px; }
.step:nth-child(2) .step__ico { background: var(--teal-400); color: var(--navy-900); }
.step:nth-child(3) .step__ico { background: var(--teal-600); color: var(--on-navy); }
.step:nth-child(4) .step__ico { background: var(--navy-800); color: var(--teal-300); }
.step__n {
  display: block;
  margin-bottom: 8px;
  color: var(--teal-700);
  font-size: var(--fs-label);
  font-weight: 600;
  letter-spacing: .12em;
  font-variant-numeric: tabular-nums;
}
.step h3 {
  margin-bottom: 8px;
  font-family: var(--font-display);
  font-size: var(--fs-h3);
  font-weight: var(--display-weight);
  line-height: 1.15;
  letter-spacing: -.015em;
}
.step p { max-width: 36ch; color: var(--ink-2); }

@media (min-width: 900px) {
  .steps-wrap { padding: 60px 60px 0 0; }
  .steps { grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 0 18px; }
  .pipe__line {
    left: 0;
    right: 44px;
    top: 6px;
    bottom: auto;
    width: auto;
    height: 5px;
    transform-origin: 0 50%;
  }
  .pipe__line::after {
    background-image: linear-gradient(90deg, var(--teal-300) 0, var(--teal-300) 10px, transparent 10px, transparent 30px);
    background-size: 30px 100%;
  }
  .pipe__elbow {
    display: block;
    right: 14px;
    top: 6px;
    width: 30px;
    height: 34px;
    border-top: 5px solid var(--navy-800);
    border-right: 5px solid var(--navy-800);
    border-top-right-radius: 30px;
  }
  .pipe__drop { left: auto; right: 10px; top: 47px; bottom: auto; }
  .step { padding: 24px 22px 26px; }
  .step::before { left: 35.5px; top: -60px; }
  .step::after { left: 41.5px; top: -44px; width: 5px; height: 44px; }
}

/* ───────────── Contact : un grand aplat sarcelle, carrelé ───────────── */

.section--contact { margin-top: var(--section); }
.contact {
  position: relative;
  display: grid;
  gap: 32px;
  gap: clamp(32px, 5vw, 72px);
  padding: 44px 24px 28px;
  padding: clamp(44px, 6.5vw, 96px) clamp(24px, 5.5vw, 88px) clamp(28px, 6.5vw, 96px);
  border-radius: var(--r-coin) var(--r) var(--r) var(--r);
  background: var(--teal-600);
  background: linear-gradient(140deg, #0B5158 0%, var(--teal-600) 52%, #1B7A83 100%);
  color: var(--on-navy);
  overflow: hidden;
}
.contact::before {            /* carrelage discret */
  content: "";
  position: absolute;
  top: 0;
  right: 0;
  bottom: 0;
  left: 0;
  background: var(--carreaux) 0 0 / 64px 64px;
  pointer-events: none;
}
.contact::after {             /* grande goutte en filigrane */
  content: "";
  position: absolute;
  right: -70px;
  bottom: -120px;
  width: 270px;
  height: 380px;
  background: var(--drop-light) center / contain no-repeat;
  opacity: .13;
  pointer-events: none;
}
.contact__main,
.infos { position: relative; z-index: 1; }
.contact :focus-visible { outline-color: var(--teal-200); }
.contact h2 { max-width: 10.5em; margin-top: 18px; }
.tel-xl {
  display: inline-block;
  min-height: 44px;
  margin-top: 26px;
  margin-top: clamp(26px, 3.4vw, 48px);
  padding: .1em 0 .14em;
  color: var(--on-navy);
  font-family: var(--font-display);
  font-size: var(--fs-tel);
  font-weight: var(--display-weight);
  line-height: 1;
  letter-spacing: -.035em;
  text-decoration: none;
  background: linear-gradient(var(--teal-300), var(--teal-300)) 0 100% / 100% 3px no-repeat;
  transition: background-size .35s var(--ease-out);
}
.tel-xl:active { background-size: 100% 7px; }
@media (hover: hover) {
  .tel-xl:hover { background-size: 100% 7px; }
}
.contact__cta { margin-top: 24px; margin-top: clamp(24px, 3vw, 36px); }
.contact__cta .btn { width: 100%; }

.infos {
  padding: 4px 20px;
  border-radius: 28px 12px 12px 12px;
  background: var(--paper);
  color: var(--ink);
}
.infos :focus-visible { outline-color: var(--teal-600); }
.infos__row {
  display: grid;
  gap: 4px 16px;
  padding: 16px 0;
  border-bottom: 1px solid var(--line);
}
.infos__row:last-child { border-bottom: 0; }
.infos dt {
  padding-top: 4px;
  color: var(--ink-3);
  font-size: var(--fs-label);
  font-weight: 600;
  letter-spacing: .12em;
  text-transform: uppercase;
}
.infos dd { font-weight: 500; word-break: break-word; overflow-wrap: anywhere; }

@media (min-width: 480px) {
  .contact__cta .btn { width: auto; }
  .infos { padding: 6px 26px; }
  .infos__row { grid-template-columns: 6.5rem minmax(0, 1fr); padding: 18px 0; }
}
@media (min-width: 980px) {
  .contact { grid-template-columns: minmax(0, 6fr) minmax(0, 5fr); align-items: end; }
  .infos { justify-self: end; width: 100%; max-width: 440px; }
}

/* ───────────── Pied de page ───────────── */

.site-footer {
  margin-top: var(--section);
  padding-top: 48px;
  padding-top: clamp(48px, 6vw, 80px);
  padding-bottom: 104px;          /* place pour le bouton d’appel fixe */
  background: var(--navy-800);
  color: var(--on-navy-2);
  font-size: var(--fs-sm);
}
.site-footer :focus-visible { outline-color: var(--teal-300); }
.site-footer a { text-decoration: none; transition: color .2s; }
.site-footer a:active { color: var(--on-navy); }

.site-footer__top {
  display: grid;
  gap: 24px;
  padding-bottom: 32px;
  padding-bottom: clamp(32px, 5vw, 64px);
}
.site-footer__brand img { height: 44px; width: auto; }
.site-footer__brand p { margin-top: 18px; line-height: 1.5; }
.site-footer__nav { display: grid; align-content: start; justify-items: start; }
.site-footer__nav a { padding: 11px 0; }
.site-footer__tel {
  display: inline-block;
  justify-self: start;
  align-self: start;
  padding: 8px 0;
  color: var(--on-navy);
  font-family: var(--font-display);
  font-size: 1.75rem;
  font-weight: var(--display-weight);
  letter-spacing: -.02em;
  line-height: 1.1;
}
.site-footer__bottom {
  display: grid;
  gap: 6px;
  padding-top: 22px;
  border-top: 1px solid var(--line-on-navy);
  color: var(--on-navy-3);
  font-size: .875rem;
}
@media (hover: hover) {
  .site-footer a:hover { color: var(--on-navy); }
}

@media (min-width: 560px) {
  .site-footer__bottom { display: flex; flex-wrap: wrap; gap: 0; }
  .site-footer__bottom > * { margin: 0 32px 8px 0; }
}
@media (min-width: 820px) {
  .site-footer__top { grid-template-columns: minmax(0, 5fr) minmax(0, 3fr) auto; gap: 36px; }
  .site-footer__tel { justify-self: end; }
}
@media (min-width: 940px) {
  .site-footer { padding-bottom: 28px; }
}

/* ───────────── Bouton d’appel fixe (téléphone et tablette) ───────────── */

.callbar {
  --h: 58px;
  position: fixed;
  left: 14px;
  right: 14px;
  bottom: 14px;
  bottom: max(14px, env(safe-area-inset-bottom));
  z-index: 60;
  display: flex;
  align-items: center;
  justify-content: center;
  height: var(--h);
  border-radius: calc(var(--h) / 2) 12px 12px 12px;
  background: var(--navy-800);
  color: var(--on-navy);
  font-weight: 600;
  text-decoration: none;
  box-shadow: 0 0 0 1px rgba(239, 244, 248, .14), 0 14px 32px -12px rgba(2, 12, 29, .55);
  transform: translateY(160%);
  visibility: hidden;
  transition: transform .5s var(--ease-out), background-color .25s, visibility 0s .5s;
}
.callbar .ico { color: var(--teal-300); }
.callbar.is-on,
html:not(.js) .callbar { transform: none; visibility: visible; transition-delay: 0s; }   /* sans script : toujours visible */
.callbar.is-on:active { background: var(--navy-700); transform: scale(.985); }
@media (min-width: 940px) { .callbar { display: none; } }

/* Téléphone tenu à l’horizontale : on libère la hauteur */
@media (max-height: 480px) and (orientation: landscape) and (max-width: 939.98px) {
  .site-header { position: relative; }
  .callbar { --h: 50px; left: auto; padding: 0 24px 0 20px; }
}

/* ───────────── Mouvement ───────────── */

@keyframes rise {
  from { opacity: 0; transform: translateY(22px); }
  to   { opacity: 1; transform: none; }
}
@keyframes unfold {
  from { opacity: 0; transform: scale(.93); }
  to   { opacity: 1; transform: none; }
}
@keyframes trace {            /* la vague se dessine sous « du coin » */
  from { transform: scaleX(0); }
  to   { transform: scaleX(1); }
}
@keyframes pouls {
  0%        { transform: scale(.5); opacity: .9; }
  70%, 100% { transform: scale(1.25); opacity: 0; }
}
@keyframes alerte {
  0%        { box-shadow: 0 0 0 0 rgba(119, 203, 205, .6); }
  70%, 100% { box-shadow: 0 0 0 12px rgba(119, 203, 205, 0); }
}
@keyframes flotte {
  from { transform: translateY(-9px); }
  to   { transform: translateY(9px); }
}
/* La goutte se forme au bec, s’étire, tombe et disparaît sous la surface */
@keyframes drip {
  0%   { transform: scale(0); animation-timing-function: cubic-bezier(.3, 0, .2, 1); }
  36%  { transform: scale(1); }
  50%  { transform: translateY(0) scale(.97, 1.05); animation-timing-function: cubic-bezier(.6, 0, 1, .7); }
  70%, 100% { transform: translateY(340px) scale(.94, 1.1); }
}
/* …elle fait des ronds dans l’eau et quelques éclaboussures */
@keyframes ripple {
  0%, 62% { transform: scale(.12); opacity: 0; }
  66%     { opacity: .7; }
  100%    { transform: scale(1); opacity: 0; }
}
@keyframes eclat {
  0%, 63% { transform: translate(0, 0); opacity: 0; }
  65%     { opacity: 1; }
  71%     { transform: translate(var(--dx, 0), -30px); opacity: 1; }
  78%, 100% { transform: translate(var(--dx, 0), 6px); opacity: 0; }
}
@keyframes houle   { to { transform: translateX(-130px); } }
@keyframes ressac  { to { transform: translateX(130px); } }
@keyframes bulle {
  0%   { transform: translateY(0); opacity: 0; }
  20%  { opacity: .65; }
  100% { transform: translateY(-58px); opacity: 0; }
}
@keyframes scintille {
  0%, 100% { opacity: 1; }
  50%      { opacity: .4; }
}
@keyframes tourne { to { transform: rotate(360deg); } }
@keyframes defile { to { transform: translateX(-50%); } }
@keyframes coule-v { to { background-position: 0 30px; } }
@keyframes coule-h { to { background-position: 30px 0; } }
@keyframes onde {
  0%   { transform: scale(.7); opacity: .85; }
  100% { transform: scale(2.3); opacity: 0; }
}
@keyframes ping {
  from { transform: scale(.25); opacity: 1; }
  to   { transform: scale(1); opacity: 0; }
}
/* Pictogrammes */
@keyframes p-tombe {
  0%   { transform: translateY(-7px); opacity: 0; }
  18%  { opacity: 1; }
  70%  { opacity: 1; }
  100% { transform: translateY(20px); opacity: 0; }
}
@keyframes p-pompe {
  from { transform: scaleY(1); }
  to   { transform: scaleY(.84); }
}
@keyframes p-effort {
  0%, 45%   { opacity: 0; }
  55%, 100% { opacity: 1; }
}
@keyframes p-chaleur {
  0%   { transform: translateY(7px); opacity: 0; }
  40%  { opacity: 1; }
  100% { transform: translateY(-7px); opacity: 0; }
}
@keyframes p-perle {
  0%   { transform: scale(0); opacity: 1; }
  45%  { transform: scale(1); opacity: 1; }
  60%  { transform: translateY(0) scale(1); opacity: 1; }
  100% { transform: translateY(22px) scale(1); opacity: 0; }
}
@keyframes p-jet { to { stroke-dashoffset: -18; } }
@keyframes p-tambour {
  from { transform: rotate(-16deg); }
  to   { transform: rotate(16deg); }
}

@media (prefers-reduced-motion: no-preference) {
  html { scroll-behavior: smooth; }

  /* Entrée de la page d’accueil */
  [data-in] {
    animation: rise 1s var(--ease-out) both;
    animation-delay: calc(var(--i, 0) * 90ms + 60ms);
  }
  .hero__art[data-in] { animation-name: unfold; animation-duration: 1.3s; }
  .vague::after { animation: trace 1s var(--ease-out) .75s both; }

  /* Toujours en mouvement, mais minuscules : le combiné qui sonne, le voyant d’alerte */
  .pouls::before { animation: pouls 2.8s var(--ease-out) infinite; }
  .fuite__title::before { animation: alerte 2.2s ease-out infinite; }

  /* Les décors ne s’animent que lorsqu’ils sont à l’écran (classe .is-vie posée par le script) */
  .hero__goutte { animation: flotte 6s ease-in-out infinite alternate; }
  .hero__goutte--2 { animation-duration: 8s; animation-delay: -3s; }
  .hero__goutte--3 { animation-duration: 7s; animation-delay: -1.5s; }

  .is-vie .scene__drop { animation: drip 6.4s 1.3s infinite both; }
  .is-vie .scene__ripple { animation: ripple 6.4s 1.3s infinite both; }
  .is-vie .scene__ripple--2 { animation-delay: 1.48s; }
  .is-vie .scene__eclat { animation: eclat 6.4s 1.3s infinite both; }
  .is-vie .scene__vague--1 { animation: houle 6s linear infinite; }
  .is-vie .scene__vague--2 { animation: ressac 10s linear infinite; }
  .is-vie .scene__bulle { animation: bulle 4.6s ease-in infinite; }
  .is-vie .scene__bulle--2 { animation-delay: 1.7s; animation-duration: 5.4s; }
  .is-vie .scene__bulle--3 { animation-delay: 3s; }
  .is-vie .scene__c--vif { animation: scintille 5s ease-in-out infinite; }
  .is-vie .scene__c--vif:nth-of-type(odd) { animation-delay: -2.4s; animation-duration: 6.5s; }
  .is-vie .pastille__tour { animation: tourne 24s linear infinite; }

  .is-vie .ruban__piste { animation: defile 38s linear infinite; }

  .is-vie .p-goutte--1 { animation: p-tombe 2.6s ease-in infinite; }
  .is-vie .p-goutte--2 { animation: p-tombe 2.6s ease-in .9s infinite; }
  .is-vie .p-goutte--3 { animation: p-tombe 2.6s ease-in 1.7s infinite; }
  .is-vie .p-pompe { animation: p-pompe .8s var(--ease-out-quart) infinite alternate; }
  .is-vie .p-effort { animation: p-effort 1.6s linear infinite; }
  .is-vie .p-chaleur { animation: p-chaleur 2.8s ease-in-out infinite; }
  .is-vie .p-chaleur--2 { animation-delay: .5s; }
  .is-vie .p-chaleur--3 { animation-delay: 1s; }
  .is-vie .p-perle { animation: p-perle 3s ease-in infinite; }
  .is-vie .p-jet { animation: p-jet .7s linear infinite; }
  .is-vie .p-tambour { animation: p-tambour 2.6s ease-in-out infinite alternate; }

  .is-vie .pipe__line::after { animation: coule-v 1s linear infinite; }

  /* Apparition au défilement */
  .js [data-reveal] {
    opacity: 0;
    transform: translateY(22px);
    transition: opacity .9s var(--ease-out), transform 1s var(--ease-out);
  }
  .js [data-reveal].is-in { opacity: 1; transform: none; }

  /* Le tuyau du déroulé se trace, les étapes suivent, la goutte perle */
  .js .steps-wrap[data-reveal] { opacity: 1; transform: none; }
  .js .steps-wrap .pipe__line { transform: scaleY(0); transition: transform 1.3s var(--ease-out-quart); }
  .js .steps-wrap .pipe__elbow { opacity: 0; transition: opacity .3s 1.05s; }
  .js .steps-wrap .pipe__drop { transform: scale(0); transition: transform .7s 1.3s var(--ease-out); }
  .js .steps-wrap .step { opacity: 0; transform: translateY(16px); transition: opacity .8s var(--ease-out), transform .9s var(--ease-out); }
  .js .steps-wrap .step:nth-child(2) { transition-delay: .14s; }
  .js .steps-wrap .step:nth-child(3) { transition-delay: .28s; }
  .js .steps-wrap .step:nth-child(4) { transition-delay: .42s; }
  .js .steps-wrap.is-in .pipe__line,
  .js .steps-wrap.is-in .pipe__drop { transform: none; }
  .js .steps-wrap.is-in .pipe__elbow { opacity: 1; }
  .js .steps-wrap.is-in .step { opacity: 1; transform: none; }

  /* La carte : les communes apparaissent comme des ronds dans l’eau, depuis Rennes */
  .js .zone__map[data-reveal] { opacity: 1; transform: none; }
  .js .zone__map .map__land { opacity: 0; transition: opacity 1.2s var(--ease-out); }
  .js .zone__map .map__dot,
  .js .zone__map .map__town,
  .js .zone__map .map__capital,
  .js .zone__map .map__ring,
  .js .zone__map .map__label {
    opacity: 0;
    transition: opacity .7s var(--ease-out);
    transition-delay: var(--d, 0ms);
  }
  .map__ping.is-on .map__ping-ring { animation: ping 1.3s var(--ease-out-quart) infinite; }
  .js .zone__map.is-in .map__land { opacity: 1; }
  .js .zone__map.is-in .map__dot { opacity: .55; }
  .js .zone__map.is-in .map__ring { animation: onde 3s var(--ease-out) 1.4s infinite; }
  .js .zone__map.is-in .map__town,
  .js .zone__map.is-in .map__capital,
  .js .zone__map.is-in .map__label { opacity: 1; }
}
@media (prefers-reduced-motion: no-preference) and (min-width: 640px) {
  /* Les cartes d’une même rangée arrivent l’une après l’autre */
  .js .carte[data-reveal]:nth-child(even) { transition-delay: .1s; }
}
@media (prefers-reduced-motion: no-preference) and (min-width: 900px) {
  .js .steps-wrap .pipe__line { transform: scaleX(0); }
  .is-vie .pipe__line::after { animation-name: coule-h; }
}
@media (prefers-reduced-motion: no-preference) and (min-width: 1000px) {
  .js .carte[data-reveal]:nth-child(3n + 1) { transition-delay: 0s; }
  .js .carte[data-reveal]:nth-child(3n + 2) { transition-delay: .1s; }
  .js .carte[data-reveal]:nth-child(3n) { transition-delay: .2s; }
}

/* ───────────── Impression ───────────── */

@media print {
  .site-header, .callbar, .hero__art, .ruban, .hero__goutte { display: none; }
  .hero { margin-top: 0; padding-top: 16px; background: none; }
  body { background: #fff; }
}
