/* =============================================
   LA BOUTIQUE DE SORTS — Styles principaux
   BrainDeadGames | Ludo & Rabah
   ============================================= */

:root {
  --violet: #2d1b69;
  --violet-dark: #130c2e;
  --violet-mid: #3d2490;
  --violet-light: #6b46c1;
  --gold: #f0b429;
  --gold-light: #fcd34d;
  --gold-dark: #b7791f;
  --bleu: #1e3a8a;
  --bleu-light: #3b82f6;
  --cyan: #06b6d4;
  --orange: #ea580c;
  --cream: #fef3c7;
  --text-light: #e2d9f3;
}

* { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; }

body {
  background: var(--violet-dark);
  color: var(--text-light);
  font-family: 'Lato', sans-serif;
  overflow-x: hidden;
}

::-webkit-scrollbar { width: 6px; }
::-webkit-scrollbar-track { background: var(--violet-dark); }
::-webkit-scrollbar-thumb { background: var(--gold); border-radius: 3px; }

/* ========= PARTICLES ========= */
#particles-canvas {
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: 0;
}

/* ========= NAVIGATION ========= */
nav {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 200;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 18px 48px;
  transition: background 0.4s, padding 0.4s;
}

nav.scrolled {
  background: rgba(19,12,46,0.96);
  backdrop-filter: blur(12px);
  padding: 12px 48px;
  border-bottom: 1px solid rgba(107,70,193,0.2);
}

.nav-brand {
  display: flex;
  align-items: center;
  gap: 14px;
  text-decoration: none;
}

.nav-brand-logo {
  height: 58px;
  filter: drop-shadow(0 0 8px rgba(240,180,41,0.3));
}

.nav-brand-text {
  font-family: 'Cinzel', serif;
  font-size: 14px;
  letter-spacing: 3px;
  color: var(--gold);
  text-transform: uppercase;
  line-height: 1.4;
}

.nav-brand-text span {
  display: block;
  color: rgba(226,217,243,0.5);
  font-size: 11px;
  letter-spacing: 4px;
}

/* Desktop nav links */
.nav-links-desktop {
  display: flex;
  gap: 36px;
  list-style: none;
  align-items: center;
}

.nav-links-desktop a {
  color: rgba(226,217,243,0.75);
  text-decoration: none;
  font-family: 'Cinzel', serif;
  font-size: 13px;
  letter-spacing: 2px;
  text-transform: uppercase;
  transition: color 0.3s;
  position: relative;
  padding-bottom: 4px;
}

.nav-links-desktop a::after {
  content: '';
  position: absolute;
  bottom: 0; left: 0; right: 0;
  height: 1px;
  background: var(--gold);
  transform: scaleX(0);
  transition: transform 0.3s;
  transform-origin: center;
}

.nav-links-desktop a:hover { color: var(--gold); }
.nav-links-desktop a:hover::after { transform: scaleX(1); }

.nav-links-desktop .btn-nav-ulule {
  background: linear-gradient(135deg, #f0b429, #d97706);
  color: #1a0f3e;
  font-family: 'Cinzel', serif;
  font-size: 13px;
  font-weight: 700;
  padding: 12px 26px;
  border-radius: 3px;
  letter-spacing: 1px;
  transition: all 0.3s;
  box-shadow: 0 2px 12px rgba(240,180,41,0.3);
}

.nav-links-desktop .btn-nav-ulule::after { display: none; }
.nav-links-desktop .btn-nav-ulule:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(240,180,41,0.5);
  color: #1a0f3e;
}

/* Burger button */
.burger {
  display: none;
  flex-direction: column;
  gap: 5px;
  cursor: pointer;
  padding: 8px;
  background: transparent;
  border: none;
  z-index: 300;
}

.burger-line {
  width: 26px;
  height: 2px;
  background: var(--gold);
  border-radius: 2px;
  transition: all 0.35s cubic-bezier(0.16, 1, 0.3, 1);
  transform-origin: center;
}

.burger.open .burger-line:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.burger.open .burger-line:nth-child(2) { opacity: 0; transform: scaleX(0); }
.burger.open .burger-line:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* Mobile menu overlay */
.mobile-menu {
  position: fixed;
  inset: 0;
  z-index: 250;
  background: rgba(19,12,46,0.97);
  backdrop-filter: blur(20px);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 8px;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.4s;
}

.mobile-menu.open {
  opacity: 1;
  pointer-events: all;
}

.mobile-menu-decoration {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse 60% 60% at 20% 20%, rgba(107,70,193,0.15) 0%, transparent 70%),
    radial-gradient(ellipse 50% 50% at 80% 80%, rgba(30,58,138,0.15) 0%, transparent 70%);
  pointer-events: none;
}

.mobile-nav-link {
  font-family: 'Cinzel Decorative', cursive;
  font-size: clamp(22px, 5vw, 36px);
  color: rgba(226,217,243,0.7);
  text-decoration: none;
  letter-spacing: 3px;
  transition: all 0.3s;
  padding: 12px 40px;
  position: relative;
  text-align: center;
}

.mobile-nav-link::before {
  content: '✦';
  position: absolute;
  left: 0;
  top: 50%;
  transform: translateY(-50%);
  color: var(--gold);
  opacity: 0;
  font-size: 16px;
  transition: all 0.3s;
}

.mobile-nav-link:hover { color: var(--gold); }
.mobile-nav-link:hover::before { opacity: 1; }

.mobile-menu-divider {
  width: 60px;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(240,180,41,0.4), transparent);
  margin: 8px 0;
}

.mobile-btn-ulule {
  background: linear-gradient(135deg, #f0b429, #d97706);
  color: #1a0f3e;
  font-family: 'Cinzel Decorative', cursive;
  font-size: 16px;
  font-weight: 700;
  padding: 16px 40px;
  border-radius: 4px;
  letter-spacing: 1px;
  text-decoration: none;
  margin-top: 16px;
  transition: all 0.3s;
  box-shadow: 0 4px 24px rgba(240,180,41,0.4);
}

.mobile-btn-ulule:hover {
  transform: translateY(-3px);
  box-shadow: 0 8px 40px rgba(240,180,41,0.6);
}

.mobile-menu-studio {
  position: absolute;
  bottom: 32px;
  font-family: 'Cinzel', serif;
  font-size: 10px;
  letter-spacing: 3px;
  color: rgba(226,217,243,0.3);
}

/* ========= HERO ========= */
#hero {
  min-height: 100vh;
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: flex-start;
  overflow: hidden;
  z-index: 1;
  padding: 110px 24px 400px;
}

.hero-bg {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse 90% 70% at 50% -10%, rgba(107,70,193,0.45) 0%, transparent 65%),
    radial-gradient(ellipse 50% 40% at 15% 85%, rgba(30,58,138,0.3) 0%, transparent 60%),
    radial-gradient(ellipse 40% 40% at 85% 75%, rgba(234,88,12,0.12) 0%, transparent 60%),
    var(--violet-dark);
}

.hero-bg::before {
  content: '';
  position: absolute;
  bottom: 0; left: 0; right: 0;
  height: 200px;
  background: linear-gradient(to bottom, transparent, var(--violet-dark));
  z-index: 1;
  pointer-events: none;
}

.hero-bg::after {
  content: '';
  position: absolute;
  inset: 0;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='300' height='300'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='4' stitchTiles='stitch'/%3E%3CfeColorMatrix type='saturate' values='0'/%3E%3C/filter%3E%3Crect width='300' height='300' filter='url(%23n)' opacity='0.035'/%3E%3C/svg%3E");
  pointer-events: none;
}

.hero-studio-badge {
  position: relative;
  z-index: 2;
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 28px;
  opacity: 0;
  animation: fadeInDown 0.8s ease forwards;
  animation-delay: 0.2s;
}

.hero-studio-badge img {
  height: 52px;
  filter: drop-shadow(0 0 6px rgba(240,180,41,0.2));
}

.hero-studio-badge-text {
  font-family: 'Cinzel', serif;
  font-size: 13px;
  letter-spacing: 4px;
  text-transform: uppercase;
  color: rgba(226,217,243,0.5);
}

.hero-location {
  position: relative;
  z-index: 2;
  font-family: 'Cinzel', serif;
  font-size: 13px;
  letter-spacing: 8px;
  text-transform: uppercase;
  color: var(--gold-light);
  opacity: 0;
  animation: fadeInDown 0.8s ease forwards;
  animation-delay: 0.4s;
  margin-bottom: 20px;
  text-align: center;
}

.hero-logo-wrap {
  position: relative;
  z-index: 2;
  opacity: 0;
  animation: logoAppear 1.2s ease forwards;
  animation-delay: 0.6s;
  margin-bottom: 28px;
}

