/* ==========================================================================
   OuiVibe — site vitrine
   Les couleurs, dégradés et bordures reprennent les tokens de l'application
   (mobile/constants/theme.ts) : le site doit ressembler à l'appli.
   ========================================================================== */

@font-face {
  font-family: "Sora";
  src: url("../fonts/Sora/Sora-VariableFont_wght.ttf") format("truetype");
  font-weight: 100 800;
  font-display: swap;
}
@font-face {
  font-family: "Inter";
  src: url("../fonts/Inter/Inter-Regular.ttf") format("truetype");
  font-weight: 400;
  font-display: swap;
}
@font-face {
  font-family: "Inter";
  src: url("../fonts/Inter/Inter-Medium.ttf") format("truetype");
  font-weight: 500;
  font-display: swap;
}
@font-face {
  font-family: "Inter";
  src: url("../fonts/Inter/Inter-SemiBold.ttf") format("truetype");
  font-weight: 600;
  font-display: swap;
}

:root {
  --purple: #8a37c9;
  --purple-deep: #5b3499;
  --blue: #0577fd;
  --accent: #007aff;
  --violet-soft: #a569d9;
  --green: #26d07c;

  --bg: #141820;
  --bg-top: #321a3d;
  --bg-mid: #22162a;
  --header: #2b1135;
  --card: #1e2230;
  --card-2: #253347;

  --text: #ffffff;
  --text-muted: rgba(255, 255, 255, 0.68);
  --text-faint: rgba(255, 255, 255, 0.44);
  --border: rgba(255, 255, 255, 0.12);

  --cta: linear-gradient(100deg, #5b3499 0%, #8a37c9 50%, #0577fd 100%);
  --card-border: linear-gradient(135deg, #a569d9, #4a7fb5);
  --glow: 0 18px 50px -12px rgba(138, 55, 201, 0.55);

  --radius-sm: 12px;
  --radius: 20px;
  --radius-lg: 32px;
  --container: 1180px;
  --gutter: clamp(16px, 4vw, 32px);

  --font-display: "Sora", "Inter", system-ui, -apple-system, "Segoe UI", sans-serif;
  --font-body: "Inter", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: 90px;
  -webkit-text-size-adjust: 100%;
}

body {
  margin: 0;
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.65;
  color: var(--text);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

img {
  max-width: 100%;
  display: block;
}

a {
  color: inherit;
  text-decoration: none;
}

h1,
h2,
h3,
h4 {
  font-family: var(--font-display);
  line-height: 1.15;
  margin: 0;
  letter-spacing: -0.02em;
}

p {
  margin: 0;
}

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  border: 0;
}

.container {
  width: 100%;
  max-width: var(--container);
  margin: 0 auto;
  padding-inline: var(--gutter);
}

.text-gradient {
  background: linear-gradient(95deg, #c58bff 0%, #8a37c9 45%, #3d9bff 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: var(--font-body);
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--violet-soft);
}

.eyebrow::before {
  content: "";
  width: 22px;
  height: 2px;
  border-radius: 2px;
  background: var(--cta);
}

/* ------------------------------------------------------------------ Boutons */

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  min-height: 52px;
  padding: 0 26px;
  border-radius: 999px;
  border: 0;
  font: 600 16px/1 var(--font-body);
  color: var(--text);
  cursor: pointer;
  transition: transform 0.2s ease, box-shadow 0.2s ease, background 0.2s ease;
  white-space: nowrap;
}

.btn:focus-visible,
.store-btn:focus-visible,
.nav a:focus-visible {
  outline: 2px solid #c58bff;
  outline-offset: 3px;
}

.btn-primary {
  background: var(--cta);
  box-shadow: var(--glow);
}

.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 22px 54px -10px rgba(138, 55, 201, 0.7);
}

.btn-ghost {
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid var(--border);
}

.btn-ghost:hover {
  background: rgba(255, 255, 255, 0.14);
}

.btn-sm {
  min-height: 42px;
  padding: 0 20px;
  font-size: 15px;
}

