/* Cria — site. Cores e tipos do guia de estilo do app (docs/cria/design/Guia-de-estilo). */
:root {
  --fundo: #faf7f2;
  --papel: #fffdf9;
  --superficie: #ffffff;
  --borda: #e7e1d7;
  --texto: #18212e;
  --apoio: #545f6e;
  --corpo: #3a4555;
  --azul: #1f4f8f;
  --azul-escuro: #173b6c;
  --azul-suave: #e4ecf7;
  --goiaba: #ef6f7a;
  --goiaba-suave: #fce3e5;
}
@media (prefers-color-scheme: dark) {
  :root {
    --fundo: #10151d;
    --superficie: #19212c;
    --borda: #2a3442;
    --texto: #ecf0f5;
    --apoio: #a6b0be;
    --corpo: #c3cbd6;
    --azul: #8db6ee;
    --azul-escuro: #b5d0f5;
    --azul-suave: #1e2e47;
    --goiaba-suave: #3a1f26;
  }
}
* {
  box-sizing: border-box;
}
html {
  -webkit-text-size-adjust: 100%;
}
body {
  margin: 0;
  background: var(--fundo);
  color: var(--texto);
  font:
    17px/1.55 'Roboto',
    system-ui,
    sans-serif;
}
h1,
h2,
h3 {
  font-family: 'Poppins', system-ui, sans-serif;
  font-weight: 600;
  letter-spacing: -0.015em;
  line-height: 1.12;
  margin: 0;
}
a {
  color: var(--azul);
}
.miolo {
  width: 100%;
  max-width: 1080px;
  margin: 0 auto;
  padding: 0 20px;
}
.topo {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding-top: 20px;
  padding-bottom: 20px;
}
.logo {
  display: flex;
  align-items: center;
  gap: 10px;
  color: var(--texto);
  text-decoration: none;
  font-family: 'Poppins', system-ui, sans-serif;
  font-weight: 600;
  font-size: 22px;
}
.logo img {
  width: 36px;
  height: 36px;
}
nav {
  display: flex;
  gap: 18px;
  align-items: center;
  flex-wrap: wrap;
}
nav a {
  color: var(--apoio);
  text-decoration: none;
  font-weight: 500;
}
.botao,
nav a.cheio {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 0 22px;
  border-radius: 14px;
  background: var(--azul);
  color: #fff;
  font-weight: 700;
  text-decoration: none;
}
@media (prefers-color-scheme: dark) {
  .botao,
  nav a.cheio {
    color: #0d1a2e;
  }
}
.heroi {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 48px;
  align-items: center;
  padding: 48px 20px 64px;
}
.heroi h1 {
  font-size: clamp(36px, 6vw, 60px);
}
.heroi p {
  font-size: 20px;
  color: var(--corpo);
  margin: 20px 0 28px;
}
.traco {
  display: block;
  width: 72px;
  height: 6px;
  border-radius: 3px;
  background: var(--goiaba);
  margin: 22px 0 0;
}
.lojas {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
}
.capa {
  justify-self: center;
  width: min(320px, 80vw);
  aspect-ratio: 210 / 297;
  background: var(--papel);
  border: 1px solid #e7e1d7;
  border-radius: 8px;
  box-shadow: 0 24px 60px rgba(24, 33, 46, 0.18);
  display: flex;
  flex-direction: column;
  overflow: hidden;
  transform: rotate(-3deg);
  color: #18212e;
}
.capa .t {
  padding: 28px 24px 0;
}
.capa small {
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: #1f4f8f;
}
.capa strong {
  display: block;
  font-family: 'Poppins', system-ui, sans-serif;
  font-size: 40px;
  line-height: 1;
  margin-top: 10px;
}
.capa .faixa {
  margin-top: auto;
  height: 40%;
  background: #1f4f8f;
  position: relative;
  overflow: hidden;
}
.capa .faixa::after {
  content: '';
  position: absolute;
  width: 60%;
  aspect-ratio: 1;
  border-radius: 50%;
  background: #ef6f7a;
  right: -15%;
  top: -35%;
}
.secao {
  padding: 56px 20px;
}
.secao > h2 {
  font-size: clamp(28px, 4vw, 40px);
  margin-bottom: 28px;
}
.grade {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
}
.cartao {
  background: var(--superficie);
  border: 1px solid var(--borda);
  border-radius: 20px;
  padding: 22px;
}
.cartao.azul {
  background: var(--azul-suave);
  border-color: transparent;
}
.cartao h3 {
  font-size: 20px;
  margin-bottom: 8px;
}
.cartao p {
  margin: 0;
  color: var(--corpo);
}
.planos {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
}
.planos ul {
  padding-left: 20px;
  margin: 12px 0 0;
  color: var(--corpo);
}
.selo {
  display: inline-block;
  border-radius: 999px;
  padding: 4px 12px;
  font-size: 14px;
  font-weight: 700;
  background: var(--azul-suave);
  color: var(--azul);
}
.cartao.azul .selo {
  background: var(--azul);
  color: #fff;
}
.documento {
  max-width: 720px;
  padding: 24px 0 64px;
}
.documento h1 {
  font-size: clamp(32px, 5vw, 44px);
}
.documento h2 {
  font-size: 22px;
  margin: 32px 0 8px;
}
.documento p,
.documento li {
  color: var(--corpo);
}
.vigencia {
  color: var(--apoio);
  font-size: 15px;
}
.resumo {
  background: var(--azul-suave);
  border-radius: 16px;
  padding: 16px 18px;
  color: var(--texto) !important;
}
.rodape {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  flex-wrap: wrap;
  padding-top: 28px;
  padding-bottom: 40px;
  border-top: 1px solid var(--borda);
  color: var(--apoio);
  font-size: 15px;
}
@media (max-width: 820px) {
  .heroi,
  .grade,
  .planos {
    grid-template-columns: 1fr;
  }
  .heroi {
    padding-top: 24px;
  }
  .topo nav a:not(.cheio) {
    display: none;
  }
}
