/* Serelios Patrimoine — Espace Partenaires CGP
   Design tokens: Navy #1E2A4A / Gold #B4914E / Cream #FAF7F1 */

:root {
  --navy: #1E2A4A;
  --navy-2: #2C3B61;
  --navy-deep: #131C33;
  --gold: #B4914E;
  --gold-light: #D8BB80;
  --cream: #FAF7F1;
  --cream-warm: #F3EEE3;
  --cream-card: #F2E7D2;
  --ink: #2A3348;
  --muted: #6B7280;
  --white: #FFFFFF;
  --shadow-card: 0 2px 6px rgba(19, 28, 51, .06), 0 12px 32px rgba(19, 28, 51, .10);
  --shadow-card-hover: 0 4px 12px rgba(19, 28, 51, .08), 0 24px 60px rgba(19, 28, 51, .16);
  --shadow-card-soft: 0 1px 2px rgba(19, 28, 51, .03), 0 10px 24px rgba(19, 28, 51, .04);
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

section[id] { scroll-margin-top: 96px; }

body {
  margin: 0;
  font-family: 'Hanken Grotesk', sans-serif;
  font-size: 16px;
  line-height: 1.65;
  color: var(--ink);
  background: var(--cream);
  overflow-x: hidden;
}

a { color: var(--gold); text-decoration: none; }
a:hover { color: var(--navy); }

img { max-width: 100%; }

input:focus, select:focus, textarea:focus {
  outline: 2px solid var(--gold);
  outline-offset: 0;
  border-color: var(--gold);
}
::placeholder { color: #9AA1B0; }

.wrap { max-width: 1160px; margin: 0 auto; padding: 0 24px; }
.wrap-narrow { max-width: 760px; margin: 0 auto; padding: 0 24px; }
.wrap-doc { max-width: 820px; margin: 0 auto; padding: 0 24px; }

.section { padding: 96px 0; }
.section-head { text-align: center; max-width: 620px; margin: 0 auto 56px; }
.section-head.wide { max-width: 640px; }
.eyebrow {
  font-size: 13px; font-weight: 700; letter-spacing: .22em; text-transform: uppercase;
  color: var(--gold); margin-bottom: 14px;
}
.section-head h2 {
  font-family: 'Fraunces', serif; font-weight: 700;
  font-size: clamp(28px, 3.6vw, 42px); color: var(--navy); margin: 0; line-height: 1.2;
}
.section-head p { font-size: 15.5px; color: var(--muted); margin: 12px 0 0; }
.section-dark .section-head h2 { color: var(--white); }
.section-dark .section-head p { color: rgba(255, 255, 255, .78); }

/* Buttons */
.btn {
  display: inline-block; font-family: 'Hanken Grotesk', sans-serif; font-weight: 600;
  font-size: 15px; padding: 15px 30px; border-radius: 10px; border: none; cursor: pointer;
  transition: all .3s; text-align: center;
}
.btn-gold {
  background: linear-gradient(135deg, var(--gold), var(--gold-light));
  color: var(--navy-deep); box-shadow: var(--shadow-card);
}
.btn-gold:hover { transform: translateY(-2px); box-shadow: var(--shadow-card-hover); color: var(--navy-deep); }
.btn-outline {
  background: transparent; border: 2px solid var(--navy); color: var(--navy); padding: 13px 28px;
}
.btn-outline:hover { background: var(--navy); color: var(--white); transform: translateY(-2px); }
.btn-sm { padding: 13px 26px; font-size: 14.5px; font-weight: 700; }

/* Header */
.site-header {
  position: sticky; top: 0; z-index: 100; background: rgba(250, 247, 241, .92);
  backdrop-filter: blur(12px); border-bottom: 1px solid rgba(30, 42, 74, .08);
}
.site-header .header-inner {
  height: 78px; display: flex; align-items: center; justify-content: space-between; gap: 24px;
}
.brand { display: flex; align-items: center; gap: 12px; color: var(--navy); flex-shrink: 0; }
.brand img { height: 44px; width: auto; }
.brand-name { display: flex; flex-direction: column; line-height: 1.15; }
.brand-name .title { font-family: 'Fraunces', serif; font-size: 21px; font-weight: 600; color: var(--navy); white-space: nowrap; }
.brand-name .subtitle { font-size: 10px; letter-spacing: .2em; text-transform: uppercase; color: var(--gold); font-weight: 600; }

.desktop-nav { display: flex; align-items: center; gap: 20px; }
.desktop-nav a:not(.btn) { font-size: 14px; font-weight: 500; color: var(--ink); }
.desktop-nav a:not(.btn):hover { color: var(--gold); }
.desktop-nav .btn { padding: 12px 20px; font-size: 14px; }
.desktop-nav a { white-space: nowrap; }

@media (max-width: 1160px) {
  .desktop-nav { gap: 12px; }
  .desktop-nav a:not(.btn) { font-size: 13px; }
  .desktop-nav .btn { padding: 11px 16px; font-size: 13px; }
}

.nav-toggle {
  display: none; background: none; border: none; cursor: pointer; padding: 8px;
  flex-direction: column; gap: 5px;
}
.nav-toggle span { display: block; width: 24px; height: 2px; background: var(--navy); }

.mobile-menu {
  display: none; background: var(--cream); border-bottom: 1px solid rgba(30, 42, 74, .08);
  padding: 16px 24px; flex-direction: column; gap: 16px;
}
.mobile-menu.open { display: flex; }
.mobile-menu a:not(.btn) { font-size: 15px; font-weight: 500; color: var(--ink); }
.mobile-menu .btn { padding: 12px 24px; font-size: 14px; }

@media (max-width: 1060px) {
  .desktop-nav { display: none; }
  .nav-toggle { display: flex; }
}

/* Hero */
.hero {
  position: relative; overflow: hidden;
  background:
    radial-gradient(900px 500px at 85% 10%, rgba(180, 145, 78, .14), transparent 60%),
    radial-gradient(700px 420px at 8% 92%, rgba(30, 42, 74, .06), transparent 65%),
    linear-gradient(180deg, var(--cream) 0%, var(--cream-warm) 100%);
}
.hero::before {
  content: ''; position: absolute; inset: 0;
  background-image: radial-gradient(circle at 1px 1px, rgba(30, 42, 74, .05) 1px, transparent 0);
  background-size: 26px 26px; opacity: .5; pointer-events: none;
}
.hero-inner {
  padding: 96px 0; display: grid; grid-template-columns: 1.15fr .85fr; gap: 60px; align-items: center;
}
.hero h1 {
  font-family: 'Fraunces', serif; font-weight: 700; font-size: clamp(36px, 5.2vw, 58px);
  line-height: 1.2; color: var(--navy); margin: 0 0 22px;
}
.hero h1 em { color: var(--gold); font-weight: 600; font-style: italic; }
.hero p.lead { font-size: 18px; color: var(--muted); margin: 0 0 32px; max-width: 540px; }
.hero-ctas { display: flex; gap: 16px; flex-wrap: wrap; margin-bottom: 18px; }
.hero-note { font-size: 13px; color: var(--muted); }
.hero-signature {
  display: flex; align-items: center; gap: 16px; margin-top: 22px; padding-top: 20px;
  border-top: 1px dashed rgba(180, 145, 78, .35);
}
.hero-signature-avatars { display: flex; flex-shrink: 0; }
.hero-signature-avatars img {
  width: 40px; height: 40px; border-radius: 50%; object-fit: cover; border: 2px solid var(--cream);
  box-shadow: 0 2px 6px rgba(19, 28, 51, .18); margin-left: -10px;
}
.hero-signature-avatars img:first-child { margin-left: 0; }
.hero-signature p { font-size: 13.5px; color: var(--ink); line-height: 1.5; margin: 0; text-align: left; }
.hero-signature p a { color: var(--navy); font-weight: 600; text-decoration: underline; text-decoration-color: rgba(180, 145, 78, .5); text-underline-offset: 2px; }
.hero-signature p a:hover { color: var(--gold); }
.hero-visual { width: min(480px, 100%); aspect-ratio: 1; margin: 0 auto; container-type: inline-size; }

/* Hero animated scene — authored on a fixed 520x520 canvas, then scaled down with a plain
   CSS transform to whatever size .hero-visual actually renders at (no JS, no SVG needed —
   foreignObject scaling is unreliable on mobile Safari, this is a plain-CSS equivalent). */
.scene {
  position: relative; width: 520px; height: 520px;
  transform: scale(calc(100cqw / 520px)); transform-origin: top left;
}
.scene-ring {
  position: absolute; left: 88px; top: 88px; width: 344px; height: 344px;
  border-radius: 50%; border: 1px dashed rgba(180, 145, 78, .3);
}
.scene-inner { position: absolute; inset: 13%; animation: spBob 7s ease-in-out infinite; }
.scene-halo {
  position: absolute; inset: 8% 4% 4%;
  background: radial-gradient(closest-side, rgba(180, 145, 78, .16), transparent 70%); border-radius: 50%;
}
.scene-ground { position: absolute; left: 4%; right: 4%; bottom: 58px; height: 3px; border-radius: 2px; background: rgba(30, 42, 74, .15); }
.building { position: absolute; bottom: 61px; border-radius: 8px 8px 0 0; overflow: visible; }
.building-a { left: 26px; width: 112px; height: 236px; background: var(--navy); border-top: 4px solid var(--gold); box-shadow: 0 24px 48px rgba(19, 28, 51, .25); }
.building-b { left: 158px; width: 80px; height: 182px; background: var(--navy-2); border-top: 4px solid var(--gold-light); }
.building-c { left: 250px; width: 92px; height: 130px; background: #3A4A73; opacity: .85; }
.building-c .stripe { position: absolute; top: 16px; width: 16px; height: 88px; border-radius: 3px; background: rgba(255, 255, 255, .08); }
.building-a .door { position: absolute; left: 40px; bottom: 0; width: 32px; height: 38px; border-radius: 6px 6px 0 0; background: var(--gold-light); }
.win { position: absolute; width: 20px; height: 24px; border-radius: 3px; background: rgba(255, 255, 255, .09); overflow: hidden; }
.win-glow {
  position: absolute; inset: 0; background: var(--gold-light); opacity: 0; animation: spWin 13s ease-in-out infinite;
  display: flex; align-items: flex-end; justify-content: center;
}
.win-glow .silhouette { display: flex; flex-direction: column; align-items: center; margin-bottom: 2px; }
.win-glow .head { width: 6px; height: 6px; border-radius: 50%; background: var(--navy-deep); }
.win-glow .body { width: 9px; height: 9px; border-radius: 4px 4px 0 0; background: var(--navy-deep); margin-top: 1px; }

.walker { position: absolute; left: 48px; bottom: 62px; animation: spWalk 7.5s ease-in-out infinite; opacity: 0; }
.person { position: relative; display: flex; flex-direction: column; align-items: center; gap: 2px; }
.person .head { border-radius: 50%; background: var(--cream-card); }
.person .body { background: var(--navy-2); }

.coin {
  position: absolute; width: 22px; height: 22px; border-radius: 50%;
  background: linear-gradient(135deg, var(--gold), var(--gold-light)); border: 1.5px solid var(--gold);
  color: var(--navy-deep); font: 700 12px 'Hanken Grotesk', sans-serif; display: flex; align-items: center;
  justify-content: center; opacity: 0; box-shadow: 0 3px 8px rgba(19, 28, 51, .25);
}
.coin.falling { animation: spCoin 3.4s ease-in infinite; }
.coin.partner { animation: spCoinP 4.2s ease-in infinite; }
.tray { position: absolute; left: 166px; bottom: 55px; width: 64px; height: 10px; border-radius: 0 0 8px 8px; background: var(--gold); box-shadow: inset 0 -3px 0 rgba(19, 28, 51, .2); }
.chip {
  position: absolute; background: var(--white); color: var(--navy); font: 700 9.5px 'Hanken Grotesk', sans-serif;
  letter-spacing: .08em; text-transform: uppercase; padding: 5px 10px; border-radius: 7px;
  box-shadow: 0 6px 18px rgba(19, 28, 51, .16); white-space: nowrap;
}
.chip-loyers { left: 168px; bottom: 34px; }
.chip-retro { right: 0; bottom: 34px; }

.investor { position: absolute; right: 74px; bottom: 61px; animation: spBob 5s ease-in-out .6s infinite; }
.investor .person .head { background: var(--cream-card); }
.investor .person .body { background: var(--navy); }
.investor .glasses { position: absolute; top: 8px; left: 5px; width: 7px; height: 3.5px; border-radius: 0 0 7px 7px; border: 1.6px solid var(--navy-deep); border-top: none; }
.bubble {
  position: absolute; top: -46px; left: -14px; background: var(--white); border-radius: 9px;
  padding: 7px 9px 5px; box-shadow: 0 8px 22px rgba(19, 28, 51, .18); display: flex; align-items: flex-end;
  gap: 3px; animation: spBubble 8s ease-in-out infinite; transform-origin: bottom center;
}
.bubble .bar { width: 5px; border-radius: 2px; transform-origin: bottom; animation: spBar 8s ease-out infinite; }
.bubble .bar.gold { background: var(--gold); }
.bubble .bar.navy { background: var(--navy-2); }

.partner-figure { position: absolute; right: 12px; bottom: 61px; animation: spBob 5.6s ease-in-out 1.2s infinite; }
.partner-figure .person .head { background: var(--cream-card); }
.partner-figure .person .body { background: var(--gold); }
.stack {
  position: absolute; left: -26px; width: 24px; height: 8px; border-radius: 4px;
  background: linear-gradient(135deg, var(--gold), var(--gold-light)); border: 1px solid var(--gold);
  animation: spStack 8s ease-out infinite; opacity: 0;
}

.orbit { position: absolute; inset: 0; z-index: 3; }
.pill {
  position: absolute; transform: translate(-50%, -50%); display: flex; align-items: center; gap: 5px;
  background: var(--white); border-radius: 999px; padding: 7px 13px; box-shadow: 0 10px 26px rgba(19, 28, 51, .22);
  border: 1px solid rgba(30, 42, 74, .1); white-space: nowrap; animation: spBob 6s ease-in-out infinite;
}
.pill .dot { width: 5px; height: 5px; border-radius: 50%; background: var(--navy-2); flex-shrink: 0; }
.pill span:not(.dot) { font: 600 10.5px 'Hanken Grotesk', sans-serif; letter-spacing: .04em; text-transform: uppercase; color: var(--navy); }
.pill.gold { padding: 8px 15px; border-color: rgba(180, 145, 78, .4); }
.pill.gold .dot { background: var(--gold); }
.pill.gold span:not(.dot) { font-weight: 700; font-size: 11px; color: var(--gold); }

.scene-brand {
  position: absolute; left: 50%; bottom: 6px; transform: translateX(-50%); display: flex; align-items: center;
  gap: 7px; background: var(--navy); border-radius: 999px; padding: 9px 18px; box-shadow: 0 10px 26px rgba(19, 28, 51, .3);
}
.scene-brand .dot { width: 6px; height: 6px; border-radius: 50%; background: var(--gold); }
.scene-brand span:not(.dot) { font: 700 11.5px 'Fraunces', serif; letter-spacing: .04em; color: var(--white); }

@keyframes floaty { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-10px); } }
@keyframes spWin { 0%, 8% { opacity: 0; } 16%, 84% { opacity: 1; } 92%, 100% { opacity: 0; } }
@keyframes spWalk { 0% { transform: translateX(-90px); opacity: 0; } 12% { opacity: 1; } 55% { transform: translateX(0); opacity: 1; } 68% { opacity: 0; } 100% { transform: translateX(0); opacity: 0; } }
@keyframes spCoin { 0% { transform: translateY(0) rotate(0deg); opacity: 0; } 12% { opacity: 1; } 78% { transform: translateY(112px) rotate(160deg); opacity: 1; } 100% { transform: translateY(122px) rotate(180deg); opacity: 0; } }
@keyframes spCoinP { 0% { transform: translateY(-70px); opacity: 0; } 18% { opacity: 1; } 80% { transform: translateY(0); opacity: 1; } 100% { transform: translateY(0); opacity: 0; } }
@keyframes spBob { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-5px); } }
@keyframes spBubble { 0%, 8% { transform: scale(0); opacity: 0; } 16%, 88% { transform: scale(1); opacity: 1; } 96%, 100% { transform: scale(0); opacity: 0; } }
@keyframes spBar { 0%, 15% { transform: scaleY(.2); } 35%, 100% { transform: scaleY(1); } }
@keyframes spStack { 0% { opacity: 0; transform: translateY(-8px); } 20% { opacity: 1; transform: translateY(0); } 92% { opacity: 1; } 100% { opacity: 0; } }

