/* Importação de Fontes e Cores */
:root {
    --primary-color: rgb(33, 63, 163);
    --primary-dark: rgb(33, 63, 163);
    --text-color: #333;
    --text-light: #555;
    --bg-light: #f4f7f9;
    --white: #fff;
    --shadow: 0 4px 10px rgba(0, 0, 0, 0.05);
    --yellow-accent: #ffcc00;
    
    /* Nova variável de fonte */
    --font-main: 'Roboto', sans-serif;
}

* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

body {
    
    color: var(--text-color);
    background-color: var(--white);
    line-height: 1.6;
    scroll-behavior: smooth;
    overflow-x: hidden;
    font-family: var(--font-main);
    -webkit-font-smoothing: antialiased;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: px;
}

/* --- Componentes e Botões --- */
.btn {
    display: inline-block;
    background-color: var(--primary-color);
    color: var(--white);
    padding: 12px 25px;
    text-decoration: none;
    border-radius: 5px;
    font-weight: 600;
    transition: background-color 0.3s, transform 0.3s;
    border: none;
    cursor: pointer;

    /* Essencial para o gradiente obedecer ao border-radius */
    position: relative;
    overflow: hidden;
    z-index: 1;
}

.btn::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    /* Ajuste a opacidade (0.5) para mais ou menos preto */
    background: linear-gradient(to bottom, rgba(0, 0, 0, 0.5), transparent);
    z-index: -1;
    transition: opacity 0.3s; /* Opcional: para suavizar o efeito */
    pointer-events: none;
}

/* Mantém o efeito de hover funcionando por baixo ou por cima */
.btn:hover {
    background-color: var(--primary-color-dark); /* Ou sua cor de hover */
    transform: translateY(-2px);
}
.btn:hover {
    background-color: var(--primary-dark);
    transform: translateY(-2px);
}

.btn.small {
    padding: 8px 16px;
    font-size: 0.9rem;
}

.whatsapp-btn {
    background-color: #25d366;
    margin-left: 1rem;
}

.whatsapp-btn:hover {
    background-color: #128c7e;
}

h2 {
    font-family: 'Montserrat', sans-serif;
    font-weight: 700;
    font-size: 2.5rem;
    margin-bottom: 3rem;
    text-align: center;
    color: var(--primary-dark);
}

/* --- Header --- */
.header {
    background-color: var(--white);
    padding: 3px 0;
    position: fixed;
    width: 100%;
    box-shadow: var(--shadow);
    z-index: 1000;
}

.header .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo-link {
    display: flex;
    align-items: center;
    text-decoration: none;
    transition: opacity 0.3s ease; /* Efeito suave no hover */
}

.logo-link:hover {
    opacity: 0.8; /* Efeito visual ao passar o mouse */
}

.logo-img {
    /* Define a largura máxima que a logo pode ter no desktop */
    max-width: 193px; /* Altere este valor para o tamanho desejado da logo na tela (ex: 120px, 180px) */
    
    /* Garante que a altura se ajuste proporcionalmente, mantendo o aspecto da imagem de 500x500 */
    height: auto; 
    
    /* Garante que a imagem nunca fique maior que 100% do seu container pai */
    display: block;
}

@media screen and (max-width: 768px) {
    .logo-img {
        max-width: 172px; /* Reduz um pouco o tamanho da logo em celulares */
    }
}

.nav-links {
    list-style: none;
    display: flex;
}

.nav-links li {
    margin-left: 2rem;
}

.nav-links a {
    text-decoration: none;
    color: var(--text-color);
    font-weight: 600;
    transition: color 0.3s;
}

.nav-links a:hover {
    color: var(--primary-color);
}

.hamburger {
    display: none;
    cursor: pointer;
}

.hamburger .line {
    width: 25px;
    height: 3px;
    background-color: var(--text-color);
    margin: 5px;
    transition: all 0.3s ease;
}

/* --- Seções --- */
section {
    padding: 6rem 0;
}

.hero {
    height: 100vh;
    display: flex;
    justify-content: center;
    align-items: center;
    text-align: center;
    background-image: url('IMAGENS/home setor/unnamed.jpg');
    background-size: cover;
    background-position: center;
    color: var(--white);
    position: relative;
}

.hero::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.6);
}

.hero .container {
    z-index: 1;
}

