/* Definições Globais e Paleta de Cores */
:root {
    --verde-principal: #2a5a3a;
    --verde-secundario: #89b394;
    --cinza-texto: #333333;
    --cinza-fundo: #f4f4f4;
    --branco: #ffffff;
    --font-principal: 'Roboto', sans-serif;
    --font-titulos: 'Poppins', sans-serif;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    scroll-behavior: smooth;
}

body {
    font-family: var(--font-principal);
    color: var(--cinza-texto);
    line-height: 1.6;
}

.container {
    max-width: 1100px;
    margin: 0 auto;
    padding: 0 20px;
}

h1, h2, h3 {
    font-family: var(--font-titulos);
    color: var(--verde-principal);
}

h2 {
    text-align: center;
    font-size: 2.5rem;
    margin-bottom: 40px;
}

section {
    padding: 60px 0;
}

.bg-light {
    background-color: var(--cinza-fundo);
}

/* Header */
header {
    background-color: var(--branco);
    padding: 15px 0;
    position: fixed;
    width: 100%;
    top: 0;
    z-index: 1000;
    box-shadow: 0 2px 5px rgba(0,0,0,0.1);
}

header .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

header .logo {
    height: 50px;
}

header nav ul {
    list-style: none;
    display: flex;
    align-items: center;
}

header nav ul li {
    margin-left: 25px;
}

header nav ul li a {
    text-decoration: none;
    color: var(--cinza-texto);
    font-weight: bold;
    transition: color 0.3s ease;
}

header nav ul li a:hover {
    color: var(--verde-principal);
}

.btn-contato {
    background-color: var(--verde-principal);
    color: var(--branco) !important;
    padding: 10px 20px;
    border-radius: 5px;
    transition: background-color 0.3s ease;
}

.btn-contato:hover {
    background-color: var(--verde-secundario);
    color: var(--branco) !important;
}

/* Hero Section */
.hero {
    background: linear-gradient(rgba(0, 0, 0, 0.5), rgba(0, 0, 0, 0.5)), url('https://images.unsplash.com/photo-1517430816045-df4b7de11d1d') no-repeat center center/cover;
    color: var(--branco);
    height: 100vh;
    display: flex;
    align-items: center;
    text-align: center;
    padding-top: 80px; /* Para não ficar atrás do header */
}

.hero h1 {
    font-size: 3.5rem;
    color: var(--branco);
    margin-bottom: 20px;
}

.hero p {
    font-size: 1.2rem;
    margin-bottom: 30px;
}

.btn-principal {
    background-color: var(--verde-principal);
    color: var(--branco);
    padding: 15px 30px;
    border-radius: 5px;
    text-decoration: none;
    font-size: 1.1rem;
    font-weight: bold;
    transition: background-color 0.3s ease;
}

.btn-principal:hover {
    background-color: var(--verde-secundario);
}


/* Serviços */
.servicos-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
    text-align: center;
}

.servico-card {
    background-color: #fff;
    padding: 30px;
    border-radius: 8px;
    box-shadow: 0 4px 10px rgba(0,0,0,0.08);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.servico-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 8px 20px rgba(0,0,0,0.12);
}

.servico-card i {
    font-size: 3rem;
    color: var(--verde-principal);
    margin-bottom: 20px;
}

.servico-card h3 {
    margin-bottom: 15px;
    font-size: 1.5rem;
}

/* Sobre */
#sobre .container {
    max-width: 800px;
    text-align: center;
}

/* Seção de Depoimentos */
#depoimentos {
    background-color: var(--branco);
}

.depoimentos-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
}

.depoimento-card {
    background-color: var(--cinza-fundo);
    padding: 30px;
    border-radius: 8px;
    border-left: 5px solid var(--verde-principal);
    box-shadow: 0 4px 10px rgba(0,0,0,0.05);
}

.depoimento-card p {
    font-style: italic;
    margin-bottom: 20px;
    position: relative;
}

/* Adiciona aspas estilizadas */
.depoimento-card p::before {
    content: '“';
    font-size: 3rem;
    color: var(--verde-secundario);
    position: absolute;
    left: -15px;
    top: -10px;
    opacity: 0.5;
}

.depoimento-card h4 {
    font-family: var(--font-titulos);
    color: var(--verde-principal);
    margin-bottom: 0;
}

.depoimento-card span {
    font-size: 0.9rem;
    color: #777;
}

/* Contato */
#contato form {
    max-width: 600px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
}

#contato input,
#contato textarea {
    width: 100%;
    padding: 12px;
    margin-bottom: 15px;
    border: 1px solid #ccc;
    border-radius: 5px;
    font-family: var(--font-principal);
    font-size: 1rem;
}

#contato label {
    margin-bottom: 5px;
    font-weight: bold;
}

#contato button {
    cursor: pointer;
    border: none;
}

/* Footer */
footer {
    background-color: var(--cinza-texto);
    color: var(--branco);
    text-align: center;
    padding: 20px 0;
}

/* Botão Flutuante do WhatsApp */
.whatsapp-float {
    position: fixed;
    width: 60px;
    height: 60px;
    bottom: 40px;
    right: 40px;
    background-color: #25d366; /* Cor oficial do WhatsApp */
    color: #FFF;
    border-radius: 50px;
    text-align: center;
    font-size: 30px;
    box-shadow: 2px 2px 3px #999;
    z-index: 100;
    transition: transform 0.3s ease;
}

.whatsapp-float i {
    margin-top: 15px;
}

.whatsapp-float:hover {
    transform: scale(1.1);
}

/* Responsividade para Celulares */
@media (max-width: 768px) {
    h2 {
        font-size: 2rem;
    }

    header .container {
        flex-direction: column;
    }
    
    header .logo {
        margin-bottom: 15px;
    }

    header nav ul {
        padding: 0;
    }
    
    header nav ul li {
        margin: 0 10px;
    }
    
    .hero {
        height: auto;
        padding: 120px 0 60px 0;
    }

    .hero h1 {
        font-size: 2.5rem;
    }
    
    /* Ajuste para o botão do WhatsApp em telas menores */
    .whatsapp-float {
        width: 50px;
        height: 50px;
        bottom: 20px;
        right: 20px;
        font-size: 24px;
    }
    .whatsapp-float i {
        margin-top: 13px;
    }
    
    #contato {
        padding-bottom: 100px; /* Garante que o formulário não fique atrás do botão */
    }
}
