/* ==========================================================================
   Componentes globais — cabeçalho, botões, cards, formulário, rodapé
   ========================================================================== */

/* --------------------------------------------------------------------------
   CABEÇALHO — idêntico e na mesma posição nas 4 páginas.
   Mantém o lilás em todas: é o que sustenta a identidade quando o corpo
   muda de cor.
   -------------------------------------------------------------------------- */
.site-header {
  position: sticky; top: 0; z-index: var(--z-header);
  background: var(--color-card);          /* sólido, nunca translúcido sobre foto */
  border-bottom: 1px solid transparent;
  transition: box-shadow var(--dur-base) var(--ease-out),
              border-color var(--dur-base) var(--ease-out);
}
.site-header.is-stuck {
  box-shadow: var(--shadow-1);
  border-bottom-color: var(--color-border);
}
.site-header__inner {
  display: flex; align-items: center; gap: var(--space-4);
  height: 64px;
}
@media (min-width: 768px) { .site-header__inner { height: 80px; gap: var(--space-8); } }

.brand {
  display: inline-flex; align-items: center; gap: var(--space-2);
  text-decoration: none; color: var(--color-primary);
  font-family: var(--font-display); font-weight: 600;
  font-size: 1.125rem; line-height: 1; letter-spacing: -.01em;
  flex-shrink: 0;
  padding: var(--space-2) 0;
}
/* A marca do cabeçalho é o medalhão da logo, em imagem.
   Altura casada com a do cabeçalho (64px/80px) menos respiro: se a imagem
   encostar nas bordas, o cabeçalho parece apertado. */
.brand__mark {
  height: 44px;
  width: auto;
  flex-shrink: 0;
  transition: transform var(--dur-base) var(--ease-out);
}
@media (min-width: 768px) { .brand__mark { height: 58px; } }
.brand:hover .brand__mark { transform: rotate(-4deg) scale(1.06); }
@media (min-width: 480px) { .brand { font-size: 1.25rem; } }

/* Abaixo de 480px a marca fica só no símbolo. Seção 3.2: manter os 4 links
   visíveis é prioridade sobre o resto do cabeçalho — esconder um link atrás
   de rolagem custa descoberta, e quem não rolar nunca fica sabendo que
   existe uma página inteira sobre festa infantil. O nome completo continua
   no <span> para leitor de tela e no rodapé. */
@media (max-width: 479px) {
  .brand__nome { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); }
  .brand__mark { height: 46px; }
}

/* Navegação: 4 itens sempre visíveis, sem menu sanduíche */
.nav {
  flex: 1; min-width: 0;
  display: flex; justify-content: flex-end;
}
@media (min-width: 900px) { .nav { justify-content: center; } }
.nav__list {
  display: flex; align-items: center; gap: var(--space-1);
  list-style: none; margin: 0; padding: 0;
  overflow-x: auto; scrollbar-width: none;
  -webkit-overflow-scrolling: touch;
  scroll-snap-type: x proximity;
}
.nav__list::-webkit-scrollbar { display: none; }
.nav__link {
  position: relative;
  display: flex; align-items: center; justify-content: center;
  min-height: 44px; padding: var(--space-2) var(--space-2);
  color: var(--color-muted-foreground);
  font-size: var(--fs-label); font-weight: 400;
  text-decoration: none; white-space: nowrap;
  border-radius: var(--radius-sm);
  scroll-snap-align: center;
  transition: color var(--dur-micro) var(--ease-out);
}
.nav__link::after {
  content: ""; position: absolute; left: var(--space-2); right: var(--space-2); bottom: 6px;
  height: 3px; border-radius: var(--radius-full);
  background: currentColor;
  transform: scaleX(0); transform-origin: 50% 50%;
  transition: transform var(--dur-micro) var(--ease-out);
}
.nav__link:hover { color: var(--color-primary); }
.nav__link:hover::after { transform: scaleX(1); }
/* Ativo: cor + peso 600 + barra de 3px + aria-current — nunca só cor */
.nav__link[aria-current="page"] {
  color: var(--color-primary);
  font-weight: 600;
}
.nav__link[aria-current="page"]::after { transform: scaleX(1); }

