/* ================================
   HEADER PADRÃO
   ================================ */
header.header-padrao {
    background: #234c1d !important;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.15);
    position: fixed;
    width: 100%;
    top: 0;
    left: 0;
    z-index: 1000;
    padding: 12px 0;
    transition: all 0.3s ease;
    font-family: 'Poppins', Arial, sans-serif;
    font-weight: 400;
    color: #fff;
}

.header-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

/* Logo */
.header-logo {
    flex: 0 0 20%;
}

.logo-img {
    max-height: 55px;
    transition: all 0.3s ease;
}

header.header-padrao.scrolled .logo-img {
    max-height: 45px;
}

/* Menu */
.header-menu {
    flex: 0 0 60%;
    display: flex;
    justify-content: center;
}

.menu-principal {
    display: flex;
    justify-content: center;
    margin: 0;
    padding: 0;
    list-style: none;
}

.menu-principal>li {
    position: relative;
    margin: 0 10px;
}

.menu-principal>li>a {
    color: #fff;
    font-size: 16px;
    font-weight: 500;
    padding: 10px 15px;
    display: block;
    text-decoration: none;
    position: relative;
    transition: all 0.3s ease;
}

.menu-principal>li>a:hover,
.menu-principal>li>a:focus {
    color: #b2d454;
    transform: translateY(-3px);
}

.menu-principal>li>a::after {
    content: '';
    position: absolute;
    width: 0;
    height: 2px;
    background: #b2d454;
    bottom: 5px;
    left: 50%;
    transform: translateX(-50%);
    transition: width 0.3s ease;
}

.menu-principal>li>a:hover::after,
.menu-principal>li>a:focus::after,
.menu-principal>li.active>a::after {
    width: 70%;
}

.menu-principal>li.active>a {
    color: #b2d454;
}

/* Submenu (Dropdown) */
.menu-dropdown {
    position: relative;
}

.menu-dropdown .fas.fa-chevron-down {
    font-size: 14px;
    margin-left: 5px;
    transition: transform 0.3s ease;
    display: inline-block;
    color: #b2d454;
}

.menu-dropdown:hover .fas.fa-chevron-down {
    transform: rotate(180deg);
}

.menu-dropdown>a {
    position: relative;
    padding-right: 20px !important;
    background: rgba(178, 212, 84, 0.1);
    border-radius: 4px;
}

.submenu {
    position: absolute;
    top: 120%;
    left: 50%;
    transform: translateX(-50%);
    background: #234c1d;
    width: 220px;
    padding: 12px 0;
    margin: 0;
    list-style: none;
    border-radius: 5px;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
    z-index: 1001;
    border: 1px solid #b2d454;
}

.menu-dropdown:hover .submenu {
    opacity: 1;
    visibility: visible;
    top: 100%;
}

.submenu::before {
    content: '';
    position: absolute;
    top: -10px;
    left: 50%;
    transform: translateX(-50%);
    border-width: 5px;
    border-style: solid;
    border-color: transparent transparent #234c1d transparent;
}

.submenu li {
    position: relative;
}

.submenu li a {
    color: #fff;
    font-size: 14px;
    padding: 8px 20px;
    display: block;
    text-decoration: none;
    transition: all 0.3s ease;
}

.submenu li a:hover {
    background: rgba(178, 212, 84, 0.15);
    color: #b2d454;
    transform: translateX(5px);
}

/* Ícones Sociais */
.header-social {
    flex: 0 0 20%;
    display: flex;
    justify-content: flex-end;
}

.social-icon {
    width: 36px;
    height: 36px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 50%;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    margin-left: 10px;
    color: #fff;
    font-size: 18px;
    text-decoration: none;
    transition: all 0.3s ease;
}

.social-icon:hover {
    background: #b2d454;
    color: #234c1d;
    transform: translateY(-3px);
}

/* Menu Mobile */
.menu-mobile-toggle {
    display: none;
    cursor: pointer;
    width: 30px;
    height: 20px;
    position: relative;
}

.menu-mobile-toggle span {
    display: block;
    position: absolute;
    height: 3px;
    width: 100%;
    background: #fff;
    border-radius: 3px;
    opacity: 1;
    left: 0;
    transform: rotate(0deg);
    transition: all 0.25s ease;
}

.menu-mobile-toggle span:nth-child(1) {
    top: 0;
}

.menu-mobile-toggle span:nth-child(2) {
    top: 8px;
}

.menu-mobile-toggle span:nth-child(3) {
    top: 16px;
}

header.header-padrao.menu-open .menu-mobile-toggle span:nth-child(1) {
    top: 8px;
    transform: rotate(135deg);
}

header.header-padrao.menu-open .menu-mobile-toggle span:nth-child(2) {
    opacity: 0;
    left: -60px;
}

header.header-padrao.menu-open .menu-mobile-toggle span:nth-child(3) {
    top: 8px;
    transform: rotate(-135deg);
}

/* Menu com scroll ativo */
header.header-padrao.scrolled {
    padding: 5px 0;
    background: rgba(35, 76, 29, 0.95) !important;
    backdrop-filter: blur(10px);
}

/* Media Queries */
@media (max-width: 992px) {
    .header-container {
        position: relative;
    }

    .header-logo {
        flex: 0 0 50%;
    }

    .header-menu {
        position: absolute;
        top: 100%;
        left: 0;
        width: 100%;
        background: #234c1d;
        padding: 20px;
        display: none;
        flex: 0 0 100%;
        z-index: 1000;
    }

    header.header-padrao.menu-open .header-menu {
        display: block;
    }

    .menu-principal {
        flex-direction: column;
    }

    .menu-principal>li {
        margin: 0;
        text-align: center;
        padding: 10px 0;
    }

    .menu-principal>li>a::after {
        display: none;
    }

    .submenu {
        position: static;
        width: 100%;
        opacity: 1;
        visibility: visible;
        transform: none;
        box-shadow: none;
        margin-top: 10px;
        display: none;
    }

    .menu-dropdown.open .submenu {
        display: block;
    }

    .submenu::before {
        display: none;
    }

    .header-social {
        flex: 0 0 30%;
    }

    .menu-mobile-toggle {
        display: block;
    }
}

@media (max-width: 576px) {
    .header-logo {
        flex: 0 0 70%;
    }

    .header-social {
        display: none;
    }

    .logo-img {
        max-height: 45px;
    }
}