/**
 * Wide Studio - CSS Variables & Reset
 * Variáveis globais e reset básico
 */

/* =================================
   CSS RESET
   ================================= */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

/* =================================
   CSS VARIABLES (Design Tokens)
   ================================= */
:root {
    /* Cores */
    --bg-color: #F3F2EE;
    --text-color: #111111;
    --accent-color: #000;
    --border-color: rgba(0, 0, 0, 0.1);
    --border-light: rgba(0, 0, 0, 0.05);

    /* Cores de Estado */
    --danger-color: #d32f2f;
    --danger-bg: #fff0f0;
    --success-color: #4CAF50;

    /* Tipografia */
    --font-main: 'Inter', -apple-system, sans-serif;
    --font-display: 'Hanken Grotesk', var(--font-main);

    /* Espaçamento */
    --padding-x: 4vw;
    --spacing-xs: 5px;
    --spacing-sm: 10px;
    --spacing-md: 20px;
    --spacing-lg: 40px;
    --spacing-xl: 60px;

    /* Animações */
    --ease-out: cubic-bezier(0.215, 0.61, 0.355, 1);
    --ease-smooth: cubic-bezier(0.16, 1, 0.3, 1);
    --transition-base: 0.3s var(--ease-out);
    --transition-fast: 0.15s var(--ease-out);
    --transition-slow: 0.6s var(--ease-smooth);

    /* Bordas */
    --radius-sm: 4px;
    --radius-md: 8px;
    --radius-lg: 12px;
    --radius-pill: 20px;
    --radius-full: 50%;

    /* Sombras */
    --shadow-sm: 0 4px 6px rgba(0, 0, 0, 0.01);
    --shadow-md: 0 4px 20px rgba(0, 0, 0, 0.03);
    --shadow-lg: 0 8px 30px rgba(0, 0, 0, 0.08);
    --shadow-hover: 0 15px 30px rgba(0, 0, 0, 0.06);

    /* Cursor Customizado */
    --cursor-size: 12px;
    --cursor-hover-size: 35px;
    --cursor-transition: width 0.3s var(--ease-smooth),
        height 0.3s var(--ease-smooth);

    /* Z-Index Layers */
    --z-base: 1;
    --z-dropdown: 50;
    --z-header: 100;
    --z-overlay: 200;
    --z-modal: 300;
    --z-cursor: 9999;

    /* Dark Mode Colors */
    --dark-bg-color: #1a1a1a;
    --dark-text-color: #e0e0e0;
    --dark-border-color: rgba(255, 255, 255, 0.1);
    --dark-border-light: rgba(255, 255, 255, 0.05);
    --dark-input-bg: rgba(255, 255, 255, 0.05);
    --dark-card-bg: #242424;
    --dark-header-bg: rgba(26, 26, 26, 0.9);
}


/* =================================
   BASE STYLES
   ================================= */
body {
    background-color: var(--bg-color);
    color: var(--text-color);
    font-family: var(--font-main);
    -webkit-font-smoothing: antialiased;
    /* REMOVIDO: overflow-x: hidden; - quebrava o position: sticky */
}

/* Links */
a {
    color: inherit;
    text-decoration: none;
}

/* Botões reset */
button {
    font-family: var(--font-main);
    cursor: pointer;
}

/* Inputs reset */
input,
textarea,
select {
    font-family: var(--font-main);
}