/* ============================================
   OLYMPE - Design system v2 (editorial premium)
   ============================================ */

:root {
  /* Deep night palette */
  --bg-0: #07080f;
  --bg-1: #0c0e18;
  --bg-2: #121624;
  --bg-3: #1a1f32;
  --bg-4: #232945;
  --border: rgba(255, 255, 255, 0.07);
  --border-strong: rgba(255, 255, 255, 0.14);

  --text-1: #f4f5fa;
  --text-2: #a9adc4;
  --text-3: #8288a4;
  --text-dim: #3f4460;

  /* Accents - Olympe magenta kept as signature, richer */
  --olympe: var(--p-100, var(--p-100));
  --olympe-2: var(--p-050, var(--p-050));
  --olympe-glow: rgba(var(--primary-rgb), 0.4);
  --olympe-soft: rgba(var(--primary-rgb), 0.1);

  /* Secondary - cold electric indigo for depth */
  --electric: #7c5cff;
  --electric-soft: rgba(124, 92, 255, 0.12);

  /* Signal */
  --green: #22d3a7;
  --amber: #f5b043;
  --red: #ef4757;

  /* Type - Space Grotesk (display condensé moderne) + Inter (UI) */
  --font-display: 'Space Grotesk', 'Inter', -apple-system, sans-serif;
  --font-sans: 'Inter', -apple-system, sans-serif;
  --font-mono: 'JetBrains Mono', 'Geist Mono', monospace;

  --ease-out: cubic-bezier(0.16, 1, 0.3, 1);
  --ease-in-out: cubic-bezier(0.65, 0, 0.35, 1);

  --radius-sm: 6px;
  --radius-md: 12px;
  --radius-lg: 18px;
  --radius-xl: 28px;
}

* { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; scroll-padding-top: 90px; }
body {
  font-family: var(--font-sans);
  background: var(--bg-0);
  color: var(--text-1);
  -webkit-font-smoothing: antialiased;
  line-height: 1.55;
  overflow-x: hidden;
  font-size: 15px;
}
img, svg { display: block; max-width: 100%; }
button { font-family: inherit; cursor: pointer; background: none; border: none; color: inherit; }
a { color: inherit; text-decoration: none; }
input, textarea, select { font-family: inherit; }

/* ============ Ambient background glow ============ */
body::before {
  content: "";
  position: fixed;
  inset: 0;
  background:
    radial-gradient(ellipse 1000px 500px at 15% -10%, var(--olympe-soft), transparent),
    radial-gradient(ellipse 800px 400px at 85% 110%, var(--electric-soft), transparent);
  pointer-events: none;
  z-index: 0;
}
body > * { position: relative; z-index: 1; }
#nav-root { z-index: 1000; }

/* ============ Layout ============ */
.container {
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 32px;
}
@media (max-width: 640px) { .container { padding: 0 20px; } }

.section { padding: 120px 0; position: relative; }
.section-sm { padding: 80px 0; }

/* ============ Typography ============ */
.display {
  font-family: var(--font-display);
  font-weight: 500;
  letter-spacing: -0.035em;
  line-height: 0.98;
  font-style: normal;
  text-wrap: balance;
}
.display em {
  font-style: normal;
  color: var(--olympe);
  font-weight: 500;
}

.eyebrow {
  font-family: var(--font-mono);
  font-size: 13px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.14em;
  color: var(--olympe);
  display: inline-flex;
  align-items: center;
  gap: 12px;
}
.eyebrow.center { justify-content: center; }

h2.section-title {
  font-family: var(--font-display);
  font-size: clamp(42px, 5.5vw, 72px);
  text-wrap: balance;
  font-weight: 400;
  letter-spacing: -0.025em;
  line-height: 1;
  margin: 18px 0 22px;
  max-width: 880px;
}
.section-sub {
  font-size: 18px;
  color: var(--text-2);
  max-width: 620px;
  line-height: 1.5;
}

/* ── Tête de section unifiée : eyebrow → titre → lead, le tout centré ── */
.section-head {
  max-width: 840px;
  margin: 0 auto 56px;
  text-align: center;
}
.section-head .eyebrow { justify-content: center; }
.section-head h2.section-title { margin: 18px auto 22px; }
.section-lead {
  font-size: 17px;
  line-height: 1.65;
  color: var(--text-2);
  max-width: 60ch;
  margin: 0 auto;
  text-wrap: pretty;
}
.section-lead em { font-style: normal; color: var(--olympe); }

/* ============ Buttons ============ */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 14px 22px;
  border-radius: 999px;
  font-weight: 500;
  font-size: 14px;
  letter-spacing: -0.005em;
  transition: all 0.25s var(--ease-out);
  white-space: nowrap;
  font-family: var(--font-sans);
}
.btn-primary {
  background: var(--olympe);
  color: #07080f;
  box-shadow: 0 0 0 1px var(--olympe), 0 12px 32px -10px var(--olympe-glow);
}
.btn-primary:hover {
  transform: translateY(-1px);
  background: var(--olympe-2);
  box-shadow: 0 0 0 1px var(--olympe-2), 0 18px 40px -10px var(--olympe-glow);
}
.btn-ghost {
  background: transparent;
  color: var(--text-1);
  box-shadow: inset 0 0 0 1px var(--border-strong);
}
.btn-ghost:hover { background: rgba(255,255,255,0.04); box-shadow: inset 0 0 0 1px rgba(255,255,255,0.22); }
.btn-sm { padding: 10px 16px; font-size: 13px; }
.btn-lg { padding: 17px 28px; font-size: 15px; }
.arrow-icon { transition: transform 0.25s var(--ease-out); }
.btn:hover .arrow-icon { transform: translateX(3px); }

/* ============ Nav ============ */
.nav {
  position: fixed; top: 0; left: 0; right: 0;
  z-index: 1000; padding: 18px 0;
  transition: background 0.3s var(--ease-out),
              backdrop-filter 0.3s var(--ease-out),
              padding 0.3s var(--ease-out),
              border-color 0.3s var(--ease-out),
              box-shadow 0.3s var(--ease-out);
  background: rgba(7, 8, 15, 0);
  border-bottom: 1px solid transparent;
}
.nav.scrolled {
  background: rgba(7, 8, 15, 0.88);
  backdrop-filter: blur(20px) saturate(1.4);
  -webkit-backdrop-filter: blur(20px) saturate(1.4);
  padding: 12px 0;
  border-bottom-color: var(--border);
  box-shadow: 0 8px 24px -16px rgba(0, 0, 0, 0.6);
}
.nav-inner {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  gap: 24px;
}
.nav-logo {
  display: flex; align-items: center; gap: 10px;
  font-family: var(--font-display);
  font-weight: 400; font-size: 24px;
  letter-spacing: 0.01em;
  justify-self: start;
}
.nav-logo-mark {
  font-family: var(--font-sans);
  font-weight: 700;
  font-size: 15px;
  background: linear-gradient(135deg, var(--olympe), var(--electric));
  color: #07080f;
  width: 30px; height: 30px;
  border-radius: var(--radius-xs);
  display: flex;
  align-items: center;
  justify-content: center;
  letter-spacing: 0;
}
.nav-links {
  display: flex;
  gap: 28px;
  font-size: 14px;
  color: var(--text-2);
  justify-self: center;
  white-space: nowrap;
}
.nav-links a { transition: color 0.2s; }
.nav-links a:hover, .nav-links a.active { color: var(--text-1); }
.nav-cta {
  display: flex;
  gap: 14px;
  align-items: center;
  justify-self: end;
}
.nav-lang {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  font-family: var(--font-mono);
  font-size: 13px;
  color: var(--text-3);
  text-transform: uppercase;
  letter-spacing: 0.04em;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.09);
  padding: 3px 5px;
  border-radius: 9999px;
  cursor: pointer;
  transition: color 0.2s, background 0.2s, border-color 0.2s, transform 0.2s cubic-bezier(0.16, 1, 0.3, 1);
  user-select: none;
}
.nav-lang:hover {
  color: var(--text-1);
  background: rgba(255, 255, 255, 0.08);
  border-color: rgba(255, 255, 255, 0.16);
}
.nav-lang:active { transform: scale(0.94); }
.nav-lang-globe {
  flex-shrink: 0;
  color: var(--text-3);
  margin-left: 2px;
  transition: color 0.2s;
}
.nav-lang:hover .nav-lang-globe { color: var(--text-1); }
.nav-lang .sep { display: none; }
.nav-lang span:not(.sep) {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 2px 6px;
  border-radius: 9999px;
  transition: color 0.2s, background 0.2s;
  line-height: 1.2;
}
.nav-lang .on {
  color: var(--text-1);
  font-weight: 700;
  background: rgba(255, 255, 255, 0.14);
}
@media (max-width: 860px) {
  .nav-inner {
    display: flex;
    justify-content: space-between;
  }
  .nav-links { display: none; }
  .nav-cta .nav-lang { display: none; }
}

/* ========================================================
   i18n Smooth Transition - Soft Dissolve & Breathe (340ms)
   ======================================================== */
#main-content, #footer-root {
  transition-property: opacity, transform;
  transition-timing-function: cubic-bezier(0.16, 1, 0.3, 1);
}

.trans-soft-out, .trans-soft-in {
  will-change: opacity, transform;
}

.trans-soft-out {
  opacity: 0.15 !important;
  transform: translateY(-4px) !important;
  transition-duration: 150ms !important;
  transition-timing-function: cubic-bezier(0.4, 0, 1, 1) !important;
}

.trans-soft-in {
  opacity: 1 !important;
  transform: translateY(0) !important;
  transition-duration: 190ms !important;
  transition-timing-function: cubic-bezier(0.16, 1, 0.3, 1) !important;
}

@media (prefers-reduced-motion: reduce) {
  #main-content, #footer-root, .trans-soft-out, .trans-soft-in {
    transition: none !important;
    transform: none !important;
    opacity: 1 !important;
    will-change: auto !important;
  }
}

/* ============ Hero ============ */
.hero { padding: 160px 0 100px; position: relative; overflow: hidden; }
.hero-bg-grid {
  position: absolute; inset: 0;
  background-image:
    linear-gradient(var(--border) 1px, transparent 1px),
    linear-gradient(90deg, var(--border) 1px, transparent 1px);
  background-size: 64px 64px;
  mask-image: radial-gradient(ellipse at 70% 40%, #000 10%, transparent 70%);
  -webkit-mask-image: radial-gradient(ellipse at 70% 40%, #000 10%, transparent 70%);
  opacity: 0.4;
  pointer-events: none;
}
.hero-inner {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1.15fr);
  gap: 60px;
  align-items: center;
}
@media (max-width: 1024px) {
  .hero-inner { grid-template-columns: 1fr; gap: 60px; }
}

.hero-title {
  font-size: clamp(52px, 7vw, 96px);
  margin-bottom: 28px;
}
.hero-sub {
  font-size: 19px;
  color: var(--text-2);
  line-height: 1.55;
  max-width: 520px;
  margin-bottom: 36px;
}
/* CTA - composant input DS (Avenir, champ rectangulaire, tokens DS) */
/* Largeur du bloc CTA alignée sur celle du sous-titre (.hero-sub) */
.hero-cta { max-width: 500px; margin-bottom: 8px; }
.hero-cta-label {
  display: block;
  font-family: var(--font-sans);
  font-size: 20px; font-weight: 700; letter-spacing: -0.3px;
  color: var(--text-1);
  line-height: 1.3;
  white-space: nowrap;
  width: max-content;
  margin-bottom: 12px;
}
.hero-cta-label em {
  font-style: normal; font-weight: 700; color: var(--olympe);
}

.hero-field {
  display: flex; gap: 10px; align-items: stretch;
  max-width: 440px;
}
.hero-input {
  flex: 1; display: flex; align-items: center; gap: 9px;
  background: var(--bg-2);
  border: 1.5px solid var(--border-strong);
  border-radius: var(--radius-md);
  padding: 0 16px;
  transition: border-color 0.18s var(--ease-out), box-shadow 0.18s var(--ease-out);
}
.hero-input:focus-within {
  border-color: var(--olympe);
  box-shadow: 0 0 0 4px var(--olympe-soft);
}
.hero-input-ic {
  display: inline-flex; flex-shrink: 0; color: var(--text-dim);
  transition: color 0.18s var(--ease-out);
}
.hero-input:focus-within .hero-input-ic { color: var(--olympe); }
.hero-input-prefix {
  font-family: var(--font-sans);
  font-size: 15px; color: var(--text-3); flex-shrink: 0;
}
.hero-input-suffix {
  font-family: var(--font-sans);
  font-size: 15px; color: var(--text-3); flex-shrink: 0;
  white-space: nowrap; padding-right: 2px;
}
.hero-input input {
  flex: 1; min-width: 0; background: none; border: none; outline: none;
  font-family: var(--font-sans);
  font-size: 15px; font-weight: 600; color: var(--olympe);
  padding: 13px 2px;
}
.hero-input input::placeholder { color: var(--text-dim); font-weight: 400; }
.hero-field .btn {
  flex-shrink: 0;
  padding: 0 20px;
  white-space: nowrap;
}
.hero-btn-short { display: inline; }
.hero-btn-full { display: none; }
.hero-cta-hint {
  font-family: var(--font-sans);
  font-size: 13px; color: var(--text-3); line-height: 1.5; margin-top: 10px;
}

/* Astérisque gratuité */
.hero-meta-ast { color: var(--text-3); font-weight: 700; font-size: 13px; line-height: 1; vertical-align: baseline; margin-left: 1px; }
.hero-meta-note {
  display: inline-block;
  font-family: var(--font-sans);
  font-size: 13px; color: var(--text-3);
  margin-top: 8px;
  text-decoration: none;
  border-bottom: 1px dotted var(--text-3);
  transition: color .18s var(--ease-out), border-color .18s var(--ease-out);
}
.hero-meta-note:hover { color: var(--olympe); border-bottom-color: var(--olympe); }

/* Création assistée par IA (hero map, optionnel) */
.hm-ai {
  position: relative;
  z-index: 2;
  display: flex;
  align-items: center;
  gap: 10px;
  align-self: center;
  margin-top: 12px;
  padding: 9px 14px;
  border: 1.5px dashed var(--amber);
  border-radius: var(--radius-md);
  background: rgba(239,159,59,0.07);
  animation: hmCardIn .5s cubic-bezier(0.4,0,0.2,1) both;
  animation-delay: .6s;
}
.hm-ai-ic {
  width: 24px; height: 24px;
  border-radius: var(--radius-xs);
  background: rgba(239,159,59,0.15);
  display: flex; align-items: center; justify-content: center;
  flex-shrink: 0;
}
.hm-ai-txt {
  font-family: var(--font-display);
  font-weight: 700; font-size: 13px; letter-spacing: -.2px;
  color: var(--text-1);
  white-space: nowrap;
}
.hm-ai-tag {
  font-family: var(--font-mono);
  font-size: 13px; font-weight: 600; letter-spacing: .08em;
  text-transform: uppercase;
  color: var(--amber);
  border: 1px solid rgba(239,159,59,0.35);
  border-radius: 99px;
  padding: 2px 8px;
  white-space: nowrap;
}

/* Réassurance - chips lisibles */
.hero-meta {
  display: flex; gap: 12px; flex-wrap: wrap; margin-top: 22px;
}
.hero-meta-item {
  display: flex; align-items: center; gap: 9px;
  font-size: 15px; font-weight: 600; color: var(--text-1);
  background: rgba(34,211,167,0.08);
  border: 1px solid rgba(34,211,167,0.22);
  padding: 9px 16px 9px 11px; border-radius: 999px;
}
.hero-meta-item .check {
  width: 20px; height: 20px; border-radius: 50%; flex-shrink: 0;
  background: var(--green); color: #04140f;
  display: flex; align-items: center; justify-content: center;
}
.hero-meta-item .check svg { display: block; }

/* Hero mockup card */
.hero-mockup {
  position: relative;
  border-radius: var(--radius-lg);
  background: linear-gradient(160deg, var(--bg-2) 0%, var(--bg-1) 100%);
  border: 1px solid var(--border-strong);
  overflow: hidden;
  box-shadow: 0 50px 100px -20px rgba(0,0,0,0.6), 0 0 0 1px var(--border);
}
.hero-mockup::before {
  content: ""; position: absolute; inset: 0;
  background: linear-gradient(135deg, var(--olympe-soft) 0%, transparent 40%, var(--electric-soft) 100%);
  pointer-events: none; z-index: 1;
}

/* ============ Mockup chrome (browser) ============ */
.mockup-chrome {
  display: flex; align-items: center; gap: 6px;
  padding: 12px 16px;
  border-bottom: 1px solid var(--border);
  background: rgba(0,0,0,0.3);
}
.mockup-dot { width: 10px; height: 10px; border-radius: 50%; background: var(--bg-3); }
.mockup-dot.r { background: #ff5f57; } .mockup-dot.y { background: #febc2e; } .mockup-dot.g { background: #28c840; }
.mockup-url {
  margin-left: 16px;
  background: var(--bg-1);
  border-radius: var(--radius-xs);
  padding: 5px 12px;
  font-family: var(--font-mono);
  font-size: 13px;
  color: var(--text-2);
  flex: 1; max-width: 340px;
  display: flex; align-items: center; gap: 6px;
}
.mockup-url .dom { color: var(--olympe); }

.mockup-body {
  padding: 22px;
  position: relative;
  z-index: 2;
}

/* ============ Floating chips ============ */
.float-chip {
  position: absolute;
  padding: 10px 14px;
  background: rgba(18, 22, 36, 0.95);
  backdrop-filter: blur(10px);
  border: 1px solid var(--border-strong);
  border-radius: var(--radius-md);
  box-shadow: 0 16px 40px -10px rgba(0,0,0,0.5);
  font-size: 13px;
  display: flex; align-items: center; gap: 10px;
  z-index: 3;
}
.float-chip .dot { width: 8px; height: 8px; border-radius: 50%; }

/* ============ Tabs/persona ============ */
.persona-tabs {
  display: flex;
  gap: 4px;
  padding: 5px;
  background: var(--bg-1);
  border: 1px solid var(--border);
  border-radius: 999px;
  width: fit-content;
  margin: 0 auto 48px;
}
.persona-tab {
  padding: 10px 22px;
  font-size: 13px;
  font-weight: 500;
  color: var(--text-3);
  border-radius: 999px;
  transition: all 0.2s;
  display: flex; align-items: center; gap: 8px;
}
.persona-tab:hover { color: var(--text-2); }
.persona-tab.active { background: var(--bg-3); color: var(--text-1); }
.persona-tab.active .dot { background: var(--olympe); box-shadow: 0 0 8px var(--olympe); }
.persona-tab .dot {
  width: 6px; height: 6px; border-radius: 50%;
  background: var(--text-dim);
  transition: all 0.2s;
}

/* ============ Stats row ============ */
.stats-row {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0;
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}
@media (max-width: 720px) { .stats-row { grid-template-columns: repeat(2, 1fr); } }
.stat-cell {
  padding: 36px 24px;
  text-align: left;
  border-right: 1px solid var(--border);
}
.stat-cell:last-child { border-right: none; }
@media (max-width: 720px) {
  .stat-cell:nth-child(2n) { border-right: none; }
  .stat-cell:nth-child(1), .stat-cell:nth-child(2) { border-bottom: 1px solid var(--border); }
}
.stat-val {
  font-family: var(--font-display);
  font-size: 48px;
  font-weight: 400;
  letter-spacing: -0.03em;
  line-height: 1;
  color: var(--olympe);
}
.stat-val em { color: var(--text-1); font-style: italic; }
.stat-label {
  font-family: var(--font-sans);
  font-size: 13.5px;
  font-weight: 500;
  color: var(--text-2);
  letter-spacing: 0;
  line-height: 1.4;
  margin-top: 12px;
}

/* ============ Persona sections ============ */
.persona-hero {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1.2fr);
  gap: 56px;
  align-items: center;
  margin-bottom: 100px;
}
.persona-hero.rev { grid-template-columns: minmax(0, 1.2fr) minmax(0, 1fr); }
.persona-hero.rev .persona-text { order: 2; }
.persona-hero.rev .persona-visual { order: 1; }
@media (max-width: 900px) {
  .persona-hero, .persona-hero.rev { grid-template-columns: 1fr; }
  .persona-hero.rev .persona-text { order: 1; }
  .persona-hero.rev .persona-visual { order: 2; }
}

.persona-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 6px 14px;
  background: var(--olympe-soft);
  border: 1px solid var(--olympe);
  border-radius: 999px;
  font-family: var(--font-mono);
  font-size: 13px;
  color: var(--olympe);
  text-transform: uppercase;
  letter-spacing: 0.1em;
  font-weight: 500;
  margin-bottom: 24px;
}
.persona-eyebrow.cool {
  background: var(--electric-soft);
  border-color: var(--electric);
  color: var(--electric);
}
.persona-eyebrow.green {
  background: rgba(34,211,167,0.1);
  border-color: var(--green);
  color: var(--green);
}
.persona-eyebrow.amber {
  background: rgba(245,176,67,0.1);
  border-color: var(--amber);
  color: var(--amber);
}
.persona-title {
  font-family: var(--font-display);
  font-size: clamp(36px, 4.5vw, 56px);
  font-weight: 400;
  letter-spacing: -0.02em;
  line-height: 1.02;
  margin-bottom: 22px;
  text-wrap: balance;
}
.persona-lead {
  font-size: 17px;
  color: var(--text-2);
  line-height: 1.6;
  margin-bottom: 32px;
  max-width: 500px;
}
.persona-features {
  display: flex; flex-direction: column; gap: 20px;
}
.pf-item { display: flex; gap: 16px; align-items: flex-start; }
.pf-icon {
  width: 22px; height: 22px; flex-shrink: 0;
  margin-top: 1px;
  background: none;
  color: var(--ptab-color, var(--olympe));
  display: flex; align-items: center; justify-content: center;
}
.pf-body h4 {
  font-size: 15px;
  font-weight: 600;
  margin-bottom: 4px;
  letter-spacing: -0.005em;
}
.pf-body p {
  font-size: 14px;
  color: var(--text-2);
  line-height: 1.55;
}

/* ============ Visual cards (screenshot stylé) ============ */
.visual-card {
  border-radius: var(--radius-lg);
  background: linear-gradient(160deg, var(--bg-2) 0%, var(--bg-1) 100%);
  border: 1px solid var(--border-strong);
  overflow: hidden;
  box-shadow: 0 40px 80px -20px rgba(0,0,0,0.5), 0 0 0 1px var(--border);
  position: relative;
}
.visual-card::after {
  content: ""; position: absolute; inset: 0;
  background: linear-gradient(180deg, transparent 50%, rgba(7,8,15,0.3));
  pointer-events: none;
}
.visual-card img {
  width: 100%;
  display: block;
  opacity: 0.95;
}