/* Boutons de store : même gabarit que les badges officiels. */
.stores {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.store-btn {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  min-height: 58px;
  padding: 0 20px 0 16px;
  border-radius: 14px;
  background: #000;
  border: 1px solid rgba(255, 255, 255, 0.28);
  transition: transform 0.2s ease, border-color 0.2s ease;
}

.store-btn:hover {
  transform: translateY(-2px);
  border-color: rgba(255, 255, 255, 0.6);
}

.store-btn svg {
  width: 28px;
  height: 28px;
  flex: none;
}

.store-btn span {
  display: flex;
  flex-direction: column;
  line-height: 1.1;
}

.store-btn small {
  font-size: 11px;
  letter-spacing: 0.02em;
  color: rgba(255, 255, 255, 0.82);
}

.store-btn strong {
  font-family: var(--font-display);
  font-size: 19px;
  font-weight: 600;
  letter-spacing: -0.01em;
}

/* ------------------------------------------------------------------ En-tête */

.site-header {
  position: fixed;
  inset: 0 0 auto 0;
  z-index: 50;
  transition: background 0.3s ease, box-shadow 0.3s ease, backdrop-filter 0.3s ease;
}

.site-header.is-scrolled,
.site-header.is-solid {
  background: rgba(27, 13, 36, 0.82);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  box-shadow: 0 1px 0 rgba(255, 255, 255, 0.06);
}

.site-header .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  height: 78px;
}

.brand img {
  height: 34px;
  width: auto;
}

.nav {
  display: flex;
  align-items: center;
  gap: 32px;
}

.nav-links {
  display: flex;
  gap: 28px;
  list-style: none;
  margin: 0;
  padding: 0;
}

.nav-links a {
  font-size: 15px;
  font-weight: 500;
  color: var(--text-muted);
  transition: color 0.2s ease;
}

.nav-links a:hover,
.nav-links a[aria-current="page"] {
  color: var(--text);
}

.nav-toggle {
  display: none;
  width: 44px;
  height: 44px;
  border: 0;
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.08);
  color: var(--text);
  cursor: pointer;
  align-items: center;
  justify-content: center;
}

.nav-toggle span,
.nav-toggle span::before,
.nav-toggle span::after {
  display: block;
  width: 20px;
  height: 2px;
  border-radius: 2px;
  background: currentColor;
  position: relative;
  transition: transform 0.25s ease, opacity 0.25s ease;
}

.nav-toggle span::before,
.nav-toggle span::after {
  content: "";
  position: absolute;
  left: 0;
}

.nav-toggle span::before {
  top: -6px;
}

.nav-toggle span::after {
  top: 6px;
}

.nav-open .nav-toggle span {
  background: transparent;
}

.nav-open .nav-toggle span::before {
  transform: translateY(6px) rotate(45deg);
}

.nav-open .nav-toggle span::after {
  transform: translateY(-6px) rotate(-45deg);
}

@media (max-width: 900px) {
  .nav-toggle {
    display: inline-flex;
  }

  .nav {
    position: fixed;
    inset: 78px 0 auto 0;
    flex-direction: column;
    align-items: stretch;
    gap: 20px;
    padding: 24px var(--gutter) 32px;
    background: #1b0d24;
    border-bottom: 1px solid var(--border);
    box-shadow: 0 30px 60px rgba(0, 0, 0, 0.5);
    transform: translateY(-12px);
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.25s ease, transform 0.25s ease, visibility 0.25s;
  }

  .nav-open .nav {
    transform: none;
    opacity: 1;
    visibility: visible;
  }

  .nav-open .site-header {
    background: #1b0d24;
  }

  .nav-links {
    flex-direction: column;
    gap: 4px;
  }

  .nav-links a {
    display: block;
    padding: 12px 0;
    font-size: 18px;
  }

  .nav .btn {
    width: 100%;
  }
}

/* ------------------------------------------------------------------ Hero */

.hero {
  position: relative;
  min-height: 100vh;
  min-height: 100svh;
  display: flex;
  align-items: center;
  padding: 120px 0 80px;
  isolation: isolate;
  overflow: hidden;
}

.hero-bg {
  position: absolute;
  inset: 0;
  z-index: -2;
  background: url("../img/ouivibe/hero-crowd.webp") center 30% / cover no-repeat;
}

.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background:
    radial-gradient(60% 50% at 80% 40%, rgba(5, 119, 253, 0.22), transparent 70%),
    linear-gradient(180deg, rgba(20, 10, 30, 0.72) 0%, rgba(26, 12, 36, 0.86) 55%, var(--bg) 100%);
}