.hero h1 {
    font-family: 'Montserrat', sans-serif;
    font-size: 3.5rem;
    color: var(--white);
    margin-bottom: 1.5rem;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
}

.hero p {
    font-size: 1.25rem;
    color: #e9ecef;
    margin-bottom: 2.5rem;
}

.services-home {
    background-color: var(--white);
}

.service-cards {
    display: flex;
    justify-content: center;
    gap: 2rem;
    flex-wrap: wrap;
}

/* Remove o degradê que estava no card (se você já tiver adicionado o ::before anterior, apague-o) */
.service-cards a.card::before {
    display: none; 
}

/* Estilo base do Card limpo */
.service-cards a.card {
    text-decoration: none;
    color: inherit;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 2.5rem 1.5rem;
    background-color: #fff; 
    border-radius: 12px;
    text-align: center;
    position: relative;
    z-index: 1;
}

/* Estilo do Botão COM o degradê preto por cima */
.btn-sm {
    display: inline-block;
    padding: 10px 25px;
    background-color: var(--primary-color);
    color: #ffffff !important;
    border-radius: 5px;
    font-weight: 600;
    font-size: 0.9rem;
    border: none;
    cursor: pointer;
    
    /* Configuração para o degradê interno */
    position: relative;
    overflow: hidden;
    z-index: 1;
    transition: all 0.3s ease;
}

/* O degradê preto apenas no botão */
.btn-sm::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    /* Gradiente preto suave no topo */
    background: linear-gradient(to bottom, rgba(0, 0, 0, 0.4) 0%, rgba(0, 0, 0, 0) 100%);
    z-index: -1;
    pointer-events: none;
}

/* Efeito de hover no card que destaca o botão */
.service-cards a.card:hover {
    transform: translateY(-8px);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.1);
}

.service-cards a.card:hover .btn-sm {
    transform: scale(1.05);
    background-color: rgb(0, 255, 180); /* Opcional: escurecer a cor base no hover */
}

/* Efeito de destaque no botão quando o card recebe hover */
.card:hover .btn-sm {
    background-color: rgb(0, 255, 180); /* O botão muda de cor para mostrar que é clicável */
    transform: scale(1.05);
}



.card {
    background-color: var(--bg-light);
    padding: 2.5rem 2rem;
    border-radius: 8px;
    box-shadow: var(--shadow);
    width: 280px;
    text-align: center;
    transition: transform 0.3s, box-shadow 0.3s;
}

.card:hover {
    transform: translateY(-10px);
    box-shadow: 0 8px 12px rgba(0, 0, 0, 0.1);
}

.card img {
    margin-bottom: 1.5rem;
    height: 60px;
    width: 60px;
}

/* Estado Normal: O título já nasce verde */
.card h3 {
    color: var(--primary-color); 
    margin: 1.5rem 0;
    font-size: 1.3rem;
    font-weight: 700;
    transition: color 0.3s ease; /* Cria o efeito suave de mudança */
    z-index: 2;
    position: relative;
}

/* Estado Hover: Quando passa o mouse no CARD, o título muda */
.service-cards a.card:hover h3 {
    color: rgb(0, 255, 180); /* Aqui você escolhe a cor da mudança (coloquei branco para dar destaque) */
}

/* Ajuste no botão para acompanhar a identidade */
.btn-sm {
    background-color: var(--primary-color);
    color: #ffffff !important;
    padding: 10px 25px;
    border-radius: 5px;
    font-weight: 600;
    position: relative;
    overflow: hidden;
    z-index: 1;
}

/* Degradê preto interno no botão (como você pediu antes) */
.btn-sm::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(to bottom, rgba(0, 0, 0, 0.4) 0%, rgba(0, 0, 0, 0) 100%);
    z-index: -1;
}

/* --- Carrossel de Parceiros --- */
.partners {
    background-color: var(--bg-light);
    text-align: center;
    overflow: hidden;
}

.carousel-wrapper {
    position: relative;
    max-width: 900px;
    margin: 0 auto;
}

.carousel-container {
    overflow: hidden;
}

.carousel-track {
    display: flex;
    gap: 3rem;
    padding: 1rem 0;
    /* transition: transform 0.5s ease-in-out; */
    /* Removido para controle via JS */
}

.carousel-track img {
    height: 80px;
    min-width: 150px;
    opacity: 0.8;
    transition: opacity 0.3s;
}

