/* ==========================================================================
   CONFIGURAÇÕES GERAIS E VARIÁVEIS
   ========================================================================== */
:root {
    --verde-escuro: #1b5e20;
    --verde-logo: #2d7a32;
    --verde-claro: #8bc34a;
    --branco: #ffffff;
    --cinza-claro: #f4f7f4;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Segoe UI', Roboto, sans-serif;
}

html {
    scroll-behavior: smooth;
}

body {
    background-color: var(--branco);
    color: #333;
    line-height: 1.6;
}

/* ==========================================================================
   HEADER E NAVEGAÇÃO
   ========================================================================== */
header {
    background: var(--branco);
    padding: 10px 5%;
    position: fixed;
    width: 100%;
    top: 0;
    z-index: 1000;
    box-shadow: 0 2px 15px rgba(0,0,0,0.1);
    transition: all 0.3s ease;
}

nav {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo img {
    height: 70px;
    display: block;
}

.nav-links {
    display: flex;
    list-style: none;
    align-items: center;
}

.nav-links li a {
    text-decoration: none;
    color: #333;
    margin: 0 15px;
    font-weight: 600;
    transition: color 0.3s;
}

.nav-links li a:hover {
    color: var(--verde-logo);
}

.btn-destaque {
    background: var(--verde-logo);
    color: white !important;
    padding: 10px 20px;
    border-radius: 5px;
    transition: transform 0.3s ease;
}

.btn-destaque:hover {
    transform: scale(1.05);
}

/* ==========================================================================
   CARROSSEL (HERO SLIDER) - CORRIGIDO E CENTRALIZADO
   ========================================================================== */
.hero-slider {
    height: 100vh;
    width: 100%;
    position: relative;
    overflow: hidden;
}

.swiper {
    width: 100%;
    height: 100%;
}

.swiper-slide {
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    /* Centralização Total do Conteúdo */
    display: flex !important; 
    flex-direction: column;
    align-items: center; 
    justify-content: center; 
    text-align: center;
    color: white;
    padding: 0 5%;
    height: 100vh;
}

.hero-content {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    width: 100%;
    max-width: 900px;
    margin: 0 auto;
}

.hero-content h1 { 
    font-size: clamp(2.5rem, 6vw, 4rem); /* Responsivo */
    margin-bottom: 15px; 
    width: 100%;
    text-shadow: 2px 2px 10px rgba(0,0,0,0.8);
    line-height: 1.1;
}

.hero-content h2 { 
    font-weight: 300; 
    margin-bottom: 20px; 
    font-size: clamp(1.2rem, 3vw, 1.8rem);
    width: 100%;
    text-shadow: 1px 1px 5px rgba(0,0,0,0.6);
}

.hero-content p {
    margin-bottom: 20px;
    width: 100%;
    font-size: 1.1rem;
    max-width: 700px;
    text-shadow: 1px 1px 3px rgba(0,0,0,0.5);
}

/* Botão Principal dentro do Carrossel */
.cta-main {
    background: var(--verde-claro);
    color: white !important;
    padding: 18px 45px;
    text-decoration: none;
    font-weight: bold;
    border-radius: 50px;
    font-size: 1.2rem;
    transition: 0.3s ease;
    box-shadow: 0 4px 15px rgba(0,0,0,0.3);
    display: inline-block;
    /* Ajuste para jogar o botão um pouco mais para baixo */
    margin-top: 45px; 
}

.cta-main:hover {
    background: var(--verde-logo);
    transform: scale(1.05);
    box-shadow: 0 6px 20px rgba(0,0,0,0.4);
}

/* Customização dos Controles do Carrossel */
.swiper-button-next, .swiper-button-prev {
    color: var(--verde-claro) !important;
}

.swiper-pagination-bullet {
    background: #fff;
    opacity: 0.5;
}

.swiper-pagination-bullet-active {
    background: var(--verde-claro) !important;
    opacity: 1;
}

/* ==========================================================================
   SEÇÃO DE SERVIÇOS
   ========================================================================== */
.servicos { 
    padding: 80px 5%; 
    background: var(--cinza-claro); 
    text-align: center; 
}

.servicos h3 { 
    font-size: 2.5rem; 
    color: var(--verde-escuro); 
    margin-bottom: 50px; 
}

.grid-servicos {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 25px;
    max-width: 1200px;
    margin: 0 auto;
}

.card {
    background: white;
    padding: 40px;
    border-radius: 15px;
    transition: 0.3s;
    border-bottom: 5px solid var(--verde-claro);
    box-shadow: 0 5px 15px rgba(0,0,0,0.05);
}

.card:hover { 
    transform: translateY(-10px); 
    box-shadow: 0 10px 25px rgba(0,0,0,0.1);
}

.card i { 
    font-size: 3rem; 
    color: var(--verde-logo); 
    margin-bottom: 20px; 
}

.card h4 { 
    margin-bottom: 15px; 
    color: #333; 
    font-size: 1.4rem;
}

/* ==========================================================================
   BOTÃO FLUTUANTE WHATSAPP
   ========================================================================== */
.whatsapp-btn {
    position: fixed;
    bottom: 30px;
    right: 30px;
    background: #25d366;
    color: white;
    padding: 15px 25px;
    border-radius: 50px;
    text-decoration: none;
    display: flex;
    align-items: center;
    gap: 10px;
    font-weight: bold;
    box-shadow: 0 4px 15px rgba(0,0,0,0.2);
    z-index: 1000;
    transition: 0.3s;
}

.whatsapp-btn:hover {
    transform: scale(1.1);
    background: #128c7e;
}

/* ==========================================================================
   RODAPÉ
   ========================================================================== */
footer { 
    background: var(--verde-escuro); 
    color: white; 
    padding: 30px; 
    text-align: center; 
}

/* ==========================================================================
   RESPONSIVIDADE ADICIONAL
   ========================================================================== */
@media (max-width: 768px) {
    .nav-links { display: none; } /* Simples para foco no CTA principal */
    .hero-content h1 { font-size: 2.2rem; }
    .hero-content h2 { font-size: 1.1rem; }
}

/* ==========================================================================
   SEÇÃO SOBRE NÓS
   ========================================================================== */
.sobre {
    padding: 100px 5%;
    background-color: var(--branco);
}

.container-sobre {
    max-width: 1200px;
    margin: 0 auto;
}

.sobre-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 50px;
    align-items: center;
}