.hero .container {
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(0, 0.95fr);
  align-items: center;
  gap: 48px;
}

.hero h1 .text-gradient {
  white-space: nowrap;
}

.hero h1 {
  font-size: clamp(38px, 5.6vw, 66px);
  font-weight: 700;
  margin: 18px 0 22px;
}

.hero-lead {
  font-size: clamp(17px, 1.6vw, 20px);
  color: var(--text-muted);
  max-width: 560px;
}

.hero .stores {
  margin-top: 34px;
}

.hero-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 10px 22px;
  margin-top: 28px;
  font-size: 14px;
  color: var(--text-muted);
}

.hero-meta span {
  display: inline-flex;
  align-items: center;
  gap: 8px;
}

.hero-meta i {
  color: var(--green);
  font-size: 17px;
}

.hero-visual {
  position: relative;
  display: flex;
  justify-content: center;
  min-height: 600px;
}

.hero-visual .phone--main {
  z-index: 2;
}

.hero-visual .phone--back {
  position: absolute;
  top: 70px;
  right: 2%;
  width: 230px;
  transform: rotate(8deg);
  opacity: 0.9;
  z-index: 1;
}

.hero-visual .glow {
  position: absolute;
  inset: 12% 10%;
  background: radial-gradient(closest-side, rgba(138, 55, 201, 0.55), transparent);
  filter: blur(30px);
  z-index: 0;
}

@media (max-width: 960px) {
  .hero {
    min-height: 0;
    padding-top: 120px;
  }

  .hero .container {
    grid-template-columns: 1fr;
    text-align: center;
  }

  .hero-lead {
    margin-inline: auto;
  }

  .hero .stores,
  .hero-meta {
    justify-content: center;
  }

  .hero-visual {
    min-height: 0;
    margin-top: 12px;
  }

  .hero-visual .phone--back {
    display: none;
  }
}

/* ------------------------------------------------------------------ Téléphone */

.phone {
  position: relative;
  width: 290px;
  max-width: 100%;
  aspect-ratio: 9 / 19.5;
  padding: 10px;
  border-radius: 46px;
  background: linear-gradient(160deg, #3a3346, #15131b 60%, #2a2433);
  box-shadow:
    0 0 0 1px rgba(255, 255, 255, 0.14) inset,
    0 40px 80px -20px rgba(0, 0, 0, 0.75),
    0 0 60px -10px rgba(138, 55, 201, 0.45);
}

.phone img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: top center;
  border-radius: 37px;
  background: #000;
}

.phone::after {
  /* Dynamic Island */
  content: "";
  position: absolute;
  top: 20px;
  left: 50%;
  width: 30%;
  height: 22px;
  transform: translateX(-50%);
  border-radius: 20px;
  background: #000;
}

/* ------------------------------------------------------------------ Bandeau styles */

