:root {
    --wa-blue-dark: #07253f;
    /* Azul muito escuro para fundos profundos */
    --wa-blue-primary: #0c3c61;
    /* O seu azul original */
    --wa-blue-secondary: #0f3049;
    /* Azul intermédio */
    --wa-orange: #f2aa37;
    /* O seu laranja - excelente para destaque no escuro */
    --text-light: #f8fafc;
    /* Texto branco/cinza claro */
    --text-muted-dark: #94a3b8;
    /* Texto secundário em fundos escuros */

    /* Variáveis para cards brancos no meio do azul */
    --card-text-main: #334155;
    --card-text-muted: #64748b;

    /* Outras cores */
    --wa-card: #64748b;
    --wa-blue-light: #7fc9ff;
}

.text-wa-blue {
    color: var(--wa-blue-primary);
}

.bg-wa-blue-primary {
    background-color: var(--wa-blue-primary);
}

.bg-wa-blue-secondary {
    background-color: var(--wa-blue-secondary);
}

.bg-wa-blue-dark {
    background-color: var(--wa-blue-dark);
}



/* ========================================================= */
/* BOTÃO VOLTAR AO TOPO                                      */
/* ========================================================= */
.btn-back-to-top {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 50px;
    height: 50px;
    background-color: var(--wa-blue-dark);
    color: white;
    border: none;
    border-radius: 50%;
    font-size: 1.5rem;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
    cursor: pointer;
    z-index: 1050;
    /* Fica acima de quase tudo na página */
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
    transform: translateY(20px);
}

.btn-back-to-top.show {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.btn-back-to-top:hover {
    background-color: #d9962e;
    color: white;
    transform: translateY(-5px);
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.3);
}

/* Responsividade para não atrapalhar no telemóvel */
@media (max-width: 768px) {
    .btn-back-to-top {
        bottom: 20px;
        right: 20px;
        width: 45px;
        height: 45px;
        font-size: 1.2rem;
    }
}


/* ========================================================= */
/* FLIP CARDS (Diferenciais)                                 */
/* ========================================================= */

/* 1. O Container que cria a perspetiva 3D */
.flip-card-container {
    perspective: 1000px;
    height: 420px;
    /* Altura ajustada para acomodar o texto novo */
    margin-bottom: 20px;
}

/* 2. A "carta" interna que vai girar */
.flip-card-inner {
    position: relative;
    width: 100%;
    height: 100%;
    text-align: center;
    transition: transform 0.8s cubic-bezier(0.4, 0.2, 0.2, 1);
    /* Animação suave */
    transform-style: preserve-3d;
}

/* 3. O Gatilho do Giro (Hover no Desktop / Touch no Mobile) */
.flip-card-container:hover .flip-card-inner {
    transform: rotateY(180deg);
}

/* 4. Estilos comuns para a Frente e para o Verso */
.flip-card-front,
.flip-card-back {
    position: absolute;
    width: 100%;
    height: 100%;
    backface-visibility: hidden;
    /* Esconde as costas do elemento quando girado */
    border-radius: 12px;
    padding: 2rem;
    display: flex;
    flex-direction: column;
    justify-content: center;
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.15);
}

/* 5. Estilo exclusivo da Frente (Branca) */
.flip-card-front {
    background-color: #ffffff;
    color: var(--wa-blue-primary);
    border: 1px solid rgba(12, 60, 97, 0.1);
}

.flip-card-front h4 {
    color: var(--wa-blue-primary);
}

.icon-front {
    font-size: 3rem;
    color: var(--wa-orange);
    margin-bottom: 1.5rem;
}

/* 6. Estilo exclusivo do Verso (Azul Escuro) */
.flip-card-back {
    background-color: var(--wa-blue-dark);
    /* Fundo azul profundo */
    color: #ffffff;
    transform: rotateY(180deg);
    /* Já começa virado ao contrário */
    text-align: left;
    border: 2px solid var(--wa-orange);
    /* Borda laranja para destaque */
}

/* 7. Tipografia do Verso */
.flip-card-back h5 {
    color: var(--wa-orange) !important;
    font-weight: bold;
    margin-bottom: 1rem;
    text-align: center;
}

