/* Carregar 1º dos 5 — ordem completa documentada em style.css. */

/* ================================================================
   FRAMEWORK CSS — FUNDAMENTOS (ver README.md, seção "Framework CSS")
   ================================================================

   BASE DE ESCALA

   @media (orientation: landscape) { html { font-size: 1vw; } }
   @media (orientation: portrait)  { html { font-size: 1vh; } }

   @media (orientation: landscape) { body { font-size: 150%; } }
   @media (orientation: portrait)  { body { font-size: 175%; } }

   html recebe 1vw ou 1vh como unidade base. body multiplica esse valor.
   Resultado: 1em no contexto do body é sempre proporcional ao viewport.

   NÃO usar "dvh" aqui (já tentado e revertido — ver conversa): trocar a
   BASE de escala tipográfica pra "dvh" faz a fonte inteira do site
   recalcular ao vivo toda vez que a barra de endereço do Safari
   esconde/aparece durante o scroll, causando um reflow visível da página
   inteira. O jeito certo de usar "dvh" (visto em app/toaquiplay e
   app/toaquimed, mesmo framework) é só em CONTAINERS estruturais de altura
   cheia (".ac-shell" aqui em style.css já faz isso: "min-height: 100vh"
   seguido de "min-height: 100dvh"), nunca na base de "font-size" do "html".

   REGRA ÚNICA

   Tudo em em. Nunca px, nunca rem.

   Espaçamentos, tamanhos de fonte, bordas, border-radius, ícones — todos
   em em. Como em herda da base vw/vh, escalam automaticamente em
   qualquer tela.

   RESPONSIVE

   - landscape = desktop
   - portrait = mobile

   @media (orientation) é usado apenas para:
   1. As 4 regras de escala acima
   2. Mudanças estruturais de layout (número de colunas, display none/flex/grid)

   Tamanho e espaçamento não precisam de media query — o em resolve sozinho.

   O QUE SE ELIMINA

   Não existem breakpoints por min-width para sobrescrever tamanhos.
   Sem isso:

     não existe: @media (min-width: 768px) { font-size: 16px; }
     não existe: @media (max-width: 575px) { .titulo { font-size: 1.5rem; } }
     não existe: @media (min-width: 1024px) { .section { padding: 64px 0; } }

   FONTES

   @font-face com font-display: swap, arquivos .woff2 locais.
   font-family definida no html.
   ================================================================ */

/* ================================================================
   RESET
   ================================================================ */

@media (orientation: landscape) { html { font-size: 1vw; } }
@media (orientation: portrait)  { html { font-size: 1vh; } }

@media (orientation: landscape) { body { font-size: 150%; } }
@media (orientation: portrait)  { body { font-size: 175%; } }

*, *::before, *::after {
    box-sizing: border-box;
}

html, body {
    width: 100%;
    margin: 0;
    padding: 0;
}

html {
    font-family: 'Poppins', sans-serif;
    line-height: 1.5;
    color: var(--text);
    word-wrap: break-word;
    hyphens: auto;
}

body {
    background-color: var(--white);
    letter-spacing: 0.01em;
}

body, h1, h2, h3, h4, h5, h6, p, a, blockquote, input, pre, hr {
    margin: 0;
}

h1, h2, h3, h4, h5, h6 {
    font-weight: 600;
    line-height: 1.2;
}

a {
    color: inherit;
    text-decoration: none;
}

img {
    max-width: 100%;
    height: auto;
    display: block;
}

svg {
    display: inline-block;
    vertical-align: middle;
    flex-shrink: 0;
    fill: currentColor;
}

button {
    cursor: pointer;
    border: none;
    background: none;
    font-family: inherit;
    font-size: inherit;
    color: inherit;
}

input, select, textarea {
    font-family: inherit;
    font-size: inherit;
    color: inherit;
    box-sizing: border-box;
}

input:focus, select:focus, textarea:focus {
    outline: none;
}

ul, ol {
    list-style: none;
    padding: 0;
    margin: 0;
}

hr {
    border: none;
    border-bottom: 0.0625em solid var(--border);
}

::placeholder { color: #a6a5ac; }
::selection { color: var(--white); background: var(--primary); }
:disabled { opacity: 0.5; cursor: not-allowed; }
