/* =================================================================
   MonImageWeb — Éditorial Premium
   ================================================================= */

/* ---------- Fonts (auto-hébergées, latin subset, variables) ---------- */
@font-face {
  font-family: "Fraunces";
  src: url("../fonts/fraunces-variable.woff2") format("woff2-variations"),
       url("../fonts/fraunces-variable.woff2") format("woff2");
  font-weight: 100 900;
  font-style: normal;
  font-display: swap;
  font-variation-settings: "opsz" 144, "SOFT" 50, "WONK" 0;
}
@font-face {
  font-family: "Fraunces";
  src: url("../fonts/fraunces-variable-italic.woff2") format("woff2-variations"),
       url("../fonts/fraunces-variable-italic.woff2") format("woff2");
  font-weight: 100 900;
  font-style: italic;
  font-display: swap;
}
@font-face {
  font-family: "Inter";
  src: url("../fonts/inter-variable.woff2") format("woff2-variations"),
       url("../fonts/inter-variable.woff2") format("woff2");
  font-weight: 100 900;
  font-style: normal;
  font-display: swap;
}

/* ---------- Design tokens ---------- */
:root {
  --bg:           #0E1015;
  --bg-2:         #14171F;
  --bg-3:         #1B1F29;
  --line:         rgba(245, 241, 234, .08);
  --line-strong:  rgba(245, 241, 234, .16);

  --ivory:        #F5F1EA;
  --ivory-soft:   #E8E2D5;
  --muted:        #8B8377;
  --muted-2:      #6E6A60;

  --gold:         #C4A97A;
  --gold-soft:    #D9C4A2;
  --gold-deep:    #9A7850;
  --gold-glow:    rgba(196, 169, 122, .28);

  --ff-serif:     "Cormorant Garamond", "Fraunces", Georgia, serif;
  --ff-sans:      "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;

  --max:          1200px;
  --pad:          clamp(20px, 4vw, 40px);
  --radius:       18px;
  --radius-sm:    10px;

  --ease:         cubic-bezier(.22, .61, .36, 1);
  --ease-out:     cubic-bezier(.16, 1, .3, 1);
  --t-fast:       .25s;
  --t:            .45s;
  --t-slow:       .9s;

  --shadow-soft:  0 10px 40px -16px rgba(0,0,0,.6);
  --shadow-hard:  0 30px 80px -20px rgba(0,0,0,.7);
}

/* ---------- Reset & base ---------- */
*,*::before,*::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; overflow-x: hidden; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--ivory);
  font-family: var(--ff-sans);
  font-size: clamp(16px, 1vw + .6rem, 17.5px);
  line-height: 1.6;
  font-weight: 400;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-rendering: optimizeLegibility;
  overflow-x: clip;
}

/* Grain cinéma — texture visuelle premium, 2% opacité, non perceptible consciemment */
body::after {
  content: "";
  position: fixed; inset: 0; z-index: 9998;
  pointer-events: none; user-select: none;
  opacity: .022;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='256' height='256'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.72' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='256' height='256' filter='url(%23n)'/%3E%3C/svg%3E");
  background-size: 220px 220px;
  mix-blend-mode: overlay;
}
img, svg, video { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; background: none; border: 0; cursor: pointer; }
input, textarea, select { font: inherit; color: inherit; }
h1, h2, h3, h4 { font-family: var(--ff-serif); font-weight: 400; letter-spacing: -.01em; margin: 0; }
p { margin: 0; }
ul, ol { margin: 0; padding: 0; list-style: none; }

::selection { background: var(--gold); color: var(--bg); }

/* ---------- Utilities ---------- */
.container { width: 100%; max-width: var(--max); margin-inline: auto; padding-inline: var(--pad); }
.visually-hidden {
  position: absolute !important; width: 1px; height: 1px; padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0,0,0,0); white-space: nowrap; border: 0;
}

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

/* ---------- Header / Nav ---------- */
.site-header {
  position: fixed; top: 0; left: 0; right: 0; z-index: 50;
  padding-block: 22px;
  background: transparent;
  transition: background var(--t-slow) var(--ease), padding var(--t) var(--ease);
}
/* Hairline champagne qui apparaît au scroll */
.site-header::after {
  content: "";
  position: absolute; bottom: 0; left: 0; right: 0; height: 1px;
  background: linear-gradient(90deg, transparent 0%, rgba(196,169,122,.45) 35%, rgba(196,169,122,.45) 65%, transparent 100%);
  transform: scaleX(0);
  transform-origin: center;
  transition: transform .9s var(--ease-out);
}
.site-header.is-scrolled {
  background: rgba(10, 12, 17, .82);
  backdrop-filter: blur(22px) saturate(160%);
  -webkit-backdrop-filter: blur(22px) saturate(160%);
  padding-block: 14px;
}
.site-header.is-scrolled::after { transform: scaleX(1); }

.header-inner {
  display: flex; align-items: center; justify-content: space-between;
  gap: 24px;
}

/* Brand */
.brand {
  display: inline-flex; align-items: center; gap: 11px;
  font-family: var(--ff-serif);
  font-size: clamp(17px, 1.2vw + .4rem, 20px);
  letter-spacing: .01em;
  color: var(--ivory);
  transition: opacity var(--t) var(--ease);
}
.brand:hover { opacity: .8; }
.brand img { width: 44px; height: 44px; object-fit: contain; }
.brand-text { font-weight: 300; }
.brand-accent { color: var(--gold); font-style: italic; }

/* Nav links */
.site-nav {
  display: flex; align-items: center; gap: 2px;
  position: relative;
}

/* Sliding indicator */
.nav-indicator {
  position: absolute;
  bottom: -3px; left: 0; width: 0; height: 1px;
  background: linear-gradient(90deg, transparent, var(--gold), transparent);
  pointer-events: none;
  opacity: 0;
  transition: left .38s var(--ease-out), width .38s var(--ease-out), opacity .22s var(--ease);
  will-change: left, width;
}

.site-nav a[data-nav-link] {
  position: relative;
  font-size: .84rem;
  font-weight: 300;
  letter-spacing: .06em;
  text-transform: uppercase;
  color: rgba(245, 241, 234, .48);
  padding: 8px 18px;
  white-space: nowrap;
  transition: color .3s var(--ease), transform .35s var(--ease-out);
  /* reveal stagger via JS-injected style */
}
.site-nav a[data-nav-link]:hover {
  color: var(--ivory);
  transform: translateY(-1px);
}
.site-nav a[data-nav-link].is-active { color: rgba(245,241,234,.85); }

/* CTA pill */
.site-nav .nav-cta {
  position: relative;
  margin-left: 16px;
  padding: 10px 26px;
  border-radius: 999px;
  font-size: .78rem;
  font-weight: 400;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: var(--ivory);
  border: 1px solid rgba(196, 169, 122, .4);
  overflow: hidden;
  transition: border-color .4s var(--ease), color .3s var(--ease), transform .35s var(--ease-out), box-shadow .4s var(--ease);
}
/* fill sweep */
.site-nav .nav-cta::before {
  content: "";
  position: absolute; inset: 0;
  background: var(--gold);
  transform: translateX(-104%);
  transition: transform .55s var(--ease-out);
  z-index: 0;
}
.site-nav .nav-cta span { position: relative; z-index: 1; }
.site-nav .nav-cta:hover {
  border-color: var(--gold);
  color: #0E1015;
  transform: translateY(-1px);
  box-shadow: 0 12px 40px -12px rgba(196,169,122,.5);
}
.site-nav .nav-cta:hover::before { transform: translateX(0); }

