/* --- Variáveis de Cores e Fontes --- */
:root {
    --primary-color: #1E4D40; /* Verde Floresta */
    --secondary-color: #D4C6A8; /* Bege/Dourado */
    --accent-color: #2F7A64; /* Verde Hover */
    --text-color: #333333;
    --text-light: #555555;
    --bg-light: #F9F9F7;
    --white: #ffffff;
    --font-heading: 'Montserrat', sans-serif;
    --font-body: 'Open Sans', sans-serif;
}

/* --- Reset Básico --- */
* { margin: 0; padding: 0; box-sizing: border-box; }

html {
    scroll-behavior: smooth;
    overflow-x: hidden; /* Corta o excesso lateral no HTML */
}

body {
    font-family: var(--font-body);
    line-height: 1.6;
    color: var(--text-color);
    background-color: var(--white);
    overflow-x: hidden; /* Corta o excesso lateral no Body */
    width: 100%;
    position: relative;
}

h1, h2, h3, h4 {
    font-family: var(--font-heading);
    color: var(--primary-color);
    line-height: 1.2;
}

a { text-decoration: none; color: inherit; }
ul { list-style: none; }
img { max-width: 100%; display: block; }

/* --- Utilitários --- */
.container {
    max-width: 1100px;
    margin: 0 auto;
    padding: 0 20px;
}

.section-padding { padding: 80px 0; }
.bg-light { background-color: var(--bg-light); }

/* Botão com animação para chamar atenção */
.btn-primary {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    background-color: var(--primary-color);
    color: var(--white);
    padding: 14px 32px;
    border-radius: 50px;
    font-weight: 600;
    transition: all 0.3s ease;
    text-transform: uppercase;
    font-size: 0.9rem;
    letter-spacing: 1px;
    box-shadow: 0 4px 15px rgba(30, 77, 64, 0.2);
}

.btn-primary:hover {
    background-color: var(--accent-color);
    transform: translateY(-3px);
    box-shadow: 0 8px 20px rgba(30, 77, 64, 0.3);
}

/* Animação suave de pulso para o botão da Hero */
.pulse-button {
    animation: pulse 2s infinite;
}

@keyframes pulse {
    0% { box-shadow: 0 0 0 0 rgba(30, 77, 64, 0.7); }
    70% { box-shadow: 0 0 0 10px rgba(30, 77, 64, 0); }
    100% { box-shadow: 0 0 0 0 rgba(30, 77, 64, 0); }
}

.section-title {
    text-align: center;
    font-size: 2rem;
    margin-bottom: 50px;
    position: relative;
}

.section-title::after {
    content: '';
    display: block;
    width: 60px;
    height: 3px;
    background-color: var(--secondary-color);
    margin: 15px auto 0;
}

/* --- Header --- */
header {
    background-color: rgba(255, 255, 255, 0.98); /* Leve transparência */
    box-shadow: 0 2px 15px rgba(0,0,0,0.05);
    position: fixed;
    width: 100%;
    top: 0;
    z-index: 1000;
}

.nav-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    height: 75px;
}

.logo {
    font-family: var(--font-heading);
    font-size: 1.4rem;
    font-weight: 700;
    color: var(--primary-color);
    letter-spacing: -0.5px;
}

.logo span { color: #b08b6d; font-weight: 400; font-size: 1.2rem; }

.nav-links { display: flex; gap: 30px; align-items: center; }

.nav-links li a {
    font-weight: 500;
    font-size: 0.95rem;
    transition: 0.3s;
    position: relative;
}

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

/* Efeito de sublinhado no hover do menu */
.nav-links li a::after {
    content: '';
    position: absolute;
    width: 0;
    height: 2px;
    bottom: -5px;
    left: 0;
    background-color: var(--secondary-color);
    transition: width 0.3s;
}

.nav-links li a:hover::after { width: 100%; }

/* Botão especial no menu */
.btn-nav {
    border: 1px solid var(--primary-color);
    padding: 8px 24px !important;
    border-radius: 25px;
    color: var(--primary-color);
    font-weight: 600 !important;
}

.btn-nav:hover {
    background-color: var(--primary-color);
    color: var(--white) !important;
}
.btn-nav::after { display: none; } /* Remove sublinhado do botão */

.menu-toggle { display: none; font-size: 1.5rem; color: var(--primary-color); cursor: pointer; }

/* --- Hero --- */
.hero {
    margin-top: 75px;
    padding: 80px 0;
    background: linear-gradient(135deg, #ffffff 0%, #f4f7f6 100%);
    min-height: 90vh; /* Ocupa quase a tela toda */
    display: flex;
    align-items: center;
}

.hero-content {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 60px;
}

.hero-text { flex: 1; }

.hero-text h1 {
    font-size: 2.8rem;
    margin-bottom: 25px;
    color: var(--primary-color);
}

.hero-text p {
    font-size: 1.1rem;
    margin-bottom: 35px;
    color: var(--text-light);
    max-width: 520px;
}

.hero-img { flex: 1; display: flex; justify-content: flex-end; }

.hero-img img {
    border-radius: 20px;
    /* Sombra mais suave e elegante */
    box-shadow: 15px 15px 0px var(--secondary-color), 0 10px 30px rgba(0,0,0,0.1); 
    max-width: 90%;
    object-fit: cover;
}

/* --- Sobre --- */
.about-container { max-width: 900px; margin: 0 auto; }

.about-text { text-align: center; } /* Título centralizado */

.about-text h2 {
    font-size: 2.2rem;
    margin-bottom: 30px;
}

/* Correção de alinhamento do texto */
.about-content-align {
    text-align: left; /* Texto alinhado à esquerda para leitura fácil */
    font-size: 1.05rem;
    color: var(--text-light);
    display: flex;
    flex-direction: column;
    gap: 20px; /* Espaço entre parágrafos */
}

.stats {
    display: flex;
    justify-content: center;
    gap: 60px;
    margin-top: 50px;
    padding-top: 30px;
    border-top: 1px solid #eee;
}

.stat-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 15px;
}

.stat-item i { font-size: 2.5rem; color: var(--primary-color); }
.stat-item span { font-weight: 600; color: var(--primary-color); font-size: 0.95rem; }

/* --- Serviços --- */
.cards-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
}