/* ============ Feature bento (org) ============ */
.bento {
  display: grid;
  grid-template-columns: repeat(12, 1fr);
  gap: 18px;
}
.bento-card {
  background: var(--bg-1);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 28px;
  display: flex;
  flex-direction: column;
  position: relative;
  overflow: hidden;
  transition: all 0.3s var(--ease-out);
  min-height: 280px;
}
.bento-card:hover {
  border-color: var(--border-strong);
  transform: translateY(-2px);
}
.bento-card.span-6 { grid-column: span 6; }
.bento-card.span-4 { grid-column: span 4; }
.bento-card.span-8 { grid-column: span 8; }
.bento-card.span-12 { grid-column: span 12; }

@media (max-width: 900px) {
  .bento { grid-template-columns: repeat(2, 1fr); }
  .bento-card.span-6, .bento-card.span-4, .bento-card.span-8, .bento-card.span-12 { grid-column: span 2; }
}
@media (max-width: 560px) {
  .bento { grid-template-columns: 1fr; }
  .bento-card.span-6, .bento-card.span-4, .bento-card.span-8, .bento-card.span-12 { grid-column: span 1; }
}

.bento-icon {
  width: 40px; height: 40px;
  background: var(--olympe-soft);
  color: var(--olympe);
  border-radius: var(--radius-sm);
  display: flex; align-items: center; justify-content: center;
  margin-bottom: 20px;
}
.bento-card h3 {
  font-family: var(--font-display);
  font-size: 24px;
  font-weight: 400;
  letter-spacing: -0.015em;
  margin-bottom: 8px;
  line-height: 1.1;
}
.bento-card > p {
  color: var(--text-2);
  font-size: 14px;
  line-height: 1.55;
  margin-bottom: 24px;
}
.bento-viz {
  margin-top: auto;
  position: relative;
  min-height: 120px;
  overflow: hidden;
  border-radius: var(--radius-sm);
}

/* ============ Workflow section ============ */
.workflow {
  display: grid;
  grid-template-columns: 280px minmax(0, 1fr);
  gap: 64px;
  align-items: flex-start;
}
@media (max-width: 900px) { .workflow { grid-template-columns: 1fr; gap: 36px; } }
.workflow-steps {
  display: flex;
  flex-direction: column;
  gap: 3px;
  position: sticky;
  top: 120px;
}
.workflow-step {
  padding: 18px 18px 18px 22px;
  cursor: pointer;
  text-align: left;
  border-left: 2px solid var(--border);
  transition: all 0.2s;
  display: flex;
  flex-direction: column;
  gap: 4px;
}
.workflow-step:hover { background: var(--bg-1); }
.workflow-step.active {
  border-left-color: var(--olympe);
  background: linear-gradient(90deg, var(--olympe-soft), transparent 70%);
}
.workflow-step-num {
  font-family: var(--font-mono);
  font-size: 13px;
  color: var(--text-3);
  letter-spacing: 0.08em;
  text-transform: uppercase;
}
.workflow-step.active .workflow-step-num { color: var(--olympe); }
.workflow-step-title {
  font-family: var(--font-display);
  font-size: 20px;
  font-weight: 400;
  letter-spacing: -0.01em;
  color: var(--text-2);
  line-height: 1.1;
}
.workflow-step.active .workflow-step-title { color: var(--text-1); }

.workflow-pane {
  background: linear-gradient(160deg, var(--bg-2) 0%, var(--bg-1) 100%);
  border: 1px solid var(--border-strong);
  border-radius: var(--radius-lg);
  padding: 36px;
  min-height: 520px;
  position: relative;
}
.workflow-pane h3 {
  font-family: var(--font-display);
  font-size: 32px;
  font-weight: 400;
  letter-spacing: -0.02em;
  margin-bottom: 12px;
}
.workflow-pane .lead {
  color: var(--text-2);
  font-size: 15px;
  margin-bottom: 24px;
  max-width: 500px;
}

/* ============ Testimonials ============ */
.test-row {
  display: grid;
  grid-template-columns: 1.3fr 1fr 1fr;
  gap: 16px;
}
@media (max-width: 900px) { .test-row { grid-template-columns: 1fr; } }
.test-card {
  background: var(--bg-1);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 32px;
  display: flex;
  flex-direction: column;
  gap: 24px;
}
.test-card.hero {
  background: linear-gradient(165deg, var(--olympe-soft) 0%, var(--bg-1) 50%);
  border-color: rgba(var(--primary-rgb), 0.25);
}
.test-quote {
  font-family: var(--font-display);
  font-size: 22px;
  line-height: 1.25;
  letter-spacing: -0.01em;
  color: var(--text-1);
  flex: 1;
}
.test-card.hero .test-quote { font-size: 26px; }
.test-author { display: flex; gap: 14px; align-items: center; }
.test-avatar {
  width: 40px; height: 40px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--olympe), var(--electric));
  color: #07080f;
  font-weight: 700;
  font-size: 14px;
  display: flex; align-items: center; justify-content: center;
  flex-shrink: 0;
}
.test-name { font-weight: 600; font-size: 14px; }
.test-role { font-size: 13px; color: var(--text-3); }

/* ============ Final CTA ============ */
.final-cta {
  position: relative;
  padding: 110px 48px;
  border-radius: var(--radius-xl);
  overflow: hidden;
  background: linear-gradient(165deg, var(--bg-2) 0%, var(--bg-1) 100%);
  border: 1px solid var(--border-strong);
  text-align: center;
}
.final-cta::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse 600px 300px at 20% 50%, var(--olympe-soft) 0%, transparent 60%),
    radial-gradient(ellipse 600px 300px at 80% 50%, var(--electric-soft) 0%, transparent 60%);
  pointer-events: none;
}
.final-cta::after {
  content: "";
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(var(--border) 1px, transparent 1px),
    linear-gradient(90deg, var(--border) 1px, transparent 1px);
  background-size: 48px 48px;
  mask-image: radial-gradient(ellipse at center, #000 20%, transparent 70%);
  -webkit-mask-image: radial-gradient(ellipse at center, #000 20%, transparent 70%);
  opacity: 0.5;
  pointer-events: none;
}
.final-cta > * { position: relative; z-index: 1; }
.final-cta h2 {
  font-family: var(--font-display);
  font-size: clamp(44px, 6vw, 80px);
  font-weight: 400;
  letter-spacing: -0.025em;
  line-height: 0.98;
  margin-bottom: 24px;
  max-width: 900px;
  margin-left: auto;
  margin-right: auto;
}
.final-cta p {
  font-size: 18px;
  color: var(--text-2);
  max-width: 560px;
  margin: 0 auto 40px;
}
.final-cta-actions {
  display: flex; gap: 12px; justify-content: center; flex-wrap: wrap;
}

/* ============ Footer ============ */
.footer {
  padding: 80px 0 40px;
  border-top: 1px solid var(--border);
  margin-top: 80px;
}
.footer-inner {
  display: grid;
  grid-template-columns: 2fr repeat(3, 1fr);
  gap: 48px;
  margin-bottom: 48px;
}
@media (max-width: 720px) { .footer-inner { grid-template-columns: 1fr 1fr; } }
.footer-brand p {
  color: var(--text-3);
  font-size: 13px;
  margin-top: 18px;
  max-width: 320px;
  line-height: 1.6;
}
.footer-col h5,
.footer-col .footer-heading {
  font-family: var(--font-mono);
  font-size: 13px;
  color: var(--text-3);
  text-transform: uppercase;
  letter-spacing: 0.1em;
  margin-bottom: 18px;
  font-weight: 600;
}
.footer-col ul { list-style: none; display: flex; flex-direction: column; gap: 10px; }
.footer-col a { color: var(--text-2); font-size: 13.5px; transition: color 0.2s; }
.footer-col a:hover { color: var(--text-1); }
.footer-bottom {
  padding-top: 28px;
  border-top: 1px solid var(--border);
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 16px;
  font-size: 13px;
  color: var(--text-3);
  font-family: var(--font-mono);
}
.footer-bottom-meta {
  display: inline-flex;
  align-items: center;
  gap: 14px;
  flex-wrap: wrap;
}
.footer-lang {
  min-height: 36px;
  padding: 4px 6px;
}
@media (max-width: 860px) {
  .footer-lang {
    min-height: 44px;
    padding: 6px 8px;
  }
}

/* ============ Pricing ============ */
.pricing-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
  max-width: 900px;
  margin: 0 auto;
}
@media (max-width: 720px) { .pricing-grid { grid-template-columns: 1fr; } }

.price-card {
  background: var(--bg-1);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 40px;
  display: flex;
  flex-direction: column;
  position: relative;
  overflow: hidden;
}
.price-card.pop {
  background: linear-gradient(170deg, rgba(var(--primary-rgb), 0.08) 0%, var(--bg-1) 50%);
  border-color: var(--olympe);
  box-shadow: 0 30px 80px -20px var(--olympe-glow);
}
.price-card.pop::before {
  content: "";
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 3px;
  background: linear-gradient(90deg, var(--olympe), var(--electric));
}
.price-badge {
  position: absolute;
  top: 20px; right: 20px;
  background: var(--olympe);
  color: #07080f;
  font-family: var(--font-mono);
  font-size: 13px;
  font-weight: 700;
  padding: 5px 10px;
  border-radius: 999px;
  text-transform: uppercase;
  letter-spacing: 0.1em;
}
.price-name {
  font-family: var(--font-display);
  font-size: 28px;
  font-weight: 400;
  letter-spacing: -0.015em;
  margin-bottom: 8px;
}
.price-subtitle {
  font-size: 14px;
  color: var(--text-3);
  margin-bottom: 28px;
}
.price-amount-row {
  display: flex;
  align-items: baseline;
  gap: 8px;
  margin-bottom: 14px;
}
.price-amount {
  font-family: var(--font-display);
  font-size: 64px;
  font-weight: 400;
  letter-spacing: -0.03em;
  line-height: 1;
}
.price-period {
  font-size: 14px;
  color: var(--text-3);
}
.price-note {
  font-size: 13px;
  color: var(--text-2);
  margin-bottom: 32px;
  min-height: 38px;
  line-height: 1.5;
}
.price-cta { width: 100%; margin-bottom: 32px; }
.price-features {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 14px;
  font-size: 14px;
}
.price-features li {
  display: flex;
  gap: 12px;
  color: var(--text-1);
  align-items: flex-start;
  line-height: 1.5;
}
.price-features li svg { color: var(--olympe); flex-shrink: 0; margin-top: 3px; }
.price-features li.sep {
  padding-top: 14px;
  margin-top: 4px;
  border-top: 1px dashed var(--border);
  font-family: var(--font-mono);
  font-size: 13px !important;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--text-3) !important;
  font-weight: 500;
}
.price-features li.muted { color: var(--text-3); }
.price-features li.muted svg { color: var(--text-dim); }

.price-highlight-box {
  background: var(--olympe-soft);
  border: 1px solid rgba(var(--primary-rgb), 0.25);
  border-radius: var(--radius-sm);
  padding: 14px 16px;
  margin-bottom: 20px;
  font-size: 13px;
  color: var(--text-1);
  display: flex;
  gap: 10px;
  align-items: flex-start;
}
.price-highlight-box svg { color: var(--olympe); flex-shrink: 0; margin-top: 2px; }
.price-highlight-box b { color: var(--olympe); }

.pricing-comparison {
  margin-top: 80px;
  background: var(--bg-1);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  overflow: hidden;
}
.pricing-comparison table { width: 100%; border-collapse: collapse; }
.pricing-comparison th, .pricing-comparison td {
  padding: 16px 24px;
  text-align: left;
  font-size: 14px;
  border-bottom: 1px solid var(--border);
}
.pricing-comparison th:not(:first-child),
.pricing-comparison td:not(:first-child) {
  text-align: center;
}
.pricing-comparison thead {
  background: var(--bg-2);
}
.pricing-comparison thead th {
  font-family: var(--font-mono);
  font-size: 13px;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--text-3);
  font-weight: 600;
  padding: 20px 24px;
}
.pricing-comparison thead th.pop { color: var(--olympe); }
.pricing-comparison td.cat {
  font-family: var(--font-mono);
  font-size: 13px;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--text-3);
  background: var(--bg-2);
}
.pricing-comparison td.name { font-weight: 500; color: var(--text-1); }
.pricing-comparison td.col { color: var(--text-2); }
.pricing-comparison tr:last-child td { border-bottom: none; }
.pricing-comparison .chk { color: var(--olympe); display: inline-flex; }
.pricing-comparison .lim { color: var(--amber); font-family: var(--font-mono); font-size: 13px; }

@media (max-width: 720px) {
  .pricing-comparison { overflow-x: auto; }
  .pricing-comparison table { min-width: 600px; }
}

/* ============ FAQ ============ */
.faq-layout {
  display: grid;
  grid-template-columns: 280px minmax(0, 1fr);
  gap: 64px;
  align-items: flex-start;
}

.faq-categories {
  display: flex;
  flex-direction: column;
  gap: 4px;
  position: sticky;
  top: 120px;
}

@media (max-width: 900px) {
  .faq-layout { grid-template-columns: 1fr; }
  .faq-categories {
    position: static;
    top: auto;
  }
}
.faq-cat {
  padding: 12px 16px;
  font-size: 13px;
  color: var(--text-3);
  border-radius: var(--radius-sm);
  cursor: pointer;
  transition: all 0.15s;
  text-align: left;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 10px;
  font-family: var(--font-sans);
  font-weight: 500;
}
.faq-cat:hover { color: var(--text-1); background: var(--bg-1); }
.faq-cat.active {
  background: var(--olympe-soft);
  color: var(--olympe);
}
.faq-cat-count {
  font-family: var(--font-mono);
  font-size: 13px;
  opacity: 0.75;
}

.faq-list { display: flex; flex-direction: column; gap: 6px; }
.faq-item {
  background: var(--bg-1);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  overflow: hidden;
  transition: all 0.2s;
}
.faq-item.open { border-color: var(--border-strong); background: var(--bg-2); }
.faq-q {
  width: 100%;
  padding: 22px 26px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 20px;
  text-align: left;
  font-size: 16px;
  font-weight: 500;
}
.faq-toggle {
  width: 26px; height: 26px;
  border-radius: 50%;
  background: var(--bg-3);
  color: var(--text-2);
  display: flex; align-items: center; justify-content: center;
  transition: transform 0.3s, background 0.2s;
  flex-shrink: 0;
}
.faq-item.open .faq-toggle {
  background: var(--olympe); color: #07080f; transform: rotate(45deg);
}
.faq-a {
  max-height: 0;
  overflow: hidden;
  visibility: hidden;
  transition: max-height 0.35s var(--ease-in-out);
  color: var(--text-2);
  font-size: 14.5px;
  line-height: 1.65;
}
.faq-item.open .faq-a {
  visibility: visible;
}
.faq-a > p { margin: 0; padding: 2px 26px 24px; }

.contact-card {
  background: var(--bg-1);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 32px;
  display: flex;
  flex-direction: column;
  gap: 20px;
}
.contact-card h3 {
  font-family: var(--font-display);
  font-size: 24px;
  font-weight: 400;
  letter-spacing: -0.015em;
}
.contact-methods {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
}
@media (max-width: 520px) { .contact-methods { grid-template-columns: 1fr; } }
.contact-method {
  background: var(--bg-2);
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  padding: 16px;
  display: flex;
  flex-direction: column;
  gap: 6px;
  transition: all 0.2s;
  cursor: pointer;
}
.contact-method:hover { border-color: var(--olympe); background: var(--olympe-soft); }
.contact-method-icon {
  width: 36px; height: 36px;
  background: var(--olympe-soft);
  color: var(--olympe);
  border-radius: var(--radius-xs);
  display: flex; align-items: center; justify-content: center;
  margin-bottom: 4px;
}
.contact-method-title { font-size: 14px; font-weight: 600; }
.contact-method-desc { font-size: 13px; color: var(--text-3); }

/* ============ Signup modal ============ */
@keyframes fadeIn { from { opacity: 0; } to { opacity: 1; } }
@keyframes fadeInUp { from { opacity: 0; transform: translateY(16px); } to { opacity: 1; transform: translateY(0); } }

.modal-overlay {
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,0.72);
  backdrop-filter: blur(10px);
  z-index: 200;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 24px;
  animation: fadeIn 0.2s;
}
.modal {
  background: var(--bg-1);
  border: 1px solid var(--border-strong);
  border-radius: var(--radius-lg);
  max-width: 480px;
  width: 100%;
  max-height: 90vh;
  overflow-y: auto;
  padding: 40px;
  position: relative;
  animation: fadeInUp 0.35s var(--ease-out);
}
.modal-close {
  position: absolute; top: 16px; right: 16px;
  width: 32px; height: 32px; border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  color: var(--text-3); transition: all 0.2s;
}
.modal-close:hover { background: var(--bg-2); color: var(--text-1); }
.modal h3 {
  font-family: var(--font-display);
  font-size: 28px;
  font-weight: 400;
  letter-spacing: -0.02em;
  margin-bottom: 6px;
}
.modal .sub { color: var(--text-2); font-size: 14px; margin-bottom: 28px; }
.form-group { margin-bottom: 16px; }
.form-group label {
  display: block;
  font-size: 13px;
  color: var(--text-3);
  font-family: var(--font-mono);
  text-transform: uppercase;
  letter-spacing: 0.08em;
  margin-bottom: 8px;
  font-weight: 500;
}
.form-group input, .form-group select, .form-group textarea {
  width: 100%;
  padding: 13px 14px;
  background-color: var(--bg-2);
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  color: var(--text-1);
  font-size: 14px;
  outline: none;
  transition: all 0.2s;
}
.form-group select {
  appearance: none;
  -webkit-appearance: none;
  padding-right: 40px;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' viewBox='0 0 24 24' fill='none' stroke='%2394A3B8' stroke-width='2.2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 14px center;
  background-size: 16px 16px;
  cursor: pointer;
  text-overflow: ellipsis;
}
.form-group textarea {
  resize: vertical;
  font-family: inherit;
}
.form-group input:focus, .form-group select:focus, .form-group textarea:focus {
  border-color: var(--olympe);
  box-shadow: 0 0 0 3px var(--olympe-soft);
}
.form-inline {
  display: flex;
  align-items: center;
  gap: 0;
  background: var(--bg-2);
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  overflow: hidden;
  transition: all 0.2s;
}
.form-inline:focus-within {
  border-color: var(--olympe);
  box-shadow: 0 0 0 3px var(--olympe-soft);
}
.form-inline span {
  padding: 13px 14px;
  color: var(--text-3);
  font-family: var(--font-mono);
  font-size: 13px;
  border-right: 1px solid var(--border);
}
.form-inline input {
  border: none; background: transparent; flex: 1;
  padding: 13px 14px; color: var(--text-1); font-size: 14px; outline: none;
}
.game-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 8px;
}
.game-pill {
  padding: 14px 8px;
  background: var(--bg-2);
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  font-size: 13px;
  cursor: pointer;
  text-align: center;
  transition: all 0.2s;
  color: var(--text-2);
  font-weight: 500;
}
.game-pill.active {
  background: var(--olympe-soft);
  border-color: var(--olympe);
  color: var(--olympe);
}
.step-dots {
  display: flex;
  gap: 6px;
  margin-bottom: 24px;
}
.step-dots .d {
  height: 3px; flex: 1;
  background: var(--bg-3);
  border-radius: 2px;
  transition: background 0.3s;
}
.step-dots .d.active, .step-dots .d.done { background: var(--olympe); }
.modal-footnote {
  font-size: 13px;
  color: var(--text-3);
  margin-top: 16px;
  text-align: center;
}
.modal-success { text-align: center; padding: 10px 0; }
.modal-success .icon {
  width: 64px; height: 64px;
  margin: 0 auto 20px;
  border-radius: 50%;
  background: var(--olympe-soft);
  color: var(--olympe);
  display: flex; align-items: center; justify-content: center;
}

/* ============ Page header (subpages) ============ */
.page-header {
  padding: 180px 0 80px;
  text-align: center;
  position: relative;
}
.page-header h1 {
  font-family: var(--font-display);
  font-size: clamp(56px, 8vw, 112px);
  font-weight: 400;
  letter-spacing: -0.035em;
  line-height: 0.95;
  margin-bottom: 24px;
}
.page-header h1 em {
  font-style: italic;
  color: var(--olympe);
}
.page-header p {
  font-size: 19px;
  color: var(--text-2);
  max-width: 620px;
  margin: 0 auto;
  line-height: 1.5;
}
/* Hero unifie v3.6 (alignement pixel-exact Jeux / Tarifs / FAQ) */
.page-header--unified {
  padding: 96px 0 44px;
}
.page-header--unified h1 {
  font-family: var(--font-display);
  font-weight: 900;
  font-size: clamp(34px, 4.4vw, 52px);
  letter-spacing: -1px;
  line-height: 1.06;
  margin: 0 0 12px;
}
.page-header--unified h1 em {
  font-style: normal;
  color: var(--olympe);
}
.page-header--unified p {
  font-size: 16px;
  color: var(--text-2);
  line-height: 1.5;
  max-width: 60ch;
  margin: 0 auto;
}

/* ============ Reveal animation ============ */
@keyframes reveal {
  from { opacity: 0; transform: translateY(24px); }
  to { opacity: 1; transform: translateY(0); }
}
.reveal {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.7s var(--ease-out), transform 0.7s var(--ease-out);
}
.reveal.in {
  opacity: 1;
  transform: translateY(0);
}

/* ============ Pulse ============ */
@keyframes pulse {
  0%, 100% { box-shadow: 0 0 0 0 currentColor; opacity: 1; }
  50% { box-shadow: 0 0 0 8px transparent; opacity: 0.5; }
}
.live-pulse {
  width: 6px; height: 6px; border-radius: 50%;
  background: var(--red);
  animation: pulse 1.5s infinite;
}

/* ============ Mini components shared ============ */
.tag {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 3px 10px;
  border-radius: 999px;
  font-family: var(--font-mono);
  font-size: 13px;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  background: var(--bg-2);
  color: var(--text-2);
}
.tag.live { background: rgba(239,71,87,0.12); color: var(--red); }
.tag.live::before {
  content: ""; width: 6px; height: 6px; border-radius: 50%;
  background: var(--red); animation: pulse 1.5s infinite;
}
.tag.success { background: rgba(34,211,167,0.12); color: var(--green); }
.tag.accent { background: var(--olympe-soft); color: var(--olympe); }

/* ============================================
   WHITE LABEL / VOTRE MARQUE
   ============================================ */
.whitelabel-section {
  position: relative;
  padding-top: 120px;
  padding-bottom: 120px;
  overflow: hidden;
}
.whitelabel-section > .container { position: relative; z-index: 1; }

.whitelabel-head {
  max-width: 820px;
  margin: 0 auto 56px;
  text-align: center;
}
.whitelabel-head .section-title {
  margin: 0 auto 22px;
}
.whitelabel-lead {
  font-size: 17px;
  line-height: 1.65;
  color: var(--text-2);
  max-width: 720px;
  margin: 0 auto;
}
.whitelabel-lead em {
  font-style: normal;
  color: var(--olympe);
  font-weight: 500;
}