/* Dark panel sections (stats, marché) */
.panel-dark {
  position: relative; overflow: hidden; background: var(--navy);
}
.panel-dark .ring-1, .panel-dark .ring-2 { position: absolute; border: 1px solid rgba(180, 145, 78, .2); border-radius: 50%; }

/* Stats strip */
.stats-panel {
  background:
    radial-gradient(1100px 500px at 15% -10%, rgba(216, 187, 128, .10), transparent 55%),
    radial-gradient(900px 500px at 100% 110%, rgba(44, 59, 97, .9), transparent 60%), var(--navy);
}
.stats-panel .ring-1 { width: 420px; height: 420px; top: -210px; left: -120px; }
.stats-panel .ring-2 { width: 320px; height: 320px; bottom: -180px; right: -90px; }
.stats-kicker {
  position: relative; text-align: center; font-size: 12.5px; font-weight: 700; letter-spacing: .18em;
  text-transform: uppercase; color: var(--gold-light); padding-top: 48px;
}
.stats-grid { padding: 18px 0 64px; display: grid; grid-template-columns: repeat(4, 1fr); gap: 32px; position: relative; }
.stat { text-align: center; position: relative; }
.stat .num {
  font-family: 'Fraunces', serif; font-weight: 700; font-size: clamp(34px, 4vw, 46px);
  color: var(--gold-light); line-height: 1.2; text-shadow: 0 2px 20px rgba(216, 187, 128, .25);
}
.stat .label { font-size: 13px; text-transform: uppercase; letter-spacing: .06em; color: rgba(255, 255, 255, .72); margin-top: 6px; }
@media (min-width: 861px) {
  .stats-grid .stat:not(:last-child)::after {
    content: ''; position: absolute; top: 4px; bottom: 4px; right: -16px; width: 1px;
    background: linear-gradient(180deg, transparent, rgba(216, 187, 128, .35), transparent);
  }
}

