/* =========================================================
   Chateq : Direction B « Elegance feline minimaliste »
   Sapin & Laiton, Fraunces (titres) + Inter (corps)
   Theme par defaut : clair. Animations discretes et soignees.
   ========================================================= */
:root {
  --bg: #FAFAF7;
  --surface: #FFFFFF;
  --surface-2: #F4F3EE;
  --border: #E5E4DD;
  --accent: #1F3D34;        /* vert sapin */
  --accent-hover: #16302A;
  --brass: #C9A24B;         /* laiton */
  --brass-hover: #B68F3C;
  --on-accent: #FAFAF7;
  --text: #3A3A38;
  --text-soft: #6E6E68;
  --ok: #1F3D34;

  --radius-sm: 8px;
  --radius: 12px;
  --radius-lg: 18px;
  --radius-pill: 999px;
  --shadow: 0 6px 22px rgba(31, 61, 52, 0.07);
  --shadow-lg: 0 18px 48px rgba(31, 61, 52, 0.12);
  --maxw: 1140px;
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
}
[data-theme="dark"] {
  --bg: #10211C;
  --surface: #16302A;
  --surface-2: #1A3A31;
  --border: #274038;
  --accent: #5FA98E;
  --accent-hover: #7FC4AC;
  --brass: #D8B45E;
  --brass-hover: #E4C883;
  --on-accent: #10211C;
  --text: #EDEFEA;
  --text-soft: #A9B3AD;
  --ok: #5FA98E;
  --shadow: 0 6px 22px rgba(0, 0, 0, 0.35);
  --shadow-lg: 0 18px 48px rgba(0, 0, 0, 0.45);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
/* Anti-FOUC de langue : masque le corps tant que l'EN n'est pas applique.
   Le script du head retire toujours cet attribut (filet de securite a 1200ms),
   donc la page n'est jamais masquee si le JS echoue. */
html[data-i18n-pending] body { visibility: hidden; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: "Inter", system-ui, -apple-system, sans-serif;
  font-size: 17px;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  transition: background .35s var(--ease), color .35s var(--ease);
}
h1, h2, h3 {
  font-family: "Fraunces", Georgia, "Times New Roman", serif;
  font-weight: 600;
  line-height: 1.12;
  margin: 0;
  color: var(--accent);
  letter-spacing: -0.01em;
}
[data-theme="dark"] h1, [data-theme="dark"] h2, [data-theme="dark"] h3 { color: var(--text); }
em { font-style: italic; color: var(--brass); }
p { margin: 0; }
a { color: inherit; text-decoration: none; }
img, svg { display: block; max-width: 100%; }

.container { width: 100%; max-width: var(--maxw); margin: 0 auto; padding: 0 28px; }
.container--narrow { max-width: 760px; }

.skip-link {
  position: absolute; left: -999px; top: 8px; z-index: 200;
  background: var(--accent); color: var(--on-accent);
  padding: 10px 16px; border-radius: var(--radius-sm); font-weight: 600;
}
.skip-link:focus { left: 8px; }

:focus-visible { outline: 2px solid var(--brass); outline-offset: 3px; border-radius: 4px; }

/* ---------- Boutons ---------- */
.btn {
  position: relative; overflow: hidden;
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  padding: 14px 26px; border-radius: var(--radius-pill);
  font-family: "Inter", sans-serif; font-weight: 600; font-size: 16px;
  border: 1px solid transparent; cursor: pointer; min-height: 48px;
  transition: transform .3s var(--ease), background .3s var(--ease), box-shadow .3s var(--ease), border-color .3s var(--ease), color .3s var(--ease);
}
.btn--sm { padding: 10px 18px; font-size: 14px; min-height: 40px; }
.btn--primary { background: var(--accent); color: var(--on-accent); box-shadow: var(--shadow); }
.btn--primary:hover { background: var(--accent-hover); transform: translateY(-2px); box-shadow: var(--shadow-lg); }
.btn--ghost { background: transparent; color: var(--accent); border-color: var(--border); }
[data-theme="dark"] .btn--ghost { color: var(--text); }
.btn--ghost:hover { transform: translateY(-2px); border-color: var(--brass); }

/* Reflet glissant (sheen) discret sur le bouton primaire */
.btn--primary::after {
  content: ""; position: absolute; top: 0; left: -120%; width: 50%; height: 100%;
  background: linear-gradient(110deg, transparent, rgba(255, 255, 255, .22), transparent);
  transform: skewX(-18deg); transition: left .7s var(--ease);
}
.btn--primary:hover::after { left: 160%; }

/* ---------- Header ---------- */
.header {
  position: sticky; top: 0; z-index: 100;
  background: color-mix(in srgb, var(--bg) 82%, transparent);
  backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px);
  border-bottom: 1px solid transparent;
  transition: border-color .3s var(--ease), background .3s var(--ease);
}
.header.is-scrolled { border-bottom-color: var(--border); }
.header__inner { display: flex; align-items: center; justify-content: space-between; height: 72px; gap: 16px; }
.logo { display: inline-flex; align-items: center; gap: 10px; color: var(--accent); }
[data-theme="dark"] .logo { color: var(--brass); }
.logo__mark { display: inline-flex; color: var(--brass); }
.logo__text { font-family: "Fraunces", serif; font-weight: 600; font-size: 23px; color: var(--accent); letter-spacing: -.01em; }
[data-theme="dark"] .logo__text { color: var(--text); }

