/* --- CONFIGURAÇÕES GERAIS E CORES --- */
:root {
    --verde-escuro: #0e2f26;
    --verde-claro: #4CAF50;
    --dourado: #cbbb68;
    --fundo-site: #f4f6f8;
    --branco: #ffffff;
    --texto-escuro: #333333;
    --texto-cinza: #666666;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Poppins', sans-serif;
}

body {
    background-color: var(--fundo-site);
    color: var(--texto-escuro);
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* --- 1. CABEÇALHO --- */
header {
    background-color: var(--verde-escuro);
    padding: 15px 0;
    position: relative;
    z-index: 200;
}

.header-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    display: flex;
    align-items: center;
    gap: 10px;
    flex-shrink: 0;
}

.logo h2 {
    color: var(--branco);
    font-size: 1.5rem;
}

.logo img {
    height: 50px;
    width: auto;
}

.logo .destaque {
    color: var(--dourado);
}

nav ul {
    list-style: none;
    display: flex;
    gap: 10px;
    flex-direction: row;
    justify-content: center;
    padding: 0;
    margin: 0;
}

nav a {
    text-decoration: none;
    color: #e0e0e0;
    font-size: 0.95rem;
    padding: 8px 6px;
    border-radius: 4px;
    transition: background 0.2s;
}

nav a:hover {
    background: var(--verde-claro);
    color: var(--branco);
}

.btn-orcamento {
    background-color: var(--verde-claro);
    color: var(--branco);
    padding: 10px 25px;
    border-radius: 5px;
    text-decoration: none;
    font-weight: 600;
    transition: 0.3s;
    white-space: nowrap;
    flex-shrink: 0;
}

.btn-orcamento:hover {
    background-color: #3e8e41;
}

/* Ícone hambúrguer — escondido no desktop */
.mobile-menu-icon {
    display: none;
    cursor: pointer;
    color: var(--branco);
    font-size: 1.6rem;
    padding: 5px;
    flex-shrink: 0;
}

/* --- 2. SESSÃO HERO --- */
.hero {
    padding: 80px 0;
    display: flex;
    align-items: center;
}

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

.hero-text {
    flex: 1;
}

.hero-text h1 {
    font-size: 3rem;
    line-height: 1.2;
    color: var(--verde-escuro);
    margin-bottom: 20px;
}

.hero-text p {
    font-size: 1rem;
    color: var(--texto-cinza);
    margin-bottom: 30px;
    line-height: 1.6;
    max-width: 500px;
}

.hero-btns {
    display: flex;
    gap: 15px;
}

.btn-verde {
    background-color: var(--verde-claro);
    color: var(--branco);
    padding: 12px 30px;
    border-radius: 6px;
    text-decoration: none;
    font-weight: 600;
    box-shadow: 0 4px 10px rgba(76, 175, 80, 0.3);
}

.btn-outline {
    border: 2px solid var(--dourado);
    color: #8a7f45;
    padding: 12px 30px;
    border-radius: 6px;
    text-decoration: none;
    font-weight: 600;
    background-color: transparent;
}

.btn-outline:hover {
    background-color: var(--dourado);
    color: white;
}

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

.hero-img img {
    max-width: 100%;
    height: auto;
    filter: drop-shadow(0 10px 20px rgba(0, 0, 0, 0.15));
}

/* --- 3. CARDS DE SERVIÇOS --- */
.servicos {
    padding-bottom: 80px;
    margin-top: -20px;
}

.cards-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 30px;
}

.card {
    background: var(--branco);
    padding: 40px 30px;
    border-radius: 15px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
    text-align: center;
    transition: transform 0.3s ease;
}

.card:hover {
    transform: translateY(-10px);
}

.icon-box {
    font-size: 3rem;
    color: var(--verde-claro);
    margin-bottom: 20px;
}

.card h3 {
    margin-bottom: 15px;
    color: var(--verde-escuro);
}

.card p {
    color: var(--texto-cinza);
    font-size: 0.9rem;
    margin-bottom: 25px;
    line-height: 1.5;
}

.btn-card {
    display: inline-block;
    background-color: var(--verde-escuro);
    color: white;
    padding: 10px 25px;
    border-radius: 5px;
    text-decoration: none;
    font-size: 0.9rem;
}

.btn-card:hover {
    background-color: var(--verde-claro);
}

/* --- WHATSAPP FLUTUANTE --- */
.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: 35px;
    box-shadow: 2px 2px 10px rgba(0, 0, 0, 0.2);
    text-decoration: none;
    z-index: 1000;
}

/* --- 4. SEÇÃO SOBRE --- */
.sobre {
    padding: 80px 0;
}

.sobre-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
    align-items: center;
}

.sobre-text h2 {
    color: var(--verde-escuro);
    font-size: 2rem;
    margin-bottom: 15px;
}

.sobre-text p {
    color: var(--texto-cinza);
    line-height: 1.6;
    margin-bottom: 12px;
}

.sobre-img img {
    width: 100%;
    height: auto;
    border-radius: 12px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.07);
}

/* --- 5. SEÇÃO CONTATO --- */
.contato {
    padding: 80px 0 120px 0;
}

.contato-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
    align-items: start;
}

.contato-info h2 {
    color: var(--verde-escuro);
    font-size: 1.8rem;
    margin-bottom: 12px;
}

.contato-info p {
    color: var(--texto-cinza);
    margin-bottom: 8px;
}

.contato-img {
    flex: 1;
}