/* Pillars */
.pillars-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 32px; }
.pillar-card {
  background: var(--white); padding: 44px 40px; border-radius: 14px;
  box-shadow: var(--shadow-card); transition: all .3s; display: flex; flex-direction: column;
}
.pillar-card:hover { transform: translateY(-6px); box-shadow: var(--shadow-card-hover); }
.pillar-head { display: flex; align-items: flex-start; justify-content: space-between; gap: 16px; margin-bottom: 22px; }
.pillar-glyph {
  width: 56px; height: 56px; background: var(--cream-card); border-radius: 14px; display: flex;
  align-items: center; justify-content: center; font-family: 'Fraunces', serif; font-size: 26px;
  font-weight: 700; color: var(--gold);
}
.pillar-gain { text-align: right; }
.pillar-gain .num { font-family: 'Fraunces', serif; font-size: 22px; font-weight: 700; color: var(--gold); line-height: 1.1; }
.pillar-gain .label { font-size: 11px; font-weight: 600; letter-spacing: .06em; text-transform: uppercase; color: var(--muted); margin-top: 2px; }
.pillar-card h3 { font-family: 'Fraunces', serif; font-size: 24px; font-weight: 600; color: var(--navy); margin: 0 0 10px; }
.pillar-card .subtitle { font-size: 15px; color: var(--muted); margin: 0 0 20px; }
.pillar-points { list-style: none; margin: 0 0 28px; padding: 0; display: flex; flex-direction: column; gap: 11px; }
.pillar-points li { position: relative; padding-left: 24px; font-size: 14.5px; color: var(--ink); }
.pillar-points li::before {
  content: '›'; position: absolute; left: 0; top: -3px; font-family: 'Fraunces', serif;
  font-size: 19px; font-weight: 700; color: var(--gold); line-height: 1;
}
.pillar-card .btn { margin-top: auto; align-self: flex-start; }
.pillar-card .btn:hover { box-shadow: 0 12px 32px rgba(180, 145, 78, .35); }

