* {
    box-sizing: border-box;
}

/* Reset e configurações básicas */
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* Header */
.header-flash {
    background: transparent;
    position: relative;
    z-index: 1000;
    transition: 0.2s linear all;
    margin-bottom: -70px; 
} 

.header-flash.scroll {
    position: fixed;
    width: 100%;
    max-width: 100%;
    background: #fff;
}

.header-flash .container {
    width: 100%;
    max-width: 1350px;
}

.header-flash .container {
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 70px;
}

/* Logo */
.logo {
    display: flex;
    align-items: center;
}

header .logo img {
    max-height: 40px;
    width: auto;
}

/* Menu Principal */
.main-nav {
    flex: 1;
    margin: 0 40px;
}

.nav-list {
    display: flex;
    list-style: none;
    gap: 32px;
}

.nav-item {
    position: relative;
}

.nav-link {
    display: flex;
    align-items: center;
    gap: 6px;
    text-decoration: none;
    color: #53464F;
    font-weight: 500;
    font-size: 15px;
    padding: 8px 0;
    transition: color 0.2s ease;
}

.nav-link:hover {
    color: #e91e63;
}

a.nav-link.client-menu {
    min-width: 140px;
}

.dropdown-icon {
    transition: transform 0.2s ease;
    color: #e91e63;
}

.nav-item:hover .dropdown-icon {
    transform: rotate(180deg);
    color: #e91e63;
}


/* Menu Cliente */
.client-nav {
    flex: 1;
    margin: 0;
}

.client-nav-list {
    display: flex;
    list-style: none;
    gap: 32px;
    margin: 0;
    padding-left: 0;
}

.megamenu-client-box {
    display: flex;
    gap: 24px;
    align-items: flex-start;
    justify-content: center;
    width: 100%;
}

.megamenu-content-tab {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 24px;
}

.megamenu-client {
    padding: 32px 16px;
    width: 100%;
    max-width: 1350px;
    align-items: flex-start;
    justify-content: center;
    margin: 0 auto;
}

.megamenu-client-box {
    display: grid;
    gap: 24px;
    align-items: flex-start;
    justify-content: center;
    width: 100%;
    grid-template-columns: 400px 1fr;
}

/* Megamenu */
.megamenu {
    position: fixed;
    left: 0;
    top: 55px;
    width: 100%;
    background: #fff;
    border-radius: 0 0 16px 16px;
    box-shadow: 0 20px 25px -5px rgba(0, 0, 0, 0.1), 0 10px 10px -5px rgba(0, 0, 0, 0.04);
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
    margin-top: 8px;
    border: 0;
}

.nav-item.has-megamenu:hover .megamenu {
    opacity: 1;
    visibility: visible;
}

.megamenu-container {
    display: grid;
    gap: 0;
    grid-template-columns: 1fr 1fr 1fr 350px;
    padding: 32px 16px;
    width: 100%;
    max-width: 1350px;
    align-items: flex-start;
    justify-content: center;
    margin: 0 auto;
}

.megamenu-column {
    padding-right: 24px;
}

.megamenu-column:last-child {
    padding-right: 0;
}

.column-title {
    font-size: 16px;
    font-weight: 600;
    color: #111827;
    margin: 12px 0 0;
    padding-bottom: 8px;
}

.column-list {
    list-style: none;
    margin: 0;
    padding: 0;
}

.column-item {
    margin-bottom: 4px;
}

.item-link {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    padding: 12px;
    text-decoration: none;
    color: inherit;
    border-radius: 8px;
    transition: background-color 0.2s ease;
}

.item-link:hover {
    background-color: #FFF0F4;
}

.item-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    border-radius: 8px;
    flex-shrink: 0;
    position: relative;
    background-color: #fff;
    color: #e91e63;
    border: 2px solid #FFF0F4;
}


.item-content {
    flex: 1;
}

.item-title {
    font-size: 14px;
    font-weight: 600;
    color: #111827;
    line-height: 1.4;
    display: flex;
    gap: 8px;
    padding: 0;
    margin: 0;
    align-items: center;
}

.item-description {
    font-size: 13px;
    color: #6b7280;
    line-height: 1.3;
    padding: 0;
    margin: 0;
}

