/* Gregor Security — landing page */

@font-face {
  font-family: "Archivo";
  src: url("../fonts/archivo.woff2") format("woff2");
  font-weight: 100 900;
  font-stretch: 62% 125%;
  font-display: swap;
}

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

:root {
  --noite: #060A1A;
  --noite-2: #0E1430;
  --noite-3: #19204A;
  --linha: #262E5E;
  --branco: #FFFFFF;
  --nevoa: #B4BCE0;
  --violeta: #7B5CFF;
  --violeta-fundo: #6C4DF2;   /* fundo com texto branco: contraste 5,3:1 */
  --violeta-claro: #B5A4FF;
  --lima: #C8F560;
  --claro: #F4F3FA;
  --tinta: #0B1030;
  --tinta-suave: #4B5178;
  --linha-clara: #D9D8EA;
  --perigo: #FF8A8A;
  --alerta: #FFB648;
  --fonte: "Archivo", "Segoe UI", system-ui, sans-serif;
}

html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; scroll-padding-top: 5rem; }

body {
  margin: 0;
  background: var(--noite);
  color: var(--branco);
  font-family: var(--fonte);
  font-size: 1.0625rem;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

h1, h2, h3, p, ul, ol, dl, dd { margin: 0; }
ul, ol { padding: 0; list-style: none; }
a { color: inherit; }
svg { display: block; }
img { max-width: 100%; }
button { font: inherit; }
[hidden] { display: none !important; }

:focus-visible { outline: 3px solid var(--lima); outline-offset: 3px; border-radius: 6px; }

.wrap { width: min(100% - 2.5rem, 74rem); margin-inline: auto; }

.pular {
  position: absolute; left: 1rem; top: -4rem; z-index: 60;
  padding: 0.7rem 1rem; border-radius: 8px; background: var(--lima); color: var(--noite); font-weight: 700;
}
.pular:focus { top: 1rem; }

.titulo {
  font-stretch: 112%;
  font-weight: 800;
  font-size: clamp(2rem, 4.2vw, 3.4rem);
  line-height: 1.04;
  letter-spacing: -0.025em;
  text-wrap: balance;
}
.subtitulo { margin-top: 1.1rem; max-width: 58ch; font-size: 1.125rem; color: var(--nevoa); }
.sobretitulo { font-size: 0.875rem; font-weight: 700; letter-spacing: 0.06em; text-transform: uppercase; color: var(--lima); }

.secao { padding-block: clamp(4rem, 9vw, 7rem); }
.centro { text-align: center; }
.centro .titulo, .centro .subtitulo { margin-inline: auto; }
.centro .titulo { max-width: 20ch; }

.link {
  padding: 0; border: 0; background: none; color: inherit; cursor: pointer;
  text-decoration: underline; text-underline-offset: 0.2em;
}

/* ---------- Botões ---------- */

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.6rem;
  padding: 1rem 1.6rem;
  border: 0;
  border-radius: 10px;
  background: var(--lima);
  color: var(--noite);
  font-weight: 800;
  font-size: 1rem;
  line-height: 1.2;
  text-align: center;
  text-decoration: none;
  cursor: pointer;
  transition: transform 0.15s ease, box-shadow 0.15s ease;
}
.btn:hover { transform: translateY(-2px); box-shadow: 0 10px 30px -8px rgb(200 245 96 / 0.55); }
.btn:disabled { cursor: progress; opacity: 0.8; transform: none; box-shadow: none; }
.btn svg { width: 1.2em; height: 1.2em; flex: none; }
.btn-pequeno { padding: 0.7rem 1.15rem; font-size: 0.9375rem; white-space: nowrap; }
.btn-bloco { width: 100%; }

.girando {
  width: 1em; height: 1em; border-radius: 50%;
  border: 2px solid currentColor; border-right-color: transparent;
  animation: girar 0.7s linear infinite;
}
@keyframes girar { to { transform: rotate(360deg); } }

/* ---------- Faixa de incidente + topo ---------- */