.pillar-secondary { background: var(--cream); box-shadow: var(--shadow-card-soft); border: 1px solid rgba(30, 42, 74, .1); }

.pillar-primary {
  background: linear-gradient(155deg, var(--navy), var(--navy-2)); box-shadow: 0 20px 50px rgba(19, 28, 51, .22);
}
.pillar-primary .pillar-glyph { background: rgba(255, 255, 255, .12); color: var(--gold-light); }
.pillar-primary .pillar-gain .num { color: var(--gold-light); }
.pillar-primary .pillar-gain .label { color: rgba(255, 255, 255, .62); }
.pillar-primary h3 { color: var(--white); }
.pillar-primary .subtitle { color: rgba(255, 255, 255, .7); }
.pillar-primary .pillar-points li { color: rgba(255, 255, 255, .85); }
.pillar-primary .pillar-points li::before { color: var(--gold-light); }

/* Notre différence / Portail Partenaires */
.diff-grid { display: grid; grid-template-columns: .82fr 1.18fr; gap: 36px; align-items: stretch; }

.diff-panel {
  background: radial-gradient(600px 340px at 20% -10%, rgba(216, 187, 128, .16), transparent 60%),
    linear-gradient(155deg, var(--navy), var(--navy-2));
  border-radius: 18px; padding: 40px 34px; position: relative; overflow: hidden;
  box-shadow: 0 20px 50px rgba(19, 28, 51, .22); display: flex; flex-direction: column;
}
.diff-ring { position: absolute; border: 1px solid rgba(180, 145, 78, .22); border-radius: 50%; }
.diff-ring-1 { width: 300px; height: 300px; top: -150px; right: -110px; }
.diff-ring-2 { width: 200px; height: 200px; bottom: -90px; left: -70px; border-color: rgba(180, 145, 78, .14); }
.diff-panel-top { position: relative; }
.diff-badge {
  display: inline-flex; align-items: center; gap: 9px; background: rgba(216, 187, 128, .14);
  border: 1px solid rgba(216, 187, 128, .34); border-radius: 999px; padding: 6px 14px;
  font-size: 11px; font-weight: 700; letter-spacing: .16em; text-transform: uppercase; color: var(--gold-light);
}
.diff-panel h3 { font-family: 'Fraunces', serif; font-size: 27px; font-weight: 700; color: var(--white); margin: 20px 0 10px; line-height: 1.22; }
.diff-panel-top p { font-size: 14px; color: rgba(255, 255, 255, .72); margin: 0 0 30px; }
.diff-stats { position: relative; display: flex; flex-direction: column; margin-bottom: 32px; }
.diff-stat-row {
  display: flex; justify-content: space-between; align-items: baseline; gap: 14px; padding: 15px 0;
  border-top: 1px solid rgba(216, 187, 128, .22);
}
.diff-stat-row:last-child { border-bottom: 1px solid rgba(216, 187, 128, .22); }
.diff-stat-row .num { font-family: 'Fraunces', serif; font-size: 29px; font-weight: 700; color: var(--gold-light); line-height: 1; }
.diff-stat-row .label { font-size: 12.5px; color: rgba(255, 255, 255, .66); text-align: right; max-width: 170px; }
.diff-panel .btn { position: relative; margin-top: auto; }
.diff-panel .btn:hover { box-shadow: 0 10px 26px rgba(180, 145, 78, .32); }
.diff-soon-note { position: relative; font-size: 12.5px; color: rgba(255, 255, 255, .6); margin: 14px 0 0; text-align: center; }
.diff-soon-note a { color: var(--gold-light); text-decoration: underline; }