/* ---------- Carousel (3 real league screenshots, hover-annotated) ---------- */
.wl-carousel {
  position: relative;
  max-width: 980px;
  margin: 0 auto 80px;
}
.wl-car-viewport {
  overflow: hidden;
  border-radius: var(--radius-lg);
  background: var(--bg-1);
  border: 1px solid var(--border);
  box-shadow: 0 30px 60px -30px rgba(0,0,0,0.65);
}
.wl-car-track {
  display: flex;
  width: 100%;
  transition: transform 0.55s cubic-bezier(.4,0,.2,1);
}
.wl-car-slide {
  flex: 0 0 100%;
  min-width: 0;
}
.wl-car-slide .wl-mock {
  border: none;
  border-radius: 0;
  box-shadow: none;
  background: transparent;
  transition: none;
}
.wl-car-slide .wl-mock:hover {
  transform: none;
  border-color: transparent;
  box-shadow: none;
}
.wl-car-slide .mockup-chrome {
  background: var(--bg-2);
  border-bottom: 1px solid var(--border);
  padding: 12px 14px;
  display: flex;
  align-items: center;
  gap: 6px;
}
.wl-car-slide .mockup-url {
  margin-left: 8px;
  font-size: 13px;
  padding: 5px 12px;
  max-width: 460px;
}
.wl-mock-img {
  position: relative;
  background: #000;
  overflow: hidden;
  aspect-ratio: 1906 / 702;
  cursor: crosshair;
}
.wl-mock-img img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: top center;
  transition: filter 0.4s ease;
}
.wl-mock-img::after {
  content: "";
  position: absolute;
  inset: 0;
  background: rgba(7, 8, 15, 0.55);
  opacity: 0;
  transition: opacity 0.35s ease;
  pointer-events: none;
}
.wl-mock-img:hover::after { opacity: 1; }
.wl-mock-img:hover img { filter: blur(1px) saturate(1.05); }

/* Annotations */
.wl-anno {
  position: absolute;
  transform: translate(-50%, -50%);
  display: flex;
  align-items: center;
  gap: 8px;
  pointer-events: none;
  opacity: 0;
  transition: opacity 0.35s ease, transform 0.35s cubic-bezier(.4,0,.2,1);
  z-index: 2;
}
.wl-mock-img:hover .wl-anno {
  opacity: 1;
}
.wl-mock-img:hover .wl-anno-logo { transform: translate(-50%, -50%) translateX(2px); }
.wl-mock-img:hover .wl-anno-color { transform: translate(-50%, -50%) translateY(-2px); }
.wl-mock-img:hover .wl-anno-image { transform: translate(-50%, -50%) translateX(-2px); }
.wl-anno-dot {
  width: 14px; height: 14px;
  border-radius: 50%;
  background: var(--olympe);
  box-shadow:
    0 0 0 4px rgba(201, 168, 76, 0.25),
    0 0 0 8px rgba(201, 168, 76, 0.12),
    0 0 18px 2px rgba(201, 168, 76, 0.6);
  position: relative;
  flex: 0 0 14px;
}
.wl-anno-dot::after {
  content: "";
  position: absolute;
  inset: -8px;
  border-radius: 50%;
  border: 1px solid var(--olympe);
  animation: wl-pulse 2s ease-out infinite;
  opacity: 0;
}
.wl-mock-img:hover .wl-anno-dot::after { opacity: 1; }
@keyframes wl-pulse {
  0%   { transform: scale(0.7); opacity: 0.9; }
  100% { transform: scale(2.2); opacity: 0; }
}
.wl-anno-color .wl-anno-dot {
  background: var(--anno, var(--olympe));
  box-shadow:
    0 0 0 4px color-mix(in srgb, var(--anno, var(--olympe)) 25%, transparent),
    0 0 0 8px color-mix(in srgb, var(--anno, var(--olympe)) 12%, transparent),
    0 0 18px 2px color-mix(in srgb, var(--anno, var(--olympe)) 60%, transparent);
}
.wl-anno-color .wl-anno-dot::after {
  border-color: var(--anno, var(--olympe));
}
.wl-anno-label {
  background: rgba(15, 16, 23, 0.92);
  border: 1px solid rgba(201, 168, 76, 0.4);
  color: var(--text-1);
  font-family: var(--font-mono);
  font-size: 13px;
  font-weight: 600;
  padding: 5px 10px;
  border-radius: var(--radius-xs);
  letter-spacing: 0.02em;
  white-space: nowrap;
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
}
.wl-anno-color .wl-anno-label {
  border-color: color-mix(in srgb, var(--anno, var(--olympe)) 50%, transparent);
}

/* Controls */
.wl-car-controls {
  display: flex;
  align-items: center;
  gap: 16px;
  margin-top: 20px;
  padding: 0 4px;
}
.wl-car-arrow {
  width: 40px; height: 40px;
  border-radius: var(--radius-sm);
  background: var(--bg-2);
  border: 1px solid var(--border);
  color: var(--text-2);
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: background 0.2s, border-color 0.2s, color 0.2s, transform 0.2s;
  flex: 0 0 40px;
}
.wl-car-arrow:hover {
  background: var(--olympe-soft);
  border-color: var(--olympe);
  color: var(--olympe);
  transform: translateY(-1px);
}
.wl-car-meta {
  display: flex;
  flex-direction: column;
  gap: 2px;
  flex: 1;
  min-width: 0;
}
.wl-car-name {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 16px;
  color: var(--text-1);
  letter-spacing: -0.005em;
}
.wl-car-plan {
  font-family: var(--font-mono);
  font-size: 13px;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--text-3);
}
.wl-car-dots {
  display: flex;
  gap: 6px;
  flex: 0 0 auto;
}
.wl-car-dot {
  width: 28px; height: 6px;
  border-radius: 999px;
  background: var(--bg-3);
  border: none;
  cursor: pointer;
  padding: 0;
  transition: background 0.25s, width 0.25s;
}
.wl-car-dot:hover { background: var(--text-3); }
.wl-car-dot.is-active {
  background: var(--olympe);
  width: 44px;
}
.wl-car-hint {
  margin-top: 16px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  font-family: var(--font-mono);
  font-size: 13px;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--text-3);
}
.wl-car-hint svg { color: var(--olympe); }

/* ---------- Features grid ---------- */
.wl-features {
  display: grid;
  grid-template-columns: repeat(12, 1fr);
  gap: 18px;
}
.wl-feat {
  grid-column: span 6;
  background: var(--bg-1);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 28px;
  display: flex;
  flex-direction: column;
  gap: 14px;
  position: relative;
  overflow: hidden;
}
.wl-feat-wide { grid-column: span 12; }
.wl-feat-icon {
  width: 40px; height: 40px;
  border-radius: var(--radius-sm);
  background: var(--olympe-soft);
  color: var(--olympe);
  display: flex; align-items: center; justify-content: center;
}
.wl-feat h3 {
  font-family: var(--font-display);
  font-weight: 400;
  font-size: 24px;
  letter-spacing: -0.015em;
  margin: 0;
  color: var(--text-1);
  line-height: 1.1;
}
.wl-feat > p {
  margin: 0;
  font-size: 14px;
  line-height: 1.55;
  color: var(--text-2);
}
.wl-feat p em {
  font-style: normal;
  color: var(--olympe);
}
.wl-feat p code {
  background: var(--bg-2);
  border: 1px solid var(--border);
  padding: 1px 6px;
  border-radius: 4px;
  font-family: var(--font-mono);
  font-size: 13px;
  color: var(--text-3);
}

/* URL stack */
.wl-url-stack {
  display: flex;
  flex-direction: column;
  gap: 8px;
  margin-top: 4px;
}
.wl-url {
  font-family: var(--font-mono);
  font-size: 13px;
  background: var(--bg-2);
  border: 1px solid var(--border);
  border-radius: var(--radius-xs);
  padding: 10px 12px;
  color: var(--text-2);
  display: flex;
  align-items: center;
  gap: 10px;
  overflow: hidden;
  white-space: nowrap;
}
.wl-url-tag {
  flex: 0 0 auto;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  padding: 3px 8px;
  border-radius: 999px;
  background: var(--bg-3);
  color: var(--text-3);
  border: 1px solid var(--border);
}
.wl-url-tag-pro {
  background: var(--olympe-soft);
  color: var(--olympe);
  border-color: var(--olympe);
}
.wl-url .wl-url-protocol { color: var(--text-3); flex: 0 0 auto; }
.wl-url b {
  color: var(--olympe);
  font-weight: 700;
  min-width: 0;
  overflow: hidden;
  text-overflow: ellipsis;
}
.wl-url .wl-url-suffix { color: var(--text-2); flex: 0 0 auto; }
.wl-url-pro {
  border-color: var(--olympe);
  background: linear-gradient(90deg, var(--olympe-soft), var(--bg-2) 60%);
}
.wl-url-pro .wl-url-suffix { color: var(--olympe); font-weight: 700; }