.nav { display: flex; gap: 28px; }
.nav a {
  position: relative; color: var(--text-soft); font-weight: 500; font-size: 15px;
  padding: 4px 0; transition: color .25s var(--ease);
}
/* Souligne laiton qui s etend au survol et sur la section active */
.nav a::after {
  content: ""; position: absolute; left: 0; bottom: -2px; height: 1.5px; width: 100%;
  background: var(--brass); transform: scaleX(0); transform-origin: left;
  transition: transform .3s var(--ease);
}
.nav a:hover { color: var(--accent); }
[data-theme="dark"] .nav a:hover { color: var(--text); }
.nav a:hover::after, .nav a.is-active::after { transform: scaleX(1); }
.nav a.is-active { color: var(--accent); }
[data-theme="dark"] .nav a.is-active { color: var(--text); }

.header__actions { display: flex; align-items: center; gap: 14px; }
.theme-toggle {
  display: inline-flex; align-items: center; justify-content: center;
  width: 42px; height: 42px; border-radius: var(--radius-pill);
  background: var(--surface); border: 1px solid var(--border); color: var(--accent); cursor: pointer;
  transition: transform .3s var(--ease), border-color .3s var(--ease);
}
[data-theme="dark"] .theme-toggle { color: var(--brass); }
.theme-toggle:hover { border-color: var(--brass); transform: translateY(-1px); }
.theme-toggle .icon-moon { display: none; }
[data-theme="dark"] .theme-toggle .icon-eye { display: none; }
[data-theme="dark"] .theme-toggle .icon-moon { display: block; }

/* ---------- Bascule de langue FR / EN (palette Sapin & Laiton) ---------- */
.lang-toggle {
  display: inline-flex; align-items: center; gap: 2px;
  height: 42px; padding: 0 5px;
  background: var(--surface); border: 1px solid var(--border);
  border-radius: var(--radius-pill);
  transition: border-color .3s var(--ease);
}
.lang-toggle:hover { border-color: var(--brass); }
.lang-toggle__btn {
  appearance: none; -webkit-appearance: none; border: 0; background: none; cursor: pointer;
  font-family: "Inter", sans-serif; font-weight: 600; font-size: 13px; letter-spacing: .4px;
  color: var(--text-soft); padding: 6px 10px; line-height: 1;
  border-radius: var(--radius-pill);
  transition: color .25s var(--ease), background .25s var(--ease);
}
.lang-toggle__btn:hover { color: var(--accent); }
[data-theme="dark"] .lang-toggle__btn:hover { color: var(--text); }
.lang-toggle__btn.is-active { background: var(--accent); color: var(--on-accent); }
[data-theme="dark"] .lang-toggle__btn.is-active { background: var(--brass); color: var(--bg); }
.lang-toggle__sep { width: 1px; height: 16px; background: var(--border); }

