/* Reset e normalização base */

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

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

body {
    margin: 0;
    padding: 0;
    background-color: var(--color-bg);
    color: var(--color-text);
    font-family: var(--font-body);
    font-size: var(--text-base);
    line-height: 1.7;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

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

a { color: inherit; text-decoration: none; }

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

h1, h2, h3, h4, h5, h6 {
    margin: 0;
    font-family: var(--font-heading);
    line-height: 1.2;
    color: var(--color-primary);
}

p { margin: 0; }

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

address { font-style: normal; }

/* Skip link acessível */
.fl-skip-link {
    position: absolute;
    top: -100%;
    left: var(--space-4);
    z-index: 9999;
    padding: var(--space-2) var(--space-4);
    background: var(--color-primary);
    color: var(--color-white);
    font-size: var(--text-sm);
    border-radius: 0 0 var(--radius) var(--radius);
    transition: top var(--transition);
}
.fl-skip-link:focus { top: 0; }

/* Screen reader only */
.fl-sr-only {
    position: absolute;
    width: 1px; height: 1px;
    padding: 0; margin: -1px;
    overflow: hidden;
    clip: rect(0,0,0,0);
    white-space: nowrap;
    border: 0;
}
