/* Site public revchauffage.com */
:root {
  --green: #8CC48A;
  --green-dark: #3F7F3D;
  --green-mid: #4E8F4C;
  --anthracite: #1F2421;
  --ink: #26302a;
  --muted: #5f6b63;
  --line: #e2e8e2;
  --soft: #f4f7f3;
  --radius: 14px;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; font-family: "Segoe UI", system-ui, -apple-system, Roboto, Arial, sans-serif; color: var(--ink); line-height: 1.6; font-size: 16.5px; background: #fff; }
img { max-width: 100%; display: block; }
a { color: var(--green-dark); }
h1, h2, h3 { line-height: 1.2; color: var(--anthracite); margin: 0 0 .6rem; }
h1 { font-size: clamp(1.9rem, 4.2vw, 3rem); letter-spacing: -.01em; }
h2 { font-size: clamp(1.5rem, 3vw, 2.1rem); }
h3 { font-size: 1.15rem; }
.container { max-width: 1180px; margin: 0 auto; padding: 0 1.25rem; }
.container.narrow, .narrow { max-width: 800px; }
.center { text-align: center; }
.mt { margin-top: 1.5rem; }
.lead { font-size: 1.15rem; color: var(--muted); max-width: 680px; }
.eyebrow { display: inline-flex; align-items: center; gap: .4rem; text-transform: uppercase; letter-spacing: .12em; font-size: .78rem; font-weight: 800; color: var(--green-dark); margin-bottom: .6rem; }

/* Boutons */
.btn { display: inline-flex; align-items: center; gap: .5rem; padding: .75rem 1.3rem; border-radius: 999px; font-weight: 700; text-decoration: none; border: 2px solid transparent; cursor: pointer; font: inherit; font-weight: 700; transition: transform .12s, box-shadow .12s, background .12s; }
.btn:hover { transform: translateY(-1px); box-shadow: 0 6px 18px rgba(31, 36, 33, .15); }
.btn.lg { padding: .95rem 1.6rem; font-size: 1.05rem; }
.btn.accent { background: var(--green); color: var(--anthracite); }
.btn.accent:hover { background: #9ed09c; }
.btn.ghost { border-color: rgba(255, 255, 255, .5); color: #fff; }
.btn.ghost-dark { border-color: var(--green-mid); color: var(--green-dark); background: #fff; }
.btn.light { background: #fff; color: var(--anthracite); }

/* En-tête */
.topline { background: var(--anthracite); color: #cfd8d0; font-size: .85rem; }
.topline .container { display: flex; justify-content: space-between; gap: 1rem; padding-top: .4rem; padding-bottom: .4rem; flex-wrap: wrap; }
.topline a { color: var(--green); font-weight: 700; text-decoration: none; display: inline-flex; gap: .35rem; align-items: center; }
.site-header { position: sticky; top: 0; z-index: 40; background: rgba(255, 255, 255, .97); backdrop-filter: blur(6px); border-bottom: 1px solid var(--line); }
.site-header .container { display: flex; align-items: center; gap: 1rem; min-height: 72px; }
.logo { flex: none; display: block; position: relative; }
.logo img { display: block; height: 56px; width: auto; max-width: none; color: var(--anthracite); transition: opacity .4s; }
[data-logo-anim] > img { transition: opacity .4s; }
[data-logo-anim] > img.out { opacity: 0; }
.footer-logo-wrap { position: relative; display: block; width: max-content; margin-bottom: .5rem; }
.footer-logo-wrap .footer-logo { display: block; margin-bottom: 0; }
.logo-anim { position: absolute; left: -20px; top: -20px; width: calc(100% + 40px); height: calc(100% + 40px); border: 0; background: transparent; pointer-events: none; opacity: 0; transition: opacity .4s; }
.logo-anim.on { opacity: 1; }
.site-nav { margin-left: auto; display: flex; align-items: center; gap: .2rem; }
.site-nav a { padding: .5rem .75rem; border-radius: 8px; color: var(--ink); text-decoration: none; font-weight: 600; font-size: .95rem; white-space: nowrap; }
.site-nav a:hover, .site-nav a.active { color: var(--green-dark); background: var(--soft); }
.site-nav .btn-cta { background: var(--green); color: var(--anthracite); border-radius: 999px; padding: .55rem 1.1rem; margin-left: .4rem; }
.site-nav .btn-cta:hover { background: #9ed09c; color: var(--anthracite); }
.nav-burger { display: none; margin-left: auto; cursor: pointer; color: var(--anthracite); }
@media (max-width: 1100px) {
  .nav-burger { display: block; }
  .site-nav { display: none; position: absolute; left: 0; right: 0; top: 100%; background: #fff; flex-direction: column; align-items: stretch; padding: .75rem 1.25rem 1.25rem; border-bottom: 1px solid var(--line); box-shadow: 0 12px 24px rgba(0, 0, 0, .08); }
  .site-nav a { padding: .8rem .5rem; border-bottom: 1px solid var(--soft); }
  .site-nav .btn-cta { margin: .6rem 0 0; text-align: center; justify-content: center; }
  #navToggle:checked ~ .site-nav { display: flex; }
}

/* Accueil */
.hero { background: radial-gradient(circle at 85% 10%, rgba(140, 196, 138, .35), transparent 45%), linear-gradient(135deg, #1f2421 0%, #2b342e 100%); color: #fff; padding: 4.5rem 0 4rem; }
.hero h1 { color: #fff; }
.hero .lead { color: #d2dbd3; }
.hero .eyebrow { color: var(--green); }
.hero-grid { display: grid; grid-template-columns: 1.4fr 1fr; gap: 3rem; align-items: center; }
.hero-actions { display: flex; gap: .75rem; flex-wrap: wrap; margin: 1.6rem 0 1.2rem; }
.hero-points { list-style: none; padding: 0; margin: 0; display: flex; flex-wrap: wrap; gap: .5rem 1.4rem; color: #d2dbd3; font-size: .95rem; }
.hero-points li { display: flex; gap: .4rem; align-items: center; }
.hero-points svg { color: var(--green); }
.hero-card { background: #fff; color: var(--ink); border-radius: 18px; padding: 1.4rem; box-shadow: 0 20px 50px rgba(0, 0, 0, .3); }
.hero-card h3 { margin-bottom: .8rem; }
.quick-link { display: flex; gap: .9rem; align-items: center; padding: .8rem .7rem; border-radius: 12px; text-decoration: none; color: var(--ink); border: 1px solid var(--line); margin-bottom: .55rem; transition: border-color .12s, background .12s; }
.quick-link:hover { border-color: var(--green); background: var(--soft); }
.quick-link svg { color: var(--green-dark); flex: 0 0 auto; }
.quick-link span { display: flex; flex-direction: column; }
.quick-link small { color: var(--muted); }
@media (max-width: 900px) { .hero-grid { grid-template-columns: 1fr; } .hero { padding: 3rem 0; } }

.section { padding: 4.5rem 0; }
.section.alt { background: var(--soft); }
.section-head { text-align: center; margin-bottom: 2.2rem; }
.cards-4 { display: grid; gap: 1.2rem; grid-template-columns: repeat(auto-fit, minmax(230px, 1fr)); }
.cards-3 { display: grid; gap: 1.2rem; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); }
.service-card { display: flex; flex-direction: column; gap: .5rem; padding: 1.6rem; border-radius: var(--radius); background: #fff; border: 1px solid var(--line); text-decoration: none; color: var(--ink); transition: transform .15s, box-shadow .15s, border-color .15s; }
.service-card:hover { transform: translateY(-3px); box-shadow: 0 14px 30px rgba(31, 36, 33, .1); border-color: var(--green); }
.service-card p { color: var(--muted); margin: 0; flex: 1; }
.service-card .more { color: var(--green-dark); font-weight: 700; }
.service-card.compact { align-items: center; text-align: center; padding: 1.2rem; }
.service-icon { width: 58px; height: 58px; border-radius: 16px; background: rgba(140, 196, 138, .22); color: var(--green-dark); display: inline-flex; align-items: center; justify-content: center; }
.service-icon.small { width: 40px; height: 40px; border-radius: 12px; flex: 0 0 40px; }
.why-card { background: #fff; border-radius: var(--radius); padding: 1.5rem; border: 1px solid var(--line); }
.why-card p { color: var(--muted); margin: 0; }
.why-num { display: inline-flex; width: 38px; height: 38px; border-radius: 50%; background: var(--anthracite); color: var(--green); font-weight: 800; align-items: center; justify-content: center; margin-bottom: .7rem; }
.steps { list-style: none; padding: 0; margin: 0; display: grid; gap: 1rem; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); counter-reset: st; }
.steps li { counter-increment: st; position: relative; padding: 1.4rem 1.2rem 1.2rem; border-top: 4px solid var(--green); background: #fff; border-radius: 0 0 var(--radius) var(--radius); box-shadow: 0 6px 20px rgba(31, 36, 33, .06); display: flex; flex-direction: column; gap: .3rem; }
.steps li::before { content: "0" counter(st); font-size: 2rem; font-weight: 800; color: rgba(63, 127, 61, .25); line-height: 1; }
.steps span { color: var(--muted); }
.feature { display: flex; gap: 1rem; padding: 1.3rem; border-radius: var(--radius); border: 1px solid var(--line); background: #fff; }
.feature p { margin: 0; color: var(--muted); }
.gallery { display: grid; gap: .8rem; grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); margin-bottom: 1.5rem; }
.gallery figure { margin: 0; border-radius: 12px; overflow: hidden; background: #ddd; position: relative; }
.gallery img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; transition: transform .3s; }
.gallery figure:hover img { transform: scale(1.04); }
.gallery figcaption { position: absolute; left: 0; right: 0; bottom: 0; padding: 1.2rem .8rem .6rem; color: #fff; font-size: .88rem; background: linear-gradient(transparent, rgba(0, 0, 0, .7)); }
.gallery figcaption:empty { display: none; }
.trust { display: grid; gap: 2rem; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); }
.badges { list-style: none; padding: 0; display: flex; flex-wrap: wrap; gap: .5rem; }
.badges li { display: inline-flex; gap: .35rem; align-items: center; padding: .45rem .9rem; border-radius: 999px; background: var(--soft); border: 1px solid var(--line); font-weight: 600; font-size: .92rem; }
.badges svg { color: var(--green-dark); }

/* Pages internes */
.page-hero { background: linear-gradient(135deg, #1f2421, #2d3730); color: #fff; padding: 3.5rem 0 3rem; }
.page-hero h1 { color: #fff; max-width: 860px; }
.page-hero .lead { color: #d2dbd3; }
.page-hero .eyebrow { color: var(--green); }
.page-hero .btn { margin-top: 1rem; }
.faq { border-bottom: 1px solid var(--line); padding: 1rem 0; }
.faq summary { font-weight: 700; cursor: pointer; font-size: 1.05rem; }
.faq p { color: var(--muted); margin: .6rem 0 0; }
.prose h2 { margin-top: 2rem; font-size: 1.4rem; }
.prose li { margin-bottom: .35rem; }
.row-links { display: flex; gap: .6rem; flex-wrap: wrap; }

/* Contact */
.contact-grid { display: grid; grid-template-columns: 1.5fr 1fr; gap: 2.5rem; align-items: start; }
@media (max-width: 900px) { .contact-grid { grid-template-columns: 1fr; } }
.contact-form { display: flex; flex-direction: column; gap: 1rem; }
.contact-form .two { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; }
@media (max-width: 600px) { .contact-form .two { grid-template-columns: 1fr; } }
.contact-form label { display: flex; flex-direction: column; gap: .35rem; font-weight: 600; font-size: .92rem; }
.contact-form input, .contact-form select, .contact-form textarea { font: inherit; padding: .8rem .9rem; border-radius: 10px; border: 1px solid #cfd8cf; background: #fff; color: var(--ink); }
.contact-form input:focus, .contact-form select:focus, .contact-form textarea:focus { outline: 2px solid var(--green); border-color: var(--green); }
.contact-form .consent { flex-direction: row; align-items: flex-start; gap: .5rem; font-weight: 400; color: var(--muted); }
.contact-form .consent input { margin-top: .3rem; }
.contact-form .btn { align-self: flex-start; }
.contact-form .field-hint { margin: -.5rem 0 0; font-size: .85rem; color: var(--muted); }
.contact-form .field-hint.warn { color: #b3261e; font-weight: 600; }
.notfound-actions { display: flex; flex-wrap: wrap; gap: .7rem; margin-top: 1.4rem; }
.notfound-actions .btn { margin-top: 0; }
.legal-version { color: var(--muted); font-size: .9rem; }
.prose h2 .art { color: var(--green-dark); margin-right: .35rem; }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.contact-side { display: flex; flex-direction: column; gap: .8rem; }
.contact-line { display: flex; gap: 1rem; align-items: center; padding: 1rem 1.1rem; border-radius: var(--radius); background: var(--soft); text-decoration: none; color: var(--ink); }
.contact-line svg { color: var(--green-dark); flex: 0 0 auto; }
.contact-line span { display: flex; flex-direction: column; }
.contact-line small { color: var(--muted); }
.notice { padding: 1.2rem 1.4rem; border-radius: var(--radius); margin-bottom: 1rem; }
.notice.ok { background: rgba(140, 196, 138, .2); border: 1px solid var(--green); }
.notice.error { background: #fdecec; border: 1px solid #f3b4b4; }

/* Bandeau d'appel + pied */
.cta-band { background: var(--green); padding: 2.6rem 0; }
.cta-band .container { display: flex; align-items: center; justify-content: space-between; gap: 1.5rem; flex-wrap: wrap; }
.cta-band h2 { margin: 0; }
.cta-band p { margin: .3rem 0 0; color: var(--anthracite); }
.cta-band .btn.accent { background: var(--anthracite); color: #fff; }
.cta-actions { display: flex; gap: .7rem; flex-wrap: wrap; }
.site-footer { background: var(--anthracite); color: #b9c4bb; padding: 3rem 0 1rem; font-size: .93rem; }
.footer-grid { display: grid; gap: 2rem; grid-template-columns: 1.4fr 1fr 1fr 1fr; }
@media (max-width: 800px) { .footer-grid { grid-template-columns: 1fr 1fr; } }
.footer-grid div { display: flex; flex-direction: column; gap: .35rem; }
.footer-grid h4 { color: #fff; margin: 0 0 .4rem; }
.footer-grid a { color: #b9c4bb; text-decoration: none; }
.footer-grid a:hover { color: var(--green); }
.footer-logo { height: 64px; width: auto; align-self: flex-start; margin-bottom: .5rem; }
.footer-logo.boxed { background: #fff; padding: 6px 12px; border-radius: 10px; }
.muted-link { opacity: .6; font-size: .85rem; }
.footer-bottom { display: flex; justify-content: space-between; gap: 1rem; flex-wrap: wrap; border-top: 1px solid #343c36; margin-top: 2rem; padding-top: 1rem; font-size: .85rem; }
.footer-bottom a { color: #b9c4bb; }
.call-fab { display: none; position: fixed; right: 1rem; bottom: 1rem; z-index: 50; width: 58px; height: 58px; border-radius: 50%; background: var(--green); color: var(--anthracite); align-items: center; justify-content: center; box-shadow: 0 8px 22px rgba(0, 0, 0, .3); }
@media (max-width: 800px) { .call-fab { display: flex; } }

/* Avis clients */
.rating-summary { display: inline-flex; align-items: center; gap: .5rem; font-weight: 700; margin-top: .6rem; }
.stars { color: #d6dcd6; letter-spacing: .08em; font-size: 1.1rem; }
.stars .on { color: #f5b301; }
.reviews { display: grid; gap: 1.2rem; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); }
.review { margin: 0; background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 1.3rem 1.4rem; display: flex; flex-direction: column; gap: .6rem; }
.review blockquote { margin: 0; color: var(--ink); line-height: 1.55; }
.review figcaption { color: var(--muted); font-size: .9rem; font-weight: 600; }

/* Simulateur de primes */
.card-light { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 1.6rem; box-shadow: 0 6px 24px rgba(31, 36, 33, .06); }
.sim fieldset { border: 0; padding: 0; margin: 0 0 1.6rem; }
.sim legend { font-weight: 800; font-size: 1.1rem; margin-bottom: .7rem; padding: 0; }
.sim-options { display: flex; flex-wrap: wrap; gap: .6rem; }
.sim-opt { cursor: pointer; }
.sim-opt input { position: absolute; opacity: 0; pointer-events: none; }
.sim-opt span { display: inline-block; padding: .65rem 1.1rem; border-radius: 999px; border: 2px solid var(--line); background: var(--soft); font-weight: 600; transition: all .15s; }
.sim-opt:hover span { border-color: var(--green); }
.sim-opt input:checked + span { background: var(--green); border-color: var(--green-mid); color: var(--anthracite); }
.sim-opt input:focus-visible + span { outline: 2px solid var(--green-dark); outline-offset: 2px; }
.sim-check { display: flex; align-items: center; gap: .5rem; margin-top: .9rem; cursor: pointer; }
.sim-result { margin-top: 1.6rem; display: flex; flex-direction: column; gap: 1rem; }
.sim-block { background: var(--soft); border-radius: var(--radius); padding: 1.2rem 1.4rem; }
.sim-block h3 { margin: 0 0 .5rem; }
.sim-block ul { margin: .4rem 0 .8rem; padding-left: 1.2rem; }
.sim-block li { margin: .25rem 0; }
.sim-cta { background: var(--anthracite); color: #fff; border-radius: var(--radius); padding: 1.4rem; display: flex; flex-direction: column; gap: .8rem; align-items: flex-start; }
.sim-cta p { margin: 0; color: #d6dcd6; }
.small-print { font-size: .82rem; color: var(--muted); margin-top: 1.4rem; }

/* Zones & communes */
.commune-list { list-style: none; padding: 0; margin: 0; display: grid; gap: .5rem; grid-template-columns: repeat(auto-fill, minmax(190px, 1fr)); }
.commune-list a { display: block; padding: .6rem .9rem; border: 1px solid var(--line); border-radius: 10px; text-decoration: none; color: var(--ink); font-weight: 600; background: #fff; }
.commune-list a:hover { border-color: var(--green); color: var(--green-dark); }
.row-links { display: flex; flex-wrap: wrap; gap: .7rem; margin-top: 1.2rem; }
.form-note { font-size: .9rem; background: rgba(140, 196, 138, .18); border-left: 3px solid var(--green); padding: .6rem .8rem; border-radius: 6px; margin: 0 0 .8rem; }

/* Réalisations : réseau de tuyaux animé (chaudière → colonne → un manchon par article) */
.pn-section { background: radial-gradient(circle at 50% 0%, rgba(232, 69, 44, .14), transparent 38%), linear-gradient(180deg, #1f2421, #27302a); color: #fff; overflow: hidden; }
.pn-section .section-head h2 { color: #fff; }
.pn-section .eyebrow { color: var(--green); }
.pn-section .section-head .lead { color: #cfd8d0; margin: 0 auto; }
.pipe-net { --px: 50%; --pw: 18px; --gap: 72px; --ty: 92px; position: relative; max-width: 1060px; margin: 0 auto 2.4rem; }
.pn-boiler { width: 150px; margin: 0 auto; position: relative; z-index: 2; }
.pn-boiler svg { width: 100%; height: auto; display: block; filter: drop-shadow(0 18px 30px rgba(0, 0, 0, .4)); }
.pn-brand { font: 800 15px "Segoe UI", system-ui, sans-serif; fill: var(--green); letter-spacing: 1px; }
.pn-temp { font: 700 15px "Segoe UI", system-ui, sans-serif; fill: #ffb27a; }
.pn-needle { transform-origin: 80px 78px; transform: rotate(38deg); transition: transform 1.6s cubic-bezier(.3, 1.6, .5, 1) .4s; }
.pn-door { transform-origin: 44px 131px; transform: scaleX(.04); opacity: 0; transition: transform .9s ease .2s, opacity .9s ease .2s; }
.pn-flames path { transform-box: fill-box; transform-origin: 50% 100%; animation: pnFlicker 1.1s ease-in-out infinite alternate; }
.pn-flames .f2 { animation-duration: .8s; }
.pn-flames .f3 { animation-duration: 1.3s; animation-delay: -.4s; }
.pn-anim:not(.live) .pn-needle { transform: rotate(-62deg); }
.pn-anim:not(.live) .pn-door { transform: none; opacity: 1; }
@keyframes pnFlicker { from { transform: scaleY(.82) skewX(-4deg); opacity: .82; } to { transform: scaleY(1.1) skewX(4deg); opacity: 1; } }

.pn-line { --fill: 1; position: relative; padding: 30px 0 46px; margin-top: -4px; }
.pn-main { position: absolute; top: 0; bottom: 16px; left: var(--px); width: var(--pw); transform: translateX(-50%); background: linear-gradient(90deg, #262c28, #56615a 42%, #2a302c); box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .07), 0 6px 18px rgba(0, 0, 0, .35); overflow: hidden; }
.pn-fill { position: absolute; left: 4px; right: 4px; top: 0; height: calc(var(--fill) * 100%); border-radius: 0 0 6px 6px; background: repeating-linear-gradient(180deg, #ff8340 0 16px, #e8452c 16px 32px); box-shadow: 0 0 16px rgba(255, 106, 51, .85); animation: pnFlowY .9s linear infinite; transition: height .2s linear; }
@keyframes pnFlowY { to { background-position: 0 32px; } }
@keyframes pnFlowX { to { background-position: 28px 0; } }

.pn-item { position: relative; display: flex; justify-content: flex-start; min-height: 180px; }
.pn-item.right { justify-content: flex-end; }
.pn-item + .pn-item { margin-top: -130px; }
.pn-tee { position: absolute; z-index: 3; top: var(--ty); left: var(--px); width: 36px; height: 44px; transform: translate(-50%, -50%); border-radius: 8px;
  background: repeating-linear-gradient(180deg, transparent 0 6px, rgba(0, 0, 0, .16) 6px 8px), linear-gradient(90deg, #8f6f25, #f0d07a 48%, #9c7a2c);
  box-shadow: 0 0 0 4px rgba(255, 106, 51, .22), 0 0 24px rgba(255, 106, 51, .65), 0 4px 10px rgba(0, 0, 0, .4); transition: box-shadow .4s, filter .4s; }
.pn-nut { position: absolute; top: 50%; width: 16px; height: 26px; transform: translateY(-50%); background: linear-gradient(180deg, #a5822f, #f0d07a 50%, #8f6f25);
  clip-path: polygon(0 18%, 100% 0, 100% 100%, 0 82%); }
.pn-item.left .pn-nut { right: calc(100% - 2px); clip-path: polygon(0 0, 100% 18%, 100% 82%, 0 100%); }
.pn-item.right .pn-nut { left: calc(100% - 2px); }
.pn-tee::after { content: ""; position: absolute; inset: -6px; border-radius: 12px; border: 2px solid rgba(255, 131, 64, .9); opacity: 0; }
.pn-anim .pn-item.on .pn-tee::after { animation: pnPulse .9s ease-out 1; }
@keyframes pnPulse { from { opacity: 1; transform: scale(.9); } to { opacity: 0; transform: scale(1.6); } }
.pn-branch { position: absolute; z-index: 2; top: var(--ty); height: 14px; width: calc(var(--gap) + 6px); transform: translateY(-50%); border-radius: 7px; overflow: hidden;
  background: linear-gradient(180deg, #262c28, #56615a 45%, #2a302c); }
.pn-item.left .pn-branch { right: var(--px); }
.pn-item.right .pn-branch { left: var(--px); }
.pn-branch-fill { position: absolute; top: 3px; bottom: 3px; width: 100%; background: repeating-linear-gradient(90deg, #ff8340 0 14px, #e8452c 14px 28px); box-shadow: 0 0 10px rgba(255, 106, 51, .8); animation: pnFlowX .9s linear infinite; transition: width .45s ease; }
.pn-item.left .pn-branch-fill { right: 0; animation-direction: reverse; }
.pn-item.right .pn-branch-fill { left: 0; }

.pn-card { position: relative; z-index: 1; width: calc(50% - var(--gap)); display: flex; flex-direction: column; background: #fff; color: var(--ink); text-decoration: none; border-radius: 16px; overflow: hidden;
  box-shadow: 0 18px 44px rgba(0, 0, 0, .38); transform-origin: 100% var(--ty); transition: transform .6s cubic-bezier(.2, .9, .3, 1.15), opacity .4s ease, filter .4s ease; }
.pn-item.right .pn-card { transform-origin: 0 var(--ty); }
.pn-img { display: block; aspect-ratio: 16 / 10; overflow: hidden; background: #3a423d; }
.pn-img img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s ease, clip-path .6s ease; clip-path: inset(0); }
.pn-card:hover .pn-img img { transform: scale(1.05); }
.pn-card:hover .pn-title { color: var(--green-dark); }
.pn-card:focus-visible { outline: 3px solid var(--green); outline-offset: 3px; }
.pn-body { display: flex; flex-direction: column; gap: .35rem; padding: 1rem 1.2rem 1.25rem; }
.pn-body > * { transition: opacity .4s ease, transform .4s ease; }
.pn-chip { align-self: flex-start; display: inline-flex; gap: .3rem; align-items: center; font-size: .72rem; font-weight: 800; text-transform: uppercase; letter-spacing: .08em; color: var(--green-dark); background: var(--soft); padding: .22rem .6rem; border-radius: 999px; }
.pn-title { font-size: 1.12rem; color: var(--anthracite); line-height: 1.25; transition: color .15s; }
.pn-excerpt { color: var(--muted); font-size: .93rem; line-height: 1.5; }
.pn-more { color: var(--green-dark); font-weight: 700; font-size: .92rem; margin-top: .15rem; }
.pn-cta { background: linear-gradient(135deg, var(--green), #c3e3c1); }
.pn-cta .pn-chip { background: rgba(255, 255, 255, .65); }
.pn-cta .pn-excerpt { color: var(--ink); }
.pn-cta .pn-more { color: var(--anthracite); }
.pn-cap { position: absolute; bottom: 4px; left: var(--px); width: 30px; height: 20px; transform: translateX(-50%); border-radius: 4px 4px 11px 11px; background: linear-gradient(90deg, #8f6f25, #f0d07a 48%, #9c7a2c); box-shadow: 0 4px 10px rgba(0, 0, 0, .4); }

/* États « fermés » (seulement quand l'animation est active) */
.pn-anim .pn-item:not(.on) .pn-tee { filter: grayscale(.7) brightness(.75); box-shadow: 0 4px 10px rgba(0, 0, 0, .4); }
.pn-anim .pn-item:not(.on) .pn-branch-fill { width: 0; }
.pn-anim .pn-item:not(.on) .pn-card { opacity: 0; transform: translateX(28%) scale(.3) rotate(-4deg); filter: blur(6px); }
.pn-anim .pn-item.right:not(.on) .pn-card { transform: translateX(-28%) scale(.3) rotate(4deg); }
.pn-anim .pn-item:not(.on) .pn-img img { clip-path: inset(0 50% 0 50%); }
.pn-anim .pn-item:not(.on) .pn-body > * { opacity: 0; transform: translateY(12px); }
.pn-anim .pn-item.on .pn-card { transition-delay: .3s; }
.pn-anim .pn-item.on .pn-img img { transition-delay: 0s, .55s; }
.pn-anim .pn-item.on .pn-body > :nth-child(1) { transition-delay: .6s; }
.pn-anim .pn-item.on .pn-body > :nth-child(2) { transition-delay: .7s; }
.pn-anim .pn-item.on .pn-body > :nth-child(3) { transition-delay: .8s; }
.pn-anim .pn-item.on .pn-body > :nth-child(4) { transition-delay: .9s; }

@media (max-width: 820px) {
  .pipe-net { --px: 28px; --pw: 14px; --gap: 0px; --ty: 64px; }
  .pn-boiler { width: 96px; margin: 0 0 0 calc(var(--px) - 48px); }
  .pn-item, .pn-item.right { justify-content: flex-end; min-height: 0; }
  .pn-item + .pn-item { margin-top: 1.5rem; }
  .pn-card { width: calc(100% - 66px); }
  .pn-item.left .pn-card, .pn-item.right .pn-card { transform-origin: 0 var(--ty); }
  .pn-tee { width: 28px; height: 34px; }
  .pn-item.left .pn-branch, .pn-item.right .pn-branch { left: var(--px); right: auto; width: 40px; height: 12px; }
  .pn-item.left .pn-branch-fill { left: 0; right: auto; animation-direction: normal; }
  .pn-item.left .pn-nut { left: calc(100% - 2px); right: auto; clip-path: polygon(0 18%, 100% 0, 100% 100%, 0 82%); }
  .pn-anim .pn-item.left:not(.on) .pn-card, .pn-anim .pn-item.right:not(.on) .pn-card { transform: translateX(-30%) scale(.3) rotate(3deg); }
}
@media (prefers-reduced-motion: reduce) {
  .pn-fill, .pn-branch-fill, .pn-flames path { animation: none; }
}

/* Accueil : pompe à chaleur éclatée au défilement */
.hp-scroll { position: relative; height: 320vh; background: radial-gradient(circle at 70% 40%, rgba(140, 196, 138, .18), transparent 50%), linear-gradient(180deg, #27302a, #1f2421); color: #fff; }
.hp-sticky { position: sticky; top: 72px; height: calc(100vh - 72px); max-width: 1180px; margin: 0 auto; padding: 0 1.25rem; display: grid; grid-template-columns: minmax(0, .85fr) minmax(0, 1.5fr); gap: 2rem; align-items: center; overflow: hidden; }
.hp-texts { position: relative; min-height: 15rem; }
.hp-text { position: absolute; top: 0; left: 0; right: 0; opacity: 0; will-change: opacity, transform; }
.hp-text h2 { color: #fff; font-size: clamp(1.8rem, 3.6vw, 2.9rem); }
.hp-text p { color: #cfd8d0; font-size: 1.1rem; margin: 0 0 1.2rem; }
.hp-text .eyebrow { color: var(--green); }
.hp-visual svg { display: block; width: 100%; height: auto; max-height: calc(100vh - 150px); margin: 0 auto; will-change: transform; }
.hp-label { opacity: calc((var(--e, 0) - .7) * 3.4); }
.hp-label text { fill: #e8efe8; font-size: 17px; font-weight: 700; }
.hp-label line { stroke: var(--green); stroke-width: 2; stroke-dasharray: 4 4; }
.hp-bar { position: absolute; left: 1.25rem; right: 1.25rem; bottom: 1.2rem; height: 3px; border-radius: 3px; background: rgba(255, 255, 255, .12); }
.hp-bar span { display: block; height: 100%; width: calc(var(--p, 0) * 100%); border-radius: 3px; background: var(--green); }
@media (max-width: 820px) {
  .hp-scroll { height: 240vh; }
  .hp-sticky { grid-template-columns: 1fr; grid-template-rows: auto auto; align-content: center; gap: 1rem; text-align: center; }
  .hp-visual { order: -1; }
  .hp-visual svg { max-height: 46vh; }
  .hp-texts { min-height: 13rem; }
  .hp-label { display: none; }
}
.hp-3d .hp-visual { position: relative; height: min(80vh, 780px); }
.hp-3d .hp-visual svg { display: none; }
.hp-canvas { display: block; width: 100%; height: 100%; }
.hp-tags { position: absolute; inset: 0; pointer-events: none; }
.hp-tag { position: absolute; left: 0; top: 0; opacity: 0; white-space: nowrap; font-size: .82rem; font-weight: 700; color: #e8efe8; background: rgba(31, 36, 33, .78); border: 1px solid rgba(140, 196, 138, .55); padding: .15rem .6rem; border-radius: 999px; }
@media (max-width: 820px) {
  .hp-3d .hp-visual { height: 50vh; }
  .hp-tag { font-size: .7rem; padding: .1rem .45rem; }
}
.hp-static { height: auto; }
.hp-static .hp-sticky { position: static; height: auto; padding: 4rem 1.25rem; }
.hp-static .hp-texts { display: grid; gap: 1.5rem; min-height: 0; }
.hp-static .hp-text { position: static; opacity: 1; }
.hp-static .hp-bar, .hp-static .hp-visual:empty { display: none; }
.hp-compact .hp-sticky { padding: 3.5rem 1.25rem; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); }
.hp-compact .hp-texts { gap: 1.1rem; }
.hp-compact .hp-text h2 { font-size: clamp(1.25rem, 2vw, 1.55rem); margin: .15rem 0 .3rem; }
.hp-compact .hp-text p { font-size: 1rem; margin-bottom: .4rem; }
.hp-compact .hp-visual svg { max-height: 360px; transform: none; }
.hp-compact .hp-label { display: none; }
.hp-compact.hp-3d .hp-visual { height: 380px; }
@media (max-width: 820px) {
  .hp-compact .hp-sticky { grid-template-columns: 1fr; padding: 2.5rem 1.25rem; }
  .hp-compact.hp-3d .hp-visual { height: 280px; }
  .hp-compact .hp-visual svg { max-height: 280px; }
}

/* Page article */
.crumbs { margin-bottom: .8rem; font-size: .9rem; }
.crumbs a { color: var(--green); font-weight: 700; text-decoration: none; }
.draft-note { display: inline-block; background: #fff3cd; color: #6b5200; padding: .35rem .8rem; border-radius: 8px; font-weight: 600; }
.article-grid { display: grid; grid-template-columns: minmax(0, 1.75fr) minmax(0, 1fr); gap: 2.6rem; align-items: start; }
.article-photo { margin: 0 0 1.8rem; border-radius: 16px; overflow: hidden; box-shadow: 0 14px 34px rgba(31, 36, 33, .14); background: var(--soft); }
.article-photo img { width: 100%; max-height: 80vh; object-fit: contain; margin: 0 auto; }
.article-video { margin: 0 0 1.8rem; }
.article-video video { display: block; width: 100%; max-height: 80vh; border-radius: 16px; background: #000; box-shadow: 0 14px 34px rgba(31, 36, 33, .14); }
.article-video figcaption { margin-top: .5rem; font-size: .92rem; color: var(--muted, #5f6b63); }
.article-body { font-size: 1.05rem; }
.article-body h2 { font-size: 1.35rem; margin: 1.7rem 0 .5rem; }
.article-body p { margin: 0 0 1rem; }
.article-aside { position: sticky; top: 96px; display: flex; flex-direction: column; gap: 1rem; }
.article-aside h3 { margin-bottom: .8rem; }
.article-aside p { margin: 0 0 .6rem; }
.check-list { list-style: none; padding: 0; margin: 0; display: grid; gap: .55rem; }
.check-list li { display: flex; gap: .55rem; align-items: flex-start; line-height: 1.4; }
.check-list svg { color: var(--green-dark); flex-shrink: 0; margin-top: .15rem; }
.article-cta { display: flex; flex-direction: column; align-items: stretch; gap: .5rem; }
.article-cta .btn { justify-content: center; }
.related-grid { display: grid; gap: 1.1rem; grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); margin-bottom: 1.6rem; }
.related-card { display: flex; flex-direction: column; background: #fff; border-radius: 14px; overflow: hidden; text-decoration: none; color: var(--ink); box-shadow: 0 6px 20px rgba(31, 36, 33, .08); transition: transform .15s, box-shadow .15s; }
.related-card:hover { transform: translateY(-3px); box-shadow: 0 12px 28px rgba(31, 36, 33, .14); }
.related-card img { width: 100%; aspect-ratio: 16 / 10; object-fit: cover; }
.related-card span { padding: .9rem 1rem 1.1rem; display: flex; flex-direction: column; gap: .3rem; }
.related-card small { color: var(--muted); font-size: .88rem; line-height: 1.45; }
@media (max-width: 900px) {
  .article-grid { grid-template-columns: 1fr; }
  .article-aside { position: static; }
}

/* Espace client & réservation */
.site-nav a svg { vertical-align: -3px; }
.nav-label-sm { display: none; }
@media (max-width: 1100px) { .nav-label-sm { display: inline; } }
@media (min-width: 1101px) and (max-width: 1280px) { .site-nav a { padding: .5rem .45rem; font-size: .88rem; } }
.page-hero.slim { padding: 2.2rem 0 1.8rem; }
.client-area { padding-top: 2rem; }
.client-nav { display: flex; flex-wrap: wrap; gap: .3rem; margin-bottom: 1.4rem; border-bottom: 1px solid var(--line); padding-bottom: .6rem; }
.client-nav a { padding: .5rem .85rem; border-radius: 999px; text-decoration: none; color: var(--ink); font-weight: 600; font-size: .93rem; }
.client-nav a.active, .client-nav a:hover { background: var(--soft); color: var(--green-dark); }
.client-nav .logout { margin-left: auto; color: var(--muted); }
.client-card { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 1.4rem 1.5rem; margin-bottom: 1.2rem; }
.client-card h2 { font-size: 1.2rem; margin: 0 0 .9rem; }
.client-card.narrow-card { max-width: 560px; margin-left: auto; margin-right: auto; }
.client-grid { display: grid; grid-template-columns: 1.4fr 1fr; gap: 1.2rem; align-items: start; }
.client-grid > .client-card { margin-bottom: 0; }
@media (max-width: 860px) { .client-grid { grid-template-columns: 1fr; } }
.card-title { display: flex; justify-content: space-between; align-items: center; gap: 1rem; margin-bottom: .6rem; }
.card-title h2 { margin: 0; }
.small-links { font-size: .92rem; color: var(--muted); margin-top: 1rem; }
.link-btn { background: none; border: 0; padding: 0; font: inherit; color: var(--green-dark); text-decoration: underline; cursor: pointer; }
.link-btn.danger, .danger { color: #b42318; }
.muted { color: var(--muted); }
.small { font-size: .88rem; }
.mt { margin-top: 1.2rem; }
.booking-row { display: flex; align-items: center; gap: 1rem; padding: .8rem 0; border-bottom: 1px solid var(--soft); }
.booking-row:last-child { border-bottom: 0; }
.booking-row.past { opacity: .75; }
.booking-main { display: flex; flex-direction: column; gap: .15rem; flex: 1; min-width: 0; }
.booking-date { width: 56px; text-align: center; background: var(--soft); border-radius: 10px; padding: .35rem 0; display: flex; flex-direction: column; }
.booking-date strong { font-size: 1.4rem; line-height: 1; color: var(--green-dark); }
.booking-date span { font-size: .75rem; text-transform: uppercase; color: var(--muted); }
.code-input { font-size: 1.6rem !important; letter-spacing: .4em; text-align: center; }
.qr-box { width: 180px; margin: .6rem 0; }
.qr-box svg { width: 100%; height: auto; }
.steps-list { padding-left: 1.2rem; }
.steps-list li { margin-bottom: .6rem; }
.offer-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 1.2rem; margin-bottom: 2rem; }
.offer-card { border: 1px solid var(--line); border-radius: var(--radius); padding: 1.5rem; background: #fff; display: flex; flex-direction: column; gap: .6rem; }
.offer-card h3 { margin: 0; }
.offer-card .btn { align-self: flex-start; margin-top: auto; }
.offer-price { font-size: 2rem; font-weight: 800; color: var(--green-dark); margin: 0; }
.offer-price small { font-size: .9rem; color: var(--muted); font-weight: 600; }
.booking-info { max-width: 820px; }
.urgent-note { background: #fff4e5; border-left: 3px solid #f59e0b; padding: .7rem .9rem; border-radius: 6px; }
.booking-form .client-card h2 { display: flex; align-items: center; gap: .6rem; }
.step-num { width: 28px; height: 28px; border-radius: 50%; background: var(--green); color: var(--anthracite); display: inline-flex; align-items: center; justify-content: center; font-size: .95rem; }
.choice-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(230px, 1fr)); gap: .8rem; }
.choice { position: relative; cursor: pointer; }
.choice input { position: absolute; opacity: 0; }
.choice span { display: flex; flex-direction: column; gap: .2rem; border: 2px solid var(--line); border-radius: 12px; padding: .9rem 1rem; height: 100%; transition: border-color .12s, background .12s; }
.choice em { font-style: normal; font-weight: 800; color: var(--green-dark); }
.choice small { color: var(--muted); }
.choice input:checked + span { border-color: var(--green); background: rgba(140, 196, 138, .12); }
.choice input:focus-visible + span { outline: 2px solid var(--green-dark); }
.cal { max-width: 460px; }
.cal-head { display: flex; align-items: center; justify-content: space-between; margin-bottom: .6rem; }
.cal-title { text-transform: capitalize; }
.cal-nav { width: 38px; height: 38px; border-radius: 50%; border: 1px solid var(--line); background: #fff; font-size: 1.3rem; cursor: pointer; }
.cal-nav:disabled { opacity: .3; cursor: default; }
.cal-grid { display: grid; grid-template-columns: repeat(7, 1fr); gap: .3rem; }
.cal-dow { text-align: center; font-size: .75rem; text-transform: uppercase; color: var(--muted); padding-bottom: .2rem; }
.cal-day { aspect-ratio: 1; border-radius: 10px; border: 1px solid transparent; background: none; font: inherit; color: #b6beb8; }
.cal-day.free { background: var(--soft); color: var(--ink); border-color: var(--green); font-weight: 700; cursor: pointer; }
.cal-day.free:hover { background: rgba(140, 196, 138, .3); }
.cal-day.selected { background: var(--green) !important; color: var(--anthracite); }
.cal-slots { margin-top: 1rem; }
.cal-slot-list { display: flex; flex-wrap: wrap; gap: .5rem; }
.cal-slot { padding: .55rem 1rem; border-radius: 999px; border: 2px solid var(--green); background: #fff; font: inherit; font-weight: 700; cursor: pointer; }
.cal-slot.selected { background: var(--green); }
.booking-summary { background: var(--soft); border-radius: 10px; padding: .9rem 1rem; margin: .8rem 0; }
.contact-form-label { display: flex; flex-direction: column; gap: .35rem; font-weight: 600; font-size: .92rem; }
.contact-form-label textarea, .booking-form textarea { font: inherit; padding: .8rem .9rem; border-radius: 10px; border: 1px solid #cfd8cf; }
.booking-form .consent { display: flex; gap: .5rem; align-items: flex-start; color: var(--muted); margin: .6rem 0 1rem; }
.notice a { color: var(--green-dark); font-weight: 700; }

/* Bouton « œil » des champs mot de passe (pwd-eye.js) */
.pwd-wrap { position: relative; display: block; }
.pwd-wrap input { width: 100%; padding-right: 2.75rem; }
.pwd-eye { position: absolute; right: .3rem; top: 50%; transform: translateY(-50%); background: none; border: 0; padding: .4rem; margin: 0; cursor: pointer; color: inherit; opacity: .6; line-height: 0; min-height: 0; box-shadow: none; }
.pwd-eye:hover, .pwd-eye:focus-visible { opacity: 1; }