.burger { display: none; width: 44px; height: 44px; border: 1px solid var(--border); background: var(--surface); border-radius: var(--radius-sm); cursor: pointer; padding: 0; }
.burger span { display: block; width: 18px; height: 2px; background: var(--accent); margin: 3px auto; transition: .3s var(--ease); }
[data-theme="dark"] .burger span { background: var(--text); }
.burger[aria-expanded="true"] span:nth-child(1) { transform: translateY(5px) rotate(45deg); }
.burger[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.burger[aria-expanded="true"] span:nth-child(3) { transform: translateY(-5px) rotate(-45deg); }

/* ---------- Eyebrow ---------- */
.eyebrow {
  font-family: "Inter", sans-serif; font-weight: 600; letter-spacing: 2.5px;
  text-transform: uppercase; font-size: 12px; color: var(--text-soft); margin-bottom: 16px;
}
.eyebrow--accent { color: var(--brass); }

/* ---------- Hero ---------- */
.hero { padding: 96px 0 72px; position: relative; }
.hero__inner { display: grid; grid-template-columns: 1.05fr .95fr; gap: 56px; align-items: center; }
.hero__title { font-size: clamp(2.5rem, 6vw, 4.5rem); font-weight: 600; margin-bottom: 24px; max-width: 12ch; }
.hero__sub { font-size: 1.18rem; color: var(--text-soft); max-width: 56ch; margin-bottom: 32px; }
.hero__cta { display: flex; flex-wrap: wrap; gap: 16px; }
.hero__micro { list-style: none; display: flex; flex-wrap: wrap; align-items: center; gap: 14px; padding: 0; margin: 26px 0 0; color: var(--text-soft); font-size: .95rem; }
.hero__micro li:not(.hero__sep) { font-weight: 500; }
.hero__sep { width: 22px; height: 10px; flex: none; }
/* Moustaches-filets en separateur */
.hero__sep::before { content: ""; display: block; width: 22px; height: 10px; border-bottom: 1.5px solid var(--brass); border-radius: 0 0 12px 0; }

.hero__visual { position: relative; display: flex; justify-content: center; }
.hero__art { width: min(420px, 92%); }
.hero__art-ring { stroke: var(--border); }
.hero__art-eye { stroke: var(--accent); }
[data-theme="dark"] .hero__art-eye { stroke: var(--text); }
.hero__art-iris { fill: var(--accent); }
[data-theme="dark"] .hero__art-iris { fill: var(--text); }
.hero__art-pupil { fill: var(--bg); }
.hero__art-tail { stroke: var(--brass); }
.hero__art-whiskers line { stroke: var(--brass); }

/* ---------- Separateur moustaches ---------- */
.whisker-rule { display: flex; justify-content: center; padding: 4px 0 0; }
.whisker-rule svg path { stroke: var(--brass); }

/* ---------- Sections ---------- */
.section { padding: 100px 0; }
.section--alt { background: var(--surface-2); }
.section__head { text-align: center; max-width: 720px; margin: 0 auto 56px; }
.section__title { font-size: clamp(1.9rem, 4vw, 2.9rem); font-weight: 600; }
.section__lead { color: var(--text-soft); font-size: 1.12rem; margin-top: 16px; max-width: 60ch; margin-left: auto; margin-right: auto; }

/* ---------- Grilles & cartes ---------- */
.grid { display: grid; gap: 24px; }
.grid--2 { grid-template-columns: repeat(2, 1fr); }
.grid--3 { grid-template-columns: repeat(3, 1fr); }
.grid--4 { grid-template-columns: repeat(4, 1fr); }
.card {
  position: relative;
  background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius-lg);
  padding: 32px; box-shadow: var(--shadow);
  transition: transform .3s var(--ease), box-shadow .3s var(--ease), border-color .3s var(--ease);
}
.card:hover { transform: translateY(-4px); box-shadow: var(--shadow-lg); border-color: color-mix(in srgb, var(--brass) 45%, var(--border)); }
/* Halo laiton discret au survol */
.card::after {
  content: ""; position: absolute; inset: 0; border-radius: inherit; pointer-events: none;
  box-shadow: 0 22px 54px -26px color-mix(in srgb, var(--brass) 50%, transparent);
  opacity: 0; transition: opacity .35s var(--ease);
}
.card:hover::after { opacity: 1; }
.card__icon {
  display: inline-flex; align-items: center; justify-content: center;
  width: 52px; height: 52px; border-radius: var(--radius);
  background: color-mix(in srgb, var(--brass) 14%, transparent); color: var(--brass); margin-bottom: 20px;
}
.card__title { font-size: 1.35rem; margin-bottom: 12px; }
.card__text { color: var(--text-soft); }
.card__tag { font-family: "Inter", sans-serif; font-weight: 600; font-size: .72rem; text-transform: uppercase; letter-spacing: 1px; color: var(--brass); margin-bottom: 14px; }
.card--pillar { padding: 40px; }
.pillar__kicker { display: block; font-family: "Fraunces", serif; font-size: 1.4rem; color: var(--brass); margin-bottom: 14px; }

