/* VERSÃO COMPLETA E FINAL DO SEU CSS */

/* Estilos gerais e das seções antigas (ESSENCIAL) */
body {
    font-family: 'Poppins', sans-serif;
    background-color: #111827;
    color: #d1d5db; 
}
.hero-section {
    background-color: #1f2937;
}
.cyan-highlight {
    color: #06b6d4;
}
.btn-primary {
    background-color: #06b6d4;
    color: #ffffff;
    transition: background-color 0.3s ease;
}
.btn-primary:hover {
    background-color: #0891b2;
}
.section-title {
    border-bottom: 2px solid #06b6d4;
    padding-bottom: 0.5rem;
    display: inline-block;
}
.contact-form input, .contact-form textarea {
    background-color: #374151;
    border: 1px solid #4b5563;
    color: #d1d5db;
    border-radius: 0.5rem;
}
.contact-form input::placeholder, .contact-form textarea::placeholder {
    color: #9ca3af;
}
html {
    scroll-behavior: smooth;
}

/* -------------------------------------------------- */
/* NOVOS ESTILOS PARA OS CARDS DE SERVIÇO COM IMAGENS */
/* -------------------------------------------------- */

.service-card-v2 {
    background-color: #1f2937;
    border-radius: 0.75rem;
    border: 1px solid #374151;
    overflow: hidden; /* Garante que a imagem não saia do card arredondado */
    display: flex;
    flex-direction: column;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.service-card-v2:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 25px -5px rgba(6, 182, 212, 0.1), 0 10px 10px -5px rgba(6, 182, 212, 0.04);
}

.image-container {
    width: 100%;
    height: 200px; /* Altura fixa para todas as imagens */
    overflow: hidden;
}

.image-container img {
    width: 100%;
    height: 100%;
    object-fit: cover; /* Faz a imagem cobrir a área sem distorcer */
    transition: transform 0.3s ease;
}

.service-card-v2:hover .image-container img {
    transform: scale(1.05); /* Efeito de zoom sutil na imagem */
}

.card-content {
    padding: 1.5rem;
    flex-grow: 1;
    display: flex;
    flex-direction: column;
}

.card-content p {
    flex-grow: 1; /* Faz o parágrafo ocupar o espaço disponível */
    margin-bottom: 1rem;
}

.saiba-mais {
    color: #06b6d4;
    font-weight: 600;
    text-decoration: none;
    transition: transform 0.3s ease;
    align-self: flex-start;
}

.service-card-v2:hover .saiba-mais {
    transform: translateX(5px); /* Move a seta um pouco para a direita */
}

/* ------------------------------------------- */
/* --- ESTILOS PARA PÁGINAS INTERNAS DE SERVIÇO --- */
/* ------------------------------------------- */

.service-hero-section {
    position: relative; /* Adicionado para consistência com a hero da home */
    background-color: #1f2937;
    border-bottom: 1px solid #374151;
}

.benefit-card {
    background-color: #1f2937;
    padding: 2rem;
    border-radius: 0.75rem;
    border: 1px solid #374151;
    text-align: center;
}

/* ------------------------------------------- */
/* --- ESTILOS PARA SEÇÃO DE DEPOIMENTOS --- */
/* ------------------------------------------- */

.testimonial-card {
    background-color: #1f2937;
    padding: 2.5rem;
    border-radius: 0.75rem;
    border: 1px solid #374151;
    display: flex;
    flex-direction: column;
    align-items: center; /* Centralizar avatar e texto */
    text-align: center;
}

.testimonial-avatar {
    width: 80px;
    height: 80px;
    border-radius: 50%; /* Tornar a imagem circular */
    overflow: hidden; /* Recortar a imagem no formato circular */
    margin-bottom: 1rem; /* Espaço entre a foto e o texto */
}

.testimonial-avatar img {
    width: 100%;
    height: 100%;
    object-fit: cover; /* Cobrir o espaço circular sem distorcer */
}

.quote-icon {
    margin: 0.5rem auto 1rem auto; /* Ajustar margens do ícone */
}

.quote-text {
    font-style: italic;
    color: #d1d5db;
    line-height: 1.75;
    flex-grow: 1; 
    margin-bottom: 1rem; /* Adicionar margem abaixo do texto */
}

.testimonial-card div:last-child { /* Ajustar a margem do último div (nome e cargo) */
    margin-top: 0.5rem;
}

/* ------------------------------------------- */
/* --- ESTILOS PARA ANIMAÇÃO AO ROLAR A PÁGINA --- */
/* ------------------------------------------- */

.service-card-v2, .testimonial-card, .benefit-card {
    opacity: 0; 
    transform: translateY(30px);
    transition: opacity 0.6s ease-out, transform 0.6s ease-out; 
}

.service-card-v2.is-visible,
.testimonial-card.is-visible,
.benefit-card.is-visible {
    opacity: 1;
    transform: translateY(0);
}

/* ------------------------------------------- */
/* --- ESTILOS PARA VÍDEO DE FUNDO NA HERO --- */
/* (Versão Final: Vídeo no PC, Cor Sólida no Mobile) */
/* ------------------------------------------- */

/* Apenas a cor de fundo e a posição são definidas por padrão. SEM IMAGEM. */
.hero-section {
    position: relative;
    background-color: #1f2937;
}

/* Estilos do vídeo para ocupar o fundo */
.hero-video {
    position: absolute;
    top: 50%;
    left: 50%;
    min-width: 100%;
    min-height: 100%;
    width: auto;
    height: auto;
    z-index: 0;
    transform: translateX(-50%) translateY(-50%);
}

/* Camada escura para garantir a leitura do texto sobre o vídeo */
.video-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(17, 24, 39, 0.6); 
    z-index: 1;
}

/* Garante que o texto fique sempre por cima de tudo */
.hero-section .container {
    position: relative;
    z-index: 2;
}

/* --- REGRA PARA MOBILE --- */
/* A única regra necessária é esconder o vídeo */
@media (max-width: 768px) {
    .hero-video {
        display: none;
    }
}