/* Variables */
:root {
    --blue: #072763;
    --primary-blue: #003d7a;
    --secondary-blue: #0066cc;
    --terciary-blue: #154296;
    --primary-light-blue: #E4EEFF;
    --yellow: rgb(235, 150, 9);
    --orange: #ff9800;
    --secondary-orange: #ed7c00;
    --terciary-orange: #e47c05dc;
    --secondary-light-blue: #1e88e5;
    --gray: rgb(164, 164, 164);
    --dark-gray: #333333;
    --light-gray: #f5f5f5;
    --white: #ffffff;
    --text-gray: #666666;
}


/* =========================================
        CSS PARA DESIGN BASE
  ========================================= */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html,
body {
    height: 100%;
}

body {
    font-family: 'Cabin', sans-serif;
    font-weight: 500;
    color: var(--dark-gray);
    line-height: 1.6;
}

/* Navbar */
.navbar {
    padding: 1rem 0;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
    background-color: var(--white) !important;
}

.logo-navbar {
    height: 40px;
    width: auto;
    margin-right: 1rem;
}

.navbar-nav .nav-link {
    font-family: 'Cabin', sans-serif;
    font-weight: 500;
    font-size: 0.95rem;
    color: var(--dark-gray) !important;
    margin: 0 0.5rem;
    font-weight: 500;
    transition: color 0.3s ease;
}

.navbar-nav .nav-link:hover {
    color: var(--yellow) !important;
}

.navbar .btn-primary {
    background-color: var(--secondary-blue);
    border-color: var(--secondary-blue);
    padding: 0.5rem 1.5rem;
    font-weight: 600;
    transition: all 0.3s ease;
}

.navbar .btn-primary:hover {
    background-color: var(--primary-blue);
    border-color: var(--primary-blue);
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0, 102, 204, 0.3);
}

/* Custom Client Dropdown */
.custom-client-dropdown {
    position: relative;
    display: inline-block;
}

.custom-client-dropdown .btn-primary {
    background-color: #154296 !important;
    border-color: #154296 !important;
    border-radius: 8px;
    margin-bottom: 0;
    position: relative;
    z-index: 1001;
    transition: border-radius 0.3s ease;
}

.custom-client-dropdown:hover .btn-primary {
    border-radius: 8px 8px 0 0;
}

.custom-client-dropdown .dropdown-menu {
    display: block;
    visibility: hidden;
    opacity: 0;
    transition: all 0.3s ease;
    margin-top: -1px;
    background-color: #154296;
    border: none;
    border-radius: 0 0 8px 8px;
    padding: 0;
    min-width: 100%;
    width: 80%;
    top: 100%;
    right: 0;
    overflow: hidden;
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.2) !important;
}

.custom-client-dropdown:hover .dropdown-menu {
    visibility: visible;
    opacity: 1;
}

.custom-client-dropdown .dropdown-item {
    color: white !important;
    padding: 12px 20px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    font-weight: 500;
    font-size: 13px;
    transition: background-color 0.2s;
}

.custom-client-dropdown .dropdown-item:last-child {
    border-bottom: none;
}

.custom-client-dropdown .dropdown-item:hover {
    background-color: var(--secondary-orange);
}

.custom-client-dropdown .dropdown-toggle::after {
    display: none;
}

@media (max-width: 767.98px) {
    .custom-client-dropdown {
        display: none !important;
    }

    .navbar-toggler {
        position: relative;
        z-index: 1060;
    }

    .navbar-collapse {
        position: fixed;
        top: 0;
        right: 0;
        height: 100vh;
        width: clamp(260px, 80vw, 320px);
        padding: 4rem 1.5rem 2rem;
        background-color: var(--white);
        box-shadow: -18px 0 40px rgba(0, 0, 0, 0.16);
        transition: transform 0.3s ease, visibility 0.3s ease;
        transform: translateX(100%);
        visibility: hidden;
        overflow-y: auto;
        z-index: 1050;
    }

    .navbar-collapse.show {
        transform: translateX(0);
        visibility: visible;
    }

    .navbar-collapse .navbar-nav {
        flex-direction: column;
        gap: 1rem;
        align-items: stretch;
        margin-top: 2rem;
    }

    .navbar-collapse .navbar-nav .nav-link {
        padding: 0.85rem 1rem;
        border-radius: 12px;
        width: 100%;
        font-size: 1.05rem;
        background-color: transparent;
        transition: background-color 0.25s ease, color 0.25s ease;
    }

    .navbar-collapse .navbar-nav .nav-link:hover {
        color: var(--yellow) !important;
        background-color: rgba(0, 61, 122, 0.05);
    }

    .navbar .btn-primary {
        width: 100%;
        margin-top: 1.5rem;
    }
}

/* Footer Institucional */
.container-footer {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 15px;
}

.footer-institutional {
    background-color: var(--terciary-blue);
    color: var(--white);
    padding: 50px 0;

}

.footer-title {
    color: rgba(255, 255, 255, 0.9);
    font-size: 0.9rem;
    font-weight: 700;
    letter-spacing: 1px;
    margin-bottom: 20px;
    text-transform: uppercase;
}

.footer-links {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 12px;
    margin: 0;
    padding: 0;
}

.footer-links a {
    color: rgba(255, 255, 255, 0.9);
    text-decoration: none;
    font-size: 0.95rem;
    transition: all 0.3s ease;
}

.footer-links a:hover {
    color: var(--orange);
    padding-left: 5px;
}

/* Footer Bottom */
.footer-bottom {
    background-color: #f5f5f5;
    padding: 20px 0;
    border-top: 1px solid #e0e0e0;
}

.logo-footer {
    max-width: 200px;
    height: auto;
}

.footer-info,
.footer-legal {
    font-family: 'Cabin', sans-serif;
    font-weight: 400;
    font-size: 0.9rem;
    color: var(--terciary-blue);
    margin-bottom: 10px;
    line-height: 1.8;
}