.flip-card-back ul {
    padding-left: 1.2rem;
    font-size: 0.9rem;
    margin-bottom: 0;
    color: #ffffff;
}

.flip-card-back li {
    margin-bottom: 10px;
    line-height: 1.4;
}

/* Pinta a "bolinha" (bullet point) da lista de laranja */
.flip-card-back li::marker {
    color: var(--wa-orange);
}



/* Layout dos Mapas */
.wa-map-wrapper {
    overflow-x: hidden;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 40px;
    margin-bottom: 60px;
}

.wa-map-main {
    flex: 2;
    /* Brasil maior */
    position: relative;
    /* background: var(--white); */
    padding: 30px;
    /* border-radius: 20px; */
    /* box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05); */
}

.wa-map-secondary {
    flex: 1;
    /* Mundo menor */
    position: relative;
    /* background: var(--white); */
    padding: 20px;
    /* border-radius: 20px; */
    /* box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05); */
    display: flex;
    flex-direction: column;
    align-items: center;
}

.wa-map-2-desk {
    flex: 1;
    /* Mundo menor */
    position: relative;
    /* background: var(--white); */
    padding: 20px;
    /* border-radius: 20px; */
    /* box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05); */
    display: flex;
    flex-direction: column;
    align-items: center;
    display: none !important;
}

/* Badges e Info Cards do seu layout */
.wa-badge {
    position: absolute;
    top: 20px;
    left: 20px;
    background-color: var(--primary-blue);
    color: var(--white);
    padding: 8px 15px;
    border-radius: 30px;
    font-size: 0.85rem;
    font-weight: bold;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
}

.wa-info-card {
    margin-top: 15px;
    text-align: center;
    padding: 10px;
    background-color: var(--wa-blue-primary);
    border-radius: 10px;
    width: 100%;
}

/* Cards Grid Inferior */
.wa-cards-grid {
    display: flex;
    gap: 30px;
    justify-content: center;
}

.wa-card {
    background: var(--white);
    padding: 25px;
    border-radius: 15px;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.05);
    flex: 1;
    max-width: 400px;
    text-align: center;
    border-top: 4px solid var(--wa-orange);
    transition: transform 0.3s;
}

.wa-card:hover {
    transform: translateY(-5px);
}

.wa-icon {
    font-size: 2.5rem;
    margin-bottom: 15px;
}

.wa-card h3 {
    font-size: 1.3rem;
    font-weight: bold;
    color: var(--primary-blue);
    margin-bottom: 10px;
}

.wa-card p {
    color: #666;
    font-size: 0.95rem;
    margin-bottom: 0;
}

/* ========================================== */
/* ESTILOS DOS MARCADORES INTERATIVOS (PINS)  */
/* ========================================== */
.map-marker {
    position: absolute;
    display: flex;
    flex-direction: column;
    align-items: center;
    z-index: 10;
}

.marker-dot {
    width: 9px;
    height: 9px;
    background-color: var(--wa-orange);
    border-radius: 50%;
    position: relative;
    cursor: pointer;
    box-shadow: 0 0 10px rgba(242, 170, 55, 0.8);
}

.marker-dot::after {
    content: '';
    position: absolute;
    top: -5px;
    left: -5px;
    right: -5px;
    bottom: -5px;
    border: 2px solid var(--wa-orange);
    border-radius: 50%;
    animation: pulse 1.5s infinite;
}

@keyframes pulse {
    0% {
        transform: scale(0.8);
        opacity: 1;
    }

    100% {
        transform: scale(1.8);
        opacity: 0;
    }
}

/* Card Flutuante do Marcador */
.marker-info {
    position: absolute;
    bottom: 30px;
    left: 50%;
    transform: translateX(-50%);
    background: #fff;
    /* border: 1px solid rgba(12, 60, 97, 0.1); */
    border-radius: 8px;
    padding: 12px;
    width: max-content;
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.15);
    text-align: center;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
    z-index: 20;
}


.map-marker:hover .marker-info,
.marker-info:hover {
    opacity: 1;
    visibility: visible;
    bottom: 35px;
}

.marker-info::after {
    content: '';
    position: absolute;
    bottom: -8px;
    left: 50%;
    transform: translateX(-50%);
    border-width: 8px 8px 0;
    border-style: solid;
    border-color: #fff transparent transparent transparent;
}

