/* ═══════════════════════════════════════════════════════════════════
   A3DIA — DA « Minuit institutionnel »
   Champ navy profond à auroras + grain ; panneaux de verre dépoli iOS ;
   Fraunces ivoire, or en signature. Page d'accueil — feuille autonome.
   ═══════════════════════════════════════════════════════════════════ */

:root {
  --x-abyss: #0B1233;
  --x-abyss-2: #131E4E;
  --x-navy: #1A2961;
  --x-navy-deep: #101A45;
  --x-ivory: #F4F3FA;
  --x-ivory-60: rgba(233, 235, 252, 0.66);
  --x-ivory-40: rgba(233, 235, 252, 0.42);
  --x-ink: #131629;
  --x-ink-60: rgba(19, 22, 41, 0.64);
  --x-gold: #C5A55A;
  --x-gold-deep: #B98D2F;
  --x-line: rgba(255, 255, 255, 0.15);
  --x-line-soft: rgba(255, 255, 255, 0.09);
  --glass-w: rgba(255, 255, 255, 0.82);
  --glass-w-border: rgba(255, 255, 255, 0.5);
  --glass-d: rgba(16, 26, 69, 0.5);
  --glass-d-border: rgba(255, 255, 255, 0.14);
  --serif: 'Fraunces', Georgia, serif;
  --sans: 'Inter', -apple-system, sans-serif;
  --ease-out: cubic-bezier(0.22, 1, 0.36, 1);
  --pad: clamp(20px, 4.5vw, 72px);
  --r: 22px;
  --x-paper: #F5F3EC;
  --x-paper-2: #ECE9DF;
  --x-line-ink: rgba(19, 22, 41, 0.14);
  --x-line-ink-soft: rgba(19, 22, 41, 0.08);
  --x-char: #14151d;
}

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
[hidden] { display: none !important; }

html { scroll-behavior: smooth; }
body.x-home {
  font-family: var(--sans);
  background-color: var(--x-paper);
  color: var(--x-ink);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
  position: relative;
}

/* Champ sombre : réservé au hero (auroras + grain) */
.x-hero::before {
  content: '';
  position: absolute; inset: 0; z-index: 0;
  background:
    radial-gradient(58rem 40rem at 82% -12%, rgba(197, 165, 90, 0.17), transparent 62%),
    radial-gradient(50rem 38rem at -12% 22%, rgba(88, 118, 255, 0.24), transparent 58%),
    radial-gradient(44rem 34rem at 105% 78%, rgba(64, 92, 214, 0.2), transparent 60%),
    linear-gradient(168deg, var(--x-abyss) 0%, var(--x-abyss-2) 52%, var(--x-abyss) 100%);
}
.x-hero::after {
  content: '';
  position: absolute; inset: 0; z-index: 0;
  pointer-events: none;
  opacity: 0.05;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='180' height='180'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.85' numOctaves='2' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
}
.x-hero > * { position: relative; z-index: 1; }

img { max-width: 100%; display: block; }
a { color: inherit; }
button { font: inherit; background: none; border: none; cursor: pointer; color: inherit; }

::selection { background: var(--x-gold); color: var(--x-abyss); }
:focus-visible { outline: 2px solid var(--x-gold); outline-offset: 3px; }

.x-skip {
  position: fixed; top: -60px; left: 16px; z-index: 300;
  background: var(--x-gold); color: var(--x-abyss); padding: 10px 18px;
  font-size: 0.85rem; transition: top 0.2s;
}
.x-skip:focus { top: 12px; }

/* ── Topbar : verre sombre ──────────────────────────────────────── */
.x-topbar {
  position: fixed; inset: 0 0 auto 0; z-index: 100;
  display: flex; align-items: center; justify-content: space-between;
  padding: 0 var(--pad);
  height: 68px;
  background: var(--glass-d);
  -webkit-backdrop-filter: blur(20px) saturate(1.6);
  backdrop-filter: blur(20px) saturate(1.6);
  border-bottom: 1px solid var(--x-line-soft);
  transition: background 0.4s var(--ease-out), border-color 0.4s;
}
@supports not (backdrop-filter: blur(1px)) { .x-topbar { background: var(--x-navy-deep); } }

