/* Clairsol : « coupe de terrain technique ».
   Un dessin d'ingénieur rassurant : papier millimétré sable, traits nets aux coins doux,
   strates de sol (prairie, terre, sable, graves) et eau claire bleu-vert qui circule dans les schémas.
   Outfit pour les titres et les repères techniques, Atkinson Hyperlegible pour un texte très lisible.
   Signature : la coupe du parcours de l'eau, ses repères numérotés et les bandes de strates. */

:root {
  --bg: #f8f4ea;
  --surface: #fffdf8;
  --surface-2: #f1e8d6;
  --ink: #262a22;
  --ink-2: #464a3d;
  --muted: #676353;
  --line: #ddd0b5;
  --line-strong: #cdbd9c;
  --accent: #3a6b2f;
  --accent-ink: #2d5524;
  --accent-soft: #e6efda;
  --on-accent: #ffffff;
  --water: #2a8a83;
  --water-ink: #17605a;
  --water-soft: #def0ec;
  --water-deep: #173f3b;
  --earth: #8a6a45;
  --earth-ink: #6b4f31;
  --grass: #6aa04a;
  --ok: #2d5524; --ok-bg: #eaf2e0;
  --warn: #7c5200; --warn-bg: #fbf1dc;
  --ko: #a3311f; --ko-bg: #fbe9e4;
  --font-body: "Atkinson Hyperlegible", ui-sans-serif, system-ui, -apple-system, "Segoe UI", Roboto, Arial, sans-serif;
  --font-head: "Outfit", ui-sans-serif, system-ui, -apple-system, "Segoe UI", Roboto, Arial, sans-serif;
  --head-weight: 700;
  --head-tracking: -0.015em;
  --radius: 16px;
  --radius-btn: 12px;
  --shadow: 0 1px 0 rgba(90, 70, 40, .05), 0 14px 34px -18px rgba(90, 70, 40, .35);
  --maxw: 1180px;
  --header-bg: #f8f4ea;
  --header-ink: #262a22;
  --footer-bg: #2b251d;
  --footer-ink: #e2d6c1;
  --footer-strong: #fffdf8;
  --grille: linear-gradient(rgba(138, 106, 69, .075) 1px, transparent 1px), linear-gradient(90deg, rgba(138, 106, 69, .075) 1px, transparent 1px);
  --grille-forte: linear-gradient(rgba(138, 106, 69, .1) 1px, transparent 1px), linear-gradient(90deg, rgba(138, 106, 69, .1) 1px, transparent 1px);
}

