/* Premium layer — typography, atmosphere, motion (keeps brand violet) */

:root {
  --black: #06060c;
  --deep: #0c0c16;
  --violet: #6b21f5;
  --vivid: #7c3aed;
  --glow: #c4b5fd;
  --white: #f7f5ff;
  --muted: rgba(247, 245, 255, 0.58);
  --border: rgba(167, 139, 250, 0.22);
  --font-sans: "Outfit", "Avenir Next", "Avenir", sans-serif;
  --font-display: "Syne", "Outfit", sans-serif;
}

html { font-size: 17px; }

body {
  font-family: var(--font-sans);
  background:
    radial-gradient(1200px 600px at 80% -10%, rgba(107, 33, 245, 0.22), transparent 55%),
    radial-gradient(900px 500px at -10% 30%, rgba(76, 29, 149, 0.18), transparent 50%),
    var(--black);
  color: var(--white);
  letter-spacing: 0.01em;
}

/* Soft film grain — premium atmosphere, not flat AI purple */
body::before {
  content: "";
  pointer-events: none;
  position: fixed;
  inset: 0;
  z-index: 500;
  opacity: 0.035;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 200 200' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.85' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
}

nav {
  background: rgba(6, 6, 12, 0.72);
  backdrop-filter: blur(18px) saturate(1.2);
  border-bottom: 1px solid rgba(167, 139, 250, 0.14);
}

.nav-logo,
.nav-link,
nav a.nav-btn,
.section-eyebrow,
.section-title,
.hero-info h1,
.hero-btn-text strong,
.tier-title,
.tier-price,
.channel-name,
.speaker-name,
.organisateur-name,
.cta-final h2,
.inscription-aside h3,
.inscription-card h3 {
  font-family: var(--font-display);
}

.nav-link {
  font-weight: 600;
  font-size: 0.78rem;
  letter-spacing: 0.08em;
}

nav a.nav-btn {
  border-radius: 4px;
  letter-spacing: 0.08em;
}

.nav-btn-register {
  animation: none !important;
  box-shadow: none !important;
  background: linear-gradient(180deg, #7c3aed 0%, #5b21b6 100%);
  border: 1px solid rgba(255, 255, 255, 0.12);
}
.nav-btn-register:hover {
  background: linear-gradient(180deg, #8b5cf6 0%, #6d28d9 100%);
}

.hero-info h1 {
  font-weight: 700;
  letter-spacing: -0.02em;
  line-height: 1.12;
}

.hero-badge {
  border-radius: 999px;
  border-color: rgba(196, 181, 253, 0.35);
  background: rgba(107, 33, 245, 0.16);
  letter-spacing: 0.06em;
  text-transform: uppercase;
  font-size: 0.72rem;
  font-weight: 600;
}

.hero-btn {
  border-radius: 4px;
}
.hero-btn-primary {
  background: linear-gradient(180deg, #7c3aed 0%, #5b21b6 100%);
  border: 1px solid rgba(255, 255, 255, 0.1);
}
.hero-btn-secondary .material-symbols-outlined {
  animation: none !important;
}

.section-eyebrow {
  letter-spacing: 0.18em;
  font-size: 0.72rem;
  color: var(--glow);
  text-transform: uppercase;
  font-weight: 600;
}

.section-title {
  letter-spacing: -0.025em;
  font-weight: 700;
}

.channel-card,
.tier-card,
.faq-item,
.inscription-card,
.partner-card,
.speaker-card {
  border-radius: 2px;
  transition: border-color 0.25s ease, background 0.25s ease, transform 0.35s ease;
}

.channel-card:hover,
.tier-card:hover {
  transform: translateY(-3px);
}

.tier-card.featured {
  background: rgba(107, 33, 245, 0.09);
  box-shadow: inset 0 0 0 1px rgba(167, 139, 250, 0.25);
}

.ticker-wrap {
  border-color: rgba(167, 139, 250, 0.14);
  background: rgba(12, 12, 22, 0.8);
}

/* Sticky CTA — discrete, not pill spam */
.sticky-register {
  border-radius: 4px;
  text-transform: none;
  letter-spacing: 0.04em;
  font-family: var(--font-display);
  font-weight: 700;
  background: rgba(12, 12, 22, 0.92);
  border: 1px solid rgba(167, 139, 250, 0.45);
  backdrop-filter: blur(12px);
  box-shadow: none;
  opacity: 1;
  transition: opacity 0.25s ease, transform 0.25s ease, background 0.2s;
}
.sticky-register:hover {
  background: rgba(107, 33, 245, 0.9);
  transform: translateY(-2px);
}
.sticky-register.is-hidden {
  opacity: 0;
  pointer-events: none;
  transform: translateY(12px);
}
@media (max-width: 560px) {
  .sticky-register {
    border-radius: 4px;
  }
}

/* Inscription — quieter, editorial */
.inscription-section {
  background:
    linear-gradient(180deg, rgba(107, 33, 245, 0.08), transparent 40%),
    var(--deep);
}

.inscription-card {
  border: 1px solid rgba(167, 139, 250, 0.28);
  border-radius: 2px;
  padding: 32px 28px;
  background: rgba(6, 6, 12, 0.65);
}

.form-field input,
.form-field select,
.form-field textarea {
  border-radius: 2px;
  background: rgba(8, 8, 16, 0.9);
  border-color: rgba(167, 139, 250, 0.22);
}
.form-field input:focus,
.form-field select:focus,
.form-field textarea:focus {
  box-shadow: 0 0 0 2px rgba(124, 58, 237, 0.35);
}

.btn-google {
  border-radius: 2px;
  font-family: var(--font-sans);
  font-weight: 600;
}

.form-google-hint {
  letter-spacing: 0.02em;
}

/* Reveal motion */
.reveal {
  opacity: 0;
  transform: translateY(18px);
  transition: opacity 0.7s cubic-bezier(0.22, 1, 0.36, 1),
    transform 0.7s cubic-bezier(0.22, 1, 0.36, 1);
}
.reveal-in {
  opacity: 1;
  transform: none;
}

@media (prefers-reduced-motion: reduce) {
  .reveal,
  .reveal-in {
    opacity: 1;
    transform: none;
    transition: none;
  }
  .sticky-register.is-hidden {
    opacity: 0;
  }
}

/* Hide educational demo chrome if present */
.demo-banner { display: none !important; }