.nav__label-short { display: inline; }
.nav__label-long  { display: none; }
@media (min-width: 768px) {
  .nav__label-short { display: none; }
  .nav__label-long  { display: inline; }
  .nav__list { gap: var(--space-2); }
  .nav__link { padding: var(--space-2) var(--space-3); }
  .nav__link::after { left: var(--space-3); right: var(--space-3); }
}

/* Especificidade elevada de propósito: `.btn { display:inline-flex }` é
   declarado depois neste arquivo e venceria um seletor de classe única.
   Seção 3.4 do documento: se o botão não couber ao lado dos 4 links, ele
   sai do cabeçalho e vive na barra fixa inferior. Nunca encolher os links
   para forçá-lo a caber. */
.site-header .site-header__cta { display: none; flex-shrink: 0; }
@media (min-width: 900px) {
  .site-header .site-header__cta { display: inline-flex; }
}

/* Guarda de tamanho para ícones inline SOLTOS (fora de um componente).
   Um SVG sem largura declarada assume a largura do contêiner e estoura o
   layout. Escopado de propósito: componentes definem o próprio tamanho. */
.inline-icon,
address > svg, address span > svg,
.site-footer address svg {
  width: 20px; height: 20px; flex-shrink: 0;
  display: inline-block; vertical-align: -4px;
}

/* --------------------------------------------------------------------------
   BOTÕES
   Nenhum estado muda o tamanho do elemento — só cor, sombra e escala.
   -------------------------------------------------------------------------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center;
  gap: var(--space-2);
  min-height: 52px; padding: 0 var(--space-6);
  font-family: var(--font-body); font-size: var(--fs-label); font-weight: 600;
  line-height: 1; text-decoration: none; text-align: center;
  border: 2px solid transparent; border-radius: var(--radius-full);
  cursor: pointer;
  transition: background-color var(--dur-base) var(--ease-out),
              border-color var(--dur-base) var(--ease-out),
              color var(--dur-base) var(--ease-out),
              box-shadow var(--dur-base) var(--ease-out),
              transform var(--dur-micro) var(--ease-out);
}
@media (min-width: 768px) { .btn { min-height: 48px; } }
.btn:active { transform: scale(.97); }
.btn:disabled, .btn[aria-disabled="true"] { opacity: .45; cursor: default; transform: none; }

.btn--primary {
  background: var(--page-accent);
  color: var(--color-on-primary);
  box-shadow: var(--shadow-2);
}
.btn--primary:hover:not(:disabled) { background: var(--page-accent-strong); }

.btn--ghost {
  background: var(--color-card);
  color: var(--color-foreground);
  border-color: var(--color-border-strong);
}
.btn--ghost:hover { border-color: var(--page-accent); color: var(--page-accent); }

.btn--whatsapp { background: var(--color-whatsapp); color: #fff; box-shadow: var(--shadow-2); }
.btn--whatsapp:hover:not(:disabled) { background: var(--color-whatsapp-strong); }

.btn--sm { min-height: 44px; padding: 0 var(--space-4); font-size: var(--fs-small); }
.btn--block { width: 100%; }
.btn__icon { width: 20px; height: 20px; flex-shrink: 0; fill: currentColor; }

/* Estado de carregamento — trava o botão para não gerar envio duplo */
.btn[data-loading="true"] { pointer-events: none; opacity: .8; }
.btn[data-loading="true"] .btn__label::after {
  content: ""; display: inline-block; vertical-align: -2px;
  width: 16px; height: 16px; margin-left: var(--space-2);
  border: 2px solid currentColor; border-top-color: transparent;
  border-radius: 50%; animation: spin .7s linear infinite;
}
@keyframes spin { to { transform: rotate(360deg); } }

