/* ==========================================================================
   Clim Master — landing « pompe à chaleur » (page d'accueil) + merci-pac.html
   Mobile d'abord. index.php insère ce fichier dans la page (aucune feuille
   bloquante) ; merci-pac.html le charge par <link>. Après toute modification :
   incrémenter ?v= dans merci-pac.html (cache CDN d'un an par URL).
   Chemins absolus : le fichier est lu depuis / et depuis /assets/css/.
   ========================================================================== */

@font-face {
  font-family: "Manrope";
  font-style: normal;
  font-weight: 200 800;
  font-display: swap;
  src: url("/assets/fonts/manrope-latin.woff2?v=1") format("woff2");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: "Manrope";
  font-style: normal;
  font-weight: 200 800;
  font-display: swap;
  src: url("/assets/fonts/manrope-latin-ext.woff2?v=1") format("woff2");
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}

/* Polices de repli aux métriques de Manrope (largeur mesurée : Manrope 800 = 2089, Roboto bold 1850,
   Arial/Helvetica/Liberation bold 2065 pour la même phrase ; ascent 1,075 em, descent 0,30 em) :
   le texte occupe la même place avant et après le chargement de Manrope → aucun décalage (CLS). */
@font-face { font-family: "Manrope Repli Roboto"; src: local("Roboto"); size-adjust: 112.9%; ascent-override: 107.5%; descent-override: 30%; line-gap-override: 0%; }
@font-face { font-family: "Manrope Repli Helvetica"; src: local("Helvetica Neue"), local("HelveticaNeue"), local("Helvetica"); size-adjust: 101.2%; ascent-override: 107.5%; descent-override: 30%; line-gap-override: 0%; }
@font-face { font-family: "Manrope Repli Arial"; src: local("Arial"), local("Liberation Sans"), local("LiberationSans"); size-adjust: 101.2%; ascent-override: 107.5%; descent-override: 30%; line-gap-override: 0%; }