/* Topbar adaptative : claire une fois le hero dépassé */
body.x-past-hero .x-topbar {
  background: color-mix(in srgb, var(--x-paper) 86%, transparent);
  border-bottom-color: var(--x-line-ink-soft);
}
@supports not (backdrop-filter: blur(1px)) { body.x-past-hero .x-topbar { background: var(--x-paper); } }
body.x-past-hero .x-brand-word { color: var(--x-ink); }
body.x-past-hero .x-nav a { color: var(--x-ink-60); }
body.x-past-hero .x-nav a:hover { color: var(--x-ink); }
body.x-past-hero .x-nav .x-nav-cta { color: var(--x-ink); border-color: var(--x-line-ink); background: transparent; }
body.x-past-hero .x-nav .x-nav-cta:hover { background: var(--x-ink); border-color: var(--x-ink); color: var(--x-paper); }
body.x-past-hero .x-burger span { background: var(--x-ink); }

.x-brand { display: flex; align-items: center; gap: 12px; text-decoration: none; }
.x-brand-word {
  font-family: var(--serif);
  font-weight: 600;
  font-size: 1.5rem;
  letter-spacing: 0.02em;
  color: var(--x-ivory);
}
.x-brand-word i { font-style: normal; color: var(--x-gold); }

.x-nav { display: flex; align-items: center; gap: clamp(18px, 2.6vw, 38px); }
.x-nav a {
  text-decoration: none;
  font-size: 0.78rem;
  font-weight: 500;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--x-ivory-60);
  padding: 6px 0;
  position: relative;
  transition: color 0.25s;
}
.x-nav a::after {
  content: ''; position: absolute; left: 0; bottom: 0;
  width: 100%; height: 1px; background: var(--x-gold);
  transform: scaleX(0); transform-origin: right;
  transition: transform 0.35s var(--ease-out);
}
.x-nav a:hover { color: var(--x-ivory); }
.x-nav a:hover::after { transform: scaleX(1); transform-origin: left; }
.x-nav .x-nav-cta {
  color: var(--x-ivory);
  border: 1px solid var(--x-line);
  padding: 11px 22px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.06);
  transition: background 0.3s, color 0.3s, border-color 0.3s;
}
.x-nav .x-nav-cta::after { display: none; }
.x-nav .x-nav-cta:hover { background: var(--x-ivory); border-color: var(--x-ivory); color: var(--x-navy-deep); }

.x-burger {
  display: none;
  width: 46px; height: 46px;
  align-items: center; justify-content: center;
  flex-direction: column; gap: 6px;
}
.x-burger span {
  display: block; width: 24px; height: 1.5px;
  background: var(--x-ivory);
  transition: transform 0.35s var(--ease-out), opacity 0.25s;
}
body.x-menu-open .x-burger span:nth-child(1) { transform: translateY(7.5px) rotate(45deg); }
body.x-menu-open .x-burger span:nth-child(2) { opacity: 0; }
body.x-menu-open .x-burger span:nth-child(3) { transform: translateY(-7.5px) rotate(-45deg); }

