:root {
  --fundo: #0c0815; --bloco: #161026; --texto: #f3f0fb; --suave: #a9a0c0;
  --borda: #2d2347; --cor: #a78bfa; --ambar: #fbbc05;
}
* { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body { background: var(--fundo); color: var(--texto); font: 17px/1.6 system-ui, -apple-system, "Segoe UI", sans-serif; overflow-x: clip; }
/* grade de fundo com brilho no topo */
body::before {
  content: ""; position: absolute; inset: 0 0 auto; height: 900px; z-index: -1;
  background:
    radial-gradient(60% 50% at 50% 0%, rgb(167 139 250 / .18), transparent 70%),
    linear-gradient(var(--borda) 1px, transparent 1px) 0 0 / 56px 56px,
    linear-gradient(90deg, var(--borda) 1px, transparent 1px) 50% 0 / 56px 56px;
  mask-image: linear-gradient(#000 20%, transparent);
}
img { max-width: 100%; height: auto; display: block; }
a { color: inherit; text-decoration: none; }
.wrap { width: min(1120px, 100% - 40px); margin-inline: auto; }

.topo {
  position: sticky; top: 12px; z-index: 10; width: min(760px, 100% - 24px); margin: 12px auto 0;
  display: flex; justify-content: space-between; align-items: center; gap: 12px; padding: 8px 8px 8px 14px;
  background: rgb(22 16 38 / .72); backdrop-filter: blur(14px); border: 1px solid var(--borda); border-radius: 99px;
}
.marca span { display: none; }
.marca { display: flex; align-items: center; gap: 10px; font-weight: 700; white-space: nowrap; }
.marca b { color: var(--cor); }
nav a { padding-block: 8px; }
nav a[href="#sobre"] { display: none; }
nav { display: flex; align-items: center; gap: 18px; font-size: .95rem; color: var(--suave); }
nav a:hover { color: var(--texto); }
.pilula { background: var(--texto); color: var(--fundo); padding: 8px 16px; border-radius: 99px; font-weight: 600; }
nav .pilula:hover { color: var(--fundo); }

section { padding-block: 48px; scroll-margin-top: 48px; }
.abertura { text-align: center; padding-top: 56px; }
h1 { font-size: clamp(2.3rem, 7.5vw, 5.2rem); line-height: 1.05; letter-spacing: -.045em; }
h1 span { background: linear-gradient(90deg, var(--cor), #f0abfc); background-clip: text; color: transparent; }
.abertura > p { color: var(--suave); font-size: 1.2rem; max-width: 30em; margin: 24px auto 32px; }
.acoes { display: flex; flex-wrap: wrap; justify-content: center; gap: 12px; }

.botao { display: inline-block; background: var(--cor); color: #1a0b33; border: 1px solid var(--cor); padding: 11px 24px; border-radius: 99px; font-weight: 600; transition: transform .2s, box-shadow .2s; }
.botao:hover { transform: translateY(-2px); box-shadow: 0 8px 30px rgb(167 139 250 / .25); }
.vazado { background: transparent; color: var(--texto); border-color: var(--borda); }

.janela { margin-top: 40px; padding: 8px; background: var(--bloco); border: 1px solid var(--borda); border-radius: 18px; box-shadow: 0 40px 120px -40px rgb(167 139 250 / .35); }
.barra { display: flex; gap: 6px; padding: 4px 6px 10px; }
.barra i { width: 10px; height: 10px; border-radius: 50%; background: var(--borda); }
.janela img { width: 100%; border-radius: 10px; }

.titulo { margin-bottom: 32px; text-align: center; text-wrap: balance; }
.titulo small { color: var(--ambar); font-weight: 600; text-transform: uppercase; letter-spacing: .14em; }
h2 { font-size: clamp(1.8rem, 4.5vw, 3rem); line-height: 1.12; letter-spacing: -.03em; }

.bento { display: grid; grid-template-columns: minmax(0, 1fr); gap: 14px; }
.bloco { background: var(--bloco); border: 1px solid var(--borda); border-radius: 22px; padding: 22px; transition: border-color .2s; }
.bloco:hover { border-color: rgb(167 139 250 / .5); }
.bloco h3 { font-size: 1.15rem; line-height: 1.3; margin-bottom: 4px; }
.bloco p { color: var(--suave); }
.destaque { background: linear-gradient(150deg, #33205e, var(--bloco) 60%); }
.destaque h3 { margin-top: 18px; }
.destaque .botao { margin-top: 24px; }
.nome { display: flex; align-items: center; gap: 12px; font-weight: 600; }
.nome img { border-radius: 10px; }
.bloco.tela { display: flex; flex-direction: column; overflow: hidden; padding-bottom: 0; }
.tela img { margin-top: auto; border: 1px solid var(--borda); border-bottom: 0; border-radius: 12px 12px 0 0; }
.tela p { margin-bottom: 24px; }
/* funil sangra para a direita, como um recorte */
.tela:not(.celular) img { width: 140%; max-width: none; }
.celular { height: 440px; }
.celular img { width: 210px; margin-inline: auto; }
.pilha { display: grid; grid-template-columns: minmax(0, 1fr); gap: 14px; }


.chamada { text-align: center; padding: 48px 20px; border: 1px solid var(--borda); border-radius: 28px; background: radial-gradient(80% 120% at 50% 0%, rgb(167 139 250 / .2), var(--bloco) 70%); }
.chamada p { color: var(--suave); margin: 12px 0 28px; }

footer { padding-block: 28px; border-top: 1px solid var(--borda); color: var(--suave); font-size: .9rem; }

@supports (animation-timeline: view()) {
  @media (prefers-reduced-motion: no-preference) {
    .titulo, .bloco, .passos li, .chamada { animation: surgir linear both; animation-timeline: view(); animation-range: entry 0% entry 35%; }
  }
}
@keyframes surgir { from { opacity: 0; translate: 0 28px; } }


/* linha do tempo numerada */
.passos { list-style: none; display: grid; gap: 28px; margin-top: 40px; }
.passos li { position: relative; padding-left: 74px; min-height: 56px; }
.passos li:not(:last-child)::after { content: ""; position: absolute; top: 56px; left: 28px; width: 1px; height: calc(100% - 28px); background: var(--borda); }
.passos svg { position: absolute; left: 0; top: 0; z-index: 1; display: block; width: 56px; height: 56px; padding: 15px; border-radius: 50%; background: var(--fundo); border: 1px solid var(--cor); fill: none; stroke: var(--cor); stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.passos p { color: var(--suave); max-width: 18em; margin-top: 6px; text-wrap: balance; }


.botao svg { display: inline-block; width: 20px; height: 20px; margin-right: 8px; vertical-align: -4px; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }

.dores { list-style: none; display: flex; flex-wrap: wrap; justify-content: center; gap: 12px; max-width: 860px; margin-inline: auto; }
.dores li { padding: 12px 20px; border: 1px solid var(--borda); border-radius: 99px; background: var(--bloco); }

.entrar { display: block; width: fit-content; margin-top: 8px; padding-block: 8px; font-size: .9rem; color: var(--suave); text-decoration: underline; }

.faq { max-width: 720px; margin-inline: auto; }
.faq details { border-bottom: 1px solid var(--borda); }
.faq summary { cursor: pointer; padding: 18px 0; font-weight: 600; }
.faq p { color: var(--suave); padding-bottom: 18px; }

.zap { position: fixed; right: 18px; bottom: 18px; z-index: 20; display: grid; place-items: center; width: 56px; height: 56px; border-radius: 50%; background: var(--cor); color: #1a0b33; box-shadow: 0 8px 24px rgb(0 0 0 / .4); }
.zap svg { width: 30px; height: 30px; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
footer { padding-bottom: 90px; }

.pessoas { display: flex; flex-wrap: wrap; justify-content: center; gap: 48px; text-align: center; }
.pessoas figure { width: 240px; }
.foto { width: 180px; height: 180px; margin: 0 auto 16px; border-radius: 50%; border: 2px solid var(--cor); background-position: center; background-size: cover; }
.pessoas p { color: var(--suave); }

.janela img, .tela img { cursor: zoom-in; }
.zoom { margin: auto; padding: 0; border: 1px solid var(--borda); border-radius: 14px; background: var(--bloco); max-width: 96vw; max-height: 92vh; overflow: auto; }
.zoom::backdrop { background: rgb(0 0 0 / .82); }
.zoom img { max-height: 90vh; width: auto; cursor: zoom-out; }
/* telas largas: no celular, arrasta para o lado em vez de encolher */
.zoom img.larga { width: min(1440px, 94vw); min-width: 900px; max-width: none; max-height: none; }
.zoom form { position: sticky; top: 0; left: 0; height: 0; z-index: 1; }
.zoom button { position: absolute; top: 8px; right: 8px; width: 40px; height: 40px; border-radius: 50%; border: 0; background: var(--cor); color: #1a0b33; font-size: 1.1rem; cursor: pointer; }

/* telas maiores */
@media (min-width: 541px) {
  .marca span { display: inline; }
  nav a[href="#sobre"] { display: inline; }
  nav { gap: 20px; }
  .bloco { padding: 28px; }
  .bloco.tela { padding-bottom: 0; }
  .pilha { grid-template-columns: 1fr 1fr; }
}
@media (min-width: 821px) {
  section { padding-block: 72px; }
  .abertura { padding-top: 96px; }
  .janela { margin-top: 64px; }
  .bento { grid-template-columns: repeat(6, minmax(0, 1fr)); }
  .g2 { grid-column: span 2; } .g3 { grid-column: span 3; } .g4 { grid-column: span 4; }
  .chamada { padding: 64px 24px; }
  .passos { grid-template-columns: repeat(4, 1fr); gap: 0; margin-top: 56px; }
  .passos li { text-align: center; padding-inline: 16px; }
  .passos li:not(:last-child)::after { top: 28px; left: 50%; width: 100%; height: 1px; }
  .passos svg { position: relative; margin: 0 auto 18px; }
  .passos p { margin-inline: auto; }
}

/* dores: lista no celular, pílulas nas telas maiores */
.dores li { width: 100%; border-radius: 16px; text-align: center; }
@media (min-width: 541px) { .dores li { width: auto; border-radius: 99px; } }
