/* =========================================================
   LV4S — Les Vérandas 4 Saisons · Landing page
   Charte : noir / blanc + vert d’eau #0cb397 (oklch 68.58% .1267 175.98)
   Typos : Suisse BP Int’l (titres) · Neue Haas Grotesk Display Pro (texte)
   ========================================================= */

@font-face { font-family: "Suisse BP Intl"; font-weight: 200; font-style: normal; font-display: swap; src: url(/fonts/SuisseBPIntl-Thin.woff2) format("woff2"); }
@font-face { font-family: "Suisse BP Intl"; font-weight: 300; font-style: normal; font-display: swap; src: url(/fonts/SuisseBPIntl-Light.woff2) format("woff2"); }
@font-face { font-family: "Suisse BP Intl"; font-weight: 400; font-style: normal; font-display: swap; src: url(/fonts/SuisseBPIntl-Regular.woff2) format("woff2"); }
@font-face { font-family: "Suisse BP Intl"; font-weight: 500; font-style: normal; font-display: swap; src: url(/fonts/SuisseBPIntl-Medium.woff2) format("woff2"); }
@font-face { font-family: "Neue Haas Display"; font-weight: 400; font-style: normal; font-display: swap; src: url(/fonts/NeueHaasDisplay-Light.woff2) format("woff2"); }
@font-face { font-family: "Neue Haas Display"; font-weight: 500; font-style: normal; font-display: swap; src: url(/fonts/NeueHaasDisplay-Roman.woff2) format("woff2"); }
@font-face { font-family: "Neue Haas Display"; font-weight: 600; font-style: normal; font-display: swap; src: url(/fonts/NeueHaasDisplay-Medium.woff2) format("woff2"); }

/* ---------- Tokens ---------- */
:root {
  --brand: #0cb397;
  --brand-strong: #0a9e85;
  --font-title: "Suisse BP Intl", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  --font-text: "Neue Haas Display", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  --radius: 20px;
  --radius-sm: 12px;
  --header-h: 76px;
  --ease: cubic-bezier(.2, .7, .2, 1);
  --container: 1280px;

  /* Mode jour */
  --bg: #ffffff;
  --bg-alt: #f3f5f4;
  --surface: #ffffff;
  --surface-2: #eef1f0;
  --text: #0b0c0c;
  --muted: #5b6160;
  --line: rgba(0, 0, 0, .12);
  --accent-text: #067a66;      /* vert lisible sur fond clair (AA) */
  --on-brand: #ffffff;         /* texte et icônes sur fond vert */
  --header-bg: rgba(255, 255, 255, .82);
  --shadow: 0 20px 50px -20px rgba(0, 0, 0, .25);
  color-scheme: light;
}

/* Mode sombre (système) sauf si l’utilisateur a forcé le mode jour */
@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) {
    --bg: #000000;
    --bg-alt: #0b0d0d;
    --surface: #121515;
    --surface-2: #1a1e1e;
    --text: #ffffff;
    --muted: #a7adac;
    --line: rgba(255, 255, 255, .14);
    --accent-text: #2fd2b4;
    --header-bg: rgba(0, 0, 0, .72);
    --shadow: 0 20px 50px -20px rgba(0, 0, 0, .8);
    color-scheme: dark;
  }
}
:root[data-theme="dark"] {
  --bg: #000000;
  --bg-alt: #0b0d0d;
  --surface: #121515;
  --surface-2: #1a1e1e;
  --text: #ffffff;
  --muted: #a7adac;
  --line: rgba(255, 255, 255, .14);
  --accent-text: #2fd2b4;
  --header-bg: rgba(0, 0, 0, .72);
  --shadow: 0 20px 50px -20px rgba(0, 0, 0, .8);
  color-scheme: dark;
}

/* ---------- Base ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: calc(var(--header-h) + 16px); -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: var(--font-text);
  font-weight: 400;
  font-size: 1.0625rem;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  transition: background-color .4s var(--ease), color .4s var(--ease);
}
img { display: block; max-width: 100%; height: auto; }
a { color: inherit; }
button { font: inherit; color: inherit; }
h1, h2, h3 { font-family: var(--font-title); font-weight: 300; letter-spacing: -.025em; line-height: 1.02; margin: 0; text-wrap: balance; }
h1 { font-size: clamp(2.6rem, 6.4vw, 5.6rem); font-weight: 200; }
h2 { font-size: clamp(2.1rem, 4.4vw, 3.75rem); font-weight: 200; }
h3 { font-size: 1.5rem; font-weight: 300; letter-spacing: -.01em; line-height: 1.15; }
p { margin: 0 0 1rem; }
::selection { background: var(--brand); color: var(--on-brand); }
:focus-visible { outline: 2px solid var(--brand); outline-offset: 3px; border-radius: 6px; }

.container { width: 100%; max-width: var(--container); margin-inline: auto; padding-inline: clamp(16px, 4vw, 40px); }
.accent { color: var(--accent-text); }
.muted { color: var(--muted); }
.eyebrow { font-family: var(--font-text); font-weight: 500; font-size: .8125rem; letter-spacing: .14em; text-transform: uppercase; color: var(--accent-text); margin-bottom: 1.1rem; display: inline-flex; align-items: center; gap: .6rem; }
.skip-link { position: absolute; left: 16px; top: -60px; z-index: 100; background: var(--brand); color: var(--on-brand); padding: .7rem 1rem; border-radius: 8px; text-decoration: none; }
.skip-link:focus { top: 12px; }

/* Logo jour / nuit */
.logo--black { display: block; }
.logo--white { display: none; }
@media (prefers-color-scheme: dark) { :root:not([data-theme="light"]) .logo--black { display: none; } :root:not([data-theme="light"]) .logo--white { display: block; } }
:root[data-theme="dark"] .logo--black { display: none; }
:root[data-theme="dark"] .logo--white { display: block; }