.item-link h4.item-title svg {
    width: 0px;
    margin-left: 0;
    transition:0.2s linear all;
	opacity:0;
}

h4.item-title svg {
    transform: rotate(0deg) !important;
}

.item-link:hover h4.item-title svg{
    width: 13px;
    margin-left: 8px;
    opacity: 1;
}


/* Badges */
.golden-badge {
    background: #FFDBEC;
    border-radius: 10px;
    color: #DA0B6D;
    font-size: 10px;
    font-weight: 700;
    height: 18px;
    padding: 5px 6px;
    position: relative;
    width: fit-content;
    display: flex;
    align-items: center;
    justify-content: center;
}

.update-badge {
    background: #e91e63;
    border-radius: 50%;
    width: 20px;
    height: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
}

/* Banner Column */
.banner-column {
    padding-left: 24px;
    padding-right: 0;
}

.banner-content {
    overflow: hidden;
    height: 100%;
}

.banner-image {
    position: relative;
    height: auto;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    border-radius: 8px;
}

.banner-image img {
    transition: all .4s linear;
}

.banner-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.megamenu-banner-item:hover img, .banner-image:hover img {
    transform: scale(1.2);
}

.banner-text {
    padding: 20px 4px;
}

.banner-title {
    font-size: 12px;
    font-weight: 600;
    color: #6b7280;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    margin-bottom: 8px;
}

.banner-subtitle {
    font-size: 16px;
    font-weight: 700;
    color: #111827;
    line-height: 1.3;
    margin: 0;
    margin-bottom: 8px;
}

.banner-description {
    font-size: 13px;
    color: #6b7280;
    line-height: 1.4;
    margin: 0;
}

.megamenu-banner-item {
    position: relative;
}

a.megamenu-banner-link {
    position: absolute;
    height: 100%;
    width: 100%;
    z-index: 1;
}

/* Header Actions */
.header-actions {
    display: flex;
    align-items: center;
    gap: 20px;
}

.login-area {
    display: flex;
    align-items: center;
    gap: 8px;
    color: #53464F;
    font-size: 14px;
    cursor: pointer;
    padding: 8px 12px;
    min-width: fit-content;
    border-radius: 6px;
    transition: background-color 0.2s ease;
}

.login-area:hover {
    background-color: #f9fafb;
    color: #374151;
}

.user-icon {
    color: #9ca3af;
}

.login-text {
    font-weight: 500;
}

.cta-button {
    background: #e91e63;
    color: white;
    border: none;
    padding: 12px 24px;
    border-radius: 8px;
    font-weight: 600;
    font-size: 14px;
    cursor: pointer;
    transition: all 0.2s ease;
}

.cta-button:hover {
    background: #d81b60;
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(233, 30, 99, 0.3);
}

/* Main Content */
.main-content {
    padding: 60px 0;
    min-height: 500px;
}

.main-content h1 {
    font-size: 32px;
    margin-bottom: 20px;
    color: #111827;
}

.main-content p {
    font-size: 16px;
    color: #6b7280;
}

/* Botão Hambúrguer */
.hamburger-btn {
    display: none;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    width: 40px;
    height: 40px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 8px;
    border-radius: 6px;
    transition: background-color 0.2s ease;
}

.hamburger-btn:hover {
    background-color: #f9fafb;
}

.hamburger-line {
    width: 20px;
    height: 2px;
    background-color: #374151;
    margin: 2px 0;
    transition: all 0.3s ease;
    border-radius: 1px;
}

p.link-extra-megamenu-column {
    margin: 10px 10px 0;
    display: flex;
    align-items: center;
    gap: 6px;
    font-size: 14px;
}

p.link-extra-megamenu-column a {
    color: #f20d7a;
    transition: 0.2s linear all;
    text-decoration: none;
    font-weight: 600;
}

p.link-extra-megamenu-column a:hover {
    color: #ff288e;
}

/* Menu Mobile */
.mobile-menu {
    position: fixed;
    top: -120%;
    right: 0;
    width: 100%;
    height: 100vh;
    background: white;
    z-index: 9999;
    transition: right 0.3s ease;
    box-shadow: -5px 0 15px rgba(0, 0, 0, 0.1);
    overflow-y: auto;
}

