/* Importa a fonte Poppins no início do arquivo */
@import url('https://fonts.googleapis.com/css2?family=Poppins:wght@400;500;600;700&display=swap');

/* --- ESTILOS GERAIS --- */
body {
    font-family: 'Poppins', sans-serif;
    background-color: #f8f9fa;
}

main { }

/* --- ESTILOS DO CABEÇALHO --- */
.top-bar {
    background-color: #212529;
    color: #f8f9fa;
    padding: 0.5rem 0;
    font-size: 0.85rem;
}
.main-navbar {
    background-color: #ffffff;
    transition: box-shadow 0.3s ease-in-out;
}
header.sticky-top .main-navbar {
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.05);
}
.nav-link-custom {
    color: #333;
    font-weight: 500;
    padding: 0.5rem 1rem;
    position: relative;
    text-decoration: none;
    transition: color 0.3s ease;
}
.nav-link-custom::after {
    content: '';
    position: absolute;
    width: 0;
    height: 2px;
    bottom: -5px;
    left: 50%;
    transform: translateX(-50%);
    background-color: #0d6efd;
    transition: width 0.3s ease-in-out;
}
.nav-link-custom:hover, .nav-link-custom.active {
    color: #0d6efd;
}
.nav-link-custom:hover::after {
    width: 100%;
}
.dropdown-menu {
    border-radius: 0.5rem;
    border: none;
    box-shadow: 0 8px 16px rgba(0,0,0,0.1);
}
.btn-cta {
    background: linear-gradient(45deg, #0d6efd, #0dcaf0);
    border: none;
    color: white;
    font-weight: 600;
    padding: 0.6rem 1.5rem;
    border-radius: 50px;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}
.btn-cta:hover {
    color: white;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(13, 110, 253, 0.4);
}

/* --- ESTILOS DA HERO SECTION (index.php) --- */
.hero-section {
    position: relative;
    padding: 8rem 0;
    color: white;
    background: url('https://images.unsplash.com/photo-1521737604893-d14cc237f11d?q=80&w=2070&auto=format&fit=crop') no-repeat center center;
    background-size: cover;
}
.hero-section .hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.6);
}
.hero-section .hero-content {
    position: relative;
    z-index: 1;
}
.hero-section h1 {
    text-shadow: 2px 2px 4px rgba(0,0,0,0.5);
}
.btn-cta-hero {
    background: #0d6efd;
    border-color: #0d6efd;
    color: white;
    font-weight: 600;
    padding: 0.8rem 2rem;
    border-radius: 50px;
    transition: all 0.3s ease;
}
.btn-cta-hero:hover {
    background: #0b5ed7;
    border-color: #0a58ca;
    transform: translateY(-3px);
    box-shadow: 0 6px 15px rgba(13, 110, 253, 0.5);
}

/* --- ESTILOS DA PÁGINA DE BLOG --- */
.blog-hero {
    background-color: #f1f5f9;
    padding: 4rem 1.5rem;
}
.blog-hero h1 {
    font-weight: 700;
}
.featured-post .card {
    border: none;
}
.featured-post-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 0.5rem;
}
.blog-grid-item {
    border: 1px solid #e2e8f0;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}
.blog-grid-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 20px rgba(0,0,0,0.08);
}
.blog-grid-item .card-img-top {
    aspect-ratio: 16/9;
    object-fit: cover;
}
.post-meta {
    font-size: 0.85rem;
    color: #64748b;
}

/* --- ANIMAÇÃO DE ENTRADA DAS SEÇÕES --- */
.fade-in-section {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 1s ease-out, transform 1s ease-out;
}
.fade-in-section.is-visible {
  opacity: 1;
  transform: translateY(0);
}

/* --- CABEÇALHO INOVADOR (PÁGINAS DE SERVIÇO) --- */
.hero-section-special {
    padding: 4rem 0;
    background: linear-gradient(110deg, #0d6efd, #004a99);
    overflow: hidden;
}
.hero-section-special h1 {
    text-shadow: 0px 2px 4px rgba(0, 0, 0, 0.2);
}
.hero-section-special .lead {
    color: rgba(255, 255, 255, 0.85);
}
.hero-section-special .btn-light {
    transition: all 0.3s ease;
}
.hero-section-special .btn-light:hover {
    transform: translateY(-3px);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.15);
}
.hero-image-special {
    border-radius: 1rem;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.25);
    transform: rotate(4deg);
    transition: transform 0.4s ease;
}
.hero-image-special:hover {
    transform: rotate(0deg) scale(1.05);
}

