/* =========================================================================
   Fracture des Songes — Dreamland TCG · Landing page
   Feuille de style unique, sans framework.
   Palette et valeurs par défaut reprises du design "Fracture des Songes".
   ========================================================================= */

/* ---------- Fonts ---------- */
@font-face {
  font-family: "Dreamlands";
  src: url("../assets/fonts/Dreamlands.ttf") format("truetype");
  font-display: swap;
}
@font-face {
  font-family: "Makio";
  src: url("../assets/fonts/Makio.ttf") format("truetype");
  font-display: swap;
}
/* Disponible mais non utilisée par défaut (même famille « Makimango » que Makio, version droite). */
@font-face {
  font-family: "Makimang";
  src: url("../assets/fonts/Makimang.ttf") format("truetype");
  font-display: swap;
}

/* ---------- Reset ---------- */
*,
*::before,
*::after {
  box-sizing: border-box;
}
html {
  scroll-behavior: smooth;
  overflow-x: clip;
}
body {
  margin: 0;
  background: #eaf1fb;
  font-family: "Nunito", sans-serif;
  color: #24324d;
  -webkit-font-smoothing: antialiased;
  overflow-x: clip;
}
img {
  max-width: 100%;
}
input,
button {
  font-family: inherit;
}

/* ---------- Design tokens ---------- */
:root {
  --accent: #f26b21;
  --rbtn: 40px;
  --rcard: 22px;
  --bd: 3px solid #24324d;
  --depth: 5px;
  --navbg: rgba(255, 255, 255, 0.82);
  --navbd: rgba(46, 76, 126, 0.12);
  --sky: url("../assets/sky-blue.jpg");
  --loreov: 0.6;
  --ink: #24324d;
  --card-shadow:
    0 30px 60px rgba(0, 0, 0, 0.5), 0 16px 44px rgba(0, 0, 0, 0.32);
}

/* ---------- Keyframes ---------- */
@keyframes fdsFloatA {
  0%,
  100% {
    transform: translateY(0) rotate(-7deg);
  }
  50% {
    transform: translateY(-38px) rotate(-11deg);
  }
}
@keyframes fdsFloatB {
  0%,
  100% {
    transform: translateY(0) rotate(6deg);
  }
  50% {
    transform: translateY(-48px) rotate(10deg);
  }
}
@keyframes fdsBob {
  0%,
  100% {
    transform: translate(-50%, 0);
  }
  50% {
    transform: translate(-50%, 9px);
  }
}
@keyframes prodFloat {
  0%,
  100% {
    transform: translateY(0) rotate(-1deg);
  }
  50% {
    transform: translateY(-13px) rotate(1deg);
  }
}

/* ---------- Typography helpers ---------- */
.display {
  font-family: "Dreamlands", sans-serif;
  font-weight: 400;
  line-height: 1.08;
  letter-spacing: 0.01em;
  color: var(--ink);
  font-size: clamp(38px, 6.4vw, 80px);
  margin: 0;
}
.display--light {
  color: #fff;
  text-shadow: 0 4px 24px rgba(0, 0, 0, 0.4);
}
.display--dark {
  color: #24324d;
}
.display--brown {
  color: #3a1e10;
}
.accent {
  color: var(--accent);
}

.eyebrow {
  font-family: "Makio", sans-serif;
  text-transform: uppercase;
  letter-spacing: 0.18em;
  font-size: 24px;
  margin: 0 0 18px;
}
.eyebrow--accent {
  color: var(--accent);
  letter-spacing: 0.18em;
  margin-bottom: 22px;
}
.eyebrow--gold {
  color: #ffd23f;
}
.eyebrow--blue {
  color: #2b8fe0;
}
.eyebrow--pill {
  letter-spacing: 0.2em;
  font-size: 15px;
  color: #2e4c7e;
  background: rgba(255, 255, 255, 0.7);
  padding: 7px 16px;
  border-radius: 30px;
  margin: 0 0 26px;
  display: inline-block;
}
.lead {
  font-family: "Nunito", sans-serif;
  font-weight: 700;
  font-size: clamp(17px, 2vw, 21px);
  color: #44506e;
  max-width: 620px;
  margin: 30px auto 0;
  line-height: 1.6;
}

/* ---------- Buttons ---------- */
.btn {
  display: inline-block;
  text-decoration: none;
  cursor: pointer;
  font-family: "Makio", sans-serif;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  border: var(--bd);
}
.btn--accent {
  color: #fff;
  background: var(--accent);
}
.btn--light {
  color: #24324d;
  background: #fff;
}
.btn--lg {
  font-size: 18px;
  padding: 16px 30px;
  border-radius: var(--rbtn);
  box-shadow: 0 var(--depth) 0 #24324d;
}
.btn--accent.btn--lg {
  box-shadow:
    0 var(--depth) 0 #24324d,
    0 12px 24px rgba(242, 107, 33, 0.32);
}
.btn--discord {
  font-size: 14px;
  color: #fff;
  background: #5865f2;
  padding: 9px 18px;
  border-radius: 30px;
  border: 2.5px solid #24324d;
  box-shadow: 0 3px 0 #24324d;
}
.btn--gold {
  font-size: 14px;
  letter-spacing: 0.04em;
  color: #24324d;
  background: #ffd23f;
  border: 2.5px solid #24324d;
  box-shadow: 0 4px 0 #24324d;
  padding: 13px 18px;
  border-radius: 30px;
}

/* ---------- Reveal on scroll ---------- */
[data-reveal] {
  opacity: 0;
  transform: translateY(26px);
  transition:
    opacity 0.7s ease,
    transform 0.7s ease;
}
[data-reveal].is-visible {
  opacity: 1;
  transform: none;
}

/* =========================================================================
   NAV
   ========================================================================= */
