/* ================================== */
/* CONFIGURAÇÕES GLOBAIS E VARIÁVEIS  */
/* ================================== */
:root {
    --cor-primaria: #5AB18E;
    --cor-primaria-escura: #396e59;
    --cor-fundo-secao: #4CAF90;
    --cor-texto-claro: #ffffff;
    --cor-texto-escuro: #000000;
    --cor-fundo-escuro: #222222;
    --cor-cinza-claro: #f4f4f4;
    --sombra-padrao: 0 2px 5px rgba(0, 0, 0, 0.1);
    --fonte-padrao: sans-serif;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: var(--fonte-padrao);
}

html {
    scroll-behavior: smooth;
}

body {
    background-color: var(--cor-texto-claro);
    color: var(--cor-texto-escuro);
}

main {
    width: 95%;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    gap: 120px; 
}

section {
    width: 100%;
}

/* ================================== */
/* BOTÕES (BASE E MODIFICADORES)      */
/* ================================== */
.btn {
    display: inline-flex;
    justify-content: center;
    align-items: center;
    padding: 12px 24px;
    border-radius: 10px;
    border: 2px solid transparent;
    font-size: 16px;
    font-weight: normal;
    cursor: pointer;
    text-decoration: none;
    transition: 0.3s all;
}

.btn:hover {
    transform: translateY(-2px);
}
.btn-primary {
    background-color: var(--cor-primaria);
    color: var(--cor-texto-claro);
}
.btn-primary:hover {
    background-color: var(--cor-primaria-escura);
}
.btn-black {
    color: var(--cor-texto-escuro);
}
.btn-secondary {
    background-color: var(--cor-texto-claro);
    color: var(--cor-primaria);
}
.btn-secondary:hover {
    background-color: var(--cor-cinza-claro);
}
.btn-outline-primary {
    background-color: transparent;
    color: var(--cor-primaria); /* Texto verde */
    border-color: var(--cor-primaria);
}
.btn-outline-primary:hover {
    background-color: var(--cor-primaria);
    color: var(--cor-texto-claro);
}

/* ================================== */
/* ESTILOS BASE (MOBILE)              */
/* ================================== */

/* --- HEADER --- */
header {
    width: 95%;
    margin: 0 auto;
    padding: 15px 0;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 15px;
}
.logo {
    height: 62px;
    width: auto;
}
header nav ul {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    align-items: center;
    gap: 10px;
    list-style: none;
}
.nav {
    color: var(--cor-texto-escuro);
    text-decoration: none;
    padding: 5px 10px;
}
.nav:hover {
    transition: 0.2s all;
    color: var(--cor-primaria);
}
#contact-button {
    padding: 10px 25px; 
    color: var(--cor-primaria);
    border: 2px solid var(--cor-primaria);
    border-radius: 10px;
    background-color: transparent;
    transition: 0.2s all;
    font-weight: normal;
}
#contact-button:hover {
    background-color: var(--cor-primaria);
    color: var(--cor-texto-claro);
}

/* --- SEÇÃO HERO --- */
#hero {
    display: flex;
    flex-direction: column;
    text-align: center;
    align-items: center;
    gap: 30px;
    margin-top: 80px;
}
#hero .img1 {
    max-width: 100%;
    height: auto;
}
.intro-title {
    font-size: 1.5rem; 
    font-weight: bold;
}
#destaque {
    color: var(--cor-primaria);
    font-size: 50px; 
    font-weight: bold;
}
.hero-actions {
    display: flex;
    flex-direction: column;
    gap: 15px;
    margin-top: 60px;
    align-items: center;
}
.btn-video {
    display: flex;
    align-items: center;
    gap: 10px;
    color: var(--cor-texto-escuro);
    text-decoration: none;
    font-weight: normal;
}
.btn-video:hover {
    transition: 0.2s all;
    color: var(--cor-primaria);
}
.text1{
    max-width: 550px; 
    margin-top: 25px;
    text-align: justify;
}


