/*
========================================
VARIÁVEIS E RESET (Paleta Verde)
========================================
*/
:root {
    --cor-principal: #28a745;      /* Verde médio */
    --cor-secundaria: #20c997;     /* Verde água */
    --cor-destaque: #ffc107;       /* Dourado/Amarelo */
    --cor-texto: #333333;          /* Cinza escuro */
    --cor-texto-leve: #666666;
    --cor-fundo: #ffffff;
    --cor-fundo-alt: #f8f9fa;      /* Cinza claro */
    --sombra-suave: 0 5px 15px rgba(0,0,0,0.05);
    --sombra-hover: 0 10px 25px rgba(0,0,0,0.1);
    --borda-radius: 8px;
    --max-width: 1200px;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Open Sans', sans-serif;
    color: var(--cor-texto);
    line-height: 1.6;
    background-color: var(--cor-fundo);
}

h1, h2, h3, h4, h5, h6 {
    font-family: 'Montserrat', sans-serif;
    font-weight: 700;
    color: #1a1a1a;
    margin-bottom: 1rem;
}

a { text-decoration: none; color: inherit; transition: 0.3s; }
ul { list-style: none; }
img { max-width: 100%; display: block; }

/* Utilitários */
.container {
    width: 95%;
    max-width: var(--max-width);
    margin: 0 auto;
    padding: 0 15px;
}

.btn {
    display: inline-block;
    padding: 16px 38px;
    background-color: var(--cor-principal);
    color: #fff;
    font-family: 'Montserrat', sans-serif;
    font-weight: 600;
    border-radius: var(--borda-radius);
    text-transform: uppercase;
    font-size: 1.1rem;
    border: none;
    cursor: pointer;
    box-shadow: var(--sombra-suave);
    text-align: center;
}

.btn:hover {
    background-color: #218838;
    transform: translateY(-2px);
    box-shadow: var(--sombra-hover);
}

.btn-white {
    background-color: #fff;
    color: var(--cor-principal);
    font-size: 1.2rem;
    padding: 18px 45px;
}

.btn-white:hover {
    background-color: #f0f0f0;
    color: #1e7e34;
    transform: translateY(-3px);
}

.section-title {
    text-align: center;
    margin-bottom: 3.5rem;
}

.section-title h2 {
    font-size: 2.0rem;
    color: var(--cor-principal);
    position: relative;
    display: inline-block;
    padding-bottom: 10px;
}

.section-title h2::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 60px;
    height: 3px;
    background-color:#ccb121; /* ALTERADO PARA DOURADO */
}

.section-title p {
    font-size: 1.1rem;
    color: var(--cor-texto-leve);
    margin-top: 10px;
}

section {
    padding: 80px 0;
	scroll-margin-top: 100px; /* Compensa a altura do cabeçalho fixo */
}

/* HEADER */
header {
    background-color: #fff;
    box-shadow: var(--sombra-suave);
    position: fixed;
    width: 100%;
    top: 0;
    z-index: 1000;
    height: 120px; /* Aumentei a altura do cabeçalho para acomodar a logo maior */
    display: flex;
    align-items: center;
}

.header-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    width: 100%;
}

.logo {
    /* ESTILOS ANTIGOS DO TEXTO DA LOGO COMENTADOS */
    /* font-family: 'Montserrat', sans-serif; */
    /* font-weight: 700; */
    /* font-size: 1.4rem; */
    /* color: #333; */
    /* text-transform: uppercase; */
    /* line-height: 1.2; */
    flex-shrink: 0;
}

/* .logo span { */
    /* color: var(--cor-principal); */
    /* display: block; */
    /* font-size: 1.0rem; */
    /* font-weight: 400; */
/* } */

/* Estilos para a logomarca de imagem - TAMANHO AUMENTADO */
.logo-img {
    height: 100px; /* AUMENTADO para maior destaque */
    width: auto; /* Largura automática para manter a proporção */
    object-fit: contain; /* Garante que a imagem se ajuste sem cortar */
    display: block; /* Garante que não haja espaço extra abaixo da imagem */
}

.nav-menu {
    display: flex;
    gap: 15px;
    align-items: center;
    flex-wrap: nowrap;
}

.nav-link {
    font-weight: 600;
    font-size: 1.05rem;
    color: #555;
    white-space: nowrap;
}