.nav {
  position: sticky;
  top: 0;
  z-index: 60;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 12px 26px;
  background: var(--navbg);
  backdrop-filter: blur(10px);
  border-bottom: 2px solid var(--navbd);
}
.nav__logo {
  display: flex;
  align-items: center;
  text-decoration: none;
}
.nav__logo img {
  height: 44px;
  width: auto;
  display: block;
}
.nav__links {
  display: flex;
  align-items: center;
  gap: 26px;
}
.nav__links > a:not(.btn) {
  font-family: "Nunito", sans-serif;
  font-weight: 800;
  font-size: 15px;
  color: #2e4c7e;
  text-decoration: none;
}
.nav__burger {
  display: none;
  width: 44px;
  height: 40px;
  align-items: center;
  justify-content: center;
  background: #fff;
  border: 2.5px solid #24324d;
  border-radius: 10px;
  box-shadow: 0 3px 0 #24324d;
  color: #24324d;
  font-size: 19px;
  cursor: pointer;
}

/* =========================================================================
   HERO
   ========================================================================= */
.hero {
  position: relative;
  min-height: 94vh;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 70px 24px 120px;
  background: var(--sky) center/cover no-repeat;
  /* clip + translateZ : contient les cartes décoratives (absolues + rotation),
     y compris sur Safari mobile où un enfant transformé s'échappe d'un simple overflow:hidden. */
  overflow: hidden;
  transform: translateZ(0);
}
.hero__veil {
  position: absolute;
  inset: 0;
  pointer-events: none;
  background: linear-gradient(
    180deg,
    rgba(255, 255, 255, 0.28) 0%,
    rgba(255, 255, 255, 0) 22%,
    rgba(43, 111, 224, 0.12) 100%
  );
}
.hero__card {
  position: absolute;
  height: min(56vh, 470px);
  border-radius: 14px;
  box-shadow: 0 26px 50px rgba(20, 32, 60, 0.34);
  pointer-events: none;
  z-index: 1;
}
.hero__card--a {
  left: -40px;
  bottom: -40px;
  transform: rotate(-7deg);
  animation: fdsFloatA 4.2s ease-in-out infinite;
}
.hero__card--b {
  right: -46px;
  bottom: -30px;
  transform: rotate(6deg);
  animation: fdsFloatB 4.8s ease-in-out infinite;
}
.hero__inner {
  position: relative;
  z-index: 2;
  display: flex;
  flex-direction: column;
  align-items: center;
  max-width: 840px;
}
.hero__logo {
  width: min(620px, 84vw);
  height: auto;
  filter: drop-shadow(0 12px 22px rgba(20, 32, 60, 0.28));
  margin-bottom: 8px;
}
.hero__lead {
  font-family: "Nunito", sans-serif;
  font-weight: 700;
  font-size: clamp(18px, 2.4vw, 23px);
  color: #22345c;
  max-width: 560px;
  margin: 14px 0 34px;
  line-height: 1.5;
  text-shadow: 0 1px 12px rgba(255, 255, 255, 0.6);
}
.hero__cta {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  justify-content: center;
}
.hero__cue {
  position: absolute;
  bottom: 26px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 2;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 46px;
  height: 46px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.85);
  border: 2.5px solid #24324d;
  color: #24324d;
  font-size: 20px;
  text-decoration: none;
  animation: fdsBob 2.4s ease-in-out infinite;
}

/* =========================================================================
   PROMESSE
   ========================================================================= */
