:root {
        --primary-gold: #ECA400;
        --primary-gold-light: #FFD24D;
        --dark-blue: #0D1B2A;
        --dark-blue-light: #1B2A3F;
        --light-gray: #F8F9FA;
        --white: #FFFFFF;
        --dark-footer: #08121b;
        --success-green: #28a745;
        --transition: all 0.3s ease;
    }

    body {
        font-family: 'Montserrat', sans-serif;
        background-color: var(--white);
        color: #495057;
        line-height: 1.6;
    }
.navbar-nav a {color: #2b2b2b !important;}
    /* Animações e Interações Avançadas */
    .animate-on-scroll {
        opacity: 0;
        transform: translateY(30px);
        transition: opacity 0.8s ease-out, transform 0.8s ease-out;
    }

/* Estilização da seção "Outros Serviços" com fundo geométrico */
#outros-servicos {
    position: relative; /* Necessário para o ::before */
    background-image: url('https://attseg.com.br/wp-content/uploads/2025/09/32816.jpg');
    background-size: cover;
    background-position: center center;
    background-attachment: fixed; /* Mantém o efeito parallax */
    background-repeat: no-repeat;
    z-index: 0; /* Garante que o overlay fique por baixo */
}

/* NOVO: Overlay escuro sutil para a seção "Outros Serviços" */
#outros-servicos::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-color: rgba(0, 0, 0, 0.3); /* Preto com 30% de opacidade */
    z-index: -1; /* Garante que o overlay fique por baixo da imagem */
}