.follow-text {
    font-family: 'Cabin', sans-serif;
    font-weight: 400;
    color: var(--terciary-blue);
}

.social-links {
    display: flex;
    gap: 15px;
    justify-content: center;
}

.social-link-facebook,
.social-link-linkedin,
.social-link-instagram {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 44px;
    height: 44px;
    border-radius: 50%;
    font-size: 2.5rem;
    transition: all 0.3s ease;
    text-decoration: none;
}

.social-link-facebook {
    color: #041368;
}

.social-link-linkedin {
    color: #086dc0;
}

.social-link-instagram {
    color: #c36;
}

.social-link-facebook:hover,
.social-link-linkedin:hover,
.social-link-instagram:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 20px rgba(105, 105, 105, 0.3);
}

.base-divider {
    width: 65%;
    color: var(--terciary-blue);
    opacity: 1;
    margin: 2rem 0;
}

.certifications {
    display: block;
    gap: 15px;
    align-items: center;

}

.cert-logo {
    max-height: 80px;
    width: auto;
    align-items: center;
    opacity: 0.8;
    transition: opacity 0.3s ease;
}

.download-text {
    font-family: 'Cabin', sans-serif;
    font-weight: 400;
    font-size: 0.85rem;
    color: var(--terciary-blue);
    font-weight: 600;
}

.app-store-links {
    display: flex;
    gap: 10px;
    justify-content: center;
}

.store-link {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    transition: all 0.3s ease;
}

.store-link:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 18px rgba(0, 0, 0, 0.16);
}

/* =========================================
        CSS PARA DESIGN INDEX
  ========================================= */

/* Hero Section */
.hero-section {
    position: relative;
    height: 600px;
    overflow: hidden;
    background-color: var(--white);
}

.carousel-container {
    position: relative;
    height: 100%;
    width: 100%;
}

.carousel-inner {
    position: relative;
    height: 100%;
    width: 100%;
}

.carousel-slide {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    opacity: 0;
    transition: opacity 0.5s ease-in-out;
}

.carousel-slide.active {
    opacity: 1;
}

.hero-background {
    position: relative;
    width: 100%;
    height: 100%;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    display: flex;
    align-items: center;
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, rgba(0, 61, 122, 0.7) 0%, rgba(0, 102, 204, 0.5) 50%, rgba(0, 61, 122, 0.3) 100%);
    z-index: 1;
}

.hero-content {
    position: relative;
    z-index: 2;
    color: white;
}

@keyframes slideInLeft {
    from {
        opacity: 0;
        transform: translateX(-40px);
    }

    to {
        opacity: 1;
        transform: translateX(0);
    }
}

.hero-title {
    font-family: 'Cabin', sans-serif;
    font-size: 3rem;
    font-weight: 600;
    line-height: 1.2;
    margin-bottom: 1.5rem;
    text-shadow: 2px 2px 8px rgba(0, 0, 0, 0.3);
}

.hero-title.text {
    text-align: center;
}

.hero-text {
    font-size: 1.1rem;
    line-height: 1.8;
    margin-bottom: 2rem;
    max-width: 500px;
    text-shadow: 1px 1px 4px rgba(0, 0, 0, 0.2);
}

/* Carousel Controls */
.carousel-control {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    z-index: 3;
    background-color: rgba(255, 255, 255, 0.3);
    border: none;
    color: var(--white);
    width: 50px;
    height: 50px;
    border-radius: 50%;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    transition: all 0.3s ease;
}

.carousel-control:hover {
    background-color: rgba(255, 255, 255, 0.6);
    transform: translateY(-50%) scale(1.1);
}

.carousel-control.prev {
    left: 20px;
}

.carousel-control.next {
    right: 20px;
}

/* Carousel Indicators */
.carousel-indicators {
    position: absolute;
    bottom: 30px;
    left: 50%;
    transform: translateX(-50%);
    z-index: 3;
    display: flex;
    gap: 12px;
}

.indicator {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    border: 2px solid rgba(255, 255, 255, 0.6);
    background-color: transparent;
    cursor: pointer;
    transition: all 0.3s ease;
}

.indicator.active {
    background-color: var(--white);
    width: 30px;
    border-radius: 6px;
}

/* Aplicativo Mobile Section */
.app-section {
    background-color: var(--light-gray);
    padding: 80px 0;
}

.phone-mockup {
    max-width: 100%;
    height: auto;
    filter: drop-shadow(0 10px 40px rgba(0, 0, 0, 0.15));
    animation: floatUp 6s ease-in-out infinite;
}

@keyframes floatUp {

    0%,
    100% {
        transform: translateY(0);
    }

    50% {
        transform: translateY(-20px);
    }
}

.app-content {
    padding: 20px;
}

.app-title {
    font-family: 'Cabin', sans-serif;
    font-size: 2.5rem;
    color: var(--primary-blue);
    font-weight: 700 !important;
    margin-bottom: 0.5rem;
}

.app-subtitle {
    font-family: 'Cabin', sans-serif;
    font-size: 1.5rem;
    color: var(--orange);
    font-weight: 600 !important;
    margin-bottom: 1rem;
}

.app-description {
    font-family: 'Cabin', sans-serif;
    font-size: 1.35rem;
    color: var(--gray) !important;
    font-weight: 500 !important;
    margin-bottom: 2rem;
    line-height: 1.8;
}

.app-buttons {
    display: flex;
    gap: 15px;
    flex-wrap: wrap;
}

.whatsapp-widget {
    position: fixed;
    right: 34px;
    bottom: 28px;
    z-index: 1040;
}