/* --- CÓDIGO PARA SUPORTE A SUBMENUS --- */
@media (min-width: 992px) {
    .dropdown:hover > .dropdown-menu, .dropdown-submenu:hover > .dropdown-menu {
        display: block;
        margin-top: 0;
    }
    .dropdown-submenu {
        position: relative;
    }
    .dropdown-submenu .dropdown-menu {
        position: absolute;
        left: 100%;
        top: -7px;
    }
    .dropdown-submenu > a.dropdown-toggle::after {
        display: block;
        content: " ";
        float: right;
        width: 0;
        height: 0;
        border-color: transparent;
        border-style: solid;
        border-width: 5px 0 5px 5px;
        border-left-color: #ccc;
        margin-top: 5px;
        margin-right: -10px;
    }
}

/* --- ESTILOS DA LANDING PAGE DE PABX (VENDAS) --- */
.hero-landing-v2 {
    position: relative;
    padding: 6rem 0;
    background: url('https://bichlersolucoes.com.br/assets/uploads/atendente%20nuvem.jpeg') no-repeat center center;
    background-size: cover;
    color: white;
}
.hero-landing-v2::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, rgba(0, 31, 63, 0.95) 0%, rgba(0, 74, 153, 0.7) 100%);
}
.hero-landing-v2 .container {
    position: relative;
    z-index: 1;
}
.hero-benefits {
    padding-left: 0;
    list-style: none;
}
.hero-benefits li {
    font-size: 1.1rem;
    font-weight: 500;
    margin-bottom: 0.5rem;
    display: flex;
    align-items: center;
}
.hero-benefits img {
    margin-right: 10px;
}
.hero-form-card {
    background-color: #ffffff;
    border: none;
    border-radius: 0.75rem;
    color: #333;
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
}
.hero-form-card .btn-warning {
    background-color: #ffc107;
    border-color: #ffc107;
    color: #000;
}
.pain-points-list .list-group-item {
    font-size: 1.2rem;
    font-weight: 500;
    border: none;
    padding: 1rem;
    display: flex;
    align-items: center;
    border-bottom: 1px solid #e2e8f0;
    transition: background-color 0.2s ease-in-out;
}
.pain-points-list .list-group-item:hover {
    background-color: #f8f9fa;
}
.pain-points-list .list-group-item:last-child {
    border-bottom: none;
}
.pain-points-list .pain-number {
    display: inline-block;
    background-color: #ffc107;
    color: #000;
    font-weight: bold;
    border-radius: 50%;
    width: 40px;
    height: 40px;
    line-height: 40px;
    text-align: center;
    margin-right: 15px;
    flex-shrink: 0;
}

/* EFEITO DE ENTRADA PARA OS BENEFÍCIOS (CORRIGIDO) */
.feature-card {
    border: none;
    border-radius: 0.75rem;
    background-color: #ffffff;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    opacity: 0;
    transform: translateY(20px);
}
.feature-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 15px 30px rgba(0,0,0,0.1);
}
.fade-in-section.is-visible .feature-card {
    opacity: 1;
    transform: translateY(0);
}
.fade-in-section.is-visible .col-md-6:nth-child(1) .feature-card, 
.fade-in-section.is-visible .col-lg-4:nth-child(1) .feature-card { transition-delay: 0.1s; }
.fade-in-section.is-visible .col-md-6:nth-child(2) .feature-card,
.fade-in-section.is-visible .col-lg-4:nth-child(2) .feature-card { transition-delay: 0.2s; }
.fade-in-section.is-visible .col-md-6:nth-child(3) .feature-card,
.fade-in-section.is-visible .col-lg-4:nth-child(3) .feature-card { transition-delay: 0.3s; }
.fade-in-section.is-visible .col-md-6:nth-child(4) .feature-card { transition-delay: 0.4s; }
.fade-in-section.is-visible .col-md-6:nth-child(5) .feature-card { transition-delay: 0.5s; }
.fade-in-section.is-visible .col-md-6:nth-child(6) .feature-card { transition-delay: 0.6s; }

