/* South Laser — Landing Page
   Fundo escuro, alto contraste. Cores de destaque do site atual: gradiente purple-500 → pink-500. Fontes: Sora (títulos) + Inter (corpo). */

:root {
  --preto: #000000;
  --cinza: #0a0a0a;
  --linha: #1b2a2c;
  --roxo: #a855f7;   /* purple-500 */
  --rosa: #ec4899;   /* pink-500 */
  --grad: linear-gradient(to bottom right, var(--roxo), var(--rosa));
  --branco: #ffffff;
  --texto: #9aa4ab;
  --titulo: "Sora", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  --corpo: "Inter", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  --max: 1120px;
}

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  background: var(--preto);
  color: var(--texto);
  font: 400 1.0625rem/1.65 var(--corpo);
  -webkit-font-smoothing: antialiased;
}
a { color: inherit; text-decoration: none; }
:focus-visible { outline: 2px solid var(--rosa); outline-offset: 3px; }

h1, h2, h3 { font-family: var(--titulo); color: var(--branco); line-height: 1.12; letter-spacing: -0.02em; }
h1 { font-size: clamp(2.4rem, 6vw, 4.4rem); font-weight: 800; }
h2 { font-size: clamp(1.7rem, 3.6vw, 2.6rem); font-weight: 700; max-width: 22ch; }
h3 { font-size: 1.15rem; font-weight: 600; letter-spacing: -0.01em; }
.neon, .numero { background: var(--grad); -webkit-background-clip: text; background-clip: text; color: transparent; -webkit-text-fill-color: transparent; }

.wrap { width: min(var(--max), 100% - 2.5rem); margin-inline: auto; }
section { padding: clamp(4rem, 9vw, 7rem) 0; border-top: 1px solid var(--linha); }
.lead { max-width: 60ch; margin-top: 1.1rem; }
section:not(.hero) { content-visibility: auto; contain-intrinsic-size: auto 720px; }

/* Botões */
.btn {
  display: inline-block;
  background: var(--grad);
  color: var(--branco);
  font: 700 1rem var(--titulo);
  padding: 1rem 1.7rem;
  border-radius: 16px;
  box-shadow: 0 8px 32px rgba(168, 85, 247, .3);
  transition: transform .3s, box-shadow .3s;
}
.btn:hover { transform: scale(1.05); box-shadow: 0 10px 44px rgba(236, 72, 153, .45); }
.btn.ghost { background: transparent; color: var(--branco); border: 1px solid var(--roxo); box-shadow: none; }
.nota { font-size: .875rem; margin-top: .9rem; }

/* Topo */
.topo { position: sticky; top: 0; z-index: 10; background: #000; border-bottom: 1px solid var(--linha); }
.topo .wrap { display: flex; align-items: center; justify-content: space-between; height: 64px; }
.marca { font: 700 1rem var(--titulo); color: var(--branco); letter-spacing: .08em; display: flex; align-items: center; gap: .7rem; }
.marca i { width: 16px; height: 16px; background: var(--grad); border-radius: 5px; box-shadow: 0 0 14px rgba(236, 72, 153, .6); }
.topo .btn { padding: .6rem 1.1rem; font-size: .9rem; }

/* Hero — o único momento animado: uma linha laser varre a página ao carregar */
.hero { position: relative; overflow: hidden; border-top: 0; padding-top: clamp(4.5rem, 11vw, 9rem); }
.hero::before {
  content: ""; position: absolute; left: 0; right: 0; top: 0; height: 2px;
  background: var(--grad); box-shadow: 0 0 24px 4px rgba(236, 72, 153, .55);
  animation: varredura 1.6s ease-out 1 forwards;
}
.hero::after {
  content: ""; position: absolute; inset: 0; z-index: -1;
  background: radial-gradient(circle at 85% 20%, rgba(168, 85, 247, .16), transparent 50%), radial-gradient(circle at 10% 90%, rgba(236, 72, 153, .08), transparent 45%);
}
@keyframes varredura { from { transform: translateY(0); opacity: 1; } to { transform: translateY(100vh); opacity: 0; } }
.hero h1 { max-width: 16ch; }
.hero .lead { font-size: 1.2rem; }
.hero .acoes { margin-top: 2.2rem; }

/* Problema */
.problemas { display: grid; gap: 1px; background: var(--linha); margin-top: 2.5rem; border: 1px solid var(--linha); border-radius: 16px; overflow: hidden; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); }
.problemas article { background: var(--cinza); padding: 1.6rem; }
.problemas h3 { margin-bottom: .5rem; }
.cena { margin-top: 2.5rem; border-left: 3px solid var(--rosa); padding: .4rem 0 .4rem 1.4rem; max-width: 56ch; color: var(--branco); font: 600 1.25rem/1.5 var(--titulo); }
.cena span { display: block; color: var(--texto); font: 400 1rem var(--corpo); margin-top: .5rem; }

/* Solução */
.passos { list-style: none; counter-reset: p; margin-top: 2.5rem; display: grid; gap: 1.2rem; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); }
.passos li { counter-increment: p; border-top: 1px solid var(--roxo); padding-top: 1rem; }
.passos li::before { content: counter(p, decimal-leading-zero); display: block; font: 700 .9rem var(--titulo); color: var(--rosa); margin-bottom: .4rem; }
.passos h3 { margin-bottom: .4rem; }

/* Diferenciais */
.difs { margin-top: 2.5rem; display: grid; gap: 1.2rem; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); }
.difs article { background: var(--cinza); border: 1px solid var(--linha); border-radius: 16px; padding: 1.6rem; }
.difs h3 { color: var(--rosa); margin-bottom: .5rem; }

