/* ===================================
   Estilos Customizados - Página Mega/Senior
   =================================== */

/* Fonte Global */
body, h1, h2, h3, h4, h5, h6, p, a, span, div {
    font-family: "Public Sans", sans-serif !important;
}

/* Header */
#header {
    background: #1E2D2A !important;
    height: 90px !important;
    transition: all 0.5s;
    z-index: 997;
    padding: 15px 0;
}

#header.header-scrolled {
    background: #1E2D2A !important;
    padding: 15px 0;
}

#header .logo img {
    max-height: 60px;
    transition: all 0.3s;
}

/* Garantir que a logo sempre fique visível */
#header-logo {
    opacity: 1 !important;
    visibility: visible !important;
    display: block !important;
    max-height: 60px !important;
}

#header.header-scrolled #header-logo,
#header.header-scrolled .logo img {
    opacity: 1 !important;
    visibility: visible !important;
    display: block !important;
}

/* Navbar */
.navbar {
    padding: 0;
}

.navbar ul {
    margin: 0;
    padding: 0;
    display: flex;
    list-style: none;
    align-items: center;
}

.navbar li {
    position: relative;
}

.navbar a,
.navbar a:focus {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 10px 0 10px 30px;
    font-size: 15px;
    font-weight: 500;
    color: #fff;
    white-space: nowrap;
    transition: 0.3s;
    text-decoration: none;
}

.navbar a i,
.navbar a:focus i {
    line-height: 0;
    margin-left: 5px;
}

.navbar a:hover,
.navbar .active,
.navbar .active:focus,
.navbar li:hover > a {
    color: #00c7a8;
}

/* Mobile Nav Toggle - escondido por padrão em desktop */
.mobile-nav-toggle {
    display: none;
}

/* Dropdown Menu */
.navbar .dropdown ul {
    display: block;
    position: absolute;
    left: 14px;
    top: calc(100% + 30px);
    margin: 0;
    padding: 10px 0;
    z-index: 99;
    opacity: 0;
    visibility: hidden;
    background: #fff;
    box-shadow: 0px 0px 30px rgba(127, 137, 161, 0.25);
    transition: 0.3s;
    border-radius: 4px;
}

.navbar .dropdown ul li {
    min-width: 200px;
}

.navbar .dropdown ul a {
    padding: 10px 20px;
    font-size: 14px;
    text-transform: none;
    font-weight: 500;
    color: #1E2D2A;
}

.navbar .dropdown ul a i {
    font-size: 12px;
}

.navbar .dropdown ul a:hover,
.navbar .dropdown ul .active:hover,
.navbar .dropdown ul li:hover > a {
    color: #00c7a8;
    background-color: #f8f9fa;
}

.navbar .dropdown:hover > ul {
    opacity: 1;
    top: 100%;
    visibility: visible;
}

/* Banner */
#banner-segment {
    height: 42.43vw;
    padding: 20.75rem 0;
    position: relative;
}

#banner-segment:before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(180deg, rgba(0, 0, 0, 0.6) 0%, rgba(0, 0, 0, 0.4) 100%);
    opacity: 1;
    z-index: 1;
    border-bottom-left-radius: 40px;
    border-bottom-right-radius: 40px;
}

#banner-segment > * {
    position: relative;
    z-index: 2;
}

.banner-segment-senior {
    background-image: url(../images/banner-page-ghost.jpg);
    background-size: cover !important;
    background-position: center;
    border-bottom-left-radius: 40px;
    border-bottom-right-radius: 40px;
}

.banner-segment h1 {
    font-family: "Public Sans", sans-serif !important;
    font-size: 3.125rem;
    color: #fff;
    font-weight: 700;
}

.banner-segment h2, .banner-segment p {
    font-family: "Public Sans", sans-serif !important;
    line-height: 150%;
    font-size: 1.75rem;
    color: #fff;
    font-weight: 400;
}

.banner-segment-box {
    margin-top: 2rem;
    margin-bottom: 2rem;
    text-align: center;
}

/* Botão Senior Orange */
.btn-senior-orange {
    background: #e17f35 !important;
    box-shadow: none !important;
    color: #000 !important;
    height: 44px !important;
    padding: 12px 16px !important;
    border-radius: 15px 0px 15px 0px !important;
    font-weight: 500 !important;
    text-transform: unset !important;
    font-size: 17px !important;
    border: none;
    cursor: pointer;
    text-decoration: none;
    display: inline-block;
}

.btn-senior-orange:hover {
    background: #a95f28 !important;
    color: #000 !important;
}

/* Widget Next - Seta de navegação */
.widget-next {
    position: relative;
}

.widget-next.next-mb-40 .next {
    top: 40px;
}

.widget-next .next {
    position: absolute;
    left: 50%;
    margin: -30px 0 -30px -30px;
    box-shadow: 0px 4px 4px rgba(0, 0, 0, 0.25);
    z-index: 1;
}

