/* Site institucional do 7 Converte: estático, sem scripts e sem recursos de terceiros. */

:root {
  color-scheme: dark;
  --bg: #0a0b0d;
  --surface: #131519;
  --surface-2: #1a1d22;
  --border: #26292f;
  --neon: #10f0a0;
  --ciano: #19d3ff;
  --text: #e7e9ec;
  --muted: #9aa0ab;
  --gradiente: linear-gradient(90deg, #2dfc8f 0%, #10f0c8 45%, #19b8ff 100%);
  --largura: 68rem;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: 'Inter', system-ui, -apple-system, 'Segoe UI', Roboto, sans-serif;
  font-size: 1rem;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

img {
  max-width: 100%;
  height: auto;
}

a {
  color: var(--neon);
}

.container {
  width: 100%;
  max-width: var(--largura);
  margin: 0 auto;
  padding: 0 1.25rem;
}

/* Cabeçalho */

.topo {
  position: sticky;
  top: 0;
  z-index: 10;
  border-bottom: 1px solid var(--border);
  background: rgba(10, 11, 13, 0.85);
  backdrop-filter: blur(10px);
}

.topo .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  min-height: 4rem;
}

.topo img {
  display: block;
  height: 2rem;
  width: auto;
}

.topo nav {
  display: flex;
  align-items: center;
  gap: 1.25rem;
  font-size: 0.875rem;
}

.topo nav a:not(.botao) {
  color: var(--muted);
  text-decoration: none;
}

.topo nav a:not(.botao):hover {
  color: var(--text);
}

/* Botões */

.botao {
  display: inline-block;
  border-radius: 0.6rem;
  padding: 0.75rem 1.25rem;
  font-size: 0.95rem;
  font-weight: 600;
  text-decoration: none;
  transition: opacity 0.15s ease, border-color 0.15s ease;
}

.botao-principal {
  background: var(--gradiente);
  color: #04130d;
}

.botao-principal:hover {
  opacity: 0.9;
}

.botao-secundario {
  border: 1px solid var(--border);
  background: var(--surface-2);
  color: var(--text);
}

.botao-secundario:hover {
  border-color: rgba(16, 240, 160, 0.5);
}

.botao-pequeno {
  padding: 0.45rem 0.9rem;
  font-size: 0.85rem;
}

/* Abertura */

.abertura {
  position: relative;
  overflow: hidden;
  padding: 5rem 0 4rem;
  background:
    radial-gradient(ellipse 60% 50% at 15% 10%, rgba(16, 240, 160, 0.16), transparent 70%),
    radial-gradient(ellipse 50% 60% at 90% 90%, rgba(25, 184, 255, 0.14), transparent 70%),
    linear-gradient(rgba(255, 255, 255, 0.03) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.03) 1px, transparent 1px);
  background-size: 100% 100%, 100% 100%, 48px 48px, 48px 48px;
}