.nav-link:hover {
    color: var(--cor-principal);
}

.hamburger {
    display: none;
    cursor: pointer;
}

.bar {
    display: block;
    width: 25px;
    height: 3px;
    margin: 5px auto;
    transition: all 0.3s ease-in-out;
    background-color: #333;
}

/* HERO SECTION */
.hero {
    margin-top: 120px; /* Ajustei a margem superior para compensar o cabeçalho maior */
    background: linear-gradient(to right, #f9fcf9 55%, #fff 45%);
    min-height: 90vh;
    display: flex;
    align-items: center;
    position: relative;
    overflow: hidden;
}

.hero-container {
    display: grid;
    grid-template-columns: 1.1fr 0.9fr;
    gap: 40px;
    align-items: center;
}

.hero-content {
    padding-right: 20px;
}

.hero-badges {
    display: flex;
    gap: 15px;
    margin-bottom: 25px;
    flex-wrap: wrap;
}

.badge {
    background-color: rgba(40, 167, 69, 0.1);
    color: var(--cor-principal);
    padding: 6px 16px;
    border-radius: 20px;
    font-size: 0.9rem;
    font-weight: 600;
    display: flex;
    align-items: center;
    gap: 8px;
}

.hero h1 {
    font-size: 3rem;
    line-height: 1.2;
    margin-bottom: 20px;
    color: #1a1a1a;
}

.hero p {
    font-size: 1.25rem;
    color: var(--cor-texto-leve);
    margin-bottom: 35px;
    max-width: 550px;
}

.hero-contact-info {
    margin-top: 35px;
    font-size: 0.95rem;
    color: #666;
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.contact-row {
    display: flex;
    gap: 20px;
    flex-wrap: wrap;
}

.hero-contact-info i {
    color: var(--cor-principal);
    margin-right: 8px;
    width: 20px;
    text-align: center;
}

.hero-image {
    position: relative;
    height: 100%;
    display: flex;
    justify-content: center;
    align-items: flex-end;
}

.hero-image img {
    max-height: 85vh;
    object-fit: cover;
    border-radius: 20px;
    /*border-radius: 0 0 200px 200px;*/
    box-shadow: -20px 20px 0 rgba(40, 167, 69, 0.1);
}

/* SOBRE */
.sobre {
    background-color: #fff;
}

.sobre-container {
    display: grid;
    grid-template-columns: 0.8fr 1.2fr;
    gap: 60px;
    align-items: center;
}

.sobre-img img {
    border-radius: var(--borda-radius);
    box-shadow: var(--sombra-suave);
    width: 100%;
    height: auto;
}

.sobre-content h2 {
    font-size: 2.0rem;
    color: var(--cor-principal);
    margin-bottom: 25px;
}

.sobre-content p {
    margin-bottom: 18px;
    text-align: justify;
    font-size: 1.05rem;
}

.credentials {
    margin-top: 30px;
    background-color: var(--cor-fundo-alt);
    padding: 25px;
    border-radius: var(--borda-radius);
    border-left: 5px solid var(--cor-principal);
}

.credentials h4 {
    font-size: 1.1rem;
    margin-bottom: 15px;
}

.credentials ul li {
    margin-bottom: 12px;
    display: flex;
    align-items: flex-start;
    gap: 10px;
    font-size: 0.95rem;
}

.credentials ul li i {
    color: var(--cor-principal);
    margin-top: 5px;
}

/* ESPECIALIDADES */
.especialidades {
    background-color: var(--cor-fundo-alt);
}

.grid-cards {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 30px;
}

.card {
    background: #fff;
    padding: 35px 30px;
    border-radius: var(--borda-radius);
    box-shadow: var(--sombra-suave);
    transition: 0.3s;
    border-bottom: 4px solid transparent;
    height: 100%;
}

.card:hover {
    transform: translateY(-10px);
    border-bottom: 4px solid var(--cor-principal);
    box-shadow: var(--sombra-hover);
}

.card-icon {
    font-size: 3rem;
    color: var(--cor-principal);
    margin-bottom: 20px;
}

.card h3 {
    font-size: 1.4rem;
    margin-bottom: 15px;
}

.card ul li {
    margin-bottom: 10px;
    font-size: 0.95rem;
    color: #555;
    padding-left: 20px;
    position: relative;
}

.card ul li::before {
    content: '•';
    color: var(--cor-principal);
    position: absolute;
    left: 0;
    font-weight: bold;
    font-size: 1.2rem;
    line-height: 1;
}

/* COMO FUNCIONA */
.timeline {
    display: flex;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 20px;
    position: relative;
    margin-top: 40px;
}

.timeline::before {
    content: '';
    position: absolute;
    top: 40px;
    left: 0;
    width: 100%;
    height: 2px;
    background-color: #e9ecef;
    z-index: 0;
    display: none;
}

.step {
    flex: 1;
    min-width: 240px;
    text-align: center;
    position: relative;
    z-index: 1;
    background: #fff;
    padding: 20px;
    border-radius: var(--borda-radius);
}

.step-icon {
    width: 80px;
    height: 80px;
    background-color: var(--cor-principal);
    color: #fff;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2rem;
    margin: 0 auto 20px;
    box-shadow: 0 0 0 10px #fff;
}

.step h3 {
    font-size: 1.2rem;
    margin-bottom: 15px;
    color: #333;
}

.step p {
    font-size: 0.95rem;
    color: #666;
    margin-bottom: 10px;
}

.step ul { text-align: left; margin-top: 15px; padding-left: 10px; }
.step ul li { margin-bottom: 5px; list-style: none; font-size: 0.9rem; color: #555; }
.step ul li::before { content: '- '; color: var(--cor-principal); font-weight: bold; }

/* DEPOIMENTOS */
.depoimentos {
    background-color: var(--cor-fundo-alt);
}

.testimonial-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 30px;
}

.testimonial-card {
    background: #fff;
    padding: 35px;
    border-radius: var(--borda-radius);
    box-shadow: var(--sombra-suave);
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.stars {
    color: var(--cor-destaque);
    margin-bottom: 15px;
    font-size: 0.9rem;
}

.testimonial-text {
    font-style: italic;
    color: #555;
    margin-bottom: 25px;
    font-size: 1rem;
}

.testimonial-author {
    font-weight: 700;
    color: #333;
    font-family: 'Montserrat', sans-serif;
}

.testimonial-result {
    font-size: 0.85rem;
    color: var(--cor-principal);
    font-weight: 600;
    margin-top: 5px;
}

/* DIFERENCIAIS */
.diferenciais-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 40px;
}

.diferencial-item {
    display: flex;
    gap: 20px;
    align-items: flex-start;
}

.diferencial-icon {
    min-width: 60px;
    height: 60px;
    background-color: rgba(40, 167, 69, 0.1);
    color: var(--cor-principal);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.8rem;
}

.diferencial-content h3 {
    font-size: 1.2rem;
    margin-bottom: 8px;
}

.diferencial-content p {
    font-size: 0.95rem;
    color: #666;
}

/* FAQ */
.faq {
    background-color: var(--cor-fundo-alt);
}

.faq-container {
    max-width: 900px;
    margin: 0 auto;
}

.faq-item {
    background: #fff;
    margin-bottom: 15px;
    border-radius: var(--borda-radius);
    box-shadow: var(--sombra-suave);
    overflow: hidden;
}

.faq-question {
    padding: 20px 25px;
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-weight: 600;
    color: #333;
    font-size: 1.05rem;
}

.faq-question:hover {
    background-color: #fcfcfc;
    color: var(--cor-principal);
}

.faq-answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease-out;
    padding: 0 25px;
    background-color: #fff;
}

.faq-answer p {
    padding-bottom: 25px;
    color: #666;
    line-height: 1.7;
}

.faq-toggle {
    transition: transform 0.3s;
    color: var(--cor-principal);
}

.faq-item.active .faq-answer {
    max-height: 500px;
}

.faq-item.active .faq-toggle {
    transform: rotate(180deg);
}

/* LOCALIZAÇÃO E CONTATO */
.contato-wrapper {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 50px;
}

.info-box {
    margin-bottom: 35px;
}

.info-box h3 {
    font-size: 1.3rem;
    margin-bottom: 15px;
    color: var(--cor-principal);
    border-bottom: 2px solid rgba(40, 167, 69, 0.1);
    padding-bottom: 10px;
    display: inline-block;
}

.info-item {
    display: flex;
    gap: 15px;
    margin-bottom: 15px;
    color: #555;
    font-size: 1rem;
}

.map-responsive {
    overflow: hidden;
    padding-bottom: 70%;
    position: relative;
    height: 0;
    border-radius: var(--borda-radius);
    box-shadow: var(--sombra-suave);
}

.map-responsive iframe {
    left: 0;
    top: 0;
    height: 100%;
    width: 100%;
    position: absolute;
    border: 0;
}

/* CTA FINAL */
.cta-final {
    background: linear-gradient(135deg, var(--cor-principal), var(--cor-secundaria));
    color: #fff;
    text-align: center;
    padding: 100px 0;
}

.cta-container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 50px;
    align-items: center;
    text-align: left;
}