.diff-cards-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.diff-card {
  position: relative; background: var(--cream); border: 1px solid rgba(30, 42, 74, .08); border-radius: 14px;
  padding: 26px 24px 22px; display: flex; flex-direction: column; min-height: 186px; cursor: pointer; transition: all .3s;
}
.diff-card:hover {
  border-color: rgba(180, 145, 78, .5); box-shadow: 0 4px 10px rgba(19, 28, 51, .06), 0 18px 40px rgba(19, 28, 51, .12);
  transform: translateY(-3px);
}
.diff-card-top { display: flex; justify-content: space-between; align-items: flex-start; gap: 12px; margin-bottom: 14px; }
.diff-card-num {
  width: 40px; height: 40px; border-radius: 11px; background: var(--navy); color: var(--gold-light);
  font-family: 'Fraunces', serif; font-weight: 700; font-size: 15px; display: flex; align-items: center; justify-content: center;
}
.diff-card-info {
  width: 30px; height: 30px; flex: none; display: flex; align-items: center; justify-content: center; border-radius: 50%;
  border: 1px solid rgba(180, 145, 78, .45); background: var(--white); color: var(--gold);
  font-family: 'Fraunces', serif; font-size: 14px; font-weight: 700; font-style: italic; pointer-events: none;
}
.diff-card h3 { font-size: 16px; font-weight: 600; color: var(--navy); margin: 0 0 8px; line-height: 1.35; }
.diff-card p { font-size: 13.5px; color: var(--muted); margin: 0; }
.diff-tip {
  display: none; position: absolute; left: 14px; right: 14px; bottom: calc(100% - 14px); background: var(--navy);
  color: rgba(255, 255, 255, .86); font-size: 13px; line-height: 1.6; padding: 18px 20px; border-radius: 12px;
  box-shadow: 0 18px 44px rgba(19, 28, 51, .32); z-index: 20;
}
.diff-tip::after { content: ''; position: absolute; bottom: -7px; left: 26px; width: 14px; height: 14px; background: var(--navy); transform: rotate(45deg); }
.diff-tip-label { font-size: 10.5px; font-weight: 700; letter-spacing: .16em; text-transform: uppercase; color: var(--gold-light); margin-bottom: 8px; }
.diff-card.open .diff-tip { display: block; }

@media (max-width: 1060px) {
  .diff-grid { grid-template-columns: 1fr; }
}
@media (max-width: 860px) {
  .diff-cards-grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 560px) {
  .diff-cards-grid { grid-template-columns: 1fr; }
}

/* Benefits */
.benefits-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.benefit-card {
  background: var(--cream); padding: 32px 28px; border: 1px solid rgba(30, 42, 74, .07); border-radius: 14px;
  box-shadow: var(--shadow-card-soft); transition: all .3s;
}
.benefit-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-card); border-color: rgba(30, 42, 74, .16); }
.benefit-glyph {
  width: 46px; height: 46px; background: var(--navy); border-radius: 12px; display: flex; align-items: center;
  justify-content: center; margin-bottom: 18px; flex-shrink: 0;
}
.benefit-glyph svg { width: 22px; height: 22px; }
.benefit-glyph .glyph-line { stroke: var(--gold-light); }
.benefit-glyph .glyph-fill { fill: var(--gold-light); stroke: none; }
.benefit-glyph .glyph-fill-circle { fill: var(--gold-light); stroke: none; }
.benefit-card h3 { font-size: 18px; font-weight: 600; color: var(--navy); margin: 0 0 8px; }
.benefit-card p { font-size: 14px; color: var(--muted); margin: 0; }

.benefit-featured {
  grid-column: 1 / -1; display: flex; align-items: center; gap: 30px;
  background: var(--cream-card); border-color: rgba(180, 145, 78, .32); padding: 30px 38px;
}
.benefit-featured .benefit-glyph { width: 62px; height: 62px; border-radius: 16px; margin-bottom: 0; }
.benefit-featured .benefit-glyph svg { width: 28px; height: 28px; }
.benefit-featured h3 { font-family: 'Fraunces', serif; font-size: 23px; font-weight: 700; margin: 0 0 8px; }
.benefit-featured p { font-size: 15px; margin: 0; }

@media (max-width: 560px) {
  .benefit-featured { flex-direction: column; align-items: flex-start; text-align: left; }
}

/* Process steps */
.steps-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 28px; }
.step-card { background: var(--white); padding: 36px 28px 30px; border-radius: 14px; box-shadow: var(--shadow-card); position: relative; }
.step-card .ghost-num {
  position: absolute; top: 14px; right: 20px; font-family: 'Fraunces', serif; font-weight: 700;
  font-size: 44px; color: var(--cream-card); line-height: 1;
}
.step-card .num-badge {
  width: 34px; height: 34px; border-radius: 50%; background: linear-gradient(135deg, var(--gold), var(--gold-light));
  color: var(--navy-deep); font-weight: 700; font-size: 13px; display: flex; align-items: center;
  justify-content: center; margin-bottom: 16px;
}
.step-card h3 { font-size: 17px; font-weight: 600; color: var(--navy); margin: 0 0 8px; }
.step-card p { font-size: 13.5px; color: var(--muted); margin: 0; }