.contato-img img {
    width: 100%;
    height: auto;
    border-radius: 8px;
    object-fit: cover;
}

.contato-form form {
    background: var(--branco);
    padding: 25px;
    border-radius: 12px;
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.05);
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.contato-form label {
    font-size: 0.9rem;
    color: var(--verde-escuro);
}

.contato-form input,
.contato-form textarea {
    padding: 10px 12px;
    border: 1px solid #e6e6e6;
    border-radius: 8px;
    font-size: 0.95rem;
    color: var(--texto-escuro);
}

.contato-form textarea {
    resize: vertical;
}

.contato-form button {
    align-self: flex-start;
    background-color: var(--verde-claro);
    color: var(--branco);
    padding: 10px 22px;
    border-radius: 8px;
    border: none;
    font-weight: 600;
    cursor: pointer;
}

/* Smooth scroll */
html {
    scroll-behavior: smooth;
}

/* --- ESTILOS DO FOOTER --- */
footer {
    background-color: var(--verde-escuro);
    color: #e0e0e0;
    padding-top: 70px;
    margin-top: 50px;
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 40px;
    padding-bottom: 50px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.footer-col h3 {
    color: var(--branco);
    font-size: 1.5rem;
    margin-bottom: 20px;
}

.footer-col h3 span {
    color: var(--verde-claro);
}

.footer-col h4 {
    color: var(--branco);
    font-size: 1.2rem;
    margin-bottom: 20px;
    position: relative;
}

.footer-col h4::after {
    content: '';
    position: absolute;
    left: 0;
    bottom: -8px;
    width: 30px;
    height: 3px;
    background-color: var(--verde-claro);
}

.footer-col p {
    font-size: 0.9rem;
    line-height: 1.6;
    margin-bottom: 20px;
}

.footer-col ul {
    list-style: none;
}

.footer-col ul li {
    margin-bottom: 12px;
}

.footer-col ul li a {
    color: #e0e0e0;
    text-decoration: none;
    transition: 0.3s;
    font-size: 0.95rem;
}

.footer-col ul li a:hover {
    color: var(--verde-claro);
    padding-left: 5px;
}

.contact-list li i {
    color: var(--verde-claro);
    margin-right: 10px;
    width: 20px;
}

.social-links {
    display: flex;
    gap: 15px;
}

.social-links a {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    background-color: rgba(255, 255, 255, 0.1);
    color: var(--branco);
    border-radius: 50%;
    text-decoration: none;
    transition: 0.3s;
}

.social-links a:hover {
    background-color: var(--verde-claro);
    transform: translateY(-3px);
}

.footer-bottom {
    text-align: center;
    padding: 20px 0;
    font-size: 0.85rem;
    color: #888;
}

/* ============================================
   RESPONSIVIDADE — TABLETS (max 900px)
   ============================================ */
@media (max-width: 900px) {
    .sobre-grid,
    .contato-content {
        grid-template-columns: 1fr;
    }

    .hero-text h1 {
        font-size: 2.2rem;
    }
}

/* ============================================
   RESPONSIVIDADE — CELULAR (max 768px)
   ============================================ */
@media (max-width: 768px) {

    /* HEADER */
    .header-content {
        flex-wrap: wrap;
        gap: 0;
    }

    /* Logo ocupa a esquerda, hambúrguer a direita */
    .logo {
        flex: 1;
    }

    .logo h2 {
        font-size: 1.2rem;
    }

    .logo img {
        height: 40px;
    }

    /* Botão orçamento some: o menu mobile já tem link */
    .btn-orcamento {
        display: none;
    }

    /* Ícone hambúrguer aparece */
    .mobile-menu-icon {
        display: block;
    }

    /* Nav fica abaixo do header, escondida por padrão */
    nav {
        display: none;
        width: 100%;
        background-color: var(--verde-escuro);
        border-top: 1px solid rgba(255,255,255,0.1);
    }

    /* Quando ativa (JS adiciona .open) */
    nav.open {
        display: block;
    }

    nav ul {
        flex-direction: column;
        gap: 0;
        padding: 10px 0;
    }

    nav ul li a {
        display: block;
        padding: 14px 25px;
        font-size: 1rem;
        color: #e0e0e0;
        border-bottom: 1px solid rgba(255,255,255,0.06);
    }

    nav ul li:last-child a {
        border-bottom: none;
    }

    nav ul li a:hover {
        background: rgba(76,175,80,0.15);
        color: var(--verde-claro);
    }

    /* HERO */
    .hero {
        padding: 50px 0 40px;
    }

    .hero-content {
        flex-direction: column-reverse;
        text-align: center;
        gap: 30px;
    }

    .hero-text h1 {
        font-size: 1.8rem;
    }

    .hero-text p {
        font-size: 0.95rem;
        max-width: 100%;
    }

    .hero-btns {
        justify-content: center;
        flex-wrap: wrap;
    }

    .hero-img {
        justify-content: center;
        width: 100%;
    }

    .hero-img img {
        max-width: 90%;
    }

    /* CARDS */
    .cards-grid {
        grid-template-columns: 1fr;
    }

    /* FOOTER */
    .footer-content {
        grid-template-columns: 1fr;
        text-align: center;
    }

    .footer-col h4::after {
        left: 50%;
        transform: translateX(-50%);
    }

    .social-links {
        justify-content: center;
    }

    /* WhatsApp button não sobrepõe conteúdo */
    .whatsapp-btn {
        bottom: 20px;
        right: 20px;
        width: 52px;
        height: 52px;
        font-size: 28px;
    }
}
