/* Lurie Brun · Maçonnerie — feuille de style unique.
   Couleurs : modifiez seulement les variables ci-dessous pour suivre le logo. */
@font-face { font-family: "Anton"; src: url(/assets/fonts/Anton.woff) format("woff"); font-display: swap; }
@font-face { font-family: "DM Sans"; src: url(/assets/fonts/DMSans.woff) format("woff"); font-weight: 300 900; font-display: swap; }
@font-face { font-family: "Instrument Serif"; src: url(/assets/fonts/InstrumentSerif-Italic.woff) format("woff"); font-style: italic; font-display: swap; }

:root {
  --mortier: #e6e3dc;     /* fond clair : joint de mortier */
  --mortier-2: #d9d5cc;
  --blanc: #faf9f6;
  --graphite: #1f2021;    /* noir du logo, textes */
  --graphite-2: #313334;
  --pierre: #b8ac98;      /* pierre calcaire */
  --pierre-2: #8f8572;
  --ocre: #d32b25;        /* rouge du logo : accent */
  --ocre-2: #b0211b;
  --texte-2: #575c5c;
  --ligne: rgba(31, 32, 33, .16);
  --f-titre: "Anton", "Arial Narrow", Impact, sans-serif;
  --f-texte: "DM Sans", system-ui, -apple-system, "Segoe UI", sans-serif;
  --f-sign: "Instrument Serif", Georgia, serif;
  --max: 1240px;
  --pad: clamp(20px, 4vw, 48px);
  --r: 3px;
}
@media (min-width: 1440px) { :root { --max: 1480px; } }
@media (min-width: 1800px) { :root { --max: 1640px; } }

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-padding-top: 84px; }
body { margin: 0; background: var(--mortier); color: var(--graphite); font: 400 1.0625rem/1.6 var(--f-texte); font-optical-sizing: auto; }
img, svg { display: block; max-width: 100%; }
a { color: inherit; text-decoration-thickness: 1px; text-underline-offset: 3px; }
a:hover { text-decoration-color: var(--ocre); }
button, input, select, textarea { font: inherit; color: inherit; }
:focus-visible { outline: 3px solid var(--graphite); outline-offset: 3px; }
.devis :focus-visible, .foot :focus-visible, .page-hero :focus-visible, .aside-card :focus-visible, .mbar :focus-visible, .blk.dark:focus-visible { outline-color: var(--ocre); }
.devis .qf :focus-visible { outline-color: var(--graphite); }
.skip { position: absolute; left: -999px; top: 8px; background: var(--graphite); color: var(--blanc); padding: 10px 16px; z-index: 100; }
.skip:focus { left: 8px; }
.wrap { max-width: var(--max); margin: 0 auto; padding: 0 var(--pad); }
.todo { outline: 2px dashed #e0a100; outline-offset: 2px; background: rgba(255, 210, 0, .18); }

/* ---------- Titres ---------- */
h1, h2, h3 { font-family: var(--f-titre); font-weight: 400; line-height: 1.02; letter-spacing: .005em; margin: 0; text-wrap: balance; }
h2 { font-size: clamp(2.3rem, 5.4vw, 4.4rem); }
h3 { font-size: clamp(1.45rem, 2.2vw, 1.85rem); line-height: 1.08; }
p { margin: 0 0 1em; max-width: 66ch; }
.lead { font-size: clamp(1.1rem, 1.6vw, 1.28rem); line-height: 1.55; color: var(--texte-2); }
.sec { padding: clamp(72px, 10vw, 140px) 0; }
.sec-head { display: grid; gap: 22px; margin-bottom: clamp(40px, 6vw, 72px); max-width: 860px; }
.sec-head p { margin: 0; }

/* ---------- Boutons ---------- */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 10px; min-height: 52px; padding: 0 26px; border: 0; border-radius: var(--r);
  font-weight: 700; font-size: 1rem; text-decoration: none; cursor: pointer; transition: transform .18s ease, background-color .18s ease, box-shadow .18s ease; }
.btn:active { transform: translateY(1px); }
.btn-ocre { background: var(--ocre); color: #fff; box-shadow: inset 0 -4px 0 rgba(0, 0, 0, .2); }
.btn-ocre:hover { background: #e23b33; }
.btn-ligne { background: transparent; color: inherit; box-shadow: inset 0 0 0 2px currentColor; }
.btn-ligne:hover { background: rgba(255, 255, 255, .08); }
.btn-sombre { background: var(--graphite); color: var(--blanc); }
.btn-sombre:hover { background: var(--graphite-2); }
.ico { width: 20px; height: 20px; flex: none; }

/* ---------- En-tête ---------- */
.top { position: fixed; inset: 0 0 auto; z-index: 50; color: var(--graphite); transition: background-color .3s ease, color .3s ease, box-shadow .3s ease; }
.top .wrap { display: flex; align-items: center; justify-content: space-between; gap: 20px; height: 76px; }
.top.solid, .page .top { background: rgba(230, 227, 220, .94); color: var(--graphite); box-shadow: 0 1px 0 var(--ligne); -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px); }
.brand { display: flex; align-items: center; gap: 12px; text-decoration: none; line-height: 1; }
.brand-mark { width: 44px; height: 40px; flex: none; }
.brand-name { font-family: var(--f-titre); font-size: 1.55rem; letter-spacing: .02em; }
.brand-sub { display: block; font-size: .78rem; font-weight: 600; letter-spacing: .04em; opacity: .75; margin-top: 3px; }
.nav { display: flex; align-items: center; gap: 28px; }
.nav a { text-decoration: none; font-weight: 600; font-size: .96rem; }
.nav a:not(.btn):hover { text-decoration: underline; text-decoration-color: var(--ocre); text-decoration-thickness: 2px; }
.nav .tel { display: inline-flex; align-items: center; gap: 8px; }
.nav .btn { min-height: 44px; padding: 0 18px; }
.burger { display: none; width: 46px; height: 46px; border: 0; background: none; cursor: pointer; padding: 11px; }
.burger span { display: block; height: 2px; background: currentColor; margin: 5px 0; transition: transform .25s ease, opacity .25s ease; }
@media (max-width: 960px) {
  .burger { display: block; }
  .nav { position: fixed; inset: 76px 0 auto; flex-direction: column; align-items: stretch; gap: 0; background: var(--mortier); color: var(--graphite);
    padding: 8px var(--pad) 24px; box-shadow: 0 20px 40px rgba(0, 0, 0, .15); transform: translateY(-8px); opacity: 0; visibility: hidden; transition: .25s ease; }
  .nav a:not(.btn) { padding: 16px 0; border-bottom: 1px solid var(--ligne); font-size: 1.1rem; }
  .nav .btn { margin-top: 18px; min-height: 52px; }
  .menu-open .nav { transform: none; opacity: 1; visibility: visible; }
  .menu-open .top { background: var(--mortier); color: var(--graphite); }
  .menu-open .burger span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
  .menu-open .burger span:nth-child(2) { opacity: 0; }
  .menu-open .burger span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }
}

