/* =========================================================
   EATSIDE — O lado certo da fome
   Landing page Copa 2026 · CSS puro, mobile-first
   ========================================================= */

/* ---------- 1. Tokens ---------- */
:root {
  --bg: #0a0a0a;
  --surface: #141414;
  --surface-2: #1c1c1c;
  --line: #262626;
  --line-strong: #333333;

  --purple: #8b2dd6;
  --purple-2: #a64dff;
  --gold: #f4c430;
  --white: #ffffff;
  --text: #f2f2f2;
  --text-dim: #9a9a9a;
  --text-mute: #6e6e6e;

  --grass-1: #1f7a31;
  --grass-2: #196328;
  --grass-line: rgba(255,255,255,.22);

  --f-display: "Saira Condensed", "Oswald", "Arial Narrow", sans-serif;
  --f-body: "Manrope", "Inter", system-ui, -apple-system, sans-serif;

  --r-xs: 4px;
  --r-sm: 6px;
  --r-md: 10px;

  --maxw: 1200px;
  --gutter: clamp(16px, 4vw, 40px);
}

/* ---------- 2. Reset ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: var(--f-body);
  font-size: 16px;
  line-height: 1.55;
  color: var(--text);
  background: var(--bg);
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}
body.is-modal-open { overflow: hidden; }
img { display: block; max-width: 100%; height: auto; }
a { color: inherit; text-decoration: none; }
button { font: inherit; cursor: pointer; border: 0; background: none; color: inherit; }
h1, h2, h3, h4 {
  margin: 0;
  font-family: var(--f-display);
  font-weight: 800;
  font-style: italic;
  letter-spacing: .005em;
  line-height: .95;
  text-transform: uppercase;
}
p { margin: 0; }
ul, ol { margin: 0; padding: 0; list-style: none; }
main, header, footer { position: relative; }

/* ---------- 3. Utilitários ---------- */
.container {
  width: 100%;
  max-width: var(--maxw);
  margin: 0 auto;
  padding: 0 var(--gutter);
}
.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-family: var(--f-display);
  font-style: italic;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .14em;
  font-size: 11px;
  color: var(--text-dim);
}
.eyebrow::before {
  content: "";
  width: 24px; height: 2px;
  background: var(--purple);
}
.eyebrow--gold::before { background: var(--gold); }
.eyebrow--white::before { background: var(--white); }
.eyebrow--white { color: rgba(255,255,255,.85); }

/* Logo */
.logo {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  line-height: 1;
}
.logo__chevrons {
  display: inline-flex;
  gap: 2px;
  color: var(--purple-2);
}
.logo__word {
  font-family: var(--f-display);
  font-style: italic;
  font-weight: 900;
  text-transform: uppercase;
  letter-spacing: -.01em;
  font-size: 26px;
  color: var(--white);
  line-height: 1;
}
.logo__word .side { color: var(--purple-2); }

.chev {
  width: 12px; height: 18px;
  background: currentColor;
  clip-path: polygon(0 0, 55% 0, 100% 50%, 55% 100%, 0 100%, 45% 50%);
  display: inline-block;
}