.promesse {
  padding: 120px 24px;
  background: linear-gradient(180deg, #fbf8f1 0%, #f3f1fb 100%);
}
.promesse__inner {
  max-width: 960px;
  margin: 0 auto;
  text-align: center;
}
.promesse .lead {
  margin-top: 30px;
}

/* =========================================================================
   LORE
   ========================================================================= */
.lore {
  position: relative;
  padding: 120px 24px;
  overflow: hidden;
  background: url("../assets/sky-night.jpg") center/cover no-repeat;
}
.lore::before {
  content: "";
  position: absolute;
  inset: 0;
  background: rgba(24, 18, 48, var(--loreov));
}
.lore__inner {
  position: relative;
  z-index: 2;
  max-width: 780px;
  margin: 0 auto;
  text-align: center;
}
.lore .display--light {
  margin: 0 0 30px;
  font-size: clamp(34px, 5.4vw, 64px);
}
.lore__text {
  font-family: "Nunito", sans-serif;
  font-weight: 600;
  font-size: clamp(18px, 2.1vw, 23px);
  line-height: 1.7;
  color: rgba(255, 255, 255, 0.92);
  margin: 0;
}

/* =========================================================================
   GALERIE — les cartes
   ========================================================================= */
.galerie {
  position: relative;
  padding: 100px 24px 120px;
  overflow: hidden;
  background:
    linear-gradient(180deg, rgba(20, 15, 46, 0.86), rgba(20, 15, 46, 0.94)),
    url("../assets/sky-night.jpg") center/cover;
}
.galerie__inner {
  position: relative;
  z-index: 2;
  max-width: 1040px;
  margin: 0 auto;
}
.galerie__head {
  text-align: center;
  margin-bottom: 8px;
}
.galerie__head .display--light {
  font-size: clamp(38px, 6vw, 84px);
}
.galerie__sub {
  font-family: "Nunito", sans-serif;
  font-weight: 700;
  font-size: 18px;
  color: rgba(255, 255, 255, 0.82);
  max-width: 560px;
  margin: 18px auto 0;
}

/* --- Row layout --- */
.cardrow {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: flex-start;
  max-width: 1040px;
  margin: 0 auto;
  padding: 60px 0;
}
.cardrow--rev {
  justify-content: flex-end;
}
.cardrow[data-reveal] {
  transform: translateY(40px) scale(0.92);
  transition:
    opacity 0.7s ease,
    transform 1s cubic-bezier(0.16, 0.9, 0.24, 1);
}
.cardrow[data-reveal].is-visible {
  transform: none;
}

.cardrow__stage {
  flex: 0 0 auto;
  width: clamp(260px, 30vw, 380px);
  perspective: 1100px;
}

/* --- Card (tilt element) --- */
.card {
  position: relative;
  width: 100%;
  aspect-ratio: 924/1316;
  transform-style: preserve-3d;
  transition: transform 0.18s ease;
  cursor: pointer;
}
.card__flip {
  position: absolute;
  inset: 0;
  transform-style: preserve-3d;
  transition: transform 0.8s cubic-bezier(0.35, 0.1, 0.25, 1);
  transform: perspective(1100px) rotateY(180deg);
}
.card[data-card="zero"] .card__flip {
  transition-duration: 0.9s;
}
.card.is-flipped .card__flip {
  transform: perspective(1100px) rotateY(0deg);
}

.card__back,
.card__front {
  position: absolute;
  inset: 0;
  backface-visibility: hidden;
  border-radius: 16px;
  overflow: hidden;
  box-shadow: var(--card-shadow);
}
.card__back {
  transform: rotateY(180deg);
}
.card__back img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.card__foil {
  position: absolute;
  inset: 0;
  pointer-events: none;
  border-radius: 16px;
  opacity: 0;
  z-index: 6;
  transition: opacity 0.25s ease;
  mix-blend-mode: color-dodge;
  background: linear-gradient(
    115deg,
    rgba(255, 0, 120, 0.28),
    rgba(0, 200, 255, 0.24) 30%,
    rgba(120, 255, 180, 0.24) 45%,
    rgba(255, 220, 0, 0.28) 60%,
    rgba(255, 0, 180, 0.28) 80%
  );
  background-size: 220% 220%;
  background-position: 50% 50%;
}

/* --- Layers (generic) --- */
.lyr {
  position: absolute;
}
.lyr--bg {
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}
givre-overlay,
flamme-overlay,
heat-haze {
  display: block;
}

/* --- ZERO (givre) --- */
.card__front--zero {
  background: #0b1420;
}
.card__front--zero .lyr--perso {
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: 1;
  opacity: 0;
  transform: translateY(26px) scale(0.97);
  transition:
    opacity 1s ease-out,
    transform 1s cubic-bezier(0.22, 1, 0.36, 1);
  filter: drop-shadow(0 12px 24px rgba(10, 30, 60, 0.35));
}
.card__front--zero .lyr--overlay {
  inset: 0;
  width: 100%;
  height: 100%;
  z-index: 2;
}
.card__front--zero .lyr--infos {
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: 3;
  opacity: 0;
  transition: opacity 0.9s ease-out;
}
.card.show-perso .card__front--zero .lyr--perso {
  opacity: 1;
  transform: translateY(0) scale(1);
}
.card.show-infos .card__front--zero .lyr--infos {
  opacity: 1;
}

/* --- BAGUE (flamme) --- */
.card__front--bague {
  background: #2a0f06;
}
.card__front--bague .lyr--ring {
  position: absolute;
  left: var(--ring-x, 52%);
  top: var(--ring-y, 37%);
  width: var(--ring-size, 73%);
  z-index: 1;
  opacity: 0;
  transform: translate(-50%, -42%) scale(0.92);
  transition:
    opacity 1s ease-out,
    transform 1s cubic-bezier(0.22, 1, 0.36, 1);
  filter: drop-shadow(0 12px 26px rgba(120, 40, 0, 0.5));
}
.card__front--bague .lyr--card {
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: 2;
  opacity: 0;
  transition: opacity 0.6s ease;
}
.card__front--bague .lyr--flame {
  inset: 0;
  width: 100%;
  height: 100%;
  z-index: 3;
}
.card.show-ring .card__front--bague .lyr--ring {
  opacity: 1;
  transform: translate(-50%, -50%) scale(1);
}
.card.show-card .card__front--bague .lyr--card {
  opacity: 1;
}

/* --- TERRENCE (révélation + heat-haze) --- */
.card__front--terrence {
  background: #dfeaf7;
}
.terrence-crop {
  position: absolute;
  inset: 0;
  transform-origin: center;
  transform: translate(var(--crop-x, 0%), var(--crop-y, 0%))
    scale(var(--crop-zoom, 1));
}
.card__front--terrence .lyr--perso {
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: contain;
  object-position: center;
  z-index: 1;
  opacity: 0;
  transform: translateY(26px) scale(0.97);
  transition:
    opacity 1s ease-out,
    transform 1s cubic-bezier(0.22, 1, 0.36, 1);
}
.card__front--terrence .lyr--infos {
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: contain;
  object-position: center;
  z-index: 2;
  opacity: 0;
  transition: opacity 0.9s ease-out;
}
.card__front--terrence .lyr--card {
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: 3;
  opacity: 0;
  transition: opacity 0.7s ease;
}
.card__front--terrence .lyr--flame {
  inset: 0;
  width: 100%;
  height: 100%;
  z-index: 4;
  pointer-events: none;
  opacity: 0;
  transition: opacity 0.5s ease;
}
.card.show-perso .card__front--terrence .lyr--perso {
  opacity: 1;
  transform: translateY(0) scale(1);
}
.card.show-infos .card__front--terrence .lyr--infos {
  opacity: 1;
}
.card.show-card .card__front--terrence .lyr--card {
  opacity: 1;
}
.card.show-flame .card__front--terrence .lyr--flame {
  opacity: 1;
}

/* --- FROID (givre) --- */
.card__front--froid {
  background: #0b1420;
}
.card__front--froid .lyr--backdrop {
  inset: 0;
  z-index: 1;
  pointer-events: none;
  opacity: 0;
  background: radial-gradient(
    circle at 50% 48%,
    rgba(6, 10, 26, 0.35),
    rgba(6, 10, 26, 0) 55%
  );
  transition: opacity 1s ease-out;
}
.card__front--froid .lyr--perso {
  position: absolute;
  left: var(--perso-x, 50%);
  top: var(--perso-y, 52%);
  width: var(--perso-size, 62%);
  z-index: 1;
  pointer-events: none;
  opacity: 0;
  transform: translate(-50%, -42%) scale(0.92);
  transition:
    opacity 1s ease-out,
    transform 1s cubic-bezier(0.22, 1, 0.36, 1);
  filter: drop-shadow(0 6px 18px rgba(20, 60, 120, 0.5));
}
.card__front--froid .lyr--overlay {
  inset: 0;
  width: 100%;
  height: 100%;
  z-index: 2;
}
.card__front--froid .lyr--card {
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: 4;
  opacity: 0;
  transition: opacity 0.6s ease;
}
.card.show-backdrop .card__front--froid .lyr--backdrop {
  opacity: 1;
}
.card.show-perso .card__front--froid .lyr--perso {
  opacity: 1;
  transform: translate(-50%, -50%) scale(1);
}
.card.show-card .card__front--froid .lyr--card {
  opacity: 1;
}
/* le voile disparaît quand la carte finale est révélée */
.card.show-card .card__front--froid .lyr--backdrop {
  opacity: 0;
}

/* --- PREMIÈRE FLAMME (heat-haze) --- */
.card__front--pf {
  background: #f4f4f2;
}
.card__front--pf heat-haze {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
}
/* L'image de base du heat est en height:auto (inline) → remplir toute la hauteur du cadre */
.card__front--pf heat-haze > img {
  height: 100% !important;
  object-fit: cover;
}

/* --- Info panel (desktop: slide-in on hover) --- */
.cardrow__info {
  position: relative;
  box-sizing: border-box;
}
.chips {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  align-items: center;
}
.chip {
  font-family: "Makio", sans-serif;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  font-size: 12px;
  color: #fff;
  padding: 5px 11px;
  border-radius: 20px;
}
.chip--kind {
  background: rgba(255, 255, 255, 0.16);
}
.chip--aura {
  background: #ffd23f;
  color: #24324d;
}
.cardname {
  font-family: "Dreamlands", sans-serif;
  font-weight: 400;
  line-height: 0.9;
  color: #fff;
  font-size: clamp(40px, 5.4vw, 76px);
  margin: 14px 0 0;
  text-shadow: 0 3px 20px rgba(0, 0, 0, 0.5);
}
.epithet {
  font-family: "Makio", sans-serif;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  font-size: 16px;
  margin: 12px 0 0;
}
.infobox {
  margin-top: 20px;
  background: rgba(255, 255, 255, 0.06);
  border: 1.5px solid rgba(255, 255, 255, 0.16);
  border-radius: 16px;
  padding: 18px 20px;
}
.infobox__label {
  font-family: "Makio", sans-serif;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  font-size: 12px;
}
.infobox__text {
  font-family: "Nunito", sans-serif;
  font-weight: 600;
  font-size: 16px;
  line-height: 1.55;
  color: rgba(255, 255, 255, 0.9);
  margin: 8px 0 0;
}
.cardnum {
  font-family: "Nunito", sans-serif;
  font-weight: 700;
  font-size: 12px;
  color: rgba(255, 255, 255, 0.45);
  margin-top: 14px;
  letter-spacing: 0.04em;
}

@media (min-width: 641px) {
  .cardrow__info {
    position: absolute;
    top: 50%;
    left: calc(clamp(260px, 30vw, 380px) + 40px);
    width: min(430px, 36vw);
    z-index: 5;
    transform: translateY(-50%) translateX(-28px);
    opacity: 0;
    pointer-events: none;
    transition:
      opacity 0.45s ease,
      transform 0.55s cubic-bezier(0.16, 0.9, 0.24, 1);
  }
  .cardrow__stage:hover ~ .cardrow__info,
  .cardrow.info-peek .cardrow__info,
  .cardrow__info:hover {
    opacity: 1;
    transform: translateY(-50%) translateX(0);
    pointer-events: auto;
  }
  .cardrow--rev .cardrow__info {
    left: auto;
    right: calc(clamp(260px, 30vw, 380px) + 40px);
    transform: translateY(-50%) translateX(28px);
  }
  .cardrow--rev .cardrow__stage:hover ~ .cardrow__info,
  .cardrow--rev.info-peek .cardrow__info,
  .cardrow--rev .cardrow__info:hover {
    transform: translateY(-50%) translateX(0);
  }
}

/* =========================================================================
   COMMENT JOUER
   ========================================================================= */
.jouer {
  padding: 110px 24px;
  background: #fff;
}
.jouer__inner {
  max-width: 1120px;
  margin: 0 auto;
}
.jouer__head {
  text-align: center;
  margin-bottom: 56px;
}
.jouer__head .display {
  font-size: clamp(34px, 5.4vw, 68px);
}
.steps {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(230px, 1fr));
  gap: 22px;
}
.step {
  background: #f4f8fe;
  border: 2px solid #e1eaf7;
  border-radius: 22px;
  padding: 28px;
}
.step__num {
  width: 52px;
  height: 52px;
  border-radius: 16px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  font-family: "Dreamlands", sans-serif;
  font-size: 26px;
  box-shadow: 0 3px 0 #24324d;
  margin-bottom: 18px;
}
.step__title {
  font-family: "Makio", sans-serif;
  text-transform: uppercase;
  letter-spacing: 0.03em;
  font-size: 20px;
  color: #24324d;
  margin: 0 0 8px;
}
.step__text {
  font-family: "Nunito", sans-serif;
  font-weight: 600;
  font-size: 16px;
  line-height: 1.55;
  color: #51607f;
  margin: 0;
}

