/* JB Couverture Zinguerie — v3 « moderne & métallique ». Aucune dépendance. */
:root {
  --white: #FFFFFF;
  --grey: #F4F5F7;          /* gris béton */
  --ink: #1E232A;           /* ardoise */
  --ink-2: #4B535E;         /* texte secondaire (AA sur blanc et béton) */
  --zinc: #8A95A5;          /* filets */
  --zinc-line: #D3D8DF;     /* filets très fins */
  --zinc-txt: #5E6876;      /* zinc lisible pour du texte (AA) */
  --cta: #B44D27;           /* #C85A32 assombri : blanc dessus = 5,2:1 (AA) */
  --cta-h: #9A3F1E;
  --wrap: 1240px;
  --gut: 20px;
  --font: "Plus Jakarta Sans", system-ui, -apple-system, "Segoe UI", Roboto, Arial, sans-serif;
  --ease: cubic-bezier(.2, .7, .2, 1);
}
@media (min-width: 768px) { :root { --gut: 40px; } }

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  margin: 0; font-family: var(--font); font-size: 17px; line-height: 1.6; color: var(--ink);
  background: var(--white); overflow-x: hidden; font-feature-settings: "tnum" 0;
}
img { max-width: 100%; height: auto; display: block; }
a { color: var(--ink); text-underline-offset: 3px; text-decoration-thickness: 1px; }
a:hover { color: var(--cta); }
p { margin: 0 0 1em; }
h1, h2, h3 { margin: 0; line-height: 1.08; letter-spacing: -.025em; font-weight: 800; }
h2 { font-size: clamp(2rem, 1.35rem + 2.2vw, 3rem); }
h3 { font-size: 1.2rem; letter-spacing: -.01em; font-weight: 700; }
:focus-visible { outline: 2px solid var(--cta); outline-offset: 3px; }
[id] { scroll-margin-top: 72px; }
.wrap { width: 100%; max-width: var(--wrap); margin: 0 auto; padding: 0 var(--gut); }
.skip { position: absolute; left: -9999px; top: 0; background: var(--ink); color: #fff; padding: 12px 16px; z-index: 100; }
.skip:focus { left: 8px; top: 8px; color: #fff; }
.small { font-size: 16px; color: var(--ink-2); }

/* ---------- Boutons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; min-height: 52px; padding: 12px 24px;
  border: 1.5px solid var(--cta); border-radius: 2px; background: var(--cta); color: #fff;
  font: 700 16px/1.2 var(--font); letter-spacing: .01em; text-decoration: none; cursor: pointer; text-align: center;
  transition: transform .2s var(--ease), background-color .2s, border-color .2s, color .2s;
}
.btn:hover { background: var(--cta-h); border-color: var(--cta-h); color: #fff; transform: translateY(-2px); }
.btn:active { transform: none; }
.btn-line { background: transparent; color: var(--ink); border-color: var(--ink); }
.btn-line:hover { background: var(--ink); border-color: var(--ink); color: #fff; }
.btn-block { width: 100%; }
.link { display: inline-flex; align-items: center; min-height: 44px; font-weight: 600; }

/* ---------- En-tête ---------- */
.top { position: sticky; top: 0; z-index: 50; background: var(--white); border-bottom: 1px solid var(--zinc-line); transition: border-color .2s; }
.top.is-compact { border-bottom-color: var(--zinc); }
.top-in { display: flex; align-items: center; gap: 24px; min-height: 64px; padding-top: 10px; padding-bottom: 10px; transition: padding .25s var(--ease); }
.ident { display: flex; flex-direction: column; justify-content: center; min-height: 44px; text-decoration: none; color: var(--ink); margin-right: auto; }
.ident-name { font-weight: 800; font-size: 16px; letter-spacing: .06em; text-transform: uppercase; line-height: 1.15; }
.ident-trade { display: none; font-size: 16px; color: var(--ink-2); line-height: 1.3; transition: opacity .2s; }
.top-tel { display: none; text-decoration: none; color: var(--ink); text-align: right; }
.top-tel-num { display: block; font-weight: 800; font-size: 22px; letter-spacing: -.01em; font-variant-numeric: tabular-nums; line-height: 1.1; }
.top-tel-hours { display: block; font-size: 16px; color: var(--ink-2); transition: opacity .2s; }
.top-tel:hover .top-tel-num { color: var(--cta); }

.burger {
  width: 48px; height: 48px; display: inline-flex; flex-direction: column; justify-content: center; align-items: center; gap: 6px;
  background: none; border: 1px solid var(--zinc-line); border-radius: 2px; cursor: pointer; padding: 0; flex: none;
}
.burger span { display: block; width: 20px; height: 1.5px; background: var(--ink); transition: transform .25s var(--ease), opacity .2s; }
.burger[aria-expanded="true"] span:nth-child(1) { transform: translateY(7.5px) rotate(45deg); }
.burger[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.burger[aria-expanded="true"] span:nth-child(3) { transform: translateY(-7.5px) rotate(-45deg); }

.nav { display: none; }
.nav.is-open {
  display: block; position: absolute; left: 0; right: 0; top: 100%;
  background: var(--white); border-bottom: 1px solid var(--zinc); padding: 0 var(--gut) 16px;
}
.nav ul { list-style: none; margin: 0; padding: 0; }
.nav li a { display: flex; align-items: center; min-height: 52px; border-bottom: 1px solid var(--zinc-line); text-decoration: none; font-weight: 600; font-size: 18px; }
.nav-tel { display: flex; align-items: center; min-height: 56px; font-weight: 800; font-size: 22px; text-decoration: none; font-variant-numeric: tabular-nums; }

@media (min-width: 600px) { .ident-trade { display: block; } .ident-name { font-size: 17px; } }
@media (min-width: 1000px) {
  .top-in { min-height: 84px; padding-top: 16px; padding-bottom: 16px; }
  .top.is-compact .top-in { min-height: 60px; padding-top: 6px; padding-bottom: 6px; }
  .top.is-compact .ident-trade, .top.is-compact .top-tel-hours { opacity: 0; height: 0; overflow: hidden; }
  .burger { display: none; }
  .top-tel { display: block; }
  .nav, .nav.is-open { display: block; position: static; padding: 0; border: 0; }
  .nav ul { display: flex; gap: 28px; }
  .nav li a { position: relative; border: 0; min-height: 44px; font-size: 16px; font-weight: 600; }
  .nav li a::after {
    content: ""; position: absolute; left: 0; right: 0; bottom: 8px; height: 1.5px; background: var(--cta);
    transform: scaleX(0); transform-origin: left; transition: transform .25s var(--ease);
  }
  .nav li a:hover, .nav li a:focus-visible { color: var(--ink); }
  .nav li a:hover::after, .nav li a:focus-visible::after { transform: scaleX(1); }
  .nav-tel { display: none; }
}

/* ---------- Héros asymétrique ---------- */
.hero { display: grid; border-bottom: 1px solid var(--zinc-line); }
.hero-txt { padding: 36px var(--gut) 32px; }
.hero h1 { font-size: clamp(2.4rem, 1.4rem + 3.4vw, 4.25rem); letter-spacing: -.035em; line-height: 1.02; margin-bottom: 24px; }
.hero-lead { font-size: 19px; color: var(--ink); }
.hero-txt > p { max-width: 38ch; color: var(--ink-2); }
.hero-txt > .hero-lead { color: var(--ink); }
.hero-call { margin-top: 28px; padding-top: 20px; border-top: 1px solid var(--zinc-line); }
.hero-call p { margin-bottom: 14px; }
.hero-google { margin: 20px 0 0; }
.hero-google a { display: inline-flex; align-items: center; gap: 8px; min-height: 44px; font-size: 16px; font-weight: 600; font-variant-numeric: tabular-nums; }
.hero-google a::before { content: ""; width: 14px; height: 14px; background: var(--cta);
  clip-path: polygon(50% 0, 61% 35%, 98% 35%, 68% 57%, 79% 91%, 50% 70%, 21% 91%, 32% 57%, 2% 35%, 39% 35%); }
.hero-photo { margin: 0; }
.hero-photo img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; }
figcaption { font-size: 16px; color: var(--ink-2); line-height: 1.45; }
.hero-photo figcaption { padding: 10px var(--gut) 14px; }
@media (min-width: 1000px) {
  .hero { grid-template-columns: max(var(--gut), calc((100vw - var(--wrap)) / 2 + var(--gut))) minmax(0, 470px) 72px minmax(0, 1fr); }
  .hero-txt { grid-column: 2; align-self: center; padding: 72px 0; }
  .hero-photo { grid-column: 4; display: flex; flex-direction: column; }
  .hero-photo img { flex: 1; aspect-ratio: auto; min-height: 640px; height: 100%; }
  .hero-photo figcaption { padding: 10px 24px 14px 0; }
}

/* ---------- Bandeau dépannage ---------- */
.band { background: var(--ink); color: #C9CED6; }
.band-in { display: flex; flex-direction: column; gap: 16px; padding-top: 24px; padding-bottom: 24px; }
.band p { margin: 0; }
.band strong { color: #fff; font-weight: 700; display: block; font-size: 18px; }
@media (min-width: 900px) {
  .band-in { flex-direction: row; align-items: center; justify-content: space-between; }
  .band strong { display: inline; margin-right: 8px; }
  .band .btn { flex: none; }
}

/* ---------- Sections : rythme ---------- */
.sec { padding: 64px 0; }
.sec-tight { padding-bottom: 32px; }
.sec-grey { background: var(--grey); }
.sec-head { margin-bottom: 36px; }
.sec-head h2 { margin-bottom: 12px; }
.sec-head p { color: var(--ink-2); max-width: 52ch; margin: 0; }
@media (min-width: 900px) {
  .sec { padding: 112px 0; }
  .sec-tight { padding-bottom: 48px; }
  .sec-head { margin-bottom: 48px; }
  .sec-head-row { display: flex; align-items: baseline; justify-content: space-between; gap: 32px; }
  .sec-head-row h2 { margin: 0; }
}

/* ---------- Ce que je fais : bordereau ---------- */
.bord { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: 1fr; border-top: 2px solid var(--ink); border-left: 1px solid var(--zinc-line); }
.bord-item {
  position: relative; display: flex; flex-direction: column; padding: 22px 24px 26px;
  border-right: 1px solid var(--zinc-line); border-bottom: 1px solid var(--zinc-line); background: var(--white);
  transition: box-shadow .2s;
}
.bord-ph { margin: -22px -24px 20px; overflow: hidden; aspect-ratio: 3 / 2; }
.bord-ph img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s var(--ease); }
.ref { font-size: 16px; font-weight: 600; color: var(--zinc-txt); font-variant-numeric: tabular-nums; letter-spacing: .04em; margin-bottom: 6px; }
.bord-item h3 { margin-bottom: 8px; }
.bord-item p { margin: 0 0 10px; }
.bord-item .spec { margin: auto 0 0; padding-top: 12px; border-top: 1px solid var(--zinc-line); font-size: 16px; color: var(--ink-2); }
.bord-txt { justify-content: flex-start; }
.bord-txt .ref { margin-bottom: auto; padding-bottom: 32px; }
.bord-dark { background: var(--ink); color: #fff; border-color: var(--ink); }
.bord-dark .ref { color: #AEB6C2; }
.bord-dark .spec { color: #C9CED6; border-top-color: #3A414C; }
.bord-tel { display: inline-flex; align-items: center; min-height: 48px; margin-top: 12px; color: #fff; font-weight: 800; font-size: 24px; font-variant-numeric: tabular-nums; text-decoration: none; }
.bord-tel:hover { color: #F2A27F; }
@media (hover: hover) {
  .bord-item:not(.bord-dark):hover { box-shadow: inset 0 0 0 1px var(--zinc); }
  .bord-item:hover .bord-ph img { transform: scale(1.03); }
}
@media (min-width: 680px) { .bord { grid-template-columns: 1fr 1fr; } }
@media (min-width: 1000px) {
  .bord { grid-template-columns: 1fr 1fr 1fr; }
  .bord-txt .ref { padding-bottom: 0; }
}

/* ---------- Chantiers ---------- */
.ch { margin: 0; }
.ch-frame { overflow: hidden; margin: 0 calc(-1 * var(--gut)); }
.ch-frame img { width: 100%; height: 100%; object-fit: cover; transition: transform .6s var(--ease); }
.ch-wide .ch-frame { aspect-ratio: 4 / 3; }
.ch-a .ch-frame { aspect-ratio: 4 / 5; }
.ch-b .ch-frame { aspect-ratio: 3 / 4; }
.ch figcaption { padding-top: 10px; display: flex; flex-wrap: wrap; gap: 0 8px; }
.ch figcaption span { color: var(--ink); font-weight: 600; }
.ch-pair { display: grid; gap: 40px; margin-top: 40px; }
@media (hover: hover) { .ch:hover .ch-frame img { transform: scale(1.03); } .ch:hover .ch-frame { outline: 1px solid var(--zinc); outline-offset: 0; } }
@media (min-width: 768px) {
  .ch-frame { margin: 0; }
  .ch-wide .ch-frame { aspect-ratio: 21 / 9; }
  .ch-pair { grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); gap: 48px; align-items: start; margin-top: 56px; }
  .ch-pair .ch-b { margin-top: 140px; }
}

/* Comparateur avant / après (prêt, masqué tant qu'il n'y a pas de photos) */
.ba { margin: 56px 0 0; }
.ba-stage { position: relative; aspect-ratio: 16 / 10; overflow: hidden; background: var(--ink); user-select: none; touch-action: pan-y; }
.ba-stage:focus-within { outline: 2px solid var(--cta); outline-offset: 3px; }
.ba-before, .ba-after { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.ba-before { clip-path: inset(0 calc(100% - var(--pos)) 0 0); }
.ba-handle { position: absolute; top: 0; bottom: 0; left: var(--pos); width: 2px; margin-left: -1px; background: #fff; pointer-events: none; }
.ba-range { position: absolute; inset: 0; width: 100%; height: 100%; margin: 0; opacity: 0; cursor: ew-resize; }

/* ---------- Avis ---------- */
.avis-in { display: grid; gap: 32px; }
.avis-head h2 { margin-bottom: 16px; }
.avis-note { font-size: 18px; color: var(--ink-2); margin-bottom: 4px; font-variant-numeric: tabular-nums; }
.avis-note strong { color: var(--ink); font-size: 28px; font-weight: 800; letter-spacing: -.02em; margin-right: 6px; }
.avis-list { display: grid; gap: 0; }
.avis-list blockquote { margin: 0; padding: 24px 0; border-top: 1px solid var(--zinc); }
.avis-list p { font-size: 18px; line-height: 1.55; margin-bottom: 14px; }
.avis-list footer { font-size: 16px; color: var(--ink-2); font-weight: 600; }
@media (min-width: 900px) {
  .avis-in { grid-template-columns: minmax(0, 3fr) minmax(0, 9fr); gap: 56px; }
  .avis-list { grid-template-columns: repeat(3, 1fr); }
  .avis-list blockquote { padding: 4px 28px 0; border-top: 0; border-left: 1px solid var(--zinc); }
}

/* ---------- Étapes : frise fine ---------- */
.steps { list-style: none; margin: 0; padding: 0; display: grid; }
.steps li { display: grid; grid-template-columns: 56px 1fr; column-gap: 8px; padding: 20px 0; border-top: 1px solid var(--zinc-line); position: relative; }
.steps li::before { content: ""; position: absolute; left: 0; top: -1px; width: 32px; height: 2px; background: var(--ink); }
.step-n { grid-row: span 2; font-size: 32px; font-weight: 500; line-height: 1; color: var(--zinc-txt); font-variant-numeric: tabular-nums; letter-spacing: -.02em; }
.steps h3 { margin-bottom: 6px; }
.steps p { margin: 0; color: var(--ink-2); }
@media (min-width: 900px) {
  .steps { grid-template-columns: repeat(4, 1fr); column-gap: 32px; }
  .steps li { display: block; padding: 24px 0 0; }
  .step-n { display: block; font-size: 44px; margin-bottom: 28px; }
}

/* ---------- Secteur ---------- */
.secteur-in { display: grid; gap: 40px; }
.secteur-txt h2 { margin-bottom: 16px; }
.towns { list-style: none; margin: 24px 0; padding: 0; display: grid; grid-template-columns: 1fr 1fr; column-gap: 24px; border-top: 1px solid var(--zinc); }
.towns li { padding: 10px 0; border-bottom: 1px solid var(--zinc-line); font-size: 16px; font-weight: 500; }
.map { margin: 0; }
.map svg { width: 100%; height: auto; display: block; max-width: 560px; margin: 0 auto; }
.map figcaption { text-align: center; margin-top: 8px; }
.m-zone { fill: var(--white); stroke: var(--ink); stroke-width: .5; }
.m-ring { fill: none; stroke: var(--zinc-line); stroke-width: .5; }
.m-km { fill: var(--zinc-txt); font-size: 5px; text-anchor: middle; font-family: var(--font); }
.m-river { fill: none; stroke: #A9B8C8; stroke-width: 1.1; stroke-linecap: round; }
.m-river-t { fill: #6F86A0; font-size: 4.6px; font-style: italic; font-family: var(--font); }
.m-ref circle { fill: none; stroke: var(--zinc); stroke-width: .5; }
.m-ref text { fill: var(--zinc-txt); font-size: 5px; font-family: var(--font); }
.m-town circle { fill: var(--ink); }
.m-town text { fill: var(--ink); font-size: 5.6px; font-weight: 600; font-family: var(--font); }
.m-dot { fill: var(--cta); stroke: #fff; stroke-width: 1; }
.m-pulse { fill: var(--cta); opacity: 0; transform-box: fill-box; transform-origin: center; }
.m-home text { fill: var(--ink); font-size: 7px; font-weight: 800; font-family: var(--font); }
@media (prefers-reduced-motion: no-preference) {
  .m-pulse { animation: pulse 2.6s var(--ease) infinite; }
  @keyframes pulse { 0% { opacity: .45; transform: scale(1); } 100% { opacity: 0; transform: scale(3.2); } }
}
@media (max-width: 599px) {
  .m-town text { font-size: 6.6px; }
  .m-home text { font-size: 8px; }
  .m-ref text, .m-km { font-size: 5.8px; }
}
@media (min-width: 900px) { .secteur-in { grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: 72px; align-items: center; } }

/* ---------- Devis ---------- */
.devis-in { display: grid; gap: 40px; }
.devis-txt h2 { margin-bottom: 16px; }
.devis-txt > p { color: var(--ink-2); max-width: 40ch; }
.devis-coord { display: grid; grid-template-columns: 110px 1fr; margin: 28px 0 0; border-top: 1px solid var(--zinc); }
.devis-coord dt, .devis-coord dd { margin: 0; padding: 10px 0; border-bottom: 1px solid var(--zinc-line); display: flex; align-items: center; min-height: 52px; }
.devis-coord dt { font-size: 16px; color: var(--ink-2); }
.devis-coord dd { font-weight: 600; overflow-wrap: anywhere; }
.devis-coord a { display: inline-flex; align-items: center; min-height: 44px; }
.form { background: var(--grey); padding: 24px 20px; margin: 0 calc(-1 * var(--gut)); }
.f-row { display: grid; gap: 0 20px; }
.field { margin-bottom: 18px; }
.field label { display: block; font-weight: 600; font-size: 16px; margin-bottom: 6px; }
.req { color: var(--cta); }
.opt { font-weight: 400; color: var(--ink-2); }
.field input:not([type=file]), .field select, .field textarea {
  width: 100%; min-height: 50px; padding: 12px 14px; font: 17px/1.4 var(--font); color: var(--ink);
  background: var(--white); border: 1px solid var(--zinc); border-radius: 2px; transition: border-color .15s;
}
.field textarea { min-height: 104px; resize: vertical; }
.field input:hover, .field select:hover, .field textarea:hover { border-color: var(--ink-2); }
.field input:focus-visible, .field select:focus-visible, .field textarea:focus-visible { outline: 2px solid var(--cta); outline-offset: 1px; border-color: var(--ink); }
.field input[type=file] { width: 100%; max-width: 100%; font: 16px var(--font); padding: 12px; min-height: 52px; background: var(--white); border: 1px dashed var(--zinc); border-radius: 2px; }
.field input[type=file]::file-selector-button {
  font: 600 16px var(--font); margin-right: 12px; padding: 8px 14px; min-height: 40px;
  border: 1px solid var(--ink); background: var(--white); border-radius: 2px; cursor: pointer;
}
.field [aria-invalid="true"] { border-color: #B3261E !important; }
.check { display: flex; gap: 12px; align-items: flex-start; margin: 4px 0 20px; }
.check input { width: 24px; height: 24px; margin: 2px 0 0; flex: none; accent-color: var(--cta); }
.check label { font-size: 16px; line-height: 1.5; }
.form-msg { margin: 0 0 12px; font-weight: 600; }
.form-msg:empty { display: none; }
.form-msg.is-error { color: #B3261E; }
.form-msg.is-ok { color: #2E6B3A; }
.form .small { margin: 12px 0 0; }
@media (min-width: 640px) { .f-row { grid-template-columns: 1fr 1fr; } .form { margin: 0; padding: 36px; } }
@media (min-width: 1000px) { .devis-in { grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: 80px; align-items: start; } }

/* ---------- Pied de page ---------- */
.foot { background: var(--ink); color: #C5CBD3; padding: 56px 0 0; font-size: 16px; }
.foot a { color: #fff; }
.foot a:hover { color: #F2A27F; }
.foot-in { display: grid; gap: 24px; }
.foot-name { font-weight: 800; letter-spacing: .06em; text-transform: uppercase; color: #fff; }
.foot-tel { font-weight: 800; font-size: 24px; font-variant-numeric: tabular-nums; text-decoration: none; }
.foot p a { display: inline-flex; align-items: center; min-height: 44px; }
.copy { border-top: 1px solid #353C47; margin-top: 32px; padding-top: 18px; padding-bottom: 24px; }
@media (min-width: 768px) { .foot-in { grid-template-columns: 5fr 4fr 3fr; } }

/* ---------- Barre d'action mobile ---------- */
.mbar {
  position: fixed; left: 0; right: 0; bottom: 0; z-index: 60; display: grid; grid-template-columns: 1fr 1fr; gap: 8px;
  padding: 8px 12px calc(8px + env(safe-area-inset-bottom)); background: var(--white); border-top: 1px solid var(--zinc);
  transition: transform .3s var(--ease), visibility 0s linear 0s;
}
.mbar .btn { min-height: 50px; padding: 8px 10px; }
.js .mbar:not(.is-visible) { transform: translateY(110%); visibility: hidden; transition: transform .3s var(--ease), visibility 0s linear .3s; }
body { padding-bottom: 70px; }
@media (min-width: 1000px) { .mbar { display: none; } body { padding-bottom: 0; } }
.no-mbar { padding-bottom: 0; }

/* ---------- Apparition au défilement ---------- */
@media (prefers-reduced-motion: no-preference) {
  .js .reveal { opacity: 0; transform: translateY(16px); transition: opacity .6s var(--ease), transform .6s var(--ease); transition-delay: var(--d, 0ms); }
  .js .reveal.is-in { opacity: 1; transform: none; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition-duration: .01ms !important; animation: none !important; }
  .btn:hover { transform: none; }
}

/* ---------- Mentions légales ---------- */
.legal { padding: 48px 0 72px; }
.legal .wrap { max-width: 820px; }
.legal h1 { font-size: clamp(2.2rem, 1.6rem + 2vw, 3rem); letter-spacing: -.03em; margin-bottom: 20px; }
.legal h2 { font-size: 1.5rem; margin: 1.8em 0 .6em; padding-top: 1em; border-top: 1px solid var(--zinc-line); }
.legal dl { display: grid; grid-template-columns: 1fr; gap: 2px 16px; margin: 0 0 1em; }
.legal dt { font-weight: 700; margin-top: 8px; }
.legal dd { margin: 0; }
.legal a { display: inline-flex; align-items: center; min-height: 44px; }
.tbd { color: var(--ink-2); font-style: italic; }
.back { margin: 0; padding-bottom: 8px; }
.back a { display: inline-flex; align-items: center; min-height: 44px; }
@media (min-width: 640px) { .legal dl { grid-template-columns: 240px 1fr; } .legal dt { margin-top: 0; } }
@media (max-width: 999px) { .no-mbar .top-tel { display: block; text-align: left; } .no-mbar .top-in { flex-wrap: wrap; } }

/* =====================================================================
   v4 — structure inspirée d'un template d'artisan (héros + formulaire,
   chiffres, engagements, FAQ). Surcharges de la v3.
   ===================================================================== */
:root { --ease-out: cubic-bezier(.33, 1, .68, 1); }

/* Boutons : légère mise en avant au survol (luminosité limitée à 106 % pour garder le contraste AA) */
.btn { transition: transform .2s var(--ease-out), filter .2s, background-color .2s, border-color .2s, color .2s; }
.btn:hover { background: var(--cta); border-color: var(--cta); color: #fff; transform: scale(1.02); filter: brightness(1.06); }
.btn-line:hover { background: var(--ink); border-color: var(--ink); color: #fff; filter: none; }
.stars { color: var(--cta); letter-spacing: .08em; }

/* Halo de focus 2px sur les champs */
.field input:not([type=file]):focus-visible, .field select:focus-visible, .field textarea:focus-visible {
  outline: none; border-color: var(--cta); box-shadow: 0 0 0 2px rgba(180, 77, 39, .45);
}

/* ---------- Héros : photo réelle en fond, texte + demande rapide ---------- */
.hero { display: block; position: relative; color: #fff; background: var(--ink); border: 0; overflow: hidden; }
.hero-bg { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: 40% 50%; }
.hero::before { content: ""; position: absolute; inset: 0; z-index: 1; background: rgba(30, 35, 42, .84); }
.hero-in { position: relative; z-index: 2; display: grid; gap: 28px; padding-top: 40px; padding-bottom: 28px; }
.hero .hero-txt { padding: 0; grid-column: auto; align-self: center; }
.hero h1 { color: #fff; margin-bottom: 20px; }
.hero .hero-lead { color: #E3E6EA; max-width: 40ch; }
.hero .hero-call { border-top-color: rgba(255, 255, 255, .22); }
.hero .hero-google a { color: #fff; }
.hero .hero-google a::before { display: none; }
.hero-cap { position: relative; z-index: 2; margin: 0; padding-bottom: 14px; font-size: 16px; color: #BFC5CE; }
.qform { background: var(--white); color: var(--ink); padding: 24px 20px; border: 1px solid var(--zinc-line); border-radius: 2px; }
.qform-t { font-size: 1.5rem; margin-bottom: 4px; }
.qform-sub { color: var(--ink-2); font-size: 16px; margin-bottom: 18px; }
.qform .field { margin-bottom: 14px; }
.qform .check { margin-bottom: 16px; }
@media (min-width: 1000px) {
  .hero::before { background: linear-gradient(90deg, rgba(30,35,42,.93) 0%, rgba(30,35,42,.82) 55%, rgba(30,35,42,.6) 100%); }
  .hero-in { grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); gap: 72px; padding-top: 88px; padding-bottom: 56px; align-items: center; }
  .qform { padding: 32px; }
}

/* ---------- Chiffres ---------- */
.stats { border-bottom: 1px solid var(--zinc-line); }
.stats-in { list-style: none; margin-top: 0; margin-bottom: 0; display: grid; grid-template-columns: 1fr 1fr; }
.stats-in li { padding: 24px 0 22px; border-bottom: 1px solid var(--zinc-line); }
.stats-in li:nth-child(odd) { padding-right: 16px; border-right: 1px solid var(--zinc-line); }
.stats-in li:nth-child(even) { padding-left: 16px; }
.stats-in li:nth-last-child(-n+2) { border-bottom: 0; }
.stat-n { display: block; font-size: clamp(2rem, 1.5rem + 1.6vw, 2.75rem); font-weight: 800; letter-spacing: -.03em; line-height: 1.05; font-variant-numeric: tabular-nums; }
.stat-l { display: block; font-size: 16px; color: var(--ink-2); margin-top: 6px; line-height: 1.35; }
@media (min-width: 900px) {
  .stats-in { grid-template-columns: repeat(4, 1fr); }
  .stats-in li, .stats-in li:nth-child(odd), .stats-in li:nth-child(even) { padding: 36px 24px; border-bottom: 0; border-right: 1px solid var(--zinc-line); }
  .stats-in li:first-child { padding-left: 0; }
  .stats-in li:last-child { border-right: 0; }
}

/* ---------- Cartes (services, engagements, avis) ---------- */
.card { transition: transform .3s var(--ease-out), box-shadow .3s var(--ease-out), border-color .3s; }
@media (hover: hover) {
  .card:hover { transform: translateY(-6px); box-shadow: 0 14px 28px -18px rgba(30, 35, 42, .35); border-color: var(--zinc); }
  .bord-item:not(.bord-dark):hover { box-shadow: 0 14px 28px -18px rgba(30, 35, 42, .35); }
}
.bord { gap: 20px; border: 0; }
.bord-item { border: 1px solid var(--zinc-line); }
.bord-ph img, .ch-frame img { transition: transform .4s var(--ease-out); }
@media (min-width: 1000px) { .bord { gap: 24px; } }

/* ---------- Pourquoi moi ---------- */
.why { list-style: none; margin: 0; padding: 0; display: grid; gap: 20px; }
.why-item { background: var(--white); border: 1px solid var(--zinc-line); padding: 28px 24px; }
.why-ico { width: 40px; height: 40px; fill: none; stroke: var(--cta); stroke-width: 1.6; stroke-linecap: round; stroke-linejoin: round; margin-bottom: 18px; }
.why-item h3 { margin-bottom: 10px; }
.why-item p { margin: 0; color: var(--ink-2); }
@media (min-width: 900px) { .why { grid-template-columns: repeat(3, 1fr); gap: 24px; } .why-item { padding: 36px 32px; } }

/* ---------- Avis ---------- */
#avis .sec-head-row p { max-width: none; }
.avis-note { margin: 0; color: var(--ink-2); }
.avis-note strong { font-size: 22px; color: var(--ink); margin: 0 4px 0 6px; }
.avis-note .link { display: inline-flex; }
.avis-list { display: grid; gap: 20px; grid-template-columns: 1fr; }
.avis-list blockquote.avis { margin: 0; padding: 26px 24px; background: var(--white); border: 1px solid var(--zinc-line); border-left: 1px solid var(--zinc-line); display: flex; flex-direction: column; }
.avis .stars { margin: 0 0 12px; font-size: 18px; }
.avis p { font-size: 18px; }
.avis footer { margin-top: auto; padding-top: 12px; border-top: 1px solid var(--zinc-line); font-size: 16px; color: var(--ink-2); font-weight: 600; }
@media (min-width: 900px) { .avis-list { grid-template-columns: repeat(3, 1fr); gap: 24px; } .avis-list blockquote.avis { padding: 32px 28px; } }

/* ---------- FAQ ---------- */
.faq-in { display: grid; gap: 8px; }
.faq { border-top: 1px solid var(--ink); }
.faq details { border-bottom: 1px solid var(--zinc-line); }
.faq summary {
  list-style: none; cursor: pointer; display: flex; align-items: center; justify-content: space-between; gap: 16px;
  min-height: 60px; padding: 14px 0; font-weight: 700; font-size: 18px;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after {
  content: ""; flex: none; width: 14px; height: 14px; margin-right: 4px;
  background: linear-gradient(var(--ink), var(--ink)) center / 14px 1.5px no-repeat, linear-gradient(var(--ink), var(--ink)) center / 1.5px 14px no-repeat;
  transition: transform .3s var(--ease-out);
}
.faq details[open] summary::after { transform: rotate(45deg); }
.faq summary:hover { color: var(--cta); }
.faq summary:focus-visible { outline: 2px solid var(--cta); outline-offset: 2px; }
.faq details p { margin: 0; padding: 0 0 20px; color: var(--ink-2); max-width: 64ch; }
@media (min-width: 900px) { .faq-in { grid-template-columns: minmax(0, 4fr) minmax(0, 8fr); gap: 72px; align-items: start; } }

/* Le formulaire complet est sur fond béton : panneau blanc */
#devis .form { background: var(--white); border: 1px solid var(--zinc-line); }

/* ---------- Apparition : 30 px, 600 ms, ease-out cubique ---------- */
@media (prefers-reduced-motion: no-preference) {
  .js .reveal { transform: translateY(30px); transition: opacity .6s var(--ease-out), transform .6s var(--ease-out), box-shadow .3s var(--ease-out), border-color .3s; }
  .js .reveal.is-in { transform: none; }
  .js .reveal.card.is-in:hover { transform: translateY(-6px); }
}
@media (prefers-reduced-motion: reduce) {
  .card:hover, .btn:hover { transform: none; }
}

/* =====================================================================
   v4.1 — vraies photos de chantier, démoussage, comparateurs à onglets
   ===================================================================== */
#devis .form { background: var(--grey); border: 0; }

/* Carte démoussage mise en avant */
.bord-feat { border-top: 2px solid var(--cta); }
.bord-more { margin-top: 8px; color: var(--cta); }

/* Section démoussage */
.demo-in { display: grid; gap: 32px; }
.demo-txt h2 { margin-bottom: 16px; }
.demo-txt p { color: var(--ink-2); max-width: 44ch; }
.demo-txt .btn { margin-top: 8px; }
@media (min-width: 1000px) {
  .demo-in { grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: 64px; align-items: center; }
}

/* Comparateur avant / après à curseur (souris, doigt, clavier) */
.ba { margin: 0; }
.ba-stage {
  position: relative; aspect-ratio: 16 / 9; overflow: hidden; background: var(--ink);
  user-select: none; -webkit-user-select: none; touch-action: pan-y; cursor: ew-resize;
}
.ba-stage img { pointer-events: none; -webkit-user-drag: none; }
.ba-stage:focus-within { outline: none; }
.ba-stage:has(.ba-range:focus-visible) { outline: 2px solid var(--cta); outline-offset: 3px; }
.ba-before { clip-path: inset(0 calc(100% - var(--pos)) 0 0); }
.ba-range { position: absolute; inset: 0; width: 100%; height: 100%; margin: 0; opacity: 0; pointer-events: none; }
.ba-handle { position: absolute; top: 0; bottom: 0; left: var(--pos); width: 2px; margin-left: -1px; background: #fff; pointer-events: none; z-index: 2; }
.ba-handle::before, .ba-handle::after { content: none; }
.ba-knob {
  position: absolute; top: 50%; left: 50%; width: 46px; height: 46px; margin: -23px 0 0 -23px; border-radius: 50%;
  background: #fff; border: 2px solid var(--cta); display: grid; place-items: center;
}
.ba-knob::before { content: "‹\2009›"; font: 700 22px/1 var(--font); color: var(--ink); margin-top: -3px; }
.ba-stage.is-dragging .ba-knob { background: var(--grey); }
@media (prefers-reduced-motion: no-preference) {
  .ba-stage.is-new .ba-knob { animation: knob 1.4s ease-in-out 3; }
  @keyframes knob { 0%, 100% { box-shadow: 0 0 0 0 rgba(255, 255, 255, .75); } 60% { box-shadow: 0 0 0 12px rgba(255, 255, 255, 0); } }
}
.ba-tag { position: absolute; top: 12px; z-index: 3; background: rgba(30, 35, 42, .88); color: #fff; font-size: 16px; font-weight: 700; padding: 4px 10px; border-radius: 2px; pointer-events: none; }
.ba-tag-l { left: 12px; } .ba-tag-r { right: 12px; background: var(--cta); }
.ba figcaption { padding-top: 10px; font-size: 16px; color: var(--ink-2); line-height: 1.45; }
.ba figcaption strong, .gal figcaption strong { color: var(--ink); font-weight: 600; }
.ba-foot { display: flex; flex-wrap: wrap; gap: 12px 24px; align-items: flex-start; justify-content: space-between; }
.ba-foot > figcaption { flex: 1 1 260px; }
.ba-mid { margin: 10px 0 0; width: 180px; flex: none; }
.ba-mid img { width: 100%; aspect-ratio: 16 / 9; object-fit: cover; }
.ba-mid figcaption { padding-top: 6px; }

/* Grand comparateur + sélecteurs à miniatures */
.ba-box { display: flex; flex-direction: column; margin-bottom: 56px; }
.ba-tabs { order: 2; display: grid; grid-template-columns: 1fr 1fr; gap: 12px; margin-top: 20px; }
.ba-tab {
  display: flex; flex-direction: column; text-align: left; padding: 0; background: var(--white); color: var(--ink);
  border: 1px solid var(--zinc-line); border-radius: 2px; cursor: pointer; font: inherit; overflow: hidden;
  transition: border-color .3s, box-shadow .3s, transform .3s var(--ease-out);
}
.ba-tab img { width: 100%; aspect-ratio: 16 / 9; object-fit: cover; opacity: .75; transition: opacity .3s; }
.ba-tab-name { padding: 10px 12px 0; font-weight: 700; font-size: 16px; line-height: 1.25; }
.ba-tab-sub { padding: 2px 12px 12px; font-size: 16px; color: var(--ink-2); line-height: 1.3; }
.ba-tab:hover { border-color: var(--zinc); }
.ba-tab:hover img, .ba-tab[aria-selected="true"] img { opacity: 1; }
.ba-tab[aria-selected="true"] { border-color: var(--cta); box-shadow: inset 0 0 0 1px var(--cta); }
.ba-tab:focus-visible { outline: 2px solid var(--cta); outline-offset: 2px; }
@media (min-width: 900px) { .ba-tabs { grid-template-columns: repeat(4, 1fr); gap: 16px; } }

/* Galerie de chantiers (asymétrique) */
.gal { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.gal figure { margin: 0; }
.gal-f { overflow: hidden; background: var(--grey); }
.gal-f img { width: 100%; height: 100%; object-fit: cover; transition: transform .4s var(--ease-out); }
.gal figcaption { padding-top: 8px; font-size: 16px; color: var(--ink-2); line-height: 1.4; }
.gal-a { grid-column: 1 / -1; }
.gal-a .gal-f { aspect-ratio: 16 / 10; }
.gal-b .gal-f, .gal-c .gal-f { aspect-ratio: 3 / 4; }
.gal li:last-child { grid-column: 1 / -1; }
.gal li:last-child .gal-f { aspect-ratio: 16 / 10; }
@media (hover: hover) { .gal li:hover .gal-f img { transform: scale(1.03); } .gal li:hover .gal-f { outline: 1px solid var(--zinc); } }
@media (min-width: 900px) {
  .gal { grid-template-columns: repeat(12, 1fr); gap: 24px; }
  .gal-a { grid-column: span 8; }
  .gal-b { grid-column: span 4; }
  .gal-b .gal-f { aspect-ratio: 31 / 40; }
  .gal-c { grid-column: span 4; }
  .gal li:last-child { grid-column: span 4; }
  .gal li:last-child .gal-f { aspect-ratio: 31 / 40; }
}

/* En-tête : 6 entrées de menu, sans retour à la ligne */
@media (min-width: 1000px) {
  .ident, .top-tel { flex: none; }
  .ident-trade, .top-tel-hours, .nav li a { white-space: nowrap; }
  .nav ul { gap: 22px; }
}
@media (min-width: 1000px) and (max-width: 1379px) {
  .ident-trade, .top-tel-hours { display: none; }
  .nav ul { gap: 18px; }
}

/* Comparateur + sélecteurs en colonne à droite sur grand écran */
@media (min-width: 1000px) {
  .ba-box { display: grid; grid-template-columns: minmax(0, 1fr) 300px; gap: 0 24px; align-items: start; }
  .ba-panel { grid-column: 1; grid-row: 1; }
  .ba-tabs { grid-column: 2; grid-row: 1; grid-template-columns: 1fr; gap: 12px; margin-top: 0; }
  .ba-tab { display: grid; grid-template-columns: 112px 1fr; grid-template-rows: auto auto; align-content: center; column-gap: 0; min-height: 84px; }
  .ba-tab img { grid-row: 1 / span 2; height: 100%; aspect-ratio: auto; min-height: 84px; }
  .ba-tab-name { padding: 10px 12px 0; align-self: end; }
  .ba-tab-sub { padding: 2px 12px 10px; align-self: start; }
}

/* =====================================================================
   HABILLAGE « matériel / artisan » — surcharges finales.
   Contenu, HTML et JS inchangés.
   ===================================================================== */
:root {
  --ink: #1E293B;          /* ardoise */
  --ink-2: #475569;        /* texte secondaire : 7,6:1 sur blanc */
  --grey: #F8FAFC;         /* gris pierre */
  --zinc-line: #E2E8F0;    /* bordures */
  --zinc: #94A3B8;         /* bordure au survol (gris zinc) */
  --cta: #B9461A;          /* orange brique : blanc dessus = 5,3:1 (AA) */
  --cta-edge: #8A3311;     /* bord inférieur du bouton (même teinte, plus foncée) */
  --ink-edge: #0F172A;     /* bord inférieur du bouton ardoise */
  --card-shadow: 0 1px 3px rgba(0, 0, 0, .08);
}

/* 1. Boutons : aplats, rayon 4 px, relief par le bord inférieur */
.btn, .btn:hover, .btn:active, .btn:focus-visible { filter: none; }
.btn {
  border: 0; border-bottom: 3px solid var(--cta-edge); border-radius: 4px;
  background: var(--cta); color: #fff; box-shadow: none;
  transition: transform .08s ease-out, border-bottom-width .08s ease-out, background-color .15s;
}
.btn:hover { background: var(--cta); color: #fff; transform: translateY(1px); border-bottom-width: 2px; border-bottom-color: var(--cta-edge); }
.btn:active { transform: translateY(2px); border-bottom-width: 1px; }
.btn-line { background: var(--ink); color: #fff; border-bottom-color: var(--ink-edge); }
.btn-line:hover, .btn-line:active { background: var(--ink); color: #fff; border-bottom-color: var(--ink-edge); }
.btn:focus-visible { outline: 2px solid var(--ink); outline-offset: 3px; }
.band .btn:focus-visible, .bord-dark .btn:focus-visible { outline-color: #fff; }

/* 2. Ni pulsation, ni lueur, ni dégradé décoratif, ni flou */
.m-pulse { display: none; }
.ba-stage.is-new .ba-knob { animation: none; }
.hero::before { background: rgba(30, 41, 59, .84); }
@media (min-width: 1000px) { .hero::before { background: rgba(30, 41, 59, .8); } }
.faq summary::after {
  content: "+"; width: auto; height: auto; margin-right: 6px; background: none;
  font: 400 26px/1 var(--font); color: var(--ink);
}

/* 3. Cartes et blocs : aplat, bordure fine, ombre discrète, rayon 4 px */
.bord-item, .why-item, .avis-list blockquote.avis, .ba-tab, .qform, #devis .form {
  background: var(--white); border: 1px solid var(--zinc-line); border-radius: 4px; box-shadow: var(--card-shadow);
}
.bord-dark { background: var(--ink); border-color: var(--ink); }
.bord-feat { border-top: 2px solid var(--cta); }
#devis .form { background: var(--grey); }
.bord-ph { border-radius: 3px 3px 0 0; }
.ba-tab[aria-selected="true"] { border-color: var(--cta); box-shadow: inset 0 0 0 1px var(--cta), var(--card-shadow); }
.card, .ba-tab { transition: border-color .2s; }
.card:hover, .js .reveal.card.is-in:hover, .bord-item:not(.bord-dark):hover { transform: none; box-shadow: var(--card-shadow); border-color: var(--zinc); }
.bord-dark:hover { border-color: var(--ink); }
.ba-tab:hover { transform: none; border-color: var(--zinc); }
.field input:not([type=file]), .field select, .field textarea, .field input[type=file] { border-radius: 4px; }
.ba-stage, .demo-ba .ba-stage, .gal-f, .ba-mid img { border-radius: 4px; }
.ba-tag { border-radius: 3px; }
.ch-frame, .gal li:hover .gal-f { outline-color: var(--zinc); }

/* 5. Pas de majuscules espacées */
.ident-name, .foot-name { text-transform: none; letter-spacing: 0; font-weight: 800; }
.ident-name { font-size: 18px; }
.ref { letter-spacing: 0; }
.stars { letter-spacing: .04em; }

/* 6. Apparition plus discrète : 12 px, 400 ms ; aucune sur les petits éléments */
@media (prefers-reduced-motion: no-preference) {
  .js .reveal { transform: translateY(12px); transition: opacity .4s ease-out, transform .4s ease-out, border-color .2s; }
  .js .reveal.is-in { transform: none; }
  .js .stats .reveal, .js .steps .reveal, .js .avis-list .reveal { opacity: 1; transform: none; transition: border-color .2s; }
}
.ba-tag { background: rgba(30, 41, 59, .9); } .ba-tag-r { background: var(--cta); }
.m-pulse { animation: none !important; }

/* =====================================================================
   Passe textes : boutons du héros, chiffres fixes, 4 raisons
   ===================================================================== */
.hero-btns, .demo-btns { display: flex; flex-wrap: wrap; align-items: center; gap: 12px 20px; }
.btn-light { background: #fff; color: var(--ink); border-bottom-color: #CBD5E1; }
.btn-light:hover, .btn-light:active { background: #fff; color: var(--ink); border-bottom-color: #CBD5E1; }
.hero .btn-light:focus-visible { outline-color: #fff; }
.demo-btns { margin-top: 8px; }
.demo-txt .btn { margin-top: 0; }
.sec-head p .link { display: inline-flex; margin-left: 4px; }
.stat-n { font-size: clamp(1.45rem, 1.1rem + 1.2vw, 2.1rem); letter-spacing: -.02em; }
.bord-tel { font-size: 20px; }
@media (min-width: 700px) { .why { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1100px) { .why { grid-template-columns: repeat(4, 1fr); } .why-item { padding: 32px 26px; } }
@media (max-width: 599px) { .hero-btns .btn { width: 100%; } }

/* Type de besoin : boutons radio en tuiles (remplace le <select> natif) */
.choice { border: 0; margin: 0 0 18px; padding: 0; min-width: 0; }
.choice legend { padding: 0; margin-bottom: 8px; font-weight: 600; font-size: 16px; color: var(--ink); }
.choice-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; }
.tile { position: relative; display: block; cursor: pointer; }
.tile input { position: absolute; opacity: 0; width: 1px; height: 1px; margin: 0; }
.tile span {
  display: flex; align-items: center; gap: 10px; min-height: 46px; padding: 8px 12px;
  background: var(--white); border: 1px solid var(--zinc-line); border-radius: 4px;
  font-size: 16px; font-weight: 500; color: var(--ink); line-height: 1.2;
  transition: border-color .15s, background-color .15s;
}
.tile span::before {
  content: ""; flex: none; width: 18px; height: 18px; border: 1.5px solid #94A3B8; border-radius: 3px; background: #fff;
}
.tile:hover span { border-color: var(--zinc); }
.tile input:checked + span { border-color: var(--cta); background: #FCF1EC; font-weight: 600; }
.tile input:checked + span::before {
  border-color: var(--cta); background: var(--cta)
    url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 18 18'%3E%3Cpath d='M4 9.5l3.2 3L14 5.5' fill='none' stroke='%23fff' stroke-width='2.2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center / 16px no-repeat;
}
.tile input:focus-visible + span { outline: 2px solid var(--cta); outline-offset: 2px; }
.choice-compact .tile span { min-height: 44px; padding: 6px 10px; }
.choice-compact { margin-bottom: 14px; }
@media (min-width: 640px) { .choice-wide .choice-grid { grid-template-columns: repeat(3, 1fr); } }
.choice-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.tile span { overflow-wrap: anywhere; }
@media (min-width: 640px) { .choice-wide .choice-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
.f-row > .field:only-child { grid-column: 1 / -1; }
.choice-compact .tile span { gap: 8px; }
.choice-compact .tile span::before { display: none; }
.choice-compact .tile input:checked + span::before { display: block; width: 16px; height: 16px; background-size: 14px; }
.tile span { overflow-wrap: normal; }
.avis-src { color: var(--ink-2); font-weight: 500; text-underline-offset: 3px; display: inline-flex; align-items: center; min-height: 44px; }
.avis-src:hover { color: var(--cta); }


/* ---------- Avis : carrousel horizontal (glisser, flèches, défilement auto discret) ---------- */
.avis-list, .avis-list.avis-list { display: flex !important; grid-template-columns: none !important; gap: 16px; overflow-x: auto; scroll-snap-type: x proximity; scroll-behavior: smooth; padding: 4px 0 12px; scroll-padding: 0; scrollbar-width: none; overscroll-behavior-x: contain; }
.avis-list::-webkit-scrollbar { display: none; }
.avis-list blockquote.avis, .avis-list blockquote { flex: 0 0 86%; scroll-snap-align: start; margin: 0; grid-column: auto !important; grid-row: auto !important; border-left: 1px solid #E2E8F0; border-top: 1px solid #E2E8F0; display: flex; flex-direction: column; }
.avis-list blockquote footer { margin-top: auto; }
.avis-list:focus-visible { outline: 3px solid var(--ink); outline-offset: 4px; }
.avis-nav { display: flex; gap: 8px; justify-content: flex-end; margin-top: 12px; }
.avis-btn { width: 44px; height: 44px; border: 1px solid #E2E8F0; border-bottom: 3px solid #CBD5E1; border-radius: 4px; background: #fff; color: #1E293B; font-size: 26px; line-height: 1; cursor: pointer; }
.avis-btn:hover { transform: translateY(1px); border-bottom-width: 2px; }
.avis-btn:disabled { opacity: .4; cursor: default; transform: none; }
.avis-btn:focus-visible { outline: 3px solid var(--ink); outline-offset: 2px; }
@media (min-width: 700px) { .avis-list blockquote.avis, .avis-list blockquote { flex-basis: calc((100% - 16px) / 2); } }
@media (min-width: 1100px) { .avis-list blockquote.avis, .avis-list blockquote { flex-basis: calc((100% - 32px) / 2.4); padding: 28px; } }
@media (prefers-reduced-motion: reduce) { .avis-list { scroll-behavior: auto; } }

/* Avis : cartes plus compactes, flèches discrètes posées sur le carrousel (sans cadre) */
.avis-carousel { position: relative; }
.avis-list blockquote.avis, .avis-list blockquote { padding: 18px 20px !important; }
.avis-list blockquote p:not(.stars) { font-size: 16px !important; line-height: 1.5 !important; margin-bottom: 10px !important; }
.avis-list blockquote .stars { font-size: 14px; margin-bottom: 6px; }
.avis-list blockquote footer { font-size: 14px !important; padding-top: 8px; }
@media (min-width: 700px) { .avis-list blockquote.avis, .avis-list blockquote { flex-basis: calc((100% - 16px) / 2.2); } }
@media (min-width: 1100px) { .avis-list blockquote.avis, .avis-list blockquote { flex-basis: calc((100% - 32px) / 3.2); } }
.avis-btn { position: absolute; top: 50%; transform: translateY(-50%); z-index: 2; width: 40px; height: 40px; display: grid; place-items: center; padding: 0; border: 0 !important; border-radius: 50%; background: rgba(255,255,255,.92); color: #1E293B; box-shadow: none; cursor: pointer; transition: opacity .2s; }
.avis-prev { left: -8px; }
.avis-next { right: -8px; }
.avis-btn:hover { transform: translateY(-50%); color: #B9461A; }
.avis-btn:disabled { opacity: 0; pointer-events: none; }
.avis-btn:focus-visible { outline: 2px solid #1E293B; outline-offset: 2px; }
@media (hover: none) { .avis-btn { display: none; } }
/* Flèches des avis : visibles mais légères (rond blanc + ombre douce, sans contour), posées à l'intérieur du carrousel */
.avis-carousel .avis-btn { width: 44px; height: 44px; background: #fff; box-shadow: 0 2px 8px rgba(15,23,42,.18); color: #1E293B; }
.avis-carousel .avis-prev { left: 8px; }
.avis-carousel .avis-next { right: 8px; }
.avis-carousel .avis-btn svg { width: 22px; height: 22px; }
.avis-carousel .avis-btn:disabled { opacity: 0 !important; pointer-events: none; }

/* Bandeau dépannage : simple icône téléphone, sans cadre */
.band-tel { display: inline-grid; place-items: center; width: 48px; height: 48px; color: #fff; border-radius: 50%; transition: color .2s; flex: 0 0 auto; }
.band-tel:hover { color: #E9A27F; }
.band-tel:focus-visible { outline: 2px solid #fff; outline-offset: 3px; }

/* En-tête : bouton encadré « Appelez-nous » à la place du numéro seul */
.top-call { align-items: center; gap: 8px; padding: 0 16px; min-height: 44px; border: 1px solid #1E293B; border-bottom-width: 3px; border-radius: 4px; color: #1E293B; font-weight: 700; font-size: 16px; white-space: nowrap; text-align: left; }
@media (min-width: 1000px) { .top-call.top-tel { display: inline-flex; } }
.top-call:hover { transform: translateY(1px); border-bottom-width: 2px; color: #B9461A; border-color: #B9461A; }
.top-call:focus-visible { outline: 3px solid #1E293B; outline-offset: 2px; }

/* Bandeau dépannage : toujours sur une rangée (texte 2 lignes max + icône à droite) */
.band-in { flex-direction: row !important; align-items: center; justify-content: space-between; gap: 12px; padding-top: 16px; padding-bottom: 16px; }
.band p { flex: 1 1 auto; min-width: 0; font-size: 16px; line-height: 1.4; }
.band strong { font-size: 17px; }
.band-short { display: none; }
@media (max-width: 599px) { .band-long { display: none; } .band-short { display: inline; } }
.band-short2 { display: none; }
@media (max-width: 379px) { .band-long2 { display: none; } .band-short2 { display: inline; } .band p { font-size: 15px; } .band strong { font-size: 16px; } .band-in { gap: 8px; } }

/* Secteur : vraie carte Google Maps */
.map-google { margin: 0; }
.map-google iframe { display: block; width: 100%; aspect-ratio: 4 / 3; min-height: 300px; border: 1px solid #E2E8F0; border-radius: 4px; background: #F8FAFC; }
.map-google figcaption { margin-top: 10px; font-size: 15px; color: #475569; }

/* ---------- Pied de page (refonte) ---------- */
.foot { background: #1E293B; color: #CBD5E1; padding: 56px 0 0; font-size: 15px; line-height: 1.6; border-top: 3px solid #B9461A; }
.foot p { margin: 0 0 12px; }
.foot a { color: #fff; text-decoration: none; }
.foot a:hover { color: #F2A27F; text-decoration: underline; text-underline-offset: 3px; }
.foot a:focus-visible { outline: 2px solid #fff; outline-offset: 2px; }
.foot-in { display: grid; gap: 36px; grid-template-columns: 1fr; padding-bottom: 40px; }
@media (min-width: 640px) { .foot-in { grid-template-columns: 1fr 1fr; } }
@media (min-width: 1000px) { .foot-in { grid-template-columns: 1.4fr 1.4fr 1fr 1fr; gap: 48px; } }
.foot-name { font-size: 19px; font-weight: 800; color: #fff; margin-bottom: 10px !important; }
.foot-brand p { max-width: 34ch; }
.foot-rating .stars { color: #E9A27F; letter-spacing: 1px; margin-right: 4px; }
.foot-rating a { text-decoration: underline; text-underline-offset: 3px; }
.foot-h { color: #fff; font-weight: 700; font-size: 15px; margin-bottom: 14px !important; }
.foot-list, .foot-links { list-style: none; margin: 0; padding: 0; }
.foot-list li { display: flex; align-items: flex-start; gap: 10px; padding: 5px 0; }
.foot-list svg { flex: none; margin-top: 3px; color: #94A3B8; }
.foot-list a, .foot-list span { overflow-wrap: anywhere; }
.foot-links li { padding: 4px 0; }
.foot-links a { color: #CBD5E1; display: inline-block; min-height: 28px; }
.foot-links a:hover { color: #fff; }
.foot-fb { display: inline-flex; align-items: center; gap: 8px; margin-top: 16px; min-height: 40px; padding: 0 12px; border: 1px solid #475569; border-radius: 4px; color: #fff; }
.foot-fb:hover { border-color: #F2A27F; text-decoration: none !important; }
.foot-bottom { border-top: 1px solid #334155; }
.foot-bottom-in { display: flex; flex-wrap: wrap; gap: 8px 24px; justify-content: space-between; align-items: center; padding-top: 18px; padding-bottom: 18px; font-size: 14px; color: #94A3B8; }
.foot-bottom-in p { margin: 0; }
.foot-bottom a { color: #CBD5E1; }
@media (max-width: 639px) { .foot-in { grid-template-columns: 1fr 1fr; gap: 28px 20px; } .foot-brand, .foot-in > div:nth-child(2) { grid-column: 1 / -1; } }

/* ---------- Formulaire « photo du toit » (refonte, sans carte grise) ---------- */
.devis2 { display: grid; gap: 40px; }
@media (min-width: 1000px) { .devis2 { grid-template-columns: minmax(0, 5fr) minmax(0, 6fr); gap: 72px; align-items: start; } }
.devis2-side h2 { margin-bottom: 14px; }
.devis2-side > p { color: #475569; max-width: 44ch; }
.devis2-photo { margin: 24px 0 0; }
.devis2-photo img { width: 100%; height: auto; aspect-ratio: 16 / 10; object-fit: cover; border-radius: 4px; display: block; }
.devis2-photo figcaption { font-size: 14px; color: #64748B; margin-top: 8px; }
.devis2-tips { margin: 18px 0 0; padding: 0; list-style: none; }
.devis2-tips li { position: relative; padding: 6px 0 6px 22px; color: #1E293B; }
.devis2-tips li::before { content: ""; position: absolute; left: 0; top: 16px; width: 10px; height: 2px; background: #B9461A; }

.form2 { border-top: 3px solid #1E293B; padding-top: 24px; }
.drop { position: relative; display: flex; align-items: center; gap: 14px; padding: 18px; border: 1.5px dashed #94A3B8; border-radius: 4px; background: #F8FAFC; cursor: pointer; transition: border-color .2s, background .2s; }
.drop:hover, .drop:focus-within { border-color: #B9461A; background: #FFF7F3; }
.drop-input { position: absolute; inset: 0; opacity: 0; cursor: pointer; width: 100%; }
.drop:focus-within { outline: 3px solid #1E293B; outline-offset: 2px; }
.drop-ico { flex: none; width: 48px; height: 48px; display: grid; place-items: center; border-radius: 4px; background: #fff; color: #B9461A; border: 1px solid #E2E8F0; }
.drop-txt { display: flex; flex-direction: column; min-width: 0; }
.drop-txt strong { color: #1E293B; }
.drop-sub { font-size: 14px; color: #64748B; }
.drop-file { margin-left: auto; font-size: 14px; color: #1E293B; font-weight: 600; max-width: 40%; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.drop-file:empty { display: none; }
.drop.has-file { border-style: solid; border-color: #B9461A; background: #FFF7F3; }

.f2-grid { display: grid; gap: 16px; margin-top: 22px; }
@media (min-width: 640px) { .f2-grid { grid-template-columns: 1fr 1fr; } .f2-full { grid-column: 1 / -1; } }
.f2 label { display: block; font-weight: 600; color: #1E293B; margin-bottom: 6px; font-size: 16px; }
.f2 input, .f2 textarea { width: 100%; font: inherit; font-size: 16px; color: #1E293B; padding: 11px 12px; border: 1px solid #CBD5E1; border-radius: 4px; background: #fff; min-height: 46px; }
.f2 textarea { resize: vertical; min-height: 92px; }
.f2 textarea::placeholder { color: #94A3B8; }
.f2 input:focus, .f2 textarea:focus { outline: none; border-color: #1E293B; box-shadow: 0 0 0 2px rgba(185,70,26,.25); }
.f2 input[aria-invalid="true"] { border-color: #B3261E; }
.opt { font-weight: 400; color: #64748B; font-size: 14px; }

.rads { border: 0; padding: 0; margin: 22px 0 18px; }
.rads legend { font-weight: 600; color: #1E293B; margin-bottom: 8px; padding: 0; }
.rads-list { display: flex; flex-wrap: wrap; gap: 8px; }
.rad { position: relative; cursor: pointer; }
.rad input { position: absolute; opacity: 0; inset: 0; margin: 0; cursor: pointer; }
.rad span { display: inline-block; padding: 8px 12px; border: 1px solid #CBD5E1; border-radius: 4px; font-size: 15px; color: #334155; background: #fff; transition: border-color .15s, background .15s, color .15s; }
.rad:hover span { border-color: #64748B; }
.rad input:checked + span { background: #1E293B; border-color: #1E293B; color: #fff; }
.rad input:focus-visible + span { outline: 3px solid #B9461A; outline-offset: 2px; }
#devis .f2:not(.f2-grid .f2) { margin-bottom: 18px; }

.check2 { display: flex; gap: 10px; align-items: flex-start; margin: 4px 0 18px; font-size: 15px; color: #475569; }
.check2 input { width: 20px; height: 20px; margin-top: 2px; flex: none; accent-color: #B9461A; }
.check2 label { line-height: 1.45; }
.form2-note { font-size: 14px; color: #64748B; margin: 10px 0 0; }

/* Apparitions au défilement supprimées : le contenu est toujours visible, même si le script ou l'observateur ne se déclenche pas */
.js .reveal, .js .reveal.is-in { opacity: 1 !important; transform: none !important; transition: border-color .2s, box-shadow .2s !important; }

/* Bande de chiffres : icônes au trait (pas d'émojis) */
.stats-in li { display: flex; align-items: center; gap: 14px; }
.stat-ico { flex: none; width: 30px; height: 30px; fill: none; stroke: #B9461A; stroke-width: 1.6; stroke-linecap: round; stroke-linejoin: round; }
.stat-t { display: block; min-width: 0; }
@media (max-width: 479px) { .stats-in li { flex-direction: column; align-items: flex-start; gap: 8px; } .stat-ico { width: 26px; height: 26px; } }

/* Menu mobile : bouton encadré « Appelez-nous » au lieu du numéro */
.nav-call { display: inline-flex !important; align-items: center; justify-content: center; gap: 10px; width: 100%; margin-top: 16px; min-height: 50px !important; border: 1px solid #1E293B; border-bottom-width: 3px; border-radius: 4px; font-size: 17px !important; font-weight: 700 !important; color: #1E293B; text-decoration: none; }
.nav-call:active { transform: translateY(1px); border-bottom-width: 2px; }
.nav-call:focus-visible { outline: 3px solid #1E293B; outline-offset: 2px; }
@media (min-width: 1000px) { .nav-call { display: none !important; } }

/* =====================================================================
   v5 — typo artisan, prestations éditoriales, confiance en texte,
   rythme de sections varié
   ===================================================================== */
:root {
  --font: "Source Sans 3", "Segoe UI", Roboto, Arial, sans-serif;
  --font-title: "Barlow Semi Condensed", "Arial Narrow", "Roboto Condensed", sans-serif;
}
h1, h2, h3, .qform-t, .stat-n, .ident-name, .foot-name, .pres-title {
  font-family: var(--font-title); letter-spacing: 0;
}
h1, h2, .qform-t { font-weight: 700; }
h3, .stat-n, .ident-name, .foot-name { font-weight: 700; }
.hero h1 { letter-spacing: -.005em; line-height: 1; }
h2 { font-size: clamp(2.1rem, 1.5rem + 2.2vw, 3.1rem); line-height: 1.02; }
h3 { font-size: 1.45rem; line-height: 1.1; }

/* ---------- Rythme : espacements et fonds différents d'une section à l'autre ---------- */
#travaux { padding: 72px 0 56px; }
#demoussage { padding: 56px 0; }
#chantiers { padding: 88px 0 72px; }
#confiance { padding: 64px 0 80px; border-top: 1px solid var(--zinc-line); background: var(--white); }
#avis { padding: 72px 0; background: var(--grey); }
#secteur { padding: 72px 0 56px; background: var(--white); }
#faq { padding: 64px 0; background: var(--white); border-top: 1px solid var(--zinc-line); }
#devis { padding: 56px 0 88px; background: var(--grey); }
@media (min-width: 900px) {
  #travaux { padding: 104px 0 72px; }
  #demoussage { padding: 72px 0 80px; }
  #chantiers { padding: 120px 0 96px; }
  #confiance { padding: 88px 0 112px; }
  #avis { padding: 88px 0 80px; }
  #secteur { padding: 96px 0 64px; }
  #faq { padding: 80px 0 96px; }
  #devis { padding: 64px 0 120px; }
}

/* ---------- Prestations : deux grands blocs asymétriques + liste à filets ---------- */
.pres-title { margin-bottom: 32px; }
.pres { display: grid; gap: 20px; margin-bottom: 48px; }
.pres-ph { margin: 0; overflow: hidden; border-radius: 4px; }
.pres-ph img { width: 100%; height: 100%; object-fit: cover; transition: transform .4s ease-out; }
.pres-a .pres-ph { aspect-ratio: 4 / 3; }
.pres-b .pres-ph { aspect-ratio: 16 / 10; }
.pres-txt h3 { font-size: clamp(1.8rem, 1.4rem + 1.4vw, 2.5rem); margin-bottom: 10px; }
.pres-txt p { font-size: 19px; line-height: 1.55; color: var(--ink); max-width: 40ch; margin-bottom: 12px; }
@media (hover: hover) { .pres:hover .pres-ph img { transform: scale(1.03); } }
@media (min-width: 900px) {
  .pres { grid-template-columns: repeat(12, minmax(0, 1fr)); gap: 0 32px; align-items: center; margin-bottom: 64px; }
  .pres-a .pres-ph { grid-column: 1 / span 7; }
  .pres-a .pres-txt { grid-column: 9 / span 4; }
  .pres-b .pres-txt { grid-column: 2 / span 4; grid-row: 1; align-self: start; padding-top: 48px; }
  .pres-b .pres-ph { grid-column: 7 / span 6; grid-row: 1; }
}
.pres-list { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: 1fr; column-gap: 48px; border-bottom: 1px solid var(--zinc-line); }
.pres-list li { padding: 18px 0; border-top: 1px solid var(--zinc-line); display: grid; gap: 4px; }
.pres-list h3 { font-size: 1.35rem; }
.pres-list p { margin: 0; color: var(--ink-2); }
.pres-list a { color: var(--cta); font-weight: 600; }
@media (min-width: 700px) {
  .pres-list { grid-template-columns: 1fr 1fr; }
  .pres-list li { grid-template-columns: 170px 1fr; align-items: baseline; gap: 16px; }
}
.pres-more { margin: 28px 0 0; }

/* ---------- Pourquoi nous faire confiance : un texte, une signature, un avis ---------- */
.conf { display: grid; gap: 40px; }
.conf-txt h2 { margin-bottom: 24px; }
.conf-quote { font-size: clamp(1.3rem, 1.05rem + 1vw, 1.75rem); line-height: 1.45; color: var(--ink); max-width: 34em; margin-bottom: 16px; }
.conf-sign { font-family: var(--font-title); font-weight: 600; font-size: 1.25rem; color: var(--ink-2); margin: 0; }
.conf-avis { margin: 0; padding: 28px 28px 24px; background: var(--grey); border-left: 3px solid var(--cta); border-radius: 0 4px 4px 0; align-self: end; }
.conf-avis .stars { margin: 0 0 10px; font-size: 18px; }
.conf-avis blockquote { margin: 0 0 12px; }
.conf-avis blockquote p { margin: 0; font-size: 19px; line-height: 1.5; }
.conf-avis figcaption { font-size: 16px; color: var(--ink-2); font-weight: 600; }
@media (min-width: 900px) { .conf { grid-template-columns: minmax(0, 7fr) minmax(0, 4fr); gap: 72px; } }

/* ---------- Phrase au-dessus du formulaire ---------- */
.devis-steps { font-family: var(--font-title); font-weight: 600; font-size: clamp(1.35rem, 1.1rem + 1vw, 1.8rem); line-height: 1.25; color: var(--ink); margin: 0 0 32px; padding-bottom: 20px; border-bottom: 1px solid var(--zinc-line); max-width: 36em; }

/* Lisibilité : aucun texte sous 16 px avec Source Sans 3 */
.opt, .avis-src, .devis2-photo figcaption, .drop-sub, .rad span, .form2-note,
.foot, .foot p, .foot a, .foot span, .foot li, .foot-h, .map figcaption, .map figcaption a, .link { font-size: 16px; }
.check2 label, .check2 label a { font-size: 16px; }

/* Encart devis du haut de page (remplace le formulaire rapide) */
.qbox { align-self: center; }
.qbox .qform-sub { margin-bottom: 20px; }
.qbox .btn-block { text-align: center; }
.qbox-tel { margin: 14px 0 0; font-size: 16px; color: var(--ink-2); text-align: center; }
.qbox-tel a { color: var(--ink); font-weight: 700; white-space: nowrap; }

/* Haut de page : petite ligne « Une question sur votre toit ? » (remplace l'encart devis) */
.hero-ask { margin: 18px 0 0; font-size: 16px; color: #E2E8F0; }
.hero-ask strong { color: #fff; font-weight: 600; }
.hero-ask a { color: #fff; font-weight: 700; text-decoration: underline; text-underline-offset: 3px; }
.hero-ask a:hover { color: #F2A27F; }
@media (min-width: 1000px) { .hero-in { grid-template-columns: minmax(0, 1fr); } .hero .hero-txt { max-width: 760px; } }
.hero .hero-txt > p.hero-ask { color: #E2E8F0; max-width: none; }
/* Ligne « Une question sur votre toit ? » : tout en blanc, opaque, 17 px */
.hero .hero-txt > p.hero-ask { color: #FFFFFF; opacity: 1; font-size: 17px; line-height: 1.5; }
.hero-ask strong { color: #FFFFFF; font-weight: 600; }
.hero-ask a[href="#devis"] { color: #FFFFFF; font-weight: 700; text-decoration: underline; text-underline-offset: 3px; }
.hero-ask a[href^="tel:"] { color: #FFFFFF; font-weight: 700; text-decoration: none; }
.hero-ask a:hover { color: #F2A27F; }

/* Ligne assurances (section confiance) — prête, activée quand les attestations sont fournies */
.assur { display: flex; align-items: flex-start; gap: 12px; margin: 28px 0 0; padding: 16px 18px; border: 1px solid #E2E8F0; border-left: 3px solid #1E293B; border-radius: 4px; background: #F8FAFC; font-size: 16px; color: #1E293B; max-width: 820px; }
.assur-ico { flex: none; color: #B9461A; margin-top: 2px; }

.foot-social { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 16px; }
.foot-social .foot-fb { margin-top: 0; }
.foot-social { flex-wrap: nowrap; gap: 6px; } .foot-social .foot-fb { padding: 0 9px; gap: 6px; font-size: 15px; min-height: 38px; white-space: nowrap; }

/* Réseaux : deux logos côte à côte, sans texte */
.foot-social { display: flex !important; flex-direction: row !important; flex-wrap: nowrap !important; gap: 10px !important; }
.foot-social .soc { display: inline-flex !important; align-items: center; justify-content: center; width: 42px; height: 42px; min-height: 42px; padding: 0 !important; margin: 0 !important; border: 1px solid #475569; border-radius: 4px; color: #fff; }
.foot-social .soc svg { width: 20px; height: 20px; }
.foot-social .soc:hover { border-color: #F2A27F; color: #F2A27F; }

/* =====================================================================
   v6 — pages prestations, réalisations et fiches chantiers
   ===================================================================== */
.crumbs { padding-top: 18px; font-size: 16px; color: var(--ink-2); }
.crumbs ol { list-style: none; display: flex; flex-wrap: wrap; gap: 4px 0; margin-top: 0; margin-bottom: 0; }
.crumbs li { display: inline-flex; align-items: center; }
.crumbs li + li::before { content: "›"; margin: 0 8px; color: var(--zinc-txt); }
.crumbs a { display: inline-flex; align-items: center; min-height: 44px; color: var(--ink-2); }
.crumbs li[aria-current] { color: var(--ink); font-weight: 600; }

.phead { padding-top: 16px; padding-bottom: 32px; }
.phead h1 { font-size: clamp(2.1rem, 1.5rem + 2.4vw, 3.2rem); line-height: 1.04; margin-bottom: 16px; max-width: 24ch; }
.phead-meta { margin: 0 0 10px; font-weight: 600; color: var(--cta); font-size: 16px; }
.phead-lead { font-size: 19px; line-height: 1.55; color: var(--ink); max-width: 62ch; margin-bottom: 20px; }
.phead-btns, .cta-btns { display: flex; flex-wrap: wrap; gap: 12px; }
@media (max-width: 599px) { .phead-btns .btn, .cta-btns .btn { flex: 1 1 100%; } }

.prose { max-width: 68ch; }
.prose h2 { font-size: clamp(1.5rem, 1.25rem + 1vw, 2rem); margin: 36px 0 12px; }
.prose h2:first-child { margin-top: 0; }
.prose p, .prose li { font-size: 18px; line-height: 1.6; }
.prose ul { padding-left: 1.2em; margin: 0 0 1em; }
.prose li { margin-bottom: 8px; }
.prose a { color: var(--cta); font-weight: 600; }
.fiche-svc { padding-top: 16px; border-top: 1px solid var(--zinc-line); }

.svc-in { display: grid; gap: 40px; padding-bottom: 56px; }
@media (min-width: 1000px) { .svc-in { grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); gap: 56px; align-items: start; } }
.pgrid-side { display: grid; gap: 20px; }
@media (min-width: 1000px) { .pgrid-side { position: sticky; top: 96px; } }

.pfig { margin: 0; }
.pfig img { width: 100%; height: auto; border-radius: 4px; display: block; }
.pgrid-side .pfig-tall img { max-height: 520px; object-fit: cover; }
.pfig figcaption { padding-top: 8px; font-size: 16px; color: var(--ink-2); line-height: 1.4; }

.fiche-in { padding-bottom: 48px; }
.fiche .pgrid { margin-top: 32px; columns: 3 300px; column-gap: 20px; }
.fiche .pgrid .pfig { break-inside: avoid; margin-bottom: 20px; }

.plinks { list-style: none; padding: 0 !important; margin: 0; border-top: 1px solid var(--zinc-line); }
.plinks li { padding: 12px 0; border-bottom: 1px solid var(--zinc-line); margin: 0 !important; }
.plinks span { color: var(--ink-2); font-size: 16px; }

.sec-faq-mini { padding-top: 8px; padding-bottom: 48px; max-width: 900px; }
.sec-faq-mini h2, .sec-related h2 { font-size: clamp(1.5rem, 1.25rem + 1vw, 2rem); margin-bottom: 16px; }
.sec-related { padding-bottom: 56px; }
.psvc { list-style: none; padding: 0; margin: 0; display: flex; flex-wrap: wrap; gap: 10px; }
.psvc a { display: inline-flex; align-items: center; min-height: 44px; padding: 8px 16px; border: 1px solid var(--zinc-line); border-radius: 4px; background: var(--white); color: var(--ink); font-weight: 600; text-decoration: none; }
.psvc a:hover { border-color: var(--zinc); color: var(--cta); }

.rcards { list-style: none; padding: 0; margin: 0 0 20px; display: grid; gap: 20px; grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); }
.rcard a { display: flex; flex-direction: column; height: 100%; background: var(--white); border: 1px solid var(--zinc-line); border-radius: 4px; box-shadow: var(--card-shadow); overflow: hidden; text-decoration: none; color: var(--ink); transition: border-color .2s; }
.rcard a:hover { border-color: var(--zinc); }
.rcard a:hover .rcard-img img { transform: scale(1.03); }
.rcard-img { display: block; aspect-ratio: 4 / 3; overflow: hidden; background: var(--grey); }
.rcard-img img { width: 100%; height: 100%; object-fit: cover; transition: transform .4s ease-out; }
.rcard-meta { padding: 14px 16px 0; font-size: 16px; font-weight: 600; color: var(--cta); }
.rcard-t { padding: 4px 16px 0; font-family: var(--font-title); font-weight: 700; font-size: 1.3rem; line-height: 1.15; }
.rcard-type { padding: 6px 16px 16px; margin-top: auto; font-size: 16px; color: var(--ink-2); }
.rindex { padding-bottom: 56px; }

.cta-box { background: var(--grey); border-top: 1px solid var(--zinc-line); padding: 40px 0; }
.cta-in { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 20px; }
.cta-in p { margin: 0; font-size: 19px; max-width: 52ch; }

/* Accueil : liens ajoutés */
.cap-link { color: inherit; text-underline-offset: 3px; }
.cap-link:hover { color: var(--cta); }
.gal-more { margin: 28px 0 0; }
.bord-more { margin-top: 8px; }
.bord-more-dark { color: #fff; }
.bord-more-dark:hover { color: #F2A27F; }

/* =====================================================================
   Page /charpente/ — classes préfixées .chp-
   (.ch- est déjà utilisé par d'anciens styles de chantiers)
   Bois : #92400E (texte, 7,1:1 sur blanc) · #FEF3C7 (fonds clairs)
   ===================================================================== */
.page-charpente { --wood: #92400E; --wood-bg: #FEF3C7; }
.chp-hero { padding-top: 12px; padding-bottom: 40px; }
.chp-hero h1 { font-size: clamp(2.2rem, 1.6rem + 2.6vw, 3.4rem); line-height: 1.04; max-width: 22ch; margin-bottom: 16px; }
.chp-lead { font-size: 19px; line-height: 1.7; max-width: 62ch; color: var(--ink); margin-bottom: 22px; }
.chp-btns { display: flex; flex-wrap: wrap; gap: 12px; }
@media (max-width: 599px) { .chp-btns .btn { flex: 1 1 100%; } }
.chp-trust { list-style: none; margin: 28px 0 0; padding: 14px 0 0; border-top: 1px solid var(--zinc-line); display: flex; flex-wrap: wrap; gap: 8px 0; }
.chp-trust li { font-weight: 600; font-size: 16px; color: var(--ink); display: inline-flex; align-items: center; }
.chp-trust li::before { content: ""; width: 8px; height: 8px; border-radius: 2px; background: var(--wood); margin-right: 10px; flex: none; }
.chp-trust li + li { margin-left: 24px; }
@media (max-width: 599px) { .chp-trust { flex-direction: column; } .chp-trust li + li { margin-left: 0; } }

.chp-sec { padding: 56px 0; }
.chp-sec h2, .chp-final h2 { font-size: 30px; line-height: 1.1; margin-bottom: 16px; }
@media (min-width: 900px) { .chp-sec { padding: 80px 0; } .chp-sec h2, .chp-final h2 { font-size: 36px; } }
.chp-sec-roof { background: var(--white); border-top: 1px solid var(--zinc-line); }
.chp-sec-wood { background: var(--grey); }
.chp-txt p, .chp-txt li, .chp-steps p, .chp-faq p { line-height: 1.7; }
.chp-txt { max-width: 70ch; }
.chp-txt p { font-size: 18px; }
.chp-txt a:not(.btn) { color: var(--cta); font-weight: 600; }
.chp-list { list-style: none; padding: 0; margin: 0 0 24px; border-top: 1px solid var(--zinc-line); }
.chp-list li { padding: 12px 0 12px 22px; border-bottom: 1px solid var(--zinc-line); font-size: 18px; position: relative; }
.chp-list li::before { content: ""; position: absolute; left: 0; top: 23px; width: 10px; height: 2px; background: var(--wood); }
.chp-cta-inline { margin: 0; }
.chp-question { font-size: 19px; font-weight: 600; color: var(--wood); margin: 20px 0; }

.chp-split { display: grid; gap: 32px; align-items: start; }
@media (min-width: 1000px) {
  .chp-split { grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); gap: 56px; }
  .chp-split-rev { grid-template-columns: minmax(0, 6fr) minmax(0, 5fr); }
}
.chp-figs { display: grid; gap: 20px; }
.chp-fig { margin: 0; }
.chp-img { overflow: hidden; border-radius: 6px; background: var(--grey); box-shadow: 0 1px 3px rgba(0, 0, 0, .08); }
.chp-img img { width: 100%; height: 100%; object-fit: cover; display: block; transition: transform .3s ease-out; }
.chp-fig .chp-img { aspect-ratio: 16 / 10; }
.chp-fig-tall .chp-img { aspect-ratio: 4 / 5; }
.chp-fig figcaption { padding-top: 8px; font-size: 16px; color: var(--ink-2); }
@media (hover: hover) and (prefers-reduced-motion: no-preference) {
  .chp-fig:hover .chp-img img, .chp-card:hover .chp-img img { transform: scale(1.05); }
}

.chp-tip-wrap { padding-top: 0; padding-bottom: 8px; }
.chp-tip { background: var(--wood-bg); border-left: 4px solid var(--wood); border-radius: 0 6px 6px 0; padding: 22px 24px; max-width: 900px; margin: 0 auto 0 0; }
.chp-tip-t { font-family: var(--font-title); font-weight: 700; font-size: 1.3rem; color: var(--wood); margin: 0 0 6px; }
.chp-tip p:last-child { margin: 0; font-size: 18px; line-height: 1.7; color: var(--ink); max-width: 70ch; }

.chp-steps { list-style: none; margin: 0; padding: 0; display: grid; gap: 0; counter-reset: none; }
.chp-steps li { padding: 20px 0; border-top: 1px solid var(--zinc-line); display: grid; grid-template-columns: 64px 1fr; column-gap: 8px; }
.chp-step-n { grid-row: span 2; font-family: var(--font-title); font-weight: 600; font-size: 30px; line-height: 1; color: var(--wood); }
.chp-steps h3 { font-size: 1.4rem; margin-bottom: 4px; }
.chp-steps p { margin: 0; color: var(--ink-2); font-size: 18px; }
@media (min-width: 900px) {
  .chp-steps { grid-template-columns: repeat(3, 1fr); gap: 32px; }
  .chp-steps li { display: block; padding-top: 24px; border-top: 2px solid var(--ink); }
  .chp-step-n { display: block; font-size: 40px; margin-bottom: 16px; }
}

.chp-cards { list-style: none; padding: 0; margin: 0 0 20px; display: grid; gap: 20px; grid-template-columns: 1fr; }
@media (min-width: 640px) { .chp-cards { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1000px) { .chp-cards { grid-template-columns: repeat(3, 1fr); } }
.chp-card > a, .chp-card-static { display: flex; flex-direction: column; height: 100%; background: var(--white); border: 1px solid var(--zinc-line); border-radius: 6px; box-shadow: 0 1px 3px rgba(0, 0, 0, .08); overflow: hidden; color: var(--ink); text-decoration: none; transition: border-color .2s; }
.chp-card > a:hover { border-color: var(--zinc); }
.chp-card .chp-img { aspect-ratio: 4 / 3; border-radius: 0; box-shadow: none; }
.chp-card-body { padding: 14px 16px 16px; display: flex; flex-direction: column; flex: 1; }
.chp-meta { margin: 0 0 4px; font-size: 16px; font-weight: 600; color: var(--wood); }
.chp-card h3 { font-size: 1.3rem; line-height: 1.15; margin-bottom: 10px; }
.chp-more { margin-top: auto; font-weight: 600; color: var(--cta); text-decoration: underline; text-underline-offset: 3px; font-size: 16px; }
.chp-nolink { margin-top: auto; font-size: 16px; color: var(--ink-2); }

.chp-faq { max-width: 900px; }
.chp-final { background: var(--ink); color: #fff; padding: 48px 0; }
.chp-final h2 { color: #fff; }
.chp-final p { color: #E2E8F0; font-size: 19px; line-height: 1.7; margin: 0; max-width: 56ch; }
.chp-final-in { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 24px; }
.chp-final .btn-light:focus-visible, .chp-final .btn:focus-visible { outline-color: #fff; }
.page-charpente .sec-related { padding-top: 48px; }
.chp-faq { max-width: var(--wrap); }
.chp-faq .faq { max-width: 900px; }
.chp-steps-sec { padding-bottom: 24px; }
@media (min-width: 900px) { .chp-steps-sec { padding-bottom: 32px; } }
.chp-tip-wrap { padding-bottom: 48px; }

/* Haut de page : boutons moins larges et semi-transparents (on voit la photo derrière) */
.hero .hero-btns { flex-direction: column; align-items: flex-start; }
@media (min-width: 600px) { .hero .hero-btns { flex-direction: row; align-items: center; } }
.hero .hero-btns .btn { width: auto !important; min-width: 0; padding-left: 22px; padding-right: 22px; }
.hero .hero-btns .btn:not(.btn-light) { background: rgba(185, 70, 26, .82); border-bottom-color: rgba(138, 51, 17, .9); }
.hero .hero-btns .btn:not(.btn-light):hover { background: rgba(185, 70, 26, .95); }
.hero .hero-btns .btn-light { background: rgba(255, 255, 255, .14); color: #fff; border: 1px solid rgba(255, 255, 255, .75); border-bottom-width: 3px; }
.hero .hero-btns .btn-light:hover, .hero .hero-btns .btn-light:active { background: rgba(255, 255, 255, .24); color: #fff; border-color: #fff; }

/* =====================================================================
   Carrousel photo des pages prestations ([data-slider])
   ===================================================================== */
.svc-slider { min-width: 0; }
@media (max-width: 999px) { .svc-in > .svc-slider { order: -1; } }
@media (min-width: 1000px) { .svc-slider { position: sticky; top: 96px; } }
.slider { position: relative; container-type: inline-size; }
.slider-track {
  display: flex; overflow-x: auto; overscroll-behavior-x: contain;
  scroll-snap-type: x mandatory; scroll-behavior: smooth; -webkit-overflow-scrolling: touch;
  border-radius: 6px;
}
.slider.is-ready .slider-track { scrollbar-width: none; }
.slider.is-ready .slider-track::-webkit-scrollbar { display: none; }
.slider-track:focus-visible { outline: 2px solid var(--cta); outline-offset: 3px; }
.slide { flex: 0 0 100%; margin: 0; scroll-snap-align: start; scroll-snap-stop: always; }
.slide img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; border-radius: 6px; display: block; background: var(--grey); user-select: none; }
.slide figcaption { padding-top: 8px; font-size: 16px; color: var(--ink-2); line-height: 1.4; }
.slider-btn {
  position: absolute; top: calc(37.5cqw - 22px); width: 44px; height: 44px; border-radius: 50%; border: 0;
  background: #fff; color: var(--ink); box-shadow: 0 1px 4px rgba(0, 0, 0, .18); cursor: pointer;
  display: grid; place-items: center; padding: 0; transition: background-color .15s;
}
.slider-btn:hover { background: var(--grey); }
.slider-btn:focus-visible { outline: 2px solid var(--cta); outline-offset: 2px; }
.slider-btn[hidden] { display: none; }
.slider-prev { left: 10px; }
.slider-next { right: 10px; }
@media (hover: none) { .slider-btn { display: none; } }
.slider-dots { display: flex; justify-content: center; gap: 2px; margin-top: 6px; }
.slider-dot { width: 32px; height: 32px; border: 0; background: none; padding: 0; cursor: pointer; display: grid; place-items: center; }
.slider-dot::before { content: ""; width: 9px; height: 9px; border-radius: 50%; background: #CBD5E1; transition: background-color .15s, transform .15s; }
.slider-dot[aria-current="true"]::before { background: var(--ink); transform: scale(1.15); }
.slider-dot:hover::before { background: var(--zinc); }
.slider-dot[aria-current="true"]:hover::before { background: var(--ink); }
.slider-dot:focus-visible { outline: 2px solid var(--cta); outline-offset: -2px; border-radius: 50%; }
@media (prefers-reduced-motion: reduce) { .slider-track { scroll-behavior: auto; } }

/* =====================================================================
   Revue des boutons (toutes les pages)
   - coins 8 px + petite ombre, ombre un peu plus marquée au survol ;
     le rebord inférieur de 3 px est conservé (défini plus haut).
   - Flèches rondes des carrousels, tuiles radio et cartes : non concernées.
   - Mobile : groupes de boutons en largeur auto, empilés, alignés à gauche.
     Exceptions : barre fixe .mbar et boutons d'envoi des formulaires (.btn-block).
   - Héros de l'accueil : le style semi-transparent sur photo reste (bloc précédent).
   ===================================================================== */
.btn, .top-call, .nav-call, .foot-fb, .foot-social .soc {
  border-radius: 8px;
  box-shadow: 0 1px 2px rgba(15, 23, 42, .12);
}
.btn:hover, .top-call:hover, .nav-call:hover, .foot-fb:hover, .foot-social .soc:hover {
  box-shadow: 0 2px 6px rgba(15, 23, 42, .14);
}
.slider-btn, .avis-btn { border-radius: 50%; }

@media (max-width: 599px) {
  .hero-btns, .phead-btns, .cta-btns, .chp-btns, .demo-btns {
    flex-direction: column; align-items: flex-start;
  }
  .hero-btns .btn, .phead-btns .btn, .cta-btns .btn, .chp-btns .btn, .demo-btns .btn,
  .band .btn, .pres-more .btn, .gal-more .btn, .chp-cta-inline .btn {
    width: auto; flex: 0 0 auto; max-width: 100%;
  }
  .nav-call { width: auto !important; padding-left: 20px !important; padding-right: 20px !important; }
  .mbar .btn, .btn-block { width: 100%; }
}

/* Bouton Appeler avec icône téléphone (en-têtes de pages et blocs d'appel).
   Mobile : « Envoyer une photo du toit » et l'icône d'appel côte à côte sur une ligne. */
.btn-call { gap: 8px; }
.btn-call svg { flex: none; }
@media (max-width: 599px) {
  .phead-btns, .cta-btns { flex-direction: row; flex-wrap: nowrap; align-items: stretch; gap: 10px; width: 100%; }
  .phead-btns .btn, .cta-btns .btn { flex: 0 1 auto; width: auto; padding-left: 20px; padding-right: 20px; }
  .phead-btns .btn-call, .cta-btns .btn-call { flex: 0 0 56px; width: 56px; padding: 0; }
  .btn-call .btn-call-t { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
  .btn-call svg { width: 24px; height: 24px; }
}

/* Pages intérieures : même habillage que les boutons du héros de l'accueil
   (orange légèrement transparent + bouton secondaire transparent à contour), adapté au fond clair. */
.phead-btns .btn:not(.btn-call), .cta-btns .btn:not(.btn-call) { background: rgba(185, 70, 26, .82); border-bottom-color: rgba(138, 51, 17, .9); }
.phead-btns .btn:not(.btn-call):hover, .cta-btns .btn:not(.btn-call):hover { background: rgba(185, 70, 26, .95); }
.phead-btns .btn-call, .cta-btns .btn-call { background: rgba(30, 41, 59, .04); color: var(--ink); border: 1px solid rgba(30, 41, 59, .75); border-bottom-width: 3px; }
.phead-btns .btn-call:hover, .phead-btns .btn-call:active, .cta-btns .btn-call:hover, .cta-btns .btn-call:active { background: rgba(30, 41, 59, .10); color: var(--ink); border-color: var(--ink); }