/* --- SEÇÃO CLIENTES --- */
.clients-section {
    background-color: var(--cor-primaria);
    color: var(--cor-texto-claro);
    text-align: center;
    padding: 40px 20px 70px 20px;
    border-radius: 20px;
}
.clients-section h1 {
    margin: 15px 0px 80px 0;
    font-size: 2.5rem;
}
.clients-section h2, p {
    margin-bottom: 25px;
}
.clients-grid {
    display: flex;
    flex-direction: column;
    gap: 30px;
    margin-top: 30px;
}
.client-card {
    background-color: var(--cor-texto-claro);
    color: var(--cor-texto-escuro);
    padding: 50px 15px;
    border-radius: 10px;
    box-shadow: var(--sombra-padrao);
    transition: all 0.3s ease-in-out;
}
.client-card:hover {
    transform: translateY(-10px); 
    box-shadow: 0px 10px 20px rgba(0, 0, 0, 0.2); 
}
.client-icon {
    width: 100px;
    margin-bottom: 15px;
    border: solid var(--cor-primaria);
    border-radius: 50%;
}

/* --- SEÇÃO PORTFÓLIO E ABOUT --- */
.portfolio, .about-us, .testimonials, .media-clipping {
    text-align: center;
}
.portfolio-map {
    width: 100%;
    margin-top: 20px;
}
h3 {
    font-weight: 300;
    text-transform: uppercase;
    margin-top: 10px;
}
h5 {
    font-size: 1.8rem;
    margin-top: 5px;
    margin-bottom: 40px;
}

/* --- CARROSSEL --- */
.carousel-container {
    position: relative;
    overflow: hidden;
}
.carousel {
    display: flex;
    transition: transform 0.5s ease;
}
.slide {
    min-width: 100%;
    display: flex;
    flex-direction: column;
    background-color: var(--cor-fundo-secao);
    border-radius: 20px;
    overflow: hidden;
}
.slide-content {
    color: var(--cor-texto-claro);
    padding: 30px 20px;
    text-align: center;
}
.slide-content p{
    margin-bottom: 30px;
}
.slide-image {
    width: 100%;
    height: 250px;
    background-size: cover;
    background-position: center;
}
.arrow {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: white;
    border: none;
    border-radius: 50%;
    width: 40px;
    height: 40px;
    font-size: 24px;
    cursor: pointer;
    z-index: 10;
    display: flex;
    justify-content: center;
    align-items: center;
}
.arrow-left { left: 10px; }
.arrow-right { right: 10px; }


/* --- SEÇÃO INFO --- */
.info-title{
    text-align: center;
}
.info-section {
    display: flex;
    flex-direction: column;
    gap: 50px;
    align-items: center;
    text-align: center;
}
.info-section .info-image {
    display: block;
    width: 100%;
    border-radius: 10px;
    max-width: 450px;
    max-height: 450px;
}
.info-image-right {
    margin-left: auto; 
    margin-right: 0;
}
.info-section aside {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: flex-start;
    gap: 25px;
}
.highlight {
    color: var(--cor-primaria);
    font-size: 2rem;
    font-weight: bold;
}

/* --- SEÇÃO CTA (CONTATO) --- */
.cta-section {
    display: flex;
    flex-direction: column; /* Itens empilhados no celular */
    align-items: center;
    text-align: center;
    background-color: var(--cor-primaria);
    color: var(--cor-texto-claro);
    border-radius: 20px;
    padding: 30px 20px;
    overflow: hidden;
    margin-top: 80px; /* Margem padrão para o modo empilhado */
}

.cta-image {
    margin-top: 0; /* Sem margem negativa no celular */
    margin-bottom: 20px; /* Espaço entre a imagem e o texto */
}

.cta-image img {
    max-width: 60%;
    display: block;
    margin: 0 auto;
}

.cta-text {
    padding: 0;
}

.cta-text p {
    margin: 20px 0;
}
/* --- DEPOIMENTOS --- */
.testimonials-content {
    display: flex;
    flex-direction: column;
    gap: 20px;
    margin-top: 30px;
}
.testimonial-card {
    border: 2px solid var(--cor-primaria);
    border-radius: 8px;
    padding: 20px;
    text-align: left;
}
.testimonial-person {
    display: flex;
    align-items: center;
    gap: 15px;
    margin-bottom: 15px;
}
.testimonial-person img {
    border-radius: 50%;
}

