/* Design Mat · tokens da marca Ghustavo Guimarães (manual v1.1)
   Trocar este arquivo troca a identidade; os layouts usam só estas variáveis. */
@font-face {
  font-family: "Nunito";
  src: url("nunito-latin-wght-normal.woff2") format("woff2");
  font-weight: 200 1000;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "Nunito";
  src: url("nunito-latin-wght-italic.woff2") format("woff2");
  font-weight: 200 1000;
  font-style: italic;
  font-display: swap;
}

:root {
  /* cores da marca */
  --petroleo: #1A3A49;
  --petroleo-medio: #3F6672;
  --nevoa: #A7C1C3;
  --barro: #B87452;
  --areia: #E9DFD2;
  --papel: #F6F2EC;
  --branco: #FFFFFF;

  /* papéis de cor */
  --cor-fundo: var(--papel);
  --cor-superficie: var(--branco);
  --cor-superficie-2: var(--areia);
  --cor-texto: var(--petroleo);
  --cor-texto-suave: var(--petroleo-medio);
  --cor-acento: var(--barro);          /* só para elementos grandes ou decorativos */
  --cor-acao: var(--petroleo);
  --cor-acao-texto: var(--papel);
  --cor-foco: var(--barro);

  /* tipografia */
  --fonte: "Nunito", system-ui, -apple-system, "Segoe UI", sans-serif;
  --peso-titulo: 800;
  --peso-texto: 400;
  --t-1: clamp(2.4rem, 1.6rem + 3.6vw, 4.2rem);
  --t-2: clamp(1.8rem, 1.4rem + 1.8vw, 2.6rem);
  --t-3: clamp(1.25rem, 1.1rem + 0.6vw, 1.5rem);
  --t-4: 1.125rem;
  --t-5: 1rem;
  --t-6: 0.875rem;
  --entrelinha: 1.6;

  /* espaço e forma */
  --esp-1: 0.25rem;
  --esp-2: 0.5rem;
  --esp-3: 0.75rem;
  --esp-4: 1rem;
  --esp-5: 1.5rem;
  --esp-6: 2rem;
  --esp-7: 3rem;
  --esp-8: 5rem;
  --largura-max: 72rem;
  --raio: 1rem;
  --raio-pilula: 999px;
  --sombra: 0 1px 2px rgba(26, 58, 73, 0.06), 0 8px 24px rgba(26, 58, 73, 0.08);
}

/* base comum */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: var(--fonte);
  font-weight: var(--peso-texto);
  font-size: var(--t-5);
  line-height: var(--entrelinha);
  color: var(--cor-texto);
  background: var(--cor-fundo);
}
img, svg { max-width: 100%; height: auto; display: block; }
h1, h2, h3 { line-height: 1.15; margin: 0; }
p { margin: 0; }
a { color: inherit; }
:focus-visible { outline: 3px solid var(--cor-foco); outline-offset: 3px; border-radius: 4px; }
.pular {
  position: absolute; left: var(--esp-4); top: -100px; z-index: 100;
  background: var(--petroleo); color: var(--papel); padding: var(--esp-3) var(--esp-4);
  border-radius: var(--raio-pilula); text-decoration: none;
}
.pular:focus { top: var(--esp-4); }
.visualmente-oculto {
  position: absolute !important; width: 1px; height: 1px; overflow: hidden;
  clip: rect(0 0 0 0); white-space: nowrap;
}
.aviso-prototipo {
  background: var(--petroleo); color: var(--papel);
  font-size: var(--t-6); text-align: center; padding: var(--esp-2) var(--esp-4);
}
.placeholder { color: var(--petroleo-medio); font-style: italic; }

/* FAQ nativo (details/summary): teclado e leitor de tela funcionam sem JS */
details summary { cursor: pointer; list-style: none; }
details summary::-webkit-details-marker { display: none; }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition: none !important; animation: none !important; }
}
