/* =========================================
   1. VARIÁVEIS E GERAL
   ========================================= */
:root {
    /* --- PALETA HARMÔNICA --- */
    --brand-primary: #1483a5;   /* Azul Petróleo */
    --brand-light:   #20b3ed;   /* Azul Ciano */
    --brand-action:  #23e89c;   /* Verde Mentol */
    --text-dark: #1e293b;
    --bg-soft: #f4f7f6;
}

/* Scroll suave para âncoras (ex.: botão Simule online -> cotador) */
html {
    scroll-behavior: smooth;
}

/* Compensa a navbar fixa ao chegar na âncora */
#cotacao-anchor {
    scroll-margin-top: 90px;
}

/* Segurança: evita qualquer estouro horizontal no cotador (mobile) */
#cotacao-anchor,
#cotacao-anchor .container,
#cotacao-anchor .wizard-card,
#cotacao-anchor .age-grid-counters {
    max-width: 100%;
    overflow-x: clip;
}

@media (max-width: 575px) {
    #cotacao-anchor .container {
        padding-left: 12px;
        padding-right: 12px;
    }
}

body { 
    font-family: 'Inter', 'Roboto', sans-serif; 
    color: #555; 
    background-color: var(--bg-soft); 
    overflow-x: hidden; 
}

h1, h2, h3, h4, h5, h6 { 
    color: var(--brand-primary); 
    font-weight: 800; 
    letter-spacing: -0.5px; 
}

a { text-decoration: none; transition: all 0.3s ease; }

/* Utilitários */
.text-cyan-inter { color: var(--brand-light) !important; }
.bg-cyan-inter { background-color: var(--brand-light) !important; color: white; }
.text-primary { color: var(--brand-primary) !important; }
.font-weight-800 { font-weight: 800; }
.shadow-custom { box-shadow: 0 10px 25px rgba(20, 131, 165, 0.25); }

/* =========================================
   2. NAVBAR E HEADER (Vindo do header.php)
   ========================================= */
#mainNav.navbar { padding: 10px 0; transition: all 0.4s ease-in-out; }
#mainNav .navbar-brand img { max-height: 60px; width: auto; transition: all 0.3s ease; }

/* Navbar Transparente */
#mainNav.navbar-transparent { background: transparent !important; box-shadow: none; padding-top: 20px; }
#mainNav.navbar-transparent .nav-link { color: rgba(255,255,255,0.95) !important; text-shadow: 0 2px 4px rgba(0,0,0,0.3); }
#mainNav.navbar-transparent .nav-link:hover { color: var(--brand-action) !important; opacity: 1; }
#mainNav.navbar-transparent .logo-colorida { display: none !important; }
#mainNav.navbar-transparent .logo-branca { display: block !important; }

/* Navbar Scrolled (Branca) */
#mainNav.navbar-scrolled { background: #fff !important; box-shadow: 0 4px 20px rgba(0,0,0,0.08); padding: 10px 0; }
#mainNav.navbar-scrolled .nav-link { color: var(--brand-primary) !important; text-shadow: none; }
#mainNav.navbar-scrolled .nav-link:hover { color: var(--brand-light) !important; }
#mainNav.navbar-scrolled .logo-branca { display: none !important; }
#mainNav.navbar-scrolled .logo-colorida { display: block !important; }

/* Links do Menu */
#mainNav .nav-link { 
    font-weight: 700; margin: 0 15px; text-transform: uppercase; 
    font-size: 13px; letter-spacing: 0.5px; transition: 0.3s; 
}
#mainNav.navbar-transparent .nav-link.active { color: var(--brand-action) !important; border-bottom: 2px solid var(--brand-action); }
#mainNav.navbar-scrolled .nav-link.active { color: var(--brand-light) !important; font-weight: 800; }

#mainNav .navbar-toggler { border: none !important; outline: none !important; box-shadow: none !important; }

/* Mobile Navbar */
@media (max-width: 991px) {
    /* Remove o menu hambúrguer no mobile */
    #mainNav .navbar-toggler {
        display: none !important;
    }

    /* Mantém o conteúdo sempre visível (sem colapsar) */
    #mainNav .navbar-collapse {
        display: flex !important;
        flex-basis: auto !important;
        background: transparent !important;
        padding: 0 !important;
        margin-top: 0 !important;
        box-shadow: none !important;
        border-radius: 0 !important;
        border-top: 0 !important;
        justify-content: flex-end !important;
    }

    /* Botão "Simule online" fixo no topo direito (mobile) */
    #mainNav .btn-simule-nav {
        position: fixed !important;
        top: calc(16px + env(safe-area-inset-top, 0px)) !important;
        right: calc(16px + env(safe-area-inset-right, 0px)) !important;
        margin: 0 !important;
        z-index: 100002 !important;
    }

    #mainNav.navbar-transparent .navbar-toggler-icon {
        background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 30 30'%3e%3cpath stroke='rgba(255, 255, 255, 1)' stroke-linecap='round' stroke-miterlimit='10' stroke-width='2' d='M4 7h22M4 15h22M4 23h22'/%3e%3c/svg%3e") !important;
    }
    #mainNav.navbar-scrolled .navbar-toggler-icon {
        background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 30 30'%3e%3cpath stroke='rgba(20, 131, 165, 1)' stroke-linecap='round' stroke-miterlimit='10' stroke-width='2' d='M4 7h22M4 15h22M4 23h22'/%3e%3c/svg%3e") !important;
    }
    #mainNav .navbar-collapse {
        background: #ffffff; padding: 20px; border-radius: 15px; margin-top: 15px;
        box-shadow: 0 10px 30px rgba(0,0,0,0.15); text-align: center; border-top: 4px solid var(--brand-primary);
    }
    #mainNav .navbar-collapse .nav-link { color: var(--text-dark) !important; padding: 12px 0; border-bottom: 1px solid #f0f0f0; text-shadow: none !important; }
    #mainNav .navbar-collapse .nav-link.active { color: var(--brand-primary) !important; }
}

/* =========================================
   3. BOTÕES E COMPONENTES GLOBAIS
   ========================================= */
/* Botões Flutuantes */
.floating-buttons { position: fixed; bottom: 28px; right: 28px; z-index: 9999; display: flex; flex-direction: column; gap: 12px; align-items: flex-end; }
.float-btn { padding: 12px 25px; border-radius: 50px; color: white; font-weight: bold; text-decoration: none; box-shadow: 0 4px 10px rgba(0,0,0,0.3); display: flex; align-items: center; gap: 10px; font-family: 'Inter', sans-serif; font-size: 14px; transition: transform 0.2s ease, box-shadow 0.2s ease; }
.float-sim { background: linear-gradient(135deg, var(--brand-light), var(--brand-primary)); }
.float-btn:hover { color: white; transform: scale(1.08); box-shadow: 0 6px 20px rgba(0,0,0,0.35); }

/* Mobile/tablet: posiciona botões em cantos */
@media (max-width: 991px) {
    .floating-buttons {
        /* container não controla posição no mobile */
        top: auto;
        bottom: auto;
        left: auto;
        right: auto;
        transform: none;
        align-items: flex-end;
        z-index: 100001; /* acima do banner e da navbar */
        pointer-events: none; /* cada botão controla o clique */
    }

    .floating-buttons .float-sim {
        display: inline-flex !important;
        position: fixed;
        top: calc(70px + env(safe-area-inset-top, 0px)) !important;
        right: calc(16px + env(safe-area-inset-right, 0px)) !important;
        left: auto;
        bottom: auto;
        z-index: 100001;
        pointer-events: auto;
        white-space: nowrap;
        padding: 11px 22px;
        font-size: 13px;
        box-shadow: 0 10px 28px rgba(0,0,0,0.18);
    }

    /* mantém o WhatsApp no canto */
    .floating-buttons .float-zap {
        position: fixed;
        right: calc(16px + env(safe-area-inset-right, 0px)) !important;
        bottom: calc(16px + env(safe-area-inset-bottom, 0px)) !important;
        top: auto;
        left: auto;
        z-index: 100001;
        pointer-events: auto;
    }
}

