/* ============================================================
   AutoScore — Base (tipografia, headings, links, containers)
   ============================================================ */

/* Google Fonts — Inter */
@import url("https://fonts.googleapis.com/css2?family=Inter:wght@400;500;600;700;800&display=swap");

/* Tipografia base */
body {
    font-size: 16px;
}
h1 {
    font-size: clamp(28px, 4vw, 52px);
    font-weight: 800;
    line-height: 1.15;
    letter-spacing: -0.025em;
}
h2 {
    font-size: clamp(22px, 3vw, 38px);
    font-weight: 800;
    line-height: 1.2;
    letter-spacing: -0.02em;
}
h3 {
    font-size: clamp(18px, 2vw, 24px);
    font-weight: 700;
    line-height: 1.3;
}
h4 {
    font-size: 17px;
    font-weight: 700;
    line-height: 1.4;
}
h5 {
    font-size: 15px;
    font-weight: 600;
}
h6 {
    font-size: 14px;
    font-weight: 600;
}
p {
    color: var(--color-gray-600);
    line-height: 1.7;
}
small {
    font-size: 13px;
}

/* Skip link acessível */
.skip-link {
    position: absolute;
    top: -40px;
    left: 8px;
    background: var(--color-primary);
    color: #fff;
    padding: 8px 16px;
    border-radius: 0 0 var(--radius-sm) var(--radius-sm);
    font-size: 14px;
    font-weight: 600;
    z-index: 9999;
    transition: top var(--transition-fast);
}
.skip-link:focus {
    top: 0;
}

/* Wrapper único do site: header, hero e conteúdo público */
.site-wrapper,
.container,
.header-inner,
.hero-inner {
    width: min(calc(100% - (var(--site-gutter) * 2)), var(--site-container));
    max-width: none;
    margin-inline: auto;
}

.container {
    padding: 0;
}

/* Seções */
section {
    padding: 80px 0;
}
.section-soft {
    background: var(--color-gray-50);
}

.section-head {
    text-align: center;
    margin-bottom: 56px;
}
.section-head h2 {
    margin-bottom: 12px;
}
.section-head p {
    max-width: 640px;
    margin: 0 auto;
    font-size: 17px;
}

/* Eyebrow */
.eyebrow {
    display: inline-block;
    font-size: 13px;
    font-weight: 700;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: var(--color-primary);
    margin-bottom: 10px;
}

/* Links */
a:not([class]) {
    color: var(--color-primary);
}
a:not([class]):hover {
    text-decoration: underline;
}

/* Texto centrado */
.text-center {
    text-align: center;
}

/* Reveal animation */
.reveal {
    opacity: 0;
    transform: translateY(20px);
    transition:
        opacity 0.6s ease,
        transform 0.6s ease;
}
.reveal.in {
    opacity: 1;
    transform: translateY(0);
}