/* PWA - maquette iPhone qui déborde de la bordure basse */
.wl-feat-pwa { padding-bottom: 0; }
.wl-pwa {
  position: relative;
  margin-top: 16px;
  height: 308px;
}
.wl-iphone {
  position: absolute;
  left: 50%;
  top: 0;
  transform: translateX(-50%);
  width: 252px;
  z-index: 1;
  background: #0a0a0f;
  border-radius: 44px;
  padding: 9px;
  box-shadow: 0 0 0 2px #34343f, inset 0 0 0 1px rgba(255,255,255,0.04),
              0 28px 56px -20px rgba(0,0,0,0.85);
}
.wl-iphone-screen {
  position: relative;
  border-radius: 36px;
  overflow: hidden;
  background: #0b1020;
}
.wl-iphone-status {
  position: relative;
  height: 30px;
  background: #0a0e1a;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 16px;
  color: #fff;
}
.wl-ios-time {
  font-family: var(--font-sans);
  font-size: 13px;
  font-weight: 700;
  letter-spacing: .2px;
}
.wl-ios-sys { display: inline-flex; align-items: center; gap: 5px; }
.wl-iphone-island {
  position: absolute;
  top: 7px; left: 50%;
  transform: translateX(-50%);
  width: 76px; height: 17px;
  background: #000;
  border-radius: var(--radius-sm);
}
.wl-iphone-screen img {
  display: block;
  width: 100%;
  height: auto;
}
.wl-pwa-prompt {
  position: absolute;
  top: auto; bottom: 26px; left: 50%;
  transform: translateX(-50%);
  z-index: 4;
  background: rgba(20,20,28,0.72);
  -webkit-backdrop-filter: blur(8px);
  backdrop-filter: blur(8px);
  border: 1px solid rgba(255,255,255,0.14);
  border-radius: 999px;
  padding: 11px 20px;
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 13px;
  color: #fff;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  white-space: nowrap;
  cursor: pointer;
  box-shadow: 0 12px 30px -8px rgba(0,0,0,0.7);
  transition: transform .15s ease, background .2s ease, box-shadow .2s ease;
}
.wl-pwa-prompt:hover {
  transform: translateX(-50%) translateY(-2px);
  background: var(--olympe);
  border-color: var(--olympe);
  box-shadow: 0 16px 36px -10px var(--olympe);
}
.wl-pwa-prompt:active { transform: translateX(-50%) translateY(0); }
.wl-pwa-prompt svg { color: var(--olympe); transition: color .2s ease; }
.wl-pwa-prompt:hover svg { color: #fff; }
.wl-pwa-prompt.is-added { background: var(--green, #22d3a7); border-color: transparent; color: #04140f; }
.wl-pwa-prompt.is-added svg { color: #04140f; }

/* DA grid (univers visuel) */
.wl-da {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 14px;
  margin-top: 4px;
}
.wl-da-block {
  background: var(--bg-2);
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  padding: 14px;
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.wl-da-label {
  font-family: var(--font-mono);
  font-size: 13px;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--text-3);
}
.wl-da-hint {
  font-family: var(--font-mono);
  font-size: 13px;
  line-height: 1.45;
  color: var(--text-3);
  margin-top: auto;
}
.wl-da-logos {
  display: flex;
  gap: 8px;
}
.wl-da-logo {
  width: 38px; height: 38px;
  border-radius: var(--radius-sm);
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 13px;
  display: flex;
  align-items: center;
  justify-content: center;
  letter-spacing: 0.02em;
  border: 1px solid rgba(255,255,255,0.06);
  flex: 1;
}
.wl-da-palette {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 6px;
}
.wl-swatch {
  aspect-ratio: 1.5 / 1;
  border-radius: var(--radius-xs);
  position: relative;
  font-family: var(--font-mono);
  font-size: 13px;
  font-weight: 600;
  color: #06121f;
  display: flex;
  align-items: flex-end;
  padding: 4px 6px;
  border: 1px solid rgba(255,255,255,0.06);
}
.wl-swatch-add {
  background: transparent;
  border: 1px dashed var(--border);
  color: var(--text-3);
  align-items: center;
  justify-content: center;
}
.wl-da-image {
  display: flex;
  flex-direction: column;
  gap: 5px;
}
.wl-da-image-grad {
  height: 22px;
  border-radius: 5px;
}
.wl-da-pages {
  display: flex;
  flex-wrap: wrap;
  gap: 5px;
}
.wl-pill {
  font-family: var(--font-mono);
  font-size: 13px;
  background: var(--bg-1);
  border: 1px solid var(--border);
  padding: 4px 9px;
  border-radius: 999px;
  color: var(--text-2);
}
.wl-pill-on {
  color: var(--olympe);
  border-color: var(--olympe);
  background: var(--olympe-soft);
}
.wl-pill-add {
  border-style: dashed;
  color: var(--olympe);
  border-color: var(--olympe);
  background: var(--olympe-soft);
}

/* Responsive */
@media (max-width: 1024px) {
  .wl-da { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 700px) {
  .wl-feat { grid-column: span 12; padding: 22px; }
  .wl-da { grid-template-columns: 1fr; }
  .wl-mock .mockup-url { font-size: 13px; }
  .wl-mock-caption { font-size: 13px; }
}


/* ============================================================
   BACK-OFFICE RAIL - carrousel horizontal (remplace .bento)
   Inspiré du rail produit Apple, adapté au DS Olympe (dark/gold)
   ============================================================ */
.bo-head-row {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 24px;
  margin-bottom: 28px;
}
.bo-head-row .org-bento-head { margin-bottom: 0; }

.bo-nav {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  flex: 0 0 auto;
}
.bo-nav-row {
  display: flex;
  justify-content: flex-end;
  align-items: center;
  margin-bottom: 18px;
}
.bo-counter {
  font-family: var(--font-mono);
  font-size: 13px;
  font-weight: 500;
  color: var(--text-3);
  letter-spacing: 0.05em;
  user-select: none;
  margin-right: 6px;
  font-variant-numeric: tabular-nums;
}
.bo-arrow {
  width: 46px; height: 46px;
  border-radius: 50%;
  border: 1px solid var(--border-strong);
  background: var(--bg-2);
  color: var(--text-2);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: background .2s var(--ease-out), border-color .2s var(--ease-out), color .2s var(--ease-out), opacity .2s var(--ease-out), transform .2s var(--ease-out);
}
.bo-arrow:hover:not(:disabled) {
  border-color: var(--olympe);
  color: var(--olympe);
  background: var(--olympe-soft);
  transform: translateY(-1px);
}
.bo-arrow:active:not(:disabled) {
  transform: translateY(0);
}
.bo-arrow:disabled {
  opacity: .32;
  cursor: default;
  pointer-events: none;
}
.bo-arrow:disabled:hover {
  border-color: var(--border-strong);
  color: var(--text-2);
  background: var(--bg-2);
}

/* Rail - full-bleed à droite pour laisser dépasser la carte suivante */
.bo-rail-wrap { position: relative; }
.bo-rail {
  display: flex;
  gap: 20px;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  -webkit-overflow-scrolling: touch;
  padding: 4px 0 18px;
  margin: 0 -2px;
  scrollbar-width: none;
}
.bo-rail::-webkit-scrollbar { display: none; }

.bo-card {
  position: relative;
  flex: 0 0 372px;
  scroll-snap-align: start;
  min-height: 472px;
  background: var(--bg-2);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 28px 26px;
  display: flex;
  flex-direction: column;
  overflow: hidden;
  transition: border-color .3s, transform .3s;
}
.bo-card::before {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(420px circle at var(--mx, 50%) var(--my, 0%), var(--olympe-soft), transparent 60%);
  opacity: 0;
  transition: opacity .3s;
  pointer-events: none;
}
.bo-card:hover { border-color: var(--border-strong); transform: translateY(-3px); }
.bo-card:hover::before { opacity: 1; }

.bo-kicker {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  font-family: var(--font-mono);
  font-size: 13px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--text-3);
  margin-bottom: 14px;
}
.bo-num {
  color: var(--olympe);
  font-weight: 700;
}
.bo-kicker .bo-num-sep {
  width: 3px; height: 3px; border-radius: 50%;
  background: var(--text-dim);
  display: inline-block;
}

.bo-title {
  font-family: var(--font-display);
  font-weight: 900;
  font-size: 25px;
  letter-spacing: -0.4px;
  line-height: 1.08;
  color: var(--text-1);
  margin: 0 0 10px;
}
.bo-desc {
  color: var(--text-2);
  font-size: 13.5px;
  line-height: 1.5;
  margin: 0;
  max-width: 30ch;
}

/* Visual zone - pinned to the bottom, uniform */
.bo-viz {
  margin-top: auto;
  position: relative;
  z-index: 1;
  background: var(--bg-0);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  padding: 14px;
  margin-top: 22px;
}

/* - shared mini-row - */
.bo-row {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 9px 11px;
  background: var(--bg-3);
  border-radius: var(--radius-xs);
  font-family: var(--font-mono);
  font-size: 13px;
  color: var(--text-2);
}
.bo-row + .bo-row { margin-top: 8px; }
.bo-row .bo-row-end { margin-left: auto; }
.bo-row.is-live { border: 1px solid var(--olympe); }
.bo-chip-ic {
  width: 18px; height: 18px;
  border-radius: 5px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex: 0 0 18px;
}

/* - Bracket (Formats) - */
.bo-viz-img {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 12px;
  overflow: hidden;
}
.bo-viz-img img {
  display: block;
  width: 100%;
  height: auto;
  max-height: 230px;
  object-fit: contain;
}
/* Variante claire : capture mode-clair sur panneau blanc */
.bo-viz-img.bo-viz-light {
  background: #fff;
  border-color: rgba(255,255,255,0.12);
  padding: 16px;
}
.bo-viz-img.bo-viz-light img { max-height: 196px; }
.bo-bracket {
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  gap: 4px 14px;
  align-items: center;
}
.brk-col { display: flex; flex-direction: column; justify-content: center; gap: 10px; position: relative; }
.brk-col.r2 { gap: 46px; }
.brk-col.r3 { gap: 0; }
.brk-seed {
  font-family: var(--font-mono);
  font-size: 13px;
  color: var(--text-3);
  background: var(--bg-3);
  border: 1px solid var(--border);
  border-radius: var(--radius-xs);
  padding: 7px 9px;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  position: relative;
}
.brk-seed.win { color: var(--text-1); border-color: var(--border-strong); }
.brk-seed.champ {
  color: var(--olympe);
  border-color: var(--olympe);
  background: var(--olympe-soft);
  font-weight: 700;
}
/* connector elbows */
.brk-col.r1 .brk-seed::after,
.brk-col.r2 .brk-seed::after {
  content: "";
  position: absolute;
  right: -14px;
  top: 50%;
  width: 14px;
  height: 1px;
  background: var(--border-strong);
}

/* - Quota bar (Licences) - */
.bo-quota-head {
  display: flex; align-items: center; justify-content: space-between;
  font-family: var(--font-mono); font-size: 13px;
  color: var(--text-3); margin-bottom: 10px;
  text-transform: uppercase; letter-spacing: .08em;
}
.bo-quota-val { color: var(--olympe); }
.bo-quota-bar {
  height: 7px; border-radius: 99px; background: var(--bg-3);
  overflow: hidden; margin-bottom: 14px;
}
.bo-quota-fill {
  height: 100%; width: 80%; border-radius: 99px;
  background: linear-gradient(90deg, var(--olympe), var(--olympe-2));
}
.bo-lic {
  display: flex; align-items: center; gap: 10px;
  font-size: 13px; font-family: var(--font-mono);
  padding: 7px 0;
}
.bo-lic + .bo-lic { border-top: 1px solid var(--border); }
.bo-lic-av {
  width: 22px; height: 22px; border-radius: 50%;
  background: linear-gradient(135deg, var(--bg-4), var(--bg-3));
  border: 1px solid var(--border-strong);
  flex: 0 0 22px;
}
.bo-lic-name { color: var(--text-2); }
.bo-lic-state { margin-left: auto; font-size: 13px; letter-spacing: .08em; text-transform: uppercase; }
.bo-lic-state.ok { color: var(--green); }
.bo-lic-state.wait { color: var(--amber); }

/* - Transfer ticket - */
.bo-mercato-pill {
  display: inline-flex; align-items: center; gap: 7px;
  font-family: var(--font-mono); font-size: 13px; letter-spacing: .08em;
  text-transform: uppercase; color: var(--green);
  background: rgba(77,216,164,0.12);
  border: 1px solid rgba(77,216,164,0.28);
  border-radius: 99px; padding: 5px 11px;
  margin-bottom: 16px;
}
.bo-mercato-pill .dot {
  width: 6px; height: 6px; border-radius: 50%; background: var(--green);
}
.bo-transfer {
  display: flex; align-items: center; gap: 12px;
}
.bo-transfer-team {
  flex: 1; text-align: center;
  font-family: var(--font-mono); font-size: 13px; color: var(--text-2);
}
.bo-transfer-team .logo {
  width: 38px; height: 38px; border-radius: var(--radius-sm);
  background: var(--bg-3); border: 1px solid var(--border-strong);
  margin: 0 auto 8px; display: flex; align-items: center; justify-content: center;
  color: var(--text-1); font-weight: 800; font-size: 15px; font-family: var(--font-display);
}
.bo-transfer-team.to .logo { border-color: var(--olympe); color: var(--olympe); }
.bo-transfer-arrow { color: var(--olympe); flex: 0 0 auto; }
.bo-transfer-meta {
  margin-top: 14px; padding-top: 12px; border-top: 1px solid var(--border);
  display: flex; align-items: center; gap: 8px;
  font-family: var(--font-mono); font-size: 13px; color: var(--text-3);
}
.bo-transfer-meta strong { color: var(--text-1); font-weight: 700; }

/* - Comms : page brandée - */
.bo-page {
  border-radius: var(--radius-xs); overflow: hidden;
  border: 1px solid var(--border-strong); background: var(--bg-1);
}
.bo-page-banner {
  min-height: 60px; position: relative;
  background: linear-gradient(120deg, var(--olympe) 0%, var(--color-primary-300) 100%);
  display: flex; align-items: center; justify-content: space-between; gap: 10px;
  padding: 12px 14px;
}
.bo-page-banner .una {
  font-family: var(--font-mono); font-size: 13px; font-weight: 700; letter-spacing: .06em;
  text-transform: uppercase; color: #0B0D14;
  background: rgba(255,255,255,0.28); padding: 4px 10px; border-radius: 99px;
  line-height: 1.2; white-space: nowrap;
}
.bo-page-banner .logo {
  width: 30px; height: 30px; border-radius: var(--radius-xs); flex-shrink: 0;
  background: rgba(20,18,26,0.88); color: var(--olympe);
  display: flex; align-items: center; justify-content: center;
  font-weight: 800; font-family: var(--font-display); font-size: 14px;
}
.bo-page-body { padding: 12px; }
.bo-page-title {
  font-family: var(--font-display); font-weight: 800; font-size: 14px;
  color: var(--text-1); margin-bottom: 8px; letter-spacing: -.2px;
}
.bo-page-line {
  height: 7px; border-radius: 99px; background: var(--bg-3); margin-bottom: 7px;
}
.bo-page-line.w70 { width: 70%; }
.bo-page-line.w90 { width: 90%; }

@media (max-width: 720px) {
  .bo-head-row { flex-direction: column; align-items: flex-start; gap: 18px; }
  .bo-nav-row { margin-bottom: 12px; }
  .bo-nav { gap: 8px; }
  .bo-counter { font-size: 13px; margin-right: 4px; }
  .bo-rail { gap: 16px; scroll-snap-type: x mandatory; -webkit-overflow-scrolling: touch; padding: 4px 0 16px; }
  .bo-card { flex: 0 0 82vw; max-width: 84vw; min-height: 440px; padding: 22px 20px; }
}


/* ============================================================
   ORG HEAD GRID - fusionne intro + compare en 2 colonnes
   ============================================================ */
.org-head-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 52px;
  align-items: start;
  margin-bottom: 48px;
}
.org-compare-compact {
  background: var(--bg-2);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  overflow: hidden;
}
.occ-heads {
  display: grid;
  grid-template-columns: 1fr 1fr;
  padding: 10px 16px;
  border-bottom: 1px solid var(--border-strong);
  background: var(--bg-3);
}
.occ-head-label {
  font-family: var(--font-mono);
  font-size: 13px;
  letter-spacing: .1em;
  text-transform: uppercase;
  display: flex;
  align-items: center;
  gap: 6px;
}
.occ-head-label.neg { color: var(--text-3); }
.occ-head-label.pos { color: var(--olympe); }
.occ-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  border-bottom: 1px solid var(--border);
}
.occ-row:last-child { border-bottom: none; }
.occ-neg, .occ-pos {
  display: flex;
  align-items: flex-start;
  gap: 8px;
  padding: 10px 16px;
  font-size: 13px;
  line-height: 1.4;
}
.occ-neg { color: var(--text-3); border-right: 1px solid var(--border); }
.occ-pos { color: var(--text-2); }
.occ-ic { flex-shrink: 0; margin-top: 2px; }
@media (max-width: 960px) {
  .org-head-grid { grid-template-columns: 1fr; gap: 32px; }
}

/* ============================================================
   PERSONAS ACCORDION TABS - remplace les 4 sections séparées
   ============================================================ */
.ptabs-section { padding: 88px 0 80px; }
.ptabs-section-head {
  text-align: center;
  max-width: 700px;
  margin: 0 auto 52px;
}

.ptabs {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 56px;
  align-items: start;
}
.ptabs-right { align-self: start; }

.ptabs-visuals { position: relative; display: grid; }
.ptabs-visual {
  grid-area: 1 / 1; /* toutes les captures empilées dans la même cellule */
  opacity: 0;
  transform: translateY(8px) scale(0.988);
  pointer-events: none;
  transition: opacity .56s cubic-bezier(0.22, 1, 0.36, 1), transform .56s cubic-bezier(0.22, 1, 0.36, 1);
  will-change: opacity, transform;
}
.ptabs-visual.active {
  opacity: 1;
  transform: translateY(0) scale(1);
  pointer-events: auto;
  z-index: 2;
}

.ptabs-left {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.ptabs-item {
  position: relative;
  background: var(--bg-1);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  overflow: hidden;
  transition: border-color .48s cubic-bezier(0.22, 1, 0.36, 1), background .48s cubic-bezier(0.22, 1, 0.36, 1), box-shadow .48s cubic-bezier(0.22, 1, 0.36, 1);
}
.ptabs-item:hover { border-color: var(--border-strong); }
.ptabs-item.active {
  border-color: color-mix(in srgb, var(--ptab-color, var(--olympe)) 55%, transparent);
  background: linear-gradient(150deg, color-mix(in srgb, var(--ptab-color, var(--olympe)) 9%, transparent) 0%, var(--bg-1) 55%);
  box-shadow: 0 12px 30px -24px color-mix(in srgb, var(--ptab-color, var(--olympe)) 30%, transparent), var(--shadow-card);
}

.ptabs-trigger {
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 18px 20px;
  cursor: pointer;
  width: 100%;
  background: none;
  border: none;
  text-align: left;
}

.ptabs-icon {
  width: 42px; height: 42px;
  flex: 0 0 42px;
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  color: var(--ptab-color, var(--olympe));
  background: color-mix(in srgb, var(--ptab-color, var(--olympe)) 13%, transparent);
  border: 1px solid color-mix(in srgb, var(--ptab-color, var(--olympe)) 22%, transparent);
  transition: transform .48s cubic-bezier(0.22, 1, 0.36, 1), background .48s cubic-bezier(0.22, 1, 0.36, 1), box-shadow .48s cubic-bezier(0.22, 1, 0.36, 1);
}
.ptabs-item.active .ptabs-icon {
  background: color-mix(in srgb, var(--ptab-color, var(--olympe)) 22%, transparent);
  box-shadow: 0 0 0 4px color-mix(in srgb, var(--ptab-color, var(--olympe)) 12%, transparent);
}
.ptabs-trigger:hover .ptabs-icon { transform: scale(1.06); }

.ptabs-info { flex: 1; min-width: 0; }
.ptabs-label {
  font-family: var(--font-mono);
  font-size: 13px;
  letter-spacing: .1em;
  text-transform: uppercase;
  color: var(--ptab-color, var(--olympe));
  opacity: .75;
  margin-bottom: 5px;
  transition: opacity .48s cubic-bezier(0.22, 1, 0.36, 1);
}
.ptabs-item.active .ptabs-label { opacity: 1; }

.ptabs-title {
  font-family: var(--font-display);
  font-weight: 900;
  font-size: 20px;
  letter-spacing: -.3px;
  color: var(--text-1);
  line-height: 1.15;
  margin: 0;
  transition: color .48s cubic-bezier(0.22, 1, 0.36, 1);
}
.ptabs-title em { color: var(--ptab-color, var(--olympe)); font-style: normal; }

/* D - ligne d'aperçu sous le titre (repli et dépli symétriques) */
.ptabs-preview {
  font-size: 13px;
  color: var(--text-3);
  line-height: 1.4;
  margin-top: 6px;
  max-height: 44px;
  opacity: 0.85;
  overflow: hidden;
  transition: max-height .48s cubic-bezier(0.22, 1, 0.36, 1), opacity .38s cubic-bezier(0.22, 1, 0.36, 1) .08s, margin-top .48s cubic-bezier(0.22, 1, 0.36, 1);
}
.ptabs-item.active .ptabs-preview {
  max-height: 0;
  opacity: 0;
  margin-top: 0;
  transition: max-height .42s cubic-bezier(0.22, 1, 0.36, 1), opacity .24s cubic-bezier(0.4, 0, 0.2, 1), margin-top .42s cubic-bezier(0.22, 1, 0.36, 1);
}

.ptabs-chev {
  flex: 0 0 auto;
  width: 34px; height: 34px;
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  background: var(--bg-3);
  border: 1px solid var(--border);
  transition: background .48s cubic-bezier(0.22, 1, 0.36, 1), border-color .48s cubic-bezier(0.22, 1, 0.36, 1);
}
.ptabs-trigger:hover .ptabs-chev { border-color: var(--border-strong); }
.ptabs-chevron {
  color: var(--text-3);
  transition: transform .48s cubic-bezier(0.22, 1, 0.36, 1), color .48s cubic-bezier(0.22, 1, 0.36, 1);
}
.ptabs-item.active .ptabs-chev {
  background: color-mix(in srgb, var(--ptab-color, var(--olympe)) 14%, transparent);
  border-color: color-mix(in srgb, var(--ptab-color, var(--olympe)) 30%, transparent);
}
.ptabs-item.active .ptabs-chevron { transform: rotate(180deg); color: var(--ptab-color, var(--olympe)); }

.ptabs-body {
  display: grid;
  grid-template-rows: 0fr;
  overflow: hidden;
  transition: grid-template-rows .56s cubic-bezier(0.22, 1, 0.36, 1);
}
.ptabs-item.active .ptabs-body {
  grid-template-rows: 1fr;
}
.ptabs-body-inner {
  min-height: 0;
  overflow: hidden;
  padding: 0;
  opacity: 0;
  transform: translateY(-6px);
  transition: opacity .24s cubic-bezier(0.4, 0, 0.2, 1), transform .44s cubic-bezier(0.22, 1, 0.36, 1);
}
.ptabs-item.active .ptabs-body-inner {
  opacity: 1;
  transform: translateY(0);
  transition: opacity .42s cubic-bezier(0.22, 1, 0.36, 1) .1s, transform .52s cubic-bezier(0.22, 1, 0.36, 1) .04s;
}
.ptabs-body-inner > .persona-features {
  padding: 2px 20px 22px;
}
@media (prefers-reduced-motion: reduce) {
  .ptabs-item, .ptabs-icon, .ptabs-label, .ptabs-preview, .ptabs-chev, .ptabs-chevron, .ptabs-body, .ptabs-body-inner, .ptabs-visual {
    transition: none !important;
  }
}

.ptabs-lead {
  color: var(--text-2);
  font-size: 14px;
  line-height: 1.55;
  margin: 0 0 20px;
}
.ptabs-progress { display: none; }
.ptabs-progress-fill {
  height: 100%;
  width: 0%;
  background: var(--ptab-color, var(--olympe));
}

@media (max-width: 900px) {
  .ptabs { grid-template-columns: 1fr; }
  .ptabs-right { position: static; margin-top: 32px; }
  .ptabs-title { font-size: 18px; }
}

/* ── ptabs visuals : hauteur uniforme pour les 3 screenshots ── */
.ptabs-visuals .visual-card img {
  height: 420px;
  object-fit: cover;
  object-position: top;
}

/* ── org-bento-intro : mini-header section organisateurs (option 2) ── */
.org-bento-intro {
  margin-bottom: 36px;
}
.org-bento-intro .persona-eyebrow {
  margin-bottom: 12px;
}
.org-bento-intro .persona-title {
  font-size: clamp(26px, 3vw, 36px);
  margin: 0;
}


/* ============================================================
   LEAGUE SHOWCASE - split layout (remplace leagues-row)
   ============================================================ */
.league-showcase {
  display: grid;
  grid-template-columns: minmax(0, 0.48fr) minmax(0, 1.52fr);
  background: var(--bg-2);
  border: 1px solid var(--border);
  border-radius: var(--radius-xl);
  overflow: hidden;
  min-height: 460px;
}
.ls-left {
  padding: 40px 30px 34px 40px;
  display: flex;
  flex-direction: column;
}
.ls-slides { flex: 1; }
.ls-slide { display: none; }
.ls-slide.active {
  display: flex;
  flex-direction: column;
}
.ls-eyebrow {
  font-family: var(--font-mono);
  font-size: 13px;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: var(--olympe);
  margin-bottom: 14px;
}
.ls-title {
  font-family: var(--font-display);
  font-weight: 900;
  font-size: 34px;
  letter-spacing: -.75px;
  color: var(--text-1);
  line-height: 1.05;
  margin: 0 0 16px;
}
.ls-desc {
  color: var(--text-2);
  font-size: 14.5px;
  line-height: 1.55;
  margin: 0 0 24px;
  max-width: 38ch;
  text-wrap: pretty;
}
.ls-stats {
  display: flex;
  gap: 24px;
  margin-bottom: 28px;
  padding: 16px 20px;
  background: var(--bg-3);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
}
.ls-stat { display: flex; flex-direction: column; gap: 3px; }
.ls-stat-val {
  font-family: var(--font-display);
  font-weight: 900;
  font-size: 20px;
  letter-spacing: -.4px;
  color: var(--text-1);
  line-height: 1;
}
.ls-stat-label {
  font-family: var(--font-mono);
  font-size: 13px;
  letter-spacing: .08em;
  text-transform: uppercase;
  color: var(--text-3);
}
.ls-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: var(--olympe);
  font-weight: 700;
  font-size: 13.5px;
  text-decoration: none;
  transition: gap .2s;
  margin-top: auto;
}
.ls-link:hover { gap: 14px; }

/* ── Navigation ── */
.ls-nav {
  display: flex;
  align-items: center;
  gap: 14px;
  padding-top: 32px;
}
.ls-arr {
  width: 40px; height: 40px;
  border-radius: 50%;
  border: 1px solid var(--border-strong);
  background: var(--bg-3);
  color: var(--text-2);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: all .2s;
  flex-shrink: 0;
}
.ls-arr:hover { border-color: var(--olympe); color: var(--olympe); background: var(--olympe-soft); }
.ls-dots { display: flex; gap: 7px; align-items: center; }
.ls-dot {
  width: 8px; height: 8px;
  border-radius: 50%;
  background: var(--border-strong);
  border: none;
  cursor: pointer;
  transition: background .2s, transform .2s, width .2s;
  padding: 0;
}
.ls-dot.active { background: var(--olympe); width: 22px; border-radius: 4px; }

/* ── Right visual ── */
.ls-right { position: relative; overflow: hidden; }
.ls-visuals { position: relative; height: 100%; }
.ls-visual { position: absolute; inset: 0; opacity: 0; transition: opacity .4s; pointer-events: none; }
.ls-visual.active { position: relative; opacity: 1; pointer-events: auto; }
.ls-visual img {
  width: 100%; height: 100%;
  object-fit: cover;
  object-position: top;
  display: block;
  min-height: 460px;
}

/* ── CTA beneath ── */
.ls-cta-row {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 18px;
  margin-top: 36px;
  color: var(--text-2);
  font-size: 15px;
}

@media (max-width: 860px) {
  .league-showcase { grid-template-columns: 1fr; }
  .ls-right { display: none; }
  .ls-left { padding: 32px 24px; }
  .ls-title { font-size: 26px; }
}


/* ── League stats : style grande page (comme stat-band) ── */
.ls-stats {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0;
  background: none;
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  overflow: hidden;
  margin-bottom: 28px;
  padding: 0;
}
.ls-stat {
  display: flex;
  flex-direction: column;
  gap: 4px;
  padding: 16px 18px;
  border-right: 1px solid var(--border);
  background: var(--bg-3);
}
.ls-stat:last-child { border-right: none; }
.ls-stat-val {
  font-family: var(--font-display);
  font-weight: 900;
  font-size: 24px;
  letter-spacing: -.5px;
  color: var(--text-1);
  line-height: 1;
}
.ls-stat-val em {
  color: var(--olympe);
  font-style: normal;
}
.ls-stat-label {
  font-family: var(--font-mono);
  font-size: 13px;
  letter-spacing: .08em;
  text-transform: uppercase;
  color: var(--text-3);
  line-height: 1.3;
}

/* ── Browser chrome bar on ls-right ── */
.ls-right {
  display: flex;
  flex-direction: column;
  border-left: 1px solid var(--border-strong);
  background: var(--bg-3);
}
.ls-chrome-bar {
  display: flex;
  align-items: center;
  gap: 6px;
  padding: 10px 16px;
  background: var(--bg-3);
  border-bottom: 1px solid var(--border);
  flex-shrink: 0;
}
.ls-chrome-dot {
  width: 10px; height: 10px;
  border-radius: 50%;
  flex-shrink: 0;
}
.ls-chrome-url {
  flex: 1;
  margin-left: 10px;
  font-family: var(--font-mono);
  font-size: 13px;
  color: var(--text-3);
  background: var(--bg-2);
  border: 1px solid var(--border);
  border-radius: 5px;
  padding: 4px 10px;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  letter-spacing: .02em;
}
.ls-visuals { flex: 1; position: relative; }
.ls-visual { position: absolute; inset: 0; opacity: 0; transition: opacity .4s; pointer-events: none; }
.ls-visual.active { position: relative; opacity: 1; pointer-events: auto; }
.ls-visual img {
  width: 100%; height: 100%;
  object-fit: cover;
  object-position: top;
  display: block;
  min-height: 420px;
}

/* ── Personas trigger hover ── */
.ptabs-trigger:hover {
  background: rgba(255,255,255,0.025);
  border-radius: var(--radius-sm);
}
.ptabs-trigger:hover .ptabs-title { color: var(--text-1); }


/* ── League showcase : hauteur adaptative (min) pour éviter le clipping ── */
.league-showcase {
  height: auto;
  min-height: 520px;
  align-items: stretch;
}
.ls-left {
  height: auto;
  overflow: visible;
  box-sizing: border-box;
}
.ls-slides { flex: 1; overflow: visible; }
.ls-slide.active {
  height: auto;
}
.ls-right { flex: 1; }
.ls-visuals { height: 100%; }
.ls-visual {
  height: 100%;
  background-size: cover;
  background-position: center;
  overflow: hidden;
}
.ls-visual::before {
  content: "";
  position: absolute;
  inset: -40px;
  background-image: inherit;
  background-size: cover;
  background-position: center;
  filter: blur(34px) brightness(0.45) saturate(1.1);
  z-index: 0;
}
.ls-visual img {
  position: relative;
  z-index: 1;
  min-height: unset;
  width: 100%;
  height: 100%;
  object-fit: contain;
  object-position: top center;
}

/* ── Stats : même ligne, labels nowrap ── */
.ls-stats {
  grid-template-columns: repeat(4, 1fr);
  align-items: stretch;
}
.ls-stat { align-items: flex-start; gap: 7px; }
.ls-stat-label { white-space: nowrap; }
.ls-stat-val { font-size: 26px; }

/* ── Stats icons ── */
.ls-stat-icon {
  color: var(--olympe);
  opacity: 0.75;
  display: flex;
  margin-bottom: 4px;
  flex-shrink: 0;
}


/* ── Stats redesign : no box, labels gold, values white ── */
.ls-stats {
  display: flex !important;
  gap: 28px !important;
  background: none !important;
  border: none !important;
  border-radius: 0 !important;
  padding: 0 !important;
  margin-bottom: 28px;
  align-items: flex-start;
}
.ls-stat {
  display: flex;
  flex-direction: column;
  gap: 4px;
  padding: 0 !important;
  border: none !important;
  background: none !important;
}
.ls-stat-val {
  font-family: var(--font-display);
  font-weight: 900;
  font-size: 26px !important;
  letter-spacing: -.5px;
  color: var(--text-1) !important;
  line-height: 1;
}
.ls-stat-val em {
  color: var(--text-1) !important;
  font-style: normal;
}
.ls-stat-label {
  font-family: var(--font-mono);
  font-size: 13px;
  letter-spacing: .08em;
  text-transform: uppercase;
  color: var(--text-3) !important;
  white-space: nowrap;
  display: inline-flex;
  align-items: center;
  gap: 5px;
}
.ls-stat-label svg {
  color: var(--olympe);
  flex-shrink: 0;
}


/* ============================================================
   PASSE QUALITÉ GLOBALE - espacements, transitions, polish
   ============================================================ */

/* ── Sections : rythme vertical cohérent ── */
.section { padding: 88px 0; }
.hero { padding: 140px 0 88px; }
.stats-band-top { padding: 48px 0; }
.ptabs-section { padding: 88px 0 80px; }
.testimonials-section { padding: 88px 0; }
.final-cta-section { padding: 88px 0; }

/* ── Transitions universelles ── */
.bo-card,
.ptabs-item,
.ls-arr,
.btn,
.league-card,
a[class] {
  transition-timing-function: cubic-bezier(0.4, 0, 0.2, 1);
}

/* ── bo-card hover : glow rose ── */
.bo-card:hover {
  border-color: rgba(var(--primary-rgb), 0.35);
  box-shadow: 0 0 32px -12px rgba(var(--primary-rgb), 0.25);
}

/* ── Personas : états gérés sur la carte (.ptabs-item) ── */
.ptabs-trigger:hover { background: none; }
.ptabs-item.active .ptabs-trigger { background: none; }

/* ── League showcase : link arrow slide ── */
.ls-link svg {
  transition: transform .2s ease;
}
.ls-link:hover svg {
  transform: translateX(5px);
}
.ls-link:hover { gap: 8px; }

/* ── Final CTA : glow rose ── */
.final-cta {
  background: linear-gradient(165deg, rgba(var(--primary-rgb), 0.07) 0%, var(--bg-2) 50%);
  border-color: rgba(var(--primary-rgb), 0.2);
}

/* ── Stats band top : refined hover ── */
.stat-cell { position: relative; transition: background .35s var(--ease-out); }
.stat-cell::after {
  content: ""; position: absolute; left: 0; right: 0; bottom: -1px; height: 2px;
  background: linear-gradient(90deg, var(--olympe), var(--olympe-2));
  transform: scaleX(0); transform-origin: left;
  transition: transform .45s var(--ease-out);
}
.stat-cell .stat-val { transition: transform .45s var(--ease-out); }
.stat-cell .stat-label { transition: color .3s var(--ease-out); }
.stat-cell:hover { background: linear-gradient(180deg, rgba(var(--primary-rgb), 0.05), transparent 80%); }
.stat-cell:hover::after { transform: scaleX(1); }
.stat-cell:hover .stat-val { transform: translateY(-3px); }
.stat-cell:hover .stat-label { color: var(--text-1); }

/* ── Org bento intro : spacing ── */
.org-bento-intro {
  margin-bottom: 40px;
  padding-top: 8px;
}

/* ── Section dividers : harmonisés ── */
.section-divider { margin-bottom: 48px; }

/* ── Personas section-head spacing ── */
.ptabs-section-head { margin-bottom: 48px; }


/* ── Smooth image transitions in ptabs : cross-fade doux (géré plus haut) ── */
.ptabs-visual.active {
  animation: none;
}

/* ── League showcase : uniform card height, smoother transitions ── */
.league-showcase {
  transition: box-shadow .3s ease;
}
.league-showcase:hover {
  box-shadow: 0 32px 80px -24px rgba(0,0,0,0.5);
}
.ls-visual {
  transition: opacity .35s cubic-bezier(0.4, 0, 0.2, 1);
}

/* ── Nav link hover : underline rose ── */
.nav-link::after {
  background: var(--olympe);
}

/* ── Back-office kicker number ── */
.bo-num { color: var(--olympe); }

/* ── Bot-stats : remove !important now that global is consistent ── */

/* ── BO rail : cartes hors-viewport légèrement estompées ── */
.bo-rail {
  --rail-fade: 0.88;
}
.bo-card {
  transition: opacity .35s ease, transform .35s ease, border-color .25s ease, box-shadow .3s ease;
}


/* ============================================================
   HERO COMPARE - tableau avant/après dans le hero
   ============================================================ */
.hero-compare {
  background: linear-gradient(160deg, var(--bg-2) 0%, var(--bg-1) 100%);
  border: 1px solid var(--border-strong);
  border-radius: var(--radius-xl);
  overflow: hidden;
  display: grid;
  grid-template-columns: 1fr 1fr;
  position: relative;
  box-shadow: var(--shadow-elevated);
  align-self: center;
}
.hero-compare::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, transparent 50%, rgba(var(--primary-rgb), 0.07) 100%);
  pointer-events: none;
  z-index: 0;
}
.hc-col {
  padding: 28px 22px;
  display: flex;
  flex-direction: column;
  gap: 18px;
  position: relative;
  z-index: 1;
}
.hc-col.before {
  border-right: 1px solid var(--border);
}
.hc-col.after {
  background: rgba(var(--primary-rgb), 0.035);
}
.hc-label {
  font-family: var(--font-mono);
  font-size: 13px;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: var(--text-3);
  margin-bottom: 6px;
}
.hc-col.after .hc-label { color: var(--olympe); }
.hc-title {
  font-family: var(--font-display);
  font-weight: 900;
  font-size: 17px;
  letter-spacing: -.3px;
  line-height: 1.15;
  color: var(--text-2);
  margin: 0;
}
.hc-col.after .hc-title { color: var(--text-1); }
.hc-items { display: flex; flex-direction: column; gap: 10px; }
.hc-item {
  display: flex;
  align-items: flex-start;
  gap: 8px;
  font-size: 13px;
  line-height: 1.4;
  color: var(--text-3);
}
.hc-col.after .hc-item { color: var(--text-2); }
.hc-ic { flex-shrink: 0; margin-top: 1px; }