/* --- MÍDIA --- */
.media-clipping {
    background-color: var(--cor-primaria);
    color: var(--cor-texto-claro);
    padding: 50px 20px;
    border-radius: 10px;
}
.media-grid {
    display: flex; /* Usa flexbox para criar as colunas */
    gap: 15px;
    margin: 30px 0;
    padding: 30px;
}
.media-column {
    flex: 1; /* Faz cada coluna ocupar metade do espaço */
    display: flex;
    flex-direction: column; /* Empilha as imagens verticalmente dentro da coluna */
    gap: 15px;
}
.media-column img {
    width: 100%;
    border-radius: 6px;
}

/* --- CONTATO --- */
.title-contato {
    text-align: center;
}
.contact-section {
    background-color: var(--cor-primaria);
    color: var(--cor-texto-claro);
    padding: 20px;
    display: flex;
    flex-direction: column;
    border-radius: 10px;
    gap: 30px;
}
.contact-info h2, p{
    margin-bottom: 15px;
}
.contact-methods {
    display: flex;
    flex-direction: column;
    gap: 15px;
}
.contact-methods div {
    display: flex;
    align-items: center;
    gap: 15px;
}
#contact-map {
    width: 100%;
    margin-top: 20px;
    border-radius: 8px;
}
.contact-form-area {
    background-color: var(--cor-texto-claro);
    color: var(--cor-texto-escuro);
    padding: 20px;
    border-radius: 8px;
}
.contact-form-area h2 {
    text-align: center;
    margin-bottom: 20px;
}
#formContato {
    display: flex;
    flex-direction: column;
    gap: 15px;
}
.form-input, .form-textarea {
    width: 100%;
    padding: 12px;
    border: 1px solid #ccc;
    border-radius: 8px;
    background-color: var(--cor-cinza-claro);
}
.form-textarea {
    resize: vertical;
    resize: none;
    height: 180px;
}
.form-submit-btn {
    width: 100%;
}

/* --- SEÇÃO SOBRE (DETALHADO) --- */
.about-detailed {
    display: flex;
    flex-direction: column;
    gap: 50px;
    text-align: center;
}

.about-card {
    display: flex;
    flex-direction: column; /* Começa empilhado no mobile */
    border: 2px solid var(--cor-primaria);
    border-radius: 10px;
    padding: 30px;
    gap: 20px;
    text-align: center;
}

.about-card__text {
    display: flex;
    flex-direction: column;
    align-items: center; /* Centraliza no mobile */
    gap: 20px;
}

.about-card__image img {
    max-width: 100%;
    height: auto;
}

/* --- FOOTER --- */
footer {
    background-color: var(--cor-fundo-escuro);
    color: var(--cor-texto-claro);
    padding: 40px 0;
    margin-top: 150px;
}
.footer-content {
    width: 95%;
    margin: 0 auto;
}
.footer-content .logo {
    margin-bottom: 20px;
}
.footer-content p {
    font-size: 0.8rem;
}

/* --------------- OUTRAS JANELAS --------------- */

/* --- SEÇÃO LOJA (PRODUTOS) --- */
.section-subtitle {
    line-height: 1.2;
    text-align: justify;
}
.product-grid-section {
    display: grid;
    grid-template-columns: 1fr; /* Padrão: 1 coluna para celular */
    gap: 30px;
}
.product-card {
    border: 1px solid #e0e0e0;
    border-radius: 10px;
    text-align: center;
    padding: 20px;
    box-shadow: var(--sombra-padrao);
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}
.product-card img {
    width: 100%;
    height: 220px;
    object-fit: cover;
    border-radius: 8px;
    margin-bottom: 20px;
}
.product-card h4 {
    font-size: 1.3rem;
    margin-bottom: 10px;
}
.product-card p {
    flex-grow: 1; 
    margin-bottom: 20px;
}
/* --- SEÇÃO TIME (SOBRE NÓS) --- */
.team-section {
    text-align: center;
}
.team-grid {
    display: flex;
    flex-wrap: wrap; /* Permite que os itens quebrem a linha em telas menores */
    justify-content: center; /* Centraliza os membros no contêiner */
    gap: 40px; /* Espaço entre os cards dos membros */
    margin-top: 40px;
}
.team-member {
    text-align: center;
    max-width: 200px;
}
.team-member img {
    width: 150px;
    height: 150px;
    border-radius: 50%; /* Deixa a imagem redonda */
    object-fit: cover; /* Garante que a foto não fique distorcida */
    margin-bottom: 15px;
    border: 3px solid var(--cor-primaria);
}
.team-member h6 {
    font-size: 1.2rem;
    margin-bottom: 5px;
}
.team-member span {
    color: #555;
}