/* ── Menu overlay ───────────────────────────────────────────────── */
.x-menu {
  position: fixed; inset: 0; z-index: 90;
  background: rgba(8, 13, 38, 0.86);
  -webkit-backdrop-filter: blur(26px) saturate(1.5);
  backdrop-filter: blur(26px) saturate(1.5);
  color: var(--x-ivory);
  display: flex; flex-direction: column; justify-content: center;
  padding: 0 var(--pad);
  clip-path: inset(0 0 100% 0);
  transition: clip-path 0.6s var(--ease-out);
  visibility: hidden;
}
@supports not (backdrop-filter: blur(1px)) { .x-menu { background: #080D26; } }
body.x-menu-open .x-menu { clip-path: inset(0 0 0% 0); visibility: visible; }
body.x-menu-open { overflow: hidden; }
body.x-menu-open .x-topbar { background: transparent; border-color: rgba(255,255,255,0.12); -webkit-backdrop-filter: none; backdrop-filter: none; }
body.x-menu-open .x-topbar .x-nav { visibility: hidden; }

.x-menu ul { list-style: none; }
.x-menu li { border-bottom: 1px solid rgba(255,255,255,0.10); }
.x-menu a {
  display: flex; align-items: baseline; gap: 22px;
  padding: clamp(14px, 2.6vh, 26px) 0;
  text-decoration: none;
  font-family: var(--serif);
  font-size: clamp(1.9rem, 5.6vh, 3.2rem);
  font-weight: 480;
  letter-spacing: -0.01em;
  color: var(--x-ivory);
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.5s var(--ease-out), transform 0.5s var(--ease-out), color 0.3s;
}
body.x-menu-open .x-menu a { opacity: 1; transform: none; }
body.x-menu-open .x-menu li:nth-child(1) a { transition-delay: 0.16s; }
body.x-menu-open .x-menu li:nth-child(2) a { transition-delay: 0.22s; }
body.x-menu-open .x-menu li:nth-child(3) a { transition-delay: 0.28s; }
body.x-menu-open .x-menu li:nth-child(4) a { transition-delay: 0.34s; }
body.x-menu-open .x-menu li:nth-child(5) a { transition-delay: 0.40s; }
.x-menu a:hover { color: var(--x-gold); }
.x-menu a i {
  font-family: var(--sans); font-style: normal;
  font-size: 0.72rem; font-weight: 500;
  letter-spacing: 0.18em; color: var(--x-gold);
}
.x-menu-meta {
  margin-top: 6vh;
  font-size: 0.8rem; letter-spacing: 0.1em;
  color: var(--x-ivory-40);
  text-transform: uppercase;
}
.x-menu-meta a { all: unset; cursor: pointer; color: var(--x-ivory); font-size: 0.8rem; letter-spacing: 0.1em; border-bottom: 1px solid var(--x-gold); }

/* ── Révélations ────────────────────────────────────────────────── */
[data-a] {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity 0.8s var(--ease-out), transform 0.8s var(--ease-out);
  transition-delay: var(--d, 0s);
}
[data-a].in { opacity: 1; transform: none; }

.x-line-mask { display: block; overflow: hidden; }
.x-line-mask > span {
  display: block;
  transform: translateY(112%);
  transition: transform 1s var(--ease-out);
  transition-delay: var(--d, 0s);
}
.x-hero.in .x-line-mask > span { transform: none; }

/* ── Hero : aurora + verre ──────────────────────────────────────── */
.x-hero {
  min-height: 100svh;
  display: flex; flex-direction: column;
  padding: 96px var(--pad) 0;
  position: relative;
  overflow: hidden;
  background: var(--x-abyss);
  color: var(--x-ivory);
}
.x-hero-inner {
  flex: 1 1 auto;
  display: flex; flex-direction: column;
  align-items: center; justify-content: center;
  text-align: center;
  gap: clamp(20px, 3.4vh, 36px);
  padding-bottom: clamp(30px, 5vh, 60px);
}

/* Eyebrow centré, filets or de part et d'autre */
.x-hero-eyebrow {
  display: flex; align-items: center; gap: 16px;
  font-size: 0.72rem; font-weight: 600;
  letter-spacing: 0.24em; text-transform: uppercase;
  color: var(--x-ivory-60);
}
.x-hero-eyebrow::before, .x-hero-eyebrow::after {
  content: ''; width: 30px; height: 1px;
  background: var(--x-gold); opacity: 0.75;
}

/* Affirmation centrale — le hook */
.x-hero-title {
  font-family: var(--serif);
  font-weight: 450;
  font-size: clamp(3.7rem, 13.5vw, 11rem);
  line-height: 0.9;
  letter-spacing: -0.03em;
  color: var(--x-ivory);
  text-shadow: 0 4px 60px rgba(8, 13, 38, 0.5);
  margin: 0;
}
.x-hero-title em { font-style: italic; font-weight: 400; color: var(--x-gold); }

.x-hero-sub {
  max-width: 42ch;
  font-size: clamp(1.02rem, 1.5vw, 1.25rem);
  line-height: 1.6;
  color: var(--x-ivory-60);
}
.x-hero-sub .gold { color: var(--x-gold); font-style: italic; }

.x-hero-actions {
  display: flex; align-items: center; justify-content: center;
  gap: 26px; flex-wrap: wrap;
}

/* Preuve légère — une ligne, filets de séparation */
.x-hero-trust {
  list-style: none;
  display: flex; align-items: center;
  margin-top: clamp(6px, 1.6vh, 16px);
}
.x-hero-trust li {
  display: flex; flex-direction: column; gap: 4px;
  padding: 2px clamp(18px, 3vw, 40px);
}
.x-hero-trust li + li { border-left: 1px solid var(--x-line); }
.x-hero-trust b {
  font-family: var(--serif); font-weight: 480;
  font-size: clamp(1.5rem, 3vw, 2.1rem);
  line-height: 1;
  color: var(--x-ivory); letter-spacing: -0.01em;
  font-variant-numeric: tabular-nums;
}
.x-hero-trust span {
  font-size: 0.66rem; font-weight: 500;
  letter-spacing: 0.13em; text-transform: uppercase;
  color: var(--x-ivory-40);
}

.x-btn--gold { background: var(--x-gold); color: var(--x-abyss); }

.x-btn {
  display: inline-flex; align-items: center; gap: 12px;
  padding: 17px 30px;
  border-radius: 999px;
  background: var(--x-gold);
  color: var(--x-abyss);
  text-decoration: none;
  font-size: 0.82rem; font-weight: 700;
  letter-spacing: 0.1em; text-transform: uppercase;
  box-shadow: 0 10px 30px rgba(197, 165, 90, 0.25);
  transition: background 0.3s, transform 0.3s var(--ease-out), box-shadow 0.3s;
}
.x-btn svg { transition: transform 0.3s var(--ease-out); }
.x-btn:hover { background: #D5B76C; box-shadow: 0 16px 40px rgba(197, 165, 90, 0.35); }
.x-btn:hover svg { transform: translateX(5px); }
.x-btn:active { transform: scale(0.98); }
.x-btn--gold { background: var(--x-gold); color: var(--x-abyss); }

.x-link {
  font-size: 0.82rem; font-weight: 600;
  letter-spacing: 0.1em; text-transform: uppercase;
  text-decoration: none;
  color: var(--x-ivory);
  padding-bottom: 5px;
  border-bottom: 1px solid var(--x-gold);
  transition: color 0.25s;
}
.x-link:hover { color: var(--x-gold); }

/* ── Bandeau de cotation : verre sombre ─────────────────────────── */
.x-ticker {
  margin: auto calc(var(--pad) * -1) 0;
  border-top: 1px solid var(--x-line-soft);
  border-bottom: 1px solid var(--x-line-soft);
  overflow: hidden;
  white-space: nowrap;
  padding: 17px 0;
  background: var(--glass-d);
  -webkit-backdrop-filter: blur(16px) saturate(1.5);
  backdrop-filter: blur(16px) saturate(1.5);
}
.x-ticker-track {
  display: inline-flex;
  animation: x-scroll 46s linear infinite;
}
.x-ticker:hover .x-ticker-track { animation-play-state: paused; }
.x-ticker span {
  font-family: var(--serif);
  font-size: 1.02rem;
  font-weight: 480;
  letter-spacing: 0.06em;
  color: var(--x-ivory-60);
  padding: 0 18px;
}
.x-ticker i {
  font-style: normal; color: var(--x-gold);
  font-size: 0.8rem; transform: translateY(-2px); display: inline-block;
}
@keyframes x-scroll { to { transform: translateX(-50%); } }

/* ── Sections (clair) ───────────────────────────────────────────── */
.x-section { padding: clamp(54px, 7.5vh, 100px) var(--pad); position: relative; }
.x-section--alt { background: var(--x-paper-2); }
.x-eyebrow {
  display: flex; align-items: center; gap: 14px;
  font-size: 0.72rem; font-weight: 600;
  letter-spacing: 0.2em; text-transform: uppercase;
  color: var(--x-ink-60);
  margin-bottom: clamp(20px, 3vh, 36px);
}
.x-eyebrow::before { content: ''; width: 34px; height: 1px; background: var(--x-gold-deep); }
.x-eyebrow .num { margin-left: auto; font-family: var(--serif); font-style: italic; color: var(--x-gold-deep); font-size: 0.95rem; letter-spacing: 0; }

/* ── Chiffres-preuves : colonnes à filets (pas de carte) ────────── */
.x-stats {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
}
.x-stats > div {
  padding: clamp(10px, 2vh, 22px) clamp(22px, 3vw, 48px);
  border-left: 1px solid var(--x-line-ink);
}
.x-stats > div:first-child { border-left: none; padding-left: 0; }
.x-stats strong {
  display: block;
  font-family: var(--serif);
  font-weight: 470;
  font-size: clamp(3.2rem, 6.8vw, 6rem);
  line-height: 1;
  letter-spacing: -0.02em;
  color: var(--x-ink);
  font-variant-numeric: tabular-nums;
}
.x-stats strong .sup { font-size: 0.45em; color: var(--x-gold-deep); font-style: italic; }
.x-stats em {
  display: block;
  margin-top: 14px;
  font-style: normal;
  font-size: 0.78rem; font-weight: 500;
  letter-spacing: 0.15em; text-transform: uppercase;
  color: var(--x-ink-60);
}

/* ── Mandat ─────────────────────────────────────────────────────── */
.x-mandat-head {
  max-width: 760px;
  margin-bottom: clamp(26px, 4vh, 50px);
}
.x-mandat-head h2 {
  font-family: var(--serif);
  font-weight: 470;
  font-size: clamp(2.2rem, 4.6vw, 4rem);
  line-height: 1.08;
  letter-spacing: -0.02em;
  color: var(--x-ink);
}
.x-mandat-head h2 .it { font-style: italic; color: var(--x-gold-deep); font-weight: 430; }
.x-mandat-head p {
  margin-top: 22px;
  max-width: 56ch;
  color: var(--x-ink-60);
  font-size: 1.02rem;
  line-height: 1.75;
}

.x-mandat-list { list-style: none; border-top: 1px solid var(--x-line-ink); }
.x-mandat-item {
  display: grid;
  grid-template-columns: 78px 1fr 1.1fr;
  gap: clamp(16px, 3vw, 48px);
  align-items: baseline;
  padding: clamp(18px, 2.6vh, 28px) clamp(4px, 1vw, 14px);
  border-bottom: 1px solid var(--x-line-ink);
  position: relative;
}
.x-mandat-item::before {
  content: ''; position: absolute; left: 0; top: 0; bottom: 0;
  width: 2px; background: var(--x-gold-deep);
  transform: scaleY(0); transform-origin: top;
  transition: transform 0.4s var(--ease-out);
}
.x-mandat-item:hover::before { transform: scaleY(1); }
.x-mandat-item .no {
  font-family: var(--serif);
  font-style: italic;
  font-size: 1.1rem;
  color: var(--x-gold-deep);
}
.x-mandat-item h3 {
  font-family: var(--serif);
  font-weight: 490;
  font-size: clamp(1.35rem, 2.3vw, 1.9rem);
  line-height: 1.2;
  letter-spacing: -0.012em;
  color: var(--x-ink);
}
.x-mandat-item p {
  font-size: 0.95rem;
  line-height: 1.7;
  color: var(--x-ink-60);
  max-width: 46ch;
}

/* ── Opérations récentes : carrousel de cards premium ───────────── */
.x-ops-head {
  display: flex; align-items: center; justify-content: space-between;
  gap: 20px;
}
.x-ops-head .x-eyebrow { margin-bottom: 0; }
.x-ops-nav { display: flex; gap: 10px; }
.x-ops-arrow {
  width: 48px; height: 48px;
  border: 1px solid var(--x-line-ink);
  border-radius: 999px;
  display: flex; align-items: center; justify-content: center;
  color: var(--x-ink); background: transparent;
  transition: background 0.3s, color 0.3s, border-color 0.3s, transform 0.2s;
}
.x-ops-arrow:hover { background: var(--x-ink); border-color: var(--x-ink); color: var(--x-paper); }
.x-ops-arrow:active { transform: scale(0.94); }
.x-ops-arrow:disabled { opacity: 0.28; pointer-events: none; }
.x-ops-arrow svg { width: 18px; height: 18px; }

.x-ops-track {
  display: flex;
  align-items: flex-start;
  gap: clamp(16px, 2vw, 24px);
  margin-top: clamp(22px, 3vh, 36px);
  padding-bottom: 6px;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  scroll-behavior: smooth;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: none;
}
.x-ops-track::-webkit-scrollbar { display: none; }

.x-op-card {
  flex: 0 0 clamp(268px, 32vw, 360px);
  scroll-snap-align: start;
  display: flex; flex-direction: column;
  background: #fff;
  border: 1px solid var(--x-line-ink);
  border-radius: 18px;
  padding: clamp(24px, 2.4vw, 32px);
  text-decoration: none;
  box-shadow: 0 10px 30px rgba(19, 22, 41, 0.05);
  transition: border-color 0.4s ease, transform 0.5s var(--ease-out), box-shadow 0.4s;
}
.x-op-card:hover {
  border-color: rgba(185, 141, 47, 0.55);
  transform: translateY(-6px);
  box-shadow: 0 26px 50px rgba(19, 22, 41, 0.12);
}
.x-op-card-top {
  display: flex; align-items: center; justify-content: space-between;
  gap: 12px; margin-bottom: clamp(16px, 2.4vh, 28px);
}
.x-op-type {
  font-size: 0.64rem; font-weight: 700;
  letter-spacing: 0.16em; text-transform: uppercase;
  color: var(--x-gold-deep);
  padding: 5px 12px;
  border: 1px solid rgba(185, 141, 47, 0.4);
  border-radius: 999px;
}
.x-op-card time {
  font-size: 0.72rem; font-weight: 500;
  letter-spacing: 0.12em; text-transform: uppercase;
  color: var(--x-ink-60);
}
.x-op-card h3 {
  font-family: var(--serif);
  font-weight: 500;
  font-size: clamp(1.5rem, 2.4vw, 2rem);
  letter-spacing: -0.012em;
  line-height: 1.1;
  color: var(--x-ink);
  margin-bottom: 10px;
}
.x-op-card p {
  font-size: 0.92rem; line-height: 1.6;
  color: var(--x-ink-60);
}
.x-op-more {
  margin-top: 18px;
  font-size: 0.74rem; font-weight: 600;
  letter-spacing: 0.12em; text-transform: uppercase;
  color: var(--x-ink);
  display: inline-flex; align-items: center; gap: 8px;
  transition: gap 0.3s, color 0.3s;
}
.x-op-card:hover .x-op-more { gap: 14px; color: var(--x-gold-deep); }
.x-ops-foot { margin-top: clamp(30px, 5vh, 48px); }

/* ── Appel : bloc sombre ancre sur fond clair ───────────────────── */
.x-call { padding: clamp(58px, 8vh, 110px) var(--pad); }
.x-call-panel {
  position: relative;
  overflow: hidden;
  background:
    radial-gradient(40rem 24rem at 88% -20%, rgba(197, 165, 90, 0.18), transparent 60%),
    var(--x-char);
  border-radius: calc(var(--r) + 8px);
  box-shadow: 0 40px 90px rgba(19, 22, 41, 0.28);
  padding: clamp(42px, 6.5vh, 80px) clamp(26px, 5vw, 80px);
  text-align: center;
  color: var(--x-ivory);
}
.x-call .x-eyebrow { justify-content: center; color: var(--x-ivory-40); }
.x-call .x-eyebrow::before { background: var(--x-gold); }
.x-call .x-eyebrow .num { color: var(--x-gold); }
.x-call h2 {
  font-family: var(--serif);
  font-weight: 450;
  font-size: clamp(2.3rem, 5.6vw, 4.8rem);
  line-height: 1.05;
  letter-spacing: -0.02em;
  max-width: 22ch;
  margin: 0 auto;
  color: var(--x-ivory);
}
.x-call h2 .it { font-style: italic; color: var(--x-gold); font-weight: 430; }
.x-call p {
  margin: 26px auto 40px;
  max-width: 52ch;
  color: var(--x-ivory-60);
  font-size: 1.02rem;
  line-height: 1.75;
}
.x-call .x-btn { background: var(--x-gold); color: var(--x-abyss); }
.x-call .x-price {
  display: block; margin-top: 20px;
  font-size: 0.78rem; letter-spacing: 0.16em; text-transform: uppercase;
  color: var(--x-ivory-40);
}

/* ── Lien texte sur fond clair ──────────────────────────────────── */
.x-section .x-link, .x-news .x-link { color: var(--x-ink); border-bottom-color: var(--x-gold-deep); }
.x-section .x-link:hover, .x-news .x-link:hover { color: var(--x-gold-deep); }

/* ── Newsletter : filet sur fond clair ──────────────────────────── */
.x-news { padding: clamp(44px, 6vh, 80px) var(--pad); }
.x-news-row {
  display: flex; align-items: flex-end; justify-content: space-between;
  gap: 40px;
  padding-top: 34px;
  border-top: 1px solid var(--x-line-ink);
}
.x-news h2 {
  font-family: var(--serif);
  font-weight: 470;
  font-size: clamp(1.7rem, 3.2vw, 2.6rem);
  letter-spacing: -0.015em;
  line-height: 1.15;
  max-width: 18ch;
  color: var(--x-ink);
}
.x-news h2 .it { font-style: italic; color: var(--x-gold-deep); }
.x-news form { display: flex; gap: 0; flex: 1; max-width: 520px; border-bottom: 1px solid var(--x-ink); }
.x-news input {
  flex: 1;
  border: none; background: transparent;
  font: inherit; font-size: 1rem;
  padding: 14px 0;
  color: var(--x-ink);
  outline: none;
  min-width: 0;
}
.x-news input::placeholder { color: var(--x-ink-60); }
.x-news button {
  font-size: 0.78rem; font-weight: 600;
  letter-spacing: 0.14em; text-transform: uppercase;
  padding: 14px 0 14px 18px;
  color: var(--x-ink);
  display: inline-flex; align-items: center; gap: 8px;
  transition: color 0.25s;
}
.x-news button:hover { color: var(--x-gold-deep); }
.x-news-msg { margin-top: 12px; font-size: 0.88rem; color: var(--x-gold-deep); }
.x-news-msg.err { color: #b3261e; }

/* ── Footer : bande sombre ──────────────────────────────────────── */
.x-footer {
  background: var(--x-char);
  color: var(--x-ivory);
  padding: clamp(52px, 7vh, 88px) var(--pad) 30px;
  overflow: hidden;
}
.x-footer-grid {
  display: grid;
  grid-template-columns: 1.4fr repeat(3, 1fr);
  gap: clamp(28px, 4vw, 60px);
  padding-bottom: clamp(38px, 5.5vh, 66px);
}
.x-footer-brand p {
  margin-top: 18px;
  font-size: 0.88rem; line-height: 1.7;
  color: var(--x-ivory-40);
  max-width: 34ch;
}
.x-footer h5 {
  font-size: 0.68rem; font-weight: 600;
  letter-spacing: 0.2em; text-transform: uppercase;
  color: var(--x-ivory-40);
  margin-bottom: 18px;
}
.x-footer ul { list-style: none; }
.x-footer ul a {
  display: inline-block;
  padding: 5px 0;
  text-decoration: none;
  font-size: 0.92rem;
  color: var(--x-ivory-60);
  transition: color 0.25s;
}
.x-footer ul a:hover { color: var(--x-gold); }

.x-footer-word {
  font-family: var(--serif);
  font-weight: 500;
  font-size: clamp(5rem, 17.5vw, 17rem);
  line-height: 0.9;
  letter-spacing: 0.01em;
  text-align: center;
  color: rgba(255, 255, 255, 0.06);
  user-select: none;
  margin-bottom: 30px;
}
.x-footer-legal {
  display: flex; justify-content: space-between; gap: 14px; flex-wrap: wrap;
  border-top: 1px solid rgba(255,255,255,0.12);
  padding-top: 24px;
  font-size: 0.78rem;
  color: var(--x-ivory-40);
}
.x-footer-legal a { color: var(--x-ivory-60); text-decoration: none; }
.x-footer-legal a:hover { color: var(--x-gold); }

/* ── Mobile ─────────────────────────────────────────────────────── */
@media (max-width: 900px) {
  .x-nav { display: none; }
  .x-burger { display: flex; }
  .x-hero { padding-top: 92px; }
  .x-stats { grid-template-columns: 1fr; }
  .x-stats > div {
    border-left: none; padding-left: 0;
    border-top: 1px solid var(--x-line-ink);
    padding-top: 24px; padding-bottom: 24px;
  }
  .x-stats > div:first-child { border-top: none; padding-top: 0; }
  .x-mandat-item {
    grid-template-columns: 1fr;
    row-gap: 8px;
  }
  .x-mandat-item p { max-width: none; }
  .x-ops-head { flex-wrap: wrap; }
  .x-op-card { flex-basis: 82vw; }
  .x-news-row { flex-direction: column; align-items: stretch; }
  .x-footer-grid { grid-template-columns: 1fr 1fr; }
  .x-call-panel { padding: 44px 22px; }
}
@media (max-width: 520px) {
  .x-hero-trust li { padding: 2px clamp(12px, 4vw, 26px); }
  .x-hero-trust b { font-size: 1.35rem; }
  .x-hero-trust span { font-size: 0.6rem; letter-spacing: 0.1em; }
  .x-footer-grid { grid-template-columns: 1fr; }
}

/* ── Rythme vertical serré en responsive : l'écart devient la norme ── */
@media (max-width: 700px) {
  .x-section { padding-top: 46px; padding-bottom: 46px; }
  .x-call { padding-top: 44px; padding-bottom: 44px; }
  .x-call-panel { padding: 40px 22px; }
  .x-news { padding-top: 40px; padding-bottom: 40px; }
  .x-eyebrow { margin-bottom: 22px; }
  .x-mandat-head { margin-bottom: 24px; }
  .x-mandat-head p { margin-top: 16px; }
  .x-mandat-item { padding-top: 18px; padding-bottom: 18px; row-gap: 6px; }
  .x-ops-track { margin-top: 20px; }
  .x-op-card-top { margin-bottom: 18px; }
  .x-stats > div { padding-top: 20px; padding-bottom: 20px; }
  .x-news-row { padding-top: 24px; }
  .x-footer { padding-top: 48px; }
  .x-footer-grid { padding-bottom: 40px; gap: 30px; }
}

/* ── Confort ────────────────────────────────────────────────────── */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  [data-a], .x-line-mask > span, .x-menu a { transition: none !important; transform: none !important; opacity: 1 !important; }
  .x-ticker-track { animation: none; }
}

/* ── Perf mobile : blur coupé là où rien ne défile derrière ─────── */
@media (max-width: 900px) {
  .x-hero-card, .x-call-panel {
    -webkit-backdrop-filter: none;
    backdrop-filter: none;
    background: rgba(255, 255, 255, 0.96);
  }
  .x-stats > div, .x-ticker, .x-footer {
    -webkit-backdrop-filter: none;
    backdrop-filter: none;
  }
  .x-stats > div { background: rgba(255, 255, 255, 0.07); }
  .x-ticker { background: rgba(13, 20, 52, 0.75); }
  .x-footer { background: rgba(8, 13, 38, 0.94); }
  .x-topbar { -webkit-backdrop-filter: blur(14px); backdrop-filter: blur(14px); }
}