.card {
    background: var(--white);
    padding: 40px 30px;
    border-radius: 12px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.03);
    transition: 0.3s;
    
    text-align: center; /* <--- MUDE PARA CENTER */
    
    border: 1px solid #f0f0f0;
    height: 100%;
    
    /* Dica Extra: Isso garante que o ícone fique centralizado também */
    display: flex;
    flex-direction: column;
    align-items: center; 
}

.card:hover {
    transform: translateY(-8px);
    box-shadow: 0 15px 40px rgba(30, 77, 64, 0.1);
    border-color: var(--secondary-color);
}

.icon-card {
    font-size: 2.5rem;
    color: var(--primary-color);
    margin-bottom: 25px;
    display: inline-block;
    padding: 15px;
    background-color: #eff5f3;
    border-radius: 50%;
}

.card h3 { font-size: 1.3rem; margin-bottom: 15px; }
.card p { font-size: 0.95rem; color: var(--text-light); }

.center-btn { text-align: center; margin-top: 60px; }
.cta-phrase { font-size: 1.2rem; margin-bottom: 25px; color: var(--text-color); font-weight: 600; }

/* --- Footer --- */
footer {
    background-color: var(--primary-color);
    color: var(--white);
    padding: 70px 0 20px;
}

.footer-content {
    display: flex;
    justify-content: space-between;
    gap: 40px;
    margin-bottom: 50px;
    border-bottom: 1px solid rgba(255,255,255,0.1);
    padding-bottom: 40px;
}

.footer-info, .footer-contact { flex: 1; min-width: 250px; }

.footer-info h3 { color: var(--secondary-color); margin-bottom: 15px; font-size: 1.5rem; }
.footer-info p { opacity: 0.9; margin-bottom: 5px; }

.footer-contact h4 { margin-bottom: 20px; font-size: 1.2rem; }

.footer-contact a {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 12px;
    opacity: 0.9;
    transition: 0.3s;
}

.footer-contact a:hover { opacity: 1; color: var(--secondary-color); transform: translateX(5px); }

.copyright { text-align: center; font-size: 0.85rem; opacity: 0.8; }
.copyright a { color: var(--white); margin: 0 5px; }

/* --- Responsividade (Mobile) --- */
@media (max-width: 768px) {
    .menu-toggle { display: block; }

    .nav-links {
        position: fixed; /* Fixado para cobrir a tela */
        top: 75px;
        left: 0;
        height: calc(100vh - 75px);
        width: 100%;
        background-color: var(--white);
        flex-direction: column;
        align-items: center;
        justify-content: center;
        gap: 30px;
        transform: translateX(100%); /* Escondido na lateral */
        transition: transform 0.4s ease-in-out;
    }

    .container {
        width: 100%;
        padding-left: 20px;
        padding-right: 20px;
        overflow: hidden; /* Garante que nada saia do container */
    }

    /* Garante que a imagem nunca seja maior que a tela */
    .hero-img img {
        max-width: 100%;
        height: auto;
    }

    /* Ajuste do Footer para Celular */
    .footer-content {
        flex-direction: column; /* Empilha um bloco em cima do outro */
        gap: 30px; /* Diminui o espaço entre os blocos */
        text-align: center; /* Centraliza o texto */
        padding-bottom: 20px;
    }

    .footer-info, .footer-contact {
        min-width: auto; /* Remove a largura mínima obrigatória */
        width: 100%; /* Garante que use a largura disponível */
    }

    /* Centraliza os links de contato (WhatsApp/Instagram) */
    .footer-contact p {
        justify-content: center; 
    }
    
    .footer-contact a {
        justify-content: center;
    }

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

    .nav-links li { font-size: 1.2rem; }

    .hero-content { flex-direction: column; text-align: center; gap: 40px; }
    
    .hero-text h1 { font-size: 2.2rem; }
    .hero-text p { margin: 0 auto 30px; }
    
    .hero-img { justify-content: center; }
    
    .stats { flex-direction: column; gap: 30px; }
    
    .about-content-align { text-align: center; } /* No mobile, centralizado pode ficar ok */
    
    .card { text-align: center; }
}