/* Hamburger */
.nav-toggle {
  display: none;
  width: 38px; height: 38px;
  border: 1px solid rgba(245,241,234,.12); border-radius: 9px;
  position: relative;
  transition: border-color .3s var(--ease);
}
.nav-toggle:hover { border-color: rgba(196,169,122,.45); }
.nav-toggle span {
  position: absolute; left: 9px; right: 9px; height: 1px; background: var(--ivory-soft);
  transition: transform .4s var(--ease-out), top .4s var(--ease-out), opacity .25s;
}
.nav-toggle span:nth-child(1) { top: 12px; }
.nav-toggle span:nth-child(2) { top: 18px; }
.nav-toggle span:nth-child(3) { top: 24px; }
.nav-toggle[aria-expanded="true"] span:nth-child(1) { top: 18px; transform: rotate(45deg); }
.nav-toggle[aria-expanded="true"] span:nth-child(2) { opacity: 0; transform: scaleX(0); }
.nav-toggle[aria-expanded="true"] span:nth-child(3) { top: 18px; transform: rotate(-45deg); }

/* ---- Mobile nav — fullscreen overlay ---- */
/* IMPORTANT : doit être un enfant direct de <body>, PAS du <header>
   Le backdrop-filter du header crée un stacking context qui piégerait
   position:fixed des enfants. Ici z-index:999 garantit le dessus. */
.mobile-nav {
  position: fixed; inset: 0; z-index: 999;
  display: flex; flex-direction: column;
  padding: clamp(76px,12vh,100px) clamp(24px,6vw,48px) clamp(32px,5vh,48px);
  overflow: hidden;
  pointer-events: none;

  clip-path: inset(0 0 100% 0);
  transition: clip-path .65s cubic-bezier(.76, 0, .24, 1);
  will-change: clip-path;
}
.mobile-nav.is-open {
  clip-path: inset(0 0 0% 0);
  pointer-events: auto;
}

/* Fond flouté */
.mnav-bg {
  position: absolute; inset: 0; z-index: 0;
  background: rgba(9, 11, 16, .96);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
}
.mnav-bg::after {
  content: ""; position: absolute; inset: 0;
  background-image: radial-gradient(rgba(245,241,234,.04) 1px, transparent 1px);
  background-size: 3px 3px;
  pointer-events: none;
}
.mnav-bg::before {
  content: ""; position: absolute;
  width: 320px; height: 320px; border-radius: 50%;
  background: radial-gradient(circle, rgba(196,169,122,.12), transparent 70%);
  filter: blur(50px);
  right: -40px; bottom: -40px;
  pointer-events: none;
}

.mnav-body {
  position: relative; z-index: 1;
  display: flex; flex-direction: column;
  flex: 1;
  justify-content: center;
}

/* Liste */
.mnav-list {
  list-style: none; padding: 0; margin: 0;
  border-top: 1px solid var(--line);
}
.mnav-item { overflow: hidden; }
.mnav-link {
  display: flex; align-items: center; gap: 16px;
  padding: 18px 0;
  border-bottom: 1px solid var(--line);
  color: rgba(245,241,234,.5);
  text-decoration: none;
  transform: translateY(28px);
  opacity: 0;
  transition: color .28s var(--ease), transform .55s var(--ease-out), opacity .45s var(--ease);
}
.mobile-nav.is-open .mnav-item:nth-child(1) .mnav-link { transition-delay: .10s; }
.mobile-nav.is-open .mnav-item:nth-child(2) .mnav-link { transition-delay: .17s; }
.mobile-nav.is-open .mnav-item:nth-child(3) .mnav-link { transition-delay: .24s; }
.mobile-nav.is-open .mnav-link { transform: translateY(0); opacity: 1; }

.mnav-link:hover { color: var(--ivory); }
.mnav-link:hover .mnav-num { color: var(--gold); }
.mnav-link:hover .mnav-arrow { opacity: 1; transform: translateX(0); }

.mnav-num {
  font-family: var(--ff-sans);
  font-size: .65rem; font-weight: 500;
  letter-spacing: .2em; text-transform: uppercase;
  color: rgba(196,169,122,.35);
  flex-shrink: 0; width: 24px;
  transition: color .28s var(--ease);
}
.mnav-text {
  font-family: var(--ff-serif);
  font-size: clamp(1.5rem, 5vw, 1.9rem);
  font-weight: 300;
  letter-spacing: -.01em;
  line-height: 1;
  flex: 1;
}
.mnav-arrow {
  color: var(--gold); opacity: 0;
  transform: translateX(-6px);
  transition: opacity .28s var(--ease), transform .3s var(--ease-out);
  flex-shrink: 0;
}

/* CTA */
.mnav-cta {
  display: inline-flex; align-items: center; gap: 8px;
  align-self: flex-start;
  margin-top: 24px;
  padding: 11px 24px;
  border-radius: 999px;
  border: 1px solid rgba(196,169,122,.32);
  font-size: .74rem; font-weight: 400;
  letter-spacing: .13em; text-transform: uppercase;
  color: var(--gold);
  position: relative; overflow: hidden;
  opacity: 0; transform: translateY(12px);
  transition: opacity .45s .32s var(--ease), transform .5s .32s var(--ease-out),
              border-color .28s var(--ease), color .28s var(--ease);
}
.mobile-nav.is-open .mnav-cta { opacity: 1; transform: translateY(0); }
.mnav-cta::before {
  content: ""; position: absolute; inset: 0;
  background: var(--gold);
  transform: translateX(-105%);
  transition: transform .48s var(--ease-out);
}
.mnav-cta span, .mnav-cta svg { position: relative; z-index: 1; }
.mnav-cta:hover { color: var(--bg); border-color: var(--gold); }
.mnav-cta:hover::before { transform: translateX(0); }

/* Footer contact */
.mnav-footer {
  position: relative; z-index: 1;
  display: flex; flex-wrap: wrap; align-items: center; gap: 8px 14px;
  padding-top: 20px;
  border-top: 1px solid var(--line);
  margin-top: auto;
  opacity: 0; transform: translateY(8px);
  transition: opacity .45s .42s var(--ease), transform .45s .42s var(--ease-out);
}
.mobile-nav.is-open .mnav-footer { opacity: 1; transform: translateY(0); }
.mnav-footer a {
  font-size: .68rem; font-weight: 400;
  letter-spacing: .12em; text-transform: uppercase;
  color: rgba(245,241,234,.28);
  transition: color .22s var(--ease);
}
.mnav-footer a:hover { color: var(--gold); }
.mnav-sep { color: rgba(196,169,122,.22); font-size: .65rem; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  padding: 14px 22px;
  border-radius: 999px;
  font-weight: 500;
  font-size: .98rem;
  letter-spacing: .01em;
  border: 1px solid transparent;
  cursor: pointer; user-select: none;
  position: relative; overflow: hidden;
  transition: transform var(--t-fast) var(--ease), box-shadow var(--t) var(--ease), background var(--t) var(--ease), border-color var(--t) var(--ease), color var(--t) var(--ease);
  will-change: transform;
}
.btn svg { transition: transform .55s var(--ease-out); }
.btn:hover { transform: translateY(-2px); }
.btn:hover svg { transform: translateX(5px); }
.btn:active { transform: translateY(0) scale(.99); }

.btn-primary {
  background: var(--gold);
  color: var(--bg);
  box-shadow: 0 14px 40px -12px var(--gold-glow), inset 0 1px 0 rgba(255,255,255,.25);
}
.btn-primary::before {
  content: ""; position: absolute; inset: 0;
  background: linear-gradient(120deg, transparent 30%, rgba(255,255,255,.4) 50%, transparent 70%);
  transform: translateX(-120%);
  transition: transform .9s var(--ease-out);
}
.btn-primary:hover::before { transform: translateX(120%); }
.btn-primary:hover { box-shadow: 0 20px 60px -10px var(--gold-glow), inset 0 1px 0 rgba(255,255,255,.35); }

