/* =========================================================
   Bati Création France — feuille de style
   Palette : noir chantier + or du logo + crème
   ========================================================= */

:root {
  --ink: #0d0c0b;
  --ink-2: #141210;
  --ink-3: #1c1916;
  --ink-4: #26221d;
  --line: rgba(214, 180, 120, .16);
  --line-2: rgba(214, 180, 120, .32);
  --gold: #cfa968;
  --gold-2: #ead39f;
  --gold-3: #9a7742;
  --cream: #f3ecdf;
  --cream-2: #e9dfcc;
  --text: #ece6da;
  --muted: #a39b8d;
  --muted-2: #6f685d;
  --dark-text: #1a1714;

  --serif: "DM Serif Display", Georgia, "Times New Roman", serif;
  --sans: "Manrope", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;

  --radius: 18px;
  --ease: cubic-bezier(.22, 1, .36, 1);
  --ease-io: cubic-bezier(.76, 0, .24, 1);
  --container: 1240px;
  --gutter: clamp(16px, 4vw, 40px);
  --header-h: 84px;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; overflow-x: clip; }
html.lenis, html.lenis body { height: auto; }
.lenis.lenis-smooth { scroll-behavior: auto !important; }
.lenis.lenis-stopped { overflow: hidden; }

body {
  margin: 0;
  background: var(--ink);
  color: var(--text);
  font-family: var(--sans);
  font-size: 17px;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  overflow-x: clip;
}
body.is-loading { overflow: hidden; }
img { max-width: 100%; height: auto; display: block; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; background: none; border: 0; cursor: pointer; padding: 0; }
::selection { background: var(--gold); color: var(--ink); }
:focus-visible { outline: 2px solid var(--gold); outline-offset: 3px; border-radius: 4px; }

.container { width: 100%; max-width: var(--container); margin-inline: auto; padding-inline: var(--gutter); }
.section { padding-block: clamp(80px, 12vw, 160px); position: relative; }

em { font-style: italic; }
.h2 {
  font-family: var(--serif);
  font-weight: 400;
  font-size: clamp(2.2rem, 5.2vw, 4.2rem);
  line-height: 1.04;
  letter-spacing: -.01em;
  margin: 0 0 .5em;
}
.h2 em, .hero__title em, .statement em {
  color: var(--gold);
  background: linear-gradient(100deg, var(--gold-3) 0%, var(--gold-2) 45%, var(--gold) 60%, var(--gold-3) 100%);
  background-size: 220% 100%;
  -webkit-background-clip: text; background-clip: text;
  -webkit-text-fill-color: transparent;
  animation: shine 6s linear infinite;
  padding-right: .06em;
}
@keyframes shine { to { background-position: -220% 0; } }

.eyebrow {
  font-size: .78rem; font-weight: 700; letter-spacing: .22em; text-transform: uppercase;
  color: var(--gold); margin: 0 0 1.4em;
  display: inline-flex; align-items: center; gap: .8em;
}
.eyebrow::before { content: ""; width: 34px; height: 1px; background: currentColor; opacity: .7; }
.hero__eyebrow::before { display: none; }
p { margin: 0 0 1.1em; color: var(--muted); }
strong { color: var(--text); font-weight: 700; }

/* ---------- Boutons ---------- */
.btn {
  --bg: transparent;
  position: relative;
  display: inline-flex; align-items: center; justify-content: center; gap: .6em;
  padding: 1em 1.7em; border-radius: 100px;
  font-weight: 700; font-size: .95rem; letter-spacing: .02em;
  background: var(--bg); border: 1px solid transparent;
  overflow: hidden; isolation: isolate;
  transition: color .4s var(--ease), border-color .4s var(--ease);
  will-change: transform;
}
.btn svg { width: 18px; height: 18px; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; transition: transform .4s var(--ease); }
.btn:hover svg { transform: translateX(4px); }
.btn::before { content: ""; position: absolute; inset: 0; z-index: -1; border-radius: inherit; transform: translateY(101%); transition: transform .55s var(--ease); }
.btn:hover::before { transform: translateY(0); }
.btn--gold { --bg: linear-gradient(120deg, var(--gold-2), var(--gold) 50%, var(--gold-3)); color: var(--ink); box-shadow: 0 10px 30px -10px rgba(207, 169, 104, .55); }
.btn--gold::before { background: var(--cream); }
.btn--ghost { border-color: var(--line-2); color: var(--text); backdrop-filter: blur(6px); }
.btn--ghost::before { background: var(--gold); }
.btn--ghost:hover { color: var(--ink); border-color: var(--gold); }
.btn--sm { padding: .7em 1.3em; font-size: .85rem; }
.btn--block { width: 100%; }

.link-arrow { display: inline-flex; align-items: center; gap: .5em; color: var(--gold); font-weight: 700; border-bottom: 1px solid var(--line-2); padding-bottom: 4px; transition: gap .3s var(--ease), border-color .3s; }
.link-arrow svg { width: 16px; height: 16px; fill: none; stroke: currentColor; stroke-width: 2; }
.link-arrow:hover { gap: .9em; border-color: var(--gold); }

/* =========================================================
   Intro : le mur
   ========================================================= */
