/* --- Variáveis & Reset --- */
:root {
    --primary: #4A5D54; /* Verde Musgo Sofisticado */
    --secondary: #438657; /* Bege Areia */
    --dark: #1A1A1A;
    --light: #d1d1d1; /* Off-white */
    --white: #ffffff;
    --gray: #666;
    --font-heading: 'Cinzel', serif;
    --font-body: 'Manrope', sans-serif;
    --shadow: 0 10px 30px rgba(0,0,0,0.08);
}

* { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; }

body {
    font-family: var(--font-body);
    background-color: var(--white);
    color: var(--dark);
    line-height: 1.6;
    overflow-x: hidden;
}

/* --- Utils --- */
.container { max-width: 1200px; margin: 0 auto; padding: 0 20px; }
.narrow { max-width: 800px; }
.section-padding { padding: 100px 0; }
.bg-light { background-color: var(--light); }
.bg-dark { background: var(--primary); color: var(--white); }
.center { text-align: center; }

h1, h2, h3 { font-family: var(--font-heading); color: var(--primary); font-weight: 600; }
h2.center { color: var(--primary); }
p { color: var(--gray); font-size: 1.05rem; }

/* Correção de cor para título em seção escura */
.bg-dark h2, .bg-dark .tagline, .bg-dark p {
    color: var(--white);
}
.bg-dark p {
    color: #ccc;
}


/* --- Navbar --- */
.navbar {
    position: fixed; top: 0; width: 100%; z-index: 1000;
    background: rgba(255, 255, 255, 0.9);
    backdrop-filter: blur(10px);
    border-bottom: 1px solid rgba(0,0,0,0.05);
    padding: 15px 0;
}
.nav-flex { display: flex; justify-content: space-between; align-items: center; }
.logo { font-family: var(--font-heading); font-size: 1.8rem; text-decoration: none; color: var(--primary); font-weight: 700; }
.logo span { color: var(--secondary); }

.nav-list { list-style: none; display: flex; gap: 30px; align-items: center; }
.nav-list a { text-decoration: none; color: var(--dark); font-weight: 500; transition: 0.3s; }
.nav-list a:hover { color: var(--secondary); }

.btn-nav {
    background: var(--primary); color: var(--white) !important;
    padding: 10px 25px; border-radius: 50px;
}
.btn-nav:hover { background: var(--secondary); color: var(--dark) !important; }

/* Menu Hambúrguer (Mobile) */
.menu-toggle { display: none; cursor: pointer; }
.bar { display: block; width: 25px; height: 3px; background: var(--dark); margin: 5px auto; transition: 0.3s; }

