/* Esqueleto comum dos teasers. As cores e a fonte de título vêm de src/<site>/marca.css. */
*, *::before, *::after { box-sizing: border-box; }

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

body {
  margin: 0;
  min-height: 100vh;
  min-height: 100svh;
  display: flex;
  flex-direction: column;
  background: var(--fundo);
  background-image: radial-gradient(120% 80% at 50% 0%, var(--fundo-brilho) 0%, transparent 60%);
  background-repeat: no-repeat;
  color: var(--texto);
  font-family: system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  font-size: 1.0625rem;
  line-height: 1.6;
}

main {
  flex: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 3rem 1.25rem 2.5rem;
  animation: entrar .7s ease-out both;
}

.logo {
  display: block;
  width: var(--logo-largura, 15rem);
  max-width: 72vw;
  height: auto;
  margin: 0 auto 2.5rem;
}

.aviso {
  display: inline-flex;
  align-items: center;
  gap: .625rem;
  margin: 0 0 1.5rem;
  padding: .375rem 1rem;
  border: 1px solid var(--linha);
  border-radius: 999px;
  color: var(--destaque);
  font-size: .8125rem;
  font-weight: 600;
  letter-spacing: .12em;
  text-transform: uppercase;
}
.aviso::before {
  content: "";
  width: .4375rem;
  height: .4375rem;
  border-radius: 50%;
  background: var(--destaque);
}

@media (max-width: 26rem) {
  .aviso { padding: .375rem .875rem; font-size: .6875rem; letter-spacing: .07em; }
}

h1 {
  max-width: 20ch;
  margin: 0 auto 1.25rem;
  font-family: var(--fonte-titulo);
  font-weight: var(--peso-titulo, 500);
  font-size: clamp(2rem, 1.35rem + 3.2vw, 3.5rem);
  line-height: 1.12;
  letter-spacing: var(--tracking-titulo, -.01em);
  text-wrap: balance;
}

.chamada {
  max-width: 38rem;
  margin: 0 auto 2.25rem;
  color: var(--texto-suave);
  text-wrap: pretty;
}

.botao {
  display: inline-flex;
  align-items: center;
  gap: .625rem;
  min-height: 3.25rem;
  padding: .75rem 1.75rem;
  border-radius: 999px;
  background: var(--destaque);
  color: var(--destaque-tinta);
  font-weight: 600;
  text-decoration: none;
  transition: transform .15s ease, box-shadow .15s ease;
}
.botao:hover { transform: translateY(-1px); box-shadow: 0 .5rem 1.5rem -.5rem var(--destaque); }
.botao svg { width: 1.375rem; height: 1.375rem; fill: currentColor; flex: none; }

a { color: var(--destaque); }
a:focus-visible, .botao:focus-visible {
  outline: 3px solid var(--texto);
  outline-offset: 3px;
}

/* Unidades do grupo (só no HUB) */
.unidades {
  display: grid;
  gap: 1rem;
  width: 100%;
  max-width: 58rem;
  margin: 3rem auto 0;
  padding: 0;
  list-style: none;
  text-align: left;
}
.unidades li {
  display: flex;
  flex-direction: column;
  padding: 1.25rem 1.375rem;
  border: 1px solid var(--linha);
  border-radius: .875rem;
  background: var(--cartao);
}
.unidades h2 {
  margin: 0 0 .375rem;
  font-family: var(--fonte-titulo);
  font-size: 1.1875rem;
  font-weight: var(--peso-titulo, 500);
}
.unidades p { flex: 1; margin: 0 0 .875rem; color: var(--texto-suave); font-size: .9375rem; }
.unidades a, .unidades span { font-size: .9375rem; font-weight: 600; }
.unidades span { color: var(--texto-suave); }
@media (min-width: 48rem) { .unidades { grid-template-columns: repeat(3, 1fr); } }

footer {
  padding: 1.5rem 1.25rem 2rem;
  border-top: 1px solid var(--linha);
  color: var(--texto-suave);
  font-size: .8125rem;
  line-height: 1.7;
  text-align: center;
}
footer p { margin: 0; }

.contagem { font-variant-numeric: tabular-nums; }

@keyframes entrar { from { opacity: 0; transform: translateY(.5rem); } }
@media (prefers-reduced-motion: reduce) {
  main { animation: none; }
  .botao { transition: none; }
}

@font-face {
  font-family: "Cormorant Garamond";
  src: url("/cormorant.woff2") format("woff2");
  font-weight: 500;
  font-display: swap;
}
:root {
  --fundo: #f6f0e2;
  --fundo-brilho: #fffdf7;
  --cartao: rgba(0, 0, 0, .03);
  --texto: #2a2114;
  --texto-suave: #5a4f3c;
  --destaque: #80590f;
  --destaque-tinta: #fffaf0;
  --linha: rgba(128, 89, 15, .35);
  --fonte-titulo: "Cormorant Garamond", Georgia, "Times New Roman", serif;
  --peso-titulo: 500;
  --tracking-titulo: 0;
  --logo-largura: 15rem;
}
html { color-scheme: light; }
h1 { font-size: clamp(2.375rem, 1.6rem + 3.8vw, 4rem); }