.carousel-track img:hover {
    opacity: 1;
}

/* Transição suave adicionada para o loop do carrossel */
.carousel-track.smooth-transition {
    transition: transform 0.5s ease-in-out;
}

.carousel-btn {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background-color: rgba(255, 255, 255, 0.8);
    color: var(--primary-dark);
    border: none;
    padding: 0;
    width: 40px;
    height: 40px;
    font-size: 2rem;
    cursor: pointer;
    z-index: 100;
    /* Garante que a seta fique acima do carrossel */
    border-radius: 50%;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.2);
    transition: background-color 0.3s, box-shadow 0.3s;
    display: flex;
    justify-content: center;
    align-items: center;
}

.carousel-btn:hover {
    background-color: rgba(255, 255, 255, 0.95);
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.3);
}

.prev {
    left: 1px;
}

.next {
    right: 1px;
}

/* --- Formulário de Contato --- */
.contact-form {
    background-color: var(--white);
}

.contact-form form {
    max-width: 600px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
    background-color: var(--bg-light);
    padding: 3rem;
    border-radius: 8px;
    box-shadow: var(--shadow);
}

.contact-form input,
.contact-form select,
.contact-form textarea {
    width: 100%;
    padding: 14px;
    border: 1px solid #ccc;
    border-radius: 5px;
    font-size: 1rem;
    font-family: 'Open Sans', sans-serif;
    transition: border-color 0.3s;
}

.contact-form input:focus,
.contact-form select:focus,
.contact-form textarea:focus {
    border-color: var(--primary-color);
    outline: none;
}

.contact-form textarea {
    height: 150px;
    resize: vertical;
}

.form-actions {
    display: flex;
    justify-content: flex-end;
    margin-top: 1rem;
}

/* --- Página de Serviços Completa --- */
.services-full-page {
    background-color: var(--white);
}

.services-full-page h2 {
    color: var(--primary-dark);
}

.services-full-page .intro-text {
    max-width: 800px;
    margin: 0 auto 4rem;
    text-align: center;
    color: var(--text-light);
    font-size: 1.1rem;
}

.service-list {
    display: flex;
    flex-direction: column;
    gap: 2.5rem;
}

.service-item {
    display: flex;
    align-items: center;
    gap: 2rem;
    background-color: var(--bg-light);
    padding: 2rem;
    border-radius: 8px;
    box-shadow: var(--shadow);
    transition: transform 0.3s;
}

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

.service-item img {
    height: 80px;
    min-width: 80px;
    border-radius: 5px;
}

.service-details {
    flex: 1;
}

.service-details h3 {
    font-family: 'Montserrat', sans-serif;
    color: var(--primary-dark);
    margin-bottom: 0.5rem;
}

.service-details p {
    color: var(--text-light);
    margin-bottom: 1rem;
}

/* --- Seção de Vantagens e Benefícios --- */
.benefits-section {
    padding: 4rem 0;
    background-color: var(--bg-light);
    text-align: center;
}

.benefits-grid {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 2rem;
    flex-wrap: wrap;
}

.benefit-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    max-width: 250px;
}

.benefit-item img {
    margin-bottom: 1rem;
    width: 60px;
    height: 60px;
}

.benefit-item h3 {
    font-family: 'Montserrat', sans-serif;
    font-size: 1.25rem;
    color: var(--text-color);
    line-height: 1.4;
}

.benefit-separator {
    position: relative;
    width: 2px;
    height: 120px;
    background-color: var(--primary-color);
    margin: 0 2rem;
}

.benefit-separator::before,
.benefit-separator::after {
    content: '';
    position: absolute;
    width: 10px;
    height: 10px;
    background-color: var(--primary-color);
    border-radius: 50%;
    left: 50%;
    transform: translateX(-50%);
}

.benefit-separator::before {
    top: -5px;
}

.benefit-separator::after {
    bottom: -5px;
}

/* --- Footer --- */
.footer {
  /* Mantém as propriedades originais */
  background-color: var(--primary-color);
  color: var(--bg-light);
  padding: 1rem 0 1rem;
  text-align: center;
  
  /* Adiciona posicionamento relativo para o gradiente funcionar */
  position: relative;
  z-index: 1;
}

