/* =========================================================
   NAUE 2030 — base.css
   Reset, tokens, tipografia, container, botões, utilitários
   ========================================================= */

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

:root {
    /* Cores — marca */
    --green: #1f6b46;
    --green-deep: #14432d;
    --green-bright: #35c285;
    --green-soft: rgba(31, 107, 70, 0.08);

    /* Cores — superfícies */
    --ink: #0d1410;
    --ink-2: #13201a;
    --ink-3: #1a2b22;
    --paper: #f4f7f5;
    --paper-2: #ffffff;

    /* Cores — texto */
    --text: #24312a;
    --text-muted: #5c6b62;
    --text-on-dark: #eef4f0;
    --text-on-dark-muted: rgba(238, 244, 240, 0.72);

    /* Bordas e sombras */
    --border: rgba(13, 20, 16, 0.10);
    --border-on-dark: rgba(238, 244, 240, 0.14);
    --shadow-sm: 0 2px 10px rgba(13, 20, 16, 0.06);
    --shadow-md: 0 12px 32px rgba(13, 20, 16, 0.10);
    --shadow-lg: 0 24px 60px rgba(13, 20, 16, 0.16);

    /* Tipografia — Orbitron (display geométrica futurista),
       Exo 2 (texto) e IBM Plex Mono (anotações técnicas) */
    --font-display: "Orbitron", "Segoe UI", sans-serif;
    --font-body: "Exo 2", "Segoe UI", sans-serif;
    --font-mono: "IBM Plex Mono", "Consolas", monospace;

    /* Escala fluida (Unbounded é larga: corpos menores, mesmo impacto) */
    --fs-hero: clamp(2rem, 5.4vw, 4.4rem);
    --fs-h1: clamp(1.7rem, 3.6vw, 2.7rem);
    --fs-h2: clamp(1.3rem, 2.4vw, 1.85rem);
    --fs-h3: clamp(1.02rem, 1.5vw, 1.18rem);
    --fs-lead: clamp(1.05rem, 1.6vw, 1.25rem);
    --fs-body: 1rem;
    --fs-small: 0.875rem;

    /* Espaçamento (escala 8px) */
    --sp-1: 8px;
    --sp-2: 16px;
    --sp-3: 24px;
    --sp-4: 32px;
    --sp-6: 48px;
    --sp-8: 64px;
    --sp-12: 96px;
    --sp-16: 128px;

    /* Raios — escala única e técnica (consistência) */
    --radius-sm: 8px;
    --radius: 14px;
    --radius-md: 14px;
    --radius-lg: 14px;

    /* Header */
    --header-h: 76px;
}

html {
    scroll-behavior: smooth;
    scroll-padding-top: calc(var(--header-h) + 16px);
}

body {
    font-family: var(--font-body);
    font-size: var(--fs-body);
    line-height: 1.65;
    color: var(--text);
    background-color: var(--paper);
    -webkit-font-smoothing: antialiased;
    text-rendering: optimizeLegibility;
}

/* ===== Tipografia ===== */
h1, h2, h3, h4 {
    font-family: var(--font-display);
    font-weight: 600;
    line-height: 1.18;
    letter-spacing: 0;
    color: var(--ink);
}

h1 { font-size: var(--fs-h1); }
h2 { font-size: var(--fs-h2); }
h3 { font-size: var(--fs-h3); line-height: 1.3; }

p { margin: 0; }

a {
    color: var(--green);
    text-decoration: none;
}

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

ul { list-style: none; }

::selection {
    background: var(--green);
    color: #fff;
}

/* ===== Container ===== */
.container {
    width: min(92%, 1240px);
    margin-inline: auto;
}

.container-wide {
    width: min(96%, 1440px);
    margin-inline: auto;
}

/* ===== Seções ===== */
.section {
    padding-block: var(--sp-12);
}

.section-dark {
    background: var(--ink);
    color: var(--text-on-dark);
}

.section-dark h2,
.section-dark h3 {
    color: var(--text-on-dark);
}

.section-white {
    background: var(--paper-2);
}

/* Cabeçalho de seção padrão */
.section-header {
    max-width: 720px;
    margin-bottom: var(--sp-6);
}

.section-header.center {
    margin-inline: auto;
    text-align: center;
}

.eyebrow {
    display: inline-block;
    font-family: var(--font-display);
    font-size: 0.8rem;
    font-weight: 600;
    letter-spacing: 0.16em;
    text-transform: uppercase;
    color: var(--green);
    margin-bottom: var(--sp-2);
}

.section-dark .eyebrow { color: var(--green-bright); }

.lead {
    font-size: var(--fs-lead);
    color: var(--text-muted);
    margin-top: var(--sp-2);
}

.section-dark .lead { color: var(--text-on-dark-muted); }

/* ===== Botões ===== */
.btn {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    font-family: var(--font-display);
    font-size: 0.95rem;
    font-weight: 600;
    letter-spacing: 0.01em;
    padding: 15px 28px;
    border-radius: var(--radius-sm);
    border: 1px solid transparent;
    cursor: pointer;
    transition: transform 0.25s ease, box-shadow 0.25s ease, background 0.25s ease, color 0.25s ease;
}

.btn:focus-visible,
a:focus-visible {
    outline: 3px solid var(--green-bright);
    outline-offset: 3px;
}

.btn-primary {
    background: var(--green);
    color: #fff;
}

.btn-primary:hover {
    background: var(--green-deep);
    transform: translateY(-2px);
    box-shadow: 0 12px 26px rgba(31, 107, 70, 0.28);
}

.btn-light {
    background: var(--paper-2);
    color: var(--ink);
    box-shadow: var(--shadow-md);
}

.btn-light:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-lg);
}

.btn-ghost {
    background: transparent;
    color: var(--text-on-dark);
    border-color: var(--border-on-dark);
}

.btn-ghost:hover {
    background: rgba(255, 255, 255, 0.08);
    border-color: rgba(255, 255, 255, 0.4);
}

.btn .arrow { transition: transform 0.25s ease; }
.btn:hover .arrow { transform: translateX(4px); }

/* Link com seta */
.text-link {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-family: var(--font-display);
    font-weight: 600;
    color: var(--green);
}

.text-link:hover { text-decoration: underline; text-underline-offset: 4px; }

.section-dark .text-link { color: var(--green-bright); }

/* ===== Utilitários ===== */
.muted { color: var(--text-muted); }
.text-center { text-align: center; }

.grid-2 {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: var(--sp-3);
}

.grid-3 {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: var(--sp-3);
}

@media (max-width: 900px) {
    .grid-3 { grid-template-columns: 1fr; }
    .grid-2 { grid-template-columns: 1fr; }
    .section { padding-block: var(--sp-8); }
}

/* ===== Acessibilidade: redução de movimento ===== */
@media (prefers-reduced-motion: reduce) {
    html { scroll-behavior: auto