/* Botões */
.btn {
  --btn-bg: var(--purple);
  --btn-fg: #fff;
  --btn-bd: transparent;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 12px 20px;
  min-height: 46px;
  font-family: var(--f-display);
  font-style: italic;
  font-weight: 700;
  font-size: 15px;
  letter-spacing: .06em;
  text-transform: uppercase;
  background: var(--btn-bg);
  color: var(--btn-fg);
  border: 1.5px solid var(--btn-bd);
  border-radius: var(--r-sm);
  transition: background-color .12s, color .12s, border-color .12s;
  white-space: nowrap;
}
.btn:hover { background: var(--purple-2); }
.btn--gold { --btn-bg: var(--gold); --btn-fg: #0a0a0a; }
.btn--gold:hover { background: #ffdf6e; }
.btn--ghost {
  --btn-bg: transparent;
  --btn-fg: var(--white);
  --btn-bd: var(--line-strong);
}
.btn--ghost:hover { background: var(--surface-2); border-color: var(--purple-2); color: var(--white); }
.btn--insta {
  --btn-bg: #c32aa3;
  --btn-fg: #fff;
  --btn-bd: transparent;
}
.btn--insta:hover { background: #d94bc5; }
.btn--ifood {
  --btn-bg: #ea1d2c;
  --btn-fg: #fff;
  --btn-bd: transparent;
}
.btn--ifood:hover { background: #ff3d4a; }
.btn--99 {
  --btn-bg: #ffcb05;
  --btn-fg: #0a0a0a;
  --btn-bd: transparent;
}
.btn--99:hover { background: #ffe04a; }
.btn--wide { width: 100%; }
.btn--sm { padding: 10px 16px; min-height: 38px; font-size: 13px; }

@media (min-width: 480px) {
  .btn { padding: 14px 22px; min-height: 50px; font-size: 16px; }
  .btn--sm { padding: 10px 16px; min-height: 40px; font-size: 14px; }
}

/* ---------- 4. Header ---------- */
.site-header {
  position: sticky; top: 0; z-index: 50;
  background: rgba(10,10,10,.92);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--line);
}
.site-header__inner {
  display: flex; align-items: center; justify-content: space-between;
  gap: 12px;
  padding-top: 12px;
  padding-bottom: 12px;
}
.nav { display: none; }
.nav a {
  font-family: var(--f-display);
  font-style: italic;
  font-weight: 700;
  font-size: 14px;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: var(--text-dim);
  padding: 6px 0;
  position: relative;
  transition: color .12s;
}
.nav a:hover { color: var(--white); }
.nav a::after {
  content: "";
  position: absolute; left: 0; right: 0; bottom: -2px;
  height: 2px; background: var(--purple-2);
  transform: scaleX(0); transform-origin: left;
  transition: transform .15s ease;
}
.nav a:hover::after { transform: scaleX(1); }
.header-cta { display: none; }

@media (min-width: 480px) {
  .site-header__inner { padding-top: 14px; padding-bottom: 14px; gap: 16px; }
}
@media (min-width: 900px) {
  .nav { display: flex; gap: 32px; }
  .header-cta { display: inline-flex; }
  .site-header__inner { padding-top: 16px; padding-bottom: 16px; }
}

/* =========================================================
   5. HERO + CARROSSEL (mesma seção, fundo de campo com fade)
   ========================================================= */
.stage {
  position: relative;
  background: var(--bg);
  border-bottom: 1px solid var(--line);
  overflow: hidden;
}
.stage > .container {
  position: relative;
  z-index: 2;
  padding-top: 32px;
  padding-bottom: 40px;
}

/* Camada do gramado */
.stage__field {
  position: absolute; inset: 0;
  opacity: 0;
  transition: opacity .65s cubic-bezier(.4,0,.2,1);
  pointer-events: none;
  z-index: 1;
  background: url("assets/Promo1.png") center / cover no-repeat;
}
.stage.is-field .stage__field { opacity: 1; }
/* Vinheta sutil sobre a imagem para contraste do texto */
.stage.is-field .stage__field::after {
  content: "";
  position: absolute; inset: 0;
  background: radial-gradient(ellipse at center, rgba(10,10,10,.6) 0%, rgba(10,10,10,.85) 100%);
}

@media (min-width: 480px) {
  .stage > .container { padding-top: 40px; padding-bottom: 48px; }
}
@media (min-width: 720px) {
  .stage > .container { padding-top: 48px; padding-bottom: 56px; }
}

/* Carrossel */
.carousel { position: relative; }
.carousel__viewport {
  overflow: hidden;
  border-radius: var(--r-md);
}
.carousel__track {
  display: flex;
  transition: transform .5s cubic-bezier(.65,.05,.35,1);
  will-change: transform;
}
.carousel__slide {
  flex: 0 0 100%;
  min-width: 0;
  padding: 0 2px;
  display: flex;
  align-items: center;
  justify-content: center;
}

/* Slide 1: Intro (hero) */
.intro-card {
  display: flex;
  flex-direction: column;
  gap: 20px;
  padding: clamp(24px, 5vw, 60px) clamp(16px, 4vw, 40px);
  min-height: clamp(340px, 50vh, 460px);
  justify-content: center;
  width: 100%;
  max-width: 880px;
  margin: 0 auto;
}
.intro-card__title {
  font-size: clamp(48px, 10vw, 110px);
  color: var(--white);
}
.intro-card__title .accent { color: var(--purple-2); }
.intro-card__sub {
  font-size: clamp(15px, 2vw, 20px);
  color: var(--text);
  max-width: 640px;
  line-height: 1.4;
  font-weight: 500;
}
.intro-card__sub strong { color: var(--white); }
.intro-card__extra {
  font-size: 14px;
  color: var(--text-dim);
  max-width: 560px;
}
.intro-card__ctas {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 4px;
}
.intro-card__hint {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  margin-top: 10px;
  font-family: var(--f-display);
  font-style: italic;
  font-weight: 700;
  font-size: 11px;
  letter-spacing: .16em;
  text-transform: uppercase;
  color: var(--text-mute);
}
.intro-card__hint svg {
  width: 16px; height: 16px;
  animation: nudge 1.6s ease-in-out infinite;
}
@keyframes nudge {
  0%, 100% { transform: translateX(0); }
  50% { transform: translateX(6px); }
}

@media (min-width: 480px) {
  .intro-card { gap: 24px; min-height: clamp(360px, 50vh, 480px); }
  .intro-card__extra { font-size: 15px; }
}
@media (min-width: 960px) {
  .intro-card { min-height: clamp(380px, 50vh, 500px); gap: 26px; }
}

/* Slides de promoção — CENTRALIZADO */
.promo-card {
  background: var(--surface);
  border: 1px solid var(--line-strong);
  border-radius: var(--r-md);
  padding: clamp(24px, 4vw, 40px);
  display: flex;
  flex-direction: column;
  gap: 22px;
  position: relative;
  overflow: hidden;
  min-height: clamp(320px, 48vh, 440px);
  width: 100%;
  max-width: 720px;
  margin: 0 auto;
}
/* Detalhe decorativo sutil (sem glow) */
.promo-card::before {
  content: "";
  position: absolute;
  top: -20px; right: -20px;
  width: 160px; height: 160px;
  background: var(--purple);
  opacity: .08;
  clip-path: polygon(0 0, 55% 0, 100% 50%, 55% 100%, 0 100%, 45% 50%);
  pointer-events: none;
}
.promo-card--gold::before { background: var(--gold); opacity: .1; }

/* Card com imagem de fundo */
.promo-card--has-bg::before { display: none; }
.promo-card__bg {
  position: absolute;
  inset: 0;
  z-index: 0;
  pointer-events: none;
}
.promo-card__bg img {
  width: 100%; height: 100%;
  object-fit: cover;
  object-position: center bottom;
}
.promo-card__bg::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(10,10,10,.92) 30%, rgba(10,10,10,.6) 60%, rgba(10,10,10,.3) 100%);
}

/* Contador de estoque */
.promo-card__stock {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 14px;
  background: rgba(244,196,48,.12);
  border: 1px solid rgba(244,196,48,.25);
  border-radius: var(--r-sm);
  width: fit-content;
}
.promo-card__stock-icon {
  display: flex;
  align-items: center;
}
.promo-card__stock-icon svg {
  width: 18px; height: 18px;
  color: var(--gold);
}
.promo-card__stock-text {
  font-size: 13px;
  color: var(--text-dim);
  letter-spacing: .02em;
}
.promo-card__stock-text strong {
  color: var(--gold);
  font-weight: 700;
  font-size: 15px;
}

.promo-card__head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-bottom: 16px;
  border-bottom: 1px solid var(--line);
  position: relative;
  z-index: 1;
}
.promo-card__index {
  font-family: var(--f-display);
  font-style: italic;
  font-weight: 900;
  font-size: 12px;
  letter-spacing: .18em;
  text-transform: uppercase;
  color: var(--purple-2);
}
.promo-card--gold .promo-card__index { color: var(--gold); }
.promo-card__tag {
  font-family: var(--f-body);
  font-weight: 600;
  font-size: 10px;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--text-mute);
  padding: 4px 10px;
  border: 1px solid var(--line-strong);
  border-radius: 999px;
}
.promo-card--gold .promo-card__tag {
  background: var(--gold);
  color: #0a0a0a;
  border-color: var(--gold);
}
.promo-card__body {
  display: flex;
  flex-direction: column;
  gap: 16px;
  position: relative;
  z-index: 1;
  flex: 1;
}
.promo-card__title {
  font-size: clamp(28px, 5vw, 48px);
  color: var(--white);
  line-height: .98;
}
.promo-card__title .accent { color: var(--purple-2); }
.promo-card--gold .promo-card__title .accent { color: var(--gold); }
.promo-card__text {
  font-size: clamp(14px, 1.6vw, 16px);
  color: var(--text-dim);
  line-height: 1.5;
  max-width: 580px;
}
.promo-card__text strong { color: var(--white); font-weight: 600; }
.promo-card__foot {
  margin-top: auto;
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  align-items: center;
  justify-content: space-between;
  padding-top: 18px;
  border-top: 1px solid var(--line);
  position: relative;
  z-index: 1;
}
.promo-card__note {
  font-size: 12px;
  color: var(--text-mute);
  flex: 1 1 100%;
}

