/* =========================================================
   Geoffroy Couverture 83 · v6
   Papier, chocolat et tuile du logo. Titres Bricolage Grotesque, texte General Sans.
   Boutons : coins droits, texte qui roule, couleur qui part du curseur.
   ========================================================= */
:root {
  --paper: #F3EDE2; --paper2: #EAE2D3; --white: #FBF8F3; --choc: #24170F; --choc2: #31231A;
  --tile: #C2401E; --tile-d: #A33417; --tile-l: #E5774F; --sand2: #F3EADC; --gold: #D9AE70;
  --ink: #1C1A16; --muted: #5A554B; --line: rgba(28, 26, 22, .13); --line-l: rgba(243, 234, 220, .16);
  --display: "Bricolage Grotesque", system-ui, sans-serif; --sans: "General Sans", system-ui, sans-serif;
  --ease: cubic-bezier(.22, 1, .36, 1); --g: clamp(18px, 4vw, 64px); --pad: max(var(--g), calc((100vw - 1440px) / 2)); --navh: 78px;
}
* { box-sizing: border-box; margin: 0; padding: 0; }
html { -webkit-text-size-adjust: 100%; scroll-padding-top: var(--navh); }
html.is-loading, html.is-loading body { overflow: hidden; }
body { background: var(--paper); color: var(--ink); font: 400 17px/1.6 var(--sans); overflow-x: clip; -webkit-font-smoothing: antialiased; }
img { display: block; max-width: 100%; }
svg { width: 1em; height: 1em; flex: none; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; background: none; border: 0; cursor: pointer; }
em { font-style: normal; }
p, li, figcaption { text-wrap: pretty; }
::selection { background: var(--tile); color: #fff; }
:focus-visible { outline: 2px solid var(--tile-l); outline-offset: 3px; }
.skip { position: absolute; left: -9999px; } .skip:focus { left: 16px; top: 16px; z-index: 200; background: var(--ink); color: #fff; padding: 10px 14px; }

/* ---------- Boutons (même famille que Créateur d'intérieurs) ---------- */
.btn { position: relative; display: inline-flex; align-items: center; justify-content: center; gap: 10px; min-height: 56px; padding: 0 26px; border: 1px solid transparent; font: 600 16px/1 var(--sans); white-space: nowrap; overflow: hidden; isolation: isolate; cursor: pointer; transition: color .5s var(--ease), border-color .5s var(--ease); }
.btn::before { content: ""; position: absolute; z-index: -1; left: var(--x, 50%); top: var(--y, 100%); width: 260%; aspect-ratio: 1; border-radius: 50%; background: var(--fill, var(--ink)); transform: translate(-50%, -50%) scale(0); transition: transform .65s var(--ease); pointer-events: none; }
.btn:hover::before { transform: translate(-50%, -50%) scale(1); }
.btn:active { scale: .98; }
.btn svg { font-size: 18px; transition: transform .5s var(--ease); }
.btn:hover > svg:first-child { transform: rotate(-8deg) scale(1.08); }
.roll { display: inline-block; overflow: hidden; line-height: 1.15; height: 1.15em; vertical-align: top; }
.roll > span { display: block; transition: transform .55s var(--ease); }
.roll > span::after { content: attr(data-t); display: block; }
.btn:hover .roll > span { transform: translateY(-50%); }
.btn--tile { background: var(--tile); color: #fff; --fill: var(--ink); }
.btn--ink { background: var(--ink); color: var(--white); --fill: var(--tile); }
.btn--glass { border-color: rgba(251,248,243,.6); color: var(--white); background: rgba(24,15,9,.28); --fill: var(--white); }
.btn--glass:hover { color: var(--ink); border-color: var(--white); }
.btn--nav { min-height: 46px; padding: 0 18px; font-size: 15px; background: var(--white); color: var(--ink); --fill: var(--tile); }
.btn--nav:hover { color: #fff; }
.nav.is-solid .btn--nav { background: var(--ink); color: var(--white); }

/* ---------- Chargement ---------- */
.loader { position: fixed; inset: 0; z-index: 100; display: none; place-items: center; background: var(--paper); }
.is-loading .loader { display: grid; }
.loader__in { display: grid; justify-items: center; gap: 26px; }
.loader__logo { width: clamp(150px, 22vw, 240px); height: auto; }
.loader__bar { position: relative; display: block; width: clamp(120px, 14vw, 180px); height: 2px; background: rgba(28,26,22,.12); overflow: hidden; }
.loader__bar i { position: absolute; inset: 0; background: var(--tile); transform: scaleX(0); transform-origin: 0 50%; }
.loader__name { font: 600 15px/1 var(--sans); color: var(--muted); }

/* ---------- Navigation ---------- */
.nav { position: fixed; inset: 0 0 auto 0; z-index: 50; height: var(--navh); display: flex; align-items: center; gap: 34px; padding: 0 var(--pad); color: var(--white); transition: background-color .5s var(--ease), color .5s var(--ease), box-shadow .5s var(--ease); }
.nav.is-solid { background: var(--paper); color: var(--ink); box-shadow: 0 1px 0 var(--line); }
.brand { display: flex; align-items: center; gap: 14px; min-height: 44px; margin-right: auto; }
.brand__logo { width: 74px; height: auto; }
.brand__logo--fonce, .nav.is-solid .brand__logo--clair { display: none; }
.nav.is-solid .brand__logo--fonce { display: block; }
.brand__name { font: 600 18px/1 var(--display); letter-spacing: -.01em; white-space: nowrap; }
.nav__links { display: flex; gap: 30px; font-size: 15.5px; font-weight: 500; }
.nav__links a { position: relative; }
.nav__links a::after { content: ""; position: absolute; left: 0; right: 0; bottom: -4px; height: 1.5px; background: currentColor; transform: scaleX(0); transform-origin: right; transition: transform .5s var(--ease); }
.nav__links a:hover::after { transform: scaleX(1); transform-origin: left; }
.nav__burger { display: none; position: relative; flex: none; width: 46px; height: 46px; margin-right: -8px; color: inherit; }
.nav__burger span { position: absolute; left: 11px; right: 11px; height: 2px; background: currentColor; transition: transform .55s var(--ease), top .55s var(--ease); }
.nav__burger span:first-child { top: 18px; } .nav__burger span:last-child { top: 26px; }
.menu-open .nav__burger span:first-child { top: 22px; transform: rotate(45deg); }
.menu-open .nav__burger span:last-child { top: 22px; transform: rotate(-45deg); }
.menu { position: fixed; inset: 0; z-index: 45; display: flex; flex-direction: column; justify-content: space-between; gap: 30px; padding: calc(var(--navh) + 28px) 20px calc(104px + env(safe-area-inset-bottom)); background: var(--choc); color: var(--sand2); overflow-y: auto; visibility: hidden; clip-path: inset(0 0 100% 0); transition: clip-path .75s var(--ease), visibility 0s linear .75s; }
.menu-open .menu { visibility: visible; clip-path: inset(0 0 0 0); transition: clip-path .75s var(--ease); }
.menu__links { display: grid; }
.menu__links a { display: block; overflow: hidden; padding: 6px 0; border-bottom: 1px solid var(--line-l); font: 700 clamp(30px, 8.6vw, 44px)/1.15 var(--display); letter-spacing: -.03em; }
.menu__links a span { display: block; transform: translateY(105%); transition: transform .8s var(--ease), color .3s; }
.menu-open .menu__links a span { transform: none; transition-delay: calc(.12s + var(--i) * .05s), 0s; }
.menu__links a:active span { color: var(--tile-l); }
.menu__bas { opacity: 0; transition: opacity .5s var(--ease); }
.menu-open .menu__bas { opacity: 1; transition-delay: .45s; }
.menu__tel { display: inline-block; font: 700 clamp(32px, 9vw, 44px)/1 var(--display); letter-spacing: -.03em; color: var(--tile-l); }
.menu__bas p { margin-top: 14px; font-size: 15px; line-height: 1.6; color: rgba(243,234,220,.75); }
.menu__bas p a { display: inline-block; padding: 8px 0; }
html.menu-open .nav, html.menu-open .nav.is-solid { background: transparent; color: var(--sand2); box-shadow: none; }
html.menu-open .brand__logo--clair { display: block; } html.menu-open .brand__logo--fonce { display: none; }
html.menu-open .btn--nav { visibility: hidden; }

/* ---------- Hero ---------- */
.hero { position: relative; display: flex; flex-direction: column; justify-content: flex-end; min-height: 100vh; min-height: 100svh; padding: calc(var(--navh) + 32px) var(--pad) clamp(40px, 8vh, 90px); overflow: hidden; background: var(--choc); color: var(--white); }
.layer { position: absolute; inset: 0; }
.hero__img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: 50% 100%; }
/* Voile : le bas et la gauche s'assombrissent franchement pour que le texte se lise sur les toits */
.veil { pointer-events: none; background:
  linear-gradient(180deg, rgba(24,15,9,.28) 0%, rgba(24,15,9,0) 16%),
  linear-gradient(0deg, rgba(24,15,9,.62) 0%, rgba(24,15,9,.3) 30%, rgba(24,15,9,0) 55%),
  radial-gradient(70% 60% at 12% 82%, rgba(24,15,9,.42) 0%, rgba(24,15,9,0) 70%); }
.hero__txt { position: relative; z-index: 4; max-width: 860px; }
.hero__k { font: 600 16px/1 var(--sans); color: var(--white); text-shadow: 0 1px 12px rgba(20,12,6,.6); }
.hero__t { margin-top: 20px; font: 700 clamp(34px, min(5.6vw, 9.6vh), 92px)/.98 var(--display); letter-spacing: -.035em; color: var(--white); text-shadow: 0 2px 18px rgba(20,12,6,.45); }
.l { display: block; overflow: hidden; padding: 0 .1em .07em 0; margin: 0 -.1em -.07em 0; }
.l > span { display: inline-block; }
.hero__p { margin-top: 24px; max-width: 520px; font-size: 18px; line-height: 1.55; color: var(--white); text-shadow: 0 1px 10px rgba(20,12,6,.6); }
.ctas { display: flex; gap: 10px; flex-wrap: wrap; margin-top: 32px; }

/* ---------- Commun ---------- */
.sec { position: relative; padding: clamp(100px, 11vw, 170px) var(--pad); }
.lab { font: 600 15px/1 var(--sans); color: var(--tile-d); }
.lab--l { color: var(--tile-l); }
.h2 { margin-top: 22px; font: 700 clamp(40px, 5vw, 84px)/.98 var(--display); letter-spacing: -.035em; }
.sec__p { margin-top: 22px; max-width: 460px; color: var(--muted); font-size: 18px; }
.sec__head { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 22px 60px; align-items: end; }
.sec__head .lab { grid-column: 1 / -1; }
.sec__head .h2 { margin-top: 0; }

/* ---------- L'entreprise ---------- */
.intro { background: var(--paper); }
.intro__big { margin-top: 30px; max-width: 26ch; font: 600 clamp(28px, 3.5vw, 56px)/1.12 var(--display); letter-spacing: -.025em; }
.intro__big .w { color: rgba(28,26,22,.17); transition: color .3s; }
.intro__ph { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(12px, 1.6vw, 24px); margin-top: clamp(60px, 7vw, 110px); }
.ph { aspect-ratio: 4 / 5; overflow: hidden; background: var(--paper2); }
.ph img { width: 100%; height: 112%; object-fit: cover; will-change: transform; }

/* ---------- Travaux ---------- */
.travaux { background: var(--paper2); }
.cards { list-style: none; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(28px, 3vw, 44px) clamp(16px, 1.8vw, 26px); margin-top: clamp(50px, 6vw, 84px); }
.card a { position: relative; display: block; aspect-ratio: 4 / 5; overflow: hidden; background: var(--choc); color: var(--white); }
.card__ph { position: absolute; inset: 0; }
.card__ph img { width: 100%; height: 100%; object-fit: cover; transition: transform 1.2s var(--ease); }
.card__ph::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(24,15,9,0) 40%, rgba(24,15,9,.55) 68%, rgba(24,15,9,.88) 100%); }
.card a:hover .card__ph img { transform: scale(1.05); }
.card__txt { position: absolute; left: 0; right: 0; bottom: 0; padding: clamp(20px, 2vw, 28px); }
.card h3 { font: 700 clamp(22px, 1.9vw, 30px)/1.08 var(--display); letter-spacing: -.02em; }
.card p { margin-top: 8px; font-size: 15.5px; line-height: 1.5; color: rgba(251,248,243,.86); }
.card__go { display: inline-flex; align-items: center; gap: 8px; margin-top: 16px; padding-top: 14px; border-top: 1px solid rgba(251,248,243,.25); width: 100%; font-weight: 600; font-size: 15px; }
.card__go svg { margin-left: auto; transition: transform .5s var(--ease); }
.card a:hover .card__go svg { transform: translateX(5px); }

/* ---------- Collage ---------- */
.collage { position: relative; height: max(130vh, 64vw); min-height: 860px; background: var(--choc); color: var(--sand2); overflow: hidden; }
.collage__name { position: absolute; left: 50%; top: 50%; transform: translate(-50%, -50%); text-align: center; z-index: 1; }
.collage__name span { display: block; font: 700 clamp(56px, 9vw, 230px)/.92 var(--display); letter-spacing: -.05em; }
.collage__name em { display: block; margin-top: clamp(18px, 2vw, 34px); font: 600 clamp(20px, 1.8vw, 34px)/1 var(--display); letter-spacing: -.01em; color: var(--gold); }
.collage__ph { display: contents; }
.c { position: absolute; z-index: 2; will-change: transform; }
.c img { width: 100%; height: 100%; object-fit: cover; }
.c1 { left: 5%; top: 7%; width: 15vw; aspect-ratio: 4 / 5; } .c2 { left: 31%; top: 3%; width: 11vw; aspect-ratio: 4 / 5; } .c3 { right: 6%; top: 9%; width: 16vw; aspect-ratio: 4 / 5; }
.c4 { left: 3%; top: 58%; width: 13vw; aspect-ratio: 4 / 5; } .c5 { right: 22%; top: 64%; width: 13vw; aspect-ratio: 4 / 5; } .c6 { left: 30%; bottom: 4%; width: 19vw; aspect-ratio: 3 / 2; } .c7 { right: 3%; bottom: 7%; width: 11vw; aspect-ratio: 4 / 5; }

/* ---------- Avant / après ---------- */
.ba { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: clamp(40px, 6vw, 100px); align-items: center; background: var(--paper); }
.ba__txt .btn { margin-top: 30px; }
.ba__tabs { display: flex; gap: clamp(12px, 1.4vw, 18px); margin-top: 34px; }
.ba__tabs button { display: grid; gap: 10px; flex: 0 1 clamp(84px, 7.4vw, 116px); min-width: 0; text-align: left; font-size: 15px; font-weight: 500; color: var(--muted); transition: color .3s; }
.ba__tabs img { width: 100%; aspect-ratio: 3 / 4; object-fit: cover; opacity: .55; filter: grayscale(.5); transition: opacity .4s var(--ease), filter .4s var(--ease); }
.ba__tabs span { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; padding-bottom: 6px; border-bottom: 2px solid transparent; transition: border-color .3s; }
.ba__tabs button:hover img { opacity: .85; filter: none; }
.ba__tabs button[aria-selected="true"] { color: var(--ink); }
.ba__tabs button[aria-selected="true"] img { opacity: 1; filter: none; }
.ba__tabs button[aria-selected="true"] span { border-color: var(--tile); }
.ba__box { position: relative; justify-self: start; width: min(100%, calc(min(84vh, 820px) * .75)); aspect-ratio: 3 / 4; overflow: hidden; background: var(--paper2); user-select: none; -webkit-user-select: none; touch-action: pan-y; }
.ba__img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; pointer-events: none; transition: opacity .45s var(--ease); }
.ba.is-swap .ba__img { opacity: 0; }
.ba__before { position: absolute; inset: 0; clip-path: inset(0 calc(100% - var(--p)) 0 0); }
.ba__tag { position: absolute; top: 16px; z-index: 2; padding: 8px 12px; background: var(--white); font: 600 13.5px/1 var(--sans); pointer-events: none; }
.ba__tag--l { left: 16px; } .ba__tag--r { right: 16px; background: var(--tile); color: #fff; }
.ba__handle { position: absolute; top: 0; bottom: 0; left: var(--p); z-index: 2; width: 2px; margin-left: -1px; background: var(--white); pointer-events: none; }
.ba__handle i { position: absolute; left: 50%; top: 50%; width: 52px; height: 52px; margin: -26px 0 0 -26px; display: grid; place-items: center; background: var(--white); box-shadow: 0 10px 30px rgba(28,26,22,.25); transition: transform .4s var(--ease); }
.ba__handle i::before, .ba__handle i::after { content: ""; position: absolute; top: 50%; width: 8px; height: 8px; margin-top: -4px; border: solid var(--ink); border-width: 0 0 2px 2px; }
.ba__handle i::before { left: 14px; transform: rotate(45deg); } .ba__handle i::after { right: 14px; transform: rotate(-135deg); }
.ba__box:active .ba__handle i { transform: scale(.92); }
.ba__range { position: absolute; inset: 0; z-index: 3; width: 100%; height: 100%; margin: 0; opacity: 0; cursor: ew-resize; -webkit-appearance: none; appearance: none; background: none; }
.ba__range::-webkit-slider-thumb { -webkit-appearance: none; width: 64px; height: 100vh; }
.ba__range::-moz-range-thumb { width: 64px; height: 100vh; border: 0; }
.ba__range:focus-visible + .ba__handle i { outline: 2px solid var(--tile); outline-offset: 3px; }

/* ---------- Avis (modèle Verstraet) ---------- */
.avis { padding: clamp(100px, 11vw, 170px) 0 clamp(80px, 9vw, 130px); background: var(--choc); color: var(--sand2); overflow: hidden; }
.avis__top { display: grid; justify-items: center; text-align: center; padding: 0 var(--pad); }
.avis__t { margin-top: 20px; font: 700 clamp(28px, 2.6vw, 40px)/1.1 var(--display); letter-spacing: -.025em; }
.note { display: grid; justify-items: center; gap: clamp(14px, 1.6vw, 22px); margin-top: clamp(30px, 4vw, 56px); }
.note__chiffre { display: flex; align-items: flex-end; gap: .08em; font: 700 clamp(120px, 17vw, 250px)/.9 var(--display); letter-spacing: -.05em; color: var(--tile-l); }
.note__chiffre b { font-weight: 700; font-variant-numeric: tabular-nums; }
.note__chiffre > span { font-size: .24em; letter-spacing: -.02em; padding-bottom: .42em; color: rgba(243,234,220,.55); }
.note__etoiles { display: flex; gap: clamp(6px, .8vw, 12px); font-size: clamp(26px, 2.6vw, 38px); color: var(--gold); }
.note__etoiles svg { fill: currentColor; }
.note__d { font-size: clamp(17px, 1.3vw, 19px); color: rgba(243,234,220,.85); }
.note__d strong { color: var(--sand2); font-weight: 600; }
.avis__une { max-width: 24ch; margin: clamp(70px, 9vw, 130px) auto clamp(56px, 7vw, 100px); padding: 0 var(--g); text-align: center; font: 600 clamp(28px, 4vw, 64px)/1.1 var(--display); letter-spacing: -.03em; box-sizing: content-box; }
.avis__une .w { color: rgba(243,234,220,.16); transition: color .25s; }
.avis__une cite { display: block; margin-top: 26px; font: 500 17px/1.4 var(--sans); letter-spacing: 0; font-style: normal; color: rgba(243,234,220,.75); }
.avis__une cite b { color: var(--sand2); font-weight: 600; }
.rangs { display: grid; gap: clamp(12px, 1.4vw, 18px); }
.rang { overflow: hidden; touch-action: pan-y; cursor: grab; }
.rang.tire { cursor: grabbing; }
.rang__piste { display: flex; gap: clamp(12px, 1.4vw, 18px); width: max-content; will-change: transform; }
.carte { flex: none; width: clamp(286px, 80vw, 460px); display: flex; flex-direction: column; gap: 18px; padding: clamp(24px, 2.4vw, 34px); background: var(--choc2); border: 1px solid var(--line-l); user-select: none; -webkit-user-select: none; transition: border-color .5s; }
.carte:hover { border-color: rgba(229,119,79,.55); }
.etoiles { display: flex; gap: 4px; font-size: 17px; color: var(--gold); }
.etoiles svg { fill: currentColor; }
.carte blockquote { font: 500 clamp(18px, 1.45vw, 22px)/1.4 var(--display); letter-spacing: -.01em; }
.carte figcaption { display: flex; align-items: center; gap: 12px; margin-top: auto; font-size: 14.5px; color: rgba(243,234,220,.72); }
.carte figcaption i { display: grid; place-items: center; flex: none; width: 40px; height: 40px; border-radius: 50%; background: var(--tile); color: #fff; font: 700 16px var(--display); font-style: normal; }
.carte figcaption b { display: block; font-size: 16px; font-weight: 600; color: var(--sand2); }
.avis__bas { margin-top: clamp(40px, 5vw, 60px); text-align: center; }
.lien { display: inline-flex; align-items: center; gap: 8px; padding: 12px 0; font-weight: 600; border-bottom: 1.5px solid var(--tile-l); }
.lien svg { transition: transform .5s var(--ease); } .lien:hover svg { transform: translateX(5px); }

/* ---------- Secteur ---------- */
.secteur { background: var(--paper); }
.zone { display: grid; grid-template-columns: minmax(280px, 420px) minmax(0, 1fr); gap: clamp(40px, 6vw, 90px); align-items: center; }
.communes { list-style: none; display: flex; flex-wrap: wrap; gap: 8px; margin-top: 36px; }
.communes li { padding: 10px 14px; background: var(--white); border: 1px solid var(--line); font-size: 15.5px; font-weight: 500; }
.communes li:first-child { background: var(--tile); color: #fff; border-color: var(--tile); }
.zone__p { margin-top: 26px; color: var(--muted); font-size: 16px; max-width: 380px; }
.map { position: relative; aspect-ratio: 1000 / 845.5; overflow: hidden; background: #F4EEE3; box-shadow: 0 0 0 1px var(--line), 0 40px 80px -50px rgba(28,26,22,.35); }
.map__fond, .map__traits { position: absolute; inset: 0; width: 100%; height: 100%; }
.map__traits path { fill: none; stroke: var(--tile); stroke-width: 1.6; stroke-linecap: round; vector-effect: non-scaling-stroke; }
.map__pins { position: absolute; inset: 0; }
.mp { position: absolute; display: flex; align-items: center; gap: 8px; transform: translate(-6px, -50%); font: 600 clamp(12.5px, 1vw, 14.5px)/1 var(--sans); color: var(--ink); white-space: nowrap; }
.mp::before { content: ""; flex: none; width: 9px; height: 9px; border-radius: 50%; background: var(--ink); box-shadow: 0 0 0 3px #F4EEE3; }
.mp--g { flex-direction: row-reverse; transform: translate(calc(-100% + 6px), -50%); }
.mp--h { z-index: 2; gap: 10px; transform: translate(-11px, -50%); font: 700 clamp(17px, 1.8vw, 28px)/1 var(--display); letter-spacing: -.02em; color: var(--tile-d); }
.mp--h b { padding: .28em .45em .32em; background: #F4EEE3; box-shadow: 0 6px 18px rgba(28,26,22,.12); font-weight: 700; }
.mp--h::before { width: 18px; height: 18px; background: var(--tile); box-shadow: 0 0 0 5px rgba(194,64,30,.18), 0 0 0 4px #F4EEE3; }
.mp--h i { position: absolute; left: 9px; top: 50%; width: 18px; height: 18px; margin: -9px 0 0 -9px; border-radius: 50%; border: 1.5px solid var(--tile); animation: pouls 2.4s var(--ease) infinite; }
@keyframes pouls { 0% { transform: scale(1); opacity: .9; } 100% { transform: scale(3.6); opacity: 0; } }
.map__mer { position: absolute; left: 62%; top: 70%; font: 500 italic clamp(12px, 1.1vw, 16px) var(--sans); letter-spacing: .14em; text-transform: uppercase; color: rgba(60,80,82,.55); }

/* ---------- Devis ---------- */
.devis { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.1fr); gap: clamp(40px, 7vw, 120px); align-items: start; padding: clamp(100px, 11vw, 170px) var(--pad); background: var(--choc); color: var(--sand2); }
.devis__t { margin-top: 22px; font: 700 clamp(40px, 5vw, 84px)/.98 var(--display); letter-spacing: -.035em; }
.devis__p { margin-top: 24px; max-width: 420px; font-size: 18px; color: rgba(243,234,220,.85); }
.devis__tel { margin-top: clamp(40px, 5vw, 70px); padding-top: 26px; border-top: 1px solid var(--line-l); }
.devis__tel p { font-size: 16px; color: rgba(243,234,220,.75); }
.devis__tel a { display: inline-block; margin-top: 6px; font: 700 clamp(40px, 4.4vw, 70px)/1 var(--display); letter-spacing: -.03em; white-space: nowrap; color: var(--tile-l); font-variant-numeric: tabular-nums; transition: color .3s; }
.devis__tel a:hover { color: var(--sand2); }
.qf { display: grid; gap: 22px; align-content: start; min-width: 0; padding: clamp(24px, 3.2vw, 48px); background: var(--white); color: var(--ink); }
.qf-top { display: flex; justify-content: space-between; align-items: center; min-height: 28px; font-size: 14.5px; color: var(--muted); }
.qf-step b { color: var(--ink); font-weight: 600; }
.qf-back { padding: 4px 0; font-weight: 600; font-size: 14.5px; text-decoration: underline; text-underline-offset: 4px; text-decoration-color: var(--line); }
.qf-back[hidden] { display: none; }
.qf-bar { display: block; height: 3px; margin-top: -8px; background: var(--paper2); }
.qf-bar i { display: block; height: 100%; background: var(--tile); transform-origin: 0 50%; transform: scaleX(.3333); transition: transform .7s var(--ease); }
.qf-pane { display: grid; gap: 18px; border: 0; min-width: 0; }
.qf-pane[hidden] { display: none; }
.qf-pane > legend { float: left; width: 100%; margin-bottom: 22px; font: 700 clamp(28px, 2.6vw, 40px)/1.05 var(--display); letter-spacing: -.03em; }
.qf-pane > legend + * { clear: both; }
.qf-opts { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 8px; }
.qf-opts-1 { grid-template-columns: minmax(0, 1fr); margin-top: -10px; }
.qf-opts label { position: relative; cursor: pointer; }
.qf-opts input { position: absolute; inset: 0; opacity: 0; margin: 0; cursor: pointer; }
.qf-opts span { display: flex; align-items: center; justify-content: space-between; gap: 12px; min-height: 66px; padding: 0 18px; border: 1px solid var(--line); background: var(--paper); font-size: 16.5px; font-weight: 500; transition: background-color .35s var(--ease), color .35s var(--ease), border-color .35s var(--ease); }
.qf-opts span svg { opacity: .3; transition: transform .5s var(--ease), opacity .3s; }
.qf-opts label:hover span { border-color: var(--ink); background: var(--white); }
.qf-opts label:hover span svg { opacity: 1; transform: translateX(4px); }
.qf-opts label:active { scale: .98; }
.qf-opts input:checked + span { background: var(--ink); color: var(--white); border-color: var(--ink); }
.qf-opts input:checked + span svg { opacity: 1; color: var(--tile-l); }
.qf-opts input:focus-visible + span, .qf-canal input:focus-visible + span { outline: 2px solid var(--tile); outline-offset: 2px; }
.qf-canal { display: flex; flex-wrap: wrap; gap: 6px; border: 0; min-width: 0; }
.qf-canal legend { width: 100%; margin-bottom: 10px; font-size: 14.5px; font-weight: 600; }
.qf-canal label { position: relative; cursor: pointer; }
.qf-canal input { position: absolute; inset: 0; opacity: 0; margin: 0; cursor: pointer; }
.qf-canal span { display: inline-flex; align-items: center; min-height: 46px; padding: 0 18px; border: 1px solid var(--line); background: var(--paper); font-size: 15px; font-weight: 500; transition: background-color .3s var(--ease), color .3s var(--ease), border-color .3s var(--ease); }
.qf-canal label:hover span { border-color: var(--ink); }
.qf-canal input:checked + span { background: var(--ink); color: var(--white); border-color: var(--ink); }
.qf-row { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 16px; }
.field { display: grid; gap: 8px; font-size: 14.5px; font-weight: 600; }
.field small { font-size: 13px; font-weight: 400; color: var(--muted); }
.field input, .field textarea { width: 100%; font: 400 17px/1.4 var(--sans); color: var(--ink); background: var(--paper); border: 1px solid var(--line); border-radius: 0; padding: 14px 15px; caret-color: var(--tile); transition: border-color .3s var(--ease), background-color .3s var(--ease); }
.field textarea { resize: vertical; min-height: 76px; }
.field input::placeholder, .field textarea::placeholder { color: #8b867c; }
.field input:focus, .field textarea:focus { outline: none; border-color: var(--ink); background: var(--white); }
.field input[aria-invalid="true"] { border-color: var(--tile); }
.qf-error { color: var(--tile-d); font-size: 15px; font-weight: 500; }
.qf-send { width: 100%; min-height: 62px; font-size: 17px; }
.qf-note { font-size: 14px; color: var(--muted); }

/* ---------- FAQ ---------- */
.faq { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.4fr); gap: 40px; background: var(--paper); }
.faq .h2 { margin-top: 0; }
.faq__list { border-top: 1px solid var(--line); }
.faq details { border-bottom: 1px solid var(--line); }
.faq summary { list-style: none; cursor: pointer; display: flex; justify-content: space-between; align-items: center; gap: 20px; padding: 26px 0; font: 600 clamp(20px, 1.7vw, 26px)/1.2 var(--display); letter-spacing: -.015em; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; flex: none; font: 400 30px/1 var(--sans); color: var(--tile); transition: transform .4s var(--ease); }
.faq details[open] summary::after { transform: rotate(45deg); }
.faq__a { overflow: hidden; }
.faq__a p { padding: 0 0 26px; max-width: 620px; color: var(--muted); }

/* ---------- Pied de page (modèle Verstraet : tout se lit) ---------- */
.pied { padding: clamp(80px, 9vw, 130px) var(--pad) 36px; background: var(--choc); color: var(--sand2); overflow: hidden; }
.pied__haut { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.3fr); gap: 40px 60px; align-items: end; }
.pied__appel p { font-size: 18px; color: rgba(243,234,220,.8); }
.pied__tel { display: inline-block; margin-top: 8px; font: 700 clamp(38px, 4.4vw, 68px)/1 var(--display); letter-spacing: -.03em; white-space: nowrap; color: var(--tile-l); transition: color .3s; }
.pied__tel:hover { color: var(--sand2); }
.pied__cols { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 30px; }
.pied h3 { font: 600 14px var(--sans); color: rgba(243,234,220,.55); margin-bottom: 12px; }
.pied__cols p { font-size: 16px; line-height: 1.75; color: rgba(243,234,220,.9); }
.pied__cols a { display: inline-block; padding: 10px 0; transition: color .3s; }
.pied__cols p { line-height: 1.5; } .pied__cols a:hover { color: var(--tile-l); }
.pied__nom { display: block; width: max-content; margin: clamp(60px, 8vw, 120px) auto 0; font: 700 20vw/.8 var(--display); letter-spacing: -.05em; color: var(--sand2); white-space: nowrap; overflow: hidden; padding-bottom: .05em; user-select: none; }
.pied__nom .pl { display: inline-block; will-change: transform; }
.pied__bas { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 14px 30px; align-items: center; margin-top: clamp(30px, 4vw, 50px); padding-top: 24px; border-top: 1px solid var(--line-l); font-size: 15px; color: rgba(243,234,220,.8); }
.pied__bas nav { display: flex; flex-wrap: wrap; gap: 6px 26px; }
.pied__bas a { display: inline-block; padding: 12px 0; transition: color .3s; } .pied__bas a:hover { color: var(--tile-l); }

.dock { display: none; }

/* ---------- Tablette ---------- */
@media (max-width: 1080px) {
  .nav__links { gap: 22px; }
  .sec__head, .ba, .zone, .devis, .faq, .pied__haut { grid-template-columns: 1fr; }
  .sec__head { align-items: start; } .sec__cta { justify-self: start; }
  .ba__box { width: min(100%, 560px, calc((100svh - var(--navh) - 40px) * .75)); }
  .cards { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .collage { height: auto; min-height: 0; padding: 120px var(--g); display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; }
  .collage__name { position: static; transform: none; grid-column: 1 / -1; margin-bottom: 40px; }
  .c { position: static; width: auto !important; height: auto !important; aspect-ratio: auto; }
  .c img { aspect-ratio: 4 / 5; height: auto; }
  .c7 { display: none; }
}
@media (max-width: 900px) { .nav__links { display: none; } .nav__burger { display: block; } .nav { gap: 10px; } }

/* ---------- Téléphone ---------- */
@media (max-width: 767px) {
  :root { --navh: 64px; }
  body { font-size: 16px; padding-bottom: calc(72px + env(safe-area-inset-bottom)); }
  .nav { gap: 8px; padding: 0 16px; }
  .brand__logo { width: 50px; }
  .brand__name { font-size: 16px; }
  .btn--nav { min-height: 40px; padding: 0 12px; font-size: 14px; }
  .btn--nav svg { display: none; }
  .veil { background: linear-gradient(180deg, rgba(24,15,9,.4) 0%, rgba(24,15,9,0) 22%, rgba(24,15,9,0) 34%, rgba(24,15,9,.72) 58%, rgba(24,15,9,.94) 100%); }
  .hero { padding: calc(var(--navh) + 24px) 16px calc(92px + env(safe-area-inset-bottom)); }
  .hero__img { top: auto; bottom: 0; height: 128%; object-position: 14% 100%; }
  .devis { align-items: stretch; }
  .qf { margin: 30px 0 0; }
  .hero__t { margin-top: 16px; font-size: clamp(32px, min(10.4vw, 6.4vh), 48px); }
  .hero__p { margin-top: 16px; font-size: 16px; }
  .ctas { margin-top: 22px; }
  .ctas .btn--tile { flex: 1 1 100%; }
  .btn--glass { display: none; }
  .h2, .devis__t { font-size: clamp(34px, 9.6vw, 44px); }
  .intro__big { font-size: clamp(25px, 7vw, 32px); }
  .intro__ph { display: flex; overflow-x: auto; scroll-snap-type: x mandatory; gap: 12px; margin-left: -16px; margin-right: -16px; padding: 0 16px; scrollbar-width: none; }
  .intro__ph::-webkit-scrollbar { display: none; }
  .ph { flex: none; width: 74vw; scroll-snap-align: start; scroll-margin-left: 16px; }
  .cards { display: flex; overflow-x: auto; scroll-snap-type: x mandatory; gap: 14px; margin: 44px -16px 0; padding: 0 16px 6px; scrollbar-width: none; }
  .cards::-webkit-scrollbar { display: none; }
  .card { flex: none; width: 80vw; max-width: 340px; scroll-snap-align: start; scroll-margin-left: 16px; }
  .collage { grid-template-columns: 1fr 1fr; padding: 100px 16px; }
  .collage__name span { font-size: clamp(44px, 13vw, 64px); }
  .collage { display: block; padding: 80px 0 84px; }
  .collage__name { margin-bottom: 36px; }
  .collage__ph { display: flex; gap: 10px; overflow-x: auto; scroll-snap-type: x mandatory; padding: 0 16px; scrollbar-width: none; }
  .collage__ph::-webkit-scrollbar { display: none; }
  .collage .c { flex: none; width: 46vw !important; aspect-ratio: 4 / 5 !important; scroll-snap-align: start; scroll-margin-left: 16px; }
  .collage .c img { aspect-ratio: auto; height: 100%; }
  .collage .c7 { display: block; }
  .sec, .devis { padding-top: 80px; padding-bottom: 80px; }
  .avis { padding: 84px 0 72px; }
  .intro__big { margin-top: 22px; font-size: clamp(22px, 6.2vw, 27px); line-height: 1.18; }
  .intro__ph { margin-top: 40px; }
  .h2, .devis__t { margin-top: 16px; }
  .cards { margin-top: 32px; }
  .devis { display: flex; flex-direction: column; gap: 0; }
  .devis__head { display: contents; }
  .devis__t { order: 2; } .devis .lab { order: 1; } .devis__p { order: 3; margin-top: 16px; }
  .qf { order: 4; }
  .devis__tel { order: 5; margin-top: 36px; }
  .c7 { display: none; }
  .ba__box { width: min(100%, calc((100svh - var(--navh) - 96px) * .75)); justify-self: center; }

  .sec__cta { display: none; }
  .ba__tabs button { flex: 1 1 0; font-size: 14px; }
  .avis__une { font-size: clamp(25px, 7vw, 32px); }
  .map { margin: 0 -16px; }
  .mp:not(.mp--h) { font-size: 12px; gap: 5px; } .mp::before { width: 7px; height: 7px; }
  .map__mer { display: none; }
  .mp--petit { font-size: 0 !important; gap: 0; }
  .qf { padding: 22px 18px; }
  .qf-opts { grid-template-columns: 1fr; }
  .qf-opts span { min-height: 58px; }
  .qf-row { grid-template-columns: 1fr; }
  .pied__cols { grid-template-columns: 1fr 1fr; }
  .pied__cols > div:last-child { grid-column: 1 / -1; }
  .pied__bas { grid-template-columns: 1fr; }
  .dock { display: grid; grid-template-columns: 1fr 1.3fr 56px; position: fixed; z-index: 60; left: 0; right: 0; bottom: 0; gap: 8px; padding: 8px 8px calc(8px + env(safe-area-inset-bottom)); background: var(--paper); box-shadow: 0 -1px 0 var(--line); transition: transform .4s var(--ease); }
  .dock.is-off { transform: translateY(110%); }
  .dock a { display: flex; align-items: center; justify-content: center; gap: 8px; height: 54px; font-weight: 600; font-size: 15.5px; border: 1px solid var(--ink); }
  .dock svg { font-size: 19px; }
  .dock .dock__devis { background: var(--tile); color: #fff; border-color: var(--tile); }
  .dock .dock__wa { background: var(--ink); color: var(--white); }
}
@media (max-width: 520px) { .brand__name { display: none; } }
@media (max-height: 560px) and (orientation: landscape) {
  :root { --navh: 60px; }
  .nav .brand__logo { width: 52px; }
  .btn--nav { min-height: 40px; }
  .hero { padding-top: calc(var(--navh) + 18px); padding-bottom: 28px; }
  .hero__k { font-size: 14px; }
  .hero__t { margin-top: 12px; font-size: clamp(28px, 9.4vh, 44px); }
  .hero__p { margin-top: 12px; font-size: 15px; max-width: 560px; }
  .ctas { margin-top: 18px; }
  .ctas .btn { min-height: 48px; }
}
@media (max-height: 560px) and (orientation: landscape) and (max-width: 767px) {
  .hero { padding-bottom: calc(84px + env(safe-area-inset-bottom)); }
  .hero__p { display: none; }
}

@media (prefers-reduced-motion: reduce) {
  .mp--h i { animation: none; }
  .intro__big .w { color: var(--ink); }
  .avis__une .w { color: var(--sand2); }
}