.marker-info h6 {
    color: var(--wa-blue-dark);
    font-weight: bold;
    margin-bottom: 5px;
    border-bottom: 1px solid #eee;
    padding-bottom: 5px;
    font-size: 0.95rem;
}

.marker-info p {
    font-size: 0.8rem;
    color: #555;
    margin-bottom: 10px;
    line-height: 1.3;
}

/* Botão + */
.btn-plus {
    background-color: var(--wa-blue-primary);
    color: white;
    border: none;
    border-radius: 50%;
    width: 30px;
    height: 30px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto;
    cursor: pointer;
    transition: background 0.3s, transform 0.2s;
}

.btn-plus:hover {
    background-color: var(--wa-orange);
    transform: scale(1.1);
}



/* Responsividade */
@media (max-width: 992px) {
    .wa-map-wrapper {
        overflow-x: hidden;
        flex-direction: column;
    }

    .wa-map-main,
    .wa-map-2-desk,
    .wa-map-secondary {
        width: 130%;
        padding-top: 35px;
    }


    .wa-cards-grid {
        flex-direction: column;
        align-items: center;
    }

    .wa-map-secondary {
        display: none !important;
    }

}


/* .wa-map-main {
    flex: 2;
    position: relative;
    Isso é OBRIGATÓRIO para os marcadores funcionarem
    background: var(--white);
    padding: 30px;
    border-radius: 20px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
} */



body {
    width: 100%;
    max-width: 100vw;
    overflow-x: hidden !important;
    font-family: 'Inter', sans-serif;
    color: var(--text-light);
    background-color: var(--wa-blue-primary);
    -webkit-font-smoothing: antialiased;
}

h1,
h2,
h3,
h4,
h5,
h6 {
    color: var(--wa-orange);
    font-weight: 700;
    letter-spacing: -0.03em;
}

/* Topbar Clean & Dark */
.topbar {
    background-color: var(--wa-blue-dark);
    font-size: 0.8rem;
    font-weight: 500;
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

.topbar a {
    color: var(--text-muted-dark);
    text-decoration: none;
    transition: color 0.2s;
}

.topbar a:hover {
    color: var(--wa-orange);
}

/* Navbar Dark Style */
.navbar {
    padding: 1rem 0;
    background-color: rgba(7, 37, 63, 0.95);
    /* wa-blue-dark com transparência */
    backdrop-filter: blur(10px);
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
    transition: all 0.3s ease;
}

.navbar.scrolled {
    background-color: var(--wa-blue-dark) !important;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3);
}

.navbar-brand img {
    filter: brightness(0) invert(1);
    /* Torna o logo branco */
}

.nav-link {
    font-weight: 500;
    font-size: 0.95rem;
    color: #e2e8f0 !important;
    padding: 0.5rem 1rem !important;
    transition: color 0.2s;
}

.nav-link:hover {
    color: var(--wa-orange) !important;
}

.btn-saas-outline {
    border: 1px solid rgba(255, 255, 255, 0.2);
    color: white;
    font-weight: 600;
    border-radius: 6px;
    padding: 0.5rem 1.25rem;
    transition: all 0.2s;
}

.btn-saas-outline:hover {
    border-color: var(--wa-orange);
    color: var(--wa-orange);
    background-color: transparent;
}

.btn-saas-primary {
    background-color: var(--wa-orange);
    color: var(--wa-blue-dark);
    font-weight: 700;
    border-radius: 6px;
    padding: 0.6rem 1.5rem;
    border: none;
    transition: all 0.2s;
    text-decoration: none;
}

.btn-saas-primary:hover {
    background-color: #d9962e;
    color: var(--wa-blue-dark);
    transform: translateY(-2px);
}

/* Hero Section */
.hero-section {
    /* padding: 100px 0 80px; */
    background-image: linear-gradient(rgba(10, 25, 47, 0.9), rgba(10, 25, 47, 0.9)), url('img/map-2.png');
    /* background: linear-gradient(180deg, var(--wa-blue-dark) 0%, var(--wa-blue-primary) 100%), url('https://images.unsplash.com/photo-1576091160550-2173dba999ef?auto=format&fit=crop&w=1920&q=80'); */
    position: relative;
    background-size: cover;
    background-position: center center;
    background-attachment: fixed;
    /* Efeito Parallax opcional */
    padding: 170px 0 100px 0;
    /* Ajuste o padding se necessário */
}