.widget-next .next:before {
    margin-top: -12px;
    transform: rotate(315deg);
}

.arrow:before {
    content: '';
    height: 18px;
    width: 18px;
    border-left: 4px solid #fff;
    border-bottom: 4px solid #fff;
    position: absolute;
    top: 50%;
    margin-top: -5px;
    right: 17px;
    transform: rotate(135deg);
}

.arrow {
    width: 60px;
    height: 60px;
    border-radius: 30px;
    border: 4px solid #fff;
    background: #00c7a8;
    box-shadow: 0px 4px 4px rgba(0, 0, 0, 0.25);
    display: block;
    text-decoration: none;
    position: relative;
}

#footer .arrow {
    top: -78px;
    left: 50%;
    margin-left: -30px;
}

/* Personal Data / Sobre */
.personal-data {
    background: #f7f7f7;
    padding: 3rem 0;
}

.personal-data p {
    font-family: "Public Sans", sans-serif !important;
    font-size: 1.03rem;
    font-weight: 400;
    line-height: 150%;
    font-style: normal;
    color: #000;
}

.personal-data h2 {
    font-family: "Public Sans", sans-serif !important;
    font-weight: 700;
    line-height: 2.125rem;
}

/* Soluções / Segmentos */
.solutions-title {
    color: #00968b;
    font-family: "Public Sans", sans-serif !important;
    font-size: 1.5rem;
    font-weight: 600;
    text-align: center;
    margin-bottom: 3rem;
}

.icon-boxes {
    background: #f7f7f7;
    margin-top: 1.875rem;
    width: 100%;
    z-index: 100;
}

.icon-boxes .icon-box {
    background: rgba(255, 255, 255, 0.2);
    border-radius: 0.625rem;
    box-shadow: 0 1.125rem 2.1875rem -0.625rem rgba(0, 0, 0, 0.1);
    cursor: pointer;
    height: fit-content;
    overflow: hidden;
    padding: 0;
    position: relative;
    transition: all 0.3s ease-in-out;
    display: flex;
    flex-direction: column;
}

.icon-boxes .icon-box:hover {
    transform: translateY(-5px);
    box-shadow: 0 1.5rem 3rem -0.625rem rgba(0, 0, 0, 0.15);
}

.icon-boxes .icon {
    display: inline-block;
    margin: 0;
    text-align: center;
    padding: 0;
}

.icon-boxes .icon img {
    width: 100%;
    max-width: 100%;
    height: auto;
    display: block;
}

.icon-boxes .title {
    font-family: "Public Sans", sans-serif !important;
    font-size: 1.25rem;
    font-weight: 700;
    margin-bottom: 0;
    background: #00968b;
    margin-top: auto;
}

.icon-boxes .title i {
    font-size: 1.5rem;
    width: 0.9375rem;
}

.icon-boxes .title a {
    color: #fff;
    display: flex;
    justify-content: space-between !important;
    line-height: 1.75rem;
    padding: 1rem 1.3125rem 1rem 1rem;
    width: 100%;
    text-decoration: none;
    font-family: "Public Sans", sans-serif !important;
}

.icon-boxes .title a:hover {
    color: #fff;
    opacity: 0.9;
}

/* Estatísticas - We Are Latam */
.about {
    background: #00968b;
    padding: 3.75rem 0;
}

.we-are-latam-new {
    padding: 2rem 0;
}

.we-are-latam-new h2 {
    font-family: "Public Sans", sans-serif !important;
    font-size: 2rem;
    color: #259b81;
    font-weight: 700;
    text-align: center;
    margin: 1rem 0;
}

.we-are-latam-new p {
    font-family: "Public Sans", sans-serif !important;
    font-size: 1.03rem;
    line-height: 150%;
    font-style: normal;
    font-weight: 400;
    color: #000;
    text-align: center;
}

.we-are-latam-box {
    background: #fff;
    border-radius: 10px;
    padding: 15px;
    min-height: 260px;
    box-shadow: 0px 4px 4px 0px rgba(0, 0, 0, 0.25);
    text-align: center;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
}

.we-are-latam-box p:first-child {
    margin-bottom: 1rem;
}

.we-are-latam-box svg {
    margin-bottom: 1rem;
}

/* Equalizar tamanho dos cards */
.we-are-latam-new .row {
    display: flex;
    flex-wrap: wrap;
}

.we-are-latam-new .col-md-3 {
    display: flex;
}

.we-are-latam-new .we-are-latam-box {
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    align-items: center;
    width: 100%;
    min-height: 280px;
    padding: 30px 20px;
}

.we-are-latam-new .we-are-latam-box p:first-child {
    height: 100px;
    display: flex;
    align-items: center;
    justify-content: center;
}



.we-are-latam-new .we-are-latam-box h2 {
    margin-top: 15px;
    margin-bottom: 10px;
}