.btn-ghost {
  background: rgba(196,169,122,.05);
  color: var(--ivory);
  border-color: rgba(196,169,122,.4);
}
.btn-ghost::before {
  content: ""; position: absolute; inset: 0;
  border-radius: 999px;
  background: rgba(196,169,122,.08);
  transform: scaleX(0); transform-origin: right;
  transition: transform .65s var(--ease-out);
}
.btn-ghost:hover::before { transform: scaleX(1); transform-origin: left; }
.btn-ghost:hover { border-color: rgba(196,169,122,.65); color: var(--ivory); }

.btn-block { width: 100%; }

.btn .btn-spinner {
  display: none;
  width: 16px; height: 16px;
  border: 2px solid currentColor; border-right-color: transparent;
  border-radius: 50%;
  animation: spin .7s linear infinite;
}
.btn.is-loading .btn-label, .btn.is-loading .btn-icon { opacity: 0; }
.btn.is-loading .btn-spinner { display: inline-block; position: absolute; }
.btn[disabled] { opacity: .7; cursor: not-allowed; }

@keyframes spin { to { transform: rotate(360deg); } }

/* ---------- Eyebrow / Section title ---------- */
.eyebrow, .section-eyebrow {
  display: inline-flex; align-items: center; gap: 10px;
  font-size: .78rem;
  text-transform: uppercase;
  letter-spacing: .22em;
  color: var(--gold);
  font-weight: 500;
  margin: 0 0 16px;
}
.eyebrow-dot {
  display: inline-block; width: 5px; height: 5px;
  background: var(--gold); border-radius: 50%;
  box-shadow: 0 0 8px var(--gold-glow);
  animation: pulseDot 4s ease-in-out infinite;
}
@keyframes pulseDot {
  0%, 100% { transform: scale(1); opacity: 1; }
  50%      { transform: scale(1.22); opacity: .6; }
}
@keyframes goldBreath {
  0%, 100% { opacity: 1; filter: brightness(1); }
  50%      { opacity: .78; filter: brightness(.88); }
}
.section-title {
  font-size: clamp(2rem, 3.4vw + .5rem, 3.6rem);
  line-height: 1.08;
  letter-spacing: -.02em;
  font-weight: 400;
  max-width: 22ch;
  margin-bottom: clamp(28px, 4vw, 48px);
}
.section-title em { font-style: italic; color: var(--gold); }
.lead {
  font-size: clamp(1.05rem, .4vw + 1rem, 1.2rem);
  color: var(--ivory-soft);
  max-width: 60ch;
}

.section {
  padding-block: clamp(80px, 5vw, 140px);
  position: relative;
  scroll-margin-top: 88px;
}

/* ---------- HERO ---------- */
@keyframes lineReveal {
  from { transform: translateY(108%); }
  to   { transform: translateY(0); }
}
@keyframes heroFade {
  from { opacity: 0; transform: translateY(14px); }
  to   { opacity: 1; transform: translateY(0); }
}
@keyframes expandWidth {
  from { transform: scaleX(0); }
  to   { transform: scaleX(1); }
}
@keyframes wipeReveal {
  0%   { transform: scaleX(1); transform-origin: left; }
  58%  { transform: scaleX(0); transform-origin: left; }
  59%  { transform: scaleX(0); transform-origin: right; }
  100% { transform: scaleX(0); transform-origin: right; }
}
@keyframes imgScale {
  from { transform: scale(1.08); }
  to   { transform: scale(1); }
}
@keyframes floatPortrait {
  0%, 100% { transform: translateY(0px); }
  50%      { transform: translateY(-8px); }
}
@keyframes orbFloat {
  0%   { transform: translate(0, 0) scale(1); }
  33%  { transform: translate(28px, -22px) scale(1.06); }
  66%  { transform: translate(-18px, 14px) scale(.97); }
  100% { transform: translate(0, 0) scale(1); }
}
@keyframes badgePop {
  from { opacity: 0; transform: translateY(10px) scale(.92); }
  to   { opacity: 1; transform: translateY(0) scale(1); }
}
@keyframes scrollDot {
  0%   { top: -50%; opacity: 0; }
  30%  { opacity: 1; }
  100% { top: 100%; opacity: 0; }
}
@keyframes floatHint {
  0%, 100% { transform: translate(-50%, 0); }
  50%      { transform: translate(-50%, 5px); }
}

.hero {
  position: relative;
  min-height: 100vh; min-height: 100svh;
  display: flex; align-items: center;
  padding-top: clamp(110px, 13vh, 160px);
  padding-bottom: clamp(80px, 12vh, 120px);
  overflow: hidden; isolation: isolate;
}

