/* Página de encerramento — a única página que o site ainda serve.
 *
 * Folha própria, e não a styles.css de 3.900 linhas: o que resta é uma página
 * só, e carregar o CSS de um site inteiro para desenhá-la seria arrastar o
 * peso de tudo que foi desligado. Os valores aqui são os mesmos da campanha —
 * cores, Montserrat, a arte do hero — então o visual é o que as pessoas de
 * Roraima reconhecem, sem a estrutura que não existe mais.
 *
 * Sem JavaScript, de propósito: nada aqui precisa medir, perguntar ou gravar.
 */

:root {
  --blue: #005caa;
  --green-cta: #0b6b22;
  --yellow: #ffdd0e;
  --cream: #f5f2ec;
  --text: #202633;
  --white: #ffffff;
  --container: 1120px;
}

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

html {
  -webkit-text-size-adjust: 100%;
}

body {
  margin: 0;
  color: var(--text);
  background: var(--white);
  font-family: Montserrat, "Helvetica Neue", Arial, sans-serif;
  font-size: 18px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

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

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

a:focus-visible {
  outline: 3px solid var(--green-cta);
  outline-offset: 3px;
}

.container {
  width: min(100% - 48px, var(--container));
  margin-inline: auto;
}

/* Pula para o conteúdo: a página é curta, mas quem navega por teclado não
   deveria precisar passar pelo cabeçalho para chegar ao texto. */
.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip-path: inset(50%);
  white-space: nowrap;
}

.pular:focus {
  position: fixed;
  top: 12px;
  left: 12px;
  z-index: 10;
  width: auto;
  height: auto;
  padding: 12px 18px;
  clip-path: none;
  color: var(--white);
  background: var(--green-cta);
  font-weight: 700;
  text-decoration: none;
}

/* ── Cabeçalho: só a marca, sem navegação, porque não há para onde ir ── */
.topo {
  padding: 22px 0;
  background: #158230;
}

.topo img {
  width: 295px;
}

/* ── Hero: a mesma arte da campanha ─────────────────────────────────── */
.hero {
  position: relative;
  min-height: clamp(520px, 41.875vw, 900px);
  display: flex;
  align-items: center;
  overflow: hidden;
  background-color: #e8f0f7;
  background-image: image-set(url("../images/HERO.webp") type("image/webp"),
                              url("../images/HERO.png") type("image/png"));
  background-repeat: no-repeat;
  background-position: center;
  background-size: cover;
}

.hero-inner {
  padding: 64px 0;
}

.hero-marca {
  width: 338px;
  margin-bottom: 36px;
}

.hero h1 {
  max-width: 10ch;
  margin: 0 0 24px;
  color: var(--blue);
  font-size: clamp(60px, 6vw, 116px);
  font-weight: 900;
  line-height: 0.91;
  letter-spacing: -0.012em;
  text-transform: uppercase;
}

.hero p {
  max-width: 30ch;
  margin: 0;
  color: var(--blue);
  font-size: clamp(20px, 1.9vw, 27px);
  font-weight: 900;
  line-height: 1.22;
  text-transform: uppercase;
}

/* ── Filete: a listra de bandeiras que separava as seções ───────────── */
.filete img {
  width: 100%;
  height: auto;
}

/* ── A mensagem ─────────────────────────────────────────────────────── */
.mensagem {
  padding: clamp(64px, 9vw, 120px) 0;
  text-align: center;
}

.mensagem h2 {
  margin: 0 0 10px;
  color: var(--blue);
  font-size: clamp(32px, 4.4vw, 58px);
  font-weight: 900;
  line-height: 1.04;
  letter-spacing: -0.015em;
  text-transform: uppercase;
  text-wrap: balance;
}

.mensagem .linha-fina {
  margin: 0 auto 40px;
  max-width: 44ch;
  color: var(--green-cta);
  font-size: clamp(19px, 2vw, 24px);
  font-weight: 700;
}

.mensagem p {
  max-width: 62ch;
  margin: 0 auto 26px;
  font-size: clamp(17px, 1.3vw, 20px);
}

.mensagem p:last-of-type {
  margin-bottom: 0;
}

.assinatura {
  margin-top: 48px;
  padding-top: 36px;
  border-top: 2px solid var(--yellow);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 18px;
}

.assinatura img {
  width: 300px;
}

.assinatura span {
  color: var(--blue);
  font-size: 15px;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

/* ── Rodapé: o mínimo que a lei pede de quem ainda guarda dado ──────── */
.rodape {
  padding: 40px 0 56px;
  color: var(--text);
  background: var(--cream);
  font-size: 15px;
  text-align: center;
}

.rodape p {
  max-width: 68ch;
  margin: 0 auto 10px;
}

.rodape p:last-child {
  margin-bottom: 0;
}

@media (max-width: 760px) {
  .container {
    width: min(100% - 32px, var(--container));
  }

  .topo img {
    width: 220px;
  }

  .hero {
    min-height: 0;
    display: block;
    background-image: image-set(url("../images/HERO-MOBILE.webp") type("image/webp"),
                                url("../images/HERO-MOBILE.png") type("image/png"));
    background-position: center bottom;
    background-size: auto 420px;
    padding-bottom: 380px;
  }

  .hero-inner {
    padding: 40px 0 24px;
  }

  .hero-marca {
    width: min(260px, 72%);
    margin-bottom: 24px;
  }

  .hero h1,
  .hero p {
    max-width: none;
  }

  /* "OBRIGADO," em 900 não cabe em 375px no tamanho do desktop: a vírgula
     encostava na borda. O teto mantém o impacto nos telefones maiores. */
  .hero h1 {
    font-size: clamp(40px, 12.5vw, 64px);
  }

  .assinatura img {
    width: min(260px, 72%);
  }
}

/* ── Páginas de texto que sobraram ───────────────────────────────────────
   São duas: a política de privacidade, que precisa continuar acessível
   enquanto houver dado guardado, e o 404. Compartilham o mesmo invólucro
   simples da mensagem, sem navegação, porque não há para onde navegar. */
.legal {
  padding: clamp(48px, 7vw, 88px) 0 clamp(56px, 8vw, 96px);
}

.legal h1 {
  margin: 0 0 8px;
  color: var(--blue);
  font-size: clamp(30px, 4vw, 48px);
  font-weight: 900;
  line-height: 1.06;
  letter-spacing: -0.015em;
  text-wrap: balance;
}

.legal .sobretitulo {
  margin: 0 0 32px;
  color: var(--green-cta);
  font-size: 14px;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.legal h2 {
  margin: 40px 0 10px;
  color: var(--blue);
  font-size: clamp(20px, 2vw, 26px);
  font-weight: 800;
  line-height: 1.2;
}

.legal p,
.legal li {
  max-width: 68ch;
}

.legal p {
  margin: 0 0 16px;
}

.legal ul {
  margin: 0 0 16px;
  padding-left: 22px;
}

.legal li {
  margin-bottom: 8px;
}

.aviso-topo {
  margin: 0 0 8px;
  padding: 20px 24px;
  background: var(--cream);
  border-left: 4px solid var(--green-cta);
}

.aviso-topo p:last-child {
  margin-bottom: 0;
}

.voltar {
  display: inline-block;
  margin-top: 36px;
  padding: 14px 26px;
  color: var(--white);
  background: var(--green-cta);
  font-size: 15px;
  font-weight: 700;
  letter-spacing: 0.02em;
  text-decoration: none;
}

.voltar:hover {
  filter: brightness(1.1);
}
