/* ============================================
   PROVEN - ESTILOS EXCLUSIVOS DA HOME
   ============================================ */

/* --- SLIDER HERO --- */
.hero-slider {
    position: relative;
    width: 100%;
    height: 85vh;
    min-height: 500px;
    overflow: hidden;
    background-color: var(--verde-escuro);
}

.slider-container {
    position: relative;
    width: 100%;
    height: 100%;
}

.slide {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    opacity: 0;
    transition: opacity 1.2s ease-in-out;
    z-index: 1;
}

.slide.active {
    opacity: 1;
    z-index: 2;
}

.slide img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.slide-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(10, 46, 31, 0.85) 0%, rgba(74, 107, 93, 0.55) 100%);
    z-index: 1;
}

.slide-content {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    z-index: 2;
    text-align: center;
    color: var(--branco);
    max-width: 800px;
    padding: 0 20px;
    width: 100%;
    animation: fadeInUp 1s ease;
}

.slide-content h1 {
    color: var(--branco);
    font-size: 3rem;
    line-height: 1.2;
    margin-bottom: 1.5rem;
    text-shadow: 0 2px 10px rgba(0, 0, 0, 0.3);
}

.slide-content p {
    font-size: 1.2rem;
    margin-bottom: 2.5rem;
    opacity: 0.95;
    text-shadow: 0 1px 5px rgba(0, 0, 0, 0.3);
    color: var(--branco);
}

.btn-hero {
    padding: 1rem 2.5rem;
    font-size: 1.1rem;
    display: inline-block;
}

/* --- BOTÕES DE NAVEGAÇÃO DO SLIDER --- */
.slider-btn {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background-color: rgba(255, 255, 255, 0.15);
    color: var(--branco);
    border: 2px solid rgba(255, 255, 255, 0.3);
    width: 55px;
    height: 55px;
    border-radius: 50%;
    font-size: 1.5rem;
    cursor: pointer;
    z-index: 10;
    transition: all 0.3s ease;
    backdrop-filter: blur(5px);
    display: flex;
    align-items: center;
    justify-content: center;
}

.slider-btn:hover {
    background-color: var(--verde-musgo);
    border-color: var(--verde-musgo);
    transform: translateY(-50%) scale(1.1);
}

.slider-btn.prev { left: 30px; }
.slider-btn.next { right: 30px; }

/* --- INDICADORES --- */
.slider-dots {
    position: absolute;
    bottom: 30px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 12px;
    z-index: 10;
}

.dot {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background-color: rgba(255, 255, 255, 0.4);
    cursor: pointer;
    transition: all 0.3s ease;
    border: 2px solid transparent;
}

.dot.active {
    background-color: var(--branco);
    width: 35px;
    border-radius: 10px;
}

.dot:hover {
    background-color: rgba(255, 255, 255, 0.8);
}

/* --- ANIMAÇÃO DO TEXTO --- */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translate(-50%, -40%);
    }
    to {
        opacity: 1;
        transform: translate(-50%, -50%);
    }
}

/* --- RESPONSIVIDADE --- */
@media (max-width: 768px) {
    .hero-slider {
        height: 75vh;
        min-height: 500px;
    }

    .slide-content h1 {
        font-size: 2rem;
    }

    .slide-content p {
        font-size: 1rem;
    }

    .slider-btn {
        width: 45px;
        height: 45px;
        font-size: 1.2rem;
    }

    .slider-btn.prev { left: 15px; }
    .slider-btn.next { right: 15px; }

    .btn-hero {
        padding: 0.8rem 1.8rem;
        font-size: 1rem;
    }
}

/* ============================================
   SEÇÃO SOBRE NÓS
   ============================================ */

.secao-subtitulo {
    text-align: center;
    font-size: 1.1rem;
    color: var(--texto-suave);
    max-width: 700px;
    margin: -2.5rem auto 3.5rem;
}

/* --- CLIENTES --- */
.grid-clientes {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
    gap: 2rem;
    align-items: stretch;
}

