/* =========================================
   VARIÁVEIS E CONFIGURAÇÕES GERAIS
   ========================================= */
:root {
    /* Paleta de Cores */
    --color-primary: #4A7c59; /* Verde Sálvia Profundo */
    --color-primary-light: #6B9075;
    --color-secondary: #A0522D; /* Marrom Terra/Sienna */
    --color-bg-light: #F9F7F2; /* Bege Creme muito claro */
    --color-bg-white: #FFFFFF;
    --color-text-dark: #2C3E50;
    --color-text-gray: #555555;
    --color-accent: #E8D5C4; /* Bege areia para detalhes */
    
    /* Tipografia */
    --font-heading: 'Playfair Display', serif; /* Título Artístico */
    --font-body: 'Poppins', sans-serif; /* Texto Limpo */
    
    /* Espaçamentos e Bordas */
    --border-radius: 12px;
    --container-width: 1100px;
    --shadow-soft: 0 10px 30px rgba(0, 0, 0, 0.05);
    --shadow-hover: 0 15px 35px rgba(0, 0, 0, 0.1);
}

/* Reset Básico */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: var(--font-body);
    color: var(--color-text-dark);
    background-color: var(--color-bg-light);
    line-height: 1.6;
    overflow-x: hidden;
}

img {
    max-width: 100%;
    height: auto;
    display: block;
}

a {
    text-decoration: none;
    color: inherit;
    transition: all 0.3s ease;
}

ul {
    list-style: none;
}

/* Utilitários */
.container {
    width: 90%;
    max-width: var(--container-width);
    margin: 0 auto;
}

.section-padding {
    padding: 80px 0;
}

.bg-light {
    background-color: var(--color-bg-light);
}

h1, h2, h3 {
    font-family: var(--font-heading);
    color: var(--color-primary);
    margin-bottom: 1rem;
    line-height: 1.2;
}

h2 {
    font-size: 2.5rem;
    text-align: center;
    margin-bottom: 1rem;
}

.section-intro {
    text-align: center;
    max-width: 700px;
    margin: 0 auto 3rem auto;
    color: var(--color-text-gray);
    font-size: 1.1rem;
}
/* =========================================
   ANIMAÇÕES
   ========================================= */

/* Animação de Reveal ao Scroll */
.reveal {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.6s ease, transform 0.6s ease;
}

.reveal.active {
    opacity: 1;
    transform: translateY(0);
}

/* Header com Scroll */
header.scrolled {
    background-color: rgba(255, 255, 255, 0.98);
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
}

/* Ícone Hamburguer Aberto (Transforma em X) */
.mobile-menu-icon.open span:nth-child(1) {
    transform: rotate(45deg) translate(5px, 5px);
}

.mobile-menu-icon.open span:nth-child(2) {
    opacity: 0;
}

.mobile-menu-icon.open span:nth-child(3) {
    transform: rotate(-45deg) translate(7px, -6px);
}

/* =========================================
   HEADER & NAVEGAÇÃO
   ========================================= */
header {
    background-color: var(--color-bg-white);
    box-shadow: 0 2px 10px rgba(0,0,0,0.05);
    position: fixed;
    width: 100%;
    top: 0;
    z-index: 1000;
    height: 80px;
    display: flex;
    align-items: center;
}

.header-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    display: flex;
    align-items: center;
    gap: 12px;
}

.logo img {
    height: 50px; /* Ajuste conforme tamanho real do logo */
}

.logo-text {
    font-family: var(--font-heading);
    font-size: 1.3rem;
    font-weight: 600;
    color: #235029;
    line-height: 1.2;
    text-decoration: none;
}

.logo-text small {
    font-family: var(--font-body);
    font-size: 0.75rem;
    font-weight: 400;
    color: var(--color-secondary);
    letter-spacing: 0.5px;
    display: block;
    margin-top: 2px;
}

.nav-menu ul {
    display: flex;
    gap: 30px;
}

.nav-menu a {
    font-weight: 500;
    color: var(--color-text-dark);
    position: relative;
}

.nav-menu a::after {
    content: '';
    position: absolute;
    width: 0;
    height: 2px;
    bottom: -5px;
    left: 0;
    background-color: var(--color-secondary);
    transition: width 0.3s;
}

.nav-menu a:hover::after {
    width: 100%;
}

.btn-cta-header {
    background-color: var(--color-primary);
    color: white;
    padding: 10px 25px;
    border-radius: 50px;
    font-weight: 600;
    box-shadow: 0 4px 15px rgba(74, 124, 89, 0.3);
}

.btn-cta-header:hover {
    background-color: var(--color-secondary);
    transform: translateY(-2px);
}