/* =========================================================================
   BOOSTER
   ========================================================================= */
.booster {
  position: relative;
  padding: 120px 24px;
  overflow: hidden;
  background: url("../assets/sky-orange.jpg") center/cover no-repeat;
}
.booster__veil {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    180deg,
    rgba(255, 247, 235, 0.35) 0%,
    rgba(242, 107, 33, 0.18) 100%
  );
}
.booster__inner {
  position: relative;
  z-index: 2;
  max-width: 1080px;
  margin: 0 auto;
  text-align: center;
}
.booster__inner .display--brown {
  font-size: clamp(34px, 5.4vw, 68px);
}
.booster__lead {
  font-family: "Nunito", sans-serif;
  font-weight: 700;
  font-size: 18px;
  color: #6b2e14;
  max-width: 540px;
  margin: 18px auto 44px;
}

.booster__stack {
  display: flex;
  gap: 10px;
  justify-content: center;
  flex-wrap: wrap;
  margin-bottom: 44px;
}
.mini {
  position: relative;
  overflow: hidden;
  width: 58px;
  aspect-ratio: 924/1316;
  border-radius: 8px;
  background: url("../assets/rarete/dos.jpg") center/cover;
  border: none;
  box-shadow: 0 8px 18px rgba(0, 0, 0, 0.2);
}
/* Reflet holographique arc-en-ciel qui balaie la carte en diagonale,
   relancé en boucle. Utilisé par la 9e carte du booster et la Kibrill. */
