:root {
    --color-dark: #131010;
    --color-light: #fc9f53;
    --color-accent: #ff4d4d;
    --transition-base: 0.3s ease;
    --font-heading: 'Cormorant', serif;
    --font-body: 'Montserrat', sans-serif;

    /* Tipografia */
    --font-primary: 'Montserrat', sans-serif;
    --font-secondary: 'Playfair Display', serif;
    
    /* Espaçamentos */
    --space-xs: 0.5rem;
    --space-sm: 1rem;
    --space-md: 2rem;
    --space-lg: 3rem;
    --space-xl: 4rem;
    
    /* Bordas */
    --radius-sm: 4px;
    --radius-md: 8px;
    --radius-lg: 16px;
    --radius-full: 50%;
    
    /* Sombras */
    --shadow-sm: 0 2px 8px rgba(0, 0, 0, 0.1);
    --shadow-md: 0 4px 12px rgba(0, 0, 0, 0.15);
    --shadow-lg: 0 8px 24px rgba(0, 0, 0, 0.2);
    
    /* Transições */
    --transition-fast: 0.2s ease;
    --transition-normal: 0.4s ease;
    --transition-slow: 0.6s ease;
}

/* Reset e Base */
*,
*::before,
*::after {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    background-color: var(--color-light) !important;
}

body {
    height: 100%;
    margin: 0;
    padding: 0;
    background-color: var(--color-light); /* mesma cor do body no modo claro */
    overflow-x: hidden;
    overscroll-behavior: none;
}
.body--active {
    background-color: var(--color-light);
}

/* Loader */
.loader {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: var(--color-dark);
    z-index: 9999;
    display: flex;
    justify-content: center;
    align-items: center;
    transition: opacity 0.5s, visibility 0.5s;
}

.loader::after {
    content: "";
    width: 50px;
    height: 50px;
    border: 5px solid var(--color-light);
    border-top-color: var(--color-accent);
    border-radius: 50%;
    animation: loading 0.75s ease infinite;
}

@keyframes loading {
    from { transform: rotate(0turn); }
    to { transform: rotate(1turn); }
}

.cursor {
    position: fixed;
    width: 20px;
    height: 20px;
    border-radius: var(--radius-full);
    background-color: var(--color-accent);
    pointer-events: none;
    mix-blend-mode: difference;
    z-index: 999;
    transform: translate(-50%, -50%);
    transition: transform var(--transition-fast), width var(--transition-fast), height var(--transition-fast);
}

.cursor-follower {
    position: fixed;
    width: 40px;
    height: 40px;
    border: 1px solid var(--color-accent);
    border-radius: var(--radius-full);
    pointer-events: none;
    z-index: 998;
    transform: translate(-50%, -50%);
    transition: transform var(--transition-normal), opacity var(--transition-normal);
}

/* Layout */
.container {
    width: 100%;
    min-height: 100vh;
    display: flex;
    background-color: var(--color-light); /* Cor de fundo principal do conteúdo */
    overflow: hidden;
}

.sidebar {
    width: 45%;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    padding: var(--space-md); /* Usando variável de espaçamento */
    position: relative;
    z-index: 1;
    background-color: var(--color-dark); /* Sidebar com fundo escuro */
    color: var(--color-light); /* Texto do sidebar claro */
}

.main-content {
    width: 100%;
    padding: 2rem;
    display: flex;
    align-items: center;
    justify-content: center;
}

/* Sidebar */
.sidebar__top {
    margin-bottom: auto;
    font-size: 0.875rem;
    user-select: none;
}

.sidebar__top a {
    color: inherit; /* Herda a cor do .sidebar (var(--color-light)) */
    text-decoration: none;
    transition: color var(--transition-base);
}

.sidebar__top a:hover {
    color: var(--color-accent);
}

.sidebar__bottom { /* Não está sendo usado no HTML fornecido, mas mantido caso haja planos */
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: var(--space-sm);
}

/* Sidebar Credits */
.sidebar__credits {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: flex-start; /* Alinhado à esquerda por padrão */
    gap: var(--space-xs);
    font-size: 0.875rem;
    color: var(--color-light); /* Texto dos créditos claro */
    margin-top: auto; /* Empurra para o final do sidebar */
    padding: var(--space-sm) 0;
}

.made-by {
    opacity: 0.8;
}



.copyright {
    opacity: 0.6;
    width: 100%; /* Para garantir quebra de linha se necessário em telas menores */
    text-align: left; /* Alinhamento padrão */
}

/* Brand Logo */
.sidebar__brand {
    display: flex;
    flex-direction: column;
    align-items: center; /* Centraliza o logo e tagline */
    gap: var(--space-sm);
    margin-bottom: var(--space-md); /* Adiciona margem inferior (era margin-top) */
    padding-top: var(--space-md); /* Adiciona um respiro no topo do sidebar */
}

.logo-link {
    display: inline-block;
    transition: transform var(--transition-base);
}

.logo {
    width: 100%;
    max-width: 180px; /* Levemente ajustado */
    height: auto;
    border-radius: var(--radius-full);
    object-fit: contain;
    box-shadow: var(--shadow-md);
    transition: all var(--transition-base);
    background-color: var(--color-light); /* Fundo claro para o logo se destacar no sidebar escuro */
    padding: 0.5rem; /* Pequeno preenchimento interno para o logo */
}