@media (min-width: 480px) {
  .promo-card { gap: 24px; min-height: clamp(400px, 58vh, 520px); }
  .promo-card__index { font-size: 14px; }
  .promo-card__tag { font-size: 11px; }
  .promo-card__note { font-size: 12.5px; flex: 1 1 200px; max-width: 60%; }
}
@media (min-width: 960px) {
  .promo-card { gap: 26px; min-height: clamp(440px, 60vh, 560px); padding: clamp(32px, 3vw, 44px); }
}

/* Controles do carrossel */
.carousel__controls {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  margin-top: 20px;
}
.carousel__btn {
  width: 40px; height: 40px;
  display: grid; place-items: center;
  background: rgba(0,0,0,.65);
  border: 1px solid rgba(255,255,255,.25);
  border-radius: 999px;
  color: #fff;
  transition: background .12s, border-color .12s, transform .12s;
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
}
.carousel__btn:hover {
  background: var(--purple);
  border-color: var(--purple);
}
.carousel__btn:active { transform: scale(.95); }
.carousel__btn svg { width: 16px; height: 16px; }

.carousel__dots {
  display: flex;
  align-items: center;
  gap: 6px;
}
.carousel__dot {
  width: 8px; height: 8px;
  border-radius: 999px;
  background: rgba(255,255,255,.28);
  transition: background .15s, width .15s;
  padding: 0;
}
.carousel__dot:hover { background: rgba(255,255,255,.55); }
.carousel__dot.is-active {
  background: var(--gold);
  width: 24px;
}