.btn-row { display: flex; flex-wrap: wrap; gap: var(--space-3); }
.cta-micro {
  margin-top: var(--space-3);
  font-size: var(--fs-small);
  color: var(--color-muted-foreground);
}

/* --------------------------------------------------------------------------
   ATMOSFERA — malha de gradiente + grão.
   "Lua de cristal": luz difusa, nunca cor chapada.
   -------------------------------------------------------------------------- */
.aurora {
  position: absolute; inset: 0;
  overflow: hidden; pointer-events: none;
  z-index: -1;
}
.aurora::before, .aurora::after {
  content: ""; position: absolute;
  width: 60vmax; height: 60vmax; border-radius: 50%;
  filter: blur(80px); opacity: .5;
}
.aurora::before {
  top: -25vmax; left: -15vmax;
  background: radial-gradient(circle, var(--page-surface) 0%, transparent 68%);
  animation: drift-a 22s ease-in-out infinite alternate;
}
.aurora::after {
  bottom: -30vmax; right: -20vmax;
  background: radial-gradient(circle, var(--color-secondary-surface) 0%, transparent 68%);
  animation: drift-b 28s ease-in-out infinite alternate;
}
@keyframes drift-a { to { transform: translate3d(6vw, 4vh, 0) scale(1.12); } }
@keyframes drift-b { to { transform: translate3d(-5vw, -5vh, 0) scale(1.08); } }

.grain {
  position: absolute; inset: 0; pointer-events: none; z-index: -1;
  opacity: .035; mix-blend-mode: multiply;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='140' height='140'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.85' numOctaves='3'/%3E%3C/filter%3E%3Crect width='140' height='140' filter='url(%23n)'/%3E%3C/svg%3E");
}

/* --------------------------------------------------------------------------
   HERO
   -------------------------------------------------------------------------- */
.hero {
  position: relative;
  padding-block: var(--space-12) var(--space-16);
  isolation: isolate;
  overflow: clip;
}
@media (min-width: 768px) { .hero { padding-block: var(--space-16) var(--space-24); } }

.hero__grid { display: grid; gap: var(--space-8); align-items: center; }
@media (min-width: 1024px) {
  .hero__grid { grid-template-columns: 1.05fr .95fr; gap: var(--space-12); }
}
.hero--center .hero__grid { grid-template-columns: 1fr; text-align: center; justify-items: center; }
.hero--center .hero__copy { max-width: 44rem; }

.hero__lead {
  margin-top: var(--space-4);
  max-width: 46ch;
  font-size: var(--fs-lead);
  line-height: 1.5;
  color: var(--color-muted-foreground);
}
.hero--center .hero__lead { margin-inline: auto; }
.hero__actions { margin-top: var(--space-8); }
.hero--center .hero__actions { justify-content: center; }

.hero__media {
  position: relative;
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-3);
  aspect-ratio: 4 / 3;
  background: var(--page-surface);
}
.hero__media img, .hero__media video {
  width: 100%; height: 100%; object-fit: cover;
}
/* moldura de vidro fino, ecoando o "cristal" do nome */
.hero__media::after {
  content: ""; position: absolute; inset: 0;
  border-radius: inherit;
  border: 1px solid rgba(255,255,255,.6);
  box-shadow: inset 0 1px 0 rgba(255,255,255,.5);
  pointer-events: none;
}

/* Selo flutuante sobre a foto do hero */
.hero__badge {
  position: absolute; left: var(--space-4); bottom: var(--space-4);
  display: flex; align-items: center; gap: var(--space-3);
  padding: var(--space-3) var(--space-4);
  background: rgba(255,255,255,.94);
  backdrop-filter: blur(8px);
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-2);
}
.hero__badge svg { width: 24px; height: 24px; color: var(--color-gold); flex-shrink: 0; }
.hero__badge b { display: block; font-family: var(--font-display); font-size: 1.0625rem; }
.hero__badge span { display: block; font-size: var(--fs-small); color: var(--color-muted-foreground); }