.mini--holo::after,
.rar__holo::after {
  content: "";
  position: absolute;
  inset: -50%;
  pointer-events: none;
  mix-blend-mode: screen;
  background: linear-gradient(
    115deg,
    transparent 40%,
    hsla(340, 95%, 60%, 0.55) 45%,
    hsla(45, 95%, 60%, 0.55) 48%,
    hsla(150, 85%, 55%, 0.55) 51%,
    hsla(200, 95%, 60%, 0.55) 54%,
    hsla(275, 90%, 62%, 0.55) 57%,
    transparent 62%
  );
  transform: translateX(-120%);
  animation: holoSweep 1.8s linear infinite;
}
@keyframes holoSweep {
  0% {
    transform: translateX(-120%);
  }
  72% {
    transform: translateX(120%);
  }
  100% {
    transform: translateX(120%);
  }
}
@media (prefers-reduced-motion: reduce) {
  .mini--holo::after,
  .rar__holo::after {
    animation: none;
    opacity: 0;
  }
}
.mini--mystery {
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  font-family: "Dreamlands", sans-serif;
  font-size: 28px;
  text-shadow: 0 2px 6px rgba(0, 0, 0, 0.65);
}

.booster__note {
  font-family: "Nunito", sans-serif;
  font-weight: 800;
  font-size: 15px;
  color: #b8340a;
  margin-bottom: 18px;
}
.booster__grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 14px;
  text-align: left;
}
.drop {
  display: flex;
  align-items: center;
  gap: 14px;
  background: rgba(255, 255, 255, 0.92);
  border: 2px solid #f3c9ae;
  border-radius: 16px;
  padding: 16px 18px;
}
.drop--gold {
  background: rgba(255, 255, 255, 0.96);
  border-color: #ffd23f;
}
.drop > img {
  width: 46px;
  height: 46px;
  object-fit: contain;
  flex: 0 0 auto;
}
.drop__mystery {
  width: 46px;
  height: 46px;
  border-radius: 50%;
  background: #fbefe7;
  border: 2px dashed #e8452b;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: "Dreamlands", sans-serif;
  font-size: 24px;
  color: #e8452b;
  flex: 0 0 auto;
}
.drop__t {
  font-family: "Makio", sans-serif;
  text-transform: uppercase;
  font-size: 15px;
  color: #24324d;
}
.drop__d {
  font-family: "Nunito", sans-serif;
  font-weight: 600;
  font-size: 14px;
  color: #7a5140;
  margin-top: 2px;
}

.rarete {
  margin-top: 44px;
}
.rarete__scale {
  display: flex;
  gap: 16px;
  justify-content: center;
  flex-wrap: wrap;
  row-gap: 24px;
}
.rar-break {
  flex-basis: 100%;
  height: 0;
}
.rar {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
  width: 150px;
  margin: 0;
}
.rar > img {
  display: block;
  width: 100%;
  height: auto;
  border-radius: 10px;
  border: 2.5px solid #24324d;
  box-shadow: 0 10px 22px rgba(0, 0, 0, 0.25);
}
.rar--gold > img,
.rar--gold .rar__hidden {
  border-color: #ffd23f;
  box-shadow: 0 10px 24px rgba(255, 210, 63, 0.45);
}
.rar--nobord > img,
.rar--nobord .rar__hidden {
  border: none;
}
/* Kibrill' : pas de bordure, reflet holographique qui balaie la carte */
.rar--rainbow .rar__holo {
  position: relative;
  display: block;
  width: 100%;
  overflow: hidden;
  border-radius: 10px;
  box-shadow: 0 10px 22px rgba(0, 0, 0, 0.25);
}
.rar--rainbow .rar__holo img {
  display: block;
  width: 100%;
  height: auto;
  border: none;
  border-radius: 10px;
}
/* Crazy : bordure et halo dorés */
.rar--crazy .rar__hidden {
  border-color: #ffd23f;
  animation: crazyShine 2.2s ease-in-out infinite;
}
@keyframes crazyShine {
  0%,
  100% {
    box-shadow:
      0 10px 22px rgba(0, 0, 0, 0.3),
      0 0 16px 3px rgba(255, 210, 63, 0.85);
  }
  50% {
    box-shadow:
      0 12px 30px rgba(0, 0, 0, 0.35),
      0 0 42px 11px rgba(255, 210, 63, 1);
  }
}
/* Dream : halo doré encore plus intense */
.rar--dream .rar__hidden {
  animation: dreamShine 1.8s ease-in-out infinite;
}
@keyframes dreamShine {
  0%,
  100% {
    box-shadow:
      0 10px 26px rgba(255, 210, 63, 0.5),
      0 0 22px 4px rgba(255, 220, 110, 0.9);
  }
  50% {
    box-shadow:
      0 12px 34px rgba(255, 210, 63, 0.75),
      0 0 50px 11px rgba(255, 233, 150, 1);
  }
}
@media (prefers-reduced-motion: reduce) {
  .rar--crazy .rar__hidden,
  .rar--dream .rar__hidden {
    animation: none;
  }
}
/* Écarte les deux cartes mystère pour que leurs halos ne se chevauchent pas */
.rar--crazy {
  margin-right: 30px;
}
.rar--dream {
  margin-left: 30px;
}
.rar figcaption {
  display: flex;
  align-items: center;
  gap: 8px;
  background: #fff;
  padding: 7px 14px;
  border-radius: 999px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.12);
}
.rar figcaption img {
  width: 34px;
  height: 34px;
  object-fit: contain;
}
.rar figcaption span {
  font-family: "Makio", sans-serif;
  text-transform: uppercase;
  font-size: 13px;
  color: #3a1e10;
}
.rar__hidden {
  position: relative;
  width: 100%;
  aspect-ratio: 781/1076;
  border-radius: 10px;
  overflow: hidden;
  border: 2.5px solid #24324d;
  box-shadow: 0 10px 22px rgba(0, 0, 0, 0.25);
}
.rar__hidden img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.rar__hidden span {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(20, 15, 46, 0.45);
  font-family: "Dreamlands", sans-serif;
  font-size: 44px;
  color: #fff;
}