.cta-content h2 {
    color: #fff;
    font-size: 2.5rem;
    margin-bottom: 20px;
}

.cta-content p {
    font-size: 1.2rem;
    margin-bottom: 40px;
    opacity: 0.95;
}

.cta-image img {
    border-radius: var(--borda-radius);
    box-shadow: 0 20px 40px rgba(0,0,0,0.2);
    transform: rotate(0deg);
}

.form-container {
    background: #fff;
    padding: 45px;
    border-radius: var(--borda-radius);
    color: #333;
    box-shadow: 0 15px 30px rgba(0,0,0,0.15);
}

.form-group {
    margin-bottom: 20px;
}

.form-group label {
    display: block;
    margin-bottom: 8px;
    font-weight: 600;
    font-size: 0.95rem;
}

.form-control {
    width: 100%;
    padding: 14px;
    border: 1px solid #ddd;
    border-radius: 4px;
    font-family: inherit;
    font-size: 1rem;
    background-color: #f9f9f9;
}

.form-control:focus {
    outline: none;
    border-color: var(--cor-principal);
    background-color: #fff;
}

/* RODAPÉ */
footer {
    background-color: #1a1a1a;
    color: #fff;
    padding: 70px 0 20px;
}

.footer-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 50px;
    margin-bottom: 50px;
}