@media (max-width: 900px) {
  .hero-compare { grid-template-columns: 1fr; }
  .hc-col.before { border-right: none; border-bottom: 1px solid var(--border); }
}


/* ============================================================
   HERO VISUAL - product cards flottantes
   ============================================================ */
.hero-visual {
  position: relative;
  align-self: center;
  min-height: 360px;
}

/* ── Main card ── */
.hv-main {
  background: linear-gradient(160deg, var(--bg-2) 0%, var(--bg-1) 100%);
  border: 1px solid var(--border-strong);
  border-radius: var(--radius-xl);
  padding: 24px 28px 20px;
  position: relative;
  overflow: hidden;
  box-shadow: var(--shadow-elevated);
  animation: hvMainIn .7s cubic-bezier(0.4,0,0.2,1) both;
}
.hv-main::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse 280px 180px at 80% 110%, rgba(var(--primary-rgb), 0.14), transparent),
    radial-gradient(ellipse 200px 120px at 10% -10%, rgba(188,156,242,0.1), transparent);
  pointer-events: none;
}
@keyframes hvMainIn {
  from { opacity: 0; transform: translateY(18px); }
  to   { opacity: 1; transform: translateY(0); }
}

.hv-main-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 16px;
}
.hv-league-label {
  font-family: var(--font-mono);
  font-size: 13px;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: var(--text-3);
}
.hv-live-badge {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  font-family: var(--font-mono);
  font-size: 13px;
  letter-spacing: .08em;
  text-transform: uppercase;
  color: var(--olympe);
  background: var(--olympe-soft);
  border: 1px solid rgba(var(--primary-rgb), 0.25);
  padding: 4px 10px;
  border-radius: 99px;
}
.hv-stage {
  font-family: var(--font-mono);
  font-size: 13px;
  color: var(--text-3);
  letter-spacing: .08em;
  text-transform: uppercase;
  margin-bottom: 18px;
}
.hv-match {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  margin-bottom: 20px;
}
.hv-team {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  flex: 1;
}
.hv-logo {
  width: 44px; height: 44px;
  border-radius: var(--radius-md);
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-display);
  font-weight: 900;
  font-size: 15px;
  color: #fff;
}
.hv-logo-kc { background: linear-gradient(135deg, var(--olympe), var(--electric)); }
.hv-logo-g2 { background: linear-gradient(135deg, #1a1a2e, #16213e); border: 1px solid var(--border-strong); color: var(--text-3); }
.hv-tname {
  font-size: 13px;
  color: var(--text-2);
  font-weight: 600;
  text-align: center;
}
.hv-score {
  font-family: var(--font-display);
  font-weight: 900;
  font-size: 42px;
  letter-spacing: -2px;
  color: var(--text-1);
  display: flex;
  align-items: center;
  gap: 6px;
  flex-shrink: 0;
}
.hv-score em {
  color: var(--text-3);
  font-style: normal;
  font-size: 28px;
}
.hv-stream {
  display: flex;
  align-items: center;
  gap: 8px;
  font-family: var(--font-mono);
  font-size: 13px;
  color: var(--electric);
  padding-top: 16px;
  border-top: 1px solid var(--border);
}
.hv-stream span { color: var(--text-3); }

/* ── Floating cards ── */
.hv-float {
  position: absolute;
  display: flex;
  align-items: center;
  gap: 10px;
  background: var(--bg-2);
  border: 1px solid var(--border-strong);
  border-radius: var(--radius-md);
  padding: 10px 14px;
  box-shadow: var(--shadow-elevated);
  min-width: 220px;
  animation: hvFloatIn .5s cubic-bezier(0.4,0,0.2,1) both;
}
@keyframes hvFloatIn {
  from { opacity: 0; transform: translateX(16px) translateY(6px); }
  to   { opacity: 1; transform: translateX(0) translateY(0); }
}
@keyframes hvFloat {
  0%, 100% { transform: translateY(0); }
  50%       { transform: translateY(-5px); }
}
.hv-f1 {
  top: -18px; right: -14px;
  animation-delay: .3s;
  animation: hvFloatIn .5s .3s cubic-bezier(0.4,0,0.2,1) both, hvFloat 4s 1s ease-in-out infinite;
}
.hv-f2 {
  bottom: 60px; left: -18px;
  animation: hvFloatIn .5s .5s cubic-bezier(0.4,0,0.2,1) both, hvFloat 4.5s 1.5s ease-in-out infinite;
}
.hv-f3 {
  bottom: -18px; right: -14px;
  animation: hvFloatIn .5s .7s cubic-bezier(0.4,0,0.2,1) both, hvFloat 5s 2s ease-in-out infinite;
}

.hv-float-icon {
  width: 30px; height: 30px;
  border-radius: var(--radius-xs);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}
.hv-float-title {
  font-size: 13px;
  font-weight: 700;
  color: var(--text-1);
  line-height: 1.2;
}
.hv-float-sub {
  font-family: var(--font-mono);
  font-size: 13px;
  color: var(--text-3);
  margin-top: 2px;
}

/* ── Wrapper spacing to accommodate floats ── */
.hero-visual { padding: 22px 18px 28px; }

/* ── Fix hero-inner 2-col layout après remplacement du showcase ── */
.hero-inner {
  display: grid !important;
  grid-template-columns: 1fr 1fr !important;
  gap: 56px;
  align-items: center;
}
@media (max-width: 1024px) {
  .hero-inner { grid-template-columns: 1fr !important; }
  .hero-visual { margin-top: 40px; }
}


/* ============================================================
   HERO MAP - hub Olympe + 5 feature cards avec lignes SVG
   ============================================================ */
.hero-map {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0;
  padding: 12px 8px 8px;
  align-self: center;
}

/* ── Hub central ── */
.hm-hub {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 13px;
  z-index: 2;
  margin-bottom: 4px;
}
.hm-hub-ring {
  position: absolute;
  width: 56px; height: 56px;
  border-radius: 50%;
  border: 1.5px solid rgba(var(--primary-rgb), 0.35);
  animation: hmRingPulse 2.5s ease-in-out infinite;
  top: 50%; left: 50%;
  transform: translate(-50%, -50%);
  pointer-events: none;
}
@keyframes hmRingPulse {
  0%, 100% { transform: translate(-50%,-50%) scale(1); opacity: 0.6; }
  50%       { transform: translate(-50%,-50%) scale(1.18); opacity: 0.2; }
}
.hm-hub-core {
  width: 42px; height: 42px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--olympe), var(--electric));
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 0 24px -4px rgba(var(--primary-rgb), 0.6);
  position: relative;
  z-index: 2;
}
.hm-hub-label {
  font-family: var(--font-display);
  font-weight: 900;
  font-size: 13px;
  letter-spacing: -.2px;
  color: var(--text-1);
  position: relative;
  z-index: 2;
}

/* ── SVG overlay ── */
.hm-svg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
  z-index: 0;
  overflow: visible;
}
.hm-svg-mobile, .hm-funnel-mobile {
  display: none;
}
.hm-svg-desktop, .hm-funnel-desktop {
  display: block;
}
.hm-path {
  fill: none;
  stroke: var(--border-strong);
  stroke-width: 1.5;
  stroke-dasharray: 4 6;
  animation: hmDash 1.8s linear infinite;
}
@keyframes hmDash { to { stroke-dashoffset: -60; } }
.hm-dot {
  fill: var(--olympe);
  filter: drop-shadow(0 0 3px var(--olympe));
}

/* ── Card rows ── */
.hm-row {
  display: flex;
  gap: 10px;
  position: relative;
  z-index: 2;
}
.hm-row-1 { margin-top: 44px; }
.hm-row-2 { margin-top: 10px; }

/* ── Feature cards ── */
.hm-card {
  background: var(--bg-2);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  padding: 11px 13px;
  display: flex;
  align-items: center;
  gap: 10px;
  min-width: 200px;
  transition: border-color .25s, box-shadow .25s;
  animation: hmCardIn .5s cubic-bezier(0.4,0,0.2,1) both;
}
.hm-card:hover {
  border-color: var(--hc, var(--olympe));
  box-shadow: 0 0 18px -6px var(--hc, var(--olympe));
}
.hm-card.hm-card-sm { min-width: 0; flex: 1; }

.hm-card:nth-child(1) { animation-delay: .15s; }
.hm-card:nth-child(2) { animation-delay: .25s; }
.hm-row-2 .hm-card:nth-child(1) { animation-delay: .35s; }
.hm-row-2 .hm-card:nth-child(2) { animation-delay: .45s; }
.hm-row-2 .hm-card:nth-child(3) { animation-delay: .55s; }

@keyframes hmCardIn {
  from { opacity: 0; transform: translateY(12px); }
  to   { opacity: 1; transform: translateY(0); }
}

.hm-card-ic {
  width: 30px; height: 30px;
  border-radius: var(--radius-xs);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}
.hm-card-title {
  font-size: 13px;
  font-weight: 700;
  color: var(--text-1);
  line-height: 1.2;
}
.hm-card-sub {
  font-family: var(--font-mono);
  font-size: 13px;
  color: var(--text-3);
  margin-top: 2px;
  letter-spacing: .02em;
}

/* ── Hero Map Desktop (≥769px) ── */
.hero-map {
  max-width: 550px;
  width: 100%;
  margin-left: auto;
  margin-right: auto;
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  box-sizing: border-box;
}

@media (min-width: 769px) {
  .hero-map .hm-row {
    display: grid;
    width: 100%;
    gap: 10px;
    box-sizing: border-box;
  }
  .hero-map .hm-row-1 {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    margin-top: 24px;
  }
  .hero-map .hm-row-2 {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    margin-top: 14px;
  }
  .hero-map .hm-card {
    min-height: 66px;
    height: auto;
    min-width: 0;
    padding: 10px 12px;
    gap: 10px;
    align-items: center;
    border-radius: var(--radius-md);
    box-sizing: border-box;
    overflow: visible;
  }
  .hero-map .hm-card > div:not(.hm-card-ic) {
    min-width: 0;
    flex: 1 1 auto;
  }
  .hero-map .hm-card-ic {
    flex: 0 0 28px;
    width: 28px;
    height: 28px;
    flex-shrink: 0;
  }
  .hero-map .hm-row-2 .hm-card {
    padding: 10px 10px;
    gap: 8px;
  }
  .hero-map .hm-row-2 .hm-card-ic {
    flex: 0 0 24px;
    width: 24px;
    height: 24px;
  }
  .hero-map .hm-card-title {
    font-family: var(--font-sans);
    font-size: 13px;
    font-weight: 700;
    line-height: 1.25;
    white-space: normal;
    overflow: visible;
    text-overflow: clip;
    color: var(--text-1);
  }
  .hero-map .hm-card-sub {
    font-family: var(--font-sans);
    font-size: 13px;
    font-weight: 500;
    line-height: 1.35;
    letter-spacing: 0;
    white-space: normal;
    color: var(--text-3);
    margin-top: 3px;
  }
  .hero-map .hm-league-sub {
    white-space: nowrap;
  }
}

/* ── League card (bottom of hero-map) ── */
.hm-league {
  position: relative;
  z-index: 2;
  width: 100%;
  margin-top: 10px;
  background: linear-gradient(135deg, rgba(var(--primary-rgb), 0.12) 0%, var(--bg-2) 60%);
  border: 1px solid rgba(var(--primary-rgb), 0.4);
  border-radius: var(--radius-md);
  padding: 12px 16px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  box-shadow: 0 0 28px -8px rgba(var(--primary-rgb), 0.3);
  animation: hmCardIn .5s cubic-bezier(0.4,0,0.2,1) both;
}
.hm-league-left {
  display: flex;
  align-items: center;
  gap: 10px;
}
.hm-league-icon {
  width: 34px; height: 34px;
  border-radius: var(--radius-sm);
  background: var(--olympe-soft);
  color: var(--olympe);
  display: flex; align-items: center; justify-content: center;
  flex-shrink: 0;
}
.hm-league-name {
  font-family: var(--font-display);
  font-weight: 900;
  font-size: 14px;
  letter-spacing: -.2px;
  color: var(--text-1);
}
.hm-league-sub {
  font-family: var(--font-mono);
  font-size: 13px;
  color: var(--text-3);
  margin-top: 1px;
}
.hm-league-sub em { color: var(--olympe); font-style: normal; }
.hm-league-stats {
  display: flex;
  align-items: center;
  gap: 12px;
  flex-shrink: 0;
}
.hm-league-meta-col {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 2px;
  line-height: 1.25;
}
.hm-league-meta-col .hm-meta-line {
  font-family: var(--font-mono);
  font-size: 13px;
  color: var(--text-3);
  letter-spacing: .02em;
  white-space: nowrap;
}
.hm-live {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-family: var(--font-mono);
  font-size: 13px;
  font-weight: 700;
  color: var(--olympe);
  background: var(--olympe-soft);
  padding: 5px 9px;
  border-radius: var(--radius-xs);
  white-space: nowrap;
}

/* ── Convergence paths : Option B (gris continu + dégradé subtil vers thème sur les ~15 derniers px) ── */
.hm-grad-start { stop-color: var(--border-strong); }
.hm-grad-end { stop-color: rgba(var(--primary-rgb), 0.45); }
.hm-path-conv {
  stroke: var(--border-strong);
  stroke-width: 1.5;
  stroke-dasharray: 4 6;
}
.hm-funnel-desktop .hm-path-conv { stroke: url(#hm-funnel-grad-d); }
.hm-funnel-mobile .hm-path-conv { stroke: url(#hm-funnel-grad-m); }
.hm-dot-conv { fill: var(--olympe); opacity: 0.7; }

/* ── Funnel connector ── */
.hm-funnel {
  width: 100%;
  position: relative;
  z-index: 1;
  height: 52px;
  flex-shrink: 0;
}
.hm-funnel svg {
  width: 100%;
  height: 100%;
  display: block;
  overflow: visible;
}
/* Remove the top margin from league card - funnel handles the spacing */
.hm-league { margin-top: 0; }
.hm-dot-conv { fill: var(--olympe); filter: drop-shadow(0 0 3px var(--olympe)); }
/* More breathing room between rows */
.hm-row-2 { margin-top: 8px; }


/* ============================================================
   LEAGUE SHOWCASE - refonte témoignage (quote + 3 stats + balance)
   ============================================================ */
/* Équilibre vertical : contenu réparti, nav ancrée en bas */
.ls-left {
  display: flex;
  flex-direction: column;
  justify-content: center;
}
.ls-slides { display: flex; flex-direction: column; justify-content: center; flex: 1; }

/* Quote témoignage */
.ls-quote {
  position: relative;
  margin: 0 0 18px;
  padding: 0;
  border: none;
}
.ls-quote-mark {
  color: var(--olympe);
  opacity: 0.5;
  margin-bottom: 8px;
  display: block;
}
.ls-quote p {
  font-family: var(--font-display);
  font-weight: 500;
  font-size: 17px;
  line-height: 1.45;
  color: var(--text-1);
  margin: 0;
  letter-spacing: -.2px;
  text-wrap: pretty;
  font-style: italic;
}
/* Auteur */
.ls-author {
  display: flex;
  flex-direction: column;
  gap: 1px;
  margin-bottom: 24px;
  padding-left: 14px;
  border-left: 2px solid var(--olympe);
}
.ls-author-name {
  font-size: 13px;
  font-weight: 700;
  color: var(--text-1);
}
.ls-author-role {
  font-family: var(--font-mono);
  font-size: 13px;
  letter-spacing: .08em;
  text-transform: uppercase;
  color: var(--text-3);
}

/* Stats : 3 colonnes harmonisées */
.ls-stats {
  display: flex !important;
  gap: 32px !important;
  margin-bottom: 26px;
}

/* Title un peu plus compact pour laisser place à la quote */
.ls-title { font-size: 30px; margin-bottom: 18px; }
.ls-eyebrow { margin-bottom: 12px; }

/* ============================================================
   LEAGUE SHOWCASE - hauteur égale par EMPILEMENT GRID (CSS pur)
   Les 3 slides occupent la même cellule de grille : aucune en
   display:none, donc le conteneur prend la hauteur de la plus
   haute. Indépendant du viewport, des polices et du JS.
   ============================================================ */
.ls-slides {
  display: grid !important;
  flex: 1;
}
.ls-slide {
  display: flex !important;
  flex-direction: column;
  justify-content: center;
  grid-area: 1 / 1 / 2 / 2;   /* toutes les slides empilées dans la même cellule */
  min-width: 0;
  visibility: hidden;
  opacity: 0;
  pointer-events: none;
  transition: opacity .35s ease;
  height: auto !important;
}
.ls-slide.active {
  visibility: visible;
  opacity: 1;
  pointer-events: auto;
}

/* ============================================================
   Accessibilité - mouvement réduit + impression
   Neutralise les animations d'entrée et force l'état final
   visible (sinon les blocs en opacity:0 restent invisibles
   en print / PDF / prefers-reduced-motion).
   ============================================================ */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.001ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.001ms !important;
    scroll-behavior: auto !important;
  }
  .reveal { opacity: 1 !important; transform: none !important; }
}

@media print {
  *, *::before, *::after {
    animation: none !important;
    transition: none !important;
  }
  .reveal { opacity: 1 !important; transform: none !important; }
}

/* ============================================================
   Hero Image Esport - Compact 16:9 Banner
   ============================================================ */
.hero-image-wrap {
  position: relative;
  border-radius: var(--radius-xl, 16px);
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.08);
  box-shadow: 0 20px 50px -10px rgba(0, 0, 0, 0.8), 0 0 40px -10px rgba(var(--primary-rgb), 0.18);
  display: flex;
  align-items: center;
  justify-content: center;
  aspect-ratio: 16 / 9;
  max-height: 230px;
  background: var(--bg-2);
  margin-bottom: 24px;
}
.hero-image-wrap .hero-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 35%;
  display: block;
}
.hero-image-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to right, var(--bg-1) 0%, rgba(13, 16, 24, 0) 25%, rgba(13, 16, 24, 0) 75%, var(--bg-1) 100%),
              linear-gradient(to bottom, var(--bg-1) 0%, rgba(13, 16, 24, 0) 15%, rgba(13, 16, 24, 0) 85%, var(--bg-1) 100%);
  pointer-events: none;
}
@media (max-width: 1024px) {
  .hero-image-wrap {
    max-width: 520px;
    margin-left: auto;
    margin-right: auto;
    margin-top: 20px;
  }
}

/* ============================================================
   Capacités Catalogue Esport - Grille Tabulaire Stricte (CH-39)
   ============================================================ */
.game-caps-section {
  display: flex;
  flex-direction: column;
  gap: 8px;
  margin-top: 2px;
}
.game-caps-lbl {
  font-family: var(--font-mono);
  font-size: 13px;
  letter-spacing: .1em;
  text-transform: uppercase;
  color: var(--text-3);
  font-weight: 600;
  margin-bottom: 2px;
}
.game-caps-table {
  display: flex;
  flex-direction: column;
  gap: 5px;
  background: var(--bg-1);
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  padding: 8px 10px;
  box-sizing: border-box;
  width: 100%;
}
.game-cap-row {
  display: grid;
  grid-template-columns: 1.15fr 1fr 1fr;
  align-items: center;
  gap: 8px;
  padding: 3px 0;
  box-sizing: border-box;
  min-width: 0;
}
.game-cap-row:not(:last-child) {
  border-bottom: 1px solid rgba(255, 255, 255, 0.04);
  padding-bottom: 4px;
}
.game-cap-key {
  color: var(--text-2);
  font-size: 12px;
  font-weight: 500;
  white-space: nowrap;
  text-align: left;
  justify-self: start;
  min-width: 0;
  overflow: hidden;
  text-overflow: ellipsis;
}

/* Base commune des badges Mode & Statut (CH-39) */
.game-cap-mode,
.game-cap-status {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 5px;
  padding: 2px 6px;
  border-radius: var(--radius-xs);
  font-size: 11.5px;
  font-weight: 600;
  white-space: nowrap;
  line-height: 1.25;
  box-sizing: border-box;
  min-width: 0;
}

/* Colonne 2 : Mode de fonctionnement (Centré) */
.game-cap-mode {
  justify-self: center;
  text-align: center;
}
.game-cap-mode::before {
  content: "";
  display: inline-block;
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: currentColor;
  flex-shrink: 0;
}

/* 🟢 Automatique : Vert (#22D3A7) */
.game-cap-mode.mode-auto {
  background: rgba(34, 211, 167, 0.08);
  border: 1px solid rgba(34, 211, 167, 0.28);
  color: #22D3A7;
}
.game-cap-mode.mode-auto::before {
  box-shadow: 0 0 5px rgba(34, 211, 167, 0.6);
}

/* 🔵 Déclaratif : Bleu (#00D1FF) */
.game-cap-mode.mode-decl {
  background: rgba(0, 209, 255, 0.08);
  border: 1px solid rgba(0, 209, 255, 0.28);
  color: #00D1FF;
}
.game-cap-mode.mode-decl::before {
  box-shadow: 0 0 5px rgba(0, 209, 255, 0.5);
}

