/* Estilos modernos para a página inicial */
.hero-modern {
    position: relative;
    height: 100vh;
    width: 100%;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
    background-color: rgba(0, 0, 0, 0.4);
}

.hero-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -1;
}

.hero-bg .slide {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-size: cover;
    background-position: center;
    opacity: 0;
    transition: all 1.2s ease-in-out;
    filter: brightness(0.8);
    transform: scale(1.05);
}

.hero-bg .slide.active {
    opacity: 1;
    transform: scale(1);
    animation: slideZoom 8s ease-in-out infinite;
}

@keyframes slideZoom {
    0%, 100% { transform: scale(1); }
    50% { transform: scale(1.03); }
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(0, 0, 0, 0.6) 0%, rgba(0, 0, 0, 0.3) 100%);
    z-index: -1;
}

.hero-content-modern {
    text-align: center;
    color: #fff;
    max-width: 900px;
    padding: 0 20px;
    z-index: 1;
}

.hero-logo {
    margin-bottom: 40px;
    max-width: 200px;
    filter: brightness(1.3); /* Aumenta o brilho da logo */
}

.hero-title-modern {
    font-size: 3.5rem;
    font-weight: 700;
    margin-top: 60px;
    margin-bottom: 20px;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
    animation: fadeInUp 1s ease-out;
}

.hero-subtitle-modern {
    font-size: 1.8rem;
    font-weight: 400;
    margin-bottom: 40px;
    text-shadow: 1px 1px 3px rgba(0, 0, 0, 0.5);
    animation: fadeInUp 1.2s ease-out;
}

.keywords {
    font-size: 1.2rem;
    font-weight: 300;
    margin-bottom: 40px;
    opacity: 0.8;
    animation: fadeInUp 1.4s ease-out;
}

.hero-btns-modern {
    display: flex;
    justify-content: center;
    gap: 20px;
    animation: fadeInUp 1.6s ease-out;
}

.btn-modern {
    display: inline-block;
    padding: 15px 30px;
    border-radius: 50px;
    font-size: 1.1rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    transition: all 0.3s ease;
    border: none;
    cursor: pointer;
    text-decoration: none;
}

.btn-primary-modern {
    background-color: var(--primary-color);
    color: #fff;
}

.btn-primary-modern:hover {
    background-color: #e65c00;
    transform: translateY(-3px);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.2);
}

.btn-secondary-modern {
    background-color: transparent;
    color: #fff;
    border: 2px solid #fff;
}

.btn-secondary-modern:hover {
    background-color: rgba(255, 255, 255, 0.1);
    transform: translateY(-3px);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.2);
}

.scroll-down {
    position: absolute;
    bottom: 30px;
    left: 50%;
    transform: translateX(-50%);
    color: #fff;
    font-size: 2rem;
    animation: bounce 2s infinite;
    cursor: pointer;
}

/* Animações */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes bounce {
    0%, 20%, 50%, 80%, 100% {
        transform: translateY(0);
    }
    40% {
        transform: translateY(-20px);
    }
    60% {
        transform: translateY(-10px);
    }
}

/* Menu de n/* Header Moderno - CORRIGIDO PARA ROLAR COM A PÁGINA */
.navbar-modern {
    position: relative; /* Mudado de fixed para relative */
    top: 0;
    left: 0;
    width: 100%;
    padding: 20px 0;
    z-index: 1000;
    transition: all 0.3s ease;
    background: transparent; /* Removido fundo branco fixo */
}

.navbar-modern.scrolled {
    background-color: rgba(255, 255, 255, 0.95);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    padding: 10px 0;
}

.navbar-modern.scrolled .nav-link-modern {
    color: #333;
}

.navbar-container {
    display: flex !important;
    flex-direction: column !important;
    align-items: center !important;
    max-width: 1400px !important;
    margin: 0 auto !important;
    padding: 15px !important;
    background-color: rgba(255, 255, 255, 0.85) !important; /* Reduzida opacidade */
    border-radius: 10px !important;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15) !important;
}
.nav-menu-modern {
    margin-left: 0;
    overflow-x: visible;
    -ms-overflow-style: none;  /* IE and Edge */
    scrollbar-width: none;  /* Firefox */
    white-space: normal;
    padding: 10px 0;
    max-height: none;
    background-color: rgba(255, 255, 255, 0.9);
    border-radius: 8px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
}

/* Esconde a barra de rolagem */
.nav-menu-modern::-webkit-scrollbar {
    display: none;
}

.nav-logo {
    height: 60px;
    transition: all 0.3s ease;
    filter: brightness(1.3); /* Aumenta o brilho da logo */
}

.navbar-modern.scrolled .nav-logo {
    height: 50px;
}

.nav-menu-modern {
    display: flex;
    flex-wrap: wrap;
    list-style: none;
    margin: 10px 0;
    padding: 15px 10px;
    max-width: 1200px;
    justify-content: center;
    row-gap: 15px;
    background-color: rgba(255, 255, 255, 0.9) !important;
}

.nav-item-modern {
    margin: 0 8px;
}

.nav-link-modern {
    color: var(--primary-color);
    text-decoration: none;
    font-size: 0.95rem;
    font-weight: 600;
    letter-spacing: 0.5px;
    transition: all 0.3s ease;
    position: relative;
    white-space: nowrap; /* Impede que o texto quebre em duas linhas */
    padding: 8px 12px;
    border-radius: 5px;
}

.nav-link-modern:after {
    content: '';
    position: absolute;
    width: 0;
    height: 2px;
    bottom: -5px;
    left: 0;
    background-color: var(--primary-color);
    transition: width 0.3s ease;
}

.nav-link-modern:hover:after,
.nav-link-modern.active:after {
    width: 100%;
}

.hamburger-modern {
    display: none;
    cursor: pointer;
}

.bar {
    display: block;
    width: 25px;
    height: 3px;
    margin: 5px auto;
    transition: all 0.3s ease;
    background-color: #fff;
}

.navbar-modern.scrolled .bar {
    background-color: #333;
}

/* Responsividade */
@media (max-width: 992px) {
    .hero-title-modern {
        font-size: 2.8rem;
    }
    
    .hero-subtitle-modern {
        font-size: 1.5rem;
    }
    
    .hamburger-modern {
        display: block;
    }
    
    .nav-menu-modern {
        position: fixed;
        left: -100%;
        top: 80px;
        flex-direction: column;
        background-color: rgba(255, 255, 255, 0.95);
        width: 100%;
        text-align: center;
        transition: 0.3s;
        box-shadow: 0 10px 15px rgba(0, 0, 0, 0.1);
        padding: 20px 0;
    }
    
    .nav-menu-modern.active {
        left: 0;
    }
    
    .nav-item-modern {
        margin: 15px 0;
    }
    
    .nav-link-modern {
        color: #333;
    }
}

@media (max-width: 768px) {
    .hero-title-modern {
        font-size: 2.2rem;
    }
    
    .hero-subtitle-modern {
        font-size: 1.2rem;
    }
    
    .keywords {
        font-size: 1rem;
    }
    
    .hero-btns-modern {
        flex-direction: column;
        gap: 15px;
    }
    
    .btn-modern {
        width: 100%;
    }
}