/* --------------------------------------------------------------------------
   BARRA DE CONFIANÇA
   -------------------------------------------------------------------------- */
.trust {
  border-block: 1px solid var(--color-border);
  background: var(--color-card);
}
.trust__list {
  display: grid; gap: var(--space-4);
  grid-template-columns: repeat(2, 1fr);
  list-style: none; margin: 0; padding-block: var(--space-6);
}
@media (min-width: 900px) { .trust__list { grid-template-columns: repeat(4, 1fr); } }
.trust__item {
  display: flex; align-items: center; gap: var(--space-3);
  font-size: var(--fs-small); line-height: 1.35;
  color: var(--color-muted-foreground);
}
.trust__item svg { width: 24px; height: 24px; flex-shrink: 0; color: var(--page-accent); }
.trust__item b { display: block; color: var(--color-foreground); font-size: var(--fs-body); font-weight: 700; }

/* --------------------------------------------------------------------------
   CARDS
   -------------------------------------------------------------------------- */
.card {
  position: relative;
  display: flex; flex-direction: column;
  background: var(--color-card);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-1);
  overflow: hidden;
  transition: box-shadow var(--dur-base) var(--ease-out),
              transform var(--dur-base) var(--ease-out),
              border-color var(--dur-base) var(--ease-out);
}
.card:hover { box-shadow: var(--shadow-2); transform: translateY(-2px); }
.card:focus-within { border-color: var(--page-accent); }
.card__body { padding: var(--space-6); display: flex; flex-direction: column; gap: var(--space-3); flex: 1; }
.card__text { color: var(--color-muted-foreground); }
.card__media { aspect-ratio: 4 / 3; background: var(--page-surface); overflow: hidden; }
.card__media img { width: 100%; height: 100%; object-fit: cover; transition: transform var(--dur-enter) var(--ease-out); }
.card:hover .card__media img { transform: scale(1.04); }

.card__icon {
  display: grid; place-items: center;
  width: 48px; height: 48px;
  border-radius: var(--radius-full);
  background: var(--page-surface);
  color: var(--page-accent);
  margin-bottom: var(--space-1);
}
.card__icon svg { width: 24px; height: 24px; }

/* Card inteiro clicável, mas com <a> real dentro para teclado e leitor de tela */
.card__link { text-decoration: none; color: var(--page-accent); font-weight: 600; margin-top: auto; }
.card__link::after { content: ""; position: absolute; inset: 0; border-radius: inherit; }
.card__link .arrow { transition: transform var(--dur-base) var(--ease-out); display: inline-block; }
.card:hover .card__link .arrow { transform: translateX(4px); }

/* Card de caminho — o bloco que faz o Início cumprir seu papel */
.path-card { --page-accent: var(--card-accent, var(--color-primary)); }
.path-card--infantil   { --card-accent: var(--color-accent);    --card-surface: var(--color-accent-surface); }
.path-card--eventos    { --card-accent: var(--color-secondary); --card-surface: var(--color-secondary-surface); }
.path-card .card__media { background: var(--card-surface); }
.path-card .card__icon  { background: var(--card-surface); color: var(--card-accent); }
.path-card .card__link  { color: var(--card-accent); }
.path-card::before {
  content: ""; position: absolute; inset-inline: 0; top: 0; height: 4px;
  background: var(--card-accent);
  z-index: 1;
}

/* --------------------------------------------------------------------------
   PASSOS
   -------------------------------------------------------------------------- */
