/* =========================================================
   Vector Rénovation — feuille de style principale
   Palette : anthracite / pierre / laiton
   ========================================================= */

/* ---------- Polices (hébergées dans assets/fonts) ---------- */
@font-face { font-family: "Playfair Display"; font-style: normal; font-weight: 400; font-display: swap; src: url("../fonts/playfair-display-latin-400-normal.woff2") format("woff2"); }
@font-face { font-family: "Playfair Display"; font-style: italic; font-weight: 400; font-display: swap; src: url("../fonts/playfair-display-latin-400-italic.woff2") format("woff2"); }
@font-face { font-family: "Playfair Display"; font-style: normal; font-weight: 500; font-display: swap; src: url("../fonts/playfair-display-latin-500-normal.woff2") format("woff2"); }
@font-face { font-family: "Playfair Display"; font-style: italic; font-weight: 500; font-display: swap; src: url("../fonts/playfair-display-latin-500-italic.woff2") format("woff2"); }
@font-face { font-family: "Playfair Display"; font-style: normal; font-weight: 600; font-display: swap; src: url("../fonts/playfair-display-latin-600-normal.woff2") format("woff2"); }
@font-face { font-family: "Playfair Display"; font-style: italic; font-weight: 600; font-display: swap; src: url("../fonts/playfair-display-latin-600-italic.woff2") format("woff2"); }
@font-face { font-family: "Manrope"; font-style: normal; font-weight: 300; font-display: swap; src: url("../fonts/manrope-latin-300-normal.woff2") format("woff2"); }
@font-face { font-family: "Manrope"; font-style: normal; font-weight: 400; font-display: swap; src: url("../fonts/manrope-latin-400-normal.woff2") format("woff2"); }
@font-face { font-family: "Manrope"; font-style: normal; font-weight: 500; font-display: swap; src: url("../fonts/manrope-latin-500-normal.woff2") format("woff2"); }
@font-face { font-family: "Manrope"; font-style: normal; font-weight: 600; font-display: swap; src: url("../fonts/manrope-latin-600-normal.woff2") format("woff2"); }
@font-face { font-family: "Manrope"; font-style: normal; font-weight: 700; font-display: swap; src: url("../fonts/manrope-latin-700-normal.woff2") format("woff2"); }

/* Caractères spéciaux (&, €, flèches) : affichés en Manrope, plus sobres que ceux de Playfair (déclarés après Playfair, mêmes graisses) */
@font-face { font-family: "Playfair Display"; font-style: normal; font-weight: 400; font-display: swap; src: url("../fonts/manrope-latin-500-normal.woff2") format("woff2"); unicode-range: U+0026, U+20AC, U+2190-2193; }
@font-face { font-family: "Playfair Display"; font-style: italic; font-weight: 400; font-display: swap; src: url("../fonts/manrope-latin-500-normal.woff2") format("woff2"); unicode-range: U+0026, U+20AC, U+2190-2193; }
@font-face { font-family: "Playfair Display"; font-style: normal; font-weight: 500; font-display: swap; src: url("../fonts/manrope-latin-500-normal.woff2") format("woff2"); unicode-range: U+0026, U+20AC, U+2190-2193; }
@font-face { font-family: "Playfair Display"; font-style: italic; font-weight: 500; font-display: swap; src: url("../fonts/manrope-latin-500-normal.woff2") format("woff2"); unicode-range: U+0026, U+20AC, U+2190-2193; }
@font-face { font-family: "Playfair Display"; font-style: normal; font-weight: 600; font-display: swap; src: url("../fonts/manrope-latin-500-normal.woff2") format("woff2"); unicode-range: U+0026, U+20AC, U+2190-2193; }
@font-face { font-family: "Playfair Display"; font-style: italic; font-weight: 600; font-display: swap; src: url("../fonts/manrope-latin-500-normal.woff2") format("woff2"); unicode-range: U+0026, U+20AC, U+2190-2193; }

:root {
  --ink: #121110;
  --ink-2: #1c1a18;
  --ink-3: #2a2724;
  --stone: #f3efe8;
  --stone-2: #e7e0d4;
  --paper: #faf8f4;
  --gold: #b8945a;
  --gold-2: #d2b27a;
  --muted: #6f6a62;
  --muted-light: #a39d93;
  --line: rgba(18, 17, 16, .12);
  --line-light: rgba(255, 255, 255, .12);

  --serif: "Playfair Display", Georgia, serif;
  --sans: "Manrope", system-ui, -apple-system, "Segoe UI", sans-serif;

  --container: 1240px;
  --radius: 2px;
  --ease: cubic-bezier(.2, .7, .2, 1);
  --header-h: 84px;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: var(--header-h); }
body {
  margin: 0;
  font-family: var(--sans);
  font-size: 16px;
  line-height: 1.7;
  color: var(--ink);
  background: var(--paper);
  -webkit-font-smoothing: antialiased;
}
img, video { display: block; max-width: 100%; }
a { color: inherit; }
button { font: inherit; cursor: pointer; }
h1, h2, h3, h4 { margin: 0; font-weight: 500; }
p { margin: 0 0 1em; }