.faixa { background: var(--violeta-fundo); font-size: 0.9375rem; font-weight: 600; }
.faixa .wrap { display: flex; justify-content: center; flex-wrap: wrap; gap: 0.25rem 0.75rem; padding-block: 0.55rem; text-align: center; }
.faixa button {
  padding: 0.6rem 0; margin-block: -0.6rem; border: 0; background: none; color: inherit; font-weight: 700; cursor: pointer;
  text-decoration: underline; text-underline-offset: 0.25em;
}

.topo { position: sticky; top: 0; z-index: 20; background: rgb(6 10 26 / 0.9); backdrop-filter: blur(10px); border-bottom: 1px solid var(--linha); }
.topo-linha { display: flex; align-items: center; justify-content: space-between; gap: 1.5rem; padding-block: 0.8rem; }
.marca { display: inline-flex; align-items: center; gap: 0.6rem; font-stretch: 112%; font-weight: 800; font-size: 1.25rem; letter-spacing: -0.02em; text-decoration: none; white-space: nowrap; }
.marca svg { width: 1.8rem; height: 1.8rem; }
.nav { display: flex; gap: 1.6rem; }
.nav a { text-decoration: none; font-size: 0.9688rem; font-weight: 500; color: var(--nevoa); }
.nav a:hover { color: var(--branco); }

/* ---------- Hero ---------- */

.hero {
  position: relative;
  overflow: hidden;
  padding-block: clamp(2.25rem, 4.5vw, 3.75rem) clamp(3rem, 6vw, 5rem);
  background:
    radial-gradient(60rem 34rem at 82% 8%, rgb(123 92 255 / 0.38), transparent 62%),
    radial-gradient(40rem 26rem at 5% 100%, rgb(200 245 96 / 0.10), transparent 60%),
    var(--noite);
}
.hero-grade { display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, 0.9fr); gap: clamp(2rem, 5vw, 4.5rem); align-items: center; }
.hero h1 {
  margin-top: 1rem;
  font-stretch: 114%;
  font-weight: 800;
  font-size: clamp(2.3rem, 4.4vw, 3.6rem);
  line-height: 1.02;
  letter-spacing: -0.03em;
}
.hero h1 span { display: block; }
.hero h1 .l3 { margin-top: 0.15em; color: var(--lima); }
.hero-sub { margin-top: 1.4rem; max-width: 50ch; font-size: clamp(1.0625rem, 1.5vw, 1.2rem); color: var(--nevoa); }

.hero-lista { margin-top: 1.5rem; display: grid; gap: 0.6rem; }
.hero-lista li { display: flex; gap: 0.65rem; align-items: flex-start; font-weight: 600; }
.hero-lista svg { width: 1.3rem; height: 1.3rem; flex: none; margin-top: 0.15rem; color: var(--lima); }

/* no desktop o formulário está ao lado; no celular ele fica uma tela abaixo */
.hero-cta { display: none; margin-top: 1.75rem; }

.hero-equipe {
  margin-top: 2rem; display: inline-flex; align-items: center; gap: 0.9rem;
  max-width: 34rem; text-decoration: none; font-size: 0.9375rem; line-height: 1.45; color: var(--nevoa);
}
.hero-equipe b { color: var(--branco); }
.hero-equipe u { color: var(--branco); text-underline-offset: 0.2em; }
.hero-equipe:hover u { color: var(--lima); }

.avatares { display: inline-flex; flex: none; }
.avatares img {
  width: 3rem; height: 3rem; border-radius: 50%; object-fit: cover;
  border: 2px solid var(--noite); background: var(--noite-2);
}
.avatares img + img { margin-left: -0.8rem; }

/* ---------- Formulário ---------- */

.cartao-form {
  position: relative;
  background: #FFFFFF;
  color: var(--tinta);
  border-radius: 20px;
  padding: clamp(1.4rem, 2.6vw, 2rem);
  box-shadow: 0 40px 90px -40px rgb(123 92 255 / 0.9), 0 0 0 1px rgb(255 255 255 / 0.06);
}
.cartao-form.destaque { animation: destacar 1.2s ease; }
@keyframes destacar {
  0%, 100% { box-shadow: 0 40px 90px -40px rgb(123 92 255 / 0.9), 0 0 0 1px rgb(255 255 255 / 0.06); }
  30% { box-shadow: 0 40px 90px -40px rgb(123 92 255 / 0.9), 0 0 0 5px var(--lima); }
}

