/* =========================================================
   GetCodii — tokens de design (identidade PROVISÓRIA)
   Troque cores, fontes e raios aqui para atualizar todo o site.
   ========================================================= */

@font-face {
    font-family: "Manrope";
    src: url("../fonts/manrope-var.woff2") format("woff2");
    font-weight: 200 800;
    font-display: swap;
}
@font-face {
    font-family: "JetBrains Mono";
    src: url("../fonts/jbmono-400.woff2") format("woff2");
    font-weight: 400;
    font-display: swap;
}

:root {
    /* Tipografia */
    --font-sans: "Manrope", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
    --font-mono: "JetBrains Mono", ui-monospace, SFMono-Regular, Consolas, monospace;
    --fs-display: clamp(2.5rem, 1.4rem + 4.6vw, 5rem);
    --fs-h1: clamp(2.2rem, 1.5rem + 3vw, 3.75rem);
    --fs-h2: clamp(1.8rem, 1.3rem + 2vw, 2.9rem);
    --fs-lead: clamp(1.05rem, 1rem + .3vw, 1.25rem);

    /* Marca */
    --accent: #2f7bff;
    --accent-2: #7b4dff;
    --accent-ink: #ffffff;
    --grad-brand: linear-gradient(120deg, #22c4f2 0%, var(--accent) 50%, var(--accent-2) 100%);

    /* Forma */
    --radius-sm: 6px;
    --radius: 10px;
    --radius-lg: 16px;
    --container: 1200px;
    --header-h: 72px;

    /* Espaçamento das seções */
    --section-y: clamp(4.5rem, 3rem + 6vw, 8.5rem);

    /* Movimento */
    --ease: cubic-bezier(.2, .7, .2, 1);
    --dur: .5s;
}

/* Tema escuro (padrão) */
:root,
[data-theme="dark"] {
    color-scheme: dark;
    --bg: #0a0c12;
    --bg-2: #0e1119;
    --surface: #121621;
    --surface-2: #181d2a;
    --border: rgba(255, 255, 255, .08);
    --border-strong: rgba(255, 255, 255, .16);
    --text: #eef1f7;
    --text-muted: #9aa3b5;
    --text-dim: #6b7486;
    --grid-line: rgba(255, 255, 255, .045);
    --glow: rgba(79, 124, 255, .22);
    --shadow: 0 1px 0 rgba(255, 255, 255, .04) inset, 0 20px 50px -20px rgba(0, 0, 0, .6);
    --header-bg: rgba(10, 12, 18, .72);
    --accent-text: #7fb2ff;
}

/* Tema claro */
[data-theme="light"] {
    color-scheme: light;
    --bg: #f7f8fb;
    --bg-2: #eef1f6;
    --surface: #ffffff;
    --surface-2: #f2f4f8;
    --border: rgba(15, 23, 42, .09);
    --border-strong: rgba(15, 23, 42, .18);
    --text: #0d1220;
    --text-muted: #4b5568;
    --text-dim: #6b7486;
    --grid-line: rgba(15, 23, 42, .055);
    --glow: rgba(79, 124, 255, .16);
    --shadow: 0 1px 2px rgba(15, 23, 42, .05), 0 18px 40px -22px rgba(15, 23, 42, .25);
    --header-bg: rgba(247, 248, 251, .8);
    --accent: #1f63e8;
    --accent-text: #2f56d6;
}