.whatsapp-float-button {
    width: 62px;
    height: 62px;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 0;
    border-radius: 50%;
    background: #25d366;
    color: var(--white);
    box-shadow: 0 10px 22px rgba(0, 0, 0, 0.25);
    cursor: pointer;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.whatsapp-float-button i {
    font-size: 38px;
    line-height: 1;
}

.whatsapp-float-button:hover {
    transform: translateY(-3px);
    box-shadow: 0 14px 26px rgba(0, 0, 0, 0.3);
}

.whatsapp-panel {
    position: absolute;
    right: 0;
    bottom: 78px;
    width: 362px;
    min-height: 152px;
    display: grid;
    grid-template-columns: 116px 1px 1fr;
    align-items: center;
    gap: 22px;
    padding: 30px 24px;
    border: 3px solid var(--terciary-orange);
    border-radius: 18px;
    background: linear-gradient(135deg, var(--terciary-blue) 0%, var(--primary-blue) 100%);
    color: var(--white);
    box-shadow: 0 18px 34px rgba(0, 0, 0, 0.28);
    opacity: 0;
    pointer-events: none;
    transform: translateY(12px) scale(0.96);
    transform-origin: right bottom;
    transition: opacity 0.22s ease, transform 0.22s ease;
}

.whatsapp-widget.is-open .whatsapp-panel {
    opacity: 1;
    pointer-events: auto;
    transform: translateY(0) scale(1);
}

.whatsapp-panel-close {
    position: absolute;
    top: 10px;
    right: 14px;
    border: 0;
    background: transparent;
    color: var(--white);
    font-size: 30px;
    line-height: 1;
    cursor: pointer;
}

.whatsapp-qr img {
    width: 125px;
    height: 125px;
    display: block;
    background: var(--white);
}

.whatsapp-panel-divider {
    width: 1px;
    height: 104px;
    background: rgba(255, 255, 255, 0.9);
}

.whatsapp-panel p {
    margin: 0;
    font-family: 'Cabin', sans-serif;
    font-size: 17px;
    font-weight: 600;
    line-height: 1.18;
}

.home-alert-popup {
    position: fixed;
    inset: 0;
    z-index: 2000;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 24px;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.2s ease;
}

.home-alert-popup.is-open {
    opacity: 1;
    pointer-events: auto;
}

.home-alert-backdrop {
    position: absolute;
    inset: 0;
    background: rgba(0, 0, 0, 0.78);
}

.home-alert-dialog {
    position: relative;
    width: min(646px, 100%);
    min-height: 538px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 58px 66px 54px;
    background: var(--white);
    color: #000;
    text-align: center;
    box-shadow: 0 18px 42px rgba(0, 0, 0, 0.34);
    transform: translateY(18px) scale(0.98);
    transition: transform 0.2s ease;
}

.home-alert-popup.is-open .home-alert-dialog {
    transform: translateY(0) scale(1);
}

.home-alert-close {
    position: absolute;
    top: 18px;
    right: 22px;
    width: 32px;
    height: 32px;
    border: 0;
    background: transparent;
    color: #444;
    font-size: 42px;
    font-weight: 300;
    line-height: 0.75;
    cursor: pointer;
}

.home-alert-icon {
    position: relative;
    width: 116px;
    height: 104px;
    margin-bottom: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #000;
    font-size: 54px;
    font-weight: 900;
}

.home-alert-icon::before {
    content: '';
    position: absolute;
    inset: 0;
    background: #ffc400;
    clip-path: polygon(50% 0, 100% 100%, 0 100%);
    border-radius: 14px;
}

.home-alert-icon i {
    position: relative;
    margin-top: 24px;
}

.home-alert-icon::after {
    content: '';
    position: absolute;
    left: 18px;
    right: 18px;
    bottom: -10px;
    height: 2px;
    background: #f5dd99;
}

.home-alert-dialog h2 {
    margin: 4px 0 22px;
    font-family: 'Cabin', sans-serif;
    font-size: 40px;
    font-weight: 700;
    line-height: 1;
}

.home-alert-message {
    max-width: 500px;
    margin: 0;
    font-family: 'Cabin', sans-serif;
    font-size: 28px;
    font-weight: 600;
    line-height: 1.18;
}

.home-alert-message strong,
.home-alert-note,
.home-alert-note a {
    color: #8b0000;
}

.home-alert-note {
    margin: 26px 0 0;
    font-size: 16px;
    font-weight: 500;
}

.home-alert-note a {
    font-weight: 700;
    text-decoration: none;
}

.btn-app {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 12px 24px;
    font-weight: 600;
    border-radius: 6px;
    transition: all 0.3s ease;
    text-decoration: none;
    color: white;
    border: none;
    cursor: pointer;
    font-size: 1rem;
}

.google-play-link,
.app-store-link {
    display: inline-block;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.google-play-link:hover,
.app-store-link:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 18px rgba(0, 0, 0, 0.16);
}

.store-image {
    max-height: 55px;
    width: auto;
    display: block;
}

/* =========================================
        CSS PARA DESIGN DE CÁPSULA 
  ========================================= */

/* Intro Banner - Página socinalcfi */
.intro-section {
    background-size: cover;
    background-position: center;
    height: 350px;
    display: flex;
    align-items: center;
}

.intro-title {
    font-family: 'Cabin', sans-serif;
    font-size: 3rem;
    font-weight: 700;
    font-size: 45px;
    color: white;
}

.intro-subtitle {
    font-family: 'Cabin', sans-serif;
    font-weight: 400;
    font-size: 25px;
    color: white;
}

.container-slide {
    margin: 0 0 0 40px;

}

/* Design para a capsula */
.timeline-section {
    overflow-x: hidden;
}

.milestone-wrapper {
    display: flex;
    align-items: center;
    gap: 45px;
    max-width: 1000px;
    width: 100%;
    margin: 45px auto 80px auto;
}

.slide-left {
    opacity: 0;
}

.slide-right {
    opacity: 0;
}

.slide-left.is-visible {
    -webkit-animation: slide-left 1.8s cubic-bezier(0.390, 0.575, 0.565, 1.000) both;
    animation: slide-left 1.8s cubic-bezier(0.390, 0.575, 0.565, 1.000) both;
}

.slide-right.is-visible {
    -webkit-animation: slide-right 1.8s cubic-bezier(0.390, 0.575, 0.565, 1.000) both;
    animation: slide-right 1.8s cubic-bezier(0.390, 0.575, 0.565, 1.000) both;
}

@-webkit-keyframes slide-left {
    0% {
        opacity: 0;
        -webkit-transform: translateX(100vw);
        transform: translateX(100vw);
    }

    100% {
        opacity: 1;
        -webkit-transform: translateX(0);
        transform: translateX(0);
    }
}

@keyframes slide-left {
    0% {
        opacity: 0;
        -webkit-transform: translateX(100vw);
        transform: translateX(100vw);
    }

    100% {
        opacity: 1;
        -webkit-transform: translateX(0);
        transform: translateX(0);
    }
}

@-webkit-keyframes slide-right {
    0% {
        opacity: 0;
        -webkit-transform: translateX(-100vw);
        transform: translateX(-100vw);
    }

    100% {
        opacity: 1;
        -webkit-transform: translateX(0);
        transform: translateX(0);
    }
}

@keyframes slide-right {
    0% {
        opacity: 0;
        -webkit-transform: translateX(-100vw);
        transform: translateX(-100vw);
    }

    100% {
        opacity: 1;
        -webkit-transform: translateX(0);
        transform: translateX(0);
    }
}

/* Ano "2000" */
.milestone-year {
    font-family: 'Cabin', sans-serif;
    color: var(--secondary-orange);
    font-size: 4rem;
    font-weight: 900;
    line-height: 1;
    flex-shrink: 0;
    letter-spacing: -1px;
}

/* Container principal azul */
.milestone-card {
    background-color: var(--terciary-blue);
    border-radius: 150px 0 0 150px;
    height: 265.73px;
    display: flex;
    align-items: center;
    padding: 12px;
    flex: 1;
    min-height: 150px;
    position: relative;
}

/* Extensão para o lado direito até o final da tela */
.milestone-card::after {
    content: '';
    position: absolute;
    top: 0;
    bottom: 0;
    left: 100%;
    /* Começa exatamente onde o container termina */
    width: max(0px, calc((100vw - 1000px) / 2));
    /* Completa a faixa até a borda da tela sem gerar scroll horizontal */
    background-color: var(--terciary-blue);
    /* Mesma cor do fundo original */
}

/* Círculo branco que contém a imagem */
.milestone-badge {
    background-color: var(--white);
    width: 220px;
    height: 220px;
    border-radius: 50%;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    flex-shrink: 0;
    overflow: hidden;
    margin-left: 15px;
    margin-right: 15px;
    /* Garante que a imagem quadrada seja cortada em formato de círculo */
}

/* Estilização da imagem dentro do círculo */
.milestone-badge img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    /* Mantém a proporção 1:1 sem distorcer a imagem */
}