/* Cria a sobreposição em degradê preto */
.footer::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  /* Gradiente do preto sólido (topo) para o transparente (base) */
  background: linear-gradient(to bottom, rgba(0, 0, 0, 0.8) 0%, rgba(0, 0, 0, 0) 100%);
  /* Garante que o gradiente fique atrás do texto */
  z-index: -1; 
  pointer-events: none; /* Garante que cliques passem através do gradiente */
}

.footer-content {
    display: flex;
    justify-content: space-around;
    flex-wrap: wrap;
    margin-bottom: 2rem;
}

.footer-section {
    text-align: left;
    margin: 1rem;
}

.footer-section h3 {
    margin-bottom: 1rem;
    font-family: 'Montserrat', sans-serif;
    color: rgb(0, 255, 180);
}

.footer-links {
    list-style: none;
}

.footer-links a {
    color: var(--bg-light);
    text-decoration: none;
    display: block;
    margin-bottom: 0.5rem;
    transition: color 0.3s;
}

.footer-links a:hover {
    color: var(--primary-color);
}

.copyright {
    border-top: 1px solid #555;
    padding-top: 1rem;
    font-size: 0.9rem;
}

/* Espaçamento dos ícones no contato */
.footer-section p i {
    margin-right: 10px;
    width: 20px; /* Garante que o texto fique alinhado mesmo com ícones de larguras diferentes */
    text-align: center;
}

/* Estilo para o bloco de Redes Sociais */
.social-links {
    display: flex;
    gap: 15px;
    margin-top: 10px;
}

.social-links a {
    background-color: rgba(255, 255, 255, 0.1); /* Um fundo leve para o ícone */
    color: var(--bg-light);
    width: 40px;
    height: 40px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    transition: all 0.3s ease;
    font-size: 1.2rem;
}

.social-links a:hover {
    background-color: var(--primary-color);
    color: var(--white);
    transform: translateY(-5px); /* Efeito de pular ao passar o mouse */
}

/* Garante que o link do e-mail no footer não fique azul padrão */
.footer-section a {
    color: inherit;
    text-decoration: none;
}

/* --- Ícone flutuante do WhatsApp --- */
.whatsapp-float {
    position: fixed;
    width: 60px;
    height: 60px;
    bottom: 40px;
    right: 40px;
    background-color: #25d366;
    color: #fff;
    border-radius: 50px;
    text-align: center;
    font-size: 30px;
    box-shadow: 2px 2px 3px #999;
    z-index: 1000;
    display: flex;
    justify-content: center;
    align-items: center;
    transition: transform 0.3s ease-in-out;
}

.whatsapp-float:hover {
    transform: scale(1.1);
}

.whatsapp-float img {
    width: 35px;
    height: 35px;
}

/* --- Responsividade --- */
@media (max-width: 768px) {
    .nav {
        position: fixed;
        right: 0;
        top: 6rem;
        background-color: var(--white);
        width: 100%;
        height: 100vh;
        transform: translateX(100%);
        transition: transform 0.5s ease-in;
    }

    .nav.nav-active {
        transform: translateX(0);
    }

    .nav-links {
        flex-direction: column;
        align-items: center;
        padding-top: 2rem;
    }

    .nav-links li {
        margin: 1.5rem 0;
    }

    .hamburger {
        display: block;
        z-index: 1001;
    }

    .hamburger.toggle .line:nth-child(1) {
        transform: rotate(-45deg) translate(-5px, 6px);
    }

    .hamburger.toggle .line:nth-child(2) {
        opacity: 0;
    }

    .hamburger.toggle .line:nth-child(3) {
        transform: rotate(45deg) translate(-5px, -6px);
    }

    h2 {
        font-size: 2rem;
    }

    .hero h1 {
        font-size: 2.5rem;
    }

    .service-cards {
        flex-direction: column;
        align-items: center;
    }

    .form-actions {
        flex-direction: column;
        gap: 1rem;
    }

    .whatsapp-btn {
        margin-left: 0;
    }

    .footer-content {
        flex-direction: column;
        align-items: center;
    }

    .footer-section {
        text-align: center;
    }

    .carousel-btn {
        display: none;
    }

    .service-item {
        flex-direction: column;
        text-align: center;
    }

    .service-details {
        text-align: center;
    }

    .benefits-grid {
        flex-direction: column;
        gap: 3rem;
    }

    .benefit-separator {
        width: 100%;
        height: 2px;
        margin: 1.5rem 0;
    }

    .benefit-separator::before,
    .benefit-separator::after {
        top: 50%;
        transform: translateY(-50%);
    }

    .benefit-separator::before {
        left: -5px;
    }

    .benefit-separator::after {
        right: -5px;
        left: auto;
    }

    .whatsapp-float {
        width: 50px;
        height: 50px;
        bottom: 20px;
        right: 20px;
    }

    .whatsapp-float img {
        width: 30px;
        height: 30px;
    }
}