.steps { list-style: none; margin: 0; padding: 0; display: grid; gap: var(--space-6); counter-reset: step; }
@media (min-width: 768px) { .steps { grid-template-columns: repeat(3, 1fr); gap: var(--space-8); } }
.steps__item { position: relative; padding-top: var(--space-12); }
.steps__item::before {
  counter-increment: step; content: counter(step);
  position: absolute; top: 0; left: 0;
  display: grid; place-items: center;
  width: 40px; height: 40px; border-radius: var(--radius-full);
  background: var(--page-accent); color: var(--color-on-primary);
  font-family: var(--font-display); font-weight: 600; font-size: 1.125rem;
}
/* linha ligando os passos no desktop */
@media (min-width: 768px) {
  .steps__item:not(:last-child)::after {
    content: ""; position: absolute; top: 20px; left: 48px; right: -24px;
    height: 2px; background: var(--color-border);
  }
}
.steps__item p { margin-top: var(--space-2); color: var(--color-muted-foreground); }

/* --------------------------------------------------------------------------
   DEPOIMENTOS
   -------------------------------------------------------------------------- */
.quote {
  display: flex; flex-direction: column; gap: var(--space-4);
  padding: var(--space-6);
  background: var(--color-card);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-1);
}
.quote__mark { font-family: var(--font-display); font-size: 2.5rem; line-height: .6; color: var(--page-accent); opacity: .5; }
.quote blockquote { margin: 0; font-size: var(--fs-lead); line-height: 1.55; }
.quote figcaption { font-size: var(--fs-small); color: var(--color-muted-foreground); margin-top: auto; }
.quote figcaption b { display: block; color: var(--color-foreground); font-size: var(--fs-body); }

/* --- Avaliação vinda do Google -------------------------------------------
   A atribuição não é enfeite: uma citação sem origem verificável vale menos
   que nenhuma. Nome, quando foi e de onde veio ficam sempre visíveis.
   ------------------------------------------------------------------------- */
.quote--google figcaption { display: flex; flex-direction: column; gap: 2px; }
.quote__quando { font-size: var(--fs-small); color: var(--color-muted-foreground); }
.quote__origem {
  display: inline-flex; align-items: center; gap: 6px;
  margin-top: var(--space-2);
  font-size: var(--fs-small); color: var(--color-muted-foreground);
}
.quote__g { width: 14px; height: 14px; flex-shrink: 0; }

/* Estrelas. Só são desenhadas quando a nota é conhecida — ver avaliacoes.js. */
.stars { display: inline-flex; gap: 2px; line-height: 0; }
.stars__s { width: 16px; height: 16px; fill: #F5A623; flex-shrink: 0; }
.stars__s.is-off { fill: var(--color-border-strong); }

/* Selo com a nota agregada do perfil */
.google-nota {
  display: inline-flex; align-items: center; justify-content: center;
  flex-wrap: wrap;                       /* a 375px o selo quebra em vez de vazar */
  gap: var(--space-2) var(--space-3);
  max-width: 100%;
  padding: var(--space-3) var(--space-6);
  min-height: 48px;
  background: var(--color-card);
  border: 1px solid var(--color-border-strong);
  border-radius: 999px;
  color: var(--color-foreground);
  text-decoration: none;
  box-shadow: var(--shadow-1);
  transition: border-color var(--dur-micro) var(--ease-out),
              transform var(--dur-micro) var(--ease-out);
}
.google-nota:hover { border-color: var(--page-accent); transform: translateY(-1px); }
.google-nota__valor { font-family: var(--font-display); font-weight: 700; font-size: 1.375rem; white-space: nowrap; }
.google-nota__total { font-size: var(--fs-small); color: var(--color-muted-foreground); }
@media (prefers-reduced-motion: reduce) { .google-nota:hover { transform: none; } }

.google-nota__g { width: 18px; height: 18px; flex-shrink: 0; }

@media (max-width: 420px) {
  .google-nota { border-radius: var(--radius-md); }
}

/* --------------------------------------------------------------------------
   FAQ — <details> nativo: acessível de graça e funciona sem JS
   -------------------------------------------------------------------------- */
.faq { display: grid; gap: var(--space-3); max-width: 48rem; }
.faq__item {
  background: var(--color-card);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-md);
  overflow: hidden;
}
.faq__item summary {
  display: flex; align-items: center; justify-content: space-between; gap: var(--space-4);
  padding: var(--space-4) var(--space-6);
  min-height: 56px;
  font-family: var(--font-display); font-weight: 600; font-size: 1.0625rem;
  cursor: pointer; list-style: none;
}
.faq__item summary::-webkit-details-marker { display: none; }
.faq__item summary::after {
  content: ""; flex-shrink: 0;
  width: 12px; height: 12px;
  border-right: 2px solid var(--page-accent); border-bottom: 2px solid var(--page-accent);
  transform: rotate(45deg) translateY(-2px);
  transition: transform var(--dur-base) var(--ease-out);
}
.faq__item[open] summary::after { transform: rotate(225deg) translateY(-2px); }
.faq__item > div { padding: 0 var(--space-6) var(--space-6); color: var(--color-muted-foreground); }