/* Textos dentro da barra azul */
.milestone-content {
    color: var(--white);
    padding-left: 30px;
    padding-right: 20px;
}

.milestone-content h3 {
    font-family: 'Cabin', sans-serif;
    margin: 0 0 8px 0;
    font-size: 1.5rem;
    font-weight: 700;
}

.milestone-content p {
    font-family: 'Cabin', sans-serif;
    margin: 0;
    font-size: 0.95rem;
    line-height: 1.5;
    font-weight: 300;
}

/* ---------------------------------------------------
        MODIFICADOR: Versão Invertida (Zigue-Zague) 
  --------------------------------------------------- */

.milestone-wrapper.reverse {
    flex-direction: row-reverse;
    /* Coloca o ano na direita e o card na esquerda */
}

.milestone-wrapper.reverse .milestone-card {
    border-radius: 0 150px 150px 0;
    /* Arredonda o lado direito */
    flex-direction: row-reverse;
    /* Coloca a bolinha na direita e o texto na esquerda */
    background-color: var(--secondary-orange);
    /* Fundo passa a ser laranja */
}

.milestone-wrapper.reverse .milestone-card::after {
    left: auto;
    /* Remove a extensão da direita */
    right: 100%;
    /* Estende a partir do lado esquerdo para o infinito */
    width: max(0px, calc((100vw - 1000px) / 2));
    background-color: var(--secondary-orange);
    /* Extensão passa a ser laranja */
}

/* Inverte as cores na versão reversa */
.milestone-wrapper.reverse .milestone-year {
    color: var(--secondary-blue);
    /* Azul para manter a visibilidade no fundo branco */
}

.milestone-wrapper.reverse .milestone-content {
    padding-left: 20px;
    padding-right: 30px;
    text-align: right;
    /* Alinha o texto à direita para acompanhar o layout */
    color: var(--white);
    /* Texto branco para contrastar com o novo fundo laranja */
}

/* =========================================
        CSS PARA DESIGN BAAS
  ========================================= */

.text-primary-custom {
    font-family: 'Cabin', sans-serif;
    font-weight: 600 !important;
    color: var(--terciary-blue);
}

.text-secondary-custom {
    font-family: 'Cabin', sans-serif;
    font-weight: 600 !important;
    color: var(--secondary-orange);
}

.bg-primary-custom {
    background-color: var(--terciary-blue);
}

.bg-light-blue {
    background-color: var(--primary-light-blue);
}

.text-center {
    font-family: 'Cabin', sans-serif;
    font-weight: 600 !important;
}

/* Hero Section Video Placeholder style */
.baas-intro-section {
    position: relative;
    min-height: 800px;
    display: flex;
    align-items: center;
    /* Centraliza verticalmente o texto */
    justify-content: center;
    overflow: hidden;
    /* Esconde o excesso do vídeo */
    color: white;
}

/* O Vídeo propriamente dito */
.baas-intro-video {
    position: absolute;
    top: 50%;
    left: 50%;
    min-width: 100%;
    min-height: 100%;
    width: auto;
    height: auto;
    z-index: 1;
    transform: translate(-50%, -50%);
    object-fit: cover;
    /* Garante que preencha sem distorcer */
}