/* Point d'interrogation des cartes mystère : pulsation scale up/down en boucle */
.qmark {
  display: inline-block;
  font-style: normal;
  transform-origin: 50% 50%;
  animation: qmarkPulse 1.4s ease-in-out infinite;
}
@keyframes qmarkPulse {
  0%,
  100% {
    transform: scale(1);
  }
  50% {
    transform: scale(1.25);
  }
}
.rarete__note {
  font-family: "Nunito", sans-serif;
  font-weight: 700;
  font-size: 15px;
  color: #6b2e14;
  margin: 22px auto 0;
  max-width: 520px;
}

/* =========================================================================
   ACHAT (gag)
   ========================================================================= */
.achat {
  padding: 110px 24px;
  background: linear-gradient(180deg, #f4f8fe 0%, #eaf1fb 100%);
}
.achat__inner {
  max-width: 640px;
  margin: 0 auto;
  text-align: center;
}
.achat__inner .display {
  font-size: clamp(32px, 5vw, 60px);
  margin: 0 0 12px;
}
.achat__lead {
  font-family: "Nunito", sans-serif;
  font-weight: 700;
  font-size: 18px;
  color: #51607f;
  margin: 0 0 34px;
}
.achat .btn--lg {
  font-size: 20px;
  padding: 18px 40px;
  border-radius: var(--rbtn);
}
.achat .btn--accent.btn--lg {
  box-shadow:
    0 6px 0 #24324d,
    0 14px 26px rgba(242, 107, 33, 0.32);
}

.gag {
  margin-top: 34px;
  background: #fff;
  border: 3px solid #24324d;
  border-radius: 24px;
  box-shadow: 0 10px 0 rgba(36, 50, 77, 0.12);
  padding: 30px 26px;
}
.gag[hidden] {
  display: none;
}
.gag__title {
  font-family: "Dreamlands", sans-serif;
  font-weight: 400;
  font-size: clamp(24px, 4vw, 36px);
  color: var(--accent);
  line-height: 1.05;
}
.gag__text {
  font-family: "Nunito", sans-serif;
  font-weight: 700;
  font-size: 16px;
  color: #51607f;
  margin: 10px 0 22px;
}
.gag__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  justify-content: center;
  align-items: center;
}
.gag__notify {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  align-items: center;
  justify-content: center;
}
.notify-msg {
  flex-basis: 100%;
  width: 100%;
  text-align: center;
  font-family: "Nunito", sans-serif;
  font-weight: 800;
  font-size: 14px;
  margin: 6px 0 0;
}
.gag__notify input {
  font-weight: 700;
  font-size: 15px;
  color: #24324d;
  padding: 13px 16px;
  border-radius: 30px;
  border: 2.5px solid #c7d4e8;
  background: #f7faff;
  width: 180px;
  outline: none;
}
/* Champ honeypot anti-bot : invisible et hors flux, jamais rempli par un humain. */
.gag__notify .hp-field {
  position: absolute;
  left: -9999px;
  top: auto;
  width: 1px;
  height: 1px;
  padding: 0;
  border: 0;
  opacity: 0;
  pointer-events: none;
}
.gag__consent {
  font-family: "Nunito", sans-serif;
  font-weight: 600;
  font-size: 12px;
  line-height: 1.5;
  color: #8393b0;
  margin: 16px auto 0;
  max-width: 460px;
}
.gag__consent a {
  color: var(--accent);
  font-weight: 700;
}

/* =========================================================================
   COMMUNAUTÉ
   ========================================================================= */