.values { list-style: none; display: flex; flex-wrap: wrap; justify-content: center; gap: 16px 32px; padding: 0; margin: 44px 0 0; }
.values li { display: inline-flex; align-items: center; gap: 10px; font-weight: 500; color: var(--text); }
.dot { width: 8px; height: 8px; border-radius: 50%; background: var(--brass); flex: none; }

/* ---------- Prix ---------- */
.price { text-align: left; background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius-lg); padding: 28px; box-shadow: var(--shadow); transition: transform .3s var(--ease), border-color .3s var(--ease); }
.price:hover { transform: translateY(-3px); border-color: color-mix(in srgb, var(--brass) 40%, var(--border)); }
.price h3 { font-size: 1.15rem; margin-bottom: 12px; }
.price__from { font-family: "Fraunces", serif; font-weight: 600; font-size: 1.4rem; color: var(--brass); margin-bottom: 12px; }
.price__detail { color: var(--text-soft); font-size: .92rem; }
.note { text-align: center; color: var(--text-soft); font-size: .92rem; margin-top: 22px; }
.promise { max-width: 760px; margin: 48px auto 0; background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius-lg); padding: 36px 40px; box-shadow: var(--shadow); }
.promise__title { font-size: 1.35rem; margin-bottom: 20px; }
.promise__list { list-style: none; padding: 0; margin: 0; display: grid; gap: 14px; }
.promise__list li { position: relative; padding-left: 30px; color: var(--text); }
.promise__list li::before {
  content: ""; position: absolute; left: 0; top: 8px; width: 12px; height: 8px;
  border-left: 2px solid var(--brass); border-bottom: 2px solid var(--brass);
  transform: rotate(-45deg);
}

/* ---------- Estimateur ---------- */
.estimator { max-width: 760px; margin: 0 auto 56px; background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius-lg); padding: 40px; box-shadow: var(--shadow); }
.estimator__title { font-size: 1.6rem; margin-bottom: 8px; text-align: center; }
.estimator__intro { text-align: center; color: var(--text-soft); margin-bottom: 28px; }
.est-group { border: 0; padding: 0; margin: 0 0 22px; }
.est-group legend { padding: 0; font-weight: 600; font-size: .82rem; text-transform: uppercase; letter-spacing: 1.5px; color: var(--text-soft); margin-bottom: 12px; }
.est-radios { display: flex; flex-wrap: wrap; gap: 12px; }
.est-radio { position: relative; flex: 1 1 auto; }
.est-radio input { position: absolute; opacity: 0; width: 0; height: 0; }
.est-radio span {
  display: flex; align-items: center; justify-content: center; min-height: 48px; padding: 12px 20px;
  border: 1px solid var(--border); border-radius: var(--radius-pill); background: var(--bg);
  font-weight: 500; cursor: pointer; transition: border-color .25s var(--ease), background .25s var(--ease), color .25s var(--ease);
}
.est-radio input:checked + span { border-color: var(--accent); background: var(--accent); color: var(--on-accent); }
[data-theme="dark"] .est-radio input:checked + span { background: var(--accent); color: var(--on-accent); }
.est-radio input:focus-visible + span { outline: 2px solid var(--brass); outline-offset: 3px; }
.est-radio span:hover { border-color: var(--brass); }