.marquee {
  position: relative;
  padding: 22px 0;
  border-block: 1px solid var(--border);
  background: rgba(255, 255, 255, 0.02);
  overflow: hidden;
  mask-image: linear-gradient(90deg, transparent, #000 10%, #000 90%, transparent);
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 10%, #000 90%, transparent);
}

.marquee-track {
  display: flex;
  gap: 14px;
  width: max-content;
  animation: marquee 60s linear infinite;
}

.marquee:hover .marquee-track {
  animation-play-state: paused;
}

.chip {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 10px 18px;
  border-radius: 999px;
  background: rgba(138, 55, 201, 0.2);
  border: 1px solid rgba(165, 105, 217, 0.35);
  font-size: 15px;
  font-weight: 500;
  white-space: nowrap;
}

@keyframes marquee {
  to {
    transform: translateX(-50%);
  }
}

/* ------------------------------------------------------------------ Sections */

.section {
  position: relative;
  padding: clamp(72px, 10vw, 128px) 0;
}

.section--tint {
  background: linear-gradient(180deg, var(--bg) 0%, #1b1427 50%, var(--bg) 100%);
}

.section-head {
  max-width: 720px;
  margin: 0 auto clamp(40px, 6vw, 64px);
  text-align: center;
}

.section-head h2,
.split h2,
.club h2,
.pros h2,
.cta-band h2 {
  font-size: clamp(30px, 4vw, 46px);
  font-weight: 700;
  margin-top: 14px;
}

.section-head p {
  margin-top: 18px;
  font-size: 18px;
  color: var(--text-muted);
}

/* Cartes à bordure dégradée, comme les cartes de l'appli. */
.card {
  position: relative;
  padding: 30px;
  border-radius: var(--radius);
  background: var(--card);
  isolation: isolate;
}

.card::before {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: inherit;
  padding: 1px;
  background: var(--card-border);
  -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0);
  -webkit-mask-composite: xor;
  mask-composite: exclude;
  opacity: 0.55;
  z-index: -1;
  pointer-events: none;
}

.features {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 22px;
}

.feature {
  transition: transform 0.25s ease, background 0.25s ease;
}

.feature:hover {
  transform: translateY(-4px);
  background: #232838;
}

.feature-icon {
  display: grid;
  place-items: center;
  width: 54px;
  height: 54px;
  border-radius: 16px;
  background: var(--cta);
  font-size: 26px;
  box-shadow: var(--glow);
}

.feature h3 {
  font-size: 20px;
  margin: 22px 0 10px;
}

.feature p {
  color: var(--text-muted);
  font-size: 15.5px;
}

@media (max-width: 960px) {
  .features {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 620px) {
  .features {
    grid-template-columns: 1fr;
  }
}

/* Ligne texte + téléphone */
.split {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  align-items: center;
  gap: clamp(40px, 7vw, 96px);
}

.split + .split {
  margin-top: clamp(80px, 11vw, 140px);
}

.split--reverse .split-media {
  order: 2;
}

.split-media {
  position: relative;
  display: flex;
  justify-content: center;
}

.split-media::before {
  content: "";
  position: absolute;
  width: 420px;
  height: 420px;
  max-width: 100%;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  border-radius: 50%;
  background: radial-gradient(closest-side, rgba(138, 55, 201, 0.45), rgba(5, 119, 253, 0.12) 60%, transparent);
  filter: blur(10px);
}

.split p {
  margin-top: 18px;
  font-size: 17.5px;
  color: var(--text-muted);
}

.ticks {
  list-style: none;
  margin: 26px 0 0;
  padding: 0;
  display: grid;
  gap: 14px;
}

.ticks li {
  display: flex;
  gap: 12px;
  align-items: flex-start;
}

.ticks i {
  flex: none;
  display: grid;
  place-items: center;
  width: 26px;
  height: 26px;
  margin-top: 1px;
  border-radius: 50%;
  background: rgba(38, 208, 124, 0.16);
  color: var(--green);
  font-size: 16px;
}

@media (max-width: 860px) {
  .split {
    grid-template-columns: 1fr;
  }

  .split--reverse .split-media {
    order: 0;
  }
}

/* Étapes */
.steps {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 22px;
  counter-reset: step;
}

.step {
  counter-increment: step;
}

.step::after {
  content: "0" counter(step);
  position: absolute;
  top: 18px;
  right: 24px;
  font-family: var(--font-display);
  font-size: 48px;
  font-weight: 800;
  color: rgba(255, 255, 255, 0.06);
}

.step h3 {
  font-size: 20px;
  margin: 18px 0 10px;
}

.step p {
  color: var(--text-muted);
}

@media (max-width: 860px) {
  .steps {
    grid-template-columns: 1fr;
  }
}

/* Club */
.club {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  border-radius: var(--radius-lg);
  overflow: hidden;
  background: linear-gradient(135deg, #2c1338, #1a1d2e);
  border: 1px solid rgba(165, 105, 217, 0.3);
}

.club-media {
  min-height: 420px;
  background: url("../img/ouivibe/party-toast.webp") center 30% / cover no-repeat;
}

.club-body {
  padding: clamp(32px, 5vw, 64px);
}

.club-body > p {
  margin-top: 18px;
  color: var(--text-muted);
  font-size: 17px;
}

.club-perks {
  display: grid;
  gap: 14px;
  margin: 28px 0 32px;
}

.perk {
  display: flex;
  gap: 14px;
  align-items: flex-start;
  padding: 16px 18px;
  border-radius: 16px;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid var(--border);
}

.perk i {
  font-size: 22px;
  color: #c58bff;
  margin-top: 1px;
}

.perk strong {
  display: block;
  font-family: var(--font-display);
  font-size: 16px;
}

.perk span {
  color: var(--text-muted);
  font-size: 15px;
}

.badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 7px 14px;
  border-radius: 999px;
  background: rgba(38, 208, 124, 0.14);
  color: #6ff0ad;
  font-size: 13px;
  font-weight: 600;
}

@media (max-width: 860px) {
  .club {
    grid-template-columns: 1fr;
  }

  .club-media {
    min-height: 240px;
  }
}

/* Pros */
.pros {
  position: relative;
  border-radius: var(--radius-lg);
  padding: clamp(36px, 6vw, 72px);
  overflow: hidden;
  isolation: isolate;
  background: url("../img/ouivibe/concert.webp") center / cover no-repeat;
}

.pros::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background: linear-gradient(110deg, rgba(23, 10, 33, 0.97) 0%, rgba(40, 16, 56, 0.9) 45%, rgba(20, 24, 50, 0.75) 100%);
}

.pros-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: clamp(32px, 6vw, 72px);
  align-items: center;
}