/* Menu Mobile (Ícone Hamburguer) */
.mobile-menu-icon {
    display: none;
    flex-direction: column;
    cursor: pointer;
    gap: 5px;
}

.mobile-menu-icon span {
    width: 25px;
    height: 3px;
    background-color: var(--color-primary);
    border-radius: 2px;
    transition: all 0.3s;
}

/* =========================================
   HERO SECTION
   ========================================= */
.hero-section {
    padding-top: 140px; /* Espaço para o header fixo */
    padding-bottom: 80px;
    background: linear-gradient(135deg, #fff 0%, var(--color-bg-light) 100%);
    min-height: 90vh;
    display: flex;
    align-items: center;
}

.hero-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 50px;
    align-items: center;
}

.hero-text h1 {
    font-size: 3.5rem;
    color: var(--color-primary);
    margin-bottom: 1.5rem;
}

.hero-subtitle {
    font-size: 1.2rem;
    color: var(--color-text-gray);
    margin-bottom: 2rem;
}

.hero-buttons {
    display: flex;
    flex-direction: column;
    gap: 15px;
    align-items: flex-start;
}

.btn-primary {
    background-color: var(--color-primary);
    color: white;
    padding: 15px 30px;
    border-radius: 8px;
    font-size: 1.1rem;
    font-weight: 600;
    text-align: center;
    display: inline-block;
    box-shadow: 0 5px 15px rgba(74, 124, 89, 0.4);
}

.btn-primary:hover {
    background-color: var(--color-secondary);
    transform: translateY(-3px);
    box-shadow: 0 8px 20px rgba(160, 82, 45, 0.4);
}

.price-indicator {
    font-size: 0.9rem;
    color: var(--color-text-gray);
    font-weight: 500;
}

.hero-image img {
    border-radius: 30% 70% 70% 30% / 30% 30% 70% 70%; /* Forma orgânica/artística */
    box-shadow: var(--shadow-soft);
    width: 100%;
    object-fit: cover;
    animation: float 6s ease-in-out infinite;
}

@keyframes float {
    0% { transform: translateY(0px); }
    50% { transform: translateY(-15px); }
    100% { transform: translateY(0px); }
}

/* =========================================
   SOBRE
   ========================================= */
.about-grid {
    display: grid;
    grid-template-columns: 0.8fr 1.2fr;
    gap: 50px;
    align-items: center;
}

.about-image img {
    border-radius: 20px;
    box-shadow: var(--shadow-soft);
    border: 5px solid white;
}

.highlight-box {
    background-color: var(--color-accent);
    padding: 20px;
    border-radius: var(--border-radius);
    border-left: 5px solid var(--color-secondary);
    margin-top: 20px;
    font-style: italic;
    color: var(--color-text-dark);
}

/* =========================================
   PÚBLICO E DORES
   ========================================= */
.cards-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
}

.card-pain {
    background: white;
    padding: 30px;
    border-radius: var(--border-radius);
    box-shadow: var(--shadow-soft);
    transition: transform 0.3s;
    border-top: 4px solid var(--color-primary);
}

.card-pain:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-hover);
}

.card-pain h3 {
    font-size: 1.3rem;
    margin-bottom: 1rem;
    color: var(--color-secondary);
}

/* =========================================
   SERVIÇOS
   ========================================= */
.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 30px;
}

.card-service {
    background: white;
    border-radius: var(--border-radius);
    padding: 30px;
    box-shadow: var(--shadow-soft);
    display: flex;
    flex-direction: column;
    border: 1px solid #eee;
    position: relative;
    overflow: hidden;
}

.card-service.highlight-service {
    border: 2px solid var(--color-primary);
    background-color: #f0fdf4; 
}

.service-header {
    display: flex;
    justify-content: center;
    align-items: center;
    margin-bottom: 15px;
    border-bottom: 1px solid #eee;
    padding-bottom: 15px;
    text-align: center;
}
.service-header h3 {
    font-size: 1.4rem;
    margin: 0;
    color: var(--color-primary);
    text-align: center;
    width: 100%;
}


.service-tag {
    font-size: 0.9rem;
    color: var(--color-text-gray);
    margin-bottom: 15px;
    font-style: italic;
}

.service-features {
    margin-bottom: 25px;
    flex-grow: 1;
}

.service-features li {
    margin-bottom: 10px;
    padding-left: 20px;
    position: relative;
    color: var(--color-text-dark);
}

.service-features li::before {
    content: '✓';
    color: var(--color-primary);
    position: absolute;
    left: 0;
    font-weight: bold;
}