.hero-logo {
  width: min(500px, 88vw); /*640px trop grand une fois le fond de l'image cropé*/
  mix-blend-mode: multiply;
  filter: drop-shadow(0 0 30px rgba(107,70,193,0.5)) drop-shadow(0 0 60px rgba(240,180,41,0.15));
}

.hero-tagline {
  position: relative;
  z-index: 2;
  font-family: 'Cinzel', serif;
  font-size: clamp(16px, 2vw, 22px);
  color: rgba(226,217,243,0.85);
  letter-spacing: 1.5px;
  text-align: center;
  max-width: 680px;
  line-height: 1.9;
  margin-bottom: 40px;
  opacity: 0;
  animation: fadeInUp 0.9s ease forwards;
  animation-delay: 1s;
}

.hero-tagline em {
  color: var(--gold);
  font-style: normal;
}

.hero-cta-block {
  position: relative;
  z-index: 2;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 14px;
  margin-bottom: 0;
  opacity: 0;
  animation: fadeInUp 0.9s ease forwards;
  animation-delay: 1.2s;
}

.hero-ulule-label {
  font-family: 'Cinzel', serif;
  font-size: 13px;
  letter-spacing: 5px;
  text-transform: uppercase;
  color: var(--gold);
  opacity: 0.8;
}

.hero-cta-buttons {
  display: flex;
  gap: 14px;
  flex-wrap: wrap;
  justify-content: center;
  align-items: center;
}

.btn-ulule-hero {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  background: linear-gradient(135deg, #f0b429 0%, #d97706 100%);
  color: #1a0f3e;
  font-family: 'Cinzel Decorative', cursive;
  font-size: 17px;
  font-weight: 700;
  padding: 22px 48px;
  border: none;
  border-radius: 4px;
  cursor: pointer;
  text-decoration: none;
  letter-spacing: 1px;
  position: relative;
  overflow: hidden;
  transition: transform 0.25s, box-shadow 0.25s;
  box-shadow: 0 6px 30px rgba(240,180,41,0.45), inset 0 1px 0 rgba(255,255,255,0.2);
}

.btn-ulule-hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(255,255,255,0.25) 0%, transparent 60%);
  opacity: 0;
  transition: opacity 0.3s;
}

.btn-ulule-hero:hover {
  transform: translateY(-4px);
  box-shadow: 0 12px 50px rgba(240,180,41,0.65), inset 0 1px 0 rgba(255,255,255,0.2);
}
.btn-ulule-hero:hover::before { opacity: 1; }

.btn-ulule-pulse {
  position: absolute;
  inset: -3px;
  border-radius: 6px;
  border: 2px solid var(--gold);
  opacity: 0;
  animation: buttonPulse 2.5s ease-in-out infinite;
  animation-delay: 2s;
  pointer-events: none;
}

.btn-secondary-hero {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: transparent;
  color: rgba(226,217,243,0.75);
  font-family: 'Cinzel', serif;
  font-size: 14px;
  padding: 22px 32px;
  border: 1px solid rgba(107,70,193,0.5);
  border-radius: 4px;
  cursor: pointer;
  text-decoration: none;
  letter-spacing: 2px;
  transition: all 0.3s;
}

.btn-secondary-hero:hover {
  border-color: rgba(240,180,41,0.6);
  color: var(--gold);
  background: rgba(240,180,41,0.05);
}

.univers-lore-link {
  margin-top: 26px;
  padding-top: 20px;
  border-top: 1px solid rgba(240,180,41,0.22);
  color: rgba(226,217,243,0.78);
}

.univers-lore-link a {
  color: var(--gold);
  font-family: 'Cinzel', serif;
  font-weight: 700;
  text-decoration: none;
  border-bottom: 1px solid rgba(240,180,41,0.45);
}

.univers-lore-link a:hover {
  color: var(--gold-light);
  border-bottom-color: var(--gold-light);
}

/* Mages flanking */
.hero-mages {
  position: absolute;
  bottom: 40px;
  left: 0; right: 0;
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  pointer-events: none;
  z-index: 1;
  height: 320px;
}

.hero-mage-left {
  width: clamp(200px, 26vw, 380px);
  filter: drop-shadow(0 0 20px rgba(107,70,193,0.4));
  transform: scaleX(-1);
  opacity: 0;
  animation: slideInLeft 1.2s ease forwards;
  animation-delay: 1.5s;
  mix-blend-mode: screen;
}

.hero-mage-right {
  width: clamp(200px, 26vw, 380px);
  filter: drop-shadow(0 0 20px rgba(234,88,12,0.3));
  opacity: 0;
  animation: slideInRight 1.2s ease forwards;
  animation-delay: 1.7s;
  mix-blend-mode: screen;
}

.hero-scroll {
  position: absolute;
  bottom: 12px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 3;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 6px;
  opacity: 0;
  animation: fadeIn 1s ease forwards;
  animation-delay: 2.5s;
}

.hero-scroll {
  bottom: 24px;
  gap: 8px;
}

.hero-scroll-label {
  font-family: 'Cinzel', serif;
  font-size: 11px;
  letter-spacing: 5px;
  color: rgba(240,180,41,0.78);
  text-transform: uppercase;
  text-shadow: 0 0 12px rgba(240,180,41,0.35);
  animation: scrollTextPulse 2.2s ease-in-out infinite;
}

.scroll-line {
  width: 2px;
  height: 46px;
  background: linear-gradient(
    to bottom,
    transparent,
    rgba(240,180,41,0.95),
    transparent
  );
  border-radius: 999px;
  box-shadow: 0 0 14px rgba(240,180,41,0.42);
  animation: scrollDropVisible 2.2s ease-in-out infinite;
}


@keyframes scrollDropVisible {
  0% {
    opacity: 0;
    transform: scaleY(0.25) translateY(-8px);
  }

  45% {
    opacity: 1;
    transform: scaleY(1) translateY(0);
  }

  100% {
    opacity: 0;
    transform: scaleY(0.45) translateY(14px);
  }
}

@keyframes scrollTextPulse {
  0%, 100% {
    opacity: 0.58;
    transform: translateY(0);
  }

  50% {
    opacity: 1;
    transform: translateY(3px);
  }
}

/* ========= SECTIONS BASE ========= */
section { position: relative; z-index: 1; }

.section-inner {
  max-width: 1100px;
  margin: 0 auto;
  padding: 0 48px;
}

.section-eyebrow {
  font-family: 'Cinzel', serif;
  font-size: 12px;
  letter-spacing: 6px;
  text-transform: uppercase;
  color: var(--gold);
  opacity: 0.7;
  margin-bottom: 14px;
}

.section-title {
  font-family: 'Cinzel Decorative', cursive;
  font-size: clamp(32px, 4.5vw, 56px);
  color: white;
  line-height: 1.25;
  margin-bottom: 20px;
}

.section-title span { color: var(--gold); }

.gold-rule {
  width: 70px;
  height: 2px;
  background: linear-gradient(90deg, transparent, var(--gold), transparent);
  margin: 18px 0 28px;
}

/* ========= UNIVERS ========= */
#univers {
  padding: 130px 0;
  background: linear-gradient(180deg, var(--violet-dark) 0%, #1c1042 50%, var(--violet-dark) 100%);
}

.univers-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: center;
}

.univers-body p {
  font-size: 17px;
  line-height: 1.95;
  color: rgba(226,217,243,0.82);
  margin-bottom: 18px;
}

.univers-body p strong { color: var(--gold-light); }

.univers-visual {
  display: flex;
  justify-content: center;
}

.boite-wrap {
  position: relative;
  display: inline-block;
}

.boite-img {
  width: 100%;
  max-width: 360px;
  filter: drop-shadow(0 24px 60px rgba(107,70,193,0.55)) drop-shadow(0 0 30px rgba(240,180,41,0.18));
  animation: float 7s ease-in-out infinite;
  transition: transform 0.4s;
}

.boite-img:hover { transform: scale(1.05) rotate(3deg); }

.boite-glow {
  position: absolute;
  bottom: -30px; left: 50%;
  transform: translateX(-50%);
  width: 180px; height: 30px;
  background: radial-gradient(ellipse, rgba(107,70,193,0.4) 0%, transparent 70%);
  filter: blur(8px);
  animation: float 7s ease-in-out infinite;
}

/* ========= SORTS ========= */
#sorts { padding: 130px 0; }

.sorts-header {
  text-align: center;
  margin-bottom: 64px;
}

.sorts-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}

.sort-card {
  min-height: 230px;
  background: linear-gradient(145deg, rgba(45,27,105,0.75) 0%, rgba(19,12,46,0.9) 100%);
  border: 1px solid rgba(107,70,193,0.25);
  border-radius: 8px;
  padding: 34px 22px 26px;
  position: relative;
  overflow: hidden;
  text-align: left;
  transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1), border-color 0.4s, box-shadow 0.4s;
  cursor: default;
}

