:root {
  --rosa: #f0396b;
  --laranja: #ffa726;
  --tinta: #131a24;
  --texto: #2b3340;
  --suave: #5b6472;
  --fundo: #fffaf8;
  --linha: #f1e4df;
  --cartao: #ffffff;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  font-family: "Manrope", system-ui, -apple-system, "Segoe UI", sans-serif;
  color: var(--texto);
  background:
    radial-gradient(ellipse 60% 460px at 20% 0, rgba(240, 57, 107, 0.10), transparent 70%) no-repeat,
    radial-gradient(ellipse 60% 460px at 85% 0, rgba(255, 167, 38, 0.13), transparent 70%) no-repeat,
    var(--fundo);
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}

a { color: var(--rosa); }
a:hover { color: #c92656; }

.container { width: 100%; max-width: 960px; margin: 0 auto; padding: 0 24px; }
.container.estreito { max-width: 720px; }

/* Topo */
.topo { padding: 20px 0; }
.topo .container { display: flex; align-items: center; justify-content: space-between; }
.topo img { height: 40px; width: auto; display: block; }
.topo-direita { display: flex; align-items: center; gap: 8px; }
.topo nav a { color: var(--suave); text-decoration: none; font-size: 14px; font-weight: 600; margin-left: 20px; }
.topo nav a:hover { color: var(--tinta); }

/* Hero */
.hero {
  text-align: center;
  padding: 56px 0 24px;
}
.hero .cta { margin-top: 80px; }
.selo {
  display: inline-block;
  font-size: 13px;
  font-weight: 700;
  color: var(--rosa);
  background: #fff;
  border: 1px solid var(--linha);
  border-radius: 999px;
  padding: 6px 14px;
  margin-bottom: 24px;
}
.hero h1 {
  font-size: clamp(28px, 5vw, 44px);
  line-height: 1.2;
  font-weight: 800;
  color: var(--tinta);
  margin: 0 auto 20px;
  max-width: 720px;
  letter-spacing: -0.02em;
}
.hero p {
  font-size: clamp(16px, 2.2vw, 19px);
  color: var(--suave);
  max-width: 600px;
  margin: 0 auto;
}

/* Chamada para testar */
.cta { margin-top: 32px; }
.botao {
  display: inline-block;
  font-family: inherit;
  border: 0;
  cursor: pointer;
  font-size: 17px;
  font-weight: 800;
  color: #fff;
  text-decoration: none;
  background: linear-gradient(135deg, var(--rosa), var(--laranja));
  border-radius: 999px;
  padding: 15px 34px;
  box-shadow: 0 10px 28px rgba(240, 57, 107, 0.28);
  transition: transform 0.15s ease, box-shadow 0.15s ease;
}
.botao:hover { color: #fff; transform: translateY(-2px); box-shadow: 0 14px 32px rgba(240, 57, 107, 0.34); }
.cta .cta-nota { font-size: 13px; font-style: italic; color: var(--suave); margin: 14px auto 0; max-width: 460px; }
.cta-final { margin-top: 40px; text-align: center; }

/* Formulário "Quero testar" */
dialog#dialogo-teste {
  width: calc(100% - 32px);
  max-width: 440px;
  border: 0;
  border-radius: 22px;
  padding: 32px 28px 28px;
  color: var(--texto);
  background: #fff;
  box-shadow: 0 30px 80px rgba(19, 26, 36, 0.3);
  font-family: inherit;
}
dialog#dialogo-teste::backdrop { background: rgba(19, 26, 36, 0.45); }
dialog#dialogo-teste h2 { margin: 0 0 8px; font-size: 22px; }
.form-intro { margin: 0 0 20px; color: var(--suave); font-size: 15px; }
.fechar {
  position: absolute; top: 12px; right: 14px;
  width: 34px; height: 34px;
  border: 0; border-radius: 50%;
  background: transparent; color: var(--suave);
  font-size: 26px; line-height: 1; cursor: pointer;
}
.fechar:hover { background: #f4ecea; color: var(--tinta); }
.campo { display: block; margin-bottom: 14px; }
.campo span { display: block; font-size: 13px; font-weight: 700; color: var(--tinta); margin-bottom: 6px; }
.campo input {
  width: 100%;
  font: inherit;
  font-size: 16px;
  color: var(--tinta);
  padding: 12px 14px;
  border: 1px solid #e2d3ce;
  border-radius: 12px;
  background: #fff;
}
.campo input:focus { outline: 2px solid rgba(240, 57, 107, 0.35); border-color: var(--rosa); }
.form-aviso { font-size: 12.5px; color: var(--suave); margin: 4px 0 16px; }
.form-erro { font-size: 13.5px; color: #b3261e; margin: 0 0 12px; }
.botao-form { width: 100%; text-align: center; }
.armadilha { position: absolute; left: -9999px; height: 0; overflow: hidden; }
.armadilha input { width: 1px; }

/* Seções */
section { padding: 56px 0; }
h2 {
  font-size: clamp(22px, 3.5vw, 30px);
  line-height: 1.25;
  font-weight: 800;
  color: var(--tinta);
  margin: 0 0 12px;
  letter-spacing: -0.01em;
}
.subtitulo { color: var(--suave); margin: 0 0 32px; max-width: 620px; }

.cabecalho { max-width: 672px; margin: 0 auto; }
.grade { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }
@media (max-width: 900px) {
  .grade { grid-template-columns: repeat(2, 1fr); }
}
.cartao {
  background: var(--cartao);
  border: 1px solid var(--linha);
  border-radius: 18px;
  padding: 22px;
}
.cartao h3 { margin: 0 0 6px; font-size: 16px; font-weight: 800; color: var(--tinta); }
.cartao p { margin: 0; font-size: 14.5px; color: var(--suave); }
.cartao .ponto {
  width: 10px; height: 10px; border-radius: 50%;
  background: linear-gradient(135deg, var(--rosa), var(--laranja));
  margin-bottom: 14px;
}

/* Limites */
.limites { background: #fff; border-top: 1px solid var(--linha); border-bottom: 1px solid var(--linha); }
.limites ul { margin: 0; padding: 0; list-style: none; }
.limites li { padding: 12px 0 12px 28px; position: relative; border-bottom: 1px solid var(--linha); }
.limites li:last-child { border-bottom: 0; }
.limites li::before { content: ""; position: absolute; left: 4px; top: 22px; width: 8px; height: 8px; border-radius: 50%; background: var(--rosa); }

/* Manifesto */
.manifesto p { font-size: 17px; margin: 0 0 18px; }
.manifesto .primeira { font-size: clamp(19px, 3vw, 24px); font-weight: 700; color: var(--tinta); line-height: 1.4; }
.manifesto .final { font-weight: 800; color: var(--tinta); }

/* Rodapé */
footer { padding: 32px 0 48px; border-top: 1px solid var(--linha); font-size: 14px; color: var(--suave); }
footer .container { display: flex; flex-wrap: wrap; gap: 12px 24px; justify-content: space-between; }
footer a { color: var(--suave); }
footer a:hover { color: var(--tinta); }
footer .links a { margin-right: 20px; }

/* Páginas legais */
.documento { padding: 24px 0 64px; }
.documento h1 { font-size: clamp(26px, 4vw, 34px); font-weight: 800; color: var(--tinta); margin: 0 0 4px; letter-spacing: -0.02em; }
.documento .versao { color: var(--suave); font-size: 14px; margin: 0 0 32px; }
.documento h2 { font-size: 18px; margin: 32px 0 8px; }
.documento p { margin: 0 0 12px; }
.documento ul { margin: 0 0 12px; padding-left: 22px; }
.documento li { margin-bottom: 6px; }
.voltar { display: inline-block; margin-bottom: 20px; font-size: 14px; font-weight: 600; text-decoration: none; }

.idiomas {
  display: inline-flex;
  gap: 2px;
  background: #fff;
  border: 1px solid var(--linha);
  border-radius: 999px;
  padding: 3px;
  margin-left: 12px;
}
.idiomas button {
  font: inherit;
  font-size: 12px;
  font-weight: 700;
  color: var(--suave);
  background: transparent;
  border: 0;
  border-radius: 999px;
  padding: 5px 11px;
  cursor: pointer;
}
.idiomas button:hover { color: var(--tinta); }
.idiomas button[aria-pressed="true"] { background: var(--tinta); color: #fff; }

.aviso {
  font-size: 13px;
  color: var(--suave);
  background: #fff;
  border: 1px solid var(--linha);
  border-radius: 12px;
  padding: 10px 14px;
  margin: 0 0 24px;
}

@media (max-width: 640px) {
  .grade { grid-template-columns: 1fr; }
  .topo nav { display: none; }
  .idiomas { margin-left: 0; }
  .topo img { height: 34px; }
  .hero { padding: 36px 0 16px; }
  .hero .cta { margin-top: 56px; }
  section { padding: 40px 0; }
}