.selo {
  display: inline-block;
  border: 1px solid rgba(16, 240, 160, 0.35);
  border-radius: 999px;
  background: rgba(16, 240, 160, 0.08);
  padding: 0.3rem 0.85rem;
  color: var(--neon);
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

h1 {
  margin: 1.25rem 0 0;
  max-width: 20ch;
  font-size: clamp(2.2rem, 6vw, 4rem);
  font-weight: 800;
  line-height: 1.08;
  letter-spacing: -0.02em;
}

.destaque {
  background: var(--gradiente);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.abertura .apoio {
  margin: 1.5rem 0 0;
  max-width: 44rem;
  color: var(--muted);
  font-size: clamp(1.05rem, 2.2vw, 1.25rem);
}

.abertura .apoio strong {
  color: var(--text);
  font-weight: 600;
}

.acoes {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  margin-top: 2rem;
}

/* Quadro ilustrativo */

.quadro {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 0.75rem;
  margin-top: 3.5rem;
  border: 1px solid var(--border);
  border-radius: 1rem;
  background: rgba(19, 21, 25, 0.9);
  padding: 1rem;
}

.coluna {
  border: 1px solid var(--border);
  border-radius: 0.75rem;
  background: var(--surface);
  padding: 0.75rem;
}

.coluna h3 {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin: 0 0 0.6rem;
  font-size: 0.8rem;
  font-weight: 600;
}

.coluna h3 span {
  border-radius: 999px;
  background: var(--surface-2);
  padding: 0.05rem 0.5rem;
  color: var(--muted);
  font-size: 0.7rem;
  font-weight: 500;
}

.cartao {
  margin-top: 0.5rem;
  border: 1px solid var(--border);
  border-radius: 0.6rem;
  background: var(--surface-2);
  padding: 0.6rem 0.7rem;
  font-size: 0.78rem;
}

.cartao strong {
  display: block;
  font-weight: 600;
}

.cartao small {
  display: block;
  margin-top: 0.15rem;
  color: var(--muted);
  font-size: 0.7rem;
}

.etiqueta {
  display: inline-block;
  margin-top: 0.4rem;
  border: 1px solid var(--border);
  border-radius: 999px;
  padding: 0.05rem 0.5rem;
  color: var(--muted);
  font-size: 0.66rem;
  font-weight: 600;
}

.etiqueta.hoje {
  border-color: rgba(245, 158, 11, 0.45);
  background: rgba(245, 158, 11, 0.1);
  color: #fcd34d;
}

.etiqueta.atrasado {
  border-color: rgba(239, 68, 68, 0.45);
  background: rgba(239, 68, 68, 0.1);
  color: #fca5a5;
}

.etiqueta.ganho {
  border-color: rgba(16, 240, 160, 0.45);
  background: rgba(16, 240, 160, 0.1);
  color: var(--neon);
}

.etiqueta.volta {
  border-color: rgba(25, 184, 255, 0.45);
  background: rgba(25, 184, 255, 0.1);
  color: #7dd3fc;
}

.legenda {
  margin: 0.75rem 0 0;
  color: var(--muted);
  font-size: 0.75rem;
  text-align: center;
}

/* Seções */

section {
  padding: 4.5rem 0;
}

section.faixa {
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  background: var(--surface);
}

.sobretitulo {
  margin: 0;
  color: var(--neon);
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

h2 {
  margin: 0.5rem 0 0;
  max-width: 26ch;
  font-size: clamp(1.6rem, 4vw, 2.4rem);
  font-weight: 800;
  line-height: 1.15;
  letter-spacing: -0.015em;
}

.intro {
  margin: 1rem 0 0;
  max-width: 44rem;
  color: var(--muted);
  font-size: 1.05rem;
}

.grade {
  display: grid;
  gap: 1rem;
  margin-top: 2.5rem;
}

.grade-3 {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.grade-2 {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.bloco {
  border: 1px solid var(--border);
  border-radius: 0.9rem;
  background: var(--surface);
  padding: 1.4rem;
}

section.faixa .bloco {
  background: var(--bg);
}

.bloco h3 {
  margin: 0;
  font-size: 1.05rem;
  font-weight: 700;
}

.bloco p {
  margin: 0.5rem 0 0;
  color: var(--muted);
  font-size: 0.95rem;
}

/* Os 7 pontos de controle */

.pontos {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1rem;
  margin: 2.5rem 0 0;
  padding: 0;
  list-style: none;
  counter-reset: ponto;
}

.pontos li {
  position: relative;
  border: 1px solid var(--border);
  border-radius: 0.9rem;
  background: var(--bg);
  padding: 1.4rem 1.4rem 1.4rem 4.6rem;
  counter-increment: ponto;
}

.pontos li::before {
  content: counter(ponto);
  position: absolute;
  top: 1.25rem;
  left: 1.25rem;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 2.4rem;
  height: 2.4rem;
  border-radius: 0.7rem;
  background: var(--gradiente);
  color: #04130d;
  font-size: 1.1rem;
  font-weight: 800;
}

.pontos li:last-child {
  grid-column: 1 / -1;
}

.pontos h3 {
  margin: 0;
  font-size: 1.05rem;
  font-weight: 700;
}

.pontos p {
  margin: 0.4rem 0 0;
  color: var(--muted);
  font-size: 0.95rem;
}

/* Aviso de honestidade e chamada final */

.nota {
  margin: 2rem 0 0;
  border-left: 3px solid var(--neon);
  padding: 0.25rem 0 0.25rem 1rem;
  max-width: 46rem;
  color: var(--muted);
  font-size: 0.95rem;
}

.chamada {
  text-align: center;
}

.chamada h2,
.chamada .intro {
  margin-left: auto;
  margin-right: auto;
}

.chamada .acoes {
  justify-content: center;
}

.chamada .contato {
  margin: 1.25rem 0 0;
  color: var(--muted);
  font-size: 0.9rem;
}

/* Rodapé */

footer {
  border-top: 1px solid var(--border);
  padding: 2rem 0 2.5rem;
  color: var(--muted);
  font-size: 0.85rem;
}

footer .container {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-start;
  justify-content: space-between;
  gap: 1rem 2rem;
}

footer p {
  margin: 0;
}

footer nav {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem 1.25rem;
}

footer a {
  color: var(--muted);
}

footer a:hover {
  color: var(--text);
}

/* Páginas de texto (Política de Privacidade e Termos de Uso) */

.documento {
  max-width: 48rem;
  padding-top: 3rem;
  padding-bottom: 4rem;
}

.documento h1 {
  max-width: none;
  font-size: clamp(1.8rem, 5vw, 2.6rem);
}

.documento .atualizacao {
  margin: 0.75rem 0 0;
  color: var(--muted);
  font-size: 0.9rem;
}

.documento h2 {
  max-width: none;
  margin-top: 2.5rem;
  font-size: 1.25rem;
  letter-spacing: 0;
}

.documento p,
.documento li {
  color: #c5c9d0;
}

.documento ul {
  padding-left: 1.25rem;
}

.documento li {
  margin-top: 0.4rem;
}

.documento table {
  width: 100%;
  margin-top: 1rem;
  border-collapse: collapse;
  font-size: 0.92rem;
}

.documento th,
.documento td {
  border: 1px solid var(--border);
  padding: 0.6rem 0.75rem;
  color: #c5c9d0;
  text-align: left;
  vertical-align: top;
}

.documento th {
  background: var(--surface);
  color: var(--text);
  font-weight: 600;
}

.tabela {
  overflow-x: auto;
}

/* Telas menores */

@media (max-width: 56rem) {
  .grade-3,
  .grade-2,
  .pontos {
    grid-template-columns: minmax(0, 1fr);
  }

  .quadro {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 36rem) {
  .abertura {
    padding: 3.5rem 0 3rem;
  }

  section {
    padding: 3.5rem 0;
  }

  .topo nav a.some-no-celular {
    display: none;
  }

  .acoes .botao {
    width: 100%;
    text-align: center;
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }
}

/* Dúvidas frequentes */

.duvidas {
  max-width: 48rem;
  margin-top: 2.5rem;
}

.duvidas details {
  border: 1px solid var(--border);
  border-radius: 0.9rem;
  background: var(--bg);
  padding: 0 1.25rem;
}

.duvidas details + details {
  margin-top: 0.75rem;
}

.duvidas summary {
  position: relative;
  padding: 1.1rem 2rem 1.1rem 0;
  cursor: pointer;
  font-weight: 600;
  list-style: none;
}

.duvidas summary::-webkit-details-marker {
  display: none;
}

.duvidas summary::after {
  content: '+';
  position: absolute;
  top: 50%;
  right: 0;
  transform: translateY(-50%);
  color: var(--neon);
  font-size: 1.4rem;
  font-weight: 400;
  line-height: 1;
}

.duvidas details[open] summary::after {
  content: '–';
}

.duvidas details p {
  margin: 0;
  padding: 0 0 1.2rem;
  color: var(--muted);
  font-size: 0.95rem;
}

.grade + .grade {
  margin-top: 1rem;
}

/* O cabeçalho fixo não cobre o título da seção aberta por um link do menu */
section[id] {
  scroll-margin-top: 4rem;
}