/* Background */
.hero-bg { position: absolute; inset: 0; z-index: -1; overflow: hidden; }
.hero-bg::before {
  content: ""; position: absolute; inset: 0;
  background:
    radial-gradient(900px 700px at 72% -8%, rgba(196,169,122,.12), transparent 60%),
    radial-gradient(700px 500px at -8% 105%, rgba(196,169,122,.06), transparent 60%),
    linear-gradient(170deg, #0A0C11 0%, var(--bg) 50%, var(--bg-2) 100%);
}
.hero-grain {
  position: absolute; inset: 0;
  background-image: radial-gradient(rgba(245,241,234,.045) 1px, transparent 1.5px);
  background-size: 3px 3px;
  opacity: .4; mix-blend-mode: overlay; pointer-events: none;
}
.hero-orb {
  position: absolute; border-radius: 50%;
  filter: blur(80px); opacity: .5;
  animation: orbFloat 26s ease-in-out infinite;
  will-change: transform;
}
.hero-orb-a {
  width: 480px; height: 480px;
  background: radial-gradient(circle, rgba(196,169,122,.4), transparent 70%);
  top: -100px; right: -60px;
}
.hero-orb-b {
  width: 360px; height: 360px;
  background: radial-gradient(circle, rgba(102,96,80,.45), transparent 70%);
  bottom: -100px; left: -80px;
  animation-delay: -6s;
}

/* Layout 2 colonnes */
.hero-inner {
  position: relative;
  display: grid;
  grid-template-columns: 1fr .72fr;
  gap: clamp(40px, 6vw, 80px);
  align-items: center;
  width: 100%;
}

/* ---- TEXTE ---- */
.hero-content { position: relative; }

.hero-eyebrow {
  animation: heroFade .6s .1s var(--ease-out) both;
  margin-bottom: 22px;
}

/* Titre — line-by-line reveal */
.hero-title {
  font-size: clamp(2.2rem, 3.4vw + .8rem, 4.1rem);
  line-height: 1.1; letter-spacing: -.018em;
  font-weight: 300; margin: 0;
}
.hero-title em { font-style: italic; color: var(--gold); font-weight: 300; }
.hero-line {
  display: block; overflow: hidden;
  padding-bottom: .06em;
}
.hero-line > span {
  display: block;
  animation: lineReveal 1s var(--ease-out) both;
}
.hero-line:nth-child(1) > span { animation-delay: .22s; }
.hero-line:nth-child(2) > span { animation-delay: .38s; }

/* Séparateur */
.hero-divider {
  width: 44px; height: 1px; margin: 28px 0;
  background: linear-gradient(90deg, var(--gold), transparent);
  transform-origin: left;
  animation: expandWidth .7s .68s var(--ease-out) both;
}

/* Sous-titre */
.hero-sub {
  font-size: clamp(1rem, .5vw + .95rem, 1.15rem);
  color: var(--ivory-soft); max-width: 52ch;
  line-height: 1.65;
  animation: heroFade .65s .78s var(--ease-out) both;
  margin: 0 0 28px;
}

/* Chips / tags */
.hero-chips {
  display: flex; flex-wrap: wrap; gap: 8px;
  margin: 0 0 34px;
  animation: heroFade .6s .9s var(--ease-out) both;
}
.h-chip {
  display: inline-flex; align-items: center;
  padding: 5px 13px;
  border: 1px solid var(--line-strong);
  border-radius: 999px;
  font-family: var(--ff-sans);
  font-size: .7rem; font-weight: 400;
  letter-spacing: .12em; text-transform: uppercase;
  color: var(--muted);
  background: rgba(245,241,234,.02);
  transition: border-color .55s var(--ease), color .55s var(--ease), background .55s var(--ease);
  cursor: default;
}
.h-chip:hover {
  border-color: rgba(196,169,122,.4);
  color: rgba(245,241,234,.65);
  background: rgba(196,169,122,.035);
}

/* CTAs */
.hero-ctas {
  display: flex; flex-wrap: wrap; gap: 12px;
  animation: heroFade .6s 1.06s var(--ease-out) both;
}

/* ---- PORTRAIT ---- */
.hero-portrait { position: relative; }
.hero-portrait-wrap {
  position: relative;
  animation: floatPortrait 10s ease-in-out 3s infinite;
}

.hero-portrait-frame {
  position: relative;
  border-radius: 3px 22px 3px 22px;
  overflow: hidden;
  aspect-ratio: 3 / 4;
  background: var(--bg-3);
  border: 1px solid var(--line);
  box-shadow: 0 24px 64px rgba(0,0,0,.35), 0 0 0 0 transparent;
}
.hero-portrait-frame::after {
  content: ""; position: absolute; inset: 0; z-index: 3;
  background: var(--gold);
  animation: wipeReveal 2s 0.7s var(--ease-out) forwards;
}

.portrait-placeholder {
  position: absolute; inset: 0; z-index: 1;
  display: flex; flex-direction: column;
  align-items: center; justify-content: center; gap: 14px;
  background: linear-gradient(160deg, var(--bg-3), var(--bg-2));
  color: var(--muted-2);
  font-size: .72rem; letter-spacing: .18em; text-transform: uppercase;
}
.portrait-placeholder svg { opacity: .35; }

.hero-portrait-frame img {
  position: absolute; inset: 0; z-index: 2;
  width: 100%; height: 100%;
  object-fit: cover; object-position: top center;
  transform: scale(1.08);
  animation: imgScale 2s 0.7s var(--ease-out) forwards;
}

/* Bordure décorative décalée */
.portrait-deco-border {
  position: absolute;
  inset: 14px -14px -14px 14px;
  border: 1px solid rgba(196,169,122,.18);
  border-radius: 3px 22px 3px 22px;
  z-index: -1;
  animation: heroFade .6s 1.1s var(--ease-out) both;
}

/* Badge "Disponible" — à l'intérieur du frame, z-index au-dessus du wipe */
.portrait-badge {
  position: absolute;
  bottom: 16px; left: 16px; z-index: 4;
  display: inline-flex; align-items: center; gap: 6px;
  padding: 5px 11px;
  background: rgba(9, 11, 16, .5);
  backdrop-filter: blur(10px);
  border: 1px solid rgba(245,241,234,.08);
  border-radius: 999px;
  font-family: var(--ff-sans);
  font-size: .6rem; font-weight: 400;
  letter-spacing: .08em; text-transform: uppercase;
  color: rgba(245,241,234,.52);
  white-space: nowrap;
  animation: badgePop 0.9s 2.4s var(--ease-out) both;
}
.portrait-badge-dot {
  width: 5px; height: 5px; border-radius: 50%;
  background: #6dba82;
  box-shadow: 0 0 5px rgba(109,186,130,.45);
  flex-shrink: 0;
  animation: pulseDot 3s ease-in-out infinite;
}

/* Scroll hint */
.scroll-hint {
  position: absolute; bottom: 28px; left: 50%; transform: translateX(-50%);
  display: flex; flex-direction: column; align-items: center; gap: 10px;
  color: var(--muted);
  font-size: .7rem; text-transform: uppercase; letter-spacing: .25em;
  animation: floatHint 2.4s ease-in-out infinite;
}
.scroll-line {
  width: 1px; height: 52px;
  background: linear-gradient(to bottom, transparent, var(--gold) 70%);
  position: relative; overflow: hidden;
}
.scroll-line::after {
  content: ""; position: absolute; left: 0; top: -50%;
  width: 1px; height: 50%; background: var(--ivory);
  animation: scrollDot 2.4s ease-in-out infinite;
}

/* Responsive hero — tablette (761px – 900px) */
@media (max-width: 900px) {
  .hero-inner {
    grid-template-columns: 1fr;
    gap: clamp(28px, 5vw, 48px);
  }
  .hero-portrait {
    order: -1;
    max-width: 240px;
    margin-inline: auto;
  }
  .hero-portrait-wrap { animation: none; }
  .portrait-deco-border { display: none; }
  .portrait-badge { bottom: 14px; left: 50%; transform: translateX(-50%); font-size: .63rem; white-space: nowrap; }
  .hero-content { text-align: center; }
  .hero-divider { margin-inline: auto; }
  .hero-chips { justify-content: center; }
  .hero-ctas { justify-content: center; }
}

/* Responsive hero — mobile (≤ 760px) : portrait pleine largeur */
@media (max-width: 760px) {
  .section { padding-block: clamp(48px, 2.5vw, 80px); }

  /* Hero : la photo remonte jusqu'en haut de l'écran */
  .hero {
    padding-top: 0;
    padding-bottom: clamp(44px, 8vh, 64px);
    align-items: flex-start;
  }
  .hero-inner { display: flex; flex-direction: column; gap: 0; }

  /* Portrait pleine largeur en bannière éditoriale — brise le padding du container */
  .hero-portrait {
    order: -1; /* Portrait en premier dans le flux */
    width: calc(100% + 2 * var(--pad));
    max-width: none;
    height: clamp(220px, 48vh, 320px);
    margin-left: calc(-1 * var(--pad));
    margin-right: calc(-1 * var(--pad));
    margin-top: 0;
    margin-bottom: 0;
    display: block;
  }
  .hero-portrait-wrap { height: 100%; animation: none; }
  .hero-portrait-frame {
    border-radius: 0;
    aspect-ratio: unset;
    height: 100%;
    border-left: none;
    border-right: none;
    border-top: none;
    border-bottom: 1px solid rgba(196,169,122,.2);
    box-shadow: none;
  }
  /* Dégradé sombre en bas du portrait → lisibilité du badge */
  .hero-portrait-frame::before {
    content: "";
    position: absolute; inset: 0; z-index: 3;
    background: linear-gradient(
      to bottom,
      transparent 30%,
      rgba(9, 11, 16, .75) 100%
    );
    pointer-events: none;
  }
  .hero-portrait-frame img { object-position: center 30%; }

  /* Badge repositionné sur le portrait — z-index au-dessus du dégradé */
  .portrait-badge {
    display: inline-flex;
    z-index: 5;
    bottom: 16px;
    left: 16px;
    transform: none;
    font-size: .62rem;
  }
  .portrait-placeholder { display: none; }
  .portrait-deco-border { display: none; }

  /* Contenu texte sous le portrait */
  .hero-content {
    text-align: left;
    padding-top: clamp(22px, 4vh, 36px);
  }
  .hero-eyebrow { margin-bottom: 14px; }
  .hero-divider { margin: 16px 0; }
  .hero-sub { margin-bottom: 16px; max-width: 100%; }
  .hero-chips {
    flex-direction: row;
    flex-wrap: wrap;
    justify-content: flex-start;
    align-items: flex-start;
    gap: 6px;
    margin-bottom: 22px;
  }
  .hero-ctas { justify-content: flex-start; flex-wrap: wrap; }
  .hero-ctas .btn { flex: unset; }

  /* Orbs réduits */
  .hero-orb-a { width: 240px; height: 240px; top: -40px; right: -40px; }
  .hero-orb-b { width: 180px; height: 180px; bottom: -40px; left: -40px; }

  .scroll-hint { display: none; }
}

/* ---------- CONSTAT ---------- */
.constat { background: var(--bg); }
.constat-grid {
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  gap: clamp(40px, 6vw, 80px);
  align-items: start;
}
.constat-text .lead strong { color: var(--ivory); font-weight: 500; }
.constat-text em { font-style: italic; color: var(--ivory-soft); }
.constat-text .section-title em { color: var(--gold); font-style: italic; }

/* Espacement entre paragraphes */
.constat-text p + p { margin-top: 1.4em; }

/* Deuxième paragraphe — conclusion visuelle */
.lead--closing {
  font-size: clamp(1.05rem, .5vw + 1rem, 1.22rem);
  color: var(--ivory);
  font-style: normal;
  margin-top: 2rem !important;
  max-width: 88%;
  opacity: .92;
}
.lead--closing em { font-style: italic; color: var(--ivory); }

/* Ligne de fermeture de colonne */
.constat-thread {
  margin-top: 2.2em;
  font-family: var(--ff-sans);
  font-size: .7rem;
  letter-spacing: .2em;
  text-transform: uppercase;
  color: rgba(196,169,122,.48);
  font-weight: 400;
  user-select: none;
}
.constat-text .accent {
  color: var(--gold);
  font-weight: 600;
  font-style: normal;
}
.constat-text .accent-xl {
  color: var(--gold);
  font-weight: 700;
  font-style: normal;
  font-size: 1.3em;
  display: inline-block;
  line-height: .85;
  vertical-align: baseline;
}

/* Halo doré animé derrière les cartes */
@keyframes statHalo {
  0%   { transform: translate(0, 0)    scale(1);    opacity: .8; }
  25%  { transform: translate(9px, -7px)  scale(1.05); opacity: 1; }
  55%  { transform: translate(-6px, 8px)  scale(.97);  opacity: .85; }
  80%  { transform: translate(5px, -4px)  scale(1.03); opacity: .9; }
  100% { transform: translate(0, 0)    scale(1);    opacity: .8; }
}
.constat-stats {
  display: grid; gap: 0;
  position: relative;
}
.constat-stats::before {
  content: "";
  position: absolute; inset: -40px; z-index: 0;
  pointer-events: none;
  background: radial-gradient(
    ellipse 75% 55% at 55% 45%,
    rgba(196,169,122,.072) 0%,
    rgba(196,169,122,.022) 40%,
    transparent 72%
  );
  animation: statHalo 26s ease-in-out infinite;
}
.constat-stats > * { position: relative; z-index: 1; }

/* Base de toutes les cartes */
.stat {
  padding: 26px 28px;
  border: 1px solid var(--line);
  border-top: 2px solid rgba(196,169,122,.18);
  border-radius: var(--radius);
  background: linear-gradient(180deg, rgba(196,169,122,.016), rgba(196,169,122,0));
  position: relative; overflow: hidden;
  isolation: isolate;
  transition: border-color .7s var(--ease), transform .7s var(--ease), box-shadow .7s var(--ease);
}
.stat::before {
  content: ""; position: absolute; left: 0; top: 0; width: 2px; height: 100%;
  background: linear-gradient(to bottom, var(--gold), transparent);
  opacity: 0; transition: opacity .7s var(--ease);
}
.stat:hover { border-color: var(--line-strong); transform: translateY(-3px); box-shadow: 0 20px 56px -18px rgba(196,169,122,.12); }
.stat:hover::before { opacity: 1; }

/* Chiffre + suffix alignés sur la baseline */
.stat-figure {
  display: flex; align-items: baseline; gap: 4px;
  margin-bottom: 0;
  margin-top: -0.3em; /* compense l'ascender élevé de Cormorant Garamond */
}
.stat-num {
  font-family: var(--ff-serif);
  font-size: clamp(2.6rem, 3.8vw + .4rem, 3.8rem);
  color: var(--gold);
  font-weight: 300;
  font-variant-numeric: tabular-nums;
  text-shadow: 0 2px 32px rgba(196,169,122,.22), 0 0 60px rgba(196,169,122,.08);
}
.stat-suffix {
  font-family: var(--ff-serif);
  font-size: clamp(.7rem, 1.1vw, 1.1rem);
  color: var(--gold); opacity: .65;
  margin-left: .18em;
  text-shadow: 0 2px 20px rgba(196,169,122,.15);
}
.stat p { margin: 0; color: var(--ivory-soft); font-size: .88rem; max-width: 26ch; line-height: 1.55; }

/* Source — lien discret italique */
.stat-source {
  display: block;
  margin-top: 10px;
  padding-top: 8px;
  border-top: 1px solid var(--line);
}
.stat-source a {
  font-family: var(--ff-serif);
  font-size: .75rem;
  font-style: italic;
  letter-spacing: .01em;
  color: var(--muted-2);
  text-decoration: none;
  transition: color .4s var(--ease);
}
.stat-source a:hover { color: rgba(196,169,122,.7); }

/* --- Niveau 01 : stat principale --- */
.stat--l1 {
  padding: 16px 26px 18px;
  background: linear-gradient(155deg, rgba(196,169,122,.05) 0%, rgba(196,169,122,.006) 65%);
  border-top: 2px solid rgba(196,169,122,.44);
}
.stat--l1 .stat-num {
  font-size: clamp(3.8rem, 6vw + .4rem, 6rem);
  text-shadow: 0 4px 48px rgba(196,169,122,.28), 0 0 80px rgba(196,169,122,.1);
}
.stat--l1 .stat-figure { margin-bottom: 0; }
.stat--l1 p { font-size: .95rem; line-height: 1.5; }

/* Règle dorée séparatrice */
.stat-rule {
  width: 32px; height: 1px;
  background: linear-gradient(90deg, rgba(196,169,122,.5), transparent);
  margin: 10px 0 9px;
}

/* Fils qui s'affinent entre les niveaux */
.stat-thread {
  display: block;
  margin-left: 26px;
}
.stat-thread--a {
  height: 18px;
  width: 1px;
  background: linear-gradient(to bottom, rgba(196,169,122,.28), rgba(196,169,122,.12));
}
.stat-thread--b {
  height: 14px;
  width: 1px;
  background: linear-gradient(to bottom, rgba(196,169,122,.12), rgba(196,169,122,.04));
}

/* --- Niveau 02 : stat secondaire --- */
.stat--l2 {
  padding: 12px 22px 12px;
  border-top: 2px solid rgba(196,169,122,.26);
  background: linear-gradient(180deg, rgba(196,169,122,.02), rgba(196,169,122,0));
}
.stat--l2 .stat-num {
  font-size: clamp(2.8rem, 4.4vw + .3rem, 4.2rem);
}
.stat--l2 .stat-figure { margin-bottom: 6px; }
.stat--l2 p { font-size: .92rem; }

/* --- Niveau 03 : stat tertiaire --- */
.stat--l3 {
  padding: 10px 20px 10px;
  border-top: 2px solid rgba(196,169,122,.12);
  background: linear-gradient(180deg, rgba(196,169,122,.01), rgba(196,169,122,0));
  opacity: .88;
}
.stat--l3 .stat-num {
  font-size: clamp(1.8rem, 2.6vw + .2rem, 2.6rem);
}
.stat--l3 .stat-figure { margin-bottom: 6px; }
.stat--l3 p { font-size: .84rem; }

/* ===== STAT — MICRO-ANIMATIONS ===== */

/* @property pour l'angle de la bordure lumineuse */
@property --glow-angle {
  syntax: '<angle>';
  initial-value: 0deg;
  inherits: false;
}

/* Keyframes */
@keyframes numPulse {
  0%, 88%, 100% { filter: brightness(1);    }
  94%           { filter: brightness(1.14); }
}
@keyframes faceShimmer {
  0%,  87%, 100% { transform: translateX(-160%) skewX(-10deg); opacity: 0; }
  88%             { opacity: 1; }
  91%             { transform: translateX(360%) skewX(-10deg); opacity: 0; }
}
@keyframes statBg2 {
  0%   { transform: translate(0,    0);     }
  35%  { transform: translate(-20px, 14px); }
  68%  { transform: translate( 14px,-20px); }
  100% { transform: translate(0,    0);     }
}

/* --- Reflet qui traverse la carte (effect 4) --- */
.stat-shine {
  position: absolute; inset: 0; z-index: 3;
  pointer-events: none; overflow: hidden;
  border-radius: inherit;
}
.stat-shine::before {
  content: "";
  position: absolute;
  top: -100%; left: 0;
  width: 40%; height: 300%;
  transform: translateX(-160%) skewX(-10deg); opacity: 0;
  background: linear-gradient(
    105deg,
    transparent 35%,
    rgba(255,248,220,.055) 50%,
    transparent 65%
  );
}
.stat--l1 .stat-shine::before { animation: faceShimmer 23s ease-out infinite  5s; }
.stat--l2 .stat-shine::before { animation: faceShimmer 31s ease-out infinite 14s; }
.stat--l3 .stat-shine::before { animation: faceShimmer 43s ease-out infinite 24s; }
.stat:hover .stat-shine::before { animation-play-state: paused; }

/* --- Micro-oscillation des chiffres (effect 3) --- */
.stat--l1 .stat-num { animation: numPulse 20s ease-in-out infinite  6s; }
.stat--l2 .stat-num { animation: numPulse 25s ease-in-out infinite  9s; }
.stat--l3 .stat-num { animation: numPulse 17s ease-in-out infinite 13s; }

/* --- Deuxième couche de fond flottante (effect 5) --- */
.constat-stats::after {
  content: "";
  position: absolute; inset: -50px; z-index: 0;
  pointer-events: none;
  background: radial-gradient(
    ellipse 42% 32% at 32% 74%,
    rgba(196,169,122,.042) 0%,
    transparent 68%
  );
  animation: statBg2 22s ease-in-out infinite 7s;
}

/* Désactiver pour prefers-reduced-motion */
@media (prefers-reduced-motion: reduce) {
  .stat-shine::before,
  .stat--l1 .stat-num, .stat--l2 .stat-num, .stat--l3 .stat-num,
  .constat-stats::before, .constat-stats::after {
    animation: none !important;
  }
}

/* ---------- OFFRE ---------- */
.offre { background: linear-gradient(180deg, var(--bg) 0%, var(--bg-2) 100%); }
.offre-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  align-items: stretch;
  gap: 24px;
}
.offre-card {
  position: relative;
  padding: clamp(28px, 3vw, 44px);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--bg-2);
  display: flex; flex-direction: column;
  height: 100%;
  transition: border-color .65s var(--ease), transform .65s var(--ease), box-shadow .65s var(--ease);
  overflow: hidden;
}
.offre-card::after {
  content: ""; position: absolute; inset: 0;
  background: radial-gradient(600px 200px at var(--mx,50%) var(--my,0%), rgba(196,169,122,.10), transparent 60%);
  opacity: 0; transition: opacity .65s var(--ease);
  pointer-events: none;
}
.offre-card:hover {
  border-color: rgba(196,169,122,.3);
  transform: translateY(-6px);
  box-shadow: 0 28px 70px -20px rgba(196,169,122,.12);
}
.offre-card:hover::after { opacity: 1; }