.logo:hover {
    transform: scale(1.05);
    box-shadow: var(--shadow-lg);
}

.brand-tagline {
    font-weight: 600;
    font-size: 1rem;
    text-align: center;
    color: var(--color-light); /* Tagline clara */
    opacity: 0.9;
    letter-spacing: 0.5px;
}

/* Navegação */
.navigation {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.navigation__link {
    text-decoration: none;
    color: var(--color-dark); /* Cor dos links da navegação no .main-content */
    transition: transform var(--transition-base), color var(--transition-base);
    display: block; /* Mantido */
    width: max-content; /* Mantido */
}

.navigation__link:hover {
    transform: translateX(10px);
    color: var(--color-accent);
}

.navigation__link:hover .navigation__title { /* Altera a cor do título no hover do link */
    color: var(--color-accent);
}

.navigation__title {
    font-family: var(--font-secondary); /* Corrigido para usar a variável correta */
    font-size: clamp(3rem, 10vw, 7rem); /* Levemente ajustado o máximo */
    font-weight: 700; /* Era 500, Playfair Display costuma ser bold */
    letter-spacing: -0.04em; /* Ajustado */
    line-height: 0.95; /* Ajustado */
    text-transform: uppercase;
    margin: 0;
    transition: color var(--transition-base);
    color: var(--color-dark); /* Cor inicial do título */
}

/* Responsivo */
@media (max-width: 1024px) {
    .cursor,
    .cursor-follower {
        display: none;
    }

    .container {
        flex-direction: column;
    }
    
    .sidebar {
        width: 100%;
        min-height: auto;
        padding: var(--space-md) var(--space-sm); 
        box-shadow: var(--shadow-md); 
    }

    .sidebar__brand {
        margin-bottom: var(--space-sm);
        padding-top: var(--space-sm); 
        flex-direction: row; 
        justify-content: space-between; 
        align-items: center;
    }

    .logo {
        max-width: 100px; 
        padding: 0.3rem;
    }
    
    .brand-tagline {
        font-size: 0.9rem;
        text-align: right; 
        margin-left: var(--space-sm); 
    }

    .sidebar__credits {
        justify-content: center; 
        padding: var(--space-sm) 0 var(--space-md); 
        font-size: 0.8rem;
        margin-top: var(--space-sm); 
    }
    .copyright {
        text-align: center; 
    }
    
    .main-content {
        padding: var(--space-lg) var(--space-sm); 
        flex-grow: 1; 
    }
    
    .navigation {
        gap: var(--space-md); 
        align-items: center; 
    }
    
   
    .navigation__link:hover {
         transform: none; /* Remove o transform translateX no hover para mobile */
    }

    .navigation__title {
        /* AUMENTANDO A FONTE E CENTRALIZANDO */
        font-size: 8em; /* Aumentado: min, ideal, max */
        text-align: center; /* << NOVO: Centraliza o texto */
    }

    .sidebar__top { 
        display: none;
    }
}

@media (max-width: 768px) {
    .sidebar__brand {
        flex-direction: column; 
        align-items: center; 
        gap: var(--space-xs);
    }

    .brand-tagline {
        text-align: center; 
        margin-left: 0; 
        font-size: 0.85rem;
    }

    .logo {
        max-width: 90px;
    }

    .navigation__title {
        /* AUMENTANDO A FONTE E CENTRALIZANDO */
        font-size: 5.5rem; /* Aumentado: min, ideal, max */
        letter-spacing: -0.03em;
        text-align: center; /* << REFORÇO/HERANÇA: Centraliza o texto */
    }
    
    .role { 
        font-size: 1rem;
        text-align: center; 
        margin-top: var(--space-sm); 
    }
    .cursor {
        display: none;
    }
    
    .cursor-follower {
        display: none;
    }
}

@media (max-width: 520px) {
    .sidebar {
        padding: var(--space-sm);
    }

    .main-content {
        padding: var(--space-md) var(--space-xs);
    }
    
    .logo {
        max-width: 80px; 
    }

    .brand-tagline {
        font-size: 0.8rem;
    }

    .sidebar__credits {
        font-size: 0.75rem;
    }

    .navigation {
        gap: var(--space-sm); 
    }

    .navigation__title {
        /* AUMENTANDO A FONTE E CENTRALIZANDO */
        font-size: 4.5rem; /* Aumentado: min, ideal, max */
        text-align: center; /* << REFORÇO/HERANÇA: Centraliza o texto */
    }
}
@media (max-width: 430px) {
    .navigation__title {
        /* AUMENTANDO A FONTE E CENTRALIZANDO */
        font-size: 3.6em; /* Aumentado: min, ideal, max */
        text-align: center; /* << REFORÇO/HERANÇA: Centraliza o texto */
    }
    .navigation{
        gap: 3.5rem; /* Aumenta o espaçamento entre os links */
    }
}

@media (max-width: 347px) {
    .navigation__title {
        /* AUMENTANDO A FONTE E CENTRALIZANDO */
        font-size: 3em; /* Aumentado: min, ideal, max */
        text-align: center; /* << REFORÇO/HERANÇA: Centraliza o texto */
    }
}