/* Opcional: Melhora o destaque dos cards na seção.
  Isso os torna levemente translúcidos com um efeito de vidro fosco.
*/
#outros-servicos .card {
    background-color: rgba(255, 255, 255, 0.9); /* Fundo branco com 90% de opacidade */
    -webkit-backdrop-filter: blur(10px); /* Efeito de desfoque para navegadores WebKit */
    backdrop-filter: blur(10px); /* Efeito de desfoque para navegadores modernos */
    border: 1px solid rgba(255, 255, 255, 0.4);
}
    .animate-on-scroll.is-visible {
        opacity: 1;
        transform: translateY(0);
    }

    .btn-primary-custom {
        background-color: var(--primary-gold);
        border-color: var(--primary-gold);
        color: var(--dark-blue);
        font-weight: 700;
        padding: 14px 32px;
        text-transform: uppercase;
        letter-spacing: 1px;
        border-radius: 8px;
        transition: var(--transition);
        position: relative;
        overflow: hidden;
    }

    .btn-primary-custom:hover {
        background-color: var(--primary-gold-light);
        border-color: var(--primary-gold-light);
        color: var(--dark-blue);
        transform: translateY(-3px);
        box-shadow: 0 12px 25px rgba(236, 164, 0, 0.25);
    }

    .btn-primary-custom:after {
        content: '';
        position: absolute;
        top: 50%;
        left: 50%;
        width: 5px;
        height: 5px;
        background: rgba(255, 255, 255, 0.5);
        opacity: 0;
        border-radius: 100%;
        transform: scale(1, 1) translate(-50%);
        transform-origin: 50% 50%;
    }

    .btn-primary-custom:focus:after,
    .btn-primary-custom:hover:after {
        animation: ripple 1s ease-out;
    }

    @keyframes ripple {
        0% {
            transform: scale(0, 0);
            opacity: 0.5;
        }
        100% {
            transform: scale(30, 30);
            opacity: 0;
        }
    }

    /* Header Fixo com Sombreamento */
    .navbar {
        transition: background-color 0.4s ease, box-shadow 0.4s ease, padding 0.4s ease;
        padding: 10px 0;
    }

    .navbar.scrolled {
        background-color: var(--dark-blue);
        box-shadow: 0 4px 20px rgba(0, 0, 0, 0.15);
        padding: 12px 0;
    }

    /* Hero Section Otimizada */
    .hero-section {
        background: linear-gradient(rgba(13, 27, 42, 0.85), rgba(13, 27, 42, 0.9)), url('https://images.unsplash.com/photo-1556761175-5973dc0f32e7?q=80&w=1932&auto=format&fit=crop') no-repeat center center;
        background-size: cover;
        padding: 30px 0 90px;
 
        display: flex;
        align-items: center;
        position: relative;
    }

    .hero-badge {
        background: rgba(236, 164, 0, 0.15);
        color: var(--primary-gold);
        padding: 8px 16px;
        border-radius: 50px;
        font-size: 14px;
        font-weight: 600;
        display: inline-block;
        margin-bottom: 20px;
        animation: pulse 2s infinite;
    }

    @keyframes pulse {
        0% { box-shadow: 0 0 0 0 rgba(236, 164, 0, 0.4); }
        70% { box-shadow: 0 0 0 10px rgba(236, 164, 0, 0); }
        100% { box-shadow: 0 0 0 0 rgba(236, 164, 0, 0); }
    }

    .hero-counter {
        background: rgba(255, 255, 255, 0.1);
        backdrop-filter: blur(10px);
        -webkit-backdrop-filter: blur(10px);
        border-radius: 12px;
        padding: 20px;
        display: inline-block;
        margin-top: 30px;
    }

    /* Seções de Conteúdo */
    .section-title {
        position: relative;
        padding-bottom: 20px;
        margin-bottom: 40px;
    }

    .section-title:after {
        content: '';
        position: absolute;
        bottom: 0;
        left: 50%;
        transform: translateX(-50%);
        width: 80px;
        height: 4px;
        background: var(--primary-gold);
        border-radius: 2px;
    }

    .section-title.text-start:after {
        left: 0;
        transform: none;
    }

    .benefits-section .icon-custom {
        color: var(--primary-gold);
        transition: var(--transition);
    }

    .benefit-card:hover .icon-custom {
        transform: scale(1.1);
    }

    .social-proof-section.parallax-section {
        background: url('https://images.unsplash.com/photo-1522202176988-66273c2fd55f?q=80&w=1742&auto=format&fit=crop') no-repeat center center;
        background-size: cover;
        background-attachment: fixed;
        padding: 120px 0;
        position: relative;
    }

    .social-proof-section::before {
        content: '';
        position: absolute;
        top: 0;
        left: 0;
        right: 0;
        bottom: 0;
        background-color: rgba(13, 27, 42, 0.8);
    }

    /* Efeito Glassmorphism Melhorado */
    .glass-card {
        background: rgba(255, 255, 255, 0.12);
        backdrop-filter: blur(12px);
        -webkit-backdrop-filter: blur(12px);
        border-radius: 16px;
        border: 1px solid rgba(255, 255, 255, 0.18);
        box-shadow: 0 8px 32px 0 rgba(0, 0, 0, 0.18);
        position: relative;
        z-index: 1;
        transition: var(--transition);
    }

    .glass-card:hover {
        transform: translateY(-5px);
        box-shadow: 0 12px 40px 0 rgba(0, 0, 0, 0.25);
    }

    .final-cta-section {
        background: var(--dark-blue);
        position: relative;
        overflow: hidden;
    }

    .final-cta-section:before {
        content: '';
        position: absolute;
        top: -50%;
        right: -50%;
        width: 100%;
        height: 200%;
        background: radial-gradient(circle, rgba(236, 164, 0, 0.1) 0%, transparent 70%);
        z-index: 0;
    }

    .bg-dark-footer {
        background-color: var(--dark-footer);
    }

    .services-showcase-section .card {
        transition: transform 0.4s ease, box-shadow 0.4s ease;
        border: none;
        border-radius: 12px;
        overflow: hidden;
    }

    .services-showcase-section .card:hover {
        transform: translateY(-12px);
        box-shadow: 0 18px 40px rgba(0, 0, 0, 0.12) !important;
    }

    .service-icon {
        color: var(--primary-gold);
        display: inline-flex;
        align-items: center;
        justify-content: center;
        width: 70px;
        height: 70px;
        background: rgba(236, 164, 0, 0.1);
        border-radius: 50%;
        margin-bottom: 20px;
        transition: var(--transition);
    }

    .services-showcase-section .card:hover .service-icon {
        background: var(--primary-gold);
        color: var(--dark-blue);
        transform: rotateY(180deg);
    }

    .service-icon svg {
        width: 60%;
        height: 60%;
    }

    /* Elementos de Confiança */
    .trust-badges {
        background: var(--light-gray);
        border-radius: 12px;
        padding: 25px;
    }

    .trust-item {
        display: flex;
        align-items: center;
        margin-bottom: 15px;
    }

    .trust-icon {
        background: var(--primary-gold);
        color: var(--dark-blue);
        width: 40px;
        height: 40px;
        border-radius: 50%;
        display: flex;
        align-items: center;
        justify-content: center;
        margin-right: 15px;
        flex-shrink: 0;
    }

    /* Contador Estatístico */
    .stat-item {
        text-align: center;
        padding: 20px;
    }

    .stat-number {
        font-size: 2.5rem;
        font-weight: 800;
        color: var(--primary-gold);
        line-height: 1;
        margin-bottom: 5px;
    }

    .stat-text {
        font-size: 0.9rem;
        text-transform: uppercase;
        letter-spacing: 1px;
        font-weight: 600;
    }

    /* Depoimentos com Abas */
    .testimonial-tabs .nav-link {
        color: var(--dark-blue);
        font-weight: 600;
        padding: 12px 20px;
        border-radius: 8px;
        margin-right: 10px;
        border: 2px solid transparent;
        transition: var(--transition);
    }

    .testimonial-tabs .nav-link.active {
        background: transparent;
        color: var(--primary-gold);
        border: 2px solid var(--primary-gold);
    }

    .testimonial-tabs .nav-link:hover {
        border: 2px solid var(--primary-gold);
    }

    .testimonial-img {
        width: 70px;
        height: 70px;
        border-radius: 50%;
        object-fit: cover;
        border: 3px solid var(--primary-gold);
    }

   .floating-cta {
    position: fixed;
    bottom: 20px;
    left: 50%;
    transform: translateX(-50%); /* Centraliza o botão horizontalmente */
    z-index: 1000;
    
    /* Estado inicial (escondido) */
    opacity: 0;
    visibility: hidden;
    transform: translate(-50%, 100px); /* Começa abaixo da tela */
    transition: opacity 0.4s ease-in-out, transform 0.4s ease-in-out, visibility 0.4s;
}