/* --- Hero Section --- */
.hero {
    height: 100vh;
    background: url('https://images.unsplash.com/photo-1518531933037-91b2f5f229cc?q=80&w=1527&auto=format&fit=crop') no-repeat center center/cover;
    background-attachment: fixed;
    display: flex; align-items: center; justify-content: center;
    text-align: center; position: relative;
}
.hero-overlay {
    position: absolute; inset: 0;
    background: linear-gradient(rgba(0,0,0,0.2), rgba(0,0,0,0.4));
}
.hero-content { position: relative; z-index: 2; color: var(--white); max-width: 800px; padding: 20px; }
.hero h1 { color: var(--white); font-size: 2.7rem; margin-bottom: 20px; line-height: 1.2; }
.hero p { color: #f0f0f0; font-size: 1.2rem; margin-bottom: 40px; }

.btn-primary, .btn-secondary {
    display: inline-block; padding: 15px 35px; border-radius: 5px;
    text-decoration: none; font-weight: 600; margin: 0 10px; transition: 0.3s;
}
.btn-primary { background: var(--secondary); color: var(--dark); }
.btn-primary:hover { background: var(--white); }
.btn-secondary { border: 2px solid var(--white); color: var(--white); }
.btn-secondary:hover { background: var(--white); color: var(--dark); }

/* --- Sobre & Grid --- */
.grid-2 { display: grid; grid-template-columns: 1fr 1fr; gap: 60px; align-items: center; }
.about-image { position: relative; }
.about-image img { width: 100%; border-radius: 10px; box-shadow: var(--shadow); }
.experience-badge {
    position: absolute; bottom: -30px; right: -30px;
    background: var(--white); padding: 20px; border-radius: 10px;
    box-shadow: var(--shadow); display: flex; align-items: center; gap: 15px;
}
.experience-badge span { font-size: 2rem; font-weight: 700; color: var(--secondary); font-family: var(--font-heading); }
.experience-badge p { font-size: 0.8rem; margin: 0; line-height: 1.2; font-weight: 600; color: var(--dark); }

.tagline { text-transform: uppercase; letter-spacing: 2px; color: var(--secondary); font-size: 0.85rem; font-weight: 700; display: block; margin-bottom: 10px; }
.check-list { list-style: none; margin-top: 20px; }
.check-list li { margin-bottom: 10px; display: flex; align-items: center; gap: 10px; }
.check-list i { color: var(--primary); }

/* --- Cards de Serviços --- */
.cards-wrapper { display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); gap: 30px; margin-top: 50px; }
.service-card {
    background: var(--white); padding: 40px 30px; border-radius: 10px;
    box-shadow: var(--shadow); text-align: center; transition: 0.4s;
}
.service-card:hover { transform: translateY(-10px); }
.icon-box {
    width: 70px; height: 70px; background: var(--light); color: var(--primary);
    border-radius: 50%; display: flex; align-items: center; justify-content: center;
    margin: 0 auto 20px; font-size: 1.5rem; transition: 0.3s;
}
.service-card:hover .icon-box { background: var(--primary); color: var(--white); }

/* --- FAQ (Accordion) --- */
.accordion { margin-top: 40px; }
.accordion-item { border-bottom: 1px solid #ddd; }
.accordion-header {
    width: 100%; padding: 20px 0; background: none; border: none;
    text-align: left; font-size: 1.1rem; font-weight: 600; color: var(--dark);
    cursor: pointer; display: flex; justify-content: space-between; align-items: center;
    font-family: var(--font-body);
}
.accordion-body { max-height: 0; overflow: hidden; transition: 0.4s ease; }
.accordion-body p { padding-bottom: 20px; }
.accordion-item.active .accordion-body { max-height: 150px; }
.accordion-item.active i { transform: rotate(45deg); }
.accordion-header i { transition: 0.3s; color: var(--secondary); }

/* --- 1. EQUIPE --- */
.team-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 30px;
    margin-top: 50px;
    text-align: center;
}
.team-member {
    background: var(--white);
    padding: 30px;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.05);
}
.team-member img {
    width: 120px;
    height: 120px;
    border-radius: 50%;
    object-fit: cover;
    margin-bottom: 15px;
    border: 4px solid var(--secondary);
}
.team-member h3 {
    margin-bottom: 5px;
    font-size: 1.5rem;
}
.team-member .role {
    color: var(--secondary);
    font-weight: 600;
    margin-bottom: 15px;
    font-size: 0.9rem;
}
.team-member p {
    font-size: 0.95rem;
}

/* --- 2. METODOLOGIA (Processo em Etapas) --- */
.process-steps {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    margin-top: 50px;
    position: relative;
}
/* Linha de Conexão (Apenas para desktop) */
.process-steps::before {
    content: '';
    position: absolute;
    top: 50px;
    left: 10%;
    right: 10%;
    height: 2px;
    background: var(--secondary);
    z-index: 0;
    opacity: 0.5;
}
.step-card {
    background: var(--white);
    padding: 30px;
    border-radius: 10px;
    text-align: center;
    position: relative;
    box-shadow: var(--shadow);
    z-index: 1; /* Para ficar acima da linha */
}
.step-number {
    width: 60px;
    height: 60px;
    background: var(--primary);
    color: var(--white);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-family: var(--font-heading);
    font-size: 1.8rem;
    font-weight: bold;
    margin: -60px auto 20px;
    border: 5px solid var(--white);
    box-shadow: 0 5px 10px rgba(0,0,0,0.2);
}