@media (min-width: 480px) {
  .carousel__controls { gap: 14px; margin-top: 24px; }
  .carousel__btn { width: 44px; height: 44px; }
  .carousel__btn svg { width: 18px; height: 18px; }
  .carousel__dots { gap: 8px; }
  .carousel__dot { width: 10px; height: 10px; }
  .carousel__dot.is-active { width: 28px; }
}

/* ---------- 6. Section base ---------- */
.section {
  padding: 56px 0;
  border-bottom: 1px solid var(--line);
}
.section__head {
  display: flex; flex-direction: column; gap: 12px;
  margin-bottom: 32px;
  max-width: 780px;
}
.section__title {
  font-size: clamp(32px, 6.5vw, 60px);
  color: var(--white);
}
.section__title .accent { color: var(--purple-2); }
.section__title .accent-gold { color: var(--gold); }
.section__lede {
  font-size: 15px;
  color: var(--text-dim);
  line-height: 1.55;
  max-width: 640px;
}

@media (min-width: 480px) {
  .section { padding: 64px 0; }
  .section__head { gap: 14px; margin-bottom: 36px; }
  .section__lede { font-size: 16px; }
}
@media (min-width: 720px) {
  .section { padding: 72px 0; }
  .section__head { margin-bottom: 40px; }
}