/* Overlay escura para dar leitura ao texto */
.baas-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(5, 11, 61, 0.39);
    /* Escurece o vídeo */
    z-index: 2;
}

/* Garante que o conteúdo fique acima de tudo */
.baas-intro-section .container {
    position: relative;
    z-index: 3;
}

.intro-text {
    font-family: 'Cabin', sans-serif;
    font-weight: 600 !important;
    line-height: 1.8;
    /* Aumenta o espaço entre as linhas. Padrão é ~1.2 */
    letter-spacing: 1px;
    /* Opcional: aumenta levemente o espaço entre letras para dar elegância */
    margin-top: 50px;
    /* Garante um afastamento do topo se necessário */
}

.js-typewriter {
    white-space: pre-line;
}

.js-typewriter.is-typing::after {
    content: '|';
    display: inline-block;
    margin-left: 4px;
    -webkit-animation: typewriter-caret 0.8s steps(1) infinite;
    animation: typewriter-caret 0.8s steps(1) infinite;
}

@-webkit-keyframes typewriter-caret {

    0%,
    50% {
        opacity: 1;
    }

    51%,
    100% {
        opacity: 0;
    }
}

@keyframes typewriter-caret {

    0%,
    50% {
        opacity: 1;
    }

    51%,
    100% {
        opacity: 0;
    }
}

.text-custom {
    font-size: 2.5rem;
    color: var(--secondary-orange);
}

.service-card {
    text-align: center;
    padding: 20px;
    /* Cria um respiro interno no card */
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;

}

.service-card h5 {
    font-family: 'Cabin', sans-serif;
    font-weight: 600 !important;
    max-width: 200px;
    /* Evita que o texto fique muito largo */
    margin-top: 20px;
    /* Espaço entre a imagem e o título */
}

.service-card img {
    width: 80px;
    /* Tamanho ajustado dos ícones */
    height: auto;
    margin-bottom: 20px;
    /* Espaço entre a imagem e o título */
    transition: transform 0.3s ease;
}

/* Efeito opcional para dar vida ao passar o mouse */
.service-card:hover img {
    transform: translateY(-5px);
}

.counter-box {
    border: 2px solid #EF7D00;
    border-radius: 10px;
    padding: 30px;
    margin: 10px;
    text-align: center;
    height: 200px;
    width: 350px;
}

/* Estilização customizada para os cards ficarem idênticos */
.card-baas {
    border: none;
    border-radius: 10px;
    /* Bordas arredondadas suaves */
    transition: transform 0.2s ease-in-out, box-shadow 0.2s ease-in-out;
    overflow: hidden;
    /* Garante que a imagem não escape das bordas arredondadas */
    background: #fff;
}

/* Garante que a imagem preencha o card e mantenha proporção */
.card-baas img {
    width: 100%;
    height: auto;
    display: block;
}

.baas-success-logos {
    perspective: 800px;
}

.baas-success-logos .p-3 {
    height: 150px;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}

.baas-success-logos img {
    max-width: 285px;
    max-height: 120px;
    width: 100%;
    height: 100%;
    object-fit: contain;
}

.title-icon-custom {
    font-size: 1.45rem;
    color: var(--terciary-blue);
}

.subtitle-icon-custom {
    font-size: 2rem;
    color: var(--secondary-orange);
}

.text-cart,
.text-faixa {
    font-family: 'Cabin', sans-serif;
    font-weight: 600 !important;
    font-size: 1.45rem;
    color: var(--terciary-blue);
}

.nav-link {
    color: #2D375D;
    font-weight: 500;
}

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

.footer-social-icons i {
    font-size: 24px;
    margin: 0 10px;
    color: var(--terciary-blue);
}

.icon-list-item {
    font-family: 'Cabin', sans-serif;
    font-weight: 600 !important;
    list-style: none;
    padding-left: 0;
    margin-bottom: 8px;
}

.icon-list-item i {
    color: var(--secondary-orange);
    margin-right: 10px;
}

.service-card img {
    width: 64px;
    height: 64px;
    margin-bottom: 15px;
}


/* =========================================
        CSS PARA MODAL CORPORATIVO
  ========================================= */
.custom-modal .modal-content {
    border-radius: 0;
    box-shadow: 0 15px 50px rgba(0, 0, 0, 0.4) !important;
}

.modal-header-custom {
    background: linear-gradient(rgba(7, 39, 99, 0.884), rgba(7, 39, 99, 0.87)), url('/static/img/bg-scr.jpg');
    /* Usando uma imagem existente de fundo */
    background-size: cover;
    background-position: center;
    padding: 40px 20px !important;
    border: none;
}

.modal-title-custom {
    font-family: 'Cabin', sans-serif;
    font-size: 2.5rem;
    font-weight: 900;
    text-shadow: 2px 2px 4px var(--text-gray);
}

.btn-close-custom {
    position: absolute;
    top: 20px;
    right: 20px;
    background: transparent;
    border: none;
    color: white;
    font-size: 1.8rem;
    cursor: pointer;
    transition: transform 0.2s;
    line-height: 1;
}

.btn-close-custom:hover {
    transform: scale(1.1);
}

.modal-section-title {
    font-family: 'Cabin', sans-serif;
    font-size: 18px;
    font-weight: 400;
    color: var(--text-gray);
    letter-spacing: 0.5px;
}

.border-end-custom {
    border-right: 1px solid var(--secondary-blue);
}

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

.modal-list li {
    margin-bottom: 12px;
}

.modal-list a {
    color: var(--orange);
    text-decoration: none;
    font-family: 'Cabin', sans-serif;
    font-weight: 600;
    font-size: 1.05rem;
    display: flex;
    align-items: center;
    transition: color 0.2s;
}

.modal-list a:hover {
    color: var(--secondary-orange);
}

