/* Design system do communitybig.org (html/css/style.css), copiado sem alterações.
   Mantenha sincronizado com o site. */

:root {
    /* Cores de fundo - aprimoradas */
    --bg-primary: #0a0a0f;
    --bg-secondary: #12121a;
    --bg-tertiary: #1a1a25;
    --bg-card: rgba(25, 25, 35, 0.7);
    --bg-glass: rgba(255, 255, 255, 0.03);
    --bg-glass-strong: rgba(255, 255, 255, 0.08);

    /* Cores de texto */
    --text-primary: #f5f5f7;
    --text-secondary: #a1a1a6;
    --text-muted: #6e6e73;

    /* Cores de destaque - mais vibrantes */
    --accent-blue: #0a84ff;
    --accent-purple: #bf5af2;
    --accent-green: #30d158;
    --accent-orange: #ff9f0a;
    --accent-pink: #ff375f;
    --accent-cyan: #5ac8fa;
    --accent-teal: #64d2ff;

    /* Gradientes - mais dinâmicos */
    --gradient-hero: linear-gradient(135deg, #0a0a1a 0%, #1a1a3e 25%, #0f0f2d 50%, #151530 75%, #0a0a1a 100%);
    --gradient-card: linear-gradient(135deg, rgba(255, 255, 255, 0.08) 0%, rgba(255, 255, 255, 0.02) 100%);
    --gradient-accent: linear-gradient(135deg, var(--accent-blue) 0%, var(--accent-purple) 50%, var(--accent-pink) 100%);
    --gradient-glow: radial-gradient(ellipse at center, rgba(10, 132, 255, 0.2) 0%, transparent 70%);
    --gradient-aurora: linear-gradient(45deg,
            rgba(10, 132, 255, 0.15) 0%,
            rgba(191, 90, 242, 0.1) 25%,
            rgba(48, 209, 88, 0.08) 50%,
            rgba(90, 200, 250, 0.1) 75%,
            rgba(10, 132, 255, 0.15) 100%);
    --gradient-shimmer: linear-gradient(90deg,
            transparent 0%,
            rgba(255, 255, 255, 0.4) 50%,
            transparent 100%);

    /* Bordas e sombras - mais sofisticadas */
    --border-subtle: rgba(255, 255, 255, 0.08);
    --border-light: rgba(255, 255, 255, 0.12);
    --border-glow: rgba(10, 132, 255, 0.3);
    --shadow-sm: 0 2px 8px rgba(0, 0, 0, 0.3);
    --shadow-md: 0 8px 32px rgba(0, 0, 0, 0.4);
    --shadow-lg: 0 16px 48px rgba(0, 0, 0, 0.5);
    --shadow-glow: 0 0 40px rgba(10, 132, 255, 0.25);
    --shadow-glow-intense: 0 0 60px rgba(10, 132, 255, 0.4), 0 0 120px rgba(191, 90, 242, 0.2);
    --shadow-card: 0 8px 32px rgba(0, 0, 0, 0.3), 0 0 0 1px rgba(255, 255, 255, 0.05);
    --shadow-hover-sm: 0 6px 20px rgba(0, 0, 0, 0.2);
    --shadow-hover-md: 0 16px 40px rgba(0, 0, 0, 0.25);
    --shadow-hover-lg: 0 20px 50px rgba(0, 0, 0, 0.3);

    /* Superfícies derivadas (trocam junto com o tema) */
    --header-bg: rgba(10, 10, 15, 0.75);
    --surface-hover: rgba(255, 255, 255, 0.1);
    --surface-input: rgba(255, 255, 255, 0.045);
    --surface-input-focus: rgba(255, 255, 255, 0.07);
    --surface-item: rgba(255, 255, 255, 0.035);
    --border-item: rgba(255, 255, 255, 0.045);
    --surface-chip: rgba(255, 255, 255, 0.08);
    --surface-icon: rgba(255, 255, 255, 0.06);
    --surface-panel: rgba(25, 25, 35, 0.8);
    --surface-sunken: rgba(10, 10, 15, 0.4);
    --surface-sunken-soft: rgba(10, 10, 15, 0.36);
    --surface-sunken-strong: rgba(10, 10, 15, 0.6);
    --overlay-soft: rgba(0, 0, 0, 0.4);
    --overlay-strong: rgba(0, 0, 0, 0.85);

    /* Cards de apoiadores: o logo vem em arte para fundo branco */
    --accent-blue-hover: #3399ff;
    --text-on-accent: var(--bg-primary);


    /* Espaçamentos */
    --spacing-xs: 0.5rem;
    --spacing-sm: 1rem;
    --spacing-md: 1.5rem;
    --spacing-lg: 2rem;
    --spacing-xl: 3rem;
    --spacing-2xl: 5rem;

    /* Tipografia */
    --font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    --font-size-xs: 0.75rem;
    --font-size-sm: 0.875rem;
    --font-size-base: 1rem;
    --font-size-lg: 1.125rem;
    --font-size-xl: 1.25rem;
    --font-size-2xl: 1.5rem;
    --font-size-3xl: 2rem;
    --font-size-4xl: 2.5rem;
    --font-size-5xl: 3.5rem;

    /* Border radius */
    --radius-sm: 8px;
    --radius-md: 12px;
    --radius-lg: 16px;
    --radius-xl: 24px;
    --radius-full: 9999px;

    /* Transições */
    --transition-fast: 0.15s ease;
    --transition-base: 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    --transition-slow: 0.5s cubic-bezier(0.4, 0, 0.2, 1);
    --transition-bounce: 0.6s cubic-bezier(0.34, 1.56, 0.64, 1);

    /* Z-index */
    --z-dropdown: 100;
    --z-sticky: 200;
    --z-modal: 300;
}

:root[data-theme="light"] {
    --bg-primary: #f4f5f8;
    --bg-secondary: #ffffff;
    --bg-tertiary: #e9ebf0;
    --bg-card: rgba(255, 255, 255, 0.86);
    --bg-glass: rgba(15, 18, 26, 0.03);
    --bg-glass-strong: rgba(15, 18, 26, 0.06);

    --text-primary: #14161c;
    --text-secondary: #4b5158;
    --text-muted: #71777f;

    /* Tons um pouco mais fechados para manter contraste sobre fundo claro */
    --accent-blue: #0a66c2;
    --accent-purple: #8b3ed4;
    --accent-green: #1c8f42;
    --accent-orange: #b56a00;
    --accent-pink: #d3164a;
    --accent-cyan: #0a7ea8;
    --accent-teal: #0f7c96;

    --gradient-hero: linear-gradient(135deg, #eef2fb 0%, #e3e9fa 25%, #f2eefb 50%, #e6ecfb 75%, #eef2fb 100%);
    --gradient-card: linear-gradient(135deg, rgba(15, 18, 26, 0.05) 0%, rgba(15, 18, 26, 0.015) 100%);
    --gradient-glow: radial-gradient(ellipse at center, rgba(10, 102, 194, 0.1) 0%, transparent 70%);
    --gradient-aurora: linear-gradient(45deg,
            rgba(10, 102, 194, 0.1) 0%,
            rgba(139, 62, 212, 0.08) 25%,
            rgba(28, 143, 66, 0.06) 50%,
            rgba(10, 126, 168, 0.08) 75%,
            rgba(10, 102, 194, 0.1) 100%);
    --gradient-shimmer: linear-gradient(90deg,
            transparent 0%,
            rgba(15, 18, 26, 0.18) 50%,
            transparent 100%);

    --border-subtle: rgba(15, 18, 26, 0.1);
    --border-light: rgba(15, 18, 26, 0.16);
    --border-glow: rgba(10, 102, 194, 0.32);
    --shadow-sm: 0 2px 8px rgba(15, 18, 26, 0.08);
    --shadow-md: 0 8px 28px rgba(15, 18, 26, 0.1);
    --shadow-lg: 0 16px 44px rgba(15, 18, 26, 0.14);
    --shadow-glow: 0 0 40px rgba(10, 102, 194, 0.16);
    --shadow-glow-intense: 0 0 50px rgba(10, 102, 194, 0.22), 0 0 100px rgba(139, 62, 212, 0.12);
    --shadow-card: 0 8px 28px rgba(15, 18, 26, 0.08), 0 0 0 1px rgba(15, 18, 26, 0.05);
    --shadow-hover-sm: 0 6px 18px rgba(15, 18, 26, 0.12);
    --shadow-hover-md: 0 16px 36px rgba(15, 18, 26, 0.14);
    --shadow-hover-lg: 0 20px 44px rgba(15, 18, 26, 0.16);

    --header-bg: rgba(255, 255, 255, 0.82);
    --surface-hover: rgba(15, 18, 26, 0.06);
    --surface-input: #ffffff;
    --surface-input-focus: #ffffff;
    --surface-item: rgba(255, 255, 255, 0.9);
    --border-item: rgba(15, 18, 26, 0.08);
    --surface-chip: rgba(15, 18, 26, 0.07);
    --surface-icon: rgba(15, 18, 26, 0.06);
    --surface-panel: rgba(255, 255, 255, 0.96);
    --surface-sunken: rgba(255, 255, 255, 0.72);
    --surface-sunken-soft: rgba(255, 255, 255, 0.66);
    --surface-sunken-strong: rgba(255, 255, 255, 0.9);
    --overlay-soft: rgba(15, 18, 26, 0.34);
    --overlay-strong: rgba(15, 18, 26, 0.62);

    --accent-blue-hover: #0b74d8;
    --text-on-accent: #ffffff;

}

/* Inter servida localmente (sem Google Fonts). */
@font-face {
    font-family: 'Inter';
    font-style: normal;
    font-display: swap;
    font-weight: 100 900;
    src: url('../fonts/inter-latin-wght-normal.woff2') format('woff2');
    unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

@font-face {
    font-family: 'Inter';
    font-style: normal;
    font-display: swap;
    font-weight: 100 900;
    src: url('../fonts/inter-latin-ext-wght-normal.woff2') format('woff2');
    unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