.offre-card-head { display: flex; align-items: baseline; gap: 14px; margin-bottom: 16px; }
.offre-num {
  font-family: var(--ff-serif);
  font-size: .9rem; color: rgba(196,169,122,.5);
  letter-spacing: .08em;
}
.offre-card h3 {
  font-size: clamp(1.25rem, 1.4vw + .4rem, 1.65rem);
  font-weight: 400;
  line-height: 1.2;
}
.offre-card p { color: var(--ivory-soft); margin-bottom: 20px; }
.offre-list { display: grid; gap: 12px; flex: 1; }
.offre-list li {
  position: relative; padding-left: 26px;
  color: var(--ivory-soft); font-size: .98rem;
}
.offre-list li::before {
  content: ""; position: absolute; left: 0; top: .7em;
  width: 14px; height: 1px; background: var(--gold);
}

/* Bouton dans la carte offre */
.offre-cta {
  align-self: flex-start;
  font-size: .92rem;
  padding: 13px 26px;
  margin-top: 28px;
}

.offre-card-feature {
  background: linear-gradient(160deg, rgba(196,169,122,.10) 0%, var(--bg-2) 60%);
  border-color: var(--gold-deep);
}
.offre-card-feature::before {
  content: ""; position: absolute; inset: 0;
  border: 1px solid var(--gold);
  border-radius: var(--radius);
  opacity: .3;
  pointer-events: none;
}
.offre-flag {
  display: inline-block;
  align-self: flex-start;
  font-size: .68rem; text-transform: uppercase; letter-spacing: .18em;
  background: var(--gold); color: var(--bg);
  padding: 6px 14px; border-radius: 999px;
  font-weight: 600;
  margin-bottom: 20px;
}
.offre-flag--ghost { visibility: hidden; }

