/* --- VARIÁVEIS E RESET --- */
:root {
    --primary-green: #2E7D32;
    /* Verde Folha Forte */
    --dark-green: #1B5E20;
    /* Verde Escuro */
    --light-green: #E8F5E9;
    /* Verde Claro Fundo */
    --earth-brown: #5D4037;
    /* Marrom Terra */
    --accent-lime: #C6FF00;
    /* Verde Lima (Destaque) */
    --white: #ffffff;
    --text-dark: #333333;
    --text-gray: #666666;

    --shadow: 0 10px 30px rgba(46, 125, 50, 0.15);
    --card-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    --radius: 12px;
    --gradient: linear-gradient(135deg, var(--primary-green), var(--dark-green));
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    outline: none;
    text-decoration: none;
    list-style: none;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Lato', sans-serif;
    background-color: #FAFAFA;
    color: var(--text-dark);
    line-height: 1.6;
    overflow-x: hidden;
}

h1,
h2,
h3,
h4 {
    font-family: 'Montserrat', sans-serif;
    font-weight: 700;
    color: var(--dark-green);
}

/* --- UTILITÁRIOS --- */
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

.section-padding {
    padding: 90px 0;
}

.text-center {
    text-align: center;
}

/* Títulos de Seção Estilizados */
.section-header {
    text-align: center;
    margin-bottom: 60px;
    position: relative;
}

.section-header h2 {
    font-size: 2.8rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 15px;
    display: inline-block;
    position: relative;
}

.section-header h2::before {
    content: '';
    position: absolute;
    width: 50%;
    height: 4px;
    background: var(--accent-lime);
    bottom: -10px;
    left: 25%;
    border-radius: 2px;
}

.section-header p {
    color: var(--text-gray);
    font-size: 1.1rem;
    max-width: 600px;
    margin: 0 auto;
}

/* Botões */
.btn {
    display: inline-block;
    padding: 14px 35px;
    background: var(--gradient);
    color: var(--white);
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
    border-radius: 50px;
    transition: all 0.3s ease;
    border: 2px solid transparent;
    cursor: pointer;
    box-shadow: 0 5px 15px rgba(46, 125, 50, 0.3);
}

.btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 20px rgba(46, 125, 50, 0.4);
    background: var(--dark-green);
}

.btn-outline {
    background: transparent;
    border: 2px solid var(--white);
    color: var(--white);
    box-shadow: none;
}

.btn-outline:hover {
    background: var(--white);
    color: var(--primary-green);
}

/* --- HEADER --- */
header {
    background: var(--white);
    box-shadow: 0 2px 20px rgba(0, 0, 0, 0.05);
    position: fixed;
    width: 100%;
    top: 0;
    z-index: 1000;
    height: 80px;
    display: flex;
    align-items: center;
}

.navbar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    width: 100%;
}

.logo {
    font-family: 'Montserrat', sans-serif;
    font-size: 1.8rem;
    font-weight: 800;
    color: var(--primary-green);
    display: flex;
    align-items: center;
    gap: 10px;
}

.logo i {
    color: var(--accent-lime);
    text-shadow: 0 0 2px rgba(0, 0, 0, 0.2);
}

.nav-links {
    display: flex;
    gap: 30px;
}

.nav-links a {
    color: var(--text-dark);
    font-weight: 600;
    font-size: 0.95rem;
    text-transform: uppercase;
    transition: color 0.3s;
    position: relative;
}

.nav-links a::after {
    content: '';
    position: absolute;
    width: 0;
    height: 2px;
    bottom: -5px;
    left: 0;
    background-color: var(--primary-green);
    transition: width 0.3s;
}

.nav-links a:hover {
    color: var(--primary-green);
}

.nav-links a:hover::after {
    width: 100%;
}

.hamburger {
    display: none;
    cursor: pointer;
    font-size: 1.5rem;
    color: var(--primary-green);
}

