/* Apex Trading Academy · style Apple (pages produits sombres), accent or du logo ATA */
:root {
  --bg: #000;
  --tile: #0f0e0c;
  --tile-2: #17150f;
  --line: rgba(255, 255, 255, .08);
  --text: #f5f5f7;
  --dim: #86868b;
  --dim-2: #a1a1a6;
  --gold: #d4a560;
  --gold-2: #ecc983;
  --gold-3: #f3dba3;
  --bronze: #8a6234;
  --ink-gold: #24170a;
  --gold-grad: linear-gradient(180deg, #f3dba3 0%, #e2b972 30%, #c48a4a 66%, #9a6a38 100%);
  --gold-metal: linear-gradient(180deg, #b8874e 0%, #e2b972 28%, #f3dba3 46%, #d4a560 62%, #a87840 84%, #8a6234 100%);
  --gold-line: linear-gradient(180deg, rgba(236, 201, 131, .5), rgba(212, 165, 96, .08) 40%, rgba(168, 120, 64, .22));
  --font: -apple-system, BlinkMacSystemFont, "SF Pro Display", "SF Pro Text", "Inter", "Helvetica Neue", sans-serif;
  --ease: cubic-bezier(.25, .1, .25, 1);
  --spring: cubic-bezier(.32, .72, 0, 1);
  --wrap: 1080px;
  --r: 28px;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  margin: 0; background: var(--bg); color: var(--text);
  font-family: var(--font); font-size: 17px; line-height: 1.47; letter-spacing: -.022em;
  -webkit-font-smoothing: antialiased; -moz-osx-font-smoothing: grayscale;
}
img { max-width: 100%; display: block; }
a { color: inherit; }
::selection { background: var(--gold); color: #000; }

h1, h2, h3 { margin: 0; font-weight: 600; }
h1 { font-size: clamp(3rem, 8.4vw, 6rem); line-height: 1.02; letter-spacing: -.045em; font-weight: 700; }
h2 { font-size: clamp(2.2rem, 5vw, 3.5rem); line-height: 1.06; letter-spacing: -.035em; }
h3 { font-size: 1.5rem; line-height: 1.17; letter-spacing: -.025em; }
.dim { color: var(--dim); }
.gold { background: var(--gold-metal); -webkit-background-clip: text; background-clip: text; color: transparent; -webkit-box-decoration-break: clone; box-decoration-break: clone; }
.kicker { margin: 0 0 14px; font-size: 1.05rem; font-weight: 600; letter-spacing: -.01em; color: var(--gold); }

/* ---------- Bandeau risque + nav ---------- */
.riskbar {
  background: #0b0a08; color: var(--dim-2);
  text-align: center; font-size: 12px; letter-spacing: -.01em; padding: 10px 20px;
}
.riskbar a { color: var(--gold-2); text-decoration: none; margin-left: 4px; white-space: nowrap; }
.riskbar a:hover { text-decoration: underline; }

.nav {
  position: sticky; top: 0; z-index: 40;
  background: rgba(0, 0, 0, .72);
  backdrop-filter: saturate(180%) blur(20px); -webkit-backdrop-filter: saturate(180%) blur(20px);
  border-bottom: 1px solid var(--line);
}
.nav-inner { max-width: var(--wrap); margin: 0 auto; height: 52px; padding: 0 22px; display: flex; align-items: center; justify-content: space-between; gap: 24px; }
.brand img { height: 20px; width: auto; }
.nav-links { display: flex; gap: 34px; }
.nav-links a { font-size: 12.5px; color: var(--dim-2); text-decoration: none; letter-spacing: -.01em; transition: color .3s var(--ease); }
.nav-links a:hover { color: var(--text); }

/* ---------- Boutons ---------- */
.pill {
  display: inline-flex; align-items: center; justify-content: center;
  padding: 13px 24px; border-radius: 980px;
  background: var(--gold-grad); color: var(--ink-gold);
  font-size: 17px; font-weight: 500; letter-spacing: -.02em; text-decoration: none; white-space: nowrap;
  transition: transform .4s var(--spring), filter .3s var(--ease);
}
.pill:hover { filter: brightness(1.08); }
.pill:active { transform: scale(.97); }
.pill-sm { padding: 6px 14px; font-size: 12.5px; }
.link { color: var(--gold-2); text-decoration: none; font-size: 17px; }
.link:hover { text-decoration: underline; }

/* ---------- Hero ---------- */
.hero { max-width: var(--wrap); margin: 0 auto; padding: 96px 22px 0; text-align: center; }
.hero .kicker { font-size: 1.3rem; margin-bottom: 18px; }
.sub { max-width: 640px; margin: 24px auto 0; font-size: 1.3rem; line-height: 1.38; color: var(--dim-2); letter-spacing: -.02em; }
.hero-actions { margin-top: 36px; display: flex; align-items: center; justify-content: center; gap: 28px; flex-wrap: wrap; }

.vsl { margin: 72px auto 0; max-width: 980px; }
.vsl-frame {
  position: relative; aspect-ratio: 16 / 9; overflow: hidden;
  border-radius: var(--r);
  background:
    radial-gradient(60% 70% at 50% 40%, rgba(212, 165, 96, .14), transparent 70%),
    linear-gradient(180deg, #1a1a1c, #0c0c0d);
  box-shadow: 0 0 0 1px var(--line), 0 40px 100px -30px rgba(212, 165, 96, .25);
  display: grid; place-items: center;
}
.vsl-mark { position: absolute; width: 44%; left: 50%; top: 50%; transform: translate(-50%, -50%); opacity: .1; }
.vsl-play {
  position: relative; z-index: 1;
  width: 84px; height: 84px; border-radius: 50%; border: 0; cursor: pointer;
  background: rgba(255, 255, 255, .14);
  backdrop-filter: blur(20px); -webkit-backdrop-filter: blur(20px);
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .18);
  display: grid; place-items: center;
  transition: transform .5s var(--spring), background .3s var(--ease);
}
.vsl-play svg { width: 32px; height: 32px; fill: #fff; margin-left: 4px; }
.vsl-play:hover { transform: scale(1.08); background: rgba(255, 255, 255, .22); }
.vsl-meta {
  position: absolute; left: 28px; right: 28px; bottom: 22px;
  display: flex; justify-content: space-between; font-size: 13px; color: var(--dim-2);
}
.vsl-toast {
  position: absolute; top: 24px; left: 50%; transform: translateX(-50%); margin: 0; white-space: nowrap;
  padding: 10px 18px; border-radius: 980px; font-size: 14px;
  background: rgba(255, 255, 255, .12); backdrop-filter: blur(20px); -webkit-backdrop-filter: blur(20px);
}
.caption { margin: 18px 0 0; font-size: 13px; color: var(--dim); }

/* Logo hero + halo */
body { background: radial-gradient(1200px 700px at 50% -120px, rgba(212, 165, 96, .16), transparent 70%) no-repeat, var(--bg); }
.hero-logo { width: min(340px, 72vw); height: auto; margin: 0 auto 44px; filter: drop-shadow(0 10px 40px rgba(212, 165, 96, .25)); }

/* Repères */
.trust { max-width: var(--wrap); margin: 0 auto; padding: 96px 22px 0; }
.trust-inner { display: grid; grid-template-columns: repeat(4, 1fr); border-block: 1px solid rgba(212, 165, 96, .18); }
.trust-inner div { padding: 28px 20px; text-align: center; }
.trust-inner div + div { border-left: 1px solid rgba(212, 165, 96, .12); }
.trust-inner b { display: block; font-weight: 600; font-size: 1.05rem; color: var(--gold-2); }
.trust-inner span { font-size: 14px; color: var(--dim); }

/* Résultats */
.results { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.result { margin: 0; padding: 14px; }
.result-shot {
  aspect-ratio: 4 / 5; border-radius: 18px;
  background: radial-gradient(70% 50% at 50% 30%, rgba(212, 165, 96, .12), transparent 70%), #12100c;
  border: 1px dashed rgba(212, 165, 96, .35);
  display: grid; place-items: center; text-align: center; font-size: 13px; color: var(--dim);
}
.result-shot img { width: 100%; height: 100%; object-fit: cover; border-radius: inherit; }
.result figcaption { padding: 16px 10px 6px; display: flex; justify-content: space-between; gap: 12px; font-size: 14px; }
.result figcaption b { font-weight: 600; }
.result figcaption span { color: var(--dim); }

/* ---------- Énoncé ---------- */
.statement { max-width: var(--wrap); margin: 0 auto; padding: 180px 22px 40px; }
.statement p { margin: 0; max-width: 900px; font-size: clamp(2rem, 4.4vw, 3.4rem); line-height: 1.1; font-weight: 600; letter-spacing: -.035em; }

/* ---------- Sections ---------- */
.section { max-width: var(--wrap); margin: 0 auto; padding: 140px 22px 0; }
.section.narrow { max-width: 820px; }
.head { margin-bottom: 56px; }
.head .sub { margin-left: 0; }
#reserver .head, #faq .head { text-align: center; }
#reserver .head .sub { margin-left: auto; }

.tile {
  position: relative;
  background: linear-gradient(180deg, #141210, #0a0908);
  border-radius: var(--r);
  padding: 40px;
  box-shadow: 0 30px 80px -40px rgba(0, 0, 0, .9);
}
.tile::before {
  content: ""; position: absolute; inset: 0; border-radius: inherit; padding: 1px; pointer-events: none;
  background: var(--gold-line);
  -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0);
  -webkit-mask-composite: xor; mask-composite: exclude;
}
.tile h3 { margin-bottom: 12px; }
.tile p { margin: 0; color: var(--dim-2); }
.tile .kicker { color: var(--gold); margin-bottom: 14px; }

/* Bento méthode */
.bento { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
.tile-xl { grid-column: 1 / -1; display: grid; grid-template-columns: auto 1fr 1fr; gap: 40px; align-items: center; padding: 56px; }
.tile-num {
  display: block; font-size: 3.4rem; font-weight: 700; letter-spacing: -.05em; line-height: 1;
  background: var(--gold-grad); -webkit-background-clip: text; background-clip: text; color: transparent;
  margin-bottom: 26px;
}
.tile-xl .tile-num { font-size: 6rem; margin: 0; }
.tile-xl h3 { font-size: 2rem; letter-spacing: -.035em; }
.plan-card { background: var(--tile-2); border-radius: 20px; padding: 8px 22px; box-shadow: inset 0 0 0 1px var(--line); }
.plan-row { display: flex; justify-content: space-between; padding: 14px 0; font-size: 15px; color: var(--dim-2); }
.plan-row + .plan-row { border-top: 1px solid var(--line); }
.plan-row b { font-weight: 500; color: var(--gold-2); }

/* Pour qui */
.duo { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
.list { list-style: none; margin: 18px 0 0; padding: 0; }
.list li { position: relative; padding: 14px 0 14px 36px; color: var(--dim-2); border-top: 1px solid var(--line); }
.list li::before {
  content: ""; position: absolute; left: 0; top: 16px; width: 22px; height: 22px; border-radius: 50%;
  background-repeat: no-repeat; background-position: center; background-size: 12px;
}
.list.yes li::before {
  background-color: rgba(212, 165, 96, .16);
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 12 12'><path d='M2.5 6.2 5 8.6l4.6-5' fill='none' stroke='%23f0cf8e' stroke-width='1.6' stroke-linecap='round' stroke-linejoin='round'/></svg>");
}
.list.no li::before {
  background-color: rgba(255, 255, 255, .08);
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 12 12'><path d='M3.5 3.5l5 5m0-5-5 5' fill='none' stroke='%2386868b' stroke-width='1.6' stroke-linecap='round'/></svg>");
}

/* Parcours */
.steps { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.step-n {
  display: grid; place-items: center; width: 44px; height: 44px; border-radius: 50%;
  background: var(--gold-grad); color: var(--ink-gold); font-weight: 600; font-size: 18px; margin-bottom: 28px;
}

/* Mathis */
.about { display: grid; grid-template-columns: 1fr 1.1fr; gap: 56px; align-items: center; padding: 20px; }
.portrait {
  aspect-ratio: 4 / 5; border-radius: 20px;
  background: radial-gradient(70% 55% at 50% 35%, rgba(212, 165, 96, .16), transparent 70%), var(--tile-2);
  display: grid; place-items: center; color: var(--dim); font-size: 14px;
}
.portrait img { width: 100%; height: 100%; object-fit: cover; border-radius: inherit; }
.about-copy { padding: 20px 40px 20px 0; }
.about-copy h2 { margin-bottom: 20px; }
.about-copy > p:not(.kicker) { color: var(--dim-2); margin: 0 0 18px; font-size: 1.1rem; }

/* Témoignages */
.quotes { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.quote { margin: 0; display: flex; flex-direction: column; justify-content: space-between; gap: 40px; }
.quote blockquote { margin: 0; font-size: 1.2rem; line-height: 1.4; letter-spacing: -.02em; color: var(--text); }
.quote figcaption { display: flex; align-items: center; gap: 12px; font-size: 15px; font-weight: 500; }
.quote small { display: block; font-size: 13px; font-weight: 400; color: var(--dim); }
.avatar { width: 40px; height: 40px; border-radius: 50%; background: var(--tile-2); box-shadow: inset 0 0 0 1px var(--line); }
.fineprint { max-width: 680px; margin: 32px auto 0; text-align: center; font-size: 12px; color: var(--dim); }
.fineprint a { color: var(--dim-2); }

/* FAQ */
.faq { border-top: 1px solid var(--line); }
.faq details { border-bottom: 1px solid var(--line); }
.faq summary {
  list-style: none; cursor: pointer; display: flex; justify-content: space-between; align-items: center; gap: 24px;
  padding: 26px 0; font-size: 1.3rem; font-weight: 600; letter-spacing: -.025em;
}
.faq summary::-webkit-details-marker { display: none; }
.pm { position: relative; flex: 0 0 auto; width: 16px; height: 16px; }
.pm::before, .pm::after { content: ""; position: absolute; left: 0; right: 0; top: 50%; height: 1.5px; margin-top: -.75px; border-radius: 2px; background: var(--dim-2); transition: transform .45s var(--spring); }
.pm::after { transform: rotate(90deg); }
.faq details[open] .pm::after { transform: rotate(0); }
.faq details p { margin: 0 0 28px; max-width: 64ch; color: var(--dim-2); }

/* Réservation */
#reserver { padding-bottom: 140px; }
.calendar {
  max-width: 860px; margin: 0 auto; min-height: 440px;
  display: flex; flex-direction: column; align-items: center; justify-content: center; text-align: center; gap: 6px;
  background: radial-gradient(60% 60% at 50% 35%, rgba(212, 165, 96, .1), transparent 70%), var(--tile);
}
.calendar img { width: 110px; margin-bottom: 22px; }
.cal-title { font-size: 1.5rem; font-weight: 600; color: var(--text) !important; }
.cal-sub { font-size: 15px; }

.placeholder-note {
  border: 1px dashed rgba(212, 165, 96, .45); border-radius: 14px;
  padding: 12px 16px; font-size: 14px !important; color: var(--gold-2) !important;
  background: rgba(212, 165, 96, .06);
}

/* ---------- Footer ---------- */
.footer { background: #0b0a08; border-top: 1px solid rgba(212, 165, 96, .15); color: var(--dim); font-size: 12px; line-height: 1.6; }
.footer-inner { max-width: var(--wrap); margin: 0 auto; padding: 64px 22px 40px; }
.footer-logo { width: 180px; height: auto; margin-bottom: 40px; }
.disclaimer h2 { font-size: 12px; font-weight: 600; letter-spacing: 0; color: var(--dim-2); margin-bottom: 12px; }
.disclaimer p { margin: 0 0 12px; letter-spacing: -.01em; }
.footer-bottom { margin-top: 28px; padding-top: 18px; border-top: 1px solid var(--line); display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap; }
.footer-bottom nav { display: flex; gap: 20px; }
.footer-bottom a { text-decoration: none; color: var(--dim-2); }
.footer-bottom a:hover { text-decoration: underline; }

.sticky-cta { display: none; }

/* ---------- Apparition au défilement ---------- */
.js .reveal { opacity: 0; transform: translateY(32px); transition: opacity 1s var(--spring), transform 1s var(--spring); }
.js .reveal.in { opacity: 1; transform: none; }

/* ---------- Responsive ---------- */
@media (max-width: 860px) {
  .nav-links { display: none; }
  .hero { padding-top: 64px; }
  .sub { font-size: 1.15rem; }
  .vsl { margin-top: 48px; }
  .vsl-frame { border-radius: 18px; }
  .vsl-play { width: 64px; height: 64px; }
  .vsl-play svg { width: 24px; height: 24px; }
  .vsl-meta { left: 16px; right: 16px; bottom: 12px; font-size: 11px; }
  .statement { padding-top: 120px; }
  .section { padding-top: 100px; }
  .head { margin-bottom: 36px; }
  .tile { padding: 30px 26px; border-radius: 22px; }
  .bento, .duo, .steps, .quotes, .results { grid-template-columns: 1fr; gap: 14px; }
  .trust { padding-top: 64px; }
  .trust-inner { grid-template-columns: 1fr 1fr; }
  .trust-inner div:nth-child(3) { border-left: 0; }
  .trust-inner div:nth-child(n+3) { border-top: 1px solid rgba(212, 165, 96, .12); }
  .hero-logo { margin-bottom: 32px; }
  .tile-xl { grid-template-columns: 1fr; gap: 24px; padding: 30px 26px; }
  .tile-xl .tile-num { font-size: 4rem; }
  .tile-xl h3 { font-size: 1.6rem; }
  .about { grid-template-columns: 1fr; gap: 8px; padding: 14px; }
  .about-copy { padding: 18px 12px 12px; }
  .faq summary { font-size: 1.1rem; }
  .calendar { min-height: 360px; }
  .footer-inner { padding-bottom: 110px; }
  .footer-bottom { flex-direction: column; }

  .sticky-cta {
    display: block; position: fixed; left: 14px; right: 14px; bottom: 14px; z-index: 45;
    padding-bottom: env(safe-area-inset-bottom);
    transform: translateY(150%); transition: transform .6s var(--spring);
  }
  .sticky-cta.is-visible { transform: none; }
  .sticky-cta .pill { width: 100%; padding: 16px; box-shadow: 0 10px 40px rgba(0, 0, 0, .6); }
}


/* ================= Ornements romains ================= */
.sprite { position: absolute; width: 0; height: 0; overflow: hidden; }
.kicker { font-family: "Cinzel", serif; font-size: .9rem; font-weight: 600; letter-spacing: .22em; text-transform: uppercase; }
.hero .kicker { font-size: 1rem; }

/* Colonnes du hero */
.hero { position: relative; }
.column {
  position: absolute; top: 30px; width: 120px; height: 660px; opacity: .85; pointer-events: none;
  -webkit-mask: linear-gradient(180deg, #000 50%, transparent 96%); mask: linear-gradient(180deg, #000 50%, transparent 96%);
  filter: drop-shadow(0 18px 30px rgba(0, 0, 0, .6));
}
.col-l { left: -70px; }
.col-l { transform: scaleX(-1); }
.col-r { right: -70px; }

/* Blason : logo entre deux branches de laurier */
.crest { display: flex; align-items: center; justify-content: center; gap: 4px; margin: 0 auto 40px; }
.crest .hero-logo { margin: 0; width: min(300px, 56vw); }
.crest-laurel { width: 130px; height: 130px; flex: 0 0 auto; margin-top: 10px; }
.crest-laurel.flip { transform: scaleX(-1); }
.crest-laurel { clip-path: inset(0 50% 0 0); margin-right: -64px; }
.crest-laurel.flip { margin-right: 0; margin-left: -64px; }

/* Bande clé grecque */
.meander {
  height: 40px; margin: 120px auto 0; max-width: var(--wrap);
  background: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='35' height='40' viewBox='0 0 35 40' shape-rendering='crispEdges'><defs><linearGradient id='g' gradientUnits='userSpaceOnUse' x1='0' y1='0' x2='0' y2='40'><stop offset='0' stop-color='%239a7650'/><stop offset='.2' stop-color='%23c49351'/><stop offset='.42' stop-color='%23f3dba3'/><stop offset='.62' stop-color='%23d4a560'/><stop offset='.85' stop-color='%23a87840'/><stop offset='1' stop-color='%238a6234'/></linearGradient></defs><g fill='none' stroke='url(%23g)' stroke-linecap='square' stroke-linejoin='miter'><path stroke-width='1' d='M0 .5H35M0 39.5H35'/><path stroke-width='3' d='M0 33.5H35M5.5 33.5V5.5H33.5V26.5H12.5V12.5H26.5V19.5H19.5'/></g></svg>") repeat-x 0 0 / 35px 40px;
  -webkit-mask: linear-gradient(90deg, transparent, #000 12%, #000 88%, transparent);
  mask: linear-gradient(90deg, transparent, #000 12%, #000 88%, transparent);
}
.footer + .meander, .meander + .footer { margin-top: 0; }

/* Chiffres romains */
.tile-num { font-family: "Cinzel", serif; font-weight: 600; letter-spacing: .02em; }
.tile-xl .tile-num { font-size: 5.4rem; min-width: 1.4em; text-align: center; }

/* Étapes : chiffre dans une couronne */
.step-n {
  position: relative; width: 92px; height: 92px; margin: -10px 0 18px -10px;
  background: none; display: grid; place-items: center;
}
.step-n svg { position: absolute; inset: 0; width: 100%; height: 100%; }
.step-n b {
  position: relative; font-family: "Cinzel", serif; font-weight: 700; font-size: 24px; letter-spacing: .04em; margin-top: -4px;
  background: var(--gold-grad); -webkit-background-clip: text; background-clip: text; color: transparent;
}

/* Portrait en arche romaine + clé de voûte */
.portrait { position: relative; border-radius: 999px 999px 20px 20px; box-shadow: inset 0 0 0 1px rgba(212, 165, 96, .3); }
.portrait::before {
  content: ""; position: absolute; top: -9px; left: 50%; width: 28px; height: 30px; transform: translateX(-50%);
  background: var(--gold-grad); clip-path: polygon(18% 0, 82% 0, 100% 100%, 0 100%);
  box-shadow: 0 0 20px rgba(212, 165, 96, .4);
}
.portrait img { border-radius: inherit; }

/* Médaillon façon pièce romaine */
.medallion {
  position: absolute; right: -22px; bottom: 28px; width: 132px; height: 132px; border-radius: 50%;
  background: radial-gradient(circle at 35% 30%, #2b2014, #0d0a07 70%);
  box-shadow: inset 0 0 0 1px rgba(236, 201, 131, .5), inset 0 0 0 6px #0d0b07, inset 0 0 0 7px rgba(236, 201, 131, .25), 0 20px 50px rgba(0, 0, 0, .7);
  display: grid; place-items: center;
}
.medallion svg { position: absolute; inset: 10px; width: calc(100% - 20px); height: calc(100% - 20px); }
.portrait .medallion img { width: 52px; height: auto; object-fit: contain; border-radius: 0; margin-top: -8px; }
.medallion small { position: absolute; bottom: 30px; font-family: "Cinzel", serif; font-size: 9px; letter-spacing: .25em; color: var(--gold-2); }

/* Pied de page : inscription */
.footer-bottom > span { font-family: "Cinzel", serif; letter-spacing: .08em; }

@media (max-width: 860px) {
  .column { display: none; }
  .crest-laurel { width: 86px; height: 86px; margin-right: -42px; }
  .crest-laurel.flip { margin-left: -42px; }
  .meander { margin-top: 80px; }
  .medallion { right: 10px; bottom: 14px; width: 104px; height: 104px; }
  .portrait .medallion img { width: 40px; }
  .medallion small { bottom: 24px; font-size: 8px; }
  .tile-xl .tile-num { text-align: left; }
}


/* ================= Contenu Mathis ================= */
/* Vidéo verticale + citation */
.vsl-frame.has-video { aspect-ratio: auto; display: grid; grid-template-columns: 320px 1fr; align-items: center; gap: 64px; padding: 28px 64px 28px 28px; place-items: stretch; }
.vsl-bg { position: absolute; inset: -40px; width: calc(100% + 80px); height: calc(100% + 80px); object-fit: cover; filter: blur(40px) brightness(.35) saturate(1.2); }
.vsl-video { position: relative; width: 100%; height: auto; aspect-ratio: 9 / 16; border-radius: 18px; background: #000; box-shadow: 0 0 0 1px rgba(236, 201, 131, .35), 0 30px 60px rgba(0, 0, 0, .6); object-fit: cover; }
.vsl-side { position: relative; align-self: center; text-align: left; }
.vsl-quote { margin: 0 0 24px; font-size: clamp(1.4rem, 2.6vw, 2.1rem); line-height: 1.2; font-weight: 600; letter-spacing: -.03em; }
.vsl-sign { margin: 0; font-family: "Cinzel", serif; font-weight: 600; color: var(--gold-2); letter-spacing: .06em; }
.vsl-sign span { display: block; font-family: var(--font); font-weight: 400; font-size: 14px; color: var(--dim); letter-spacing: -.01em; margin-top: 4px; }

/* Bento : 1 grande + 3 petites */
.bento { grid-template-columns: repeat(3, 1fr); }

/* Mur des membres */
.wall { columns: 4 220px; column-gap: 16px; }
.wall figure { margin: 0 0 16px; break-inside: avoid; border-radius: 18px; overflow: hidden; position: relative; background: #0c0b09; box-shadow: 0 0 0 1px rgba(236, 201, 131, .18), 0 20px 50px -20px rgba(0, 0, 0, .8); transition: transform .5s var(--spring), box-shadow .5s var(--spring); }
.wall figure:hover { transform: translateY(-4px); box-shadow: 0 0 0 1px rgba(236, 201, 131, .5), 0 30px 60px -20px rgba(212, 165, 96, .25); }
.wall img { width: 100%; height: auto; }

/* Avatars à initiale */
.avatar { display: grid; place-items: center; font-family: "Cinzel", serif; font-weight: 700; color: var(--ink-gold); background: var(--gold-grad); box-shadow: none; }

/* Portrait réel */
.portrait { overflow: visible; }
.portrait > img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: 50% 30%; border-radius: inherit; }
.about-copy > p:not(.kicker) { font-size: 1.05rem; }

@media (max-width: 860px) {
  .vsl-frame.has-video { aspect-ratio: auto; grid-template-columns: 1fr; gap: 24px; padding: 18px; }
  .vsl-video { width: min(100%, 340px); justify-self: center; }
  .vsl-side { text-align: center; }
  .bento { grid-template-columns: 1fr; }
}


/* ================= Social proof : tuiles égales ================= */
.marquee { display: grid; gap: 16px; margin: 0 calc(50% - 50vw); padding: 24px 0 40px; margin-block: -16px -32px;
  -webkit-mask: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent); mask: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent); }
.marquee-row { overflow: hidden; padding: 20px 0 36px; margin: -20px 0 -36px; }
.marquee-track { display: flex; gap: 16px; width: max-content; animation: marquee 90s linear infinite; }
.marquee-row.reverse .marquee-track { animation-direction: reverse; animation-duration: 100s; }
.marquee:hover .marquee-track { animation-play-state: paused; }
@keyframes marquee { to { transform: translateX(calc(-50% - 8px)); } }

.proof {
  flex: 0 0 auto; width: 210px; aspect-ratio: 560 / 1214; padding: 0; border: 0; cursor: zoom-in;
  border-radius: 20px; overflow: hidden; position: relative; background: #0a0908;
  box-shadow: 0 0 0 1px rgba(236, 201, 131, .22), 0 20px 50px -24px rgba(0, 0, 0, .9);
  transition: transform .5s var(--spring), box-shadow .5s var(--spring);
}
.proof:hover { transform: translateY(-6px) scale(1.02); box-shadow: 0 0 0 1px rgba(236, 201, 131, .6), 0 30px 60px -20px rgba(212, 165, 96, .3); }
.proof img, .proof video { width: 100%; height: 100%; object-fit: contain; object-position: top; display: block; background: #0a0908; }
.proof-video { cursor: default; }
.proof-tag {
  position: absolute; top: 12px; left: 12px; padding: 4px 10px; border-radius: 980px;
  font-size: 11px; font-weight: 600; letter-spacing: .08em; text-transform: uppercase; color: var(--ink-gold); background: var(--gold-grad);
}
.proof-tag::before { content: ""; display: inline-block; width: 6px; height: 6px; border-radius: 50%; background: #c0392b; margin-right: 6px; vertical-align: 1px; animation: blink 1.4s ease-in-out infinite; }
@keyframes blink { 50% { opacity: .2; } }
.marquee-hint { text-align: center; margin: 18px 0 0; font-size: 13px; color: var(--dim); }

/* Captures à part (formats différents) */
.apart { margin-top: 72px; }
.apart .kicker { text-align: center; margin-bottom: 22px; }
.apart-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }
.proof-flat {
  height: 300px; padding: 10px; border: 0; cursor: zoom-in; border-radius: 20px; background: linear-gradient(180deg, #141210, #0a0908);
  box-shadow: 0 0 0 1px rgba(236, 201, 131, .22); display: grid; place-items: center;
  transition: transform .5s var(--spring), box-shadow .5s var(--spring);
}
.proof-flat:hover { transform: translateY(-4px); box-shadow: 0 0 0 1px rgba(236, 201, 131, .6); }
.proof-flat img { max-width: 100%; max-height: 100%; object-fit: contain; border-radius: 10px; }

/* Agrandissement */
.lightbox { padding: 0; border: 0; background: transparent; max-width: 94vw; max-height: 94vh; overflow: visible; }
.lightbox::backdrop { background: rgba(0, 0, 0, .85); backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px); }
.lightbox img { display: block; max-width: 94vw; max-height: 90vh; border-radius: 16px; box-shadow: 0 0 0 1px rgba(236, 201, 131, .35); }
.lightbox-close {
  position: absolute; top: -16px; right: -16px; width: 40px; height: 40px; border-radius: 50%; border: 0; cursor: pointer;
  background: var(--gold-grad); color: var(--ink-gold); font-size: 24px; line-height: 1;
}

@media (max-width: 860px) {
  .proof { width: 150px; border-radius: 14px; }
  .marquee-track { gap: 10px; }
  @keyframes marquee { to { transform: translateX(calc(-50% - 5px)); } }
  .apart-grid { grid-template-columns: 1fr 1fr; gap: 10px; }
  .proof-flat { height: 200px; border-radius: 14px; }
  .lightbox-close { top: 8px; right: 8px; }
}

/* Petits titres façon signature du logo */
.kicker { color: var(--gold); display: flex; align-items: center; gap: 14px; }
.kicker::before { content: ""; width: 32px; height: 1px; background: linear-gradient(90deg, transparent, var(--gold)); }
#reserver .kicker, #faq .kicker, .apart .kicker, .hero .kicker { justify-content: center; }
#reserver .kicker::after, .apart .kicker::after { content: ""; width: 32px; height: 1px; background: linear-gradient(90deg, var(--gold), transparent); }
.tile .kicker { color: var(--gold); }
.hero .vsl-side .kicker { justify-content: flex-start; }
.pill { color: var(--ink-gold); box-shadow: inset 0 1px 0 rgba(255, 240, 210, .55), inset 0 -1px 0 rgba(90, 60, 30, .35); }
.tile-num, .step-n b { background: var(--gold-metal); -webkit-background-clip: text; background-clip: text; }
.medallion small { color: var(--gold-2); }
.portrait::before { background: var(--gold-metal); }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation: none !important; transition: none !important; }
  .js .reveal { opacity: 1; transform: none; }
  .marquee-row { overflow-x: auto; }
}


/* =====================================================================
   HERO · deux statues, le logo au centre, lierre, chandeliers
   ===================================================================== */
html, body { overflow-x: clip; }
.hx {
  position: relative; isolation: isolate; overflow: hidden;
  min-height: max(780px, calc(100svh - 90px));
  display: flex; flex-direction: column; align-items: center; justify-content: center;
  padding: 40px 22px 120px; text-align: center;
}
.hx-bg { position: absolute; inset: 0; z-index: -3; pointer-events: none; }
.hx-beam {
  position: absolute; left: 50%; top: -10%; width: 1100px; height: 120%; margin-left: -550px;
  background: conic-gradient(from 180deg at 50% 0%, transparent 160deg, rgba(243, 219, 163, .10) 172deg, rgba(255, 246, 228, .16) 180deg, rgba(243, 219, 163, .10) 188deg, transparent 200deg);
  -webkit-mask: linear-gradient(180deg, #000 20%, transparent 85%); mask: linear-gradient(180deg, #000 20%, transparent 85%);
}
.hx-glow { position: absolute; border-radius: 50%; filter: blur(70px); animation: drift 14s ease-in-out infinite alternate; }
.hx-glow-a { width: 820px; height: 520px; left: 50%; top: 18%; margin-left: -410px; background: radial-gradient(closest-side, rgba(212, 165, 96, .30), transparent); }
.hx-glow-w { width: 420px; height: 260px; left: 50%; top: 26%; margin-left: -210px; background: radial-gradient(closest-side, rgba(255, 246, 228, .14), transparent); animation-duration: 10s; }
@keyframes drift { to { transform: translate3d(30px, -20px, 0) scale(1.06); } }

/* Chandeliers propres */
.hx-chart, .frieze { overflow: visible; }
.hx-chart .grid line, .frieze .grid line { stroke: rgba(212, 165, 96, .08); stroke-width: 1; stroke-dasharray: 2 6; }
.hx-chart .up line, .frieze .up line { stroke: #d4a560; stroke-width: 1.4; }
.hx-chart .up rect, .frieze .up rect { fill: #d4a560; }
.hx-chart .dn line, .frieze .dn line { stroke: #5a4128; stroke-width: 1.4; }
.hx-chart .dn rect, .frieze .dn rect { fill: #1a140d; stroke: #5a4128; stroke-width: 1.2; }
.hx-chart {
  position: absolute; left: 0; bottom: 70px; width: 100%; height: 64%; opacity: .32;
  -webkit-mask: radial-gradient(70% 90% at 50% 100%, #000 30%, transparent 75%); mask: radial-gradient(70% 90% at 50% 100%, #000 30%, transparent 75%);
}
.hx-trend, .frieze .trend { fill: none; stroke: #f3dba3; stroke-width: 2; stroke-linecap: round; stroke-dasharray: 1; stroke-dashoffset: 1; filter: drop-shadow(0 0 5px rgba(243, 219, 163, .8)); }
.hx-trend { animation: draw 3.2s .5s cubic-bezier(.6, 0, .2, 1) forwards; }
.frieze.in .trend { animation: draw 2.6s .2s cubic-bezier(.6, 0, .2, 1) forwards; }
@keyframes draw { to { stroke-dashoffset: 0; } }

/* Statues de profil, face à face */
.hx-statues { position: absolute; inset: 0; z-index: -2; pointer-events: none; }
.hx-statue {
  position: absolute; bottom: 40px; height: min(74%, 650px); width: auto;
  -webkit-mask: linear-gradient(180deg, #000 68%, transparent 98%); mask: linear-gradient(180deg, #000 68%, transparent 98%);
  opacity: 0; animation: statueIn 2s .2s var(--spring) forwards;
}
.hx-statue-l { left: max(-110px, calc(50% - 840px)); --from: -60px; }
.hx-statue-r { right: max(-150px, calc(50% - 880px)); --from: 60px; animation-delay: .35s; }
@keyframes statueIn { from { opacity: 0; translate: var(--from) 0; } to { opacity: 1; translate: 0 0; } }
.hx-statues { filter: blur(calc(var(--p, 0) * 10px)); }
.hx-bg { filter: blur(calc(var(--p, 0) * 6px)); }

/* Lierre incrusté dans les coins, avec parallaxe et flou de profondeur */
.hx-ivy { position: absolute; inset: 0; z-index: 1; pointer-events: none; opacity: 0; animation: ivyIn 1.8s .5s var(--spring) forwards; }
@keyframes ivyIn { from { opacity: 0; } to { opacity: 1; } }
.ivy { position: absolute; height: auto; will-change: transform; }
.ivy { top: -30px; width: min(520px, 38vw); filter: drop-shadow(0 30px 40px rgba(0, 0, 0, .7)) blur(calc(var(--p, 0) * 3px));
  transform: translate3d(calc(var(--mx, 0) * var(--dir) * 18px), calc(var(--my, 0) * 14px + var(--p, 0) * -180px), 0); }
.ivy-r { right: -40px; --dir: -1; }
.ivy-l { left: -40px; --dir: 1; scale: -1 1; }
/* Feuilles isolées au premier plan : chacune à sa profondeur (flou + parallaxe) */
.leaf { position: absolute; z-index: 3; height: auto; will-change: transform;
  filter: blur(var(--b)) brightness(var(--l, .75)) drop-shadow(0 20px 30px rgba(0, 0, 0, .6));
  transform: translate3d(calc(var(--mx, 0) * var(--d) * -40px), calc(var(--my, 0) * var(--d) * -30px + var(--p, 0) * var(--d) * -220px), 0) rotate(var(--r)); }
.leaf-4 { right: 20%; top: 120px; width: 54px; --b: 1px; --d: .4; --r: 160deg; --l: .85; }

/* Centre : logo + texte */
.hx-copy { position: relative; z-index: 2; max-width: 820px; }
.hx-logo {
  width: min(560px, 78vw); height: auto; margin: 0 auto 34px;
  filter: drop-shadow(0 18px 50px rgba(212, 165, 96, .35));
  opacity: 0; animation: logoIn 1.6s .1s var(--spring) forwards;
}
@keyframes logoIn { from { opacity: 0; transform: scale(.92); filter: blur(8px) drop-shadow(0 18px 50px rgba(212, 165, 96, 0)); } to { opacity: 1; transform: none; } }
.hx h1 { font-size: clamp(2.4rem, 4.8vw, 4.2rem); text-shadow: 0 6px 40px rgba(0, 0, 0, .9); }
.hx .sub { color: #c9c4ba; text-shadow: 0 2px 20px rgba(0, 0, 0, .9); }
.hx-copy > :not(.hx-logo) { opacity: 0; transform: translateY(20px); animation: rise 1.2s var(--spring) forwards; }
.hx-copy > h1 { animation-delay: .7s; }
.hx-copy > .sub { animation-delay: .85s; }
.hx-copy > .hero-actions { animation-delay: 1s; }
@keyframes rise { to { opacity: 1; transform: none; } }
.pill-xl { padding: 17px 34px; font-size: 18px; font-weight: 600; box-shadow: inset 0 0 0 1px rgba(255, 241, 207, .35), 0 12px 40px -6px rgba(212, 165, 96, .5); }

/* Bandeau du bas : sobre */
.hx-band {
  position: absolute; left: 0; right: 0; bottom: 0; overflow: hidden; padding: 20px 0;
  border-top: 1px solid rgba(212, 165, 96, .14);
  -webkit-mask: linear-gradient(90deg, transparent, #000 15%, #000 85%, transparent); mask: linear-gradient(90deg, transparent, #000 15%, #000 85%, transparent);
}
.hx-band-track { display: flex; width: max-content; animation: marquee 60s linear infinite; }
.hx-band span { display: inline-flex; align-items: center; font-size: 12px; font-weight: 500; letter-spacing: .18em; text-transform: uppercase; color: rgba(245, 245, 247, .5); white-space: nowrap; }
.hx-band span::after { content: ""; width: 4px; height: 4px; border-radius: 50%; background: var(--gold); margin: 0 32px; opacity: .7; }

.vsl-sec { max-width: var(--wrap); margin: 0 auto; padding: 40px 22px 0; text-align: center; }

/* =====================================================================
   UNIVERS ROMAIN SUR TOUT LE SITE
   ===================================================================== */
.section, .statement, .vsl-sec { position: relative; isolation: isolate; }
.section::before, .statement::before, .vsl-sec::before {
  content: ""; position: absolute; z-index: -2; pointer-events: none; border-radius: 50%; filter: blur(60px);
  width: 640px; height: 640px; top: 40px; left: -320px;
  background: radial-gradient(circle, rgba(212, 165, 96, .14), transparent 65%);
  animation: drift 16s ease-in-out infinite alternate;
}
.section:nth-of-type(even)::before { left: auto; right: -320px; top: 30%; background: radial-gradient(circle, rgba(236, 201, 131, .12), transparent 65%); animation-duration: 20s; }
.section:nth-of-type(3n)::before { background: radial-gradient(circle, rgba(255, 241, 207, .08), transparent 62%); }
.vsl-sec::before { left: 50%; top: 10%; margin-left: -320px; background: radial-gradient(circle, rgba(212, 165, 96, .2), transparent 65%); }

/* Chiffre romain : gravé, net, aligné à droite du titre */
.section[data-num]::after {
  content: attr(data-num); position: absolute; z-index: -1; pointer-events: none;
  top: 96px; right: 22px; font-family: "Cinzel", serif; font-weight: 600; line-height: .8;
  font-size: clamp(7rem, 15vw, 12.5rem); letter-spacing: .04em;
  background: linear-gradient(180deg, rgba(243, 219, 163, .16) 0%, rgba(212, 165, 96, .06) 45%, rgba(212, 165, 96, 0) 85%);
  -webkit-background-clip: text; background-clip: text; color: transparent;
}
#reserver[data-num]::after, #faq[data-num]::after { right: 50%; transform: translateX(50%); top: 70px; }

.kicker { font-family: "Cinzel", serif; text-transform: uppercase; letter-spacing: .24em; }

/* Marbre noir, très discret */
.tile {
  background:
    url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='800' height='800'><filter id='m' x='0' y='0' width='100%' height='100%'><feTurbulence type='fractalNoise' baseFrequency='.0025 .006' numOctaves='6' seed='8' stitchTiles='stitch'/><feColorMatrix values='0 0 0 0 .95  0 0 0 0 .8  0 0 0 0 .5  1 0 0 0 0'/><feComponentTransfer><feFuncA type='table' tableValues='0 0 0 0 0 0 0 0 0 .7 .25 0 0 0 0 0 0 0 0 0 0 0 0 0'/></feComponentTransfer></filter><filter id='n' x='0' y='0' width='100%' height='100%'><feTurbulence type='fractalNoise' baseFrequency='.004 .011' numOctaves='5' seed='21' stitchTiles='stitch'/><feColorMatrix values='0 0 0 0 1  0 0 0 0 .95  0 0 0 0 .85  0 1 0 0 0'/><feComponentTransfer><feFuncA type='table' tableValues='0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 .45 0 0 0 0 0 0 0 0'/></feComponentTransfer></filter><rect width='800' height='800' filter='url(%23m)' opacity='.14'/><rect width='800' height='800' filter='url(%23n)' opacity='.05'/></svg>") center / 800px 800px,
    radial-gradient(120% 80% at 0% 0%, rgba(212, 165, 96, .07), transparent 60%),
    linear-gradient(180deg, #13110e, #0a0908);
}

/* Avatars en pièces d'or */
.avatar {
  width: 52px; height: 52px; font-size: 20px; color: #3d2a16;
  background: radial-gradient(circle at 34% 28%, #fff1cf, #ecc983 30%, #c49351 60%, #6b4a2b 100%);
  box-shadow: inset 0 0 0 2px #8a6234, inset 0 0 0 4px rgba(255, 241, 207, .5), inset 0 0 0 5px rgba(61, 42, 22, .6), 0 8px 24px rgba(0, 0, 0, .6);
  text-shadow: 0 1px 0 rgba(255, 241, 207, .6);
}

/* Graphique sous l'énoncé */
.statement .frieze { display: block; width: 100%; height: auto; margin-top: 70px;
  -webkit-mask: linear-gradient(90deg, transparent, #000 10%, #000 90%, transparent); mask: linear-gradient(90deg, transparent, #000 10%, #000 90%, transparent); }

/* Séparateur laurier */
.laurel-div { display: flex; align-items: center; justify-content: center; margin: 140px auto -60px; }
.laurel-div svg { width: 70px; height: 70px; clip-path: inset(0 50% 0 0); margin-right: -34px; }
.laurel-div svg.flip { transform: scaleX(-1); margin: 0 0 0 -34px; }
.laurel-div i { width: 10px; height: 10px; transform: rotate(45deg); background: var(--gold-grad); margin: 0 30px; }
.laurel-div::before, .laurel-div::after { content: ""; width: min(220px, 20vw); height: 1px; background: linear-gradient(90deg, transparent, rgba(212, 165, 96, .6)); }
.laurel-div::after { transform: scaleX(-1); }

/* Devise */
.motto { display: flex; align-items: center; justify-content: center; gap: 28px; flex-wrap: wrap; padding: 70px 22px; }
.motto span {
  font-family: "Cinzel", serif; font-weight: 700; font-size: clamp(1.6rem, 4.4vw, 3.6rem); letter-spacing: .14em; text-transform: uppercase;
  background: linear-gradient(180deg, #6b4a2b 0%, #c49351 22%, #f3dba3 45%, #d4a560 62%, #8a6234 100%); -webkit-background-clip: text; background-clip: text; color: transparent;
}
.motto i { width: 10px; height: 10px; transform: rotate(45deg); background: var(--gold-grad); }

/* Lierre incrusté le long des bords du site (collé au bord de l'écran, avec parallaxe) */
.side-ivy {
  position: absolute; z-index: -1; pointer-events: none; width: min(190px, 14vw); height: auto;
  filter: drop-shadow(0 20px 26px rgba(0, 0, 0, .75)) brightness(.8);
  transform: translate3d(0, var(--py, 0px), 0); will-change: transform;
}
.side-ivy-l { left: calc(50% - 50vw); }
.side-ivy-r { right: calc(50% - 50vw); scale: -1 1; }

@media (max-width: 860px) {
  .side-ivy { width: 90px; opacity: .7; }
  .leaf-4 { display: none; }
  .hx { min-height: 0; justify-content: flex-start; padding: 70px 18px 100px; }
  .hx-statue { height: 300px; bottom: auto; top: 150px; opacity: .5; }
  .hx-statue-l { left: -110px; }
  .hx-statue-r { right: -110px; }
  @keyframes statueIn { from { opacity: 0; } to { opacity: .55; } }
  .ivy { width: 230px; }
  .ivy-l { left: -90px; } .ivy-r { right: -90px; }
  .hx-logo { width: 300px; margin-bottom: 26px; }
  .section[data-num]::after { font-size: 6rem; top: 70px; }
  .laurel-div { margin: 100px auto -40px; }
  .motto { gap: 16px; padding: 50px 16px; }
}
@media (prefers-reduced-motion: reduce) {
  .hx-statue, .hx-ivy, .hx-logo, .hx-copy > * { animation: none !important; opacity: 1; transform: none; }
  .ivy, .leaf, .side-ivy { transform: none; }
  .hx-glow, .hx-band-track, .section::before { animation: none; }
  .hx-trend, .frieze .trend { animation: none; stroke-dashoffset: 0; }
}