.card-cliente {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: space-between;
    gap: 1.25rem;
    padding: 1.5rem;
    background-color: var(--branco);
    border-radius: var(--radius-lg);
    box-shadow: 0 8px 24px rgba(10, 46, 31, 0.08);
    text-align: center;
    transition: var(--transicao);
}

.card-cliente:hover {
    transform: translateY(-6px);
    box-shadow: 0 14px 30px rgba(10, 46, 31, 0.14);
}

.cliente-logo {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 150px;
    max-width: 100%;
    aspect-ratio: 1;
    overflow: hidden;
    border-radius: 50%;
    border: 4px solid var(--branco);
    background-color: var(--branco);
    box-shadow: 0 10px 25px rgba(10, 46, 31, 0.12);
}

.cliente-logo img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    transition: var(--transicao);
}

.card-cliente:hover .cliente-logo img {
    transform: scale(1.05);
}

.card-cliente h3 {
    color: var(--verde-escuro);
    font-size: 1rem;
    line-height: 1.3;
}

/* --- GRID DE COLABORADORES --- */
.grid-equipe {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 2.5rem;
    margin-bottom: 6rem;
    justify-items: center;
}

.card-membro {
    text-align: center;
    transition: var(--transicao);
    max-width: 220px;
}

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

.membro-foto {
    width: 180px;
    height: 180px;
    border-radius: 50%;
    overflow: hidden;
    margin: 0 auto 1.2rem;
    position: relative;
    border: 4px solid var(--branco);
    box-shadow: 0 10px 25px rgba(10, 46, 31, 0.15);
    transition: var(--transicao);
}

.membro-foto::after {
    content: '';
    position: absolute;
    inset: 0;
    border-radius: 50%;
    border: 2px solid transparent;
    background: linear-gradient(135deg, var(--verde-musgo), var(--verde-destaque)) border-box;
    -webkit-mask: linear-gradient(#fff 0 0) padding-box, linear-gradient(#fff 0 0);
    -webkit-mask-composite: xor;
    mask-composite: exclude;
    opacity: 0;
    transition: var(--transicao);
}

.card-membro:hover .membro-foto {
    transform: scale(1.05);
    box-shadow: 0 15px 35px rgba(16, 185, 129, 0.3);
}

.card-membro:hover .membro-foto::after {
    opacity: 1;
}

.membro-foto img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: var(--transicao);
}

.membro-icone {
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, var(--verde-escuro), var(--verde-musgo));
    color: var(--branco);
    font-size: 2rem;
    font-weight: 800;
    letter-spacing: 0.04em;
}

.card-membro:hover .membro-foto img {
    transform: scale(1.1);
}

.card-membro h3 {
    font-size: 1.05rem;
    color: var(--verde-escuro);
    margin-bottom: 0.4rem;
    font-weight: 700;
}

.membro-cargo {
    font-size: 0.85rem;
    color: var(--verde-musgo);
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    margin: 0;
}

/* --- TEXTO SOBRE A EMPRESA --- */
.sobre-empresa {
    max-width: 900px;
    margin: 0 auto;
}

.sobre-texto-bloco {
    margin-bottom: 4rem;
}

.sobre-texto-bloco p {
    font-size: 1.05rem;
    line-height: 1.85;
    margin-bottom: 1.5rem;
    color: var(--texto-suave);
    text-align: justify;
}

.sobre-texto-bloco p:last-child {
    margin-bottom: 0;
}

.sobre-texto-bloco strong {
    color: var(--verde-escuro);
    font-weight: 700;
}

/* --- VALORES (Missão, Visão, Valores) --- */
.sobre-valores {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 2rem;
    margin-top: 3rem;
}

.valor-item {
    background-color: var(--branco);
    padding: 2rem 1.5rem;
    border-radius: var(--radius-lg);
    text-align: center;
    box-shadow: 0 4px 20px rgba(10, 46, 31, 0.06);
    border-top: 4px solid var(--verde-musgo);
    transition: var(--transicao);
}

