/* =========================================================
   LES MAISONS LE CADRE — design system premium
   ========================================================= */
:root {
  --bg: #0a0806;
  --bg-2: #120e0a;
  --bg-3: #1a140e;
  --ink: #f3ece0;
  --muted: rgba(243, 236, 224, .62);
  --faint: rgba(243, 236, 224, .12);
  --gold: #c9a24b;
  --gold-2: #f3dc9a;
  --gold-3: #8a6420;
  --accent: #c9a24b;
  --glow: rgba(201, 162, 75, .22);
  --line: rgba(201, 162, 75, .22);
  --serif: "Cormorant Garamond", "Times New Roman", serif;
  --sans: "Manrope", system-ui, -apple-system, "Segoe UI", sans-serif;
  --ease: cubic-bezier(.16, 1, .3, 1);
  --gutter: clamp(16px, 4vw, 64px);
  --radius: 2px;
  --header-h: 84px;
  color-scheme: dark;
}
[data-theme="cognac"] { --bg: #0b0806; --bg-2: #150e09; --bg-3: #1e140c; --accent: #d39a4f; --glow: rgba(211, 154, 79, .25); }
[data-theme="champagne"] { --bg: #0b0a08; --bg-2: #13110c; --bg-3: #1c1912; --accent: #e8cf93; --glow: rgba(232, 207, 147, .22); }
[data-theme="royal"] { --bg: #070910; --bg-2: #0d1120; --bg-3: #141a2e; --accent: #d7b25e; --glow: rgba(90, 120, 220, .2); }
[data-theme="drive"] { --bg: #060708; --bg-2: #0d0f12; --bg-3: #15181d; --accent: #e3b55a; --glow: rgba(227, 181, 90, .22); }

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
html.lenis, html.lenis body { height: auto; }
.lenis.lenis-smooth { scroll-behavior: auto !important; }
.lenis.lenis-stopped { overflow: hidden; }
body {
  margin: 0; background: var(--bg); color: var(--ink);
  font: 400 16px/1.7 var(--sans); letter-spacing: .01em;
  -webkit-font-smoothing: antialiased; overflow-x: hidden;
}
img, video, canvas, svg { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button, input, select, textarea { font: inherit; color: inherit; }
::selection { background: var(--gold); color: #120d06; }
.menu-open body { overflow: hidden; }

/* ---------- typographie ---------- */
h1, h2, h3, h4 { font-family: var(--serif); font-weight: 500; line-height: 1.02; margin: 0; letter-spacing: -.01em; }
em { font-style: italic; color: var(--gold-2); }
.eyebrow { font: 500 11px/1.4 var(--sans); letter-spacing: .32em; text-transform: uppercase; color: var(--accent); margin: 0 0 22px; display: inline-flex; align-items: center; gap: 14px; }
.eyebrow::before { content: ""; width: 34px; height: 1px; background: currentColor; opacity: .7; }
.display { font-size: clamp(54px, 10.5vw, 188px); line-height: .9; letter-spacing: -.025em; }
.title-xl { font-size: clamp(42px, 7vw, 116px); line-height: .95; }
.title-l { font-size: clamp(36px, 5vw, 76px); }
.title-m { font-size: clamp(28px, 3.2vw, 46px); }
.lead { font-size: clamp(17px, 1.5vw, 21px); color: var(--muted); max-width: 58ch; line-height: 1.7; }
.muted { color: var(--muted); }
.small { font-size: 13px; }
.gold-text { background: linear-gradient(100deg, var(--gold-3), var(--gold-2) 30%, var(--gold) 55%, var(--gold-2) 80%, var(--gold-3)); -webkit-background-clip: text; background-clip: text; color: transparent; background-size: 200% 100%; animation: sheen 8s linear infinite; }
@keyframes sheen { to { background-position: -200% 0; } }
[data-split] .w { display: inline-block; overflow: hidden; vertical-align: top; padding-bottom: .06em; margin-bottom: -.06em; }
[data-split] .c, [data-split] .wi { display: inline-block; will-change: transform; }
.gold-text[data-split] { background: none; animation: none; color: var(--gold-2); }
.gold-text[data-split] .c { background: linear-gradient(180deg, #fbeec4 0%, #e3c27a 38%, #b88a34 62%, #f0d58e 100%); -webkit-background-clip: text; background-clip: text; color: transparent; }

/* ---------- structure ---------- */
.wrap { width: 100%; max-width: 1480px; margin: 0 auto; padding: 0 var(--gutter); }
.section { position: relative; padding: clamp(90px, 13vw, 200px) 0; }
.section-head { display: grid; gap: 28px; margin-bottom: clamp(48px, 7vw, 100px); }
@media (min-width: 900px) { .section-head.split { grid-template-columns: 1.1fr .9fr; align-items: end; } }
.hr { height: 1px; background: var(--line); border: 0; margin: 0; }

/* ---------- boutons ---------- */
.btn { --h: 56px; position: relative; display: inline-flex; align-items: center; justify-content: center; gap: 12px; min-height: var(--h); padding: 0 30px; border: 1px solid var(--gold); border-radius: 100px; font: 500 12px/1 var(--sans); letter-spacing: .22em; text-transform: uppercase; cursor: pointer; overflow: hidden; isolation: isolate; transition: color .5s var(--ease), border-color .5s var(--ease), transform .4s var(--ease); background: none; white-space: nowrap; }
.btn::before { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(110deg, var(--gold-3), var(--gold) 40%, var(--gold-2) 60%, var(--gold)); transform: translateY(101%); transition: transform .6s var(--ease); border-radius: inherit; }
.btn:hover::before, .btn-gold::before { transform: none; }
.btn:hover { color: #140e06; }
.btn-gold { color: #140e06; border-color: transparent; }
.btn-gold:hover::before { filter: brightness(1.12); }
.btn-ghost { border-color: var(--faint); }
.btn-sm { --h: 44px; padding: 0 22px; font-size: 11px; }
.btn .ico { width: 18px; height: 18px; }
.link-arrow { display: inline-flex; align-items: center; gap: 12px; font: 500 12px/1 var(--sans); letter-spacing: .22em; text-transform: uppercase; color: var(--gold-2); padding: 10px 0; border-bottom: 1px solid var(--line); transition: gap .5s var(--ease), border-color .5s; }
.link-arrow:hover { gap: 20px; border-color: var(--gold); }
.link-arrow .ico { width: 18px; }
.ico { width: 20px; height: 20px; flex: none; }

/* ---------- grain, curseur, préchargeur ---------- */
.grain { position: fixed; inset: -50%; z-index: 90; pointer-events: none; opacity: .06; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='200' height='200'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.9' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E"); animation: grain 1.2s steps(6) infinite; }
@keyframes grain { 0%,100% { transform: translate(0,0) } 20% { transform: translate(-3%,2%) } 40% { transform: translate(2%,-3%) } 60% { transform: translate(-2%,-1%) } 80% { transform: translate(3%,3%) } }
.cursor { display: none; }
@media (pointer: fine) {
  .cursor { display: block; position: fixed; inset: 0; z-index: 120; pointer-events: none; opacity: 0; transition: opacity .4s; mix-blend-mode: difference; }
  .cursor.on { opacity: 1; }
  .cursor-dot, .cursor-ring { position: absolute; left: 0; top: 0; border-radius: 50%; }
  .cursor-dot { width: 6px; height: 6px; margin: -3px 0 0 -3px; background: var(--gold-2); }
  .cursor-ring { width: 40px; height: 40px; margin: -20px 0 0 -20px; border: 1px solid rgba(243, 220, 154, .6); display: grid; place-items: center; transition: width .5s var(--ease), height .5s var(--ease), margin .5s var(--ease), background .4s; }
  .cursor.hover .cursor-ring { width: 64px; height: 64px; margin: -32px 0 0 -32px; background: rgba(243, 220, 154, .12); }
  .cursor.has-label .cursor-ring { width: 96px; height: 96px; margin: -48px 0 0 -48px; background: var(--gold-2); mix-blend-mode: normal; }
  .cursor-label { font: 600 10px/1 var(--sans); letter-spacing: .2em; text-transform: uppercase; color: #120c05; font-style: normal; }
  body, a, button { cursor: none; }
  input, textarea, select { cursor: text; }
}
.loader { position: fixed; inset: 0; z-index: 200; background: #070504; display: grid; place-items: center; clip-path: inset(0 0 0 0); }
.js .loader { display: grid; }
html:not(.js) .loader { display: none; }
.loader-inner { display: grid; justify-items: center; gap: 22px; }
.loader-mono { width: 84px; height: 84px; }
.loader-word { font: 400 13px/1 var(--sans); letter-spacing: .4em; text-transform: uppercase; color: var(--muted); margin: 0; }
.loader-word strong { color: var(--gold-2); font-weight: 500; }
.loader-bar { width: 180px; height: 1px; background: var(--faint); overflow: hidden; }
.loader-bar span { display: block; height: 100%; background: linear-gradient(90deg, var(--gold-3), var(--gold-2)); transform: scaleX(0); transform-origin: left; }

/* ---------- en-tête ---------- */
.site-header { position: fixed; z-index: 80; top: 0; left: 0; right: 0; height: var(--header-h); display: flex; align-items: center; justify-content: space-between; gap: 24px; padding: 0 var(--gutter); transition: background .6s var(--ease), transform .7s var(--ease), height .5s var(--ease), border-color .6s; border-bottom: 1px solid transparent; }
.site-header.is-scrolled { --header-h: 68px; background: rgba(10, 8, 6, .72); backdrop-filter: blur(18px) saturate(1.3); -webkit-backdrop-filter: blur(18px) saturate(1.3); border-color: var(--line); }
.site-header.is-hidden { transform: translateY(-100%); }
.brand { display: flex; align-items: center; gap: 14px; }
.brand-mono { width: 42px; height: 42px; }
.brand-text { font: 500 19px/1 var(--serif); letter-spacing: .18em; display: grid; gap: 4px; }
.brand-text small { font: 500 9px/1 var(--sans); letter-spacing: .42em; text-transform: uppercase; color: var(--accent); }
.nav { display: none; align-items: center; gap: 40px; }
.nav-link { position: relative; font: 500 11px/1 var(--sans); letter-spacing: .24em; text-transform: uppercase; padding: 12px 0; color: rgba(243, 236, 224, .82); transition: color .4s; }
.nav-link::after { content: ""; position: absolute; left: 0; right: 0; bottom: 4px; height: 1px; background: var(--gold); transform: scaleX(0); transform-origin: right; transition: transform .6s var(--ease); }
.nav-link:hover { color: var(--gold-2); }
.nav-link:hover::after { transform: scaleX(1); transform-origin: left; }
.nav-item { position: relative; }
.nav-sub { position: absolute; top: 100%; left: 50%; width: 420px; padding: 14px; transform: translate(-50%, 12px); opacity: 0; visibility: hidden; transition: all .5s var(--ease); background: rgba(14, 11, 8, .96); border: 1px solid var(--line); backdrop-filter: blur(20px); display: grid; gap: 4px; }
.has-sub:hover .nav-sub, .has-sub:focus-within .nav-sub { opacity: 1; visibility: visible; transform: translate(-50%, 0); }
.nav-sub a { display: flex; align-items: center; gap: 16px; padding: 10px; transition: background .4s; }
.nav-sub a:hover { background: rgba(201, 162, 75, .08); }
.nav-sub img { width: 96px; height: 56px; object-fit: cover; filter: saturate(.9); }
.nav-sub strong { display: block; font: 500 17px/1.2 var(--serif); letter-spacing: .06em; }
.nav-sub small { color: var(--muted); font-size: 11px; letter-spacing: .04em; }
.header-actions { display: flex; align-items: center; gap: 14px; }
.burger { width: 46px; height: 46px; border: 1px solid var(--line); border-radius: 50%; background: none; display: grid; place-content: center; gap: 6px; cursor: pointer; }
.burger span { display: block; width: 18px; height: 1px; background: var(--ink); transition: transform .6s var(--ease); }
.menu-open .burger span:first-child { transform: translateY(3.5px) rotate(45deg); }
.menu-open .burger span:last-child { transform: translateY(-3.5px) rotate(-45deg); }
@media (min-width: 1100px) { .nav { display: flex; } .burger { display: none; } }
@media (max-width: 560px) { .header-actions .btn { display: none; } .brand-text { font-size: 16px; } }

.menu-overlay { position: fixed; inset: 0; z-index: 70; background: radial-gradient(120% 80% at 80% 0%, var(--bg-3), var(--bg) 60%); padding: calc(var(--header-h) + 20px) var(--gutter) 30px; display: flex; flex-direction: column; justify-content: space-between; clip-path: circle(0% at calc(100% - 40px) 40px); transition: clip-path 1s var(--ease); overflow-y: auto; }
.menu-open .menu-overlay { clip-path: circle(150% at calc(100% - 40px) 40px); }
.menu-links { display: grid; gap: 2px; }
.menu-kicker { font: 500 10px/1 var(--sans); letter-spacing: .35em; text-transform: uppercase; color: var(--accent); margin: 22px 0 8px; }
.menu-links a { display: flex; align-items: baseline; justify-content: space-between; gap: 16px; padding: 10px 0; border-bottom: 1px solid var(--faint); font: 500 clamp(28px, 7vw, 54px)/1.05 var(--serif); }
.menu-links a small { font: 400 11px/1.3 var(--sans); letter-spacing: .1em; color: var(--muted); text-align: right; }
.menu-foot { display: flex; flex-wrap: wrap; gap: 20px; padding-top: 28px; font-size: 13px; color: var(--muted); }
.menu-foot a { display: inline-flex; align-items: center; gap: 8px; }

/* ---------- HERO accueil ---------- */
.hero { position: relative; min-height: 100svh; display: flex; align-items: flex-end; overflow: hidden; padding: calc(var(--header-h) + 40px) 0 clamp(40px, 7vh, 90px); background: radial-gradient(90% 70% at 72% 40%, rgba(201, 162, 75, .14), transparent 60%), radial-gradient(60% 60% at 10% 90%, rgba(120, 60, 20, .18), transparent 70%), var(--bg); }
.hero-bg { position: absolute; inset: 0; z-index: 0; }
.hero-bg img { width: 100%; height: 100%; object-fit: cover; opacity: .2; filter: saturate(.8) contrast(1.1); }
.hero-bg::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(10, 8, 6, .5), rgba(10, 8, 6, .2) 40%, var(--bg)); }
.scene-canvas { position: absolute; inset: 0; width: 100%; height: 100%; z-index: 1; opacity: 0; transition: opacity 1.6s var(--ease) .2s; }
.scene-canvas.is-ready { opacity: 1; }
.hero .wrap { position: relative; z-index: 2; }
.hero-title { font-size: clamp(60px, 12.5vw, 220px); line-height: .86; letter-spacing: -.03em; margin: 0 0 30px; }
.hero-title .row { display: block; }
.hero-title .row-2 { padding-left: clamp(0px, 8vw, 160px); }
.hero-foot { display: grid; gap: 30px; align-items: end; }
@media (min-width: 900px) { .hero-foot { grid-template-columns: 1fr auto; } }
.hero-actions { display: flex; flex-wrap: wrap; gap: 14px; }
.scroll-cue { position: absolute; z-index: 3; left: 50%; bottom: 22px; transform: translateX(-50%); display: grid; justify-items: center; gap: 10px; font: 500 9px/1 var(--sans); letter-spacing: .4em; text-transform: uppercase; color: var(--muted); }
.scroll-cue i { width: 1px; height: 46px; background: linear-gradient(var(--gold), transparent); animation: cue 2.2s var(--ease) infinite; transform-origin: top; }
@keyframes cue { 0% { transform: scaleY(0) } 50% { transform: scaleY(1) } 100% { transform: scaleY(1); opacity: 0 } }
.hero-meta { display: flex; gap: 28px; flex-wrap: wrap; font: 500 11px/1.5 var(--sans); letter-spacing: .2em; text-transform: uppercase; color: var(--muted); }
.hero-meta span { display: inline-flex; gap: 10px; align-items: center; }
.hero-meta span::before { content: ""; width: 6px; height: 6px; transform: rotate(45deg); background: var(--gold); }
.no-webgl .hero-bg img { opacity: .45; }

/* ---------- manifeste ---------- */
.manifesto { font: 400 clamp(30px, 4.6vw, 74px)/1.12 var(--serif); letter-spacing: -.01em; max-width: 22ch; }
.manifesto em { font-style: italic; }
.manifesto-grid { display: grid; gap: 50px; }
@media (min-width: 1000px) { .manifesto-grid { grid-template-columns: 1fr 320px; align-items: end; } }
.stamp { width: 160px; height: 160px; position: relative; }
.stamp svg { width: 100%; height: 100%; animation: spin 26s linear infinite; }
.stamp .mono { position: absolute; inset: 44px; width: auto; height: auto; }
@keyframes spin { to { transform: rotate(360deg); } }

/* ---------- clubs (défilement horizontal) ---------- */
.clubs-pin { position: relative; overflow: hidden; background: var(--bg-2); }
.clubs-intro { padding: clamp(80px, 10vw, 140px) 0 50px; }
.clubs-track { display: flex; flex-direction: column; gap: 0; }
@media (min-width: 900px) { .clubs-track { flex-direction: row; width: max-content; height: 100vh; align-items: stretch; } .clubs-intro { padding: 0; } }
.club-panel { position: relative; display: grid; gap: 30px; padding: 30px var(--gutter) 70px; }
@media (min-width: 900px) {
  .club-panel { width: min(92vw, 1320px); height: 100vh; grid-template-columns: 1.15fr .85fr; align-items: center; padding: calc(var(--header-h) + 20px) 5vw 60px; gap: 5vw; }
  .club-panel.intro-panel { width: 46vw; grid-template-columns: 1fr; }
}
.club-panel-img { position: relative; overflow: hidden; aspect-ratio: 4/5; max-height: 74vh; width: 100%; }
@media (min-width: 900px) { .club-panel-img { aspect-ratio: auto; height: 72vh; } }
.club-panel-img img:not(.club-logo) { width: 100%; height: 100%; object-fit: cover; }
.club-panel-img::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, transparent 50%, rgba(0, 0, 0, .55)); }
.club-num { position: absolute; z-index: 2; left: 22px; bottom: 16px; font: 400 clamp(80px, 10vw, 160px)/1 var(--serif); color: transparent; -webkit-text-stroke: 1px rgba(243, 220, 154, .7); }
.club-panel-img .club-logo { position: absolute; z-index: 2; right: 18px; top: 18px; width: 74px; height: 74px; border-radius: 50%; object-fit: cover; box-shadow: 0 10px 40px rgba(0, 0, 0, .5); }
.club-panel-text h3 { font-size: clamp(38px, 4.6vw, 76px); margin: 10px 0 18px; }
.club-tags { display: flex; flex-wrap: wrap; gap: 8px; margin: 22px 0 32px; padding: 0; list-style: none; }
.club-tags li { font: 500 10px/1 var(--sans); letter-spacing: .2em; text-transform: uppercase; padding: 9px 14px; border: 1px solid var(--line); border-radius: 100px; color: var(--muted); }
.club-loc { display: flex; gap: 10px; align-items: center; font-size: 13px; color: var(--muted); }
.club-loc .ico { color: var(--accent); width: 16px; }
.clubs-progress { position: absolute; left: var(--gutter); right: var(--gutter); bottom: 30px; height: 1px; background: var(--faint); display: none; }
.clubs-progress span { display: block; height: 100%; background: var(--gold); transform: scaleX(0); transform-origin: left; }
@media (min-width: 900px) { .clubs-progress { display: block; } }

/* ---------- vitrine 3D ---------- */
.showcase { position: relative; height: 100vh; overflow: hidden; background: radial-gradient(70% 70% at 50% 55%, var(--glow), transparent 70%), var(--bg); }
.showcase .scene-canvas { z-index: 1; }
.showcase-ui { position: absolute; inset: 0; z-index: 2; pointer-events: none; display: grid; align-content: space-between; padding: calc(var(--header-h) + 30px) var(--gutter) 50px; }
.showcase-steps { position: relative; min-height: 220px; max-width: 460px; }
.showcase-step { position: absolute; inset: 0 auto auto 0; opacity: 0; transform: translateY(30px); transition: opacity .8s var(--ease), transform .8s var(--ease); }
.showcase-step.active { opacity: 1; transform: none; }
.showcase-step h3 { font-size: clamp(40px, 5.4vw, 88px); margin-bottom: 18px; }
.showcase-step p { color: var(--muted); max-width: 40ch; }
.showcase-dots { display: flex; gap: 10px; }
.showcase-dots i { width: 34px; height: 2px; background: var(--faint); transition: background .5s; }
.showcase-dots i.active { background: var(--gold); }
.showcase-index { font: 400 14px/1 var(--sans); letter-spacing: .3em; color: var(--muted); }
@media (max-width: 899px) { .showcase-steps { margin-top: auto; } .showcase-ui { align-content: end; gap: 30px; } }

/* ---------- bande défilante ---------- */
.marquee { overflow: hidden; padding: 34px 0; border-block: 1px solid var(--line); background: var(--bg); }
.marquee-row { display: flex; width: max-content; gap: 50px; font: 400 clamp(46px, 7vw, 110px)/1 var(--serif); white-space: nowrap; }
.marquee-row span { display: inline-flex; align-items: center; gap: 50px; }
.marquee-row span::after { content: "◆"; font-size: .25em; color: var(--gold); }
.marquee-row .o { color: transparent; -webkit-text-stroke: 1px rgba(243, 220, 154, .5); }

/* ---------- services ---------- */
.services-grid { display: grid; gap: 1px; background: var(--line); border: 1px solid var(--line); }
@media (min-width: 700px) { .services-grid { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1100px) { .services-grid { grid-template-columns: repeat(3, 1fr); } }
.service-card { position: relative; display: flex; flex-direction: column; gap: 18px; min-height: 420px; padding: 40px 34px 34px; background: var(--bg); overflow: hidden; transition: transform .6s var(--ease); }
.service-card::before { content: ""; position: absolute; inset: 0; background: radial-gradient(400px circle at var(--mx, 50%) var(--my, 0%), var(--glow), transparent 60%); opacity: 0; transition: opacity .5s; }
.service-card:hover::before { opacity: 1; }
.service-card .svc-img { position: absolute; inset: 0; z-index: 0; opacity: 0; transition: opacity .8s var(--ease), transform 1.4s var(--ease); transform: scale(1.12); }
.service-card .svc-img img { width: 100%; height: 100%; object-fit: cover; filter: brightness(.32) saturate(.9); }
.service-card:hover .svc-img { opacity: 1; transform: scale(1); }
.service-card > *:not(.svc-img) { position: relative; z-index: 1; }
.svc-num { font: 400 13px/1 var(--sans); letter-spacing: .3em; color: var(--muted); }
.svc-icon { width: 54px; height: 54px; border: 1px solid var(--line); border-radius: 50%; display: grid; place-items: center; color: var(--gold-2); }
.svc-icon .ico { width: 24px; height: 24px; }
.service-card h3 { font-size: clamp(30px, 2.6vw, 40px); margin-top: auto; }
.service-card p { color: var(--muted); margin: 0; font-size: 15px; }
.service-card .link-arrow { align-self: flex-start; margin-top: 10px; }
.service-card.featured { background: linear-gradient(140deg, #16110a, #0a0806); }
@media (min-width: 1100px) { .service-card.wide { grid-column: span 2; } }

/* ---------- C-DRIVE bande ---------- */
.drive-band { position: relative; overflow: hidden; min-height: 86vh; display: flex; align-items: center; background: #050607; }
.drive-band canvas, .drive-hero canvas { position: absolute; inset: 0; width: 100%; height: 100%; }
.drive-band .wrap, .drive-hero .wrap { position: relative; z-index: 2; }
.drive-logo { font: 800 clamp(70px, 13vw, 210px)/.85 var(--sans); letter-spacing: -.05em; margin: 0 0 24px; }
.drive-logo span { color: var(--accent); }
.drive-pills { display: flex; gap: 12px; flex-wrap: wrap; margin: 26px 0 36px; }
.drive-pills span { display: inline-flex; align-items: center; gap: 10px; padding: 12px 18px; border: 1px solid var(--line); border-radius: 100px; font-size: 13px; background: rgba(0, 0, 0, .35); backdrop-filter: blur(6px); }
.drive-pills .ico { color: var(--accent); }

/* ---------- chiffres ---------- */
.stats { display: grid; grid-template-columns: repeat(2, 1fr); border-top: 1px solid var(--line); }
@media (min-width: 900px) { .stats { grid-template-columns: repeat(4, 1fr); } }
.stat { padding: 40px 24px 10px 0; border-bottom: 1px solid var(--line); }
.stat strong { display: block; font: 400 clamp(64px, 8vw, 128px)/1 var(--serif); color: var(--gold-2); }
.stat span { font: 500 11px/1.5 var(--sans); letter-spacing: .24em; text-transform: uppercase; color: var(--muted); }

/* ---------- galerie colonnes ---------- */
.gallery-cols { display: grid; grid-template-columns: repeat(2, 1fr); gap: 14px; height: clamp(520px, 90vh, 900px); overflow: hidden; }
@media (min-width: 900px) { .gallery-cols { grid-template-columns: repeat(4, 1fr); gap: 18px; } }
.gallery-col { display: grid; gap: 14px; align-content: start; }
.gallery-col:nth-child(2n) { margin-top: -12%; }
.gallery-col a { overflow: hidden; display: block; }
.gallery-col img { width: 100%; aspect-ratio: 3/4; object-fit: cover; transition: transform 1.2s var(--ease), filter .8s; filter: saturate(.85); }
.gallery-col a:hover img { transform: scale(1.06); filter: saturate(1.1); }
@media (max-width: 899px) { .gallery-col:nth-child(n+3) { display: none; } }

/* ---------- images révélées ---------- */
.img-reveal { overflow: hidden; }
.img-reveal img { width: 100%; height: 100%; object-fit: cover; }

/* =========================================================
   PORTAIL CLUB
   ========================================================= */
.portal-hero { position: relative; min-height: 100svh; display: flex; align-items: flex-end; overflow: hidden; padding: calc(var(--header-h) + 40px) 0 clamp(40px, 8vh, 100px); }
.portal-hero .hero-bg img { opacity: .5; }
.portal-hero .hero-bg::after { background: linear-gradient(90deg, var(--bg) 0%, rgba(0, 0, 0, .35) 55%, rgba(0, 0, 0, .1)), linear-gradient(0deg, var(--bg), transparent 45%); }
.portal-hero .wrap { position: relative; z-index: 2; }
.portal-title { font-size: clamp(54px, 9.5vw, 170px); line-height: .88; letter-spacing: -.025em; margin: 0 0 24px; max-width: 11ch; }
.portal-badges { display: flex; flex-wrap: wrap; gap: 10px; margin: 30px 0 34px; }
.badge { display: inline-flex; align-items: center; gap: 10px; padding: 11px 16px; border: 1px solid var(--line); border-radius: 100px; font-size: 13px; background: rgba(0, 0, 0, .35); backdrop-filter: blur(8px); -webkit-backdrop-filter: blur(8px); }
.badge .ico { width: 16px; height: 16px; color: var(--accent); }
.portal-logo { width: 96px; height: 96px; border-radius: 50%; object-fit: cover; margin-bottom: 26px; box-shadow: 0 0 0 1px var(--line), 0 20px 60px rgba(0, 0, 0, .6); }
.portal-nav { position: sticky; top: 68px; z-index: 30; background: rgba(10, 8, 6, .85); backdrop-filter: blur(16px); -webkit-backdrop-filter: blur(16px); border-block: 1px solid var(--line); }
.portal-nav .wrap { display: flex; gap: 28px; overflow-x: auto; scrollbar-width: none; }
.portal-nav .wrap::-webkit-scrollbar { display: none; }
.portal-nav a { flex: none; padding: 18px 0; font: 500 11px/1 var(--sans); letter-spacing: .24em; text-transform: uppercase; color: var(--muted); transition: color .3s; }
.portal-nav a:hover { color: var(--gold-2); }
.portal-nav .btn { margin-left: auto; align-self: center; }

.story-grid { display: grid; gap: 50px; }
@media (min-width: 1000px) { .story-grid { grid-template-columns: 1fr 1fr; gap: 7vw; align-items: center; } }
.story-media { position: relative; aspect-ratio: 4/5; }
.story-media .img-reveal { position: absolute; inset: 0; }
.story-media .scene-box { position: absolute; right: -6%; bottom: -8%; width: 62%; aspect-ratio: 1; z-index: 2; }
.story-media .scene-box canvas { position: absolute; inset: 0; width: 100%; height: 100%; }
.features { display: grid; grid-template-columns: repeat(2, 1fr); gap: 1px; background: var(--line); margin-top: 40px; border: 1px solid var(--line); }
.features li { list-style: none; background: var(--bg); padding: 20px 18px; font: 500 15px/1.3 var(--serif); font-size: 19px; display: flex; gap: 12px; align-items: center; }
.features li::before { content: ""; width: 6px; height: 6px; flex: none; transform: rotate(45deg); background: var(--accent); }
.features { padding: 0; }

.program { display: grid; border-top: 1px solid var(--line); }
.program-row { display: grid; grid-template-columns: 110px 1fr; gap: 12px 30px; padding: 26px 0; border-bottom: 1px solid var(--line); transition: background .4s, padding .5s var(--ease); align-items: baseline; }
@media (min-width: 800px) { .program-row { grid-template-columns: 180px 1fr auto; } }
.program-row:hover { background: linear-gradient(90deg, rgba(201, 162, 75, .07), transparent); padding-left: 16px; }
.program-day { font: 500 11px/1 var(--sans); letter-spacing: .3em; text-transform: uppercase; color: var(--accent); }
.program-title { font: 400 clamp(22px, 2.4vw, 34px)/1.2 var(--serif); }
.program-time { font-size: 13px; color: var(--muted); letter-spacing: .1em; }
@media (max-width: 799px) { .program-time { grid-column: 2; } }

.menu-box { border: 1px solid var(--line); background: var(--bg-2); }
.menu-tabs { display: flex; gap: 6px; padding: 14px; overflow-x: auto; border-bottom: 1px solid var(--line); scrollbar-width: none; }
.menu-tabs::-webkit-scrollbar { display: none; }
.menu-tabs button { flex: none; padding: 11px 18px; border: 1px solid transparent; border-radius: 100px; background: none; font: 500 11px/1 var(--sans); letter-spacing: .18em; text-transform: uppercase; color: var(--muted); cursor: pointer; transition: all .4s; }
.menu-tabs button.active, .menu-tabs button:hover { border-color: var(--gold); color: var(--gold-2); }
.menu-pane { display: grid; gap: 0 50px; padding: 20px 30px 34px; }
@media (min-width: 900px) { .menu-pane { grid-template-columns: 1fr 1fr; } }
.menu-item { display: flex; align-items: baseline; gap: 14px; padding: 16px 0; border-bottom: 1px dashed rgba(201, 162, 75, .16); }
.menu-item img { width: 46px; height: 46px; border-radius: 50%; object-fit: cover; align-self: center; }
.menu-item span { font: 400 20px/1.3 var(--serif); }
.menu-item i { flex: 1; border-bottom: 1px dotted rgba(243, 236, 224, .18); transform: translateY(-5px); }
.menu-item b { font: 500 14px/1 var(--sans); color: var(--gold-2); white-space: nowrap; letter-spacing: .04em; }
.menu-item em { font: 500 10px/1 var(--sans); letter-spacing: .14em; text-transform: uppercase; color: #120c05; background: var(--gold); padding: 4px 7px; border-radius: 30px; font-style: normal; }
.live-dot { display: inline-flex; align-items: center; gap: 10px; font: 500 11px/1 var(--sans); letter-spacing: .2em; text-transform: uppercase; color: #8fe3a8; }
.live-dot::before { content: ""; width: 8px; height: 8px; border-radius: 50%; background: #39d474; box-shadow: 0 0 0 0 rgba(57, 212, 116, .6); animation: pulse 2s infinite; }
@keyframes pulse { 70% { box-shadow: 0 0 0 12px rgba(57, 212, 116, 0); } 100% { box-shadow: 0 0 0 0 rgba(57, 212, 116, 0); } }

.events-grid { display: grid; gap: 18px; }
@media (min-width: 800px) { .events-grid { grid-template-columns: repeat(3, 1fr); } }
.event-card { border: 1px solid var(--line); padding: 28px; display: grid; gap: 12px; background: var(--bg-2); }
.event-date { font: 400 46px/1 var(--serif); color: var(--gold-2); }
.event-date small { display: block; font: 500 11px/1.4 var(--sans); letter-spacing: .2em; text-transform: uppercase; color: var(--muted); }

.plans { display: grid; gap: 18px; }
@media (min-width: 800px) { .plans { grid-template-columns: repeat(3, 1fr); } }
.plan { position: relative; padding: 34px 28px; border: 1px solid var(--line); background: linear-gradient(160deg, var(--bg-3), var(--bg)); overflow: hidden; }
.plan::after { content: ""; position: absolute; inset: -40% -40% auto auto; width: 70%; aspect-ratio: 1; background: radial-gradient(circle, var(--glow), transparent 60%); }
.plan h3 { font-size: 34px; margin-bottom: 12px; }
.plan-price { font: 500 22px/1 var(--sans); color: var(--gold-2); margin: 16px 0; }

/* galerie portail */
.portal-gallery { display: grid; grid-template-columns: repeat(2, 1fr); gap: 12px; }
@media (min-width: 900px) { .portal-gallery { grid-template-columns: repeat(4, 1fr); grid-auto-rows: 260px; } .portal-gallery a:nth-child(1) { grid-column: span 2; grid-row: span 2; } .portal-gallery a:nth-child(6) { grid-column: span 2; } }
.portal-gallery a { overflow: hidden; display: block; min-height: 180px; position: relative; }
.portal-gallery img { width: 100%; height: 100%; object-fit: cover; transition: transform 1.2s var(--ease); }
.portal-gallery a:hover img { transform: scale(1.07); }

/* visite / carte */
.visit { display: grid; gap: 40px; }
@media (min-width: 1000px) { .visit { grid-template-columns: .9fr 1.1fr; } }
.visit-info { display: grid; gap: 26px; align-content: start; }
.visit-line { display: flex; gap: 16px; align-items: flex-start; padding-bottom: 22px; border-bottom: 1px solid var(--line); }
.visit-line .ico { color: var(--accent); margin-top: 4px; }
.visit-line strong { display: block; font: 500 11px/1.4 var(--sans); letter-spacing: .24em; text-transform: uppercase; color: var(--muted); margin-bottom: 6px; }
.visit-line p { margin: 0; font: 400 22px/1.35 var(--serif); }
.map-frame { position: relative; min-height: 420px; border: 1px solid var(--line); overflow: hidden; background: var(--bg-2); }
.map-frame iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; filter: grayscale(1) invert(.92) contrast(.9) sepia(.25) hue-rotate(-10deg); }

/* ---------- formulaires ---------- */
.form-shell { position: relative; border: 1px solid var(--line); background: linear-gradient(160deg, var(--bg-3), var(--bg-2)); padding: clamp(26px, 4vw, 60px); overflow: hidden; }
.form-shell::before { content: ""; position: absolute; inset: auto -20% -60% auto; width: 60%; aspect-ratio: 1; background: radial-gradient(circle, var(--glow), transparent 65%); pointer-events: none; }
.form-grid { position: relative; display: grid; gap: 22px 26px; }
@media (min-width: 760px) { .form-grid { grid-template-columns: repeat(2, 1fr); } .form-grid .full { grid-column: 1 / -1; } }
.field { display: grid; gap: 8px; }
.field > span { font: 500 10px/1 var(--sans); letter-spacing: .26em; text-transform: uppercase; color: var(--muted); }
.field input, .field select, .field textarea { width: 100%; padding: 15px 0; background: transparent; border: 0; border-bottom: 1px solid rgba(243, 236, 224, .2); border-radius: 0; font-size: 17px; transition: border-color .4s; outline: none; }
.field select { appearance: none; background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8'%3E%3Cpath d='M1 1l5 5 5-5' fill='none' stroke='%23c9a24b' stroke-width='1.4'/%3E%3C/svg%3E") no-repeat right 4px center; }
.field select option { background: #15100b; color: var(--ink); }
.field input:focus, .field select:focus, .field textarea:focus { border-color: var(--gold); }
.field textarea { resize: vertical; min-height: 90px; }
.choice { display: flex; flex-wrap: wrap; gap: 8px; }
.choice button { padding: 12px 18px; border: 1px solid var(--faint); border-radius: 100px; background: none; cursor: pointer; font-size: 14px; display: inline-flex; gap: 10px; align-items: center; transition: all .4s var(--ease); }
.choice button.active, .choice button:hover { border-color: var(--gold); color: var(--gold-2); background: rgba(201, 162, 75, .08); }
.form-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 20px; }
.form-status { font-size: 13px; color: var(--muted); margin: 0; }
.form-note { font-size: 12px; color: var(--muted); margin: 0; }

/* ---------- pages services ---------- */
.page-hero { position: relative; padding: calc(var(--header-h) + clamp(60px, 10vw, 140px)) 0 clamp(50px, 7vw, 100px); overflow: hidden; }
.page-hero .hero-bg img { opacity: .28; }
.svc-block { display: grid; gap: 40px; padding: clamp(60px, 9vw, 130px) 0; border-top: 1px solid var(--line); }
@media (min-width: 1000px) { .svc-block { grid-template-columns: 1fr 1fr; gap: 7vw; align-items: center; } .svc-block:nth-child(even) .svc-media { order: 2; } }
.svc-media { aspect-ratio: 5/4; }
.svc-points { list-style: none; padding: 0; margin: 28px 0 34px; display: grid; gap: 0; border-top: 1px solid var(--line); }
.svc-points li { padding: 15px 0; border-bottom: 1px solid var(--line); display: flex; gap: 14px; align-items: center; font: 400 20px/1.3 var(--serif); }
.svc-points li::before { content: ""; width: 6px; height: 6px; transform: rotate(45deg); background: var(--accent); flex: none; }
.svc-anchor { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 40px; }

/* ---------- C-DRIVE page ---------- */
.drive-hero { position: relative; min-height: 100svh; display: flex; align-items: flex-end; overflow: hidden; padding: calc(var(--header-h) + 40px) 0 clamp(50px, 9vh, 110px); background: #050607; }
.fleet { display: grid; gap: 18px; }
@media (min-width: 900px) { .fleet { grid-template-columns: 1fr 1fr; } }
.fleet-card { position: relative; padding: 40px 34px; border: 1px solid var(--line); background: linear-gradient(160deg, var(--bg-3), var(--bg)); overflow: hidden; min-height: 380px; display: flex; flex-direction: column; gap: 16px; }
.fleet-card .big-ico { position: absolute; right: -30px; bottom: -40px; width: 300px; height: 300px; color: rgba(227, 181, 90, .07); }
.fleet-card h3 { font: 800 54px/1 var(--sans); letter-spacing: -.03em; }
.fleet-card ul { list-style: none; padding: 0; margin: auto 0 0; display: flex; flex-wrap: wrap; gap: 8px; }
.fleet-card li { padding: 8px 14px; border: 1px solid var(--line); border-radius: 100px; font-size: 13px; color: var(--muted); }
.steps { display: grid; gap: 1px; background: var(--line); border: 1px solid var(--line); counter-reset: s; }
@media (min-width: 900px) { .steps { grid-template-columns: repeat(3, 1fr); } }
.steps div { background: var(--bg); padding: 34px; counter-increment: s; }
.steps div::before { content: "0" counter(s); display: block; font: 400 56px/1 var(--serif); color: var(--gold-2); margin-bottom: 18px; }
.steps h3 { font-size: 28px; margin-bottom: 10px; }
.steps p { color: var(--muted); margin: 0; }

/* ---------- contact ---------- */
.contact-cards { display: grid; gap: 18px; }
@media (min-width: 900px) { .contact-cards { grid-template-columns: repeat(3, 1fr); } }
.contact-card { border: 1px solid var(--line); background: var(--bg-2); overflow: hidden; display: flex; flex-direction: column; }
.contact-card .img-reveal { aspect-ratio: 16/10; }
.contact-card-body { padding: 28px; display: grid; gap: 14px; }
.contact-card h3 { font-size: 30px; }
.contact-card p { margin: 0; color: var(--muted); }
.contact-actions { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 8px; }

/* ---------- pied de page ---------- */
.site-footer { position: relative; background: #070504; border-top: 1px solid var(--line); overflow: hidden; }
.footer-cta { padding: clamp(80px, 12vw, 180px) var(--gutter) clamp(60px, 8vw, 110px); text-align: center; display: grid; justify-items: center; background: radial-gradient(60% 80% at 50% 100%, var(--glow), transparent 70%); }
.footer-title { font-size: clamp(54px, 10vw, 170px); line-height: .9; margin: 0 0 40px; }
.footer-cta-actions { display: flex; flex-wrap: wrap; gap: 14px; justify-content: center; }
.footer-grid { display: grid; gap: 40px; padding: 60px var(--gutter); border-top: 1px solid var(--line); max-width: 1480px; margin: 0 auto; }
@media (min-width: 900px) { .footer-grid { grid-template-columns: 1.3fr 1fr 1fr 1fr; } }
.footer-mono { width: 52px; height: 52px; margin-bottom: 16px; }
.footer-name { font: 500 22px/1.2 var(--serif); letter-spacing: .14em; margin: 0 0 12px; }
.footer-col h3 { font: 500 11px/1.4 var(--sans); letter-spacing: .26em; text-transform: uppercase; color: var(--accent); margin-bottom: 16px; }
.footer-col p { margin: 0 0 6px; font-size: 14px; color: var(--muted); }
.footer-links { display: flex; gap: 14px; flex-wrap: wrap; margin-top: 12px !important; }
.footer-links a { color: var(--gold-2); font-size: 13px; border-bottom: 1px solid var(--line); }
.footer-bottom { display: flex; flex-wrap: wrap; gap: 20px; justify-content: space-between; align-items: center; padding: 26px var(--gutter) 40px; border-top: 1px solid var(--line); max-width: 1480px; margin: 0 auto; }
.socials { display: flex; flex-wrap: wrap; gap: 24px; }
.social-group { display: inline-flex; align-items: center; gap: 10px; }
.social-group small { font-size: 11px; color: var(--muted); letter-spacing: .1em; margin-right: 4px; }
.social-group a { width: 38px; height: 38px; border: 1px solid var(--line); border-radius: 50%; display: grid; place-items: center; transition: background .4s, color .4s; }
.social-group a:hover { background: var(--gold); color: #120c05; }
.social-group .ico { width: 16px; height: 16px; }

.wa-float { position: fixed; right: 20px; bottom: 20px; z-index: 60; width: 58px; height: 58px; border-radius: 50%; display: grid; place-items: center; background: #1fa855; color: #fff; box-shadow: 0 14px 40px rgba(0, 0, 0, .45), 0 0 0 0 rgba(31, 168, 85, .5); animation: waPulse 3s infinite; transition: transform .4s var(--ease); }
.wa-float .ico { width: 28px; height: 28px; }
@keyframes waPulse { 0% { box-shadow: 0 14px 40px rgba(0, 0, 0, .45), 0 0 0 0 rgba(31, 168, 85, .45); } 70% { box-shadow: 0 14px 40px rgba(0, 0, 0, .45), 0 0 0 18px rgba(31, 168, 85, 0); } 100% { box-shadow: 0 14px 40px rgba(0, 0, 0, .45), 0 0 0 0 rgba(31, 168, 85, 0); } }

.lightbox { position: fixed; inset: 0; z-index: 150; background: rgba(5, 4, 3, .94); display: grid; place-items: center; padding: 30px; opacity: 0; visibility: hidden; transition: all .5s var(--ease); cursor: zoom-out; }
.lightbox.open { opacity: 1; visibility: visible; }
.lightbox img { max-height: 88vh; width: auto; box-shadow: 0 30px 80px rgba(0, 0, 0, .6); }

.mono { width: 40px; height: 40px; }

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .001ms !important; transition-duration: .001ms !important; }
}

/* =========================================================
   LOGOS OFFICIELS
   ========================================================= */
.brand-logo { width: 40px; height: 46px; object-fit: contain; filter: drop-shadow(0 2px 8px rgba(0,0,0,.5)); }
.loader-logo { width: 120px; height: auto; filter: drop-shadow(0 0 30px rgba(201,162,75,.35)); }
.footer-logo { width: 110px; height: auto; margin-bottom: 18px; }
.footer-club-logo { width: 64px; height: 64px; object-fit: contain; margin-bottom: 14px; }
.nav-sub .sub-logo { width: 56px; height: 56px; object-fit: contain; filter: none; }
.portal-logo { width: auto; height: clamp(110px, 14vw, 170px); max-width: 220px; border-radius: 0; object-fit: contain; box-shadow: none; filter: drop-shadow(0 18px 40px rgba(0,0,0,.6)); }
.club-panel-img .club-logo { width: 96px; height: 96px; border-radius: 0; object-fit: contain; box-shadow: none; filter: drop-shadow(0 10px 30px rgba(0,0,0,.7)); }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.ico.flip { transform: scaleX(-1); }

/* =========================================================
   C-DRIVE — charte (violet / turquoise)
   ========================================================= */
[data-theme="drive"] { --bg: #070816; --bg-2: #0c0e22; --bg-3: #14173a; --accent: #7b5cff; --glow: rgba(90, 50, 240, .3); --line: rgba(123, 92, 255, .28); --gold: #5a32f0; --gold-2: #b9a8ff; --gold-3: #3a1fb8; }
[data-theme="drive"] .btn-gold { color: #fff; }
[data-theme="drive"] .btn-gold::before { background: linear-gradient(110deg, #3a1fb8, #5a32f0 50%, #7b5cff); }
[data-theme="drive"] .btn:hover { color: #fff; }
[data-theme="drive"] em { color: #b9a8ff; }
.cdrive-logo { display: inline-flex; align-items: center; gap: .35em; line-height: 1; }
.cdrive-pin { height: 1.25em; width: auto; flex: none; }
.cdrive-word { display: grid; justify-items: center; gap: .18em; }
.cdrive-name { font: 400 1em/1 "Michroma", var(--sans); letter-spacing: .14em; color: #0b0d1e; white-space: nowrap; }
.cdrive-logo.is-dark .cdrive-name { color: #f4f5ff; }
.cdrive-name b { font-weight: 400; color: #5a32f0; }
.cdrive-word i { width: 2.2em; height: 2px; background: #1fc8a6; }
.cdrive-word small { font: 500 .28em/1 var(--sans); letter-spacing: .55em; color: inherit; opacity: .8; color: #c9cbe8; }
.cdrive-xl { font-size: clamp(28px, 4.4vw, 68px); flex-direction: column; gap: .3em; }
.cdrive-xl .cdrive-pin { height: 2em; }
.cdrive-xs { font-size: 11px; gap: 7px; }
.cdrive-xs .cdrive-pin { height: 20px; }
.cdrive-xs .cdrive-name { letter-spacing: .2em; }
.cdrive-icon .cdrive-pin { height: 30px; }
.cdrive-icon .cdrive-word { display: none; }
.nav-cdrive::after { background: #5a32f0 !important; }
.drive-title { margin: 0 0 26px; font-size: inherit; }
.cdrive-slogan { font: 500 12px/1 var(--sans); letter-spacing: .38em; text-transform: uppercase; color: #c9cbe8; margin: 0 0 24px; }
.cdrive-slogan span { color: #7b5cff; }
.drive-band .drive-pills .ico, .drive-hero .drive-pills .ico { color: #7b5cff; }

/* =========================================================
   CAVE 3D
   ========================================================= */
.cave-section, .cave-block { background: radial-gradient(60% 55% at 50% 62%, var(--glow), transparent 70%), var(--bg); }
.cave-block { position: relative; height: min(100vh, 900px); min-height: 640px; overflow: hidden; border-block: 1px solid var(--line); }
.cave-section canvas, .cave-block canvas { cursor: grab; touch-action: pan-y; }
.cave-section canvas:active, .cave-block canvas:active { cursor: grabbing; }
.cave-head .title-l { font-size: clamp(34px, 4.4vw, 68px); }
.cave-foot { display: flex; flex-wrap: wrap; align-items: flex-end; justify-content: space-between; gap: 24px; }
.cave-caption { pointer-events: auto; max-width: 520px; }
.cave-caption h3 { font-size: clamp(34px, 4.6vw, 72px); margin-bottom: 8px; }
.cave-caption .eyebrow { margin-bottom: 12px; }
.cave-price { font: 500 18px/1 var(--sans); color: var(--gold-2); letter-spacing: .04em; margin: 0 0 18px; min-height: 18px; }
.cave-caption.swap > * { animation: capIn .7s var(--ease) both; }
.cave-caption.swap > *:nth-child(2) { animation-delay: .05s; }
.cave-caption.swap > *:nth-child(3) { animation-delay: .1s; }
@keyframes capIn { from { opacity: 0; transform: translateY(16px); } to { opacity: 1; transform: none; } }
.cave-controls { pointer-events: auto; display: flex; align-items: center; gap: 16px; font: 500 12px/1 var(--sans); letter-spacing: .3em; color: var(--muted); }
.cave-controls button { width: 54px; height: 54px; border-radius: 50%; border: 1px solid var(--line); background: rgba(0,0,0,.35); display: grid; place-items: center; cursor: pointer; color: var(--gold-2); transition: background .4s, color .4s; }
.cave-controls button:hover { background: var(--gold); color: #120c05; }
@media (max-width: 899px) { .cave-section .showcase-ui, .cave-block .showcase-ui { align-content: space-between; } .cave-caption h3 { font-size: 34px; } }
.cave-section .showcase-ui, .cave-block .showcase-ui { background: linear-gradient(90deg, rgba(0,0,0,.55), transparent 42%), linear-gradient(0deg, rgba(0,0,0,.45), transparent 30%); }

/* =========================================================
   ÉCRAN DE CHARGEMENT & TRANSITIONS
   ========================================================= */
.loader { position: fixed; inset: 0; z-index: 200; display: grid; place-items: center; background: none; clip-path: none; pointer-events: all; perspective: 900px; }
.loader.is-done { visibility: hidden; pointer-events: none; }
.loader-panel { position: absolute; left: 0; right: 0; height: 50.5%; background: radial-gradient(120% 100% at 50% 100%, #1a130b, #070504 70%); }
.loader-top { top: 0; border-bottom: 1px solid rgba(201,162,75,.25); }
.loader-bottom { bottom: 0; background: radial-gradient(120% 100% at 50% 0%, #1a130b, #070504 70%); }
.loader-inner { position: relative; z-index: 2; display: grid; justify-items: center; gap: 18px; }
.loader-emblem { position: relative; width: clamp(190px, 26vw, 260px); aspect-ratio: 1; display: grid; place-items: center; transform-style: preserve-3d; }
.loader-ring { position: absolute; inset: 0; width: 100%; height: 100%; transform: rotate(-90deg); overflow: visible; }
.loader-ring circle { fill: none; stroke-width: 1.2; }
.loader-ring .ring-bg { stroke: rgba(201,162,75,.15); }
.loader-ring .ring-fg { stroke: url(#none); stroke: #e8c87a; stroke-dasharray: 100; stroke-dashoffset: 100; stroke-linecap: round; filter: drop-shadow(0 0 6px rgba(232,200,122,.8)); }
.loader-rays { position: absolute; inset: -60%; background: repeating-conic-gradient(from 0deg, rgba(232,200,122,.10) 0 2deg, transparent 2deg 12deg); -webkit-mask: radial-gradient(circle, #000 15%, transparent 62%); mask: radial-gradient(circle, #000 15%, transparent 62%); animation: spin 30s linear infinite; }
.loader-logo { position: relative; width: 66%; height: auto; filter: drop-shadow(0 0 40px rgba(201,162,75,.35)); }
.loader-shine { position: absolute; inset: 17% 17%; -webkit-mask: var(--logo) center / contain no-repeat; mask: var(--logo) center / contain no-repeat; background: linear-gradient(105deg, transparent 35%, rgba(255,250,230,.95) 50%, transparent 65%); background-size: 250% 100%; animation: shine 2.4s cubic-bezier(.6,0,.2,1) infinite; pointer-events: none; }
@keyframes shine { 0% { background-position: 150% 0; } 60%, 100% { background-position: -100% 0; } }
.loader-word { font: 500 13px/1 var(--sans); letter-spacing: .42em; text-transform: uppercase; color: var(--muted); margin: 8px 0 0; display: flex; overflow: hidden; padding: 4px 0; }
.loader-word span { display: inline-block; }
.loader-word strong { color: var(--gold-2); font-weight: 600; display: inline-flex; }
.loader-count { font: 400 clamp(30px, 4vw, 44px)/1 var(--serif); color: var(--gold-2); margin: 0; letter-spacing: .04em; }
.loader-count b { font-weight: 400; display: inline-block; min-width: 2.2ch; text-align: right; }
.loader-tag { font: 500 10px/1 var(--sans); letter-spacing: .5em; text-transform: uppercase; color: rgba(243,236,224,.4); margin: 0; }
html:not(.js) .loader { display: none; }

/* =========================================================
   LOGO 3D DANS LES EN-TÊTES
   ========================================================= */
.logo3d { position: absolute; z-index: 1; top: 0; right: 0; bottom: 0; width: min(56vw, 920px); pointer-events: none; }
.logo3d canvas { width: 100%; height: 100%; opacity: 0; transition: opacity 1.2s var(--ease); }
.logo3d canvas.is-ready { opacity: 1; }
.hero .logo3d { width: min(60vw, 980px); }
.has-logo3d .wrap { position: relative; z-index: 2; }
@media (min-width: 900px) { .has-logo3d .wrap > * { max-width: min(46vw, 760px); } .has-logo3d .portal-title, .has-logo3d .hero-title { max-width: none; } }
@media (max-width: 899px) {
  .logo3d, .hero .logo3d { left: 0; width: 100%; top: var(--header-h); bottom: auto; height: 46svh; }
  .has-logo3d { padding-top: calc(var(--header-h) + 40svh) !important; }
}
.portal-hero .portal-logo { display: none; }

.drive-hero .cdrive-xl .cdrive-pin { display: none; }
.page-hero.has-logo3d { min-height: 82vh; display: flex; align-items: flex-end; }
/* reflet exactement superposé au logo */
.loader-emblem > * { grid-area: 1 / 1; }
.loader-emblem .loader-logo, .loader-emblem .loader-shine { width: 62%; aspect-ratio: 755 / 867; height: auto; inset: auto; position: relative; }
.loader-emblem .loader-ring, .loader-emblem .loader-rays { position: absolute; }
@media (min-width: 900px) {
  .hero .logo3d { width: 46vw; right: 0; }
  .portal-hero .logo3d, .page-hero .logo3d, .drive-hero .logo3d { width: 44vw; }
  .hero.has-logo3d .hero-title { font-size: clamp(56px, 8.6vw, 160px); }
  .hero.has-logo3d .hero-title .row-2 { padding-left: clamp(0px, 4vw, 80px); }
  .has-logo3d .portal-title { font-size: clamp(50px, 7vw, 128px); max-width: 52vw; }
}

/* ---------- bloc référencement & FAQ (accueil) ---------- */
.seo-block { border-top: 1px solid var(--line); }
.seo-grid { display: grid; gap: 40px; }
@media (min-width: 1000px) { .seo-grid { grid-template-columns: .9fr 1.1fr; gap: 6vw; } }
.seo-text p { color: var(--muted); font-size: 17px; line-height: 1.85; margin: 0 0 20px; }
.seo-text strong { color: var(--ink); font-weight: 500; }
.seo-text a { color: var(--gold-2); border-bottom: 1px solid var(--line); transition: border-color .3s; }
.seo-text a:hover { border-color: var(--gold); }
.faq { margin-top: clamp(70px, 9vw, 130px); }
.faq-list { margin-top: 34px; border-top: 1px solid var(--line); }
.faq-item { border-bottom: 1px solid var(--line); }
.faq-item summary { list-style: none; cursor: pointer; display: flex; justify-content: space-between; gap: 20px; align-items: center; padding: 24px 0; font: 400 clamp(20px, 2vw, 27px)/1.3 var(--serif); }
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary i { flex: none; width: 34px; height: 34px; border: 1px solid var(--line); border-radius: 50%; position: relative; transition: transform .5s var(--ease), background .4s; }
.faq-item summary i::before, .faq-item summary i::after { content: ""; position: absolute; left: 50%; top: 50%; width: 12px; height: 1px; background: var(--gold-2); transform: translate(-50%, -50%); }
.faq-item summary i::after { transform: translate(-50%, -50%) rotate(90deg); transition: transform .5s var(--ease); }
.faq-item[open] summary i { background: rgba(201,162,75,.12); }
.faq-item[open] summary i::after { transform: translate(-50%, -50%) rotate(0deg); }
.faq-item p { margin: 0 0 26px; color: var(--muted); max-width: 75ch; line-height: 1.8; }