/* ---------- POUR QUI ---------- */
.pourqui { background: var(--bg-2); }
.pourqui-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 16px;
  margin-top: 52px;
  list-style: none;
}
.pourqui-card {
  display: flex;
  flex-direction: row;
  align-items: stretch;
  border: 1px solid rgba(196,169,122,.1);
  border-left: 2px solid rgba(196,169,122,.22);
  background: rgba(196,169,122,.02);
  overflow: hidden;
  transition: border-color .6s var(--ease), border-left-color .6s var(--ease), background .6s var(--ease);
  cursor: default;
}
.pourqui-card:hover {
  border-color: rgba(196,169,122,.18);
  border-left-color: rgba(196,169,122,.55);
  background: rgba(196,169,122,.045);
}

/* Zone texte — même taille qu'avant */
.pourqui-body {
  flex: 1;
  padding: 32px 36px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  min-width: 0;
}
.pourqui-body h3 {
  font-family: var(--ff-serif);
  font-size: clamp(1.05rem, .8vw + .7rem, 1.3rem);
  font-weight: 600;
  color: var(--ivory);
  margin-bottom: 8px;
  transition: color .5s var(--ease);
}
.pourqui-card:hover .pourqui-body h3 { color: var(--gold); }
.pourqui-body p {
  font-family: var(--ff-sans);
  font-size: .8rem;
  color: rgba(196,169,122,.85);
  letter-spacing: .04em;
  line-height: 1.5;
}

/* Zone image — diagonale gauche via clip-path */
.pourqui-img {
  width: 28%;
  flex-shrink: 0;
  position: relative;
  clip-path: polygon(18% 0%, 100% 0%, 100% 100%, 0% 100%);
  overflow: hidden;
}
.pourqui-img img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  filter: brightness(.68) saturate(.68);
  transition: transform 1.1s var(--ease-out), filter .7s var(--ease);
}
.pourqui-card:hover .pourqui-img img {
  transform: scale(1.05);
  filter: brightness(.88) saturate(.95);
}

