/* 
  ROOT.CSS - VARIÁVEIS GLOBAIS
  Este arquivo centraliza o design do sistema, facilitando alterações globais.
*/

:root {
    /* Cores Principais */
    --primary-color: #00d4ff; /* Azul Ciano Tech */
    --secondary-color: #005f73; /* Azul Escuro */
    --bg-dark: #0a0a0a; /* Fundo Escuro */
    --bg-card: #141414; /* Fundo de Cards */
    --text-main: #ffffff; /* Texto Principal */
    --text-muted: #a0a0a0; /* Texto Secundário */
    --accent-color: #ff007a; /* Rosa Neon para detalhes */

    /* Tipografia */
    --font-main: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, 'Open Sans', 'Helvetica Neue', sans-serif;
    --font-mono: 'Fira Code', 'Courier New', Courier, monospace;

    /* Espaçamentos */
    --space-xs: 0.5rem;
    --space-sm: 1rem;
    --space-md: 2rem;
    --space-lg: 4rem;
    --space-xl: 8rem;

    /* Sombras e Bordas */
    --shadow-sm: 0 4px 6px rgba(0, 0, 0, 0.1);
    --shadow-md: 0 10px 20px rgba(0, 0, 0, 0.2);
    --border-radius: 12px;
    --border-radius-img: 300px;
    --border-glow: 1px solid rgba(0, 212, 255, 0.2);

    /* Transições */
    --transition-fast: 0.2s ease;
    --transition-normal: 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    --transition-slow: 0.6s cubic-bezier(0.4, 0, 0.2, 1);
}

/* Reset Básico */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    overflow-x: hidden;
}

body {
    background-color: var(--bg-dark);
    color: var(--text-main);
    font-family: var(--font-main);
    line-height: 1.6;
    overflow-x: hidden;
    min-height: 100vh;
}

a {
    text-decoration: none;
    color: inherit;
    transition: var(--transition-fast);
}

ul {
    list-style: none;
}

img {
    max-width: 100%;
    display: block;
}

button, .btn {
    cursor: pointer;
    border: none;
    outline: none;
    background: none;
    font-family: inherit;
}

/* Utilitários de Animação */
.reveal {
    opacity: 0;
    transform: translateY(30px);
    transition: all var(--transition-slow);
}

.reveal.active {
    opacity: 1;
    transform: translateY(0);
}

/* Scrollbar Customizada */
::-webkit-scrollbar {
    width: 8px;
}

::-webkit-scrollbar-track {
    background: var(--bg-dark);
}

::-webkit-scrollbar-thumb {
    background: var(--secondary-color);
    border-radius: 10px;
}

::-webkit-scrollbar-thumb:hover {
    background: var(--primary-color);
}
