/* ==========================================================================
   1. VARIÁVEIS GLOBAIS E DESIGN SYSTEM
   ========================================================================== */
:root {
    --azul-principal: #0F5EED;
    --azul-escuro: #163A70;
    --whatsapp-verde: #25D366;
    --cinza-claro: #F8FAFC;
    --branco: #FFFFFF;
    --texto-cor: #374151;
    
    --fonte-principal: 'Montserrat', sans-serif;
}

/* Reset e Base */
body {
    font-family: var(--fonte-principal);
    color: var(--texto-cor);
    background-color: var(--branco);
    overflow-x: hidden;
}

/* Tipografia */
h1 {
    font-weight: 700;
    font-size: 40px;
    line-height: 1.3;
}

h2 {
    font-weight: 700;
    font-size: 44px;
    line-height: 1.2;
}

h3 {
    font-weight: 600;
    font-size: 28px;
    line-height: 1.3;
}

/* ==========================================================================
   2. COMPONENTES GLOBAIS (BOTÕES E SOMBRAS)
   ========================================================================== */
.btn-whatsapp {
    background-color: var(--whatsapp-verde);
    color: var(--branco);
    font-weight: 600;
    transition: transform 150ms ease-in-out, background-color 0.2s ease;
    border: none;
}

.btn-whatsapp:hover {
    background-color: #20ba5a;
    color: var(--branco);
    transform: scale(1.02);
}

.sombra-leve {
    box-shadow: 0 4px 12px rgba(15, 94, 237, 0.06);
}

.sombra-media {
    box-shadow: 0 8px 24px rgba(15, 94, 237, 0.08);
}

/* ==========================================================================
   3. HEADER / NAVBAR
   ========================================================================== */
/* Ajuste de tipografia do logotipo */
.logo-texto {
    font-size: 22px;
    letter-spacing: -0.5px;
    margin-bottom: 2px; /* Pequeno respiro antes do subtexto */
}

/* O novo subtexto alinhado ao design original */
.logo-subtexto {
    font-size: 10px;
    letter-spacing: 1.2px; /* Efeito de letras levemente afastadas */
    opacity: 0.85;
}

/* Garante que o ícone do floco se ajuste à nova altura do bloco de texto */
.brand-icon {
    width: 32px;
    height: 32px;
}

/* ==========================================================================
   4. HERO SECTION (CÓDIGO FIEL AO SITE2.PNG)
   ========================================================================== */
.hero-section {
    background: #0b1a30; /* Fundo azul escuro contínuo do print */
    position: relative;
    overflow: hidden;
    min-height: 540px;
}

.text-info-custom {
    color: #38bdf8 !important; /* Azul celeste brilhante do destaque */
}

.border-white-10 {
    border-color: rgba(255, 255, 255, 0.1) !important;
}

/* Container da Imagem da Direita */
.wrapper-imagem-hero {
    position: relative;
    width: 100%;
    height: 100%;
    display: flex;
    justify-content: flex-end;
}

/* A Imagem ocupa o seu espaço natural e encosta na lateral direita */
.imagem-fiel-original {
    max-height: 560px;
    width: 100%;
    object-fit: cover;
    display: block;
}

/* O SEGREDO: Efeito que mistura a lateral esquerda da foto com o azul do fundo */
.wrapper-imagem-hero::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    /* Cria um degradê que vai do azul escuro puro até o transparente */
    background: linear-gradient(to right, #0b1a30 0%, rgba(11, 26, 48, 0) 25%);
    z-index: 1;
    pointer-events: none;
}

.label-btn {
    font-size: 16px;
    letter-spacing: 0.5px;
}

.label-badge {
    font-size: 13px !important;
    line-height: 1.3;
}

