/* ==========================================================================
   Método Caracol — CSS Reset (reset.css)
   Programadores: Graciliano Tolentino; Willian Albarelo
   Método Caracol, marca registrada.
   Data de geração: 2026-01-21
   Padrão: High Tech 12/10 (Ciclo 01)
   Objetivo (P0): neutralizar inconsistências entre browsers,
   SEM aplicar tema, SEM aplicar layout, SEM criar componentes.

   Contrato:
   - Não define cores, fontes do tema, gaps, radius, sombras.
   - Não cria classes de UI.
   - Apenas normaliza comportamento base do navegador.
   ========================================================================== */

/* --------------------------------------------------------------------------
   Box model previsível
   -------------------------------------------------------------------------- */
*,
*::before,
*::after {
  box-sizing: border-box;
}

/* --------------------------------------------------------------------------
   Remoção de margens/paddings padrões
   -------------------------------------------------------------------------- */
html,
body,
h1,
h2,
h3,
h4,
h5,
h6,
p,
blockquote,
figure,
pre,
dl,
dd {
  margin: 0;
  padding: 0;
}

/* --------------------------------------------------------------------------
   Listas
   -------------------------------------------------------------------------- */
ul,
ol {
  margin: 0;
  padding: 0;
  list-style: none;
}

/* --------------------------------------------------------------------------
   Tipos de texto base (sem tema)
   -------------------------------------------------------------------------- */
h1,
h2,
h3,
h4,
h5,
h6 {
  font-size: inherit;
  font-weight: inherit;
}

small {
  font-size: 0.875em;
}

/* --------------------------------------------------------------------------
   Mídia
   -------------------------------------------------------------------------- */
img,
picture,
video,
canvas,
svg {
  display: block;
  max-width: 100%;
}

/* --------------------------------------------------------------------------
   Tabelas
   -------------------------------------------------------------------------- */
table {
  border-collapse: collapse;
  border-spacing: 0;
}

/* --------------------------------------------------------------------------
   Formulários — normalização sem tema
   -------------------------------------------------------------------------- */
button,
input,
select,
textarea {
  font: inherit;
  color: inherit;
  margin: 0;
}

button {
  background: none;
  border: none;
  padding: 0;
  cursor: pointer;
}

textarea {
  resize: vertical;
}

/* Remove estilos inconsistentes */
input[type="search"] {
  -webkit-appearance: none;
  appearance: none;
}

input::-webkit-search-decoration,
input::-webkit-search-cancel-button {
  display: none;
}

/* --------------------------------------------------------------------------
   Elementos interativos
   -------------------------------------------------------------------------- */
a {
  color: inherit;
  text-decoration: none;
}

button:focus {
  outline: none;
}

/* --------------------------------------------------------------------------
   Elementos semânticos HTML5
   -------------------------------------------------------------------------- */
article,
aside,
details,
figcaption,
figure,
footer,
header,
main,
nav,
section {
  display: block;
}

/* --------------------------------------------------------------------------
   Conteúdo embutido
   -------------------------------------------------------------------------- */
iframe {
  border: 0;
}

/* --------------------------------------------------------------------------
   Acessibilidade base (não visual)
   -------------------------------------------------------------------------- */
[hidden] {
  display: none !important;
}

/* --------------------------------------------------------------------------
   Nota intencional (Caracol 12/10)
   - reset.css NÃO aplica cores, fontes do tema ou espaçamentos visuais.
   - layout.css é responsável por tipografia/base visual.
   - components.css e sections.css constroem a UI.
   -------------------------------------------------------------------------- */
