/* =========================================================
   Reset.css
   ========================================================= */
/* 1. HTML, BODY */
html,
body {
    min-height: 100%;
}

/* 1. Box model consistente */
*,
*::before,
*::after {
    box-sizing: border-box;
}

/* 2. Remover margens padrões do browser */
* {
    margin: 0;
}

/* 3. Definir linha de texto razoável para legibilidade */
body {
    line-height: 1.5;
    -webkit-font-smoothing: antialiased;
    text-rendering: optimizeLegibility;
}

/* 4. Imagens e mídias responsivas */
img,
picture,
video,
canvas,
svg {
    display: block;
    max-width: 100%;
}

svg {
    width: 100%;
    height: auto;
}

/* 5. Remover decorações de links herdadas */
a {
    text-decoration: none;
    color: inherit;
}

/* 6. Inputs e botões coerentes e sem resets agressivos */
input,
button,
textarea,
select {
    font: inherit;
    border: 0;
    background: transparent;
    color: inherit;
    outline: none;
}

/* 7. Garantir que os botões sejam clicáveis */
button {
    cursor: pointer;
    background: none;
}

/* 8. Remover bullets sem interferir em acessibilidade */
ul,
ol {
    list-style: none;
    padding: 0;
}

/* 9. Espaço entre parágrafos e headings controlado pelo main.css */
p,
h1,
h2,
h3,
h4,
h5,
h6 {
    overflow-wrap: break-word;
}

/* 10. Tornar root flexível para animações e temas futuros */
html:focus-within {
    scroll-behavior: smooth;
}

/* 11. Ajuste para tabelas */
table {
    border-collapse: collapse;
    border-spacing: 0;
}

/* 12. Formulários sem autocomplete amarelo (Chrome/Webkit) */
input:-webkit-autofill {
    box-shadow: 0 0 0 1000px white inset;
}

/* 13. Redução de inconsistências no button tipo Submit */
button,
input[type="submit"] {
    -webkit-appearance: none;
    appearance: none;
}