.floating-cta.show {
    /* Estado final (visível) */
    opacity: 1;
    visibility: visible;
    transform: translate(-50%, 0); /* Sobe para a posição final */
}

    /* Modal Personalizado */
    .modal-content {
        border-radius: 16px;
        overflow: hidden;
        border: none;
    }

    .modal-header {
        background: var(--dark-blue);
        color: white;
        border-bottom: 2px solid var(--primary-gold);
    }

    .btn-close {
        filter: invert(1);
    }

    /* Tooltip Personalizado */
    .tooltip-inner {
        background-color: var(--primary-gold);
        color: var(--dark-blue);
        border-radius: 8px;
        padding: 8px 12px;
        font-weight: 600;
    }

    .tooltip.bs-tooltip-auto[data-popper-placement^=top] .tooltip-arrow::before {
        border-top-color: var(--primary-gold);
    }

    /* Responsividade Avançada */
    @media (max-width: 992px) {
        
        .section-title:after {
            left: 50%;
            transform: translateX(-50%);
        }
        
        .section-title.text-start:after {
            left: 50%;
            transform: translateX(-50%);
        }
        
        .floating-cta {
            bottom: 20px;
            right: 20px;
        }
        
        .floating-cta .btn {
            padding: 12px 20px;
            font-size: 14px;
        }
    }

    @media (max-width: 768px) {
       
        
        .display-3 {
            font-size: 2.5rem;
        }
        
        .stat-number {
            font-size: 2rem;
        }
    }

    /* Animações de Entrada Otimizadas */
    @keyframes fadeInUp {
        from {
            opacity: 0;
            transform: translate3d(0, 40px, 0);
        }
        to {
            opacity: 1;
            transform: translate3d(0, 0, 0);
        }
    }

    .fade-in-up {
        animation: fadeInUp 0.8s ease-out forwards;
    }

    /* Progress Bar para Indicador de Scroll */
    .progress-container {
        position: fixed;
        top: 0;
        left: 0;
        width: 100%;
        height: 4px;
        background: transparent;
        z-index: 9999;
    }

    .progress-bar {
        height: 4px;
        background: var(--primary-gold);
        width: 0%;
        transition: width 0.3s ease;
    }


/* --- Container Geral do Formulário --- */
.attseg-premium-form .wpcf7 {
    font-family: 'Montserrat', sans-serif;
}

