/* ==========================================================================
   El Rey del Slot — landing page
   Tokens extraídos de "El Rey del Slot Landing v2.dc.html" (fonte autoritativa)
   ========================================================================== */

:root {
  /* Superfícies — vinho-preto */
  --ink:        #0B0507;
  --bg:         #120A0D;
  --surface:    #1A1013;
  --line:       #33131B;

  /* Dourado */
  --gold:       #C9A227;
  --gold-light: #E8C468;
  --gold-deep:  #8A6E14;
  --on-gold:    #1A1206;

  /* Verde esmeralda */
  --emerald:      #1E5C48;
  --emerald-soft: #DFF6EC;
  --emerald-lit:  #6BE3A9;
  --emerald-txt:  #3FA37D;

  /* Texto */
  --cream: #F2E7CE;
  --muted: #A8988A;
  --dim:   #7E7166;
  --faint: #5A4E46;

  /* Tipografia */
  --font-display: Fraunces, Georgia, "Times New Roman", serif;
  --font-body:    Inter, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
  --font-mono:    "JetBrains Mono", ui-monospace, SFMono-Regular, Menlo, monospace;

  /* Layout */
  --shell-max: 1440px;
  --pad-x: 22px;
}

@media (min-width: 1024px) {
  :root { --pad-x: 64px; }
}

/* --------------------------------------------------------------- reset -- */

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

html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }

body {
  margin: 0;
  background: var(--bg);
  color: var(--cream);
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
  /* espaço para o CTA fixo no mobile */
  padding-bottom: 84px;
}

@media (min-width: 1024px) {
  body { padding-bottom: 0; }
}

h1, h2, h3, p, ul, figure { margin: 0; }
ul { padding: 0; list-style: none; }
img, svg { display: block; max-width: 100%; }
a { color: var(--gold-light); text-decoration: none; }

:focus-visible {
  outline: 2px solid var(--gold-light);
  outline-offset: 3px;
  border-radius: 4px;
}

.skip-link {
  position: absolute;
  left: -9999px;
  top: 0;
  z-index: 100;
  padding: 12px 18px;
  background: var(--gold);
  color: var(--on-gold);
  font-weight: 700;
}
.skip-link:focus { left: 8px; top: 8px; }

.shell {
  width: 100%;
  max-width: var(--shell-max);
  margin-inline: auto;
  padding-inline: var(--pad-x);
}

.gold { color: var(--gold-light); }
.ok   { color: var(--emerald-txt); }

.crown { width: 100%; height: 100%; color: var(--gold); }

/* -------------------------------------------------------------- botões -- */

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 18px 22px;
  border: 1px solid var(--gold-deep);
  border-radius: 999px;
  background: linear-gradient(180deg, var(--gold-light) 0%, var(--gold) 100%);
  color: var(--on-gold);
  font-family: var(--font-body);
  font-size: 15px;
  font-weight: 700;
  line-height: 1;
  text-align: center;
  cursor: pointer;
  transition: filter .16s ease, transform .16s ease;
}
.btn:hover  { filter: brightness(1.06); color: var(--on-gold); }
.btn:active { transform: translateY(1px); }
.btn svg { flex: none; width: 18px; height: 18px; color: var(--on-gold); }

.btn--sm  { padding: 12px 22px; font-size: 13px; }
.btn--block { display: flex; width: 100%; padding: 16px; font-size: 14px; }

@media (min-width: 1024px) {
  .btn--lg { padding: 22px 42px; font-size: 17.5px; gap: 12px; }
  .btn--lg svg { width: 22px; height: 22px; }
}

/* -------------------------------------------------------------- header -- */

.site-header { display: none; }

@media (min-width: 1024px) {
  .site-header {
    display: block;
    position: sticky;
    top: 0;
    z-index: 40;
    background: rgba(18, 10, 13, .92);
    backdrop-filter: blur(10px);
    border-bottom: 1px solid var(--line);
  }
  .site-header__inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 24px;
    padding-block: 20px;
  }
}