.pros-lead {
  margin-top: 18px;
  font-size: 18px;
  color: var(--text-muted);
}

.pros-lead em {
  font-style: normal;
  color: #6ff0ad;
  font-weight: 600;
}

.pros .btn {
  margin-top: 30px;
}

.pro-list {
  display: grid;
  gap: 14px;
}

.pro-item {
  display: flex;
  gap: 16px;
  padding: 18px 20px;
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.1);
  backdrop-filter: blur(6px);
}

.pro-item i {
  flex: none;
  display: grid;
  place-items: center;
  width: 44px;
  height: 44px;
  border-radius: 14px;
  background: rgba(138, 55, 201, 0.3);
  color: #e2c4ff;
  font-size: 22px;
}

.pro-item strong {
  display: block;
  font-family: var(--font-display);
  font-size: 16.5px;
  margin-bottom: 2px;
}

.pro-item span {
  color: var(--text-muted);
  font-size: 15px;
}

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

/* Lyon */
.city {
  position: relative;
  padding: clamp(90px, 12vw, 150px) 0;
  text-align: center;
  isolation: isolate;
  background: url("../img/ouivibe/lyon-night.webp") center 60% / cover no-repeat;
}

.city::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background:
    radial-gradient(60% 55% at 50% 50%, rgba(18, 14, 28, 0.78), rgba(18, 14, 28, 0.45) 100%),
    linear-gradient(180deg, var(--bg) 0%, rgba(20, 24, 32, 0.35) 30%, rgba(20, 24, 32, 0.4) 70%, var(--bg) 100%);
}

.city h2 {
  font-size: clamp(32px, 4.6vw, 54px);
  font-weight: 700;
  margin-top: 14px;
}

.city p {
  max-width: 640px;
  margin: 20px auto 0;
  font-size: 18px;
  color: rgba(255, 255, 255, 0.82);
}

/* FAQ */
.faq {
  max-width: 860px;
  margin: 0 auto;
  display: grid;
  gap: 14px;
}

.faq details {
  border-radius: 18px;
  background: var(--card);
  border: 1px solid var(--border);
  transition: border-color 0.2s ease, background 0.2s ease;
}

.faq details[open] {
  border-color: rgba(165, 105, 217, 0.5);
  background: #20202f;
}

.faq summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  padding: 22px 26px;
  cursor: pointer;
  list-style: none;
  font-family: var(--font-display);
  font-size: 17.5px;
  font-weight: 600;
}

.faq summary::-webkit-details-marker {
  display: none;
}

