/* ============================================================================
   GLOBALS — Reset base e defaults de elementos HTML
   ============================================================================ */

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

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

/* Scrollbar — dark theme */
::-webkit-scrollbar {
    width: 6px;
    height: 6px;
}

::-webkit-scrollbar-track {
    background: transparent;
}

::-webkit-scrollbar-thumb {
    background: var(--color-neutral-700);
    border-radius: var(--radius-pill);
}

::-webkit-scrollbar-thumb:hover {
    background: var(--color-neutral-600);
}

/* Firefox */
* {
    scrollbar-width: thin;
    scrollbar-color: var(--color-neutral-700) transparent;
}

/* Body */
body {
    margin: 0;
    background-color: var(--color-bg-base);
    color: var(--color-text-base);
    font-family: var(--font-family-sans);
    font-size: var(--font-size-md);
    line-height: var(--font-height-normal);
}

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

/* Headings */
h1, h2, h3, h4, h5, h6 {
    margin: 0;
    font-family: var(--font-family-display);
    font-weight: var(--font-weight-medium);
    line-height: var(--font-height-tight);
}

/* Paragraphs */
p {
    margin: 0;
    margin-bottom: var(--space-md);
}

/* Images */
img {
    display: block;
    max-width: 100%;
}

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

/* Buttons */
button {
    font-family: inherit;
    cursor: pointer;
    border: none;
    background: none;
    padding: 0;
}

/* Form elements */
input, select, textarea {
    font-family: inherit;
    font-size: inherit;
}

/* Lucide icons */
.lucide {
    width: 1em;
    height: 1em;
    stroke-width: 2;
}