.estimator__result { text-align: center; padding: 28px 20px; border-radius: var(--radius); background: color-mix(in srgb, var(--accent) 8%, transparent); margin: 4px 0 8px; }
.estimator__label { display: block; font-size: .92rem; color: var(--text-soft); margin-bottom: 12px; }
.estimator__amount { display: block; font-family: "Fraunces", serif; font-weight: 600; font-size: clamp(1.7rem, 5vw, 2.4rem); color: var(--accent); }
[data-theme="dark"] .estimator__amount { color: var(--brass); }
.estimator .btn { width: 100%; margin-top: 14px; }

/* ---------- Demo : playground & reglages ---------- */
.demo-grid { margin-top: 8px; }
.demo-card { display: flex; flex-direction: column; }
.playground { margin-top: 6px; }
.playground__preview {
  border: 1px solid var(--border); border-radius: var(--radius); padding: 24px; text-align: center;
  background: var(--bg); transition: background .35s var(--ease), color .35s var(--ease), border-color .35s var(--ease);
}
.playground__eye { display: inline-flex; color: var(--brass); margin-bottom: 12px; }
.playground__title { font-family: "Fraunces", serif; font-weight: 600; font-size: 1.15rem; color: var(--accent); margin-bottom: 8px; }
.playground__text { color: var(--text-soft); font-size: .95rem; margin-bottom: 16px; }
/* Etat sombre simule, local au composant (sans dependre du theme global) */
.playground__preview.is-dark { background: #10211C; border-color: #274038; }
.playground__preview.is-dark .playground__title { color: #EDEFEA; }
.playground__preview.is-dark .playground__text { color: #A9B3AD; }
.playground__preview.is-dark .playground__eye { color: #D8B45E; }
.playground__preview.is-dark .btn--primary { background: #5FA98E; color: #10211C; }
.playground__switch {
  display: block; width: 100%; margin-top: 16px; padding: 12px 18px; min-height: 44px;
  border: 1px solid var(--border); border-radius: var(--radius-pill); background: transparent;
  color: var(--accent); font: inherit; font-weight: 600; cursor: pointer;
  transition: border-color .25s var(--ease);
}
[data-theme="dark"] .playground__switch { color: var(--text); }
.playground__switch:hover { border-color: var(--brass); }

.settings { margin-top: 6px; display: grid; gap: 16px; }
.settings__row { display: flex; align-items: center; justify-content: space-between; gap: 16px; padding-bottom: 14px; border-bottom: 1px solid var(--border); }
.settings__label { font-weight: 500; }
.settings__hint { color: var(--text-soft); font-size: .92rem; }
.toggle {
  position: relative; width: 50px; height: 28px; flex: none; border-radius: var(--radius-pill);
  border: 1px solid var(--border); background: var(--bg); cursor: pointer; padding: 0;
  transition: background .25s var(--ease), border-color .25s var(--ease);
}
.toggle__knob { position: absolute; top: 2px; left: 2px; width: 22px; height: 22px; border-radius: 50%; background: var(--text-soft); transition: transform .25s var(--ease), background .25s var(--ease); }
.toggle[aria-checked="true"] { background: var(--accent); border-color: var(--accent); }
.toggle[aria-checked="true"] .toggle__knob { transform: translateX(22px); background: var(--on-accent); }

/* ---------- Modale ---------- */
.modal { position: fixed; inset: 0; z-index: 200; display: grid; place-items: center; padding: 24px; }
.modal[hidden] { display: none; }
.modal__overlay { position: absolute; inset: 0; background: rgba(16, 33, 28, 0.55); backdrop-filter: blur(3px); }
.modal__panel {
  position: relative; max-width: 460px; width: 100%; background: var(--surface);
  border: 1px solid var(--border); border-radius: var(--radius-lg); padding: 32px; box-shadow: var(--shadow-lg);
  animation: modal-in .3s var(--ease);
}
.modal__title { font-size: 1.4rem; margin-bottom: 12px; }
.modal__text { color: var(--text-soft); margin-bottom: 22px; }
@keyframes modal-in { from { opacity: 0; transform: translateY(12px); } to { opacity: 1; transform: none; } }

/* ---------- Process ---------- */
.steps { list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: repeat(5, 1fr); gap: 20px; }
.step { position: relative; background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius-lg); padding: 28px; box-shadow: var(--shadow); transition: transform .3s var(--ease), border-color .3s var(--ease); }
.section--alt .step { background: var(--bg); }
.step:hover { transform: translateY(-3px); border-color: color-mix(in srgb, var(--brass) 40%, var(--border)); }
.step__num { display: inline-grid; place-items: center; width: 44px; height: 44px; border-radius: 50%; border: 1.5px solid var(--brass); color: var(--brass); font-family: "Fraunces", serif; font-weight: 600; font-size: 1.1rem; margin-bottom: 16px; }
.step h3 { font-size: 1.08rem; margin-bottom: 10px; }
.step p { color: var(--text-soft); font-size: .95rem; }

/* ---------- Expertise ---------- */
.expertise__grid { align-items: start; }
.expertise__block { background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius-lg); padding: 32px; box-shadow: var(--shadow); }
.section--alt .expertise__block { background: var(--bg); }
.expertise__sub { font-size: 1.2rem; margin-bottom: 18px; }
.domains { list-style: none; padding: 0; margin: 0; display: grid; gap: 12px; }
.domains li { position: relative; padding-left: 24px; color: var(--text); }
.domains li::before { content: ""; position: absolute; left: 0; top: 10px; width: 8px; height: 8px; border-radius: 50%; background: var(--brass); }
.tags { list-style: none; display: flex; flex-wrap: wrap; gap: 10px; padding: 0; margin: 0; }
.tags li { background: var(--bg); border: 1px solid var(--border); border-radius: var(--radius-pill); padding: 8px 16px; font-weight: 500; font-size: .92rem; }
.section--alt .tags li { background: var(--surface); }

/* ---------- FAQ ---------- */
.faq { display: grid; gap: 14px; }
.faq__item { background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius); overflow: hidden; transition: border-color .3s var(--ease); }
.faq__item:hover { border-color: color-mix(in srgb, var(--brass) 40%, var(--border)); }
.faq__h { margin: 0; font: inherit; }
.faq__q {
  width: 100%; display: flex; align-items: center; justify-content: space-between; gap: 16px; text-align: left;
  background: none; border: 0; cursor: pointer; padding: 22px 24px;
  font-family: "Fraunces", serif; font-weight: 600; font-size: 1.08rem; color: var(--accent);
}
[data-theme="dark"] .faq__q { color: var(--text); }
.faq__sign { position: relative; width: 16px; height: 16px; flex: none; }
.faq__sign::before, .faq__sign::after { content: ""; position: absolute; background: var(--brass); border-radius: 2px; transition: transform .3s var(--ease); }
.faq__sign::before { top: 7px; left: 0; width: 16px; height: 2px; }
.faq__sign::after { left: 7px; top: 0; width: 2px; height: 16px; }
.faq__q[aria-expanded="true"] .faq__sign::after { transform: scaleY(0); }
.faq__a { max-height: 0; overflow: hidden; transition: max-height .35s var(--ease); }
.faq__a p { padding: 0 24px 22px; color: var(--text-soft); }

/* ---------- Formulaire ---------- */
.field { display: flex; flex-direction: column; gap: 8px; }
.field label { font-weight: 600; font-size: .92rem; }
.field input, .field select, .field textarea {
  font: inherit; padding: 13px 15px; border-radius: var(--radius-sm);
  border: 1px solid var(--border); background: var(--surface); color: var(--text); width: 100%;
  transition: border-color .25s var(--ease);
}
.section--alt .field input, .section--alt .field select, .section--alt .field textarea { background: var(--bg); }
.field input:focus, .field select:focus, .field textarea:focus { border-color: var(--brass); }
.form { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; max-width: 640px; margin: 0 auto; }
.field--full, .form .btn, .form__status { grid-column: 1 / -1; }
.form .btn { justify-self: start; }
.form__status { font-weight: 600; color: var(--ok); min-height: 1.2em; }
[data-theme="dark"] .form__status { color: var(--accent); }
.contact__mail { text-align: center; color: var(--text-soft); margin-top: 28px; }
.contact__mail a { color: var(--brass); font-weight: 600; border-bottom: 1px solid transparent; transition: border-color .25s var(--ease); }
.contact__mail a:hover { border-bottom-color: var(--brass); }

/* ---------- Footer ---------- */
.footer { background: var(--surface-2); border-top: 1px solid var(--border); padding: 56px 0 32px; }
.footer__inner { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 32px; align-items: flex-start; }
.footer__brand { max-width: 360px; }
.footer__brand .logo__text { font-size: 21px; }
.footer__tagline { color: var(--text); font-family: "Fraunces", serif; font-style: italic; margin-top: 10px; }
.footer__promise { color: var(--text-soft); font-size: .9rem; margin-top: 8px; }
.footer__nav { display: flex; flex-wrap: wrap; gap: 14px 22px; max-width: 360px; }
.footer__nav a { position: relative; color: var(--text-soft); font-weight: 500; }
.footer__nav a:hover { color: var(--brass); }
.footer__bottom { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 12px; margin-top: 36px; padding-top: 22px; border-top: 1px solid var(--border); color: var(--text-soft); font-size: .86rem; }
.theme-toggle--footer { width: 40px; height: 40px; }

/* ---------- Apparition au scroll : fondu + translation Y douce, decalee ---------- */
.reveal { opacity: 0; transform: translateY(16px); transition: opacity .7s var(--ease), transform .7s var(--ease); will-change: opacity, transform; }
.reveal.is-visible { opacity: 1; transform: none; }
.grid .reveal, .steps .reveal, .faq .reveal { transition-delay: calc(var(--i, 0) * 90ms); }

/* ---------- Filets laiton traces (stroke-dashoffset) ---------- */
.trace path, path.trace, .hero__art-tail { stroke-dasharray: 1; stroke-dashoffset: 1; }
.trace.is-drawn path, path.trace.is-drawn, .hero__art-tail.is-drawn { stroke-dashoffset: 0; }
.trace path, path.trace, .hero__art-tail { transition: stroke-dashoffset 1.4s var(--ease); }

/* ---------- Barre de progression de defilement ---------- */
.scroll-progress {
  position: fixed; top: 0; left: 0; height: 2px; width: 0; z-index: 200;
  background: linear-gradient(90deg, var(--brass), var(--brass-hover));
}

/* ---------- Responsive ---------- */
@media (max-width: 960px) {
  .nav {
    position: fixed; inset: 72px 0 auto 0; flex-direction: column; gap: 0;
    background: var(--bg); border-bottom: 1px solid var(--border);
    padding: 8px 28px 24px; transform: translateY(-130%); transition: transform .35s var(--ease); z-index: 90;
  }
  .nav.is-open { transform: translateY(0); }
  .nav a { padding: 16px 0; border-bottom: 1px solid var(--border); font-size: 1.05rem; }
  .nav a::after { display: none; }
  .burger { display: block; }
  .header__cta { display: none; }
  .hero__inner { grid-template-columns: 1fr; text-align: center; gap: 40px; }
  .hero__copy { order: 2; }
  .hero__visual { order: 1; }
  .hero__title { margin-left: auto; margin-right: auto; }
  .hero__sub { margin-left: auto; margin-right: auto; }
  .hero__cta, .hero__micro { justify-content: center; }
  .grid--3, .grid--4 { grid-template-columns: repeat(2, 1fr); }
  .steps { grid-template-columns: repeat(2, 1fr); }
  .section__lead { text-align: center; }
}
@media (max-width: 600px) {
  .grid--2, .grid--3, .grid--4, .steps, .form { grid-template-columns: 1fr; }
  .section { padding: 68px 0; }
  .hero { padding: 56px 0 44px; }
  .est-radios { flex-direction: column; }
  .container { padding: 0 20px; }
  .estimator, .promise, .card--pillar { padding: 28px; }
}

/* =========================================================
   PREMIUM V2 (B) : presence du laiton au repos, profondeur,
   raffinement editorial sobre (pas de neon).
   ========================================================= */
body { overflow-x: hidden; }

.section { position: relative; isolation: isolate; }
.section > .container { position: relative; z-index: 2; }
/* Halo chaud tres doux par section : profondeur, confine en opacite, alterne */
.section::after {
  content: ""; position: absolute; z-index: 0; pointer-events: none;
  width: min(58vw, 660px); aspect-ratio: 1; border-radius: 50%;
  background: radial-gradient(circle, color-mix(in srgb, var(--brass) 12%, transparent), transparent 66%);
  filter: blur(24px); opacity: .9; top: -14%; right: -10%;
}
.section--alt::after { background: radial-gradient(circle, color-mix(in srgb, var(--accent) 14%, transparent), transparent 66%); right: auto; left: -10%; top: auto; bottom: -14%; }

/* Filet laiton sous chaque titre de section (flourish) */
.section__head .section__title { position: relative; display: inline-block; padding-bottom: 20px; }
.section__head .section__title::after {
  content: ""; position: absolute; left: 50%; bottom: 0; transform: translateX(-50%);
  width: 52px; height: 2px; background: var(--brass); border-radius: 2px;
}

/* Cartes : filet laiton en tete au repos + lavis discret (presence d'accent) */
.card { background-image: linear-gradient(160deg, color-mix(in srgb, var(--brass) 5%, transparent), transparent 42%); }
.section--alt .card { background-image: linear-gradient(160deg, color-mix(in srgb, var(--brass) 5%, transparent), transparent 42%); }
.card::before {
  content: ""; position: absolute; top: 0; left: 0; right: 0; height: 2px; z-index: 1;
  background: linear-gradient(90deg, var(--brass), transparent 75%);
  border-radius: var(--radius-lg) var(--radius-lg) 0 0;
  opacity: .5; transform: scaleX(.45); transform-origin: left;
  transition: opacity .35s var(--ease), transform .35s var(--ease);
}
.card:hover::before { opacity: 1; transform: scaleX(1); }
.price, .step, .expertise__block { background-image: linear-gradient(160deg, color-mix(in srgb, var(--brass) 4%, transparent), transparent 46%); }

/* Hero : l'oeil de chat flotte doucement */
.hero__art { animation: floatB 7s ease-in-out infinite; }
@keyframes floatB { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-12px); } }

/* Process : filet laiton de liaison entre les etapes */
.steps { position: relative; }
.steps::after { content: ""; position: absolute; top: 50px; left: 9%; right: 9%; height: 1px; z-index: 0; background: linear-gradient(90deg, transparent, color-mix(in srgb, var(--brass) 45%, transparent), transparent); }
.step { position: relative; z-index: 1; }

/* ---------- prefers-reduced-motion : tout coupe ---------- */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition: none !important; animation: none !important; }
  .reveal { opacity: 1; transform: none; }
  .trace path, path.trace, .hero__art-tail { stroke-dasharray: none; stroke-dashoffset: 0; }
}