.sort-card::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 2px;
  background: linear-gradient(90deg, transparent, var(--gold), transparent);
  opacity: 0;
  transition: opacity 0.4s;
}

.sort-card:hover {
  border-color: rgba(240,180,41,0.35);
  transform: translateY(-7px);
  box-shadow: 0 24px 60px rgba(19,12,46,0.7);
}
.sort-card:hover::before { opacity: 1; }

.sort-badge {
  position: absolute;
  top: 14px;
  right: 14px;
  z-index: 2;
  font-family: 'Cinzel', serif;
  font-size: 10px;
  letter-spacing: 2px;
  text-transform: uppercase;
  padding: 5px 12px;
  border-radius: 2px;
  background: rgba(240,180,41,0.1);
  border: 1px solid rgba(240,180,41,0.25);
  color: var(--gold);
}

.sort-icon {
  width: 62px;
  height: 62px;
  display: flex;
  align-items: center;
  justify-content: flex-start;
  margin: 0 0 18px 0;
}

.sort-icon img {
  width: 58px;
  height: 58px;
  object-fit: contain;
  display: block;
  filter: drop-shadow(0 4px 5px rgba(0,0,0,0.35));
  transition: transform 0.2s ease, filter 0.2s ease;
}

.sort-card:hover .sort-icon img {
  transform: translateY(-3px);
  filter: drop-shadow(0 0 8px rgba(255,200,100,0.58));
}

.sort-name {
  max-width: calc(100% - 8px);
  font-family: 'Cinzel', serif;
  font-size: 16px;
  line-height: 1.25;
  color: var(--gold-light);
  margin-bottom: 12px;
  font-weight: 700;
}

.sort-desc {
  font-size: 15px;
  line-height: 1.75;
  color: rgba(226,217,243,0.68);
}

/* ========= JOUER ========= */
#jouer {
  padding: 120px 0 80px;
  background: linear-gradient(180deg, var(--violet-dark) 0%, rgba(30,58,138,0.15) 50%, var(--violet-dark) 100%);
}

.jouer-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: center;
}

.steps {
  display: flex;
  flex-direction: column;
  gap: 30px;
  margin-top: 36px;
}

.step {
  display: flex;
  gap: 18px;
  align-items: flex-start;
}

.step-num {
  font-family: 'Cinzel Decorative', cursive;
  font-size: 30px;
  color: rgba(240,180,41,0.18);
  line-height: 1;
  min-width: 48px;
  font-weight: 900;
}

.step-body h3 {
  font-family: 'Cinzel', serif;
  font-size: 18px;
  color: var(--gold-light);
  margin-bottom: 7px;
}

.step-body p {
  font-size: 16px;
  line-height: 1.8;
  color: rgba(226,217,243,0.72);
}

.duel-scene {
  position: relative;
  height: 380px;
  display: flex;
  justify-content: center;
  align-items: flex-end;
}

.duel-mage {
  width: 48%;
  max-width: 240px;
  filter: drop-shadow(0 10px 30px rgba(107,70,193,0.45));
  mix-blend-mode: screen;
}

.duel-mage.dl { animation: floatFlip 5.5s ease-in-out infinite; }
.duel-mage.dr { animation: float 5.5s ease-in-out infinite; animation-delay: 0.9s; }

.vs {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  font-family: 'Cinzel Decorative', cursive;
  font-size: 52px;
  font-weight: 900;
  color: var(--gold);
  text-shadow: 0 0 30px rgba(240,180,41,0.8), 0 0 70px rgba(240,180,41,0.35);
  animation: pulsate 2s ease-in-out infinite;
  z-index: 2;
}

/* ========= ULULE ========= */
#ulule {
  padding: 130px 0;
  text-align: center;
  position: relative;
  overflow: hidden;
}

.ulule-bg-glow {
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse 90% 60% at 50% 80%, rgba(107,70,193,0.18) 0%, transparent 75%);
}

.ulule-inner {
  position: relative;
  z-index: 2;
  max-width: 720px;
  margin: 0 auto;
  padding: 0 40px;
}

.ulule-card {
  background: linear-gradient(145deg, rgba(45,27,105,0.85) 0%, rgba(19,12,46,0.95) 100%);
  border: 1px solid rgba(240,180,41,0.28);
  border-radius: 14px;
  padding: 56px 48px;
  position: relative;
  overflow: hidden;
  box-shadow: 0 0 100px rgba(107,70,193,0.25);
  margin-top: 48px;
}

.ulule-card::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 3px;
  background: linear-gradient(90deg, var(--violet-light), var(--gold), var(--bleu-light), var(--gold), var(--violet-light));
  background-size: 300% 100%;
  animation: shimmer 4s linear infinite;
}

.ulule-owl { font-size: 60px; display: block; margin-bottom: 20px; animation: float 4s ease-in-out infinite; }

.ulule-card-title {
  font-family: 'Cinzel Decorative', cursive;
  font-size: clamp(22px, 3vw, 34px);
  color: white;
  margin-bottom: 16px;
}

.ulule-card-sub {
  font-size: 17px;
  line-height: 1.85;
  color: rgba(226,217,243,0.75);
  margin-bottom: 40px;
  max-width: 520px;
  margin-left: auto;
  margin-right: auto;
}

.ulule-card-sub strong { color: var(--gold-light); }

.btn-ulule-main {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  background: linear-gradient(135deg, #f0b429 0%, #d97706 100%);
  color: #1a0f3e;
  font-family: 'Cinzel Decorative', cursive;
  font-size: 18px;
  font-weight: 700;
  padding: 22px 56px;
  border: none;
  border-radius: 4px;
  cursor: pointer;
  text-decoration: none;
  letter-spacing: 1px;
  position: relative;
  overflow: hidden;
  transition: all 0.3s;
  box-shadow: 0 6px 30px rgba(240,180,41,0.45);
  margin-bottom: 16px;
}

.btn-ulule-main:hover {
  transform: translateY(-4px);
  box-shadow: 0 12px 50px rgba(240,180,41,0.65);
}

.ulule-note {
  font-family: 'Cinzel', serif;
  font-size: 10px;
  letter-spacing: 3px;
  color: rgba(226,217,243,0.3);
  display: block;
}


/* ========= NEWSLETTER / PRÉ-LANCEMENT ========= */

#newsletter.bds-newsletter-section {
  position: relative;
  z-index: 1;
  padding: 78px 20px 72px;
  background:
    radial-gradient(ellipse 80% 55% at 50% 42%, rgba(107,70,193,0.26) 0%, transparent 72%),
    radial-gradient(ellipse 60% 42% at 50% 64%, rgba(240,180,41,0.07) 0%, transparent 72%),
    linear-gradient(180deg, var(--violet-dark) 0%, #1a0f3e 18%, #25125a 56%, var(--violet-dark) 100%);
  text-align: center;
  overflow: hidden;
}

#newsletter.bds-newsletter-section::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image:
    radial-gradient(circle at 20% 35%, rgba(240,180,41,0.12) 0 1px, transparent 2px),
    radial-gradient(circle at 78% 58%, rgba(59,130,246,0.14) 0 1px, transparent 2px),
    radial-gradient(circle at 48% 82%, rgba(240,180,41,0.10) 0 1px, transparent 2px);
  opacity: 0.45;
  pointer-events: none;
}

#newsletter.bds-newsletter-section::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: -1px;
  height: 120px;
  background: linear-gradient(to bottom, transparent, var(--violet-dark));
  pointer-events: none;
}

#newsletter .bds-newsletter-glow {
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse 55% 36% at 50% 46%, rgba(107,70,193,0.32) 0%, transparent 72%);
  pointer-events: none;
}

#newsletter .bds-newsletter-inner {
  position: relative;
  z-index: 2;
  max-width: 760px;
  margin: 0 auto;
}

#newsletter .newsletter-eyebrow {
  text-align: center;
}

#newsletter .newsletter-main-title {
  text-align: center;
  margin-bottom: 44px;
}

#newsletter .bds-brevo-wrapper {
  max-width: 680px;
  margin: 0 auto;
  text-align: center;
}

#newsletter .bds-message {
  display: none;
  max-width: 680px !important;
  margin: 0 auto 18px !important;
  padding: 14px 18px !important;
  border-radius: 8px !important;
  font-family: 'Lato', sans-serif !important;
  font-size: 15px !important;
  line-height: 1.5;
  text-align: center !important;
}

#newsletter .bds-error {
  background-color: #ffeded !important;
  color: #661d1d !important;
  border: 1px solid #ff4949 !important;
}

