/* ==========================================================================
BASE.CSS — Variáveis, Reset, Tipografia, Glassmorphism, Animações
   ========================================================================== */

/* --------------------------------------------------------------------------
Tokens de Design (Design System)
   -------------------------------------------------------------------------- */
:root {
    /* Cores */
    --bg-color: #fdf3e7;
    /* Creme Âmbar — quente, acolhedor e profissional */
    --glass-bg: rgba(255, 255, 255, 0.65);
    /* Translúcido Glassmorphism */
    --glass-border: rgba(255, 255, 255, 0.4);
    --text-main: #1e293b;
    --text-muted: #475569;

    /* Paleta de Marca */
    --brand-primary: #3b82f6;
    /* Azul vibrante */
    --brand-accent: #fbbf24;
    /* Amarelo ouro */
    --brand-success: #10b981;
    /* Verde menta */
    --brand-pink: #f472b6;
    /* Rosa suave */

    /* Radii & Layout */
    --radius-lg: 24px;
    --radius-md: 16px;
    --radius-sm: 8px;
    --max-width: 1280px;

    /* Sombras */
    --shadow-glass: 0 8px 32px 0 rgba(31, 38, 135, 0.07);
}

/* --------------------------------------------------------------------------
    Reset Básico
   -------------------------------------------------------------------------- */
*,
*::before,
*::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Nunito', sans-serif;
    background-color: var(--bg-color);
    color: var(--text-main);
    -webkit-font-smoothing: antialiased;
    position: relative;
    overflow-x: hidden;
    min-height: 100vh;
}

/* --------------------------------------------------------------------------
   Tipografia
   -------------------------------------------------------------------------- */
h1,
h2,
h3 {
    font-family: 'Poppins', sans-serif;
    color: var(--text-main);
}

/* --------------------------------------------------------------------------
   Glassmorphism — Componente Base
   -------------------------------------------------------------------------- */
.glass-card {
    background: var(--glass-bg);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    border: 1px solid var(--glass-border);
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-glass);
}

/* --------------------------------------------------------------------------
   Animação de Scroll (Fade-in-up)
   -------------------------------------------------------------------------- */
.fade-in-up {
    opacity: 0;
    transform: translateY(40px);
    transition: opacity 0.8s ease-out, transform 0.8s ease-out;
}

.fade-in-up.visible {
    opacity: 1;
    transform: translateY(0);
}

/* --------------------------------------------------------------------------
   Fundo Animado — Blobs Decorativos
   -------------------------------------------------------------------------- */
.bg-blobs {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    z-index: -1;
    overflow: hidden;
    pointer-events: none;
}

.blob {
    position: absolute;
    filter: blur(80px);
    opacity: 0.6;
    border-radius: 50%;
    animation: float 20s infinite alternate ease-in-out;
}

.blob-1 {
    top: -10%;
    left: -10%;
    width: 500px;
    height: 500px;
    background: #dbeafe;
}

.blob-2 {
    bottom: -20%;
    right: -10%;
    width: 600px;
    height: 600px;
    background: #fef08a;
    animation-delay: -5s;
}

.blob-3 {
    top: 40%;
    left: 60%;
    width: 400px;
    height: 400px;
    background: #d1fae5;
    animation-delay: -10s;
}

.blob-4 {
    top: 20%;
    left: 30%;
    width: 300px;
    height: 300px;
    background: #fce7f3;
    animation-delay: -15s;
}

@keyframes float {
    0% {
        transform: translate(0, 0) scale(1);
    }

    50% {
        transform: translate(50px, 50px) scale(1.1);
    }

    100% {
        transform: translate(-30px, 80px) scale(0.9);
    }
}