@import url('https://fonts.googleapis.com/css2?family=Montserrat:wght@400;600;700&family=Open+Sans:wght@400;600&display=swap');

:root {
    --primary-color: #1c1c1c;
    --secondary-color: #f4f4f4;
    --accent-color: #2e7d32; /* Verde agro */
    --whatsapp-color: #25D366;
    --whatsapp-hover: #1ebd5a;
    --text-color: #333333;
    --text-light: #777777;
    --white: #ffffff;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Open Sans', sans-serif;
    color: var(--text-color);
    line-height: 1.6;
    background-color: var(--white);
}

h1, h2, h3, h4 {
    font-family: 'Montserrat', sans-serif;
    color: var(--primary-color);
}

.container {
    width: 90%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 60px 0;
}

a {
    text-decoration: none;
    color: inherit;
    transition: color 0.3s ease;
}

/* Header */
header {
    background-color: var(--white);
    box-shadow: 0 4px 12px rgba(0,0,0,0.05);
    position: sticky;
    top: 0;
    z-index: 1000;
}

.header-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 15px 0;
}

.logo img {
    height: 85px;
    object-fit: contain;
}

nav ul {
    list-style: none;
    display: flex;
    gap: 30px;
}

nav a {
    font-weight: 600;
    font-size: 0.95rem;
    text-transform: uppercase;
    letter-spacing: 1px;
}

nav a:hover {
    color: var(--accent-color);
}

/* Botão Menu Mobile (escondido no Desktop) */
.mobile-menu-btn {
    display: none;
    background: none;
    border: none;
    font-size: 1.8rem;
    color: var(--primary-color);
    cursor: pointer;
    padding: 5px;
}

/* Botão WhatsApp Topo */
.btn-whatsapp-header {
    background-color: var(--whatsapp-color);
    color: var(--white);
    padding: 10px 20px;
    border-radius: 30px;
    font-weight: 600;
    font-size: 0.9rem;
    display: flex;
    align-items: center;
    gap: 8px;
    transition: all 0.3s ease;
    box-shadow: 0 4px 10px rgba(37, 211, 102, 0.3);
}

.btn-whatsapp-header:hover {
    background-color: var(--whatsapp-hover);
    transform: scale(1.05);
    color: var(--white);
}

/* Hero Section */
#hero {
    height: 75vh;
    background-size: cover;
    background-position: center;
    display: flex;
    align-items: center;
    color: var(--white);
}

.hero-content {
    max-width: 700px;
}

.hero-content h1 {
    font-size: 3.5rem;
    color: var(--white);
    line-height: 1.2;
    margin-bottom: 20px;
}

.hero-content p {
    font-size: 1.2rem;
    margin-bottom: 35px;
    opacity: 0.9;
}

.btn {
    display: inline-block;
    padding: 15px 35px;
    background-color: var(--accent-color);
    color: var(--white);
    border-radius: 4px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    transition: background-color 0.3s ease, transform 0.2s ease;
}

.btn:hover {
    background-color: #1b5e20;
    transform: translateY(-2px);
}

/* General Sections */
.section-title {
    text-align: center;
    font-size: 2.5rem;
    margin-bottom: 20px;
    position: relative;
    padding-bottom: 15px;
}

.section-title::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 60px;
    height: 3px;
    background-color: var(--accent-color);
}

.section-subtitle {
    text-align: center;
    color: var(--text-light);
    margin-bottom: 50px;
    font-size: 1.1rem;
}

.bg-light {
    background-color: var(--secondary-color);
}

/* Sobre */
.sobre-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 50px;
    align-items: center;
}

.sobre-text h2 {
    font-size: 2.2rem;
    margin-bottom: 20px;
}

.sobre-text p {
    font-size: 1.1rem;
    color: var(--text-light);
}

.sobre-img img {
    width: 100%;
    border-radius: 8px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
}

/* Serviços (5 colunas lado a lado no desktop grande) */
.servicos-grid {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 20px;
}

.servico-card {
    background-color: var(--white);
    padding: 30px 20px;
    border-radius: 8px;
    text-align: center;
    box-shadow: 0 5px 20px rgba(0,0,0,0.05);
    transition: transform 0.3s ease;
    border-bottom: 4px solid transparent;
}

.servico-card:hover {
    transform: translateY(-10px);
    border-bottom: 4px solid var(--accent-color);
}

.servico-card i {
    font-size: 2.5rem;
    color: var(--accent-color);
    margin-bottom: 20px;
}

.servico-card h3 {
    margin-bottom: 15px;
    font-size: 1.1rem;
}

.servico-card p {
    font-size: 0.9rem;
    color: var(--text-light);
}

