/*
 * =============================================================================
 * Du Monteiro Camisaria - Base CSS
 * Reset, tipografia base, box-sizing
 * =============================================================================
 */

@import url('https://fonts.googleapis.com/css2?family=Inter:wght@400;500;600;700&display=swap');

/* Reset */
*,
*::before,
*::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

html {
    font-size: 16px;
    -webkit-text-size-adjust: 100%;
    scroll-behavior: smooth;
}

body {
    font-family: var(--dm-font-family);
    font-size: var(--dm-font-base);
    font-weight: var(--dm-weight-normal);
    line-height: var(--dm-line-height);
    color: var(--dm-text);
    background-color: var(--dm-bg);
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

/* Tipografia */
h1, h2, h3, h4, h5, h6 {
    font-weight: var(--dm-weight-semibold);
    line-height: var(--dm-line-height-tight);
    color: var(--dm-text);
    margin-bottom: var(--dm-space-3);
}

h1 { font-size: var(--dm-font-3xl); }
h2 { font-size: var(--dm-font-2xl); }
h3 { font-size: var(--dm-font-xl); }
h4 { font-size: var(--dm-font-lg); }

p {
    margin-bottom: var(--dm-space-4);
}

a {
    color: var(--dm-primary);
    text-decoration: none;
    transition: color var(--dm-transition-fast);
}
a:hover {
    color: var(--dm-primary-dark);
}

img {
    max-width: 100%;
    height: auto;
    display: block;
}

/* Focus visível para acessibilidade */
:focus-visible {
    outline: 2px solid var(--dm-primary);
    outline-offset: 2px;
}

/* Seleção */
::selection {
    background-color: var(--dm-primary-100);
    color: var(--dm-primary-900);
}

/* Scrollbar customizada */
::-webkit-scrollbar {
    width: 8px;
    height: 8px;
}
::-webkit-scrollbar-track {
    background: var(--dm-surface-alt);
}
::-webkit-scrollbar-thumb {
    background: var(--dm-text-muted);
    border-radius: var(--dm-radius-sm);
}
::-webkit-scrollbar-thumb:hover {
    background: var(--dm-text-secondary);
}