/* Marché secondaire */
.marche-panel {
  background:
    radial-gradient(1000px 520px at 90% -10%, rgba(216, 187, 128, .10), transparent 55%),
    radial-gradient(800px 500px at 0% 110%, rgba(44, 59, 97, .9), transparent 60%), var(--navy);
}
.marche-panel .ring-1 { width: 520px; height: 520px; top: -260px; right: -160px; }
.marche-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 28px; position: relative; }
.marche-card {
  background: linear-gradient(160deg, rgba(255, 255, 255, .07), rgba(255, 255, 255, .02));
  border: 1px solid rgba(180, 145, 78, .28); border-top: 1px solid rgba(216, 187, 128, .5); border-radius: 14px;
  padding: 32px 26px; text-align: center; backdrop-filter: blur(6px); box-shadow: 0 20px 40px rgba(0, 0, 0, .18);
  transition: all .3s;
}
.marche-card:hover { transform: translateY(-4px); border-color: rgba(216, 187, 128, .55); box-shadow: 0 26px 54px rgba(0, 0, 0, .26); }
.marche-card .num { font-family: 'Fraunces', serif; font-weight: 700; font-size: clamp(30px, 3.4vw, 40px); color: var(--gold-light); line-height: 1.15; margin-bottom: 10px; }
.marche-card .title { font-size: 14px; font-weight: 600; color: var(--white); margin-bottom: 8px; }
.marche-card .desc { font-size: 13px; color: rgba(255, 255, 255, .66); line-height: 1.55; }
.marche-note { text-align: center; margin-top: 28px; font-size: 12px; color: rgba(255, 255, 255, .45); position: relative; }

/* Biens en vitrine */
.map-panel {
  background: var(--cream); border: 1px solid rgba(30, 42, 74, .08); border-radius: 16px;
  overflow: hidden; box-shadow: var(--shadow-card);
}
.map-panel-head {
  padding: 32px 36px 20px; display: flex; align-items: baseline; justify-content: space-between; gap: 20px; flex-wrap: wrap;
}
.map-panel-head h3 { font-family: 'Fraunces', serif; font-size: 24px; font-weight: 600; color: var(--navy); margin: 0 0 4px; }
.map-panel-head p { font-size: 14px; color: var(--muted); margin: 0; }
.map-legend { display: flex; gap: 14px; flex-wrap: wrap; font-size: 12.5px; font-weight: 600; color: var(--ink); }
.map-legend span { display: flex; align-items: center; gap: 6px; }
.map-legend .dot { width: 10px; height: 10px; border-radius: 50%; display: inline-block; }
#sp-map { height: 520px; background: #EDE6D6; }
.sp-map-marker { background: none; border: none; }
.sp-map-marker > div {
  width: 100%; height: 100%; border-radius: 50%; background: linear-gradient(135deg, var(--navy), var(--navy-2));
  border: 3px solid var(--white); box-shadow: 0 4px 14px rgba(19, 28, 51, .35); display: flex; flex-direction: column;
  align-items: center; justify-content: center; color: var(--gold-light); font-family: 'Fraunces', serif;
  font-weight: 700; cursor: pointer; transition: transform .2s;
}
.sp-map-marker > div:hover { transform: scale(1.08); }
.sp-map-marker .cnt { font-size: 17px; line-height: 1; }
.sp-map-marker .lbl { font-family: 'Hanken Grotesk', sans-serif; font-weight: 600; font-size: 8.5px; letter-spacing: .06em; text-transform: uppercase; color: rgba(255, 255, 255, .75); margin-top: 2px; }
.leaflet-popup-content-wrapper { border-radius: 12px; box-shadow: 0 12px 32px rgba(19, 28, 51, .25); font-family: 'Hanken Grotesk', sans-serif; }
.leaflet-popup-content { margin: 16px 18px; }
.sp-pop-city { font-family: 'Fraunces', serif; font-size: 17px; font-weight: 700; color: var(--navy); margin-bottom: 2px; }
.sp-pop-n { font-size: 12px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: var(--gold); margin-bottom: 8px; }
.sp-pop-types { font-size: 13px; color: var(--muted); line-height: 1.5; }
.biens-cta { text-align: center; margin-top: 44px; }

/* Équipe */
.equipe-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 28px; max-width: 980px; margin: 0 auto; }
.team-card { background: var(--white); border-radius: 14px; box-shadow: var(--shadow-card); overflow: hidden; transition: all .3s; }
.team-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-card-hover); }
.team-photo {
  height: 230px; background: linear-gradient(135deg, var(--navy), var(--navy-2)); display: flex;
  align-items: flex-end; justify-content: center; overflow: hidden;
}
.team-photo img { height: 200px; width: auto; display: block; }
.team-body { padding: 26px 26px 30px; text-align: center; }
.team-body h3 { font-family: 'Fraunces', serif; font-size: 20px; font-weight: 600; color: var(--navy); margin: 0 0 4px; }
.team-role { font-size: 12.5px; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; color: var(--gold); margin-bottom: 12px; }
.team-body p { font-size: 14px; color: var(--muted); margin: 0; }

/* Témoignages */
.temoignages-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 28px; }
.temoignage-card {
  background: var(--cream-card); padding: 36px 32px 32px; border: none; border-left: 3px solid var(--gold);
  border-radius: 4px 14px 14px 4px; box-shadow: var(--shadow-card-soft); display: flex; flex-direction: column; transition: all .3s;
}
.temoignage-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-card); }
.quote-mark { font-family: 'Fraunces', serif; font-size: 44px; line-height: 1; color: var(--gold); margin-bottom: 14px; }
.temoignage-card p { font-size: 15px; color: var(--ink); margin: 0 0 24px; flex: 1; font-style: italic; }
.temoignage-author { display: flex; align-items: center; gap: 14px; border-top: 1px solid rgba(30, 42, 74, .08); padding-top: 20px; }
.temoignage-author .initials {
  width: 44px; height: 44px; border-radius: 50%; background: var(--navy); color: var(--gold-light);
  font-family: 'Fraunces', serif; font-weight: 700; font-size: 16px; display: flex; align-items: center; justify-content: center;
}
.temoignage-author .name { font-size: 14.5px; font-weight: 600; color: var(--navy); }
.temoignage-author .role { font-size: 13px; color: var(--muted); }