/* ⚪ Non intégré : Gris Titane Noble (#94A3B8, zéro rouge) */
.game-cap-mode.mode-none {
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(148, 163, 184, 0.2);
  color: #94A3B8;
}
.game-cap-mode.mode-none::before {
  opacity: 0.6;
}

/* Colonne 3 : Statut d'évolution (Aligné à droite) */
.game-cap-status {
  justify-self: end;
  text-align: right;
}

/* API connectée : Vert */
.game-cap-status.status-api-connected {
  background: rgba(34, 211, 167, 0.08);
  border: 1px solid rgba(34, 211, 167, 0.28);
  color: #22D3A7;
}

/* Disponible : Bleu/Gris discret */
.game-cap-status.status-available {
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.08);
  color: var(--text-2);
}

/* Dev API ⚡ : Ambre */
.game-cap-status.status-dev-api {
  background: rgba(245, 176, 67, 0.08);
  border: 1px solid rgba(245, 176, 67, 0.28);
  color: #F5B043;
  cursor: help;
}

/* Intégration ⚙️ : Ambre */
.game-cap-status.status-integration {
  background: rgba(245, 176, 67, 0.08);
  border: 1px solid rgba(245, 176, 67, 0.28);
  color: #F5B043;
  cursor: help;
}

/* - : Discret */
.game-cap-status.status-none {
  background: transparent;
  border: none;
  color: var(--text-3);
}

/* ============================================================
   CH-46 - Auth OIDC Header, Mobile Drawer & Page Callback
   ============================================================ */
.nav-auth-wrap {
  position: relative;
  display: inline-flex;
  align-items: center;
  flex-shrink: 0;
}

.nav-auth-btn {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  min-height: 36px;
  padding: 8px 10px;
  border-radius: var(--radius-md);
  background: transparent;
  border: 1px solid transparent;
  color: var(--text-2);
  font-family: var(--font-sans);
  font-size: 14px;
  font-weight: 500;
  line-height: 1.2;
  white-space: nowrap;
  cursor: pointer;
  transition: color 0.2s var(--ease-out), background 0.2s var(--ease-out), border-color 0.2s var(--ease-out);
}

.nav-auth-btn:hover {
  background: rgba(255, 255, 255, 0.05);
  border-color: transparent;
  color: var(--text-1);
}

.nav-auth-btn .nav-auth-ic {
  color: var(--text-3);
  transition: color 0.2s var(--ease-out);
}

.nav-auth-btn:hover .nav-auth-ic {
  color: var(--olympe);
}

.nav-auth-user {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  min-height: 36px;
  padding: 8px 13px;
  border-radius: var(--radius-md);
  background: var(--bg-2);
  border: 1px solid var(--border-strong);
  color: var(--text-1);
  font-family: var(--font-sans);
  font-size: 13px;
  font-weight: 600;
  line-height: 1.2;
  white-space: nowrap;
  cursor: pointer;
  transition: border-color 0.2s var(--ease-out), background 0.2s var(--ease-out), color 0.2s var(--ease-out), box-shadow 0.2s var(--ease-out);
}

.nav-auth-user:hover,
.nav-auth-user[aria-expanded="true"] {
  background: var(--bg-3);
  border-color: var(--olympe);
  color: var(--text-1);
}

.nav-auth-btn:focus-visible,
.nav-auth-user:focus-visible,
.nav-auth-menu-item:focus-visible,
.nav-mobile-auth-btn:focus-visible,
.nav-mobile-auth-link:focus-visible,
.nav-mobile-auth-logout:focus-visible,
.auth-callback-btn:focus-visible {
  outline: 2px solid var(--olympe);
  outline-offset: 2px;
}

.nav-auth-ic {
  color: var(--olympe);
  flex-shrink: 0;
}

.nav-auth-user {
  max-width: 170px;
}

.nav-auth-tag {
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  min-width: 0;
}

.nav-auth-chev {
  color: var(--text-3);
  flex-shrink: 0;
  transition: transform 0.2s var(--ease-out);
}

.nav-auth-user[aria-expanded="true"] .nav-auth-chev {
  transform: rotate(180deg);
}

.nav-auth-menu {
  position: absolute;
  top: calc(100% + 8px);
  right: 0;
  min-width: 230px;
  max-width: 280px;
  background: var(--bg-2);
  border: 1px solid var(--border-strong);
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-elevated, 0 18px 48px -12px rgba(0, 0, 0, 0.7));
  padding: 6px;
  z-index: 1100;
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.nav-auth-menu[hidden] {
  display: none;
}

.nav-auth-menu-head {
  padding: 8px 10px 9px;
  border-bottom: 1px solid var(--border);
  margin-bottom: 4px;
}