.brand { display: flex; align-items: center; gap: 11px; }
.brand .crown { width: 26px; height: 26px; }
.brand__name {
  font-family: var(--font-display);
  font-size: 17px;
  font-weight: 700;
  letter-spacing: .5px;
  text-transform: uppercase;
  color: var(--cream);
}

.site-nav { display: flex; align-items: center; gap: 26px; }
.site-nav__link {
  font-family: var(--font-mono);
  font-size: 12px;
  color: var(--muted);
  transition: color .16s ease;
}
.site-nav__link:hover { color: var(--cream); }

.pill-age {
  font-family: var(--font-mono);
  font-size: 11px;
  color: var(--muted);
  border: 1px solid var(--line);
  border-radius: 999px;
  padding: 5px 10px;
}

/* ---------------------------------------------------------------- hero -- */

.hero { position: relative; }

.hero__media { position: relative; overflow: hidden; }
.hero__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 50% 18%;
}
.hero__scrim { position: absolute; inset: 0; }
.hero__crown {
  position: absolute;
  top: 18px;
  left: 50%;
  transform: translateX(-50%);
  width: 34px;
  height: 34px;
  filter: drop-shadow(0 1px 3px rgba(0, 0, 0, .6));
}

.hero__body {
  position: relative;
  z-index: 2;
  padding: 0 var(--pad-x) 34px;
  text-align: center;
}

.eyebrow-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin: 0 0 14px;
  padding: 5px 13px;
  border: 1px solid rgba(201, 162, 39, .35);
  border-radius: 999px;
  background: rgba(201, 162, 39, .12);
  color: var(--gold-light);
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 1.4px;
  text-transform: uppercase;
}
.eyebrow-badge__icon { display: none; width: 14px; height: 14px; color: var(--gold-light); }

.hero__title {
  font-family: var(--font-display);
  font-size: 42px;
  font-weight: 700;
  line-height: 1.02;
  letter-spacing: -.5px;
  text-transform: uppercase;
  color: var(--cream);
}

.hero__lead {
  margin-top: 16px;
  font-size: 16px;
  font-weight: 500;
  line-height: 1.5;
  color: var(--cream);
}

.hero__sub {
  margin-top: 12px;
  font-size: 14px;
  line-height: 1.6;
  color: var(--muted);
  text-wrap: pretty;
}

.hero__actions { margin-top: 24px; }
.hero__actions .btn { width: 100%; }

.hero__proof {
  margin-top: 14px;
  font-family: var(--font-mono);
  font-size: 12px;
  color: var(--muted);
}

/* hero — mobile: retrato full-bleed 4/5 com o texto sobreposto */
@media (max-width: 1023.98px) {
  .hero__media { aspect-ratio: 4 / 5; }
  .hero__scrim {
    background: linear-gradient(180deg,
      rgba(18, 10, 13, .55) 0%,
      rgba(18, 10, 13, 0) 32%,
      rgba(18, 10, 13, .6) 76%,
      var(--bg) 100%);
  }
  .hero__body { margin-top: -52px; }
}

/* hero — desktop: duas colunas, retrato à direita */
@media (min-width: 1024px) {
  .hero {
    display: grid;
    grid-template-columns: 1fr 1fr;
    align-items: stretch;
    max-width: var(--shell-max);
    margin-inline: auto;
    border-bottom: 1px solid var(--line);
  }
  .hero__media { order: 2; min-height: 660px; }
  .hero__media img { position: absolute; inset: 0; object-position: 50% 22%; }
  .hero__scrim {
    background: linear-gradient(90deg,
      var(--bg) 0%,
      rgba(18, 10, 13, .55) 26%,
      rgba(18, 10, 13, 0) 60%);
  }
  .hero__crown { display: none; }

  .hero__body {
    order: 1;
    display: flex;
    flex-direction: column;
    justify-content: center;
    padding: 88px var(--pad-x);
    text-align: left;
  }
  .eyebrow-badge {
    align-self: flex-start;
    margin-bottom: 26px;
    padding: 6px 14px;
    font-size: 11.5px;
  }
  .eyebrow-badge__icon { display: block; }
  .hero__title { font-size: clamp(56px, 5.7vw, 82px); line-height: .96; letter-spacing: -2px; }
  .hero__lead  { margin-top: 26px; max-width: 560px; font-size: 21px; line-height: 1.45; }
  .hero__sub   { margin-top: 16px; max-width: 540px; font-size: 16px; line-height: 1.7; }

  .hero__actions {
    display: flex;
    align-items: center;
    gap: 24px;
    flex-wrap: wrap;
    margin-top: 38px;
  }
  .hero__actions .btn { width: auto; }
  .hero__proof { margin-top: 0; max-width: 230px; font-size: 13px; line-height: 1.5; }
}

