/* Importa a fonte do Google Fonts */
@import url('https://fonts.googleapis.com/css2?family=Inter:wght@400;500;600;700;800&display=swap');

/* Estilos Gerais */
body {
    font-family: 'Inter', sans-serif;
}

/* Títulos das Seções */
.section-title {
    font-weight: 800;
    font-size: 2.5rem; /* Aumentado */
    letter-spacing: -0.04em; /* Mais justo */
    color: #1e293b; /* slate-800 */
    line-height: 1.2;
}

/* Subtítulos das Seções */
.section-subtitle {
    font-size: 1.125rem; /* text-lg */
    color: #475569; /* slate-600 */
    margin-top: 1rem;
    max-width: 65ch;
    line-height: 1.7;
}

/* --- Estilos do Header --- */
header#header {
    /* Azul escuro com 85% de opacidade e efeito de vidro fosco */
    background-color: rgba(30, 41, 59, 0.85);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px); /* Suporte para Safari */
    box-shadow: none;
    transition: background-color 0.4s ease;
}

header#header.scrolled {
    /* Azul escuro sólido */
    background-color: #1e293b; /* slate-800 */
}

/* Cores do texto do menu no estado inicial e com scroll */
header#header nav a {
    color: #e2e8f0; /* slate-200 */
}
header#header nav a:hover {
    color: white;
}

/* Link de navegação ativo */
header nav a.active {
    color: white;
    font-weight: 600;
}

/* --- Mobile Side Menu --- */
#mobile-menu-panel.open {
    transform: translateX(0);
}

#mobile-menu-panel a.active {
    color: white;
    background-color: #334155; /* slate-700 */
}

/* --- Animações --- */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.animate-fade-in-up {
    animation: fadeInUp 0.8s ease-out forwards;
}

/* Atrasos na animação */
.animation-delay-300 {
    animation-delay: 300ms;
}
.animation-delay-500 {
    animation-delay: 500ms;
}

/* Animação de cards no scroll */
.animated-card {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.6s ease-out, transform 0.6s ease-out;
}
.animated-card.is-visible {
    opacity: 1;
    transform: translateY(0);
}