/* ---------- 7. Links rápidos ---------- */
.links {
  display: grid;
  grid-template-columns: 1fr;
  gap: 8px;
}
.link-btn {
  display: grid;
  grid-template-columns: 44px 1fr auto;
  align-items: center;
  gap: 14px;
  padding: 14px 16px;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--r-sm);
  transition: background-color .12s, border-color .12s;
  min-height: 68px;
}
.link-btn:hover {
  background: var(--surface-2);
  border-color: var(--line-strong);
}
.link-btn__icon {
  width: 40px; height: 40px;
  display: grid; place-items: center;
  border-radius: 10px;
  overflow: hidden;
  background: var(--bg);
  border: 1px solid var(--line);
  flex-shrink: 0;
}
.link-btn__icon svg {
  width: 22px; height: 22px;
  color: var(--purple-2);
}
.link-btn__icon img {
  width: 100%; height: 100%;
  object-fit: cover;
  border-radius: 10px;
}
.link-btn--ifood .link-btn__icon {
  background: #fff;
}
.link-btn--ifood .link-btn__icon img {
  object-fit: contain;
  padding: 6px;
}
/* SVG color overrides for link icons that still use SVGs */
.link-btn--copa .link-btn__icon svg { color: var(--gold); }

.link-btn__body { display: flex; flex-direction: column; gap: 2px; min-width: 0; }
.link-btn__title {
  font-family: var(--f-display);
  font-style: italic;
  font-weight: 800;
  font-size: 17px;
  letter-spacing: .04em;
  text-transform: uppercase;
  color: var(--white);
}
.link-btn__sub { font-size: 12px; color: var(--text-dim); }
.link-btn__arrow {
  color: var(--text-mute);
  display: grid; place-items: center;
  transition: color .12s, transform .12s;
}
.link-btn:hover .link-btn__arrow {
  color: var(--purple-2);
  transform: translateX(3px);
}

@media (min-width: 480px) {
  .links { gap: 10px; }
  .link-btn {
    grid-template-columns: 48px 1fr auto;
    gap: 18px;
    padding: 18px 20px;
    min-height: 76px;
  }
  .link-btn__icon { width: 44px; height: 44px; }
  .link-btn__title { font-size: 19px; }
  .link-btn__sub { font-size: 13px; }
}
@media (min-width: 720px) {
  .links { grid-template-columns: 1fr 1fr; gap: 12px; }
}
@media (min-width: 1100px) {
  .links { grid-template-columns: 1fr 1fr 1fr; }
}

/* ---------- 8. Regras rápidas ---------- */
.rules {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--r-md);
  padding: clamp(24px, 4vw, 40px);
}
.rules__list {
  display: grid;
  grid-template-columns: 1fr;
  gap: 12px;
}
.rules__list li {
  position: relative;
  padding-left: 24px;
  font-size: 13.5px;
  color: var(--text-dim);
  line-height: 1.5;
}
.rules__list li::before {
  content: "";
  position: absolute; left: 0; top: 8px;
  width: 12px; height: 8px;
  background: var(--purple-2);
  clip-path: polygon(0 0, 55% 0, 100% 50%, 55% 100%, 0 100%, 45% 50%);
}
@media (min-width: 480px) {
  .rules__list li { font-size: 14.5px; }
  .rules__list { gap: 14px; }
}
@media (min-width: 720px) {
  .rules__list { grid-template-columns: 1fr 1fr; gap: 14px 32px; }
}

