/* ==========================================================================
   Base — tipografia e comportamento global da página
   ========================================================================== */

html {
    color-scheme: dark;
    background: var(--co-deep);
}

body {
    font-family: var(--font-text);
    font-size: var(--fs-md);
    color: var(--text);
    background: var(--co-deep);
    overflow-x: clip;
}

/* Trava o scroll enquanto o menu mobile está aberto (classe aplicada por header.js). */
body.is-locked {
    overflow: hidden;
    touch-action: none;
}

.sr-only {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0 0 0 0);
    clip-path: inset(50%);
    white-space: nowrap;
    border: 0;
}

.skip-link {
    position: fixed;
    top: var(--space-3);
    left: var(--space-3);
    z-index: var(--z-skip);
    padding: var(--space-3) var(--space-5);
    background: var(--co-accent);
    color: var(--text);
    font-weight: 600;
    border-radius: var(--radius-pill);
    transform: translateY(-200%);
    transition: transform var(--dur-base) var(--ease-out-expo);
}

.skip-link:focus-visible {
    transform: translateY(0);
    outline-offset: 2px;
}

.icon {
    width: 1em;
    height: 1em;
    fill: none;
    stroke: currentColor;
    stroke-width: 2;
    stroke-linecap: round;
    stroke-linejoin: round;
    flex: none;
}