.modal-list i {
    font-size: 1.2rem;
    margin-right: 12px;
    color: var(--primary-blue);
    /* Cor dos ícones conforme imagem */
}

/* Ajuste para o ícone de PDF se quiser cor específica */
.modal-list .fa-file-pdf {
    color: var(--primary-blue);
}

/* Ajuste para o ícone de caret */
.modal-list .fa-caret-right {
    color: #072763;
}

@media (max-width: 768px) {
    .border-end-custom {
        border-right: none;
        border-bottom: 2px solid #072763;
        padding-bottom: 30px;
        margin-bottom: 30px;
    }
}

/* Estilo específico para o cabeçalho do modal (Imagem de fundo azul) */
.modal-header-privacy {
    background-color: #1a4a8e;
    /* Azul base */
    background-image: linear-gradient(rgba(7, 39, 99, 0.884), rgba(7, 39, 99, 0.87)), url('/static/img/bg-scr.jpg');
    /* Adicione a imagem de fundo aqui */
    background-size: cover;
    background-position: center;
    padding: 40px 20px;
    border-bottom: 4px solid #f29200;
    /* Linha de destaque se desejar, ou remova */
    position: relative;
}

/* Ajuste do botão de fechar para ficar no canto superior direito */
.modal-header-privacy .btn-close {
    position: absolute;
    right: 20px;
    top: 20px;
    opacity: 0.8;
}

/* Títulos das seções dentro do corpo */
.privacy-content h3 {
    color: var(--text-gray);
    font-size: 1.25rem;
    font-weight: bold;
    margin-top: 25px;
    margin-bottom: 15px;
}

/* Texto do corpo */
.privacy-content p,
.privacy-content li {
    color: var(--text-gray);
    line-height: 1.6;
    font-size: 0.95rem;
    text-align: justify;
}

/* Lista customizada */
.custom-bullet-list {
    list-style: none;
    padding-left: 20px;
}

.custom-bullet-list li::before {
    content: "•";
    color: #333;
    font-weight: bold;
    display: inline-block;
    width: 1em;
    margin-left: -1em;
}

/* Scrollbar elegante para o modal */
.modal-dialog-scrollable .modal-body::-webkit-scrollbar {
    width: 8px;
}

.modal-dialog-scrollable .modal-body::-webkit-scrollbar-thumb {
    background-color: #ccc;
    border-radius: 10px;
}

ul.custom-list {
    list-style: none;
    /* Remove as bolinhas padrão */
    padding-left: 0;
}

ul.custom-list li {
    position: relative;
    padding-left: 25px;
    margin-bottom: 5px;
    padding-left: 0;
    margin-left: 1cm;
}

/* Adiciona o símbolo de "visto" via CSS */
ul.custom-list li::before {
    content: "\221A";
    /* Código unicode para o símbolo de raiz/visto */
    position: absolute;
    left: 0;
    color: #888;
    font-weight: bold;
}

/* Estilo padrão do link de e-mail */
.email-link {
    color: #555;
    /* Cor igual ao seu texto */
    text-decoration: none;
    /* Remove o sublinhado */
    font-weight: bold;
    /* Deixa em negrito para destacar */
}

/* Efeito quando passa o mouse */
.email-link:hover {
    color: #000;
    /* Escurece a cor */
    text-decoration: underline;
    /* Aparece o sublinhado ao passar o mouse */
}

/* =========================================
        CSS PARA DESIGN DO INVESTIMENTO
  ========================================= */
.invest-hero-section {
    position: relative;
    min-height: 800px;
    display: flex;
    align-items: center;
    /* Centraliza verticalmente o texto */
    justify-content: center;
    overflow: hidden;
    /* Esconde o excesso do vídeo */
    color: white;
}

/* O Vídeo propriamente dito */
.invest-intro-video {
    position: absolute;
    top: 50%;
    left: 50%;
    min-width: 100%;
    min-height: 100%;
    width: auto;
    height: auto;
    z-index: 1;
    transform: translate(-50%, -50%);
    object-fit: cover;
    /* Garante que preencha sem distorcer */
}

/* Overlay escura para dar leitura ao texto */
.invest-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 3, 29, 0.521);
    /* Escurece o vídeo */
    z-index: 2;
}

/* Garante que o conteúdo fique acima de tudo */
.invest-hero-section .invest-text {
    position: relative;
    z-index: 3;
}

.intro-text {
    font-family: 'Cabin', sans-serif;
    font-weight: 600 !important;
    font-size: 47px;
    color: var(--white);
    line-height: 1.8;
    /* Aumenta o espaço entre as linhas. Padrão é ~1.2 */
    letter-spacing: 1px;
    /* Opcional: aumenta levemente o espaço entre letras para dar elegância */
    margin-top: 50px
        /* Garante um afastamento do topo se necessário */
}

/* Aplicativo Mobile Section - Página investimento */
.invest-app-section {
    background-color: var(--white);
    padding: 80px 0;
}

.phone {
    max-width: 100%;
    height: auto;
    padding-right: 80px;
    filter: drop-shadow(0 10px 40px rgba(0, 0, 0, 0.15));
    animation: floatUp 6s ease-in-out infinite;
}

@keyframes floatUp {

    0%,
    100% {
        transform: translateY(0);
    }

    50% {
        transform: translateY(-20px);
    }
}

.invest-app-content {
    padding: 20px;
}

.invest-app-title {
    font-size: 2.5rem;
    color: var(--primary-blue);
    font-weight: 900;
    margin-bottom: 0.5rem;
}

.invest-app-subtitle {
    font-size: 1.5rem;
    color: var(--orange);
    font-weight: 700;
    margin-bottom: 1rem;
}

.invest-app-description {
    font-size: 1.35rem;
    color: var(--gray) !important;
    margin-bottom: 2rem;
    line-height: 1.8;
}

.invest-app-buttons {
    display: flex;
    gap: 15px;
    flex-wrap: wrap;
}