.hero-section-2 {
    /* background: linear-gradient(180deg, var(--wa-blue-dark) 0%, var(--wa-blue-primary) 100%); */
    padding: 120px 0 80px;
    border-bottom: 1px solid var(--border-dark);
    text-align: center;
}


.hero-badge {
    display: inline-block;
    padding: 6px 15px;
    background-color: rgba(242, 170, 55, 0.15);
    color: var(--wa-orange);
    border-radius: 20px;
    font-size: 0.8rem;
    font-weight: 700;
    letter-spacing: 0.5px;
    text-transform: uppercase;
    margin-bottom: 1.5rem;
    border: 1px solid rgba(242, 170, 55, 0.3);
}

.hero-badge-2 {
    display: inline-block;
    padding: 6px 15px;
    background-color: rgba(255, 255, 255, 0.05);
    color: var(--text-muted-dark);
    border-radius: 6px;
    font-size: 0.75rem;
    font-weight: 700;
    letter-spacing: 1px;
    text-transform: uppercase;
    margin-bottom: 1.5rem;
    border: 1px solid var(--border-dark);
}


.hero-title {
    color: #ffffff;
    font-size: 3.5rem;
    line-height: 1.1;
    margin-bottom: 1.5rem;
}

/* Logos Section */
.logos-section {
    padding: 40px 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
    border-top: 1px solid rgba(255, 255, 255, 0.05);
    background-color: var(--wa-blue-secondary);
}

.logos-title {
    font-size: 0.85rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    color: var(--text-muted-dark);
    font-weight: 600;
    margin-bottom: 20px;
}

/* Utilidades Comuns Dark Mode */
.section-title-sm {
    font-size: 1.2rem;
    /* text-transform: ; */
    letter-spacing: 1px;
    color: #ffffff;
    font-weight: 700;
    margin-bottom: 1rem;
}


/* Portfolio / Services Cards (MANTIDOS BRANCOS PARA CONTRASTE) */
.saas-card {
    background: white;
    border: none;
    border-radius: 12px;
    padding: 2rem;
    height: 100%;
    transition: all 0.3s ease;
    color: var(--card-text-main);
}

.saas-card h4 {
    color: var(--wa-blue-dark);
}

.saas-card p {
    color: var(--card-text-muted) !important;
}

.saas-card:hover {
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.3);
    transform: translateY(-5px);
}

.card-badge {
    font-size: 0.8rem;
    font-weight: 700;
    text-transform: uppercase;
    padding: 4px 8px;
    border-radius: 4px;
    margin-bottom: 1rem;
    display: inline-block;
}

.badge-standard {
    background-color: #f1f5f9;
    color: #475569;
}

.badge-exclusive {
    background-color: rgba(242, 170, 55, 0.15);
    color: #b47a1b;
}

.saas-icon {
    font-size: 2.2rem;
    color: var(--wa-blue-primary);
    margin-bottom: 1.5rem;
}

.check-list {
    list-style: none;
    padding: 0;
    margin-top: 1.5rem;
}

.check-list li {
    position: relative;
    padding-left: 28px;
    margin-bottom: 12px;
    font-size: 0.95rem;
    color: var(--card-text-main);
}

.check-list.dark-bg li {
    color: #e2e8f0;
}

/* Para listas sobre fundo azul */

.check-list li::before {
    content: "\F26A";
    font-family: "bootstrap-icons";
    position: absolute;
    left: 0;
    top: 2px;
    color: var(--wa-orange);
    /* Check laranja */
    font-size: 1.1rem;
}

.saas-card .check-list li::before {
    color: var(--wa-blue-primary);
}

/* Check azul dentro do card branco */

/* Stats Section */
.stats-section {
    background-color: var(--wa-blue-primary);
    border-top: 1px solid rgba(255, 255, 255, 0.05);
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
    padding: 80px 0;
    background: linear-gradient(180deg, var(--wa-blue-dark) 0%, var(--wa-blue-primary) 100%);
}