/* Bleu = l'air, ambre = la chaleur (et l'appel) : les deux couleurs de la marque. */
:root {
  --bleu: #0a6ab1;
  --bleu-f: #06487a;
  --nuit: #0a3668;
  --encre: #1e2a33;
  --texte: #3a4651;
  --muted: #5f6d7b;
  --ligne: #e3dcd1;
  --fond: #faf6ef;
  --carte: #fffdf9;
  --givre: #f2ede4;
  --vert-t: #0b7350;
  --bleu-50: #e8f3fc;
  --ambre: #ffab1f;
  --ambre-h: #ffb93d;
  --or: #a56a00;
  --vert: #0f8a5f;
  --rouge: #c0322a;
  --f: "Manrope", "Manrope Repli Roboto", "Manrope Repli Helvetica", "Manrope Repli Arial", system-ui, -apple-system, "Segoe UI", Roboto, Arial, sans-serif;
  --wrap: 1140px;
  --pad: 1rem;
  --hdr: 58px;
  --r: 12px;
  --r-lg: 18px;
}
@media (min-width: 768px) { :root { --pad: 1.5rem; --hdr: 66px; } }

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: calc(var(--hdr) + 12px); }
body { margin: 0; font: 500 1rem/1.6 var(--f); color: var(--texte); background: var(--fond); -webkit-font-smoothing: antialiased; overflow-x: clip; }
img, svg { display: block; max-width: 100%; }
h1, h2, h3 { margin: 0; color: var(--encre); font-weight: 800; line-height: 1.15; letter-spacing: -.02em; text-wrap: balance; }
h2 { font-size: clamp(1.45rem, 1.1rem + 1.4vw, 2.1rem); }
h3 { font-size: 1.06rem; letter-spacing: -.01em; }
p { margin: 0; text-wrap: pretty; }
a { color: var(--bleu); text-underline-offset: 3px; }
:focus-visible { outline: 3px solid var(--bleu); outline-offset: 3px; border-radius: 6px; }
.sr { position: absolute !important; width: 1px; height: 1px; margin: -1px; padding: 0; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }
.sr--focus:focus-visible { position: fixed !important; top: 10px; left: 10px; z-index: 100; width: auto; height: auto; margin: 0; padding: .6rem 1rem; clip: auto; overflow: visible; background: var(--nuit); color: #fff; border-radius: var(--r); }
.wrap { max-width: var(--wrap); margin: 0 auto; padding: 0 var(--pad); }
.wrap--txt { max-width: 800px; }
.lim > * { max-width: 780px; }

/* --- Boutons ------------------------------------------------------------ */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: .5rem; min-height: 52px; padding: .8rem 1.35rem; border: 2px solid transparent; border-radius: 999px; font: 800 1rem/1.2 var(--f); text-align: center; text-decoration: none; cursor: pointer; transition: background-color .15s, box-shadow .15s, transform .1s; }
.btn:active { transform: scale(.985); }
.btn svg { width: 20px; height: 20px; flex: none; }
.btn--call { background: var(--ambre); color: #1b1200; box-shadow: 0 6px 16px rgba(255,171,31,.38); }
.btn--call:hover { background: var(--ambre-h); }
.btn--main { background: linear-gradient(96deg, var(--bleu), var(--bleu-f)); color: #fff; box-shadow: 0 6px 16px rgba(10,106,177,.3); }
.btn--main:hover { box-shadow: 0 8px 22px rgba(10,106,177,.4); }
.btn--clair { background: var(--carte); color: var(--nuit); }

/* --- En-tête ------------------------------------------------------------ */
.hdr { position: sticky; top: 0; z-index: 50; background: rgba(255,255,255,.97); border-bottom: 1px solid var(--ligne); }
.hdr__in { max-width: var(--wrap); height: var(--hdr); margin: 0 auto; padding: 0 var(--pad); display: flex; align-items: center; gap: .75rem; }
.logo { display: flex; align-items: center; gap: .5rem; text-decoration: none; }
.logo__mark { width: 34px; height: 34px; flex: none; }
.logo__name { display: block; font-size: 1.02rem; font-weight: 800; letter-spacing: -.03em; line-height: 1.05; text-transform: uppercase; color: var(--nuit); }
.logo__sub { display: block; font-size: .6rem; font-weight: 800; letter-spacing: .13em; text-transform: uppercase; color: var(--or); }
.hdr__clim { display: none; }
.hdr__tel { margin-left: auto; display: inline-flex; align-items: center; gap: .4rem; min-height: 42px; padding: .4rem .85rem; border-radius: 999px; background: var(--ambre); color: #1b1200; font-size: .93rem; font-weight: 800; white-space: nowrap; text-decoration: none; }
.hdr__tel svg { width: 16px; height: 16px; }
@media (max-width: 374px) {
  .hdr__in { gap: .4rem; }
  .logo__mark { width: 28px; height: 28px; }
  .logo__name { font-size: .92rem; }
  .hdr__tel { padding: .4rem .65rem; font-size: .86rem; }
}

/* --- Hero : photo en bandeau, puis texte, puis formulaire ---------------- */
.hero__photo { margin: 0; aspect-ratio: 3 / 2; overflow: hidden; background: #e6e0d6; }
.hero__photo img { width: 100%; height: 100%; object-fit: cover; object-position: 45% 50%; }
.hero__txt { position: relative; margin-top: -16px; padding: .8rem var(--pad) 0; background: var(--carte); border-radius: var(--r-lg) var(--r-lg) 0 0; }
.hero h1 { font-size: clamp(1.6rem, 1.12rem + 2.1vw, 2.75rem); line-height: 1.12; letter-spacing: -.025em; }
.plus { margin: .6rem 0 0; padding: 0; list-style: none; display: grid; gap: .25rem; font-size: .95rem; font-weight: 650; line-height: 1.38; color: var(--encre); }
.plus li { display: flex; gap: .5rem; align-items: flex-start; }
.plus svg { width: 20px; height: 20px; flex: none; color: var(--vert); }
.appel { margin-top: .6rem; display: grid; grid-template-columns: minmax(0, 1fr) auto; grid-template-areas: "tel btn" "h btn"; align-items: center; gap: .1rem .6rem; padding: .45rem .45rem .45rem .8rem; border: 1px solid var(--ligne); border-radius: 16px; background: var(--givre); }
.appel__tel { display: block; font-size: clamp(1.25rem, 1rem + 1.1vw, 1.6rem); font-weight: 800; line-height: 1.15; letter-spacing: -.01em; color: var(--nuit); text-decoration: none; white-space: nowrap; font-variant-numeric: tabular-nums; }
.appel__tel { grid-area: tel; align-self: end; }
.appel .btn { grid-area: btn; }
.appel__h { grid-area: h; align-self: start; padding: 0; font-size: .74rem; font-weight: 600; line-height: 1.25; color: var(--muted); }
.appel .btn { flex: none; padding-inline: 1.1rem; }
.hero__cta { width: 100%; margin-top: .5rem; }
.hero__cta-note { margin-top: .35rem; font-size: .76rem; font-weight: 600; line-height: 1.35; color: var(--muted); text-align: center; }
.hero { padding-bottom: 1.5rem; }

/* Note Google sous le H1 et logos des certifications — repris de lp-paris */
.stars { display: inline-flex; gap: 2px; color: #fbbc04; }
.stars svg { width: 16px; height: 16px; }
.gnote { position: relative; isolation: isolate; overflow: hidden; display: inline-flex; align-items: center; gap: .5rem; min-height: 34px; white-space: nowrap; margin-top: .4rem; padding: .15rem .7rem .15rem .4rem; border-radius: 999px;
  background: rgba(250, 246, 239, .86); border: 1px solid rgba(255, 255, 255, .7);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, .95), inset 0 -1px 1px rgba(10, 54, 104, .08), 0 6px 14px rgba(10, 54, 104, .13), 0 1px 2px rgba(13, 27, 38, .06);
  transition: box-shadow .25s; }
/* « Liquid glass » : verre translucide (backdrop-filter) + nappe liquide qui ondule lentement derrière le texte. */
@supports ((-webkit-backdrop-filter: blur(1px)) or (backdrop-filter: blur(1px))) {
  .gnote { background: rgba(255, 255, 255, .42); -webkit-backdrop-filter: blur(12px) saturate(160%); backdrop-filter: blur(12px) saturate(160%); }
}
.gnote::before { content: ""; position: absolute; z-index: -2; inset: -60% -20%; pointer-events: none; filter: blur(9px); opacity: .9;
  background: radial-gradient(circle at 18% 60%, rgba(10, 106, 177, .34) 0, rgba(10, 106, 177, 0) 36%), radial-gradient(circle at 62% 30%, rgba(61, 191, 179, .36) 0, rgba(61, 191, 179, 0) 34%), radial-gradient(circle at 85% 75%, rgba(255, 253, 249, .95) 0, rgba(255, 253, 249, 0) 38%), radial-gradient(circle at 40% 95%, rgba(10, 106, 177, .22) 0, rgba(10, 106, 177, 0) 32%);
  animation: gnote-liquide 8s ease-in-out infinite alternate; }
.gnote::after { content: ""; position: absolute; z-index: -1; inset: 0; pointer-events: none; border-radius: inherit;
  background: linear-gradient(180deg, rgba(255, 255, 255, .72) 0%, rgba(255, 255, 255, .18) 48%, rgba(255, 255, 255, 0) 52%, rgba(255, 255, 255, .06) 100%);
  transition: opacity .3s; }
@keyframes gnote-liquide {
  0%   { transform: translate(0, 0) rotate(0deg) scale(1); }
  50%  { transform: translate(6%, -5%) rotate(6deg) scale(1.08); }
  100% { transform: translate(-6%, 5%) rotate(-5deg) scale(1.03); }
}
.gnote:hover, .gnote:active { box-shadow: inset 0 1px 0 rgba(255, 255, 255, 1), inset 0 -1px 1px rgba(10, 54, 104, .1), 0 8px 18px rgba(10, 54, 104, .18), 0 1px 2px rgba(13, 27, 38, .06); }
.gnote:hover::after, .gnote:active::after { opacity: 1.35; }
.gnote:hover::before, .gnote:active::before { animation-duration: 3s; }
@media (prefers-reduced-motion: reduce) { .gnote::before { animation: none; } }
.gnote__g { width: 18px; height: 18px; flex: none; }
.gnote__txt { font-size: .76rem; font-weight: 800; color: var(--encre); line-height: 1.15; }
.gnote .stars svg { width: 13px; height: 13px; }
.gnote__txt small { display: block; font-weight: 650; color: #4a5664; font-size: .7rem; }
.certifs-mini { display: flex; align-items: center; gap: .8rem; margin: .5rem 0 0; padding: 0; list-style: none; }
.certifs-mini li { display: flex; align-items: center; }
.certifs-mini img { height: 26px; width: auto; }
.certifs-mini img[alt="RGE QualiPAC"] { width: 78px; }
.certifs-mini img[alt="Qualit’EnR"] { width: 87px; }
.certifs-mini__t { font-size: .7rem; font-weight: 700; line-height: 1.2; color: var(--muted); }
.certifs { margin: 1.75rem 0 0; }
.certifs__t { margin-bottom: .75rem; font-size: .8rem; font-weight: 800; letter-spacing: .04em; text-transform: uppercase; color: var(--muted); }
.certifs ul { margin: 0; padding: 0; list-style: none; display: grid; grid-template-columns: 1fr 1fr; gap: .6rem; }
.certifs li { display: flex; flex-direction: column; align-items: center; justify-content: center; gap: .35rem; min-height: 84px; padding: .6rem .5rem; background: var(--carte); border: 1px solid var(--ligne); border-radius: var(--r); text-align: center; }
.certifs img { height: 42px; width: auto; }
.certifs img[alt^="RGE"] { width: 127px; }
.certifs img[alt="Qualit’EnR"] { width: 141px; }
.certifs svg { width: 26px; height: 26px; flex: none; color: var(--vert); }
.certifs span { font-size: .82rem; font-weight: 750; line-height: 1.25; color: var(--encre); }

/* --- Formulaire ----------------------------------------------------------- */
.sec--form { padding: 1.5rem 0 2.5rem; }
.devis { margin: 0; padding: 1.25rem 1.1rem 1.1rem; background: var(--carte); border: 1px solid var(--ligne); border-radius: var(--r-lg); box-shadow: 0 2px 6px rgba(13,27,38,.05), 0 14px 34px rgba(10,54,104,.1); }
.devis__t { margin-bottom: 1rem; font-size: 1.3rem; }
.f { margin-bottom: .85rem; }
.f label { display: block; margin-bottom: .3rem; font-size: .9rem; font-weight: 700; color: var(--encre); }
.rq { color: var(--rouge); }
.opt { font-weight: 500; color: var(--muted); }
.f input, .f select { display: block; width: 100%; min-height: 50px; padding: .65rem .9rem; border: 1.5px solid #c9c2b6; border-radius: var(--r); background: #fff; font: 600 1rem/1.3 var(--f); color: var(--encre); }
.f select { appearance: none; padding-right: 2.5rem; background: #fff url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%230a3668' stroke-width='2.4' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E") no-repeat right .8rem center / 18px; }
.f input::placeholder { color: #8795a3; font-weight: 500; }
.f input:focus, .f select:focus { outline: none; border-color: var(--bleu); box-shadow: 0 0 0 3px rgba(10,106,177,.18); }
.f--err input { border-color: var(--rouge); }
.f__err { margin-top: .35rem; font-size: .85rem; font-weight: 650; line-height: 1.4; color: var(--rouge); }
.f__err a { color: inherit; font-weight: 800; }
.hp { position: absolute !important; left: -9999px; width: 1px; height: 1px; opacity: 0; }
.status { display: none; margin-bottom: .85rem; padding: .7rem .85rem; border-radius: var(--r); font-size: .9rem; font-weight: 650; line-height: 1.45; }
.status.on { display: block; }
.status--ko { background: #fdecea; color: #8c1d16; }
.status--ko a { color: inherit; font-weight: 800; }
.form .btn--main { width: 100%; }
.devis__note { margin-top: .75rem; font-size: .88rem; font-weight: 700; line-height: 1.45; color: var(--encre); }
.devis__rappel { display: flex; align-items: center; gap: .4rem; margin-top: .4rem; font-size: .85rem; font-weight: 650; color: var(--vert-t); }
.devis__rappel svg { width: 15px; height: 15px; flex: none; }
.devis__legal { margin-top: .6rem; font-size: .78rem; line-height: 1.5; color: var(--muted); }
.devis__societe { margin-top: .7rem; padding-top: .6rem; border-top: 1px solid var(--ligne); font-size: .74rem; line-height: 1.45; color: var(--muted); }

/* --- Sections -------------------------------------------------------------- */
.sec { padding: 3rem 0; }
.sec--givre { background: var(--givre); }
.sec__intro { max-width: 62ch; margin: .6rem 0 1.6rem; font-size: 1.04rem; }
.sec__cta { margin-top: 1.75rem; width: 100%; }
.sec p + p { margin-top: .75rem; }
#aides p { margin-top: .6rem; font-size: 1.04rem; }

/* Pièces que détient l'entreprise partenaire */
.docs { margin: 0; padding: 0; list-style: none; border-top: 1px solid var(--ligne); }
.docs li { display: flex; gap: .85rem; padding: 1rem 0; border-bottom: 1px solid var(--ligne); }
.docs svg { width: 26px; height: 26px; flex: none; margin-top: .05rem; color: var(--vert); }
.docs h3 { margin-bottom: .2rem; }

/* Étapes : une vraie séquence, donc numérotée */
.etapes { margin: 1.5rem 0 0; padding: 0; list-style: none; counter-reset: etape; display: grid; gap: 1.25rem; }
.etapes li { position: relative; padding-left: 3.25rem; counter-increment: etape; }
.etapes li::before { content: counter(etape); position: absolute; left: 0; top: -.15rem; width: 2.3rem; height: 2.3rem; display: grid; place-items: center; border-radius: 50%; background: var(--nuit); color: #fff; font-size: 1.05rem; font-weight: 800; }
.etapes h3 { margin-bottom: .25rem; }

/* Le trajet de la chaleur : de l'air (bleu) à l'eau du chauffage (ambre),
   dans les teintes d'une thermographie. Seul élément graphique fort de la page.
   Chaque segment relie le centre d'une pastille au centre de la suivante. */
.flux { margin: 0 0 2rem; padding: 0; list-style: none; display: grid; gap: 1.6rem; }
.flux__n { position: relative; padding-left: 2.6rem; }
.flux__n::before { content: ""; position: absolute; z-index: 1; left: 0; top: .05rem; width: 1.55rem; height: 1.55rem; border-radius: 50%; border: 4px solid var(--givre); box-shadow: 0 0 0 1px var(--ligne); }
.flux__n:not(:last-child)::after { content: ""; position: absolute; left: calc(.775rem - 3px); top: .825rem; width: 6px; height: calc(100% + 1.6rem); }
.flux__n--air::before { background: #0a6ab1; }
.flux__n--pac::before { background: #a2458f; }
.flux__n--eau::before { background: #ffab1f; }
.flux__n--air::after { background: linear-gradient(180deg, #0a6ab1, #5a4fc4 55%, #a2458f); }
.flux__n--pac::after { background: linear-gradient(180deg, #a2458f, #e0484f 50%, #ffab1f); }
.flux b { display: block; font-size: 1.1rem; font-weight: 800; color: var(--encre); }
.flux span { display: block; margin-top: .15rem; }
.cols { display: grid; gap: 1.25rem; }
.cols > div { padding-top: 1rem; border-top: 2px solid var(--ligne); }
.cols h3 { margin-bottom: .3rem; }

/* Réalisations et avis — reprise de lp-paris (lp.css), couleurs de pac.css */
.head { margin-bottom: 1.75rem; text-align: center; }
.tag { display: inline-block; margin-bottom: .85rem; padding: .38rem .85rem; border-radius: 999px; background: var(--bleu-50); color: var(--bleu-f); font-size: .72rem; font-weight: 900; letter-spacing: .09em; text-transform: uppercase; }
.shots { display: grid; grid-template-columns: 1fr 1fr; gap: .7rem; }
@media (min-width: 760px) { .shots { grid-template-columns: repeat(4, 1fr); } }
.photo { position: relative; aspect-ratio: 4 / 3; border-radius: var(--r); overflow: hidden; background: linear-gradient(140deg, #d3e9fb, #aecde6); box-shadow: 0 1px 2px rgba(13,27,38,.06), 0 2px 8px rgba(13,27,38,.05); }
.photo img { width: 100%; height: 100%; object-fit: cover; }
.photo__ph { position: absolute; inset: 0; display: none; }
.photo__ph svg { width: 100%; height: 100%; }
.photo--ph .photo__ph { display: block; }
.photo__cap { position: absolute; left: 0; right: 0; bottom: 0; padding: 1.6rem .7rem .55rem; background: linear-gradient(transparent, rgba(9,20,29,.82)); color: #fff; font-size: .74rem; font-weight: 800; line-height: 1.3; }
.gbox { display: flex; flex-direction: column; align-items: center; gap: .5rem; margin-bottom: 1.5rem; padding: 1.25rem; background: var(--carte); border: 1px solid var(--ligne); border-radius: var(--r-lg); box-shadow: 0 1px 2px rgba(13,27,38,.06), 0 2px 8px rgba(13,27,38,.05); text-align: center; }
.gbox__score { font-size: 2.4rem; font-weight: 800; color: var(--encre); line-height: 1; }
.gbox__src { display: inline-flex; align-items: center; gap: .4rem; font-size: .85rem; color: var(--muted); font-weight: 700; }
.rev { display: flex; flex-direction: column; padding: 1.25rem; background: var(--carte); border: 1px solid var(--ligne); border-radius: var(--r-lg); box-shadow: 0 1px 2px rgba(13,27,38,.06), 0 2px 8px rgba(13,27,38,.05); }
.rev__top { display: flex; align-items: center; gap: .7rem; margin-bottom: .85rem; }
.rev__av { display: grid; place-items: center; width: 40px; height: 40px; flex: none; border-radius: 50%; background: linear-gradient(140deg, var(--bleu), var(--nuit)); color: #fff; font-weight: 800; font-size: .92rem; position: relative; overflow: hidden; }
.rev__id { flex: 1; min-width: 0; }
.rev__nm { display: block; font-size: .92rem; font-weight: 800; color: var(--encre); line-height: 1.25; }
.rev__dt { display: block; font-size: .76rem; color: var(--muted); }
.rev__g { width: 18px; height: 18px; flex: none; }
.rev blockquote { margin: 0; font-size: .92rem; }
.rev .stars { margin-bottom: .55rem; }
.rev .stars svg { width: 15px; height: 15px; }
.revs { position: relative; }
.revs__piste { display: flex; gap: .9rem; overflow-x: auto; scroll-snap-type: x mandatory; padding: .15rem .15rem .35rem; scrollbar-width: none; }
.revs__piste::-webkit-scrollbar { display: none; }
.revs__piste:focus-visible { outline: 2px solid var(--bleu); outline-offset: 4px; border-radius: var(--r); }
.revs__piste .rev { flex: 0 0 min(86%, 330px); scroll-snap-align: start; }
@media (min-width: 900px) { .revs__piste .rev { flex-basis: calc((100% - 1.8rem) / 3); } }
.revs__nav { display: flex; justify-content: center; gap: .55rem; margin-top: .9rem; }
.revs__btn { display: grid; place-items: center; width: 44px; height: 44px; border-radius: 50%; background: var(--carte); border: 1px solid var(--ligne); box-shadow: 0 1px 2px rgba(13,27,38,.06), 0 2px 8px rgba(13,27,38,.05); color: var(--encre); cursor: pointer; transition: color .15s, border-color .15s; }
.revs__btn:hover { color: var(--bleu); border-color: var(--bleu); }
.revs__btn svg { width: 18px; height: 18px; }
.revs__btn .ico-lecture { display: none; }
.revs__btn.is-actif .ico-pause { display: none; }
.revs__btn.is-actif .ico-lecture { display: block; }
.revs__btn.is-actif { color: var(--bleu); border-color: var(--bleu); }

/* Zone */
.deps { margin: 0; padding: 0; list-style: none; display: grid; grid-template-columns: 1fr 1fr; gap: .55rem; }
.deps li { display: flex; align-items: center; gap: .6rem; padding: .6rem .7rem; background: var(--carte); border: 1px solid var(--ligne); border-radius: var(--r); font-size: .95rem; font-weight: 650; color: var(--encre); }
.deps span { flex: none; min-width: 2.1rem; padding: .1rem .35rem; border-radius: 6px; background: var(--bleu-50); color: var(--nuit); font-weight: 800; text-align: center; font-variant-numeric: tabular-nums; }

/* FAQ */
#faq h2 { margin-bottom: 1rem; }
.faq { border-bottom: 1px solid var(--ligne); }
.faq summary { position: relative; padding: 1rem 2.2rem 1rem 0; font-weight: 750; color: var(--encre); cursor: pointer; list-style: none; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: ""; position: absolute; right: .35rem; top: 50%; width: .6rem; height: .6rem; margin-top: -.45rem; border-right: 2.5px solid var(--bleu); border-bottom: 2.5px solid var(--bleu); transform: rotate(45deg); transition: transform .2s; }
.faq[open] summary::after { transform: rotate(-135deg); margin-top: -.1rem; }
.faq p { padding: 0 0 1.1rem; }

/* Dernier appel à l'action */
.fin { padding: 3rem 0; background: var(--nuit); color: rgba(255,255,255,.85); }
.fin h2 { color: #fff; }
.fin p { margin-top: .5rem; }
.appel--fin { margin-top: 1.25rem; background: rgba(255,255,255,.08); border-color: rgba(255,255,255,.18); }
.appel--fin .appel__tel { color: #fff; }
.fin .btn--clair { width: 100%; margin-top: .75rem; }

/* Pied de page */
.ftr { padding: 1.6rem 0 2rem; background: var(--encre); color: rgba(255,255,255,.62); font-size: .8rem; line-height: 1.6; }
.ftr nav { display: flex; flex-wrap: wrap; gap: .4rem 1.2rem; margin-top: .8rem; }
.ftr a, .ftr button { padding: 0; border: 0; background: none; font: inherit; color: rgba(255,255,255,.78); text-decoration: none; cursor: pointer; }
.ftr a:hover, .ftr button:hover { color: #fff; text-decoration: underline; }
[data-cc-open][hidden] { display: none; }

/* --- Merci ---------------------------------------------------------------- */
.merci { padding: 3rem 0 3.5rem; text-align: center; }
.merci__ok { width: 76px; height: 76px; margin: 0 auto 1.25rem; color: var(--vert); }
.merci h1 { font-size: clamp(1.6rem, 1.2rem + 2vw, 2.4rem); }
.merci__txt { margin-top: .75rem; font-size: 1.08rem; }
.merci__h { margin-top: .2rem; font-size: .95rem; color: var(--muted); }
.merci__q { margin-top: 1.75rem; font-weight: 700; color: var(--encre); }
.merci .appel { max-width: 420px; margin: .6rem auto 0; text-align: left; }
.merci__retour { margin-top: 2rem; font-size: .95rem; }

/* --- Bandeau cookies (injecté par pac.js) ---------------------------------
   Mobile : bande étroite en bas (2 lignes de texte + 3 boutons sur une ligne),
   qui ne couvre jamais le H1, le numéro ni les boutons du premier écran.
   Refuser et accepter ont exactement le même poids visuel (CNIL). */
.cc { position: fixed; left: 0; right: 0; bottom: 0; z-index: 60; }
.cc[hidden] { display: none; }
.cc__box { padding: .6rem .75rem calc(.6rem + env(safe-area-inset-bottom)); background: var(--carte); border-top: 1px solid var(--ligne); box-shadow: 0 -6px 22px rgba(13,27,38,.12); }
.cc__p { margin: 0 0 .5rem; font-size: .8rem; line-height: 1.4; color: var(--texte); }
.cc__p a { font-weight: 700; }
.cc__acts { display: flex; align-items: center; gap: .45rem; }
.cc__btn { flex: 1 1 0; min-height: 40px; padding: 0 .4rem; border: 2px solid var(--bleu-f); border-radius: 999px; background: var(--carte); color: var(--bleu-f); font: 800 .84rem/1.1 var(--f); white-space: nowrap; cursor: pointer; }
.cc__btn:hover { background: var(--bleu-50); }
.cc__more { flex: none; min-height: 40px; padding: 0 .2rem; border: 0; background: none; color: var(--texte); font: 700 .8rem/1.1 var(--f); text-decoration: underline; text-underline-offset: 3px; cursor: pointer; }
.cc__panel { display: grid; grid-template-rows: 0fr; }
.cc__panel > div { overflow: hidden; }
.cc.is-open .cc__panel { grid-template-rows: 1fr; }
.cc.is-open .cc__box { max-height: calc(100vh - 2rem); overflow-y: auto; }
.cc__opt { display: flex; gap: .7rem; align-items: flex-start; padding: .7rem 0; border-top: 1px solid var(--ligne); }
.cc__opt:first-child { margin-top: .6rem; }
.cc__opt input { width: 20px; height: 20px; margin: .1rem 0 0; flex: none; accent-color: var(--bleu); }
.cc__opt b { display: block; font-size: .86rem; color: var(--encre); }
.cc__opt span span { display: block; font-size: .78rem; line-height: 1.45; color: var(--muted); }
.cc__save { width: 100%; min-height: 44px; margin-top: .5rem; border: 0; border-radius: 999px; background: var(--bleu-f); color: #fff; font: 800 .9rem/1 var(--f); cursor: pointer; }

/* Très petits écrans : le H1 long (4 lignes) ne doit pas pousser le bouton devis sous le bandeau cookies */
@media (max-width: 374px) {
  .certifs span { font-size: .78rem; }
  .hero__photo { aspect-ratio: 16 / 9; }
  .hero__txt { padding-top: .65rem; }
  .hero .hero__txt h1 { font-size: 1.36rem; }
  .hero__txt .gnote { min-height: 32px; margin-top: .3rem; }
  .hero__txt .plus { margin-top: .45rem; gap: .05rem; font-size: .8rem; line-height: 1.25; }
  .hero__txt .certifs-mini { margin-top: .4rem; }
  .hero__txt .appel { margin-top: .5rem; padding-top: .4rem; padding-bottom: .4rem; }
  .hero__txt .hero__cta { margin-top: .4rem; }
}

/* H1 longs (plus de 62 caractères : classe posée par index.php) : 3 lignes au plus sur mobile,
   pour que le bouton devis reste au-dessus du bandeau cookies (simulé sur les 11 475 H1 possibles). */
@media (max-width: 639px) {
  .hero .hero__txt h1.h1--long { font-size: 1.36rem; }
}
/* 375-389 px : points un peu plus serrés — le bouton devis reste au-dessus du bandeau cookies avec le H1 le plus long */
@media (min-width: 375px) and (max-width: 389px) {
  .hero__txt .plus { gap: .1rem; font-size: .86rem; line-height: 1.25; }
}

/* --- Tablette ------------------------------------------------------------- */
@media (min-width: 640px) {
  .hero__photo { aspect-ratio: 16 / 5; }
  .plus { gap: .4rem; }
  .hero__txt, .devis { max-width: 680px; margin-left: auto; margin-right: auto; }
  .appel__h { font-size: .78rem; }
  .hero__txt { padding-left: 1.5rem; padding-right: 1.5rem; }
  .sec__cta, .fin .btn--clair { width: auto; }
  .docs { display: grid; grid-template-columns: 1fr 1fr; column-gap: 2.5rem; }
  .etapes { grid-template-columns: 1fr 1fr; gap: 1.75rem 2.5rem; }
  .deps { grid-template-columns: repeat(4, 1fr); }
  .cc { right: auto; left: 1rem; bottom: 1rem; width: min(400px, calc(100vw - 2rem)); }
  .cc__box { padding: .9rem 1rem; border: 1px solid var(--ligne); border-radius: 16px; box-shadow: 0 10px 34px rgba(13,27,38,.2); }
}

/* --- Bureau : texte + photo à gauche, formulaire à droite ------------------ */
@media (min-width: 960px) {
  .hero { padding-bottom: 0; }
  .haut { position: relative; }
  .sec--form { padding: 0; }
  .hero__in { max-width: var(--wrap); min-height: 800px; margin: 0 auto; padding: 2rem var(--pad) 2.75rem; display: grid; grid-template-columns: minmax(0, 1fr) 410px; grid-template-areas: "txt ." "photo ."; grid-template-rows: auto 1fr; column-gap: 3.25rem; row-gap: 1.6rem; align-items: start; }
  .hero__txt { grid-area: txt; max-width: none; margin: 0; padding: 0; border-radius: 0; background: none; }
  .hero__photo { grid-area: photo; aspect-ratio: 2 / 1; border-radius: var(--r-lg); }
  .certifs-mini img { height: 36px; }
  .certifs-mini img[alt="RGE QualiPAC"] { width: 108px; }
  .certifs-mini img[alt="Qualit’EnR"] { width: 121px; }
  .certifs ul { grid-template-columns: repeat(2, minmax(0, 320px)); gap: .8rem; }
  .certifs li { min-height: 88px; padding: .7rem .9rem; }
  .certifs img { height: 46px; }
  .certifs img[alt^="RGE"] { width: 139px; }
  .certifs img[alt="Qualit’EnR"] { width: 154px; }
  .certifs span { font-size: .86rem; }
  .devis { position: absolute; top: 2rem; right: max(var(--pad), calc((100% - var(--wrap)) / 2 + var(--pad))); width: 410px; max-width: none; margin: 0; }
  .hero__cta, .hero__cta-note { display: none; }
  .appel { max-width: 470px; }
  .hdr__clim { display: inline; margin-left: auto; font-size: .9rem; font-weight: 700; color: var(--texte); text-decoration: none; }
  .hdr__clim:hover { color: var(--bleu); text-decoration: underline; }
  .hdr__tel { margin-left: 1.25rem; }
  .sec { padding: 4.25rem 0; }
  .docs { grid-template-columns: repeat(2, 1fr); }
  .etapes { grid-template-columns: repeat(4, 1fr); }
  .etapes li { padding-left: 0; padding-top: 3.2rem; }
  .flux { grid-template-columns: repeat(3, 1fr); gap: 2.5rem; }
  .flux__n { padding: 2.6rem 0 0; }
  .flux__n::before { top: 0; }
  .flux__n:not(:last-child)::after { left: .775rem; top: calc(.775rem - 3px); width: calc(100% + 2.5rem); height: 6px; }
  .flux__n--air::after { background: linear-gradient(90deg, #0a6ab1, #5a4fc4 55%, #a2458f); }
  .flux__n--pac::after { background: linear-gradient(90deg, #a2458f, #e0484f 50%, #ffab1f); }
  .cols { grid-template-columns: repeat(3, 1fr); gap: 2.5rem; }
  .fin .appel { max-width: 470px; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition-duration: .01ms !important; animation-duration: .01ms !important; }
}

@media print {
  .hdr, .cc, .hero__photo, .fin, form { display: none !important; }
}

/* ===== Liquid glass v2 (23.10, demande de David : effet réellement visible) ===== */
.gnote { cursor: pointer; -webkit-tap-highlight-color: transparent;
  background-image: linear-gradient(105deg, rgba(255,255,255,0) 38%, rgba(255,255,255,.95) 47%, rgba(170,225,255,.75) 51%, rgba(255,255,255,0) 60%);
  background-repeat: no-repeat; background-size: 260% 100%; background-position: 160% 0;
  animation: gnote-vague 4.5s ease-in-out 1.2s infinite; }
@keyframes gnote-vague { 0%, 62% { background-position: 160% 0; } 100% { background-position: -60% 0; } }
.gnote::before { opacity: 1; filter: blur(6px); inset: -90% -35%;
  background: radial-gradient(circle at 20% 55%, rgba(10,106,177,.55) 0, rgba(10,106,177,0) 30%),
              radial-gradient(circle at 55% 35%, rgba(61,191,179,.55) 0, rgba(61,191,179,0) 28%),
              radial-gradient(circle at 80% 70%, rgba(120,200,255,.55) 0, rgba(120,200,255,0) 30%),
              radial-gradient(circle at 40% 90%, rgba(255,255,255,.9) 0, rgba(255,255,255,0) 30%);
  animation: gnote-liquide2 5s ease-in-out infinite alternate; }
@keyframes gnote-liquide2 {
  0%   { transform: translate(-18%, 6%) rotate(-8deg) scale(1); }
  50%  { transform: translate(14%, -10%) rotate(10deg) scale(1.15); }
  100% { transform: translate(22%, 8%) rotate(-4deg) scale(1.05); }
}
.gnote__txt, .gnote .stars, .gnote__g { position: relative; z-index: 1; }
.gnote:active { animation: gnote-tap .7s ease-out; transform: scale(.97); transition: transform .12s; }
@keyframes gnote-tap { 0% { background-position: 160% 0; } 100% { background-position: -60% 0; } }
.gnote:active::before { animation-duration: 1.2s; }
@media (prefers-reduced-motion: reduce) { .gnote { animation: none; } .gnote::before { animation: none; } }
/* v3 : la vague lumineuse passe AU-DESSUS du liquide */
.gnote { background-image: none; animation: none; }
.gnote::after { background-image: linear-gradient(105deg, rgba(255,255,255,0) 40%, rgba(255,255,255,.95) 48%, rgba(200,238,255,.8) 51%, rgba(255,255,255,0) 58%),
                                  linear-gradient(180deg, rgba(255,255,255,.65) 0%, rgba(255,255,255,.15) 48%, rgba(255,255,255,0) 52%, rgba(255,255,255,.06) 100%);
  background-repeat: no-repeat; background-size: 280% 100%, 100% 100%; background-position: 85% 0, 0 0;
  animation: gnote-vague3 4s ease-in-out 1s infinite; }
@keyframes gnote-vague3 { 0%, 50% { background-position: 85% 0, 0 0; } 100% { background-position: 8% 0, 0 0; } }
.gnote:active::after { animation: gnote-tap3 .6s ease-out; }
@keyframes gnote-tap3 { 0% { background-position: 85% 0, 0 0; } 100% { background-position: 8% 0, 0 0; } }
@media (prefers-reduced-motion: reduce) { .gnote::after { animation: none; } }
/* v4 (23.10, David) : bouton transparent « collé », en plastique souple — sans teinte bleue */
.gnote { background-color: rgba(255,255,255,.38);
  border: 1px solid rgba(255,255,255,.95);
  box-shadow: inset 0 2px 1px rgba(255,255,255,.95), inset 0 -2px 3px rgba(60,45,30,.10), inset 0 0 0 2px rgba(255,255,255,.35), inset 0 6px 10px -6px rgba(255,255,255,.9),
              0 1px 1px rgba(60,45,30,.10), 0 3px 8px rgba(60,45,30,.08); }
@supports ((-webkit-backdrop-filter: blur(1px)) or (backdrop-filter: blur(1px))) {
  .gnote { background-color: rgba(255,255,255,.34); -webkit-backdrop-filter: blur(6px) saturate(115%); backdrop-filter: blur(6px) saturate(115%); }
}
.gnote::before { inset: 0; filter: none; border-radius: inherit; opacity: 1; animation: none;
  background: radial-gradient(120% 90% at 30% 0%, rgba(255,255,255,.7) 0, rgba(255,255,255,0) 55%),
              radial-gradient(90% 70% at 85% 110%, rgba(255,255,255,.45) 0, rgba(255,255,255,0) 60%); }
.gnote::after { background-image: linear-gradient(105deg, rgba(255,255,255,0) 42%, rgba(255,255,255,.75) 49%, rgba(255,255,255,0) 56%),
                                  linear-gradient(180deg, rgba(255,255,255,.55) 0%, rgba(255,255,255,.12) 45%, rgba(255,255,255,0) 55%); }
.gnote:hover, .gnote:active { box-shadow: inset 0 2px 1px rgba(255,255,255,1), inset 0 -2px 4px rgba(60,45,30,.12), inset 0 0 0 2px rgba(255,255,255,.4), inset 0 6px 10px -6px rgba(255,255,255,.95),
              0 1px 1px rgba(60,45,30,.10), 0 2px 5px rgba(60,45,30,.08); }
/* v5 (23.10, David) : la vague lumineuse passe sur « Demander mon devis gratuit », plus sur la note Google */
.gnote::after { animation: none; background-position: 200% 0, 0 0; }
.gnote:active::after { animation: none; }
.btn--main { position: relative; overflow: hidden; isolation: isolate; }
.btn--main::after { content: ""; position: absolute; inset: 0; z-index: -1; pointer-events: none; border-radius: inherit;
  background: linear-gradient(105deg, rgba(255,255,255,0) 40%, rgba(255,255,255,.55) 48%, rgba(255,255,255,.25) 52%, rgba(255,255,255,0) 60%) no-repeat;
  background-size: 280% 100%; background-position: 85% 0;
  animation: cta-vague 4s ease-in-out 1s infinite; }
.btn--main { background-color: transparent; }
@keyframes cta-vague { 0%, 50% { background-position: 85% 0; } 100% { background-position: 8% 0; } }
.btn--main:active::after { animation: cta-tap .6s ease-out; }
@keyframes cta-tap { 0% { background-position: 85% 0; } 100% { background-position: 8% 0; } }
@media (prefers-reduced-motion: reduce) { .btn--main::after { animation: none; } }
/* v6 (23.10, David) : vague couleur du fond (lait), plus douce */
.btn--main::after { background-image: linear-gradient(105deg, rgba(250,246,239,0) 40%, rgba(250,246,239,.32) 48%, rgba(250,246,239,.16) 52%, rgba(250,246,239,0) 60%); }
/* v7 (23.10, David) : lieu du H1 surligné au marqueur, comme sur toiturenov.pro */
#h1 .lieu { padding: 0 .16em; margin: 0 -.06em; -webkit-box-decoration-break: clone; box-decoration-break: clone;
  background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 300 50' preserveAspectRatio='none'%3E%3Cg transform='rotate(-1.4 150 25)'%3E%3Cpath fill='%230099B4' fill-opacity='.36' d='M5 15C28 9 62 12 98 9c37-3 72-4 108-1 32 2 62-1 88 3 4 7-1 10 2 16-2 7 3 11-1 17-31 3-64 1-97 3-36 2-71 3-107 1-28-1-55 3-87-1-5-6 1-10-3-16 2-7-4-10 1-15Z'/%3E%3Cpath fill='%230099B4' fill-opacity='.2' d='M14 24c40-6 86-2 128-5 46-2 96 1 146 3l-3 10c-48 3-98 0-146 2-44 2-86 4-127 1Z'/%3E%3Cpath fill='%230099B4' fill-opacity='.14' d='M8 38c50 3 110 1 170 2 40 1 80-2 112-1l-1 4c-60 2-120 1-180 2-38 1-72 1-100-1Z'/%3E%3C/g%3E%3C/svg%3E") no-repeat 0 96% / 100% 72%; }

/* ===== Guides (23.10) : articles, hub, cartes — aussi utilisées sur la page d'accueil ===== */
.gcartes { margin: 0; padding: 0; list-style: none; display: grid; gap: .75rem; }
.gcarte { display: flex; flex-direction: column; gap: .35rem; height: 100%; padding: 1rem 1.1rem; background: var(--carte); border: 1px solid var(--ligne); border-radius: var(--r-lg); color: var(--texte); text-decoration: none; box-shadow: 0 1px 2px rgba(13,27,38,.05); transition: border-color .15s, box-shadow .15s; }
.gcarte:hover { border-color: #cfc6b8; box-shadow: 0 6px 18px rgba(13,27,38,.08); }
.gcarte__t { font-size: 1.02rem; font-weight: 800; line-height: 1.25; color: var(--encre); }
.gcarte__p { font-size: .9rem; line-height: 1.5; }
.gcarte__l { margin-top: auto; padding-top: .25rem; font-size: .88rem; font-weight: 750; color: var(--bleu); }
.guides__tous { margin-top: 1.1rem; font-weight: 700; }
.article { padding: 1.25rem 0 0; }
.fil { margin-bottom: .9rem; font-size: .8rem; color: var(--muted); }
.fil a { color: var(--muted); }
.article h1 { font-size: clamp(1.55rem, 1.15rem + 2vw, 2.4rem); line-height: 1.15; letter-spacing: -.025em; }
.art__meta { margin-top: .5rem; font-size: .85rem; color: var(--muted); }
.hub__intro { margin: .7rem 0 1.4rem; font-size: 1.04rem; max-width: 62ch; }
.bref { margin: 1.2rem 0 1.5rem; padding: 1rem 1.1rem; background: var(--carte); border: 1px solid var(--ligne); border-radius: var(--r-lg); }
.bref__t { margin-bottom: .5rem; font-weight: 800; color: var(--encre); }
.bref ul { margin: 0; padding: 0; list-style: none; display: grid; gap: .45rem; }
.bref li { display: flex; gap: .55rem; align-items: flex-start; font-size: .95rem; line-height: 1.45; color: var(--encre); }
.bref svg { width: 20px; height: 20px; flex: none; margin-top: .05rem; color: var(--vert); }
.art { font-size: 1.02rem; line-height: 1.7; }
.art h2, .art-faq h2, .sources h2 { margin: 2.1rem 0 .7rem; font-size: clamp(1.3rem, 1.1rem + 1vw, 1.7rem); }
.art h3 { margin: 1.3rem 0 .4rem; }
.art p, .art ul, .art ol { margin: 0 0 .9rem; }
.art ul, .art ol { padding-left: 1.2rem; }
.art li { margin-bottom: .35rem; }
.art .etapes-art { padding-left: 1.3rem; }
.tab { margin: 0 0 1rem; overflow-x: auto; -webkit-overflow-scrolling: touch; }
.tab table { width: 100%; min-width: 300px; border-collapse: collapse; font-size: .9rem; line-height: 1.4; background: var(--carte); }
.tab caption { padding: 0 0 .45rem; font-size: .85rem; font-weight: 700; color: var(--muted); text-align: left; }
.tab th, .tab td { padding: .55rem .6rem; border: 1px solid var(--ligne); text-align: left; vertical-align: top; }
.tab th { background: var(--givre); color: var(--encre); font-weight: 800; }
.tab td:first-child { font-weight: 700; color: var(--encre); }
.note { margin: 0 0 1rem; padding: 1rem 1.1rem; background: #fff7e8; border: 1px solid #f2dcb3; border-left: 4px solid var(--ambre); border-radius: var(--r); }
.note p { margin: 0 0 .6rem; } .note p:last-child, .note ul:last-child { margin-bottom: 0; }
.cta-art { margin: 1.8rem 0; padding: 1.2rem 1.1rem; background: var(--givre); border: 1px solid var(--ligne); border-radius: var(--r-lg); }
.cta-art__t { margin-bottom: .4rem; font-size: 1.15rem; font-weight: 800; color: var(--encre); }
.cta-art p { margin: 0; }
.cta-art__b { display: flex; flex-wrap: wrap; align-items: center; gap: .6rem 1.1rem; margin-top: .9rem; }
.cta-art__b .btn { width: 100%; }
.cta-art__tel { display: inline-flex; align-items: center; gap: .4rem; font-weight: 800; color: var(--nuit); text-decoration: none; white-space: nowrap; }
.cta-art__tel svg { width: 18px; height: 18px; }
.art-faq .faq summary { font-size: 1rem; }
.sources { padding-bottom: 1.5rem; font-size: .9rem; }
.sources ul { margin: .6rem 0 0; padding-left: 1.1rem; }
.sources li { margin-bottom: .35rem; overflow-wrap: anywhere; }
.liees { padding: 2.2rem 0 2.8rem; background: var(--givre); }
.liees h2 { margin-bottom: 1rem; }
.liees__tous { margin-top: 1rem; font-weight: 700; }
@media (min-width: 640px) {
  .gcartes { grid-template-columns: repeat(2, 1fr); gap: 1rem; }
  .cta-art__b .btn { width: auto; }
}
@media (min-width: 960px) {
  .gcartes { grid-template-columns: repeat(3, 1fr); }
  .article { padding-top: 2rem; }
}
.aides-chiffres { margin: .9rem 0 0; padding: 0; list-style: none; display: grid; gap: .5rem; }
.aides-chiffres li { padding: .6rem .8rem; background: var(--carte); border: 1px solid var(--ligne); border-left: 4px solid var(--bleu); border-radius: var(--r); font-size: .95rem; line-height: 1.5; }
.aides-src { margin-top: .7rem; font-size: .85rem; color: var(--muted); }
.tous-guides__t { margin: 1.8rem 0 .6rem; font-size: 1.05rem; }
.tous-guides { margin: 0; padding-left: 1.1rem; display: grid; gap: .35rem; font-size: .95rem; line-height: 1.45; }
.tous-guides a { color: var(--bleu); }
@media (min-width: 960px) { .tous-guides { grid-template-columns: repeat(2, 1fr); column-gap: 2.2rem; } }
/* v8 (23.10, David) : la carte du H1 ne recouvre plus le bas de la photo (socle de la PAC visible) */
@media (max-width: 959px) {
  .hero__txt { margin-top: 0; border-radius: 0; }
  .hero__photo img { object-position: 70% 100%; }
}
/* v9 (23.10, David) : bord inférieur de la photo irrégulier (vague douce, couleur de la carte) */
@media (max-width: 959px) {
  .hero__photo { position: relative; }
  .hero__photo::after { content: ""; position: absolute; left: -1px; right: -1px; bottom: -1px; height: 30px; pointer-events: none;
    background: var(--carte);
    -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 400 30' preserveAspectRatio='none'%3E%3Cpath d='M0 18C22 11 41 21 66 16S108 4 137 10s52 16 82 12 44-15 75-13 41 12 66 10 29-8 40-7V30H0Z'/%3E%3C/svg%3E") no-repeat 0 100% / 100% 100%;
            mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 400 30' preserveAspectRatio='none'%3E%3Cpath d='M0 18C22 11 41 21 66 16S108 4 137 10s52 16 82 12 44-15 75-13 41 12 66 10 29-8 40-7V30H0Z'/%3E%3C/svg%3E") no-repeat 0 100% / 100% 100%; }
}
/* v10 (23.10, David) : bord de la photo façon coup de pinceau */
@media (max-width: 959px) {
  .hero__photo::after { height: 34px; -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 400 36' preserveAspectRatio='none'%3E%3Cpath d='M0 36 L0.0 17.7 L2.0 17.2 L5.0 20.0 L8.0 18.0 L10.0 19.0 L12.0 21.6 L15.0 20.7 L17.0 20.2 L20.0 17.5 L23.0 18.7 L28.0 17.4 L31.0 16.1 L34.0 17.0 L36.0 17.7 L40.0 18.2 L43.0 17.5 L46.0 17.2 L49.0 16.8 L53.0 21.3 L56.0 15.9 L59.0 22.4 L63.0 21.9 L65.0 23.8 L68.0 22.5 L72.0 23.9 L74.0 25.5 L76.0 21.5 L81.0 24.9 L84.0 22.9 L87.0 18.9 L90.0 20.5 L93.0 20.0 L96.0 17.3 L100.0 14.4 L105.0 13.8 L109.0 15.6 L113.0 15.7 L117.0 15.5 L120.0 12.1 L122.0 13.8 L125.0 13.3 L130.0 14.4 L133.0 16.2 L138.0 16.4 L142.0 17.5 L147.0 14.8 L149.0 14.8 L152.0 12.3 L155.0 11.7 L157.0 10.6 L159.0 14.2 L161.0 13.2 L164.0 11.2 L169.0 8.6 L173.0 10.6 L177.0 7.2 L180.0 9.1 L183.0 8.4 L188.0 8.7 L190.0 10.9 L192.0 11.3 L195.0 13.2 L198.0 12.6 L201.0 14.1 L204.0 15.8 L207.0 14.0 L209.0 17.9 L213.0 15.4 L216.0 16.5 L219.0 18.9 L222.0 15.0 L225.0 15.2 L230.0 17.4 L233.0 11.2 L237.0 16.3 L241.0 16.5 L244.0 12.9 L248.0 14.9 L250.0 16.3 L253.0 13.8 L257.0 18.3 L262.0 20.8 L265.0 18.2 L267.0 18.3 L269.0 21.2 L273.0 24.5 L276.0 21.0 L281.0 22.7 L284.0 24.1 L286.0 25.6 L290.0 24.1 L295.0 21.9 L300.0 19.2 L305.0 17.2 L308.0 18.9 L311.0 16.3 L313.0 17.6 L318.0 16.8 L320.0 14.5 L322.0 17.8 L327.0 14.8 L329.0 16.8 L334.0 18.2 L337.0 18.0 L341.0 18.7 L346.0 20.6 L349.0 20.7 L352.0 20.1 L354.0 17.8 L357.0 17.3 L360.0 18.0 L363.0 17.6 L366.0 13.0 L370.0 11.8 L374.0 13.3 L377.0 9.1 L382.0 8.9 L385.0 8.1 L387.0 8.0 L389.0 8.1 L392.0 1.9 L395.0 7.1 L397.0 11.2 L400.0 11.5 L400 36 Z'/%3E%3Cpath d='M160.2 9.8 q18.5 -1.1 37.0 0 l0 1.1 q-18.5 0.7 -37.0 0Z M131.0 8.0 q23.8 -0.9 47.6 0 l0 0.9 q-23.8 0.5 -47.6 0Z M341.3 7.9 q9.3 -0.8 18.6 0 l0 0.8 q-9.3 0.5 -18.6 0Z M106.4 10.3 q13.1 -0.9 26.2 0 l0 0.9 q-13.1 0.6 -26.2 0Z M55.0 6.1 q27.4 -1.1 54.8 0 l0 1.1 q-27.4 0.6 -54.8 0Z M348.7 10.4 q9.8 -1.3 19.6 0 l0 1.3 q-9.8 0.8 -19.6 0Z M357.1 12.8 q13.8 -0.9 27.7 0 l0 0.9 q-13.8 0.5 -27.7 0Z M354.9 10.4 q18.8 -0.9 37.7 0 l0 0.9 q-18.8 0.5 -37.7 0Z M174.9 10.7 q14.0 -1.4 28.0 0 l0 1.4 q-14.0 0.9 -28.0 0Z'/%3E%3C/svg%3E") no-repeat 0 100% / 100% 100%; mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 400 36' preserveAspectRatio='none'%3E%3Cpath d='M0 36 L0.0 17.7 L2.0 17.2 L5.0 20.0 L8.0 18.0 L10.0 19.0 L12.0 21.6 L15.0 20.7 L17.0 20.2 L20.0 17.5 L23.0 18.7 L28.0 17.4 L31.0 16.1 L34.0 17.0 L36.0 17.7 L40.0 18.2 L43.0 17.5 L46.0 17.2 L49.0 16.8 L53.0 21.3 L56.0 15.9 L59.0 22.4 L63.0 21.9 L65.0 23.8 L68.0 22.5 L72.0 23.9 L74.0 25.5 L76.0 21.5 L81.0 24.9 L84.0 22.9 L87.0 18.9 L90.0 20.5 L93.0 20.0 L96.0 17.3 L100.0 14.4 L105.0 13.8 L109.0 15.6 L113.0 15.7 L117.0 15.5 L120.0 12.1 L122.0 13.8 L125.0 13.3 L130.0 14.4 L133.0 16.2 L138.0 16.4 L142.0 17.5 L147.0 14.8 L149.0 14.8 L152.0 12.3 L155.0 11.7 L157.0 10.6 L159.0 14.2 L161.0 13.2 L164.0 11.2 L169.0 8.6 L173.0 10.6 L177.0 7.2 L180.0 9.1 L183.0 8.4 L188.0 8.7 L190.0 10.9 L192.0 11.3 L195.0 13.2 L198.0 12.6 L201.0 14.1 L204.0 15.8 L207.0 14.0 L209.0 17.9 L213.0 15.4 L216.0 16.5 L219.0 18.9 L222.0 15.0 L225.0 15.2 L230.0 17.4 L233.0 11.2 L237.0 16.3 L241.0 16.5 L244.0 12.9 L248.0 14.9 L250.0 16.3 L253.0 13.8 L257.0 18.3 L262.0 20.8 L265.0 18.2 L267.0 18.3 L269.0 21.2 L273.0 24.5 L276.0 21.0 L281.0 22.7 L284.0 24.1 L286.0 25.6 L290.0 24.1 L295.0 21.9 L300.0 19.2 L305.0 17.2 L308.0 18.9 L311.0 16.3 L313.0 17.6 L318.0 16.8 L320.0 14.5 L322.0 17.8 L327.0 14.8 L329.0 16.8 L334.0 18.2 L337.0 18.0 L341.0 18.7 L346.0 20.6 L349.0 20.7 L352.0 20.1 L354.0 17.8 L357.0 17.3 L360.0 18.0 L363.0 17.6 L366.0 13.0 L370.0 11.8 L374.0 13.3 L377.0 9.1 L382.0 8.9 L385.0 8.1 L387.0 8.0 L389.0 8.1 L392.0 1.9 L395.0 7.1 L397.0 11.2 L400.0 11.5 L400 36 Z'/%3E%3Cpath d='M160.2 9.8 q18.5 -1.1 37.0 0 l0 1.1 q-18.5 0.7 -37.0 0Z M131.0 8.0 q23.8 -0.9 47.6 0 l0 0.9 q-23.8 0.5 -47.6 0Z M341.3 7.9 q9.3 -0.8 18.6 0 l0 0.8 q-9.3 0.5 -18.6 0Z M106.4 10.3 q13.1 -0.9 26.2 0 l0 0.9 q-13.1 0.6 -26.2 0Z M55.0 6.1 q27.4 -1.1 54.8 0 l0 1.1 q-27.4 0.6 -54.8 0Z M348.7 10.4 q9.8 -1.3 19.6 0 l0 1.3 q-9.8 0.8 -19.6 0Z M357.1 12.8 q13.8 -0.9 27.7 0 l0 0.9 q-13.8 0.5 -27.7 0Z M354.9 10.4 q18.8 -0.9 37.7 0 l0 0.9 q-18.8 0.5 -37.7 0Z M174.9 10.7 q14.0 -1.4 28.0 0 l0 1.4 q-14.0 0.9 -28.0 0Z'/%3E%3C/svg%3E") no-repeat 0 100% / 100% 100%; }
}
/* v12 (23.10, David) : la frontière pinceau descend un peu vers le texte */
@media (max-width: 959px) {
  .hero__txt { margin-top: -12px; padding-top: .5rem; background: var(--carte); }
}
/* v16 (23.10, David) : couleurs d'origine + grain chaud « papier » sur le bloc texte du haut */
.hero__txt { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='160' height='160'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.9' numOctaves='3' stitchTiles='stitch'/%3E%3CfeColorMatrix values='0 0 0 0 .55 0 0 0 0 .42 0 0 0 0 .22 0 0 0 .12 0'/%3E%3C/filter%3E%3Crect width='160' height='160' filter='url(%23n)'/%3E%3C/svg%3E"); }
/* Agrandissement des photos (lightbox) */
.lb { width: 100vw; max-width: 100vw; height: 100dvh; max-height: 100dvh; margin: 0; padding: 0; border: 0; background: rgba(10,18,26,.94); color: #fff; }
.lb::backdrop { background: rgba(10,18,26,.94); }
.lb[open] { display: flex; align-items: center; justify-content: center; }
.lb__fig { margin: 0; max-width: 100%; max-height: 100%; display: flex; flex-direction: column; align-items: center; gap: .6rem; padding: 3.2rem .6rem 1.2rem; }
.lb__fig img { max-width: 100%; max-height: calc(100dvh - 7rem); object-fit: contain; border-radius: 10px; }
.lb__fig figcaption { font-size: .92rem; font-weight: 700; text-align: center; opacity: .9; }
.lb__x { position: absolute; top: .6rem; right: .7rem; width: 44px; height: 44px; border: 0; border-radius: 999px; background: rgba(255,255,255,.14); color: #fff; font: 700 1.8rem/1 sans-serif; cursor: pointer; }
.lb__nav { position: absolute; top: 50%; transform: translateY(-50%); width: 44px; height: 64px; border: 0; border-radius: 12px; background: rgba(255,255,255,.12); color: #fff; font: 700 2.2rem/1 sans-serif; cursor: pointer; }
.lb__prev { left: .4rem; } .lb__next { right: .4rem; }
.lb-ouvert { overflow: hidden; }
#realisations .shots img { cursor: zoom-in; }
#realisations .photo__cap, #realisations .photo__ph { pointer-events: none; }
@media (min-width: 960px) { .hero__txt { background: none; } }
/* v17 (23.10, David) : ordinateur — photo en bandeau pleine largeur, bord pinceau, formulaire à cheval */
@media (min-width: 960px) {
  .hero__in { grid-template-areas: "photo photo" "txt ."; grid-template-columns: minmax(0,1fr) 410px; padding-top: 0; max-width: none; min-height: 0; }
  .hero__photo { grid-area: photo; aspect-ratio: auto; height: clamp(460px, 40vw, 640px); width: 100vw; margin: 0 calc(50% - 50vw); border-radius: 0; position: relative; }
  .hero__photo img { object-position: 50% 62%; }
  .hero__photo::after { content: ""; position: absolute; left: 0; right: 0; bottom: -1px; height: 34px; pointer-events: none; background: var(--fond);
    -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 400 36' preserveAspectRatio='none'%3E%3Cpath d='M0 36 L0.0 17.7 L2.0 17.2 L5.0 20.0 L8.0 18.0 L10.0 19.0 L12.0 21.6 L15.0 20.7 L17.0 20.2 L20.0 17.5 L23.0 18.7 L28.0 17.4 L31.0 16.1 L34.0 17.0 L36.0 17.7 L40.0 18.2 L43.0 17.5 L46.0 17.2 L49.0 16.8 L53.0 21.3 L56.0 15.9 L59.0 22.4 L63.0 21.9 L65.0 23.8 L68.0 22.5 L72.0 23.9 L74.0 25.5 L76.0 21.5 L81.0 24.9 L84.0 22.9 L87.0 18.9 L90.0 20.5 L93.0 20.0 L96.0 17.3 L100.0 14.4 L105.0 13.8 L109.0 15.6 L113.0 15.7 L117.0 15.5 L120.0 12.1 L122.0 13.8 L125.0 13.3 L130.0 14.4 L133.0 16.2 L138.0 16.4 L142.0 17.5 L147.0 14.8 L149.0 14.8 L152.0 12.3 L155.0 11.7 L157.0 10.6 L159.0 14.2 L161.0 13.2 L164.0 11.2 L169.0 8.6 L173.0 10.6 L177.0 7.2 L180.0 9.1 L183.0 8.4 L188.0 8.7 L190.0 10.9 L192.0 11.3 L195.0 13.2 L198.0 12.6 L201.0 14.1 L204.0 15.8 L207.0 14.0 L209.0 17.9 L213.0 15.4 L216.0 16.5 L219.0 18.9 L222.0 15.0 L225.0 15.2 L230.0 17.4 L233.0 11.2 L237.0 16.3 L241.0 16.5 L244.0 12.9 L248.0 14.9 L250.0 16.3 L253.0 13.8 L257.0 18.3 L262.0 20.8 L265.0 18.2 L267.0 18.3 L269.0 21.2 L273.0 24.5 L276.0 21.0 L281.0 22.7 L284.0 24.1 L286.0 25.6 L290.0 24.1 L295.0 21.9 L300.0 19.2 L305.0 17.2 L308.0 18.9 L311.0 16.3 L313.0 17.6 L318.0 16.8 L320.0 14.5 L322.0 17.8 L327.0 14.8 L329.0 16.8 L334.0 18.2 L337.0 18.0 L341.0 18.7 L346.0 20.6 L349.0 20.7 L352.0 20.1 L354.0 17.8 L357.0 17.3 L360.0 18.0 L363.0 17.6 L366.0 13.0 L370.0 11.8 L374.0 13.3 L377.0 9.1 L382.0 8.9 L385.0 8.1 L387.0 8.0 L389.0 8.1 L392.0 1.9 L395.0 7.1 L397.0 11.2 L400.0 11.5 L400 36 Z'/%3E%3Cpath d='M160.2 9.8 q18.5 -1.1 37.0 0 l0 1.1 q-18.5 0.7 -37.0 0Z M131.0 8.0 q23.8 -0.9 47.6 0 l0 0.9 q-23.8 0.5 -47.6 0Z M341.3 7.9 q9.3 -0.8 18.6 0 l0 0.8 q-9.3 0.5 -18.6 0Z M106.4 10.3 q13.1 -0.9 26.2 0 l0 0.9 q-13.1 0.6 -26.2 0Z M55.0 6.1 q27.4 -1.1 54.8 0 l0 1.1 q-27.4 0.6 -54.8 0Z M348.7 10.4 q9.8 -1.3 19.6 0 l0 1.3 q-9.8 0.8 -19.6 0Z M357.1 12.8 q13.8 -0.9 27.7 0 l0 0.9 q-13.8 0.5 -27.7 0Z M354.9 10.4 q18.8 -0.9 37.7 0 l0 0.9 q-18.8 0.5 -37.7 0Z M174.9 10.7 q14.0 -1.4 28.0 0 l0 1.4 q-14.0 0.9 -28.0 0Z'/%3E%3C/svg%3E") no-repeat 0 100% / 100% 100%; mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 400 36' preserveAspectRatio='none'%3E%3Cpath d='M0 36 L0.0 17.7 L2.0 17.2 L5.0 20.0 L8.0 18.0 L10.0 19.0 L12.0 21.6 L15.0 20.7 L17.0 20.2 L20.0 17.5 L23.0 18.7 L28.0 17.4 L31.0 16.1 L34.0 17.0 L36.0 17.7 L40.0 18.2 L43.0 17.5 L46.0 17.2 L49.0 16.8 L53.0 21.3 L56.0 15.9 L59.0 22.4 L63.0 21.9 L65.0 23.8 L68.0 22.5 L72.0 23.9 L74.0 25.5 L76.0 21.5 L81.0 24.9 L84.0 22.9 L87.0 18.9 L90.0 20.5 L93.0 20.0 L96.0 17.3 L100.0 14.4 L105.0 13.8 L109.0 15.6 L113.0 15.7 L117.0 15.5 L120.0 12.1 L122.0 13.8 L125.0 13.3 L130.0 14.4 L133.0 16.2 L138.0 16.4 L142.0 17.5 L147.0 14.8 L149.0 14.8 L152.0 12.3 L155.0 11.7 L157.0 10.6 L159.0 14.2 L161.0 13.2 L164.0 11.2 L169.0 8.6 L173.0 10.6 L177.0 7.2 L180.0 9.1 L183.0 8.4 L188.0 8.7 L190.0 10.9 L192.0 11.3 L195.0 13.2 L198.0 12.6 L201.0 14.1 L204.0 15.8 L207.0 14.0 L209.0 17.9 L213.0 15.4 L216.0 16.5 L219.0 18.9 L222.0 15.0 L225.0 15.2 L230.0 17.4 L233.0 11.2 L237.0 16.3 L241.0 16.5 L244.0 12.9 L248.0 14.9 L250.0 16.3 L253.0 13.8 L257.0 18.3 L262.0 20.8 L265.0 18.2 L267.0 18.3 L269.0 21.2 L273.0 24.5 L276.0 21.0 L281.0 22.7 L284.0 24.1 L286.0 25.6 L290.0 24.1 L295.0 21.9 L300.0 19.2 L305.0 17.2 L308.0 18.9 L311.0 16.3 L313.0 17.6 L318.0 16.8 L320.0 14.5 L322.0 17.8 L327.0 14.8 L329.0 16.8 L334.0 18.2 L337.0 18.0 L341.0 18.7 L346.0 20.6 L349.0 20.7 L352.0 20.1 L354.0 17.8 L357.0 17.3 L360.0 18.0 L363.0 17.6 L366.0 13.0 L370.0 11.8 L374.0 13.3 L377.0 9.1 L382.0 8.9 L385.0 8.1 L387.0 8.0 L389.0 8.1 L392.0 1.9 L395.0 7.1 L397.0 11.2 L400.0 11.5 L400 36 Z'/%3E%3Cpath d='M160.2 9.8 q18.5 -1.1 37.0 0 l0 1.1 q-18.5 0.7 -37.0 0Z M131.0 8.0 q23.8 -0.9 47.6 0 l0 0.9 q-23.8 0.5 -47.6 0Z M341.3 7.9 q9.3 -0.8 18.6 0 l0 0.8 q-9.3 0.5 -18.6 0Z M106.4 10.3 q13.1 -0.9 26.2 0 l0 0.9 q-13.1 0.6 -26.2 0Z M55.0 6.1 q27.4 -1.1 54.8 0 l0 1.1 q-27.4 0.6 -54.8 0Z M348.7 10.4 q9.8 -1.3 19.6 0 l0 1.3 q-9.8 0.8 -19.6 0Z M357.1 12.8 q13.8 -0.9 27.7 0 l0 0.9 q-13.8 0.5 -27.7 0Z M354.9 10.4 q18.8 -0.9 37.7 0 l0 0.9 q-18.8 0.5 -37.7 0Z M174.9 10.7 q14.0 -1.4 28.0 0 l0 1.4 q-14.0 0.9 -28.0 0Z'/%3E%3C/svg%3E") no-repeat 0 100% / 100% 100%; }
  .hero__txt { max-width: calc(var(--wrap) - 410px - 3.25rem); margin-left: max(var(--pad), calc((100vw - var(--wrap)) / 2 + var(--pad))); padding-bottom: 2.5rem; }
  .devis { top: calc(clamp(460px, 40vw, 640px) - 150px) !important; }
}
/* v18 : bandeau plus haut, photo plus « ouverte » */
@media (min-width: 960px) {
  .hero__photo { height: clamp(520px, 50vw, 780px); }
  .hero__photo img { object-position: 50% 50%; }
  .devis { top: calc(clamp(520px, 50vw, 780px) - 170px) !important; }
}
/* v19 (23.10, David : « comme ici » = aperçu B) : bandeau plus bas, tout le haut de page visible */
@media (min-width: 960px) {
  .hero__photo { height: clamp(400px, 30vw, 560px); }
  .hero__photo img { object-position: 50% 85%; }
  .devis { top: calc(clamp(400px, 30vw, 560px) - 130px) !important; }
}
/* v20 (23.10, David) : photo en miroir sur ordinateur (PAC à gauche, formulaire sur le jardin) */
@media (min-width: 960px) { .hero__photo img { transform: scaleX(-1); } }
