/* ========================================
   4. ESTILOS ESPECÍFICOS DA PÁGINA HOME (index.html)
   ======================================== */

/* --- Seção 1 (Banner) --- */
.section1 {
    position: relative;
    width: 100%;
    min-height: 400px;
    height: 80vh;
    padding: 80px;
    background-image: url('assets/Banner.jpg');
    background-size: cover;
    /* Faz a imagem cobrir toda a área, cortando se necessário */
    background-position: center center;
    background-repeat: no-repeat;
    /* Evita que a imagem se repita */
    /* Adicione uma sobreposição escura para o texto ficar legível */
    background-blend-mode: multiply;
    background-color: rgba(0, 0, 0, 0.4);
}
.banner-content {
    position: relative;
    text-align: center;
    color: white;
    max-width: 600px;
    margin: 80px auto 150px auto;
    display: flex;
    flex-direction: column;
    gap: 30px;
    justify-content: center;
    align-items: center;
    margin-top: 5px;
}
.banner-content h1 {
    font-size: 3.5em;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
    /* Adicionei para melhor contraste */
}
.banner-content p {
    font-size: 1.5em;
    text-shadow: 1px 1px 3px rgba(0, 0, 0, 0.5);
    /* Adicionei para melhor contraste */
}
.spacer {
    height: 300px;
}

/* --- Seção 2 (Texto e Imagem) --- */
.section2 {
    display: flex;
    justify-content: space-between;
    align-items: center;
    height: 50vh;
    gap: 250px;
    background-color: #F5F5DC;
    width: 100vw;
}
.section2 p {
    width: 70%;
    font-size: 1.5em;
    margin-top: 2.5em;
    margin-bottom: 2.5em;
}

.section2 img {
    width: 9.375rem;
}

.section2 h2 {
    font-size: 2.1875rem;
    display: flex;
    white-space: nowrap;
    width: auto;
    color: #2e7d32;
}

.text-leaf {
    display: flex;
    flex-direction: column;
    margin-left: 250px;
    margin-top: 60px;
    gap: 20px;
    width: 300px;
    height: 300px;
}

.spacer-two {
    height: 450px;
}

/* --- Seção 3 (Cards de Serviços) --- */
.section3 {
    margin-top: 60px;
    padding: 0 20px;
    display: flex;
    flex-direction: column;
    gap: 50px;
    margin-bottom: 75px;
    justify-content: center;
    align-items: center;
}
.section3 img {
    width: 50px;
}
.section3 p {
    width: 200px;
}
.div-three {
    display: flex;
    gap: 80px;
    width: auto;
    height: auto;
    justify-content: center;

}
.section3 h2 {
    font-size: 2.1875rem;
    text-align: center;
}
.special-div {
    display: flex;
    justify-content: left;
}

.one-two-three {
    flex: 1 1 300px;
    /* Permite crescer (1), encolher (1) e tem base de 300px */
    max-width: 320px;
    background-color: #F5F5DC;
    padding: 25px;
    border-radius: 12px;
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 15px;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.05);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    cursor: pointer;
    height: 300px;
    width: 300px;
}

.one-two-three:hover {
    transform: translateY(-10px);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.15);
    transition: 0.5s;
}

/* --- Seção 4 (Call to Action Final) --- */
.section4 {
    display: flex;
    flex-direction: column;
    width: 100vw;
    margin-bottom: 50px;
    align-items: center;
    justify-content: center;
    gap: 30px;
    background-color: #F5F5DC;
    height: 50vh;
    padding: 40px;
}

.section4 h2 {
    font-size: 2.1875rem;
}

.section4 p {
    font-size: 20px;
    width: 50%;
    text-align: center;
}

/* -------------------------------------------
   TABLET (Telas até 1024px)
   ------------------------------------------- */