.stat-number {
    font-size: 3.5rem;
    font-weight: 800;
    color: var(--wa-orange);
    line-height: 1;
    margin-bottom: 0.5rem;
}

.stat-label {
    font-size: 1.1rem;
    font-weight: 500;
    color: white;
}

/* Testimonials (Cards Dark/Glass) */
.testimonial-card {
    background-color: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.08);
    backdrop-filter: blur(10px);
    border-radius: 12px;
    padding: 2.5rem;
    height: 100%;
    transition: all 0.3s;
}

.testimonial-card:hover {
    background-color: rgba(255, 255, 255, 0.06);
    border-color: rgba(242, 170, 55, 0.3);
    transform: translateY(-5px);
    box-shadow: 0 20px 45px rgba(0, 51, 102, 0.08);
}

.quote-mark {
    font-size: 3rem;
    color: var(--wa-orange);
    opacity: 0.5;
    line-height: 0;
    margin-bottom: 1rem;
    margin-top: 2rem;
    font-family: Georgia, serif;
}

.testimonial-text {
    font-size: 1.05rem;
    line-height: 1.6;
    color: #e2e8f0;
    margin-bottom: 2rem;
    font-style: italic;
}

.testimonial-author {
    border-top: 1px solid rgba(158, 158, 158, 0.507);
    padding-top: 20px;
    margin-bottom: 25px;
    display: flex;
    align-items: center;

}

.author-avatar {
    width: 45px;
    height: 45px;
    background-color: var(--wa-orange);
    color: var(--wa-blue-dark);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    margin-right: 15px;
}

.wa-btn-view {
    display: inline-flex;
    align-items: center;
    text-decoration: none;
    color: #fff;
    font-weight: 600;
    font-size: 0.9rem;
    border: 1px solid #fff;
    padding: 8px 18px;
    border-radius: 50px;
    transition: all 0.3s ease;
}

.wa-btn-view:hover {
    background-color: var(--wa-blue-light);
    border: none;
    color: var(--wa-blue-primary);
}

/* Map Section */
.map-wrapper {
    background-color: var(--wa-blue-secondary);
    border: 1px solid rgba(255, 255, 255, 0.05);
    border-radius: 16px;
    padding: 2rem;
    position: relative;
    overflow: hidden;
    box-shadow: inset 0 0 50px rgba(0, 0, 0, 0.3);
}

.map-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: url('https://upload.wikimedia.org/wikipedia/commons/8/80/World_map_-_low_resolution.svg');
    background-size: 150%;
    background-position: 30% 50%;
    filter: invert(1) opacity(0.08);
    /* Inverte o mapa preto para branco sutil no fundo azul */
    pointer-events: none;
}

/* Map Pins */
.pin {
    position: absolute;
    width: 14px;
    height: 14px;
    background-color: var(--wa-orange);
    border-radius: 50%;
    cursor: pointer;
    box-shadow: 0 0 0 4px rgba(242, 170, 55, 0.2);
    transition: all 0.3s;
}

.pin:hover {
    transform: scale(1.3);
    box-shadow: 0 0 0 6px rgba(242, 170, 55, 0.4);
}

.pin-label {
    position: absolute;
    top: -35px;
    left: 50%;
    transform: translateX(-50%);
    background: white;
    color: var(--wa-blue-dark);
    padding: 4px 12px;
    border-radius: 4px;
    font-size: 0.75rem;
    font-weight: 700;
    white-space: nowrap;
    opacity: 0;
    transition: opacity 0.3s;
    pointer-events: none;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
}

.pin-label::after {
    content: '';
    position: absolute;
    bottom: -4px;
    left: 50%;
    transform: translateX(-50%);
    border-width: 5px 5px 0;
    border-style: solid;
    border-color: white transparent transparent transparent;
}

.pin:hover .pin-label {
    opacity: 1;
}


.solucoes {
    background-color: var(--wa-blue-dark);
}

.parceiros {
    background-color: var(--wa-blue-primary);
}

.prestadores {
    background-color: var(--wa-blue-dark);
}