.btn-service {
    background-color: white;
    color: var(--color-primary);
    border: 2px solid var(--color-primary);
    padding: 12px;
    text-align: center;
    border-radius: 8px;
    font-weight: 600;
    margin-top: auto;
}

.btn-service:hover {
    background-color: var(--color-primary);
    color: white;
}

/* =========================================
   DEPOIMENTOS
   ========================================= */
.testimonials-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
}

.testimonial-card {
    background: white;
    padding: 15px;
    border-radius: var(--border-radius);
    box-shadow: var(--shadow-soft);
    transform: rotate(-2deg);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    position: relative;
    z-index: 1;
    cursor: pointer;
}

.testimonial-card:hover {
    transform: rotate(0deg) scale(1.03);
    box-shadow: var(--shadow-hover);
    z-index: 10;
}

.testimonial-card:nth-child(even) {
    transform: rotate(2deg);
}

.testimonial-card:nth-child(even):hover {
    transform: rotate(0deg) scale(1.03);
}

.testimonial-card img {
    border-radius: 8px;
    width: 100%;
    height: auto;
    pointer-events: none;
}

.testimonial-card:nth-child(even) {
    transform: rotate(2deg);
}

.testimonial-card img {
    border-radius: 8px;
    width: 100%;
    height: auto;
}

/* =========================================
   CONTATO & MAPA
   ========================================= */
.contact-container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
}

.info-item {
    margin-bottom: 25px;
}

.info-item strong {
    display: block;
    color: var(--color-primary);
    margin-bottom: 5px;
    font-size: 1.1rem;
}

.cta-box {
    background-color: var(--color-bg-light);
    padding: 20px;
    border-radius: var(--border-radius);
    margin-top: 30px;
    text-align: center;
}

.cta-box p {
    margin-bottom: 15px;
    font-weight: 500;
}

.full-width {
    width: 100%;
}

.map-wrapper iframe {
    border-radius: var(--border-radius);
    box-shadow: var(--shadow-soft);
    width: 100%;
    height: 300px;
    max-width: 100%;
    display: block;
}

/* Altura menor no mobile */
@media (max-width: 768px) {
    .map-wrapper iframe {
        height: 250px;
    }
}

/* =========================================
   FOOTER
   ========================================= */
footer {
    background-color: var(--color-primary);
    color: white;
    padding: 50px 0 100px;
    text-align: center;
}

.footer-logo h3 {
    color: white;
    margin-bottom: 5px;
}

.footer-links {
    margin: 20px 0;
    opacity: 0.9;
    font-size: 0.9rem;
}

.footer-copy {
    margin-top: 30px;
    font-size: 0.8rem;
    opacity: 0.7;
    border-top: 1px solid rgba(255,255,255,0.2);
    padding-top: 20px;
}

/* =========================================
   WHATSAPP FLUTUANTE
   ========================================= */
.whatsapp-float {
    position: fixed;
    bottom: 30px;
    right: 30px;
    background-color: #25d366;
    color: #FFF;
    border-radius: 50px;
    text-align: center;
    font-size: 30px;
    box-shadow: 2px 2px 3px #999;
    z-index: 999;
    width: 60px;
    height: 60px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s;
    animation: pulse 2s infinite;
}

.whatsapp-float:hover {
    transform: scale(1.1);
    background-color: #1ebc57;
}

@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); }
}

/* =========================================
   RESPONSIVIDADE (MEDIA QUERIES)
   ========================================= */
@media (max-width: 992px) {
    .hero-content {
        grid-template-columns: 1fr;
        text-align: center;
        gap: 40px;
    }

    .hero-buttons {
        align-items: center;
    }
    
    .about-grid {
        grid-template-columns: 1fr;
    }
    
    .about-image {
        order: -1; /* Imagem acima do texto no mobile */
        max-width: 400px;
        margin: 0 auto;
    }

    .contact-container {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 768px) {
    h1 { font-size: 2.5rem; }
    h2 { font-size: 2rem; }
    
    .section-padding { padding: 60px 0; }

    /* Menu Mobile */
    .mobile-menu-icon { display: flex; }
    
    .nav-menu {
        position: absolute;
        top: 80px;
        left: 0;
        width: 100%;
        background-color: white;
        box-shadow: 0 10px 10px rgba(0,0,0,0.05);
        max-height: 0;
        overflow: hidden;
        transition: max-height 0.4s ease-out;
    }

    .nav-menu.active {
        max-height: 400px;
    }

    .nav-menu ul {
        flex-direction: column;
        padding: 20px;
        gap: 20px;
        text-align: center;
    }

    .btn-cta-header {
        display: none; 
    
    }
    .logo-text{
        font-size: 1rem;
    }
    .logo img{
        height: 40px;
    }
}