/* RDV panel */
.rdv-section { background: var(--cream); padding-top: 96px; }
.rdv-panel {
  background: radial-gradient(700px 400px at 90% 0%, rgba(216, 187, 128, .14), transparent 55%),
    linear-gradient(115deg, var(--navy) 0%, var(--navy-2) 100%);
  border-radius: 20px; padding: 64px 56px; overflow: hidden; position: relative;
  box-shadow: 0 30px 70px rgba(19, 28, 51, .3);
}
.rdv-panel::before {
  content: ''; position: absolute; inset: 0; border-radius: 20px;
  background-image: radial-gradient(circle at 1px 1px, rgba(255, 255, 255, .045) 1px, transparent 0);
  background-size: 24px 24px; pointer-events: none;
}
.rdv-copy { position: relative; max-width: 640px; margin: 0 auto; text-align: center; }
.rdv-panel h2 { font-family: 'Fraunces', serif; font-weight: 700; font-size: clamp(26px, 3.2vw, 36px); color: var(--white); margin: 0 0 14px; line-height: 1.2; }
.rdv-panel p { font-size: 15.5px; color: rgba(255, 255, 255, .78); margin: 0 auto; }
.rdv-embed-card {
  position: relative; background: var(--white); border-radius: 16px; padding: 12px;
  max-width: 1100px; margin: 40px auto 0; box-shadow: 0 20px 50px rgba(0, 0, 0, .3);
  overflow-x: auto; overflow-y: hidden;
}
#inline-container { min-height: 600px; min-width: 320px; }

/* FAQ */
.faq-list { display: flex; flex-direction: column; gap: 14px; }
.faq-item { background: var(--cream); border: 1px solid rgba(30, 42, 74, .08); border-radius: 14px; overflow: hidden; }
.faq-question {
  width: 100%; background: none; border: none; cursor: pointer; padding: 20px 24px; display: flex;
  align-items: center; justify-content: space-between; gap: 16px; text-align: left; font-family: 'Hanken Grotesk', sans-serif;
}
.faq-question .q-text { font-size: 15.5px; font-weight: 600; color: var(--navy); }
.faq-question .chip {
  position: static; flex: none; width: 28px; height: 28px; border-radius: 50%; background: var(--cream-card);
  color: var(--gold); display: flex; align-items: center; justify-content: center; font-size: 16px; font-weight: 600;
  transition: all .3s; box-shadow: none;
}
.faq-item.open .faq-question .chip { background: var(--navy); color: var(--gold-light); }
.faq-answer { padding: 0 24px 22px; font-size: 14.5px; color: var(--muted); line-height: 1.7; display: none; }
.faq-item.open .faq-answer { display: block; }
.faq-more { text-align: center; font-size: 14px; color: var(--muted); margin: 36px 0 0; }
.faq-more a { font-weight: 600; }

/* Contact form */
.contact-form {
  background: var(--white); border-radius: 16px; padding: 44px 40px; box-shadow: var(--shadow-card);
  display: flex; flex-direction: column; gap: 20px;
}
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
.contact-form label { display: flex; flex-direction: column; gap: 6px; font-size: 13px; font-weight: 600; color: var(--navy); }
.contact-form input, .contact-form select, .contact-form textarea {
  font-family: 'Hanken Grotesk', sans-serif; font-size: 15px; padding: 13px 14px; border: 1px solid rgba(30, 42, 74, .18);
  border-radius: 10px; background: var(--cream); color: var(--ink);
}
.contact-form select { cursor: pointer; }
.contact-form textarea { resize: vertical; }
.contact-form .btn { width: 100%; padding: 16px; font-weight: 700; }
.contact-form .btn:hover { box-shadow: 0 12px 32px rgba(180, 145, 78, .4); }
.form-note { font-size: 12px; color: var(--muted); margin: 0; text-align: center; }
.form-error {
  font-size: 13px; color: #A23B3B; background: #FBEAEA; border: 1px solid #E7C6C6;
  border-radius: 8px; padding: 12px 14px; margin: 0; text-align: center;
}
.contact-form .btn:disabled { opacity: .6; cursor: not-allowed; transform: none !important; }

.form-success {
  background: var(--white); border-radius: 16px; padding: 56px 40px; box-shadow: var(--shadow-card); text-align: center;
}
.form-success .check {
  width: 56px; height: 56px; border-radius: 50%; background: var(--cream-card); margin: 0 auto 20px;
  display: flex; align-items: center; justify-content: center;
}
.form-success .check span {
  width: 12px; height: 22px; border-right: 3px solid var(--gold); border-bottom: 3px solid var(--gold);
  transform: rotate(40deg); margin-top: -6px; display: block;
}
.form-success h3 { font-family: 'Fraunces', serif; font-size: 24px; color: var(--navy); margin: 0 0 10px; }
.form-success p { font-size: 15px; color: var(--muted); margin: 0; }