/* Final CTA */
.cta-section {
    background-color: var(--wa-blue-dark);
    padding: 100px 0;
    text-align: center;
    border-top: 1px solid rgba(255, 255, 255, 0.05);
}

/* Footer */
/* footer {
    background-color: var(--wa-blue-secondary);
    padding: 80px 0 40px;
    border-top: 1px solid rgba(255, 255, 255, 0.05);
}

.footer-heading {
    font-size: 0.85rem;
    font-weight: 700;
    color: white;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    margin-bottom: 1.5rem;
}

.footer-links {
    list-style: none;
    padding: 0;
}

.footer-text {
    list-style: none;
    padding: 0;
    font-size: 13px;
}

.footer-links li {
    margin-bottom: 0.75rem;
}

.footer-links a {
    color: var(--text-muted-dark);
    text-decoration: none;
    font-size: 0.95rem;
    transition: color 0.2s;
}

.footer-links a:hover {
    color: var(--wa-orange);
}

.footer-logo {
    filter: brightness(0) invert(1);
} */


/* Footer */
footer {
    background-color: var(--wa-blue-dark);
    padding: 80px 0 40px;
    color: var(--text-muted-dark);
    border-top: 1px solid var(--border-dark);
}

.footer-heading {
    font-size: 0.85rem;
    font-weight: 700;
    color: white;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    margin-bottom: 1.5rem;
}

.footer-links {
    list-style: none;
    padding: 0;
}

.footer-links li {
    margin-bottom: 0.75rem;
}

.footer-links a {
    color: var(--text-muted-dark);
    text-decoration: none;
    font-size: 0.95rem;
    transition: color 0.2s;
}

.footer-links a:hover {
    color: var(--wa-orange);
}

@media (max-width: 768px) {
    .hero-title {
        font-size: 2.2rem;
    }

    .card-header-flex {
        flex-direction: column;
        align-items: flex-start;
    }

    .toggle-icon {
        position: absolute;
        top: 2rem;
        right: 2rem;
    }
}




/* Listas do Modal */



.modal-hospital-list {
    list-style: none;
    padding-left: 0;
}

.modal-hospital-list li {
    padding: 8px 0;
    border-bottom: 1px solid #e2e8f0;
    color: var(--card-text-main);
    font-size: 0.95rem;
}

.modal-hospital-list li::before {
    content: "•";
    color: var(--wa-orange);
    font-weight: bold;
    margin-right: 8px;
}


@media (max-width: 576px) {
    .modal-dialog {
        margin: 10px;
        width: auto;
    }

    .modal-body {
        max-height: 70vh;
        /* Define altura máxima como 70% da altura da tela */
        overflow-y: auto;
        /* Adiciona scroll vertical apenas no corpo */
    }
}


/* Custom Toggler for dark navbar */
.navbar-toggler {
    filter: invert(1);
    border: none;
}

@media (max-width: 992px) {
    .hero-title {
        font-size: 2.5rem;
    }

    .stat-number {
        font-size: 2.5rem;
    }
}


.wa-cases-section {
    padding: 60px 20px;
    font-family: 'Inter', sans-serif;
    background-color: var(--wa-blue-dark);
}

.wa-case-card {
    background: #ffffff;
    max-width: 600px;
    margin: 0 auto;
    border-radius: 24px;
    padding: 40px;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.08);
    border: 1px solid #e1e8ed;
}

.wa-case-header {
    text-align: center;
    margin-bottom: 30px;
}

.wa-location {
    color: #007bff;
    font-weight: 600;
    text-transform: uppercase;
    font-size: 0.85rem;
    letter-spacing: 1px;
}

.wa-case-header h3 {
    color: #003366;
    margin-top: 10px;
    font-size: 1.5rem;
}

/* Gráfico de Barras */
.wa-reduction-chart {
    margin: 30px 0;
    position: relative;
}

.wa-bar-bg {
    background: #ffe5e5;
    /* Cor de "alerta" para o valor alto */
    height: 12px;
    border-radius: 10px;
    width: 100%;
    overflow: hidden;
}

.wa-bar-fill {
    background: #28a745;
    /* Verde para o valor economizado/final */
    height: 100%;
    border-radius: 10px;
    transition: width 1.5s ease-in-out;
}