/* ---------- 9. Contato ---------- */
.contact {
  padding: 56px 0;
  border-bottom: 1px solid var(--line);
}
.contact__card {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--r-md);
  padding: clamp(24px, 4vw, 48px);
  display: grid;
  grid-template-columns: 1fr;
  gap: 32px;
}
.contact__head h2 { font-size: clamp(30px, 5.5vw, 52px); margin-bottom: 14px; color: var(--white); }
.contact__head h2 .accent { color: var(--gold); }
.contact__info {
  display: flex; flex-direction: column;
  gap: 12px;
  margin-top: 24px;
}
.contact__row {
  display: flex; align-items: center; gap: 14px;
  padding: 14px;
  background: var(--bg);
  border: 1px solid var(--line);
  border-radius: var(--r-sm);
}
.contact__row svg { flex: 0 0 auto; }
.contact__row-icon {
  width: 32px; height: 32px;
  border-radius: 8px;
  overflow: hidden;
  flex: 0 0 auto;
}
.contact__row-icon img {
  width: 100%; height: 100%;
  object-fit: cover;
}
.contact__row strong {
  font-family: var(--f-display);
  font-style: italic;
  font-weight: 700;
  letter-spacing: .08em;
  text-transform: uppercase;
  color: var(--text-dim);
  font-size: 11px;
  display: block;
  margin-bottom: 3px;
}
.contact__row-value { font-size: 15px; color: var(--white); font-weight: 600; }
.contact__cta-label {
  font-family: var(--f-display);
  font-style: italic;
  font-weight: 700;
  font-size: 12px;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--text-mute);
  margin-bottom: 14px;
}
.contact__buttons {
  display: grid;
  grid-template-columns: 1fr;
  gap: 8px;
}
@media (min-width: 380px) {
  .contact__buttons { grid-template-columns: 1fr 1fr; }
}

@media (min-width: 480px) {
  .contact { padding: 64px 0; }
  .contact__card { padding: clamp(28px, 4vw, 56px); gap: 36px; }
  .contact__head h2 { margin-bottom: 16px; }
  .contact__info { gap: 14px; margin-top: 28px; }
  .contact__row { padding: 16px; gap: 16px; }
  .contact__row strong { font-size: 12px; margin-bottom: 4px; }
  .contact__row-value { font-size: 16px; }
}
@media (min-width: 540px) {
  .contact__buttons { grid-template-columns: repeat(5, 1fr); }
}
@media (min-width: 720px) {
  .contact { padding: 72px 0; }
}
@media (min-width: 960px) {
  .contact__card { grid-template-columns: 1fr 1fr; gap: 56px; align-items: start; }
}

/* ---------- 10. Footer ---------- */
.site-footer { padding: 32px 0; }
.site-footer__inner {
  display: flex; flex-direction: column;
  gap: 16px;
  align-items: center;
  text-align: center;
}
.site-footer__tag {
  font-family: var(--f-display);
  font-style: italic;
  font-weight: 700;
  font-size: 12px;
  letter-spacing: .16em;
  text-transform: uppercase;
  color: var(--text-mute);
}
.site-footer__tag .accent { color: var(--purple-2); }
@media (min-width: 480px) {
  .site-footer { padding: 36px 0; }
  .site-footer__tag { font-size: 13px; }
}
@media (min-width: 720px) {
  .site-footer { padding: 40px 0; }
  .site-footer__inner {
    flex-direction: row;
    justify-content: space-between;
    text-align: left;
  }
}

/* =========================================================
   11. MODAL (Saiba mais)
   ========================================================= */
.modal {
  position: fixed; inset: 0;
  z-index: 100;
  display: none;
  align-items: center; justify-content: center;
  padding: 16px;
}
.modal.is-open { display: flex; }
.modal__backdrop {
  position: absolute; inset: 0;
  background: rgba(6,3,12,.75);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  animation: modalFade .2s ease;
}
.modal__card {
  position: relative;
  width: 100%; max-width: 580px;
  background: var(--surface);
  border: 1px solid var(--line-strong);
  border-radius: var(--r-md);
  max-height: 90vh;
  overflow-y: auto;
  animation: modalRise .28s cubic-bezier(.2,.8,.2,1);
}
@keyframes modalFade {
  from { opacity: 0; }
  to { opacity: 1; }
}
@keyframes modalRise {
  from { opacity: 0; transform: translateY(24px) scale(.98); }
  to { opacity: 1; transform: translateY(0) scale(1); }
}