.valor-item:hover {
    transform: translateY(-6px);
    box-shadow: 0 12px 30px rgba(10, 46, 31, 0.12);
    border-top-color: var(--verde-destaque);
}

.valor-icone {
    font-size: 2.5rem;
    margin-bottom: 1rem;
    display: inline-block;
    transition: var(--transicao);
}

.valor-item:hover .valor-icone {
    transform: scale(1.15);
}

.valor-item h4 {
    color: var(--verde-escuro);
    font-size: 1.15rem;
    margin-bottom: 0.8rem;
    font-weight: 700;
}

.valor-item p {
    font-size: 0.9rem;
    color: var(--texto-suave);
    line-height: 1.6;
    margin: 0;
}

/* --- RESPONSIVIDADE --- */
@media (max-width: 768px) {
    .grid-equipe {
        grid-template-columns: repeat(2, 1fr);
        gap: 1.8rem;
    }

    .membro-foto {
        width: 140px;
        height: 140px;
    }

    .card-membro h3 {
        font-size: 0.95rem;
    }

    .membro-cargo {
        font-size: 0.75rem;
    }

    .sobre-texto-bloco p {
        text-align: left;
        font-size: 1rem;
    }
}

@media (max-width: 480px) {
    .grid-equipe {
        grid-template-columns: 1fr;
    }

    .membro-foto {
        width: 120px;
        height: 120px;
    }
}

/* ============================================
   SEÇÃO DE SERVIÇOS (CARDS REDONDOS)
   ============================================ */
.grid-servicos {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 3rem 2rem;
    justify-items: center;
    margin-top: 1rem;
}

.card-servico {
    text-align: center;
    max-width: 250px;
    transition: var(--transicao);
}

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

.servico-foto {
    width: 200px;
    height: 200px;
    border-radius: 50%;
    overflow: hidden;
    margin: 0 auto 1.5rem;
    position: relative;
    border: 4px solid var(--branco);
    box-shadow: 0 10px 25px rgba(10, 46, 31, 0.12);
    transition: var(--transicao);
}

.card-servico:hover .servico-foto {
    box-shadow: 0 18px 40px rgba(16, 185, 129, 0.3);
    transform: scale(1.03);
}

.servico-foto img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: var(--transicao);
}

.card-servico:hover .servico-foto img {
    transform: scale(1.1);
}

.card-servico h3 {
    font-size: 1.15rem;
    color: var(--verde-escuro);
    margin-bottom: 0.4rem;
    font-weight: 700;
}

.servico-resumo {
    font-size: 0.85rem;
    color: var(--texto-suave);
    margin-bottom: 1.2rem;
    line-height: 1.5;
    min-height: 40px;
}

.btn-saiba-mais {
    display: inline-block;
    background-color: var(--verde-musgo);
    color: var(--branco);
    padding: 0.55rem 1.6rem;
    border-radius: var(--radius-full);
    font-weight: 600;
    font-size: 0.85rem;
    border: 2px solid var(--verde-musgo);
    cursor: pointer;
    transition: var(--transicao);
    box-shadow: 0 4px 14px rgba(74, 107, 93, 0.25);
}

.btn-saiba-mais:hover {
    background-color: var(--verde-destaque);
    border-color: var(--verde-destaque);
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(16, 185, 129, 0.35);
}

/* ============================================
   MODAL DE SERVIÇOS
   ============================================ */
.modal-overlay {
    position: fixed;
    inset: 0;
    background-color: rgba(10, 46, 31, 0.75);
    backdrop-filter: blur(8px);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 9999;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.3s ease, visibility 0.3s ease;
    padding: 20px;
}

.modal-overlay.ativo {
    opacity: 1;
    visibility: visible;
}