/* --- 3. DEPOIMENTOS --- */
.testimonials-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    margin-top: 50px;
}
.testimonial-card {
    background: rgba(255, 255, 255, 0.95);
    padding: 30px;
    border-radius: 10px;
    box-shadow: var(--shadow);
}
.testimonial-card p {
    font-style: italic;
    color: var(--dark);
    margin-bottom: 15px;
    font-size: 1rem;
}
.testimonial-card cite {
    display: block;
    text-align: right;
    font-weight: 600;
    color: var(--secondary);
    font-size: 0.9rem;
}

/* --- 4. BLOG PREVIEW --- */
.blog-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    margin-top: 50px;
}
.blog-post {
    display: block;
    background: var(--white);
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 5px 15px rgba(0,0,0,0.05);
    text-decoration: none;
    transition: 0.3s;
}
.blog-post:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 25px rgba(0,0,0,0.1);
}
.blog-post img {
    width: 100%;
    height: 200px;
    object-fit: cover;
}
.blog-post h4 {
    color: var(--primary);
    padding: 15px;
    font-size: 1.1rem;
}
.blog-post .date {
    color: var(--gray);
    padding: 0 15px 15px;
    font-size: 0.85rem;
}

/* --- WhatsApp Pulsante --- */
.whatsapp-btn {
    position: fixed; bottom: 30px; right: 30px; background: #25d366; color: white;
    width: 60px; height: 60px; border-radius: 50%; display: flex; align-items: center;
    justify-content: center; font-size: 30px; box-shadow: 0 4px 10px rgba(0,0,0,0.3);
    z-index: 1000; transition: 0.3s; animation: pulse 2s infinite;
}
@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); }
}

/* --- Footer --- */
footer { background: var(--dark); color: var(--white); padding: 60px 0 20px; }
.footer-content { display: grid; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); gap: 40px; margin-bottom: 40px; }
.footer-col h3 { color: var(--white); margin-bottom: 15px; }
.footer-col h4 { color: var(--secondary); margin-bottom: 15px; font-family: var(--font-body); }
.footer-col p { color: #aaa; }
.social-links a { color: var(--white); font-size: 1.2rem; margin-right: 15px; transition: 0.3s; }
.social-links a:hover { color: var(--secondary); }
.footer-bottom { text-align: center; border-top: 1px solid #333; padding-top: 20px; color: #666; font-size: 0.9rem; }

/* --- Animação ao Scroll (Reveal) --- */
.reveal { opacity: 0; transform: translateY(50px); transition: all 0.8s ease; }
.reveal.active { opacity: 1; transform: translateY(0); }

/* --- Responsivo --- */
@media (max-width: 768px) {
    .menu-toggle { display: block; z-index: 1001; }
    .menu-toggle.active .bar:nth-child(1) { transform: rotate(-45deg) translate(-5px, 6px); }
    .menu-toggle.active .bar:nth-child(2) { opacity: 0; }
    .menu-toggle.active .bar:nth-child(3) { transform: rotate(45deg) translate(-5px, -6px); }

    .nav-list {
        position: fixed; top: 0; right: -100%; width: 70%; height: 100vh;
        background: var(--white); flex-direction: column; justify-content: center;
        transition: 0.4s; box-shadow: -5px 0 15px rgba(0,0,0,0.1);
    }
    .nav-list.active { right: 0; }
    
    .hero h1 { font-size: 2.5rem; }
    .grid-2 { grid-template-columns: 1fr; }
    .experience-badge { right: 0; bottom: -20px; }
    
    /* Quebra o processo em linha para mobile */
    .process-steps::before {
        display: none;
    }
    .process-steps {
        grid-template-columns: 1fr;
    }
    .step-card {
        margin-top: 40px;
        padding-top: 60px;
    }
    .step-number {
        margin: -60px auto 10px;
    }
    .team-grid, .testimonials-grid, .blog-grid {
        grid-template-columns: 1fr;
    }
}