/* Meiuca · em breve. Preto e branco, fontes do sistema. */

:root {
  --fundo: #FFFFFF;
  --texto: #0A0A0A;
  --suave: #525252;   /* 7,8:1 sobre branco */
  --linha: #D4D4D4;
  --superficie: #FFFFFF;
  --sombra: 0 1.25rem 3rem rgba(0, 0, 0, 0.14);
  --fonte: ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
  color-scheme: light dark;
}

@media (prefers-color-scheme: dark) {
  :root {
    --fundo: #0A0A0A;
    --texto: #FAFAFA;
    --suave: #A3A3A3; /* 7,9:1 sobre #0A0A0A */
    --linha: #333333;
    --superficie: #171717;
    --sombra: 0 1.25rem 3rem rgba(0, 0, 0, 0.6);
  }
}

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

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

body {
  margin: 0;
  min-height: 100vh;
  min-height: 100svh;
  display: flex;
  flex-direction: column;
  background: var(--fundo);
  color: var(--texto);
  font-family: var(--fonte);
  font-size: 1rem;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

a { color: var(--texto); text-underline-offset: 0.2em; text-decoration-thickness: 1px; }
a:hover { text-decoration-thickness: 2px; }

:focus-visible {
  outline: 3px solid var(--texto);
  outline-offset: 3px;
  border-radius: 4px;
}

/* Página inicial */

.inicio {
  flex: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 1rem;
  padding: 4rem 1.5rem 3rem;
  text-align: center;
  animation: surgir 600ms cubic-bezier(0.2, 0.7, 0.2, 1) both;
}

.marca {
  margin: 0;
  font-size: clamp(3.5rem, 19vw, 9rem);
  font-weight: 800;
  line-height: 1;
  letter-spacing: -0.05em;
}

.em-breve {
  margin: 0;
  color: var(--suave);
  font-size: clamp(0.9375rem, 3.6vw, 1.125rem);
  font-weight: 600;
  letter-spacing: 0.18em;
  padding-left: 0.18em; /* compensa o espaço depois da última letra */
  text-transform: uppercase;
}

/* Rodapé */

.rodape {
  padding: 1.5rem;
  border-top: 1px solid var(--linha);
  font-size: 0.875rem;
}

.rodape nav {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.5rem 1.5rem;
  max-width: 44rem;
  margin: 0 auto;
}

.rodape a, .link { color: var(--suave); }
.rodape a:hover, .link:hover { color: var(--texto); text-decoration-thickness: 2px; }

.link {
  padding: 0;
  border: 0;
  background: none;
  font: inherit;
  text-decoration: underline;
  text-underline-offset: 0.2em;
  text-decoration-thickness: 1px;
  cursor: pointer;
}

/* Política de privacidade */

.politica {
  flex: 1;
  width: 100%;
  max-width: 44rem;
  margin: 0 auto;
  padding: 2rem 1.5rem 4rem;
}

.politica-topo { margin-bottom: 2.5rem; }

.voltar {
  display: inline-block;
  margin-bottom: 1.5rem;
  font-size: 1.5rem;
  font-weight: 800;
  letter-spacing: -0.04em;
  text-decoration: none;
}

.politica h1 {
  margin: 0;
  font-size: clamp(1.75rem, 6vw, 2.5rem);
  font-weight: 700;
  line-height: 1.15;
  letter-spacing: -0.02em;
}

.politica h2 {
  margin: 2.25rem 0 0.5rem;
  font-size: 1.25rem;
  font-weight: 700;
  line-height: 1.3;
}

.politica p, .politica li { color: var(--suave); }
.politica p { margin: 0 0 0.875rem; }
.politica ul { margin: 0 0 0.875rem; padding-left: 1.25rem; }
.politica li { margin-bottom: 0.375rem; }
.politica strong, .politica code { color: var(--texto); }
.politica code { font-family: ui-monospace, SFMono-Regular, Menlo, monospace; font-size: 0.9em; }
.politica .data { margin-top: 0.75rem; font-size: 0.9375rem; }
.politica .link { color: var(--texto); }

.tabela { overflow-x: auto; margin: 0 0 0.875rem; }

.politica table {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.875rem;
  line-height: 1.45;
}

.politica th, .politica td {
  padding: 0.625rem 0.625rem 0.625rem 0;
  border-bottom: 1px solid var(--linha);
  text-align: left;
  vertical-align: top;
}

.politica th:last-child, .politica td:last-child { padding-right: 0; }

@media (min-width: 48rem) {
  .politica table { font-size: 0.9375rem; }
}

.politica th { font-weight: 700; }
.politica td { color: var(--suave); }

/* Banner de consentimento */

.consentimento {
  position: fixed;
  z-index: 10;
  left: 1rem;
  right: 1rem;
  bottom: 1rem;
  max-width: 34rem;
  margin: 0 auto;
  padding: 1.25rem;
  border: 1px solid var(--linha);
  border-radius: 1rem;
  background: var(--superficie);
  color: var(--texto);
  box-shadow: var(--sombra);
  font-size: 0.9375rem;
  line-height: 1.55;
  text-align: left;
  animation: subir 320ms cubic-bezier(0.2, 0.7, 0.2, 1) both;
}

.consentimento[hidden] { display: none; }

.consentimento h2 {
  margin: 0 0 0.5rem;
  font-size: 1.0625rem;
  font-weight: 700;
  line-height: 1.3;
}

.consentimento h2:focus { outline: none; }
.consentimento h2:focus-visible { outline: 3px solid var(--texto); outline-offset: 3px; }

.consentimento p { margin: 0 0 0.75rem; color: var(--suave); }
.consentimento [data-consent-status]:empty { display: none; }
.consentimento [data-consent-status] { color: var(--texto); font-weight: 600; }

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

.botao {
  flex: 1 1 10rem;
  min-height: 2.75rem;
  padding: 0.625rem 1.125rem;
  border: 2px solid var(--texto);
  border-radius: 999px;
  font: inherit;
  font-weight: 700;
  cursor: pointer;
  transition: background-color 150ms ease, color 150ms ease, opacity 150ms ease;
}

.botao-contorno { background: transparent; color: var(--texto); }
.botao-contorno:hover { background: var(--linha); }

.botao-primario { background: var(--texto); color: var(--fundo); }
.botao-primario:hover { opacity: 0.85; }

/* Espaço para o banner não cobrir o conteúdo (altura medida pelo consent.js) */
.com-consentimento body { padding-bottom: calc(var(--consentimento-altura, 0px) + 2rem); }

@keyframes surgir {
  from { opacity: 0; transform: translateY(0.75rem); }
  to { opacity: 1; transform: none; }
}

@keyframes subir {
  from { opacity: 0; transform: translateY(1rem); }
  to { opacity: 1; transform: none; }
}

@media (min-width: 48rem) {
  .rodape { padding: 1.5rem 2rem; }
  .politica { padding: 3rem 2rem 5rem; }
  .consentimento { left: 1.5rem; right: auto; bottom: 1.5rem; margin: 0; padding: 1.5rem; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
    scroll-behavior: auto !important;
  }
}