.modal-caixa {
    background-color: var(--branco);
    border-radius: var(--radius-lg);
    padding: 3rem 2.5rem 2.5rem;
    max-width: 600px;
    width: 100%;
    max-height: 90vh;
    overflow-y: auto;
    position: relative;
    text-align: center;
    box-shadow: 0 30px 80px rgba(0, 0, 0, 0.3);
    transform: scale(0.9) translateY(20px);
    transition: transform 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.modal-overlay.ativo .modal-caixa {
    transform: scale(1) translateY(0);
}

.modal-fechar {
    position: absolute;
    top: 15px;
    right: 20px;
    background: transparent;
    border: none;
    font-size: 2rem;
    color: var(--texto-suave);
    cursor: pointer;
    line-height: 1;
    transition: var(--transicao);
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
}

.modal-fechar:hover {
    color: var(--verde-escuro);
    background-color: var(--cinza-claro);
    transform: rotate(90deg);
}

.modal-icone {
    font-size: 3rem;
    margin-bottom: 1rem;
    display: inline-block;
    background: linear-gradient(135deg, rgba(74, 107, 93, 0.15), rgba(16, 185, 129, 0.15));
    width: 80px;
    height: 80px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1.2rem;
}

.modal-titulo {
    font-size: 1.6rem;
    color: var(--verde-escuro);
    margin-bottom: 1rem;
    font-weight: 700;
}

.modal-descricao {
    font-size: 1rem;
    color: var(--texto-suave);
    line-height: 1.7;
    margin-bottom: 1.5rem;
    text-align: left;
}

.modal-lista {
    text-align: left;
    margin-bottom: 2rem;
    padding-left: 0;
}

.modal-lista li {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    font-size: 0.95rem;
    color: var(--texto-escuro);
    margin-bottom: 0.7rem;
    line-height: 1.5;
}

.modal-lista li::before {
    content: '✓';
    color: var(--verde-destaque);
    font-weight: 700;
    flex-shrink: 0;
    font-size: 1.1rem;
}

.modal-cta {
    display: inline-block;
    padding: 0.9rem 2rem;
    font-size: 1rem;
}

/* ============================================
   RESPONSIVIDADE - SERVIÇOS E MODAL
   ============================================ */
@media (max-width: 768px) {
    .grid-servicos {
        grid-template-columns: repeat(2, 1fr);
        gap: 2.5rem 1.5rem;
    }

    .servico-foto {
        width: 150px;
        height: 150px;
    }

    .card-servico h3 {
        font-size: 1rem;
    }

    .modal-caixa {
        padding: 2.5rem 1.5rem 2rem;
    }

    .modal-titulo {
        font-size: 1.3rem;
    }
}

@media (max-width: 480px) {
    .grid-servicos {
        grid-template-columns: 1fr;
    }
}

/* ============================================
   SEÇÃO DE CONTATO (COM VÍDEO DE FUNDO)
   ============================================ */
.secao-contato {
    position: relative;
    padding: 7rem 0;
    overflow: hidden;
    background-color: var(--verde-escuro);
}

/* VÍDEO DE FUNDO */
.contato-video {
    position: absolute;
    top: 50%;
    left: 50%;
    min-width: 100%;
    min-height: 100%;
    width: auto;
    height: auto;
    transform: translate(-50%, -50%);
    z-index: 0;
    object-fit: cover;
}

/* OVERLAY ESCURO */
.contato-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, rgba(10, 46, 31, 0.92) 0%, rgba(10, 46, 31, 0.85) 100%);
    z-index: 1;
}

/* CONTEÚDO */
.contato-conteudo {
    position: relative;
    z-index: 2;
    display: grid;
    grid-template-columns: 1fr 1.1fr;
    gap: 5rem;
    align-items: center;
}

/* ============================================
   LADO ESQUERDO: INFORMAÇÕES
   ============================================ */
.contato-info {
    color: var(--branco);
}

.contato-titulo {
    font-size: clamp(1.8rem, 3.5vw, 2.5rem);
    color: var(--branco);
    line-height: 1.2;
    margin-bottom: 0.8rem;
    font-weight: 800;
}

.contato-subtitulo {
    font-size: 1rem;
    color: rgba(255, 255, 255, 0.7);
    margin-bottom: 2.5rem;
    line-height: 1.6;
}