#newsletter .bds-success {
  background-color: #e7faf0 !important;
  color: #085229 !important;
  border: 1px solid #13ce66 !important;
}

#newsletter #sib-container.bds-newsletter-card {
  width: 100%;
  max-width: 680px !important;
  margin: 0 auto !important;
  padding: 48px 48px !important;
  border-radius: 14px !important;
  border: 1px solid rgba(240,180,41,0.35) !important;
  background: linear-gradient(145deg, rgba(45,27,105,0.88) 0%, rgba(19,12,46,0.97) 100%) !important;
  box-shadow: 0 0 90px rgba(107,70,193,0.28);
  color: var(--text-light);
  text-align: center !important;
  overflow: hidden;
  position: relative;
  direction: ltr;
}

#newsletter #sib-container.bds-newsletter-card::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: linear-gradient(90deg, var(--violet-light), var(--gold), var(--bleu-light), var(--gold), var(--violet-light));
  background-size: 300% 100%;
  animation: shimmer 4s linear infinite;
}

#newsletter #sib-form {
  max-width: 520px;
  margin: 0 auto !important;
  text-align: center !important;
}

#newsletter .bds-kicker {
  margin: 0 0 18px;
  font-family: 'Cinzel', serif;
  color: var(--gold);
  font-size: 12px;
  letter-spacing: 6px;
  text-transform: uppercase;
  opacity: 0.85;
  text-align: center;
}

#newsletter .bds-newsletter-title {
  margin: 0 0 24px;
  font-family: 'Cinzel Decorative', cursive;
  color: #fff;
  font-size: clamp(30px, 4.5vw, 44px);
  line-height: 1.18;
  text-transform: uppercase;
  text-align: center;
}

#newsletter .bds-newsletter-text {
  max-width: 520px;
  margin: 0 auto 34px;
  color: rgba(226,217,243,0.78);
  font-size: 17px;
  line-height: 1.9;
  text-align: center;
}

#newsletter .bds-field-wrapper {
  padding: 0 !important;
  margin: 0 auto 20px !important;
  max-width: 520px;
  text-align: center !important;
}

#newsletter .form__entry,
#newsletter .form__label-row {
  text-align: center !important;
}

#newsletter .bds-label {
  display: block;
  margin-bottom: 10px;
  font-family: 'Cinzel', serif !important;
  color: var(--gold-light) !important;
  font-size: 13px !important;
  font-weight: 700 !important;
  letter-spacing: 3px;
  text-transform: uppercase;
  text-align: left !important;
}

#newsletter .bds-input-wrapper,
#newsletter .entry__field {
  width: 100% !important;
  max-width: 520px !important;
  margin: 0 auto !important;
  border: none !important;
  background: transparent !important;
}

#newsletter .bds-input {
  width: 100% !important;
  min-height: 56px;
  padding: 0 18px !important;
  border: 1px solid rgba(240,180,41,0.45) !important;
  border-radius: 4px !important;
  background: rgba(255,255,255,0.07) !important;
  color: #fff !important;
  font-family: 'Lato', sans-serif !important;
  font-size: 16px !important;
  transition: border-color 0.25s, box-shadow 0.25s, background 0.25s;
}

#newsletter .bds-input::placeholder {
  color: rgba(226,217,243,0.42) !important;
}

#newsletter .bds-input:focus {
  outline: none !important;
  border-color: var(--gold) !important;
  background: rgba(255,255,255,0.09) !important;
  box-shadow: 0 0 0 3px rgba(240,180,41,0.16) !important;
}

#newsletter .bds-button-wrapper {
  display: flex;
  justify-content: center;
  align-items: center;
  width: 100%;
  margin: 18px auto 0;
  text-align: center;
}

#newsletter .bds-button {
  display: inline-flex !important;
  align-items: center;
  justify-content: center;
  margin: 0 auto !important;
  min-height: 58px;
  min-width: 300px;
  padding: 0 34px !important;
  border: none !important;
  border-radius: 4px !important;
  background: linear-gradient(135deg, #f0b429 0%, #d97706 100%) !important;
  color: #1a0f3e !important;
  font-family: 'Cinzel Decorative', cursive !important;
  font-weight: 700 !important;
  font-size: 16px !important;
  letter-spacing: 1px;
  text-transform: none;
  cursor: pointer;
  box-shadow: 0 6px 30px rgba(240,180,41,0.35);
  transition: transform 0.25s, box-shadow 0.25s;
}

#newsletter .bds-button:hover {
  transform: translateY(-3px);
  box-shadow: 0 12px 46px rgba(240,180,41,0.55);
}

#newsletter .bds-button svg {
  width: 18px;
  height: 18px;
  margin-right: 10px;
}

#newsletter .bds-legal {
  max-width: 500px;
  margin: 22px auto 0;
  color: rgba(226,217,243,0.48);
  font-size: 13px;
  line-height: 1.7;
  text-align: center;
}

#newsletter .bds-entry-error {
  display: none;
  margin-top: 10px !important;
  padding: 10px 12px !important;
  border-radius: 6px !important;
  color: #661d1d !important;
  background-color: #ffeded !important;
  border: 1px solid #ff4949 !important;
  font-family: 'Lato', sans-serif !important;
  font-size: 14px !important;
  text-align: left !important;
}

#newsletter .bds-entry-error:not(:empty) {
  display: block !important;
}

/* Nettoyage des styles Brevo qui peuvent casser l'alignement */
#newsletter .sib-form-block,
#newsletter .sib-input {
  padding: 0 !important;
  text-align: center !important;
}

#newsletter .sib-form-message-panel__text {
  justify-content: center !important;
  text-align: center !important;
}

#newsletter .sib-form-message-panel__inner-text {
  text-align: center !important;
}

/* Rapproche la section Ulule pour éviter une grande cassure */
#ulule {
  padding-top: 88px;
}

/* Responsive newsletter */
@media (max-width: 600px) {
  #jouer {
    padding-bottom: 60px;
  }

  #newsletter.bds-newsletter-section {
    padding: 70px 16px 55px;
  }

  #newsletter .newsletter-main-title {
    margin-bottom: 34px;
  }

  #newsletter #sib-container.bds-newsletter-card {
    padding: 34px 22px !important;
    border-radius: 12px !important;
  }

  #newsletter .bds-kicker {
    font-size: 11px;
    letter-spacing: 4px;
  }

  #newsletter .bds-newsletter-title {
    font-size: 29px;
  }

  #newsletter .bds-newsletter-text {
    font-size: 16px;
    line-height: 1.8;
  }

  #newsletter .bds-button {
    width: 100%;
    min-width: 0;
    padding: 0 20px !important;
    font-size: 14px !important;
  }

  #newsletter .bds-label {
    font-size: 12px !important;
    letter-spacing: 2px;
  }
}

/* ========= FOOTER ========= */
footer {
  padding: 40px 48px;
  border-top: 1px solid rgba(107,70,193,0.18);
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 16px;
}

.footer-left {
  display: flex;
  align-items: center;
  gap: 14px;
}

.footer-bdg-logo { height: 48px; opacity: 0.8; }

.footer-info {
  font-family: 'Cinzel', serif;
  font-size: 12px;
  letter-spacing: 2px;
  color: rgba(226,217,243,0.35);
  line-height: 1.7;
}

.footer-right {
  font-family: 'Cinzel', serif;
  font-size: 12px;
  letter-spacing: 2px;
  color: rgba(226,217,243,0.25);
  text-align: right;
}

/* ========= ANIMATIONS ========= */
@keyframes fadeInDown {
  from { opacity: 0; transform: translateY(-18px); }
  to { opacity: 1; transform: translateY(0); }
}
@keyframes fadeInUp {
  from { opacity: 0; transform: translateY(28px); }
  to { opacity: 1; transform: translateY(0); }
}
@keyframes fadeIn {
  from { opacity: 0; }
  to { opacity: 1; }
}
@keyframes logoAppear {
  0% { opacity: 0; transform: scale(0.82) translateY(18px); }
  100% { opacity: 1; transform: scale(1) translateY(0); }
}
@keyframes slideInLeft {
  from { opacity: 0; transform: scaleX(-1) translateX(-60px); }
  to { opacity: 1; transform: scaleX(-1) translateX(0); }
}
@keyframes slideInRight {
  from { opacity: 0; transform: translateX(60px); }
  to { opacity: 1; transform: translateX(0); }
}
@keyframes float {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-10px); }
}
@keyframes floatFlip {
  0%, 100% { transform: scaleX(-1) translateY(0); }
  50% { transform: scaleX(-1) translateY(-10px); }
}
@keyframes pulsate {
  0%, 100% { opacity: 1; transform: translate(-50%, -50%) scale(1); }
  50% { opacity: 0.7; transform: translate(-50%, -50%) scale(1.08); }
}
@keyframes shimmer {
  from { background-position: -300% 0; }
  to { background-position: 300% 0; }
}
@keyframes scrollDrop {
  0% { opacity: 0; height: 0; }
  50% { opacity: 1; height: 40px; }
  100% { opacity: 0; height: 40px; }
}
@keyframes buttonPulse {
  0%, 100% { opacity: 0; transform: scale(1); }
  50% { opacity: 0.4; transform: scale(1.06); }
}