.nav-auth-menu-tag {
  font-size: 13px;
  font-weight: 700;
  color: var(--text-1);
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.nav-auth-menu-email {
  font-size: 13px;
  color: var(--text-3);
  margin-top: 2px;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.nav-auth-orgs {
  padding: 6px 0;
  margin-bottom: 4px;
  border-bottom: 1px solid var(--border);
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.nav-auth-orgs-title {
  padding: 4px 10px;
  font-family: var(--font-mono);
  font-size: 13px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--text-3);
}

.nav-auth-org-item {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  padding: 8px 10px;
  border-radius: var(--radius-sm);
  text-decoration: none;
  color: var(--text-1);
  transition: background-color 0.15s ease;
  min-height: 44px;
}

.nav-auth-org-item:hover {
  background: var(--bg-3);
}

.nav-auth-org-info {
  min-width: 0;
  display: flex;
  flex-direction: column;
  gap: 1px;
}

.nav-auth-org-name {
  font-size: 13.5px;
  font-weight: 600;
  color: var(--text-1);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.nav-auth-org-domain {
  font-family: var(--font-mono);
  font-size: 13px;
  color: var(--olympe);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.nav-mobile-auth-orgs {
  display: flex;
  flex-direction: column;
  gap: 4px;
  padding: 8px 0;
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  margin: 6px 0;
}

.nav-auth-menu-item {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  width: 100%;
  min-height: 40px;
  padding: 8px 10px;
  border-radius: var(--radius-sm);
  font-family: var(--font-sans);
  font-size: 13px;
  font-weight: 600;
  color: var(--text-2);
  text-align: left;
  transition: background 0.16s var(--ease-out), color 0.16s var(--ease-out);
}

.nav-auth-menu-item:hover {
  background: var(--bg-3);
  color: var(--text-1);
}

.nav-auth-logout {
  color: var(--red);
}

.nav-auth-logout:hover {
  background: var(--bg-3);
  color: var(--red);
}

/* Toast feedback (ex: file:/// context) */
.nav-auth-notice {
  position: fixed;
  top: 76px;
  right: 20px;
  max-width: min(420px, calc(100vw - 32px));
  z-index: 1200;
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 12px 14px;
  border-radius: var(--radius-md);
  background: var(--bg-2);
  border: 1px solid var(--border-strong);
  box-shadow: var(--shadow-elevated, 0 16px 40px -12px rgba(0, 0, 0, 0.75));
  color: var(--text-1);
  font-size: 13px;
  line-height: 1.45;
}

.nav-auth-notice[hidden] {
  display: none;
}

.nav-auth-notice-close {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 32px;
  min-height: 32px;
  border-radius: var(--radius-sm);
  color: var(--text-2);
  font-size: 18px;
  line-height: 1;
  flex-shrink: 0;
}

.nav-auth-notice-close:hover {
  background: var(--bg-3);
  color: var(--text-1);
}

/* Calage desktop intermédiaire (1020px-1160px) : préserver le centrage des 4 liens sans compression */
@media (min-width: 861px) and (max-width: 1160px) {
  .nav .container {
    padding: 0 20px;
  }
  .nav-inner {
    gap: 14px;
  }
  .nav-links {
    gap: 20px;
  }
  .nav-cta {
    gap: 10px;
  }
  .nav-auth-btn {
    padding: 7px 8px;
    gap: 5px;
    font-size: 13.5px;
  }
  .nav-auth-user {
    padding: 7px 10px;
    gap: 5px;
    max-width: 136px;
  }
  .nav-cta .btn-sm {
    padding: 9px 14px;
    gap: 6px;
    flex-shrink: 0;
  }
  .nav-cta .btn-sm .arrow-icon {
    flex-shrink: 0;
  }
}

@media (min-width: 861px) and (max-width: 1019px) {
  .nav-inner {
    grid-template-columns: auto 1fr auto;
  }
}

/* Support explicite thème clair pour le Header & sélecteur langue Footer (CH-70-HEADER) */
html[data-theme="light"] .nav.scrolled {
  background: rgba(255, 255, 255, 0.9);
  box-shadow: 0 8px 24px -16px rgba(15, 23, 42, 0.16);
}
html[data-theme="light"] .nav-auth-btn:hover {
  background: rgba(15, 23, 42, 0.05);
}
html[data-theme="light"] .nav-lang {
  background: rgba(15, 23, 42, 0.04);
  border-color: rgba(15, 23, 42, 0.12);
}
html[data-theme="light"] .nav-lang:hover {
  background: rgba(15, 23, 42, 0.08);
  border-color: rgba(15, 23, 42, 0.2);
}
html[data-theme="light"] .nav-lang .on {
  background: rgba(15, 23, 42, 0.12);
}

/* Mobile <= 860px : barre haute inchangée, auth dédiée dans #nav-mobile */
@media (max-width: 860px) {
  .nav-auth-wrap {
    display: none;
  }
  #nav.nav.menu-open .nav-mobile {
    max-height: 560px;
  }
  .nav-auth-notice-close {
    min-width: 44px;
    min-height: 44px;
  }
}

.nav-mobile-auth {
  padding: 12px 0 4px;
  border-bottom: 1px solid var(--border);
}

.nav-mobile-auth-btn {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
  min-height: 44px;
  padding: 10px 12px;
  border-radius: var(--radius-md);
  background: var(--bg-2);
  border: 1px solid var(--border-strong);
  color: var(--text-1);
  font-family: var(--font-sans);
  font-size: 15px;
  font-weight: 600;
  cursor: pointer;
}

.nav-mobile-auth-btn:hover {
  border-color: var(--olympe);
}

.nav-mobile-auth-label {
  display: inline-flex;
  align-items: center;
  gap: 8px;
}

.nav-mobile-auth-card {
  display: flex;
  flex-direction: column;
  gap: 10px;
  padding: 12px;
  border-radius: var(--radius-md);
  background: var(--bg-2);
  border: 1px solid var(--border-strong);
}

.nav-mobile-auth-id {
  display: flex;
  align-items: center;
  gap: 10px;
  min-width: 0;
}

.nav-mobile-auth-id-text {
  display: flex;
  flex-direction: column;
  min-width: 0;
}

.nav-mobile-auth-tag {
  font-size: 14px;
  font-weight: 700;
  color: var(--text-1);
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.nav-mobile-auth-email {
  font-size: 13px;
  color: var(--text-3);
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.nav-mobile-auth-actions {
  display: grid;
  grid-template-columns: 1fr;
  gap: 8px;
}

#nav-mobile .nav-mobile-auth-link,
.nav-mobile-auth-logout {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  min-height: 44px;
  padding: 10px 12px;
  border-radius: var(--radius-sm);
  font-family: var(--font-sans);
  font-size: 13px;
  font-weight: 600;
  border: 1px solid var(--border-strong);
  background: var(--bg-3);
  color: var(--text-1);
  text-decoration: none;
  white-space: nowrap;
}

.nav-mobile-auth-logout {
  color: var(--red);
}

@media (max-width: 360px) {
  .nav-mobile-auth-actions {
    grid-template-columns: 1fr;
  }
}

/* ============ Page Callback OIDC (auth/callback.html) ============ */
.auth-callback-header {
  padding: 16px 0;
  border-bottom: 1px solid var(--border);
  background: var(--bg-1);
}

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

.auth-callback-header .nav-logo {
  min-height: 44px;
}

.auth-callback-header .nav-lang {
  display: inline-flex;
  min-height: 44px;
  min-width: 44px;
  padding: 6px 10px;
  background: var(--bg-2);
  border-color: var(--border-strong);
  color: var(--text-2);
}

.auth-callback-header .nav-lang:hover {
  background: var(--bg-3);
  border-color: var(--border-strong);
  color: var(--text-1);
}

.auth-callback-header .nav-lang .on {
  background: var(--bg-4);
  color: var(--text-1);
}

.auth-callback-main {
  min-height: calc(100vh - 77px);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 40px 0;
}

.auth-callback-container {
  display: flex;
  justify-content: center;
}

.auth-callback-card {
  width: 100%;
  max-width: 480px;
  padding: 36px 32px;
  background: var(--bg-2);
  border: 1px solid var(--border-strong);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-elevated, 0 20px 56px -14px rgba(0, 0, 0, 0.7));
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 18px;
}

.auth-callback-card .auth-callback-eyebrow {
  justify-content: center;
  padding: 6px 14px;
  border-radius: 999px;
  background: var(--olympe-soft);
  border: 1px solid var(--border-strong);
  font-size: 13px;
  line-height: 1.3;
  letter-spacing: 0.08em;
  color: var(--olympe);
  max-width: 100%;
}

.auth-callback-eyebrow::before,
.auth-callback-card .auth-callback-eyebrow::before {
  content: none;
  display: none;
}

.auth-callback-state {
  width: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 14px;
}

.auth-callback-state[hidden] {
  display: none;
}

.auth-callback-loader {
  position: relative;
  width: 76px;
  height: 76px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 4px;
}

.auth-callback-orbit {
  position: absolute;
  inset: 0;
  border-radius: 50%;
  border: 2.5px solid var(--border-strong);
  border-top-color: var(--olympe);
  border-right-color: var(--electric);
  will-change: transform;
  animation: authCbSpin 0.95s linear infinite;
}

.auth-callback-emblem {
  position: relative;
  width: 52px;
  height: 52px;
  border-radius: 50%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-sans);
  font-weight: 800;
  font-size: 24px;
  line-height: 1;
  background: linear-gradient(135deg, var(--olympe), var(--electric));
  color: var(--color-button-text, #07080f);
  box-shadow: 0 8px 24px -8px var(--olympe-glow);
}

.auth-callback-bar {
  position: relative;
  width: 100%;
  max-width: 240px;
  height: 4px;
  border-radius: 999px;
  background: var(--bg-3);
  border: 1px solid var(--border-strong);
  overflow: hidden;
  margin-top: 2px;
}

.auth-callback-bar-fill {
  display: block;
  width: 45%;
  height: 100%;
  border-radius: 999px;
  background: linear-gradient(90deg, var(--olympe), var(--electric));
  transform-origin: left center;
  will-change: transform;
  animation: authCbProgress 1.4s var(--ease-in-out, ease-in-out) infinite;
}

.auth-callback-slow {
  font-size: 13px;
  line-height: 1.5;
  color: var(--text-2);
  max-width: 36ch;
  padding: 8px 14px;
  border-radius: var(--radius-md);
  background: var(--bg-1);
  border: 1px solid var(--border);
  overflow-wrap: anywhere;
}

.auth-callback-slow[hidden] {
  display: none;
}

.auth-callback-icon {
  width: 52px;
  height: 52px;
  border-radius: 50%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: var(--olympe-soft);
  border: 1px solid var(--border-strong);
  color: var(--olympe);
}

.auth-callback-icon.is-success {
  color: var(--green);
  border-color: var(--green);
  background: var(--bg-3);
}

.auth-callback-icon.is-error {
  color: var(--red);
  border-color: var(--red);
  background: var(--bg-3);
}

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

@keyframes authCbProgress {
  0% { transform: translateX(-65%) scaleX(0.75); }
  50% { transform: translateX(65%) scaleX(1.1); }
  100% { transform: translateX(195%) scaleX(0.75); }
}

@media (prefers-reduced-motion: reduce) {
  .auth-callback-orbit {
    animation: none;
  }
  .auth-callback-bar-fill {
    animation: none;
    width: 55%;
    transform: translateX(41%);
  }
}

.auth-callback-title {
  font-family: var(--font-display);
  font-size: 22px;
  font-weight: 800;
  line-height: 1.25;
  color: var(--text-1);
  overflow-wrap: anywhere;
}

.auth-callback-tag {
  color: var(--olympe);
}

.auth-callback-sub {
  font-size: 14px;
  line-height: 1.55;
  color: var(--text-2);
  max-width: 38ch;
  overflow-wrap: anywhere;
}

.auth-callback-detail {
  width: 100%;
  padding: 10px 12px;
  border-radius: var(--radius-sm);
  background: var(--bg-1);
  border: 1px solid var(--border);
  font-family: var(--font-mono);
  font-size: 13px;
  color: var(--text-3);
  word-break: break-word;
}

.auth-callback-actions {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 10px;
  width: 100%;
  margin-top: 6px;
}

.auth-callback-btn {
  min-height: 44px;
  min-width: 132px;
  padding: 11px 20px;
  font-size: 14px;
}

@media (max-width: 480px) {
  .auth-callback-card {
    padding: 28px 20px;
  }
  .auth-callback-actions {
    flex-direction: column;
  }
  .auth-callback-btn {
    width: 100%;
  }
}

@media (max-width: 360px) {
  .auth-callback-card {
    padding: 24px 16px;
  }
  .auth-callback-title {
    font-size: 20px;
  }
}

/* ============================================================
   CH-59 - Fiche Éditeur & Composant « Organiser une compétition »
   Consomme exclusivement les tokens du Design System Olympe.
   ============================================================ */

.pub-ic {
  flex-shrink: 0;
  display: inline-block;
}

/* ── Bloc A : Fiche Éditeur / Studio / Site officiel (dans .padel-visual-card) ── */
.pub-meta-mount:empty {
  display: none;
}

.pub-meta-panel {
  border-top: 1px solid var(--border-strong);
  background: var(--bg-2);
  padding: 18px 22px 20px;
  display: flex;
  flex-direction: column;
  gap: 12px;
  min-width: 0;
}

.pub-meta-header {
  font-family: var(--font-mono);
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--olympe);
}

.pub-meta-rows {
  display: flex;
  flex-direction: column;
  gap: 10px;
  min-width: 0;
}

.pub-meta-row {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 14px;
  min-width: 0;
}

.pub-meta-row-players {
  padding-top: 10px;
  border-top: 1px solid var(--border);
  align-items: flex-start;
}

.pub-meta-key {
  font-family: var(--font-mono);
  font-size: 13px;
  color: var(--text-2);
  flex-shrink: 0;
}

.pub-meta-val {
  font-size: 14px;
  font-weight: 600;
  color: var(--text-1);
  text-align: right;
  min-width: 0;
  overflow-wrap: break-word;
}

.pub-meta-val-stack {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 2px;
}

.pub-meta-players-num {
  color: var(--green);
  font-weight: 700;
}

.pub-meta-source {
  font-size: 13px;
  font-weight: 400;
  line-height: 1.4;
  color: var(--text-2);
}

.pub-meta-link {
  display: inline-flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  min-height: 44px;
  padding: 10px 14px;
  margin-top: 2px;
  border-radius: var(--radius-md);
  background: var(--bg-1);
  border: 1px solid var(--border-strong);
  color: var(--text-1);
  text-decoration: none;
  transition: border-color 0.2s ease, background 0.2s ease, color 0.2s ease;
  min-width: 0;
}

.pub-meta-link:hover,
.pub-meta-link:focus-visible {
  border-color: var(--olympe);
  background: var(--olympe-soft);
  color: var(--text-1);
  outline: none;
}

.pub-meta-link:focus-visible {
  box-shadow: 0 0 0 3px var(--olympe-soft);
}

.pub-meta-link-main {
  display: flex;
  flex-direction: column;
  gap: 1px;
  min-width: 0;
}

.pub-meta-link-title {
  font-size: 14px;
  font-weight: 700;
  color: var(--text-1);
  line-height: 1.3;
}

.pub-meta-link-host {
  font-family: var(--font-mono);
  font-size: 13px;
  color: var(--text-2);
  line-height: 1.3;
  overflow-wrap: anywhere;
}

.pub-meta-link-ic {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 28px;
  height: 28px;
  border-radius: var(--radius-sm);
  background: var(--bg-3);
  color: var(--olympe);
  flex-shrink: 0;
}

/* ── Bloc B : « Organiser une compétition - Démarches éditeur » ── */
.pub-rules-section[hidden] {
  display: none !important;
}

.pub-rules-preview-banner {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  padding: 14px 18px;
  margin-bottom: 24px;
  border-radius: var(--radius-md);
  background: rgba(239, 159, 59, 0.12);
  border: 1px solid rgba(239, 159, 59, 0.45);
  color: var(--text-1);
  font-size: 13.5px;
  line-height: 1.5;
}

.pub-rules-preview-ic {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: var(--amber);
  margin-top: 2px;
  flex-shrink: 0;
}

.pub-rules-preview-text {
  min-width: 0;
  overflow-wrap: break-word;
}

.pub-rules-switch {
  background: var(--bg-1);
  border: 1px solid var(--border-strong);
  border-left: 3px solid var(--olympe);
  border-radius: var(--radius-lg);
  padding: 20px 24px;
  margin-bottom: 24px;
  box-shadow: var(--shadow-card);
}

.pub-rules-switch-head {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 8px;
}

.pub-rules-switch-ic {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: var(--olympe);
  flex-shrink: 0;
}

.pub-rules-switch h3 {
  font-family: var(--font-display);
  font-size: 17px;
  font-weight: 800;
  line-height: 1.3;
  color: var(--text-1);
  margin: 0;
}

.pub-rules-switch p {
  font-size: 14.5px;
  line-height: 1.6;
  color: var(--text-2);
  margin: 0;
  overflow-wrap: break-word;
}

.pub-rules-grid {
  display: grid;
  gap: 20px;
  align-items: stretch;
}

.pub-rules-grid.is-single {
  grid-template-columns: minmax(0, 1fr);
  max-width: 820px;
  margin: 0 auto;
}

.pub-rules-section.is-single-layout .pub-rules-preview-banner,
.pub-rules-section.is-single-layout .pub-rules-footnote {
  max-width: 820px;
  margin-left: auto;
  margin-right: auto;
}

.pub-rules-grid.is-two {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.pub-rules-grid.is-three {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.pub-regime-card {
  background: var(--bg-1);
  border: 1px solid var(--border-strong);
  border-radius: var(--radius-xl);
  padding: 26px 24px;
  display: flex;
  flex-direction: column;
  gap: 16px;
  min-width: 0;
  box-shadow: var(--shadow-card);
}

.pub-regime-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 8px;
}

.pub-step-pill {
  display: inline-flex;
  align-items: center;
  padding: 5px 12px;
  border-radius: 999px;
  font-family: var(--font-mono);
  font-size: 13px;
  font-weight: 700;
  line-height: 1.3;
  border: 1px solid var(--border-strong);
  background: var(--bg-2);
  color: var(--text-1);
  max-width: 100%;
  overflow-wrap: break-word;
}

.pub-step-pill.is-standard {
  background: rgba(77, 216, 164, 0.14);
  border-color: rgba(77, 216, 164, 0.38);
  color: var(--green);
}

.pub-step-pill.is-declaration {
  background: rgba(70, 169, 224, 0.14);
  border-color: rgba(70, 169, 224, 0.38);
  color: var(--color-info-100, #46A9E0);
}

.pub-step-pill.is-authorization {
  background: rgba(239, 159, 59, 0.14);
  border-color: rgba(239, 159, 59, 0.42);
  color: var(--amber);
}

.pub-step-pill.is-info {
  background: var(--bg-3);
  border-color: var(--border-strong);
  color: var(--text-2);
}

.pub-regime-index {
  font-family: var(--font-mono);
  font-size: 13px;
  font-weight: 700;
  color: var(--text-2);
  letter-spacing: 0.04em;
}

.pub-regime-title {
  font-family: var(--font-display);
  font-size: 20px;
  font-weight: 800;
  line-height: 1.25;
  letter-spacing: -0.02em;
  color: var(--text-1);
  margin: 0;
  overflow-wrap: break-word;
}

.pub-regime-condition {
  background: var(--bg-2);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  padding: 13px 15px;
  display: flex;
  flex-direction: column;
  gap: 5px;
  min-width: 0;
}

.pub-regime-condition-lbl {
  font-family: var(--font-mono);
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--olympe);
}

.pub-regime-condition p {
  font-size: 14px;
  line-height: 1.55;
  color: var(--text-1);
  margin: 0;
  overflow-wrap: break-word;
}

.pub-regime-summary {
  font-size: 14.5px;
  line-height: 1.6;
  color: var(--text-2);
  margin: 0;
  overflow-wrap: break-word;
}

.pub-regime-note {
  font-size: 13px;
  line-height: 1.5;
  color: var(--text-2);
  padding: 10px 13px;
  margin: 0;
  border-radius: var(--radius-sm);
  background: var(--bg-2);
  border-left: 2px solid var(--border-strong);
  overflow-wrap: anywhere;
}

.pub-regime-footer {
  margin-top: auto;
  padding-top: 6px;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.pub-regime-cta {
  width: 100%;
  min-height: 46px;
  padding: 12px 18px;
  justify-content: center;
  text-align: center;
  white-space: normal;
  line-height: 1.3;
  font-size: 14px;
  gap: 8px;
}

.pub-regime-login {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  font-size: 13px;
  line-height: 1.4;
  color: var(--text-2);
}

.pub-rules-footnote {
  margin-top: 24px;
  padding: 16px 20px;
  background: var(--bg-1);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 12px 20px;
}

.pub-rules-footnote-text {
  font-size: 13px;
  line-height: 1.55;
  color: var(--text-2);
  margin: 0;
  flex: 1 1 320px;
  min-width: 0;
}

.pub-rules-footnote-link {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  min-height: 44px;
  padding: 8px 14px;
  border-radius: var(--radius-sm);
  border: 1px solid var(--border-strong);
  background: var(--bg-2);
  color: var(--olympe);
  font-size: 13px;
  font-weight: 700;
  text-decoration: none;
  flex-shrink: 0;
  transition: border-color 0.2s ease, background 0.2s ease;
}

.pub-rules-footnote-link:hover,
.pub-rules-footnote-link:focus-visible {
  border-color: var(--olympe);
  background: var(--olympe-soft);
  outline: none;
}

/* ── Support explicite thème clair (si activé par DS / [data-theme="light"]) ── */
html[data-theme="light"] .pub-meta-players-num,
html[data-theme="light"] .pub-step-pill.is-standard {
  color: #0B7A4C;
}

html[data-theme="light"] .pub-step-pill.is-declaration {
  color: #0E639C;
}

html[data-theme="light"] .pub-step-pill.is-authorization,
html[data-theme="light"] .pub-rules-preview-ic {
  color: #9A5B00;
}

html[data-theme="light"] .pub-rules-preview-banner {
  background: rgba(239, 159, 59, 0.16);
  border-color: rgba(154, 91, 0, 0.45);
}

/* ============================================================
   CH-60-BIS - Carte Hero Discipline Opt-in (.disc-card-v2)
   Spécificité supérieure au <style> inline des pages disciplines.
   Consomme exclusivement les tokens du Design System Olympe.
   ============================================================ */

.disc-v2-right-col {
  display: flex;
  flex-direction: column;
  gap: 12px;
  min-width: 0;
}

.padel-visual-card.disc-card-v2 {
  overflow: visible;
  background: var(--bg-1);
  border: 1px solid var(--border-strong);
  border-radius: var(--radius-xl);
  box-shadow: var(--shadow-elevated);
}

/* ── En-tête visuel compact (152px, logo centré sans tuile) ── */
.padel-visual-card.disc-card-v2 .padel-visual-media.is-logo-showcase {
  position: relative;
  aspect-ratio: auto;
  height: 152px;
  min-height: 152px;
  padding: 20px 24px;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  border-radius: calc(var(--radius-xl) - 1px) calc(var(--radius-xl) - 1px) 0 0;
  background:
    radial-gradient(ellipse 64% 92% at 50% 48%, rgba(var(--primary-rgb), 0.14) 0%, rgba(var(--primary-rgb), 0.03) 52%, transparent 78%),
    var(--bg-2);
}

.padel-visual-card.disc-card-v2 .padel-visual-media.is-logo-showcase.is-tone-light-backdrop,
html[data-theme="light"] .padel-visual-card.disc-card-v2 .padel-visual-media.is-logo-showcase.is-tone-light-backdrop {
  background: radial-gradient(ellipse 75% 85% at 50% 45%, #FFFFFF 0%, #EFF3F8 60%, #DCE4EE 100%);
  border-bottom: 1px solid rgba(15, 23, 42, 0.08);
}

.padel-visual-card.disc-card-v2 .padel-visual-media.is-logo-showcase.is-tone-warm-dark {
  background:
    radial-gradient(ellipse 68% 92% at 50% 48%, rgba(14, 120, 214, 0.20) 0%, rgba(252, 225, 130, 0.07) 48%, transparent 78%),
    var(--bg-2);
}

.padel-visual-card.disc-card-v2 .padel-visual-media.is-logo-showcase.is-tone-dark-backdrop {
  background:
    radial-gradient(ellipse 64% 92% at 50% 48%, rgba(var(--primary-rgb), 0.14) 0%, rgba(var(--primary-rgb), 0.03) 52%, transparent 78%),
    var(--bg-2);
}

.padel-visual-card.disc-card-v2 .padel-visual-media.is-logo-showcase.is-tone-valorant {
  background:
    radial-gradient(ellipse 70% 94% at 50% 48%, rgba(255, 70, 85, 0.20) 0%, rgba(255, 70, 85, 0.05) 50%, transparent 78%),
    var(--bg-2);
}

.padel-visual-card.disc-card-v2 .padel-visual-media.is-logo-showcase img {
  width: auto;
  height: auto;
  max-height: 92px;
  max-width: min(240px, 76%);
  object-fit: contain;
  display: block;
  filter: drop-shadow(0 8px 20px rgba(0, 0, 0, 0.34));
}

.padel-visual-card.disc-card-v2 .padel-visual-media.is-logo-showcase img.is-wide-logo {
  max-width: min(290px, 82%);
  max-height: 76px;
}

.padel-visual-card.disc-card-v2 .padel-visual-media.is-logo-showcase img.is-native-100 {
  max-width: 100px;
  max-height: 92px;
}

.padel-visual-card.disc-card-v2 .padel-visual-media.is-logo-showcase img.is-vector-scale {
  width: min(240px, 76%);
  height: 92px;
}

.padel-visual-card.disc-card-v2 .padel-visual-media.is-logo-showcase img.is-wide-logo.is-vector-scale {
  width: min(290px, 82%);
  height: 76px;
}

.padel-visual-card.disc-card-v2 .padel-visual-media.is-logo-showcase img.is-invert-on-dark {
  filter: brightness(0) invert(1) drop-shadow(0 8px 18px rgba(0, 0, 0, 0.34));
}

.padel-visual-card.disc-card-v2 .padel-visual-media.is-logo-showcase.is-tone-light-backdrop img,
html[data-theme="light"] .padel-visual-card.disc-card-v2 .padel-visual-media.is-logo-showcase.is-tone-light-backdrop img {
  filter: drop-shadow(0 8px 18px rgba(15, 23, 42, 0.14));
}

/* ── Bloc séparé « Site officiel » sous la carte principale ── */
.disc-v2-official-card {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  min-height: 60px;
  padding: 14px 20px;
  border-radius: var(--radius-md);
  background: var(--bg-1);
  border: 1px solid var(--border-strong);
  box-shadow: var(--shadow-elevated);
  text-decoration: none;
  transition: border-color 0.2s ease, background 0.2s ease;
}

.disc-v2-official-card[hidden] {
  display: none !important;
}

.disc-v2-official-card:hover,
.disc-v2-official-card:focus-visible {
  border-color: var(--olympe);
  background: var(--olympe-soft);
}

.disc-v2-official-card:focus-visible {
  outline: none;
  box-shadow: 0 0 0 3px var(--olympe-soft);
}

.disc-v2-official-card-main {
  display: flex;
  flex-direction: column;
  gap: 2px;
  min-width: 0;
}

.disc-v2-official-card-title {
  font-size: 14px;
  font-weight: 700;
  line-height: 1.35;
  color: var(--text-1);
}

.disc-v2-official-card-host {
  font-family: var(--font-mono);
  font-size: 13px;
  line-height: 1.35;
  color: var(--text-2);
  overflow-wrap: anywhere;
}

.disc-v2-official-card-ic {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 32px;
  height: 32px;
  flex-shrink: 0;
  border-radius: var(--radius-sm);
  background: var(--bg-3);
  color: var(--olympe);
  transition: background 0.2s ease, transform 0.2s ease;
}

.disc-v2-official-card:hover .disc-v2-official-card-ic,
.disc-v2-official-card:focus-visible .disc-v2-official-card-ic {
  background: var(--bg-1);
  transform: translate(1px, -1px);
}

/* ── Corps structuré en 2 micro-blocs (Le jeu + Avec Olympe) ── */
.padel-visual-card.disc-card-v2 .padel-visual-specs {
  padding: 18px 22px 20px;
  display: flex;
  flex-direction: column;
  gap: 0;
  background: var(--bg-1);
  border-top: 1px solid var(--border);
  border-radius: 0 0 calc(var(--radius-xl) - 1px) calc(var(--radius-xl) - 1px);
}

.padel-visual-card.disc-card-v2 .disc-v2-group {
  display: flex;
  flex-direction: column;
  min-width: 0;
}

.padel-visual-card.disc-card-v2 .disc-v2-group-olympe {
  margin-top: 14px;
  padding-top: 14px;
  border-top: 1px solid var(--border);
}

.padel-visual-card.disc-card-v2 .disc-v2-group-title {
  font-family: var(--font-mono);
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--olympe);
  margin-bottom: 6px;
  line-height: 1.3;
}

.padel-visual-card.disc-card-v2 .padel-spec-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 8px 0;
  border-bottom: none;
  font-size: 14px;
  line-height: 1.4;
  min-width: 0;
}

.padel-visual-card.disc-card-v2 .disc-v2-group > .padel-spec-row + .padel-spec-row,
.padel-visual-card.disc-card-v2 .disc-v2-community-mount:not(:empty) {
  border-top: 1px solid var(--border);
}

.padel-visual-card.disc-card-v2 .disc-v2-community-mount[hidden] {
  display: none !important;
}

.padel-visual-card.disc-card-v2 .padel-spec-key {
  font-family: var(--font-mono);
  font-size: 13px;
  color: var(--text-2);
  flex-shrink: 0;
}

.padel-visual-card.disc-card-v2 .padel-spec-val {
  font-size: 14px;
  font-weight: 600;
  color: var(--text-1);
  text-align: right;
  min-width: 0;
  overflow-wrap: break-word;
}

.padel-visual-card.disc-card-v2 .padel-spec-val.is-mono {
  font-family: var(--font-mono);
  font-size: 13px;
  overflow-wrap: anywhere;
}

.padel-visual-card.disc-card-v2 .disc-v2-val-inline {
  display: inline-flex;
  align-items: center;
  justify-content: flex-end;
  gap: 5px 7px;
  flex-wrap: wrap;
}

.padel-visual-card.disc-card-v2 .disc-v2-studio-item {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  white-space: nowrap;
}

.padel-visual-card.disc-card-v2 .disc-v2-sep {
  color: var(--text-3);
  user-select: none;
}

.padel-visual-card.disc-card-v2 .disc-flag-ic {
  display: inline-block;
  width: 18px;
  height: 12px;
  border-radius: 2px;
  border: 1px solid rgba(255, 255, 255, 0.22);
  flex-shrink: 0;
}

/* ── Ligne Communauté + bouton [i] accessible + infobulle source ── */
.padel-visual-card.disc-card-v2 .disc-v2-community-row {
  position: relative;
}

.padel-visual-card.disc-card-v2 .disc-v2-community-val {
  display: inline-flex;
  align-items: center;
  justify-content: flex-end;
  gap: 2px;
  flex-wrap: nowrap;
  max-width: 100%;
}

.padel-visual-card.disc-card-v2 .disc-v2-players-num {
  color: var(--green);
  font-weight: 700;
}

.padel-visual-card.disc-card-v2 .disc-v2-info-wrap {
  display: inline-flex;
  align-items: center;
  flex-shrink: 0;
}

.padel-visual-card.disc-card-v2 .disc-v2-info-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  min-width: 44px;
  min-height: 44px;
  margin: -10px -10px -10px 2px;
  padding: 0;
  border: none;
  background: transparent;
  cursor: pointer;
  color: var(--text-2);
}

.padel-visual-card.disc-card-v2 .disc-v2-info-dot {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 24px;
  height: 24px;
  border-radius: 50%;
  background: var(--bg-2);
  border: 1px solid var(--border-strong);
  font-family: var(--font-mono);
  font-size: 13px;
  font-weight: 700;
  line-height: 1;
  color: var(--text-2);
  transition: border-color 0.2s ease, background 0.2s ease, color 0.2s ease;
}

.padel-visual-card.disc-card-v2 .disc-v2-info-btn:hover .disc-v2-info-dot,
.padel-visual-card.disc-card-v2 .disc-v2-info-btn:focus-visible .disc-v2-info-dot,
.padel-visual-card.disc-card-v2 .disc-v2-info-wrap.is-open .disc-v2-info-dot {
  border-color: var(--olympe);
  background: var(--olympe-soft);
  color: var(--olympe);
}

.padel-visual-card.disc-card-v2 .disc-v2-info-btn:focus-visible {
  outline: none;
}

.padel-visual-card.disc-card-v2 .disc-v2-info-btn:focus-visible .disc-v2-info-dot {
  box-shadow: 0 0 0 3px var(--olympe-soft);
}

.padel-visual-card.disc-card-v2 .disc-v2-popover {
  position: absolute;
  right: 0;
  top: calc(100% + 6px);
  z-index: 30;
  width: min(300px, 100%);
  max-width: 100%;
  padding: 10px 12px;
  border-radius: var(--radius-md);
  background: var(--bg-2);
  border: 1px solid var(--border-strong);
  box-shadow: var(--shadow-elevated);
  text-align: left;
  display: flex;
  flex-direction: column;
  gap: 3px;
}

.padel-visual-card.disc-card-v2 .disc-v2-popover[hidden] {
  display: none !important;
}

.padel-visual-card.disc-card-v2 .disc-v2-popover-lbl {
  font-family: var(--font-mono);
  font-size: 13px;
  font-weight: 700;
  color: var(--olympe);
  line-height: 1.3;
}

.padel-visual-card.disc-card-v2 .disc-v2-popover-txt {
  font-family: var(--font-sans);
  font-size: 13px;
  font-weight: 400;
  line-height: 1.45;
  color: var(--text-1);
  overflow-wrap: break-word;
}

/* ── Support explicite thème clair (html[data-theme="light"]) ── */
html[data-theme="light"] .padel-visual-card.disc-card-v2 {
  box-shadow: 0 12px 32px -10px rgba(15, 23, 42, 0.12), 0 2px 6px rgba(15, 23, 42, 0.06);
}

html[data-theme="light"] .padel-visual-card.disc-card-v2 .padel-visual-media.is-logo-showcase {
  background:
    radial-gradient(ellipse 64% 92% at 50% 48%, rgba(var(--primary-rgb), 0.08) 0%, transparent 74%),
    var(--bg-2);
}

html[data-theme="light"] .padel-visual-card.disc-card-v2 .padel-visual-media.is-logo-showcase.is-tone-warm-dark {
  background:
    radial-gradient(ellipse 68% 92% at 50% 48%, rgba(14, 120, 214, 0.18) 0%, rgba(252, 225, 130, 0.06) 48%, transparent 78%),
    #1A1D28;
}

html[data-theme="light"] .padel-visual-card.disc-card-v2 .padel-visual-media.is-logo-showcase.is-tone-dark-backdrop {
  background:
    radial-gradient(ellipse 64% 92% at 50% 48%, rgba(var(--primary-rgb), 0.14) 0%, rgba(var(--primary-rgb), 0.03) 52%, transparent 78%),
    #1A1D28;
}

html[data-theme="light"] .padel-visual-card.disc-card-v2 .padel-visual-media.is-logo-showcase.is-tone-valorant {
  background:
    radial-gradient(ellipse 70% 94% at 50% 48%, rgba(255, 70, 85, 0.22) 0%, rgba(255, 70, 85, 0.05) 50%, transparent 78%),
    #1A1D28;
}

html[data-theme="light"] .padel-visual-card.disc-card-v2 .padel-visual-media.is-logo-showcase img {
  filter: drop-shadow(0 6px 14px rgba(15, 23, 42, 0.16));
}

html[data-theme="light"] .padel-visual-card.disc-card-v2 .padel-visual-media.is-logo-showcase img.is-invert-on-dark {
  filter: brightness(0) invert(1) drop-shadow(0 8px 18px rgba(0, 0, 0, 0.34));
}

html[data-theme="light"] .disc-v2-official-card {
  box-shadow: 0 10px 24px -10px rgba(15, 23, 42, 0.10), 0 2px 6px rgba(15, 23, 42, 0.05);
}

html[data-theme="light"] .disc-v2-official-card:hover,
html[data-theme="light"] .disc-v2-official-card:focus-visible {
  background: var(--olympe-soft);
}

html[data-theme="light"] .padel-visual-card.disc-card-v2 .disc-flag-ic {
  border-color: rgba(15, 23, 42, 0.16);
}

html[data-theme="light"] .padel-visual-card.disc-card-v2 .disc-v2-players-num {
  color: #0B7A4C;
}

html[data-theme="light"] .padel-visual-card.disc-card-v2 .disc-v2-popover {
  background: var(--bg-1);
  box-shadow: 0 12px 28px rgba(15, 23, 42, 0.14), 0 2px 6px rgba(15, 23, 42, 0.08);
}

/* ── Responsive Mobile (iPhone SE 375px & Repli 320px) ── */
@media (max-width: 560px) {
  .padel-visual-card.disc-card-v2 .padel-visual-specs {
    padding: 16px 18px 18px;
  }
  .padel-visual-card.disc-card-v2 .padel-spec-row {
    flex-direction: column;
    align-items: flex-start;
    gap: 3px;
    padding: 9px 0;
  }
  .padel-visual-card.disc-card-v2 .padel-spec-val {
    text-align: left;
  }
  .padel-visual-card.disc-card-v2 .disc-v2-val-inline {
    justify-content: flex-start;
  }
  .padel-visual-card.disc-card-v2 .disc-v2-community-val {
    justify-content: flex-start;
    flex-wrap: wrap;
    gap: 4px;
  }
  .padel-visual-card.disc-card-v2 .disc-v2-info-btn {
    margin: -10px 0 -10px -4px;
  }
  .padel-visual-card.disc-card-v2 .disc-v2-popover {
    left: 0;
    right: 0;
    width: 100%;
  }
}

@media (max-width: 400px) {
  .padel-visual-card.disc-card-v2 .padel-visual-media.is-logo-showcase {
    height: 140px;
    min-height: 140px;
    padding: 18px 16px;
  }
  .padel-visual-card.disc-card-v2 .padel-visual-media.is-logo-showcase img {
    max-height: 84px;
  }
  .padel-visual-card.disc-card-v2 .padel-visual-media.is-logo-showcase img.is-wide-logo {
    max-width: min(260px, 86%);
    max-height: 68px;
  }
  .padel-visual-card.disc-card-v2 .padel-visual-media.is-logo-showcase img.is-vector-scale {
    height: 84px;
  }
  .padel-visual-card.disc-card-v2 .padel-visual-media.is-logo-showcase img.is-wide-logo.is-vector-scale {
    width: min(260px, 86%);
    height: 68px;
  }
  .padel-visual-card.disc-card-v2 .padel-visual-specs {
    padding: 14px 14px 16px;
  }
  .disc-v2-official-card {
    padding: 12px 16px;
  }
}

/* ============================================================
   CH-62 - Encart Sur-mesure Entreprise + Volet Freemium Discord
   Spécificité supérieure au <style> inline des 70 pages disciplines.
   ============================================================ */

.padel-custom-band .padel-wl-sub.is-community-note {
  margin-top: 6px;
  padding-top: 12px;
  border-top: 1px solid var(--border);
  font-size: 14.5px;
  line-height: 1.55;
  color: var(--text-2);
}

.padel-custom-band .padel-wl-sub.is-community-note strong {
  color: var(--text-1);
  font-weight: 700;
}

.padel-custom-band .padel-wl-actions {
  display: flex;
  flex-direction: column;
  align-items: stretch;
  justify-content: center;
  gap: 10px;
  flex: 0 0 auto;
  min-width: 0;
  max-width: 100%;
}

.padel-custom-band .padel-wl-actions .btn {
  min-height: 44px;
  justify-content: center;
  text-align: center;
  white-space: normal;
  line-height: 1.3;
}

@media (max-width: 860px) {
  .padel-custom-band .padel-wl-actions {
    width: 100%;
    flex: 1 1 100%;
  }
  .padel-custom-band .padel-wl-actions .btn {
    width: 100%;
  }
}

/* === Disciplines Marquee Band (Home FR/EN - Option 2 / Variante A) === */
.disc-marquee-band {
  background: transparent;
  padding: 28px 0 8px;
  position: relative;
}

.disc-marquee-shell {
  display: flex;
  flex-direction: column;
  align-items: stretch;
  gap: 18px;
}

.disc-marquee-viewport {
  width: 100%;
  min-width: 0;
  overflow: hidden;
  position: relative;
  touch-action: pan-y;
  cursor: grab;
  user-select: none;
  -webkit-user-select: none;
  -webkit-mask-image: linear-gradient(to right, transparent 0%, #000 56px, #000 calc(100% - 56px), transparent 100%);
  mask-image: linear-gradient(to right, transparent 0%, #000 56px, #000 calc(100% - 56px), transparent 100%);
}

.disc-marquee-viewport.is-dragging {
  cursor: grabbing;
}

.disc-marquee-track {
  display: flex;
  align-items: center;
  width: max-content;
  will-change: transform;
}

.disc-marquee-list {
  display: flex;
  align-items: flex-start;
  gap: 32px;
  padding: 4px 32px 4px 0;
  margin: 0;
  list-style: none;
  flex-shrink: 0;
}

.disc-marquee-item {
  flex-shrink: 0;
  white-space: nowrap;
}

.disc-marquee-link {
  display: inline-flex;
  flex-direction: column;
  align-items: center;
  justify-content: flex-start;
  gap: 8px;
  text-align: center;
  text-decoration: none;
  color: inherit;
  border-radius: var(--radius-md);
  padding: 4px;
  transition: transform 0.2s ease;
}

.disc-marquee-link:hover,
.disc-marquee-link:focus-visible {
  transform: translateY(-2px);
}

.disc-marquee-link:focus-visible {
  outline: 2px solid var(--olympe);
  outline-offset: 2px;
}

.disc-marquee-thumb {
  width: 76px;
  height: 54px;
  border-radius: var(--radius-md);
  border: 1px solid var(--border);
  background: var(--bg-2);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  flex-shrink: 0;
  padding: 8px;
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.disc-marquee-link:hover .disc-marquee-thumb,
.disc-marquee-link:focus-visible .disc-marquee-thumb {
  border-color: var(--olympe);
  box-shadow: 0 0 0 2px rgba(var(--primary-rgb), 0.25);
}

.disc-marquee-thumb.is-photo {
  padding: 0;
}

.disc-marquee-thumb img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  display: block;
  pointer-events: none;
  user-select: none;
  -webkit-user-drag: none;
}

.disc-marquee-thumb.is-photo img {
  object-fit: cover;
}

.disc-marquee-name {
  font-family: var(--font-sans);
  font-size: 13.5px;
  font-weight: 600;
  color: var(--text-1);
  line-height: 1.25;
  letter-spacing: -0.01em;
  transition: color 0.2s ease;
}

.disc-marquee-link:hover .disc-marquee-name,
.disc-marquee-link:focus-visible .disc-marquee-name {
  color: var(--olympe);
}

.disc-marquee-foot {
  display: flex;
  justify-content: center;
}

.disc-marquee-cta {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 11px 22px;
  min-height: 44px;
  border-radius: var(--radius-md);
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid var(--border-strong);
  color: var(--text-1);
  font-family: var(--font-sans);
  font-size: 14px;
  font-weight: 600;
  white-space: nowrap;
  text-decoration: none;
  transition: border-color 0.2s ease, background 0.2s ease;
}

.disc-marquee-cta-arrow {
  color: var(--olympe);
  transition: transform 0.2s ease;
}

.disc-marquee-cta:hover,
.disc-marquee-cta:focus-visible {
  border-color: rgba(var(--primary-rgb), 0.55);
  background: rgba(var(--primary-rgb), 0.1);
}

.disc-marquee-cta:focus-visible {
  outline: 2px solid var(--olympe);
  outline-offset: 2px;
}

.disc-marquee-cta:hover .disc-marquee-cta-arrow {
  transform: translateX(3px);
}

@keyframes disc-marquee-scroll {
  from { transform: translate3d(0, 0, 0); }
  to   { transform: translate3d(-50%, 0, 0); }
}

@media (prefers-reduced-motion: reduce) {
  .disc-marquee-track,
  .disc-marquee-track.is-ready {
    animation: none !important;
    width: auto;
  }
  .disc-marquee-list--clone {
    display: none !important;
  }
  .disc-marquee-viewport {
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    -webkit-mask-image: none;
    mask-image: none;
    padding-bottom: 4px;
  }
}

/* ============================================================
   DESKTOP VERTICAL SCROLL-SPY DOT NAVIGATION (Home & Disciplines)
   ============================================================ */
.scroll-dots-nav {
  display: none;
}

@media (min-width: 1360px) {
  .scroll-dots-nav {
    position: fixed;
    right: 20px;
    top: 50%;
    transform: translateY(-50%);
    z-index: 90;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 10px;
    padding: 10px 6px;
    border-radius: 999px;
    transition: opacity 0.2s ease;
  }
  body.cw-modal-open .scroll-dots-nav {
    opacity: 0;
    pointer-events: none;
  }
  .scroll-dot-btn {
    position: relative;
    width: 22px;
    height: 22px;
    padding: 0;
    border: none;
    background: transparent;
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    outline: none;
  }
  .scroll-dot-pip {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: var(--text-3);
    opacity: 0.42;
    transition: transform 0.22s ease, background-color 0.22s ease, opacity 0.22s ease, box-shadow 0.22s ease;
  }
  .scroll-dot-btn:hover .scroll-dot-pip,
  .scroll-dot-btn:focus-visible .scroll-dot-pip {
    opacity: 0.85;
    transform: scale(1.25);
    background: var(--text-1);
  }
  .scroll-dot-btn.is-active .scroll-dot-pip {
    width: 11px;
    height: 11px;
    opacity: 1;
    background: var(--olympe);
    box-shadow: 0 0 0 4px var(--olympe-soft);
    transform: none;
  }
  .scroll-dot-btn:focus-visible {
    box-shadow: 0 0 0 2px var(--olympe);
  }
  .scroll-dot-tip {
    position: absolute;
    right: calc(100% + 10px);
    top: 50%;
    transform: translateY(-50%) translateX(6px);
    opacity: 0;
    pointer-events: none;
    white-space: nowrap;
    padding: 6px 12px;
    border-radius: 999px;
    background: var(--bg-2);
    border: 1px solid var(--border-strong);
    color: var(--text-1);
    font-family: var(--font-sans);
    font-size: 13px;
    font-weight: 600;
    line-height: 1.2;
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.22);
    transition: opacity 0.16s ease, transform 0.16s ease;
  }
  .scroll-dot-btn:hover .scroll-dot-tip,
  .scroll-dot-btn:focus-visible .scroll-dot-tip {
    opacity: 1;
    transform: translateY(-50%) translateX(0);
  }
  .scroll-dot-btn.is-active .scroll-dot-tip {
    border-color: var(--olympe);
    color: var(--olympe);
  }
}

@media (prefers-reduced-motion: reduce) {
  .scroll-dots-nav,
  .scroll-dot-pip,
  .scroll-dot-tip {
    transition: none !important;
  }
}

/* ============ Unified Contact UX v3.6 (.ct-*) ============ */
#contact {
  scroll-margin-top: 96px;
}
.contact-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: 48px;
  align-items: start;
}
.ct-section-contact {
  padding: 40px 0 120px;
}
.ct-contact-title {
  font-size: clamp(34px, 4.3vw, 52px);
}
.ct-contact-meta-list {
  margin-top: 32px;
  display: flex;
  flex-direction: column;
  gap: 16px;
}
.ct-contact-meta-item {
  display: flex;
  gap: 14px;
  align-items: flex-start;
}
.ct-contact-meta-ic {
  width: 36px;
  height: 36px;
  border-radius: var(--radius-sm);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}
.ct-contact-meta-ic.is-olympe {
  background: var(--olympe-soft);
  color: var(--olympe);
}
.ct-contact-meta-ic.is-electric {
  background: var(--electric-soft);
  color: var(--electric);
}
.ct-contact-meta-ic.is-green {
  background: rgba(77, 216, 164, 0.14);
  color: var(--green);
}
.ct-contact-meta-title {
  font-weight: 600;
  font-size: 14px;
  color: var(--text-1);
}
.ct-contact-meta-title a {
  color: var(--text-1);
  text-decoration: underline;
}
.ct-contact-meta-sub {
  color: var(--text-3);
  font-size: 13px;
  margin-top: 2px;
}
.ct-direct-box {
  margin-top: 28px;
  background: var(--bg-1);
  border: 1px solid var(--border-strong);
  border-radius: var(--radius-lg);
  padding: 20px;
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.ct-direct-label {
  font-family: var(--font-mono);
  font-size: 13px;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--text-2);
}
.ct-direct-email {
  font-family: var(--font-mono);
  font-size: 15px;
  font-weight: 700;
  color: var(--olympe);
  overflow-wrap: anywhere;
}
.ct-direct-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}
.ct-direct-actions .btn {
  min-height: 44px;
}
.ct-honest-note {
  font-size: 13.5px;
  line-height: 1.5;
  color: var(--text-2);
  background: var(--bg-2);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  padding: 12px 14px;
  margin-bottom: 18px;
}
.ct-row-2 {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
}
.ct-select-sr {
  position: absolute !important;
  width: 1px !important;
  height: 1px !important;
  min-height: 0 !important;
  padding: 0 !important;
  margin: -1px !important;
  overflow: hidden !important;
  clip: rect(0, 0, 0, 0) !important;
  white-space: nowrap !important;
  border: 0 !important;
  pointer-events: none !important;
}
.ct-pill-group {
  position: relative;
}
.ct-pill-group > label {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
}
.ct-label-hint {
  font-family: var(--font-sans);
  text-transform: none;
  letter-spacing: 0;
  font-size: 13px;
  color: var(--text-3);
  font-weight: 400;
  white-space: nowrap;
  flex-shrink: 0;
}
.ct-pill-row {
  display: grid;
  gap: 8px;
}
.ct-pill-row.cols-2 {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}
.ct-pill-row.cols-3 {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}
.ct-pill-row.cols-4 {
  grid-template-columns: repeat(4, minmax(0, 1fr));
}
.ct-pill-row.is-wrap {
  display: flex;
  flex-wrap: wrap;
}
.ct-pill {
  min-height: 44px;
  padding: 8px 12px;
  border-radius: var(--radius-sm);
  background: var(--bg-2);
  border: 1px solid var(--border-strong);
  color: var(--text-2);
  font-family: var(--font-sans);
  font-size: 13.5px;
  font-weight: 600;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  line-height: 1.25;
  min-width: 0;
  transition: border-color 0.16s ease, background-color 0.16s ease, color 0.16s ease, box-shadow 0.16s ease;
}
.ct-pill-row.is-wrap .ct-pill {
  flex: 1 1 auto;
}
.ct-pill:hover {
  border-color: var(--olympe);
  color: var(--text-1);
  background: var(--bg-3);
}
.ct-pill.is-active {
  background: var(--olympe-soft);
  border: 1.5px solid var(--olympe);
  color: var(--text-1);
  box-shadow: 0 0 0 1px rgba(var(--primary-rgb), 0.15);
}
.ct-pill:focus-visible {
  outline: none;
  border-color: var(--olympe);
  box-shadow: 0 0 0 3px var(--olympe-soft);
}
.ct-submit-btn {
  width: 100%;
  min-height: 48px;
  justify-content: center;
  margin-top: 6px;
}

/* Qualification visuelle (Portée, Mono/Multi-jeux, Pays Chrome) */
.ct-qual-wrap {
  display: flex;
  flex-direction: column;
  gap: 14px;
  margin-bottom: 14px;
}
.ct-qual-wrap .form-group {
  margin-bottom: 0;
}
.ct-scope-grid {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 8px;
}
.ct-scope-tile {
  min-height: 54px;
  padding: 8px 6px;
  border-radius: var(--radius-sm);
  background: var(--bg-2);
  border: 1px solid var(--border-strong);
  color: var(--text-2);
  font-family: var(--font-sans);
  font-size: 13px;
  font-weight: 600;
  cursor: pointer;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 4px;
  text-align: center;
  line-height: 1.2;
  transition: border-color 0.16s ease, background-color 0.16s ease, color 0.16s ease, box-shadow 0.16s ease;
}
.ct-scope-ic {
  color: var(--text-3);
  flex-shrink: 0;
  transition: color 0.16s ease;
}
.ct-scope-tile:hover {
  border-color: var(--olympe);
  color: var(--text-1);
  background: var(--bg-3);
}
.ct-scope-tile.is-active {
  background: var(--olympe-soft);
  border: 1.5px solid var(--olympe);
  color: var(--text-1);
  box-shadow: 0 0 0 1px rgba(var(--primary-rgb), 0.16);
}
.ct-scope-tile.is-active .ct-scope-ic {
  color: var(--olympe);
}
.ct-scope-tile:focus-visible,
.ct-mode-card:focus-visible {
  outline: none;
  border-color: var(--olympe);
  box-shadow: 0 0 0 3px var(--olympe-soft);
}
.ct-mode-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
}
.ct-mode-card {
  min-height: 56px;
  padding: 10px 12px;
  border-radius: var(--radius-md);
  background: var(--bg-2);
  border: 1px solid var(--border-strong);
  color: var(--text-2);
  font-family: var(--font-sans);
  cursor: pointer;
  display: flex;
  align-items: center;
  gap: 10px;
  text-align: left;
  transition: border-color 0.16s ease, background-color 0.16s ease, color 0.16s ease, box-shadow 0.16s ease;
}
.ct-mode-card:hover {
  border-color: var(--olympe);
  background: var(--bg-3);
}
.ct-mode-card.is-active {
  background: var(--olympe-soft);
  border: 1.5px solid var(--olympe);
  box-shadow: 0 0 0 1px rgba(var(--primary-rgb), 0.16);
}
.ct-mode-card-ic {
  width: 34px;
  height: 34px;
  border-radius: var(--radius-sm);
  background: var(--bg-3);
  border: 1px solid var(--border);
  color: var(--text-2);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}