.lista-contatos {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.item-contato {
    display: flex;
    align-items: center;
    gap: 1.2rem;
}

.icone-contato {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 44px;
    height: 44px;
    border-radius: 50%;
    background-color: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.15);
    color: var(--verde-destaque);
    flex-shrink: 0;
    transition: var(--transicao);
    backdrop-filter: blur(10px);
}

.item-contato:hover .icone-contato {
    background-color: var(--verde-destaque);
    color: var(--branco);
    transform: scale(1.08);
    border-color: var(--verde-destaque);
    box-shadow: 0 8px 20px rgba(16, 185, 129, 0.4);
}

.info-contato {
    display: flex;
    flex-direction: column;
    gap: 2px;
}

.rotulo {
    font-size: 0.75rem;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    color: rgba(255, 255, 255, 0.5);
    font-weight: 600;
}

.info-contato a,
.info-contato p {
    color: var(--branco);
    font-size: 0.95rem;
    font-weight: 500;
    margin: 0;
    line-height: 1.4;
    transition: var(--transicao);
}

.info-contato a:hover {
    color: var(--verde-destaque);
}

/* ============================================
   LADO DIREITO: FORMULÁRIO
   ============================================ */
.contato-formulario {
    background: linear-gradient(160deg, var(--verde-destaque) 0%, #0d9c6e 100%);
    padding: 3rem 2.5rem;
    border-radius: var(--radius-lg);
    box-shadow: 0 25px 60px rgba(0, 0, 0, 0.3);
    position: relative;
    overflow: hidden;
}

.contato-formulario::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -20%;
    width: 300px;
    height: 300px;
    background: radial-gradient(circle, rgba(255, 255, 255, 0.15) 0%, transparent 70%);
    border-radius: 50%;
    pointer-events: none;
}

.form-chamada {
    color: var(--branco);
    font-size: 0.95rem;
    line-height: 1.6;
    margin-bottom: 2rem;
    position: relative;
    z-index: 1;
}

#form-contato {
    position: relative;
    z-index: 1;
}

.form-group {
    margin-bottom: 1rem;
}

.form-group input,
.form-group textarea {
    width: 100%;
    padding: 0.95rem 1.2rem;
    border: 2px solid transparent;
    border-radius: var(--radius-md);
    background-color: var(--branco);
    font-family: 'Open Sans', sans-serif;
    font-size: 0.9rem;
    color: var(--texto-escuro);
    transition: var(--transicao);
    resize: none;
}

.form-group input::placeholder,
.form-group textarea::placeholder {
    color: #9CA3AF;
}

.form-group input:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--verde-escuro);
    box-shadow: 0 0 0 4px rgba(10, 46, 31, 0.15);
    transform: translateY(-1px);
}

.btn-enviar {
    display: block;
    margin: 1.5rem auto 0;
    background-color: var(--verde-escuro);
    color: var(--branco);
    padding: 0.85rem 2.5rem;
    border: 2px solid var(--verde-escuro);
    border-radius: var(--radius-full);
    font-weight: 700;
    font-size: 0.95rem;
    cursor: pointer;
    transition: var(--transicao);
    letter-spacing: 0.03em;
    min-width: 160px;
}

.btn-enviar:hover {
    background-color: var(--branco);
    color: var(--verde-escuro);
    transform: translateY(-2px);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.2);
}

.btn-enviar:active {
    transform: translateY(0);
}

/* ============================================
   RESPONSIVIDADE - CONTATO
   ============================================ */
@media (max-width: 968px) {
    .contato-conteudo {
        grid-template-columns: 1fr;
        gap: 3rem;
    }

    .contato-info {
        text-align: center;
    }

    .lista-contatos {
        align-items: flex-start;
        max-width: 380px;
        margin: 0 auto;
    }
}

@media (max-width: 768px) {
    .secao-contato {
        padding: 5rem 0;
    }

    .contato-formulario {
        padding: 2.5rem 1.5rem;
    }

    .form-chamada {
        font-size: 0.9rem;
    }

    .form-group input,
    .form-group textarea {
        padding: 0.85rem 1rem;
        font-size: 0.88rem;
    }
}