/* Identidade visual da landing page NeoPlay. */
:root {
  color-scheme: dark;
  --color1: #00d4ff;
  --color2: #006df0;
  --color3: #1353b7;
  --color4: #006df0;
  --hovercolor: #0062df;
  --bgcolor: #050e1e;
  --fontcolor: #f6f9ff;
  --muted: #b9c8dd;
  --surface: #0b192e;
  --border: rgba(145, 185, 231, 0.18);
  --faqcolor: #0c1c33;
  --faqhover: #122844;
}
* { margin: 0; padding: 0; box-sizing: border-box; }
html { font-size: 16px; scroll-padding-top: 1.5rem; }
body {
  background: var(--bgcolor);
  color: var(--fontcolor);
  font-family: "Manrope", system-ui, -apple-system, "Segoe UI", sans-serif;
  line-height: 1.7;
}
button, input { font: inherit; }
img { display: block; max-width: 100%; height: auto; }
a { color: inherit; }
button, a { -webkit-tap-highlight-color: transparent; }
a:focus-visible, button:focus-visible {
  outline: 3px solid var(--color1);
  outline-offset: 5px;
}
h1, h2, h3 { line-height: 1.2; font-weight: 800; }
.highlight-blue { color: var(--color1); }
.highlight-pink, .highlight-purple { color: #70b7ff; }

/* A imagem do hero recebe fade somente na lateral esquerda. */
.hero-shell {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  background-color: #030b18;
}
.hero-shell::before {
  content: "";
  position: absolute;
  z-index: 0;
  top: 50%;
  right: 0;
  height: 125%;
  aspect-ratio: 941 / 1672;
  background: url("assets/neoplay-hero-premium.webp") center / cover no-repeat;
  transform: translateY(-50%);
  -webkit-mask-image: linear-gradient(90deg, transparent 0%, rgba(0, 0, 0, 0.18) 10%, #000 34%);
  mask-image: linear-gradient(90deg, transparent 0%, rgba(0, 0, 0, 0.18) 10%, #000 34%);
}
header {
  position: relative;
  z-index: 20;
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
  min-height: 104px;
  margin: 0 auto;
  padding-right: max(2rem, calc((100% - 1200px) / 2));
  padding-left: max(2rem, calc((100% - 1200px) / 2));
  border-bottom: 1px solid rgba(55, 220, 255, 0.72);
  background-color: #030b18;
  background-image: repeating-linear-gradient(
    0deg,
    rgba(21, 201, 255, 0.045) 0,
    rgba(21, 201, 255, 0.045) 1px,
    transparent 1px,
    transparent 3px
  );
}
.logo { display: block; flex-shrink: 0; }
.logo img { width: 142px; height: auto; }
.nav-display {
  position: absolute;
  top: 50%;
  left: 50%;
  margin: 0;
  color: #4ceaff;
  font-family: "Courier New", ui-monospace, monospace;
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.13em;
  text-shadow: 0 0 5px rgba(0, 212, 255, 0.9), 0 0 12px rgba(0, 141, 255, 0.62);
  transform: translate(-50%, -50%);
  white-space: nowrap;
}
nav ul { display: flex; align-items: center; gap: 2.5rem; list-style: none; }
nav a { text-decoration: none; font-size: 0.95rem; font-weight: 700; transition: color 0.2s; }
nav a:hover { color: var(--color1); }
.menu-toggle {
  display: none;
  align-items: center;
  justify-content: center;
  width: 46px;
  height: 46px;
  border: 1px solid var(--border);
  border-radius: 12px;
  background: var(--surface);
  color: var(--fontcolor);
  cursor: pointer;
}
.menu-toggle svg { width: 24px; height: 24px; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; }
#menu-close-icon { display: none; }
.menu-toggle[aria-expanded="true"] #menu-open-icon { display: none; }
.menu-toggle[aria-expanded="true"] #menu-close-icon { display: block; }

#inicio {
  position: relative;
  z-index: 1;
  display: flex;
  align-items: center;
  min-height: 680px;
  min-height: max(680px, calc(100svh - 104px));
  padding: 4.5rem 2rem 6rem;
}
.container { width: min(1200px, 100%); margin: 0 auto; }
.text-content { width: min(660px, 64%); }
.text-content h1 {
  margin-bottom: 1.7rem;
  font-size: clamp(2.4rem, 4.3vw, 3.8rem);
  letter-spacing: -0.045em;
  text-wrap: balance;
}
.hero-title-line { display: block; }
.hero-description {
  max-width: 540px;
  margin-bottom: 1.1rem;
  color: #d1dded;
  font-size: clamp(1rem, 1.5vw, 1.18rem);
  line-height: 1.8;
}
.hero-price {
  margin: 0.6rem 0 0;
  color: var(--color1);
  font-size: clamp(1.55rem, 2.6vw, 2.15rem);
  font-weight: 800;
  line-height: 1.2;
  letter-spacing: -0.035em;
}
.hero-price span { font-size: 0.58em; letter-spacing: 0; }
.hero-description-final { margin-top: 1.25rem; margin-bottom: 0; }
.hero-support {
  display: flex;
  align-items: center;
  gap: 0.65rem;
}
.hero-support-icon {
  width: 1.45rem;
  height: 1.45rem;
  flex: 0 0 auto;
  color: var(--color1);
  fill: none;
  stroke: currentColor;
  stroke-width: 1.8;
  stroke-linecap: round;
  stroke-linejoin: round;
  filter: drop-shadow(0 0 5px rgba(21, 201, 255, 0.42));
}
.btn, .teste-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 1.15rem;
  max-width: 100%;
  min-height: 54px;
  padding: 1rem 1.8rem;
  border: 1px solid rgba(38, 190, 255, 0.9);
  border-radius: 14px;
  background: linear-gradient(135deg, #062e69, #0757b8);
  color: #fff;
  font-weight: 800;
  font-size: 0.98rem;
  text-align: center;
  text-decoration: none;
  box-shadow: 0 0 10px rgba(0, 199, 255, 0.45),
    0 0 28px rgba(0, 105, 255, 0.42),
    inset 0 1px 0 rgba(255, 255, 255, 0.16);
  transition: background 0.2s, border-color 0.2s, transform 0.2s, box-shadow 0.2s;
}
.btn:hover, .teste-btn:hover {
  border-color: #58dcff;
  background: linear-gradient(135deg, #073b82, #0869d8);
  box-shadow: 0 0 14px rgba(0, 212, 255, 0.58),
    0 0 34px rgba(0, 109, 255, 0.5),
    inset 0 1px 0 rgba(255, 255, 255, 0.2);
  transform: translateY(-2px);
}
#inicio-btn { margin-top: 0; min-width: 300px; }

/* Seções e tabela comparativa. */
#comparativo, #planos, #teste, #faq {
  width: min(1200px, calc(100% - 4rem));
  margin: 0 auto;
  padding: 5rem 0;
}
#comparativo, #planos, #teste { text-align: center; }
#comparativo h2, #planos h2, #teste h2, #faq h2 {
  max-width: 880px;
  margin: 0 auto 2.2rem;
  font-size: clamp(1.65rem, 3vw, 2.5rem);
  letter-spacing: -0.035em;
}
#comparativo .descricao { margin-bottom: 2rem; color: var(--muted); font-size: 1rem; }
.tabela { overflow: hidden; border: 1px solid var(--border); border-radius: 20px; }
table { width: 100%; table-layout: fixed; border-collapse: collapse; }
thead th { padding: 1.35rem 1.5rem; font-size: 1.15rem; text-align: center; }
.generico { background: #142239; color: #ced8e7; }
.premium { background: #103569; color: #fff; }
tbody td {
  padding: 1.4rem 1.5rem;
  background: var(--surface);
  border-top: 1px solid var(--border);
  color: #d1dded;
  font-size: 1rem;
  overflow-wrap: anywhere;
}
tbody td + td { border-left: 1px solid var(--border); background: #0b203c; color: #f2f7ff; }
.emoji {
  font-family: "Apple Color Emoji", "Segoe UI Emoji", "Noto Color Emoji", sans-serif;
  font-style: normal;
  font-variant-emoji: emoji;
}
tbody tr {
  opacity: 0;
  transform: translateY(-20px);
}
tbody tr.active { animation: fadeInRow 0.65s ease-out forwards; }
tbody tr:nth-child(1).active { animation-delay: 0.12s; }
tbody tr:nth-child(2).active { animation-delay: 0.24s; }
tbody tr:nth-child(3).active { animation-delay: 0.36s; }
tbody tr:nth-child(4).active { animation-delay: 0.48s; }
tbody tr:nth-child(5).active { animation-delay: 0.6s; }
.extra { margin: 2rem 0 1.3rem; font-size: 1.02rem; }

/* Planos: preços e destinos dos botões são preservados. */
#planos { border-top: 1px solid var(--border); }
.planos-container { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 1.1rem; }
.plano {
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 2rem 1.25rem;
  border: 1px solid var(--border);
  border-radius: 20px;
  background: linear-gradient(155deg, #10213b, #091628);
  transition: border-color 0.2s, transform 0.2s;
}
.plano.ativo { border-color: var(--color2); box-shadow: 0 0 30px rgba(8, 120, 255, 0.12); }
.plano:hover { border-color: var(--color1); transform: translateY(-4px); }
.plano h3 { margin-bottom: 1.4rem; font-size: 1.25rem; }
.plano .highlight { display: block; margin-top: 0.35rem; color: var(--color1); }
.plano p { margin-bottom: 0.65rem; color: var(--muted); font-size: 0.9rem; }
.plano .preco { margin: 1.4rem 0; color: var(--fontcolor); font-size: 2rem; font-weight: 800; letter-spacing: -0.04em; }
.plano .btn { width: 100%; margin-top: auto; }
#teste { width: min(1200px, calc(100% - 4rem)); padding: 3.5rem 2rem; border: 1px solid var(--border); border-radius: 24px; background: linear-gradient(120deg, #102745, #0a192e); }
#teste h2 { margin-bottom: 1.5rem; }

/* Perguntas frequentes. */
#faq { max-width: 1000px; }
#faq h2 { text-align: center; }
.faq-item { margin-bottom: 0.8rem; }
.faq-question {
  position: relative;
  width: 100%;
  padding: 1.2rem 3.3rem 1.2rem 1.4rem;
  border: 1px solid var(--border);
  border-radius: 14px;
  background: var(--faqcolor);
  color: var(--fontcolor);
  font-size: 1rem;
  font-weight: 700;
  cursor: pointer;
  transition: background 0.2s;
}
.faq-question:hover, .faq-question.active { background: var(--faqhover); }
.faq-question::after {
  content: "+";
  position: absolute;
  right: 1.4rem;
  top: 50%;
  transform: translateY(-50%);
  color: var(--color1);
  font-size: 1.5rem;
  font-weight: 500;
}
.faq-question.active::after { content: "−"; }
.faq-answer {
  height: 0;
  overflow: hidden;
  padding: 0 1.4rem;
  color: var(--muted);
  font-size: 0.95rem;
  opacity: 0;
  transform: scaleY(0);
  transform-origin: top;
  transition: opacity 0.2s, transform 0.2s;
}
.faq-answer p { padding: 1.2rem 0 0.6rem; }
.faq-question.active + .faq-answer { height: auto; opacity: 1; transform: scaleY(1); }

footer { padding: 1.4rem max(1.5rem, calc((100% - 1000px) / 2)); border-top: 1px solid var(--border); background: #030a15; color: var(--muted); text-align: center; font-size: 0.8rem; line-height: 1.5; }
footer .disc { margin-top: 0.5rem; font-size: 0.66rem; line-height: 1.55; color: #91a5bf; }
.whatsapp-fixo {
  position: fixed;
  right: 22px;
  bottom: 22px;
  z-index: 30;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 56px;
  height: 56px;
  border-radius: 50%;
  background: #25d366;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.3);
  transition: transform 0.2s;
}
.whatsapp-fixo img { width: 70%; height: 70%; }
.whatsapp-fixo:hover { transform: translateY(-3px); }

@media (min-width: 1600px) {
  .hero-shell::before { right: calc((100vw - 1600px) / 2); }
}
@media (max-width: 1024px) {
  .hero-shell::before { height: 110%; }
  .text-content { width: min(600px, 72%); }
  .planos-container { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 1.2rem; }
}
@media (max-width: 768px) {
  header {
    align-items: center;
    width: 100%;
    min-height: 72px;
    padding: 0 1.25rem;
  }
  .logo img { width: 60px; }
  .nav-display {
    top: 50%;
    bottom: auto;
    font-size: 0.64rem;
    letter-spacing: 0.1em;
    transform: translate(-50%, -50%);
  }
  .menu-toggle { display: flex; }
  nav {
    display: none;
    position: absolute;
    top: calc(100% + 0.5rem);
    right: 0;
    left: 0;
    padding: 0.7rem;
    border: 1px solid var(--border);
    border-radius: 16px;
    background: #0a192e;
    box-shadow: 0 18px 40px rgba(0, 0, 0, 0.45);
  }
  nav.active { display: block; }
  nav ul { flex-direction: column; align-items: stretch; gap: 0.25rem; }
  nav a { display: block; padding: 0.8rem 1rem; border-radius: 10px; }
  nav a:hover { background: var(--faqhover); }
  .hero-shell::before {
    top: 0;
    right: 0;
    width: 100%;
    height: 100%;
    aspect-ratio: auto;
    background-image: linear-gradient(rgba(3, 11, 24, 0.36), rgba(3, 11, 24, 0.36)),
      url("assets/neoplay-hero-premium.webp");
    background-position: center, center calc(58% + 24px);
    background-size: cover, cover;
    transform: none;
    -webkit-mask-image: none;
    mask-image: none;
  }
  .hero-shell::after {
    content: "";
    position: absolute;
    z-index: 0;
    right: 0;
    bottom: 0;
    left: 0;
    height: 9rem;
    background: linear-gradient(180deg, transparent, var(--bgcolor));
    pointer-events: none;
  }
  #inicio { min-height: 690px; align-items: flex-start; padding: 3.5rem 1.5rem 5rem; text-align: center; }
  .text-content { width: 100%; max-width: 550px; margin: 0 auto; }
  .text-content h1 { font-size: clamp(2.2rem, 6.6vw, 3.25rem); }
  .hero-description { margin-right: auto; margin-left: auto; font-size: 1.05rem; }
  #inicio-btn {
    width: auto;
    min-width: 0;
    margin-top: 0;
    padding: 1rem 1.8rem;
  }
  .hero-description-final { margin-top: 1rem; }
  .hero-support { justify-content: center; }
  #comparativo, #planos, #faq { width: calc(100% - 3rem); padding: 3.5rem 0; }
  #teste { width: calc(100% - 3rem); padding: 3rem 1.5rem; }
  thead th { padding: 1rem 0.7rem; font-size: 0.95rem; }
  tbody td { padding: 1rem 0.7rem; font-size: 0.85rem; }
  .faq-question { font-size: 0.95rem; }
}
@media (max-width: 480px) {
  #inicio { min-height: 680px; padding: 2.25rem 1.25rem 4rem; }
  .text-content h1 { font-size: clamp(1.4rem, 7vw, 2.25rem); }
  .hero-title-line { white-space: nowrap; }
  .hero-description { font-size: 1rem; }
  #inicio-btn { width: auto; padding: 1rem 1.6rem; font-size: 0.95rem; gap: 0; }
  .planos-container { grid-template-columns: minmax(0, 1fr); }
  .plano { padding: 2rem; }
  .plano h3 { font-size: 1.5rem; }
  .plano p { font-size: 1rem; }
  #comparativo, #planos, #faq { width: calc(100% - 2.5rem); }
  #teste { width: calc(100% - 2.5rem); }
  .btn, .teste-btn { font-size: 0.9rem; padding: 1rem 1.1rem; }
  footer { padding: 1.2rem 1.25rem 4rem; font-size: 0.76rem; }
  footer .disc { margin-top: 0.45rem; font-size: 0.62rem; line-height: 1.5; }
  .whatsapp-fixo { width: 50px; height: 50px; right: 16px; bottom: 16px; }
}
@keyframes fadeInRow {
  from {
    opacity: 0;
    transform: translateY(-20px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; scroll-behavior: auto !important; }
  tbody tr { opacity: 1; transform: none; }
}