.footer-col h4 {
    color: #fff;
    margin-bottom: 25px;
    font-size: 1.2rem;
    border-left: 3px solid var(--cor-principal);
    padding-left: 10px;
}

.footer-col p, .footer-col a {
    color: #aaa;
    font-size: 0.95rem;
    margin-bottom: 12px;
    display: block;
    line-height: 1.6;
}

.footer-col a:hover {
    color: var(--cor-principal);
    padding-left: 5px;
}

.social-icons {
    display: flex;
    gap: 15px;
    margin-top: 25px;
}

.social-icons a {
    width: 45px;
    height: 45px;
    background-color: #333;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    color: #fff;
    transition: 0.3s;
    font-size: 1.2rem;
}

.social-icons a:hover {
    background-color: var(--cor-principal);
    transform: translateY(-3px);
    padding-left: 0;
}

.footer-bottom {
    border-top: 1px solid #333;
    padding-top: 25px;
    text-align: center;
    font-size: 0.9rem;
    color: #777;
    display: flex;
    flex-direction: column;
    gap: 10px;
}

/* BOTÃO FLUTUANTE WHATSAPP */
.whatsapp-float {
    position: fixed;
    bottom: 30px;
    right: 30px;
    background-color: #25d366;
    color: #fff;
    width: 65px;
    height: 65px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 35px;
    box-shadow: 2px 2px 15px rgba(0,0,0,0.2);
    z-index: 9999;
    transition: 0.3s;
}

.whatsapp-float:hover {
    transform: scale(1.1);
    background-color: #20ba5a;
}

/* RESPONSIVIDADE */
.menu-text {
    display: block;
    font-size: 0; /* Esconde visualmente no desktop se necessário, embora o pai já esteja oculto */
}

@media (min-width: 992px) {
    .timeline::before {
        display: block;
    }
}

@media (max-width: 1200px) {
    .nav-menu {
        gap: 10px;
    }
    .nav-link {
        font-size: 0.85rem;
    }
}