/* Footer */
.site-footer {
  background: linear-gradient(180deg, var(--navy-deep), #0F1526); color: rgba(255, 255, 255, .72);
  position: relative; border-top: 1px solid rgba(216, 187, 128, .25);
}
.site-footer::before {
  content: ''; position: absolute; inset: 0;
  background-image: radial-gradient(circle at 1px 1px, rgba(255, 255, 255, .035) 1px, transparent 0);
  background-size: 24px 24px; pointer-events: none;
}
.footer-grid { padding: 64px 24px 0; display: grid; grid-template-columns: repeat(3, 1fr); gap: 40px; position: relative; }
.footer-brand { display: flex; align-items: center; gap: 12px; margin-bottom: 16px; }
.footer-brand img { height: 40px; width: auto; }
.footer-brand span { font-family: 'Fraunces', serif; font-size: 19px; font-weight: 600; color: var(--white); }
.footer-col p { font-size: 14px; margin: 0; max-width: 300px; }
.footer-col h4 { font-size: 12px; font-weight: 700; letter-spacing: .18em; text-transform: uppercase; color: var(--gold); margin: 0 0 16px; }
.footer-links { display: flex; flex-direction: column; gap: 10px; }
.footer-links a { font-size: 14px; color: rgba(255, 255, 255, .72); }
.footer-links a:hover { color: var(--gold-light); }
.footer-links a.cta { color: var(--gold-light); font-weight: 600; }
.footer-links a.cta:hover { color: var(--white); }
.footer-links span:not(.cta) { font-size: 14px; }
.footer-bottom {
  max-width: 1160px; margin: 48px auto 0; padding: 24px; border-top: 1px solid rgba(255, 255, 255, .1);
  display: flex; justify-content: space-between; flex-wrap: wrap; gap: 12px; font-size: 13px; position: relative;
}
.footer-bottom .legal-links { display: flex; gap: 20px; }
.footer-bottom a { color: rgba(255, 255, 255, .72); }
.footer-bottom a:hover { color: var(--gold-light); }

/* Cookie banner */
.cookie-banner {
  position: fixed; left: 24px; right: 24px; bottom: 24px; max-width: 720px; margin: 0 auto; background: var(--navy);
  border-radius: 14px; padding: 22px 26px; box-shadow: 0 20px 50px rgba(19, 28, 51, .35); display: flex;
  align-items: center; gap: 20px; flex-wrap: wrap; z-index: 200;
}
.cookie-banner p { color: rgba(255, 255, 255, .82); font-size: 13.5px; margin: 0; flex: 1 1 320px; line-height: 1.6; }
.cookie-banner p a { color: var(--gold-light); font-weight: 600; }
.cookie-actions { display: flex; gap: 10px; flex: none; }
.cookie-actions button {
  font-family: 'Hanken Grotesk', sans-serif; font-weight: 600; font-size: 13.5px; padding: 11px 18px; border-radius: 9px;
  cursor: pointer; transition: all .2s;
}
.cookie-decline { background: transparent; border: 1px solid rgba(255, 255, 255, .3); color: var(--white); }
.cookie-decline:hover { background: rgba(255, 255, 255, .08); }
.cookie-accept { background: linear-gradient(135deg, var(--gold), var(--gold-light)); border: none; color: var(--navy-deep); font-weight: 700; padding: 11px 20px; }
.cookie-accept:hover { transform: translateY(-1px); }

/* Scroll-reveal */
[data-reveal="head"] {
  opacity: 0; transform: translateY(24px);
  transition: opacity .7s cubic-bezier(.22, .61, .36, 1), transform .7s cubic-bezier(.22, .61, .36, 1);
}
[data-reveal="head"].in-view { opacity: 1; transform: translateY(0); }
[data-reveal-group] > * {
  opacity: 0; transform: translateY(28px);
  transition: opacity .6s cubic-bezier(.22, .61, .36, 1), transform .6s cubic-bezier(.22, .61, .36, 1);
}
[data-reveal-group].in-view > * { opacity: 1; transform: translateY(0); }

/* Legal / privacy pages */
.doc-header { background: var(--cream); border-bottom: 1px solid rgba(30, 42, 74, .08); }
.doc-header .wrap-doc { padding: 24px 24px 0; }
.doc-brand { display: inline-flex; align-items: center; gap: 12px; color: var(--navy); padding-bottom: 24px; }
.doc-brand img { height: 40px; width: auto; }
.doc-main { padding: 56px 24px 96px; }
.doc-main h1 { font-family: 'Fraunces', serif; font-weight: 700; font-size: clamp(28px, 4vw, 40px); color: var(--navy); margin: 0 0 40px; line-height: 1.2; }
.doc-main .updated { color: var(--muted); margin: 0 0 40px; }
.doc-main section { margin-bottom: 40px; }
.doc-main section:last-of-type { margin-bottom: 0; }
.doc-main h2 { font-family: 'Fraunces', serif; font-weight: 600; font-size: 22px; color: var(--navy); margin: 0 0 16px; }
.doc-main p { color: var(--ink); }
.doc-main ul { padding-left: 20px; color: var(--ink); display: flex; flex-direction: column; gap: 8px; }
.doc-back { margin-top: 48px; font-weight: 600; }

/* Responsive */
@media (max-width: 860px) {
  .hero-inner { grid-template-columns: 1fr; text-align: center; }
  .hero-ctas { justify-content: center; }
  .hero-signature { justify-content: center; }
  .hero-signature p { text-align: left; }
  .stats-grid { grid-template-columns: repeat(2, 1fr); }
  .pillars-grid { grid-template-columns: 1fr; }
  .benefits-grid { grid-template-columns: 1fr; }
  .steps-grid { grid-template-columns: repeat(2, 1fr); }
  .marche-grid { grid-template-columns: repeat(2, 1fr); }
  .equipe-grid { grid-template-columns: 1fr; }
  .temoignages-grid { grid-template-columns: 1fr; }
  .rdv-panel { padding: 44px 20px; }
  .rdv-embed-card { margin-top: 32px; padding: 6px; border-radius: 12px; }
  .footer-grid { grid-template-columns: 1fr; }
  .form-row { grid-template-columns: 1fr; }
}
@media (max-width: 560px) {
  .steps-grid { grid-template-columns: 1fr; }
  .wrap, .wrap-narrow, .wrap-doc { padding: 0 28px; }
}