.sobre-img img {
    width: 100%;
    border-radius: 20px;
    box-shadow: 20px 20px 0px var(--verde-claro); /* Detalhe visual moderno */
}

.sobre-texto span {
    color: var(--verde-logo);
    font-weight: bold;
    text-transform: uppercase;
    letter-spacing: 2px;
    display: block;
    margin-bottom: 10px;
}

.sobre-texto h3 {
    font-size: 2.5rem;
    color: var(--verde-escuro);
    line-height: 1.2;
    margin-bottom: 25px;
}

.sobre-texto p {
    margin-bottom: 20px;
    color: #555;
    font-size: 1.1rem;
}

.sobre-lista {
    list-style: none;
    margin-bottom: 35px;
}

.sobre-lista li {
    margin-bottom: 12px;
    display: flex;
    align-items: center;
    gap: 10px;
    font-weight: 600;
    color: var(--verde-escuro);
}

.sobre-lista i {
    color: var(--verde-claro);
    font-size: 1.2rem;
}

.cta-sobre {
    display: inline-block;
    padding: 15px 30px;
    background-color: var(--verde-escuro);
    color: white;
    text-decoration: none;
    border-radius: 5px;
    font-weight: bold;
    transition: 0.3s;
}

.cta-sobre:hover {
    background-color: var(--verde-logo);
    transform: translateY(-3px);
}

/* Responsividade para o Sobre Nós */
@media (max-width: 992px) {
    .sobre-grid {
        grid-template-columns: 1fr;
        text-align: center;
    }
    
    .sobre-img {
        order: 2; /* Joga a imagem para baixo no celular */
    }
    
    .sobre-img img {
        box-shadow: 10px 10px 0px var(--verde-claro);
    }
    
    .sobre-lista li {
        justify-content: center;
    }
}