/* Ajustes para a imagem aparecer perfeita no celular */
@media (max-width: 991.98px) {
    .imagem-fiel-original {
        max-height: 350px; /* Tamanho controlado para não quebrar o celular */
        border-radius: 16px; /* Arredonda levemente no mobile para dar acabamento */
        object-fit: cover;
    }
    
    .wrapper-imagem-hero {
        justify-content: center;
        padding: 0 15px; /* Margem nas laterais no celular */
    }

    /* Muda o efeito para sumir de baixo para cima no celular */
    .wrapper-imagem-hero::before {
        background: linear-gradient(to top, #0b1a30 0%, rgba(11, 26, 48, 0) 100%) !important;
    }
}
/* ==========================================================================
   5. BARRA DE DIFERENCIAIS FLUTUANTE
   ========================================================================== */
.barra-diferenciais-container {
    margin-top: -40px; /* Faz a barra subir e flutuar sobre a transição */
}

.text-ajustado {
    font-size: 14px;
    letter-spacing: -0.2px;
}

@media (min-width: 768px) {
    .border-end-md {
        border-end: 1px solid #dee2e6;
        border-right: 1px solid #dee2e6 !important;
    }
}

/* ==========================================================================
   6. SEÇÃO: PROBLEMAS QUE RESOLVEMOS (AJUSTADA)
   ========================================================================== */
.secao-problemas {
    padding-top: 80px !important;
}

.card-problema {
    background-color: var(--branco);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    border-color: #e2e8f0 !important;
    min-height: 280px; /* Garante uma altura mínima estável */
}

.card-problema:hover {
    transform: translateY(-4px);
    box-shadow: 0 12px 30px rgba(15, 94, 237, 0.08) !important;
}

.icone-box-azul { background-color: #e0ecff; }
.icone-box-verde { background-color: #e6fcf5; }
.text-success { color: var(--whatsapp-verde) !important; }

/* Controla o container da imagem para colar na direita */
.container-imagem-card {
    display: flex;
    justify-content: flex-end;
    align-items: center;
    height: 100%;
}

/* Controla o tamanho dos aparelhos para se ajustarem perfeitamente */
.max-h-card {
    max-height: 200px;
    width: auto;
    object-fit: contain;
}

/* Ajuste responsivo para telas muito pequenas (celular) */
@media (max-width: 420px) {
    .max-h-card {
        max-height: 140px;
    }
}
/* ==========================================================================
   7. SEÇÃO: COMO FUNCIONA O ATENDIMENTO
   ========================================================================== */
.secao-jornada {
    background-color: var(--cinza-claro) !important;
}

.posicao-numero {
    width: 28px;
    height: 28px;
    font-size: 14px;
}

.icone-passo-box {
    width: 64px;
    height: 64px;
    transition: transform 0.2s ease;
    border-color: #e2e8f0 !important;
}

.bloco-passo:hover .icone-passo-box {
    transform: translateY(-3px);
    border-color: var(--azul-principal) !important;
}

@media (min-width: 1200px) {
    .estrutura-passos {
        display: flex;
        justify-content: space-between;
    }
    .bloco-passo:not(:last-child)::after {
        content: "➔";
        position: absolute;
        top: 45px;
        color: #cbd5e1;
        font-size: 20px;
        margin-left: 45px;
    }
}

/* ==========================================================================
   8. BANNER DE CONVERSÃO FINAL
   ========================================================================== */
.bg-dark {
    background-color: #163A70 !important;
}

.banner-cta {
    overflow: hidden;
}

.icone-telefone-container {
    width: 64px;
    height: 64px;
    background-color: rgba(15, 94, 237, 0.15) !important;
}

/* Força o reset de alinhamento em telas menores */
@media (max-width: 991.98px) {
    .banner-cta {
        text-align: center !important;
    }
    .banner-cta .d-flex {
        flex-direction: column !important;
        justify-content: center !important;
    }
}

/* ==========================================================================
   9. FOOTER & AJUSTES RESPONSIVOS
   ========================================================================== */
.footer-link {
    transition: color 0.2s ease;
}

.footer-link:hover {
    color: var(--azul-principal) !important;
}

.border-secondary {
    border-color: rgba(255, 255, 255, 0.1) !important;
}

/* Ajustes Mobile e Tablet globais */
@media (max-width: 991.98px) {
    .hero-section {
        text-align: center;
        padding-top: 2rem;
        padding-bottom: 2rem;
    }
    .label-badge {
        font-size: 12px !important;
    }
    .banner-cta {
        text-align: center;
        flex-direction: column !important;
    }
    .banner-cta .d-flex {
        flex-direction: column !important;
    }
}