.testimonial-card {
    border-left: 5px solid #0d6efd;
    background-color: #ffffff;
    padding: 1rem;
    box-shadow: 0 4px 15px rgba(0,0,0,0.07);
}
/* --- ESTILOS DO BOTÃO FLUTUANTE DO WHATSAPP --- */
.whatsapp-float {
    position: fixed;
    width: 60px;
    height: 60px;
    bottom: 40px;
    right: 40px;
    background-color: #25D366; /* Cor oficial do WhatsApp */
    color: #FFF;
    border-radius: 50px;
    text-align: center;
    font-size: 30px;
    box-shadow: 2px 2px 10px rgba(0,0,0,0.2);
    z-index: 1000;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: transform 0.3s ease-in-out;
}

.whatsapp-float:hover {
    transform: scale(1.1);
    color: #FFF;
}
/* --- ESTILOS DA LANDING PAGE DE CONTABILIDADE --- */
.hero-contabil {
    position: relative;
    padding: 6rem 0;
    background-color: #001f3f; /* Cor de fallback */
    background-image: url('https://images.unsplash.com/photo-1554224155-1696413565d3?q=80&w=2070&auto=format&fit=crop');
    background-repeat: no-repeat;
    background-position: center center;
    background-size: cover;
    color: white;
}
.hero-contabil::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    /* Overlay escuro para garantir o contraste */
    background: linear-gradient(90deg, rgba(0, 20, 40, 0.98) 0%, rgba(0, 50, 100, 0.8) 100%);
}
.hero-contabil .container {
    position: relative;
    z-index: 1;
}
.hero-contabil h1, .hero-contabil .lead {
    text-shadow: 1px 1px 5px rgba(0, 0, 0, 0.5);
}
.pain-point-card {
    border: 1px solid #dee2e6;
    border-radius: 0.5rem;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}
.pain-point-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 20px rgba(0,0,0,0.08);
}

/* --- ESTILOS DA SECÇÃO CTA (CHAMADA PARA AÇÃO) --- */
.cta-section {
    background-color: #212529;
    background-image: linear-gradient(45deg, rgba(13, 110, 253, 0.1), rgba(13, 202, 240, 0.1));
    color: #ffffff;
}
.cta-section h2 {
    color: #ffffff;
    text-shadow: 1px 1px 3px rgba(0,0,0,0.2);
}
.cta-section .lead {
    color: rgba(255, 255, 255, 0.85);
}
.cta-section .btn-light:hover {
    background-color: #f8f9fa;
    color: #0d6efd;
    transform: translateY(-3px);
    box-shadow: 0 8px 15px rgba(255, 255, 255, 0.1);
}
/* --- ESTILOS PARA A LANDING PAGE DE ACESSO FACIAL --- */

.hero-facial {
    background-color: #212529;
    position: relative;
    padding: 6rem 0;
    /* Substitua pela imagem do seu anúncio, depois de a enviar para assets/uploads/ */
    background: url('https://bichlersolucoes.com.br/assets/uploads/reconhecimento%20facial1.jpeg') no-repeat center center;
    background-size: cover;
    color: white;
}

.hero-facial::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, rgba(0, 31, 63, 0.95) 0%, rgba(0, 74, 153, 0.7) 100%);
}

.hero-facial .container {
    position: relative;
    z-index: 1;
    background: linear-gradient(90deg, rgba(0, 31, 63, 0.95) 0%, rgba(0, 74, 153, 0.7) 100%);
}

<style>
/* Hero Perímetro */
.hero-perimetro {
    background: linear-gradient(rgba(0,0,0,0.6), rgba(0,0,0,0.7)), url('https://bichlersolucoes.com.br/assets/uploads/camera-perimetro.png') center/cover no-repeat;
    padding: 100px 0;
    color: white;
}
.hero-benefits li {
    display: flex;
    align-items: center;
    margin-bottom: 12px;
    font-size: 1.1rem;
}
.hero-benefits img {
    margin-right: 10px;
}
.hero-form-card {
    background: white;
    border-radius: 12px;
}

/* Cards de Benefício */
.feature-card {
    transition: transform 0.3s;
}
.feature-card:hover {
    transform: translateY(-5px);
}