/* ---------- Boutons ---------- */
.btn {
  --h: 52px;
  display: inline-flex; align-items: center; justify-content: center; gap: .55rem;
  min-height: var(--h); padding: 0 1.6rem;
  border-radius: 999px; border: 1px solid transparent;
  font-family: var(--font-text); font-weight: 500; font-size: 1rem; line-height: 1;
  text-decoration: none; cursor: pointer; white-space: nowrap;
  transition: transform .25s var(--ease), background-color .25s, border-color .25s, color .25s, box-shadow .25s;
}
.btn:active { transform: scale(.98); }
.btn--primary { background: var(--brand); color: var(--on-brand); }
.btn--primary:hover { background: var(--brand-strong); box-shadow: 0 10px 30px -10px rgba(12, 179, 151, .7); }
.btn--ghost { border-color: var(--line); background: transparent; color: var(--text); }
.btn--ghost:hover { border-color: var(--text); }
.btn--sm { --h: 42px; padding: 0 1.1rem; font-size: .9375rem; }
.btn--lg { --h: 58px; padding: 0 1.9rem; font-size: 1.0625rem; }
.link-arrow { display: inline-flex; align-items: center; gap: .4rem; font-weight: 500; color: var(--accent-text); text-decoration: none; }
.link-arrow::after { content: "→"; transition: transform .25s var(--ease); }
.link-arrow:hover::after { transform: translateX(4px); }
.link-btn { background: none; border: 0; padding: 0; cursor: pointer; text-decoration: underline; text-underline-offset: 3px; }

/* ---------- Header (unique) ---------- */
.header {
  position: fixed; inset: 0 0 auto 0; z-index: 50; height: var(--header-h);
  transition: background-color .35s var(--ease), border-color .35s, backdrop-filter .35s;
  border-bottom: 1px solid transparent;
  color: #fff;
}
.header .logo--black { display: none; }
.header .logo--white { display: block; }
.header.is-scrolled, .header.is-open {
  background: var(--header-bg);
  -webkit-backdrop-filter: saturate(160%) blur(18px); backdrop-filter: saturate(160%) blur(18px);
  border-bottom-color: var(--line);
  color: var(--text);
}
.header.is-scrolled .logo--black, .header.is-open .logo--black { display: block; }
.header.is-scrolled .logo--white, .header.is-open .logo--white { display: none; }
@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) .header.is-scrolled .logo--black, :root:not([data-theme="light"]) .header.is-open .logo--black { display: none; }
  :root:not([data-theme="light"]) .header.is-scrolled .logo--white, :root:not([data-theme="light"]) .header.is-open .logo--white { display: block; }
}
:root[data-theme="dark"] .header.is-scrolled .logo--black, :root[data-theme="dark"] .header.is-open .logo--black { display: none; }
:root[data-theme="dark"] .header.is-scrolled .logo--white, :root[data-theme="dark"] .header.is-open .logo--white { display: block; }