.container { width: min(100% - 48px, var(--container)); margin-inline: auto; }
.section { padding: clamp(80px, 11vw, 150px) 0; }
.section--dark { background: var(--ink); color: var(--stone); }
.section--stone { background: var(--stone); }

/* ---------- Typo ---------- */
.eyebrow {
  display: inline-flex; align-items: center; gap: 14px;
  margin: 0 0 22px;
  font-size: 12px; font-weight: 600; letter-spacing: .22em; text-transform: uppercase;
  color: var(--gold-2);
}
.eyebrow::before { content: ""; width: 36px; height: 1px; background: currentColor; }
.eyebrow--dark { color: var(--gold); }

.title {
  font-family: var(--serif);
  font-size: clamp(32px, 4vw, 52px);
  line-height: 1.15;
  letter-spacing: -.015em;
  margin-bottom: 26px;
}
.title em, .hero__title em, .cta__title em { font-style: italic; color: var(--gold); }
.title--light { color: var(--paper); }

.section__head { max-width: 720px; margin-bottom: 64px; }
.section__head--row { max-width: none; display: flex; justify-content: space-between; align-items: flex-end; gap: 32px; flex-wrap: wrap; }
.section__head--row .title { margin-bottom: 0; }
.section__sub { color: var(--muted-light); font-size: 17px; max-width: 560px; }

/* ---------- Boutons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  padding: 17px 32px;
  border: 1px solid transparent; border-radius: var(--radius);
  font-size: 14px; font-weight: 600; letter-spacing: .06em; text-transform: uppercase;
  text-decoration: none;
  transition: background .35s var(--ease), color .35s var(--ease), border-color .35s var(--ease), transform .35s var(--ease);
}
.btn:hover { transform: translateY(-2px); }
.btn--gold { background: var(--gold); color: var(--ink); }
.btn--gold:hover { background: var(--gold-2); }
.btn--ghost { border-color: rgba(255,255,255,.45); color: #fff; }
.btn--ghost:hover { background: #fff; color: var(--ink); }
.btn--dark { background: var(--ink); color: var(--paper); border: 0; }
.btn--dark:hover { background: var(--gold); color: var(--ink); }
.btn--block { width: 100%; }

.link-arrow {
  display: inline-flex; align-items: center; gap: 12px;
  margin-top: 10px;
  font-size: 13px; font-weight: 600; letter-spacing: .12em; text-transform: uppercase;
  text-decoration: none; color: var(--ink);
  border-bottom: 1px solid var(--gold); padding-bottom: 6px;
}
.link-arrow::after { content: "→"; transition: transform .3s var(--ease); }
.link-arrow:hover::after { transform: translateX(6px); }
.link-arrow--dark { color: var(--ink); }

/* ---------- Header ---------- */
.header {
  position: fixed; inset: 0 0 auto; z-index: 50;
  height: var(--header-h);
  color: #fff;
  transition: background .4s var(--ease), height .4s var(--ease), box-shadow .4s var(--ease);
}
.header::before {
  content: ""; position: absolute; inset: 0; z-index: -1;
  background: rgba(18, 17, 16, .92);
  backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px);
  box-shadow: 0 1px 0 var(--line-light);
  opacity: 0; transition: opacity .4s var(--ease);
}
.header.is-scrolled, .header--plein { --header-h: 70px; }
.header.is-scrolled::before, .header--plein::before { opacity: 1; }
.nav__mobile-extra { display: none; }
.header__inner { height: 100%; display: flex; align-items: center; justify-content: space-between; position: relative; }

.logo { display: inline-flex; align-items: center; gap: 12px; text-decoration: none; color: inherit; }
.logo__mark { width: 38px; height: 38px; color: var(--gold-2); }
.logo__text { font-family: var(--serif); font-size: 25px; font-weight: 600; letter-spacing: .02em; line-height: 1; }
.logo__text em { font-style: italic; font-weight: 500; color: var(--gold-2); margin-left: 6px; }

.nav { display: flex; align-items: center; gap: 36px; }
.nav__link {
  position: relative;
  font-size: 13px; font-weight: 500; letter-spacing: .1em; text-transform: uppercase;
  text-decoration: none; opacity: .85; transition: opacity .3s;
}
.nav__link:not(.nav__link--cta)::after {
  content: ""; position: absolute; left: 0; bottom: -6px; height: 1px; width: 100%;
  background: var(--gold-2); transform: scaleX(0); transform-origin: right; transition: transform .4s var(--ease);
}
.nav__link:hover { opacity: 1; }
.nav__link:hover::after, .nav__link.is-active::after { transform: scaleX(1); transform-origin: left; }
.nav__link--cta { opacity: 1; padding: 12px 22px; border: 1px solid var(--gold); color: var(--gold-2); transition: background .3s, color .3s; }
.nav__link--cta:hover { background: var(--gold); color: var(--ink); }