.mobile-menu.active {
    top: 0;
}

.mobile-menu-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 20px 24px;
    border-bottom: 1px solid #e5e7eb;
}

.close-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    background: none;
    border: none;
    cursor: pointer;
    border-radius: 6px;
    color: #6b7280;
    transition: all 0.2s ease;
}

.close-btn:hover {
    background-color: #f9fafb;
    color: #374151;
}

.mobile-menu-content {
    padding: 24px;
}

.mobile-login-area {
    display: flex;
    align-items: center;
    gap: 12px;
    justify-content: center;
    padding: 8px 16px;
    border: 1px solid #FE2B8F;
    border-radius: 8px;
    margin-bottom: 16px;
    color: #6b7280;
    font-size: 14px;
    font-weight: 500;
}

.mobile-login-area .user-icon {
    color: #9ca3af;
}

.header-cta-button {
    width: 100%;
    background: #e91e63;
    color: white;
    border: none;
    padding: 12px 24px;
    border-radius: 8px;
    font-weight: 600;
    font-size: 14px;
    cursor: pointer;
    transition: all 0.2s ease;
    margin-bottom: 0px;
    text-decoration: none;
    display: flex;
    align-items: center;
    justify-content: center;
}

.header-cta-button:hover {
    background: #d81b60;
}

.mobile-menu-content .header-cta-button {
    margin-bottom: 20px;
}

.nav-link-mobile {
    justify-content: space-between;
    padding: 16px 0;
}

.mobile-nav-list {
    list-style: none;
    margin: 0;
    padding: 0;
}

.mobile-nav-item {
    border-bottom: 1px solid #f3f4f6;
}

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

.mobile-dropdown-icon {
    color: #9ca3af;
    transition: transform 0.2s ease;
}

li.mobile-nav-item.has-megamenu:hover a {
    color: #e91e63;
}

li.mobile-nav-item.has-megamenu:hover a svg {
    color: #e91e63;
    transform: rotate(180deg);
}

.mobile-menu-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100vh;
    background: rgba(0, 0, 0, 0.5);
    z-index: 9998;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
}

.mobile-menu-overlay.active {
    opacity: 1;
    visibility: visible;
}

/* Responsividade - Mobile */
@media (max-width: 768px) {
    .header-flash .container {
        padding: 0 16px;
    }
    
    .main-nav {
        display: none;
    }
  
  .client-nav {
      display: none;
  }
    
    .megamenu {
        /*display: none;*/
        position:relative;
        height:0;
        margin:0;
    }
  
  .mobile-nav-item:hover .megamenu{
    visibility: visible;
    opacity: 1;
    height:auto;
  }
    
    .header-actions .login-area,
    .header-actions .cta-button {
        display: none;
    }
    
    .hamburger-btn {
        display: flex;
    }
    
    .logo::before {
        font-size: 20px;
    }
  
  .header-cta-button {
    padding: 10px 12px;
  }
  
  .megamenu {
        /* display: none; */
        position: relative;
        height: 0;
        margin: 0;
        top: 0;
        box-shadow: none;
        border-radius: 0;
        background: transparent;
    }

.megamenu-container {
    display: flex;
    flex-wrap: wrap;
    grid-template-columns: inherit;
    padding: 0;
}

.megamenu-column {
    padding: 0;
    margin: 0;
    width: 100%;
}
}

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

.megamenu-column {
    animation: fadeInUp 0.3s ease forwards;
}

.megamenu-column:nth-child(1) { animation-delay: 0.1s; }
.megamenu-column:nth-child(2) { animation-delay: 0.15s; }
.megamenu-column:nth-child(3) { animation-delay: 0.2s; }
.megamenu-column:nth-child(4) { animation-delay: 0.25s; }

/* Estados de foco para acessibilidade */
{#
.nav-link:focus,
.item-link:focus,
.login-area:focus,
.cta-button:focus {
    outline: 2px solid #e91e63;
    outline-offset: 2px;
}
#}

/* Hover effects para os ícones */
.item-icon svg {
    transition: transform 0.2s ease;
}

.item-link:hover .item-icon svg {
    transform: scale(1.1);
}


