
:root {
    --primary-color: #071345;
    --secondary-color: #FFD700;
    --dark-color: #1A237E;
    --light-color: #F5F5F5;
}


.hero-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(rgba(0,74,141,0.9), rgba(0,74,141,0.7));
    z-index: 0; /* Coloca o gradiente entre o vídeo e o conteúdo */
}

.hero-section {
    position: relative;
    min-height: 100vh;
    color: white;
    display: flex;
    align-items: center;
    overflow: hidden; /* Para evitar que o vídeo ultrapasse os limites da seção */
}

.hero-video {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover; /* Garante que o vídeo cubra toda a área */
    z-index: -1; /* Coloca o vídeo atrás do conteúdo */
}

.container {
    position: relative;
    z-index: 1; /* Garante que o conteúdo fique acima do vídeo */
}

.service-card {
    border: none;
    transition: transform 0.3s ease;
    background: var(--light-color);
    border-radius: 15px;
    overflow: hidden;
}

.service-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 10px 20px rgba(0,0,0,0.1);
}

.service-icon {
    font-size: 3rem;
    color: var(--primary-color);
}

.case-item {
    position: relative;
    overflow: hidden;
    border-radius: 15px;
}

.case-overlay {
    position: absolute;
    bottom: -100%;
    left: 0;
    right: 0;
    background: rgba(0,74,141,0.9);
    padding: 20px;
    transition: 0.3s ease;
}

.case-item:hover .case-overlay {
    bottom: 0;
}

.partners-slider-container {
    width: 100%;
    overflow: hidden;
    position: relative;
}

.partners-slider {
    display: flex;
    animation: slideLeft 20s linear infinite;
    width: max-content;
}

.partner-slide {
    padding: 0 2rem;
    display: flex;
    align-items: center;
    justify-content: center;
    min-width: 200px;
}

.partner-logo {
    max-width: 150px;
    height: auto;
    filter: grayscale(100%);
    opacity: 0.7;
    transition: all 0.3s ease;
}

.partner-logo:hover {
    filter: grayscale(0%);
    opacity: 1;
}

.contact-info {
    background: var(--primary-color);
    color: white;
    padding: 40px;
    border-radius: 15px;
}

.nav-link {
    color: var(--dark-color);
    font-weight: 500;
    transition: 0.3s ease;
}

.nav-link:hover {
    color: var(--primary-color);
}

.btn-primary {
    background-color: var(--primary-color);
    border-color: var(--primary-color);
}

.btn-primary:hover {
    background-color: #003366;
    border-color: #003366;
}

.section-title {
    position: relative;
    margin-bottom: 50px;
}

.section-title::after {
    content: '';
    position: absolute;
    bottom: -15px;
    left: 50%;
    transform: translateX(-50%);
    width: 50px;
    height: 3px;
    background: var(--primary-color);
}

@keyframes slideLeft {
    0% {
        transform: translateX(0);
    }
    100% {
        transform: translateX(-50%);
    }
}


/* Sessão de Casos de Sucesso */
.video-overlay {
    background: rgba(0,74,141,0.7);
    transition: all 0.3s ease;
}

.play-btn {
    width: 80px;
    height: 80px;
    padding: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
}

.play-btn i {
    font-size: 2rem;
}

.play-btn:hover {
    transform: scale(1.1);
}

.stats-card {
    transition: all 0.3s ease;
}

.stats-card:hover {
    transform: translateY(-5px);
}

.testimonial-card {
    transition: all 0.3s ease;
}

.testimonial-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 20px rgba(0,0,0,0.1);
}

.counter {
    font-size: 2.5rem;
    font-weight: bold;
}

.counter::after {
    content: '%';
}