.faq summary::after {
  content: "";
  flex: none;
  width: 30px;
  height: 30px;
  border-radius: 50%;
  background:
    linear-gradient(#fff, #fff) center / 12px 2px no-repeat,
    linear-gradient(#fff, #fff) center / 2px 12px no-repeat,
    rgba(255, 255, 255, 0.08);
  transition: transform 0.25s ease;
}

.faq details[open] summary::after {
  transform: rotate(45deg);
  background-color: rgba(138, 55, 201, 0.5);
}

.faq .answer {
  padding: 0 26px 24px;
  color: var(--text-muted);
}

.faq .answer p + p,
.faq .answer p + ul,
.faq .answer ul + p {
  margin-top: 12px;
}

.faq .answer ul {
  margin: 12px 0 0;
  padding-left: 20px;
}

.faq .answer li + li {
  margin-top: 4px;
}

.faq .answer a {
  color: #c58bff;
}

.faq-more {
  margin-top: 32px;
  text-align: center;
  color: var(--text-muted);
}

.faq-more a {
  color: #c58bff;
  font-weight: 600;
}

/* Bandeau final */
.cta-band {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 1.2fr) minmax(0, 0.8fr);
  align-items: center;
  gap: 40px;
  padding: clamp(36px, 6vw, 72px) clamp(28px, 6vw, 72px) 0;
  border-radius: var(--radius-lg);
  overflow: hidden;
  background:
    radial-gradient(70% 90% at 100% 0%, rgba(5, 119, 253, 0.55), transparent 60%),
    linear-gradient(120deg, #4a2780 0%, #7a2fb4 55%, #3d4fd8 100%);
}

.cta-band-body {
  padding-bottom: clamp(36px, 6vw, 72px);
}

.cta-band p {
  margin-top: 16px;
  font-size: 18px;
  color: rgba(255, 255, 255, 0.86);
}

.cta-band .stores {
  margin-top: 30px;
}

.cta-band-media {
  align-self: end;
  display: flex;
  justify-content: center;
}

.cta-band-media .phone {
  width: 260px;
  margin-bottom: -150px;
  transform: rotate(-6deg);
}

@media (max-width: 860px) {
  .cta-band {
    grid-template-columns: 1fr;
    text-align: center;
  }

  .cta-band .stores {
    justify-content: center;
  }

  .cta-band-media .phone {
    margin-bottom: -220px;
  }

  .cta-band-media {
    height: 260px;
    overflow: hidden;
  }
}

/* ------------------------------------------------------------------ Pages intérieures */

.page-hero {
  position: relative;
  padding: 150px 0 60px;
  text-align: center;
  isolation: isolate;
  overflow: hidden;
}

.page-hero::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background:
    radial-gradient(50% 80% at 50% 0%, rgba(138, 55, 201, 0.35), transparent 70%),
    linear-gradient(180deg, var(--bg-top), var(--bg));
}

.page-hero h1 {
  font-size: clamp(32px, 5vw, 54px);
  font-weight: 700;
  margin-top: 14px;
}

.page-hero p {
  max-width: 640px;
  margin: 18px auto 0;
  font-size: 18px;
  color: var(--text-muted);
}

.page-hero .meta {
  margin-top: 14px;
  font-size: 14px;
  color: var(--text-faint);
}

.page-body {
  padding: 20px 0 clamp(80px, 10vw, 120px);
}

/* Texte long : CGV, politique, mentions, règles */
.prose {
  max-width: 820px;
  margin: 0 auto;
  color: rgba(255, 255, 255, 0.78);
  font-size: 16.5px;
  line-height: 1.75;
}

.prose h2 {
  margin: 48px 0 14px;
  padding-top: 8px;
  font-size: clamp(21px, 2.4vw, 25px);
  color: var(--text);
}

.prose h2:first-child {
  margin-top: 0;
}

.prose h3 {
  margin: 30px 0 10px;
  font-size: 18px;
  color: var(--text);
}

.prose p + p,
.prose ul + p,
.prose p + ul,
.prose ol + p,
.prose p + ol {
  margin-top: 14px;
}

.prose ul,
.prose ol {
  margin: 14px 0 0;
  padding-left: 22px;
}

.prose li + li {
  margin-top: 6px;
}

.prose li p {
  margin: 0;
}

.prose a {
  color: #c58bff;
  text-decoration: underline;
  text-underline-offset: 3px;
}

.prose strong {
  color: var(--text);
}

.toc {
  max-width: 820px;
  margin: 0 auto 48px;
  padding: 24px 28px;
}

.toc h2 {
  font-size: 15px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--violet-soft);
  font-family: var(--font-body);
  font-weight: 600;
}

.toc ol {
  margin: 14px 0 0;
  padding-left: 20px;
  columns: 2;
  column-gap: 32px;
  font-size: 15px;
}

.toc li {
  break-inside: avoid;
  margin-bottom: 6px;
}

.toc a {
  color: var(--text-muted);
}

.toc a:hover {
  color: var(--text);
}

@media (max-width: 680px) {
  .toc ol {
    columns: 1;
  }
}

.legal-card {
  max-width: 820px;
  margin: 0 auto;
}

.legal-list {
  display: grid;
  gap: 0;
  margin: 0;
}

