/* Cap Plomberie — démo fictive. Effets inspirés de 21st.dev (text-cycle, spotlight-card, bento-grid, image-comparison, blur-fade) en CSS natif. */
@font-face { font-family: "Bricolage"; src: url(fonts/bricolage-grotesque-latin-standard-normal.woff2) format("woff2"); font-weight: 200 800; font-stretch: 75% 100%; font-display: swap; }
@font-face { font-family: "Figtree"; src: url(fonts/figtree-latin-wght-normal.woff2) format("woff2"); font-weight: 300 900; font-display: swap; }

:root {
  --blanc: #fff; --ecume: #EEF6F7; --petrole: #0F4C5C; --nuit: #0A3440; --turq: #2EC4B6; --turq-clair: #7FE3DA;
  --turq-texte: #0B7A70; --soleil: #FFC857; --encre: #0E2A33; --gris: #4A6670; --trait: #D3E5E8;
  --r-l: 32px; --r-m: 22px; --r-s: 14px; --ease: cubic-bezier(.22, 1, .36, 1);
}
*, *::before, *::after { box-sizing: border-box; }
[hidden] { display: none !important; }
html { scroll-behavior: smooth; scroll-padding-top: 88px; -webkit-text-size-adjust: 100%; }
body { margin: 0; background: var(--blanc); color: var(--encre); font: 400 1.0625rem/1.6 "Figtree", system-ui, sans-serif; overflow-x: clip; }
body.verrou { overflow: hidden; }
img { display: block; max-width: 100%; height: auto; }
a { color: inherit; }
:focus-visible { outline: 3px solid var(--turq-texte); outline-offset: 3px; border-radius: 6px; }
.sombre :focus-visible, .accueil :focus-visible, .pied :focus-visible, .bandeau :focus-visible, .entete.ouvert :focus-visible { outline-color: var(--soleil); }
.outil .assistant :focus-visible { outline-color: var(--petrole); }
.sr { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); clip-path: inset(50%); white-space: nowrap; }
.evite { position: absolute; left: 16px; top: -80px; z-index: 100; background: var(--soleil); color: var(--nuit); padding: 12px 18px; border-radius: 99px; font-weight: 700; }
.evite:focus { top: 12px; }
.sprite { position: absolute; width: 0; height: 0; overflow: hidden; }
.enveloppe { width: min(1240px, 100% - 32px); margin-inline: auto; }
.ico { width: 20px; height: 20px; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; flex: none; }