.wa-savings-badge {
    position: absolute;
    right: 0;
    top: -25px;
    background: #28a745;
    color: white;
    padding: 4px 12px;
    border-radius: 50px;
    font-size: 0.75rem;
    font-weight: bold;
}

/* Valores */
.wa-stat-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 10px;
}

.wa-label {
    color: #666;
    font-size: 0.9rem;
}

.wa-value {
    font-weight: 700;
    font-size: 1.2rem;
}

.wa-original {
    color: #dc3545;
    text-decoration: line-through;
}

.wa-final {
    color: #28a745;
    font-size: 1.4rem;
}

/* Rodapé do Card */
.wa-case-footer {
    margin-top: 30px;
    padding-top: 20px;
    border-top: 1px dashed #e1e8ed;
    text-align: center;
}

.wa-total-saved {
    font-size: 1.1rem;
    color: #003366;
}

.wa-total-saved strong {
    color: #28a745;
    font-size: 1.3rem;
}





/* ========================================================= */
/* EXPANDABLE CARDS (2 Níveis de Informação)                 */
/* ========================================================= */
.services-container {
    border-top: 1px solid rgba(255, 255, 255, 0.05);
    padding: 10px 0px 80px 0px;
    background-color: var(--wa-blue-primary);
}

.expandable-card {
    background: rgba(255, 255, 255, 0.02);
    border: 1px solid var(--border-dark);
    border-radius: 16px;
    padding: 2rem;
    margin-bottom: 1.5rem;
    transition: all 0.3s ease;
    cursor: pointer;
}

.expandable-card:hover {
    background: rgba(255, 255, 255, 0.04);
    border-color: rgba(242, 170, 55, 0.3);
    transform: translateY(-2px);
}

.expandable-card.active-card {
    background: rgba(255, 255, 255, 0.05);
    border-color: var(--wa-orange);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
}

/* Cabeçalho do Card (Head) */
.card-header-flex {
    display: flex;
    align-items: flex-start;
    gap: 1.5rem;
}

.icon-box {
    width: 65px;
    height: 65px;
    background-color: rgba(255, 255, 255, 0.05);
    border: 1px solid var(--border-dark);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    color: var(--wa-orange);
    font-size: 1.8rem;
    transition: all 0.3s ease;
}

.expandable-card.active-card .icon-box {
    background-color: var(--wa-orange);
    color: var(--wa-blue-dark);
    border-color: var(--wa-orange);
}

.card-title-box {
    flex-grow: 1;
}

.card-title-box h3 {
    font-size: 1.5rem;
    margin-bottom: 0.3rem;
    transition: color 0.3s;
}

.expandable-card.active-card .card-title-box h3 {
    color: var(--wa-orange);
}

.card-title-box p {
    font-size: 1.05rem;
    color: var(--text-muted-dark);
    margin-bottom: 0;
    line-height: 1.5;
}

/* Seta de expansão */
.toggle-icon {
    font-size: 1.5rem;
    color: var(--text-muted-dark);
    transition: transform 0.3s ease, color 0.3s ease;
}

.expandable-card[aria-expanded="true"] .toggle-icon {
    transform: rotate(180deg);
    color: var(--wa-orange);
}

/* Conteúdo Expandido (Bullets) */
.sub-item-box {
    background-color: rgba(0, 0, 0, 0.2);
    border: 1px solid var(--border-dark);
    border-radius: 10px;
    padding: 1.5rem;
    height: 100%;
    border-left: 3px solid var(--wa-orange);
    transition: transform 0.2s;
}

.sub-item-box:hover {
    transform: translateX(5px);
    background-color: rgba(0, 0, 0, 0.3);
}

.sub-item-box h6 {
    font-size: 1.05rem;
    color: #ffffff;
    margin-bottom: 0.8rem;
    font-weight: 700;
}

.sub-item-box p {
    font-size: 0.95rem;
    line-height: 1.6;
    color: var(--text-muted-dark);
    margin-bottom: 0;
}

.border-top-serv {
    border-top: 1px solid rgba(158, 158, 158, 0.507);
}



.abre-esquerda .marker-info {
    left: auto !important;
    right: 120% !important; /* Puxa para a esquerda do marcador */
    transform: none !important;
}