.burger { display: none; width: 44px; height: 44px; background: none; border: 0; position: relative; color: inherit; }
.burger span { position: absolute; left: 10px; right: 10px; height: 1.5px; background: currentColor; transition: transform .35s var(--ease), top .35s var(--ease); }
.burger span:first-child { top: 17px; }
.burger span:last-child { top: 26px; }
.burger[aria-expanded="true"] span:first-child { top: 21px; transform: rotate(45deg); }
.burger[aria-expanded="true"] span:last-child { top: 21px; transform: rotate(-45deg); }

/* ---------- Hero ---------- */
.hero {
  position: relative; min-height: 100svh;
  display: flex; flex-direction: column; justify-content: flex-end;
  color: #fff; overflow: hidden; background: var(--ink);
}
/* Diaporama : cadre portrait à droite sur desktop, plein écran sur mobile */
.hero__slides {
  position: absolute; top: 0; bottom: 0; right: 0; width: 46%;
  overflow: hidden;
}
.hero__slides img {
  position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover;
  opacity: 0; transform: scale(1.08);
  transition: opacity 1.6s var(--ease), transform 7s linear;
}
.hero__slides img.is-active { opacity: 1; transform: scale(1); }
.hero__overlay {
  position: absolute; inset: 0;
  background:
    linear-gradient(90deg, var(--ink) 0%, var(--ink) 54%, rgba(18,17,16,.35) 66%, rgba(18,17,16,.05) 100%),
    linear-gradient(180deg, rgba(18,17,16,.5) 0%, rgba(18,17,16,0) 25%, rgba(18,17,16,0) 75%, rgba(18,17,16,.6) 100%);
}
.hero::before {
  content: ""; position: absolute; z-index: 1; pointer-events: none;
  top: calc(var(--header-h) + 30px); bottom: 50px; right: 4%; width: 38%;
  border: 1px solid rgba(210,178,122,.45);
}
.hero__content { position: relative; padding-top: calc(var(--header-h) + 60px); padding-bottom: 70px; max-width: var(--container); }
.hero__title {
  font-family: var(--serif);
  font-size: clamp(40px, 6vw, 84px);
  line-height: 1.05; letter-spacing: -.02em;
  margin-bottom: 30px; max-width: 15ch;
}
.hero__title em { color: var(--gold-2); }
.hero__lead { max-width: 540px; font-size: clamp(16px, 1.4vw, 19px); font-weight: 300; color: rgba(255,255,255,.85); margin-bottom: 40px; }
.hero__actions { display: flex; flex-wrap: wrap; gap: 16px; }

.hero__strip { position: relative; border-top: 1px solid var(--line-light); background: rgba(18,17,16,.55); backdrop-filter: blur(6px); }
.hero__strip-inner { display: grid; grid-template-columns: repeat(4, 1fr); }
.stat { padding: 28px 24px; display: flex; flex-direction: column; gap: 2px; border-left: 1px solid var(--line-light); }
.stat:first-child { border-left: 0; padding-left: 0; }
.stat__num { font-family: var(--serif); font-size: 40px; line-height: 1; color: var(--gold-2); }
.stat__label { font-size: 12px; letter-spacing: .14em; text-transform: uppercase; color: rgba(255,255,255,.7); }

/* ---------- Intro ---------- */
.intro__grid { display: grid; grid-template-columns: 1.05fr .95fr; gap: clamp(40px, 7vw, 110px); align-items: center; }
.intro__text p:not(.eyebrow) { color: var(--muted); font-size: 17px; max-width: 520px; }
.intro__media { margin: 0; position: relative; }
.intro__media img { width: 100%; aspect-ratio: 4/5; object-fit: cover; }
.intro__media::before { content: ""; position: absolute; inset: 28px -28px -28px 28px; border: 1px solid var(--gold); z-index: -1; }
.intro__media figcaption { margin-top: 16px; font-size: 13px; color: var(--muted); letter-spacing: .04em; }

/* ---------- Prestations ---------- */
.services__grid { display: grid; grid-template-columns: repeat(4, 1fr); border-top: 1px solid var(--line-light); border-left: 1px solid var(--line-light); }
.service {
  position: relative;
  padding: 44px 34px 48px;
  border-right: 1px solid var(--line-light); border-bottom: 1px solid var(--line-light);
  transition: background .5s var(--ease);
}
.service:hover { background: var(--ink-2); }
.service__num { position: absolute; top: 26px; right: 28px; font-family: var(--serif); font-size: 18px; color: var(--muted); }
.service__icon { width: 46px; height: 46px; margin-bottom: 30px; fill: none; stroke: var(--gold-2); stroke-width: 1.4; stroke-linejoin: round; stroke-linecap: round; transition: transform .5s var(--ease); }
.service:hover .service__icon { transform: translateY(-4px); }
.service h3 { font-family: var(--serif); font-size: 24px; margin-bottom: 12px; color: var(--paper); }
.service p { font-size: 15px; color: var(--muted-light); margin: 0; }
.service--feature { background: var(--gold); color: var(--ink); }
.service--feature:hover { background: var(--gold-2); }
.service--feature h3 { color: var(--ink); }
.service--feature p { color: rgba(18,17,16,.75); margin-bottom: 18px; }
.service--feature .service__num { color: var(--ink); font-size: 30px; top: 20px; }