@media (max-width: 991px) {
    .hero {
        background: linear-gradient(to bottom, #f9fcf9 0%, #fff 100%);
        text-align: center;
        margin-top: 100px; /* Ajustei a margem superior para mobile também */
    }

    .hero-container {
        grid-template-columns: 1fr;
    }

    .hero-content {
        padding-right: 0;
    }

    .hero-badges {
        justify-content: center;
    }

    .hero h1 {
        font-size: 2.5rem;
    }

    .hero p {
        margin: 0 auto 30px;
    }

    .hero-contact-info {
        align-items: center;
    }

    .contact-row {
        justify-content: center;
    }

    .hero-image img {
        /*border-radius: 20px;*/
        max-height: 500px;
        margin-top: 30px;
    }

    .sobre-container {
        grid-template-columns: 1fr;
        gap: 40px;
    }

    .sobre-img {
        order: -1;
    }

    .contato-wrapper {
        grid-template-columns: 1fr;
    }

    .cta-container {
        grid-template-columns: 1fr;
        text-align: center;
    }

    .cta-image {
        display: none;
    }



/* Adicione este estilo global para garantir que o texto siga o comportamento do pai */
.menu-text {
    display: block;
    font-size: 0; /* Esconde visualmente no desktop se necessário, embora o pai já esteja oculto */
}

/* ... código intermediário ... */

@media (max-width: 991px) {
    /* ... outros estilos ... */

    /* Menu Mobile - AJUSTES DO HAMBURGER */
    .hamburger {
        display: flex !important; /* Alterado de block para flex */
        flex-direction: column;   /* Empilha itens verticalmente */
        align-items: center;      /* Centraliza horizontalmente */
        justify-content: center;
        position: relative;
        z-index: 1002;
        margin-left: auto;
        cursor: pointer;
        width: 40px;  /* Aumentei levemente a largura para acomodar o texto confortavelmente */
        height: auto; /* Alterado de 25px para auto para caber o texto */
        background: transparent;
        padding-bottom: 5px; /* Espaço extra para toque */
    }

    /* Forçar a cor das barras no mobile */
    .hamburger .bar {
        background-color: #333 !important;
        display: block;
        width: 30px; /* Largura fixa das barras */
        height: 3px;
        margin: 3px 0; /* Reduzi levemente a margem vertical para aproximar */
    }

    /* ESTILO DO TEXTO MENU */
    .menu-text {
        font-size: 10px; /* Fonte pequena e legível */
        font-weight: 700;
        color: #333;
        margin-top: 2px; /* Espaçamento entre a última barra e o texto */
        line-height: 1;
        font-family: 'Montserrat', sans-serif; /* Mesma fonte dos títulos */
        letter-spacing: 0.5px;
    }	

    .hamburger.active .bar:nth-child(2) {
        opacity: 0;
    }

    .hamburger.active .bar:nth-child(1) {
        transform: translateY(8px) rotate(45deg);
    }

    .hamburger.active .bar:nth-child(3) {
        transform: translateY(-8px) rotate(-45deg);
    }

    .nav-menu {
        position: fixed;
        left: -100%;
        top: 120px; /* Ajustado de 100px para 120px para alinhar exatamente com a altura do header */
        gap: 0;
        flex-direction: column;
        background-color: #fff;
        width: 100%;
        text-align: center;
        transition: 0.3s;
        box-shadow: 0 10px 10px rgba(0,0,0,0.05);
        padding: 20px 0;
        z-index: 1001;
		max-height: calc(100vh - 120px); /* Limita a altura ao espaço restante da tela */
        overflow-y: auto; /* Habilita a barra de rolagem vertical se o conteúdo for maior que a tela */
		
    }

    .nav-menu.active {
        left: 0;
    }

    .nav-item {
        margin: 16px 0;
    }
}

@media (max-width: 576px) {
    .hero h1 {
        font-size: 2rem;
    }

    .diferenciais-grid {
        grid-template-columns: 1fr;
    }

    .btn {
        width: 100%;
    }
}
/* ---------- Contador de visitas no rodapé ---------- */
#visit-counter {
    font-size: 0.95rem;          /* Mantém o mesmo tamanho dos textos do rodapé */
    color: #aaa;                 /* Usa a cor padrão dos parágrafos do rodapé */
    margin: 0;                   /* Remove margens extras */
    transition: color 0.3s ease; /* Adiciona uma transição suave para o hover */
}

/* Opcional: destaque ao passar o mouse */
#visit-counter:hover {
    color: var(--cor-principal); /* Destaca com a cor principal ao passar o mouse */
}