/* ---------- Base ---------- */
html { scroll-padding-top: 88px; }
body { font-size: 17.5px; line-height: 1.65; background: var(--bg); color: var(--ink); }
a { color: var(--water-ink); text-decoration-thickness: 1.5px; text-underline-offset: 3px; }
a:hover { color: var(--accent-ink); }
h1, h2, h3, h4 { font-family: var(--font-head); color: var(--ink); }
strong { font-weight: 700; }
::selection { background: #cfe9e3; }
:focus-visible { outline: 3px solid var(--water); outline-offset: 2px; }
.wrap { max-width: var(--maxw); }
@media (min-width: 720px) { .wrap { padding: 0 28px; } }

.eyebrow { display: inline-flex; align-items: center; gap: 10px; font: 500 13px/1.2 var(--font-head); text-transform: uppercase; letter-spacing: .13em; color: var(--earth-ink); margin: 0 0 14px; }
.eyebrow::before { content: ""; width: 14px; height: 14px; border-radius: 50%; border: 2px solid var(--water); background: radial-gradient(circle, var(--water) 0 2px, transparent 2.5px); flex: none; }
.eyebrow-clair { color: #a8dcd3; }
.eyebrow-clair::before { border-color: #8fd6cc; background: radial-gradient(circle, #8fd6cc 0 2px, transparent 2.5px); }

/* ---------- Boutons ---------- */
.btn { font: 700 16px/1.2 var(--font-head); letter-spacing: .01em; min-height: 46px; padding: 12px 20px; border-radius: var(--radius-btn); background: var(--accent); border: 2px solid var(--accent); color: var(--on-accent); box-shadow: inset 0 -3px 0 rgba(0, 0, 0, .16); transition: background-color .15s, border-color .15s, transform .15s, box-shadow .15s; }
.btn:hover { filter: none; background: var(--accent-ink); border-color: var(--accent-ink); color: #fff; }
.btn:active { transform: translateY(1px); box-shadow: inset 0 -1px 0 rgba(0, 0, 0, .16); }
.btn-big { padding: 15px 26px; font-size: 17px; min-height: 54px; }
.btn-ghost { background: transparent; color: var(--accent-ink); border-color: currentColor; box-shadow: none; }
.btn-ghost:hover { background: var(--accent-soft); color: var(--accent-ink); border-color: var(--accent-ink); }
.btn-fleche::after { content: "→"; font-weight: 700; transition: transform .15s; }
.btn-fleche:hover::after { transform: translateX(3px); }
.btn-clair { background: var(--surface); border-color: var(--surface); color: var(--accent-ink); box-shadow: inset 0 -3px 0 rgba(58, 107, 47, .18); }
.btn-clair:hover { background: #fff; border-color: #fff; color: var(--accent-ink); }

/* ---------- En-tête ---------- */
.site-header { background: color-mix(in srgb, var(--header-bg) 94%, transparent); backdrop-filter: saturate(1.2) blur(6px); border-bottom: 0; box-shadow: 0 3px 0 var(--grass), 0 4px 0 rgba(106, 160, 74, .25); }
.header-in { min-height: 72px; }
.brand { gap: 12px; }
.brand-logo { width: 42px; height: 42px; }
.brand-name { font: 800 23px/1 var(--font-head); letter-spacing: -.02em; color: var(--ink); }
.brand-tagline { font: 500 11.5px/1.3 var(--font-head); text-transform: uppercase; letter-spacing: .12em; color: var(--earth-ink); margin-top: 4px; }
.nav { gap: 26px; }
.nav a { font: 500 15.5px/1.2 var(--font-head); color: var(--ink-2); opacity: 1; position: relative; padding: 6px 0; }
.nav a:not(.btn)::after { content: ""; position: absolute; left: 0; right: 0; bottom: -2px; height: 2px; border-radius: 2px; background: var(--water); transform: scaleX(0); transform-origin: left; transition: transform .2s; }
.nav a:not(.btn):hover { color: var(--ink); }
.nav a:not(.btn):hover::after { transform: scaleX(1); }
.nav a.btn { padding: 10px 18px; min-height: 44px; color: var(--on-accent); }
.nav-toggle { width: 46px; height: 44px; border: 1.5px solid var(--line-strong); border-radius: 12px; background: var(--surface); }
@media (max-width: 1080px) and (min-width: 941px) { .nav { gap: 18px; } .nav a { font-size: 14.5px; } .brand-tagline { display: none; } }
@media (max-width: 940px) {
  .nav { background: var(--surface); border-bottom: 3px solid var(--grass); padding: 6px 16px 18px; top: calc(100% + 3px); }
  .nav a { font-size: 17px; padding: 14px 4px; border-bottom: 1px solid var(--line); }
  .nav a:not(.btn)::after { display: none; }
  .nav a.btn { margin-top: 14px; }
}

/* ---------- Accueil : héros et coupe ---------- */
.hero { background-color: var(--bg); background-image: var(--grille-forte), var(--grille); background-size: 120px 120px, 120px 120px, 24px 24px, 24px 24px; background-position: -1px -1px; padding: 56px 0 48px; border-bottom: 1.5px solid var(--line); }
.hero-grid { display: grid; gap: 40px; align-items: center; }
@media (min-width: 1000px) { .hero-grid { grid-template-columns: minmax(0, 0.86fr) minmax(0, 1.14fr); gap: 48px; } }
.hero h1 { font-weight: 800; font-size: clamp(40px, 4.5vw, 62px); line-height: 1.02; letter-spacing: -.035em; margin: 0 0 22px; }
.h1-eau { color: var(--water-ink); background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 40 8'%3E%3Cpath d='M0 4c5 0 5-3 10-3s5 3 10 3 5-3 10-3 5 3 10 3' fill='none' stroke='%232a8a83' stroke-width='2.2' stroke-linecap='round'/%3E%3C/svg%3E"); background-repeat: repeat-x; background-size: 30px 7px; background-position: 0 100%; padding-bottom: 8px; -webkit-box-decoration-break: clone; box-decoration-break: clone; }
.hero-lede { font-size: 19.5px; line-height: 1.55; color: var(--ink-2); margin: 0 0 28px; max-width: 560px; }
.hero-cta { display: flex; flex-wrap: wrap; gap: 12px; margin-bottom: 26px; }
.hero-garanties { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 8px 22px; font: 500 15px/1.3 var(--font-head); color: var(--ink-2); }
.hero-garanties li { display: inline-flex; align-items: center; gap: 8px; }
.hero-garanties li::before { content: ""; width: 18px; height: 18px; flex: none; border-radius: 50%; background: var(--accent) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3E%3Cpath d='M4.2 8.4l2.4 2.4 5-5.2' fill='none' stroke='%23fff' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center/100% no-repeat; }

.coupe { margin: 0; background: var(--surface); border: 1.5px solid var(--line-strong); border-radius: 22px; overflow: hidden; box-shadow: var(--shadow); }
.coupe-svg { display: block; width: 100%; height: auto; background-image: var(--grille); background-size: 20px 20px; }
.coupe .pin-o { fill: var(--surface); stroke: var(--ink); stroke-width: 2.5; transition: fill .2s, stroke .2s; }
.coupe .pin text { font: 700 20px var(--font-head); fill: var(--ink); text-anchor: middle; dominant-baseline: central; transition: fill .2s; }
.coupe .pin-fil { fill: none; stroke: var(--ink); stroke-width: 1.6; stroke-dasharray: 3 3; }
.coupe .pin-pt { fill: var(--ink); }
.coupe .flux { animation: flux 1.6s linear infinite; }
.coupe .infiltre { animation: infiltre 1.4s linear infinite; }
@keyframes flux { to { stroke-dashoffset: -22; } }
@keyframes infiltre { to { stroke-dashoffset: -20; } }
.cartouche { display: grid; grid-template-columns: auto 1fr auto; border-top: 1.5px solid var(--line-strong); font: 500 12px/1.3 var(--font-head); text-transform: uppercase; letter-spacing: .09em; color: var(--earth-ink); background: var(--surface); }
.cartouche span { padding: 10px 14px; }
.cartouche span + span { border-left: 1.5px solid var(--line-strong); }
.cart-ref { font-weight: 700; color: var(--ink); }
.cart-titre { color: var(--ink-2); }

.legende { list-style: none; margin: 34px 0 0; padding: 0; display: grid; gap: 14px; counter-reset: none; }
@media (min-width: 700px) { .legende { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1000px) { .legende { grid-template-columns: repeat(4, 1fr); gap: 0; border: 1.5px solid var(--line-strong); border-radius: 18px; background: var(--surface); overflow: hidden; } }
.leg { display: grid; grid-template-columns: 40px 1fr; column-gap: 12px; row-gap: 2px; align-content: start; padding: 16px 18px; background: var(--surface); border: 1.5px solid var(--line); border-radius: 16px; transition: background-color .2s; }
@media (min-width: 1000px) { .leg { border: 0; border-radius: 0; } .leg + .leg { border-left: 1.5px dashed var(--line-strong); } }
.leg-n { grid-row: span 2; width: 36px; height: 36px; border-radius: 50%; border: 2.5px solid var(--ink); display: grid; place-items: center; font: 700 17px/1 var(--font-head); background: var(--surface); transition: background-color .2s, color .2s, border-color .2s; }
.leg-t { font: 700 17px/1.25 var(--font-head); padding-top: 6px; }
.leg-d { font-size: 15px; line-height: 1.5; color: var(--ink-2); }
.leg:hover { background: var(--water-soft); }
.leg:hover .leg-n { background: var(--water-ink); border-color: var(--water-ink); color: #fff; }
.hero:has(.leg-1:hover) .pin-1 .pin-o, .hero:has(.leg-2:hover) .pin-2 .pin-o, .hero:has(.leg-3:hover) .pin-3 .pin-o, .hero:has(.leg-4:hover) .pin-4 .pin-o { fill: var(--water-ink); stroke: var(--water-ink); }
.hero:has(.leg-1:hover) .pin-1 text, .hero:has(.leg-2:hover) .pin-2 text, .hero:has(.leg-3:hover) .pin-3 text, .hero:has(.leg-4:hover) .pin-4 text { fill: #fff; }

/* ---------- Bandeau des cotes réglementaires ---------- */
.cotes { background: var(--water-deep); color: #d9e9e5; padding: 64px 0; position: relative; }
.cotes::before { content: ""; position: absolute; inset: 0; background-image: linear-gradient(rgba(143, 214, 204, .06) 1px, transparent 1px), linear-gradient(90deg, rgba(143, 214, 204, .06) 1px, transparent 1px); background-size: 24px 24px; pointer-events: none; }
.cotes .wrap { position: relative; }
.cotes-head { display: grid; gap: 6px 48px; margin-bottom: 34px; }
@media (min-width: 900px) { .cotes-head { grid-template-columns: 1fr 1fr; align-items: end; } .cotes-head .eyebrow { grid-column: 1 / -1; } }
.cotes h2 { color: #fffdf8; font-size: clamp(28px, 3.2vw, 40px); line-height: 1.1; margin: 0; }
.cotes-head p:not(.eyebrow) { margin: 0; color: #c3dbd6; font-size: 17px; }
.cotes-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); border-top: 1.5px solid rgba(143, 214, 204, .28); }
@media (min-width: 900px) { .cotes-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
.cote { padding: 26px 22px 26px 0; border-bottom: 1.5px solid rgba(143, 214, 204, .18); }
@media (min-width: 900px) { .cote { padding: 30px 30px 30px 0; } .cote:not(:nth-child(3n + 1)) { padding-left: 30px; border-left: 1.5px solid rgba(143, 214, 204, .18); } }
@media (max-width: 899px) { .cote:nth-child(2n) { padding-left: 18px; border-left: 1.5px solid rgba(143, 214, 204, .18); } }
.cote-ligne { display: block; position: relative; height: 12px; max-width: 150px; border-left: 1.5px solid #8fd6cc; border-right: 1.5px solid #8fd6cc; margin-bottom: 14px; }
.cote-ligne::before { content: ""; position: absolute; left: 0; right: 0; top: 50%; border-top: 1.5px solid #8fd6cc; }
.cote-val { font: 800 clamp(30px, 4.2vw, 50px)/1 var(--font-head); letter-spacing: -.03em; color: #fffdf8; margin: 0 0 10px; white-space: nowrap; }
.cote-txt { margin: 0 0 10px; font-size: 15.5px; line-height: 1.45; color: #d9e9e5; }
.cote-ref { margin: 0; font: 500 11.5px/1.35 var(--font-head); text-transform: uppercase; letter-spacing: .08em; color: #8fd6cc; }

/* ---------- Têtes de section ---------- */
.section { padding: 80px 0; }
.sec-head { max-width: 760px; margin-bottom: 38px; }
.sec-head h2 { font-size: clamp(30px, 3.6vw, 46px); line-height: 1.06; letter-spacing: -.028em; margin: 0 0 14px; }
.sec-head p:not(.eyebrow) { font-size: 18px; color: var(--ink-2); margin: 0; }

/* ---------- Prestations ---------- */
.prestas { display: grid; gap: 18px; grid-template-columns: repeat(12, minmax(0, 1fr)); }
.presta { grid-column: span 12; display: flex; flex-direction: column; gap: 10px; padding: 28px; border-radius: 20px; background: var(--surface); border: 1.5px solid var(--line); position: relative; }
.presta h3 { font-size: 24px; line-height: 1.15; letter-spacing: -.02em; margin: 0; }
.presta p { margin: 0; font-size: 16.5px; color: var(--ink-2); }
.presta-picto { width: 56px; height: 56px; }
.presta-repere { display: flex; align-items: center; gap: 6px; font: 500 12px/1.2 var(--font-head) !important; text-transform: uppercase; letter-spacing: .1em; color: var(--earth-ink) !important; margin-top: 6px !important; }
.mini-pin { width: 22px; height: 22px; border-radius: 50%; border: 2px solid var(--ink); display: inline-grid; place-items: center; font: 700 12px/1 var(--font-head); color: var(--ink); background: var(--surface); letter-spacing: 0; }
.mini-pin + .mini-pin { margin-left: -2px; }
.mini-pin:last-of-type { margin-right: 4px; }
.mini-a { text-transform: none; letter-spacing: 0; font-size: 13px; margin: 0 1px; }
.presta-inclus { list-style: none; margin: 4px 0 0; padding: 0; display: grid; gap: 6px; font-size: 15.5px; }
.presta-inclus li { padding-left: 26px; position: relative; color: var(--ink-2); }
.presta-inclus li::before { content: ""; position: absolute; left: 0; top: 4px; width: 16px; height: 16px; border-radius: 5px; background: var(--accent) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3E%3Cpath d='M4.2 8.4l2.4 2.4 5-5.2' fill='none' stroke='%23fff' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center/100% no-repeat; }
.presta-prix { margin-top: auto !important; padding-top: 14px; border-top: 1.5px dashed var(--line-strong); display: flex; flex-wrap: wrap; justify-content: space-between; align-items: baseline; gap: 4px 12px; }
.presta-prix span { font: 500 12px/1.3 var(--font-head); text-transform: uppercase; letter-spacing: .09em; color: var(--muted); }
.presta-prix strong { font: 700 18px/1.2 var(--font-head); color: var(--ink); }
.presta-lien { font: 700 15.5px/1.3 var(--font-head); color: var(--water-ink); text-decoration: none; display: inline-flex; align-items: center; gap: 6px; min-height: 44px; }
.presta-lien::after { content: "→"; transition: transform .15s; }
.presta-lien:hover { color: var(--accent-ink); }
.presta-lien:hover::after { transform: translateX(3px); }
.presta-vidange { background: var(--water-soft); border-color: #b8ddd6; }
.presta-controle { border-style: dashed; border-color: var(--line-strong); }
.presta-normes { background: var(--accent-soft); border-color: #c6d9b2; }
.presta-sol { background: var(--surface-2); overflow: hidden; padding-top: 40px; }
.presta-sol::before { content: ""; position: absolute; top: 0; left: 0; right: 0; height: 14px; background: url("/assets/strates.svg") repeat-x 0 0 / 75px 14px; }
.presta-vidange .presta-prix, .presta-normes .presta-prix { border-top-color: rgba(23, 96, 90, .25); }
@media (min-width: 700px) { .presta-vente, .presta-sol, .presta-aides { grid-column: span 6; } .presta-aides { grid-column: span 12; } }
@media (min-width: 1000px) {
  .presta-vidange { grid-column: span 7; }
  .presta-controle { grid-column: span 5; }
  .presta-vente, .presta-sol, .presta-aides { grid-column: span 4; }
  .presta-normes { display: grid; grid-template-columns: minmax(0, 0.8fr) minmax(0, 1.5fr); gap: 32px; align-items: center; padding: 32px; }
  .presta-normes-txt { display: flex; flex-direction: column; gap: 10px; }
}
.presta-normes-txt { display: flex; flex-direction: column; gap: 10px; }
.filieres { display: grid; gap: 14px; margin-top: 8px; }
@media (min-width: 640px) { .filieres { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
.filiere { margin: 0; background: var(--surface); border: 1.5px solid #c6d9b2; border-radius: 16px; overflow: hidden; display: flex; flex-direction: column; }
.filiere img { display: block; width: 100%; height: auto; border-bottom: 1.5px solid #d8e5c9; }
.filiere figcaption { padding: 12px 14px 14px; display: flex; flex-direction: column; gap: 3px; font-size: 14.5px; line-height: 1.45; color: var(--ink-2); }
.filiere figcaption strong { font: 700 16px/1.25 var(--font-head); color: var(--ink); }
.filiere-prix { font: 700 16px/1.3 var(--font-head); color: var(--water-ink); }

/* ---------- Qui fait quoi ---------- */
.qui-zone { background-color: var(--surface-2); background-image: var(--grille); background-size: 24px 24px; border-top: 1.5px solid var(--line); border-bottom: 1.5px solid var(--line); }
.qui { display: grid; gap: 18px; }
@media (min-width: 900px) { .qui { grid-template-columns: 1fr 1.15fr; gap: 0; } }
.qui-col { padding: 30px; border-radius: 20px; }
.qui-col h3 { font-size: 23px; margin: 0 0 14px; letter-spacing: -.02em; }
.qui-col ul { list-style: none; margin: 0 0 18px; padding: 0; display: grid; gap: 10px; }
.qui-col li { padding-left: 30px; position: relative; font-size: 16.5px; line-height: 1.5; }
.qui-public { background: var(--surface); border: 1.5px dashed var(--line-strong); }
.qui-public li::before { content: ""; position: absolute; left: 2px; top: 5px; width: 14px; height: 14px; border: 2px solid var(--earth); border-radius: 4px; }
.qui-nous { background: var(--accent); color: #f1f6ec; border: 1.5px solid var(--accent); }
.qui-nous h3 { color: #fff; }
.qui-nous li::before { content: ""; position: absolute; left: 0; top: 3px; width: 18px; height: 18px; border-radius: 50%; background: #e6efda url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3E%3Cpath d='M4.2 8.4l2.4 2.4 5-5.2' fill='none' stroke='%232d5524' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center/100% no-repeat; }
@media (min-width: 900px) { .qui-public { border-radius: 20px 0 0 20px; border-right: 0; margin: 22px 0; } .qui-nous { box-shadow: var(--shadow); } }
.qui-tag { display: inline-block; margin: 0 0 12px; padding: 5px 11px; border-radius: 999px; font: 500 12px/1.2 var(--font-head); text-transform: uppercase; letter-spacing: .1em; background: var(--surface-2); color: var(--earth-ink); }
.qui-nous .qui-tag { background: rgba(0, 0, 0, .22); color: #fff; }
.qui-note { margin: 0; padding-top: 14px; border-top: 1.5px dashed var(--line-strong); font-size: 15px; color: var(--muted); }
.qui-nous .qui-note { border-top-color: rgba(255, 255, 255, .3); color: #e1ecd7; }

/* ---------- Comment ça marche : la frise-canalisation ---------- */
.transparence { max-width: 820px; margin: -10px 0 44px; padding: 18px 22px 18px 24px; background: var(--surface); border: 1.5px solid var(--line); border-left: 5px solid var(--water); border-radius: 6px 16px 16px 6px; font-size: 17px; color: var(--ink-2); }
.transparence strong { color: var(--ink); }
.frise { list-style: none; margin: 0; padding: 0; position: relative; display: grid; gap: 28px; }
.frise::before, .frise::after { content: ""; position: absolute; pointer-events: none; }
.frise li { position: relative; z-index: 1; }
.frise-n { width: 58px; height: 58px; border-radius: 50%; display: grid; place-items: center; background: var(--surface); border: 3px solid var(--ink); font: 800 23px/1 var(--font-head); color: var(--ink); margin-bottom: 18px; }
.frise li:last-child .frise-n { background: var(--accent); border-color: var(--accent); color: #fff; }
.frise h3 { font-size: 20px; line-height: 1.2; margin: 0 0 8px; letter-spacing: -.015em; }
.frise p { margin: 0; font-size: 16px; color: var(--ink-2); line-height: 1.55; }
@media (min-width: 900px) {
  .frise { grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 30px; }
  .frise::before { top: 22px; left: 30px; right: 30px; height: 14px; border-radius: 8px; background: #fbf8f1; border: 2.5px solid #7a6a52; }
  .frise::after { top: 28px; left: 40px; right: 40px; height: 3px; border-radius: 2px; background-image: repeating-linear-gradient(90deg, var(--water) 0 3px, transparent 3px 12px); animation: frise 1.4s linear infinite; }
}
@media (max-width: 899px) {
  .frise li { padding-left: 80px; min-height: 64px; }
  .frise-n { position: absolute; left: 0; top: 0; margin: 0; }
  .frise::before { left: 22px; top: 20px; bottom: 20px; width: 14px; border-radius: 8px; background: #fbf8f1; border: 2.5px solid #7a6a52; }
  .frise::after { left: 28px; top: 30px; bottom: 30px; width: 3px; border-radius: 2px; background-image: repeating-linear-gradient(180deg, var(--water) 0 3px, transparent 3px 12px); }
}
@keyframes frise { to { background-position: 24px 0; } }

/* ---------- Tarifs : nomenclature ---------- */
.tarifs-zone { background-color: var(--surface); border-top: 1.5px solid var(--line); }
.tarifs-grid { display: grid; gap: 36px; }
@media (min-width: 1000px) { .tarifs-grid { grid-template-columns: minmax(0, 0.8fr) minmax(0, 1.2fr); gap: 56px; align-items: start; } }
.tarifs-txt h2 { font-size: clamp(30px, 3.4vw, 42px); line-height: 1.08; letter-spacing: -.028em; margin: 0 0 16px; }
.tarifs-txt p:not(.eyebrow) { color: var(--ink-2); font-size: 17.5px; margin: 0 0 14px; }
.tarifs-note { font-size: 15px !important; padding: 12px 16px; background: var(--surface-2); border-radius: 12px; margin-bottom: 22px !important; }
.nomenclature { border: 1.5px solid var(--line-strong); border-radius: 18px; overflow: hidden; background: var(--surface); box-shadow: var(--shadow); }
.nom-row { display: grid; grid-template-columns: 52px minmax(0, 1fr) auto; align-items: center; gap: 14px; padding: 13px 20px; border-top: 1px solid var(--line); font-size: 16px; }
.nom-row:nth-child(even):not(.nom-head) { background: #fcf8f0; }
.nom-head { border-top: 0; background: var(--surface-2); font: 500 12px/1.2 var(--font-head); text-transform: uppercase; letter-spacing: .1em; color: var(--earth-ink); padding-top: 12px; padding-bottom: 12px; }
.nom-head span:last-child { text-align: right; }
.nom-rep { width: 30px; height: 30px; border: 2px solid var(--ink); border-radius: 8px; display: grid; place-items: center; font: 700 14px/1 var(--font-head); }
.nom-prix { font: 700 17px/1.2 var(--font-head); white-space: nowrap; text-align: right; color: var(--ink); }
.nom-public { background: var(--water-soft) !important; }
.nom-public .nom-rep { border-color: var(--water-ink); color: var(--water-ink); border-style: dashed; }
@media (max-width: 560px) {
  .nom-row { grid-template-columns: 34px minmax(0, 1fr); gap: 4px 12px; padding: 12px 14px; }
  .nom-row .nom-prix { grid-column: 2; text-align: left; }
  .nom-head span:last-child { display: none; }
  .nom-rep { width: 28px; height: 28px; grid-row: span 2; align-self: start; }
}

/* ---------- Situations ---------- */
.situations-zone { background: var(--accent-soft); border-top: 3px solid var(--grass); }
.situations { display: grid; gap: 14px; }
@media (min-width: 640px) { .situations { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (min-width: 1000px) { .situations { grid-template-columns: repeat(4, minmax(0, 1fr)); } }
.situation { display: flex; flex-direction: column; gap: 8px; padding: 22px 22px 20px; background: var(--surface); border: 1.5px solid #c6d9b2; border-radius: 18px; text-decoration: none; color: var(--ink); transition: border-color .15s, transform .15s, box-shadow .15s; min-height: 44px; }
.situation-t { font: 700 19px/1.2 var(--font-head); letter-spacing: -.01em; }
.situation-d { font-size: 15.5px; line-height: 1.5; color: var(--ink-2); }
.situation-t::after { content: " →"; color: var(--accent); }
.situation:hover { border-color: var(--accent); transform: translateY(-2px); box-shadow: var(--shadow); color: var(--ink); }
.outil-bandeau { margin-top: 20px; display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 16px 28px; padding: 22px 26px; border-radius: 18px; background: var(--accent); color: #eef5e8; }
.outil-bandeau p { margin: 0; font-size: 17px; max-width: 700px; }
.outil-bandeau strong { color: #fff; }

/* ---------- Réglementation ---------- */
.loi { display: grid; gap: 0 48px; }
@media (min-width: 900px) { .loi { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
.qa { padding: 24px 0; border-top: 1.5px solid var(--line); }
.qa h3 { font-size: 21px; line-height: 1.25; margin: 0 0 10px; letter-spacing: -.015em; display: flex; gap: 12px; align-items: baseline; }
.qa h3::before { content: ""; flex: none; width: 10px; height: 10px; border-radius: 50%; border: 2.5px solid var(--water); transform: translateY(-1px); }
.qa p, .qa ol { margin: 0; font-size: 16.5px; color: var(--ink-2); }
.qa ol { padding-left: 22px; display: grid; gap: 6px; }

/* ---------- Guides, FAQ ---------- */
.guides-zone { background: var(--surface-2); border-top: 1.5px solid var(--line); }
.guides-zone .related { margin-top: 0; }
.related h2, .faq h2, .sources h2 { font-size: clamp(26px, 3vw, 36px); letter-spacing: -.025em; line-height: 1.1; margin: 0 0 22px; }
.faq-wrap { max-width: 900px; }
.faq-zone .faq { margin-top: 0; }
.maj { margin: 28px 0 0; }

/* ---------- Cartes (guides liés) ---------- */
.cards { grid-template-columns: repeat(auto-fill, minmax(min(100%, 270px), 1fr)); gap: 16px; }
.card { padding: 20px 20px 22px; border: 1.5px solid var(--line); border-radius: 18px; background: var(--surface); gap: 8px; }
.card:hover { border-color: var(--water); box-shadow: var(--shadow); transform: translateY(-2px); }
.card-kind { align-self: flex-start; font: 500 11.5px/1 var(--font-head); letter-spacing: .1em; padding: 6px 9px; border-radius: 999px; background: var(--surface-2); color: var(--earth-ink); }
.card-tool { background: var(--accent-soft); border-color: #c6d9b2; }
.card-tool .card-kind { background: var(--accent); color: #fff; }
.card-service .card-kind { background: var(--water-soft); color: var(--water-ink); }
.card-title { font: 700 18px/1.25 var(--font-head); letter-spacing: -.01em; color: var(--ink); }
.card-desc { font-size: 15px; color: var(--muted); }

/* ---------- FAQ ---------- */
.faq details { border: 1.5px solid var(--line); border-radius: 16px; background: var(--surface); margin-bottom: 12px; transition: border-color .15s; }
.faq details[open] { border-color: var(--water); }
.faq summary { font: 500 17.5px/1.35 var(--font-head); padding: 18px 64px 18px 20px; min-height: 44px; }
.faq summary::after { content: "+"; top: 50%; right: 16px; transform: translateY(-50%); width: 30px; height: 30px; border-radius: 50%; border: 2px solid var(--water); color: var(--water-ink); display: grid; place-items: center; font: 700 19px/1 var(--font-head); }
.faq details[open] summary::after { content: "−"; background: var(--water-ink); border-color: var(--water-ink); color: #fff; }
.faq details > div { padding: 0 20px 18px; color: var(--ink-2); font-size: 16.5px; }
.sources { margin-top: 44px; }
.sources h2 { font-size: 22px; }
.sources ul { list-style: none; padding: 0; display: grid; gap: 8px; font-size: 15.5px; }
.sources li { padding-left: 22px; position: relative; }
.sources li::before { content: ""; position: absolute; left: 0; top: 8px; width: 10px; height: 10px; border: 2px solid var(--earth); border-radius: 3px; }

/* ---------- Pages standard ---------- */
.page-head { background-color: var(--bg); background-image: var(--grille-forte), var(--grille); background-size: 120px 120px, 120px 120px, 24px 24px, 24px 24px; border-bottom: 0; padding: 30px 0 52px; position: relative; }
.page-head::after { content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 18px; background: url("/assets/strates-clair.svg") repeat-x 0 0 / 96px 18px; }
@media (min-width: 1100px) { .page-head .wrap { background: url("/assets/entete-coupe.svg") no-repeat right 28px bottom -34px / 330px auto; } .page-head h1, .page-head .lede { max-width: 720px; } }
.page-head h1 { font-weight: 800; font-size: clamp(31px, 4.1vw, 50px); line-height: 1.06; letter-spacing: -.03em; margin: 14px 0 12px; }
.crumbs { font: 500 13.5px/1.3 var(--font-head); letter-spacing: .02em; color: var(--muted); }
.crumbs a { color: var(--water-ink); text-decoration: none; }
.crumbs a:hover { text-decoration: underline; }
.meta { font: 500 12.5px/1.3 var(--font-head); text-transform: uppercase; letter-spacing: .1em; color: var(--earth-ink); }
.page-head .lede { font-size: 19px; line-height: 1.55; color: var(--ink-2); }
.content-wrap { padding-top: 44px; padding-bottom: 64px; }
@media (min-width: 1000px) { .content-grid.has-side { grid-template-columns: minmax(0, 1fr) 320px; gap: 60px; } }
.prose { max-width: 740px; font-size: 17.5px; }
.prose h2 { font-size: clamp(25px, 2.6vw, 31px); line-height: 1.15; letter-spacing: -.022em; margin: 52px 0 14px; display: flex; gap: 14px; align-items: baseline; }
.prose h2::before { content: ""; flex: none; width: 12px; height: 12px; border-radius: 50%; border: 2.5px solid var(--water); transform: translateY(-2px); }
.prose h3 { font-size: 21px; letter-spacing: -.01em; }
.prose li::marker { color: var(--water); font-weight: 700; }
.prose strong { color: var(--ink); }
.table-wrap { border: 1.5px solid var(--line-strong); border-radius: 16px; background: var(--surface); margin: 6px 0 24px; }
table { font-size: 15.5px; }
th { background: var(--surface-2); font: 500 12.5px/1.3 var(--font-head); text-transform: uppercase; letter-spacing: .07em; color: var(--earth-ink); padding: 12px 16px; }
td { padding: 12px 16px; }
tbody tr:nth-child(even) td { background: #fcf8f0; }
td:last-child { font-family: var(--font-head); font-weight: 500; font-size: 15.5px; color: var(--ink); }
@media (min-width: 720px) { td:last-child { white-space: nowrap; } }
.bref strong, .lead-points strong { font-family: var(--font-head); font-weight: 700; letter-spacing: -.005em; }

.bref { background: var(--surface); border: 1.5px solid var(--line-strong); border-radius: 18px; padding: 0; overflow: hidden; margin: 0 0 32px; box-shadow: var(--shadow); }
.bref-title { display: flex; align-items: center; gap: 10px; margin: 0; padding: 11px 20px; background: var(--water-deep); color: #fffdf8; font: 700 13px/1.2 var(--font-head); text-transform: uppercase; letter-spacing: .12em; }
.bref-title::before { content: ""; width: 12px; height: 12px; border-radius: 50%; border: 2px solid #8fd6cc; background: radial-gradient(circle, #8fd6cc 0 1.6px, transparent 2px); }
.bref ul { list-style: none; padding: 8px 20px 14px; margin: 0; }
.bref li { margin: 0; padding: 10px 0 10px 26px; position: relative; font-size: 16.5px; line-height: 1.55; }
.bref li + li { border-top: 1px dashed var(--line); }
.bref li::before { content: ""; position: absolute; left: 2px; top: 18px; width: 10px; height: 3px; border-radius: 2px; background: var(--water); }

.cta-box { background: var(--accent-soft); border: 1.5px solid #c6d9b2; border-radius: 18px; padding: 22px 24px; margin: 36px 0; position: relative; overflow: hidden; }
.cta-box::before { content: ""; position: absolute; left: 0; right: 0; top: 0; height: 4px; background: var(--grass); }
.cta-title { font: 700 19px/1.3 var(--font-head); letter-spacing: -.01em; flex: 1 1 300px; max-width: 420px; color: var(--ink); }

.sidebar { top: 100px; }
.side-box { position: relative; overflow: hidden; border: 1.5px solid var(--line-strong); border-radius: 20px; padding: 36px 24px 24px; gap: 14px; background: var(--surface); }
.side-box::before { content: ""; position: absolute; left: 0; right: 0; top: 0; height: 14px; background: url("/assets/strates-clair.svg") repeat-x 0 0 / 75px 14px; }
.side-title { font: 700 21px/1.2 var(--font-head); letter-spacing: -.015em; }
.side-text { font-size: 15.5px; line-height: 1.55; }
.side-box .btn { width: 100%; }
.side-link { font: 700 15px/1.3 var(--font-head); color: var(--water-ink); text-decoration: none; display: inline-flex; gap: 6px; align-items: center; min-height: 44px; }
.side-link::after { content: "→"; }

/* ---------- Outil ---------- */
.tool { background: var(--surface); border: 1.5px solid var(--line-strong); border-radius: 22px; padding: 30px; margin: 10px 0 40px; box-shadow: var(--shadow); position: relative; overflow: hidden; }
.tool::before { content: ""; position: absolute; left: 0; right: 0; top: 0; height: 6px; background: linear-gradient(90deg, var(--grass) 0 25%, #c9ad7c 25% 50%, #efdfbb 50% 75%, var(--water) 75%); }
.tool .q { margin: 0 0 26px; padding-bottom: 24px; border-bottom: 1.5px dashed var(--line); }
.tool .q > label, .tool .q-label { font: 700 18px/1.3 var(--font-head); letter-spacing: -.01em; margin-bottom: 12px; color: var(--ink); }
.tool .hint { font-size: 14.5px; margin-top: 8px; }
.tool select { border: 1.5px solid var(--line-strong) !important; border-radius: 12px !important; padding: 12px 14px !important; min-height: 48px; background-color: #fff; max-width: 440px; }
.choices { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 260px), 1fr)); gap: 10px; }
.choices label { border: 1.5px solid #d6c8aa; border-radius: 14px; padding: 12px 14px; min-height: 52px; font-size: 15.5px; line-height: 1.35; font-weight: 400; background: #fff; gap: 12px; transition: border-color .15s, background-color .15s; }
.choices label:hover { border-color: var(--water); }
.choices input[type=radio] { appearance: none; -webkit-appearance: none; width: 20px; height: 20px; flex: none; border-radius: 50%; border: 2px solid #8a7a5e; background: #fff; display: grid; place-items: center; cursor: pointer; }
.choices input[type=radio]:checked { border-color: var(--water); background: var(--water); box-shadow: inset 0 0 0 4px #fff; }
.choices input[type=radio]:focus-visible { outline: 3px solid var(--water); outline-offset: 2px; }
.choices label:has(input:checked) { border-color: var(--water); background: var(--water-soft); }
#calc { font-size: 17px; padding: 15px 26px; min-height: 54px; }
@media (max-width: 600px) { .tool { padding: 24px 18px; } #calc { width: 100%; } }
.result { border-radius: 18px; border: 1.5px solid var(--line-strong); padding: 22px 24px; margin-top: 24px; }
.result.ok { background: var(--ok-bg); border-color: #c3d8ad; }
.result.warn { background: var(--warn-bg); border-color: #e8cf9a; }
.result.ko { background: var(--ko-bg); border-color: #efbcb1; }
.result-title { font: 700 21px/1.25 var(--font-head); letter-spacing: -.015em; }
.result-big { font: 800 clamp(30px, 4vw, 40px)/1.05 var(--font-head); letter-spacing: -.025em; color: var(--water-ink); }
.result h4 { font: 700 13px/1.3 var(--font-head); text-transform: uppercase; letter-spacing: .1em; color: var(--earth-ink); margin: 22px 0 8px; }
.result ul { font-size: 15.5px; }
.result li { margin: 6px 0; }
.result .btn { margin-top: 6px; }

/* ---------- Formulaire de devis ---------- */
.lead { background-color: var(--surface-2); background-image: var(--grille); background-size: 24px 24px; border-top: 1.5px solid var(--line); padding: 80px 0; scroll-margin-top: 80px; }
@media (min-width: 900px) { .lead-in { grid-template-columns: 0.9fr 1.3fr; gap: 56px; padding: 0 28px; } }
.lead h2 { font-weight: 800; font-size: clamp(30px, 3.6vw, 44px); line-height: 1.06; letter-spacing: -.03em; margin: 0 0 14px; }
.lead-intro { font-size: 18px; line-height: 1.55; }
.lead-points { gap: 12px; margin-top: 22px; }
.lead-points li { padding-left: 32px; font-size: 16.5px; line-height: 1.45; }
.lead-points li::before { top: 2px; width: 20px; height: 20px; }
.lead-form { position: relative; overflow: hidden; border: 1.5px solid var(--line-strong); border-radius: 22px; padding: 40px 28px 28px; background: var(--surface); }
.lead-form::before { content: ""; position: absolute; left: 0; right: 0; top: 0; height: 14px; background: url("/assets/strates-clair.svg") repeat-x 0 0 / 75px 14px; }
.field label { font: 500 15px/1.3 var(--font-head); color: var(--ink); }
.field input, .field select, .field textarea { border: 1.5px solid var(--line-strong); border-radius: 12px; min-height: 48px; background: #fff; color: var(--ink); }
.field input:focus, .field select:focus, .field textarea:focus, .tool select:focus { border-color: var(--water) !important; outline: 3px solid rgba(42, 138, 131, .22); }
.consent { font-size: 14.5px; }
.consent input { accent-color: var(--accent); width: 20px; height: 20px; }
.form-note { font-size: 13.5px; }
.form-success { background: var(--ok-bg); border: 1.5px solid #c3d8ad; border-radius: 18px; }
.success-title { font: 700 22px/1.2 var(--font-head); color: var(--accent-ink); }
@media (max-width: 600px) { .lead { padding: 56px 0; } .lead-form { padding: 34px 18px 20px; } }

/* ---------- Pied de page ---------- */
.site-footer { position: relative; padding: 76px 0 30px; font-size: 15px; }
.site-footer::before { content: ""; position: absolute; left: 0; right: 0; top: 0; height: 30px; background: url("/assets/strates.svg") repeat-x 0 0 / 160px 30px; }
.footer-grid { gap: 36px; }
.brand-footer .brand-name { color: #fffdf8; font-size: 25px; }
.brand-footer .brand-logo { width: 44px; height: 44px; }
.footer-text { opacity: 1; color: #d6c9b1; line-height: 1.6; max-width: 440px; }
.footer-title { font: 700 13px/1.2 var(--font-head); text-transform: uppercase; letter-spacing: .12em; color: #a8dcd3; margin-bottom: 14px; }
.site-footer li { margin: 0; }
.site-footer li a { display: inline-block; padding: 10px 0; line-height: 1.4; }
.site-footer a { color: #fffdf8; }
.disclaimer { opacity: 1; color: #cbbd9f; border-top: 1.5px solid rgba(226, 214, 193, .18); line-height: 1.6; }
.disclaimer a { text-decoration: underline; }
.legal-links a { color: #e2d6c1; display: inline-flex; align-items: center; min-height: 44px; }

/* ---------- Mobile ---------- */
@media (max-width: 720px) {
  body { font-size: 17px; }
  .section { padding: 60px 0; }
  .hero { padding: 34px 0 40px; }
  .hero h1 { font-size: clamp(36px, 10.4vw, 46px); }
  .hero-lede { font-size: 18px; }
  .hero-cta .btn { flex: 1 1 100%; }
  .cartouche .cart-ech { display: none; }
  .coupe .lbl, .coupe .regle { display: none; }
  .coupe .pin-o { r: 25px; stroke-width: 3; }
  .coupe .pin text { font-size: 26px; }
  .coupe .pin-pt { r: 5px; }
  .cartouche { grid-template-columns: auto 1fr; }
  .cartouche span + span { border-top: 0; border-left: 1.5px solid var(--line-strong); }
  .presta { padding: 24px 20px; }
  .cotes { padding: 52px 0; }
  .qui-col { padding: 24px 20px; }
  .outil-bandeau { padding: 20px; }
  .outil-bandeau .btn { width: 100%; }
  .tarifs-zone .btn { width: 100%; }
  .page-head { padding-bottom: 44px; }
  th, td { padding: 10px 10px; }
  table { font-size: 14.5px; }
  td:last-child { font-size: 14.5px; }
}

/* ---------- Mouvement réduit ---------- */
@media (prefers-reduced-motion: reduce) {
  .coupe .flux, .coupe .infiltre, .frise::after { animation: none !important; }
  .btn, .card, .situation, .presta-lien::after, .btn-fleche::after, .nav a::after { transition: none !important; }
  .card:hover, .situation:hover { transform: none; }
  html { scroll-behavior: auto; }
}

/* ---------- Figures dans les pages ---------- */
.fig-coupe { margin: 6px 0 30px; border: 1.5px solid var(--line-strong); border-radius: 18px; overflow: hidden; background: var(--surface); }
.fig-coupe img { display: block; width: 100%; height: auto; }
.fig-coupe figcaption { padding: 12px 16px; border-top: 1.5px solid var(--line-strong); font-size: 14.5px; line-height: 1.5; color: var(--ink-2); background: var(--surface); }
.prose .filieres-page { margin: 8px 0 24px; }
.prose .filieres-page .filiere { border-color: var(--line-strong); }
.prose .filieres-page figcaption span { font-size: 14.5px; }