/* -------------------------------------------------------------- ticker -- */

.ticker {
  position: relative;
  background: var(--surface);
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  overflow: hidden;
}

.ticker__tag {
  position: absolute;
  left: 0;
  top: 0;
  bottom: 0;
  z-index: 2;
  display: flex;
  align-items: center;
  gap: 6px;
  padding-inline: 12px;
  background: var(--emerald);
  color: var(--emerald-soft);
  font-family: var(--font-mono);
  font-size: 10.5px;
  letter-spacing: .8px;
  white-space: nowrap;
}

.dot-live {
  width: 6px;
  height: 6px;
  border-radius: 99px;
  background: var(--emerald-lit);
  animation: pulse 1.8s ease-in-out infinite;
}

.ticker__viewport { padding-left: 110px; overflow: hidden; }

.ticker__track {
  display: flex;
  width: max-content;
  white-space: nowrap;
  animation: tick 32s linear infinite;
}

.ticker__item {
  padding: 11px 22px;
  border-right: 1px solid var(--line);
  font-family: var(--font-mono);
  font-size: 12px;
  color: var(--cream);
}

@media (min-width: 1024px) {
  .ticker__tag { padding-inline: 18px; font-size: 11.5px; letter-spacing: 1px; gap: 7px; }
  .ticker__viewport { padding-left: 150px; }
  .ticker__track { animation-duration: 46s; }
  .ticker__item { padding: 13px 30px; font-size: 13px; }
}

@keyframes tick {
  from { transform: translateX(0); }
  to   { transform: translateX(-50%); }
}

@keyframes pulse {
  0%, 100% { opacity: 1; }
  50%      { opacity: .35; }
}

/* ---------------------------------------------------------- benefícios -- */

.benefits { padding-block: 38px 40px; }

@media (min-width: 1024px) {
  .benefits { padding-block: 88px; }
}

.ticket {
  position: relative;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 4px;
  padding: 28px 22px;
}

.ticket__notch {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 18px;
  height: 18px;
  border-radius: 99px;
  background: var(--bg);
}
.ticket__notch--l { left: -9px; }
.ticket__notch--r { right: -9px; }

.section-head { text-align: center; }

.kicker {
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 1.6px;
  text-transform: uppercase;
  color: var(--gold-light);
  margin-bottom: 10px;
}

.section-title {
  font-family: var(--font-display);
  font-size: 22px;
  font-weight: 600;
  line-height: 1.2;
  color: var(--gold-light);
}

.benefits__list {
  display: flex;
  flex-direction: column;
  gap: 16px;
  margin-top: 22px;
}

.benefit {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  padding-bottom: 16px;
  border-bottom: 1px dashed var(--line);
}
.benefit:last-child { padding-bottom: 0; border-bottom: 0; }

.check {
  flex: none;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 20px;
  height: 20px;
  margin-top: 2px;
  border-radius: 99px;
  background: var(--emerald);
  color: var(--emerald-soft);
  font-size: 11px;
}

.benefit__title {
  display: block;
  margin-bottom: 3px;
  font-size: 15px;
  font-weight: 600;
  color: var(--cream);
}
.benefit__desc { font-size: 13.5px; line-height: 1.5; color: var(--muted); }