/* ========= SCROLL REVEAL ========= */
.reveal {
  opacity: 0;
  transform: translateY(36px);
  transition: opacity 0.85s cubic-bezier(0.16, 1, 0.3, 1), transform 0.85s cubic-bezier(0.16, 1, 0.3, 1);
}
.reveal.visible { opacity: 1; transform: translateY(0); }

/* ========= RESPONSIVE ========= */
@media (max-width: 900px) {
  .nav-links-desktop { display: none; }
  .burger { display: flex; }
  nav { padding: 16px 24px; }
  nav.scrolled { padding: 12px 24px; }
  .section-inner { padding: 0 24px; }
  .univers-grid, .jouer-grid { grid-template-columns: 1fr; gap: 48px; }
  .sorts-grid { grid-template-columns: 1fr 1fr; }
  #hero { padding: 110px 24px 320px; }
  .hero-mages { height: 260px; bottom: 30px; }
  .hero-mage-left, .hero-mage-right { width: clamp(160px, 22vw, 280px); }
  footer { padding: 32px 24px; }
}

@media (max-width: 560px) {
  .sorts-grid { grid-template-columns: 1fr; }
  .hero-cta-buttons { flex-direction: column; width: 100%; }
  .btn-ulule-hero, .btn-secondary-hero { width: 100%; justify-content: center; }
  .ulule-card { padding: 36px 24px; }
  #hero { padding: 110px 20px 280px; }
  .hero-mages { height: 220px; }
  .hero-mage-left, .hero-mage-right { width: 150px; }
}


/* Ajustements mobile pour les cartes de sorts */
@media (max-width: 560px) {
  .sort-card {
    min-height: auto;
    padding: 32px 22px 26px;
  }

  .sort-icon {
    width: 58px;
    height: 58px;
    margin-bottom: 18px;
  }

  .sort-icon img {
    width: 54px;
    height: 54px;
  }
}

/* ========= LOGOS ULULE ========= */
.ulule-btn-icon {
  height: 22px;
  width: auto;
  vertical-align: middle;
  display: inline-block;
  mix-blend-mode: screen;
  filter: brightness(0) invert(1);
  flex-shrink: 0;
}

.mobile-btn-ulule .ulule-btn-icon {
  filter: none !important;
  mix-blend-mode: normal !important;
  opacity: 1;
}

/* Logo transparent sur fond doré des boutons — laisser les vraies couleurs */
.btn-ulule-hero .ulule-btn-icon,
.btn-ulule-main .ulule-btn-icon,
.btn-nav-ulule .ulule-btn-icon {
  filter: none;
  mix-blend-mode: normal;
}

/* Logo dans le menu mobile sur fond sombre */
.mobile-btn-ulule .ulule-btn-icon {
  filter: brightness(0) invert(1);
  mix-blend-mode: normal;
}

/* Logo Ulule dans la card (fond sombre, logo avec fond blanc) */
.ulule-card-logo {
  height: 80px;
  width: auto;
  display: block;
  margin: 0 auto 18px;
  border-radius: 12px;
  animation: float 4s ease-in-out infinite;
}
/* ========= FIXES MOBILE — VERSION UNIFIÉE ========= */

/* "Défiler" : plus grand et lisible sur mobile */
.hero-scroll-label {
  font-size: clamp(13px, 3.5vw, 16px) !important;
  letter-spacing: 0.15em;
}
.scroll-line {
  height: 40px !important;
  width: 2px !important;
}
@media (max-width: 600px) {
  .hero-scroll {
    bottom: 20px;
  }
  .hero-scroll-label {
    font-size: 15px !important;
  }
  .scroll-line {
    height: 36px !important;
  }
}

/* Bouton Ulule dans la card : responsive mobile */
@media (max-width: 600px) {
  .btn-ulule-main {
    width: 100%;
    box-sizing: border-box;
    text-align: center;
    justify-content: center;
    padding-left: 16px !important;
    padding-right: 16px !important;
    font-size: 15px !important;
    white-space: normal;
    word-break: break-word;
  }
  .ulule-card {
    padding: 32px 20px !important;
  }
}

/* hero-studio-badge sans image : recentrer */
.hero-studio-badge {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0;
}

/* Halos : mix-blend-mode sur les images avec fond noir  */
/* le hero-logo utilise multiply pou r effacer le fond noir sans halo carré */
.hero-logo {
  mix-blend-mode: multiply;
}
/* Mages et logos sur fond sombre → screen */
.hero-mage-left,
.hero-mage-right,
.duel-mage,
.boite-img,
.nav-brand-logo,
.footer-bdg-logo {
  mix-blend-mode: screen;
}
/* Logo Ulule dans la card : fond blanc → pas de blend */
.ulule-card-logo {
  mix-blend-mode: normal;
}


/* ========= PAGES EMAIL / CONFIRMATION ========= */
.email-page-body {
  min-height: 100vh;
  background: var(--violet-dark);
}

.email-page {
  position: relative;
  z-index: 1;
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 110px 22px 44px;
  overflow: hidden;
  background:
    radial-gradient(ellipse 80% 55% at 50% 32%, rgba(107,70,193,0.34) 0%, transparent 72%),
    radial-gradient(ellipse 65% 44% at 50% 70%, rgba(240,180,41,0.09) 0%, transparent 70%),
    linear-gradient(180deg, var(--violet-dark) 0%, #1a0f3e 28%, #25125a 62%, var(--violet-dark) 100%);
}

.email-page::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image:
    radial-gradient(circle at 18% 28%, rgba(240,180,41,0.14) 0 1px, transparent 2px),
    radial-gradient(circle at 82% 42%, rgba(59,130,246,0.13) 0 1px, transparent 2px),
    radial-gradient(circle at 48% 78%, rgba(240,180,41,0.10) 0 1px, transparent 2px);
  opacity: 0.5;
  pointer-events: none;
}

.email-page-card {
  position: relative;
  z-index: 2;
  width: min(720px, 100%);
  padding: 42px 52px 48px;
  border: 1px solid rgba(240,180,41,0.35);
  border-radius: 16px;
  background: linear-gradient(145deg, rgba(45,27,105,0.9) 0%, rgba(19,12,46,0.97) 100%);
  box-shadow: 0 0 100px rgba(107,70,193,0.32);
  text-align: center;
  overflow: hidden;
}

.email-page-card::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: linear-gradient(90deg, var(--violet-light), var(--gold), var(--bleu-light), var(--gold), var(--violet-light));
  background-size: 300% 100%;
  animation: shimmer 4s linear infinite;
}

.email-page-logo-frame {
  width: min(280px, 76vw);
  height: 128px;
  margin: 0 auto 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}

.email-page-logo {
  width: 100%;
  max-height: 118px;
  display: block;
  object-fit: contain;
  object-position: center;
  mix-blend-mode: normal;
  filter: brightness(1.18) contrast(1.08) saturate(1.16) drop-shadow(0 0 24px rgba(240,180,41,0.18));
}

.email-page-icon {
  width: 76px;
  height: 76px;
  display: grid;
  place-items: center;
  margin: 0 auto 18px;
  border-radius: 999px;
  border: 1px solid rgba(240,180,41,0.36);
  background: rgba(240,180,41,0.09);
  color: var(--gold-light);
  font-size: 34px;
  box-shadow: 0 0 38px rgba(240,180,41,0.14);
}

.email-page-title {
  margin: 0 0 18px;
  font-family: 'Cinzel Decorative', cursive;
  color: #fff;
  font-size: clamp(32px, 5vw, 52px);
  line-height: 1.16;
}

.email-page-title span {
  color: var(--gold);
}

.email-page-text {
  max-width: 560px;
  margin: 0 auto 14px;
  color: rgba(226,217,243,0.78);
  font-size: 17px;
  line-height: 1.9;
}

.email-page-text strong {
  color: var(--gold-light);
}

.email-page-note {
  max-width: 540px;
  margin: 26px auto 0;
  padding: 16px 18px;
  border: 1px solid rgba(107,70,193,0.35);
  border-radius: 10px;
  background: rgba(255,255,255,0.05);
  color: rgba(226,217,243,0.66);
  font-size: 14px;
  line-height: 1.7;
}

