/* 1. Reset e Estilos de Base */
body { font-family: 'Open Sans', sans-serif; color: #444444; padding-top: 60px; }
h1, h2, h3, h4 { font-family: 'Poppins', sans-serif; font-weight: 700; }
.text-purple { color: #a04ffb !important; }
.section-header { padding-bottom: 40px; }
.section-header h2 { font-size: 32px; font-weight: bold; color: #012970; position: relative; }

/* 2. Header e Navegação */
.header { height: 60px; }
.header .logo img { max-height: 50px; } 
.header .btn-login {
    padding: 8px 20px; border-radius: 4px; font-size: 14px;
    /*background: #a04ffb; */
    background: linear-gradient(90deg, #a04ffb, #69bcff);
    color: #fff; text-decoration: none; transition: 0.3s;
}
.header .btn-login:hover { background: #69bcff; }
.navbar ul li a { color: #444; font-weight: 600; text-decoration: none; padding: 0 15px; }

/* Menu Mobile */
.navbar-toggler { border: none; font-size: 24px; color: #a04ffb; }
.navbar-toggler:focus { box-shadow: none; }
#navbarNav { position: absolute; top: 60px; right: 0; background: #fff; width: 250px; z-index: 999; border: 1px solid #eee; box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1); }
#navbarNav .nav-link { padding: 8px 15px; }
#navbarNav .btn-login { display: block; width: 90%; margin: 0 auto; }

/* 3. Hero Section e CTAs */
.hero h1 { font-size: 40px; }
.hero .features-highlight span { font-size: 15px; color: #6c757d; }
.btn-main-cta {
    background: #a04ffb; color: #fff; padding: 12px 30px; border-radius: 50px;
    font-weight: 600; text-decoration: none; border: none; transition: 0.3s;
}
.btn-main-cta:hover { background: #8833e0; }
.btn-secondary-cta { color: #a04ffb; padding: 12px 30px; text-decoration: none; font-weight: 600; border: 2px solid #a04ffb; border-radius: 50px; transition: 0.3s; }
.btn-secondary-cta:hover { background: #a04ffb; color: #fff; }
.btn-learn-more { color: #a04ffb; text-decoration: none; font-weight: 600; }
.btn-learn-more i { transition: margin-left 0.3s; }
.btn-learn-more:hover i { margin-left: 5px; }

.hero-badge {
    background: white;
    padding: 0.6rem 1.2rem;
    border-radius: 50px;
    font-size: 0.9rem;
    font-weight: 600;
    color: var(--dark);
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.08);
    align-items: center;
}

/* 4. Segment Links */
.segment-links-container a {
    color: #a04ffb;
    padding: 5px 15px;
    margin: 5px;
    border: 1px solid #a04ffb;
    border-radius: 20px;
    text-decoration: none;
    display: inline-block;
    font-size: 14px;
    transition: 0.3s;
}
.segment-links-container a:hover,
.segment-links-container a.active {
    background-color: #a04ffb;
    color: #fff;
}

/* 5. Feature Boxes e Ícones (Design Roxo) */
.feature-box {
    background: #fff; border-radius: 10px; padding: 30px; height: 100%;
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.05); border: 1px solid #eee; transition: 0.3s;
}
.feature-box i {
    color: #a04ffb; 
    background-color: #a04ffb1a; 
    padding: 15px;
    border-radius: 8px;
    margin-bottom: 15px;
}

/* 6. Destaque de Segmentos (#segments-details) */
.segment-detail-box {
    background: linear-gradient(135deg, #a04ffb, #c19cff); /* Gradiente Roxo */
    padding: 30px;
    border-radius: 15px;
    height: 100%;
    color: #fff;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.1);
}
.segment-detail-box h4 { font-weight: 600; margin-bottom: 15px; color: #fff; }
.segment-detail-box i { color: #fff; background: none; margin-right: 10px; }
.segment-detail-box ul li { margin-bottom: 5px; }

/* 7. Steps to Start (3 Etapas) */
.step-item { text-align: center; padding: 20px; }
.step-item .step-number {
    width: 50px; height: 50px; line-height: 50px; font-size: 20px;
    background-color: #a04ffb; color: #fff; border-radius: 50%;
    display: inline-block; margin-bottom: 15px;
}
.step-item h4 { font-size: 18px; font-weight: 600; }

/* 8. Planos */
.plan-item {
    padding: 40px; border-radius: 10px; box-shadow: 0 0 15px rgba(0, 0, 0, 0.05);
    background: #fff; text-align: center; border: 1px solid #eee; transition: 0.3s;
}
.plan-item.featured { border: 2px solid #a04ffb; transform: scale(1.05); }
.plan-item h4 { font-size: 24px; font-weight: 600; margin-bottom: 10px; color: #012970; }
.plan-item .price { font-size: 36px; font-weight: bold; color: #a04ffb; margin-bottom: 20px; }
.plan-item ul { list-style: none; padding: 0; text-align: left; margin-bottom: 30px; }
.plan-item ul li { padding: 8px 0; font-size: 15px; }

/* 9. Clientes/Depoimentos (LAYOUT FIXO) */
.clients .client-item { 
    padding: 30px; background-color: #fff; border-radius: 8px; 
    box-shadow: 0 2px 15px rgba(0, 0, 0, 0.08); 
    min-height: 250px; /* Aumentado para melhor consistência */
    height: 100%; 
}
.clients .client-item img { width: 60px; height: 60px; border-radius: 50%; object-fit: cover; }

/* 10. Blog Posts (LAYOUT FIXO) */
.blog .post-item { 
    box-shadow: 0 0 30px rgba(1, 41, 112, 0.08); 
    overflow: hidden; 
    border-radius: 10px; 
    height: 100%;
}
.blog .post-item img { height: 200px; width: 100%; object-fit: cover; }
.blog .post-item h3 { font-size: 18px; padding: 15px; margin-bottom: 0; }
.blog .post-item h3 a { color: #012970; text-decoration: none; }
.blog .post-item h3 a:hover { color: #a04ffb; }

/* 11. Lead Capture */
.lead-capture .form-container {
    background: #fff;
    padding: 40px;
    border-radius: 15px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}
.lead-capture .form-control { border-radius: 5px; padding: 12px; }
.btn-submit-cta {
    background: #a04ffb; color: #fff; padding: 12px 30px; border-radius: 50px;
    font-weight: 600; border: none; transition: 0.3s; width: 100%; max-width: 300px;
}
.btn-submit-cta:hover { background: #8833e0; }

/* 12. FAQ */
.faq .accordion-item { border: 1px solid #eee; margin-bottom: 10px; border-radius: 8px; overflow: hidden; }
.faq .accordion-button { padding: 15px; font-weight: 600; color: #012970; background-color: #fff; }
.faq .faq-icon { color: #a04ffb; }

/* 13. Footer Styling */
.footer a { color: #ccc; text-decoration: none; }
.footer a:hover { color: #a04ffb; }
.footer .social-links a {
    font-size: 18px; display: inline-block; background: #283046; color: #fff; 
    line-height: 1; padding: 8px 0; margin-right: 4px; border-radius: 50%; 
    text-align: center; width: 36px; height: 36px; transition: 0.3s;
}
.footer .social-links a:hover { background: #a04ffb; color: #fff; }

/* 14. Botão WhatsApp */
.whatsapp-float {
    position: fixed; width: 60px; height: 60px; bottom: 20px; right: 20px;
    background-color: #25d366; color: #FFF; border-radius: 50px;
    text-align: center; font-size: 30px; box-shadow: 0 4px 10px rgba(0, 0, 0, 0.3);
    z-index: 100; display: flex; align-items: center; justify-content: center;
    text-decoration: none !important; /* Remove underline */
}

/* Responsividade Básica */
@media (max-width: 991px) {
    .header .btn-login { display: none; }
    .navbar { padding: 0; }
    .hero h1 { font-size: 32px; text-align: center; }
    .hero p { text-align: center; }
    .hero .features-highlight { justify-content: center !important; }
    .clients .client-item { min-height: 200px; }
    .blog .post-item img { height: 180px; }
    .feature-item .col-lg-6 { margin-bottom: 30px; }
}

/* 2. Header e Navegação */
.header { height: 60px; }
.header .logo img { max-height: 50px; } 
.header .btn-login {
    padding: 8px 20px; border-radius: 4px; font-size: 14px;
    background: #a04ffb; color: #fff; text-decoration: none; transition: 0.3s;
}
.header .btn-login:hover { background: #69bcff; }

/* ESTILO DOS LINKS DA NAV BAR (AJUSTADO) */
.navbar ul li a { 
    color: #444; 
    font-weight: 600; 
    text-decoration: none; 
    padding: 0 15px; 
    /* Adicionando padding na vertical e posição relativa para o efeito */
    padding: 5px 15px;
    position: relative;
    transition: color 0.3s;
}

/* Efeito de Sublinhado Roxo ao Passar o Mouse */
.navbar ul li a:hover,
.navbar ul li a.active {
    color: #a04ffb;
}

.navbar ul li a::after {
    content: '';
    position: absolute;
    width: 0%;
    height: 2px;
    background: #a04ffb;
    bottom: 0px;
    left: 15px;
    transition: width 0.3s;
}

.navbar ul li a:hover::after,
.navbar ul li a.active::after {
    /* O width de 70% foi escolhido para o sublinhado não ir de ponta a ponta do link */
    width: calc(100% - 30px); 
}
/* FIM DO BLOCO DE AJUSTE DO HEADER */


/* Menu Mobile - Mantenha este bloco inalterado */
.navbar-toggler { border: none; font-size: 24px; color: #a04ffb; }
.navbar-toggler:focus { box-shadow: none; }
#navbarNav { position: absolute; top: 60px; right: 0; background: #fff; width: 250px; z-index: 999; border: 1px solid #eee; box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1); }
#navbarNav .nav-link { padding: 8px 15px; }
#navbarNav .btn-login { display: block; width: 90%; margin: 0 auto; }

/* Menu Mobile (CORRIGIDO PARA FICAR FIXO E ABRIR LOGO ABAIXO DO HEADER) */
.navbar-toggler { border: none; font-size: 24px; color: #a04ffb; }
.navbar-toggler:focus { box-shadow: none; }

/* REGRAS CRUCIAIS PARA CORREÇÃO: position: fixed e top: 60px; */
#navbarNav { 
    position: fixed; /* MUDANÇA: Fica fixo na viewport (tela) */
    top: 60px; /* Abre logo abaixo do header fixo (que tem 60px) */
    right: 0; 
    background: #fff; 
    width: 250px; 
    max-height: calc(100vh - 60px); /* Limita o tamanho para caber na tela */
    overflow-y: auto; /* Adiciona rolagem se o conteúdo for muito longo */
    z-index: 1020; /* Garante que fique acima do conteúdo e do header (que é 1000 ou 1010) */
    border: 1px solid #eee; 
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1); 
}
#navbarNav .nav-link { padding: 8px 15px; }
#navbarNav .btn-login { display: block; width: 90%; margin: 0 auto; }


/* EFEITO DE HOVER SUAVE E MOVIMENTO PARA CARTÕES (NOVO AJUSTE) */

/* 1. Transição: Define a duração da animação para todos os cartões */
.feature-box, .plan-item, .client-item, .post-item {
    /* Garante que qualquer mudança de escala/sombra seja suave */
    transition: all 0.3s ease-in-out; 
    /* Garante que os itens permaneçam na camada correta durante a animação */
    transform-style: preserve-3d;
}

/* 2. Efeito ao passar o mouse: Aumenta em 2% e melhora a sombra */
.feature-box:hover, .plan-item:hover, .client-item:hover, .post-item:hover {
    /* Aumenta o tamanho do cartão em 2% */
    transform: scale(1.02); 
    /* Aprofunda a sombra para dar mais destaque */
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.15); 
}

/* Exceção: O item destacado do Plano (featured) precisa ser mais forte */
.plan-item.featured:hover {
    transform: scale(1.07); /* Aumenta um pouco mais o item destacado */
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.2); 
}

/* EFEITO DE HOVER SUAVE E MOVIMENTO PARA CARTÕES (FINAL) */

/* 1. Transição: Define a duração da animação para todos os cartões */
.feature-box, .plan-item, .client-item, .post-item, .segment-detail-box {
    /* Garante que qualquer mudança de escala/sombra seja suave */
    transition: all 0.3s ease-in-out; 
    /* Garante que os itens permaneçam na camada correta durante a animação */
    transform-style: preserve-3d;
}

/* 2. Efeito ao passar o mouse: Aumenta em 2% e melhora a sombra */
.feature-box:hover, .plan-item:hover, .client-item:hover, .post-item:hover, .segment-detail-box:hover {
    /* Aumenta o tamanho do cartão em 2% */
    transform: scale(1.02); 
    /* Aprofunda a sombra para dar mais destaque */
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.15); 
}

/* Exceção: O item destacado do Plano (featured) precisa ser mais forte */
.plan-item.featured:hover {
    transform: scale(1.07); /* Aumenta um pouco mais o item destacado */
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.2); 
}

/* ESTILO BASE para o item de passo (Garanta que a transição esteja aqui) */
.steps .step-item {
    padding: 30px;
    /* Borda inicial levemente visível */
    border: 1px solid #e0e0e0; 
    border-radius: 8px;
    /* Fundo inicial branco */
    background-color: #fff;
    text-align: center;
    /* SOMBRA LEVE: Adicione uma sombra sutil para destacar */
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.04);
    /* Transição suave para o hover */
    transition: all 0.3s ease-in-out; 
}

/* EFEITO AO PASSAR O MOUSE (HOVER) */
.steps .step-item:hover {
    /* Escurece levemente o background para um cinza muito claro (foco no que pediu) */
    background-color: #f7f9ff; 
    
    /* Borda Roxo Principal para destaque */
    border-color: #a04ffb; 
    
    /* Aumenta um pouco a sombra para aprofundar */
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.1);
}

/* Estilo do número (step-number) - OPCIONAL, se não existir */
.steps .step-number {
    display: inline-block;
    font-size: 28px;
    font-weight: 700;
    color: #a04ffb;
    margin-bottom: 15px;
}

/* Estilos para a seção de FAQ (Accordion) */
.faq .accordion-item {
    border: none; /* Remove a borda padrão do item */
    margin-bottom: 10px; /* Adiciona espaçamento entre os itens */
    border-radius: 8px; /* Borda levemente arredondada */
    transition: transform 0.3s ease-in-out, box-shadow 0.3s ease-in-out; /* Prepara para a animação */
}

/* 1. Efeito de Hover (movimento) */
.faq .accordion-item:hover {
    transform: translateY(-3px); /* Levanta o card em 3 pixels */
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.08); /* Adiciona uma sombra suave para dar profundidade */
}

/* 2. Remoção da borda/outline azul padrão (IMPORTANTE!) */
.faq .accordion-button:focus {
    box-shadow: none !important; /* Remove a sombra do foco ao clicar/selecionar */
    outline: 0; /* Remove a linha de contorno azul */
    border-color: transparent !important; /* Garante que não haja borda de cor */
}

/* Opcional: Efeito visual ao abrir/fechar */
.faq .accordion-button:not(.collapsed) {
    color: #A04FFB; /* Cor do texto quando o FAQ está aberto (cor roxa da Toggy) */
    background-color: #f7f9ff; /* Fundo levemente cinza quando aberto */
    border-bottom: 1px solid #A04FFB; /* Adiciona uma linha de destaque sutil */
}

.plan-item .old-price {
    font-size: 0.9rem;
    margin-bottom: -8px;
    color: #999;
}
.plan-item .price {
    font-size: 2rem;
    font-weight: 700;
    color: #3c2fd1; /* roxinho moderno */
}

.plan-item ul li {
    margin-bottom: -5px; /* ou o valor que achar ideal */
    font-size: 0.8rem;
    font-family: 'Poppins', sans-serif; 
}

.btn-gradient {
    background: linear-gradient(90deg, #a04ffb, #69bcff);
    border: none;
    color: #fff !important;
    font-weight: 600;
    border-radius: 50px;
    padding: 10px 25px;
    transition: 0.3s ease;
    box-shadow: 0 4px 15px rgba(160, 79, 251, 0.4);
}