/* --- HERO SECTION --- */
.hero {
    height: 100vh;
    background: linear-gradient(rgba(0, 0, 0, 0.4), rgba(0, 0, 0, 0.4)), url('https://images.unsplash.com/photo-1558904541-efa843a96f01?q=80&w=2069&auto=format&fit=crop');
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    color: var(--white);
    padding-top: 80px;
}

.hero-content {
    max-width: 900px;
    animation: fadeIn 1s ease-out;
    padding: 20px;
    background: rgba(0, 0, 0, 0.2);
    /* Legibilidade extra */
    border-radius: var(--radius);
    backdrop-filter: blur(2px);
}

.hero h3 {
    font-family: 'Lato', sans-serif;
    color: var(--accent-lime);
    text-transform: uppercase;
    letter-spacing: 2px;
    font-size: 1.2rem;
    margin-bottom: 10px;
}

.hero h1 {
    font-size: 4rem;
    line-height: 1.1;
    margin-bottom: 25px;
    color: var(--white);
    text-shadow: 0 4px 10px rgba(0, 0, 0, 0.5);
}

.hero p {
    font-size: 1.2rem;
    margin-bottom: 35px;
    color: #f0f0f0;
}

/* --- SERVIÇOS (Grid) --- */
.services {
    background-color: var(--light-green);
    position: relative;
}

/* Elemento decorativo de folha */
.services::before {
    content: '\f4d8';
    font-family: 'Font Awesome 6 Free';
    font-weight: 900;
    position: absolute;
    top: -30px;
    right: 10%;
    font-size: 10rem;
    color: var(--primary-green);
    opacity: 0.05;
    z-index: 0;
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 30px;
    position: relative;
    z-index: 1;
}

.service-card {
    background: var(--white);
    padding: 40px 30px;
    border-radius: var(--radius);
    box-shadow: var(--card-shadow);
    transition: all 0.3s ease;
    border-bottom: 4px solid transparent;
    text-align: center;
}

.service-card:hover {
    transform: translateY(-10px);
    border-bottom-color: var(--primary-green);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.1);
}

.service-icon {
    width: 80px;
    height: 80px;
    background: var(--light-green);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 25px;
    font-size: 2.5rem;
    color: var(--primary-green);
    transition: all 0.3s;
}

.service-card:hover .service-icon {
    background: var(--primary-green);
    color: var(--white);
}

.service-card h3 {
    font-size: 1.4rem;
    margin-bottom: 15px;
}

.service-card p {
    color: var(--text-gray);
    font-size: 0.95rem;
}

/* --- GALERIA / PROJETOS --- */
.gallery {
    background: var(--white);
}

.gallery-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 20px;
}

.gallery-item {
    position: relative;
    overflow: hidden;
    border-radius: var(--radius);
    height: 300px;
    cursor: pointer;
}

.gallery-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.gallery-overlay {
    position: absolute;
    bottom: -100%;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(to top, rgba(27, 94, 32, 0.9), transparent);
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    padding: 30px;
    transition: bottom 0.4s ease;
}

.gallery-item:hover img {
    transform: scale(1.1);
}

.gallery-item:hover .gallery-overlay {
    bottom: 0;
}

.gallery-overlay h4 {
    color: var(--white);
    font-size: 1.3rem;
    margin-bottom: 5px;
}

.gallery-overlay p {
    color: var(--accent-lime);
    font-size: 0.9rem;
}

/* --- SOBRE (Com imagem lateral) --- */
.about {
    background-color: var(--white);
}

.about-container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
}

.about-img {
    position: relative;
}

.about-img img {
    width: 100%;
    border-radius: var(--radius);
    box-shadow: var(--shadow);
}

/* Moldura pontilhada decorativa */
.about-img::after {
    content: '';
    position: absolute;
    top: 20px;
    left: -20px;
    width: 100%;
    height: 100%;
    border: 3px dashed var(--primary-green);
    border-radius: var(--radius);
    z-index: -1;
}