.ct-mode-card.is-active .ct-mode-card-ic {
  background: rgba(var(--primary-rgb), 0.18);
  border-color: rgba(var(--primary-rgb), 0.4);
  color: var(--olympe);
}
.ct-mode-card-text {
  display: flex;
  flex-direction: column;
  gap: 2px;
  min-width: 0;
  flex: 1;
}
.ct-mode-card-title {
  font-size: 13.5px;
  font-weight: 700;
  color: var(--text-1);
  line-height: 1.25;
}
.ct-mode-card-sub {
  font-size: 13px;
  color: var(--text-3);
  line-height: 1.25;
}
.ct-mode-card-check {
  width: 20px;
  height: 20px;
  border-radius: 50%;
  border: 1.5px solid var(--border-strong);
  color: transparent;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  transition: background-color 0.16s ease, border-color 0.16s ease, color 0.16s ease;
}
.ct-mode-card.is-active .ct-mode-card-check {
  background: var(--olympe);
  border-color: var(--olympe);
  color: #FFFFFF;
}
.ct-country-wrap {
  position: relative;
  display: flex;
  align-items: center;
}
.ct-country-ic {
  position: absolute;
  left: 12px;
  color: var(--text-3);
  pointer-events: none;
}
.ct-country-wrap .ct-country-input {
  width: 100%;
  min-height: 44px;
  padding-left: 38px;
  font-size: 14px;
}
@media (max-width: 600px) {
  .ct-scope-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .ct-scope-tile:last-child {
    grid-column: 1 / -1;
    min-height: 46px;
    flex-direction: row;
    gap: 8px;
  }
}
@media (max-width: 360px) {
  .ct-mode-grid {
    grid-template-columns: 1fr;
  }
}

/* Form 2-step stepper (.ct-stepper*) */
.ct-stepper {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 8px;
  margin-bottom: 16px;
}
.ct-stepper-tab {
  min-height: 44px;
  padding: 8px 10px;
  border-radius: var(--radius-sm);
  background: var(--bg-2);
  border: 1px solid var(--border);
  color: var(--text-3);
  font-family: var(--font-sans);
  font-size: 13px;
  font-weight: 600;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-width: 0;
  transition: border-color 0.16s ease, background-color 0.16s ease, color 0.16s ease;
}
.ct-stepper-tab:hover {
  border-color: var(--border-strong);
  color: var(--text-1);
}
.ct-stepper-tab.is-active {
  background: var(--olympe-soft);
  border: 1.5px solid var(--olympe);
  color: var(--text-1);
}
.ct-stepper-tab.is-done {
  border-color: var(--border-strong);
  color: var(--text-2);
}
.ct-stepper-tab:focus-visible {
  outline: none;
  border-color: var(--olympe);
  box-shadow: 0 0 0 3px var(--olympe-soft);
}
.ct-stepper-num {
  width: 22px;
  height: 22px;
  border-radius: 50%;
  background: var(--bg-3);
  border: 1px solid var(--border-strong);
  color: var(--text-2);
  font-size: 13px;
  font-weight: 700;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}
.ct-stepper-tab.is-active .ct-stepper-num {
  background: var(--olympe);
  border-color: var(--olympe);
  color: #FFFFFF;
}
.ct-stepper-tab.is-done .ct-stepper-num {
  background: rgba(77, 216, 164, 0.18);
  border-color: rgba(77, 216, 164, 0.45);
  color: var(--green);
}
.ct-step-pane[hidden] {
  display: none !important;
}
.ct-step-actions {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  gap: 10px;
  align-items: center;
  margin-top: 8px;
}
.ct-step-actions .ct-submit-btn {
  margin-top: 0;
}
.ct-step-back {
  min-height: 48px;
  padding: 0 16px;
  white-space: nowrap;
}
@media (max-width: 380px) {
  .ct-step-back {
    padding: 0 12px;
  }
}

/* Unified Contact Modal (.ct-modal-*) */
.ct-modal-overlay {
  display: none;
  position: fixed;
  inset: 0;
  z-index: 10050;
  background: rgba(6, 8, 15, 0.78);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  align-items: center;
  justify-content: center;
  padding: 16px;
}
.ct-modal-overlay.is-open {
  display: flex;
}
.ct-modal-box {
  background: var(--bg-1);
  border: 1px solid var(--border-strong);
  border-radius: var(--radius-xl);
  max-width: 560px;
  width: 100%;
  max-height: 90vh;
  overflow-y: auto;
  padding: 28px 26px;
  position: relative;
  box-shadow: 0 24px 60px rgba(0, 0, 0, 0.6);
  box-sizing: border-box;
}
.ct-modal-close {
  position: absolute;
  top: 12px;
  right: 12px;
  width: 44px;
  height: 44px;
  min-width: 44px;
  min-height: 44px;
  border-radius: 50%;
  background: var(--bg-2);
  border: 1px solid var(--border);
  color: var(--text-2);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: background 0.2s ease, color 0.2s ease, border-color 0.2s ease;
}
.ct-modal-close:hover {
  background: var(--bg-3);
  border-color: var(--border-strong);
  color: var(--text-1);
}
.ct-modal-close:focus-visible {
  outline: 2px solid var(--olympe);
  outline-offset: 2px;
}
.ct-modal-kicker {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 4px 12px;
  border-radius: 999px;
  background: var(--olympe-soft);
  border: 1px solid rgba(var(--primary-rgb), 0.3);
  color: var(--olympe);
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.03em;
  text-transform: uppercase;
  margin-bottom: 10px;
  max-width: calc(100% - 52px);
  box-sizing: border-box;
}
.ct-modal-title {
  font-family: var(--font-display);
  font-size: 23px;
  font-weight: 800;
  color: var(--text-1);
  margin: 0 0 6px;
  padding-right: 44px;
  line-height: 1.25;
}
.ct-modal-sub {
  color: var(--text-2);
  font-size: 14px;
  line-height: 1.5;
  margin: 0 0 16px;
}
.ct-modal-box .form-group {
  margin-bottom: 14px;
}

/* Unified Post-Submit Sent Screen (.ct-sent) */
.ct-sent {
  display: none;
  flex-direction: column;
  gap: 14px;
}
.ct-sent.is-visible {
  display: flex;
}
.ct-sent-head {
  display: flex;
  align-items: center;
  gap: 14px;
  padding-right: 40px;
}
.ct-sent-ic {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: var(--olympe-soft);
  color: var(--olympe);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}
.ct-sent-title {
  font-family: var(--font-display);
  font-size: 20px;
  font-weight: 800;
  color: var(--text-1);
}
.ct-sent-sub {
  font-size: 14px;
  line-height: 1.55;
  color: var(--text-2);
  margin: 0;
}
.ct-preview {
  margin: 0;
  padding: 14px 16px;
  background: var(--bg-2);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  font-family: var(--font-mono);
  font-size: 13px;
  line-height: 1.55;
  color: var(--text-1);
  white-space: pre-wrap;
  word-break: break-word;
  overflow-x: hidden;
  max-height: 260px;
  overflow-y: auto;
  scrollbar-width: thin;
  scrollbar-color: var(--border-strong) transparent;
}
.contact-card .ct-preview {
  max-height: 360px;
}
.ct-preview::-webkit-scrollbar {
  width: 8px;
}
.ct-preview::-webkit-scrollbar-track {
  background: transparent;
  margin: 8px 0;
}
.ct-preview::-webkit-scrollbar-thumb {
  background: var(--border-strong);
  border-radius: 999px;
  border: 2px solid transparent;
  background-clip: content-box;
}
.ct-preview::-webkit-scrollbar-thumb:hover {
  background: var(--text-3);
  background-clip: content-box;
}
.ct-sent-actions {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
}
.ct-sent-actions .btn {
  min-height: 44px;
  justify-content: center;
  text-align: center;
}
.ct-sent-actions .ct-mailto-primary {
  grid-column: 1 / -1;
  width: 100%;
  min-height: 48px;
}
.ct-sent-actions .ct-copy-btn {
  width: 100%;
}
.ct-sent-foot {
  grid-column: 1 / -1;
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  align-items: center;
  gap: 8px;
}
.ct-sent-foot .ct-edit-btn {
  width: auto;
  min-height: 44px;
  padding: 8px 16px;
  background: transparent;
  border-color: transparent;
  color: var(--text-2);
  font-weight: 500;
}
.ct-sent-foot .ct-edit-btn::before {
  content: "\2190\00a0";
}
.ct-sent-foot .ct-edit-btn:hover {
  color: var(--text-1);
  background: var(--bg-2);
  border-color: var(--border);
}

@media (max-width: 900px) {
  .contact-grid {
    grid-template-columns: minmax(0, 1fr);
    gap: 32px;
  }
}
@media (max-width: 600px) {
  .ct-row-2 {
    grid-template-columns: minmax(0, 1fr);
  }
}
@media (max-width: 560px) {
  .ct-pill-row.cols-4 {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .ct-pill-row.cols-3 {
    grid-template-columns: minmax(0, 1fr);
  }
  .ct-direct-actions,
  .ct-sent-actions {
    grid-template-columns: minmax(0, 1fr);
  }
  .ct-direct-actions {
    flex-direction: column;
    align-items: stretch;
  }
  .ct-direct-actions .btn,
  .ct-sent-actions .btn {
    width: 100%;
    white-space: normal;
    line-height: 1.3;
  }
  .ct-sent-foot {
    flex-direction: column;
    align-items: stretch;
  }
  .ct-sent-foot .btn {
    width: 100%;
  }
}
@media (max-width: 480px) {
  .ct-modal-overlay {
    padding: 12px;
  }
  .ct-modal-box {
    padding: 20px 16px;
  }
  .ct-modal-title {
    font-size: 20px;
  }
  .contact-card {
    padding: 22px 16px;
  }
}
@media (max-width: 360px) {
  .ct-pill-row.cols-2 {
    grid-template-columns: minmax(0, 1fr);
  }
}