/* ---------- METHODE ---------- */
.methode { background: linear-gradient(180deg, var(--bg-2) 0%, var(--bg) 100%); }
.methode .section-title {
  font-size: clamp(1.55rem, 2.3vw + .35rem, 2.82rem);
}
.methode-steps {
  position: relative;
  display: grid; gap: 6px;
  margin-top: clamp(24px, 4vw, 40px);
}
.methode-steps::before {
  content: ""; position: absolute;
  left: 27px; top: 18px; bottom: 18px;
  width: 1px;
  background: var(--line);
}
.methode-steps::after {
  content: ""; position: absolute;
  left: 27px; top: 18px;
  width: 1px;
  background: linear-gradient(to bottom, var(--gold), var(--gold-deep));
  height: var(--progress, 0%);
  transition: height .6s var(--ease);
  box-shadow: 0 0 14px var(--gold-glow);
}
.methode-step {
  display: grid;
  grid-template-columns: 56px 1fr;
  gap: 24px;
  padding: 16px 0;
  align-items: start;
  position: relative;
}
.methode-num {
  position: relative;
  width: 56px; height: 56px;
  display: inline-flex; align-items: center; justify-content: center;
  border: 1px solid rgba(245,241,234,.10);
  border-radius: 50%;
  font-family: var(--ff-serif);
  font-size: 1.1rem; color: var(--ivory);
  background: var(--bg);
  transition: border-color var(--t) var(--ease), color var(--t) var(--ease), background var(--t) var(--ease);
}
.methode-step.is-active .methode-num,
.methode-step:hover .methode-num {
  border-color: var(--gold); color: var(--gold);
  box-shadow: 0 0 30px -8px var(--gold-glow);
}
.methode-step h3 {
  font-size: clamp(1.4rem, 1.5vw + .4rem, 1.8rem);
  font-weight: 600;
  margin-bottom: 4px;
}
.methode-hook {
  font-size: clamp(.97rem, .5vw + .82rem, 1.08rem);
  color: var(--gold);
  font-style: italic;
  margin-bottom: 6px;
  opacity: .9;
}
.methode-step p { max-width: 60ch; }

/* ---------- POURQUOI MOI ---------- */
.pourquoi { background: var(--bg); }
.pourquoi-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}
.pillar {
  padding: 36px 32px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--bg-2);
  transition: border-color .65s var(--ease), transform .65s var(--ease), box-shadow .65s var(--ease);
}
.pillar:hover {
  border-color: rgba(196,169,122,.28);
  transform: translateY(-4px);
  box-shadow: 0 24px 60px -18px rgba(196,169,122,.14);
}
.pillar-icon {
  width: 54px; height: 54px;
  display: inline-flex; align-items: center; justify-content: center;
  border-radius: 14px;
  background: linear-gradient(160deg, rgba(196,169,122,.18), rgba(196,169,122,.02));
  color: var(--gold);
  margin-bottom: 22px;
  border: 1px solid var(--line);
  animation: goldBreath 7s ease-in-out infinite;
  transition: transform .65s var(--ease-out), box-shadow .65s var(--ease);
}
.pillar:hover .pillar-icon {
  transform: scale(1.07);
  box-shadow: 0 0 22px -4px rgba(196,169,122,.22);
  animation-play-state: paused;
}
.pillar h3 {
  font-size: clamp(1.3rem, 1.4vw + .4rem, 1.6rem);
  font-weight: 600; margin-bottom: 8px;
}
.pillar-lead {
  color: var(--ivory);
  font-size: .97rem;
  line-height: 1.7;
  margin-bottom: 12px;
}
.pillar-lead em {
  font-style: normal;
  color: var(--gold);
}
.pillar-points {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 5px;
}
.pillar-points li {
  font-size: .8rem;
  color: rgba(196,169,122,.55);
  letter-spacing: .03em;
  padding-left: 14px;
  position: relative;
}
.pillar-points li::before {
  content: "—";
  position: absolute; left: 0;
  color: rgba(196,169,122,.35);
  font-size: .75rem;
}
.pillar p { color: var(--ivory-soft); }
.pourquoi-closing {
  margin-top: clamp(28px, 3vw, 44px);
  font-size: clamp(.95rem, .4vw + .82rem, 1.05rem);
  color: rgba(196,169,122,.55);
  font-style: italic;
  text-align: center;
  max-width: 64ch;
  margin-left: auto;
  margin-right: auto;
}

/* ---------- CONTACT ---------- */
.contact { background: linear-gradient(180deg, var(--bg) 0%, var(--bg-2) 100%); position: relative; overflow: hidden; }
.contact::before {
  content: ""; position: absolute; right: -160px; top: -160px;
  width: 480px; height: 480px; border-radius: 50%;
  background: radial-gradient(circle, rgba(196,169,122,.18), transparent 70%);
  filter: blur(40px); pointer-events: none;
}
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(40px, 6vw, 80px);
  align-items: stretch;
  position: relative;
}
.contact-direct {
  margin-top: 36px;
  border-top: 1px solid var(--line);
}
.contact-direct li {
  display: flex;
  flex-direction: column;
  gap: 5px;
  padding: 16px 0;
  border-bottom: 1px solid var(--line);
}
.contact-label {
  font-size: .7rem; text-transform: uppercase; letter-spacing: .2em;
  color: var(--muted);
}
.contact-direct a, .contact-direct span:not(.contact-label) {
  font-family: var(--ff-serif);
  font-size: clamp(1rem, .5vw + .9rem, 1.15rem);
  color: var(--ivory);
}
.contact-direct a {
  display: inline-block;
  transition: color .5s var(--ease), transform .5s var(--ease-out);
}
.contact-direct a:hover { color: var(--gold); transform: translateX(5px); }