/* Prova */
.prova { margin-top: 2.5rem; display: grid; gap: 2rem; grid-template-columns: 1fr 1.4fr; align-items: center; }
.numero { font: 800 clamp(4rem, 12vw, 8rem)/1 var(--titulo); }
.numero small { -webkit-text-fill-color: var(--texto); display: block; font: 400 1rem var(--corpo); color: var(--texto); text-shadow: none; margin-top: .6rem; }
.prova blockquote { color: var(--branco); font: 600 1.3rem/1.5 var(--titulo); }
.prova cite { display: block; font: 400 .95rem var(--corpo); color: var(--texto); margin-top: .8rem; font-style: normal; }

/* Planos */
.planos { margin-top: 2.5rem; display: grid; gap: 1.2rem; grid-template-columns: repeat(auto-fit, minmax(270px, 1fr)); align-items: stretch; }
.plano { background: var(--cinza); border: 1px solid var(--linha); border-radius: 16px; padding: 1.8rem; display: flex; flex-direction: column; }
.plano.destaque { border-color: var(--roxo); box-shadow: 0 0 36px rgba(168, 85, 247, .14); }
.plano .tag { color: var(--rosa); font: 600 .85rem var(--titulo); margin-bottom: .6rem; }
.preco { font: 800 2.3rem var(--titulo); color: var(--branco); margin: .8rem 0 .2rem; }
.preco small { font: 400 .9rem var(--corpo); color: var(--texto); }
.plano ul { list-style: none; margin: 1.3rem 0 1.8rem; flex: 1; }
.plano li { padding: .45rem 0 .45rem 1.5rem; position: relative; border-bottom: 1px solid var(--linha); font-size: .98rem; }
.plano li::before { content: "✓"; position: absolute; left: 0; color: var(--rosa); }
.plano li.nao::before { content: "✕"; color: #6b7378; }
.garantia { margin-top: 2rem; border: 1px solid var(--linha); padding: 1.2rem 1.5rem; border-radius: 16px; color: var(--branco); }

/* FAQ */
.faq { margin-top: 2.5rem; max-width: 760px; }
details { border-bottom: 1px solid var(--linha); padding: 1.2rem 0; }
summary { cursor: pointer; list-style: none; color: var(--branco); font: 600 1.1rem var(--titulo); display: flex; justify-content: space-between; gap: 1rem; }
summary::-webkit-details-marker { display: none; }
summary::after { content: "+"; color: var(--rosa); font-size: 1.4rem; line-height: 1; transition: transform .2s; }
details[open] summary::after { transform: rotate(45deg); }
details p { margin-top: .8rem; }

/* CTA final */
.final { text-align: center; }
.final h2 { margin-inline: auto; max-width: 20ch; }
.final .lead { margin-inline: auto; }
.final .acoes { margin-top: 2rem; }

footer { border-top: 1px solid var(--linha); padding: 2rem 0; font-size: .9rem; }
footer .wrap { display: flex; flex-wrap: wrap; gap: 1rem 2rem; justify-content: space-between; }
footer a:hover { color: var(--rosa); }


/* Portfólio (seção nova; mesma paleta e cantos 16px do restante da página) */
.portfolio { margin-top: 2.5rem; display: grid; gap: 1.6rem; grid-template-columns: repeat(auto-fit, minmax(320px, 1fr)); }
.site { background: var(--cinza); border: 1px solid var(--linha); border-radius: 16px; overflow: hidden; display: flex; flex-direction: column; transition: transform .3s, border-color .3s; }
.site:hover { transform: translateY(-4px); border-color: var(--roxo); }
.moldura { border-bottom: 1px solid var(--linha); background: #050505; }
.barra { display: flex; align-items: center; gap: .4rem; padding: .7rem 1rem; border-bottom: 1px solid var(--linha); font-size: .8rem; }
.barra i { width: 9px; height: 9px; border-radius: 50%; background: var(--linha); }
.barra span { margin-left: .6rem; color: var(--texto); }
.tela { display: block; width: 100%; min-height: 210px; padding: 1.6rem; background: radial-gradient(circle at 80% 10%, rgba(168, 85, 247, .22), transparent 55%), var(--cinza); object-fit: cover; }
.tela b { display: block; height: 12px; border-radius: 6px; background: var(--linha); margin-bottom: .8rem; }
.tela b:nth-child(1) { width: 70%; height: 20px; background: var(--grad); opacity: .8; }
.tela b:nth-child(2) { width: 90%; }
.tela b:nth-child(3) { width: 40%; }
.site-info { padding: 1.6rem; display: flex; flex-direction: column; flex: 1; }
.site-info .tag { color: var(--rosa); font: 600 .85rem var(--titulo); margin-bottom: .5rem; }
.site-info h3 { margin-bottom: .5rem; }
.metricas { list-style: none; display: flex; flex-wrap: wrap; gap: .6rem; margin: 1rem 0 1.2rem; flex: 1; align-content: flex-start; }
.metricas li { border: 1px solid var(--linha); border-radius: 999px; padding: .25rem .8rem; font-size: .85rem; color: var(--branco); }
.site-info .link { color: var(--branco); font: 600 .95rem var(--titulo); }
.site-info .link:hover { color: var(--rosa); }

/* Fade ao rolar: só ativa se o JS estiver rodando (sem JS, tudo fica visível) */
.js .fade { opacity: 0; transform: translateY(24px); transition: opacity .8s ease, transform .8s ease; transition-delay: var(--d, 0s); }
.js .fade.visivel { opacity: 1; transform: none; }

@media (max-width: 760px) {
  .prova { grid-template-columns: 1fr; }
  .topo .btn { display: none; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .hero::before { animation: none; opacity: 0; }
  .btn, summary::after, .site { transition: none; }
  .js .fade { opacity: 1; transform: none; transition: none; }
}