/* Seção de Perguntas Frequentes (FAQ) */
.faq-section {
    padding: 6rem 0;
    background-color: var(--white);
}

.faq-title {
    margin-bottom: 2rem;
    text-align: center;
    /* Alinha o título ao centro */
    
}

.faq-accordion {
    max-width: 800px;
    margin: 0 auto;
}

.faq-item {
    border-bottom: 1px solid #ddd;
    margin-bottom: 10px;
}

.faq-question {
    background-color: transparent;
    color: var(--text-color);
    cursor: pointer;
    padding: 20px;
    width: 100%;
    text-align: left;
    border: none;
    outline: none;
    font-size: 1.1rem;
    font-weight: 600;
    transition: background-color 0.3s;
    position: relative;
    padding-right: 40px;
}

.faq-question::after {
    content: '+';
    font-size: 1.5rem;
    position: absolute;
    right: 20px;
    top: 50%;
    transform: translateY(-50%);
    transition: transform 0.3s;
}

.faq-item.active .faq-question {
    background-color: var(--primary-dark);
    color: var(--white);
    border-radius: 8px 8px 0 0;
}

.faq-item.active .faq-question::after {
    content: '-';
}

.faq-answer {
    padding: 0 20px;
    max-height: 0;
    overflow: hidden;
    background-color: #f8f9fa;
    transition: max-height 0.4s ease-out, padding 0.4s ease-out;
    border-radius: 0 0 8px 8px;
}

.faq-item.active .faq-answer {
    max-height: 200px;
    padding: 20px;
}

.faq-answer p {
    margin: 0;
    font-size: 1rem;
    line-height: 1.5;
    color: var(--text-light);
}

/* ============================================================
   ESTILOS EXCLUSIVOS PARA PÁGINAS DE DETALHES (CORRETORA)
   ============================================================ */

/* Banner de Topo (Hero) */
.detalhe-hero {
    /* Criamos uma camada preta de 70% de opacidade sobre a imagem */  
    background-size: cover;       /* Faz a imagem cobrir todo o espaço */
    background-position: center;  /* Centraliza a imagem */
    background-attachment: fixed; /* Opcional: efeito Parallax (a imagem fica parada ao rolar) */
    
    padding: 70px px;          /* Aumentei um pouco o respiro para mostrar mais a imagem */
    text-align: center;
}

.detalhe-hero h1 {
    color: rgb(0, 255, 180);
    font-size: 2.5rem;
    margin: 0;
    font-weight: 800;
}

.detalhe-hero p {
    color: #000000;
    margin-top: 10px;
    font-size: 1.1rem;
    opacity: 0.9;
}

/* Container de Conteúdo */
.detalhe-main {
    max-width: 900px;
    margin: 50px auto;
    padding: 0 20px;
}

/* Cards de Consultoria Profissional */
.detalhe-card {
    background: #ffffff;
    padding: 35px;
    border-radius: 12px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.08);
    margin-bottom: 25px;
    border-left: 8px solid #0044cc; /* Azul da Neo Santra */
}

.detalhe-card h3 {
    color: #0044cc;
    font-size: 1.5rem;
    margin-top: 0;
    margin-bottom: 15px;
}

.detalhe-card p {
    color: #444;
    line-height: 1.7;
    font-size: 1.05rem;
}

/* Botão de Voltar Personalizado */
.detalhe-btn-voltar {
    display: inline-block;
    background-color: #0044cc;
    color: #ffffff !important;
    padding: 15px 35px;
    text-decoration: none;
    border-radius: 6px;
    font-weight: bold;
    margin-top: 20px;
    transition: 0.3s ease;
}

.detalhe-btn-voltar:hover {
    background-color: #000;
    transform: translateY(-3px);
}