/* WhatsApp flutuante — circular, verde oficial, sem texto */
@keyframes zap-pulse {
    0%   { box-shadow: 0 0 0 0 rgba(37, 211, 102, 0.55), 0 6px 18px rgba(37,211,102,0.35); }
    60%  { box-shadow: 0 0 0 16px rgba(37, 211, 102, 0), 0 6px 18px rgba(37,211,102,0.35); }
    100% { box-shadow: 0 0 0 0 rgba(37, 211, 102, 0), 0 6px 18px rgba(37,211,102,0.35); }
}
@keyframes zap-float {
    0%, 100% { transform: translateY(0); }
    50%       { transform: translateY(-6px); }
}
.float-zap {
    width: 64px;
    height: 64px;
    padding: 0;
    border-radius: 50%;
    background: #25D366;
    color: #ffffff;
    font-size: 32px;
    display: flex;
    align-items: center;
    justify-content: center;
    animation: zap-float 3s ease-in-out infinite, zap-pulse 2.4s ease-out infinite;
    transition: transform 0.2s ease, background 0.2s ease;
    gap: 0;
}
.float-zap:hover {
    color: #ffffff;
    background: #1ebe5d;
    transform: scale(1.15) translateY(-4px);
    animation: zap-pulse 0.8s ease-out infinite;
}

/* Botão Simule Online (Navbar) */
.btn-simule-nav {
    background: var(--brand-light);
    color: #fff !important;
    border-radius: 50px;
    padding: 10px 24px;
    font-weight: 700;
    font-size: 14px;
    text-decoration: none;
    display: inline-block;
    transition: all 0.3s ease;
    white-space: nowrap;
}
.btn-simule-nav:hover {
    background: var(--brand-primary);
    color: #fff !important;
    transform: translateY(-2px);
    box-shadow: 0 6px 18px rgba(20, 131, 165, 0.35);
}
#mainNav.navbar-transparent .btn-simule-nav {
    background: var(--brand-light);
}
#mainNav.navbar-scrolled .btn-simule-nav {
    background: var(--brand-light);
}
@media (max-width: 991px) {
    .btn-simule-nav {
        display: block;
        text-align: center;
        margin-top: 10px;
    }
}

/* Botão CTA Principal */
.btn-cta-main {
    background: linear-gradient(135deg, var(--brand-light) 0%, var(--brand-primary) 100%);
    color: white !important; border-radius: 50px; padding: 12px 25px;
    font-weight: 700; text-transform: uppercase; border: none; transition: all 0.3s ease; 
    box-shadow: 0 10px 25px rgba(20, 131, 165, 0.25); white-space: nowrap; font-size: 13px;
}
.btn-cta-main:hover { transform: translateY(-3px); box-shadow: 0 15px 30px rgba(20, 131, 165, 0.4); filter: brightness(1.1); }

/* Botão Branco Action */
.btn-white-action {
    background: #ffffff; color: var(--brand-primary) !important; border: none; font-weight: 700;
    padding: 10px 30px; border-radius: 50px; text-transform: uppercase; box-shadow: 0 5px 15px rgba(0,0,0,0.2); transition: 0.3s;
}
.btn-white-action:hover { transform: scale(1.05); color: var(--brand-light) !important; }

/* Box CTA Gradiente (Usado no footer e páginas) */
.cta-box-gradient {
    background: linear-gradient(135deg, var(--brand-primary) 0%, var(--brand-light) 100%);
    position: relative; overflow: hidden; border: none; z-index: 1; color: white;
}
.cta-gradient-full {
    background: linear-gradient(135deg, var(--brand-primary) 0%, var(--brand-light) 100%);
    color: white; border-radius: 20px; padding: 35px 20px; text-align: center; position: relative; overflow: hidden;
}
.cta-deco { position: absolute; border-radius: 50%; background: rgba(255, 255, 255, 0.08); z-index: 0; pointer-events: none; }

/* =========================================
   4. FOOTER MODERN
   ========================================= */
