body {
    background-color: #fcf9f8;
    color: #1c1b1b;
    scroll-behavior: smooth;
}

.material-symbols-outlined {
    font-variation-settings: 'FILL' 0, 'wght' 400, 'GRAD' 0, 'opsz' 24;
    display: inline-block;
    vertical-align: middle;
}

.glass-card {
    background: rgba(255, 255, 255, 0.8);
    backdrop-filter: blur(8px);
    border: 1px solid rgba(62, 102, 72, 0.1);
}

.glass-nav {
    background: rgba(252, 249, 248, 0.8);
    backdrop-filter: blur(12px);
}

.bento-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 24px;
}

.logo-scroll {
    display: flex;
    width: calc(250px * 10);
    animation: scroll 40s linear infinite;
}

@keyframes scroll {
    0% {
        transform: translateX(0);
    }
    100% {
        transform: translateX(calc(-250px * 5));
    }
}

.profile-card:hover .profile-img {
    transform: scale(1.05);
}

.sticky-section-nav {
    top: 80px;
}

.card-hover-effect:hover img {
    transform: scale(1.05);
}

.bento-card {
    background: #ffffff;
    border: 1px solid rgba(62, 102, 72, 0.1);
    transition: all 0.2s ease-in-out;
}

.bento-card:hover {
    border-color: rgba(124, 200, 172, 0.5);
    background-color: rgba(124, 200, 172, 0.05);
    transform: translateY(-4px);
}

.academic-item {
    border-bottom: 1px solid rgba(62, 102, 72, 0.1);
    padding-bottom: 1.5rem;
    margin-bottom: 1.5rem;
}

.academic-item:last-child {
    border-bottom: none;
}

.organic-gradient {
    background: radial-gradient(circle at top right, rgba(124, 200, 172, 0.1), transparent 40%),
        radial-gradient(circle at bottom left, rgba(27, 66, 36, 0.05), transparent 40%);
}

/* ── Mobile Menu ─────────────────────────────────────────────────────────── */

/* Overlay escuro por trás do painel */
#mobile-overlay {
    display: none;
    position: fixed;
    inset: 0;
    background: rgba(1, 44, 19, 0.45);
    backdrop-filter: blur(2px);
    z-index: 40;
    opacity: 0;
    transition: opacity 0.3s ease;
}

#mobile-overlay.mobile-overlay--visible {
    display: block;
    opacity: 1;
}

/* Painel de navegação deslizante */
#mobile-nav {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 45;
    background: #ffffff;
    padding: 80px 24px 32px;
    display: flex;
    flex-direction: column;
    gap: 4px;
    box-shadow: 0 8px 32px rgba(27, 66, 36, 0.15);

    /* Estado fechado: acima da tela */
    transform: translateY(-110%);
    opacity: 0;
    transition:
        transform 0.35s cubic-bezier(0.22, 1, 0.36, 1),
        opacity   0.25s ease;
    pointer-events: none;
}

#mobile-nav.mobile-nav--open {
    transform: translateY(0);
    opacity: 1;
    pointer-events: auto;
}

/* Esconde no desktop */
@media (min-width: 768px) {
    #mobile-nav,
    #mobile-overlay {
        display: none !important;
    }
}

/* Links dentro do menu mobile */
.mobile-nav-link {
    display: block;
    font-family: 'Plus Jakarta Sans', sans-serif;
    font-size: 14px;
    font-weight: 600;
    letter-spacing: 0.05em;
    color: #424941;
    text-decoration: none;
    padding: 14px 16px;
    border-radius: 8px;
    transition: background 0.15s ease, color 0.15s ease;
}

.mobile-nav-link:hover {
    background: rgba(124, 200, 172, 0.12);
    color: #1B4224;
}

.mobile-nav-link--active {
    color: #1B4224;
    background: rgba(27, 66, 36, 0.06);
    font-weight: 700;
    border-left: 3px solid #1B4224;
}