.header__inner { height: 100%; display: flex; align-items: center; gap: 2rem; }
.header__logo { flex: none; display: block; }
.header__logo img { width: 56px; height: 56px; }
.nav { flex: 1; display: flex; align-items: center; justify-content: center; gap: 2rem; }
.nav ul { list-style: none; display: flex; gap: 1.9rem; margin: 0; padding: 0; }
.nav a { text-decoration: none; font-weight: 500; font-size: .9375rem; opacity: .86; transition: opacity .2s; }
.nav a:hover { opacity: 1; }
.nav__phone, .nav__cta { display: none; }
.header__actions { display: flex; align-items: center; gap: .75rem; margin-left: auto; }
.theme-toggle {
  width: 42px; height: 42px; border-radius: 50%; border: 1px solid currentColor; border-color: color-mix(in srgb, currentColor 30%, transparent);
  background: transparent; display: grid; place-items: center; cursor: pointer; transition: background-color .2s;
}
.theme-toggle:hover { background: color-mix(in srgb, currentColor 10%, transparent); }
.theme-toggle svg { width: 19px; height: 19px; fill: none; stroke: currentColor; stroke-width: 1.6; stroke-linecap: round; }
.theme-toggle .i-sun { display: none; }
@media (prefers-color-scheme: dark) { :root:not([data-theme="light"]) .theme-toggle .i-sun { display: block; } :root:not([data-theme="light"]) .theme-toggle .i-moon { display: none; } }
:root[data-theme="dark"] .theme-toggle .i-sun { display: block; }
:root[data-theme="dark"] .theme-toggle .i-moon { display: none; }
.burger { display: none; width: 42px; height: 42px; border: 0; background: transparent; cursor: pointer; position: relative; }
.burger span { position: absolute; left: 10px; right: 10px; height: 1.5px; background: currentColor; transition: transform .3s var(--ease), opacity .2s; }
.burger span:nth-child(1) { top: 14px; } .burger span:nth-child(2) { top: 20.25px; } .burger span:nth-child(3) { top: 26.5px; }
.header.is-open .burger span:nth-child(1) { transform: translateY(6.25px) rotate(45deg); }
.header.is-open .burger span:nth-child(2) { opacity: 0; }
.header.is-open .burger span:nth-child(3) { transform: translateY(-6.25px) rotate(-45deg); }

@media (max-width: 960px) {
  :root { --header-h: 66px; }
  .header__logo img { width: 46px; height: 46px; }
  .burger { display: block; }
  .header__cta { display: none; }
  .nav {
    position: fixed; inset: var(--header-h) 0 auto 0; height: calc(100dvh - var(--header-h));
    flex-direction: column; justify-content: flex-start; align-items: stretch; gap: 0;
    background: var(--bg); color: var(--text); padding: 1.5rem clamp(16px, 4vw, 40px) 2rem;
    transform: translateY(-8px); opacity: 0; visibility: hidden; transition: opacity .3s var(--ease), transform .3s var(--ease), visibility .3s;
  }
  .header.is-open .nav { transform: none; opacity: 1; visibility: visible; }
  .nav ul { flex-direction: column; gap: 0; }
  .nav ul a { display: block; padding: 1rem 0; font-family: var(--font-title); font-weight: 300; font-size: 1.75rem; border-bottom: 1px solid var(--line); opacity: 1; }
  .nav .nav__cta { display: flex; width: 100%; margin-top: 2rem; opacity: 1; font-size: 1.0625rem; font-family: var(--font-text); }
  .nav__phone { display: block; margin-top: 1.25rem; text-align: center; font-size: 1.25rem; color: var(--accent-text); }
}