.form-cabeca { margin-bottom: 1.1rem; }
.form-titulo { font-stretch: 112%; font-weight: 800; font-size: 1.45rem; line-height: 1.15; letter-spacing: -0.015em; }
.form-sub { margin-top: 0.45rem; font-size: 0.9688rem; line-height: 1.45; color: var(--tinta-suave); }

.form { display: grid; gap: 0.85rem; }
.form-linha { display: grid; grid-template-columns: 1fr 1fr; gap: 0.85rem; }

.campo { display: grid; gap: 0.35rem; }
.campo-rotulo { font-size: 0.875rem; font-weight: 700; }
.campo input, .campo select, .campo textarea {
  width: 100%;
  min-height: 3rem;
  padding: 0.7rem 0.85rem;
  border: 1.5px solid var(--linha-clara);
  border-radius: 10px;
  background: #FAFAFE;
  color: var(--tinta);
  font: inherit;
  font-size: 1rem;
  transition: border-color 0.15s ease, box-shadow 0.15s ease;
}
.campo textarea { min-height: 5.5rem; resize: vertical; }
.campo select {
  appearance: none;
  padding-right: 2.4rem;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%234B5178' stroke-width='2.4' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 0.8rem center;
  background-size: 1.1rem;
}
.campo select:invalid, .campo select option[value=""] { color: #7C80A0; }
.campo select option { color: var(--tinta); }
.campo input::placeholder, .campo textarea::placeholder { color: #8A8EAD; }
.campo input:focus, .campo select:focus, .campo textarea:focus {
  outline: none; border-color: var(--violeta); box-shadow: 0 0 0 3px rgb(123 92 255 / 0.22); background: #FFFFFF;
}
.campo-erro { display: none; font-size: 0.8125rem; font-weight: 600; color: #C2412D; }
.campo.invalido input, .campo.invalido select, .campo.invalido textarea { border-color: #C2412D; }
.campo.invalido .campo-erro { display: block; }

.form .btn { margin-top: 0.35rem; font-size: 1.0625rem; padding-block: 1.05rem; }
.form-legal { display: flex; gap: 0.5rem; align-items: flex-start; font-size: 0.8125rem; line-height: 1.4; color: var(--tinta-suave); }
.form-legal svg { width: 1rem; height: 1rem; flex: none; margin-top: 0.1rem; }
.form-legal a { color: inherit; text-underline-offset: 0.15em; }
.form-status:empty { display: none; }
.form-status { font-size: 0.9375rem; font-weight: 600; }
.form-status.is-erro { color: #C2412D; }
.form-status.is-ok { color: #157A52; }

/* ---------- Números com fonte ---------- */

.numeros { border-block: 1px solid var(--linha); background: var(--noite-2); padding-block: clamp(2.5rem, 5vw, 3.5rem); }
.numeros-t { font-stretch: 112%; font-weight: 800; font-size: clamp(1.35rem, 2.4vw, 1.75rem); line-height: 1.15; letter-spacing: -0.015em; }
.numeros-lista { margin-top: 1.75rem; display: grid; grid-template-columns: repeat(4, 1fr); gap: 1.5rem 2rem; }
.numeros-lista li { display: flex; flex-direction: column; padding-left: 1.1rem; border-left: 2px solid var(--violeta); }
.numeros-lista strong { font-stretch: 112%; font-weight: 800; font-size: clamp(2.2rem, 3.8vw, 3rem); line-height: 1; color: var(--lima); font-variant-numeric: tabular-nums; }
.numeros-lista p { margin-top: 0.6rem; font-size: 0.9688rem; line-height: 1.45; }
.numeros-lista small { margin-top: auto; padding-top: 0.6rem; font-size: 0.8125rem; color: var(--nevoa); }

/* ---------- Seções claras ---------- */

.clara { background: var(--claro); color: var(--tinta); }
.clara .subtitulo { color: var(--tinta-suave); }
.clara :focus-visible { outline-color: var(--violeta); }

/* ---------- Teste das 5 perguntas ---------- */

.teste { margin-top: clamp(2rem, 4vw, 3rem); display: grid; gap: 0.75rem; counter-reset: pergunta; }
.teste li {
  counter-increment: pergunta;
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 1rem 1.25rem;
  padding: 1.1rem 1.4rem;
  background: #FFFFFF;
  border: 1px solid var(--linha-clara);
  border-radius: 14px;
}
.teste li::before { content: counter(pergunta); font-stretch: 112%; font-weight: 800; font-size: 1.5rem; color: var(--violeta); width: 1.4rem; }
.teste p { font-weight: 600; font-size: 1.0625rem; line-height: 1.35; }
.opcoes { display: flex; gap: 0.5rem; }
.opcoes button {
  min-height: 2.75rem;
  font-weight: 700; font-size: 0.9375rem;
  padding: 0.55rem 1.1rem; border-radius: 99px; cursor: pointer;
  background: transparent; color: var(--tinta); border: 2px solid var(--linha-clara);
  transition: background 0.15s ease, border-color 0.15s ease, color 0.15s ease;
}
.opcoes button:hover { border-color: var(--tinta-suave); }
.opcoes button[aria-pressed="true"][data-valor="sei"] { background: #157A52; border-color: #157A52; color: #FFFFFF; }
.opcoes button[aria-pressed="true"][data-valor="nao"] { background: #C2412D; border-color: #C2412D; color: #FFFFFF; }

.resultado {
  margin-top: 1.25rem;
  display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 1.25rem 2rem;
  padding: clamp(1.4rem, 3vw, 2rem);
  border-radius: 18px;
  background: var(--noite); color: var(--branco);
}
.resultado strong { display: block; font-stretch: 112%; font-weight: 800; font-size: clamp(1.3rem, 2.4vw, 1.75rem); line-height: 1.15; }
.resultado span { display: block; margin-top: 0.4rem; color: var(--nevoa); max-width: 46ch; }

/* ---------- Três motivos ---------- */

.motivos { margin-top: clamp(2.5rem, 5vw, 3.5rem); display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.25rem; text-align: left; }
.motivo { background: var(--noite-2); border: 1px solid var(--linha); border-radius: 18px; padding: clamp(1.4rem, 2.5vw, 2rem); }
.motivo svg { width: 2.4rem; height: 2.4rem; color: var(--perigo); }
.motivo h3 { margin-top: 1.25rem; font-stretch: 112%; font-weight: 800; font-size: 1.45rem; line-height: 1.14; letter-spacing: -0.02em; }
.motivo p { margin-top: 0.75rem; color: var(--nevoa); }

/* ---------- LGPD ---------- */

.lgpd { margin-top: clamp(2.5rem, 5vw, 3.5rem); display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.25rem; }
.lgpd li { background: #FFFFFF; border: 1px solid var(--linha-clara); border-radius: 18px; padding: clamp(1.4rem, 2.5vw, 2rem); }
.lgpd b { display: inline-block; padding: 0.25rem 0.7rem; border-radius: 99px; background: var(--violeta-fundo); color: #FFFFFF; font-size: 0.875rem; }
.lgpd h3 { margin-top: 1rem; font-stretch: 112%; font-weight: 800; font-size: 1.3rem; line-height: 1.18; }
.lgpd p { margin-top: 0.6rem; color: var(--tinta-suave); }
.nota-legal { margin-top: 1.5rem; font-size: 0.9375rem; color: var(--tinta-suave); max-width: 75ch; }

/* ---------- O relatório ---------- */

.relatorio-grade { margin-top: clamp(2.5rem, 5vw, 3.5rem); display: grid; grid-template-columns: minmax(0, 0.95fr) minmax(0, 1.05fr); gap: clamp(2rem, 5vw, 4rem); align-items: start; }

.painel {
  background: linear-gradient(180deg, var(--noite-3), var(--noite-2));
  border: 1px solid var(--linha);
  border-radius: 18px;
  padding: clamp(1.1rem, 2vw, 1.6rem);
  box-shadow: 0 40px 90px -40px rgb(123 92 255 / 0.75);
}
.painel-topo { display: flex; justify-content: space-between; align-items: baseline; gap: 1rem; font-size: 0.875rem; color: var(--nevoa); }
.painel-topo strong { color: var(--branco); font-size: 1rem; }
.painel-numeros { margin-top: 1.1rem; display: grid; grid-template-columns: repeat(3, 1fr); gap: 0.75rem; }
.painel-numeros div { background: rgb(6 10 26 / 0.55); border-radius: 12px; padding: 0.9rem; }
.painel-numeros dt { font-size: 0.8125rem; color: var(--nevoa); line-height: 1.3; }
.painel-numeros dd { margin-top: 0.3rem; font-stretch: 112%; font-weight: 800; font-size: clamp(1.6rem, 3vw, 2.2rem); line-height: 1; font-variant-numeric: tabular-nums; }
.n-critica { color: var(--perigo); }
.n-alta { color: var(--alerta); }
.painel-lista { margin-top: 1.25rem; border-top: 1px solid var(--linha); }
.painel-lista li { display: flex; justify-content: space-between; align-items: center; gap: 1rem; padding-block: 0.75rem; border-bottom: 1px solid var(--linha); font-size: 0.9375rem; line-height: 1.35; }
.painel-lista li:last-child { border-bottom: 0; padding-bottom: 0; }
.selo { flex: none; padding: 0.2rem 0.65rem; border-radius: 99px; font-size: 0.8125rem; font-weight: 700; }
.selo-critica { background: rgb(255 107 107 / 0.18); color: var(--perigo); }
.selo-alta { background: rgb(255 176 72 / 0.18); color: var(--alerta); }
.selo-media { background: rgb(180 188 224 / 0.16); color: var(--nevoa); }
.painel-rodape { margin-top: 0.9rem; font-size: 0.8125rem; color: var(--nevoa); }

.itens { display: grid; grid-template-columns: 1fr 1fr; gap: 0 clamp(1.25rem, 3vw, 2.25rem); }
.itens li { padding-block: 1.25rem; border-top: 1px solid var(--linha); }
.itens h3 { display: flex; gap: 0.6rem; align-items: flex-start; font-stretch: 112%; font-weight: 800; font-size: 1.125rem; line-height: 1.2; }
.itens h3 svg { width: 1.3rem; height: 1.3rem; flex: none; color: var(--lima); margin-top: 0.02rem; }
.itens p { margin-top: 0.5rem; color: var(--nevoa); font-size: 0.9688rem; }

.cta-linha { margin-top: clamp(2.5rem, 5vw, 3.5rem); display: flex; flex-wrap: wrap; align-items: center; gap: 0.75rem 1.25rem; }
.cta-linha span { color: var(--nevoa); font-size: 0.9375rem; }
.centro .cta-linha { justify-content: center; }
.numeros .cta-linha { margin-top: clamp(1.75rem, 4vw, 2.5rem); }
/* no fundo claro o botão lima some; vai escuro, com o texto lima */
.clara .cta-linha .btn { background: var(--noite); color: var(--lima); }
.clara .cta-linha .btn:hover { box-shadow: 0 10px 30px -8px rgb(6 10 26 / 0.45); }
.clara .cta-linha span { color: var(--tinta-suave); }
.cor .cta-linha span { color: #F1EEFF; }

/* ---------- Como funciona ---------- */

.cor { background: var(--violeta-fundo); }
.cor .subtitulo { color: #F1EEFF; }
.passos { margin-top: clamp(2.5rem, 5vw, 3.5rem); display: grid; grid-template-columns: repeat(4, 1fr); gap: 1.25rem; counter-reset: passo; }
.passos li { counter-increment: passo; background: rgb(6 10 26 / 0.22); border-radius: 18px; padding: 1.5rem; }
.passos li::before { content: counter(passo); display: grid; place-items: center; width: 2.6rem; height: 2.6rem; border-radius: 50%; background: var(--lima); color: var(--noite); font-weight: 800; font-size: 1.25rem; }
.passos h3 { margin-top: 1.1rem; font-stretch: 112%; font-weight: 800; font-size: 1.25rem; line-height: 1.2; }
.passos p { margin-top: 0.5rem; color: #F1EEFF; font-size: 1rem; }

/* ---------- Quem somos ---------- */

.equipe { margin-top: clamp(2.5rem, 5vw, 3.5rem); display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 1.5rem; }
.pessoa {
  padding: clamp(1.5rem, 3vw, 2.25rem);
  border-radius: 20px;
  background: linear-gradient(180deg, var(--noite-3), var(--noite-2));
  border: 1px solid var(--linha);
  box-shadow: 0 50px 100px -60px rgb(123 92 255 / 0.7);
}
.pessoa-topo { display: flex; align-items: center; gap: 1.25rem; }
.foto {
  flex: none;
  width: 7rem; height: 7rem;
  border-radius: 50%;
  object-fit: cover;
  border: 3px solid var(--lima);
  background: var(--noite-2);
}
.pessoa h3 { font-stretch: 112%; font-size: clamp(1.5rem, 2.4vw, 1.9rem); font-weight: 800; line-height: 1.05; letter-spacing: -0.02em; }
.pessoa .frente { margin-top: 0.35rem; font-weight: 600; color: var(--violeta-claro); }
.pessoa .bio { margin-top: 1.25rem; color: var(--nevoa); }
.pessoa .bio b { color: var(--branco); font-weight: 600; }
.credenciais { margin-top: 1.1rem; border-top: 1px solid var(--linha); }
.credenciais li { display: grid; grid-template-columns: 1.5rem 1fr; gap: 0.75rem; align-items: center; padding-block: 0.7rem; border-bottom: 1px solid var(--linha); line-height: 1.35; }
.credenciais li:last-child { border-bottom: 0; padding-bottom: 0; }
.credenciais svg { width: 1.3rem; height: 1.3rem; color: var(--lima); }

/* ---------- Quem corrige ---------- */

.correcao { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.25fr); gap: clamp(2rem, 5vw, 4.5rem); align-items: center; }
.caminhos { display: grid; gap: 1rem; }
.caminho { background: #FFFFFF; border: 1px solid var(--linha-clara); border-radius: 18px; padding: 1.5rem; }
.caminho h3 { font-stretch: 112%; font-weight: 800; font-size: 1.2rem; }
.caminho p { margin-top: 0.4rem; color: var(--tinta-suave); }
.caminho-gregor { background: var(--noite); color: var(--branco); border-color: var(--noite); }
.caminho-gregor p { color: var(--nevoa); }

.outros { margin-top: 2.5rem; padding-top: 2rem; border-top: 1px solid var(--linha-clara); }
.outros p { font-weight: 700; }
.outros ul { margin-top: 0.9rem; display: flex; flex-wrap: wrap; gap: 0.5rem; }
.outros li { padding: 0.4rem 0.9rem; border-radius: 99px; border: 1px solid var(--linha-clara); background: #FFFFFF; font-size: 0.9375rem; font-weight: 600; }

/* ---------- Dúvidas ---------- */

.faq-grade { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.6fr); gap: clamp(2rem, 5vw, 5rem); align-items: start; }
.faq-grade .subtitulo .link { color: var(--lima); font-weight: 600; }
.faq details { border-top: 1px solid var(--linha); }
.faq details:last-child { border-bottom: 1px solid var(--linha); }
.faq summary { display: flex; justify-content: space-between; align-items: center; gap: 1.5rem; padding-block: 1.25rem; font-weight: 700; font-size: 1.125rem; line-height: 1.3; cursor: pointer; list-style: none; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; flex: none; font-size: 1.7rem; font-weight: 400; line-height: 1; color: var(--lima); transition: transform 0.2s ease; }
.faq details[open] summary::after { transform: rotate(45deg); }
.faq details p { padding-bottom: 1.4rem; max-width: 62ch; color: var(--nevoa); }

/* ---------- Chamada final ---------- */

.final {
  padding-block: clamp(4rem, 9vw, 7rem);
  background: radial-gradient(50rem 26rem at 20% 0%, rgb(123 92 255 / 0.5), transparent 65%), var(--noite-2);
  border-top: 1px solid var(--linha);
}
.final-grade { display: grid; grid-template-columns: minmax(0, 1.05fr) minmax(0, 0.95fr); gap: clamp(2rem, 5vw, 4.5rem); align-items: center; }
.final .titulo { font-size: clamp(2.1rem, 4.6vw, 3.6rem); max-width: 17ch; }
.depois { margin-top: 2rem; display: grid; gap: 1rem; counter-reset: depois; }
.depois li { counter-increment: depois; display: grid; grid-template-columns: 2.2rem 1fr; gap: 0.85rem; align-items: center; color: var(--nevoa); line-height: 1.45; }
.depois li::before { content: counter(depois); display: grid; place-items: center; width: 2.2rem; height: 2.2rem; border-radius: 50%; background: rgb(200 245 96 / 0.14); color: var(--lima); font-weight: 800; }
.depois b { color: var(--branco); }
.final-equipe { margin-top: 2rem; display: flex; align-items: center; gap: 0.9rem; color: var(--nevoa); font-size: 0.9375rem; line-height: 1.45; max-width: 30rem; }

/* ---------- Rodapé ---------- */

.rodape { padding-block: 2.25rem 6rem; font-size: 0.9375rem; color: var(--nevoa); border-top: 1px solid var(--linha); }
.rodape .wrap { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 1rem 2rem; }
.rodape-marca { display: grid; gap: 0.15rem; }
.rodape-marca strong { color: var(--branco); font-stretch: 112%; font-size: 1.05rem; }
.rodape-links { display: flex; flex-wrap: wrap; gap: 0.5rem 1.5rem; }
.rodape-links a, .rodape-links .link { display: inline-block; padding-block: 0.6rem; text-decoration: none; color: var(--nevoa); }
.rodape-links a:hover, .rodape-links .link:hover { color: var(--branco); text-decoration: underline; }
.rodape-copy { width: 100%; font-size: 0.875rem; }

/* ---------- Contato flutuante ---------- */

.contato-flutuante { position: fixed; right: 1.1rem; bottom: 1.1rem; z-index: 40; display: flex; flex-direction: column; align-items: flex-end; gap: 0.75rem; }
.contato-botao {
  position: relative;
  display: grid; place-items: center;
  width: 3.75rem; height: 3.75rem; padding: 0;
  border: 0; border-radius: 50%; cursor: pointer;
  background: var(--lima); color: var(--noite);
  box-shadow: 0 10px 30px rgb(0 0 0 / 0.45);
  opacity: 0; pointer-events: none; transform: translateY(8px);
  transition: opacity 0.25s ease, transform 0.25s ease;
}
.contato-botao svg { width: 1.65rem; height: 1.65rem; }
/* o rótulo vira dica ao lado do botão: o botão redondo não cobre o conteúdo da página */
.contato-botao span {
  position: absolute; right: calc(100% + 0.7rem); top: 50%;
  padding: 0.55rem 0.9rem; border-radius: 10px;
  background: var(--noite-3); color: var(--branco); border: 1px solid var(--linha);
  font-weight: 700; font-size: 0.9375rem; white-space: nowrap;
  opacity: 0; transform: translate(6px, -50%); pointer-events: none;
  transition: opacity 0.2s ease, transform 0.2s ease;
}
.contato-botao:hover span, .contato-botao:focus-visible span { opacity: 1; transform: translate(0, -50%); }
.contato-flutuante.aberto .contato-botao span { display: none; }
.contato-flutuante.visivel .contato-botao,
.contato-flutuante.aberto .contato-botao { opacity: 1; pointer-events: auto; transform: none; }

.contato-painel {
  width: min(23rem, calc(100vw - 2.2rem));
  max-height: calc(100vh - 7rem);
  overflow: auto;
  padding: 1.25rem;
  border-radius: 18px;
  background: #FFFFFF; color: var(--tinta);
  box-shadow: 0 30px 70px -20px rgb(0 0 0 / 0.6);
}
.contato-cabeca { display: flex; justify-content: space-between; align-items: center; gap: 1rem; }
.contato-t { font-stretch: 112%; font-weight: 800; font-size: 1.25rem; }
.contato-x, .modal-x {
  display: grid; place-items: center; width: 2.4rem; height: 2.4rem; flex: none;
  border: 0; border-radius: 50%; background: var(--claro); color: var(--tinta); cursor: pointer;
}
.contato-x svg, .modal-x svg { width: 1.1rem; height: 1.1rem; }
.contato-s { margin: 0.35rem 0 1rem; font-size: 0.9375rem; color: var(--tinta-suave); line-height: 1.45; }
.contato-painel :focus-visible, .cartao-form :focus-visible, .modal-caixa :focus-visible { outline-color: var(--violeta); }

/* ---------- Popup de saída ---------- */

.modal { position: fixed; inset: 0; z-index: 70; display: grid; place-items: center; padding: 1.25rem; }
.modal[hidden] { display: none; }
.modal-veu { position: absolute; inset: 0; background: rgb(6 10 26 / 0.75); backdrop-filter: blur(4px); }
.modal-caixa {
  position: relative;
  width: min(32rem, 100%);
  max-height: calc(100vh - 2.5rem);
  overflow: auto;
  padding: clamp(1.5rem, 3vw, 2.25rem);
  border-radius: 20px;
  background: #FFFFFF; color: var(--tinta);
  box-shadow: 0 40px 90px -30px rgb(123 92 255 / 0.9);
  animation: surgir 0.3s ease;
}
.modal-caixa .sobretitulo { color: var(--violeta-fundo); }
.modal-x { position: absolute; top: 1rem; right: 1rem; }
.modal-t { margin-top: 0.6rem; padding-right: 2.5rem; font-stretch: 112%; font-weight: 800; font-size: clamp(1.5rem, 3vw, 1.9rem); line-height: 1.12; letter-spacing: -0.02em; }
.modal-s { margin: 0.75rem 0 1.25rem; color: var(--tinta-suave); line-height: 1.5; }
@keyframes surgir { from { opacity: 0; transform: translateY(12px) scale(0.98); } }

/* ---------- Responsivo ---------- */

@media (max-width: 62rem) {
  .nav { display: none; }
  .hero-cta { display: inline-flex; }
  .hero-grade, .relatorio-grade, .final-grade, .faq-grade, .correcao { grid-template-columns: 1fr; }
  .numeros-lista { grid-template-columns: 1fr 1fr; }
  .motivos, .lgpd, .equipe { grid-template-columns: 1fr; }
  .passos { grid-template-columns: 1fr 1fr; }
  .cartao-form { max-width: 36rem; }
}

@media (max-width: 40rem) {
  body { font-size: 1rem; }
  .marca { font-size: 1.0625rem; gap: 0.45rem; }
  .marca svg { width: 1.55rem; height: 1.55rem; }
  .topo-linha { gap: 0.75rem; }
  .btn-pequeno { padding: 0.65rem 0.9rem; font-size: 0.875rem; }
  .faixa { font-size: 0.875rem; }
  .hero h1 { font-size: clamp(2.05rem, 9vw, 2.6rem); }
  .hero-equipe { margin-top: 1.5rem; }
  .hero-cta { width: 100%; }
  .form-linha { grid-template-columns: 1fr; }
  .numeros-lista { grid-template-columns: 1fr; gap: 1.25rem; }
  .passos, .itens { grid-template-columns: 1fr; }
  .teste li { grid-template-columns: auto 1fr; }
  .opcoes { grid-column: 1 / -1; }
  .opcoes button { flex: 1; }
  .resultado .btn, .cta-linha .btn { width: 100%; }
  .pessoa-topo { gap: 1rem; }
  .foto { width: 5.5rem; height: 5.5rem; }
  .painel-numeros { gap: 0.5rem; }
  .painel-numeros div { padding: 0.7rem; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition: none !important; animation: none !important; }
}