.email-page-actions {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 14px;
  margin-top: 34px;
}

.email-page-button,
.email-page-button-secondary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 54px;
  padding: 0 28px;
  border-radius: 4px;
  text-decoration: none;
  font-family: 'Cinzel', serif;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 2px;
  text-transform: uppercase;
  transition: transform 0.25s, box-shadow 0.25s, border-color 0.25s, color 0.25s;
}

.email-page-button {
  background: linear-gradient(135deg, #f0b429 0%, #d97706 100%);
  color: #1a0f3e;
  box-shadow: 0 6px 30px rgba(240,180,41,0.35);
}

.email-page-button:hover {
  transform: translateY(-3px);
  box-shadow: 0 12px 46px rgba(240,180,41,0.55);
}

.email-page-button-secondary {
  border: 1px solid rgba(107,70,193,0.52);
  color: rgba(226,217,243,0.76);
  background: rgba(255,255,255,0.03);
}

.email-page-button-secondary:hover {
  transform: translateY(-3px);
  border-color: rgba(240,180,41,0.55);
  color: var(--gold);
}

@media (max-width: 600px) {
  .email-page {
    padding: 96px 16px 32px;
  }

  .email-page-card {
    padding: 32px 22px 36px;
    border-radius: 14px;
  }

  .email-page-logo-frame {
    height: 106px;
    margin-bottom: 6px;
  }

  .email-page-logo {
    max-height: 98px;
  }

  .email-page-icon {
    width: 66px;
    height: 66px;
    font-size: 29px;
  }

  .email-page-text {
    font-size: 16px;
  }

  .email-page-button,
  .email-page-button-secondary {
    width: 100%;
    padding: 0 18px;
    font-size: 12px;
  }
}

/* ========= LE JEU EN BREF ========= */

#jeu-bref {
  padding: 120px 0 105px;
  background:
    radial-gradient(ellipse 70% 45% at 50% 15%, rgba(107,70,193,0.28) 0%, transparent 72%),
    radial-gradient(ellipse 50% 36% at 84% 70%, rgba(240,180,41,0.08) 0%, transparent 70%),
    linear-gradient(180deg, var(--violet-dark) 0%, #1a0f3e 52%, var(--violet-dark) 100%);
  overflow: hidden;
}

.jeu-bref-header {
  max-width: 820px;
  margin: 0 auto 58px;
  text-align: center;
}

.jeu-bref-intro {
  max-width: 720px;
  margin: 0 auto;
  color: rgba(226,217,243,0.78);
  font-size: 18px;
  line-height: 1.9;
}

.jeu-bref-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 22px;
  margin-bottom: 70px;
}

.jeu-bref-card {
  position: relative;
  min-height: 250px;
  padding: 34px 26px 30px;
  border-radius: 12px;
  border: 1px solid rgba(240,180,41,0.22);
  background: linear-gradient(145deg, rgba(45,27,105,0.72) 0%, rgba(19,12,46,0.92) 100%);
  box-shadow: 0 18px 60px rgba(19,12,46,0.45);
  overflow: hidden;
}

.jeu-bref-card::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at 20% 12%, rgba(240,180,41,0.13), transparent 34%),
    radial-gradient(circle at 90% 92%, rgba(107,70,193,0.18), transparent 42%);
  pointer-events: none;
}

.jeu-bref-number {
  position: relative;
  z-index: 1;
  font-family: 'Cinzel Decorative', cursive;
  font-size: 34px;
  font-weight: 900;
  color: rgba(240,180,41,0.24);
  margin-bottom: 18px;
}

.jeu-bref-card h3 {
  position: relative;
  z-index: 1;
  font-family: 'Cinzel', serif;
  font-size: 20px;
  color: var(--gold-light);
  letter-spacing: 1.5px;
  margin-bottom: 14px;
}

.jeu-bref-card p {
  position: relative;
  z-index: 1;
  color: rgba(226,217,243,0.72);
  font-size: 16px;
  line-height: 1.8;
}

.materiel-preview {
  position: relative;
  min-height: 390px;
  max-width: 950px;
  margin: 0 auto;
  border-radius: 18px;
  border: 1px solid rgba(107,70,193,0.28);
  background:
    radial-gradient(ellipse 70% 45% at 50% 45%, rgba(240,180,41,0.08) 0%, transparent 72%),
    linear-gradient(145deg, rgba(45,27,105,0.5), rgba(19,12,46,0.88));
  box-shadow: 0 28px 90px rgba(19,12,46,0.58);
  overflow: hidden;
}

.materiel-preview-note {
  position: absolute;
  top: 22px;
  left: 24px;
  z-index: 3;
  font-family: 'Cinzel', serif;
  font-size: 11px;
  letter-spacing: 4px;
  text-transform: uppercase;
  color: rgba(240,180,41,0.58);
}

.materiel-object {
  position: absolute;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 12px;
  transition: transform 0.35s ease;
}

.materiel-object:hover {
  transform: translateY(-8px);
}

.mockup-label {
  font-family: 'Cinzel', serif;
  font-size: 11px;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: rgba(226,217,243,0.58);
  text-align: center;
}

.preview-cards {
  left: 9%;
  bottom: 42px;
  width: 40%;
  transform: rotate(-4deg);
}

.preview-card-stack {
  position: relative;
  width: min(310px, 100%);
  height: 210px;
}

.preview-card {
  position: absolute;
  width: 118px;
  height: 168px;
  border-radius: 10px;
  border: 2px solid rgba(240,180,41,0.42);
  background:
    linear-gradient(145deg, rgba(252,211,77,0.18), rgba(107,70,193,0.34)),
    linear-gradient(180deg, rgba(255,255,255,0.11), rgba(255,255,255,0.02));
  box-shadow: 0 18px 34px rgba(0,0,0,0.38);
}

.preview-card::before {
  content: "✦";
  position: absolute;
  top: 14px;
  left: 50%;
  transform: translateX(-50%);
  color: rgba(240,180,41,0.72);
  font-size: 22px;
}

.preview-card::after {
  content: "SORT";
  position: absolute;
  left: 18px;
  right: 18px;
  bottom: 18px;
  padding-top: 10px;
  border-top: 1px solid rgba(240,180,41,0.26);
  font-family: 'Cinzel', serif;
  font-size: 10px;
  letter-spacing: 2px;
  text-align: center;
  color: rgba(226,217,243,0.55);
}

.preview-card-one { left: 6%; top: 30px; transform: rotate(-10deg); }
.preview-card-two { left: 31%; top: 8px; transform: rotate(1deg); }
.preview-card-three { left: 56%; top: 34px; transform: rotate(10deg); }

.preview-tokens {
  right: 12%;
  top: 82px;
  width: 25%;
  transform: rotate(5deg);
}

.preview-token-cluster {
  position: relative;
  width: 180px;
  height: 150px;
}

.preview-token {
  position: absolute;
  width: 68px;
  height: 68px;
  border-radius: 999px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 2px solid rgba(240,180,41,0.65);
  background: radial-gradient(circle at 35% 28%, #fcd34d, #b7791f 70%);
  color: #1a0f3e;
  font-family: 'Cinzel Decorative', cursive;
  font-weight: 900;
  box-shadow: 0 16px 26px rgba(0,0,0,0.34);
}

.preview-token:nth-child(1) { left: 0; top: 38px; }
.preview-token:nth-child(2) { left: 52px; top: 8px; }
.preview-token:nth-child(3) { left: 92px; top: 58px; }
.preview-token:nth-child(4) { left: 38px; top: 82px; }
.preview-token:nth-child(5) { left: 110px; top: 14px; }

.token-mana {
  border-color: rgba(59,130,246,0.72);
  background: radial-gradient(circle at 35% 28%, #7dd3fc, #1e3a8a 72%);
  color: #f8fbff;
}

.preview-counter {
  right: 8%;
  bottom: 48px;
  width: 34%;
  transform: rotate(2deg);
}

.preview-pv-counter {
  width: min(330px, 100%);
  min-height: 126px;
  border-radius: 14px;
  border: 2px solid rgba(240,180,41,0.46);
  background:
    linear-gradient(145deg, rgba(240,180,41,0.14), rgba(107,70,193,0.28)),
    rgba(19,12,46,0.84);
  box-shadow: 0 18px 34px rgba(0,0,0,0.38);
  display: grid;
  grid-template-columns: 0.8fr 1fr 0.8fr;
  align-items: center;
  padding: 18px;
  color: var(--gold-light);
  font-family: 'Cinzel', serif;
  text-align: center;
}

.preview-pv-counter span,
.preview-pv-counter small {
  letter-spacing: 3px;
  text-transform: uppercase;
  color: rgba(226,217,243,0.62);
}

.preview-pv-counter strong {
  font-family: 'Cinzel Decorative', cursive;
  font-size: 48px;
  color: var(--gold);
  text-shadow: 0 0 22px rgba(240,180,41,0.4);
}

/* ========= SUIVRE LES COULISSES ========= */

#coulisses {
  padding: 110px 0 120px;
  background:
    radial-gradient(ellipse 70% 45% at 50% 55%, rgba(107,70,193,0.16) 0%, transparent 70%),
    var(--violet-dark);
}

.coulisses-card {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  gap: 42px;
  align-items: center;
  padding: 46px;
  border-radius: 18px;
  border: 1px solid rgba(240,180,41,0.24);
  background:
    radial-gradient(ellipse 70% 55% at 18% 30%, rgba(107,70,193,0.28) 0%, transparent 68%),
    linear-gradient(145deg, rgba(45,27,105,0.76) 0%, rgba(19,12,46,0.94) 100%);
  box-shadow: 0 24px 80px rgba(19,12,46,0.55);
  overflow: hidden;
  position: relative;
}

.coulisses-card::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: linear-gradient(90deg, var(--violet-light), var(--gold), var(--bleu-light), var(--gold), var(--violet-light));
  background-size: 300% 100%;
  animation: shimmer 4s linear infinite;
}