.attseg-premium-form p {
    margin-bottom: 1.5rem; /* Espaçamento entre os campos */
}

/* --- Estilo das Labels (textos acima dos campos) --- */
.attseg-premium-form label {
    font-weight: 700;
    color: #0D1B2A; /* Azul-Noite */
    display: block;
    margin-bottom: 0.5rem;
    font-size: 0.9rem;
}

/* --- Estilo Geral dos Campos (Input, Select, Textarea) --- */
.attseg-premium-form .wpcf7-form-control {
    background-color: #f8f9fa;
    border: 1px solid #ced4da;
    border-radius: 8px;
    padding: 12px 16px;
    width: 100%;
    font-size: 1rem;
    color: #495057;
    transition: border-color 0.3s ease, box-shadow 0.3s ease;
}

/* --- Efeito de Foco nos Campos --- */
.attseg-premium-form .wpcf7-form-control:focus {
    outline: none;
    border-color: #ECA400; /* Dourado-Âmbar */
    box-shadow: 0 0 0 3px rgba(236, 164, 0, 0.25);
}

/* --- Estilização Específica do Dropdown (Select) --- */
.attseg-premium-form .wpcf7-select {
    -webkit-appearance: none;
    -moz-appearance: none;
    appearance: none;
    background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3e%3cpath fill='none' stroke='%23ECA400' stroke-linecap='round' stroke-linejoin='round' stroke-width='2' d='M2 5l6 6 6-6'/%3e%3c/svg%3e");
    background-repeat: no-repeat;
    background-position: right 1rem center;
    background-size: 1em;
}

/* --- Estilo do Botão de Envio --- */
.attseg-premium-form .wpcf7-submit {
    background-color: #ECA400; /* Dourado-Âmbar */
    border: none;
    color: #0D1B2A; /* Azul-Noite */
    font-weight: 700;
    padding: 14px 30px;
    text-transform: uppercase;
    letter-spacing: 1px;
    cursor: pointer;
    transition: all 0.3s ease;
    width: 100%; /* Opcional: faz o botão ter largura total */
}

.attseg-premium-form .wpcf7-submit:hover {
    background-color: #ffd24d;
    transform: translateY(-3px);
    box-shadow: 0 10px 20px rgba(0,0,0,0.1);
}

/* --- Estilo das Mensagens de Resposta (Sucesso, Erro, etc.) --- */
.attseg-premium-form .wpcf7-response-output {
    border-radius: 8px;
    padding: 1rem;
    margin: 2rem 0 0 0;
    font-weight: 500;
    text-align: center;
}

/* Mensagem de sucesso no envio */
.attseg-premium-form .wpcf7-mail-sent-ok {
    background-color: #d1e7dd;
    border: 1px solid #badbcc;
    color: #0f5132;
}

/* Mensagem de erro de validação */
.attseg-premium-form .wpcf7-validation-error {
    background-color: #f8d7da;
    border: 1px solid #f5c2c7;
    color: #842029;
}

/* Dica de erro em campos individuais */
.attseg-premium-form .wpcf7-not-valid-tip {
    color: #dc3545;
    font-size: 0.8rem;
    font-weight: 500;
}
/* Estilização da seção "Como Funciona" com imagem de fundo */
#como-funciona {
    position: relative;
    background-image: url('https://attseg.com.br/wp-content/uploads/2025/09/84815.jpg');
    background-size: cover;
    background-position: center center;
    background-attachment: fixed; /* Efeito parallax ao rolar */
    background-repeat: no-repeat;
    z-index: 0;
}

/* Cria a sobreposição escura para garantir a legibilidade do texto */
#como-funciona::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-color: rgba(10, 20, 30, 0.75); /* Sobreposição azul escura com 75% de opacidade */
    z-index: -1;
}

/* Ajusta as cores do texto da seção para branco */
#como-funciona h2,
#como-funciona h4,
#como-funciona .lead,
#como-funciona p {
    color: #ffffff;
}

#como-funciona .text-muted {
    color: #e0e0e0 !important; /* Deixa o texto "muted" um pouco mais sutil */
}

/* Opcional: Melhora o destaque do card de vidro à direita */
#como-funciona .glass-card {
    background-color: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.2);
}