.invest-btn-app {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 12px 24px;
    font-weight: 600;
    border-radius: 6px;
    transition: all 0.3s ease;
    text-decoration: none;
    color: white;
    border: none;
    cursor: pointer;
    font-size: 1rem;
}

.googleplay-link,
.appstore-link {
    display: inline-block;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.googleplay-link:hover,
.appstore-link:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 18px rgba(0, 0, 0, 0.16);
}

.store-img {
    max-height: 55px;
    width: auto;
    display: block;
}

/* FAQ Section */
.faq-title {
    color: var(--secondary-orange);
    font-weight: 900 !important;
    font-size: 45px;
}

.container-faq {
    padding: px 0px 100px 0px;
}

.accordion {
    width: 60%;
}

.accordion-button:not(.collapsed) {
    background-color: transparent;
    color: var(--secondary-orange);
    box-shadow: none;
}

.accordion-button {
    font-family: 'Cabin', sans-serif;
    font-weight: 600 !important;
    font-size: 16px;
    color: var(--terciary-blue);

}

.accordion-body {
    font-family: 'Cabin', sans-serif;
    font-weight: 400 !important;
    font-size: 16px;
    color: var(--text-gray);
}

/* Container principal com fundo branco (ou transparente) */
.cta-section {
    width: 100%;
    background-color: white;
    /* Cor do topo da página */
    padding-top: 50px;
    overflow: visible;
    /* Importante para a imagem não cortar */
}

/* Criamos a faixa azul usando um gradiente ou estilizando a linha */
.cta-container-blue {
    background-color: var(--blue);
    padding: 60px 0;
    /* Espaçamento interno da faixa azul */
    position: relative;
    margin-top: 60px;
}

.img-consultores {
    position: absolute;
    bottom: 0;
    /* Alinha a base da foto com a base da faixa azul */
    right: 450px;
    max-height: 125%;
    /* Faz ela ser maior que a faixa azul */
    z-index: 10;

}

.invest-btn {
    background-color: var(--secondary-orange);
    color: var(--white) !important;
    border: none;
    padding: 15px 45px;
    font-weight: 700;
    font-size: 1.2rem;
    text-transform: uppercase;
    text-decoration: none;
    border-radius: 8px;
    display: inline-block;
    transition: all 0.3s ease;
}

.invest-btn:hover {
    background-color: var(--terciary-orange);
    /* Um tom levemente mais escuro para o hover */
    text-decoration: none;
}

/* =========================================
        CSS PARA DESIGN DO CONTATO
  ========================================= */

.contato-title {
    color: var(--terciary-blue);
    font-family: 'Cabin', sans-serif;
    font-weight: 600;
    font-size: 58px;
}

.contato-label {
    color: var(--terciary-blue);
    font-weight: 400;
    font-size: 16px;
}

.contato-input {
    border-radius: 5px;
    color: var(--text-gray);
    font-weight: 400;
    font-size: 16px;
}

.contato-btn-enviar {
    background-color: var(--secondary-orange);
    border-radius: 5px;
    font-weight: 700;
    ;
    font-size: 15px;
    letter-spacing: 1px;
    transition: all 0.3s ease;
}

.contato-btn-enviar:hover {
    background-color: var(--terciary-orange);
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(255, 123, 0, 0.3);
}

.contato-divider {
    width: 65%;
    color: var(--gray);
    opacity: 1;
    margin: 3rem 0;
}

.container-canais {
    text-align: center;
    align-items: center;
    padding: 50px;
}

.contato-info-title {
    color: var(--terciary-blue);
    font-weight: 600;
    font-size: 36px;
    color: var(--terciary-blue);
}

.contato-info-text {
    color: var(--terciary-blue);
    font-weight: 500;
    font-size: 18px;
}

.contato-info-icon {
    color: var(--terciary-blue);
}