.we-are-latam-new .we-are-latam-box p:last-child {
    flex-grow: 1;
    display: flex;
    align-items: flex-start;
    text-align: center;
}

/* CTA */
.cta {
    background: #54595f;
    padding: 5rem 0;
    text-align: center;
}

.cta-title {
    font-family: "Public Sans", sans-serif !important;
}

.cta-title h3 {
    font-family: "Public Sans", sans-serif !important;
    font-size: 2rem;
    font-weight: 700;
    color: #fff;
    margin-bottom: 1.5rem;
}

.cta-title p {
    font-family: "Public Sans", sans-serif !important;
    font-size: 1.03rem;
    line-height: 150%;
    font-style: normal;
    font-weight: 400;
    color: #fff;
    margin-bottom: 2rem;
}

.cta img {
    max-width: 100%;
    height: auto;
    margin-top: 2rem;
}

/* Footer */
#footer {
    background: #EDEEEE !important;
    color: #000;
    padding: 3rem 0 2rem;
}

#footer .footer-top {
    background: #EDEEEE !important;
    padding-bottom: 40px;
}

#footer .footer-top p {
    font-family: "Public Sans", sans-serif !important;
    font-size: 14px;
    font-weight: 500;
    line-height: 24px;
}

/* Modais */
.modal-content {
    border-radius: 15px;
}

.modal-header {
    background: #00968b;
    color: #fff;
    border-radius: 15px 15px 0 0;
}

.modal-header h5 {
    font-family: "Public Sans", sans-serif !important;
    font-weight: 600;
}

.modal-body {
    padding: 2rem;
}

/* Responsive */
@media (max-width: 991px) {
    /* Mobile Nav Toggle */
    .mobile-nav-toggle {
        color: #fff;
        font-size: 28px;
        cursor: pointer;
        display: block !important;
        line-height: 0;
        transition: 0.5s;
    }
    
    .header-scrolled .mobile-nav-toggle {
        color: #323841 !important;
    }
    
    .navbar ul {
        display: none;
    }
    
    /* Navbar Mobile */
    .navbar-mobile {
        position: fixed;
        overflow: hidden;
        top: 0;
        right: 0;
        left: 0;
        bottom: 0;
        background: rgba(0, 200, 157, 0.9);
        transition: 0.3s;
        z-index: 999;
    }
    
    .navbar-mobile .mobile-nav-toggle {
        position: absolute;
        top: 15px;
        right: 15px;
    }
    
    .navbar-mobile ul {
        display: block !important;
        position: absolute;
        top: 55px;
        right: 15px;
        bottom: 65px;
        left: 15px;
        padding: 10px 0;
        border-radius: 10px;
        background-color: #fff;
        overflow-y: auto;
        transition: 0.3s;
    }
    
    .navbar-mobile > ul > li {
        padding: 0;
    }
    
    .navbar-mobile a,
    .navbar-mobile a:focus {
        padding: 10px 20px;
        font-size: 15px;
        color: #00c89d;
    }
    
    .navbar-mobile a:hover {
        color: #ff8123;
    }
    
    .navbar-mobile .dropdown ul {
        position: static;
        display: none;
        padding: 10px 0;
        z-index: 99;
        opacity: 1;
        visibility: visible;
        background: #fff;
        box-shadow: 0px 0px 30px rgba(127, 137, 161, 0.25);
    }
    
    .navbar-mobile .dropdown ul li {
        min-width: 200px;
    }
    
    .navbar-mobile .dropdown ul a {
        padding: 10px 20px;
    }
    
    .navbar-mobile .dropdown > .dropdown-active {
        display: block;
    }
    
    .navbar-mobile .btn-senior-orange {
        margin: 10px 20px;
        display: block;
        text-align: center;
    }
    
    #header {
        height: 70px !important;
        padding: 10px 0;
    }
    
    #header .logo img {
        max-height: 45px;
    }
    
    #header-logo {
        max-height: 45px !important;
    }
}

@media (max-width: 768px) {
    h1 {
        font-size: 2rem !important;
    }
    
    h2 {
        font-size: 1.25rem !important;
    }
    
    h3 {
        font-size: 1.25rem !important;
    }
    
    p {
        font-size: 0.9rem !important;
    }
    
    #banner-segment {
        padding: 5.75rem 0 !important;
        height: auto;
        background-position: 0 0;
    }
    
    .we-are-latam-box {
        min-height: auto !important;
        margin-bottom: 1rem;
    }
    
    .icon-boxes {
        display: block !important;
        padding: 2rem 0;
    }
    
    .icon-boxes .d-flex {
        justify-content: center !important;
    }
    
    .icon-boxes .icon-box {
        margin-bottom: 1.5rem;
    }
    
    .banner-segment h1 {
        font-size: 2rem !important;
    }
    
    .banner-segment h2 {
        font-size: 1.2rem !important;
    }
}
