/* =============================================================================
   ALCORA — Base / reset / tipografia elementar
   ============================================================================= */

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

* { margin: 0; }

html {
    -webkit-text-size-adjust: 100%;
    scroll-behavior: smooth;
    scroll-padding-top: 6rem;
}

@media (prefers-reduced-motion: reduce) {
    html { scroll-behavior: auto; }
    *, *::before, *::after {
        animation-duration: 0.001ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.001ms !important;
    }
}

body {
    font-family: var(--font-body);
    font-size: var(--step-0);
    line-height: var(--lh-body);
    font-weight: 400;
    color: var(--ink);
    background: var(--paper);
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    text-rendering: optimizeLegibility;
    overflow-x: hidden;
}

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

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

button, input, textarea, select {
    font: inherit;
    color: inherit;
}

:focus-visible {
    outline: 2px solid var(--accent);
    outline-offset: 3px;
    border-radius: 2px;
}

::selection {
    background: var(--navy-700);
    color: var(--paper);
}

/* ---- Tipografia de títulos (serif display) ---- */
h1, h2, h3, h4 {
    font-family: var(--font-display);
    font-weight: 400;
    line-height: var(--lh-snug);
    letter-spacing: -0.01em;
    color: var(--ink);
    text-wrap: balance;
}

h1 { font-size: var(--step-4); line-height: var(--lh-tight); }
h2 { font-size: var(--step-3); }
h3 { font-size: var(--step-2); }

p { text-wrap: pretty; }

strong { font-weight: 600; }

/* Itálico da Cormorant é lindíssimo — usado como acento editorial */
.italic { font-style: italic; }

/* ---- Utilitários de texto ---- */
.eyebrow {
    font-family: var(--font-body);
    font-size: var(--step--1);
    font-weight: 600;
    letter-spacing: var(--tracking-wide);
    text-transform: uppercase;
    color: var(--accent-ink);
    display: inline-flex;
    align-items: center;
    gap: 0.7rem;
}

.eyebrow::before {
    content: "";
    width: 1.75rem;
    height: 1px;
    background: var(--accent);
    display: inline-block;
}

.eyebrow--center { justify-content: center; }

.lede {
    font-size: var(--step-1);
    line-height: 1.5;
    color: var(--muted);
    font-weight: 400;
}

.muted { color: var(--muted); }
.serif { font-family: var(--font-display); }