@media (max-width: 1024px) {

    /* --- Seção 1 (Banner) --- */
    .section1 {
        min-height: 450px;
        padding: 80px 0;
        display: flex;
        justify-content: center;
        align-items: center;
    }

    .banner-content {
        margin: 50px auto;
        text-align: center;
        align-items: center;
 }

    .banner-content h1 {
        font-size: 4.5em;
    }

    .banner-content p {
        font-size: 2em;
    }
    .btn-primary {
        width: 375px;
    height: 75px;
    font-size: 25px;
    }

    .spacer {
        height: 200px;
    }

    /* --- Seção 2 (Texto e Imagem) --- */
    .section2 {
        flex-direction: column;
        height: auto;
        padding: 40px 20px;
        gap: 160px;
        margin-top: 1px;
        margin-left: 0;
        align-items: center;
        justify-content: center;
        text-align: center;
    }

    .text-leaf {
        width: 100%;
        margin: 0;
        align-items: center;
        height: auto;
    }

    .section2 h2 {
        width: 100%;
        margin-top: 190px;
        font-size: 3.6875rem;
        display: block;
        
    }

    .section2 p {
        width: 90%;
        margin: 10px 0;
        font-size: 2.6875rem;
    }
   
    .spacer-two {
        height: 350px;
    }

    .section3 {
        padding: 40px 20px;
    }
    .section3 img {
    width: 50px;
}
    .section3 h3 {
    font-size: 1.6rem;
    
}
    .div-three {
        gap: 30px;
        flex-wrap: wrap;
        padding: 40px 20px;
        }

    .one-two-three {
        flex-basis: calc(50% - 15px);
        max-width: calc(50% - 15px);
    }

    .section3 p {
        width: auto;
        font-size: 1.3rem;
    }

    /* --- Seção 4 (Call to Action Final) --- */
    .section4 {
        height: auto;
        padding: 40px 20px;
    }

    .section4 {
        text-align: center;
    }

    .section4 p {
        width: 80%;
    }
}

@media (max-width: 1180px) {
  .section2 {
    padding: 10px 20px; 
    }
.section2 p {
    width: 100%;
  }
}
  

/* -------------------------------------------
   MOBILE (Celulares e Telas até 768px)
   ------------------------------------------- */
@media (max-width: 768px) {

    /* --- Seção 1 (Banner) --- */
    .section1 {
        min-height: 350px;
        padding: 60px 0;
    }
    
    .banner-content {
        margin: 80px 20px 40px 20px;
        width: auto;
        max-width: 100%;
        text-align: center;
        align-items: center;
        display: flex;
        flex-direction: column;
    }

    .banner-content h1 {
        font-size: 2.0em;
        line-height: 1.2;
        margin-bottom: 15px;
    }

    .banner-content p {
        font-size: 1.0em;
        line-height: 1.5;
        margin-bottom: 25px;
        width: 100%;
    }

    .spacer {
        height: 100px;
    }

    /* --- Seção 2 (Texto e Imagem) --- */
    .section2 {
        padding: 40px 20px;
        height: 900px;
        flex-direction: column;
    }

    .section2 h2,
    .section4 h2 {
        font-size: 1.8em;
        text-align: center;
    }

    .section2 p,
    .section4 p {
        font-size: 1em;
        text-align: center;
        width: 100%;
    }
     .section2 p {
        width: 90%;
        margin: 10px;
        font-size: 1.9rem;
    }

    .section2 img {
        margin-top: 20px;
    }

    .section2 img {
        margin-top: 20px;
        width: 100px;
    }

    .spacer-two {
        height: 250px;
    }

    /* --- Seção 3 (Cards de Serviços) --- */
    .section3 {
        padding: 30px 15px;
    }

    .div-three {
        flex-direction: column;
        align-items: center;
        gap: 30px;
        height: auto;
    }

    .one-two-three {
        width: 100%;
        max-width: 350px;
        /* A CORREÇÃO MÁGICA ESTÁ AQUI: */
        height: auto;
        /* Permite que o card cresça conforme o texto */
        min-height: 300px;
        /* Garante altura mínima visual */
        padding: 30px 20px;
        margin-bottom: 10px;
    }

    .one-two-three p {
        width: 100%;
        font-size: 0.95em;
    }
    .section3 h3 {
    font-size: 1.6rem;
    
}

    .section3 p {
        width: 100%;
        font-size: 1.3rem;
    }

    /* --- Seção 4 (Call to Action Final) --- */
    .section4 {
        padding: 30px 20px;
    }

    .section4 h2 {
        font-size: 1.8em;
    }

    .section4 p {
        width: 100%;
        font-size: 16px;
    }

    .btn-primary {
        width: 100%;
        max-width: 280px;
    }}


 