:root {
  color-scheme: dark;
  --bg: #080812;
  --text: #f8f6ff;
  --muted: #cec5da;
  --line: #30243e;
  --accent: #c084fc;
  --gradient: linear-gradient(112deg, #6812d1, #8e20dd);
  font-family: Inter, "Segoe UI", system-ui, sans-serif;
  color: var(--text);
  background: var(--bg);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; }
a { color: inherit; }
button, input { font: inherit; }
button { cursor: pointer; }
[hidden] { display: none !important; }
:focus-visible { outline: 3px solid #e1b5ff; outline-offset: 4px; }
.shell { width: min(100% - 96px, 1440px); margin-inline: auto; }
.sr-only, .skip-link:not(:focus) {
  position: absolute; width: 1px; height: 1px; overflow: hidden;
  clip-path: inset(50%); white-space: nowrap;
}
.skip-link:focus { display: block; padding: 12px; }

.site-header { border-bottom: 1px solid var(--line); }
.header-row {
  min-height: 74px; display: grid; grid-template-columns: 1fr auto 1fr;
  align-items: center; gap: 20px;
}
.brand {
  display: inline-flex; align-items: center; gap: 12px; justify-self: start;
  font-size: clamp(1.35rem, 2.6vw, 2rem); font-weight: 850; letter-spacing: -.055em;
  text-decoration: none; white-space: nowrap;
}
.header-row nav a { font-weight: 750; text-decoration: none; }
.header-row nav a:hover, .site-footer a:hover { color: var(--accent); }
.header-row > .button { justify-self: end; }

.button {
  display: inline-flex; justify-content: center; align-items: center; min-height: 46px;
  padding: .65rem 1.3rem; border-radius: 12px; border: 1px solid transparent;
  color: var(--text); font-weight: 750; text-align: center; text-decoration: none;
  transition: background-color .18s, border-color .18s, box-shadow .18s, filter .18s;
}
.button.primary { background: var(--gradient); }
.button.primary:hover { filter: brightness(1.17); box-shadow: 0 6px 28px #8e20dd44; }
.button.outline { background: #0b0817; border-color: #ad6ce5; }
.button.outline:hover { background: #26153a; }

.hero {
  position: relative; isolation: isolate; overflow: hidden;
  border-bottom: 1px solid var(--line);
  background: radial-gradient(ellipse at 69% 50%, #2a0d49 0%, transparent 60%);
}
.hero::before {
  content: ""; position: absolute; inset: 0; z-index: -1;
  background-image: linear-gradient(#9563bd13 1px, transparent 1px),
    linear-gradient(90deg, #9563bd13 1px, transparent 1px);
  background-size: 44px 44px;
  mask-image: linear-gradient(transparent, #000 22%, #000 74%, transparent);
}
.hero-inner { position: relative; display: flex; align-items: center; min-height: 435px; }
.hero-copy { position: relative; z-index: 1; padding-block: 62px; }
.hero h1 {
  margin: 0; font-size: clamp(3rem, 5.25vw, 5.4rem); line-height: 1.01;
  font-weight: 900; letter-spacing: -.068em;
}
.hero h1 span { display: block; color: var(--accent); }
.hero p { margin: .95rem 0 1.65rem; font-size: clamp(1.05rem, 2vw, 1.5rem); color: #e4dbee; }
.hero .button { font-size: 1.16rem; min-height: 56px; padding-inline: 2rem; }
.hero-art {
  position: absolute; width: min(58%, 800px); height: 115%; right: -3%;
  object-fit: contain; mix-blend-mode: screen;
  mask-image: radial-gradient(ellipse at center, #000 50%, transparent 74%);
}

.offers { padding-block: 28px 34px; scroll-margin-top: 12px; }
.offers-header {
  display: flex; justify-content: space-between; align-items: center;
  gap: 1rem; margin-bottom: 22px; flex-wrap: wrap;
}
.offers h2, dialog h2 {
  margin: 0; font-size: clamp(1.8rem, 3.6vw, 3.2rem);
  letter-spacing: -.06em; line-height: 1.07; font-weight: 860;
}
.filters { display: flex; gap: .55rem; }
.filters button {
  color: var(--text); border: 1px solid #786288; border-radius: 10px;
  background: #0d0b17; padding: .65rem 1.12rem; font-weight: 750; min-height: 44px;
}
.filters button:hover { border-color: var(--accent); }
.filters button[aria-pressed="true"] { border-color: transparent; background: var(--gradient); }
.cards { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 18px; }
.card {
  --card-edge: #a744ed;
  display: flex; flex-direction: column; align-items: flex-start; gap: .55rem;
  padding: clamp(1rem, 2.05vw, 1.75rem); min-width: 0;
  border: 1px solid var(--card-edge); border-radius: 17px;
  background: radial-gradient(ellipse at 32% 0%, #281047, #0f0a20 74%);
}
.card.claro { --card-edge: #f46b87; background: radial-gradient(ellipse at 26% 0%, #361320, #160b18 76%); }
.card .carrier {
  margin: 0; border-radius: 8px; padding: .2rem .8rem;
  background: #7312ce; font-size: 1rem; font-weight: 800;
}
.card.claro .carrier { background: #a93150; }
.card .credit { font-size: clamp(1rem, 1.8vw, 1.45rem); font-weight: 600; margin: .15rem 0 0; }
.card .price {
  font-size: clamp(2.35rem, 4vw, 4rem); font-weight: 900; line-height: 1;
  letter-spacing: -.065em; margin: 0 0 .65rem; white-space: nowrap;
}
.card .button { width: 100%; margin-top: auto; border-color: var(--card-edge); }
.card.claro .button:hover { background: #341627; }
.more-row:has(button:not([hidden])) { display: flex; justify-content: center; margin-top: 20px; }
.site-footer { text-align: center; border-top: 1px solid var(--line); padding: 19px 12px 24px; }

dialog {
  width: min(440px, calc(100% - 32px)); max-height: calc(100% - 32px);
  padding: 28px; color: var(--text); background: #171022;
  border: 1px solid #9460b2; border-radius: 18px; box-shadow: 0 20px 95px #0009;
}
dialog::backdrop { background: #04030bd6; }
dialog h2 { font-size: 2rem; padding-right: 36px; }
dialog p { color: var(--muted); }
.close {
  position: absolute; top: 12px; right: 12px; width: 42px; height: 42px;
  background: #251831; color: var(--text); border: 1px solid #644279;
  border-radius: 10px; font-size: 1.5rem;
}
dialog form { display: grid; gap: 9px; }
dialog label { font-weight: 650; }
dialog input {
  min-width: 0; min-height: 46px; border: 1px solid #9679aa; border-radius: 9px;
  background: #0c0814; color: var(--text); padding: .65rem .8rem;
}
dialog small { color: var(--muted); }
.form-note { margin: .4rem 0; font-size: .9rem; }

@media (max-width: 1060px) {
  .shell { width: calc(100% - 56px); }
  .hero-inner { min-height: 370px; }
}
@media (max-width: 720px) {
  .shell { width: calc(100% - 36px); }
  .header-row { min-height: 64px; grid-template-columns: 1fr auto; gap: 8px; }
  .header-row nav { display: none; }
  .brand { gap: 7px; }
  .brand img { width: 21px; height: 27px; }
  .header-row .button { padding-inline: .75rem; }
  .hero-inner { display: grid; justify-items: center; text-align: center; gap: 0; }
  .hero-copy { padding-block: 36px 0; }
  .hero h1 { font-size: clamp(2.65rem, 8vw, 4.15rem); }
  .hero p { margin-block: .85rem 1.1rem; }
  .hero-art {
    position: static; grid-row: 2; width: min(100%, 470px);
    height: auto; margin-block: -6px -12px;
  }
  .cards { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }
}
@media (max-width: 470px) {
  .cards { grid-template-columns: 1fr; }
  .card { padding: 17px; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition-duration: 0s !important; }
}

/* Cartões de recarga menores */
.card { padding: .85rem 1rem; gap: .35rem; border-radius: 14px; }
.card .carrier { font-size: .875rem; padding: .15rem .6rem; }
.card .credit { font-size: 1rem; }
.card .price { font-size: clamp(1.75rem, 3vw, 2.65rem); margin: 0 0 .3rem; }
.card .button { min-height: 44px; padding: .4rem .55rem; font-size: .9rem; }

/* Início do topo mais baixo */
.hero-inner {
  display: flex;
  min-height: 246px;
}
.hero-copy {
  padding-block: 22px;
}
.hero h1 {
  font-size: clamp(2.35rem, 4.2vw, 3.55rem);
  line-height: 1.02;
}
.hero p {
  margin: .55rem 0 .85rem;
  font-size: clamp(1rem, 1.55vw, 1.25rem);
}
.hero .button {
  min-height: 44px;
  padding: .5rem 1.3rem;
  font-size: 1rem;
}
.hero-art {
  width: min(53%, 670px);
  height: 108%;
  right: 0;
}

.offers { padding-top: 16px; }
.offers-header { margin-bottom: 12px; }
.offers h2 { font-size: clamp(1.65rem, 3.3vw, 2.55rem); }

@media (max-width: 720px) {
  .hero-inner {
    min-height: 0;
    text-align: left;
  }
  .hero-copy { padding-block: 18px; }
  .hero h1 { font-size: clamp(1.9rem, 6.2vw, 2.65rem); }
  .hero p { max-width: 28ch; }
  .hero-art {
    position: absolute;
    width: 53%;
    height: 100%;
    right: -6%;
    margin: 0;
    opacity: .4;
  }
}
/* Fim do topo mais baixo */