.coulisses-content {
  position: relative;
  z-index: 1;
}

.coulisses-content .section-title {
  margin-bottom: 18px;
}

.coulisses-content p:not(.section-eyebrow) {
  color: rgba(226,217,243,0.76);
  font-size: 17px;
  line-height: 1.9;
  max-width: 620px;
}

.coulisses-actions {
  position: relative;
  z-index: 1;
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.social-button {
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 18px 20px;
  border-radius: 10px;
  border: 1px solid rgba(240,180,41,0.22);
  background: rgba(255,255,255,0.045);
  color: var(--gold-light);
  text-decoration: none;
  transition: transform 0.25s ease, border-color 0.25s ease, background 0.25s ease;
}

.social-button:hover {
  transform: translateY(-4px);
  border-color: rgba(240,180,41,0.48);
  background: rgba(240,180,41,0.08);
}

.social-icon {
  width: 46px;
  height: 46px;
  border-radius: 999px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  overflow: hidden;
  background: rgba(255,255,255,0.08);
  border: 1px solid rgba(240,180,41,0.25);
  box-shadow: 0 8px 28px rgba(0,0,0,0.25);
}

.social-icon img {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: cover;
  border-radius: 999px;
}

.social-button:hover .social-icon {
  transform: scale(1.06);
  border-color: rgba(240,180,41,0.55);
  box-shadow: 0 10px 34px rgba(240,180,41,0.22);
}

.social-button span:last-child {
  display: flex;
  flex-direction: column;
  gap: 3px;
  font-family: 'Cinzel', serif;
  font-size: 16px;
  letter-spacing: 1px;
}

.social-button small {
  font-family: 'Lato', sans-serif;
  font-size: 13px;
  letter-spacing: 0;
  color: rgba(226,217,243,0.58);
}

/* ========= RESPONSIVE JEU EN BREF / COULISSES ========= */

@media (max-width: 900px) {
  .jeu-bref-grid {
    grid-template-columns: 1fr;
  }

  .jeu-bref-card {
    min-height: auto;
  }

  .materiel-preview {
    min-height: 650px;
  }

  .preview-cards {
    left: 50%;
    top: 78px;
    bottom: auto;
    width: min(82%, 460px);
    transform: translateX(-50%) rotate(-3deg);
  }

  .preview-tokens {
    left: 9%;
    right: auto;
    top: auto;
    bottom: 62px;
    width: 38%;
    transform: rotate(5deg);
  }

  .preview-counter {
    right: 8%;
    bottom: 82px;
    width: 48%;
    transform: rotate(2deg);
  }

  .coulisses-card {
    grid-template-columns: 1fr;
    padding: 38px 28px;
  }
}

@media (max-width: 560px) {
  #jeu-bref {
    padding: 88px 0 80px;
  }

  .jeu-bref-header {
    margin-bottom: 42px;
  }

  .jeu-bref-intro {
    font-size: 16px;
    line-height: 1.8;
  }

  .jeu-bref-grid {
    gap: 16px;
    margin-bottom: 48px;
  }

  .jeu-bref-card {
    padding: 30px 22px 26px;
  }

  .jeu-bref-card h3 {
    font-size: 18px;
  }

  .jeu-bref-card p {
    font-size: 15px;
  }

  .materiel-preview {
    min-height: 585px;
    border-radius: 14px;
  }

  .materiel-preview-note {
    left: 18px;
    top: 18px;
    font-size: 9px;
    letter-spacing: 3px;
  }

  .preview-cards {
    top: 68px;
    width: 92%;
  }

  .preview-card-stack {
    height: 205px;
  }

  .preview-card {
    width: 102px;
    height: 146px;
  }

  .preview-tokens {
    left: 7%;
    bottom: 58px;
    width: 40%;
  }

  .preview-token-cluster {
    width: 150px;
  }

  .preview-token {
    width: 56px;
    height: 56px;
  }

  .preview-counter {
    right: 6%;
    bottom: 84px;
    width: 53%;
  }

  .preview-pv-counter {
    grid-template-columns: 1fr;
    gap: 6px;
    min-height: 122px;
    padding: 14px;
  }

  .preview-pv-counter strong {
    font-size: 40px;
  }

  #coulisses {
    padding: 82px 0 88px;
  }

  .coulisses-card {
    padding: 34px 22px;
  }

  .coulisses-content p:not(.section-eyebrow) {
    font-size: 16px;
    line-height: 1.8;
  }

  .social-button {
    padding: 16px;
  }

  .social-icon {
    width: 42px;
    height: 42px;
  }

  .social-button span:last-child {
    font-size: 15px;
  }
}


/* =========================================================
   CORRECTIONS FINALES — HERO MOBILE + PAGE CONFIDENTIALITÉ
   ========================================================= */

/* Hero CTA : évite le texte collé à gauche et les retours moches sur mobile */
.hero-cta-block {
  width: min(100%, 760px);
  margin-left: auto;
  margin-right: auto;
  text-align: center;
}

.hero-ulule-label {
  text-align: center;
  max-width: 100%;
}

@media (max-width: 700px) {
  .hero-cta-block {
    width: 100%;
    max-width: 390px;
    padding-left: 0;
    padding-right: 0;
    align-items: center;
  }

  .hero-ulule-label {
    width: 100%;
    max-width: 320px;
    margin: 0 auto;
    font-size: 11px;
    line-height: 1.65;
    letter-spacing: 3px;
    text-align: center;
  }

  .hero-cta-buttons {
    width: 100%;
    flex-direction: column;
    align-items: stretch;
    gap: 12px;
  }

  .btn-ulule-hero,
  .btn-secondary-hero {
    width: 100%;
    min-height: 58px;
    padding: 16px 18px;
    justify-content: center;
    text-align: center;
    line-height: 1.25;
    white-space: normal;
  }

  .btn-ulule-hero {
    gap: 9px;
    font-size: 15px;
    letter-spacing: 0.6px;
  }

  .btn-ulule-hero .ulule-btn-icon {
    height: 20px;
  }

  .btn-secondary-hero {
    font-size: 13px;
  }
}

@media (max-width: 380px) {
  .hero-ulule-label {
    max-width: 280px;
    font-size: 10px;
    letter-spacing: 2px;
  }

  .btn-ulule-hero {
    font-size: 14px;
    padding-left: 14px;
    padding-right: 14px;
  }

  .btn-ulule-hero .ulule-btn-icon {
    height: 18px;
  }
}

/* Le jeu en bref : moins d'espace inutile juste après le hero */
#jeu-bref {
  padding-top: 96px;
}

@media (max-width: 560px) {
  #jeu-bref {
    padding-top: 72px;
  }
}

/* ========= PAGE POLITIQUE DE CONFIDENTIALITÉ ========= */
.privacy-page {
  position: relative;
  z-index: 1;
  min-height: 100vh;
  padding: 150px 24px 76px;
  overflow: hidden;
  background:
    radial-gradient(ellipse 82% 56% at 50% 18%, rgba(107,70,193,0.28) 0%, transparent 72%),
    radial-gradient(ellipse 62% 42% at 18% 70%, rgba(30,58,138,0.18) 0%, transparent 68%),
    radial-gradient(ellipse 48% 36% at 82% 66%, rgba(240,180,41,0.08) 0%, transparent 70%),
    linear-gradient(180deg, var(--violet-dark) 0%, #1a0f3e 40%, var(--violet-dark) 100%);
}

.privacy-page::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image:
    radial-gradient(circle at 18% 28%, rgba(240,180,41,0.14) 0 1px, transparent 2px),
    radial-gradient(circle at 82% 42%, rgba(59,130,246,0.13) 0 1px, transparent 2px),
    radial-gradient(circle at 48% 78%, rgba(240,180,41,0.10) 0 1px, transparent 2px);
  opacity: 0.48;
  pointer-events: none;
}