/* benefícios — desktop: grid de 4 cards, sem o formato "ticket" */
@media (min-width: 1024px) {
  .ticket {
    background: none;
    border: 0;
    padding: 0;
  }
  .ticket__notch { display: none; }

  .section-head { margin-bottom: 44px; }
  .kicker { font-size: 11.5px; letter-spacing: 1.8px; margin-bottom: 14px; }
  .section-title {
    font-size: clamp(32px, 3.1vw, 44px);
    line-height: 1.12;
    letter-spacing: -.6px;
    color: var(--cream);
  }

  .benefits__list {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
    margin-top: 0;
  }
  .benefit {
    flex-direction: column;
    gap: 0;
    padding: 32px 26px;
    background: var(--surface);
    border: 1px solid var(--line);
    border-bottom: 1px solid var(--line);
    border-radius: 4px;
  }
  .benefit:last-child { padding: 32px 26px; border-bottom: 1px solid var(--line); }
  .check { width: 34px; height: 34px; margin: 0 0 22px; font-size: 16px; }
  .benefit__title {
    font-family: var(--font-display);
    font-size: 21px;
    margin-bottom: 10px;
  }
  .benefit__desc { font-size: 15px; line-height: 1.6; }
}

/* --------------------------------------------------------- prova social -- */

.proof { padding-bottom: 40px; }

@media (min-width: 1024px) {
  .proof { padding-bottom: 88px; }
}

.proof__head { text-align: center; }
.section-title--left { margin-bottom: 20px; }
.proof__note { display: none; }

.proof__rail {
  display: flex;
  gap: 14px;
  overflow-x: auto;
  overflow-y: hidden;
  padding: 4px var(--pad-x) 16px;
  scroll-snap-type: x mandatory;
  scrollbar-width: none;
  -webkit-overflow-scrolling: touch;
}
.proof__rail::-webkit-scrollbar { width: 0; height: 0; }

.proof__card {
  flex: 0 0 218px;
  width: 218px;
  min-width: 0;
  padding: 8px;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 6px;
  scroll-snap-align: center;
}
.proof__card img {
  width: 100%;
  height: 330px;
  object-fit: cover;
  object-position: 50% 30%;
  border-radius: 3px;
}
.proof__card:nth-child(2) img { object-position: 50% 40%; }
.proof__card:nth-child(3) img { object-position: 50% 35%; }

.proof__dots {
  display: flex;
  justify-content: center;
  gap: 6px;
}
.proof__dot {
  width: 6px;
  height: 3px;
  border-radius: 99px;
  background: var(--line);
  transition: width .2s ease, background .2s ease;
}
.proof__dot.is-active { width: 18px; background: var(--gold); }

@media (min-width: 1024px) {
  .proof__head {
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    gap: 40px;
    margin-bottom: 32px;
    text-align: left;
  }
  .section-title--left { max-width: 620px; margin-bottom: 0; font-size: clamp(28px, 2.7vw, 38px); line-height: 1.15; }
  .proof__note {
    display: block;
    max-width: 300px;
    font-size: 14.5px;
    line-height: 1.6;
    color: var(--muted);
  }

  .proof__rail {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 22px;
    max-width: var(--shell-max);
    margin-inline: auto;
    padding: 0 var(--pad-x);
    overflow: visible;
  }
  .proof__card { flex: initial; width: auto; padding: 10px; }
  .proof__card img { height: 460px; object-position: 50% 28%; }
  .proof__card:nth-child(2) img { object-position: 50% 42%; }
  .proof__card:nth-child(3) img { object-position: 50% 34%; }

  .proof__dots { display: none; }
}

/* ------------------------------------------------------------ cta final -- */

.cta {
  padding-block: 40px 48px;
  background: var(--surface);
  border-top: 1px solid var(--line);
  text-align: center;
}

.cta__crown { width: 34px; height: 34px; margin: 0 auto 14px; }

.cta__title {
  font-family: var(--font-display);
  font-size: 26px;
  font-weight: 600;
  line-height: 1.12;
  color: var(--cream);
}

.cta__actions { display: flex; justify-content: center; margin-top: 22px; }
.cta__actions .btn { width: 100%; }

