/* Plomberie Dépannage JMP · aperçu. Le bleu pétrole des nuits d'urgence, le vert d'eau pour
   l'action, l'or des 45 étoiles. Titres Bricolage Grotesque, texte Public Sans.
   Le haut de page parle du métier ; les avis ont leur section plus bas. */
@font-face { font-family: "Bricolage Grotesque"; src: url("polices/bricolage.woff2") format("woff2"); font-weight: 400 800; font-stretch: 75% 100%; font-display: swap; }
@font-face { font-family: "Public Sans"; src: url("polices/public-sans.woff2") format("woff2"); font-weight: 400 700; font-display: swap; }

:root {
  --petrole: #0F2633;
  --petrole-2: #173544;
  --papier: #F3F6F4;
  --blanc: #FFFFFF;
  --encre: #0F2633;
  --gris: #536873;
  --filet: #D5DFDC;
  --menthe: #19C39C;
  --menthe-fonce: #0E8F72;
  --menthe-pale: #DDF6EF;
  --or: #FFC23D;
  --eau: #4FB6E8;
  --f-titre: "Bricolage Grotesque", "Segoe UI", system-ui, sans-serif;
  --f-texte: "Public Sans", "Segoe UI", system-ui, sans-serif;
  --courbe: cubic-bezier(.2, .8, .2, 1);
  --gouttiere: clamp(18px, 4vw, 40px);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body { margin: 0; background: var(--papier); color: var(--encre); font: 17px/1.6 var(--f-texte); -webkit-font-smoothing: antialiased; }
main { overflow-x: clip; }
img { max-width: 100%; display: block; }
a { color: inherit; }
h1, h2, h3 { margin: 0; text-wrap: balance; }
p, blockquote, figure, ul, ol { margin: 0; }
:focus-visible { outline: 3px solid var(--menthe); outline-offset: 3px; border-radius: 8px; }

.corps { max-width: 1200px; margin-inline: auto; padding-inline: var(--gouttiere); }
.sur { font: 700 13px/1.3 var(--f-texte); letter-spacing: .16em; text-transform: uppercase; color: var(--menthe-fonce); }
.sur-clair { color: var(--menthe); }
.titre { font: 800 clamp(38px, 6.4vw, 78px)/.98 var(--f-titre); letter-spacing: -.035em; margin-top: 12px; }
.titre em { font-style: normal; color: var(--menthe-fonce); }
.titre-clair { color: #fff; }
.titre-clair em { color: var(--menthe); }
.chapo { font-size: clamp(18px, 2vw, 20px); color: var(--gris); max-width: 52ch; margin-top: 18px; }
.chapo-clair { color: #A8BDC6; }
cite { display: block; margin-top: 8px; font: 700 14px/1.3 var(--f-texte); font-style: normal; color: var(--encre); }

.bouton { display: inline-flex; align-items: center; justify-content: center; min-height: 56px; padding: 0 24px; border-radius: 14px; background: var(--menthe); color: var(--petrole); font: 800 17px/1 var(--f-titre); letter-spacing: -.01em; text-decoration: none; border: 0; cursor: pointer; transition: transform .2s var(--courbe), background .2s; box-shadow: 0 14px 30px -14px rgba(25, 195, 156, .9); }
.bouton:hover { background: #2BD8B0; transform: translateY(-2px); }
.bouton-clair { background: rgba(255, 255, 255, .1); color: #fff; box-shadow: inset 0 0 0 2px rgba(255, 255, 255, .3); }
.bouton-clair:hover { background: rgba(255, 255, 255, .18); }
.bouton-double { flex-direction: column; gap: 5px; min-height: 66px; padding: 10px 18px; }
.bouton-double span { font-size: 19px; }
.bouton-double small { font: 600 13.5px/1 var(--f-texte); letter-spacing: 0; opacity: .82; }

/* ───────── En-tête ───────── */
.entete { position: fixed; inset: 0 0 auto; z-index: 50; display: flex; align-items: center; gap: 12px; padding: 12px var(--gouttiere); padding-top: max(12px, env(safe-area-inset-top)); color: #fff; transition: background .35s; }
.entete.colle { background: rgba(15, 38, 51, .95); backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px); }
.marque { font: 600 15px/1 var(--f-titre); text-decoration: none; white-space: nowrap; }
.marque b { display: inline-grid; place-items: center; height: 30px; padding: 0 8px; margin-right: 6px; border-radius: 8px; background: var(--menthe); color: var(--petrole); font-weight: 800; letter-spacing: .02em; }
.apercu { font: 700 11px/1 var(--f-texte); letter-spacing: .14em; text-transform: uppercase; padding: 6px 9px; border-radius: 999px; border: 1px solid rgba(255, 255, 255, .4); }
.entete-tel { margin-left: auto; min-height: 42px; display: inline-flex; align-items: center; padding: 0 16px; border-radius: 12px; background: var(--menthe); color: var(--petrole); text-decoration: none; font: 800 15px/1 var(--f-titre); }
@media (max-width: 420px) { .marque { font-size: 0; } .marque b { font-size: 15px; } }

/* ───────── Haut de page ───────── */
.heros { position: relative; overflow: hidden; min-height: 100svh; display: grid; gap: 36px; align-content: center; padding: calc(100px + env(safe-area-inset-top)) var(--gouttiere) 60px; color: #fff;
  background: radial-gradient(60% 50% at 85% 25%, rgba(25, 195, 156, .22), transparent 70%), radial-gradient(50% 40% at 0% 100%, rgba(79, 182, 232, .18), transparent 70%), var(--petrole); }
@media (min-width: 1000px) { .heros { grid-template-columns: 1.1fr .9fr; align-items: center; gap: 60px; padding-inline: max(var(--gouttiere), calc((100vw - 1200px) / 2 + var(--gouttiere))); } }
.heros > :not(.tuyaux) { position: relative; }
.heros-titre { font: 800 clamp(40px, 6.6vw, 82px)/.98 var(--f-titre); letter-spacing: -.04em; margin-top: 14px; }
.heros-titre em { font-style: normal; color: var(--or); }
.heros-chapo { margin-top: 20px; font-size: clamp(18px, 2vw, 20px); color: #C6D5DB; max-width: 46ch; }
.dispo { display: inline-flex; align-items: center; gap: 10px; margin-top: 22px; padding: 10px 16px; border-radius: 12px; background: rgba(255, 255, 255, .07); border: 1px solid rgba(255, 255, 255, .14); font-weight: 600; font-size: 15.5px; line-height: 1.35; }
.dispo-point { flex: none; }
.dispo-point { width: 10px; height: 10px; border-radius: 50%; background: #8DA1A9; }
.dispo.ouvert .dispo-point { background: var(--menthe); box-shadow: 0 0 0 0 rgba(25, 195, 156, .6); animation: pouls 1.8s infinite; }
@keyframes pouls { 70% { box-shadow: 0 0 0 10px rgba(25, 195, 156, 0); } 100% { box-shadow: 0 0 0 0 rgba(25, 195, 156, 0); } }
.actions { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 24px; }
.actions .bouton { flex: 1 1 170px; }
@media (min-width: 700px) { .actions .bouton { flex: 0 0 auto; } }

.ciel { display: grid; justify-items: center; gap: 18px; padding: clamp(28px, 4vw, 44px) 20px; border-radius: 26px; color: #fff;
  background: radial-gradient(70% 60% at 80% 10%, rgba(25, 195, 156, .22), transparent 70%), var(--petrole); }
.etoiles-grille { display: grid; grid-template-columns: repeat(9, 1fr); gap: clamp(4px, 1.2vw, 10px); width: min(460px, 86vw); }
.etoile { display: block; aspect-ratio: 1; }
.etoile svg { display: block; }
.etoile svg { width: 100%; height: 100%; fill: rgba(255, 255, 255, .1); transition: fill .25s, transform .4s cubic-bezier(.3, 1.8, .4, 1), filter .4s; transform: scale(.7); }
.etoile.allumee svg { fill: var(--or); transform: none; filter: drop-shadow(0 0 6px rgba(255, 194, 61, .55)); }
.ciel figcaption { text-align: center; }
.ciel figcaption b { display: block; font: 800 clamp(48px, 8vw, 72px)/1 var(--f-titre); letter-spacing: -.04em; color: var(--or); font-variant-numeric: tabular-nums; }
.ciel figcaption span { color: #A8BDC6; font-size: 15px; }
@media (max-width: 999px) { .heros { align-content: start; padding-top: calc(96px + env(safe-area-inset-top)); } .etoiles-grille { width: min(330px, 80vw); } }

/* Les tuyaux qui se tracent derrière, une seule fois. */
.tuyaux { position: absolute; right: -120px; top: -40px; width: min(720px, 120vw); height: auto; pointer-events: none; }
.tuyaux path { fill: none; stroke-linecap: round; }
.tuyaux-tubes path { stroke: rgba(25, 195, 156, .14); stroke-width: 16; stroke-dasharray: 1; stroke-dashoffset: 1; transition: stroke-dashoffset 2.6s var(--courbe) .2s; }
.tuyaux-eau path { stroke: rgba(79, 182, 232, .38); stroke-width: 4; stroke-dasharray: 10 44; opacity: 0; transition: opacity 1s 2.4s; animation: circule 2.4s linear infinite; }
.heros.pret .tuyaux-eau path { opacity: 1; }
@keyframes circule { to { stroke-dashoffset: -54; } }
.tuyaux circle { fill: rgba(25, 195, 156, .25); opacity: 0; transition: opacity .6s 2.2s; }
.heros.pret .tuyaux-tubes path { stroke-dashoffset: 0; }
.heros.pret .tuyaux circle { opacity: 1; }

.confiance { list-style: none; padding: 0; margin-top: 22px; display: flex; flex-wrap: wrap; gap: 8px 20px; font-size: 14.5px; color: #A8BDC6; }
.confiance li { display: inline-flex; align-items: center; gap: 8px; }
.confiance-etoiles { display: inline-flex; gap: 2px; }
.confiance-etoiles svg { width: 15px; height: 15px; fill: var(--or); }
.moto { fill: none; stroke: currentColor; stroke-width: 3.4; stroke-linecap: round; stroke-linejoin: round; }
.moto .moto-selle { stroke-width: 5; }
.confiance .moto { width: 27px; height: 17px; color: var(--menthe); }

/* « En attendant Jean-Max » : on touche son problème, on sait quoi faire, le SMS est écrit. */
.secours { align-self: center; padding: clamp(18px, 3vw, 26px); border-radius: 26px; background: linear-gradient(160deg, #1D4152, #13303E); border: 1px solid rgba(255, 255, 255, .13); box-shadow: 0 30px 60px -30px rgba(0, 0, 0, .6); }
.secours-tete { font: 800 clamp(22px, 2.4vw, 26px)/1.15 var(--f-titre); letter-spacing: -.02em; color: #fff; }
.secours-choix { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 16px; }
.secours-choix button { display: inline-flex; align-items: center; gap: 8px; min-height: 44px; padding: 0 14px; border-radius: 999px; border: 1px solid rgba(255, 255, 255, .18); background: rgba(255, 255, 255, .06); color: #DCE7EB; font: 600 15px/1.2 var(--f-texte); text-align: left; cursor: pointer; transition: background .2s, color .2s, border-color .2s; }
@media (max-width: 420px) { .secours-choix { gap: 6px; } .secours-choix button { font-size: 14.5px; padding: 0 12px; } }
.secours-choix button:hover { border-color: rgba(25, 195, 156, .7); }
.secours-choix button svg { flex: none; width: 20px; height: 20px; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.secours-choix button[aria-selected="true"] { background: var(--menthe); border-color: var(--menthe); color: var(--petrole); font-weight: 700; }
.secours-panneau { margin-top: 16px; padding: 18px; border-radius: 18px; background: rgba(9, 26, 35, .55); border: 1px solid rgba(255, 255, 255, .07); }
.secours-titre { font: 700 13px/1.3 var(--f-texte); letter-spacing: .16em; text-transform: uppercase; color: var(--menthe); }
.secours-etapes { list-style: none; padding: 0; margin-top: 12px; display: grid; gap: 10px; counter-reset: e; }
.secours-etapes li { counter-increment: e; display: grid; grid-template-columns: 30px 1fr; gap: 12px; align-items: start; color: #DCE7EB; font-size: 16px; line-height: 1.5; animation: etape-entre .5s var(--courbe) both; animation-delay: calc(var(--i) * 90ms); }
.secours-etapes li::before { content: counter(e); display: grid; place-items: center; width: 30px; height: 30px; border-radius: 10px; background: rgba(25, 195, 156, .16); color: var(--menthe); font: 800 15px/1 var(--f-titre); }
@keyframes etape-entre { from { opacity: 0; transform: translateY(8px); } }
.secours-sms { width: 100%; margin-top: 16px; min-height: 52px; font-size: 16px; text-align: center; padding: 10px 16px; line-height: 1.2; }

/* ───────── Ce qu'il répare, en dessins qui s'animent une fois ───────── */
.reparations { padding: clamp(80px, 11vw, 130px) 0; }
.reparations-grille { display: grid; gap: 14px; margin-top: 40px; }
@media (min-width: 640px) { .reparations-grille { grid-template-columns: repeat(2, 1fr); } }
/* Sur téléphone, les quatre cartes se font glisser. */
@media (max-width: 639px) {
  .reparations-grille { grid-auto-flow: column; grid-auto-columns: 80%; overflow-x: auto; scroll-snap-type: x proximity; scrollbar-width: none; margin-inline: calc(-1 * var(--gouttiere)); padding: 4px var(--gouttiere) 10px; scroll-padding-inline: var(--gouttiere); }
  .reparations-grille::-webkit-scrollbar { display: none; }
  .reparation { scroll-snap-align: start; }
}
.glisser { display: none; margin-top: 12px; font-size: 14px; color: var(--gris); }
@media (max-width: 639px) { .glisser { display: block; } }
@media (min-width: 1100px) { .reparations-grille { grid-template-columns: repeat(4, 1fr); } }
.reparation { padding: 14px 14px 22px; border-radius: 22px; background: var(--blanc); box-shadow: 0 1px 0 var(--filet); }
.reparation h3 { margin: 18px 6px 0; font: 800 23px/1.15 var(--f-titre); letter-spacing: -.02em; }
.reparation p { margin: 6px 6px 0; color: var(--gris); font-size: 16px; }
.illu { display: block; width: 100%; height: auto; aspect-ratio: 3 / 2; padding: 12px; border-radius: 16px; background: var(--menthe-pale); stroke: var(--petrole); stroke-width: 3; fill: none; stroke-linecap: round; stroke-linejoin: round; }
.illu .plein { fill: var(--blanc); }
/* La fuite : deux gouttes, le collier se pose, la flaque sèche. */
.illu .flaque { fill: var(--eau); stroke: none; opacity: .35; transform-box: fill-box; transform-origin: center; transition: transform 1s var(--courbe) 2.4s, opacity 1s 2.4s; }
.illu .goutte { fill: var(--eau); stroke: none; opacity: 0; }
.reparation.vu .goutte { animation: goutte-tombe 1s ease-in 2 .3s both; }
@keyframes goutte-tombe { 0% { transform: translateY(0); opacity: 0; } 15% { opacity: 1; } 90% { transform: translateY(50px); opacity: 1; } 100% { transform: translateY(54px); opacity: 0; } }
.illu .collier { fill: var(--menthe); opacity: 0; transform: translateY(-60px); transition: transform .7s cubic-bezier(.3, 1.5, .5, 1) 2.2s, opacity .3s 2.2s; }
.illu .collier path { stroke: var(--petrole); stroke-width: 2; }
.reparation.vu .collier { opacity: 1; transform: none; }
.reparation.vu .flaque { transform: scale(.35); opacity: .12; }
/* La coche « réparé », à la fin de chaque dessin. */
.illu .fait { opacity: 0; transform: scale(.4); transform-box: fill-box; transform-origin: center; transition: opacity .3s var(--fin), transform .5s cubic-bezier(.3, 1.8, .5, 1) var(--fin); }
.illu .fait circle { fill: var(--menthe); stroke: none; }
.illu .fait path { stroke: var(--petrole); stroke-width: 3; }
.reparation.vu .fait { opacity: 1; transform: none; }
/* Les WC : la chasse tourne une fois. */
.illu .eau-fond { fill: var(--eau); stroke: none; opacity: .3; transform-box: fill-box; transform-origin: center; }
.illu .tourbillon { stroke: var(--eau); stroke-width: 4; transform-box: fill-box; transform-origin: center; }
.reparation.vu .tourbillon { animation: chasse 1.8s cubic-bezier(.5, 0, .3, 1) .5s both; }
.reparation.vu .eau-fond { animation: chasse-eau 1.8s cubic-bezier(.5, 0, .3, 1) .5s both; }
@keyframes chasse { 60% { transform: rotate(420deg) scale(.3); } 100% { transform: rotate(720deg) scale(1); } }
@keyframes chasse-eau { 60% { transform: scale(.55); } }
/* Le réseau d'eau : les vannes s'ouvrent, l'eau passe. */
.illu .flux { stroke: var(--eau); stroke-width: 8; stroke-dasharray: 1; stroke-dashoffset: 1; transition: stroke-dashoffset 1s var(--courbe) .3s; }
.illu .flux-bas { transition-delay: calc(1.5s + var(--n, 0) * .25s); }
.illu .vanne { transform-box: fill-box; transform-origin: center; transition: transform .5s cubic-bezier(.3, 1.5, .5, 1); transition-delay: calc(1.1s + var(--n, 0) * .25s); }
.illu .vanne rect { fill: var(--menthe); stroke-width: 2; }
.reparation.vu .flux { stroke-dashoffset: 0; }
.reparation.vu .vanne { transform: rotate(90deg); }
/* Les canalisations : l'eau s'écoule. */
.illu.illu-fuite .sol { stroke-dasharray: none; stroke: #9FB3BB; }
.illu .tube-bord { stroke: var(--petrole); stroke-width: 26; }
.illu .tube { stroke: var(--blanc); stroke-width: 20; }
.illu-canal .flux { transition-delay: .4s; transition-duration: 1.4s; }
.illu .sol { stroke: #8DA1A9; stroke-width: 2; stroke-dasharray: 4 6; }
.illu .herbe { stroke: var(--menthe-fonce); stroke-width: 2.5; }

/* ───────── Le chrono ───────── */
.chrono { padding: clamp(80px, 11vw, 130px) 0; background: var(--petrole-2); color: #DCE7EB; }
.chronos { display: grid; gap: 14px; margin-top: 40px; }
@media (min-width: 720px) { .chronos { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1100px) { .chronos { grid-template-columns: repeat(4, 1fr); } }
.minuteur { padding: 22px; border-radius: 20px; background: rgba(255, 255, 255, .05); border: 1px solid rgba(255, 255, 255, .1); display: grid; gap: 14px; align-content: start; }
.minuteur-texte { display: grid; gap: 8px; align-content: start; }
@media (max-width: 719px) {
  .minuteur { grid-template-columns: 92px 1fr; gap: 16px; padding: 18px; align-items: start; }
  .minuteur .minuteur-cadran { width: 92px; height: 92px; }
  .minuteur .minuteur-cadran b { font-size: 21px; }
  .minuteur .minuteur-cadran b small { font-size: 11px; }
  .minuteur .minuteur-texte h3 { font-size: 19px; }
}
.minuteur-cadran { position: relative; width: 120px; height: 120px; }
.minuteur-cadran svg { width: 100%; height: 100%; transform: rotate(-90deg); }
.mc-piste { fill: none; stroke: rgba(255, 255, 255, .1); stroke-width: 10; }
.mc-arc { fill: none; stroke: var(--menthe); stroke-width: 10; stroke-linecap: round; stroke-dasharray: 1; stroke-dashoffset: 1; transition: stroke-dashoffset 1.8s var(--courbe) .3s; }
.minuteur.vu .mc-arc { stroke-dashoffset: calc(1 - var(--part)); }
.minuteur-cadran b { position: absolute; inset: 0; display: grid; place-content: center; text-align: center; font: 800 26px/1 var(--f-titre); color: #fff; }
.minuteur-cadran b small { display: block; font: 600 12px/1.2 var(--f-texte); color: #A8BDC6; margin-top: 4px; }
.minuteur h3 { font: 800 21px/1.15 var(--f-titre); letter-spacing: -.02em; color: #fff; }
.minuteur p { font-size: 15.5px; color: #C6D5DB; }
.minuteur cite { color: var(--menthe); }

/* ───────── Sa façon de faire ───────── */
.facon { padding: clamp(80px, 11vw, 130px) 0; }
.facon-grille { display: grid; gap: 40px; align-items: start; }
@media (min-width: 960px) { .facon-grille { grid-template-columns: .85fr 1.15fr; gap: 60px; } }
.principes { list-style: none; padding: 0; display: grid; gap: 10px; counter-reset: p; }
.principes li { counter-increment: p; position: relative; padding: 18px 20px 18px 66px; border-radius: 18px; background: var(--blanc); display: grid; gap: 4px; box-shadow: 0 1px 0 var(--filet); }
.principes li::before { content: ""; position: absolute; left: 18px; top: 18px; width: 32px; height: 32px; border-radius: 10px; background: var(--menthe-pale) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M6 12.5l4 4 8-9' fill='none' stroke='%230E8F72' stroke-width='2.8' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center / 20px no-repeat; }
.principes b { font: 800 20px/1.2 var(--f-titre); letter-spacing: -.02em; }
.principes span { color: var(--gris); font-size: 16px; }

/* ───────── Les mots des clients ───────── */
.mots { padding: clamp(80px, 11vw, 130px) 0; background: var(--blanc); }
.avis-tete { display: grid; gap: 32px; align-items: center; }
@media (min-width: 960px) { .avis-tete { grid-template-columns: 1fr 1fr; gap: 70px; } }
.mots-grille { display: grid; gap: 40px; align-items: start; margin-top: 56px; }
.mots-sous { font: 800 20px/1.2 var(--f-titre); letter-spacing: -.02em; }
@media (min-width: 960px) { .mots-grille { grid-template-columns: 1fr 1fr; gap: 70px; } }
.barres { list-style: none; padding: 0; margin-top: 14px; display: grid; gap: 2px; }
.barres li { display: block; }
.barres button { display: grid; grid-template-columns: 130px 1fr 34px; gap: 12px; align-items: center; padding: 9px 10px; margin-inline: -10px; width: calc(100% + 20px); border: 0; border-radius: 12px; background: none; color: inherit; font: 600 15.5px/1.3 var(--f-texte); text-align: left; cursor: pointer; transition: background .2s, box-shadow .2s; }
.barres button:hover { background: var(--papier); }
.barres button[aria-pressed="true"] { background: var(--menthe-pale); box-shadow: inset 0 0 0 2px var(--menthe); }
.mots-aide { margin-top: 6px; font-size: 15px; color: var(--gris); }
.barres i { height: 14px; border-radius: 14px; background: var(--papier); overflow: hidden; }
.barres i::after { content: ""; display: block; height: 100%; width: calc(var(--v) * 100%); background: linear-gradient(90deg, var(--menthe-fonce), var(--menthe)); border-radius: 14px; transform-origin: left; transform: scaleX(0); transition: transform 1.2s var(--courbe); transition-delay: calc(var(--i) * .08s); }
.barres.vu i::after { transform: none; }
.barres b { text-align: right; font: 800 18px/1 var(--f-titre); font-variant-numeric: tabular-nums; color: var(--menthe-fonce); }
.citations-legende { scroll-margin-top: 90px; font: 800 18px/1.3 var(--f-titre); letter-spacing: -.01em; margin-bottom: 14px; min-height: 2.6em; }
.citations { display: grid; gap: 12px; }
.citations blockquote { animation: etape-entre .5s var(--courbe) both; animation-delay: calc(var(--i) * 80ms); }
.citations mark { color: inherit; background: linear-gradient(transparent 58%, rgba(25, 195, 156, .38) 58%); padding: 0 1px; }
.citations blockquote { padding: 20px 22px; border-radius: 20px; background: var(--papier); font-size: 17px; }
.citations blockquote:first-child { background: var(--petrole); color: #E7EFF2; font-size: 19px; }
.citations blockquote:first-child cite { color: var(--menthe); }

/* ───────── Ça goutte ───────── */
.contact { padding: clamp(80px, 11vw, 130px) 0; background: var(--menthe-pale); }
.contact-grille { display: grid; gap: 40px; align-items: center; }
@media (min-width: 960px) { .contact-grille { grid-template-columns: .8fr 1.2fr; gap: 70px; } }
.robinet { display: grid; justify-items: center; gap: 8px; }
.robinet svg { width: min(260px, 60vw); }
@media (max-width: 959px) { .robinet { order: 2; } .robinet svg { width: min(170px, 44vw); } }
.robinet-corps, .robinet-tete, .robinet-tige, .robinet-mur { fill: #9FB3BB; }
.robinet-tete { fill: var(--petrole); transition: transform .5s var(--courbe); transform-origin: 92px 51px; }
.robinet.ferme .robinet-tete { transform: rotate(90deg); }
.goutte { fill: var(--eau); animation: goutte 1.4s cubic-bezier(.5, 0, 1, .5) infinite; }
.flaque { fill: rgba(79, 182, 232, .35); }
.onde { fill: none; stroke: var(--eau); stroke-width: 1.5; animation: onde 1.4s ease-out infinite; transform-origin: 163px 282px; }
@keyframes goutte { 0% { transform: translateY(0) scale(.4); opacity: 0; } 15% { transform: translateY(0) scale(1); opacity: 1; } 85% { transform: translateY(140px); opacity: 1; } 100% { transform: translateY(140px); opacity: 0; } }
@keyframes onde { 0%, 80% { transform: scale(.4); opacity: 0; } 85% { opacity: 1; } 100% { transform: scale(3.6); opacity: 0; } }
.robinet.ferme .goutte, .robinet.ferme .onde { animation: none; opacity: 0; }
.robinet.ferme .flaque { fill: rgba(79, 182, 232, .12); transition: fill 1s; }
.robinet-etat { font: 800 18px/1 var(--f-titre); color: var(--menthe-fonce); }
.grand-tel { display: inline-block; margin-top: 18px; font: 800 clamp(44px, 7.4vw, 76px)/1 var(--f-titre); letter-spacing: -.04em; text-decoration: none; color: var(--petrole); border-bottom: 5px solid var(--menthe); }
.horaires { width: 100%; max-width: 460px; border-collapse: collapse; margin-top: 24px; }
.horaires th, .horaires td { text-align: left; padding: 11px 6px; border-bottom: 1px solid rgba(15, 38, 51, .14); font-size: 16px; }
.horaires td { text-align: right; font-weight: 700; }
.horaires .ferme td { color: var(--gris); font-weight: 400; }
.horaires tr.aujourdhui th, .horaires tr.aujourdhui td { color: var(--menthe-fonce); }
.horaires tr.aujourdhui th::after { content: " · aujourd'hui"; font-weight: 400; font-size: 13px; color: var(--gris); }
.adresse { margin-top: 18px; font-size: 14.5px; color: var(--gris); }

/* ───────── Pied et barre ───────── */
.pied { background: var(--petrole); color: #A8BDC6; padding: 46px 0 calc(110px + env(safe-area-inset-bottom)); font-size: 14px; }
.pied-grille { display: grid; gap: 16px; }
@media (min-width: 900px) { .pied-grille { grid-template-columns: 1fr 1.6fr; align-items: end; } .pied { padding-bottom: 46px; } }
.marque-pied { color: #fff; font-size: 18px; }
.pied a { color: #fff; }
.barre { position: fixed; inset: auto 0 0; z-index: 60; display: grid; grid-template-columns: 1.4fr 1fr; gap: 8px; padding: 10px 12px calc(10px + env(safe-area-inset-bottom)); background: rgba(15, 38, 51, .95); backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px); transform: translateY(110%); transition: transform .45s var(--courbe); }
.barre.visible { transform: none; }
.barre a { min-height: 52px; display: grid; place-items: center; border-radius: 12px; font: 800 16px/1 var(--f-titre); text-decoration: none; }
.barre .barre-tel { background: var(--menthe); color: var(--petrole); }
.barre .barre-sms { background: rgba(255, 255, 255, .1); color: #fff; }
@media (min-width: 900px) { .barre { display: none; } }

/* ───────── Apparitions ───────── */
.js .apparait { opacity: 0; transform: translateY(24px); transition: opacity .8s var(--courbe), transform .8s var(--courbe); transition-delay: var(--retard, 0s); }
.js .apparait.vu { opacity: 1; transform: none; }
[data-mots] .mot { display: inline-block; overflow: hidden; vertical-align: bottom; padding-bottom: .08em; margin-bottom: -.08em; }
[data-mots] .mot > span { display: inline-block; }
.js [data-mots]:not(.vu) .mot > span { transform: translateY(110%); }
.js [data-mots] .mot > span { transition: transform .85s var(--courbe); transition-delay: calc(var(--i) * 70ms); }
.js .heros-texte > :not(.heros-titre) { opacity: 0; transform: translateY(16px); transition: opacity .9s var(--courbe), transform .9s var(--courbe); }
.js .heros.pret .heros-texte > :not(.heros-titre) { opacity: 1; transform: none; }
.js .heros.pret .heros-chapo { transition-delay: .35s; } .js .heros.pret .dispo { transition-delay: .5s; } .js .heros.pret .actions { transition-delay: .65s; } .js .heros.pret .confiance { transition-delay: .8s; }
.js .secours { opacity: 0; transform: translateY(24px); transition: opacity .9s var(--courbe) .55s, transform .9s var(--courbe) .55s; }
.js .heros.pret .secours { opacity: 1; transform: none; }

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; }
  .js .apparait, .js .heros-texte > *, .js .secours { opacity: 1 !important; transform: none !important; }
  .illu .fait { opacity: 1; transform: none; }
  .tuyaux path { stroke-dashoffset: 0; } .illu .flux { stroke-dashoffset: 0; } .illu .collier { opacity: 1; transform: none; } .illu .vanne { transform: rotate(90deg); }
  .js [data-mots] .mot > span { transform: none !important; }
  .etoile svg { fill: var(--or); transform: none; }
  .minuteur .mc-arc { stroke-dashoffset: calc(1 - var(--part)); }
  .barres i::after { transform: none; }
  .fil-tube i { transform: none !important; }
  .tampon { opacity: .9 !important; transform: rotate(-12deg) !important; }
  .reseau-sorties::after, .reseau-sorties li::after { transform: none !important; }
  .reseau-sorties li { color: #fff !important; }
  html { scroll-behavior: auto; }
}

/* Les bandes qui glissent au doigt laissent passer le défilement vertical de la page. */
.reparations-grille { touch-action: pan-x pan-y; overscroll-behavior-x: contain; scroll-snap-type: x proximity; }

/* ───────── Et aussi ───────── */
.aussi { margin-top: 34px; display: grid; gap: 12px; }
.aussi-titre { font: 800 18px/1.2 var(--f-titre); letter-spacing: -.01em; }
.aussi ul { list-style: none; padding: 0; display: flex; flex-wrap: wrap; gap: 8px; }
.aussi li { padding: 9px 14px; border-radius: 999px; background: var(--blanc); box-shadow: inset 0 0 0 1px var(--filet); font-size: 15px; font-weight: 600; }

/* ───────── Comment ça se passe : le tuyau se remplit au fil de la lecture ───────── */
.facon-tete { position: sticky; top: 110px; }
@media (max-width: 959px) { .facon-tete { position: static; } }
.fil { list-style: none; padding: 0 0 0 58px; position: relative; display: grid; gap: 14px; counter-reset: etape; }
.fil-tube { position: absolute; left: 19px; top: 18px; bottom: 30px; width: 12px; border-radius: 12px; background: var(--filet); overflow: hidden; }
.fil-tube i { position: absolute; inset: 0; background: linear-gradient(180deg, var(--eau), var(--menthe)); transform-origin: top; transform: scaleY(0); }
.etape { position: relative; padding: 18px 20px 20px; border-radius: 18px; background: var(--blanc); box-shadow: 0 1px 0 var(--filet); counter-increment: etape; }
.etape::before { content: counter(etape); position: absolute; left: -58px; top: 14px; width: 50px; height: 50px; display: grid; place-items: center; border-radius: 50%; background: var(--papier); border: 4px solid var(--filet); color: var(--gris); font: 800 19px/1 var(--f-titre); transition: background .4s, border-color .4s, color .4s; }
.etape.arrosee::before { background: var(--menthe); border-color: var(--menthe-pale); color: var(--petrole); }
.etape b { display: block; font: 800 21px/1.2 var(--f-titre); letter-spacing: -.02em; }
.etape > p { margin-top: 6px; color: var(--gris); font-size: 16px; }
.etape blockquote { margin-top: 12px; padding: 12px 14px; border-radius: 12px; background: var(--papier); font-size: 15.5px; line-height: 1.5; }
.etape blockquote cite { margin-top: 4px; font-size: 13.5px; color: var(--menthe-fonce); }

/* ───────── Le carnet de chantiers : des bons d'intervention, tamponnés ───────── */
.carnet { padding: clamp(80px, 11vw, 130px) 0; background: var(--blanc); }
.carnet-tete { max-width: 760px; }
.bons { display: grid; gap: 14px; margin-top: 40px; align-items: start; }
@media (min-width: 720px) { .bons { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1100px) { .bons { grid-template-columns: repeat(3, 1fr); } }
.bon { position: relative; padding: 18px 20px 20px 34px; border-radius: 6px 18px 18px 6px; background-color: var(--papier);
  background-image: radial-gradient(circle at 0 50%, var(--blanc) 5px, transparent 5.5px); background-size: 12px 16px; background-repeat: repeat-y; background-position: 4px 0; }
.bon::before { content: ""; position: absolute; left: 22px; top: 14px; bottom: 14px; border-left: 2px dashed var(--filet); }
.bon-lieu { display: flex; align-items: baseline; flex-wrap: wrap; gap: 4px 10px; font: 700 14px/1.3 var(--f-texte); color: var(--menthe-fonce); padding-right: 70px; }
.bon-lieu span { font: 700 12px/1 var(--f-texte); letter-spacing: .12em; color: var(--gris); font-variant-numeric: tabular-nums; }
.bon h3 { margin-top: 10px; font: 800 21px/1.18 var(--f-titre); letter-spacing: -.02em; }
.bon > p:not(.bon-lieu):not(.conseil) { margin-top: 8px; color: var(--gris); font-size: 16px; }
.conseil { margin-top: 14px; padding: 12px 14px; border-radius: 12px; background: var(--menthe-pale); font-size: 15.5px; line-height: 1.5; }
.conseil b { display: block; font: 700 12px/1.3 var(--f-texte); letter-spacing: .14em; text-transform: uppercase; color: var(--menthe-fonce); margin-bottom: 4px; }
.tampon { position: absolute; top: 12px; right: 14px; padding: 6px 10px; border: 3px solid var(--menthe-fonce); border-radius: 8px; color: var(--menthe-fonce); font: 800 15px/1 var(--f-titre); letter-spacing: .12em; text-transform: uppercase; opacity: 0; transform: rotate(-12deg) scale(1.9); transition: opacity .25s, transform .45s cubic-bezier(.3, 1.4, .5, 1); transition-delay: calc(var(--retard, 0s) + .55s); }
.bon.vu .tampon { opacity: .9; transform: rotate(-12deg); }

/* ───────── Le secteur : le réseau part du Tampon ───────── */
.secteur { padding: clamp(80px, 11vw, 130px) 0; background: var(--petrole); color: #DCE7EB; overflow: hidden; }
.secteur-grille { display: grid; gap: 44px; align-items: center; }
@media (min-width: 960px) { .secteur-grille { grid-template-columns: 1fr 1fr; gap: 80px; } }
.reseau-source { display: flex; align-items: center; gap: 14px; }
.reseau-moto { flex: none; width: 64px; height: 64px; display: grid; place-items: center; border-radius: 50%; background: var(--menthe); color: var(--petrole); box-shadow: 0 0 0 8px rgba(25, 195, 156, .16); }
.reseau-moto .moto { width: 40px; height: 25px; }
.reseau-moto .repere { width: 30px; height: 30px; fill: none; stroke: currentColor; stroke-width: 3.4; stroke-linecap: round; stroke-linejoin: round; }
.reseau.vu .reseau-moto .moto { animation: roule 1.2s ease-in-out 3 .2s; }
@keyframes roule { 50% { transform: translateX(4px) rotate(-3deg); } }
.reseau-source b { display: block; font: 800 clamp(28px, 4vw, 38px)/1 var(--f-titre); letter-spacing: -.03em; color: #fff; }
.reseau-source small { display: block; margin-top: 4px; font-size: 14px; color: #A8BDC6; }
.reseau-sorties { list-style: none; margin: 0 0 0 27px; padding: 8px 0 0 40px; position: relative; display: grid; gap: 4px; }
.reseau-sorties::before, .reseau-sorties::after { content: ""; position: absolute; left: 0; top: 0; bottom: 22px; width: 10px; border-radius: 0 0 10px 10px; background: rgba(255, 255, 255, .1); }
.reseau-sorties::after { background: linear-gradient(180deg, var(--menthe), var(--eau)); transform-origin: top; transform: scaleY(0); transition: transform 1.6s var(--courbe) .3s; }
.reseau.vu .reseau-sorties::after { transform: none; }
.reseau-sorties li { position: relative; padding: 10px 0; font: 800 clamp(20px, 2.4vw, 24px)/1.15 var(--f-titre); letter-spacing: -.02em; color: rgba(255, 255, 255, .3); transition: color .5s; transition-delay: calc(.5s + var(--n) * .2s); }
.reseau-sorties li::before, .reseau-sorties li::after { content: ""; position: absolute; left: -30px; top: calc(50% - 4px); width: 22px; height: 8px; border-radius: 0 8px 8px 0; background: rgba(255, 255, 255, .1); }
.reseau-sorties li::after { background: var(--menthe); transform-origin: left; transform: scaleX(0); transition: transform .4s var(--courbe); transition-delay: calc(.5s + var(--n) * .2s); }
.reseau.vu .reseau-sorties li { color: #fff; }
.reseau.vu .reseau-sorties li::after { transform: none; }
.reseau-sorties .reseau-etc { font: 600 17px/1.3 var(--f-texte); letter-spacing: 0; }
.reseau.vu .reseau-sorties .reseau-etc { color: #A8BDC6; }