.privacy-hero,
.privacy-content {
  position: relative;
  z-index: 2;
}

.privacy-hero {
  max-width: 850px;
  margin: 0 auto 62px;
  text-align: center;
}

.privacy-title {
  margin: 0 0 24px;
  font-family: 'Cinzel Decorative', cursive;
  font-size: clamp(38px, 6vw, 72px);
  line-height: 1.15;
  color: #fff;
}

.privacy-title span {
  color: var(--gold);
}

.privacy-intro {
  max-width: 720px;
  margin: 0 auto;
  color: rgba(226,217,243,0.78);
  font-size: 18px;
  line-height: 1.9;
}

.privacy-content {
  max-width: 860px;
  margin: 0 auto;
}

.privacy-block {
  padding: 28px 0;
  border-top: 1px solid rgba(240,180,41,0.16);
}

.privacy-block:last-of-type {
  border-bottom: 1px solid rgba(240,180,41,0.16);
}

.privacy-block h2 {
  margin: 0 0 12px;
  font-family: 'Cinzel', serif;
  font-size: clamp(18px, 2.1vw, 24px);
  line-height: 1.35;
  color: var(--gold-light);
  letter-spacing: 2px;
}

.privacy-block p {
  max-width: 820px;
  margin: 0;
  color: rgba(226,217,243,0.78);
  font-size: 17px;
  line-height: 1.9;
}

.privacy-block strong {
  color: var(--gold-light);
}

.privacy-block a {
  color: var(--gold);
  text-decoration: none;
  border-bottom: 1px solid rgba(240,180,41,0.45);
  transition: color 0.25s, border-color 0.25s;
  overflow-wrap: anywhere;
}

.privacy-block a:hover {
  color: var(--gold-light);
  border-bottom-color: var(--gold-light);
}

.privacy-actions {
  display: flex;
  justify-content: center;
  margin-top: 44px;
}

@media (max-width: 700px) {
  .privacy-page {
    padding: 128px 20px 60px;
  }

  .privacy-hero {
    margin-bottom: 44px;
    text-align: left;
  }

  .privacy-hero .section-eyebrow,
  .privacy-title,
  .privacy-intro {
    text-align: center;
  }

  .privacy-intro {
    font-size: 16px;
    line-height: 1.8;
  }

  .privacy-block {
    padding: 24px 0;
  }

  .privacy-block h2 {
    font-size: 18px;
    letter-spacing: 1.2px;
  }

  .privacy-block p {
    font-size: 16px;
    line-height: 1.8;
  }

  .privacy-actions .email-page-button {
    width: 100%;
    justify-content: center;
    text-align: center;
  }
}


/* Footer propre en 3 zones : gauche / lien discret / droite */
footer {
  padding: 40px 48px !important;
  border-top: 1px solid rgba(107,70,193,0.18) !important;
  display: grid !important;
  grid-template-columns: 1fr auto 1fr !important;
  align-items: center !important;
  gap: 24px !important;
  background:
    radial-gradient(ellipse 70% 42% at 50% 35%, rgba(107,70,193,0.12) 0%, transparent 70%),
    var(--violet-dark) !important;
}

.footer-left {
  justify-self: start !important;
}

.footer-center {
  justify-self: center !important;
  text-align: center !important;
}

.footer-center a {
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  padding: 9px 14px !important;
  border: 1px solid rgba(240,180,41,0.18) !important;
  border-radius: 999px !important;
  background: rgba(240,180,41,0.045) !important;
  color: rgba(240,180,41,0.58) !important;
  font-family: 'Cinzel', serif !important;
  font-size: 10px !important;
  font-weight: 600 !important;
  letter-spacing: 2.2px !important;
  line-height: 1.2 !important;
  text-transform: uppercase !important;
  text-decoration: none !important;
  white-space: nowrap !important;
  box-shadow: none !important;
  transition: color 0.25s ease, border-color 0.25s ease, background 0.25s ease, transform 0.25s ease !important;
}

.footer-center a:hover {
  color: var(--gold) !important;
  border-color: rgba(240,180,41,0.38) !important;
  background: rgba(240,180,41,0.08) !important;
  transform: translateY(-2px) !important;
}

.footer-right {
  justify-self: end !important;
}

/* CTA hero : centrage propre sur mobile */
@media (max-width: 560px) {
  .hero-cta-block {
    width: 100% !important;
    max-width: 390px !important;
    margin-left: auto !important;
    margin-right: auto !important;
    align-items: center !important;
  }

  .hero-ulule-label {
    width: 100% !important;
    max-width: 340px !important;
    margin: 0 auto !important;
    text-align: center !important;
    font-size: 10px !important;
    line-height: 1.55 !important;
    letter-spacing: 3px !important;
  }

  .hero-cta-buttons {
    width: 100% !important;
    display: flex !important;
    flex-direction: column !important;
    align-items: stretch !important;
    gap: 12px !important;
  }

  .btn-ulule-hero,
  .btn-secondary-hero {
    width: 100% !important;
    min-height: 58px !important;
    justify-content: center !important;
    text-align: center !important;
    line-height: 1.25 !important;
  }

  .btn-ulule-hero {
    padding: 16px 18px !important;
    font-size: 14px !important;
    gap: 8px !important;
    white-space: normal !important;
  }

  .btn-secondary-hero {
    padding: 16px 18px !important;
    font-size: 13px !important;
  }

  .btn-ulule-hero .ulule-btn-icon {
    height: 19px !important;
  }
}

@media (max-width: 700px) {
  footer {
    padding: 34px 24px !important;
    grid-template-columns: 1fr !important;
    text-align: center !important;
    gap: 22px !important;
  }

  .footer-left {
    justify-self: center !important;
    flex-direction: column !important;
    gap: 10px !important;
  }

  .footer-center {
    justify-self: center !important;
    order: 3 !important;
  }

  .footer-right {
    justify-self: center !important;
    text-align: center !important;
    order: 2 !important;
  }

  .footer-center a {
    font-size: 9px !important;
    letter-spacing: 1.8px !important;
  }
}

/* ========= FIX HERO → LE JEU EN BREF / DÉFILER ========= */
/* Transition plus douce entre le hero et la section suivante */
#hero {
  background-color: var(--violet-dark);
}

#jeu-bref {
  margin-top: -1px;
  padding-top: 118px;
  background:
    linear-gradient(180deg, var(--violet-dark) 0%, rgba(19,12,46,0.96) 10%, rgba(33,20,77,0.96) 34%, #1a0f3e 64%, var(--violet-dark) 100%),
    radial-gradient(ellipse 70% 45% at 50% 28%, rgba(107,70,193,0.24) 0%, transparent 72%),
    radial-gradient(ellipse 50% 36% at 84% 72%, rgba(240,180,41,0.08) 0%, transparent 70%);
}

#jeu-bref::before {
  content: "";
  position: absolute;
  top: -1px;
  left: 0;
  right: 0;
  height: 140px;
  background: linear-gradient(180deg, var(--violet-dark) 0%, rgba(19,12,46,0.86) 35%, transparent 100%);
  pointer-events: none;
  z-index: 0;
}

#jeu-bref .section-inner {
  position: relative;
  z-index: 1;
}

/* On restaure la petite animation "Défiler", mais plus discrète */
.hero-scroll {
  bottom: 18px !important;
  gap: 8px !important;
}

.scroll-line {
  display: block !important;
  width: 1px !important;
  height: 34px !important;
  background: linear-gradient(to bottom, rgba(240,180,41,0.58), rgba(240,180,41,0.08), transparent) !important;
  animation: scrollDropSoft 2.2s ease-in-out infinite !important;
}

.hero-scroll-label {
  color: rgba(240,180,41,0.62) !important;
  text-shadow: 0 0 14px rgba(240,180,41,0.18);
}

@keyframes scrollDropSoft {
  0% {
    opacity: 0;
    transform: scaleY(0);
    transform-origin: top;
  }
  35% {
    opacity: 0.75;
    transform: scaleY(1);
    transform-origin: top;
  }
  100% {
    opacity: 0;
    transform: scaleY(1);
    transform-origin: bottom;
  }
}

@media (max-width: 560px) {
  #jeu-bref {
    padding-top: 88px;
  }

  #jeu-bref::before {
    height: 110px;
  }

  .hero-scroll {
    bottom: 16px !important;
  }

  .scroll-line {
    height: 28px !important;
  }
}