.about-content h2 {
    font-size: 2.5rem;
    margin-bottom: 20px;
}

.about-content p {
    color: var(--text-gray);
    margin-bottom: 20px;
    font-size: 1.05rem;
}

.stats {
    display: flex;
    gap: 30px;
    margin-top: 30px;
}

.stat-item h3 {
    font-size: 2.5rem;
    color: var(--primary-green);
    margin-bottom: 5px;
}

.stat-item p {
    font-size: 0.9rem;
    font-weight: 700;
    text-transform: uppercase;
}

/* --- LOCALIZAÇÃO & CONTATO --- */
.contact {
    background-color: #263238;
    /* Cinza Escuro Azulado */
    color: var(--white);
}

.contact h2 {
    color: var(--white);
}

.contact p {
    color: #cfcfcf;
}

.contact-wrapper {
    display: grid;
    grid-template-columns: 1fr 1.5fr;
    gap: 50px;
}

.contact-info {
    padding: 20px;
}

.info-box {
    display: flex;
    margin-bottom: 30px;
    align-items: flex-start;
}

.info-box i {
    font-size: 1.5rem;
    color: var(--accent-lime);
    margin-right: 20px;
    margin-top: 5px;
}

.info-box h4 {
    color: var(--white);
    margin-bottom: 5px;
    font-size: 1.1rem;
}

.map-box {
    height: 400px;
    border-radius: var(--radius);
    overflow: hidden;
    border: 4px solid rgba(255, 255, 255, 0.1);
}

.map-box iframe {
    width: 100%;
    height: 100%;
    border: 0;
}

/* --- FOOTER --- */
footer {
    background: #1a2226;
    color: #888;
    padding: 50px 0 20px;
    text-align: center;
}

.footer-logo {
    font-family: 'Montserrat', sans-serif;
    font-size: 1.8rem;
    color: var(--white);
    font-weight: 800;
    margin-bottom: 10px;
}

.footer-logo span {
    color: var(--primary-green);
}

.footer-cnpj {
    font-family: monospace;
    font-size: 0.9rem;
    margin-bottom: 20px;
}

.social-icons a {
    color: var(--white);
    font-size: 1.4rem;
    margin: 0 10px;
    transition: color 0.3s;
}

.social-icons a:hover {
    color: var(--accent-lime);
}

.copyright {
    margin-top: 30px;
    padding-top: 20px;
    border-top: 1px solid #333;
    font-size: 0.8rem;
}

/* --- BOTÃO WHATSAPP --- */
.whatsapp-btn {
    position: fixed;
    bottom: 30px;
    right: 30px;
    background-color: #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 15px rgba(0, 0, 0, 0.4);
    z-index: 2000;
    transition: transform 0.3s;
}

.whatsapp-btn:hover {
    transform: scale(1.1);
}

/* --- RESPONSIVIDADE --- */
@media (max-width: 992px) {
    .hero h1 {
        font-size: 3rem;
    }

    .about-container,
    .contact-wrapper {
        grid-template-columns: 1fr;
    }

    .about-img {
        margin-bottom: 40px;
    }

    .about-img::after {
        display: none;
    }
}

@media (max-width: 768px) {
    .navbar .nav-links {
        position: absolute;
        top: 80px;
        left: 0;
        width: 100%;
        background: var(--white);
        flex-direction: column;
        align-items: center;
        padding: 30px 0;
        box-shadow: 0 10px 20px rgba(0, 0, 0, 0.1);
        transform: translateY(-150%);
        transition: transform 0.4s ease;
    }

    .navbar .nav-links.active {
        transform: translateY(0);
    }

    .hamburger {
        display: block;
    }

    .hero h1 {
        font-size: 2.2rem;
    }

    .section-header h2 {
        font-size: 2rem;
    }
}

/* Animações */
@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(20px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.reveal {
    opacity: 0;
    transform: translateY(40px);
    transition: all 0.8s ease;
}

.reveal.active {
    opacity: 1;
    transform: translateY(0);
}