/* ---------- Héros : la maison qui se construit ---------- */
.hero { position: relative; min-height: max(700px, 100svh); color: var(--graphite); overflow: hidden; isolation: isolate; display: flex; align-items: center;
  background: radial-gradient(circle at 82% 14%, rgba(255, 226, 170, .95) 0, rgba(255, 214, 150, .45) 9%, transparent 32%), linear-gradient(180deg, #cfe2e8 0%, #e6ece6 38%, #f4ebdd 70%, #efe2cc 100%); }
.hero-grid { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: clamp(20px, 3vw, 48px); align-items: center; width: 100%; padding-top: 110px; padding-bottom: 56px; }
.hero h1 { font-size: clamp(2.4rem, 3.2vw, 4.4rem); line-height: .95; text-transform: uppercase; text-wrap: wrap; white-space: nowrap; position: relative; z-index: 3; }
.hero .lead { color: #3c4142; margin: 26px 0 32px; max-width: 44ch; }
.hero-cta { display: flex; flex-wrap: wrap; gap: 14px; }
.hero-facts { display: flex; flex-wrap: wrap; gap: 10px 24px; margin: 40px 0 0; padding: 20px 0 0; list-style: none; border-top: 1px solid rgba(31, 32, 33, .18); font-size: .93rem; color: var(--graphite); }
.hero-facts li { display: flex; align-items: center; gap: 9px; }
.hero-facts .ico { color: var(--ocre-2); width: 18px; height: 18px; }
.js .hero-in > * { opacity: 0; transform: translateY(18px); }
.js .built .hero-in > * { opacity: 1; transform: none; transition: opacity .7s ease, transform .7s cubic-bezier(.2, .7, .2, 1); }
.js .built .hero-in > *:nth-child(2) { transition-delay: .08s; }
.js .built .hero-in > *:nth-child(3) { transition-delay: .16s; }
.js .built .hero-in > *:nth-child(4) { transition-delay: .26s; }

/* La scène : la maison et ses points cliquables */
.hero-in { position: relative; z-index: 3; }
.scene-wrap { position: relative; margin-right: calc(min(0px, (var(--max) - 100vw) / 2) - var(--pad)); margin-left: -30px; }
@media (min-width: 1001px) { .scene-wrap { margin-top: 40px; } }
.scene { position: relative; width: 100%; aspect-ratio: 900 / 480; }
.maison { width: 100%; height: 100%; overflow: visible; filter: drop-shadow(0 24px 30px rgba(90, 70, 40, .22)); }
.scene-tip { margin: 0 var(--pad) 10px 0; text-align: right; font-size: .9rem; color: var(--texte-2); }
/* construction de la maison, dans l'ordre du chantier */
.js .scene:not(.go) .maison, .js .scene:not(.go) .hs { opacity: 0; }
.maison g { transform-box: fill-box; }
.js .scene.go .m-sol { animation: m-fade .5s ease both; }
.js .scene.go .m-fond { animation: m-up .5s .25s cubic-bezier(.3, .8, .3, 1) both; transform-origin: 50% 0; }
.js .scene.go .m-murs { animation: m-rise .9s .6s cubic-bezier(.5, 0, .2, 1) both; }
.js .scene.go .m-ext { animation: m-rise .7s 1.05s cubic-bezier(.5, 0, .2, 1) both; }
.js .scene.go .m-detail { animation: m-fade .5s 1.5s ease both; }
.js .scene.go .m-toit { animation: m-drop .6s 1.55s cubic-bezier(.3, 1.4, .5, 1) both; }
.js .scene.go .m-muret, .js .scene.go .m-cloture { animation: m-rise .6s 1.85s cubic-bezier(.5, 0, .2, 1) both; }
.js .scene.go .m-terrasse, .js .scene.go .m-piscine { animation: m-fade .6s 2.1s ease both; }
.js .scene.go .m-arbres { animation: m-fade 1s 2.2s ease both; }
.js .scene.go .hs { animation: m-pop .45s cubic-bezier(.3, 1.6, .5, 1) both; animation-delay: calc(2.5s + var(--d, 0s)); }
.js .scene.fast * { animation-duration: .01s !important; animation-delay: 0s !important; }
@keyframes m-fade { from { opacity: 0; } }
@keyframes m-up { from { transform: scaleY(0); } }
@keyframes m-rise { from { clip-path: inset(100% 0 0 0); } to { clip-path: inset(0 0 0 0); } }
@keyframes m-drop { from { transform: translateY(-60px); opacity: 0; } }
@keyframes m-pop { from { transform: translate(-50%, -50%) scale(0); opacity: 0; } }
.hs { position: absolute; transform: translate(-50%, -50%); display: flex; align-items: center; gap: 8px; padding: 0; border: 0; background: none; color: var(--blanc); cursor: pointer; font: 700 .88rem var(--f-texte); z-index: 2; }
.hs .dot { position: relative; width: 22px; height: 22px; flex: none; border-radius: 50%; background: var(--ocre); box-shadow: 0 0 0 3px rgba(255, 255, 255, .9), 0 4px 10px rgba(0, 0, 0, .35); }
.hs .dot::after { content: ""; position: absolute; inset: -3px; border-radius: 50%; border: 2px solid var(--ocre); animation: onde 2.4s ease-out infinite; }
.hs .lab { padding: 5px 10px; border-radius: 3px; background: rgba(31, 32, 33, .9); box-shadow: 0 3px 8px rgba(0, 0, 0, .15); white-space: nowrap; transition: background-color .2s ease, color .2s ease; }
.hs-l { flex-direction: row-reverse; }
.hs-l { transform: translate(calc(-100% + 11px), -50%); }
.hs-r { transform: translate(-11px, -50%); }
@keyframes m-pop-r { from { opacity: 0; transform: translate(-11px, -50%) scale(.3); } }
.js .scene.go .hs-r { animation-name: m-pop-r; }
.js .scene.go .hs-l { animation-name: m-pop-l; }
@keyframes m-pop-l { from { opacity: 0; transform: translate(calc(-100% + 11px), -50%) scale(.3); } }
.hs:hover .lab, .hs[aria-expanded="true"] .lab { background: var(--ocre); color: #fff; }
.hs:focus-visible { outline: none; }
.hs:focus-visible .dot { outline: 3px solid var(--graphite); outline-offset: 3px; }
.bulle { position: absolute; z-index: 5; width: min(300px, 86%); background: var(--blanc); color: var(--graphite); border-radius: var(--r); padding: 18px 18px 16px; box-shadow: 0 20px 50px rgba(0, 0, 0, .45); animation: bulle .25s ease; }
.bulle b { font-family: var(--f-titre); font-weight: 400; font-size: 1.45rem; display: block; margin-bottom: 6px; padding-right: 28px; }
.bulle p { margin: 0 0 14px; font-size: .95rem; color: var(--texte-2); }
.bulle .btn { min-height: 44px; width: 100%; }
.bulle .x { position: absolute; top: 8px; right: 8px; width: 34px; height: 34px; border: 0; background: none; font-size: 1.5rem; line-height: 1; cursor: pointer; color: var(--texte-2); }
@keyframes bulle { from { opacity: 0; transform: translateY(6px); } }
@media (max-width: 1100px) { .hs .lab { font-size: .8rem; padding: 4px 8px; } }
@media (max-width: 1000px) {
  .hero .hero-wall { display: none; }
  .hero { min-height: 0; display: block; }
  .hero-grid { grid-template-columns: 1fr; padding-top: 104px; gap: 28px; }
  .scene-tip { text-align: left; }
  .scene-wrap { margin: 0 calc(-1 * var(--pad)); order: 2; }
  .hero-in { display: contents; }
  .hero-in h1 { order: 1; }
  .hero-in .lead { order: 3; margin: 0; }
  .hero-in .hero-cta { order: 4; }
  .hero-in .hero-facts { order: 5; margin: 0; }
  .scene-tip { margin-left: var(--pad); }
}
@media (max-width: 640px) {
  .hs .lab { display: none; }
  .hs-l, .hs-r { transform: translate(-50%, -50%); }
  .js .scene.go .hs-l, .js .scene.go .hs-r { animation-name: m-pop; }
  .hs .dot { width: 20px; height: 20px; }
  .bulle { position: relative; left: auto !important; top: auto !important; width: auto; margin: 14px var(--pad) 0; animation: none; }
  .hero-cta .btn { flex: 1 1 100%; }
}
@keyframes onde { 0% { transform: scale(.6); opacity: .9; } 100% { transform: scale(2.2); opacity: 0; } }


/* ---------- Fonds possibles pour l'accueil (CONFIG["fond"] dans build.py) ---------- */
/* Sombres : texte clair, fenêtres éclairées */
.hero.t-nuit { background: radial-gradient(ellipse 60% 50% at 68% 74%, rgba(211, 43, 37, .26), transparent 70%), linear-gradient(180deg, #151616 0%, #1f2021 50%, #2a2120 100%); }
.hero.t-crepuscule { background: radial-gradient(circle at 80% 70%, rgba(255, 196, 120, .55) 0, rgba(240, 140, 70, .25) 14%, transparent 40%), linear-gradient(180deg, #1c2230 0%, #353247 34%, #8e4a3a 66%, #d8803f 100%); }
.hero.t-nuit, .hero.t-crepuscule { color: var(--blanc); }
.hero.t-nuit .lead, .hero.t-crepuscule .lead { color: rgba(250, 249, 246, .85); }
.hero.t-nuit .hero-facts, .hero.t-crepuscule .hero-facts { color: rgba(250, 249, 246, .9); border-color: rgba(250, 249, 246, .22); }
.hero.t-nuit .hero-facts .ico, .hero.t-crepuscule .hero-facts .ico { color: var(--ocre); }
.hero.t-nuit .scene-tip, .hero.t-crepuscule .scene-tip { color: rgba(250, 249, 246, .65); }
.hero.t-nuit :focus-visible, .hero.t-crepuscule :focus-visible { outline-color: var(--ocre); }
.hero.t-nuit .maison [fill="url(#lum)"], .hero.t-crepuscule .maison [fill="url(#lum)"] { fill: url(#lumN); }
.hero.t-nuit .maison [fill="url(#baie)"], .hero.t-crepuscule .maison [fill="url(#baie)"] { fill: url(#baieN); }
.hero.t-nuit .maison [fill="url(#sol)"] { fill: url(#solN); }
.hero.t-nuit .m-arbres, .hero.t-crepuscule .m-arbres { filter: brightness(.55) saturate(.8); }
.hero.t-crepuscule .maison [fill="url(#sol)"] { fill: url(#solN); }
.hero.t-nuit .maison, .hero.t-crepuscule .maison { filter: drop-shadow(0 30px 40px rgba(0, 0, 0, .35)); }
body.t-nuit .top:not(.solid), body.t-crepuscule .top:not(.solid) { color: var(--blanc); }
body.menu-open .top:not(.solid) { color: var(--graphite); }
/* Clairs */
.hero.t-pierre { background: radial-gradient(circle at 82% 16%, rgba(255, 236, 200, .7) 0, transparent 30%), linear-gradient(180deg, #d9d2c6 0%, #cfc5b5 55%, #bfb19c 100%); }
.hero.t-orange { background: radial-gradient(circle at 80% 20%, rgba(255, 190, 120, .55) 0, transparent 35%), linear-gradient(180deg, #ef7f28 0%, #e46c17 60%, #cf5d10 100%); }
.hero.t-orange .lead { color: var(--graphite); }
.hero.t-orange .btn-ocre { background: var(--graphite); color: var(--blanc); box-shadow: inset 0 -4px 0 rgba(0, 0, 0, .35); }
.hero.t-orange .hero-facts .ico { color: var(--graphite); }
.hero.t-orange .scene-tip { color: rgba(31, 32, 33, .75); }
.hero.t-orange .hs .dot { background: var(--graphite); }
.hero.t-orange .hs .dot::after { border-color: var(--graphite); }
body.t-orange .top:not(.solid) .btn-ocre { background: var(--graphite); color: var(--blanc); }

/* ---------- Savoir-faire : appareillage de pierres ---------- */
.bond { display: grid; grid-template-columns: repeat(12, 1fr); align-items: start; gap: 10px; background: var(--mortier-2); padding: 10px; border-radius: var(--r); }
.blk { position: relative; background: var(--blanc); padding: clamp(24px, 3vw, 38px); display: flex; flex-direction: column; gap: 14px; min-height: 360px;
  border-radius: 2px; overflow: hidden; }
.blk:nth-child(1) { grid-column: span 7; }
.blk:nth-child(2) { grid-column: span 5; }
.blk:nth-child(3) { grid-column: span 5; }
.blk:nth-child(4) { grid-column: span 7; }
.blk p { color: var(--texte-2); margin: 0; }
.blk .tags { margin: auto 0 0; padding: 0; list-style: none; display: flex; flex-wrap: wrap; gap: 8px; }
.blk .tags li { font-size: .88rem; font-weight: 600; padding: 6px 11px; border-radius: 2px; background: var(--mortier); }
.blk .more { display: inline-flex; align-items: center; gap: 8px; font-weight: 700; margin-top: 4px; }
.det summary { list-style: none; cursor: pointer; display: inline-flex; align-items: center; gap: 8px; font-weight: 700; padding: 6px 0; }
.det summary::-webkit-details-marker { display: none; }
.det summary .ico { transition: transform .25s ease; }
.det summary:hover .more { text-decoration: underline; text-decoration-thickness: 2px; text-underline-offset: 4px; }
.det[open] summary .ico { transform: rotate(90deg); }
.det[open] summary .more { font-size: 0; } .det[open] summary .more::after { content: "Masquer le détail"; font-size: 1rem; }
.det-in { padding: 10px 0 0; border-top: 1px solid currentColor; border-color: rgba(127, 127, 127, .3); margin-top: 8px; animation: bulle .3s ease; }
.det-in .list-check { margin: 4px 0 16px; padding: 0; }
.det-in .list-check li { margin-bottom: 8px; font-size: .98rem; }
.det-in p { font-size: .96rem; margin: 0 0 12px; }
.det-in .full { margin: 16px 0 0; } .det-in .full a { font-weight: 700; }
.blk.dark .det-in p, .blk.dark .det-in li { color: rgba(250, 249, 246, .85); }
.blk.dark .list-check li::before { border-color: var(--ocre); }
.blk.ocre .list-check li::before { border-color: #fff; }
.blk-ill { position: absolute; right: 18px; bottom: 18px; width: 96px; height: 96px; color: var(--mortier-2); pointer-events: none; opacity: .9; }
.blk > :not(.blk-ill) { position: relative; z-index: 1; }
.blk .tags { padding-right: 90px !important; }
@media (max-width: 600px) { .blk-ill { display: none; } .blk .tags { padding-right: 0 !important; } }
.blk.dark { background: var(--graphite); color: var(--blanc); }
.blk.dark p { color: rgba(250, 249, 246, .74); }
.blk.dark .tags li { background: var(--graphite-2); }
.blk.dark .blk-ill { color: var(--graphite-2); }
.blk.ocre { background: var(--ocre); color: #fff; }
.blk.ocre p { color: #fff; }
.blk.ocre .tags li { background: rgba(0, 0, 0, .18); }
.blk.ocre .blk-ill { color: rgba(255, 255, 255, .2); }
@media (max-width: 860px) { .blk:nth-child(n) { grid-column: span 12; min-height: 0; } }



/* ---------- Accueil : maison dessinée sur ordinateur, photo de chantier sur téléphone ---------- */
.hero .hero-photo { display: none; }
@media (max-width: 1000px) {
  .hero.t-photo-mobile { background: #151616; min-height: 100svh; display: flex; align-items: flex-end; }
  .hero.t-photo-mobile::before { display: none !important; }
  .hero.t-photo-mobile .hero-photo { display: block; position: absolute; inset: 0; z-index: -2; width: 100%; height: 100%; object-fit: cover; object-position: var(--pos, center); }
  .hero.t-photo-mobile::after { content: ""; position: absolute; inset: 0; z-index: -1; pointer-events: none;
    background: linear-gradient(0deg, rgba(15, 15, 16, .92) 30%, rgba(15, 15, 16, .4) 65%, rgba(15, 15, 16, .2)); }
  .hero.t-photo-mobile .scene-wrap, .hero.t-photo-mobile .hero-wall { display: none; }
  .hero.t-photo-mobile .hero-in { display: block; padding: 0; background: none; box-shadow: none; border-radius: 0; -webkit-backdrop-filter: none; backdrop-filter: none; }
  .hero.t-photo-mobile .hero-grid { padding-bottom: 96px; }
  .hero.t-photo-mobile .lead { margin: 18px 0 24px; }
  .hero.t-photo-mobile .hero-facts { margin-top: 24px; }
}

/* ---------- Savoir-faire : cartes illustrées ---------- */
.cards { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 24px; align-items: stretch; }
.card { background: var(--blanc); border-radius: 10px; overflow: hidden; box-shadow: 0 1px 0 rgba(0, 0, 0, .04), 0 18px 40px -24px rgba(31, 32, 33, .35); transition: transform .3s ease, box-shadow .3s ease; }
.card:hover { transform: translateY(-4px); box-shadow: 0 1px 0 rgba(0, 0, 0, .04), 0 28px 50px -24px rgba(31, 32, 33, .45); }
.card-vis { position: relative; height: 200px; background: radial-gradient(circle at 78% 20%, rgba(211, 43, 37, .22), transparent 45%), linear-gradient(160deg, #26282a, #1a1b1c); overflow: hidden; }
.card-vis::before { content: ""; position: absolute; inset: 0; opacity: .06; background: repeating-linear-gradient(0deg, transparent 0 21px, #fff 21px 22px); }
.card-art { position: absolute; inset: 0; width: 100%; height: 100%; padding: 6px 10px 0; transition: transform .6s cubic-bezier(.2, .7, .2, 1); }
.card:hover .card-art { transform: scale(1.04); }
.card-body { padding: 28px 30px 26px; display: flex; flex-direction: column; gap: 14px; border-top: 4px solid var(--ocre); }
.card-body h3 { font-size: clamp(1.6rem, 2.4vw, 2rem); }
.card-body > p { margin: 0; color: var(--texte-2); }
.card .tags { margin: 4px 0 0; padding: 0; list-style: none; display: flex; flex-wrap: wrap; gap: 8px; }
.card .tags li { font-size: .86rem; font-weight: 600; padding: 6px 11px; border-radius: 999px; background: var(--mortier); }
.card .det { margin-top: 4px; border-top: 1px solid var(--ligne); padding-top: 10px; }
.card .det summary { color: var(--ocre-2); }
@media (max-width: 800px) { .cards { grid-template-columns: 1fr; } .card-vis { height: 170px; } }

/* ---------- Héros : texte sur verre dépoli ---------- */
.hero .hero-wall { position: absolute; left: 0; top: 0; z-index: -1; width: 62%; height: 100%; opacity: .5; -webkit-mask: linear-gradient(90deg, #000 35%, transparent 95%); mask: linear-gradient(90deg, #000 35%, transparent 95%); }
.hero.t-nuit::before { content: ""; position: absolute; z-index: -1; left: 6%; top: 22%; width: 460px; height: 460px; border-radius: 50%; background: radial-gradient(circle, rgba(211, 43, 37, .55), transparent 65%); filter: blur(30px); pointer-events: none; }
.glass { position: relative; padding: clamp(28px, 3vw, 44px); border-radius: 30px; isolation: isolate;
  background: linear-gradient(135deg, rgba(255, 255, 255, .07) 0%, rgba(255, 255, 255, .015) 45%, rgba(255, 255, 255, .05) 100%);
  box-shadow: 0 30px 60px -24px rgba(0, 0, 0, .45), inset 0 1px 1px rgba(255, 255, 255, .35), inset 0 -1px 1px rgba(255, 255, 255, .08), inset 0 0 24px rgba(255, 255, 255, .04);
  -webkit-backdrop-filter: blur(9px) saturate(180%) brightness(1.08); backdrop-filter: blur(9px) saturate(180%) brightness(1.08); }
/* liseré lumineux type « verre liquide » */
.glass::before { content: ""; position: absolute; inset: 0; border-radius: inherit; padding: 1.2px; pointer-events: none; z-index: -1;
  background: linear-gradient(140deg, rgba(255, 255, 255, .6), rgba(255, 255, 255, .08) 30%, rgba(255, 255, 255, 0) 55%, rgba(255, 255, 255, .12) 75%, rgba(255, 255, 255, .45));
  -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0); -webkit-mask-composite: xor; mask: linear-gradient(#000 0 0) content-box exclude, linear-gradient(#000 0 0); }
/* reflet en haut à gauche */
.glass::after { content: ""; position: absolute; left: 8%; top: 0; width: 55%; height: 40%; border-radius: inherit; pointer-events: none; z-index: -1;
  background: radial-gradient(ellipse at 30% 0%, rgba(255, 255, 255, .14), transparent 70%); }
.glass .btn-ligne { background: rgba(255, 255, 255, .06); }

/* ---------- Formulaire : tuiles, pastilles, réassurance ---------- */
.qf-q { font-family: var(--f-titre); font-size: 1.6rem; line-height: 1.1; margin: 0 0 16px; padding: 0; }
.tiles { display: grid; grid-template-columns: repeat(auto-fill, minmax(118px, 1fr)); gap: 10px; }
.tile { position: relative; }
.tile input { position: absolute; opacity: 0; inset: 0; margin: 0; cursor: pointer; }
.tile span { display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 8px; min-height: 96px; padding: 12px 8px; text-align: center; border-radius: 8px;
  background: var(--blanc); box-shadow: inset 0 0 0 1px var(--ligne); font-weight: 600; font-size: .95rem; transition: box-shadow .15s ease, transform .15s ease; }
.tile .ico { width: 28px; height: 28px; color: var(--graphite); }
.tile:hover span { box-shadow: inset 0 0 0 1px var(--graphite); }
.tile input:checked + span { box-shadow: inset 0 0 0 2.5px var(--ocre); transform: translateY(-1px); }
.tile input:checked + span .ico { color: var(--ocre); }
.tile input:focus-visible + span { outline: 3px solid var(--graphite); outline-offset: 2px; }
.qf fieldset.field { margin: 0 0 16px; }
.pills { display: flex; flex-wrap: wrap; gap: 8px; }
.pill { position: relative; }
.pill input { position: absolute; opacity: 0; inset: 0; margin: 0; cursor: pointer; }
.pill span { display: inline-flex; align-items: center; min-height: 40px; padding: 0 14px; border-radius: 999px; background: var(--blanc); box-shadow: inset 0 0 0 1px var(--ligne); font-weight: 600; font-size: .92rem; }
.pill input:checked + span { background: var(--ocre); color: #fff; box-shadow: none; }
.pill input:focus-visible + span { outline: 3px solid var(--graphite); outline-offset: 2px; }
.qf .field { margin-bottom: 14px; }
.qf-checks { list-style: none; padding: 0; margin: 4px 0 14px; display: flex; flex-wrap: wrap; gap: 6px 18px; font-size: .9rem; color: var(--texte-2); }
.qf-checks li { display: flex; align-items: center; gap: 6px; }
.qf-checks .ico { width: 16px; height: 16px; color: var(--ocre); }
@media (max-width: 480px) { .tiles { grid-template-columns: repeat(2, minmax(0, 1fr)); } .tile span { min-height: 84px; } }

/* ---------- Choix de la commune ---------- */
.combo { position: relative; }
.combo-list { position: absolute; z-index: 20; left: 0; right: 0; top: calc(100% - 10px); margin: 0; padding: 6px; list-style: none; max-height: 280px; overflow-y: auto;
  background: var(--blanc); border-radius: var(--r); box-shadow: 0 18px 40px rgba(0, 0, 0, .25), inset 0 0 0 1px var(--ligne); }
.combo-list li { padding: 10px 12px; border-radius: 3px; cursor: pointer; display: flex; justify-content: space-between; gap: 12px; }
.combo-list li small { color: var(--texte-2); }
.combo-list li[aria-selected="true"], .combo-list li:hover { background: var(--mortier); }
.combo-list .vide { cursor: default; color: var(--texte-2); }
.combo-list .vide:hover { background: none; }

/* ---------- Méthode : le mur monte à chaque étape ---------- */
.steps-grid { display: grid; grid-template-columns: minmax(260px, 420px) 1fr; gap: clamp(32px, 6vw, 96px); }
.steps-wall { position: sticky; top: 120px; align-self: start; }
.steps-wall svg { width: 100%; height: auto; }
.steps-wall .c { opacity: .08; transition: opacity .5s ease, transform .5s cubic-bezier(.3, 1.4, .5, 1); transform: translateY(-14px); transform-box: fill-box; }
.steps-wall .c.on { opacity: 1; transform: none; }
.steps-wall figcaption { margin-top: 14px; font-size: .92rem; color: var(--texte-2); }
.steps { list-style: none; margin: 0; padding: 0; counter-reset: s; }
.step { position: relative; padding: 0 0 clamp(48px, 8vw, 96px) 86px; counter-increment: s; }
.step::before { content: counter(s); position: absolute; left: 0; top: -6px; font-family: var(--f-titre); font-size: 3.4rem; line-height: 1; color: var(--pierre); transition: color .3s ease; }
.step.on::before { color: var(--ocre); }
.step::after { content: ""; position: absolute; left: 20px; top: 66px; bottom: 18px; width: 2px; background: var(--ligne); }
.step:last-child::after { display: none; }
.step h3 { margin-bottom: 12px; }
.step p { color: var(--texte-2); margin: 0; }
@media (max-width: 860px) { .steps-grid { grid-template-columns: 1fr; } .steps-wall { position: relative; top: 0; max-width: 340px; } }

/* ---------- Engagements ---------- */
.why { background: var(--blanc); }
.why-grid { display: grid; grid-template-columns: repeat(3, 1fr); border-top: 2px solid var(--graphite); }
.why-item { padding: 32px 32px 8px 0; }
.why-item + .why-item { padding-left: 32px; border-left: 1px solid var(--ligne); }
.why-item .ico { width: 30px; height: 30px; color: var(--ocre-2); margin-bottom: 18px; }
.why-item h3 { margin-bottom: 10px; }
.why-item p { color: var(--texte-2); }
.sign { font-family: var(--f-sign); font-style: italic; font-size: clamp(1.6rem, 3vw, 2.3rem); line-height: 1.25; margin: clamp(48px, 7vw, 80px) 0 0; max-width: 34ch; }
.sign small { display: block; font-family: var(--f-texte); font-style: normal; font-size: .95rem; font-weight: 600; margin-top: 14px; color: var(--texte-2); }
@media (max-width: 860px) { .why-grid { grid-template-columns: 1fr; } .why-item, .why-item + .why-item { padding: 28px 0 4px; border-left: 0; border-top: 1px solid var(--ligne); } }

/* ---------- Zone ---------- */
.zone-grid { display: grid; grid-template-columns: 1.1fr 1fr; gap: clamp(32px, 5vw, 72px); align-items: center; }
.map { background: var(--blanc); border-radius: var(--r); padding: 10px; }
.map svg { width: 100%; height: auto; }
.map .rayon { fill: rgba(211, 43, 37, .06); stroke: var(--ocre); stroke-width: 2; stroke-dasharray: 7 6; }
.map .pt { cursor: default; }
.map .pt circle.d { fill: var(--graphite); transition: r .2s ease, fill .2s ease; }
.map .pt.main circle.d { fill: var(--ocre-2); }
.map .pt text { font: 600 13px var(--f-texte); fill: var(--graphite); }
.map .pt.main text { font-weight: 700; font-size: 15px; }
.map .pt:hover circle.d, .map .pt:focus circle.d { fill: var(--ocre); }
.map .pulse { fill: none; stroke: var(--ocre); stroke-width: 2; transform-box: fill-box; transform-origin: center; animation: onde 2.6s ease-out infinite; opacity: 0; }
@keyframes onde { 0% { transform: scale(.4); opacity: .9; } 100% { transform: scale(2.6); opacity: 0; } }
.towns { display: flex; flex-wrap: wrap; gap: 8px; list-style: none; padding: 0; margin: 28px 0 0; }
.towns a { display: inline-block; padding: 10px 14px; border-radius: var(--r); background: var(--blanc); text-decoration: none; font-weight: 600; transition: background-color .2s ease; }
.towns a:hover { background: var(--ocre); color: #fff; }
.towns .small { padding: 10px 4px; color: var(--texte-2); font-weight: 400; }
@media (max-width: 860px) { .zone-grid { grid-template-columns: 1fr; } }

/* ---------- FAQ ---------- */
.faq { max-width: 880px; }
.faq details { border-bottom: 1px solid var(--ligne); }
.faq summary { list-style: none; cursor: pointer; padding: 24px 48px 24px 0; position: relative; font-weight: 700; font-size: 1.12rem; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: ""; position: absolute; right: 6px; top: 50%; width: 16px; height: 16px; margin-top: -8px;
  background: linear-gradient(var(--graphite), var(--graphite)) center / 16px 2px no-repeat, linear-gradient(var(--graphite), var(--graphite)) center / 2px 16px no-repeat; transition: transform .25s ease; }
.faq details[open] summary::after { transform: rotate(45deg); }
.faq .a { padding: 0 0 24px; color: var(--texte-2); }
.faq .a p:last-child { margin: 0; }

/* ---------- Devis ---------- */
.devis { background: var(--graphite); color: var(--blanc); }
.devis-grid { display: grid; grid-template-columns: 1fr 1.15fr; gap: clamp(32px, 6vw, 88px); align-items: start; }
.devis .lead { color: rgba(250, 249, 246, .78); }
.contact-list { list-style: none; padding: 0; margin: 32px 0 0; display: grid; gap: 14px; }
.contact-list a, .contact-list span { display: inline-flex; align-items: center; gap: 12px; text-decoration: none; font-weight: 600; font-size: 1.1rem; }
.contact-list .big { font-family: var(--f-titre); font-weight: 400; font-size: clamp(2rem, 4vw, 2.8rem); letter-spacing: .01em; }
.contact-list .ico { color: var(--ocre); width: 24px; height: 24px; }
.contact-list li { display: flex; flex-wrap: wrap; align-items: baseline; gap: 4px 14px; }
.contact-list .who { color: rgba(250, 249, 246, .7); font-size: 1rem; }
.devis-aside { margin-top: 32px; color: rgba(250, 249, 246, .62); font-size: .93rem; }
.qf { background: var(--mortier); color: var(--graphite); border-radius: var(--r); padding: clamp(24px, 3.5vw, 40px); }
.qf-top { display: flex; justify-content: space-between; align-items: center; font-weight: 700; font-size: .92rem; margin-bottom: 10px; }
.qf-bar { height: 4px; background: var(--mortier-2); border-radius: 2px; overflow: hidden; margin-bottom: 26px; }
.qf-bar span { display: block; height: 100%; width: 50%; background: var(--ocre); transition: width .35s ease; }
.qf fieldset { border: 0; padding: 0; margin: 0 0 22px; }
.qf legend, .qf label.l { display: block; font-weight: 700; margin-bottom: 10px; }
.qf .opt { font-weight: 400; color: var(--texte-2); }
.chips { display: flex; flex-wrap: wrap; gap: 8px; }
.chip { position: relative; }
.chip input { position: absolute; opacity: 0; inset: 0; margin: 0; cursor: pointer; }
.chip span { display: inline-flex; align-items: center; gap: 8px; min-height: 46px; padding: 0 16px; border-radius: var(--r); background: var(--blanc); box-shadow: inset 0 0 0 1px var(--ligne); font-weight: 600; transition: .15s ease; }
.chip input:checked + span { background: var(--graphite); color: var(--blanc); box-shadow: none; }
.chip input:focus-visible + span { outline: 3px solid var(--ocre); outline-offset: 2px; }
.qf input[type=text], .qf input[type=tel], .qf input[type=email], .qf select, .qf textarea { width: 100%; min-height: 52px; padding: 12px 14px; border: 0; border-radius: var(--r);
  background: var(--blanc); box-shadow: inset 0 0 0 1px var(--ligne); font-size: 1rem; }
.qf textarea { min-height: 110px; resize: vertical; }
.qf input:focus, .qf select:focus, .qf textarea:focus { outline: none; box-shadow: inset 0 0 0 2px var(--graphite); }
.qf [aria-invalid="true"] { box-shadow: inset 0 0 0 2px #b3261e !important; }
.qf .row2 { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.qf .field { margin-bottom: 18px; }
.err { color: #b3261e; font-size: .9rem; font-weight: 600; margin: 8px 0 0; }
.qf .file { display: flex; align-items: center; gap: 12px; flex-wrap: wrap; }
.qf .file label { display: inline-flex; align-items: center; gap: 8px; min-height: 46px; padding: 0 16px; border-radius: var(--r); background: var(--blanc); box-shadow: inset 0 0 0 1px var(--ligne); cursor: pointer; font-weight: 600; }
.qf .file input { position: absolute; width: 1px; height: 1px; opacity: 0; }
.qf .file input:focus-visible + label { outline: 3px solid var(--ocre); }
.qf-actions { display: flex; gap: 12px; align-items: center; justify-content: space-between; flex-wrap: wrap; margin-top: 8px; }
.qf-actions .btn-ocre { flex: 1 1 auto; }
.qf-back { background: none; border: 0; font-weight: 700; cursor: pointer; padding: 12px 4px; text-decoration: underline; }
.qf-legal { font-size: .84rem; color: var(--texte-2); margin: 18px 0 0; }
.qf-err-box { background: #fbe4e1; color: #7a1b14; padding: 14px 16px; border-radius: var(--r); margin-top: 16px; font-weight: 600; }
.hp { position: absolute; left: -5000px; }
@media (max-width: 860px) { .devis-grid { grid-template-columns: 1fr; } }
@media (max-width: 520px) { .qf .row2 { grid-template-columns: 1fr; } }

/* ---------- Pages intérieures ---------- */
.page-hero { position: relative; background: var(--graphite); color: var(--blanc); padding: 150px 0 clamp(56px, 8vw, 96px); overflow: hidden; isolation: isolate; }
.page-hero .wall-mini { position: absolute; inset: 0; z-index: -1; opacity: .5; width: 100%; height: 100%; }
.page-hero::after { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(90deg, rgba(24, 25, 26, .95) 30%, rgba(24, 25, 26, .5)); }
.page-hero h1 { font-size: clamp(2.8rem, 7vw, 6rem); text-transform: uppercase; max-width: 14ch; }
.page-hero .lead { color: rgba(250, 249, 246, .8); margin: 22px 0 30px; }
.crumbs { font-size: .9rem; margin-bottom: 26px; color: rgba(250, 249, 246, .7); }
.crumbs a { color: inherit; }
.prose { max-width: 760px; }
.prose h2 { font-size: clamp(2rem, 4vw, 3rem); margin: 56px 0 18px; }
.prose h3 { margin: 32px 0 10px; }
.prose ul { padding-left: 1.2em; }
.prose ul.towns { padding-left: 0; }
.prose li { margin-bottom: 8px; max-width: 64ch; }
.split { display: grid; grid-template-columns: 1fr 340px; gap: clamp(32px, 6vw, 88px); align-items: start; }
.aside-card { position: sticky; top: 110px; background: var(--graphite); color: var(--blanc); padding: 30px; border-radius: var(--r); }
.aside-card h3 { margin-bottom: 12px; }
.aside-card p { color: rgba(250, 249, 246, .75); font-size: .98rem; }
.aside-card .btn { width: 100%; margin-top: 10px; }
.aside-card .btn-ligne { color: var(--blanc); }
.list-check { list-style: none; padding: 0 !important; }
.list-check li { position: relative; padding-left: 30px; }
.list-check li::before { content: ""; position: absolute; left: 2px; top: .45em; width: 14px; height: 9px; border-left: 3px solid var(--ocre-2); border-bottom: 3px solid var(--ocre-2); transform: rotate(-45deg); }
.legal h2 { font-family: var(--f-texte); font-weight: 700; font-size: 1.35rem; margin: 40px 0 12px; }
@media (max-width: 960px) { .split { grid-template-columns: 1fr; } .aside-card { position: relative; top: 0; } }

/* ---------- Pied de page ---------- */
.foot { background: #171818; color: rgba(250, 249, 246, .78); padding: 72px 0 48px; font-size: .95rem; }
.foot-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1fr; gap: 40px; }
.foot h2 { font-family: var(--f-texte); color: var(--blanc); font-size: 1rem; margin: 0 0 14px; }
.foot ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 8px; }
.foot a { text-decoration: none; }
.foot a:hover { color: var(--blanc); text-decoration: underline; }
.foot .brand { color: var(--blanc); margin-bottom: 18px; }
.foot-logo { width: 100%; max-width: 280px; height: auto; background: #fff; border-radius: 4px; padding: 10px; margin-bottom: 18px; }
.foot-bottom { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 12px; margin-top: 56px; padding-top: 24px; border-top: 1px solid rgba(250, 249, 246, .12); font-size: .88rem; }
@media (max-width: 860px) { .foot-grid { grid-template-columns: 1fr 1fr; } .foot-grid > :first-child { grid-column: 1 / -1; } }

/* ---------- Barre d'appel mobile ---------- */
.mbar { position: fixed; left: 0; right: 0; bottom: 0; z-index: 40; display: none; gap: 8px; padding: 10px 12px calc(10px + env(safe-area-inset-bottom)); background: rgba(31, 32, 33, .96); transition: transform .3s ease; }
.mbar .btn { flex: 1; min-height: 50px; white-space: nowrap; padding: 0 14px; }
.mbar .btn-ligne { color: var(--blanc); }
.mbar.off { transform: translateY(110%); }
@media (max-width: 720px) { .mbar { display: flex; } .foot { padding-bottom: 110px; } }


/* ---------- Sections sombres (alternance noir / clair) ---------- */
.sombre { background: var(--graphite); color: var(--blanc); }
.sombre .lead { color: rgba(250, 249, 246, .75); }
.sombre :focus-visible { outline-color: var(--ocre); }
.sombre .step p { color: rgba(250, 249, 246, .72); }
.sombre .step::before { color: #4a4d4f; }
.sombre .step.on::before { color: var(--ocre); }
.sombre .step::after { background: rgba(250, 249, 246, .14); }
.sombre .steps-wall figcaption { color: rgba(250, 249, 246, .6); }
.sombre .steps-wall .c { opacity: .14; }
.sombre .steps-wall .c.on { opacity: 1; }
.sombre .map { background: #2a2c2e; }


/* ---------- Photos : cartes et galerie ---------- */
.card-vis.photo { height: 260px; background: #1a1b1c; }
.card-vis.photo::before { display: none; }
.card-vis.photo img { width: 100%; height: 100%; object-fit: cover; transition: transform .7s cubic-bezier(.2, .7, .2, 1); }
.card:hover .card-vis.photo img { transform: scale(1.05); }
.gal-head { display: flex; align-items: end; justify-content: space-between; gap: 20px; margin: clamp(56px, 7vw, 88px) 0 20px; }
.gal-head h3 { font-size: clamp(1.7rem, 3vw, 2.4rem); }
.gal-nav { display: flex; gap: 10px; }
.gal-btn { width: 48px; height: 48px; border-radius: 50%; border: 0; background: var(--graphite); color: #fff; display: grid; place-items: center; cursor: pointer; transition: background-color .2s ease; }
.gal-btn:hover { background: var(--ocre); }
.gal-btn[data-dir="-1"] .ico { transform: rotate(180deg); }
.gal { display: flex; gap: 18px; overflow-x: auto; scroll-snap-type: x mandatory; scroll-padding-left: var(--pad); padding: 4px var(--pad) 18px; margin: 0 calc(-1 * var(--pad)); scrollbar-width: thin; }
.gal:focus-visible { outline-offset: -3px; }
.gal-item { flex: 0 0 min(420px, 80vw); margin: 0; scroll-snap-align: start; }
.gal-open { display: block; width: 100%; padding: 0; border: 0; border-radius: 10px; overflow: hidden; cursor: zoom-in; background: #1a1b1c; aspect-ratio: 4 / 3; }
.gal-open img { width: 100%; height: 100%; object-fit: cover; transition: transform .6s cubic-bezier(.2, .7, .2, 1); }
.gal-open:hover img { transform: scale(1.05); }
.gal-item figcaption { margin-top: 10px; font-size: .93rem; color: var(--texte-2); }
.lb { position: fixed; inset: 0; z-index: 100; background: rgba(12, 12, 13, .92); display: grid; grid-template-columns: 64px 1fr 64px; align-items: center; padding: 24px; -webkit-backdrop-filter: blur(8px); backdrop-filter: blur(8px); }
.lb[hidden] { display: none; }
.lb figure { margin: 0; display: grid; justify-items: center; gap: 12px; }
.lb img { max-width: 100%; max-height: 80vh; border-radius: 8px; }
.lb figcaption { color: rgba(255, 255, 255, .85); text-align: center; }
.lb button { width: 52px; height: 52px; border-radius: 50%; border: 0; background: rgba(255, 255, 255, .12); color: #fff; cursor: pointer; display: grid; place-items: center; font-size: 1.8rem; }
.lb button:hover { background: var(--ocre); }
.lb .lb-p .ico { transform: rotate(180deg); }
.lb .lb-x { position: absolute; top: 18px; right: 18px; }
@media (max-width: 640px) { .lb { grid-template-columns: 1fr; padding: 70px 12px 24px; } .lb .lb-p, .lb .lb-n { position: absolute; bottom: 22px; } .lb .lb-p { left: 22%; } .lb .lb-n { right: 22%; } .card-vis.photo { height: 210px; } }

/* ---------- Ajustements téléphone ---------- */
@media (max-width: 1000px) { .glass::before, .glass::after { display: none; } }
@media (max-width: 860px) { .steps-wall { display: none; } .step { padding-left: 64px; } }
@media (max-width: 480px) {
  .brand-name { font-size: 1.35rem; }
  .brand-sub { font-size: .7rem; white-space: nowrap; letter-spacing: .02em; }
  .brand-mark { width: 38px; height: 34px; }
  .sec { padding: 64px 0; }
  .sec-head { margin-bottom: 32px; }
  .card-body { padding: 22px 20px 20px; }
  .contact-list .big { font-size: 1.9rem; }
  .qf { padding: 20px 16px; }
  .chip span { min-height: 42px; padding: 0 12px; font-size: .95rem; }
}
/* ---------- Mouvement réduit ---------- */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; }
  .js .hero-in > * { opacity: 1; transform: none; }
  .js .scene.go * { animation: none !important; }
  .steps-wall .c { opacity: 1; transform: none; }
}

/* titre du hero : la taille suit la largeur réelle du cadre (jamais de débordement) */
@media (min-width: 1001px) {
  .hero-in { container-type: inline-size; }
  .hero h1 { font-size: clamp(2.2rem, 12.6cqi, 4.4rem); }
}
/* le bouton « Demander un devis » arrive pile sur le formulaire */
#form-devis { scroll-margin-top: 10px; }