.communaute {
  padding: 110px 24px;
  background: linear-gradient(180deg, #eaf1fb 0%, #dce9fb 100%);
}
.communaute__inner {
  max-width: 1000px;
  margin: 0 auto;
}
.communaute__head {
  text-align: center;
  margin-bottom: 40px;
}
.communaute__head .display {
  font-size: clamp(34px, 5.4vw, 66px);
}
.discord-card {
  background: #5865f2;
  border: 3px solid #24324d;
  border-radius: 28px;
  box-shadow: 0 10px 0 #24324d;
  padding: 44px 34px;
  text-align: center;
  margin-bottom: 24px;
}
.discord-card__title {
  font-family: "Dreamlands", sans-serif;
  font-weight: 400;
  font-size: clamp(28px, 4.5vw, 48px);
  color: #fff;
  margin: 0 0 10px;
}
.discord-card__text {
  font-family: "Nunito", sans-serif;
  font-weight: 700;
  font-size: 17px;
  color: rgba(255, 255, 255, 0.92);
  max-width: 460px;
  margin: 0 auto 24px;
}
.discord-card .btn--light {
  color: #5865f2;
  background: #fff;
}
.social {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
  gap: 14px;
}
.social a {
  text-decoration: none;
  font-family: "Makio", sans-serif;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  font-size: 15px;
  color: #24324d;
  background: #fff;
  border: 2.5px solid #24324d;
  box-shadow: 0 4px 0 #24324d;
  border-radius: 18px;
  padding: 18px;
  text-align: center;
}

/* =========================================================================
   FOOTER
   ========================================================================= */
.footer {
  background: #1b2740;
  padding: 52px 24px 40px;
}
.footer__top {
  max-width: 1080px;
  margin: 0 auto;
  display: flex;
  flex-wrap: wrap;
  gap: 28px;
  align-items: center;
  justify-content: space-between;
}
.footer__top img {
  height: 54px;
  width: auto;
}
.footer__bottom {
  max-width: 1080px;
  margin: 26px auto 0;
  border-top: 1px solid rgba(255, 255, 255, 0.14);
  padding-top: 22px;
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  justify-content: space-between;
  align-items: center;
}
.footer__bottom p {
  font-family: "Nunito", sans-serif;
  font-weight: 600;
  font-size: 13px;
  color: rgba(255, 255, 255, 0.65);
  margin: 0;
}
.footer__links {
  display: flex;
  gap: 16px;
}
.footer__links a {
  font-family: "Nunito", sans-serif;
  font-weight: 700;
  font-size: 13px;
  color: rgba(255, 255, 255, 0.8);
  text-decoration: none;
}

/* =========================================================================
   PRODUITS (la gamme) — slider
   ========================================================================= */
.produits {
  padding: 110px 24px;
  background: linear-gradient(180deg, #ffffff 0%, #eaf1fb 100%);
  overflow: hidden;
}
.produits__inner {
  max-width: 1160px;
  margin: 0 auto;
}
.produits__head {
  text-align: center;
  margin-bottom: 44px;
}
.produits__head .display {
  font-size: clamp(34px, 5.4vw, 68px);
}
.produits__sub {
  font-family: "Nunito", sans-serif;
  font-weight: 700;
  font-size: 17px;
  color: #51607f;
  max-width: 600px;
  margin: 16px auto 0;
  line-height: 1.55;
}
.produits__sub em {
  color: var(--accent);
  font-style: italic;
}

.slider {
  display: flex;
  align-items: center;
  gap: 12px;
}
.slider__viewport {
  flex: 1 1 auto;
  min-width: 0;
  overflow: hidden;
}
.slider__track {
  display: flex;
  gap: 22px;
  margin: 0;
  padding: 8px 4px 22px;
  list-style: none;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  scroll-behavior: smooth;
  scrollbar-width: none;
  -ms-overflow-style: none;
}
.slider__track::-webkit-scrollbar {
  display: none;
}
.slider__track:focus-visible {
  outline: 3px solid rgba(43, 143, 224, 0.5);
  outline-offset: 4px;
  border-radius: var(--rcard);
}
@media (prefers-reduced-motion: reduce) {
  .slider__track {
    scroll-behavior: auto;
  }
}

.prod {
  flex: 0 0 100%;
  scroll-snap-align: start;
  background: #fff;
  border: 3px solid #24324d;
  border-radius: var(--rcard);
  box-shadow: 0 10px 0 rgba(36, 50, 77, 0.1);
  overflow: hidden;
  display: flex;
  flex-direction: column;
}
@media (min-width: 640px) {
  .prod {
    flex-basis: calc((100% - 22px) / 2);
  }
}
@media (min-width: 980px) {
  .prod {
    flex-basis: calc((100% - 44px) / 3);
  }
}

.prod__media {
  position: relative;
  aspect-ratio: 4 / 5;
  min-height: 0;
  overflow: hidden;
  background: radial-gradient(
    120% 92% at 50% 6%,
    color-mix(in srgb, var(--theme) 22%, #fff) 0%,
    #fff 68%
  );
  border-bottom: 3px solid #24324d;
}
/* Visuels photo (fond sombre incrusté) : le média passe au noir pour que le
   fond de la photo se fonde dans la carte, sans retoucher l'asset. */
.prod--photo .prod__media {
  background: var(--media-bg, #07070a);
}
.prod--photo .prod__media img {
  padding: 0;
  filter: none;
}
/* Visuel portrait qui remplit le cadre : évite la bande de fond visible sur les
   côtés (le mock-up a déjà ses marges). */
.prod__media--fill img {
  object-fit: cover;
}

/* Multiplicateur affiché par-dessus le visuel (carton = plusieurs displays) */
.prod__badge {
  position: absolute;
  top: 14px;
  right: 14px;
  z-index: 1;
  font-family: "Makio", sans-serif;
  font-size: 22px;
  line-height: 1;
  color: #fff;
  background: var(--theme);
  border: 3px solid #24324d;
  border-radius: 999px;
  padding: 9px 13px 7px;
  box-shadow: 0 4px 0 #24324d;
}
.prod__media img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  padding: 20px 16px 12px;
  filter: drop-shadow(0 12px 18px rgba(0, 0, 0, 0.16));
  animation: prodFloat 5s ease-in-out infinite;
  will-change: transform;
}
/* Décalage par carte pour un flottement désynchronisé */
.prod:nth-child(2) .prod__media img {
  animation-duration: 5.6s;
  animation-delay: -1.3s;
}
.prod:nth-child(3) .prod__media img {
  animation-duration: 4.6s;
  animation-delay: -0.6s;
}
.prod:nth-child(4) .prod__media img {
  animation-duration: 5.3s;
  animation-delay: -2.1s;
}
.prod:nth-child(5) .prod__media img {
  animation-duration: 4.9s;
  animation-delay: -0.9s;
}
.prod:nth-child(6) .prod__media img {
  animation-duration: 5.5s;
  animation-delay: -3.2s;
}
.prod:nth-child(7) .prod__media img {
  animation-duration: 4.7s;
  animation-delay: -1.8s;
}
.prod:nth-child(8) .prod__media img {
  animation-duration: 5.8s;
  animation-delay: -0.4s;
}
.prod:nth-child(9) .prod__media img {
  animation-duration: 5.1s;
  animation-delay: -2.6s;
}
.prod:nth-child(10) .prod__media img {
  animation-duration: 4.4s;
  animation-delay: -1.1s;
}
@media (prefers-reduced-motion: reduce) {
  .prod__media img {
    animation: none;
  }
}
.prod__body {
  padding: 22px 22px 26px;
  text-align: left;
  flex: 1 1 auto;
  display: flex;
  flex-direction: column;
}
.prod__kind {
  font-family: "Makio", sans-serif;
  text-transform: uppercase;
  letter-spacing: 0.14em;
  font-size: 13px;
  color: var(--theme);
  margin: 0 0 6px;
}
.prod__name {
  font-family: "Dreamlands", sans-serif;
  font-weight: 400;
  font-size: clamp(24px, 2.6vw, 30px);
  color: #24324d;
  line-height: 1.05;
  margin: 0 0 10px;
}
.prod__desc {
  font-family: "Nunito", sans-serif;
  font-weight: 600;
  font-size: 15px;
  color: #51607f;
  line-height: 1.5;
  margin: 0 0 18px;
}
.prod__meta {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: auto;
}
.prod__chip {
  font-family: "Nunito", sans-serif;
  font-weight: 800;
  font-size: 12.5px;
  letter-spacing: 0.02em;
  color: #24324d;
  background: color-mix(in srgb, var(--theme) 15%, #fff);
  border: 2px solid color-mix(in srgb, var(--theme) 42%, #24324d);
  border-radius: 20px;
  padding: 6px 12px;
}
.prod__price {
  font-family: "Makio", sans-serif;
  letter-spacing: 0.02em;
  font-size: 40px;
  line-height: 1;
  color: var(--theme);
  margin: 16px 0 0;
}
/* Même langage que les gros boutons du site (bord 3px, pastille large, relief) */
.prod__cta {
  margin-top: 18px;
  text-align: center;
  font-size: 17px;
  color: #fff;
  background: var(--theme);
  border: var(--bd);
  border-radius: var(--rbtn);
  padding: 15px 24px;
  box-shadow:
    0 var(--depth) 0 #24324d,
    0 12px 24px color-mix(in srgb, var(--theme) 32%, transparent);
  transition:
    transform 0.12s ease,
    box-shadow 0.12s ease;
}
.prod__cta:hover {
  transform: translateY(-1px);
  box-shadow:
    0 6px 0 #24324d,
    0 14px 26px color-mix(in srgb, var(--theme) 38%, transparent);
}
.prod__cta:active {
  transform: translateY(2px);
  box-shadow:
    0 2px 0 #24324d,
    0 8px 18px color-mix(in srgb, var(--theme) 28%, transparent);
}
.prod__cta:focus-visible {
  outline: 3px solid rgba(43, 143, 224, 0.55);
  outline-offset: 3px;
}

.slider__nav {
  flex: 0 0 auto;
  width: 48px;
  height: 48px;
  border-radius: 50%;
  border: 3px solid #24324d;
  background: #fff;
  color: #24324d;
  cursor: pointer;
  font-size: 26px;
  line-height: 1;
  font-weight: 700;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 0 #24324d;
  transition:
    transform 0.12s ease,
    opacity 0.2s ease;
}
.slider__nav:hover {
  transform: translateY(-1px);
}
.slider__nav:active {
  transform: translateY(2px);
  box-shadow: 0 2px 0 #24324d;
}
.slider__nav:disabled {
  opacity: 0.32;
  cursor: default;
  transform: none;
  box-shadow: 0 4px 0 #24324d;
}

.slider__dots {
  display: flex;
  justify-content: center;
  gap: 10px;
  margin-top: 22px;
}
.slider__dots button {
  width: 11px;
  height: 11px;
  padding: 0;
  border-radius: 50%;
  border: 2px solid #24324d;
  background: #fff;
  cursor: pointer;
  transition:
    background 0.2s ease,
    transform 0.2s ease;
}
.slider__dots button[aria-selected="true"] {
  background: var(--accent);
  transform: scale(1.3);
}

/* =========================================================================
   RESPONSIVE (mobile)
   ========================================================================= */
@media (max-width: 640px) {
  /* Échelle des raretés : cartes empilées les unes sous les autres */
  .rarete__scale {
    flex-direction: column;
    align-items: center;
    gap: 40px;
  }
  .rar-break {
    display: none;
  }
  .rar--crazy,
  .rar--dream {
    margin-left: 0;
    margin-right: 0;
  }

  .cardrow,
  .cardrow--rev {
    flex-direction: column;
    align-items: center;
  }
  .cardrow__info {
    position: static;
    transform: none;
    opacity: 1;
    pointer-events: auto;
    width: 100%;
    max-width: 360px;
    margin-top: 24px;
    left: auto;
    right: auto;
  }
  .hero {
    justify-content: flex-start;
    padding-top: 78px;
    padding-bottom: 56px;
  }
  .hero__card {
    height: min(38vh, 300px);
    bottom: -26px;
    opacity: 0.92;
  }

  .nav__burger {
    display: flex;
  }
  .nav__links {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    background: #fff;
    border-bottom: 2px solid rgba(46, 76, 126, 0.14);
    padding: 6px 18px 14px;
    box-shadow: 0 14px 26px rgba(20, 32, 60, 0.14);
    display: none;
  }
  .nav__links[data-open="true"] {
    display: flex;
  }
  .nav__links a {
    padding: 13px 4px;
    border-bottom: 1px solid #eef2f8;
    text-align: left;
  }
  .nav__links a.btn {
    border-bottom: none;
    margin-top: 10px;
    text-align: center;
  }

  .produits {
    padding: 88px 16px;
  }
  .slider {
    gap: 8px;
  }
  .slider__nav {
    width: 40px;
    height: 40px;
    font-size: 22px;
  }
}

/* =========================================================================
   PAGES LÉGALES (mentions légales / confidentialité)
   ========================================================================= */
.legal {
  max-width: 820px;
  margin: 0 auto;
  padding: 120px 24px 80px;
}
.legal__eyebrow {
  font-family: "Nunito", sans-serif;
  font-weight: 800;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  font-size: 13px;
  color: var(--accent);
  margin: 0 0 14px;
}
.legal h1 {
  font-family: "Nunito", sans-serif;
  font-weight: 900;
  color: var(--ink);
  font-size: clamp(32px, 5vw, 52px);
  line-height: 1.08;
  margin: 0 0 10px;
}
.legal__updated {
  font-family: "Nunito", sans-serif;
  font-weight: 600;
  font-size: 14px;
  color: rgba(36, 50, 77, 0.6);
  margin: 0 0 44px;
}
.legal h2 {
  font-family: "Nunito", sans-serif;
  font-weight: 800;
  color: var(--ink);
  font-size: 22px;
  margin: 40px 0 12px;
}
.legal p,
.legal li {
  font-family: "Nunito", sans-serif;
  font-weight: 600;
  font-size: 16px;
  line-height: 1.7;
  color: #3a4763;
}
.legal ul {
  margin: 0 0 16px;
  padding-left: 22px;
}
.legal li {
  margin-bottom: 6px;
}
.legal a {
  color: var(--accent);
  font-weight: 700;
}
.legal__card {
  background: #fff;
  border: var(--bd);
  border-radius: var(--rcard);
  padding: 24px 28px;
  margin: 0 0 8px;
  box-shadow: 0 12px 30px rgba(36, 50, 77, 0.08);
}
.legal__card p {
  margin: 6px 0;
}
.legal__todo {
  background: #fff6e9;
  border: 2px dashed var(--accent);
  border-radius: 14px;
  padding: 8px 14px;
  color: #8a4b16;
  font-weight: 700;
}
.legal__back {
  display: inline-block;
  margin-top: 48px;
}

/* =========================================================================
   REDUCED MOTION
   ========================================================================= */
@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation: none !important;
    transition: none !important;
  }
  html {
    scroll-behavior: auto;
  }
}