/* Equipe */
.equipe-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 20px;
}

.equipe-card {
    background-color: var(--white);
    border: 1px solid #eaeaea;
    padding: 30px 15px;
    border-radius: 12px;
    text-align: center;
    box-shadow: 0 4px 15px rgba(0,0,0,0.03);
    transition: all 0.3s ease;
}

.equipe-card:hover {
    box-shadow: 0 10px 25px rgba(0,0,0,0.1);
    transform: translateY(-5px);
    border-color: var(--accent-color);
}

.equipe-avatar {
    width: 75px;
    height: 75px;
    background-color: var(--secondary-color);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 20px;
    color: var(--accent-color);
    font-size: 2.2rem;
}

.equipe-card h3 {
    margin-bottom: 20px;
    font-size: 1.1rem;
    min-height: 55px; /* Alinha os botões caso o nome quebre linha */
    display: flex;
    align-items: center;
    justify-content: center;
}

.equipe-links {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.btn-sm {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 10px 12px;
    border-radius: 6px;
    font-size: 0.8rem;
    font-weight: 600;
    width: 100%;
    transition: background 0.3s ease, color 0.3s ease;
}

.btn-wa {
    background-color: var(--whatsapp-color);
    color: var(--white);
}

.btn-wa:hover {
    background-color: var(--whatsapp-hover);
    color: var(--white);
}

.btn-email {
    background-color: var(--secondary-color);
    color: var(--text-color);
}

.btn-email:hover {
    background-color: #e0e0e0;
}

/* Footer */
footer {
    background-color: var(--primary-color);
    color: var(--white);
    padding-top: 60px;
}

.footer-grid {
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: 50px;
    padding-bottom: 40px;
}

.footer-logo {
    height: 110px;
    margin-bottom: 25px;
    object-fit: contain;
}

.footer-info p {
    margin-bottom: 15px;
    display: flex;
    align-items: center;
    gap: 15px;
    color: #cccccc;
}

.footer-info i {
    color: var(--accent-color);
    font-size: 1.2rem;
}

.btn-whatsapp-footer {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    background-color: var(--whatsapp-color);
    color: var(--white);
    padding: 12px 25px;
    border-radius: 30px;
    font-weight: 600;
    transition: background-color 0.3s ease;
}

.btn-whatsapp-footer:hover {
    background-color: var(--whatsapp-hover);
    color: var(--white);
}

.footer-social h3 {
    color: var(--white);
    margin-bottom: 25px;
    font-size: 1.3rem;
}

.social-links {
    display: flex;
    flex-direction: column;
    gap: 15px;
    margin-bottom: 30px;
}

.social-links a, .webmail-link a {
    display: flex;
    align-items: center;
    gap: 10px;
    color: #cccccc;
}

.social-links a:hover, .webmail-link a:hover {
    color: var(--white);
}

.footer-bottom {
    background-color: #111111;
    text-align: center;
    padding: 25px;
}

.footer-bottom p {
    color: #888888;
    font-size: 0.9rem;
}

.credits {
    margin-top: 10px;
    font-size: 0.85rem;
}

.credits strong {
    color: var(--white);
}

/* Responsive Design */
@media (max-width: 1200px) {
    .servicos-grid {
        grid-template-columns: repeat(3, 1fr);
    }
}

@media (max-width: 992px) {
    .sobre-grid {
        grid-template-columns: 1fr;
        text-align: center;
    }
    .footer-grid {
        grid-template-columns: 1fr;
    }
    .servicos-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 768px) {
    .header-container {
        padding: 15px 0;
        position: relative;
        display: flex;
        justify-content: space-between;
        align-items: center;
    }

    .mobile-menu-btn {
        display: block;
        order: 3; /* Fica por último no header */
    }

    .btn-whatsapp-header {
        order: 2; /* Fica no meio, entre o logo e o botão do menu */
        margin-left: auto;
        margin-right: 15px;
        font-size: 0.8rem;
        padding: 8px 14px;
    }

    .logo {
        order: 1; /* Fica na esquerda */
    }

    nav {
        display: none;
        position: absolute;
        top: 100%;
        left: 0;
        width: 100%;
        background-color: var(--white);
        box-shadow: 0 10px 20px rgba(0,0,0,0.1);
        padding: 20px 0;
        border-top: 1px solid #eee;
    }

    nav.active {
        display: block;
    }

    nav ul {
        flex-direction: column;
        align-items: center;
        gap: 20px;
    }

    .hero-content h1 {
        font-size: 2.2rem;
    }
    .hero-content p {
        font-size: 1rem;
    }

    .servicos-grid {
        grid-template-columns: 1fr;
    }
}