/* CTA Final */
.cta-section {
    background: linear-gradient(135deg, #007bff, #0056b3);
    padding: 80px 0;
}

/* Animação Fade In */
.fade-in-section {
    opacity: 0;
    transform: translateY(20px);
    transition: all 0.6s ease-out;
}
.fade-in-section.visible {
    opacity: 1;
    transform: translateY(0);
}

/* Scroll suave para formulário */
html {
    scroll-behavior: smooth;
}
.html {
    scroll-behavior: smooth;
}
.progress-container {
    position: fixed;
    top: 0; left: 0; right: 0;
    height: 5px;
    background: #f1f1f1;
    z-index: 1001;
}
.progress-bar {
    height: 100%;
    background: linear-gradient(90deg, #007bff, #00c6ff);
    width: 0%;
    transition: 0.3s;
}
.hero-perimetro {
    background: linear-gradient(-45deg, #007bff, #00c6ff, #6610f2, #ff6b6b);
    background-size: 400% 400%;
    animation: gradientShift 8s ease infinite;
    position: relative;
    overflow: hidden;
    padding: 120px 0;
}
@keyframes gradientShift {
    0% { background-position: 0% 50%; }
    50% { background-position: 100% 50%; }
    100% { background-position: 0% 50%; }
}

/* Partículas flutuantes */
.particle {
    position: absolute;
    background: rgba(255,255,255,0.3);
    border-radius: 50%;
    pointer-events: none;
    animation: float 6s infinite ease-in-out;
}
@keyframes float {
    0%, 100% { transform: translateY(0) rotate(0deg); opacity: 0.5; }
    50% { transform: translateY(-20px) rotate(10deg); opacity: 1; }
}
.feature-card {
    transition: all 0.4s ease;
    background: linear-gradient(135deg, #f8f9fa, #e9ecef);
    border: none;
    border-radius: 16px;
    overflow: hidden;
    position: relative;
}
.feature-card:hover {
    transform: translateY(-12px) rotate(1deg);
    box-shadow: 0 20px 40px rgba(0,123,255,0.2) !important;
}
.feature-card i {
    background: linear-gradient(45deg, #007bff, #00c6ff);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    font-size: 3rem;
}
.feature-card::before {
    content: '';
    position: absolute;
    top: 0; left: 0; right: 0; bottom: 0;
    background: linear-gradient(45deg, transparent, rgba(0,123,255,0.05));
    opacity: 0;
    transition: 0.4s;
}
.feature-card:hover::before { opacity: 1; }
.btn-gradient {
    background: linear-gradient(-45deg, #ff6b6b, #ff8e53, #007bff, #00c6ff);
    background-size: 300% 300%;
    animation: pulseGradient 3s ease infinite;
    color: white !important;
    border: none;
    padding: 14px 32px;
    border-radius: 50px;
    font-weight: bold;
    text-transform: uppercase;
    letter-spacing: 1px;
    position: relative;
    overflow: hidden;
    box-shadow: 0 8px 20px rgba(255,107,107,0.3);
}
.btn-gradient:hover {
    transform: scale(1.05);
    box-shadow: 0 12px 30px rgba(255,107,107,0.5);
}
@keyframes pulseGradient {
    0% { background-position: 0% 50%; }
    50% { background-position: 100% 50%; }
    100% { background-position: 0% 50%; }
}
.testimonial-card {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    border-radius: 20px;
    padding: 30px;
    margin: 10px;
    min-height: 200px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    transition: 0.4s;
}
.testimonial-card:hover {
    transform: scale(1.05);
}
.whatsapp-float {
    position: fixed;
    width: 60px;
    height: 60px;
    bottom: 20px;
    right: 20px;
    background: #25d366;
    color: white;
    border-radius: 50%;
    text-align: center;
    font-size: 30px;
    box-shadow: 0 4px 15px rgba(37,211,102,0.4);
    z-index: 1000;
    display: flex;
    align-items: center;
    justify-content: center;
    animation: pulse 2s infinite;
    transition: 0.3s;
}
.whatsapp-float:hover {
    transform: scale(1.1);
    background: #128c7e;
}
@keyframes pulse {
    0% { box-shadow: 0 0 0 0 rgba(37,211,102,0.7); }
    70% { box-shadow: 0 0 0 15px rgba(37,211,102,0); }
    100% { box-shadow: 0 0 0 0 rgba(37,211,102,0); }
}
.reveal {
    opacity: 0;
    transform: translateY(50px);
    transition: all 0.8s ease;
}
.reveal.active {
    opacity: 1;
    transform: translateY(0);
}
.benefit-card {
    background: white;
    transition: all 0.4s ease;
    border: 1px solid #e0e0e0;
}
.benefit-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 40px rgba(0,0,0,0.1) !important;
    border-color: transparent;
}
.benefit-card:hover .benefit-badge {
    transform: scale(1.1);
}
.benefit-icon img {
    transition: 0.4s;
    filter: drop-shadow(0 4px 8px rgba(0,0,0,0.1));
}
.benefit-card:hover .benefit-icon img {
    transform: scale(1.15) rotate(5deg);
}
.benefit-badge {
    position: absolute;
    top: 12px;
    right: -10px;
    background: linear-gradient(45deg, #ff6b6b, #ff8e53);
    color: white;
    font-size: 0.7rem;
    font-weight: bold;
    padding: 4px 12px;
    border-radius: 20px;
    transform: rotate(12deg);
    transition: 0.4s;
    box-shadow: 0 2px 8px rgba(255,107,107,0.3);
}
.spec-card {
    background: linear-gradient(145deg, #ffffff, #f8f9fa);
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    border: 1px solid #e0e0e0;
}
.spec-card:hover {
    transform: translateY(-12px) scale(1.02);
    box-shadow: 0 25px 50px rgba(0,0,0,0.12) !important;
    border-color: transparent;
    z-index: 10;
}
.spec-icon img {
    transition: 0.5s ease;
    filter: drop-shadow(0 6px 12px rgba(0,0,0,0.15));
}
.spec-card:hover .spec-icon img {
    transform: scale(1.2) rotate(8deg);
}
.spec-badge {
    position: absolute;
    top: 10px;
    right: -8px;
    background: linear-gradient(45deg, #667eea, #764ba2);
    color: white;
    font-size: 0.65rem;
    font-weight: bold;
    padding: 3px 10px;
    border-radius: 15px;
    transform: rotate(15deg);
    transition: 0.4s;
    box-shadow: 0 3px 10px rgba(102,126,234,0.4);
}
.spec-card:hover .spec-badge {
    transform: rotate(15deg) scale(1.15);
    background: linear-gradient(45deg, #ff6b6b, #ff8e53);
}

/* Cores personalizadas */
.text-purple { color: #6f42c1; }
.text-teal { color: #20c997; }
.text-orange { color: #fd7e14; }
.spec-comparative {
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
}
.spec-comparative thead th {
    background: linear-gradient(135deg, #007bff, #0056b3);
    color: white;
    font-size: 1.1rem;
}
.common-col { background: #f8d7da; color: #721c24; } /* Rosa claro para comum */
.vip-col { background: #d4edda; color: #155724; position: relative; } /* Verde claro para VIP */
.winner-badge {
    position: absolute;
    top: 10px; right: 10px;
    background: linear-gradient(45deg, #ffc107, #fd7e14);
    color: white;
    font-size: 0.75rem;
    font-weight: bold;
    padding: 4px 12px;
    border-radius: 20px;
    transform: rotate(5deg);
    box-shadow: 0 2px 8px rgba(255,193,7,0.4);
}
.spec-comparative tbody tr {
    transition: all 0.3s ease;
}
.spec-comparative tbody tr:hover {
    background: #e9ecef !important;
    transform: scale(1.01);
}
.spec-comparative tbody tr.table-secondary:hover {
    background: #f8f9fa !important;
}
.progress {
    height: 25px;
    border-radius: 12px;
    background: #e9ecef;
}
.progress-bar {
    font-weight: bold;
    line-height: 25px;
}

/* Efeito de Hover nos Cards do Blog */
.hover-card {
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.hover-card:hover {
    transform: translateY(-5px); /* Levanta o card 5px */
    box-shadow: 0 .5rem 1rem rgba(0,0,0,.15)!important; /* Aumenta a sombra */
}

/* Imagem do Card Hero */
.object-fit-cover {
    object-fit: cover;
}

/* Links esticados (clica no card todo) */
.stretched-link::after {
    position: absolute;
    top: 0;
    right: 0;
    bottom: 0;
    left: 0;
    z-index: 1;
    content: "";
}

/* Paginação Bonita */
.pagination .page-link {
    border: none;
    color: #333;
    margin: 0 5px;
    border-radius: 5px;
}

.pagination .page-item.active .page-link {
    background-color: #0d6efd;
    color: white;
    font-weight: bold;
}
</style>