.intro { position: fixed; inset: 0; z-index: 1000; overflow: hidden; pointer-events: none; display: none; }
html.anim .intro { display: block; }
.intro.is-gone, html.no-intro .intro { display: none !important; }
.intro__wall { position: absolute; inset: 0; }
.blk {
  position: absolute;
  border-radius: 2px;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, .06), transparent 30%),
    linear-gradient(160deg, #2b2723, #1d1a17 70%);
  box-shadow: inset 0 0 0 1px rgba(207, 169, 104, .14), inset 0 -3px 0 rgba(0, 0, 0, .35);
  will-change: transform;
}
.blk::before, .blk::after { content: ""; position: absolute; top: 28%; bottom: 28%; width: 22%; border-radius: 2px; background: rgba(0, 0, 0, .28); box-shadow: inset 0 1px 0 rgba(255, 255, 255, .04); }
.blk::before { left: 18%; }
.blk::after { right: 18%; }
.intro__center { position: absolute; inset: 0; display: grid; place-content: center; justify-items: center; gap: 18px; z-index: 2; }
.intro__plate {
  width: clamp(150px, 18vw, 220px); aspect-ratio: 1;
  display: grid; place-items: center;
  border-radius: 50%;
  background: radial-gradient(circle at 50% 35%, #221e1a, #0d0c0b 70%);
  border: 1px solid var(--line-2);
  box-shadow: 0 0 0 10px rgba(13, 12, 11, .6), 0 0 80px rgba(207, 169, 104, .25), 0 30px 60px rgba(0, 0, 0, .7);
}
.intro__logo { width: 72%; }
.intro__tag { margin: 0; font-size: .72rem; letter-spacing: .32em; text-transform: uppercase; color: var(--gold-2); background: rgba(13, 12, 11, .85); padding: 8px 16px; border-radius: 100px; border: 1px solid var(--line); }
.intro__count { position: absolute; right: var(--gutter); bottom: 18px; z-index: 2; font-family: var(--serif); font-size: clamp(3rem, 10vw, 8rem); line-height: 1; color: var(--gold-2); text-shadow: 0 6px 30px rgba(0, 0, 0, .9); }
.intro__count small { font-size: .35em; color: var(--gold); }
.intro__label { position: absolute; left: var(--gutter); bottom: 30px; z-index: 2; font-size: .72rem; letter-spacing: .3em; text-transform: uppercase; color: var(--muted); background: rgba(13, 12, 11, .85); padding: 6px 12px; border-radius: 6px; }

/* ---------- Progression / curseur / grain ---------- */
.progress { position: fixed; top: 0; left: 0; height: 2px; width: 100%; z-index: 120; background: linear-gradient(90deg, var(--gold-3), var(--gold-2)); transform-origin: 0 50%; transform: scaleX(0); }


.grain {
  position: fixed; inset: -50%; z-index: 800; pointer-events: none; opacity: .045;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='160' height='160'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.9' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
  animation: grain 1s steps(4) infinite;
}
@keyframes grain { 25% { transform: translate(-3%, 2%); } 50% { transform: translate(2%, -3%); } 75% { transform: translate(-1%, 3%); } }

/* ---------- En-tête ---------- */
.header {
  position: fixed; inset: 0 0 auto; z-index: 100; height: var(--header-h);
  transition: background .5s var(--ease), height .5s var(--ease), border-color .5s, transform .6s var(--ease);
  border-bottom: 1px solid transparent;
}
.header.is-scrolled { --header-h: 70px; background: rgba(13, 12, 11, .78); backdrop-filter: blur(14px) saturate(1.2); border-color: var(--line); }
.header.is-hidden { transform: translateY(-100%); }
.header__row { height: 100%; display: flex; align-items: center; justify-content: space-between; gap: 24px; }
.brand { display: flex; align-items: center; gap: 12px; }
.brand img { width: 52px; transition: width .5s var(--ease); }
.header.is-scrolled .brand img { width: 44px; }
.brand__txt { display: flex; flex-direction: column; line-height: 1; }
.brand__txt strong { font-family: var(--serif); font-weight: 400; font-size: 1.3rem; }
.brand__txt em { font-style: normal; font-size: .62rem; letter-spacing: .42em; text-transform: uppercase; color: var(--gold); margin-top: 5px; }

.nav { display: flex; align-items: center; gap: clamp(16px, 2.4vw, 34px); }
.nav a:not(.btn) { position: relative; font-size: .92rem; font-weight: 600; opacity: .85; transition: opacity .3s; padding: 6px 0; }
.nav a:not(.btn)::after { content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 1px; background: var(--gold); transform: scaleX(0); transform-origin: right; transition: transform .5s var(--ease); }
.nav a:not(.btn):hover, .nav a.is-current { opacity: 1; }
.nav a:not(.btn):hover::after, .nav a.is-current::after { transform: scaleX(1); transform-origin: left; }

.burger { display: none; width: 46px; height: 46px; border-radius: 50%; border: 1px solid var(--line-2); position: relative; z-index: 2; }
.burger span { position: absolute; left: 13px; right: 13px; height: 1.5px; background: var(--text); transition: transform .5s var(--ease), top .5s var(--ease); }
.burger span:first-child { top: 18px; }
.burger span:last-child { top: 26px; }
.burger[aria-expanded="true"] span:first-child { top: 22px; transform: rotate(45deg); }
.burger[aria-expanded="true"] span:last-child { top: 22px; transform: rotate(-45deg); }

/* =========================================================
   Hero
   ========================================================= */
.hero {
  position: relative; min-height: 100vh; min-height: 100svh;
  display: flex; flex-direction: column; justify-content: flex-end;
  padding: calc(var(--header-h) + 20px) 0 0;
  overflow: hidden; isolation: isolate;
}
.hero__slides { position: absolute; inset: -3%; z-index: -2; will-change: transform; }
.hero__slide {
  position: absolute; inset: 0;
  background: var(--img) center / cover no-repeat;
  clip-path: inset(0 0 0 100%);
  transform: scale(1.18);
  transition: clip-path 1.4s var(--ease-io), transform 8s linear;
}
.hero__slide.is-active { clip-path: inset(0 0 0 0); transform: scale(1.02); z-index: 1; }
.hero__slide.is-leaving { clip-path: inset(0 0 0 0); z-index: 0; transform: scale(1.0); }
.hero__shade {
  position: absolute; inset: 0; z-index: -1;
  background:
    linear-gradient(180deg, rgba(13, 12, 11, .72) 0%, rgba(13, 12, 11, .15) 30%, rgba(13, 12, 11, .35) 60%, var(--ink) 100%),
    linear-gradient(90deg, rgba(13, 12, 11, .85) 0%, rgba(13, 12, 11, .2) 70%);
}
.hero__content { padding-bottom: clamp(24px, 4.5vh, 60px); will-change: transform; }
.hero__eyebrow { color: var(--gold-2); }
.dot { width: 8px; height: 8px; border-radius: 50%; background: var(--gold); animation: pulse 2.2s infinite; }
@keyframes pulse { 0% { box-shadow: 0 0 0 0 rgba(207, 169, 104, .6); } 70% { box-shadow: 0 0 0 12px rgba(207, 169, 104, 0); } 100% { box-shadow: 0 0 0 0 rgba(207, 169, 104, 0); } }

.hero__title {
  font-family: var(--serif); font-weight: 400;
  font-size: clamp(3rem, min(9.4vw, 12vh), 8.6rem);
  line-height: .95; letter-spacing: -.02em;
  margin: 0 0 .35em; max-width: 13ch;
}
.hero__title .line { display: block; overflow: hidden; padding-bottom: .06em; }
.hero__title [data-split] { display: inline-block; }
.hero__title .ch { display: inline-block; transition: transform 1.1s var(--ease); }
html.anim .hero__title .ch { transform: translateY(115%) rotate(8deg); transform-origin: 0 100%; }
html.anim .hero__title.is-in .ch { transform: none; }
.hero__lead { max-width: 560px; font-size: clamp(1.02rem, 1.4vw, 1.2rem); color: #d9d1c3; }
.hero__cta { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 30px; }
[data-hero-in] { transition: opacity 1s var(--ease), transform 1s var(--ease); }
html.anim [data-hero-in] { opacity: 0; transform: translateY(24px); }
html.anim [data-hero-in].is-in { opacity: 1; transform: none; }

.hero__stamp { position: absolute; right: clamp(20px, 6vw, 90px); bottom: clamp(110px, 18vh, 170px); width: 150px; height: 150px; display: grid; place-items: center; z-index: 2; }
.hero__stamp svg:first-child { position: absolute; inset: 0; animation: spin 16s linear infinite; }
.hero__stamp text { fill: var(--gold-2); font-size: 14.5px; letter-spacing: 3px; font-family: var(--sans); font-weight: 800; }
.hero__stamp-core { width: 74px; height: 74px; border-radius: 50%; display: grid; place-items: center; background: var(--gold); color: var(--ink); transition: transform .5s var(--ease), background .4s; box-shadow: 0 0 0 0 rgba(207, 169, 104, .5); animation: pulse 2.4s infinite; }
.hero__stamp-core svg { width: 26px; height: 26px; fill: none; stroke: currentColor; stroke-width: 2.2; stroke-linecap: round; transform: rotate(90deg); }
.hero__stamp:hover .hero__stamp-core { transform: scale(1.12); background: var(--cream); }
@keyframes spin { to { transform: rotate(360deg); } }

.hero__foot { display: flex; align-items: center; justify-content: space-between; gap: 20px; padding-bottom: 34px; border-top: 1px solid var(--line); padding-top: 22px; }
.g-badge { display: inline-flex; align-items: center; gap: 12px; padding: 8px 18px 8px 8px; border-radius: 100px; background: rgba(255, 255, 255, .06); border: 1px solid var(--line); backdrop-filter: blur(8px); transition: border-color .3s, background .3s; }
.g-badge:hover { border-color: var(--gold); background: rgba(207, 169, 104, .1); }
.g-badge__g { width: 38px; height: 38px; border-radius: 50%; display: grid; place-items: center; background: #fff; color: #4285f4; font-weight: 800; font-size: 1.1rem; font-family: Arial, sans-serif; }
.g-badge strong { font-size: 1.05rem; }
.g-badge small { display: block; font-size: .72rem; color: var(--muted); line-height: 1.2; }
.stars { color: var(--gold); letter-spacing: 2px; font-size: .85rem; }
.hero__dots { display: flex; gap: 10px; }
.hero__dots button { width: 34px; height: 3px; border-radius: 3px; background: rgba(255, 255, 255, .22); position: relative; overflow: hidden; }
.hero__dots button::after { content: ""; position: absolute; inset: 0; background: var(--gold); transform: scaleX(0); transform-origin: left; }
.hero__dots button.is-active::after { animation: dotFill 6.5s linear forwards; }
@keyframes dotFill { to { transform: scaleX(1); } }
.scroll-hint { width: 26px; height: 42px; border: 1.5px solid var(--line-2); border-radius: 20px; position: relative; }
.scroll-hint span { position: absolute; left: 50%; top: 8px; width: 3px; height: 8px; margin-left: -1.5px; border-radius: 3px; background: var(--gold); animation: wheel 1.8s var(--ease) infinite; }
@keyframes wheel { 0% { opacity: 0; transform: translateY(-4px); } 30% { opacity: 1; } 100% { opacity: 0; transform: translateY(14px); } }

/* ---------- Marquee (vitesse pilotée par le scroll) ---------- */
.marquee { border-block: 1px solid var(--line); background: var(--ink-2); overflow: hidden; padding: 26px 0; }
.marquee__track { display: flex; width: max-content; align-items: center; gap: 34px; will-change: transform; }
html:not(.anim) .marquee__track { animation: marquee 38s linear infinite; }
.marquee span { font-family: var(--serif); font-size: clamp(1.5rem, 3vw, 2.4rem); white-space: nowrap; color: transparent; -webkit-text-stroke: 1px rgba(234, 211, 159, .55); }
.marquee span:nth-of-type(3n+1) { color: var(--text); -webkit-text-stroke: 0; }
.marquee i { color: var(--gold); font-style: normal; font-size: .9rem; }
.marquee--big { padding: 40px 0; background: var(--gold); border: 0; transform: rotate(-2deg) scale(1.04); margin-block: 40px; }
.marquee--big span { font-size: clamp(2.6rem, 8vw, 7rem); color: var(--ink); -webkit-text-stroke: 0; }
.marquee--big span:nth-of-type(2n) { color: transparent; -webkit-text-stroke: 1.5px var(--ink); }
.marquee--big i { color: var(--ink); font-size: 2rem; }
@keyframes marquee { to { transform: translateX(-50%); } }

/* ---------- Reveal générique ---------- */
.reveal { transition: opacity 1s var(--ease), transform 1.1s var(--ease); transition-delay: var(--d, 0s); }
html.anim .reveal { opacity: 0; transform: translateY(40px); }
html.anim .reveal.is-in { opacity: 1; transform: none; }

/* Révélation d'image par blocs (comme un mur qu'on démonte) */
[data-blocks] { position: relative; }
.blocks-cover { position: absolute; inset: 0; z-index: 2; display: grid; pointer-events: none; }
.blocks-cover i { background: var(--ink); box-shadow: inset 0 0 0 1px rgba(207, 169, 104, .12); }

/* =========================================================
   Savoir-faire
   ========================================================= */
.statement {
  font-family: var(--serif);
  font-size: clamp(1.9rem, 4.4vw, 4rem);
  line-height: 1.12;
  letter-spacing: -.01em;
  color: var(--text);
  max-width: 22ch;
  margin: 0 0 clamp(60px, 9vw, 120px);
}
.statement .w { display: inline-block; }
.about__grid { display: grid; grid-template-columns: 1fr 1.05fr; gap: clamp(40px, 7vw, 110px); align-items: center; }
.about__media { position: relative; aspect-ratio: 4 / 4.6; }
.about__img { position: absolute; margin: 0; border-radius: var(--radius); overflow: hidden; box-shadow: 0 40px 80px -30px rgba(0, 0, 0, .7); }
.about__img img { width: 100%; height: 115%; object-fit: cover; margin-top: -7%; }
.about__img--a { inset: 0 18% 22% 0; }
.about__img--b { inset: 55% 0 0 30%; border: 6px solid var(--ink); }
.about__stamp { position: absolute; left: -26px; bottom: 6%; width: 150px; height: 150px; display: grid; place-items: center; z-index: 3; background: var(--ink); border-radius: 50%; border: 1px solid var(--line); }
.about__stamp svg { position: absolute; inset: 0; animation: spin 22s linear infinite; }
.about__stamp text { fill: var(--gold); font-size: 15.5px; letter-spacing: 3px; font-family: var(--sans); font-weight: 700; }
.about__stamp img { width: 56px; }

.teams { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; margin-top: 30px; perspective: 900px; }
.team {
  position: relative; padding: 28px 26px 26px; border-radius: var(--radius);
  background: linear-gradient(160deg, var(--ink-3), var(--ink-2));
  border: 1px solid var(--line);
  transform-style: preserve-3d;
  transition: border-color .4s, box-shadow .4s, transform .5s var(--ease), opacity 1s var(--ease);
  overflow: hidden;
}
.team::before { content: ""; position: absolute; inset: 0; background: radial-gradient(400px circle at var(--mx, 50%) var(--my, 0%), rgba(207, 169, 104, .16), transparent 45%); opacity: 0; transition: opacity .4s; }
.team:hover { border-color: var(--line-2); box-shadow: 0 30px 60px -30px rgba(0, 0, 0, .8); }
.team:hover::before { opacity: 1; }
.team__num { display: inline-block; font-size: .7rem; letter-spacing: .2em; text-transform: uppercase; font-weight: 800; color: var(--ink); background: var(--gold); padding: 5px 10px; border-radius: 100px; margin-bottom: 16px; }
.team h3 { font-family: var(--serif); font-weight: 400; font-size: 1.55rem; line-height: 1.1; margin: 0 0 .5em; }
.team p { font-size: .94rem; }
.team ul { list-style: none; padding: 0; margin: 0; display: grid; gap: 6px; }
.team li { font-size: .88rem; font-weight: 600; display: flex; align-items: center; gap: 10px; }
.team li::before { content: ""; width: 14px; height: 1px; background: var(--gold); }

/* ---------- Chiffres ---------- */
.stats { border-block: 1px solid var(--line); background: var(--ink-2); }
.stats__grid { display: grid; grid-template-columns: repeat(4, 1fr); }
.stat { padding: clamp(28px, 5vw, 56px) 20px; text-align: center; border-right: 1px solid var(--line); }
.stat:last-child { border-right: 0; }
.stat strong { display: block; font-family: var(--serif); font-weight: 400; font-size: clamp(2.8rem, 6vw, 4.8rem); line-height: 1; color: var(--gold-2); }
.stat strong small { font-size: .45em; color: var(--gold); margin-left: 2px; }
.stat > span { display: block; margin-top: 10px; font-size: .85rem; color: var(--muted); letter-spacing: .04em; }

/* =========================================================
   Zoom « BÂTIR »
   ========================================================= */
.zoom { position: relative; height: 320vh; background: var(--ink); }
.zoom__sticky { position: sticky; top: 0; height: 100vh; height: 100svh; overflow: hidden; }
.zoom__bg { position: absolute; inset: 0; }
.zoom__bg img { width: 100%; height: 100%; object-fit: cover; will-change: transform; }
.zoom__shade { position: absolute; inset: 0; background: rgba(13, 12, 11, .0); }
.zoom__svg { position: absolute; inset: 0; width: 100%; height: 100%; }
.zoom__svg text { font-family: var(--serif); }
.zoom__kicker { position: absolute; left: 0; right: 0; top: 14vh; text-align: center; margin: 0; display: grid; gap: 6px; }
.zoom__kicker span { font-size: .8rem; letter-spacing: .3em; text-transform: uppercase; color: var(--gold); font-weight: 700; }
.zoom__kicker small { color: var(--muted); font-size: .8rem; }
.zoom__after { position: absolute; inset: auto 0 0; padding: 0 var(--gutter) 12vh; text-align: center; opacity: 0; }
.zoom__after .eyebrow::before { display: none; }
.zoom__after .h2 { font-size: clamp(2.4rem, 6.4vw, 5.6rem); text-shadow: 0 10px 40px rgba(0, 0, 0, .6); }
.zoom__after p:last-child { color: #e2dacb; max-width: 520px; margin-inline: auto; }

/* =========================================================
   La maison qui se construit
   ========================================================= */
.build { position: relative; height: 620vh; background: radial-gradient(ellipse at 70% 40%, #1a1714, var(--ink) 70%); }
.build__sticky { position: sticky; top: 0; height: 100vh; height: 100svh; overflow: hidden; display: flex; align-items: center; padding-top: 60px; }
.build__grid { display: grid; grid-template-columns: minmax(280px, .78fr) 1.5fr; gap: clamp(24px, 4vw, 60px); align-items: center; }

.build__progress { display: grid; grid-template-columns: 1fr auto; align-items: end; gap: 6px 10px; margin-bottom: 28px; }
.build__progress > span { font-size: .72rem; letter-spacing: .22em; text-transform: uppercase; color: var(--gold); font-weight: 700; }
.build__progress strong { font-family: var(--serif); font-weight: 400; font-size: clamp(2.8rem, 5vw, 4.4rem); line-height: .9; color: var(--gold-2); font-variant-numeric: tabular-nums; }
.build__progress strong small { font-size: .4em; color: var(--gold); }
.build__progress i { grid-column: 1 / -1; height: 3px; background: var(--line); border-radius: 3px; overflow: hidden; }
.build__progress b { display: block; height: 100%; width: 100%; background: linear-gradient(90deg, var(--gold-3), var(--gold-2)); transform-origin: 0 50%; transform: scaleX(0); }

.build__steps { position: relative; min-height: 190px; }
.bstep { position: absolute; inset: 0 0 auto; opacity: 0; transform: translateY(30px); transition: opacity .6s var(--ease), transform .8s var(--ease); pointer-events: none; }
.bstep.is-active { opacity: 1; transform: none; }
.bstep.is-past { transform: translateY(-30px); }
.bstep__n { font-family: var(--serif); font-size: 1rem; color: var(--gold); display: block; margin-bottom: 6px; }
.bstep__n::after { content: " / 06"; color: var(--muted-2); }
.bstep h3 { font-family: var(--serif); font-weight: 400; font-size: clamp(1.8rem, 3vw, 2.6rem); line-height: 1.05; margin: 0 0 .4em; }
.bstep p { font-size: .98rem; margin: 0; }

.build__photos { position: relative; margin-top: 26px; aspect-ratio: 16 / 10; border-radius: 14px; overflow: hidden; border: 1px solid var(--line); max-width: 360px; }
.build__photos img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; clip-path: inset(0 0 100% 0); transform: scale(1.2); transition: clip-path 1s var(--ease-io), transform 1.4s var(--ease); }
.build__photos img.is-active { clip-path: inset(0 0 0 0); transform: none; z-index: 1; }
.build__photos-tag { position: absolute; left: 10px; bottom: 10px; z-index: 2; font-size: .62rem; letter-spacing: .16em; text-transform: uppercase; font-weight: 800; color: var(--ink); background: var(--gold); padding: 4px 8px; border-radius: 4px; }

.build__stage { position: relative; aspect-ratio: 4 / 3; border-radius: 24px; overflow: hidden; border: 1px solid var(--line); background: linear-gradient(180deg, #0f1420 0%, #151a22 55%, #1a1714 100%); box-shadow: 0 50px 100px -40px rgba(0, 0, 0, .9); }
.build__sky { position: absolute; inset: 0 0 21.6% 0; background: linear-gradient(180deg, #2a1d2e 0%, #a3573a 45%, #e8a35a 75%, #f2c27a 100%); opacity: 0; }
.build__stage::after { content: ""; position: absolute; inset: 0; background: radial-gradient(ellipse at 50% 120%, rgba(207, 169, 104, .12), transparent 60%); pointer-events: none; }
.build__stage svg { position: relative; z-index: 1; width: 100%; height: 100%; display: block; }
.build__stage .tag path { fill: none; stroke: var(--gold); stroke-width: 1; }
.build__stage .tag text { fill: var(--cream); font-family: var(--sans); font-size: 13px; font-weight: 700; letter-spacing: .04em; }
.build__stage .final text { fill: var(--gold-2); font-family: var(--serif); font-size: 24px; }

/* =========================================================
   Services : grande liste
   ========================================================= */
.services { background: var(--cream); color: var(--dark-text); }
.services p { color: #5b544a; }
.services .eyebrow { color: var(--gold-3); }
.services .h2 em { background-image: linear-gradient(100deg, #7d5d2c 0%, #b88f4c 45%, #8f6c35 60%, #6b4e22 100%); background-size: 220% 100%; }
.section-head { max-width: 760px; margin-bottom: clamp(40px, 6vw, 70px); }
.section-head--split { max-width: none; display: grid; grid-template-columns: 1.1fr 1fr; gap: 40px; align-items: end; }
.section-head--center { text-align: center; margin-inline: auto; }
.section-head--center .eyebrow::before { display: none; }
.section-head__intro { font-size: 1.08rem; max-width: 520px; }

.svc-list { list-style: none; margin: 0; padding: 0; border-top: 1px solid rgba(26, 23, 20, .15); }
.svc-row { border-bottom: 1px solid rgba(26, 23, 20, .15); }
.svc-row a {
  position: relative; isolation: isolate; overflow: hidden;
  display: grid; grid-template-columns: 70px 1fr minmax(200px, 320px) 60px; align-items: center; gap: 20px;
  padding: clamp(22px, 3vw, 38px) 16px;
  transition: color .5s var(--ease);
}
.svc-row a::before { content: ""; position: absolute; inset: 0; z-index: -1; background: var(--ink); transform: scaleY(0); transform-origin: 50% 100%; transition: transform .6s var(--ease); }
.svc-row a:hover { color: var(--cream); }
.svc-row a:hover::before { transform: scaleY(1); transform-origin: 50% 0; }
.svc-row__n { font-family: var(--serif); color: var(--gold-3); font-size: 1.1rem; }
.svc-row__t { font-family: var(--serif); font-size: clamp(1.8rem, 4.4vw, 3.8rem); line-height: 1.02; transition: transform .6s var(--ease), color .5s; }
.svc-row a:hover .svc-row__t { transform: translateX(24px); color: var(--gold-2); }
.svc-row__d { font-size: .95rem; color: #5b544a; transition: color .5s; }
.svc-row a:hover .svc-row__d { color: #cfc6b6; }
.svc-row__go { width: 54px; height: 54px; border-radius: 50%; border: 1px solid rgba(26, 23, 20, .25); display: grid; place-items: center; font-size: 1.3rem; transition: background .4s, color .4s, transform .6s var(--ease), border-color .4s; }
.svc-row a:hover .svc-row__go { background: var(--gold); color: var(--ink); border-color: var(--gold); transform: rotate(-45deg); }
.svc-row__thumb { display: none; }

.svc-preview { position: fixed; left: 0; top: 0; z-index: 60; width: 340px; height: 240px; margin: -120px 0 0 -170px; pointer-events: none; }
.svc-preview__inner { width: 100%; height: 100%; border-radius: 16px; overflow: hidden; transform: scale(0); transition: transform .5s var(--ease); box-shadow: 0 30px 60px rgba(0, 0, 0, .45); }
.svc-preview.is-on .svc-preview__inner { transform: scale(1); }
.svc-preview img { width: 100%; height: 100%; object-fit: cover; }

/* =========================================================
   Galerie
   ========================================================= */
.works { background: linear-gradient(180deg, var(--ink) 0%, var(--ink-2) 100%); }
.filters { display: flex; flex-wrap: wrap; gap: 10px; margin-bottom: 34px; }
.filter { padding: .7em 1.25em; border-radius: 100px; border: 1px solid var(--line-2); font-size: .9rem; font-weight: 600; transition: background .35s, color .35s, border-color .35s; }
.filter sup { font-size: .68em; color: var(--gold); margin-left: 3px; transition: color .35s; }
.filter:hover { border-color: var(--gold); }
.filter.is-active { background: var(--gold); border-color: var(--gold); color: var(--ink); }
.filter.is-active sup { color: var(--ink); }

.gallery { display: grid; grid-template-columns: repeat(4, 1fr); grid-auto-rows: clamp(170px, 18vw, 250px); grid-auto-flow: dense; gap: 14px; }
.shot { position: relative; margin: 0; border-radius: 14px; overflow: hidden; background: var(--ink-3); }
.shot.wide { grid-column: span 2; }
.shot.tall { grid-row: span 2; }
.shot.is-hidden { display: none; }
.shot button { display: block; width: 100%; height: 100%; cursor: pointer; }
.shot img { width: 100%; height: 100%; object-fit: cover; transition: transform 1s var(--ease); }
.shot:hover img { transform: scale(1.08); }
.shot figcaption {
  position: absolute; left: 0; right: 0; bottom: 0; padding: 50px 18px 16px;
  background: linear-gradient(180deg, transparent, rgba(13, 12, 11, .9));
  font-family: var(--serif); font-size: 1.15rem; line-height: 1.15; pointer-events: none;
  transform: translateY(12px); opacity: 0; transition: transform .5s var(--ease), opacity .5s;
}
.shot figcaption span { display: block; font-family: var(--sans); font-size: .66rem; font-weight: 800; letter-spacing: .18em; text-transform: uppercase; color: var(--gold); margin-bottom: 5px; }
.shot:hover figcaption, .shot:focus-within figcaption { transform: none; opacity: 1; }
@media (hover: none) { .shot figcaption { opacity: 1; transform: none; } }
.gallery-more { text-align: center; margin-top: 40px; }
.gallery-more[hidden] { display: none; }

/* ---------- Visionneuse ---------- */
.lightbox { width: 100vw; height: 100vh; max-width: none; max-height: none; margin: 0; padding: 0; border: 0; background: rgba(8, 7, 6, .96); color: var(--text); }
.lightbox[open] { display: grid; place-items: center; animation: fadeIn .35s; }
@keyframes fadeIn { from { opacity: 0; } }
.lightbox::backdrop { background: rgba(0, 0, 0, .6); }
.lightbox figure { margin: 0; max-width: min(92vw, 1500px); display: grid; justify-items: center; gap: 16px; }
.lightbox img { max-height: 80vh; width: auto; border-radius: 10px; box-shadow: 0 30px 80px rgba(0, 0, 0, .6); animation: lbIn .6s var(--ease); }
@keyframes lbIn { from { transform: scale(.94); filter: blur(6px); } }
.lightbox figcaption { font-family: var(--serif); font-size: 1.3rem; text-align: center; }
.lightbox figcaption span { display: block; font-family: var(--sans); font-size: .68rem; font-weight: 800; letter-spacing: .18em; text-transform: uppercase; color: var(--gold); }
.lb-close, .lb-nav { position: fixed; display: grid; place-items: center; width: 54px; height: 54px; border-radius: 50%; border: 1px solid var(--line-2); font-size: 1.8rem; line-height: 1; transition: background .3s, color .3s; z-index: 2; }
.lb-close:hover, .lb-nav:hover { background: var(--gold); color: var(--ink); }
.lb-close { top: 20px; right: 20px; }
.lb-prev { left: 20px; top: 50%; margin-top: -27px; }
.lb-next { right: 20px; top: 50%; margin-top: -27px; }
.lb-count { position: fixed; top: 34px; left: 28px; font-size: .8rem; letter-spacing: .2em; color: var(--muted); }

/* ---------- Avis ---------- */
.reviews { background: var(--ink-2); overflow: hidden; }
.reviews::before { content: "“"; position: absolute; top: 2%; left: 50%; transform: translateX(-50%); font-family: var(--serif); font-size: 32rem; line-height: 1; color: rgba(207, 169, 104, .05); pointer-events: none; }
.reviews__grid { display: grid; grid-template-columns: 1.2fr 1fr 1fr; gap: 20px; align-items: stretch; }
.review { margin: 0; padding: 34px 30px; border-radius: var(--radius); background: var(--ink-3); border: 1px solid var(--line); display: flex; flex-direction: column; transition: border-color .4s, transform .5s var(--ease), opacity 1s var(--ease); }
.review:hover { border-color: var(--line-2); transform: translateY(-6px) rotate(-.5deg); }
.review__stars { color: var(--gold); letter-spacing: 4px; margin-bottom: 16px; }
.review p { font-family: var(--serif); font-size: 1.28rem; line-height: 1.4; color: var(--text); flex: 1; }
.review footer { display: flex; align-items: center; gap: 14px; margin-top: 18px; }
.review__avatar { width: 44px; height: 44px; border-radius: 50%; display: grid; place-items: center; background: linear-gradient(135deg, var(--gold-2), var(--gold-3)); color: var(--ink); font-weight: 800; }
.review footer small { display: block; color: var(--muted); font-size: .8rem; }
.reviews__more { text-align: center; margin-top: 40px; }

/* ---------- Bandeau CTA ---------- */
.cta-band { position: relative; overflow: hidden; padding-block: clamp(110px, 16vw, 200px); text-align: center; isolation: isolate; }
.cta-band__bg { position: absolute; inset: -15% 0; z-index: -2; }
.cta-band__bg img { width: 100%; height: 100%; object-fit: cover; }
.cta-band::after { content: ""; position: absolute; inset: 0; z-index: -1; background: radial-gradient(ellipse at center, rgba(13, 12, 11, .55), rgba(13, 12, 11, .92) 75%); }
.cta-band__inner { max-width: 900px; }
.cta-band .h2 { font-size: clamp(2.4rem, 6.4vw, 5.4rem); }
.cta-band__title .w { display: inline-block; overflow: hidden; vertical-align: top; padding-bottom: .08em; }
.cta-band__title .w > span { display: inline-block; }
.cta-band p { color: #d6cebf; font-size: 1.1rem; max-width: 600px; margin: 0 auto 2em; }
.cta-round { position: relative; width: 190px; height: 190px; display: inline-grid; place-items: center; border-radius: 50%; }
.cta-round svg { position: absolute; inset: 0; animation: spin 14s linear infinite; }
.cta-round text { fill: var(--gold-2); font-size: 13.5px; letter-spacing: 3.4px; font-family: var(--sans); font-weight: 800; }
.cta-round > span { width: 118px; height: 118px; border-radius: 50%; display: grid; place-items: center; background: linear-gradient(140deg, var(--gold-2), var(--gold) 50%, var(--gold-3)); color: var(--ink); font-family: var(--serif); font-size: 1.35rem; line-height: 1.05; box-shadow: 0 20px 50px -10px rgba(207, 169, 104, .6); transition: transform .5s var(--ease); animation: pulse 2.4s infinite; }
.cta-round:hover > span { transform: scale(1.1); }

/* ---------- Contact ---------- */
.contact__grid { display: grid; grid-template-columns: 1fr 1.05fr; gap: clamp(40px, 6vw, 90px); align-items: start; }
.info-list { list-style: none; padding: 0; margin: 34px 0; display: grid; gap: 14px; }
.info-list li { display: flex; gap: 16px; align-items: center; padding: 14px 16px; border-radius: 14px; border: 1px solid var(--line); background: var(--ink-2); transition: border-color .3s, transform .4s var(--ease), opacity 1s var(--ease); }
.info-list li:hover { border-color: var(--line-2); }
.info-list small { display: block; font-size: .7rem; letter-spacing: .16em; text-transform: uppercase; color: var(--gold); font-weight: 700; }
.info-list a { font-weight: 700; font-size: 1.1rem; }
.info-list__ic { flex: 0 0 auto; width: 46px; height: 46px; border-radius: 12px; display: grid; place-items: center; background: rgba(207, 169, 104, .1); }
.info-list__ic svg { width: 22px; height: 22px; fill: none; stroke: var(--gold); stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.contact__map { border-radius: var(--radius); overflow: hidden; border: 1px solid var(--line); height: 240px; }
.contact__map iframe { width: 100%; height: 100%; border: 0; filter: grayscale(1) invert(.92) sepia(.25) contrast(.9); }

.form { padding: clamp(26px, 4vw, 46px); border-radius: 24px; background: linear-gradient(160deg, var(--ink-3), var(--ink-2)); border: 1px solid var(--line); box-shadow: 0 40px 80px -40px rgba(0, 0, 0, .8); position: sticky; top: 100px; }
.form h3 { font-family: var(--serif); font-weight: 400; font-size: 1.9rem; margin: 0 0 24px; }
.form__row { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.field { margin: 0 0 16px; border: 0; padding: 0; min-width: 0; }
.field label, .field legend { display: block; font-size: .8rem; font-weight: 700; letter-spacing: .04em; margin-bottom: 7px; color: var(--muted); padding: 0; }
.field input, .field textarea {
  width: 100%; padding: 14px 16px; border-radius: 12px;
  background: rgba(0, 0, 0, .25); border: 1px solid var(--line);
  color: var(--text); font: inherit; font-size: 1rem;
  transition: border-color .3s, background .3s, box-shadow .3s;
}
.field textarea { resize: vertical; min-height: 120px; }
.field input:focus, .field textarea:focus { outline: none; border-color: var(--gold); background: rgba(0, 0, 0, .35); box-shadow: 0 0 0 4px rgba(207, 169, 104, .12); }
.field.has-error input, .field.has-error textarea { border-color: #e0795f; }
.field .err { display: block; color: #ec8d74; font-size: .8rem; margin-top: 5px; }
.pills { display: flex; flex-wrap: wrap; gap: 8px; }
.pills label { margin: 0; cursor: pointer; position: relative; }
.pills input { position: absolute; left: 0; top: 0; width: 1px; height: 1px; padding: 0; opacity: 0; pointer-events: none; }
.pills span { display: inline-block; padding: 8px 14px; border-radius: 100px; border: 1px solid var(--line-2); font-size: .85rem; font-weight: 600; transition: background .3s, color .3s, border-color .3s, transform .3s var(--ease); }
.pills input:checked + span { background: var(--gold); color: var(--ink); border-color: var(--gold); transform: scale(1.04); }
.pills input:focus-visible + span { outline: 2px solid var(--gold); outline-offset: 2px; }
.consent { display: flex; gap: 12px; align-items: flex-start; font-size: .82rem; color: var(--muted); margin: 6px 0 22px; cursor: pointer; }
.consent input { accent-color: var(--gold); width: 18px; height: 18px; margin-top: 2px; flex: 0 0 auto; }
.consent.has-error { color: #ec8d74; }
.hp { position: absolute; left: -9999px; }
.form__msg { margin: 14px 0 0; font-size: .92rem; text-align: center; min-height: 1.4em; }
.form__msg.ok { color: #9fd49a; }
.form__msg.err { color: #ec8d74; }

/* ---------- Pied de page ---------- */
.footer { position: relative; background: #090807; border-top: 1px solid var(--line); padding-top: 80px; overflow: hidden; }
.footer__grid { display: grid; grid-template-columns: 1.5fr 1fr 1fr 1fr; gap: 40px; }
.footer__brand img { width: 120px; margin-bottom: 18px; }
.footer__brand p { max-width: 320px; font-size: .92rem; }
.footer h4 { font-size: .74rem; letter-spacing: .2em; text-transform: uppercase; color: var(--gold); margin: 0 0 18px; }
.footer ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; font-size: .94rem; color: var(--muted); }
.footer a { transition: color .3s; }
.footer a:hover { color: var(--gold-2); }
.footer__bottom { display: flex; justify-content: space-between; flex-wrap: wrap; gap: 12px; margin-top: 60px; padding-block: 24px; border-top: 1px solid var(--line); font-size: .82rem; color: var(--muted-2); position: relative; z-index: 1; }
.footer__giant { font-family: var(--serif); font-size: clamp(3rem, 12.5vw, 13rem); line-height: .8; text-align: center; white-space: nowrap; color: transparent; -webkit-text-stroke: 1px rgba(207, 169, 104, .22); margin-bottom: -.12em; user-select: none; overflow: hidden; }
.footer__giant .gch { display: inline-block; }

.mobile-bar { display: none; }

/* =========================================================
   Responsive
   ========================================================= */
@media (max-width: 1080px) {
  .gallery { grid-template-columns: repeat(3, 1fr); }
  .reviews__grid { grid-template-columns: 1fr 1fr; }
  .reviews__grid .review:first-child { grid-column: 1 / -1; }
  .footer__grid { grid-template-columns: 1fr 1fr; }
  .build__grid { grid-template-columns: 1fr 1.3fr; }
  .build__photos { display: none; }
}

@media (max-width: 900px) {
  :root { --header-h: 72px; }
  .burger { display: block; }
  .nav {
    position: fixed; inset: 0; z-index: 1;
    flex-direction: column; justify-content: center; gap: 22px;
    background: rgba(13, 12, 11, .97); backdrop-filter: blur(10px);
    clip-path: circle(0 at calc(100% - 46px) 36px);
    transition: clip-path .8s var(--ease-io);
  }
  .nav.is-open { clip-path: circle(150% at calc(100% - 46px) 36px); }
  .nav a:not(.btn) { font-family: var(--serif); font-size: 2.1rem; font-weight: 400; opacity: 0; transform: translateY(20px); transition: opacity .5s, transform .6s var(--ease); }
  .nav.is-open a:not(.btn) { opacity: 1; transform: none; }
  .nav.is-open a:nth-child(2) { transition-delay: .05s; } .nav.is-open a:nth-child(3) { transition-delay: .1s; } .nav.is-open a:nth-child(4) { transition-delay: .15s; } .nav.is-open a:nth-child(5) { transition-delay: .2s; }
  .nav .btn { margin-top: 10px; }
  .brand__txt strong { font-size: 1.15rem; }

  .hero__stamp { width: 110px; height: 110px; bottom: auto; top: calc(var(--header-h) + 10px); right: 14px; }
  .hero__stamp text { font-size: 15px; }
  .hero__stamp-core { width: 54px; height: 54px; }

  .about__grid, .contact__grid, .section-head--split { grid-template-columns: 1fr; }
  .about__media { max-width: 560px; width: 100%; }
  .about__stamp { left: auto; right: 8px; bottom: auto; top: -30px; width: 120px; height: 120px; }
  .about__stamp text { font-size: 15px; }
  .stats__grid { grid-template-columns: 1fr 1fr; }
  .stat:nth-child(2) { border-right: 0; }
  .stat:nth-child(-n+2) { border-bottom: 1px solid var(--line); }

  .build__sticky { align-items: flex-start; padding-top: calc(var(--header-h) + 6px); }
  .build__grid { grid-template-columns: 1fr; gap: 14px; }
  .build__stage { order: -1; aspect-ratio: 4 / 3.1; border-radius: 18px; }
  .build__progress { margin-bottom: 10px; }
  .build__progress strong { font-size: 2.4rem; }
  .build__steps { min-height: 150px; }
  .bstep h3 { font-size: 1.6rem; }
  .bstep p { font-size: .9rem; }

  .svc-row a { grid-template-columns: 64px 1fr 44px; gap: 14px; padding: 18px 4px; }
  .svc-row__n { display: none; }
  .svc-row__thumb { display: block; width: 64px; height: 64px; object-fit: cover; border-radius: 12px; }
  .svc-row__t { font-size: 1.45rem; }
  .svc-row__d { grid-column: 2 / 3; font-size: .85rem; margin-top: -10px; }
  .svc-row__go { width: 42px; height: 42px; grid-row: 1; grid-column: 3; }
  .svc-preview { display: none; }

  .form { position: static; }
  .mobile-bar {
    display: flex; gap: 10px;
    position: fixed; left: 12px; right: 12px; bottom: 12px; z-index: 90;
    padding: 8px; border-radius: 100px;
    background: rgba(20, 18, 16, .88); backdrop-filter: blur(12px); border: 1px solid var(--line);
    transform: translateY(150%); transition: transform .5s var(--ease);
  }
  .mobile-bar.is-visible { transform: none; }
  .mobile-bar .btn { flex: 1; padding: .85em 1em; }
  .footer { padding-bottom: 80px; }
}

@media (max-width: 640px) {
  body { font-size: 16px; }
  .hero__title { font-size: clamp(2.9rem, 13.5vw, 4.4rem); }
  .hero__cta .btn { flex: 1 1 100%; }
  .hero__dots { display: none; }
  .hero__stamp { display: none; }
  .teams { grid-template-columns: 1fr; }
  .gallery { grid-template-columns: 1fr 1fr; grid-auto-rows: 150px; gap: 10px; }
  .shot.wide { grid-column: span 2; }
  .shot figcaption { font-size: .95rem; padding: 40px 12px 10px; }
  .reviews__grid { grid-template-columns: 1fr; }
  .form__row { grid-template-columns: 1fr; gap: 0; }
  .footer__grid { grid-template-columns: 1fr; gap: 30px; }
  .lb-nav { top: auto; bottom: 20px; margin-top: 0; }
  .lightbox img { max-height: 70vh; }
  .marquee--big { padding: 24px 0; }
  .cta-round { width: 160px; height: 160px; }
  .cta-round > span { width: 100px; height: 100px; font-size: 1.15rem; }
}

/* Mots découpés à l'intérieur d'un <em> doré : le dégradé passe sur chaque mot */
.statement em, .cta-band__title em { background: none; -webkit-text-fill-color: currentColor; animation: none; color: var(--gold); }
.statement em .w, .cta-band__title em .w > span {
  background: linear-gradient(100deg, var(--gold-3) 0%, var(--gold-2) 45%, var(--gold) 60%, var(--gold-3) 100%);
  background-size: 220% 100%;
  -webkit-background-clip: text; background-clip: text;
  -webkit-text-fill-color: transparent;
  animation: shine 6s linear infinite;
}
@media (max-width: 900px) {
  .zoom { height: 260vh; }
  .build { height: 520vh; }
}

/* Menu mobile : le flou (backdrop-filter) de la barre défilée enfermait le menu
   plein écran dans la barre de 70 px. Sur mobile, on remplace le flou par un fond opaque. */
@media (max-width: 900px) {
  .header.is-scrolled { -webkit-backdrop-filter: none; backdrop-filter: none; background: rgba(13, 12, 11, .96); }
  .nav { height: 100vh; height: 100dvh; }
}

/* Contact : titre au-dessus, formulaire en premier, infos ensuite */
.contact__head { max-width: 760px; margin-bottom: clamp(30px, 4vw, 56px); scroll-margin-top: 90px; }
.contact__head p:last-child { margin-bottom: 0; }
.contact__grid { grid-template-columns: 1.1fr .9fr; }
.contact .form { position: static; }
.contact__info .info-list { margin-top: 0; }
@media (max-width: 900px) {
  .contact__grid { grid-template-columns: 1fr; }
}

/* Trois équipes : une rangée de trois cartes sous la photo et le texte */
.teams--three { grid-template-columns: repeat(3, 1fr); gap: 20px; margin-top: clamp(50px, 7vw, 90px); }
.teams--three .team { display: flex; flex-direction: column; }
.teams--three .team p { flex: 1; }
@media (max-width: 900px) { .teams--three { grid-template-columns: 1fr; } }

/* Six étapes dans l'animation de la maison : un peu plus de défilement */
.build { height: 700vh; }
@media (max-width: 900px) { .build { height: 600vh; } }

/* Titre d'accueil : « jusqu'à la toiture, » tient sur une ligne */
.hero__title { max-width: 15.4ch; }
@media (max-width: 640px) { .hero__title { font-size: clamp(2.5rem, 12vw, 4.4rem); } }

/* Avis : deux cartes */
.reviews__grid--two { grid-template-columns: 1.3fr 1fr; max-width: 1060px; margin-inline: auto; }
@media (max-width: 1080px) { .reviews__grid--two .review:first-child { grid-column: auto; } }
@media (max-width: 640px) { .reviews__grid--two { grid-template-columns: 1fr; } }

/* =========================================================
   Pages intérieures, menu des métiers, SEO
   ========================================================= */

/* Titre principal de l'accueil : la ligne « Maçon à Cholet » fait partie du H1 */
.hero__title .hero__eyebrow { display: flex; font-family: var(--sans); font-size: .78rem; line-height: 1.4; letter-spacing: .22em; font-weight: 700; margin: 0 0 1.4em; max-width: none; }

/* Menu : sous-menu des métiers */
.nav__drop { position: relative; }
.nav__drop-btn { display: inline-flex; align-items: center; gap: 6px; padding: 6px 0; font-size: .92rem; font-weight: 600; opacity: .85; transition: opacity .3s; }
.nav__drop-btn:hover, .nav__drop.is-open .nav__drop-btn { opacity: 1; }
.nav__drop-btn svg { width: 12px; height: 12px; fill: none; stroke: currentColor; stroke-width: 2.2; stroke-linecap: round; transition: transform .4s var(--ease); }
.nav__drop:hover .nav__drop-btn svg, .nav__drop.is-open .nav__drop-btn svg { transform: rotate(180deg); }
.nav__sub { position: absolute; top: calc(100% + 14px); left: 50%; min-width: 320px; list-style: none; margin: 0; padding: 10px; border-radius: 16px; background: rgba(20, 18, 16, .98); border: 1px solid var(--line); box-shadow: 0 30px 60px -20px rgba(0, 0, 0, .85); opacity: 0; visibility: hidden; transform: translate(-50%, 8px); transition: opacity .3s, transform .4s var(--ease), visibility .3s; }
.nav__sub::before { content: ""; position: absolute; left: 0; right: 0; top: -16px; height: 16px; }
.nav__drop:hover .nav__sub, .nav__drop:focus-within .nav__sub, .nav__drop.is-open .nav__sub { opacity: 1; visibility: visible; transform: translate(-50%, 0); }
.nav .nav__sub a { display: block; padding: 10px 14px; border-radius: 10px; font-size: .9rem; opacity: 1; }
.nav .nav__sub a::after { display: none; }
.nav .nav__sub a:hover, .nav .nav__sub a[aria-current="page"] { background: rgba(207, 169, 104, .1); color: var(--gold-2); }
.nav a[aria-current="page"] { opacity: 1; }
.nav > a[aria-current="page"]::after { transform: scaleX(1); }

@media (max-width: 900px) {
  .nav { justify-content: flex-start; padding: calc(var(--header-h) + 24px) 24px 40px; overflow-y: auto; gap: 16px; }
  .nav__drop { width: 100%; text-align: center; }
  .nav__drop-btn { pointer-events: none; opacity: 1; font-size: .72rem; letter-spacing: .22em; text-transform: uppercase; color: var(--gold); }
  .nav__drop-btn svg { display: none; }
  .nav__sub { position: static; min-width: 0; padding: 6px 0 0; background: none; border: 0; box-shadow: none; opacity: 1; visibility: visible; transform: none; display: grid; gap: 0; }
  .nav .nav__sub a { font-family: var(--serif); font-size: 1.3rem; font-weight: 400; padding: 6px; }
  .nav > a:not(.btn) { font-size: 1.7rem; }
}

/* En-tête des pages intérieures */
.phero { position: relative; isolation: isolate; overflow: hidden; min-height: 72vh; min-height: 72svh; display: flex; align-items: flex-end; padding: calc(var(--header-h) + 60px) 0 clamp(50px, 7vw, 90px); }
.phero__bg { position: absolute; inset: 0; z-index: -2; }
.phero__bg img { width: 100%; height: 100%; object-fit: cover; }
.phero::after { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(180deg, rgba(13, 12, 11, .78) 0%, rgba(13, 12, 11, .35) 40%, rgba(13, 12, 11, .55) 70%, var(--ink) 100%), linear-gradient(90deg, rgba(13, 12, 11, .85) 0%, rgba(13, 12, 11, .1) 75%); }
.phero h1 { font-family: var(--serif); font-weight: 400; font-size: clamp(2.5rem, 6vw, 5.4rem); line-height: 1.02; letter-spacing: -.015em; margin: 0 0 .4em; max-width: 17ch; }
.phero h1 em { color: var(--gold); background: linear-gradient(100deg, var(--gold-3) 0%, var(--gold-2) 45%, var(--gold) 60%, var(--gold-3) 100%); background-size: 220% 100%; -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent; animation: shine 6s linear infinite; padding-right: .06em; }
.phero__lead { max-width: 640px; font-size: clamp(1.02rem, 1.4vw, 1.18rem); color: #d9d1c3; }
.phero__cta { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 28px; }
.phero--short { min-height: 0; padding-bottom: clamp(40px, 5vw, 70px); }
.crumbs ol { list-style: none; margin: 0 0 22px; padding: 0; display: flex; flex-wrap: wrap; gap: 6px 10px; font-size: .8rem; color: var(--muted); }
.crumbs li + li::before { content: "/"; margin-right: 10px; color: var(--muted-2); }
.crumbs a { color: var(--gold); }
.crumbs a:hover { color: var(--gold-2); }

/* Contenu des pages */
.section--alt { background: var(--ink-2); border-block: 1px solid var(--line); }
.section--tight { padding-block: clamp(60px, 8vw, 110px); }
.split { display: grid; grid-template-columns: 1.1fr .9fr; gap: clamp(40px, 6vw, 90px); align-items: start; }
.split__media { position: sticky; top: 110px; display: grid; gap: 16px; }
.split__media img { width: 100%; border-radius: var(--radius); box-shadow: 0 40px 80px -40px rgba(0, 0, 0, .8); }
.prose p { font-size: 1.04rem; }
.prose h3 { font-family: var(--serif); font-weight: 400; font-size: 1.6rem; line-height: 1.15; margin: 1.6em 0 .5em; color: var(--text); }
.ticks { list-style: none; padding: 0; margin: 0 0 1.4em; display: grid; gap: 10px; }
.ticks li { position: relative; padding-left: 30px; color: var(--muted); }
.ticks li::before { content: ""; position: absolute; left: 0; top: .45em; width: 14px; height: 7px; border-left: 2px solid var(--gold); border-bottom: 2px solid var(--gold); transform: rotate(-45deg); }
.ticks strong { color: var(--text); }
.cards { display: grid; grid-template-columns: repeat(auto-fit, minmax(250px, 1fr)); gap: 18px; margin-top: 10px; }
.card { padding: 28px 26px; border-radius: var(--radius); background: linear-gradient(160deg, var(--ink-3), var(--ink-2)); border: 1px solid var(--line); transition: border-color .4s, transform .5s var(--ease), opacity 1s var(--ease); }
.card:hover { border-color: var(--line-2); }
.card h3 { font-family: var(--serif); font-weight: 400; font-size: 1.45rem; line-height: 1.15; margin: 0 0 .5em; }
.card p { font-size: .95rem; margin: 0; }
.steps-list { list-style: none; counter-reset: st; padding: 0; margin: 0; display: grid; gap: 14px; }
.steps-list li { counter-increment: st; display: grid; grid-template-columns: 54px 1fr; gap: 18px; align-items: start; padding: 20px; border-radius: 16px; border: 1px solid var(--line); background: var(--ink-2); }
.steps-list li::before { content: counter(st, decimal-leading-zero); width: 54px; height: 54px; border-radius: 50%; display: grid; place-items: center; font-family: var(--serif); font-size: 1.2rem; color: var(--ink); background: linear-gradient(140deg, var(--gold-2), var(--gold) 55%, var(--gold-3)); }
.steps-list h3 { font-family: var(--serif); font-weight: 400; font-size: 1.3rem; margin: 4px 0 .3em; }
.steps-list p { margin: 0; font-size: .96rem; }
.photos { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; }
.photo { margin: 0; }
.photo img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; border-radius: 14px; }
.photo figcaption { font-size: .82rem; color: var(--muted); margin-top: 8px; }
.faq { max-width: 860px; }
.faq details { border-bottom: 1px solid var(--line); }
.faq summary { list-style: none; cursor: pointer; display: flex; justify-content: space-between; align-items: center; gap: 20px; padding: 22px 0; font-family: var(--serif); font-size: clamp(1.15rem, 2vw, 1.4rem); line-height: 1.25; color: var(--text); }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; flex: 0 0 auto; width: 34px; height: 34px; border-radius: 50%; display: grid; place-items: center; border: 1px solid var(--line-2); color: var(--gold); font-family: var(--sans); transition: transform .4s var(--ease), background .3s; }
.faq details[open] summary::after { transform: rotate(45deg); background: rgba(207, 169, 104, .12); }
.faq details p { margin: 0 0 22px; max-width: 760px; }
.related { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 14px; }
.related a { display: flex; justify-content: space-between; align-items: center; gap: 14px; padding: 22px 24px; border-radius: 16px; border: 1px solid var(--line); background: var(--ink-2); font-weight: 700; transition: border-color .3s, background .3s, transform .4s var(--ease); }
.related a span { color: var(--gold); transition: transform .4s var(--ease); }
.related a:hover { border-color: var(--gold); background: rgba(207, 169, 104, .07); transform: translateY(-3px); }
.related a:hover span { transform: translateX(4px); }
.cta-strip { text-align: center; }
.cta-strip .h2 { max-width: 18ch; margin-inline: auto; }
.cta-strip p { max-width: 620px; margin: 0 auto 28px; }
.cta-strip__btns { display: flex; flex-wrap: wrap; justify-content: center; gap: 14px; }
.zone-groups { display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: 18px; }
.zone-groups .card ul { list-style: none; padding: 0; margin: 12px 0 0; display: grid; gap: 6px; color: var(--muted); font-size: .95rem; }

/* Pages légales et 404 */
.legal { padding: calc(var(--header-h) + 60px) 0 100px; }
.legal .container { max-width: 820px; }
.legal h1 { font-family: var(--serif); font-weight: 400; font-size: clamp(2.4rem, 6vw, 3.8rem); line-height: 1.05; margin: 0 0 40px; }
.legal h2 { font-family: var(--serif); font-weight: 400; font-size: 1.6rem; margin: 44px 0 14px; padding-top: 24px; border-top: 1px solid var(--line); color: var(--gold-2); }
.legal dl { display: grid; grid-template-columns: 230px 1fr; gap: 10px 20px; margin: 0; }
.legal dt { font-weight: 700; color: var(--text); }
.legal dd { margin: 0; color: var(--muted); }
.legal a { color: var(--gold); }
.todo { background: rgba(207, 169, 104, .15); color: var(--gold-2); padding: 1px 7px; border-radius: 4px; font-size: .85em; }
.e404 { min-height: 100vh; min-height: 100svh; display: grid; place-items: center; text-align: center; padding: calc(var(--header-h) + 40px) var(--gutter) 60px; }
.e404__code { font-family: var(--serif); font-size: clamp(6rem, 22vw, 15rem); line-height: .9; color: transparent; -webkit-text-stroke: 1.5px var(--gold); margin: 0; }
.e404 .related { margin-top: 30px; text-align: left; }

/* Équipes : liens vers les pages métiers */
.team .team__links { list-style: none; padding: 16px 0 0; margin: 16px 0 0; border-top: 1px solid var(--line); display: grid; gap: 6px; }
.team .team__links li::before { display: none; }
.team__links a { color: var(--gold); font-size: .88rem; font-weight: 700; }
.team__links a:hover { color: var(--gold-2); }
.footer__credit a { color: var(--gold); }
/* Mobile : une adresse longue (e-mail) ne doit jamais élargir la grille et couper le formulaire */
.contact__grid > *, .footer__grid > *, .split > *, .info-list li > span:last-child { min-width: 0; }
.info-list a, .footer a, .legal a, .legal dd { overflow-wrap: anywhere; }
@media (max-width: 900px) {
  .contact__grid, .legal dl { grid-template-columns: minmax(0, 1fr); }
}
@media (max-width: 640px) {
  .footer__grid { grid-template-columns: minmax(0, 1fr); }
  .info-list a[href^="mailto"] { font-size: 1rem; }
}
.footer .footer__h { font-family: var(--sans); font-size: .74rem; font-weight: 700; letter-spacing: .2em; text-transform: uppercase; color: var(--gold); margin: 0 0 18px; }

@media (max-width: 900px) {
  .split { grid-template-columns: 1fr; }
  .split__media { position: static; }
  .photos { grid-template-columns: 1fr 1fr; }
  .legal dl { grid-template-columns: 1fr; }
  .legal dd { margin-bottom: 10px; }
}
@media (max-width: 640px) {
  .photos { grid-template-columns: 1fr; }
  .phero { min-height: 64svh; }
  .phero__cta .btn { flex: 1 1 100%; }
}
