/* Sistema Rosa Binotti — Reset e base tipográfica */

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

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

body {
    margin: 0;
    background: var(--rb-background);
    color: var(--rb-text-primary);
    font-family: var(--rb-font-interface);
    font-size: 15px;
    line-height: 1.55;
    -webkit-font-smoothing: antialiased;
}

h1, h2, h3, h4 {
    font-family: var(--rb-font-title);
    color: var(--rb-primary);
    font-weight: 600;
    margin: 0 0 8px;
    line-height: 1.2;
}

h1 { font-size: 32px; }
h2 { font-size: 26px; }
h3 { font-size: 21px; }
h4 { font-size: 18px; }

p {
    margin: 0 0 12px;
    color: var(--rb-text-secondary);
}

a {
    color: var(--rb-primary);
    text-decoration: none;
}
a:hover {
    text-decoration: underline;
}

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

button {
    font-family: inherit;
}

summary {
    cursor: pointer;
}

ul, ol {
    margin: 0;
    padding: 0;
}

:focus-visible {
    outline: 2px solid var(--rb-primary);
    outline-offset: 2px;
}

.visually-hidden {
    position: absolute;
    width: 1px;
    height: 1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
}

/* Utilitários de espaçamento — evitam estilo inline nas views */
.mt-4 { margin-top: 16px; }
.mt-5 { margin-top: 20px; }

.text-muted { color: var(--rb-text-muted); }