/* ---------- Hero ---------- */
.hero { position: relative; min-height: 100svh; display: flex; align-items: stretch; color: #fff; isolation: isolate; overflow: hidden; }
.hero__media, .hero__media img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: -2; }
.hero__media img { animation: heroZoom 14s var(--ease) both; }
.hero::after {
  content: ""; position: absolute; inset: 0; z-index: -1;
  background:
    linear-gradient(90deg, rgba(0,0,0,.92) 0%, rgba(0,0,0,.82) 40%, rgba(0,0,0,.5) 70%, rgba(0,0,0,.3) 100%),
    linear-gradient(180deg, rgba(0,0,0,.6) 0%, rgba(0,0,0,.15) 28%, rgba(0,0,0,.3) 60%, rgba(0,0,0,.95) 100%);
}
.hero__content { text-shadow: 0 2px 24px rgba(0,0,0,.45); }
.hero__content .btn { text-shadow: none; }
@media (max-width: 960px) {
  .hero::after { background: linear-gradient(180deg, rgba(0,0,0,.8) 0%, rgba(0,0,0,.78) 40%, rgba(0,0,0,.85) 70%, rgba(0,0,0,.95) 100%); }
}
@keyframes heroZoom { from { transform: scale(1.08); } to { transform: scale(1); } }
.hero__inner { display: grid; grid-template-columns: minmax(0, 1fr) auto; align-items: stretch; gap: 2.5rem; padding-top: calc(var(--header-h) + 3rem); padding-bottom: clamp(2.5rem, 6vw, 5rem); }
.hero .eyebrow { color: #fff; }
.hero h1 { max-width: 15ch; }
.hero .accent { color: #3fe0c2; }
.hero h1 strong { font-weight: 500; }
.hero h1 .big { font-size: 1.1em; }
/* Colonne flex : les marges automatiques répartissent l'espace libre, le titre reste en haut et les CTA en bas */
.hero__content { display: flex; flex-direction: column; }
.hero__content .eyebrow { margin-top: auto; align-self: flex-start; }
.hero h1 { margin-bottom: clamp(2rem, 4vw, 3rem); }
.hero__ctas { margin-top: auto; }
.promo { align-self: end; }
.hero__ctas { display: flex; flex-wrap: wrap; gap: .8rem; }
.hero .btn--ghost { color: #fff; border-color: rgba(255,255,255,.45); }
.hero .btn--ghost:hover { border-color: #fff; background: rgba(255,255,255,.08); }
.hero__proofs { list-style: none; display: flex; flex-wrap: wrap; gap: 1.25rem 2.5rem; padding: 2rem 0 0; margin: 2.5rem 0 0; border-top: 1px solid rgba(255,255,255,.22); max-width: 46rem; }
.hero__proofs li { font-size: .9375rem; color: rgba(255,255,255,.92); }
.hero__proofs strong { display: block; font-family: var(--font-title); font-weight: 200; font-size: 2.25rem; line-height: 1; color: #fff; margin-bottom: .3rem; }

.promo {
  width: min(320px, 100%); padding: 1.5rem; border-radius: var(--radius);
  background: rgba(10, 12, 12, .45); border: 1px solid rgba(255,255,255,.18);
  -webkit-backdrop-filter: blur(16px); backdrop-filter: blur(16px);
}
.promo[hidden] { display: none; }
.promo__label { font-size: .8125rem; letter-spacing: .06em; text-transform: uppercase; color: rgba(255,255,255,.75); margin-bottom: .9rem; }
.promo__deal { margin: 0 0 .35rem; font-size: 1rem; }
.promo__deal strong { font-family: var(--font-title); font-weight: 300; font-size: 2rem; color: #3fe0c2; margin-right: .4rem; }
.promo__link { display: inline-block; margin-top: .9rem; font-weight: 500; text-decoration: none; color: #fff; border-bottom: 1px solid currentColor; }

@media (max-width: 960px) {
  .hero__inner { grid-template-columns: 1fr; }
  .promo { width: 100%; }
}

/* ---------- Bandeau confiance ---------- */
.trust { border-bottom: 1px solid var(--line); }
.trust__grid { display: grid; grid-template-columns: repeat(4, 1fr); }
.trust__item { display: flex; gap: 1rem; align-items: center; padding: 1.75rem 1.25rem; }
.trust__item + .trust__item { border-left: 1px solid var(--line); }
.trust__item svg { flex: none; width: 30px; height: 30px; fill: none; stroke: var(--accent-text); stroke-width: 1.4; stroke-linecap: round; stroke-linejoin: round; }
.trust__item p { margin: 0; line-height: 1.35; }
.trust__item strong { display: block; font-weight: 500; }
.trust__item span { font-size: .875rem; color: var(--muted); }
@media (max-width: 960px) {
  .trust__grid { grid-template-columns: 1fr 1fr; }
  .trust__item:nth-child(3) { border-left: 0; }
  .trust__item:nth-child(n+3) { border-top: 1px solid var(--line); }
}
@media (max-width: 520px) {
  .trust__item { padding: 1.25rem .5rem; flex-direction: column; align-items: flex-start; gap: .6rem; }
  .trust__item + .trust__item { border-left: 0; }
  .trust__item:nth-child(even) { border-left: 1px solid var(--line); padding-left: 1rem; }
}

/* ---------- Sections ---------- */
.section { padding-block: clamp(4.5rem, 10vw, 8.5rem); }
.section--alt { background: var(--bg-alt); }
.section__head { max-width: 52rem; margin-bottom: clamp(2.5rem, 5vw, 4rem); }
.section__head--split { max-width: none; display: flex; justify-content: space-between; align-items: flex-end; gap: 2rem; flex-wrap: wrap; }
.section__lead { font-size: 1.1875rem; color: var(--muted); margin-top: 1.5rem; max-width: 40rem; }
.section__cta { margin-top: 3rem; display: flex; align-items: center; justify-content: center; gap: 1.25rem; flex-wrap: wrap; text-align: center; }
.section__cta p { margin: 0; font-size: 1.125rem; }

/* ---------- Solutions ---------- */
.solutions { display: grid; grid-template-columns: repeat(12, 1fr); gap: 1.25rem; }
.solution { position: relative; grid-column: span 4; border-radius: var(--radius); overflow: hidden; min-height: 460px; display: flex; align-items: flex-end; color: #fff; isolation: isolate; }
.solution--xl { grid-column: span 12; min-height: 560px; }
.solution img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: -2; transition: transform 1.2s var(--ease); }
.solution::after { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(180deg, rgba(0,0,0,0) 30%, rgba(0,0,0,.82) 100%); }
.solution:hover img { transform: scale(1.04); }
.solution__body { padding: clamp(1.5rem, 3vw, 2.5rem); max-width: 40rem; }
.solution h3 { font-size: clamp(1.75rem, 2.6vw, 2.5rem); font-weight: 200; margin-bottom: .75rem; }
.solution p { color: rgba(255,255,255,.86); font-size: 1rem; }
.solution .link-arrow { color: #3fe0c2; }
.tags { list-style: none; display: flex; flex-wrap: wrap; gap: .5rem; padding: 0; margin: 0 0 1.25rem; }
.tags li { font-size: .8125rem; padding: .35rem .8rem; border-radius: 999px; border: 1px solid rgba(255,255,255,.35); }
@media (max-width: 960px) {
  .solution, .solution--xl { grid-column: span 12; min-height: 420px; }
}

/* ---------- Réalisations ---------- */
.filters { display: inline-flex; gap: .25rem; padding: .3rem; border-radius: 999px; background: var(--surface); border: 1px solid var(--line); }
.filter { border: 0; background: transparent; padding: .65rem 1.25rem; border-radius: 999px; cursor: pointer; font-weight: 500; font-size: .9375rem; color: var(--muted); transition: background-color .25s, color .25s; }
.filter.is-active { background: var(--text); color: var(--bg); }
.gallery { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(4, 1fr); grid-auto-rows: 240px; grid-auto-flow: dense; gap: 1rem; }
.gallery__item { border-radius: var(--radius-sm); overflow: hidden; animation: fadeIn .5s var(--ease) both; }
.gallery__item[hidden] { display: none; }
.gallery__item--wide { grid-column: span 2; }
.gallery__item--tall { grid-row: span 2; }
.gallery__item button { all: unset; display: block; width: 100%; height: 100%; position: relative; cursor: zoom-in; }
.gallery__item button:focus-visible { outline: 2px solid var(--brand); outline-offset: -2px; }
.gallery__item img { width: 100%; height: 100%; object-fit: cover; transition: transform .8s var(--ease); }
.gallery__item button:hover img { transform: scale(1.05); }
.gallery__tag { position: absolute; left: .75rem; bottom: .75rem; font-size: .75rem; letter-spacing: .06em; text-transform: uppercase; font-weight: 500; padding: .35rem .7rem; border-radius: 999px; background: rgba(0,0,0,.55); color: #fff; -webkit-backdrop-filter: blur(8px); backdrop-filter: blur(8px); }
@keyframes fadeIn { from { opacity: 0; transform: translateY(8px); } to { opacity: 1; transform: none; } }
@media (max-width: 960px) { .gallery { grid-template-columns: repeat(2, 1fr); grid-auto-rows: 200px; } }
@media (max-width: 520px) { .gallery { grid-auto-rows: 150px; gap: .6rem; } }

.lightbox { border: 0; padding: 0; background: transparent; max-width: 100vw; max-height: 100vh; width: 100vw; height: 100vh; }
.lightbox::backdrop { background: rgba(0,0,0,.92); }
.lightbox[open] { display: grid; place-items: center; }
.lightbox img { max-width: min(92vw, 1400px); max-height: 86vh; width: auto; height: auto; border-radius: 10px; }
.lightbox__close, .lightbox__nav { position: fixed; border: 0; background: rgba(255,255,255,.12); color: #fff; width: 52px; height: 52px; border-radius: 50%; font-size: 1.9rem; line-height: 1; cursor: pointer; }
.lightbox__close { top: 16px; right: 16px; }
.lightbox__prev { left: 16px; top: 50%; transform: translateY(-50%); }
.lightbox__next { right: 16px; top: 50%; transform: translateY(-50%); }

/* ---------- Méthode ---------- */
.methode { display: grid; grid-template-columns: 5fr 7fr; gap: clamp(2rem, 6vw, 6rem); align-items: start; }
.methode__intro { position: sticky; top: calc(var(--header-h) + 2rem); }
.methode__intro .btn { margin-top: 1rem; }
.steps { list-style: none; margin: 0; padding: 0; }
.step { display: grid; grid-template-columns: 80px 1fr; gap: 1.25rem; padding: 2rem 0; border-top: 1px solid var(--line); }
.step:last-child { border-bottom: 1px solid var(--line); }
.step__num { font-family: var(--font-title); font-weight: 200; font-size: 2.5rem; line-height: 1; color: var(--accent-text); }
.step h3 { margin-bottom: .6rem; }
.step p { color: var(--muted); margin: 0; }
@media (max-width: 960px) { .methode { grid-template-columns: 1fr; } .methode__intro { position: static; } .step { grid-template-columns: 56px 1fr; } }

/* ---------- Comparatif ---------- */
.table-wrap { overflow-x: auto; border-radius: var(--radius); border: 1px solid var(--line); background: var(--surface); }
.compare { width: 100%; border-collapse: collapse; min-width: 560px; }
.compare th, .compare td { text-align: left; padding: 1.1rem 1.5rem; border-bottom: 1px solid var(--line); vertical-align: top; }
.compare tr:last-child th, .compare tr:last-child td { border-bottom: 0; }
.compare thead th { font-family: var(--font-title); font-weight: 300; font-size: 1.25rem; background: var(--surface-2); }
.compare tbody th { font-weight: 500; color: var(--muted); width: 22%; }
.compare__note { margin-top: 1.5rem; color: var(--muted); }

/* ---------- Showroom ---------- */
.showroom__grid { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(2rem, 6vw, 5rem); align-items: center; }
.showroom__media { border-radius: var(--radius); overflow: hidden; aspect-ratio: 4 / 5; }
.showroom__media img { width: 100%; height: 100%; object-fit: cover; }
.showroom__content h2 { margin-bottom: 1.5rem; }
.showroom__content > p { color: var(--muted); font-size: 1.125rem; }
.infos { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.5rem; margin: 2rem 0; padding: 1.75rem 0; border-block: 1px solid var(--line); }
.infos dt { font-size: .8125rem; letter-spacing: .1em; text-transform: uppercase; color: var(--accent-text); margin-bottom: .5rem; font-weight: 500; }
.infos dd { margin: 0; font-size: .9875rem; }
.infos a { text-decoration: none; }
.infos a:hover { text-decoration: underline; }
.showroom__ctas { display: flex; gap: .75rem; flex-wrap: wrap; }
.zones { margin-top: 1.75rem; font-size: .9375rem; color: var(--muted); }
.zones strong { color: var(--text); font-weight: 500; }
@media (max-width: 960px) { .showroom__grid { grid-template-columns: 1fr; } .showroom__media { aspect-ratio: 16 / 10; } }
@media (max-width: 600px) { .infos { grid-template-columns: 1fr; } }

/* ---------- FAQ ---------- */
.faq { display: grid; grid-template-columns: 5fr 7fr; gap: clamp(2rem, 6vw, 6rem); }
.faq__list details { border-top: 1px solid var(--line); }
.faq__list details:last-child { border-bottom: 1px solid var(--line); }
.faq__list summary { list-style: none; cursor: pointer; padding: 1.5rem 3rem 1.5rem 0; position: relative; font-family: var(--font-title); font-weight: 300; font-size: 1.25rem; line-height: 1.3; }
.faq__list summary::-webkit-details-marker { display: none; }
.faq__list summary::after { content: ""; position: absolute; right: .5rem; top: 50%; width: 14px; height: 14px; border-right: 1.5px solid var(--accent-text); border-bottom: 1.5px solid var(--accent-text); transform: translateY(-70%) rotate(45deg); transition: transform .3s var(--ease); }
.faq__list details[open] summary::after { transform: translateY(-30%) rotate(-135deg); }
.faq__list details p { color: var(--muted); padding-bottom: 1.5rem; margin: 0; max-width: 46rem; }
@media (max-width: 960px) { .faq { grid-template-columns: 1fr; } }

/* ---------- Devis ---------- */
.devis { background: var(--bg-alt); }
.devis__grid { display: grid; grid-template-columns: 4fr 7fr; gap: clamp(2rem, 6vw, 5rem); align-items: start; }
.devis__aside { position: sticky; top: calc(var(--header-h) + 2rem); }
.devis__aside h2 { margin-bottom: 1.25rem; }
.devis__aside > p { color: var(--muted); font-size: 1.125rem; }
.checks { list-style: none; padding: 0; margin: 1.75rem 0; display: grid; gap: .8rem; }
.checks li { position: relative; padding-left: 2rem; }
.checks li::before { content: ""; position: absolute; left: 0; top: .25em; width: 1.2rem; height: 1.2rem; border-radius: 50%; background: var(--brand) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23ffffff' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m6 12.5 4 4 8-9'/%3E%3C/svg%3E") center / 70% no-repeat; }
.devis__call { padding: 1.5rem; border-radius: var(--radius); border: 1px solid var(--line); background: var(--surface); }
.devis__call p { margin: 0; }
.devis__phone { display: inline-block; font-family: var(--font-title); font-weight: 200; font-size: 2.25rem; text-decoration: none; margin: .25rem 0; color: var(--accent-text); }
@media (max-width: 960px) {
  .devis__grid { grid-template-columns: 1fr; gap: 0; }
  .devis__aside { display: contents; }
  .devis__aside > * { order: 0; }
  .devis__grid .form { order: 1; margin-top: 1.5rem; }
  .devis__aside .checks, .devis__aside .devis__call { order: 2; }
  .devis__aside .checks { margin-top: 2.5rem; }
}

.form { position: relative; background: var(--surface); border: 1px solid var(--line); border-radius: calc(var(--radius) + 4px); padding: clamp(1.25rem, 3.5vw, 2.75rem); box-shadow: var(--shadow); }
.form__progress { height: 4px; border-radius: 4px; background: var(--surface-2); overflow: hidden; }
.form__progress span { display: block; height: 100%; width: 33.33%; background: var(--brand); border-radius: inherit; transition: width .5s var(--ease); }
.form__stepinfo { font-size: .875rem; color: var(--muted); margin: .9rem 0 1.5rem; }
.form__step { border: 0; padding: 0; margin: 0; min-width: 0; display: none; }
.form__step.is-active { display: block; animation: fadeIn .4s var(--ease) both; }
.form__legend { font-family: var(--font-title); font-weight: 300; font-size: clamp(1.6rem, 2.6vw, 2.1rem); letter-spacing: -.02em; line-height: 1.1; margin-bottom: 1.5rem; padding: 0; }
.form__label { font-weight: 500; margin: 1.75rem 0 .8rem; }
.form__legend + .form__label { margin-top: 0; }
.choices { display: flex; flex-wrap: wrap; gap: .6rem; }
.choices--cards { display: grid; grid-template-columns: repeat(4, 1fr); gap: .75rem; }
.choice, .pill { position: relative; cursor: pointer; }
.choice input, .pill input { position: absolute; opacity: 0; inset: 0; margin: 0; cursor: pointer; }
.choice span { display: flex; flex-direction: column; align-items: center; justify-content: center; gap: .7rem; text-align: center; min-height: 118px; padding: 1rem .5rem; border-radius: var(--radius-sm); border: 1px solid var(--line); background: var(--bg); font-weight: 500; transition: border-color .2s, background-color .2s, transform .2s var(--ease); }
.choice svg { width: 34px; height: 34px; fill: none; stroke: currentColor; stroke-width: 1.3; stroke-linecap: round; stroke-linejoin: round; }
.choice:hover span { border-color: var(--text); }
.choice input:checked + span { border-color: var(--brand); background: color-mix(in srgb, var(--brand) 12%, var(--bg)); box-shadow: inset 0 0 0 1px var(--brand); }
.choice input:checked + span svg { stroke: var(--accent-text); }
.choice input:focus-visible + span, .pill input:focus-visible + span { outline: 2px solid var(--brand); outline-offset: 2px; }
.pill span { display: inline-flex; align-items: center; min-height: 44px; padding: 0 1.1rem; border-radius: 999px; border: 1px solid var(--line); background: var(--bg); font-size: .9375rem; font-weight: 500; transition: border-color .2s, background-color .2s, color .2s; }
.pill:hover span { border-color: var(--text); }
.pill input:checked + span { background: var(--text); color: var(--bg); border-color: var(--text); }
@media (max-width: 640px) { .choices--cards { grid-template-columns: repeat(2, 1fr); } .choice span { min-height: 96px; font-size: .9375rem; } }

.grid-2 { display: grid; grid-template-columns: 1fr 1fr; gap: 0 1rem; }
.field { margin-top: 1.25rem; }
.field--full { grid-column: 1 / -1; }
@media (max-width: 560px) { .grid-2 { grid-template-columns: 1fr; } }
.field label { display: block; font-weight: 500; font-size: .9375rem; margin-bottom: .45rem; }
.field input, .field select, .field textarea {
  width: 100%; min-height: 52px; padding: .8rem 1rem; border-radius: var(--radius-sm);
  border: 1px solid var(--line); background: var(--bg); color: var(--text);
  font: inherit; font-size: 1rem; transition: border-color .2s, box-shadow .2s;
}
.field textarea { resize: vertical; min-height: 120px; }
.field select { appearance: none; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23888' stroke-width='2'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E"); background-repeat: no-repeat; background-position: right 1rem center; background-size: 18px; padding-right: 3rem; }
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-color: var(--brand); box-shadow: 0 0 0 3px color-mix(in srgb, var(--brand) 25%, transparent); }
.field input[type="file"] { padding: .7rem; cursor: pointer; }
.field input[type="file"]::file-selector-button { border: 0; border-radius: 999px; padding: .55rem 1rem; margin-right: 1rem; background: var(--surface-2); color: var(--text); font: inherit; font-weight: 500; cursor: pointer; }
.hint { font-size: .875rem; color: var(--muted); margin: .45rem 0 0; }
.is-invalid input, .is-invalid select, .is-invalid textarea { border-color: #d6453d; }
.field-error { display: none; color: #d6453d; font-size: .875rem; margin: .4rem 0 0; }
.field-error.is-visible { display: block; }
:root[data-theme="dark"] .field-error { color: #ff7b72; }
@media (prefers-color-scheme: dark) { :root:not([data-theme="light"]) .field-error { color: #ff7b72; } }

.check { display: flex; gap: .8rem; align-items: flex-start; margin-top: 1.25rem; font-size: .9375rem; cursor: pointer; }
.check input { flex: none; width: 20px; height: 20px; margin: .15rem 0 0; accent-color: var(--brand); cursor: pointer; }
.check a { color: var(--accent-text); }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.form__nav { display: flex; justify-content: space-between; align-items: center; gap: 1rem; margin-top: 2.25rem; flex-wrap: wrap; }
.form__nav .btn--primary { margin-left: auto; }
.form__status { margin: 1rem 0 0; font-weight: 500; color: #d6453d; }
.form__status:empty { display: none; }
.form.is-loading button[type="submit"] { opacity: .6; pointer-events: none; }
.form__success { text-align: center; padding: 2.5rem 1rem; }
.form__success svg { width: 72px; height: 72px; margin: 0 auto 1.5rem; fill: none; stroke: var(--brand); stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.form__success h3 { font-size: 2rem; font-weight: 200; margin-bottom: 1rem; }
.form__success p { color: var(--muted); max-width: 30rem; margin-inline: auto; }

/* ---------- Footer ---------- */
.footer { padding: 4.5rem 0 2rem; border-top: 1px solid var(--line); font-size: .9375rem; }
.footer__grid { display: grid; grid-template-columns: 2fr 1fr 1fr 1fr; gap: 2rem; }
.footer__brand img { width: 88px; height: 88px; margin-bottom: 1.25rem; }
.footer__brand p { color: var(--muted); max-width: 22rem; }
.footer__title { font-family: var(--font-text); font-size: .8125rem; font-weight: 500; letter-spacing: .12em; text-transform: uppercase; color: var(--accent-text); margin-bottom: 1rem; }
.footer a { text-decoration: none; }
.footer a:hover { text-decoration: underline; }
.footer address { font-style: normal; color: var(--muted); }
.footer ul { list-style: none; margin: 0; padding: 0; display: grid; gap: .5rem; }
.footer__bottom { display: flex; justify-content: space-between; gap: 1rem; flex-wrap: wrap; margin-top: 3.5rem; padding-top: 1.5rem; border-top: 1px solid var(--line); font-size: .8125rem; color: var(--muted); }
.footer__bottom p { margin: 0; }
@media (max-width: 960px) { .footer__grid { grid-template-columns: 1fr 1fr; } .footer__brand { grid-column: 1 / -1; } }

/* ---------- CTA mobile ---------- */
.mobile-cta { display: none; }
@media (max-width: 960px) {
  .mobile-cta {
    position: fixed; z-index: 40; left: 0; right: 0; bottom: 0;
    display: grid; grid-template-columns: 1fr 2fr; gap: .6rem;
    padding: .7rem 16px calc(.7rem + env(safe-area-inset-bottom));
    background: var(--header-bg); -webkit-backdrop-filter: blur(16px); backdrop-filter: blur(16px);
    border-top: 1px solid var(--line);
    transform: translateY(110%); transition: transform .35s var(--ease);
  }
  .mobile-cta.is-visible { transform: none; }
  .mobile-cta .btn { --h: 50px; }
  body { padding-bottom: 76px; }
}

/* ---------- Bannière cookies (reprise du site, aux couleurs LV4S) ---------- */
#cc--main {
  --cc-bg: var(--surface);
  --cc-text: var(--text);
  --cc-btn-primary-bg: var(--brand);
  --cc-btn-primary-text: var(--on-brand);
  --cc-btn-primary-hover-bg: var(--brand-strong);
  --cc-btn-secondary-bg: var(--surface-2);
  --cc-btn-secondary-text: var(--text);
  --cc-btn-secondary-hover-bg: var(--line);
  --cc-toggle-bg-off: #8a9190;
  --cc-toggle-bg-on: var(--brand);
  --cc-toggle-bg-readonly: color-mix(in srgb, var(--brand) 45%, var(--surface));
  --cc-toggle-knob-bg: #fff;
  --cc-cookie-category-block-bg: var(--surface-2);
  --cc-cookie-category-block-bg-hover: var(--surface-2);
  --cc-section-border: var(--line);
  --cc-overlay-bg: rgba(0, 0, 0, .6);
}
.cc_div *, .cc_div .c-bn, .cc_div .cc-link { font-family: var(--font-text) !important; }
.cc_div #c-ttl, .cc_div #s-ttl { font-family: var(--font-title) !important; font-weight: 300 !important; font-size: 1.25rem !important; }
.cc_div .c-bn { border-radius: 999px !important; font-weight: 500 !important; padding: .875rem 1.5rem !important; }
.cc_div #cm { border-radius: var(--radius) !important; border: 1px solid var(--line); }
.cc_div .cc-link { color: var(--accent-text) !important; border-bottom-color: var(--accent-text) !important; }

/* ---------- Animations d’apparition ---------- */
.reveal { opacity: 0; transform: translateY(24px); transition: opacity .9s var(--ease), transform .9s var(--ease); }
.reveal.is-in { opacity: 1; transform: none; }

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; scroll-behavior: auto !important; }
  .reveal { opacity: 1; transform: none; }
}