.legal-list div {
  display: grid;
  grid-template-columns: 220px minmax(0, 1fr);
  gap: 20px;
  padding: 18px 0;
  border-bottom: 1px solid var(--border);
}

.legal-list div:last-child {
  border-bottom: 0;
}

.legal-list dt {
  font-weight: 600;
  color: var(--text);
}

.legal-list dd {
  margin: 0;
  color: var(--text-muted);
}

.legal-list a {
  color: #c58bff;
}

@media (max-width: 620px) {
  .legal-list div {
    grid-template-columns: 1fr;
    gap: 4px;
  }
}

/* Contact */
.contact-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 22px;
  max-width: 1000px;
  margin: 0 auto;
}

.contact-card h2 {
  font-size: 19px;
  margin: 20px 0 8px;
}

.contact-card p {
  color: var(--text-muted);
}

.contact-card a.link {
  display: inline-block;
  margin-top: 14px;
  color: #c58bff;
  font-weight: 600;
  word-break: break-word;
}

@media (max-width: 860px) {
  .contact-grid {
    grid-template-columns: 1fr;
  }
}

.note {
  max-width: 820px;
  margin: 40px auto 0;
  padding: 20px 24px;
  border-radius: 16px;
  background: rgba(5, 119, 253, 0.1);
  border: 1px solid rgba(5, 119, 253, 0.3);
  color: rgba(255, 255, 255, 0.82);
  font-size: 15.5px;
}

.note a {
  color: #8cc2ff;
  font-weight: 600;
}

/* Règles */
.rules {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
  list-style: none;
  padding: 0;
  margin: 18px 0 0;
}

.rules li {
  display: flex;
  gap: 12px;
  align-items: flex-start;
  padding: 16px 18px;
  border-radius: 14px;
  background: rgba(255, 90, 95, 0.08);
  border: 1px solid rgba(255, 90, 95, 0.25);
  color: var(--text);
}

.rules li + li {
  margin-top: 0;
}

.rules i {
  color: #ff7a7f;
  font-size: 20px;
  line-height: 1.4;
}

@media (max-width: 620px) {
  .rules {
    grid-template-columns: 1fr;
  }
}

/* ------------------------------------------------------------------ Pied de page */

.site-footer {
  margin-top: clamp(60px, 9vw, 120px);
  padding: 72px 0 32px;
  background: #0f1218;
  border-top: 1px solid rgba(255, 255, 255, 0.06);
}

.footer-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.5fr) repeat(3, minmax(0, 1fr));
  gap: 40px;
}

.footer-brand img {
  height: 34px;
  width: auto;
}

.footer-brand p {
  margin-top: 18px;
  max-width: 320px;
  color: var(--text-muted);
  font-size: 15px;
}

.footer-brand .stores {
  margin-top: 22px;
}

.footer-brand .store-btn {
  min-height: 48px;
}

.footer-brand .store-btn strong {
  font-size: 16px;
}

.footer-col h2 {
  font-family: var(--font-body);
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--text-faint);
}

.footer-col ul {
  list-style: none;
  margin: 18px 0 0;
  padding: 0;
  display: grid;
  gap: 12px;
}

.footer-col a {
  color: var(--text-muted);
  font-size: 15px;
  transition: color 0.2s ease;
}

.footer-col a:hover {
  color: var(--text);
}

.footer-bottom {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 12px;
  margin-top: 56px;
  padding-top: 26px;
  border-top: 1px solid rgba(255, 255, 255, 0.07);
  color: var(--text-faint);
  font-size: 14px;
}

@media (max-width: 900px) {
  .footer-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .footer-brand {
    grid-column: 1 / -1;
  }
}

@media (max-width: 520px) {
  .footer-grid {
    grid-template-columns: 1fr;
  }
}

/* ------------------------------------------------------------------ Apparition au défilement */

.reveal {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.7s ease, transform 0.7s ease;
}

.reveal.is-visible {
  opacity: 1;
  transform: none;
}

.no-js .reveal {
  opacity: 1;
  transform: none;
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  .reveal {
    opacity: 1;
    transform: none;
    transition: none;
  }

  .marquee-track {
    animation: none;
  }

  .btn,
  .store-btn,
  .feature {
    transition: none;
  }
}

.pt-0 {
  padding-top: 0;
}

.prose ul.rules {
  padding-left: 0;
  margin-top: 18px;
}
