/* Estilos para cabeçalho não-fixo */
header.header-light {
    background: #234c1d !important;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
    color: #fff;
    font-family: 'Poppins', Arial, sans-serif;
    font-weight: 500;
    transition: all 0.3s ease;
    position: relative;
    width: 100%;
    z-index: 1000;
    padding: 15px 0;
}

header.header-light.scrolled {
    padding: 10px 0;
    background: rgba(35, 76, 29, 0.95) !important;
    backdrop-filter: blur(10px);
}

/* Container flexível para o cabeçalho */
.header-flex-container {
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: nowrap;
    width: 100%;
}

/* Seções do cabeçalho */
.header-logo-section {
    flex: 0 0 20%;
}

.header-menu-section {
    flex: 0 0 60%;
    display: flex;
    justify-content: center;
}

.header-social-section {
    flex: 0 0 20%;
    display: flex;
    align-items: center;
    justify-content: flex-end;
    gap: 15px;
}

header.header-light *,
#mainmenu>li>a,
#mainmenu ul li a,
#logo a {
    color: #fff !important;
    font-family: inherit;
    font-weight: inherit;
}

#mainmenu {
    display: flex;
    justify-content: center;
    margin: 0;
    padding: 0;
}

#mainmenu>li {
    margin: 0 5px;
}

#mainmenu>li>a {
    position: relative;
    padding: 10px 15px;
    transition: all 0.3s ease;
    font-size: 1rem;
    font-weight: 500;
}

#mainmenu>li>a:after {
    content: '';
    position: absolute;
    width: 0;
    height: 2px;
    background: #e05e30;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    transition: all 0.3s ease;
}

#mainmenu>li>a:hover:after {
    width: 70%;
}

/* Ícones sociais */
.social-header {
    display: flex;
    gap: 10px;
}

.social-header a.social-icon {
    width: 36px;
    height: 36px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 50%;
    transition: all 0.3s ease;
    color: #fff;
}

.social-header a.social-icon:hover {
    background: #e05e30;
    transform: translateY(-3px);
    box-shadow: 0 5px 15px rgba(224, 94, 48, 0.4);
}

.btn-main {
    background: #e05e30 !important;
    border-color: #e05e30 !important;
    color: #fff !important;
    font-weight: 600;
    border-radius: 30px;
    padding: 10px 25px;
    transition: all 0.3s ease;
}

.btn-main:hover,
.btn-main:focus {
    background: #c44a20 !important;
    border-color: #c44a20 !important;
    color: #fff !important;
    transform: translateY(-3px);
    box-shadow: 0 5px 15px rgba(224, 94, 48, 0.4);
}

/* Botão CTA */
.header-cta {
    margin-right: 10px;
}

.btn-main {
    background: #e05e30 !important;
    border-color: #e05e30 !important;
    color: #fff !important;
    font-weight: 600;
    border-radius: 30px;
    padding: 10px 25px;
    transition: all 0.3s ease;
    white-space: nowrap;
}

.btn-main:hover,
.btn-main:focus {
    background: #c44a20 !important;
    border-color: #c44a20 !important;
    color: #fff !important;
    transform: translateY(-3px);
    box-shadow: 0 5px 15px rgba(224, 94, 48, 0.4);
}

/* Toggle do menu mobile */
.mobile-menu-toggle {
    display: none;
}

/* Ajuste para o conteúdo com o cabeçalho fixo */
body {
    padding-top: 90px;
}

/* Estilos responsivos */
@media (max-width: 991px) {
    body {
        padding-top: 70px;
    }

    .header-flex-container {
        flex-wrap: wrap;
    }

    .header-logo-section {
        flex: 0 0 50%;
    }

    .header-menu-section {
        order: 3;
        flex: 0 0 100%;
        display: none;
    }

    .header-social-section {
        flex: 0 0 50%;
        justify-content: flex-end;
    }

    .social-header {
        margin-right: 10px;
    }

    .header-cta {
        display: none;
    }

    .mobile-menu-toggle {
        display: block;
    }

    #mainmenu {
        flex-direction: column;
        background: #234c1d;
        position: absolute;
        top: 100%;
        left: 0;
        width: 100%;
        padding: 20px 0;
        display: none;
        box-shadow: 0 5px 10px rgba(0, 0, 0, 0.2);
    }

    #mainmenu.show {
        display: flex;
    }

    #mainmenu>li {
        margin: 5px 0;
    }

    body {
        padding-top: 70px;
    }

    .social-header {
        display: none;
    }

    header.header-light {
        padding: 10px 0;
    }
}