.modal__head {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 16px;
  padding: 18px 20px 14px;
  border-bottom: 1px solid var(--line);
  position: sticky; top: 0;
  background: var(--surface);
}
.modal__eyebrow {
  font-family: var(--f-display);
  font-style: italic;
  font-weight: 800;
  font-size: 11px;
  letter-spacing: .18em;
  text-transform: uppercase;
  color: var(--purple-2);
}
.modal--gold .modal__eyebrow { color: var(--gold); }
.modal__close {
  width: 34px; height: 34px;
  display: grid; place-items: center;
  border-radius: 999px;
  background: var(--bg);
  border: 1px solid var(--line);
  color: var(--text-dim);
  transition: color .12s, background .12s, border-color .12s;
  flex: 0 0 auto;
}
.modal__close:hover {
  color: #fff;
  background: var(--surface-2);
  border-color: var(--line-strong);
}
.modal__close svg { width: 16px; height: 16px; }

.modal__body {
  padding: 18px 20px 22px;
  display: flex; flex-direction: column; gap: 20px;
}
.modal__hero {
  margin: -18px -20px 0;
  border-radius: var(--r-md) var(--r-md) 0 0;
  overflow: hidden;
  max-height: 220px;
}
.modal__hero img {
  width: 100%; height: 100%;
  object-fit: cover;
  object-position: center;
}
.modal__stock-row {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 8px 14px;
  background: rgba(244,196,48,.12);
  border: 1px solid rgba(244,196,48,.25);
  border-radius: var(--r-sm);
  width: fit-content;
}
.modal__stock-row svg {
  width: 18px; height: 18px;
  color: var(--gold);
  flex-shrink: 0;
}
.modal__stock-row span {
  font-size: 14px;
  color: var(--text-dim);
}
.modal__stock-row strong {
  color: var(--gold);
  font-weight: 700;
}
.modal__title {
  font-size: clamp(26px, 4.5vw, 40px);
  color: var(--white);
  line-height: .98;
}
.modal__title .accent { color: var(--purple-2); }
.modal--gold .modal__title .accent { color: var(--gold); }

.modal__lead {
  font-size: 14.5px;
  color: var(--text);
  line-height: 1.55;
}
.modal__lead strong { color: var(--white); }

.modal__section {
  display: flex; flex-direction: column; gap: 10px;
}
.modal__section-title {
  font-family: var(--f-display);
  font-style: italic;
  font-weight: 800;
  font-size: 12px;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--text-dim);
}
.modal__steps {
  display: flex; flex-direction: column; gap: 10px;
}
.modal__step {
  display: grid;
  grid-template-columns: 28px 1fr;
  gap: 12px;
  align-items: baseline;
  font-size: 13.5px;
  color: var(--text-dim);
  line-height: 1.5;
}
.modal__step-num {
  font-family: var(--f-display);
  font-style: italic;
  font-weight: 900;
  font-size: 18px;
  color: var(--purple-2);
}
.modal--gold .modal__step-num { color: var(--gold); }

.modal__rules {
  background: var(--bg);
  border: 1px solid var(--line);
  border-radius: var(--r-sm);
  padding: 16px;
  display: flex; flex-direction: column; gap: 10px;
}
.modal__rules li {
  position: relative;
  padding-left: 22px;
  font-size: 13px;
  color: var(--text-dim);
  line-height: 1.5;
}
.modal__rules li::before {
  content: "";
  position: absolute; left: 0; top: 7px;
  width: 11px; height: 7px;
  background: var(--purple-2);
  clip-path: polygon(0 0, 55% 0, 100% 50%, 55% 100%, 0 100%, 45% 50%);
}
.modal--gold .modal__rules li::before { background: var(--gold); }

.modal__cta {
  display: flex; gap: 10px; flex-wrap: wrap;
  padding-top: 6px;
}

@media (min-width: 480px) {
  .modal { padding: 20px; }
  .modal__head { padding: 22px 24px 18px; }
  .modal__eyebrow { font-size: 12px; }
  .modal__body { padding: 22px 24px 24px; gap: 22px; }
  .modal__lead { font-size: 15.5px; }
  .modal__step { font-size: 14.5px; }
  .modal__rules li { font-size: 13.5px; }
  .modal__rules { padding: 18px; }
  .modal__section-title { font-size: 13px; }
  .modal__close { width: 36px; height: 36px; }
}

/* ---------- 12. Foco ---------- */
:focus-visible {
  outline: 2px solid var(--gold);
  outline-offset: 3px;
  border-radius: 4px;
}

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