/* Responsividade INDEX*/
@media (max-width: 768px) {
    .hero-title {
        font-family: 'Cabin', sans-serif;
        font-weight: 600;
        font-size: 2rem;
    }

    .hero-text {
        font-size: 1rem;
    }

    .phone-mockup {
        max-width: 100%;
        height: auto;
        padding-right: 80px;
        filter: drop-shadow(0 10px 40px rgba(0, 0, 0, 0.15));
        animation: floatUp 6s ease-in-out infinite;
    }

    .app-description {
        font-size: 1.35rem;
        color: var(--gray) !important;
        margin-bottom: 2rem;
        line-height: 1.8;
    }

    .app-title {
        font-size: 2.5rem;
        color: var(--primary-blue);
        font-weight: 900;
        margin-bottom: 0.5rem;
    }

    .app-subtitle {
        font-size: 1.5rem !important;
        color: var(--orange) !important;
        font-weight: 700 !important;
        margin-bottom: 1rem;
    }

    .app-description {
        font-size: 1.35rem !important;
        color: var(--gray) !important;
        margin-bottom: 2rem !important;
        line-height: 1.8 !important;
    }

    .carousel-control {
        width: 40px;
        height: 40px;
        font-size: 1.2rem;
    }

    .carousel-control.prev {
        left: 10px;
    }

    .carousel-control.next {
        right: 10px;
    }

    .footer-institutional {
        padding: 40px 0;
    }

    .footer-institutional .row {
        text-align: center;
    }

    .footer-bottom {
        text-align: center;
    }

    .app-buttons {
        justify-content: center;
    }

    .whatsapp-widget {
        right: 16px;
        bottom: 18px;
    }

    .whatsapp-float-button {
        width: 56px;
        height: 56px;
    }

    .whatsapp-float-button i {
        font-size: 34px;
    }

    .whatsapp-panel {
        width: calc(100vw - 32px);
        grid-template-columns: 100px 1px 1fr;
        gap: 15px;
        padding: 28px 18px 22px;
    }

    .whatsapp-qr img {
        width: 100px;
        height: 100px;
    }

    .whatsapp-panel p {
        font-size: 14px;
    }

    .home-alert-popup {
        padding: 18px;
    }

    .home-alert-dialog {
        min-height: auto;
        padding: 54px 24px 38px;
    }

    .home-alert-icon {
        width: 88px;
        height: 78px;
        font-size: 42px;
        margin-bottom: 18px;
    }

    .home-alert-icon i {
        margin-top: 18px;
    }

    .home-alert-dialog h2 {
        font-size: 32px;
        margin-bottom: 18px;
    }

    .home-alert-message {
        font-size: 22px;
    }

    .home-alert-note {
        font-size: 14px;
    }


    /* Responsividade socinalcfi */
    .milestone-wrapper,
    .milestone-wrapper.reverse {
        flex-direction: column;
        gap: 20px;
        text-align: center;
    }

    .milestone-card {
        border-radius: 30px;
        flex-direction: column;
        align-items: center;
        padding: 25px 20px;
        min-height: auto;
    }

    .milestone-wrapper.reverse .milestone-card {
        border-radius: 30px;
        flex-direction: column;
        align-items: center;
    }

    .milestone-content,
    .milestone-wrapper.reverse .milestone-content {
        padding-left: 0;
        padding-right: 0;
        margin-top: 20px;
        text-align: center;
        /* No mobile, ambos ficam centralizados */
    }

    .milestone-year {
        font-size: 3.5rem;
    }

    .milestone-badge {
        width: 140px;
        height: 140px;
        margin: 0 auto;
    }

    .milestone-card::after,
    .milestone-wrapper.reverse .milestone-card::after {
        display: none;
    }

    .milestone-content {
        padding-left: 0;
        padding-right: 0;
        margin-top: 20px;
        text-align: center;
    }

    .milestone-content h3 {
        font-size: 1.35rem;
    }

    .milestone-content p {
        font-size: 0.95rem;
        line-height: 1.6;
    }

    .milestone-year {
        font-size: 3rem;
    }

    /* Responsividade baas*/
    /* Opcional: Diminuir um pouco o tamanho em telas pequenas para não quebrar o layout */
    .hero-text {
        font-size: 1.8rem;
        line-height: 2.2;
        /* Em mobile, um espaçamento maior ajuda na leitura */
    }
}

@media (max-width: 576px) {
    .hero-section {
        height: 400px;
    }

    .hero-title {
        font-family: 'Cabin', sans-serif;
        font-weight: 600;
        font-size: 1.5rem;
    }

    .hero-text {
        font-size: 0.9rem;
    }

    .carousel-indicators {
        bottom: 15px;
        gap: 8px;
    }

    .indicator {
        width: 8px;
        height: 8px;
    }

    .indicator.active {
        width: 20px;
    }

    .app-section {
        padding: 40px 0;
    }

    .app-title {
        font-size: 1.8rem;
    }

    .app-subtitle {
        font-size: 1rem;
    }
}

/* Responsividade INVESTIMENTO*/
/* Para telas de Notebooks e Tablets Grandes */
@media (max-width: 1400px) {
    .img-consultores {
        right: 15%;
        /* Em vez de 450px, usamos uma margem pequena em % */
        max-height: 130%;
        /* Reduzimos um pouco a escala para ganhar espaço */
    }
}

/* Para telas de Notebooks Médios/Pequenos */
@media (max-width: 1100px) {
    .img-consultores {
        right: 2%;
        max-height: 100%;
        /* Faz o casal caber exatamente dentro da faixa se necessário */
    }
}

/* Para dispositivos móveis */
@media (max-width: 767.98px) {
    .cta-section .row {
        flex-direction: column;
    }
    .img-consultores {
        left: 50%;
        transform: translateX(-50%);
        width: 75%;
        height: auto;
        max-height: 75%;
    }
    .accordion{
        width: 100%;
    }
}



/* =========================================  
        CSS PARA DESIGN DO CANAL DENUNCIA
  ========================================= */

/* Títulos e Destaques */
.canal-denuncia-main {
    background-color: var(--white);
    padding: 47px 0 88px;
}

.canal-denuncia-container {
    max-width: 1140px;
}

.title-main,
.social-title {
    font-family: 'Cabin', sans-serif;
    font-size: 58px;
    font-weight: 600;
    line-height: 1.1;
    color: #214a99;
}

.canal-denuncia-title {
    margin-bottom: 27px;
    text-align: center;
}

.subtitle-denuncia {
    font-family: 'Cabin', sans-serif;
    font-size: 16px;
    font-weight: 400;
    line-height: 1.55;
    color: #003d94;
}

.canal-denuncia-content p {
    margin-bottom: 15px;
}

.highlight-text {
    font-family: 'Cabin', sans-serif;
    font-size: 16px;
    font-weight: 700;
    color: #003d94;
}

.list-denuncia {
    margin: 0 0 13px 40px;
    padding-left: 0;
}

.list-denuncia li {
    margin-bottom: 14px;
    padding-left: 2px;
    color: #003d94;
}

.canal-denuncia-action {
    margin-top: 25px;
    text-align: center;
}

/* Botões Customizados */
.btn-warning-socinal {
    min-width: 288px;
    min-height: 39px;
    padding: 8px 24px;
    border: none;
    border-radius: 3px;
    background-color: var(--secondary-orange);
    color: var(--white);
    font-family: 'Cabin', sans-serif;
    font-size: 15px;
    font-weight: 500;
    line-height: 1.2;
    transition: background-color 0.3s ease, transform 0.3s ease;
}

.btn-warning-socinal:hover {
    background-color: var(--secondary-orange);
    color: var(--white);
    transform: translateY(-1px);
}

@media (max-width: 768px) {
    .canal-denuncia-main {
        padding: 40px 0 64px;
    }

    .title-main,
    .social-title {
        font-size: 42px;
    }

    .list-denuncia {
        margin-left: 24px;
    }

    .btn-warning-socinal {
        width: 100%;
        min-width: 0;
        max-width: 288px;
    }
}