/* ================================== */
/* TABLETS (A PARTIR DE 768px)        */
/* ================================== */
@media screen and (min-width: 768px) {
    /* --- LAYOUT GERAL --- */
    main {
        gap: 120px;
    }
    
    /* --- HEADER --- */
    header {
        flex-direction: row;
        justify-content: space-between;
        align-items: center; 
        padding: 20px 0;
    }
    header nav ul {
        flex-wrap: nowrap;
        gap: 25px; 
    }

    /* --- HERO --- */
    #hero {
        flex-direction: row;
        text-align: left;
        gap: 50px;
    }
    #hero .img1 {
        display: block;
        max-width: 450px;
        height: auto;
        margin-left: auto;
        margin-right: 0;
    }
    
    #hero aside { flex: 1; }
    #hero figure { flex: 1; }

    .hero-actions {
        flex-direction: row;
        align-items: baseline; 
        gap: 30px;
    }
    .btn-video {
        padding-left: 0;
    }

    /* --- CLIENTES --- */
    .clients-grid {
        flex-direction: row;
        justify-content: center;
    }
    .client-card {
        width: 30%;
    }

    /* --- CARROSSEL --- */
    .slide {
        flex-direction: row;
    }
    .slide-content {
        width: 50%;
        height: 470px;
        text-align: left;
        display: flex;
        flex-direction: column;
        justify-content: center;
        padding: 50px 70px;
        align-items: flex-start;
        gap: 15px;
    }
    .slide-image {
        width: 50%;
        height: 470px;
    }
    
    /* --- SEÇÃO INFO --- */
    .info-section {
        flex-direction: row;
        text-align: left;
    }
    .info-section.row-reverse {
        flex-direction: row-reverse;
    }
    .info-section aside, .info-section article {
        flex: 1;
    }

    /* CONTATO CTA */
    .cta-section {
        flex-direction: row; /* Itens lado a lado */
        text-align: left;
        align-items: center;
        margin-top: 150px;
        overflow: visible;
        padding: 0; /* Remove o padding para o efeito funcionar */
    }
    .cta-image {
        flex: 1;
        margin-top: -200px; /* Retorna o efeito de sobreposição */
        margin-bottom: -50px;
        margin-left: 20px;
    }
    .cta-image img {
        max-width: 100%;
        margin-bottom: 0; /* Remove a margem de baixo no desktop */
    }
    .cta-text {
        flex: 1.5;
        padding: 40px;
    }
    /* --- DEPOIMENTOS --- */
    .testimonials-content {
        flex-direction: row;
        justify-content: center;
    }
    /* --- MÍDIA --- */
    .media-grid {
        grid-template-columns: repeat(4, 1fr);
    }

    /* --- SEÇÃO SOBRE (DETALHADO) --- */
    .about-card {
        flex-direction: row; 
        text-align: left;
        gap: 40px;
        align-items: center;
    }
    .about-card__text {
        flex: 1;
        align-items: flex-start; /* Alinha à esquerda em telas maiores */
    }
    .about-card__image {
        flex: 1;
    }

    /* --- CONTATO --- */
    .contact-section {
        flex-direction: row;
        padding: 50px;
        align-items: stretch; /* Altera para esticar os itens */
    }
    .contact-info, .contact-form-area {
        flex: 1;
    }
    /* --------------- OUTRAS JANELAS --------------- */
    hr {
    margin-top: 40px;
    }
    .page-title-section{
        margin-top: 30px;
    }
    /* --- SEÇÃO LOJA (PRODUTOS) --- */
    .product-grid-section {
        grid-template-columns: repeat(3, 1fr);
    }
}

/* ================================== */
/* DESKTOPS (A PARTIR DE 1100px)      */
/* ================================== */
@media screen and (min-width: 1100px) {
    /* --- LAYOUT GERAL --- */
    header, main, .footer-content {
        width: 60%; 
        max-width: 1200px;
    }

    .info-section, .contact-section {
        gap: 60px;
    }
    .btn-video {
    padding-left: 20%;
    }

    .media-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .about-card {
        max-height: 350px; /* ADICIONE ESTA LINHA */
    }
}