/* ---------- Réalisations ---------- */
.filters { display: flex; flex-wrap: wrap; gap: 8px; }
.filter {
  padding: 10px 18px; background: none;
  border: 1px solid var(--line); border-radius: 40px;
  font-size: 13px; font-weight: 500; color: var(--muted);
  transition: all .3s var(--ease);
}
.filter:hover { border-color: var(--ink); color: var(--ink); }
.filter.is-active { background: var(--ink); border-color: var(--ink); color: var(--paper); }

/* ---------- Méthode ---------- */
.steps { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(4, 1fr); gap: 0; counter-reset: s; }
.step { position: relative; padding: 40px 32px 0 0; border-top: 1px solid var(--ink); }
.step::before { content: ""; position: absolute; top: -5px; left: 0; width: 9px; height: 9px; border-radius: 50%; background: var(--gold); }
.step__num { display: block; font-family: var(--serif); font-size: 54px; line-height: 1; color: var(--gold); margin-bottom: 18px; }
.step h3 { font-family: var(--serif); font-size: 26px; margin-bottom: 10px; }
.step p { color: var(--muted); font-size: 15px; }

/* ---------- À propos ---------- */
.about__grid { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(40px, 7vw, 110px); align-items: center; }
.about__media { position: relative; padding-bottom: 80px; }
.about__img--a { width: 86%; aspect-ratio: 4/3; object-fit: cover; }
.about__img--b { position: absolute; right: 0; bottom: 0; width: 42%; aspect-ratio: 3/4; object-fit: cover; border: 10px solid var(--paper); }
.about__text p:not(.eyebrow) { color: var(--muted); font-size: 17px; }
.checks { list-style: none; padding: 0; margin: 30px 0 0; display: grid; gap: 14px; }
.checks li { position: relative; padding-left: 34px; font-weight: 500; }
.checks li::before {
  content: ""; position: absolute; left: 0; top: 6px; width: 18px; height: 10px;
  border-left: 1.5px solid var(--gold); border-bottom: 1.5px solid var(--gold); transform: rotate(-45deg);
}

/* ---------- CTA ---------- */
.cta {
  position: relative; color: #fff; padding: clamp(80px, 10vw, 130px) 0;
  background-color: var(--ink); background-position: center; background-size: cover; background-attachment: fixed;
}
.cta__inner { display: flex; justify-content: space-between; align-items: center; gap: 40px; flex-wrap: wrap; }
.cta__title { font-family: var(--serif); font-size: clamp(38px, 5vw, 66px); line-height: 1.05; }
.cta__title em { color: var(--gold-2); }
.cta__actions { display: flex; gap: 16px; flex-wrap: wrap; }

/* ---------- Contact ---------- */
.contact__grid { display: grid; grid-template-columns: .9fr 1.1fr; gap: clamp(40px, 7vw, 110px); }
.contact__info > p:not(.eyebrow) { color: var(--muted); font-size: 17px; max-width: 440px; }
.coords { margin: 44px 0 0; display: grid; gap: 26px; }
.coords div { border-top: 1px solid var(--line); padding-top: 18px; }
.coords dt { font-size: 11px; letter-spacing: .2em; text-transform: uppercase; color: var(--gold); margin-bottom: 4px; font-weight: 600; }
.coords dd { margin: 0; font-family: var(--serif); font-size: 24px; line-height: 1.3; }
.coords a { text-decoration: none; }
.coords a:hover { color: var(--gold); }