/* --------------------------------------------------------------------------
   FORMULÁRIO
   -------------------------------------------------------------------------- */
/* min-width:0 em toda a cadeia: um item de grid tem `min-width:auto` por
   padrão, e input[type=date] tem largura mínima intrínseca no Chrome —
   sem isso a coluna estica e a página ganha rolagem horizontal a 375px. */
.form { display: grid; gap: var(--space-4); max-width: 40rem; min-width: 0; }
.field { display: grid; gap: var(--space-2); min-width: 0; }
.field__row { display: grid; gap: var(--space-4); min-width: 0; }
.field input, .field select, .field textarea { min-width: 0; }
@media (min-width: 640px) { .field__row { grid-template-columns: 1fr 1fr; } }

.field label { font-weight: 600; font-size: var(--fs-body); }
.field label .req { color: var(--color-destructive); }
.field__hint { font-size: var(--fs-small); color: var(--color-muted-foreground); }

.field input, .field select, .field textarea {
  width: 100%;
  min-height: 48px;
  padding: var(--space-3) var(--space-4);
  font-family: var(--font-body);
  font-size: 1rem;                       /* nunca abaixo de 16px: iOS dá zoom */
  color: var(--color-foreground);
  background: var(--color-card);
  border: 1px solid var(--color-border-strong);   /* nunca --color-border: 1,47:1 */
  border-radius: var(--radius-sm);
  transition: border-color var(--dur-micro) var(--ease-out),
              box-shadow var(--dur-micro) var(--ease-out);
}
.field textarea { min-height: 120px; resize: vertical; line-height: 1.5; }
.field input:hover, .field select:hover, .field textarea:hover { border-color: var(--page-accent); }
.field [aria-invalid="true"] { border-color: var(--color-destructive); border-width: 2px; }

.field__error {
  display: none;
  align-items: flex-start; gap: var(--space-2);
  font-size: var(--fs-small); font-weight: 600;
  color: var(--color-destructive);
}
.field__error::before { content: "⚠"; }        /* nunca só cor */
.field.has-error .field__error { display: flex; }