.cta__note {
  margin-top: 12px;
  font-family: var(--font-mono);
  font-size: 12px;
  color: var(--muted);
}

@media (min-width: 1024px) {
  .cta { padding-block: 96px; }
  .cta__crown { width: 48px; height: 48px; margin-bottom: 20px; }
  .cta__title {
    max-width: 780px;
    margin-inline: auto;
    font-size: clamp(38px, 3.8vw, 54px);
    line-height: 1.06;
    letter-spacing: -1.2px;
  }
  .cta__actions { margin-top: 34px; }
  .cta__actions .btn { width: auto; }
  .cta__note { margin-top: 18px; font-size: 13px; }
}

/* -------------------------------------------------------------- footer -- */

.site-footer {
  padding-block: 28px 32px;
  background: var(--bg);
  border-top: 1px solid var(--line);
}

.warn {
  display: flex;
  align-items: center;
  gap: 9px;
  margin-bottom: 14px;
}
.badge-age {
  flex: none;
  padding: 3px 7px;
  border-radius: 4px;
  background: var(--gold);
  color: var(--on-gold);
  font-size: 12px;
  font-weight: 700;
}
.warn__text { font-size: 12.5px; font-weight: 600; color: var(--cream); }

.disclaimer {
  font-size: 11.5px;
  line-height: 1.7;
  color: var(--dim);
  text-wrap: pretty;
}

.site-footer__brand {
  display: none;
  align-items: center;
  gap: 10px;
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 1.4px;
  text-transform: uppercase;
  color: var(--faint);
}
.site-footer__brand .crown { width: 18px; height: 18px; color: var(--faint); }

/* linha de copyright no mobile, embaixo do disclaimer */
.site-footer__inner::after {
  content: "El Rey del Slot · 2026";
  display: block;
  margin-top: 14px;
  font-family: var(--font-mono);
  font-size: 10.5px;
  letter-spacing: 1.4px;
  text-transform: uppercase;
  color: var(--faint);
}

@media (min-width: 1024px) {
  .site-footer { padding-block: 44px 52px; }
  .site-footer__inner {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 64px;
    align-items: start;
  }
  .site-footer__inner::after { display: none; }
  .site-footer__brand { display: flex; }
  .warn { margin-bottom: 16px; }
  .badge-age { padding: 4px 9px; font-size: 13px; }
  .warn__text { font-size: 14px; }
  .disclaimer { font-size: 12.5px; line-height: 1.75; }
}

/* ---------------------------------------------------------- sticky cta -- */

.sticky-cta {
  position: fixed;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 50;
  padding: 12px 16px 16px;
  background: linear-gradient(180deg, rgba(18, 10, 13, 0) 0%, rgba(18, 10, 13, .96) 42%);
  transform: translateY(120%);
  opacity: 0;
  transition: transform .28s ease, opacity .28s ease;
  pointer-events: none;
}
.sticky-cta.is-visible {
  transform: translateY(0);
  opacity: 1;
  pointer-events: auto;
}

@media (min-width: 1024px) {
  .sticky-cta { display: none; }
}

/* ------------------------------------------------------------- tablet -- */
/* Faixa intermediária: mantém o layout mobile, mas evita que o retrato
   fique altíssimo e que os botões-pílula estiquem por toda a largura. */

@media (min-width: 600px) and (max-width: 1023.98px) {
  :root { --pad-x: 32px; }

  .hero__media { max-height: 560px; }
  .hero__body,
  .ticket,
  .proof__head,
  .cta .shell { max-width: 560px; margin-inline: auto; }

  .hero__actions .btn,
  .cta__actions .btn { width: auto; min-width: 320px; }
  .cta__actions { justify-content: center; }

  .proof__rail { justify-content: center; }

  .site-footer__inner { max-width: 640px; margin-inline: auto; }
  .sticky-cta .btn { max-width: 420px; margin-inline: auto; }
}

/* ------------------------------------------------- movimento reduzido -- */

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .ticker__track,
  .dot-live { animation: none; }
  .sticky-cta { transition: none; }
  *, *::before, *::after { transition-duration: .01ms !important; }
}