/* Titres */
h1, h2, h3 { font-family: "Bricolage", system-ui, sans-serif; font-weight: 800; letter-spacing: -.025em; line-height: .98; margin: 0; font-variation-settings: "opsz" 96; }
h2 { font-size: clamp(2.25rem, 5.4vw, 4.5rem); color: var(--petrole); margin: 14px 0 18px; text-wrap: balance; }
h3 { font-size: clamp(1.4rem, 2vw, 1.75rem); letter-spacing: -.02em; line-height: 1.05; color: var(--petrole); }
.surtitre { display: inline-flex; align-items: center; gap: 10px; margin: 0; font-weight: 700; font-size: .8125rem; letter-spacing: .14em; text-transform: uppercase; color: var(--turq-texte); }
.surtitre::before { content: ""; width: 10px; height: 10px; border-radius: 50% 0 50% 50%; transform: rotate(-45deg); background: currentColor; }
.surtitre-clair { color: var(--turq-clair); }
.chapo { font-size: clamp(1.0625rem, 1.4vw, 1.25rem); color: var(--gris); max-width: 560px; margin: 0; }
.tete { max-width: 760px; margin-bottom: clamp(36px, 5vw, 64px); }
.tete-clair h2 { color: #fff; }
.tete-clair .chapo { color: rgba(238, 246, 247, .86); }
.section { padding: clamp(72px, 10vw, 140px) 0; position: relative; }

/* Boutons */
.bouton { display: inline-flex; align-items: center; justify-content: center; gap: 10px; min-height: 48px; padding: 0 22px; border-radius: 99px; border: 2px solid transparent; font: 700 1rem/1.1 "Figtree", sans-serif; text-decoration: none; text-align: center; cursor: pointer; transition: background-color .25s, color .25s, border-color .25s, box-shadow .3s, transform .35s var(--ease); }
.bouton-grand { min-height: 58px; padding: 0 28px; font-size: 1.0625rem; }
.bouton-soleil { background: var(--soleil); color: var(--nuit); }
.bouton-soleil:hover { box-shadow: 0 14px 34px -12px rgba(255, 200, 87, .85); }
.bouton-petrole { background: var(--petrole); color: #fff; }
.bouton-petrole:hover { background: var(--nuit); box-shadow: 0 14px 34px -16px rgba(10, 52, 64, .8); }
.bouton-verre { background: rgba(255, 255, 255, .1); color: #fff; border-color: rgba(255, 255, 255, .6); backdrop-filter: blur(8px); }
.bouton-verre:hover { background: rgba(255, 255, 255, .2); }
.bouton-ligne { background: transparent; color: var(--petrole); border-color: var(--trait); }
.bouton-ligne:hover { border-color: var(--petrole); }
.bouton .ico { transition: transform .35s var(--ease); }
.bouton:hover .ico { transform: translateX(4px); }
.lien { display: inline-flex; align-items: center; gap: 8px; min-height: 44px; font-weight: 700; text-decoration: none; }
.lien:hover .ico { transform: translateX(4px); }
.lien .ico { transition: transform .35s var(--ease); }

/* Bandeau + en-tête */
.bandeau { background: var(--nuit); color: var(--ecume); font-size: .875rem; line-height: 1.45; text-align: center; padding: 12px 16px; }
.bandeau p { margin: 0; }
.bandeau a { display: inline-block; padding: 12px 2px; margin: -12px 0; color: var(--soleil); font-weight: 700; text-underline-offset: 3px; }
.entete { position: sticky; top: 0; z-index: 50; display: flex; align-items: center; gap: 18px; height: 76px; padding: 0 clamp(16px, 3vw, 40px); }
.entete::before { content: ""; position: absolute; inset: 0; z-index: -2; background: rgba(255, 255, 255, .88); backdrop-filter: blur(14px); border-bottom: 1px solid transparent; transition: border-color .3s, box-shadow .3s; }
.entete.defilee::before { border-color: var(--trait); box-shadow: 0 10px 30px -22px rgba(15, 76, 92, .45); }
.logo { display: inline-flex; align-items: center; gap: 10px; min-height: 44px; margin-right: auto; color: var(--petrole); text-decoration: none; font-family: "Bricolage", sans-serif; font-weight: 800; font-size: 1.375rem; letter-spacing: -.03em; transition: color .3s; }
.logo b { font-weight: 500; }
.logo-goutte { display: grid; place-items: center; width: 40px; height: 40px; border-radius: 14px 14px 14px 4px; background: var(--petrole); }
.logo-goutte svg { width: 20px; height: 20px; fill: var(--turq); animation: goutte 3.2s var(--ease) infinite; }
@keyframes goutte { 0%, 60%, 100% { transform: translateY(0) scale(1); } 75% { transform: translateY(2px) scale(.9, 1.08); } 85% { transform: translateY(-1px) scale(1.05, .95); } }
.menu ul { display: flex; gap: 2px; list-style: none; margin: 0; padding: 0; }
.menu a { display: inline-flex; align-items: center; min-height: 44px; padding: 0 14px; border-radius: 99px; text-decoration: none; font-weight: 600; font-size: .96875rem; color: var(--encre); transition: background-color .2s; }
.menu ul a:hover { background: var(--ecume); }
.menu-pied { display: none; }
.tel { display: inline-flex; align-items: center; gap: 8px; min-height: 44px; color: var(--petrole); font-weight: 700; text-decoration: none; white-space: nowrap; }
.tel .ico { color: var(--turq-texte); }
.burger { display: none; position: relative; width: 48px; height: 48px; border: 0; border-radius: 14px; background: var(--ecume); cursor: pointer; }
.burger i { position: absolute; left: 13px; width: 22px; height: 2px; border-radius: 2px; background: var(--petrole); transition: transform .4s var(--ease), opacity .2s, background-color .3s; }
.burger i:nth-of-type(1) { top: 17px; } .burger i:nth-of-type(2) { top: 23px; } .burger i:nth-of-type(3) { top: 29px; }
.entete.ouvert .burger { background: rgba(255, 255, 255, .12); }
.entete.ouvert .burger i { background: #fff; }
.entete.ouvert .burger i:nth-of-type(1) { transform: translateY(6px) rotate(45deg); }
.entete.ouvert .burger i:nth-of-type(2) { opacity: 0; }
.entete.ouvert .burger i:nth-of-type(3) { transform: translateY(-6px) rotate(-45deg); }

/* Accueil */
.accueil { padding: 12px 12px 0; }
.accueil-cadre { position: relative; isolation: isolate; display: flex; align-items: flex-end; min-height: min(calc(100svh - 132px), 860px); border-radius: var(--r-l); overflow: hidden; background: var(--nuit); color: #fff; }
.accueil-cadre::before { content: ""; position: absolute; inset: 0; z-index: -3; background: url(img/hero.webp) 38% 50% / cover; transform: scaleX(-1); }
.accueil-video { position: absolute; inset: 0; z-index: -2; width: 100%; height: 100%; object-fit: cover; object-position: 38% 50%; transform: scaleX(-1); }
.accueil-voile { position: absolute; inset: 0; z-index: -1; background: linear-gradient(90deg, rgba(10, 52, 64, .93) 0%, rgba(10, 52, 64, .84) 38%, rgba(10, 52, 64, .22) 64%, rgba(10, 52, 64, 0) 80%), linear-gradient(0deg, rgba(10, 52, 64, .7), rgba(10, 52, 64, 0) 38%); }
.accueil-contenu { position: relative; width: min(700px, 100%); text-shadow: 0 1px 14px rgba(10, 52, 64, .55); padding: clamp(24px, 5vw, 72px); padding-bottom: clamp(110px, 11vw, 150px); }
.accueil h1 { font-size: clamp(2.8rem, 6.6vw, 6.25rem); line-height: .95; color: #fff; margin: 18px 0 22px; }
.accueil .surtitre { color: #BFF3EE; }
.accueil .bouton { text-shadow: none; }
.mot { display: inline-grid; color: var(--soleil); }
.mot > span { grid-area: 1 / 1; white-space: nowrap; opacity: 0; filter: blur(8px); transform: translateY(-.32em); transition: opacity .45s ease-out, filter .45s ease-out, transform .5s var(--ease); }
.mot > .actif { opacity: 1; filter: none; transform: none; }
.mot > .sort { transform: translateY(.32em); transition-timing-function: ease-in; }
.accueil-texte { font-size: clamp(1.0625rem, 1.5vw, 1.3125rem); color: #E3EEF0; max-width: 520px; margin: 0 0 30px; }
.actions { display: flex; flex-wrap: wrap; gap: 12px; }
.pause { position: absolute; top: 16px; right: 16px; z-index: 3; display: inline-flex; align-items: center; gap: 10px; min-height: 44px; padding: 0 16px; border-radius: 99px; border: 1px solid rgba(255, 255, 255, .45); background: rgba(10, 52, 64, .55); color: #fff; font: 700 .875rem "Figtree", sans-serif; cursor: pointer; backdrop-filter: blur(8px); }
.pause-ico { width: 12px; height: 14px; border-inline: 4px solid #fff; }
.pause.arret .pause-ico { border: 0; background: #fff; clip-path: polygon(0 0, 100% 50%, 0 100%); }
.accueil-carte { position: absolute; right: 28px; bottom: 44px; z-index: 2; display: grid; gap: 12px; width: 300px; padding: 20px 22px; border-radius: var(--r-m); background: rgba(255, 255, 255, .94); color: var(--encre); text-decoration: none; box-shadow: 0 24px 60px -30px rgba(0, 0, 0, .55); animation: arrive 1s var(--ease) .7s both; transition: translate .4s var(--ease); }
.accueil-carte:hover { translate: 0 -4px; }
.accueil-carte-titre { font-family: "Bricolage", sans-serif; font-weight: 800; font-size: 1.25rem; color: var(--petrole); letter-spacing: -.02em; }
.accueil-carte-etapes { display: flex; gap: 6px; counter-reset: e; }
.accueil-carte-etapes span { counter-increment: e; flex: 1; font-size: .8125rem; font-weight: 600; color: var(--gris); border-top: 3px solid var(--turq); padding-top: 8px; }
.accueil-carte-etapes span::before { content: counter(e) ". "; color: var(--turq-texte); font-weight: 800; }
.accueil-carte-lien { display: inline-flex; align-items: center; gap: 8px; font-weight: 700; color: var(--petrole); }
@keyframes arrive { from { opacity: 0; transform: translateY(24px); filter: blur(8px); } }
.vagues { position: absolute; left: 0; bottom: 0; width: 100%; height: 90px; z-index: 1; pointer-events: none; }
.vague path { fill: none; stroke-width: 1.5; vector-effect: non-scaling-stroke; }
.v1 path { stroke: rgba(127, 227, 218, .55); } .v2 path { stroke: rgba(255, 200, 87, .45); } .v3 path { stroke: rgba(238, 246, 247, .35); }
.vague { animation: vague 14s linear infinite; }
.v2 { animation-duration: 20s; animation-direction: reverse; } .v3 { animation-duration: 10s; }
@keyframes vague { to { transform: translateX(-1440px); } }

/* Bandeau défilant */
.defile { overflow: hidden; padding: clamp(22px, 3vw, 34px) 0; border-bottom: 1px solid var(--trait); }
.defile-piste { display: flex; align-items: center; gap: 28px; padding-right: 28px; width: max-content; animation: defile 42s linear infinite; }
.defile span { font-family: "Bricolage", sans-serif; font-weight: 800; font-size: clamp(1.6rem, 3.6vw, 2.75rem); letter-spacing: -.03em; color: var(--petrole); white-space: nowrap; }
.defile span:nth-of-type(even) { color: var(--turq-texte); font-weight: 300; font-style: normal; }
.defile svg { width: 22px; height: 22px; fill: var(--turq); flex: none; }
@keyframes defile { to { transform: translateX(-50%); } }

/* Mosaïque */
.mosaique { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.tuile { position: relative; isolation: isolate; display: flex; flex-direction: column; gap: 12px; padding: clamp(22px, 2.6vw, 32px); border-radius: var(--r-m); background: var(--ecume); overflow: hidden; transition: translate .45s var(--ease), box-shadow .45s; }
.tuile:hover { translate: 0 -5px; box-shadow: 0 22px 50px -30px rgba(15, 76, 92, .5); }
.tuile p { margin: 0; color: var(--gris); }
.tuile h3 { margin-top: 6px; }
.tuile-large { grid-column: span 2; }
.tuile-haute { grid-row: span 2; padding: 0; }
.tuile-haute .tuile-texte { padding: 0 clamp(22px, 2.6vw, 32px) clamp(22px, 2.6vw, 32px); display: grid; gap: 12px; }
.tuile-haute .tuile-img { width: 100%; aspect-ratio: 4 / 3.4; object-fit: cover; margin-bottom: -40px; mask-image: linear-gradient(180deg, #000 70%, transparent); }
.tuile-large:first-child { display: grid; grid-template-columns: 1.1fr 1fr; align-items: stretch; gap: 24px; padding-right: 0; padding-block: 0; }
.tuile-large:first-child .tuile-texte { display: grid; align-content: center; gap: 12px; padding-block: clamp(22px, 2.6vw, 32px); }
.tuile-large:first-child .tuile-img { width: 100%; height: 100%; min-height: 300px; object-fit: cover; }
.tuile-img { transition: transform 1.2s var(--ease); }
.tuile:hover .tuile-img { transform: scale(1.04); }
.icone { width: 60px; height: 60px; padding: 12px; border-radius: 18px; background: #fff; fill: none; stroke: var(--petrole); stroke-width: 1.6; stroke-linecap: round; stroke-linejoin: round; --a: var(--turq-texte); flex: none; }
html.js .icone { stroke-dasharray: 1; stroke-dashoffset: 1; }
html.js .vu .icone { animation: trace 1.6s var(--ease) .35s forwards; }
@keyframes trace { to { stroke-dashoffset: 0; } }
.icone { transition: translate .45s var(--ease), rotate .45s var(--ease); }
.tuile:hover .icone { translate: 0 -4px; rotate: -6deg; }
.etiquettes { display: flex; flex-wrap: wrap; gap: 8px; list-style: none; padding: 0; margin: 6px 0 0; }
.etiquettes li { font-size: .8125rem; font-weight: 700; color: var(--petrole); background: #fff; padding: 6px 12px; border-radius: 99px; }
.tuile-eau { background: var(--petrole); }
.tuile-eau h3 { color: #fff; } .tuile-eau p { color: rgba(238, 246, 247, .86); max-width: 460px; }
.tuile-eau .icone { background: rgba(255, 255, 255, .1); stroke: #fff; --a: var(--turq-clair); }
.tuile-eau .lien { color: var(--soleil); margin-top: auto; }
.tuile-eau :focus-visible { outline-color: var(--soleil); }
.tuile-lignes { position: absolute; right: 0; bottom: 0; width: 70%; height: 120px; z-index: -1; pointer-events: none; }
.tuile-lignes path { fill: none; stroke: var(--turq); stroke-width: 1.5; opacity: .35; vector-effect: non-scaling-stroke; animation: vague-courte 9s linear infinite; }
.tuile-lignes path:nth-child(2) { animation-duration: 13s; opacity: .22; } .tuile-lignes path:nth-child(3) { animation-duration: 7s; opacity: .15; }
@keyframes vague-courte { to { transform: translateX(-400px); } }
.tuile-soleil { background: var(--soleil); justify-content: center; }
.tuile-soleil h3 { font-size: clamp(1.5rem, 2.2vw, 2rem); }
.tuile-soleil p { color: var(--encre); }
.tuile-soleil .bouton { align-self: flex-start; margin-top: 8px; }
.halo::after { content: ""; position: absolute; inset: 0; z-index: 1; pointer-events: none; background: radial-gradient(380px circle at var(--x, 50%) var(--y, 50%), rgba(46, 196, 182, .22), transparent 65%); opacity: 0; transition: opacity .5s; }
.halo:hover::after { opacity: 1; }
.tuile-eau.halo::after { background: radial-gradient(380px circle at var(--x, 50%) var(--y, 50%), rgba(127, 227, 218, .2), transparent 65%); }

/* Outil interactif */
.outil { background: var(--petrole); color: #fff; overflow: hidden; }
.outil-grille { display: grid; grid-template-columns: .8fr 1.2fr; gap: clamp(32px, 5vw, 80px); align-items: start; }
.outil .tete { position: sticky; top: 120px; margin: 0; }
.outil-points { list-style: none; counter-reset: p; padding: 0; margin: 32px 0 0; display: grid; gap: 10px; }
.outil-points li { counter-increment: p; display: flex; align-items: center; gap: 14px; font-weight: 700; color: var(--ecume); }
.outil-points li::before { content: counter(p); display: grid; place-items: center; width: 38px; height: 38px; border-radius: 50%; border: 1.5px solid var(--turq-clair); color: var(--turq-clair); font-family: "Bricolage", sans-serif; }
.gouttes svg { position: absolute; fill: none; stroke: rgba(127, 227, 218, .22); stroke-width: .6; animation: flotte 9s ease-in-out infinite; pointer-events: none; }
.gouttes svg:nth-child(1) { width: 180px; height: 180px; left: 3%; bottom: 6%; }
.gouttes svg:nth-child(2) { width: 90px; height: 90px; left: 30%; top: 8%; animation-delay: -3s; }
.gouttes svg:nth-child(3) { width: 260px; height: 260px; right: 2%; top: 4%; animation-delay: -5s; stroke: rgba(255, 200, 87, .14); }
.gouttes svg:nth-child(4) { width: 60px; height: 60px; left: 18%; bottom: 40%; animation-delay: -7s; }
@keyframes flotte { 50% { transform: translateY(-18px) rotate(4deg); } }
.assistant { position: relative; z-index: 1; background: #fff; color: var(--encre); border-radius: var(--r-l); padding: clamp(20px, 3.4vw, 40px); box-shadow: 0 40px 90px -50px rgba(0, 0, 0, .7); }
.progression { height: 6px; border-radius: 99px; background: var(--ecume); overflow: hidden; }
.progression-barre { display: block; width: 25%; height: 100%; border-radius: inherit; background: linear-gradient(90deg, var(--turq), var(--soleil)); transition: width .6s var(--ease); }
.pastilles { display: flex; justify-content: space-between; list-style: none; padding: 0; margin: 10px 0 26px; font-size: .8125rem; font-weight: 600; color: var(--gris); }
.pastilles .actif { color: var(--petrole); font-weight: 800; }
.pastilles .fait { color: var(--turq-texte); }
html:not(.js) .progression, html:not(.js) .pastilles, html:not(.js) .assistant-nav { display: none; }
html.js .etape { display: none; }
html.js .etape.actif { display: block; animation: entre .55s var(--ease); }
html:not(.js) .etape + .etape { margin-top: 36px; }
@keyframes entre { from { opacity: 0; transform: translateX(18px); filter: blur(6px); } }
.etape:focus { outline: none; }
fieldset { border: 0; margin: 0; padding: 0; min-width: 0; }
legend, .recap h3 { padding: 0; margin-bottom: 20px; font-family: "Bricolage", sans-serif; font-weight: 800; font-size: clamp(1.5rem, 2.6vw, 2.05rem); letter-spacing: -.03em; line-height: 1.05; color: var(--petrole); }
.etape-num { display: inline-block; vertical-align: middle; margin: -4px 8px 0 0; padding: 4px 10px; border-radius: 99px; background: var(--ecume); color: var(--turq-texte); font: 800 .8125rem "Figtree", sans-serif; letter-spacing: 0; }
.choix { display: grid; gap: 12px; }
.choix-6 { grid-template-columns: repeat(3, 1fr); }
.carte-choix { position: relative; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 12px; min-height: 140px; padding: 18px 12px; border: 2px solid var(--trait); border-radius: var(--r-m); text-align: center; font-weight: 700; line-height: 1.25; color: var(--encre); cursor: pointer; transition: border-color .25s, background-color .25s, translate .35s var(--ease); }
.carte-choix input { position: absolute; inset: 0; z-index: 2; width: 100%; height: 100%; margin: 0; opacity: 0; cursor: pointer; }
.carte-choix::after { content: ""; position: absolute; top: 12px; right: 12px; width: 20px; height: 20px; border-radius: 50%; border: 2px solid var(--trait); transition: background .25s, border-color .25s; }
.carte-choix:hover { border-color: var(--turq); translate: 0 -2px; }
.carte-choix:has(input:checked) { border-color: var(--petrole); background: var(--ecume); }
.carte-choix:has(input:checked)::after { border-color: var(--petrole); background: radial-gradient(circle, var(--petrole) 0 4px, transparent 5px); }
.carte-choix:has(input:focus-visible) { outline: 3px solid var(--petrole); outline-offset: 3px; }
.ill { display: grid; place-items: center; width: 64px; height: 64px; border-radius: 20px; background: var(--ecume); transition: background-color .3s, transform .4s var(--ease); flex: none; }
.ill svg { width: 36px; height: 36px; fill: none; stroke: var(--petrole); stroke-width: 1.6; stroke-linecap: round; stroke-linejoin: round; --a: var(--turq-texte); }
.carte-choix:hover .ill { transform: rotate(-6deg) scale(1.05); }
.carte-choix:has(input:checked) .ill { background: var(--petrole); }
.carte-choix:has(input:checked) .ill svg { stroke: #fff; --a: var(--soleil); }
.choix-6 .carte-choix { justify-content: flex-start; padding-top: 22px; }
.carte-ligne { flex-direction: row; justify-content: flex-start; text-align: left; min-height: 0; padding: 16px 48px 16px 16px; gap: 16px; }
.carte-ligne b { display: block; font-family: "Bricolage", sans-serif; font-size: 1.3rem; letter-spacing: -.02em; color: var(--petrole); }
.carte-ligne small { display: block; margin-top: 4px; font-size: .9375rem; font-weight: 400; color: var(--gris); }
.carte-ligne::after { top: 50%; margin-top: -10px; right: 18px; }
.note { margin: 14px 0 0; font-size: .875rem; color: var(--gris); }
.champ { display: grid; gap: 8px; margin-bottom: 22px; }
.champ label, .champ-titre { margin: 0; font-weight: 700; font-size: .9375rem; }
input[type=text], textarea { width: 100%; min-height: 52px; padding: 12px 16px; font: inherit; color: var(--encre); background: #fff; border: 2px solid var(--trait); border-radius: var(--r-s); transition: border-color .2s; }
textarea { resize: vertical; min-height: 120px; }
input[type=text]:focus, textarea:focus { border-color: var(--petrole); }
::placeholder { color: #6B8188; }
.puces { display: flex; flex-wrap: wrap; gap: 8px; }
.puce { position: relative; }
.puce input { position: absolute; inset: 0; z-index: 2; width: 100%; height: 100%; margin: 0; opacity: 0; cursor: pointer; }
.puce span { display: inline-flex; align-items: center; min-height: 46px; padding: 0 18px; border: 2px solid var(--trait); border-radius: 99px; font-weight: 700; transition: background-color .2s, color .2s, border-color .2s; }
.puce:hover span { border-color: var(--turq); }
.puce input:checked + span { background: var(--petrole); border-color: var(--petrole); color: #fff; }
.puce input:focus-visible + span { outline: 3px solid var(--petrole); outline-offset: 3px; }
.photo-bouton { display: inline-flex; align-items: center; gap: 10px; width: fit-content; min-height: 52px; padding: 0 20px; border: 2px dashed var(--turq-texte); border-radius: var(--r-s); color: var(--petrole); font-weight: 700; cursor: pointer; transition: background-color .2s; }
.photo-bouton:hover { background: var(--ecume); }
#photo:focus-visible + .photo-bouton { outline: 3px solid var(--petrole); outline-offset: 3px; }
.photo-apercu { display: flex; align-items: center; gap: 14px; }
.photo-apercu img { width: 96px; height: 96px; object-fit: cover; border-radius: var(--r-s); }
.lien-bouton { min-height: 44px; padding: 0 6px; border: 0; background: none; font: 700 .9375rem "Figtree", sans-serif; color: var(--turq-texte); text-decoration: underline; text-underline-offset: 3px; cursor: pointer; }
.recap-liste { margin: 0 0 26px; }
.recap-liste div { display: grid; grid-template-columns: 96px 1fr auto; align-items: center; gap: 12px; padding: 8px 0; border-bottom: 1px solid var(--trait); }
.recap-liste dt { font-size: .875rem; font-weight: 600; color: var(--gris); }
.recap-liste dd { margin: 0; font-weight: 700; color: var(--petrole); overflow-wrap: anywhere; }
.envoyer { width: 100%; }
.message-demo { margin: 16px 0 0; padding: 14px 18px; border-radius: var(--r-s); background: var(--ecume); border-left: 4px solid var(--turq); font-weight: 700; color: var(--petrole); }
.message-demo:empty, .erreur:empty { display: none; }
.erreur { margin: 16px 0 0; font-weight: 700; color: #A3302A; }
.assistant-nav { display: flex; justify-content: space-between; gap: 12px; margin-top: 26px; }
.assistant-nav #suite { margin-left: auto; }

/* Avant / après */
.comparer { background: var(--ecume); }
.comparer-grille { display: grid; grid-template-columns: .85fr 1.15fr; gap: clamp(32px, 5vw, 80px); align-items: center; }
.comparer .tete { margin: 0; }
.etapes-chantier { list-style: none; padding: 0; margin: 32px 0 0; display: grid; gap: 0; }
.etapes-chantier li { display: flex; align-items: baseline; gap: 16px; padding: 14px 0; border-top: 1px solid var(--trait); font-weight: 600; }
.etapes-chantier span { font-family: "Bricolage", sans-serif; font-weight: 800; color: var(--turq-texte); }
.avap { margin: 0; }
.avap-cadre { --pos: 50%; position: relative; aspect-ratio: 4 / 3; border-radius: var(--r-l); overflow: hidden; touch-action: pan-y; user-select: none; -webkit-user-select: none; box-shadow: 0 40px 80px -50px rgba(15, 76, 92, .7); }
.avap-cadre img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; pointer-events: none; }
.avap-avant { position: absolute; inset: 0; clip-path: inset(0 calc(100% - var(--pos)) 0 0); }
.avap-avant img { filter: grayscale(.85) sepia(.28) brightness(.6) contrast(.92); }
.avap-cadre::after { content: ""; position: absolute; top: 0; bottom: 0; left: var(--pos); width: 3px; margin-left: -1.5px; background: #fff; pointer-events: none; }
.avap-poignee { position: absolute; top: 50%; left: var(--pos); z-index: 2; display: flex; align-items: center; justify-content: center; width: 60px; height: 60px; margin: -30px 0 0 -30px; border-radius: 50%; background: var(--soleil); color: var(--nuit); box-shadow: 0 10px 30px -10px rgba(0, 0, 0, .5); pointer-events: none; transition: transform .3s var(--ease); }
.avap-poignee .ico { width: 18px; height: 18px; margin: 0 -2px; }
.avap-poignee .ico:first-child { transform: scaleX(-1); }
.avap-cadre.tire .avap-poignee { transform: scale(1.12); }
.avap-cadre:has(.avap-range:focus-visible) .avap-poignee { outline: 3px solid var(--petrole); outline-offset: 4px; }
.avap-range { position: absolute; inset: 0; z-index: 3; width: 100%; height: 100%; margin: 0; opacity: 0; cursor: ew-resize; touch-action: pan-y; }
.avap-tag { position: absolute; top: 16px; z-index: 2; padding: 6px 14px; border-radius: 99px; font-size: .8125rem; font-weight: 800; pointer-events: none; }
.avap-tag-avant { left: 16px; background: var(--nuit); color: #fff; }
.avap-tag-apres { right: 16px; background: #fff; color: var(--petrole); }
.avap figcaption { margin-top: 14px; font-size: .875rem; color: var(--gris); }

/* Le plombier */
.plombier-grille { display: grid; grid-template-columns: 5fr 6fr; gap: clamp(28px, 4vw, 56px) clamp(32px, 6vw, 96px); align-items: center; }
.portrait { position: relative; isolation: isolate; grid-row: span 2; margin: 0; }
.portrait img { width: 100%; aspect-ratio: 4 / 5; object-fit: cover; border-radius: 999px 999px var(--r-l) var(--r-l); }
.portrait-forme { position: absolute; z-index: -1; left: -7%; top: -4%; width: 34%; aspect-ratio: 1; background: var(--turq); border-radius: 50% 0 50% 50%; rotate: -45deg; animation: flotte 8s ease-in-out infinite; }
.portrait-badge { position: absolute; left: 18px; bottom: 18px; display: inline-flex; align-items: center; gap: 10px; padding: 10px 16px 10px 12px; border-radius: 99px; background: rgba(255, 255, 255, .95); color: var(--petrole); font-weight: 700; font-size: .9375rem; box-shadow: 0 14px 30px -18px rgba(0, 0, 0, .5); }
.portrait-badge .ico { fill: var(--turq); stroke: none; }
.plombier-texte p { color: var(--gris); max-width: 520px; }
.engagements { list-style: none; padding: 0; margin: 24px 0 0; display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.engagements li { display: flex; align-items: center; gap: 10px; padding: 12px 14px; border-radius: var(--r-s); background: var(--ecume); font-weight: 700; color: var(--petrole); font-size: .9375rem; line-height: 1.25; }
.engagements .ico { color: var(--turq-texte); stroke-width: 2.6; }
.camion { position: relative; isolation: isolate; margin: 0; border-radius: var(--r-l); overflow: hidden; }
.camion img { width: 100%; aspect-ratio: 16 / 9; object-fit: cover; transition: transform 1.4s var(--ease); }
.camion:hover img { transform: scale(1.04); }
.camion figcaption { position: absolute; left: 14px; right: 14px; bottom: 14px; z-index: 2; padding: 14px 18px; border-radius: var(--r-s); background: rgba(255, 255, 255, .95); font-size: .9375rem; color: var(--encre); }
.camion figcaption b { color: var(--petrole); }

/* Contact + pied */
.contact { padding-top: 0; }
.contact-grille { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(28px, 5vw, 80px); padding: clamp(28px, 5vw, 72px); border-radius: var(--r-l); background: var(--ecume); }
.contact .tete { margin: 0; }
.coordonnees { list-style: none; padding: 0; margin: 30px 0 0; display: grid; gap: 14px; }
.coordonnees li { display: flex; align-items: center; gap: 12px; font-weight: 700; color: var(--petrole); }
.coordonnees .ico { color: var(--turq-texte); }
.formulaire { padding: clamp(20px, 3vw, 36px); border-radius: var(--r-m); background: #fff; }
.formulaire .bouton { width: 100%; }
.pied { background: var(--nuit); color: var(--ecume); padding: 64px 0 44px; }
.pied-grille { display: grid; grid-template-columns: 1fr auto; gap: 24px 40px; align-items: center; }
.pied nav ul { display: flex; flex-wrap: wrap; gap: 0 6px; list-style: none; padding: 0; margin: 0; }
.pied nav a { display: inline-flex; align-items: center; min-height: 44px; padding: 0 10px; text-decoration: none; font-weight: 600; }
.pied nav a:hover { color: var(--turq-clair); }
.logo-clair { color: #fff; }
.logo-clair .logo-goutte { background: rgba(255, 255, 255, .1); }
.pied-mention { margin: 0; color: rgba(238, 246, 247, .78); font-size: .9375rem; }
.pied-signature { margin: 0; justify-self: end; }
.pied-marque { grid-column: 1 / -1; margin: 28px 0 0; font-family: "Bricolage", sans-serif; font-weight: 800; font-size: min(13.4vw, 200px); line-height: .9; letter-spacing: -.04em; white-space: nowrap; color: transparent; background: linear-gradient(180deg, rgba(127, 227, 218, .34), rgba(127, 227, 218, 0) 88%); -webkit-background-clip: text; background-clip: text; user-select: none; }
.pied-signature a { display: inline-flex; align-items: center; min-height: 44px; color: var(--soleil); font-weight: 700; text-underline-offset: 3px; }

/* Apparitions floues (blur-fade) — sans JS, tout reste visible */
html.js .apparait { opacity: 0; }
html.js .apparait.vu { animation: apparait 1s var(--ease) calc(var(--i, 0) * 90ms) both; }
@keyframes apparait { from { opacity: 0; transform: translateY(26px); filter: blur(10px); } to { opacity: 1; transform: none; filter: none; } }

/* Responsive */
@media (max-width: 1320px) { .entete-tel { display: none; } }
@media (max-width: 1020px) {
  .burger { display: block; }
  .menu { position: fixed; inset: 0; z-index: -1; display: flex; flex-direction: column; justify-content: space-between; gap: 32px; padding: 140px 24px 32px; overflow-y: auto; background: var(--petrole); visibility: hidden; opacity: 0; clip-path: circle(0 at calc(100% - 44px) 40px); transition: clip-path .6s var(--ease), opacity .3s, visibility 0s .6s; }
  .entete.ouvert .menu { visibility: visible; opacity: 1; clip-path: circle(150% at calc(100% - 44px) 40px); transition: clip-path .7s var(--ease), opacity .2s; }
  .menu ul { flex-direction: column; }
  .menu ul a { min-height: 58px; padding: 0; border-radius: 0; color: #fff; font-family: "Bricolage", sans-serif; font-weight: 800; font-size: clamp(2rem, 8vw, 3rem); letter-spacing: -.03em; }
  .menu ul a:hover { background: none; color: var(--soleil); }
  .menu-pied { display: grid; gap: 12px; justify-items: start; }
  .menu-pied .tel { color: #fff; } .menu-pied .tel .ico { color: var(--turq-clair); }
  .entete.ouvert .logo { color: #fff; }
  .entete.ouvert .logo-goutte { background: rgba(255, 255, 255, .12); }
  .entete.ouvert .entete-cta { visibility: hidden; }
  .accueil-carte { display: none; }
  .mosaique { grid-template-columns: 1fr 1fr; }
  .tuile-large { grid-column: span 2; }
  .tuile-haute { grid-row: span 1; }
  .outil-grille, .comparer-grille, .contact-grille { grid-template-columns: 1fr; }
  .outil .tete { position: static; }
  .outil-points { display: none; }
}
@media (max-width: 760px) {
  .accueil-voile { background: linear-gradient(0deg, rgba(10, 52, 64, .96) 0%, rgba(10, 52, 64, .9) 50%, rgba(10, 52, 64, .68) 72%, rgba(10, 52, 64, .2) 92%); }
  .large { display: none; }
  .accueil-cadre { min-height: min(calc(100svh - 132px), 760px); }
  .accueil-contenu { padding: 24px 20px 104px; }
  .accueil-texte { font-size: 1.0625rem; }
  .actions .bouton { width: 100%; }
  .mosaique { grid-template-columns: 1fr; }
  .tuile-large { grid-column: auto; }
  .tuile-large:first-child { grid-template-columns: 1fr; padding: 0; gap: 0; }
  .tuile-large:first-child .tuile-texte { padding: clamp(22px, 2.6vw, 32px); order: 2; }
  .tuile-large:first-child .tuile-img { min-height: 0; aspect-ratio: 16 / 10; height: auto; }
  .choix-6 { grid-template-columns: 1fr 1fr; }
  .plombier-grille { grid-template-columns: 1fr; }
  .portrait { grid-row: auto; width: min(100%, 420px); }
  .portrait-forme { display: none; }
  .engagements { grid-template-columns: 1fr; }
  .camion figcaption { position: static; border-radius: 0; background: var(--ecume); }
  .pied-grille { grid-template-columns: 1fr; }
  .pied-signature { justify-self: start; }
}
@media (max-width: 600px) { .entete-cta { display: none; } .entete { height: 68px; } .logo { font-size: 1.25rem; } }
@media (max-width: 380px) { .carte-choix { min-height: 128px; padding: 16px 8px; } .recap-liste div { grid-template-columns: 80px 1fr auto; gap: 8px; } }

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; scroll-behavior: auto !important; }
  html { scroll-behavior: auto; }
  .accueil-video { display: none; }
  .defile-piste, .vague, .tuile-lignes path, .gouttes svg, .portrait-forme, .logo-goutte svg { animation: none !important; }
  html.js .apparait { opacity: 1; }
  .mot > span { transition: none; }
}