.form__status { display: none; padding: var(--space-4) var(--space-6); border-radius: var(--radius-md); }
.form__status.is-visible { display: block; }
.form__status--ok  { background: #E7F4EC; color: var(--color-success); border: 1px solid var(--color-success); }
.form__status--err { background: #FCECEB; color: var(--color-destructive); border: 1px solid var(--color-destructive); }
.form__status .btn { margin-top: var(--space-4); }

/* --------------------------------------------------------------------------
   BARRA FIXA DE WHATSAPP
   -------------------------------------------------------------------------- */
.wa-bar {
  position: fixed; inset-inline: 0; bottom: 0;
  z-index: var(--z-fixed-bar);
  padding: var(--space-3) var(--space-4);
  padding-bottom: calc(var(--space-3) + env(safe-area-inset-bottom));
  background: var(--color-card);
  box-shadow: var(--shadow-3);
  transform: translate3d(0, 120%, 0);
  opacity: 0;
  transition: transform 200ms var(--ease-out), opacity 200ms var(--ease-out);
}
.wa-bar.is-visible { transform: none; opacity: 1; }
.wa-bar .btn { min-height: 56px; }        /* área de toque ≥ 56px */
@media (min-width: 768px) {
  .wa-bar {
    inset-inline: auto; right: var(--space-6); bottom: var(--space-6);
    padding: 0; background: none; box-shadow: none; border-radius: var(--radius-full);
  }
  .wa-bar .btn { min-height: 56px; padding-inline: var(--space-6); box-shadow: var(--shadow-3); }
}

/* --------------------------------------------------------------------------
   RODAPÉ
   -------------------------------------------------------------------------- */
.site-footer {
  background: var(--color-primary-surface);
  border-top: 1px solid var(--color-border);
  padding-block: var(--space-16) var(--space-8);
  margin-top: var(--space-section);
}
.site-footer__grid { display: grid; gap: var(--space-8); }
@media (min-width: 768px) { .site-footer__grid { grid-template-columns: 1.4fr 1fr 1.2fr; gap: var(--space-12); } }
.site-footer h2 {
  font-size: 1.0625rem; font-weight: 700; font-family: var(--font-body);
  letter-spacing: .08em; text-transform: uppercase;
  color: var(--color-muted-foreground);
  margin-bottom: var(--space-4);
}
.site-footer ul { list-style: none; margin: 0; padding: 0; display: grid; gap: var(--space-1); }
.site-footer a {
  display: inline-flex; align-items: center; gap: var(--space-2);
  min-height: 44px;
  color: var(--color-foreground);
  text-decoration: none;
}
.site-footer a:hover { color: var(--color-primary); text-decoration: underline; }
.site-footer a svg { width: 20px; height: 20px; color: var(--color-primary); flex-shrink: 0; }
.site-footer address { font-style: normal; color: var(--color-muted-foreground); font-size: var(--fs-small); line-height: 1.6; }
.footer__logo { width: 132px; height: auto; margin-bottom: var(--space-4); }
.footer__tagline { font-family: var(--font-display); color: var(--color-primary); font-size: 1.0625rem; }
.site-footer__bottom {
  margin-top: var(--space-12); padding-top: var(--space-6);
  border-top: 1px solid var(--color-border);
  display: flex; flex-wrap: wrap; gap: var(--space-3) var(--space-6);
  justify-content: space-between;
  font-size: var(--fs-small); color: var(--color-muted-foreground);
}

/* --------------------------------------------------------------------------
   FAIXA DE CHAMADA FINAL
   -------------------------------------------------------------------------- */
.closing {
  position: relative;
  padding: var(--space-16) var(--space-8);
  border-radius: var(--radius-lg);
  background: var(--page-surface);
  text-align: center;
  overflow: hidden;
  isolation: isolate;
}
.closing p { max-width: 52ch; margin-inline: auto; margin-top: var(--space-4); color: var(--color-muted-foreground); font-size: var(--fs-lead); }
.closing .btn-row { justify-content: center; margin-top: var(--space-8); }

.stat-row { display: grid; grid-template-columns: repeat(2, 1fr); gap: var(--space-6); margin-top: var(--space-8); }
@media (min-width: 768px) { .stat-row { grid-template-columns: repeat(4, 1fr); } }
.stat b { display: block; font-family: var(--font-display); font-size: 2rem; color: var(--page-accent); line-height: 1.1; }
.stat span { font-size: var(--fs-small); color: var(--color-muted-foreground); }

/* --------------------------------------------------------------------------
   PENDÊNCIA DE CONTEÚDO — marcador visual dos [CONFIRMAR] do documento.
   Some sozinho em produção (ver README, passo 3).
   -------------------------------------------------------------------------- */
.todo {
  background: #FFF6D8;
  border-bottom: 2px dotted #A17E00;
  color: #5C4700;
  padding-inline: 3px;
  border-radius: 3px;
  font-weight: 700;
}
html[data-env="prod"] .todo { background: none; border: 0; color: inherit; font-weight: inherit; padding: 0; }
