@font-face { font-family: Inter; src: url('/polices/InterVariable.woff2') format('woff2'); font-weight: 100 900; font-display: swap; }

:root {
  --fond: #050507;
  --fond-2: #0b0b10;
  --carte: rgba(255, 255, 255, 0.03);
  --ligne: transparent;
  --ligne-forte: transparent;
  --texte: #f5f5f7;
  --doux: #9b9ba8;
  --tres-doux: #6b6b78;
  --bleu: #4d8dff;
  --degrade: linear-gradient(100deg, #ffffff 0%, #c4dafe 45%, #4d8dff 100%);
  --large: 1180px;
  --rayon: 22px;
  --ressort: cubic-bezier(0.2, 0.9, 0.2, 1);
}
* { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; scroll-padding-top: 96px; }
body {
  background: var(--fond);
  color: var(--texte);
  font: 400 17px/1.6 Inter, system-ui, sans-serif;
  font-feature-settings: 'cv11', 'ss01';
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
body::before { /* grain très léger sur toute la page */
  content: ''; position: fixed; inset: 0; z-index: 100; pointer-events: none; opacity: 0.035;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='160' height='160'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
}
a { color: inherit; }
img, video { display: block; max-width: 100%; }
h1, h2, h3 { font-weight: 650; letter-spacing: -0.035em; line-height: 1.04; }
h2 { font-size: clamp(34px, 5vw, 60px); }
h3 { font-size: 20px; letter-spacing: -0.02em; line-height: 1.25; }
.serif { font-family: 'Iowan Old Style', 'Palatino Linotype', Palatino, Georgia, serif; font-style: italic; font-weight: 400; letter-spacing: -0.02em; color: #dbe7ff; }
.brille {
  background: var(--degrade); background-size: 200% 100%;
  -webkit-background-clip: text; background-clip: text; color: transparent;
  animation: miroiter 6s ease-in-out infinite alternate;
}
@keyframes miroiter { to { background-position: 100% 0; } }
.surtitre { font-size: 13px; font-weight: 600; letter-spacing: 0.12em; text-transform: uppercase; color: var(--bleu); margin-bottom: 16px; }

/* Boutons */
.btn {
  position: relative; display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  padding: 12px 22px; border-radius: 999px; border: 0; cursor: pointer;
  background: var(--texte); color: #08080b; font: 600 15px Inter, sans-serif; text-decoration: none; white-space: nowrap;
  box-shadow: 0 10px 30px -12px rgba(77, 141, 255, 0.55);
  transition: transform 0.25s var(--ressort), box-shadow 0.25s;
}
.btn:hover { transform: translateY(-2px); box-shadow: 0 16px 40px -12px rgba(77, 141, 255, 0.8); }
.btn-grand { padding: 17px 30px; font-size: 17px; }
.btn-verre { background: rgba(255, 255, 255, 0.07); color: var(--texte); box-shadow: none; backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px); }
.btn-verre:hover { background: rgba(255, 255, 255, 0.12); box-shadow: none; }
.btn-plein { width: 100%; }

/* Menu */
.nav {
  position: fixed; top: 14px; left: 50%; z-index: 50; transform: translateX(-50%);
  width: min(var(--large), calc(100% - 24px));
  display: flex; align-items: center; justify-content: space-between; gap: 16px;
  padding: 8px 8px 8px 18px; border-radius: 999px;
  background: rgba(14, 14, 20, 0.6);
  backdrop-filter: blur(18px) saturate(1.4); -webkit-backdrop-filter: blur(18px) saturate(1.4);
  transition: background 0.3s, border-color 0.3s, box-shadow 0.3s;
}
.nav.defile-actif { background: rgba(14, 14, 20, 0.85); box-shadow: 0 20px 50px -20px rgba(0, 0, 0, 0.8); }
.marque { display: inline-flex; align-items: center; gap: 10px; font-weight: 700; letter-spacing: -0.02em; text-decoration: none; }
.carre { width: 14px; height: 14px; border-radius: 4px; background: var(--degrade); box-shadow: 0 0 18px rgba(77, 141, 255, 0.8); transform: rotate(12deg); flex: none; }
.nav-liens { display: flex; gap: 4px; }
.nav-liens a { padding: 8px 14px; border-radius: 999px; font-size: 14px; font-weight: 500; color: var(--doux); text-decoration: none; transition: color 0.2s, background 0.2s; }
.nav-liens a:hover { color: var(--texte); }
.nav-liens a.actif { color: var(--texte); background: rgba(255, 255, 255, 0.08); }
.btn-nav { padding: 10px 18px; font-size: 14px; }
.burger { display: none; width: 42px; height: 42px; border-radius: 50%; border: 0; background: rgba(255, 255, 255, 0.08); cursor: pointer; position: relative; }
.burger span { position: absolute; left: 13px; right: 13px; height: 1.5px; background: var(--texte); border-radius: 2px; transition: transform 0.3s var(--ressort), top 0.3s; }
.burger span:first-child { top: 17px; }
.burger span:last-child { top: 24px; }
.burger[aria-expanded="true"] span:first-child { top: 20.5px; transform: rotate(45deg); }
.burger[aria-expanded="true"] span:last-child { top: 20.5px; transform: rotate(-45deg); }
.menu-mobile {
  position: fixed; inset: 0; z-index: 40; padding: 110px 24px 40px;
  display: flex; flex-direction: column; gap: 6px;
  background: rgba(5, 5, 7, 0.94); backdrop-filter: blur(20px); -webkit-backdrop-filter: blur(20px);
}
.menu-mobile[hidden] { display: none; }
.menu-mobile a:not(.btn) { padding: 14px 4px; font-size: 30px; font-weight: 500; letter-spacing: -0.03em; text-decoration: none; }
.menu-mobile .btn { margin-top: 24px; padding: 18px; font-size: 17px; }

/* Apparition au défilement (seulement si le script tourne) */
.anim .revele { opacity: 0; transform: translateY(28px); filter: blur(6px); transition: opacity 0.9s var(--ressort), transform 0.9s var(--ressort), filter 0.9s var(--ressort); transition-delay: var(--delai, 0s); }
.anim .revele.vu { opacity: 1; transform: none; filter: none; }

/* Pied de page */
.pied { max-width: var(--large); margin: 0 auto; padding: 56px 20px 120px; color: var(--tres-doux); font-size: 13px; }
.pied-haut { display: flex; justify-content: space-between; align-items: center; gap: 20px; flex-wrap: wrap; margin-bottom: 24px; color: var(--texte); }
.pied nav { display: flex; gap: 24px; flex-wrap: wrap; }
.pied nav a { text-decoration: none; color: var(--doux); }
.pied nav a:hover { color: var(--texte); }
.avertissement { max-width: 760px; margin-bottom: 12px; }

/* Barre d'achat mobile */
.barre-mobile { display: none; }

/* Pages légales */
.legal { max-width: 760px; margin: 0 auto; padding: 140px 20px 96px; }
.legal h1 { font-size: clamp(36px, 5vw, 52px); margin-bottom: 12px; }
.legal h2 { font-size: 22px; letter-spacing: -0.02em; margin: 40px 0 12px; }
.legal p, .legal li { color: #c4c4cc; margin-bottom: 12px; }
.legal ul { padding-left: 22px; }
.legal .maj { color: var(--doux); font-size: 14px; }
.a-remplir { background: rgba(250, 204, 21, 0.15); color: #fde68a; padding: 0 4px; border-radius: 4px; }

@media (max-width: 920px) {
  .nav-liens, .btn-nav { display: none; }
  .burger { display: block; }
  .nav { padding: 6px 6px 6px 16px; }
  .barre-mobile {
    position: fixed; left: 12px; right: 12px; bottom: max(12px, env(safe-area-inset-bottom)); z-index: 30;
    display: flex; align-items: center; justify-content: space-between; gap: 12px;
    padding: 10px 10px 10px 20px; border-radius: 999px;
    background: rgba(18, 18, 26, 0.9);
    backdrop-filter: blur(18px); -webkit-backdrop-filter: blur(18px);
    transform: translateY(140%); opacity: 0; visibility: hidden; transition: transform 0.45s var(--ressort), opacity 0.3s, visibility 0s 0.45s;
  }
  .barre-mobile.visible { transform: none; opacity: 1; visibility: visible; transition: transform 0.45s var(--ressort), opacity 0.3s; }
  .barre-mobile b { font-size: 20px; letter-spacing: -0.02em; margin-right: 6px; }
  .barre-mobile span { font-size: 13px; color: var(--doux); }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation: none !important; transition: none !important; }
  .anim .revele { opacity: 1; transform: none; filter: none; }
}
.nav-simple .btn-nav { display: inline-flex; }


/* Pop-up du haut : places restantes et date de sortie */
.popup {
  position: fixed; top: 84px; left: 50%; z-index: 60; width: min(640px, calc(100% - 24px));
  padding: 26px 26px 22px; border-radius: 24px; text-align: center;
  background: #0d1528; box-shadow: 0 30px 90px -20px rgba(0, 0, 0, 0.9), 0 0 120px -30px rgba(77, 141, 255, 0.6);
  transform: translate(-50%, -24px); opacity: 0; transition: transform 0.5s var(--ressort), opacity 0.4s;
}
.popup.visible { transform: translate(-50%, 0); opacity: 1; }
.popup-fermer { position: absolute; top: 12px; right: 14px; width: 34px; height: 34px; border: 0; border-radius: 50%; background: rgba(255, 255, 255, 0.07); color: var(--texte); font-size: 20px; line-height: 1; cursor: pointer; }
.popup-etiquette { font-size: 13px; font-weight: 600; letter-spacing: 0.1em; text-transform: uppercase; color: var(--bleu); }
.popup-titre { margin: 10px 36px 12px; font-size: clamp(28px, 5.6vw, 38px); font-weight: 700; letter-spacing: -0.04em; line-height: 1.08; color: #fff; }
.popup-titre b { color: #fff; font-weight: 800; }
.popup-texte { margin-bottom: 20px; color: var(--doux); font-size: 15px; }
.popup-texte b { color: var(--texte); font-weight: 600; }