/* Contact form */
.contact .section-eyebrow { letter-spacing: .18em; }
.contact .section-title {
  font-size: clamp(1.85rem, 3.15vw + .45rem, 3.35rem);
  margin-bottom: clamp(14px, 2vw, 22px);
}
.contact .lead { font-size: clamp(.95rem, .35vw + .88rem, 1.06rem); }
.lead-gold { font-style: normal; color: var(--gold); }
.contact-reassure {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 13px;
  margin-top: 24px;
}
.contact-reassure li {
  font-size: .82rem;
  color: rgba(196,169,122,.80);
  letter-spacing: .02em;
  padding-left: 18px;
  position: relative;
}
.contact-reassure li::before {
  content: "✓";
  position: absolute; left: 0;
  color: var(--gold);
  font-size: .78rem;
}
.contact-form {
  padding: clamp(20px, 2.5vw, 32px);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: linear-gradient(180deg, rgba(245,241,234,.025), rgba(245,241,234,0));
  backdrop-filter: blur(6px);
  display: flex;
  flex-direction: column;
  gap: 16px;
  max-width: 92%;
  margin-left: auto;
  margin-top: clamp(24px, 3vw, 40px);
  justify-content: space-between;
}
.form-row { display: grid; gap: 16px; }
.form-row-split { grid-template-columns: 1fr 1fr; }
.field {
  display: grid; gap: 8px;
  position: relative;
}
.field-label {
  font-size: .76rem; text-transform: uppercase; letter-spacing: .22em;
  color: var(--muted);
}
.field-opt { color: var(--muted-2); font-size: .68rem; text-transform: none; letter-spacing: .1em; }
.field input, .field textarea {
  width: 100%;
  background: var(--bg);
  border: 1px solid var(--line-strong);
  border-radius: var(--radius-sm);
  padding: 12px 14px;
  color: var(--ivory);
  transition: border-color var(--t-fast) var(--ease), background var(--t-fast) var(--ease), box-shadow var(--t) var(--ease);
  font-family: var(--ff-sans);
  resize: vertical;
}
.field input::placeholder, .field textarea::placeholder { color: var(--muted-2); }
.field input:hover, .field textarea:hover { border-color: var(--muted); }
.field input:focus, .field textarea:focus {
  outline: none;
  border-color: rgba(196,169,122,.55);
  background: rgba(196,169,122,.018);
  box-shadow: 0 0 0 3px rgba(196,169,122,.09), 0 2px 14px rgba(196,169,122,.07);
}
.field.is-invalid input, .field.is-invalid textarea { border-color: #c45a3e; }
.field-error {
  color: #f0a892; font-size: .82rem; margin-top: 2px;
}

.field-hp {
  position: absolute !important; left: -9999px !important;
  width: 1px; height: 1px; overflow: hidden;
}
.consent {
  display: grid;
  grid-template-columns: 22px 1fr;
  gap: 12px; align-items: start;
  font-size: .88rem;
  color: var(--ivory-soft);
}
.consent input[type="checkbox"] {
  appearance: none; -webkit-appearance: none;
  width: 18px; height: 18px;
  border: 1px solid var(--line-strong);
  border-radius: 4px;
  margin-top: 4px;
  background: var(--bg);
  display: grid; place-items: center;
  transition: border-color var(--t-fast) var(--ease), background var(--t-fast) var(--ease);
  cursor: pointer;
}
.consent input[type="checkbox"]:checked {
  background: var(--gold); border-color: var(--gold);
}
.consent input[type="checkbox"]:checked::before {
  content: ""; width: 10px; height: 6px;
  border-left: 2px solid var(--bg); border-bottom: 2px solid var(--bg);
  transform: rotate(-45deg) translate(1px, -1px);
}
.consent a { color: var(--gold); text-decoration: underline; text-underline-offset: 3px; }

.form-status {
  padding: 12px 14px;
  border-radius: var(--radius-sm);
  font-size: .92rem;
  border: 1px solid;
  margin: 0;
}
.form-status.is-success {
  background: rgba(106, 163, 90, .1);
  border-color: rgba(106, 163, 90, .35);
  color: #b8d8ab;
}
.form-status.is-error {
  background: rgba(196, 90, 62, .1);
  border-color: rgba(196, 90, 62, .35);
  color: #f0a892;
}

/* ---------- Footer ---------- */
.site-footer {
  background: var(--bg);
  border-top: 1px solid var(--line);
  padding-block: clamp(40px, 5vw, 60px);
  color: var(--muted);
  font-size: .92rem;
}
.footer-inner {
  display: grid;
  grid-template-columns: 1.1fr 1.2fr;
  gap: clamp(28px, 4vw, 60px);
  align-items: start;
}
.footer-brand .brand { margin-bottom: 12px; }
.footer-tag { color: var(--ivory-soft); max-width: 30ch; }
.footer-meta p { margin: 0 0 14px; line-height: 1.7; }
.footer-links {
  display: flex; flex-wrap: wrap; gap: 18px;
  margin: 16px 0 24px;
  border-top: 1px solid var(--line);
  padding-top: 18px;
}
.footer-links a {
  color: var(--ivory-soft);
  position: relative;
  transition: color var(--t-fast) var(--ease);
}
.footer-links a:hover { color: var(--gold); }
.copy { color: var(--muted-2); font-size: .85rem; }

/* ---------- Reveal animations ---------- */
.reveal {
  opacity: 0;
  transform: translateY(18px);
  transition: opacity .9s var(--ease-out), transform .9s var(--ease-out);
  will-change: opacity, transform;
}
.reveal.is-in {
  opacity: 1;
  transform: translateY(0);
}

/* ---------- Legal pages ---------- */
.page-legal { background: var(--bg); }
.legal-main { padding-top: clamp(120px, 14vh, 160px); padding-bottom: clamp(80px, 10vw, 120px); }
.legal-article { max-width: 780px; }
.legal-title {
  font-size: clamp(2.2rem, 4vw + .5rem, 3.4rem);
  line-height: 1.05;
  margin: 12px 0 18px;
  font-weight: 300;
}
.legal-lead { color: var(--muted); margin-bottom: 40px; font-size: .95rem; }
.legal-article section { margin-bottom: 40px; padding-top: 32px; border-top: 1px solid var(--line); }
.legal-article section:first-of-type { border-top: 0; padding-top: 0; }
.legal-article h2 {
  font-size: clamp(1.35rem, 1.5vw + .4rem, 1.7rem);
  font-weight: 400;
  color: var(--gold);
  margin-bottom: 14px;
}
.legal-article p, .legal-article li { color: var(--ivory-soft); margin-bottom: 12px; }
.legal-article ul { list-style: none; padding-left: 0; }
.legal-article ul li { position: relative; padding-left: 22px; }
.legal-article ul li::before {
  content: ""; position: absolute; left: 0; top: .7em;
  width: 12px; height: 1px; background: var(--gold);
}
.legal-article a { color: var(--gold); text-decoration: underline; text-underline-offset: 3px; }
.legal-article strong { color: var(--ivory); font-weight: 600; }
.legal-back { margin-top: 60px; }

/* ---------- 404 page ---------- */
.page-404 { background: var(--bg); min-height: 100vh; min-height: 100svh; display: grid; place-items: center; position: relative; overflow: hidden; }
.page-404::before {
  content: ""; position: absolute; inset: 0;
  background:
    radial-gradient(800px 500px at 30% 0%, rgba(196,169,122,.10), transparent 60%),
    radial-gradient(700px 500px at 80% 100%, rgba(196,169,122,.07), transparent 60%);
  pointer-events: none;
}
.error-main { width: 100%; position: relative; }
.error-inner { text-align: center; padding: 60px 0; max-width: 720px; margin: 0 auto; }
.error-inner .eyebrow { justify-content: center; }
.error-title {
  font-size: clamp(2.4rem, 5vw + .8rem, 4.6rem);
  line-height: 1.05;
  font-weight: 300;
  margin: 18px 0 18px;
}
.error-title em { font-style: italic; color: var(--gold); }
.error-sub { color: var(--ivory-soft); max-width: 50ch; margin: 0 auto 36px; }
.page-404 .hero-ctas { justify-content: center; }

/* ---------- Responsive ---------- */
@media (max-width: 980px) {
  .constat-grid { grid-template-columns: 1fr; }
  .offre-grid { grid-template-columns: 1fr; }
  .pourquoi-grid { grid-template-columns: 1fr; }
  .contact-grid { grid-template-columns: 1fr; }
  .contact-form { max-width: 100%; margin-left: 0; margin-top: 0; }
  .footer-inner { grid-template-columns: 1fr; }
  .form-row-split { grid-template-columns: 1fr; }
  .stat-pair { grid-template-columns: 1fr 1fr; }
}
@media (min-width: 761px) {
  /* sur desktop : overlay jamais visible, même si is-open */
  .mobile-nav { display: none !important; }
}

@media (max-width: 760px) {
  .site-nav { display: none; }
  .nav-toggle { display: inline-flex; }

  .pourqui-grid { grid-template-columns: 1fr; gap: 12px; margin-top: 36px; }
  .pourqui-img { width: 26%; clip-path: polygon(14% 0%, 100% 0%, 100% 100%, 0% 100%); }
  .pourqui-body { padding: 20px 22px; }

  .methode-step { grid-template-columns: 44px 1fr; gap: 16px; }
  .methode-num { width: 44px; height: 44px; font-size: 1rem; }
  .methode-steps::before, .methode-steps::after { left: 22px; }
  .methode .section-title { font-size: clamp(1.75rem, 5vw + .4rem, 2.6rem); max-width: 100%; }

  .contact-direct li { gap: 3px; padding: 14px 0; }
}
@media (max-width: 480px) {
  .stat-pair { grid-template-columns: 1fr; }
  .offre-flag { margin-bottom: 16px; }
  .stat { padding: 22px; }
  .contact-form { padding: 22px; }
}

/* ---------- Reduced motion ---------- */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: .001ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: .01ms !important;
    scroll-behavior: auto !important;
  }
  .reveal { opacity: 1; transform: none; }
}

/* ---------- Print ---------- */
@media print {
  .site-header, .site-footer, .scroll-hint, .nav-toggle, .mobile-nav { display: none !important; }
  body { background: #fff; color: #000; }
  a { color: #000; }
}
