/* RESET.CSS - Normalização e Reset de Estilos */

/* Box-sizing para todos os elementos */
*, *::before, *::after {
    box-sizing: border-box;
}

/* Reset de margem e padding */
* {
    margin: 0;
    padding: 0;
}

/* Reset de elementos HTML5 */
html, body, div, span, applet, object, iframe,
h1, h2, h3, h4, h5, h6, p, blockquote, pre,
a, abbr, acronym, address, big, cite, code,
del, dfn, em, img, ins, kbd, q, s, samp,
small, strike, strong, sub, sup, tt, var,
b, u, i, center,
dl, dt, dd, ol, ul, li,
fieldset, form, label, legend,
table, caption, tbody, tfoot, thead, tr, th, td,
article, aside, canvas, details, embed,
figure, figcaption, footer, header, hgroup,
menu, nav, output, ruby, section, summary,
time, mark, audio, video {
    margin: 0;
    padding: 0;
    border: 0;
    font-size: 100%;
    font: inherit;
    vertical-align: baseline;
}

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

/* Configurações do body */
body {
    line-height: 1;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

/* Reset de listas */
ol, ul {
    list-style: none;
}

/* Reset de citações */
blockquote, q {
    quotes: none;
}

blockquote:before, blockquote:after,
q:before, q:after {
    content: '';
    content: none;
}

/* Reset de tabelas */
table {
    border-collapse: collapse;
    border-spacing: 0;
}

/* Reset de botões e inputs */
button, input, optgroup, select, textarea {
    font-family: inherit;
    font-size: 100%;
    line-height: 1.15;
    margin: 0;
}

button, input {
    overflow: visible;
}

button, select {
    text-transform: none;
}

/* Reset de aparência de botões */
button, [type="button"], [type="reset"], [type="submit"] {
    -webkit-appearance: button;
    appearance: button;
    background: none;
    border: none;
    cursor: pointer;
}

button::-moz-focus-inner,
[type="button"]::-moz-focus-inner,
[type="reset"]::-moz-focus-inner,
[type="submit"]::-moz-focus-inner {
    border-style: none;
    padding: 0;
}

button:-moz-focusring,
[type="button"]:-moz-focusring,
[type="reset"]:-moz-focusring,
[type="submit"]:-moz-focusring {
    outline: 1px dotted ButtonText;
}

/* Reset de fieldsets */
fieldset {
    padding: 0.35em 0.75em 0.625em;
}

legend {
    box-sizing: border-box;
    color: inherit;
    display: table;
    max-width: 100%;
    padding: 0;
    white-space: normal;
}

/* Reset de progress */
progress {
    vertical-align: baseline;
}

/* Reset de textarea */
textarea {
    overflow: auto;
}

/* Reset de checkboxes e radio buttons */
[type="checkbox"], [type="radio"] {
    box-sizing: border-box;
    padding: 0;
}

[type="number"]::-webkit-inner-spin-button,
[type="number"]::-webkit-outer-spin-button {
    height: auto;
}

/* Reset de campos de busca */
[type="search"] {
    -webkit-appearance: textfield;
    -moz-appearance: textfield;
    -ms-appearance: textfield;
    appearance: textfield;
    outline-offset: -2px;
}

[type="search"]::-webkit-search-decoration {
    -webkit-appearance: none;
    appearance: none;
}

/* Reset de file upload */
::-webkit-file-upload-button {
    -webkit-appearance: button;
    appearance: button;
    font: inherit;
}

/* Reset de elementos interativos */
details {
    display: block;
}

summary {
    display: list-item;
}

/* Reset de elementos de template */
template {
    display: none;
}

/* Reset de hidden */
[hidden] {
    display: none;
}

/* Configurações de acessibilidade */
:focus {
    outline: 2px solid transparent;
    outline-offset: 2px;
}

/* Melhoria da seleção de texto */
::selection {
    background-color: rgba(139, 92, 246, 0.3);
    color: inherit;
}

::-moz-selection {
    background-color: rgba(139, 92, 246, 0.3);
    color: inherit;
}

/* Smooth scroll */
html {
    scroll-behavior: smooth;
}

/* Configurações de imagem responsiva */
img, picture, video, canvas, svg {
    display: block;
    max-width: 100%;
    height: auto;
}

/* Reset de estilos de links */
a {
    color: inherit;
    text-decoration: none;
}

/* Configurações de fonte */
input, button, textarea, select {
    font-family: inherit;
}