/* Gabarit DA "swell" (lot DA-swell). Structure, grille, proportions et details repris du releve
   docs/references/batiment-exterieur/releve/swell/ (home 01, 03, 04, 05, 08, 09, 10, 11, 12, 13 ; contact 01, 03).
   Les couleurs de marque sont injectees par generer.mjs (variables --brand-*), le reste est fixe. */

@font-face { font-family: "Newsreader"; font-style: normal; font-weight: 200 800; font-display: swap; src: url("fonts/newsreader.woff2") format("woff2"); }
@font-face { font-family: "Newsreader"; font-style: italic; font-weight: 200 800; font-display: swap; src: url("fonts/newsreader-italic.woff2") format("woff2"); }
@font-face { font-family: "Inter Tight"; font-style: normal; font-weight: 300 800; font-display: swap; src: url("fonts/inter-tight.woff2") format("woff2"); }
@font-face { font-family: "JetBrains Mono"; font-style: normal; font-weight: 400 500; font-display: swap; src: url("fonts/jetbrains-mono.woff2") format("woff2"); }

:root {
  --gutter: clamp(1.25rem, 4.25vw, 4.75rem);
  --font-display: "Newsreader", Georgia, serif;
  --font-sans: "Inter Tight", system-ui, sans-serif;
  --font-mono: "JetBrains Mono", ui-monospace, Consolas, monospace;
  --paper: #fafaf7;
  --paper-sunken: #f4f3ef;
  --white: #fff;
  --ink: #14181a;
  --ink-body: #3f4647;
  --slate: #5c6668;
  --slate-soft: #8c9394;
  --hairline: #e3e1dc;
  --cream: #f4f0e3;
  /* marque (remplacees par generer.mjs) */
  --brand: #509070;
  --brand-deep: #21503a;
  --brand-hero: #2b5f47;
  --brand-text: #2a6548;
  --brand-bright: #8fd0a9;
  --ink-deep: #0e1613;
  --ink-panel: #141d19;
  --rule-dark: #33413a;
  --accent-a: #e9e27a;
  --accent-b: #c6bf2c;
  --accent-glow: rgba(176, 170, 30, 0.32);
  --text-h1: clamp(2.7rem, 5vw, 5rem);
  --text-h2: clamp(2.15rem, 4vw, 3.925rem);
  --text-h3: clamp(1.5rem, 2.1vw, 2.25rem);
  --text-h4: clamp(1.18rem, 1.4vw, 1.55rem);
  --text-body: clamp(1.0625rem, 0.9vw, 1.125rem);
  --ease-out: cubic-bezier(.23, 1, .32, 1);
  --dur: .18s;
}
@media (width <= 640px) { :root { --gutter: 1.25rem; } }

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body { margin: 0; background: var(--paper); color: var(--ink); font-family: var(--font-sans); font-size: var(--text-body); line-height: 1.55; -webkit-font-smoothing: antialiased; }
img { display: block; max-width: 100%; height: auto; }
a { color: inherit; text-decoration: none; }
h1, h2, h3, h4, p, figure, dl, dd, ul, ol { margin: 0; }
ul, ol { padding: 0; list-style: none; }
h1, h2, h3, h4 { font-family: var(--font-display); font-optical-sizing: auto; text-wrap: balance; overflow-wrap: break-word; }
h1 { font-size: var(--text-h1); line-height: 1; letter-spacing: -.012em; font-weight: 600; }
h2 { font-size: var(--text-h2); line-height: 1.16; letter-spacing: -.012em; font-weight: 500; max-width: 24ch; }
h3 { font-size: var(--text-h3); line-height: 1.18; letter-spacing: -.008em; font-weight: 500; }
h4 { font-size: var(--text-h4); line-height: 1.22; letter-spacing: -.004em; font-weight: 500; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.shell { width: min(100% - var(--gutter) * 2, 110.5rem); margin-inline: auto; }
:focus-visible { outline: 2px solid var(--brand); outline-offset: 3px; }

/* intitule en petites capitales + marque (swell : .eyebrow-mark + .spark-mark) */
.eyebrow { display: flex; align-items: center; gap: .7rem; color: var(--brand-text); font-size: .75rem; line-height: 1.2; letter-spacing: .08em; font-weight: 600; text-transform: uppercase; }
.eyebrow svg { width: 1.45rem; height: 1.45rem; flex: none; }
.on-dark .eyebrow { color: var(--paper); }
.on-dark .eyebrow svg { color: var(--brand-bright); }

/* boutons (swell : .btn, .cta-fill--teal, cta-fill--ink, bouton fantome) */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: .6rem; min-height: 58px; min-width: 14.25rem; padding: .8rem 1.6rem; border: 1px solid transparent; font: 680 1rem/1 var(--font-sans); transition: background-color var(--dur) var(--ease-out), color var(--dur) var(--ease-out), border-color var(--dur) var(--ease-out), transform .14s var(--ease-out); cursor: pointer; }
.btn:active { transform: scale(.96); }
.btn--accent { color: var(--ink); background: linear-gradient(135deg, var(--accent-a), var(--accent-b)); border-color: rgba(255, 255, 230, .5); box-shadow: inset 0 1px 0 rgba(255, 255, 255, .48), 0 2px 6px rgba(4, 23, 25, .18), 0 9px 24px var(--accent-glow); }
.btn--accent:hover { background: linear-gradient(135deg, #f4ef9a, var(--accent-a)); }
.btn--ghost-light { color: var(--paper); border: 2px solid var(--paper); }
.btn--ghost-light:hover { background: var(--paper); color: var(--ink); }
.btn--ghost-dark { color: var(--paper); border-color: rgba(247, 243, 233, .48); min-width: 17rem; }
.btn--ghost-dark:hover { border-color: var(--brand-bright); }
.btn--ink { background: var(--ink); color: var(--paper); min-height: 72px; min-width: 13.75rem; padding-inline: 2.25rem; font-size: 1.1rem; font-weight: 500; }
.btn--ink:hover { background: var(--brand-deep); }
.btn--line { color: var(--ink); border: 2px solid var(--ink); }
.btn--line:hover { background: var(--ink); color: var(--paper); }
.link-arrow { display: inline-flex; align-items: center; gap: .55rem; min-height: 48px; border-bottom: 2px solid var(--brand); color: var(--brand-text); font-size: 1.08rem; font-weight: 540; line-height: 1; width: max-content; transition: color var(--dur) var(--ease-out), border-color var(--dur) var(--ease-out); }
.link-arrow span { font-size: 1.35em; transition: transform var(--dur) var(--ease-out); }
.link-arrow:hover { color: var(--ink); border-color: var(--ink); }
.link-arrow:hover span { transform: translateX(.25rem); }

/* ---------- 1. HERO (swell home/01-hero) ---------- */
.hero { position: relative; isolation: isolate; display: flex; flex-direction: column; min-height: max(100svh, 52rem); overflow: clip; background: var(--brand-deep); color: var(--paper); }
.hero__media { position: absolute; inset: 0; z-index: -2; overflow: hidden; }
.hero__media img { width: 100%; height: 100%; object-fit: cover; object-position: var(--hero-pos, center 62%); }
.hero__shade { position: absolute; inset: 0; background:
  linear-gradient(180deg, var(--brand-hero) 0%, rgb(from var(--brand-hero) r g b / .9) 17%, rgb(from var(--brand-hero) r g b / .42) 36%, transparent 52%),
  linear-gradient(90deg, rgb(10 20 16 / .62) 0%, rgb(10 20 16 / .34) 38%, transparent 62%),
  linear-gradient(0deg, rgb(10 20 16 / .5) 0%, transparent 26%); }
.wordmark { display: block; width: calc(100% - clamp(2rem, 4vw, 5rem)); margin-inline: auto; padding-top: clamp(1.6rem, 2.6vw, 2.9rem); }
.wordmark__text { display: flex; justify-content: center; white-space: nowrap; color: var(--cream); font-family: var(--font-display); font-style: italic; font-weight: 800; font-size: var(--wm-size, 11.4vw); line-height: .92; letter-spacing: -.018em; font-variation-settings: "opsz" 72; }
.hero__bar { display: flex; justify-content: space-between; align-items: center; gap: 3rem; min-height: clamp(4.75rem, 7vw, 6.25rem); padding-top: clamp(.6rem, 1.2vw, 1.2rem); }
.nav { display: flex; align-items: center; gap: clamp(1.4rem, 2.6vw, 3rem); font-size: clamp(.86rem, .95vw, 1rem); font-weight: 560; letter-spacing: .01em; }
.nav a { display: inline-flex; min-height: 48px; align-items: center; text-shadow: 0 1px 10px rgb(3 25 20 / .3); transition: opacity var(--dur) var(--ease-out); }
.nav a:hover { opacity: .72; }
.hero__actions { display: flex; align-items: center; gap: .9rem; }
.pill { display: inline-flex; align-items: center; min-height: 48px; padding-inline: 1.4rem; border-radius: 999px; font-size: clamp(.82rem, .9vw, .95rem); font-weight: 680; line-height: 1; }
.hero__call { font-size: clamp(1rem, 1.25vw, 1.2rem); font-weight: 500; white-space: nowrap; }
.hero__body { flex: 1; display: flex; flex-direction: column; justify-content: flex-start; padding-top: clamp(1rem, 2vh, 1.5rem); padding-bottom: clamp(2.5rem, 5vh, 4rem); text-shadow: 0 2px 18px rgb(5 30 22 / .35); }
.hero h1 { max-width: 19ch; }
.hero__lead { margin-top: 1.1rem; max-width: 36rem; font-size: clamp(1rem, 1.15vw, 1.18rem); line-height: 1.55; color: rgb(255 255 255 / .96); }
.hero__ctas { display: flex; flex-wrap: wrap; gap: .75rem; margin-top: 1.65rem; }
.trust { position: relative; background: rgb(14 22 19 / .9); }
.trust__in { display: grid; grid-template-columns: minmax(0, 1fr) auto; align-items: center; gap: clamp(2rem, 5vw, 6rem); min-height: 78px; padding-block: .75rem; }
.trust__facts { display: grid; grid-template-columns: repeat(4, auto); justify-content: start; gap: clamp(1.25rem, 3.4vw, 4rem); }
.trust__facts li { display: flex; align-items: baseline; gap: .55rem; white-space: nowrap; }
.trust__facts strong { font-size: 1.12rem; font-weight: 680; letter-spacing: -.01em; }
.trust__facts span { font-size: .8rem; color: rgb(250 250 247 / .82); }
.marks { display: flex; align-items: center; gap: .7rem; }
.mark { display: grid; align-content: center; min-height: 46px; padding: .35rem .85rem; border-radius: 6px; background: var(--white); color: var(--ink); text-align: center; line-height: 1; }
.mark b { font-family: var(--font-display); font-size: 1.12rem; font-weight: 700; letter-spacing: .01em; }
.mark small { margin-top: .22rem; font-size: .56rem; font-weight: 640; letter-spacing: .12em; text-transform: uppercase; color: var(--brand-text); }

/* ---------- 2. A PROPOS (swell home/03-confiance) ---------- */
.about { background: var(--paper); padding: clamp(5.5rem, 7.6vw, 9.25rem) 0 clamp(5.75rem, 8vw, 9.5rem); }
.about__grid { width: calc(100% - clamp(2.5rem, 8vw, 9.5rem)); margin-inline: auto; display: grid; grid-template-columns: minmax(0, 1.05fr) minmax(28rem, .88fr); gap: clamp(5rem, 11vw, 13rem); align-items: start; }
.about h2 { margin-top: clamp(3.2rem, 4.4vw, 4.5rem); }
.about__copy { display: grid; gap: 1.6rem; max-width: 49rem; margin-top: clamp(3rem, 3.6vw, 4rem); font-size: clamp(1.02rem, 1.22vw, 1.3rem); line-height: 1.7; color: var(--ink-body); }
.about__ctas { display: flex; align-items: center; gap: clamp(1.75rem, 2.8vw, 3rem); margin-top: clamp(3rem, 4vw, 4rem); }
.about figure { margin-top: clamp(3rem, 3.25vw, 3.9rem); }
.about figure img { width: 100%; aspect-ratio: 1 / 1.01; object-fit: cover; }
.about figcaption, .figcap { display: flex; justify-content: space-between; align-items: baseline; gap: 1.5rem; padding-top: 1.55rem; font-size: .9rem; line-height: 1.3; }
.figcap__tag { text-align: right; font-size: .72rem; font-weight: 580; letter-spacing: .08em; text-transform: uppercase; color: var(--brand-text); }

/* ---------- 3. AVIS (swell home/04-avis) ---------- */
.reviews { background: var(--white); padding: clamp(5rem, 8vw, 8rem) 0; }
.reviews__grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(3rem, 7vw, 8rem); }
.reviews__lead { display: flex; flex-direction: column; }
.reviews h2 { margin-top: clamp(2.4rem, 2.75vw, 3.25rem); }
.quote-mark { margin-top: clamp(3rem, 4vw, 4rem); font-family: var(--font-display); font-style: italic; font-size: 3.4rem; line-height: .6; color: var(--brand); }
.reviews__big { margin-top: 1.4rem; max-width: 30rem; font-size: clamp(1.55rem, 2.15vw, 2.05rem); line-height: 1.42; letter-spacing: -.022em; color: var(--ink); }
.who { margin-top: 1.4rem; font-size: .98rem; color: var(--slate); }
.who b { color: var(--ink); font-weight: 650; }
.reviews__cta { margin-top: auto; padding-top: clamp(3.5rem, 6vw, 6rem); }
.reviews__cta p { max-width: 22rem; color: var(--slate); font-size: 1.02rem; }
.reviews__cta .btns { display: flex; flex-wrap: wrap; gap: 1.2rem 2rem; margin-top: 1.5rem; }
.reviews__cta .btn { min-width: 13rem; }
.reviews__list { padding-top: clamp(6rem, 13.5vw, 15rem); }
.reviews__head { display: flex; justify-content: space-between; padding-bottom: 1.2rem; border-bottom: 1px solid var(--hairline); font-size: .75rem; font-weight: 620; letter-spacing: .08em; text-transform: uppercase; color: var(--slate); }
.review { padding: 2.6rem 0 2.4rem; border-bottom: 1px solid var(--hairline); }
.review p { font-size: 1.06rem; line-height: 1.7; color: var(--ink-body); }
.review .who { margin-top: 1.1rem; font-size: .92rem; }

/* ---------- 4. TRAVAUX SOMBRE (swell home/05-avant-apres) ---------- */
.on-dark { color: var(--paper); }
.work { position: relative; isolation: isolate; overflow: hidden; background: var(--ink-deep); padding: clamp(6.75rem, 7.25vw, 8.25rem) 0 clamp(4.25rem, 5vw, 5.75rem); }
.motif { position: absolute; inset: 0; z-index: -1; width: 100%; height: 100%; color: var(--brand); pointer-events: none; }
.work .motif { -webkit-mask-image: linear-gradient(180deg, #000 0%, rgb(0 0 0 / .5) 22%, transparent 42%); mask-image: linear-gradient(180deg, #000 0%, rgb(0 0 0 / .5) 22%, transparent 42%); opacity: .55; }
.work__head { display: grid; grid-template-columns: minmax(0, 2.55fr) minmax(24rem, 1fr); align-items: end; gap: clamp(3rem, 6vw, 8rem); margin-bottom: clamp(1.9rem, 2.5vw, 2.9rem); }
.work h2 { margin-top: clamp(1rem, 1.4vw, 1.5rem); }
.work__intro { max-width: 31rem; padding-bottom: .35rem; font-size: clamp(1rem, 1.15vw, 1.3rem); line-height: 1.65; color: #a8aca6; }
.work__radio { position: absolute; opacity: 0; pointer-events: none; }
.work__grid > * { min-width: 0; }
.work__grid { display: grid; grid-template-columns: minmax(0, 2.62fr) minmax(21rem, 1fr); gap: clamp(2rem, 2.25vw, 2.75rem); align-items: stretch; }
.work__stage { position: relative; aspect-ratio: 2.1 / 1; border-radius: 2px; overflow: hidden; background: #1d2622; }
.slide { position: absolute; inset: 0; opacity: 0; transition: opacity .24s var(--ease-out); }
.slide img { width: 100%; height: 100%; object-fit: cover; }
.slide__tag { position: absolute; top: clamp(.8rem, 1.1vw, 1.15rem); left: clamp(.8rem, 1.1vw, 1.15rem); padding: .42rem .7rem; border-radius: 2px; background: rgb(14 22 19 / .82); font-family: var(--font-mono); font-size: .66rem; letter-spacing: .14em; text-transform: uppercase; }
.work__captions { position: relative; margin-top: clamp(.8rem, 1vw, 1.1rem); min-height: 1.2rem; font-family: var(--font-mono); font-size: .74rem; letter-spacing: .025em; color: #868a85; }
.work__captions p { position: absolute; inset: 0; display: flex; justify-content: space-between; gap: 1rem; opacity: 0; }
.thumbs { display: grid; grid-template-columns: repeat(var(--n, 5), minmax(0, 1fr)); gap: .75rem; margin-top: clamp(1.4rem, 1.8vw, 2rem); }
.thumb { position: relative; display: flex; align-items: flex-end; min-height: 70px; padding: .7rem .75rem; overflow: hidden; border: 1px solid #222c28; border-radius: 2px; background: #121a17; cursor: pointer; transition: border-color var(--dur) var(--ease-out); }
.thumb img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; opacity: .22; transition: opacity var(--dur) var(--ease-out); }
.thumb:hover img { opacity: .45; }
.thumb__label { position: relative; display: grid; gap: .25rem; }
.thumb__index { font-family: var(--font-mono); font-size: .64rem; letter-spacing: .1em; text-transform: uppercase; color: #9aa09a; }
.thumb__type { font-size: .95rem; font-weight: 650; }
.thumb__state { position: absolute; top: .45rem; right: .45rem; display: none; padding: .2rem .42rem; border-radius: 2px; background: var(--brand-bright); color: var(--ink-deep); font-family: var(--font-mono); font-size: .56rem; letter-spacing: .1em; text-transform: uppercase; }
#w1:checked ~ .work__grid .s1, #w2:checked ~ .work__grid .s2, #w3:checked ~ .work__grid .s3, #w4:checked ~ .work__grid .s4, #w5:checked ~ .work__grid .s5, #w6:checked ~ .work__grid .s6 { opacity: 1; }
#w1:checked ~ .work__grid .t1, #w2:checked ~ .work__grid .t2, #w3:checked ~ .work__grid .t3, #w4:checked ~ .work__grid .t4, #w5:checked ~ .work__grid .t5, #w6:checked ~ .work__grid .t6 { border-color: var(--brand-bright); }
#w1:checked ~ .work__grid .t1 .thumb__state, #w2:checked ~ .work__grid .t2 .thumb__state, #w3:checked ~ .work__grid .t3 .thumb__state, #w4:checked ~ .work__grid .t4 .thumb__state, #w5:checked ~ .work__grid .t5 .thumb__state, #w6:checked ~ .work__grid .t6 .thumb__state { display: block; }
#w1:checked ~ .work__grid .t1 img, #w2:checked ~ .work__grid .t2 img, #w3:checked ~ .work__grid .t3 img, #w4:checked ~ .work__grid .t4 img, #w5:checked ~ .work__grid .t5 img, #w6:checked ~ .work__grid .t6 img { opacity: .5; }
.work__radio:focus-visible + .work__radio, .work__radio:focus-visible { outline: none; }
.panel { display: flex; flex-direction: column; height: 100%; padding: clamp(1.65rem, 1.85vw, 2.2rem); border: 1px solid var(--rule-dark); border-radius: 2px; background: rgb(20 29 25 / .68); }
.panel__title { font-family: var(--font-mono); font-size: clamp(.72rem, .85vw, .9rem); line-height: 1.45; letter-spacing: .08em; text-transform: uppercase; color: var(--brand-bright); }
.panel dl { margin-top: clamp(1.1rem, 1.4vw, 1.6rem); border-top: 1px solid var(--rule-dark); }
.panel dl div { padding-block: clamp(.8rem, 1vw, 1.15rem); border-bottom: 1px solid var(--rule-dark); }
.panel dt { font-family: var(--font-mono); font-size: .66rem; letter-spacing: .14em; text-transform: uppercase; color: #8b918b; }
.panel dd { margin-top: .4rem; font-size: 1.02rem; font-weight: 640; line-height: 1.35; }
.panel__link { display: inline-flex; align-items: center; gap: .7rem; width: max-content; min-height: 48px; margin-top: auto; padding-top: 2rem; border-bottom: 2px solid var(--brand-bright); font-size: clamp(.95rem, 1vw, 1.1rem); font-weight: 680; }
.panel__link span { font-size: 1.3em; }

/* ---------- 5. SERVICES (swell home/08-services) ---------- */
.services { background: var(--paper); padding: clamp(6rem, 7.55vw, 9rem) 0 clamp(6.5rem, 5.85vw, 7rem); }
.sec-head { display: grid; grid-template-columns: minmax(0, 1fr) minmax(25rem, 31.5rem); align-items: end; gap: clamp(3rem, 5vw, 6rem); }
.sec-head h2 { margin-top: clamp(2.4rem, 2.75vw, 3.25rem); }
.sec-head__side { padding-bottom: .4rem; }
.sec-head__side p { max-width: 31.5rem; font-size: clamp(1.05rem, 1.08vw, 1.25rem); line-height: 1.7; color: var(--slate); }
.sec-head__side .link-arrow { margin-top: 1.5rem; }
.gateways { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(1.5rem, 2vw, 2.5rem); margin-top: clamp(4.5rem, 4.3vw, 5.2rem); }
.gateway { display: flex; flex-direction: column; min-width: 0; overflow: hidden; border: 1px solid var(--hairline); border-radius: 2px; background: var(--white); }
.gateway__top { display: block; padding: 2.5rem 2.5rem 0; }
.gateway__top img { width: 100%; aspect-ratio: 1.985 / 1; object-fit: cover; outline: 1px solid rgb(0 0 0 / .1); outline-offset: -1px; }
.gateway__body { display: flex; justify-content: space-between; align-items: flex-start; gap: 2rem; min-height: 12.55rem; padding-block: 2.35rem 2rem; }
.gateway h3 { text-transform: uppercase; }
.gateway__copy { max-width: 44rem; margin-top: 1.25rem; font-size: clamp(1rem, 1.02vw, 1.18rem); line-height: 1.62; color: var(--slate); }
.gateway__arrow { display: inline-flex; flex: none; align-items: center; justify-content: center; width: 3.15rem; height: 3.15rem; border: 1px solid var(--ink); font-size: 1.45rem; line-height: 1; transition: background-color var(--dur) var(--ease-out), color var(--dur) var(--ease-out), transform var(--dur) var(--ease-out); }
.gateway__top:hover .gateway__arrow { background: var(--ink-deep); color: var(--white); transform: translateX(.15rem); }
.gateway ul { display: grid; flex: 1; grid-template-columns: 1fr 1fr; }
.svc { position: relative; display: flex; flex-direction: column; min-height: 10.5rem; padding: 2rem 2.2rem 1.8rem; border-top: 1px solid var(--hairline); transition: background-color var(--dur) var(--ease-out); }
.svc:nth-child(2n+1) { border-right: 1px solid var(--hairline); }
.svc:hover { background: var(--paper-sunken); }
.svc h4 { min-height: 2lh; padding-right: 2rem; }
.svc p { margin-top: .75rem; font-size: clamp(.94rem, .92vw, 1.08rem); line-height: 1.58; color: var(--slate); }
.svc__arrow { position: absolute; top: 2rem; right: 2.2rem; color: var(--slate-soft); font-size: 1.05rem; transition: color var(--dur) var(--ease-out), transform var(--dur) var(--ease-out); }
.svc:hover .svc__arrow { color: var(--brand-text); transform: translateX(.25rem); }
.services__note { margin-top: 2.6rem; color: var(--slate); font-size: 1rem; }
.services__note a { color: var(--brand-text); font-weight: 600; text-decoration: underline; text-underline-offset: .2em; text-decoration-color: rgb(from var(--brand) r g b / .5); }

/* ---------- 6. POURQUOI (swell home/09-confiance) ---------- */
.why { overflow: clip; background: var(--white); padding: clamp(6.75rem, 7.2vw, 8.75rem) 0 clamp(6.25rem, 6.5vw, 7.5rem); }
.why__grid { display: grid; grid-template-columns: minmax(0, min(52rem, 56%)) minmax(0, 1fr); gap: clamp(4rem, 4.4vw, 5.3rem); width: calc(100% - clamp(2.5rem, 4vw, 4.75rem)); margin-left: clamp(2.5rem, 4vw, 4.75rem); }
.why h2 { margin-top: 2.5rem; }
.why__cards { display: grid; grid-template-columns: 1fr 1fr; margin-top: clamp(2.75rem, 3.2vw, 4rem); border-bottom: 1px solid var(--hairline); }
.why-card { padding: 2.1rem 2rem 2.2rem 0; border-top: 1px solid var(--hairline); }
.why-card:nth-child(2n) { padding-left: 2rem; border-left: 1px solid var(--hairline); }
.why-card__n { font-family: var(--font-mono); font-size: .72rem; letter-spacing: .04em; color: var(--brand-text); }
.why-card h3 { margin-top: .75rem; font-size: var(--text-h4); line-height: 1.22; }
.why-card p { margin-top: .9rem; max-width: 22rem; color: var(--slate); font-size: 1.02rem; line-height: 1.6; }
.why figure { position: relative; min-height: 34rem; }
.why figure img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: center 60%; }
.why figcaption { position: absolute; bottom: 1.5rem; left: 1.5rem; display: flex; align-items: center; gap: .3rem; min-height: 3.1rem; padding: .7rem 1.35rem; background: rgb(14 22 19 / .95); color: var(--white); font-size: .9rem; font-weight: 620; line-height: 1.2; }

/* ---------- 7. ETAPES (swell contact/03-devis) ---------- */
.steps { background: var(--paper); padding: clamp(5rem, 8vw, 8rem) 0; }
.steps__list { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); margin-top: clamp(3rem, 4vw, 4.5rem); border-top: 1px solid var(--hairline); border-bottom: 1px solid var(--hairline); }
.step { padding: 2.2rem 2.4rem 2.8rem; }
.step:first-child { padding-left: 0; }
.step + .step { border-left: 1px solid var(--hairline); }
.step__n { font-family: var(--font-mono); font-size: .74rem; color: var(--brand-text); }
.step h3 { margin-top: .9rem; font-size: var(--text-h4); }
.step p { margin-top: 1rem; max-width: 22rem; color: var(--slate); font-size: 1rem; line-height: 1.6; }

/* ---------- 8. ZONE (swell home/10-services) ---------- */
.area { overflow: clip; background: var(--paper-sunken); padding: 9rem 0 7.65rem; }
.area h2 { margin-top: 2.2rem; max-width: 22ch; }
.area__grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr) minmax(0, 1.05fr); gap: clamp(2rem, 3.9vw, 3.5rem); margin-top: clamp(3.5rem, 6vw, 6rem); align-items: start; }
.area__col h3 { font-size: clamp(1.5rem, 2vw, 1.95rem); text-transform: uppercase; letter-spacing: -.01em; }
.area__tel { display: inline-block; margin-top: 1.4rem; font-family: var(--font-mono); font-size: clamp(1.1rem, 1.45vw, 1.4rem); color: var(--brand-text); }
.area__col p { margin-top: 1.8rem; font-size: 1.02rem; line-height: 1.95; color: var(--slate); }
.area__link { display: flex; justify-content: space-between; align-items: center; margin-top: 1.7rem; padding-top: 1.4rem; border-top: 1px solid #dcd9d2; font-weight: 650; }
.area__link span { color: var(--brand-text); font-size: 1.4rem; line-height: 1; transition: transform var(--dur) var(--ease-out); }
.area__link:hover span { transform: translateX(.3rem); }
.locator { position: relative; display: flex; flex-direction: column; justify-content: space-between; min-height: 25rem; padding: 1.8rem; overflow: hidden; border: 1px solid #e0ddd6; background: var(--paper); box-shadow: 0 1px 2px rgb(0 0 0 / .04); }
.locator__grid { position: absolute; inset: 0; z-index: 0; width: 100%; height: 100%; color: var(--brand); opacity: .16; }
.locator__pin { position: absolute; left: 50%; top: 46%; z-index: 1; width: 1.1rem; height: 1.1rem; margin: -.55rem 0 0 -.55rem; border-radius: 50%; background: var(--brand-deep); box-shadow: 0 0 0 .55rem rgb(from var(--brand) r g b / .22), 0 0 0 1.4rem rgb(from var(--brand) r g b / .1); }
.locator__top, .locator__bottom { position: relative; z-index: 1; }
.locator__top { font-family: var(--font-mono); font-size: .72rem; letter-spacing: .1em; text-transform: uppercase; color: var(--slate); }
.locator__bottom strong { display: block; font-family: var(--font-display); font-size: 1.5rem; font-weight: 500; }
.locator__bottom span { display: block; margin-top: .35rem; color: var(--slate); font-size: .95rem; }
.locator__bottom a { display: inline-flex; gap: .5rem; margin-top: 1.1rem; color: var(--brand-text); font-weight: 650; border-bottom: 2px solid var(--brand); padding-bottom: .3rem; }

/* ---------- 9. FAQ (swell home/11-confiance) ---------- */
.faq { background: var(--white); padding: clamp(5rem, 7.5vw, 7.5rem) 0; }
.faq .sec-head { gap: clamp(4rem, 9vw, 11rem); }
.faq__list { margin-top: clamp(2.75rem, 4vw, 4rem); border-top: 1px solid var(--hairline); }
.faq details { border-bottom: 1px solid var(--hairline); }
.faq summary { display: grid; grid-template-columns: 3rem minmax(0, 1fr) 3rem; align-items: center; gap: 1.25rem; min-height: 5.5rem; padding: 1.25rem .25rem; cursor: pointer; list-style: none; }
.faq summary::-webkit-details-marker { display: none; }
.faq__n { font-family: var(--font-mono); font-size: .68rem; letter-spacing: .08em; color: var(--slate); }
.faq summary h3 { max-width: 52ch; font-size: clamp(1.35rem, 1.95vw, 1.95rem); }
.faq__icon { display: flex; justify-self: end; align-items: center; justify-content: center; width: 2.5rem; height: 2.5rem; border: 1px solid var(--hairline); border-radius: 50%; background: var(--paper); color: var(--brand-text); font-size: 1.35rem; line-height: 1; transition: transform var(--dur) var(--ease-out), background-color var(--dur) var(--ease-out); }
.faq details[open] .faq__icon { transform: rotate(45deg); background: var(--brand); border-color: var(--brand); color: var(--white); }
.faq__a { display: grid; grid-template-columns: 3rem minmax(0, 1fr) 3rem; gap: 1.25rem; padding: 0 .25rem 2rem; }
.faq__a p { grid-column: 2; max-width: 46rem; color: var(--ink-body); font-size: 1.05rem; line-height: 1.7; }

/* ---------- 10. DEVIS SOMBRE (swell home/12-contact + formulaire contact/01-hero) ---------- */
.closing { position: relative; isolation: isolate; overflow: clip; background: var(--ink-deep); padding: clamp(6rem, 8vw, 8.5rem) 0; }
.closing .motif { opacity: .42; -webkit-mask-image: radial-gradient(ellipse 60% 70% at 30% 50%, transparent 0%, rgb(0 0 0 / .35) 45%, #000 100%); mask-image: radial-gradient(ellipse 60% 70% at 30% 50%, transparent 0%, rgb(0 0 0 / .35) 45%, #000 100%); }
.closing__grid { display: grid; grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr); gap: clamp(3rem, 7vw, 8rem); align-items: start; }
.closing h2 { margin-top: 2.2rem; max-width: 14ch; }
.closing__lead { margin-top: clamp(2rem, 2.6vw, 2.8rem); max-width: 32rem; font-size: clamp(1.1rem, 1.15vw, 1.3rem); line-height: 1.55; color: rgb(247 243 233 / .7); }
.direct { margin-top: clamp(2.5rem, 3.5vw, 3.5rem); border-top: 1px solid var(--rule-dark); }
.direct div { display: grid; grid-template-columns: 8rem minmax(0, 1fr); gap: 1rem; align-items: baseline; padding-block: 1.1rem; border-bottom: 1px solid var(--rule-dark); }
.direct dt { font-family: var(--font-mono); font-size: .66rem; letter-spacing: .14em; text-transform: uppercase; color: #8b918b; }
.direct dd { font-size: 1.05rem; font-weight: 560; overflow-wrap: anywhere; }
.direct dd a { border-bottom: 1px solid rgb(from var(--brand-bright) r g b / .6); }
.direct dd.big { font-size: clamp(1.4rem, 2vw, 1.85rem); font-weight: 600; letter-spacing: -.01em; }
.quote-form { display: grid; grid-template-columns: 1fr 1fr; gap: 1.5rem 1.25rem; padding: clamp(1.5rem, 3.2vw, 3.25rem); border: 1px solid var(--hairline); background: var(--white); color: var(--ink); box-shadow: 0 24px 60px rgb(0 0 0 / .28); }
.quote-form__title { grid-column: 1 / -1; display: flex; justify-content: space-between; align-items: baseline; gap: 1rem; padding-bottom: 1.2rem; border-bottom: 1px solid var(--hairline); }
.quote-form__title strong { font-family: var(--font-display); font-size: clamp(1.45rem, 1.8vw, 1.75rem); font-weight: 500; }
.quote-form__title span { font-size: .8rem; color: var(--slate); }
.field { display: grid; gap: .5rem; }
.field--wide, .quote-form fieldset { grid-column: 1 / -1; }
.label { font-size: .72rem; font-weight: 680; letter-spacing: .1em; text-transform: uppercase; color: #3d4446; }
.label i { font-style: normal; color: var(--brand-text); }
.label em { font-style: normal; font-weight: 520; letter-spacing: 0; text-transform: none; color: var(--slate); }
.input { width: 100%; min-height: 3.5rem; padding: .85rem 1rem; border: 1px solid #d9d6cf; border-radius: 2px; background: var(--white); color: var(--ink); font: 400 1rem/1.4 var(--font-sans); transition: border-color var(--dur) var(--ease-out), box-shadow var(--dur) var(--ease-out); }
.input::placeholder { color: #9aa0a1; }
.input:focus { outline: none; border-color: var(--brand); box-shadow: 0 0 0 3px rgb(from var(--brand) r g b / .18); }
textarea.input { min-height: 8rem; resize: vertical; }
select.input { appearance: none; background-image: linear-gradient(45deg, transparent 50%, var(--ink) 50%), linear-gradient(135deg, var(--ink) 50%, transparent 50%); background-position: calc(100% - 1.3rem) 50%, calc(100% - .95rem) 50%; background-size: .35rem .35rem; background-repeat: no-repeat; padding-right: 2.5rem; }
.quote-form fieldset { display: grid; gap: .75rem; margin: 0; padding: 0; border: 0; }
.quote-form legend { margin-bottom: .75rem; padding: 0; }
.options { display: grid; grid-template-columns: 1fr 1fr; gap: .75rem; }
.option { display: flex; align-items: center; gap: .75rem; min-height: 3.5rem; padding: 0 1rem; border: 1px solid var(--hairline); border-radius: 2px; background: var(--paper); font-weight: 620; cursor: pointer; transition: border-color var(--dur) var(--ease-out), background-color var(--dur) var(--ease-out); }
.option input { width: 1rem; height: 1rem; accent-color: var(--brand-deep); }
.option:hover, .option:has(:checked) { border-color: var(--brand); }
.option:has(:checked) { background: rgb(from var(--brand) r g b / .1); }
.quote-form__foot { grid-column: 1 / -1; display: flex; justify-content: space-between; align-items: center; gap: 2rem; padding-top: 1.5rem; border-top: 1px solid var(--hairline); }
.quote-form__foot p { max-width: 21rem; font-size: .8rem; line-height: 1.5; color: var(--slate); }
.quote-form__foot .btn { min-width: 12rem; min-height: 56px; background: var(--ink); color: var(--paper); }
.quote-form__foot .btn:hover { background: var(--brand-deep); }

/* ---------- 11. PIED (swell home/13-footer) ---------- */
.footer { background: var(--ink-deep); color: var(--paper); padding: 8.35rem 0 3.8rem; border-top: 1px solid #1c2622; }
.footer__top { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 4rem; }
.flogo { display: inline-grid; justify-items: start; gap: .5rem; }
.flogo__name { font-family: var(--font-display); font-style: italic; font-weight: 800; font-size: clamp(2.6rem, 4.2vw, 3.6rem); line-height: .9; letter-spacing: -.015em; color: var(--cream); font-variation-settings: "opsz" 72; }
.flogo__sub { padding-left: .2rem; font-size: .8rem; font-weight: 700; letter-spacing: .42em; text-transform: uppercase; color: var(--brand-bright); }
.footer__addr { margin-top: 2.6rem; max-width: 26rem; color: #9ba19c; font-size: 1rem; line-height: 1.55; }
.footer__phones { display: flex; flex-wrap: wrap; gap: 1.2rem 4rem; margin-top: 1.8rem; }
.footer__phones small { display: block; font-size: .68rem; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; color: #9ba19c; }
.footer__phones a { display: block; margin-top: .5rem; font-size: clamp(1.5rem, 2vw, 1.9rem); font-weight: 600; letter-spacing: -.01em; }
.footer__mail { display: inline-block; margin-top: 1.6rem; border-bottom: 1px solid var(--brand-bright); font-size: 1.05rem; }
.footer__nav { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1.6rem 2rem; align-content: start; padding-top: 2.6rem; font-size: 1.08rem; font-weight: 600; }
.footer__nav a:hover { color: var(--brand-bright); }
.footer__bottom { display: flex; justify-content: space-between; align-items: center; gap: 2rem; margin-top: 4.6rem; padding-top: 3.2rem; border-top: 1px solid var(--rule-dark); }
.footer__legal { display: grid; gap: .9rem; font-family: var(--font-mono); font-size: .74rem; letter-spacing: .02em; color: #8b918b; }
.footer__marks { display: flex; align-items: center; gap: 1rem; }
.footer__marks > span { font-size: .7rem; font-weight: 700; letter-spacing: .16em; text-transform: uppercase; color: #8b918b; }

/* ---------- RESPONSIVE ---------- */
@media (width <= 1180px) {
  .about__grid { grid-template-columns: minmax(0, 1.05fr) minmax(20rem, .82fr); gap: clamp(3.5rem, 7vw, 5rem); }
  .work__grid { grid-template-columns: minmax(0, 1fr); }
  .work__grid > * { min-width: 0; }
  .sec-head { grid-template-columns: 1fr; gap: 2rem; }
  .gateway ul { grid-template-columns: 1fr; }
  .svc:nth-child(2n+1) { border-right: 0; }
  .area__grid { grid-template-columns: 1fr 1fr; }
  .locator { grid-column: 1 / -1; min-height: 18rem; }
  .closing__grid { grid-template-columns: 1fr; }
  .trust__facts { grid-template-columns: repeat(2, auto); gap: .4rem 2.5rem; }
}
@media (width <= 900px) {
  .nav { display: none; }
  .hero__bar { justify-content: flex-end; }
  .about__grid, .reviews__grid, .why__grid, .work__head { grid-template-columns: 1fr; }
  .about__grid { width: calc(100% - 2.5rem); gap: 3.5rem; }
  .reviews__list { padding-top: 0; }
  .reviews__cta { order: 3; }
  .why__grid { width: calc(100% - var(--gutter) * 2); margin-inline: auto; gap: 3.5rem; }
  .why figure { min-height: 26rem; }
  .gateways { grid-template-columns: 1fr; }
  .gateway ul { grid-template-columns: 1fr 1fr; }
  .svc:nth-child(2n+1) { border-right: 1px solid var(--hairline); }
  .steps__list { grid-template-columns: 1fr; }
  .step, .step:first-child { padding: 1.8rem 0 2rem; }
  .step + .step { border-left: 0; border-top: 1px solid var(--hairline); }
  .area { padding: 5.5rem 0; }
  .footer__top { grid-template-columns: 1fr; }
  .footer__nav { padding-top: 0; }
  .footer__bottom { flex-direction: column; align-items: flex-start; }
  .trust__in { grid-template-columns: 1fr; gap: .8rem; }
}
@media (width <= 640px) {
  body { font-size: 1rem; }
  .hero { min-height: auto; }
  .wordmark__text { flex-direction: column; align-items: flex-start; font-size: var(--wm-size-m, 19vw); line-height: .84; }
  .wordmark__text span + span { padding-left: 14vw; }
  .hero__bar { min-height: 0; padding-top: 1.1rem; justify-content: space-between; }
  .hero__actions .pill { min-height: 44px; padding-inline: 1.1rem; }
  .hero__call { font-size: 1rem; }
  .hero__body { padding-top: clamp(7rem, 30vh, 12rem); padding-bottom: 2.2rem; }
  .hero__ctas { flex-direction: column; }
  .hero__ctas .btn { width: 100%; min-width: 0; }
  .trust__facts { grid-template-columns: 1fr 1fr; gap: .55rem 1rem; }
  .trust__facts li { flex-direction: column; gap: .1rem; white-space: normal; }
  .marks { flex-wrap: wrap; gap: .5rem; }
  .mark { min-height: 40px; padding: .3rem .6rem; }
  .mark b { font-size: .95rem; }
  .about { padding: 4.75rem 0; }
  .about__ctas { flex-direction: column; align-items: stretch; gap: .75rem; }
  .about__ctas .btn { min-height: 60px; width: 100%; }
  .about__ctas .link-arrow { width: 100%; justify-content: center; border: 2px solid var(--brand-text); min-height: 56px; }
  .about figcaption { flex-direction: column; gap: .4rem; padding-top: 1rem; }
  .figcap__tag { text-align: left; }
  .reviews__cta .btns { flex-direction: column; gap: .75rem; }
  .reviews__cta .btn { width: 100%; }
  .work { padding: 4.75rem 0 4rem; }
  .work__stage { aspect-ratio: 1.4 / 1; }
  .thumbs { grid-template-columns: repeat(var(--n, 5), minmax(4.5rem, 1fr)); overflow-x: auto; padding-bottom: .4rem; }
  .thumb { min-height: 64px; }
  .thumb__type { font-size: .8rem; }
  .gateway__top { padding: 1rem 1rem 0; }
  .gateway__top img { aspect-ratio: 4 / 3; }
  .gateway__body { min-height: 0; gap: 1rem; padding-block: 1.6rem 1.5rem; }
  .gateway__body h3 { font-size: 1.45rem; }
  .gateway__arrow { width: 2.85rem; height: 2.85rem; }
  .gateway__copy { margin-top: .75rem; font-size: .94rem; }
  .gateway ul { grid-template-columns: 1fr; }
  .svc { min-height: 0; padding: 1.6rem 1.5rem 1.5rem; }
  .svc:nth-child(2n+1) { border-right: 0; }
  .svc h4 { min-height: 0; }
  .svc__arrow { top: 1.6rem; right: 1.5rem; }
  .why__cards { grid-template-columns: 1fr; }
  .why-card, .why-card:nth-child(2n) { padding: 1.7rem 0 1.8rem; border-left: 0; }
  .why figcaption { right: .75rem; bottom: .75rem; left: .75rem; justify-content: center; }
  .area__grid { grid-template-columns: 1fr; }
  .locator { min-height: 20rem; }
  .locator__pin { top: 40%; left: 70%; }
  .faq summary, .faq__a { grid-template-columns: 2rem minmax(0, 1fr) 2.75rem; gap: .75rem; }
  .faq summary h3 { font-size: 1.22rem; }
  .closing { padding: 4.75rem 0; }
  .direct div { grid-template-columns: 1fr; gap: .3rem; }
  .quote-form { grid-template-columns: 1fr; padding: 1.4rem; }
  .options { grid-template-columns: 1fr; }
  .quote-form__foot { flex-direction: column; align-items: stretch; gap: 1.2rem; }
  .quote-form__foot .btn { width: 100%; }
  .footer { padding: 5rem 0 3rem; }
  .footer__nav { grid-template-columns: 1fr 1fr; }
  .footer__marks { flex-wrap: wrap; }
}

/* ================= Lot DA-swell-plus : sections et mouvements repris du vrai site swell =================
   Valeurs relevees sur swellroofing.com (CSS SiteHeader / HomePage, 2026-12-04) : --duration-reveal .76s,
   --duration-page-enter .78s, --ease-reveal cubic-bezier(.16,1,.3,1), --ease-out cubic-bezier(.23,1,.32,1), --duration-slow .24s.
   Etat cache pose UNIQUEMENT sous html.reveal-ready (classe ajoutee en JS) : sans JS, tout est visible. */
:root { --ease-reveal: cubic-bezier(.16, 1, .3, 1); --dur-reveal: .76s; --dur-slow: .24s; }
section[id] { scroll-margin-top: 5.5rem; }

/* apparitions au defilement (swell : [data-reveal-group] > items, translate 0 20px, scale .985 pour les visuels) */
.reveal-ready [data-reveal]:not(.is-done) > :not(:has([data-reveal])) { transition: opacity var(--dur-reveal) var(--ease-reveal), translate var(--dur-reveal) var(--ease-reveal), scale var(--dur-reveal) var(--ease-reveal); transition-delay: calc(var(--ri, 0) * 90ms); }
.reveal-ready [data-reveal]:not(.is-in) > :not(:has([data-reveal])) { opacity: 0; translate: 0 20px; }
.reveal-ready [data-reveal]:not(.is-in) > [data-reveal-visual] { scale: .985; }

/* entree du hero au chargement (swell : page-enter-reveal, delai 90 ms + rang x 105 ms) ; photo : leger recul d'echelle */
.reveal-ready [data-pe] { animation: pe-reveal .78s var(--ease-reveal) both; animation-delay: calc(90ms + var(--pe, 0) * 105ms); }
.reveal-ready .hero__media img { animation: pe-visual 1.5s var(--ease-reveal) both; }
@keyframes pe-reveal { from { opacity: 0; translate: 0 16px; } }
@keyframes pe-visual { from { opacity: .35; scale: 1.06; } }

/* en-tete flottant (swell : home-floating-header, vitre sombre, descend en .24s, se cache vers le haut) */
.fhead { position: fixed; top: 0; left: 0; right: 0; z-index: 40; padding: clamp(.5rem, 1.35vw, 1rem) var(--gutter) 0; pointer-events: none; transition: transform var(--dur-slow) var(--ease-out), opacity var(--dur) var(--ease-out), visibility 0s; }
.fhead[data-off] { opacity: 0; visibility: hidden; transform: translateY(calc(-100% - 1rem)); transition-delay: 0s, 0s, var(--dur-slow); }
.fhead__bar { display: flex; align-items: center; justify-content: space-between; gap: 2rem; max-width: 110.5rem; min-height: 4.25rem; margin-inline: auto; padding: .45rem .5rem .45rem 1.4rem; border-radius: 6px; background: linear-gradient(135deg, rgb(from var(--brand-deep) r g b / .9) 0%, rgb(from var(--ink-deep) r g b / .86) 58%, rgb(from var(--brand-deep) r g b / .88) 100%); box-shadow: 0 1px 0 rgb(255 255 255 / .14) inset, 0 2px 8px rgb(4 23 25 / .12), 0 16px 40px rgb(4 23 25 / .16); color: var(--paper); pointer-events: auto; }
.fhead__name { font-family: var(--font-display); font-style: italic; font-weight: 800; font-size: 1.55rem; line-height: 1; letter-spacing: -.01em; color: var(--cream); white-space: nowrap; }
.fhead__nav { display: flex; gap: clamp(1rem, 2vw, 2.2rem); font-size: .9rem; font-weight: 560; }
.fhead__nav a { display: inline-flex; align-items: center; min-height: 44px; transition: opacity var(--dur) var(--ease-out); }
.fhead__nav a:hover { opacity: .7; }
.fhead__actions { display: flex; align-items: center; gap: .5rem; }
.fhead__cta { display: inline-flex; align-items: center; gap: .6rem; min-height: 48px; padding: 0 .55rem 0 1.2rem; border-radius: 4px; font-size: .9rem; font-weight: 680; transition: transform .14s var(--ease-out); }
.fhead__cta span { display: grid; place-items: center; width: 1.5rem; height: 1.5rem; border-radius: 999px; background: rgb(16 22 25 / .12); font-size: .82rem; transition: transform var(--dur) var(--ease-out), background-color var(--dur) var(--ease-out); }
.fhead__cta:hover span { transform: translate(.1rem, -.1rem); background: rgb(16 22 25 / .2); }
.fhead__cta:active, .fhead__call:active { transform: scale(.96); }
.fhead__call { display: grid; align-content: center; min-height: 48px; padding: 0 1rem; border: 1px solid rgb(255 255 255 / .22); border-radius: 4px; font-size: .92rem; font-weight: 650; line-height: 1.15; white-space: nowrap; transition: border-color var(--dur) var(--ease-out), transform .14s var(--ease-out); }
.fhead__call small { font-size: .62rem; font-weight: 500; letter-spacing: .1em; text-transform: uppercase; color: var(--brand-bright); }
.fhead__call:hover { border-color: var(--brand-bright); }

/* boutons : remplissage vertical au survol (swell : .cta-fill:before scaleY 0 -> 1, .24s) */
.btn { position: relative; isolation: isolate; overflow: hidden; }
.btn::before { content: ""; position: absolute; inset: 0; z-index: -1; background: var(--fill, var(--paper)); transform: scaleY(0); transform-origin: 50%; transition: transform var(--dur-slow) var(--ease-out); pointer-events: none; }
.btn:hover::before { transform: scaleY(1); }
.btn--accent { --fill: var(--paper); }
.btn--accent:hover { background: linear-gradient(135deg, var(--accent-a), var(--accent-b)); color: var(--ink); }
.btn--ghost-light { --fill: var(--paper); }
.btn--ghost-light:hover { background: transparent; }
.btn--line { --fill: var(--ink); }
.btn--line:hover { background: transparent; }
.btn--ink { --fill: var(--brand-deep); }
.btn--ink:hover { background: var(--ink); }
.quote-form__foot .btn { --fill: var(--brand-deep); }

/* travaux sombres : vignettes et changement de photo (swell : ba-thumb scale 1.035 ; project-entering translateY .5rem) */
.thumb img { transition: opacity var(--dur) var(--ease-out), transform var(--dur-slow) var(--ease-out); }
.thumb:hover img { transform: scale(1.035); }
.thumb:active { transform: scale(.96); }
.thumb { transition: border-color var(--dur) var(--ease-out), transform .14s var(--ease-out); }
.slide { transform: scale(1.025); transition: opacity .32s var(--ease-out), transform .9s var(--ease-reveal); }
#w1:checked ~ .work__grid .s1, #w2:checked ~ .work__grid .s2, #w3:checked ~ .work__grid .s3, #w4:checked ~ .work__grid .s4, #w5:checked ~ .work__grid .s5, #w6:checked ~ .work__grid .s6 { transform: none; }
.gateway__top img { transition: transform .6s var(--ease-reveal); }
.gateway__top { overflow: hidden; }
.gateway__top:hover img { transform: scale(1.02); }

/* FAQ : la reponse entre en fondu (swell anime la hauteur en 260 ms ; ici transform + opacity seulement) */
.faq details[open] .faq__a { animation: faq-in .26s var(--ease-out); }
@keyframes faq-in { from { opacity: 0; transform: translateY(-.4rem); } }

/* avant / apres (swell : .ba-compare, clip-path inset a --ba %, balayage d'entree .9s) */
.ba-row { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 30rem), 1fr)); gap: clamp(1.5rem, 2.25vw, 2.75rem); margin-top: clamp(2.5rem, 3.5vw, 4rem); }
.ba-item figcaption { display: flex; justify-content: space-between; gap: 1rem; margin-top: .9rem; font-family: var(--font-mono); font-size: .68rem; letter-spacing: .08em; text-transform: uppercase; color: #a8aca6; }
.ba { --pos: calc(var(--ba) * 1%); position: relative; isolation: isolate; aspect-ratio: 1.75; overflow: hidden; border-radius: 2px; background: #1d2622; user-select: none; }
.ba__img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; pointer-events: none; }
.ba__reveal { position: absolute; inset: 0; clip-path: inset(0 calc(100% - var(--pos)) 0 0); }
.ba__tag { position: absolute; top: clamp(.8rem, 1.1vw, 1.15rem); z-index: 2; padding: .5rem .7rem; border-radius: 2px; background: rgb(16 22 25 / .82); font-family: var(--font-mono); font-size: .66rem; letter-spacing: .14em; text-transform: uppercase; color: var(--paper); }
.ba__tag--before { left: clamp(.8rem, 1.1vw, 1.15rem); opacity: clamp(0, calc((var(--ba) - 8) / 8), 1); }
.ba__tag--after { right: clamp(.8rem, 1.1vw, 1.15rem); opacity: clamp(0, calc((92 - var(--ba)) / 8), 1); }
.ba__control { position: absolute; inset: 0; z-index: 4; width: 100%; height: 100%; margin: 0; padding: 0; opacity: 0; appearance: none; background: none; cursor: ew-resize; touch-action: pan-y; }
.ba__control::-webkit-slider-thumb { appearance: none; width: 3.5rem; height: 3.5rem; }
.ba__control::-moz-range-thumb { width: 3.5rem; height: 3.5rem; border: 0; }
.ba__divider { position: absolute; top: 0; bottom: 0; left: var(--pos); z-index: 3; width: 2px; margin-left: -1px; background: var(--paper); box-shadow: 0 0 0 1px rgb(10 15 17 / .22); pointer-events: none; }
.ba__knob { position: absolute; top: 50%; left: 50%; display: grid; place-items: center; width: clamp(2.6rem, 3.3vw, 3.35rem); aspect-ratio: 1; border-radius: 50%; background: var(--paper); color: var(--ink); box-shadow: 0 2px 16px rgb(10 15 17 / .34); translate: -50% -50%; transition: scale var(--dur) var(--ease-out); }
.ba__hint { position: absolute; top: calc(50% + clamp(2.1rem, 2.6vw, 2.65rem)); left: 50%; translate: -50%; padding: .42rem .6rem; border-radius: 2px; background: rgb(16 22 25 / .82); font-family: var(--font-mono); font-size: .62rem; letter-spacing: .12em; text-transform: uppercase; white-space: nowrap; color: var(--paper); transition: opacity var(--dur) var(--ease-out); }
.ba[data-ba-used] .ba__hint { opacity: 0; }
.ba:hover .ba__knob { scale: 1.07; }
.ba__control:active + .ba__divider .ba__knob { scale: .94; }
.ba__control:focus-visible + .ba__divider .ba__knob { outline: 3px solid var(--brand-bright); outline-offset: 3px; }
.ba[data-ba-intro] .ba__reveal { transition: clip-path .9s var(--ease-out); }
.ba[data-ba-intro] .ba__divider { transition: left .9s var(--ease-out); }

/* ruban 3D (swell : portfolio-ribbon + gallery-ribbon, perspective 600 px, rayon 700 px, 14 panneaux) */
.ribbon { position: relative; isolation: isolate; overflow: clip; background: var(--paper); padding: clamp(4.5rem, 6vw, 7rem) 0 clamp(3rem, 4vw, 4.5rem); }
.ribbon__copy { position: relative; z-index: 10; display: flex; flex-direction: column; align-items: center; width: min(100% - var(--gutter) * 2, 62rem); margin-inline: auto; text-align: center; }
.ribbon__copy h2 { max-width: 18ch; margin-top: clamp(1.5rem, 2vw, 2.1rem); }
.ribbon__intro { max-width: 46rem; margin-top: clamp(1.15rem, 1.5vw, 1.5rem); color: var(--ink-body); font-size: clamp(1rem, 1.1vw, 1.18rem); line-height: 1.6; }
.ribbon__actions { display: flex; flex-wrap: wrap; justify-content: center; gap: .65rem; margin-top: clamp(1.75rem, 2.4vw, 2.4rem); }
.ribbon__actions .btn { min-height: 3.5rem; min-width: 13.5rem; padding-inline: 1.4rem; font-size: .8rem; font-weight: 680; letter-spacing: .04em; text-transform: uppercase; }
.ribbon__stage { position: relative; z-index: 1; height: clamp(19.25rem, 29.8vw, 27rem); margin-top: clamp(-4rem, -4.5vw, -2.75rem); }
.gallery { --panel-width: clamp(12rem, 19.45vw, 17.5rem); --panel-height: calc(var(--panel-width) * 1.1786); --radius: 700px; --perspective: 600px; --rotation: 0deg; position: absolute; inset: 0; overflow: clip; touch-action: pan-y; cursor: grab; user-select: none; }
.gallery[data-dragging] { cursor: grabbing; }
.gallery:focus-visible { outline: 3px solid var(--brand); outline-offset: -.35rem; }
.gallery::before, .gallery::after { content: ""; position: absolute; top: 0; bottom: 0; z-index: 100; width: clamp(1.75rem, 7vw, 6rem); pointer-events: none; }
.gallery::before { left: 0; background: linear-gradient(90deg, var(--paper), transparent); }
.gallery::after { right: 0; background: linear-gradient(270deg, var(--paper), transparent); }
.gallery__camera, .gallery__scene { position: absolute; inset: 0; transform-style: preserve-3d; }
.gallery__scene { margin: 0; padding: 0; transform: perspective(var(--perspective)) rotateY(var(--rotation)); transform-origin: 50% center; will-change: transform; }
.gallery__panel { position: absolute; top: 50%; left: 50%; width: var(--panel-width); height: var(--panel-height); margin-top: calc(var(--panel-height) / -2); margin-left: calc(var(--panel-width) / -2); overflow: hidden; border: 1px solid rgb(255 255 255 / .16); background: var(--ink-panel); box-shadow: 0 1rem 2.5rem rgb(20 24 26 / .12); transform: rotateY(var(--panel-angle)) translateZ(var(--radius)) rotateY(180deg); transform-style: preserve-3d; backface-visibility: hidden; }
.gallery__img { width: 100%; height: 100%; object-fit: cover; pointer-events: none; -webkit-user-drag: none; }
.gallery__drag { position: absolute; top: 50%; left: 50%; z-index: 200; display: flex; justify-content: space-between; align-items: center; width: 8.75rem; height: 2.7rem; padding-inline: 1rem; background: var(--ink); color: var(--paper); font-size: .68rem; line-height: 1; letter-spacing: .08em; text-transform: uppercase; opacity: 0; transform: translate(-50%, -50%) scale(.94); transition: opacity var(--dur) var(--ease-out), transform var(--dur-slow) var(--ease-out); pointer-events: none; }
.gallery__drag span { color: var(--brand-bright); font-size: .9rem; }
.gallery__drag strong { font-weight: 740; }
.gallery[data-dragging] .gallery__drag, .gallery:focus-visible .gallery__drag { opacity: 1; transform: translate(-50%, -50%) scale(1); }
@media (hover: hover) and (pointer: fine) { .gallery:hover .gallery__drag { opacity: 1; transform: translate(-50%, -50%) scale(1); } }

/* guide des couts (swell : cost-guide-promo, deux devis superposes ; ici sans aucun chiffre) */
.cost { overflow: hidden; background: var(--white); padding-block: clamp(6.5rem, 9vw, 10rem); }
.cost__layout { display: grid; grid-template-columns: minmax(0, .95fr) minmax(28rem, 1.05fr); align-items: center; gap: clamp(3.5rem, 7vw, 8rem); }
.cost__content { position: relative; z-index: 2; }
.cost h2 { max-width: 15ch; margin-top: clamp(2.5rem, 3.5vw, 4rem); }
.cost__copy { max-width: 36rem; margin-top: clamp(1.6rem, 2.2vw, 2.4rem); color: var(--slate); font-size: clamp(1rem, 1.05vw, 1.16rem); line-height: 1.68; }
.cost__factors { display: grid; grid-template-columns: 1fr 1fr; margin-top: clamp(2.25rem, 3vw, 3.25rem); border-bottom: 1px solid var(--hairline); }
.cost__factors li { padding: 1.35rem 1.5rem 1.4rem 0; border-top: 1px solid var(--hairline); }
.cost__factors li:nth-child(2n) { padding-left: 1.5rem; border-left: 1px solid var(--hairline); }
.cost__n { font-family: var(--font-mono); font-size: .7rem; letter-spacing: .04em; color: var(--brand-text); }
.cost__factors h3 { margin-top: .45rem; font-size: 1.2rem; line-height: 1.25; }
.cost__factors p { margin-top: .45rem; color: var(--slate); font-size: .95rem; line-height: 1.55; }
.cost__cta { margin-top: clamp(1.8rem, 2.4vw, 2.5rem); }
.cost__visual { position: relative; min-height: 34rem; }
.bid { position: absolute; font-family: var(--font-mono); text-transform: uppercase; letter-spacing: .05em; transition: transform .5s var(--ease-reveal), box-shadow .5s var(--ease-reveal); }
.bid__head { font-size: .64rem; letter-spacing: .1em; opacity: .7; }
.bid--b { top: 0; right: 0; width: min(25rem, 78%); padding: 1.6rem 1.7rem 1.4rem; background: var(--ink-deep); color: var(--paper); box-shadow: 0 24px 60px rgb(16 22 25 / .28); transform: rotate(1.6deg); }
.bid__one { display: flex; justify-content: space-between; align-items: baseline; gap: 1rem; margin-top: 1.4rem; padding-bottom: 1rem; border-bottom: 1px solid rgb(255 255 255 / .16); font-size: .78rem; }
.bid__one b { font-family: var(--font-display); font-size: 1.6rem; font-weight: 600; text-transform: none; letter-spacing: -.01em; color: var(--accent-a); }
.bid__note { margin-top: .9rem; font-size: .62rem; opacity: .6; }
.bid--a { left: 0; bottom: 1.5rem; width: min(27rem, 84%); padding: 1.6rem 1.7rem 1.5rem; background: var(--cream); color: var(--ink); border: 1px solid rgb(20 24 26 / .08); box-shadow: 0 28px 70px rgb(16 22 25 / .2); transform: rotate(-2.2deg); }
.bid--a ul { margin-top: 1.2rem; }
.bid--a li { display: flex; justify-content: space-between; gap: 1rem; padding: .48rem 0; border-bottom: 1px dashed rgb(20 24 26 / .16); font-size: .7rem; }
.bid--a li b { font-weight: 500; color: var(--brand-text); }
.bid__total { display: flex; justify-content: space-between; align-items: baseline; margin-top: 1rem; padding-top: .9rem; border-top: 2px solid var(--ink); font-size: .72rem; }
.bid__total b { font-family: var(--font-display); font-size: 1.5rem; font-weight: 600; text-transform: none; letter-spacing: -.01em; }
.cost__illus { position: absolute; right: 0; bottom: 0; font-family: var(--font-mono); font-size: .6rem; letter-spacing: .1em; text-transform: uppercase; color: var(--slate-soft); }
@media (hover: hover) and (pointer: fine) {
  .cost__visual:hover .bid--a { transform: rotate(-1deg) translateY(-6px); box-shadow: 0 34px 80px rgb(16 22 25 / .24); }
  .cost__visual:hover .bid--b { transform: rotate(2.6deg) translate(6px, -4px); }
}

/* torche sur le motif de la bande devis (swell : closing-pattern__torch, masque radial qui suit la souris) */
.torch { position: absolute; inset: 0; z-index: -1; opacity: 0; pointer-events: none; transition: opacity var(--dur-slow) var(--ease-out); -webkit-mask-image: radial-gradient(circle 15rem at var(--tx, 50%) var(--ty, 50%), #000 0%, rgb(0 0 0 / .62) 40%, rgb(0 0 0 / .16) 68%, transparent 84%); mask-image: radial-gradient(circle 15rem at var(--tx, 50%) var(--ty, 50%), #000 0%, rgb(0 0 0 / .62) 40%, rgb(0 0 0 / .16) 68%, transparent 84%); }
.torch[data-lit] { opacity: 1; }
.closing .torch .motif { z-index: 0; opacity: .9; color: var(--brand-bright); -webkit-mask-image: none; mask-image: none; }

@media (width <= 1180px) {
  .fhead__nav { display: none; }
  .cost__layout { grid-template-columns: minmax(0, 1fr) minmax(24rem, .9fr); gap: 3rem; }
}
@media (width <= 900px) {
  .cost__layout { grid-template-columns: minmax(0, 1fr); }
  .cost__visual { min-height: 30rem; max-width: 34rem; }
}
@media (width <= 640px) {
  .fhead { padding-inline: .5rem; }
  .fhead__bar { gap: .5rem; min-height: 3.5rem; padding: .35rem .35rem .35rem .9rem; }
  .fhead__name { min-width: 0; overflow: hidden; font-size: clamp(.95rem, 4.6vw, 1.2rem); text-overflow: ellipsis; }
  .fhead__cta { min-height: 44px; padding: 0 .75rem; font-size: .76rem; white-space: nowrap; }
  .fhead__cta span { display: none; }
  .fhead__call { min-height: 44px; padding: 0 .7rem; font-size: 0; }
  .fhead__call small { font-size: .7rem; }
  .ribbon { padding-top: 3.5rem; }
  .ribbon__stage { height: 17rem; margin-top: 0; }
  .ribbon__actions { width: min(100%, 22rem); }
  .ribbon__actions .btn { width: 100%; min-width: 0; min-height: 3.25rem; }
  .cost { padding-block: 5rem; }
  .cost h2 { max-width: 17ch; margin-top: 2.25rem; }
  .cost__factors { grid-template-columns: 1fr; }
  .cost__factors li, .cost__factors li:nth-child(2n) { padding: 1.2rem 0; border-left: 0; }
  .cost__cta { width: 100%; min-width: 0; }
  .cost__visual { min-height: 31rem; }
  .bid--b { width: 86%; padding: 1.2rem 1.25rem; }
  .bid--a { width: 92%; padding: 1.2rem 1.25rem; bottom: 1.6rem; }
  .bid--a li { font-size: .62rem; }
  .ba { aspect-ratio: 1.3; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { transition: none !important; animation: none !important; }
  html { scroll-behavior: auto; }
  .gallery__scene { will-change: auto; }
}