.form { background: var(--stone); padding: clamp(28px, 4vw, 52px); display: grid; gap: 22px; align-self: start; }
.form__row { display: grid; grid-template-columns: 1fr 1fr; gap: 22px; }
.field { display: grid; gap: 8px; }
.field span { font-size: 12px; font-weight: 600; letter-spacing: .12em; text-transform: uppercase; color: var(--muted); }
.field input, .field select, .field textarea {
  width: 100%; padding: 14px 0;
  background: transparent; border: 0; border-bottom: 1px solid rgba(18,17,16,.25); border-radius: 0;
  font: inherit; font-size: 16px; color: var(--ink);
  transition: border-color .3s;
}
.field textarea { resize: vertical; min-height: 120px; }
.field select { appearance: none; background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8'%3E%3Cpath d='M1 1l5 5 5-5' fill='none' stroke='%23121110' stroke-width='1.5'/%3E%3C/svg%3E") right 4px center no-repeat; }
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-color: var(--gold); }
.field.is-invalid input, .field.is-invalid textarea { border-color: #b5452f; }
.consent { display: flex; gap: 12px; font-size: 13px; color: var(--muted); line-height: 1.5; }
.consent input { accent-color: var(--ink); margin-top: 3px; flex: none; }
.consent.is-invalid { color: #b5452f; }
.hp { display: none !important; }
.form__status { margin: 0; font-size: 14px; min-height: 1.4em; }
.form__status.is-ok { color: #3f6b3a; }
.form__status.is-error { color: #b5452f; }

/* ---------- Footer ---------- */
.footer { background: var(--ink); color: var(--muted-light); padding: 90px 0 30px; font-size: 15px; }
.footer__inner { display: grid; grid-template-columns: 2fr 1fr 1fr; gap: 48px; padding-bottom: 60px; border-bottom: 1px solid var(--line-light); }
.logo--light { color: var(--paper); margin-bottom: 18px; }
.footer__brand p { max-width: 320px; }
.footer h4 { font-size: 12px; letter-spacing: .2em; text-transform: uppercase; color: var(--paper); margin-bottom: 18px; font-weight: 600; }
.footer ul { list-style: none; padding: 0; margin: 0; display: grid; gap: 8px; }
.footer a { text-decoration: none; transition: color .3s; }
.footer a:hover { color: var(--gold-2); }
.footer__bottom { display: flex; justify-content: space-between; gap: 20px; flex-wrap: wrap; padding-top: 26px; font-size: 13px; }

/* ---------- Lightbox ---------- */
.lightbox {
  position: fixed; inset: 0; z-index: 100;
  display: grid; grid-template-columns: 80px 1fr 80px; grid-template-rows: 1fr auto; align-items: center;
  background: rgba(10,10,9,.96);
  opacity: 0; visibility: hidden; transition: opacity .35s var(--ease), visibility .35s;
}
.lightbox.is-open { opacity: 1; visibility: visible; }
.lightbox__stage { grid-column: 2; height: 82vh; display: grid; place-items: center; }
.lightbox__stage img, .lightbox__stage video { max-height: 82vh; max-width: 100%; width: auto; object-fit: contain; }
.lightbox__caption { grid-column: 1 / -1; text-align: center; color: var(--stone); font-family: var(--serif); font-size: 22px; padding: 14px 20px 26px; margin: 0; }
.lightbox__close { position: absolute; top: 18px; right: 24px; background: none; border: 0; color: #fff; font-size: 44px; line-height: 1; opacity: .8; }
.lightbox__nav { background: none; border: 0; color: #fff; font-size: 60px; opacity: .6; transition: opacity .3s; height: 100%; }
.lightbox__nav:hover, .lightbox__close:hover { opacity: 1; }

/* ---------- Bouton d'appel flottant (mobile) ---------- */
.fab {
  position: fixed; right: 18px; bottom: 18px; z-index: 40;
  width: 58px; height: 58px; border-radius: 50%;
  display: none; place-items: center;
  background: var(--gold); color: var(--ink);
  box-shadow: 0 10px 30px rgba(0,0,0,.3);
}
.fab svg { width: 24px; height: 24px; fill: currentColor; }

/* ---------- Animations d'apparition ---------- */
.reveal { opacity: 0; transform: translateY(28px); transition: opacity 1s var(--ease), transform 1s var(--ease); }
.reveal.is-visible { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
  .reveal { opacity: 1; transform: none; transition: none; }
  html { scroll-behavior: auto; }
}

/* ---------- Pages secondaires ---------- */
.page { padding: calc(var(--header-h) + 80px) 0 100px; }
.page .header { background: var(--ink); }
.legal { max-width: 780px; }
.legal h2 { font-family: var(--serif); font-size: 30px; margin: 48px 0 14px; }
.legal p, .legal li { color: var(--muted); }

/* =========================================================
   Responsive
   ========================================================= */
@media (max-width: 1100px) {
  .services__grid { grid-template-columns: repeat(2, 1fr); }
  .steps { grid-template-columns: repeat(2, 1fr); row-gap: 50px; }
}

@media (max-width: 900px) {
  :root { --header-h: 70px; }
  .burger { display: block; z-index: 3; }
  .nav {
    position: fixed; inset: 0; z-index: 2; height: 100dvh;
    flex-direction: column; align-items: flex-start; justify-content: center; gap: 4px;
    padding: 90px 32px 40px;
    background:
      radial-gradient(120% 60% at 100% 0%, rgba(184,148,90,.16), transparent 60%),
      linear-gradient(180deg, #161412 0%, #0d0c0b 100%);
    opacity: 0; visibility: hidden; transform: translateY(-12px);
    transition: opacity .45s var(--ease), visibility .45s, transform .45s var(--ease);
    overflow-y: auto;
  }
  .nav.is-open { opacity: 1; visibility: visible; transform: none; }
  .nav__link {
    width: 100%; padding: 14px 0; border-bottom: 1px solid rgba(255,255,255,.08);
    font-family: var(--serif); font-size: clamp(28px, 8vw, 38px); letter-spacing: 0; text-transform: none; opacity: 1;
    opacity: 0; transform: translateY(14px); transition: opacity .5s var(--ease), transform .5s var(--ease), color .3s;
  }
  .nav__link:not(.nav__link--cta)::after { display: none; }
  .nav__link:hover, .nav__link.is-active { color: var(--gold-2); }
  .nav.is-open .nav__link { opacity: 1; transform: none; }
  .nav.is-open .nav__link:nth-child(1) { transition-delay: .08s; }
  .nav.is-open .nav__link:nth-child(2) { transition-delay: .13s; }
  .nav.is-open .nav__link:nth-child(3) { transition-delay: .18s; }
  .nav.is-open .nav__link:nth-child(4) { transition-delay: .23s; }
  .nav.is-open .nav__link:nth-child(5) { transition-delay: .28s; }
  .nav.is-open .nav__link:nth-child(6) { transition-delay: .33s; }
  .nav__link--cta {
    margin-top: 28px; width: auto; padding: 16px 26px; border: 0; border-radius: 2px;
    background: var(--gold); color: var(--ink);
    font-family: var(--sans); font-size: 13px; font-weight: 600; letter-spacing: .12em; text-transform: uppercase;
  }
  .nav__link--cta:hover { color: var(--ink); background: var(--gold-2); }
  .nav__mobile-extra {
    display: flex; flex-direction: column; gap: 6px; margin-top: auto; padding-top: 36px;
    font-size: 12px; letter-spacing: .16em; text-transform: uppercase; color: var(--muted-light);
    opacity: 0; transition: opacity .5s .4s;
  }
  .nav.is-open .nav__mobile-extra { opacity: 1; }
  .nav__tel { font-family: var(--serif); font-size: 26px; letter-spacing: 0; text-transform: none; color: var(--gold-2); text-decoration: none; }
  body.menu-ouvert .fab { opacity: 0; pointer-events: none; }

  .intro__grid, .about__grid, .contact__grid { grid-template-columns: 1fr; }
  .intro__media { max-width: 520px; }
  .intro__media::before { inset: 18px -14px -18px 14px; }
  .hero__strip-inner { grid-template-columns: repeat(2, 1fr); }
  .stat:nth-child(3) { border-left: 0; padding-left: 0; }
  .stat:nth-child(n+3) { border-top: 1px solid var(--line-light); }
  .cta { background-attachment: scroll; }
  .hero__slides { width: 100%; }
  .hero__overlay { background: linear-gradient(180deg, rgba(18,17,16,.6) 0%, rgba(18,17,16,.45) 40%, rgba(18,17,16,.92) 100%); }
  .hero::before { display: none; }
  .fab { display: grid; }
}

@media (max-width: 640px) {
  .container { width: min(100% - 36px, var(--container)); }
  .services__grid { grid-template-columns: 1fr; }
  .steps { grid-template-columns: 1fr; }
  .form__row { grid-template-columns: 1fr; }
  .footer__inner { grid-template-columns: 1fr; }
  .lightbox { grid-template-columns: 44px 1fr 44px; }
  .lightbox__nav { font-size: 42px; }
  .logo__text { font-size: 21px; }
}

/* =========================================================
   Formulaire : chargement, erreur, confirmation
   ========================================================= */
.form { position: relative; overflow: hidden; }
.btn--submit { position: relative; }
.btn__spinner {
  position: absolute; left: 50%; top: 50%; width: 22px; height: 22px; margin: -11px 0 0 -11px;
  border: 2px solid rgba(255,255,255,.3); border-top-color: var(--gold-2); border-radius: 50%;
  opacity: 0; transition: opacity .2s;
}
.btn--submit.is-loading { pointer-events: none; }
.btn--submit.is-loading .btn__label { opacity: 0; }
.btn--submit.is-loading .btn__spinner { opacity: 1; animation: spin .8s linear infinite; }
@keyframes spin { to { transform: rotate(360deg); } }

.form.is-shaking { animation: shake .45s var(--ease); }
@keyframes shake { 20%, 60% { transform: translateX(-8px); } 40%, 80% { transform: translateX(8px); } }

.form__success {
  position: absolute; inset: 0; z-index: 3;
  display: flex; flex-direction: column; align-items: center; justify-content: center; text-align: center;
  padding: 40px; background: var(--ink); color: var(--paper);
  clip-path: circle(0% at 50% 100%);
  transition: clip-path .9s var(--ease);
  pointer-events: none;
}
.form.is-sent .form__success { clip-path: circle(150% at 50% 100%); pointer-events: auto; }
.success__check { width: 96px; height: 96px; margin-bottom: 28px; }
.success__circle, .success__tick { fill: none; stroke: var(--gold-2); stroke-width: 2.5; stroke-linecap: round; stroke-linejoin: round; }
.success__circle { stroke-dasharray: 227; stroke-dashoffset: 227; }
.success__tick { stroke-width: 3.5; stroke-dasharray: 50; stroke-dashoffset: 50; }
.form.is-sent .success__circle { animation: draw .8s .55s var(--ease) forwards; }
.form.is-sent .success__tick { animation: draw .45s 1.2s var(--ease) forwards; }
@keyframes draw { to { stroke-dashoffset: 0; } }
.success__title, .success__text, .success__again { opacity: 0; transform: translateY(14px); transition: opacity .6s, transform .6s var(--ease); }
.form.is-sent .success__title { opacity: 1; transform: none; transition-delay: 1.3s; }
.form.is-sent .success__text { opacity: 1; transform: none; transition-delay: 1.45s; }
.form.is-sent .success__again { opacity: 1; transform: none; transition-delay: 1.6s; }
.success__title { font-family: var(--serif); font-size: clamp(32px, 3.4vw, 44px); margin-bottom: 14px; }
.success__title { color: var(--paper); }
.success__text { color: var(--muted-light); max-width: 380px; font-size: 16px; }
.success__again { background: none; border: 0; border-bottom: 1px solid var(--gold); color: var(--gold-2); margin-top: 18px; padding: 0 0 6px; }

/* Chiffres alignés avec Playfair */
.stat__num, .step__num, .service__num, .coords dd { font-variant-numeric: lining-nums; font-feature-settings: "lnum" 1; }

/* ---------- H1 d'accueil ---------- */
.hero__h1 { margin: 0; font-weight: inherit; }
.hero__h1 .eyebrow { display: flex; }
.hero__h1 .hero__title { display: block; }

/* ---------- FAQ ---------- */
.faq__grid { display: grid; grid-template-columns: .8fr 1.2fr; gap: clamp(40px, 6vw, 100px); align-items: start; }
.faq__grid .section__head { margin-bottom: 0; }
.faq__list { border-top: 1px solid var(--line); }
.faq__item { border-bottom: 1px solid var(--line); }
.faq__item summary {
  list-style: none; cursor: pointer;
  display: flex; justify-content: space-between; align-items: center; gap: 24px;
  padding: 26px 0;
}
.faq__item summary::-webkit-details-marker { display: none; }
.faq__item summary h3 { font-family: var(--serif); font-size: clamp(19px, 1.6vw, 23px); line-height: 1.3; }
.faq__item summary::after {
  content: ""; flex: none; width: 14px; height: 14px;
  background: linear-gradient(var(--gold), var(--gold)) center / 100% 1.5px no-repeat, linear-gradient(var(--gold), var(--gold)) center / 1.5px 100% no-repeat;
  transition: transform .35s var(--ease);
}
.faq__item[open] summary::after { transform: rotate(45deg); }
.faq__item p { color: var(--muted); margin: -6px 0 26px; max-width: 620px; }
@media (max-width: 900px) { .faq__grid { grid-template-columns: 1fr; } }

/* ---------- Footer : titres de colonnes ---------- */
.footer__title { font-size: 12px; letter-spacing: .2em; text-transform: uppercase; color: var(--paper); margin: 0 0 18px; font-weight: 600; }

/* =========================================================
   v2 — réalisations (projets), pages intérieures, sections
   ========================================================= */
.skip { position: absolute; left: -9999px; top: 0; z-index: 100; background: var(--gold); color: var(--ink); padding: 10px 16px; }
.skip:focus { left: 12px; top: 12px; }
.section__sub--dark { color: var(--muted); }
.section--page { padding-top: 40px; }
.title--page { font-size: clamp(34px, 4.6vw, 58px); }
.crumbs { display: flex; flex-wrap: wrap; gap: 10px; font-size: 13px; color: var(--muted); margin-bottom: 36px; }
.crumbs a { color: var(--muted); text-decoration: none; }
.crumbs a:hover { color: var(--gold); }
.page .header__inner { color: #fff; }

/* Haut de gamme */
.luxe__grid { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(40px, 7vw, 110px); align-items: center; }
.luxe__grid p:not(.eyebrow) { color: var(--muted); font-size: 17px; max-width: 540px; }
.luxe__list { list-style: none; margin: 0; padding: 0; border-top: 1px solid var(--line); }
.luxe__list li { display: flex; gap: 22px; align-items: baseline; padding: 20px 0; border-bottom: 1px solid var(--line); font-family: var(--serif); font-size: clamp(19px, 1.7vw, 23px); }
.luxe__list span { font-family: var(--sans); font-size: 12px; letter-spacing: .14em; color: var(--gold); }

/* Cartes projets */
.projets { display: grid; grid-template-columns: repeat(3, 1fr); gap: 34px 26px; }
.projet { display: flex; flex-direction: column; }
.projet.is-hidden { display: none; }
.projet__media { position: relative; display: block; width: 100%; padding: 0; border: 0; background: var(--stone-2); overflow: hidden; cursor: zoom-in; aspect-ratio: 4 / 3; }
.projet__media img { width: 100%; height: 100%; object-fit: cover; transition: transform 1.1s var(--ease); }
.projet__media:hover img { transform: scale(1.05); }
.projet__badge { position: absolute; left: 14px; top: 14px; padding: 6px 12px; background: rgba(18,17,16,.82); color: var(--gold-2); font-size: 11px; font-weight: 600; letter-spacing: .14em; text-transform: uppercase; backdrop-filter: blur(4px); }
.projet__play { position: absolute; right: 14px; top: 14px; width: 42px; height: 42px; border-radius: 50%; display: grid; place-items: center; background: rgba(255,255,255,.92); color: var(--ink); }
.projet__play svg { width: 13px; height: 13px; margin-left: 2px; fill: currentColor; }
.projet__texte { padding-top: 18px; display: grid; gap: 6px; }
.projet__cat { font-size: 11px; letter-spacing: .18em; text-transform: uppercase; color: var(--gold); font-weight: 600; }
.projet__titre { font-family: var(--serif); font-size: clamp(20px, 1.7vw, 24px); line-height: 1.25; margin: 0; }
.projet__titre a { text-decoration: none; background: linear-gradient(var(--gold), var(--gold)) 0 100% / 0 1px no-repeat; transition: background-size .4s var(--ease); }
.projet__titre a:hover { background-size: 100% 1px; }
.projet__infos { font-size: 13px; color: var(--muted); }
.works__more { text-align: center; margin-top: 56px; }
.section__head--row .link-arrow { white-space: nowrap; }
.filters { align-self: flex-end; }

/* Page d'une réalisation */
.projet-page__head { max-width: 860px; margin-bottom: 40px; }
.projet-page__desc { color: var(--muted); font-size: 18px; }
.phase-tabs { display: inline-flex; gap: 0; border: 1px solid var(--ink); margin-bottom: 26px; }
.phase-tab { padding: 14px 26px; background: none; border: 0; font-size: 13px; font-weight: 600; letter-spacing: .12em; text-transform: uppercase; color: var(--ink); transition: background .3s, color .3s; }
.phase-tab small { margin-left: 8px; color: var(--gold); font-weight: 600; }
.phase-tab.is-active { background: var(--ink); color: var(--paper); }
.phase-note { font-size: 13px; color: var(--muted); margin-top: 18px; }
.gal { columns: 2; column-gap: 18px; }
.gal__item { margin: 0 0 18px; break-inside: avoid; }
.gal__btn { position: relative; display: block; width: 100%; padding: 0; border: 0; background: var(--stone-2); cursor: zoom-in; overflow: hidden; }
.gal__btn img { width: 100%; height: auto; transition: transform 1s var(--ease); }
.gal__btn:hover img { transform: scale(1.03); }
.gal__item figcaption { font-size: 14px; color: var(--muted); padding-top: 10px; }
.projet-nav { display: grid; grid-template-columns: 1fr auto 1fr; gap: 24px; align-items: center; padding: 40px 0; margin-top: 40px; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.projet-nav__lien { display: grid; gap: 4px; text-decoration: none; font-family: var(--serif); font-size: 19px; }
.projet-nav__lien small { font-family: var(--sans); font-size: 11px; letter-spacing: .16em; text-transform: uppercase; color: var(--gold); }
.projet-nav__lien--next { text-align: right; }
.cta-band { margin-top: 70px; padding: clamp(36px, 5vw, 60px); background: var(--ink); color: var(--paper); display: flex; flex-wrap: wrap; gap: 18px; align-items: center; }
.cta-band p { flex: 1 1 320px; margin: 0; font-family: var(--serif); font-size: clamp(24px, 2.6vw, 34px); }

/* Zone d'intervention */
.zone__grid { display: grid; grid-template-columns: .9fr 1.1fr; gap: clamp(40px, 6vw, 100px); align-items: center; }
.zone__villes { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 10px; }
.zone__villes li { padding: 10px 18px; border: 1px solid var(--line-light); font-size: 14px; color: var(--stone); transition: border-color .3s, color .3s; }
.zone__villes li:hover { border-color: var(--gold); color: var(--gold-2); }

/* Avis */
.reviews__widget { min-height: 120px; }

/* Visionneuse : onglets projet 3D / réalisation */
.lightbox__tabs { position: absolute; top: 22px; left: 50%; transform: translateX(-50%); display: flex; border: 1px solid rgba(255,255,255,.3); z-index: 2; }
.lightbox__tabs button { padding: 10px 18px; background: none; border: 0; color: #fff; font-size: 12px; font-weight: 600; letter-spacing: .12em; text-transform: uppercase; }
.lightbox__tabs button.is-active { background: var(--gold); color: var(--ink); }
.lightbox__count { position: absolute; top: 28px; left: 28px; color: rgba(255,255,255,.6); font-size: 13px; letter-spacing: .1em; }

@media (max-width: 1100px) { .projets { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 900px) {
  .luxe__grid, .zone__grid { grid-template-columns: 1fr; }
  .projet-nav { grid-template-columns: 1fr; text-align: center; }
  .projet-nav__lien--next { text-align: center; }
}
@media (max-width: 640px) {
  .projets { grid-template-columns: 1fr; gap: 30px; }
  .gal { columns: 1; }
  .phase-tabs { display: flex; }
  .phase-tab { flex: 1; padding: 14px 10px; }
  .lightbox__tabs { top: 64px; }
  .lightbox__count { top: 30px; left: 18px; }
}
.header .logo { position: relative; z-index: 3; }
.nav__tel, .cta__actions .btn, .coords dd, .projet__infos { font-variant-numeric: lining-nums; font-feature-settings: "lnum" 1; }

/* Avis : message d'attente tant que le widget Trustindex n'est pas branché */
.reviews__vide { display: flex; flex-direction: column; align-items: center; gap: 14px; padding: 56px 24px; border: 1px solid var(--line); background: var(--paper); text-align: center; }
.reviews__vide p { margin: 0; color: var(--muted); max-width: 520px; }
.reviews__vide a { color: var(--ink); text-decoration-color: var(--gold); }
.reviews__stars { color: var(--gold); font-size: 22px; letter-spacing: 6px; }
.hero__content { padding-bottom: 110px; }

/* L'attribut hidden doit toujours masquer (ex. onglets Projet 3D / Réalisation de la visionneuse) */
[hidden] { display: none !important; }