.footer-modern { background-color: #1e293b; position: relative; overflow: hidden; }
.decorative-circle { position: absolute; border-radius: 50%; background: rgba(255, 255, 255, 0.03); pointer-events: none; z-index: 0; }
.circle-1 { width: 450px; height: 450px; top: -200px; right: -150px; }
.circle-2 { width: 300px; height: 300px; bottom: -150px; left: -100px; background: rgba(255, 255, 255, 0.02); }
.footer-content-wrapper { position: relative; z-index: 1; }
.social-icon { transition: transform 0.2s, color 0.2s; }
.social-icon:hover { transform: translateY(-3px); color: #fff !important; }

/* =========================================
   5. PÁGINA ESPECÍFICA: HOME (INDEX)
   ========================================= */
.hero-section { position: relative; height: 100vh; min-height: 700px; display: flex; align-items: center; overflow: hidden; padding: 0; }
.hero-slider-bg { position: absolute; top: 0; left: 0; width: 100%; height: 100%; z-index: 0; }
.carousel-item { height: 100vh; min-height: 700px; }
.carousel-item img { width: 100%; height: 100%; object-fit: cover; object-position: center; }
.hero-overlay {
    position: absolute; top: 0; left: 0; width: 100%; height: 100%;
    z-index: 1;
}
.hero-content { position: relative; z-index: 2; color: white; text-align: center; margin-top: -60px; }
.hero-title { font-size: 4rem; line-height: 1.1; margin-bottom: 25px; font-weight: 800; color: white; text-shadow: 0 4px 15px rgba(0,0,0,0.4); }
.hero-subtitle { font-size: 1.4rem; opacity: 0.95; margin-bottom: 40px; font-weight: 300; color: white; text-shadow: 0 2px 8px rgba(0,0,0,0.4); max-width: 700px; margin-left: auto; margin-right: auto; }
.bg-badge-brand { background: linear-gradient(135deg, var(--brand-light) 0%, var(--brand-primary) 100%) !important; color: #ffffff !important; box-shadow: 0 4px 15px rgba(32, 179, 237, 0.3); }

/* Banner promocional mensal (troque apenas img/bannerpromo.png) */
.promo-banner-section {
    width: 100%;
    margin: 0;
    padding: 0;
    line-height: 0;
    display: block;
    overflow: hidden;
}
.promo-banner-img {
    width: 100%;
    height: auto;
    display: block;
    vertical-align: middle;
}

/* Clientes Logos */
.client-logo { max-height: 80px; max-width: 100%; width: auto; object-fit: contain; transition: transform 0.3s ease; filter: grayscale(0%); opacity: 0.7; }
.client-logo:hover { transform: scale(1.1); filter: grayscale(0%); opacity: 1; }
.logo-container { display: flex; align-items: center; justify-content: center; height: 100px; }

/* =========================================
   6. PÁGINA ESPECÍFICA: CONSULTORIA
   ========================================= */
.page-header {
    position: relative; height: 50vh; min-height: 400px; display: flex; align-items: center; justify-content: center;
    background-size: cover; background-position: center;
}
.header-overlay {
    position: absolute; top: 0; left: 0; width: 100%; height: 100%;
    background: linear-gradient(180deg, rgba(20, 131, 165, 0.4) 0%, rgba(10, 60, 80, 0.9) 100%);
    z-index: 1;
}
.header-content { position: relative; z-index: 2; text-align: center; color: white; margin-top: 40px; }

.image-card-wrapper {
    background: #fff; padding: 15px; border-radius: 30px;
    box-shadow: 0 20px 60px rgba(20, 131, 165, 0.15); border: 1px solid rgba(20, 131, 165, 0.1);
    transition: transform 0.3s ease; height: auto;
}
.image-card-wrapper:hover { transform: translateY(-5px); }
.image-card-wrapper img { border-radius: 20px; width: 100%; height: auto; display: block; }

.method-card {
    background: #fff; padding: 40px 30px; border-radius: 20px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.03); transition: 0.3s;
    border-top: 5px solid transparent; height: 100%; position: relative;
}
.method-card:hover { transform: translateY(-10px); box-shadow: 0 20px 50px rgba(20, 131, 165, 0.1); border-top-color: var(--brand-light); }
.step-number { font-size: 4rem; font-weight: 900; color: rgba(20, 131, 165, 0.5); position: absolute; top: 10px; right: 20px; z-index: 0; line-height: 1; }
.method-icon { font-size: 2.5rem; color: var(--brand-primary); margin-bottom: 20px; position: relative; z-index: 1; }
.check-list-item { display: flex; align-items: start; margin-bottom: 15px; }
.check-icon { min-width: 25px; height: 25px; background: var(--brand-action); border-radius: 50%; display: flex; align-items: center; justify-content: center; color: #0f5132; font-size: 12px; margin-right: 15px; margin-top: 3px; }

/* =========================================
   7. PÁGINA ESPECÍFICA: QUEM SOMOS
   ========================================= */
.content-body p { font-size: 1.15rem; line-height: 1.8; margin-bottom: 25px; color: #4b5563; }
.highlight-box { background-color: #f8fbff; border-left: 5px solid var(--brand-light); padding: 40px; margin: 40px 0; border-radius: 0 15px 15px 0; }
.highlight-text { font-size: 1.25rem; font-style: italic; color: var(--brand-primary); font-weight: 600; }
.video-section-bg { background: linear-gradient(180deg, #f8f9fa 0%, #e9ecef 100%); position: relative; overflow: hidden; }
.bg-decoration { position: absolute; border-radius: 50%; opacity: 0.1; z-index: 0; }
.deco-1 { width: 300px; height: 300px; background: var(--brand-primary); top: -50px; left: -50px; }
.deco-2 { width: 200px; height: 200px; background: var(--brand-action); bottom: 10%; right: 5%; }
.media-card { background: #fff; padding: 30px 20px; border-radius: 20px; box-shadow: 0 10px 30px rgba(0,0,0,0.05); transition: transform 0.3s ease, box-shadow 0.3s ease; height: 100%; position: relative; z-index: 1; border-bottom: 4px solid transparent; }
.media-card:hover { transform: translateY(-10px); box-shadow: 0 20px 40px rgba(20, 131, 165, 0.15); border-bottom-color: var(--brand-light); }
.phone-mockup { width: 100%; max-width: 260px; margin: 0 auto 25px; border-radius: 30px; border: 8px solid #2d3436; background: #000; overflow: hidden; box-shadow: 0 15px 35px rgba(0,0,0,0.2); position: relative; aspect-ratio: 9 / 16; display: flex; }
.phone-mockup::before { content: ''; position: absolute; top: 0; left: 50%; transform: translateX(-50%); width: 40%; height: 18px; background: #2d3436; border-radius: 0 0 10px 10px; z-index: 2; }
.phone-mockup video { width: 100%; height: 100%; object-fit: cover; display: block; border-radius: 20px; }

/* =========================================
   8. PÁGINA ESPECÍFICA: SERVIÇOS
   ========================================= */
.page-header-section { position: relative; background-size: cover; background-position: center; background-attachment: scroll; height: 500px; display: flex; align-items: center; justify-content: center; width: 100%; margin-top: 0; }
.page-header-overlay
.page-header-content { position: relative; z-index: 2; color: white; text-align: center; padding-top: 50px; }
.service-card { background: #fff; padding: 3rem 2rem; height: 100%; border-radius: 20px; box-shadow: 0 10px 30px rgba(0,0,0,0.05); transition: all 0.3s cubic-bezier(0.25, 0.8, 0.25, 1); border-bottom: 5px solid transparent; position: relative; overflow: hidden; }
.service-card:hover { transform: translateY(-10px); box-shadow: 0 20px 40px rgba(20, 131, 165, 0.15); border-bottom-color: var(--brand-light); }
.icon-wrapper { width: 80px; height: 80px; background: rgba(20, 131, 165, 0.05); border-radius: 50%; display: flex; align-items: center; justify-content: center; margin-bottom: 25px; color: var(--brand-primary); font-size: 2rem; transition: 0.3s; }
.service-card:hover .icon-wrapper { background: var(--brand-primary); color: white; }
.service-list li { position: relative; padding-left: 28px; margin-bottom: 12px; font-size: 15px; color: #000000; font-weight: 500; }
.service-list li i { position: absolute; left: 0; top: 3px; color: var(--brand-action); font-size: 16px; }

/* =========================================
   9. CUSTOM TABS (Para Seção de Logos)
   ========================================= */
.nav-pills-custom .nav-link {
    color: #000000;
    background: #fff;
    border: 2px solid #f0f0f0;
    border-radius: 50px;
    padding: 12px 30px;
    font-weight: 700;
    margin: 0 10px;
    transition: all 0.3s ease;
    text-transform: uppercase;
    font-size: 0.9rem;
    letter-spacing: 0.5px;
}

.nav-pills-custom .nav-link:hover {
    border-color: var(--brand-light);
    color: var(--brand-primary);
    transform: translateY(-2px);
}

.nav-pills-custom .nav-link.active {
    background: var(--brand-primary);
    color: #fff;
    border-color: var(--brand-primary);
    box-shadow: 0 5px 15px rgba(20, 131, 165, 0.3);
}

/* Animação suave ao trocar de aba */
.tab-pane {
    animation: fadeIn 0.5s ease;
}

@keyframes fadeIn {
    from { opacity: 0; transform: translateY(10px); }
    to { opacity: 1; transform: translateY(0); }
}

/* =========================================
   10. SEÇÃO 360º EDITORIAL
   ========================================= */
.journey-wrapper {
    position: relative;
    padding: 20px 0;
}

/* A linha cinza que conecta tudo */
.journey-line {
    position: absolute;
    top: 40px; /* Alinha com o meio dos ícones */
    left: 10%;
    right: 10%;
    height: 3px;
    background: #e9ecef;
    z-index: 0;
}

.journey-item {
    position: relative;
    z-index: 1; /* Fica acima da linha */
    text-align: center;
    transition: transform 0.3s ease;
}

.journey-item:hover {
    transform: translateY(-5px);
}

/* O Círculo do Ícone */
.journey-icon-box {
    width: 80px;
    height: 80px;
    background: #fff;
    border: 3px solid #e9ecef; /* Borda cinza inicial */
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 20px;
    font-size: 1.8rem;
    color: var(--brand-primary);
    box-shadow: 0 10px 20px rgba(0,0,0,0.05); /* Sombra suave */
    transition: all 0.3s ease;
}

/* Efeito ao passar o mouse */
.journey-item:hover .journey-icon-box {
    border-color: var(--brand-action); /* Borda fica verde */
    background: var(--brand-primary); /* Fundo fica azul */
    color: #fff; /* Ícone fica branco */
    box-shadow: 0 15px 30px rgba(20, 131, 165, 0.3);
}

.journey-title {
    font-weight: 800;
    color: var(--text-dark);
    margin-bottom: 10px;
}

/* Ajuste para Celular (Linha some e vira lista vertical) */
@media (max-width: 768px) {
    .journey-line { display: none; }
    .journey-item { margin-bottom: 40px; }
}

.btn-white-action {
        background-color: #ffffff !important;
        color: var(--brand-primary) !important; /* Ou a cor azul do seu site */
        border: 2px solid #ffffff !important;
        transition: all 0.3s ease !important;
    }

    /* Ajuste para o Hover: Mantém branco mas adiciona profundidade */
    .btn-white-action:hover {
        background-color: #ffffff !important; /* Garante que continue branco */
        color: var(--brand-primary) !important;
        transform: translateY(-3px); /* Efeito sutil de subida */
        box-shadow: 0 10px 20px rgba(0, 0, 0, 0.15) !important; /* Sombra para destacar do fundo */
        border-color: #ffffff !important;
    }

    /* Ajuste para o botão Outline (Simulação Online) */
    .btn-outline-light:hover {
        background-color: #ffffff !important;
        color: var(--brand-primary) !important;
    }

    .service-list {
        list-style: none !important;
        padding-left: 0 !important;
        margin-top: 15px;
    }

    .service-list li {
        position: relative;
        padding-left: 30px; /* Cria o espaço exato para o ícone ficar à esquerda */
        margin-bottom: 12px;
        color: #000000;
        line-height: 1.4;
        display: block; /* Garante que o padding funcione corretamente */
    }

    .service-list li i {
        position: absolute;
        left: 0; /* Fixa o ícone no início do espaço criado pelo padding */
        top: 3px; /* Ajusta a altura do ícone em relação à primeira linha de texto */
        color: #28a745;
        font-size: 1rem;
    }

    /* --- CSS UNIFICADO PARA BANNER DINÂMICO --- */
    
    .hero-section {
        position: relative;
        height: 100vh;
        min-height: 600px;
        overflow: hidden;
    }

    .hero-slider-bg, .carousel-inner, .carousel-item {
        height: 100%;
    }

    /* Trava a imagem para não "pular" na transição */
    .carousel-item img {
        width: 100%;
        height: 100%;
        object-fit: cover;
    }

    /* Overlay Azul Suave Restaurado */
    .hero-overlay {
        position: absolute;
        top: 0;
        left: 0;
        width: 100%;
        height: 100%;
        
        z-index: 2;
    }

    /* Container de Texto que TRAVA a posição */
    .hero-text-wrapper {
        position: absolute;
        top: 0;
        left: 0;
        width: 100%;
        height: 100%;
        display: flex;
        align-items: center; /* Centralização Vertical absoluta */
        justify-content: center; /* Centralização Horizontal absoluta */
        z-index: 5;
        text-align: center;
    }

    /* Força o tamanho da letra a ser IDENTICO em ambos os slides */
    .hero-main-title {
        font-family: 'Inter', sans-serif; /* Garantindo a fonte do seu projeto */
        color: #ffffff;
        font-weight: 800;
        font-size: 3.5rem; /* Ajuste aqui o tamanho global */
        line-height: 1.1;
        margin-bottom: 1.5rem;
        text-shadow: 0 4px 15px rgba(0,0,0,0.3);
        margin-top: 0 !important; /* Remove qualquer margem padrão do navegador */
    }

    .hero-main-subtitle {
        color: rgba(255,255,255,0.9);
        font-size: 1.25rem;
        line-height: 1.6;
        margin-bottom: 0;
    }

    /* Ajuste para Mobile */
    @media (max-width: 768px) {
        .hero-section,
        .hero-slider-bg,
        .carousel-inner,
        .carousel-item {
            /* Ocupa a tela toda no mobile (evita "height: auto") */
            height: 100vh !important;
            height: 100svh !important;
            height: 100dvh !important;
            min-height: 100vh !important;
            min-height: 100svh !important;
            min-height: 100dvh !important;
        }

        .hero-slider-bg {
            position: relative !important;
        }

        .carousel-item img {
            width: 100%;
            height: 100% !important;
            /* Preenche a tela toda no mobile */
            object-fit: cover;
            /* Ajuste de enquadramento para reduzir corte perceptível */
            object-position: 50% 20%;
        }

        .hero-content {
            margin-top: 0;
        }

        .hero-main-title {
            font-size: 2.2rem;
        }
        .hero-main-subtitle {
            font-size: 1rem;
        }
    }

    .bg-badge-brand {
        background-color: var(--brand-action); /* Cor verde que você usa */
        color: #000;
    }

    /* --- 1. BANNER / HERO (Ajustado para subir o conteúdo) --- */
            .faq-hero-modern {
                position: relative;
                background-image: url('../img/HOME/banner4.jpg'); /* Verifique se o caminho da imagem está correto */
                background-size: cover;
                background-position: center center;
                /* Altura reduzida embaixo (40px) para puxar o menu pra cima */
                padding: 160px 0 40px !important; 
                color: white;
                margin-bottom: 0 !important; 
                overflow: hidden;
            }

            .faq-hero-modern::before {
                content: '';
                position: absolute;
                top: 0; left: 0; right: 0; bottom: 0;
                background: linear-gradient(135deg, rgba(13, 59, 102, 0.95) 0%, rgba(20, 131, 165, 0.9) 100%);
                z-index: 1;
            }

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

            .faq-breadcrumb {
                font-size: 0.9rem; font-weight: 500; letter-spacing: 1px;
                text-transform: uppercase; color: rgba(255,255,255,0.8);
                margin-bottom: 15px; display: inline-block;
                border: 1px solid rgba(255,255,255,0.3); padding: 5px 15px; border-radius: 20px;
            }

            .faq-hero-modern h1 {
                font-size: 3rem; font-weight: 800; color: #fff !important;
                text-shadow: 0 4px 10px rgba(0,0,0,0.3); margin-bottom: 15px;
            }

            .faq-hero-modern p {
                font-size: 1.2rem; color: rgba(255,255,255,0.95) !important;
                max-width: 700px; margin: 0 auto;
            }

            /* --- 2. MENU LATERAL (SIDEBAR) --- */
            .faq-sidebar {
                position: -webkit-sticky;
                position: sticky;
                /* POSIÇÃO CORRIGIDA: 85px do topo (Cola no header) */
                top: 85px; 
                align-self: start;
                padding-right: 20px;
                margin-top: 30px; 
            }

            .faq-sidebar h5 {
                color: #000 !important; /* PRETO */
                margin-bottom: 25px;
                font-weight: 900 !important;
                text-transform: uppercase;
                font-size: 1rem; /* Fonte maior */
                letter-spacing: 1.2px;
                border-bottom: 2px solid #ddd;
                padding-bottom: 10px;
                opacity: 1 !important;
            }

            .faq-nav .nav-link {
                color: #000 !important; /* PRETO */
                padding: 16px 20px; /* Clique maior */
                border-radius: 10px;
                margin-bottom: 8px;
                font-weight: 700 !important;
                transition: all 0.2s ease;
                border: 1px solid transparent;
                display: flex;
                align-items: center;
                background: transparent;
                font-size: 1.1rem; /* Fonte maior */
                cursor: pointer;
                opacity: 1 !important;
            }

            .faq-nav .nav-link i {
                width: 30px; font-size: 1.2em;
                color: #222 !important; margin-right: 10px;
            }

            .faq-nav .nav-link:hover {
                background-color: rgba(0,0,0,0.05);
                padding-left: 25px;
                color: #000 !important;
            }

            .faq-nav .nav-link.active {
                background-color: #fff !important;
                color: #1483a5 !important;
                box-shadow: 0 4px 15px rgba(0,0,0,0.08);
                border: 1px solid rgba(20, 131, 165, 0.15);
            }
            .faq-nav .nav-link.active i { color: #1483a5 !important; }

/* --- CORREÇÃO: Aplica apenas na FAQ, protegendo a Home --- */
#v-pills-tabContent {
    min-height: 100vh; /* Garante estabilidade só na FAQ */
    display: flex;
    flex-direction: column;
    padding-top: 30px;
}

            .section-title-faq {
                font-size: 2.2rem; font-weight: 900;
                color: #000 !important; /* PRETO */
                margin-bottom: 35px; letter-spacing: -0.5px;
                border-bottom: 2px solid #e0e0e0; padding-bottom: 20px;
            }

            .accordion-item {
                border: 1px solid #e0e0e0; margin-bottom: 20px;
                border-radius: 12px !important; overflow: hidden;
                background: #fff; box-shadow: 0 2px 6px rgba(0,0,0,0.04);
            }

            .accordion-button {
                font-weight: 800 !important; 
                color: #000 !important; /* PRETO */
                padding: 25px 30px; 
                font-size: 1.25rem; /* Fonte da Pergunta Maior */
                background-color: #fff; box-shadow: none !important;
            }

            .accordion-button:not(.collapsed) {
                color: #000 !important;
                background-color: #f0f9fc; 
            }

            .accordion-body {
                padding: 30px 35px; 
                line-height: 1.9; /* Espaçamento melhor */
                color: #000 !important; /* Resposta em PRETO */
                font-size: 1.15rem; /* Fonte da Resposta Maior */
                font-weight: 500;
            }

            /* --- 4. BOX DE NOTA INTER PLAZA --- */
            .inter-plaza-note {
                background-color: #f2f7f9;
                border-left: 6px solid #1483a5;
                padding: 25px; margin-top: 30px;
                border-radius: 6px; font-size: 1.1rem;
                color: #000 !important;
            }
            .inter-plaza-note strong {
                color: #1483a5; margin-bottom: 8px;
                display: block; font-weight: 800; text-transform: uppercase;
                font-size: 0.95rem;
            }

            /* Mobile */
            @media (max-width: 991px) {
                .faq-sidebar { position: static; margin-bottom: 40px; margin-top: 0; }
                .faq-hero-modern { padding: 140px 0 60px !important; }
            }

            /* =======================================================
    CORREÇÃO DE CORES (Versão Segura)
    Objetivo: Texto preto, mas mantendo ícones e títulos coloridos
   ======================================================= */

/* 1. Muda apenas o texto da lista para PRETO */
.service-list li {
    color: #000000 !important;
    font-weight: 600; /* Deixa levemente mais forte para leitura */
}

/* 2. PROTEÇÃO: Garante que o ícone (o check) continue VERDE */
.service-list li i {
    color: #28a745 !important; /* Força a cor verde original */
}

/* 3. Muda o texto descritivo (parágrafos dentro do card) para PRETO */
.service-card p {
    color: #000000 !important;
}

/* 4. PROTEÇÃO: Garante que títulos dentro do card continuem AZUIS */
.service-card h1, 
.service-card h2, 
.service-card h3, 
.service-card h4, 
.service-card h5 {
    color: #1483a5 !important; /* Força o azul da sua marca */
}

/* =======================================================
   AJUSTES FINAIS: PADRONIZAÇÃO E CORREÇÃO DE CLIQUE
   ======================================================= */

@media (max-width: 991px) {
    /* 1. FORÇA PADRÃO "SOBRE NÓS" EM TODAS AS PÁGINAS */
    #mainNav .container {
        display: flex !important;
        flex-direction: row !important;
        align-items: center !important;
        justify-content: space-between !important;
        padding-left: 20px !important;
        padding-right: 20px !important;
        max-width: 100% !important;
        width: 100% !important;
    }

    /* 2. LOGO: POSIÇÃO E TAMANHO FIXO */
    #mainNav .navbar-brand {
        margin: 0 !important;
        padding: 5px 0 !important;
    }
    #mainNav .navbar-brand img {
        max-height: 45px !important;
        width: auto !important;
    }

    /* 3. BOTÃO HAMBÚRGUER: CORREÇÃO DE CLIQUE E POSIÇÃO */
    #mainNav .navbar-toggler {
        display: flex !important;
        align-items: center !important;
        justify-content: center !important;
        padding: 0 !important;
        margin: 0 !important;
        border: none !important;
        z-index: 99999 !important; /* Fica acima de qualquer banner da Home */
        pointer-events: auto !important; /* Garante que o clique funcione sempre */
    }

    /* 4. TRAVA DE LARGURA (Resolve página Gestão de Saúde esticada) */
    html, body {
        overflow-x: hidden !important;
        width: 100% !important;
        position: relative !important;
    }

    /* 5. PRIORIDADE DA NAVBAR NA HOME */
    #mainNav {
        z-index: 99998 !important;
    }
    
    /* Garante que o banner não cubra a área de toque do menu */
    .hero-section, .hero-overlay, .carousel-item {
        z-index: 1 !important;
    }
}

/* =======================================================
   AJUSTE FINO: ALTURA PADRONIZADA E FECHAMENTO HOME
   ======================================================= */

@media (max-width: 991px) {
    /* 1. Equaliza a altura em todas as páginas (evita o header "maior") */
    #mainNav.navbar {
        min-height: 70px !important; 
        height: 70px !important;
        padding-top: 0 !important;
        padding-bottom: 0 !important;
        display: flex !important;
        align-items: center !important;
    }

    /* 2. Garante que o container interno use a altura total para alinhar */
    #mainNav .container {
        height: 100% !important;
        display: flex !important;
        align-items: center !important;
        justify-content: space-between !important;
    }

    /* 3. Ajuste de escala da Logo para caber na altura fixa */
    #mainNav .navbar-brand img {
        max-height: 40px !important;
        width: auto !important;
    }

    /* 4. CORREÇÃO DO CLIQUE NA HOME (FECHAMENTO) */
    /* Eleva o botão e remove qualquer barreira invisível */
    .navbar-toggler {
        position: relative !important;
        z-index: 100000 !important; /* Valor máximo para sobrepor o Hero */
        pointer-events: auto !important;
        cursor: pointer !important;
    }

    /* Garante que o menu aberto não cubra o botão de fechar */
    #mainNav .navbar-collapse.show {
        z-index: 99999 !important;
    }

    /* Trava de segurança para a página Gestão de Saúde não esticar */
    .page-header, .hero-section {
        width: 100% !important;
        max-width: 100% !important;
    }
}

/* =======================================================
   PADRONIZAÇÃO DE TAMANHO E FORMA DO BOTÃO (MOBILE)
   ======================================================= */
@media (max-width: 991px) {
    /* 1. Define um tamanho fixo para a área do botão */
    .navbar-toggler {
        width: 45px !important;
        height: 45px !important;
        display: flex !important;
        align-items: center !important;
        justify-content: center !important;
        padding: 0 !important;
        border: 1.5px solid rgba(255,255,255,0.5) !important; /* Borda sutil opcional */
        border-radius: 8px !important; /* Forma levemente arredondada */
        transition: all 0.3s ease !important;
    }

    /* 2. Ajusta o tamanho do ícone (as 3 barrinhas) lá dentro */
    .navbar-toggler-icon {
        width: 24px !important;
        height: 24px !important;
        background-size: contain !important; /* Garante que as barras não estiquem */
    }

    /* 3. Ajuste para quando a Navbar estiver branca (scrolled) */
    .navbar-scrolled .navbar-toggler {
        border-color: var(--brand-primary) !important;
    }
}

/* MOBILE (override final): remove hambúrguer de vez */
@media (max-width: 991px) {
    #mainNav .navbar-toggler,
    #mainNav .navbar-toggler-icon {
        display: none !important;
    }
}

/* =======================================================
   FORMULÁRIO DE COTAÇÃO - WIZARD FORM
   ======================================================= */

/* Container Principal do Formulário */
.wizard-card {
    background: #ffffff;
    border-radius: 20px;
    padding: 50px 40px;
    box-shadow: 0 10px 40px rgba(20, 131, 165, 0.1);
    max-width: 700px;
    margin: 0 auto;
    position: relative;
    max-width: 100%;
}

/* Barra de Progresso */
.progress-container {
    position: relative;
    display: flex;
    justify-content: space-between;
    margin-bottom: 50px;
    padding: 0 30px;
}

.progress-bg {
    position: absolute;
    top: 20px;
    left: 30px;
    right: 30px;
    height: 2px;
    background: #e0e0e0;
    z-index: 0;
}

.progress-fill {
    position: absolute;
    top: 20px;
    left: 30px;
    height: 2px;
    background: linear-gradient(90deg, var(--brand-light), var(--brand-primary));
    z-index: 1;
    transition: width 0.3s ease;
    width: 0%;
}

/* Círculos de Progresso */
.step-circle {
    width: 45px;
    height: 45px;
    background: #f0f0f0;
    border: 2px solid #e0e0e0;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 800;
    color: #999;
    position: relative;
    z-index: 2;
    transition: all 0.3s ease;
    cursor: pointer;
    font-size: 16px;
}

.step-circle.active {
    background: linear-gradient(135deg, var(--brand-light), var(--brand-primary));
    color: white;
    border-color: var(--brand-primary);
    box-shadow: 0 4px 12px rgba(20, 131, 165, 0.3);
}

.step-circle.completed {
    background: var(--brand-action);
    color: white;
    border-color: var(--brand-action);
}

/* Caixas de Rádio para Seleção */
.radio-box {
    background: #f8f9fa;
    border: 2px solid #e0e0e0;
    border-radius: 15px;
    padding: 20px;
    cursor: pointer;
    transition: all 0.3s ease;
    text-align: center;
    position: relative;
}

.radio-box:hover {
    border-color: var(--brand-light);
    transform: translateY(-3px);
    box-shadow: 0 5px 15px rgba(20, 131, 165, 0.1);
}

.radio-box.selected {
    background: linear-gradient(135deg, rgba(32, 179, 237, 0.1), rgba(20, 131, 165, 0.1));
    border-color: var(--brand-primary);
    box-shadow: 0 8px 20px rgba(20, 131, 165, 0.15);
}

.radio-check {
    width: 20px;
    height: 20px;
    border: 2px solid #e0e0e0;
    border-radius: 50%;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 10px;
    transition: all 0.3s ease;
}

.radio-box.selected .radio-check {
    background: var(--brand-primary);
    border-color: var(--brand-primary);
    color: white;
}

/* Grid de Contadores de Idade */
.age-grid-counters {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(130px, 1fr));
    gap: 15px;
    margin: 30px 0;
}

/* Card de Contador de Idade */
.age-counter-card {
    background: #f8f9fa;
    border: 2px solid #e0e0e0;
    border-radius: 12px;
    padding: 15px;
    text-align: center;
    transition: all 0.3s ease;
}

.age-counter-card:hover {
    border-color: var(--brand-light);
    box-shadow: 0 4px 12px rgba(20, 131, 165, 0.1);
}

.age-label {
    font-size: 0.9rem;
    font-weight: 700;
    color: var(--brand-primary);
    margin-bottom: 10px;
    text-transform: none;
    letter-spacing: 0.1px;
    line-height: 1.15;
    white-space: normal;
    /* sobrescreve o word-break global do body (style.css) */
    word-break: normal;
    overflow-wrap: normal;
    hyphens: none;
    width: 100%;
    text-align: left;
}

/* Mantém o intervalo "0 a 18" na mesma linha */
.age-label .age-range {
    white-space: nowrap;
    display: inline-block;
}

/* Mobile: evita "quebra feia" do texto das faixas */
@media (max-width: 480px) {
    .age-grid-counters {
        grid-template-columns: repeat(2, 1fr);
        gap: 10px;
    }

    .age-counter-card {
        padding: 12px;
    }

    .age-label {
        font-size: 0.82rem;
        min-height: 2.3em; /* mantém os cards alinhados mesmo com 2 linhas */
    }
}

/* Wrapper do Contador */
.counter-wrapper {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
}

/* Botões do Contador */
.counter-btn {
    width: 32px;
    height: 32px;
    border: none;
    border-radius: 6px;
    background: linear-gradient(135deg, var(--brand-light), var(--brand-primary));
    color: white;
    font-weight: bold;
    cursor: pointer;
    transition: all 0.2s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 18px;
    padding: 0;
}

.counter-btn:hover {
    transform: scale(1.1);
    box-shadow: 0 3px 10px rgba(20, 131, 165, 0.3);
}

.counter-btn:active {
    transform: scale(0.95);
}

/* Input de Valor */
.counter-val {
    width: 45px;
    height: 32px;
    border: 1px solid #ddd;
    border-radius: 6px;
    text-align: center;
    font-weight: 800;
    color: var(--brand-primary);
    font-size: 14px;
    background: white;
    pointer-events: none;
}

/* Campos de Input Modernos */
.input-wrapper {
    position: relative;
    margin-bottom: 10px;
}

.input-modern-icon {
    width: 100%;
    padding: 12px 15px;
    border: 2px solid #e0e0e0;
    border-radius: 10px;
    font-size: 14px;
    font-family: 'Inter', sans-serif;
    transition: all 0.3s ease;
    background: #f8f9fa;
}

.input-modern-icon:focus {
    outline: none;
    border-color: var(--brand-primary);
    background: white;
    box-shadow: 0 0 0 3px rgba(20, 131, 165, 0.1);
}

.input-modern-icon::placeholder {
    color: #999;
}

/* Badge de Total de Vidas */
.badge {
    padding: 8px 12px;
    font-size: 16px;
    font-weight: 800;
}

/* Media Query para Mobile */
@media (max-width: 768px) {
    .wizard-card {
        padding: 30px 20px;
    }

    .age-grid-counters {
        grid-template-columns: repeat(2, 1fr);
        gap: 12px;
    }

    .progress-container {
        padding: 0 15px;
    }

    .progress-bg,
    .progress-fill {
        left: 15px !important;
        right: 15px !important;
    }

    .step-circle {
        width: 40px;
        height: 40px;
        font-size: 14px;
    }
}

/* =========================================
   SEÇÃO MELHORES OPERADORAS
   ========================================= */
.operadoras-section {
    background: #f4f7f8;
}

.operadoras-eyebrow {
    color: #4a6278;
    font-size: 1.05rem;
    font-weight: 500;
    margin-bottom: 0.35rem;
    letter-spacing: 0.02em;
}

.operadoras-title {
    color: #002d5b;
    font-size: clamp(1.75rem, 4vw, 2.35rem);
    font-weight: 800;
    margin-bottom: 0.85rem;
    line-height: 1.15;
}

.operadoras-title-line {
    width: 56px;
    height: 4px;
    background: #00d7a3;
    border-radius: 2px;
    margin: 0 auto 1.1rem;
}

.operadoras-subtitle {
    color: #5a6f82;
    font-size: 0.98rem;
    font-weight: 400;
    max-width: 540px;
    margin: 0 auto;
    line-height: 1.5;
}

.operadoras-outer-card {
    background: #fff;
    border-radius: 24px;
    padding: 24px 28px 28px;
    box-shadow: 0 8px 32px rgba(0, 45, 91, 0.08);
    border: 1px solid #e8ecef;
    max-width: 960px;
    margin: 0 auto;
}

.operadora-featured-card {
    background: #fff;
    border: 1.5px solid #f5d0d0;
    border-radius: 18px;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 32px 48px;
    min-height: 120px;
    margin-bottom: 14px;
}

.operadora-featured-card img {
    max-height: 76px;
    max-width: 260px;
    width: auto;
    object-fit: contain;
}

.operadora-logo-cell {
    background: #fff;
    border: 1px solid #ebeff2;
    border-radius: 14px;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 14px 12px;
    min-height: 80px;
    height: 100%;
    transition: box-shadow 0.2s ease, transform 0.2s ease;
}

.operadora-logo-cell:hover {
    box-shadow: 0 4px 14px rgba(0, 45, 91, 0.08);
    transform: translateY(-2px);
}

.operadora-logo-cell img {
    max-height: 48px;
    max-width: 100%;
    width: auto;
    object-fit: contain;
}

@media (min-width: 992px) {
    .operadoras-row-last {
        max-width: 75%;
        margin-left: auto;
        margin-right: auto;
    }
}

/* =========================================
   SEÇÃO: POR QUE INTER PLAZA — 2 CARDS
   ========================================= */
.interplaza-why-card {
    border-radius: 20px;
    padding: 36px 28px;
    height: 100%;
    color: #fff;
}

.interplaza-dark-card  { background: #0d1b2e; }
.interplaza-teal-card  { background: #1ab4cc; }

.why-card-icon-wrap {
    width: 66px;
    height: 66px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.7rem;
    margin-bottom: 22px;
}

.interplaza-dark-card .why-card-icon-wrap {
    background: rgba(26,180,204,0.18);
    border: 2px solid rgba(26,180,204,0.45);
    color: #1ab4cc;
}

.interplaza-teal-card .why-card-icon-wrap {
    background: rgba(255,255,255,0.15);
    border: 2px solid rgba(255,255,255,0.5);
    color: #fff;
}

.why-card-title {
    font-size: 1.6rem;
    font-weight: 800;
    color: #fff;
    line-height: 1.2;
    margin-bottom: 12px;
}

.why-card-title .why-accent { color: #1ab4cc; }

.why-card-subtitle {
    font-size: 0.88rem;
    color: rgba(255,255,255,0.78);
    margin-bottom: 26px;
    line-height: 1.65;
}

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

.why-check-list li {
    display: flex;
    gap: 12px;
    align-items: flex-start;
    margin-bottom: 15px;
}

.interplaza-teal-card .why-check-list li {
    margin-bottom: 0;
    padding: 13px 0;
    border-bottom: 1px solid rgba(255,255,255,0.22);
}

.interplaza-teal-card .why-check-list li:first-child { padding-top: 0; }
.interplaza-teal-card .why-check-list li:last-child  { border-bottom: none; padding-bottom: 0; }

.interplaza-teal-card,
.interplaza-teal-card .why-card-title,
.interplaza-teal-card .why-card-title .why-accent,
.interplaza-teal-card .why-check-list strong {
    color: #000;
}

.interplaza-teal-card .why-card-subtitle {
    color: rgba(0, 0, 0, 0.78);
}

.interplaza-teal-card .why-check-list p {
    color: rgba(0, 0, 0, 0.72);
}

.interplaza-teal-card .why-card-icon-wrap {
    color: #000;
    border-color: rgba(0, 0, 0, 0.35);
    background: rgba(0, 0, 0, 0.08);
}

.interplaza-teal-card .why-check-list li {
    border-bottom-color: rgba(0, 0, 0, 0.18);
}

.why-check-icon {
    width: 22px;
    height: 22px;
    min-width: 22px;
    background: #22c55e;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 10px;
    color: #fff;
    margin-top: 1px;
    flex-shrink: 0;
}

.why-check-list strong {
    display: block;
    font-size: 0.86rem;
    font-weight: 700;
    color: #fff;
    margin-bottom: 2px;
}

.why-check-list p {
    font-size: 0.81rem;
    color: rgba(255,255,255,0.72);
    margin: 0;
    line-height: 1.4;
}

/* =========================================
   CARD: FALE COM UM ESPECIALISTA
   ========================================= */
.cta-specialist-card {
    background: #0d1b2e;
    border-radius: 20px;
    padding: 52px 30px;
    position: relative;
    overflow: hidden;
    text-align: center;
    max-width: 700px;
    margin: 0 auto;
}

/* =========================================
   MOBILE-FIRST: XS BREAKPOINTS (< 576px)
   ========================================= */
@media (max-width: 575px) {

    /* Operadoras */
    .operadoras-outer-card { padding: 14px 12px 16px; border-radius: 18px; }
    .operadoras-title { font-size: 1.65rem; }
    .operadora-featured-card { padding: 20px 16px; min-height: 92px; margin-bottom: 10px; }
    .operadora-featured-card img { max-height: 56px; }
    .operadora-logo-cell { min-height: 64px; padding: 10px 8px; }
    .operadora-logo-cell img { max-height: 38px; }

    /* Por que Inter Plaza */
    .interplaza-why-card { padding: 26px 18px; }
    .why-card-title { font-size: 1.3rem; }
    .why-card-subtitle { font-size: 0.84rem; }
    .why-check-list strong { font-size: 0.84rem; }
    .why-check-list p { font-size: 0.79rem; }

    /* Especialista CTA */
    .cta-specialist-card { padding: 36px 18px; }
    .btn-specialist-whatsapp { padding: 12px 24px; font-size: 0.84rem; width: 100%; justify-content: center; }
}

.cta-specialist-deco {
    position: absolute;
    border-radius: 50%;
    background: rgba(255,255,255,0.04);
    pointer-events: none;
}
.cta-deco-1 { width: 220px; height: 220px; top: -70px; right: -50px; }
.cta-deco-2 { width: 160px; height: 160px; bottom: -55px; left: -35px; }

.btn-specialist-whatsapp {
    display: inline-flex;
    align-items: center;
    gap: 9px;
    border: 2px solid #22c55e;
    color: #22c55e;
    background: transparent;
    border-radius: 50px;
    padding: 13px 32px;
    font-weight: 700;
    font-size: 0.88rem;
    letter-spacing: 0.6px;
    text-decoration: none;
    transition: all 0.25s ease;
}
.btn-specialist-whatsapp:hover {
    background: #22c55e;
    color: #fff;
}

/* =========================================
   COTADOR: WIZARD FORM — ESTILOS COMPLETOS
   ========================================= */

/* Botão flutuante de simulação fica habilitado por padrão */

/* Counter wrapper (override necessário contra CSS herdado) */
.counter-wrapper {
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    gap: 10px !important;
    background: #fff !important;
    padding: 4px !important;
    border-radius: 30px !important;
    border: 1px solid #dee2e6 !important;
    width: auto !important;
    max-width: 150px !important;
    margin: 0 auto !important;
}

.counter-val {
    width: 40px !important;
    text-align: center !important;
    border: none !important;
    background: transparent !important;
    font-weight: 800 !important;
    color: #333 !important;
    font-size: 1.1rem !important;
    padding: 0 !important;
    margin: 0 !important;
    height: auto !important;
    display: inline-block !important;
    -moz-appearance: textfield !important;
}

.counter-val::-webkit-outer-spin-button,
.counter-val::-webkit-inner-spin-button {
    -webkit-appearance: none !important;
    margin: 0 !important;
}

/* Wizard card */
.wizard-card {
    background: #fff;
    border-radius: 26px;
    box-shadow: 0 20px 60px rgba(0,0,0,0.14);
    padding: 40px 30px;
    position: relative;
    overflow: hidden;
    border: none;
}

/* Barra de progresso */
.progress-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    position: relative;
    margin-bottom: 40px;
    max-width: 350px;
    margin-left: auto;
    margin-right: auto;
}
.progress-bg {
    position: absolute;
    top: 50%;
    left: 0;
    width: 100%;
    height: 2px;
    background-color: #dde2e6;
    z-index: 0;
    transform: translateY(-50%);
    border-radius: 10px;
}
.progress-fill {
    position: absolute;
    top: 50%;
    left: 0;
    height: 2px;
    background-color: var(--brand-primary);
    z-index: 0;
    transform: translateY(-50%);
    border-radius: 10px;
    transition: width 0.4s ease;
    width: 0%;
}

/* Círculos de step */
.step-circle {
    width: 44px;
    height: 44px;
    background-color: #fff;
    border: 2px solid #dde2e6;
    border-radius: 50%;
    z-index: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 600;
    color: #bbb;
    transition: all 0.3s ease;
    font-size: 1rem;
}
.step-circle.active {
    width: 48px;
    height: 48px;
    background-color: var(--brand-primary);
    border-color: var(--brand-primary);
    color: #fff;
    font-weight: 800;
    font-size: 1.1rem;
    box-shadow: 0 0 0 13px rgba(20,131,165,0.18);
    transform: none;
}
.step-circle.completed {
    background-color: var(--brand-primary);
    border-color: var(--brand-primary);
    color: #fff;
    font-size: 0.8rem;
}

/* Grid de faixas etárias */
.age-grid-counters {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 15px;
    margin-top: 20px;
}
.age-counter-card {
    background: #f8f9fa;
    border: 1px solid #e9ecef;
    border-radius: 12px;
    padding: 10px 15px;
    display: flex;
    align-items: center;
    justify-content: space-between;
}
.age-label { font-weight: 700; color: #555; font-size: 0.9rem; }

.counter-btn {
    width: 30px;
    height: 30px;
    border-radius: 50%;
    border: none;
    background: #fff;
    color: var(--brand-primary);
    font-weight: bold;
    cursor: pointer;
    transition: 0.2s;
    display: flex;
    align-items: center;
    justify-content: center;
}
.counter-btn:hover { background: #e9ecef; }

/* Inputs */
.input-modern-icon {
    width: 100%;
    padding: 16px 20px 16px 55px;
    border: 2px solid #f0f0f0;
    border-radius: 12px;
    font-size: 1rem;
    color: #333;
    transition: 0.3s;
    background: #fdfdfd;
}
.input-icon {
    position: absolute;
    left: 20px;
    top: 50%;
    transform: translateY(-50%);
    color: #adb5bd;
}

/* Cards de resultado */
.price-card {
    background: #fff;
    border-radius: 15px;
    padding: 25px;
    text-align: center;
    border: 1px solid #eee;
    transition: 0.3s;
    position: relative;
    height: 100%;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}
.price-card.featured {
    border: 2px solid #28a745;
    box-shadow: 0 10px 30px rgba(40,167,69,0.15);
    transform: translateY(-5px);
}
.badge-destaque {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    background: #28a745;
    color: #fff;
    font-weight: bold;
    font-size: 0.75rem;
    padding: 4px;
    text-transform: uppercase;
}
.calculo-detalhes {
    background: #f8f9fa;
    border-radius: 8px;
    padding: 10px;
    font-size: 0.8rem;
    color: #555;
    margin-top: 10px;
    text-align: left;
    width: 100%;
    line-height: 1.4;
    border: 1px solid #eee;
}
.card-cta {
    background: linear-gradient(135deg, #e3f2fd 0%, #ffffff 100%);
    border: 1px dashed #2196f3;
}

/* Fundo do cotador */
#cotacao-anchor {
    background: linear-gradient(150deg, #1275a0 0%, #1598c0 55%, #20b3ed 100%);
}

/* Badge topo do wizard */
.cotacao-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: #d8edf6;
    border: 1px solid #b5d8ea;
    border-radius: 50px;
    padding: 8px 20px;
    font-size: 0.82rem;
    color: #1483a5;
    font-weight: 600;
}

/* Título e subtítulo */
.cotacao-title {
    font-size: 2.6rem;
    font-weight: 800;
    color: #1e293b;
    line-height: 1.15;
    letter-spacing: -0.5px;
}
.cotacao-accent { color: var(--brand-primary); }
.cotacao-subtitle {
    color: #777;
    font-size: 0.93rem;
    line-height: 1.6;
    max-width: 340px;
    margin-left: auto;
    margin-right: auto;
}

/* Radio boxes horizontais */
.radio-box {
    cursor: pointer;
    border: 2px solid #e0e8ec;
    border-radius: 14px;
    padding: 16px 18px;
    text-align: left;
    transition: all 0.22s ease;
    background: #fff;
    position: relative;
    display: block;
    width: 100%;
}
.radio-box:hover {
    border-color: #a8cad8;
    box-shadow: 0 3px 12px rgba(20,131,165,0.09);
    transform: none;
}
.radio-box.selected {
    border-color: var(--brand-primary);
    background: #eef7fb;
    box-shadow: 0 4px 16px rgba(20,131,165,0.13);
}
.radio-box-inner { display: flex; align-items: center; gap: 14px; }
.radio-box-icon {
    width: 44px;
    height: 44px;
    border-radius: 10px;
    background: #f0f0f0;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.2rem;
    color: #aaa;
    flex-shrink: 0;
    transition: all 0.22s ease;
}
.radio-box.selected .radio-box-icon {
    background: rgba(20,131,165,0.09);
    color: var(--brand-primary);
}
.radio-box-text { flex: 1; }
.radio-box-title {
    font-weight: 800;
    color: #1e293b;
    font-size: 0.83rem;
    letter-spacing: 0.3px;
    text-transform: uppercase;
    line-height: 1.3;
}
.radio-box-sub { color: #aaa; font-size: 0.77rem; margin-top: 2px; }
.radio-check {
    width: 30px;
    height: 30px;
    border: 2px solid #d0d0d0;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    color: transparent;
    font-size: 11px;
    transition: all 0.22s ease;
    background: transparent;
    position: static;
}
.radio-box.selected .radio-check {
    background: var(--brand-primary);
    border-color: var(--brand-primary);
    color: #fff;
}

/* Responsividade do cotador */
@media (max-width: 768px) {
    .age-grid-counters { grid-template-columns: repeat(2, 1fr); gap: 10px; }
}
@media (max-width: 575px) {
    .wizard-card { padding: 26px 16px; }
    .cotacao-title { font-size: 1.85rem; letter-spacing: -0.3px; }
    .cotacao-subtitle { font-size: 0.87rem; }
    .cotacao-badge { font-size: 0.75rem; padding: 6px 14px; }
    .progress-container { max-width: 280px; margin-bottom: 32px; }
}

/* =======================================================
   FIX FINAL (mobile): evita corte lateral do cotador
   - O card de cada faixa fica em coluna (label em cima,
     contador embaixo) para caber em 2 colunas no celular.
   ======================================================= */
@media (max-width: 575px) {
    #cotacao-anchor .row {
        margin-left: 0 !important;
        margin-right: 0 !important;
    }

    #cotacao-anchor [class^="col-"],
    #cotacao-anchor [class*=" col-"] {
        padding-left: 0 !important;
        padding-right: 0 !important;
        max-width: 100% !important;
    }

    #cotacao-anchor .wizard-card {
        width: 100% !important;
        max-width: 100% !important;
        padding: 22px 12px !important;
        overflow: hidden !important;
    }

    /* Layout vertical do card de faixa etária (resolve o corte) */
    #cotacao-anchor .age-grid-counters {
        grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
        gap: 10px !important;
    }

    #cotacao-anchor .age-counter-card {
        display: flex !important;
        flex-direction: column !important;
        align-items: center !important;
        justify-content: center !important;
        text-align: center !important;
        padding: 12px 8px !important;
        min-width: 0 !important;
    }

    #cotacao-anchor .age-counter-card .age-label {
        width: 100% !important;
        text-align: center !important;
        margin-bottom: 8px !important;
        font-size: 0.8rem !important;
    }

    #cotacao-anchor .counter-wrapper {
        max-width: 100% !important;
        width: 100% !important;
        gap: 4px !important;
        padding: 2px !important;
    }

    #cotacao-anchor .counter-btn {
        width: 26px !important;
        height: 26px !important;
        font-size: 14px !important;
        flex-shrink: 0 !important;
    }

    #cotacao-anchor .counter-val {
        width: 32px !important;
        font-size: 1rem !important;
    }
}

