/* Importação correta da fonte Nexa Bold */
@import url('https://fonts.cdnfonts.com/css/nexa-bold');

@font-face {
    font-family: 'Nexa Bold';
    src: url('https://fonts.cdnfonts.com/css/nexa-bold') format('woff2');
    font-weight: normal;
    font-style: normal;
    font-display: swap;
}

body {
    font-family: 'Nexa Bold', sans-serif;
    overflow-x: hidden;
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    background-color: #fff;
}

.swiper-container {
    max-width: 100vw;
}

.cases-slider, .partners-slider {
    max-width: 100vw;
}

.hero-video {
    position: relative;
    height: 90vh;
    overflow: hidden;
    background: linear-gradient(to right, rgba(33, 77, 166, 0.8), rgba(4, 118, 217, 0.6));
}

.hero-overlay {
    width: 100%;
    height: 100%;
}

.youtube-video-container {
    width: 100%;
    max-width: 560px;
    height: 315px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
    border: 4px solid rgba(255, 255, 255, 0.2);
}

#youtube-player {
    width: 100%;
    height: 100%;
}

.video-overlay {
    pointer-events: none;
    z-index: 10;
}

.video-overlay button {
    pointer-events: auto;
    cursor: pointer;
    transition: all 0.3s ease;
    transform: scale(1);
}

.video-overlay button:hover {
    transform: scale(1.1);
}

/* Responsividade para o vídeo */
@media (max-width: 768px) {
    .youtube-video-container {
        max-width: 100%;
        height: 240px;
        margin-top: 20px;
    }
    
    .hero-video {
        height: auto;
        min-height: 100vh;
        padding: 120px 0 60px;
    }
}

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

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

.whatsapp-float {
    position: fixed;
    width: 60px;
    height: 60px;
    bottom: 40px;
    right: 40px;
    background-color: #25d366;
    color: #FFF;
    border-radius: 50px;
    text-align: center;
    font-size: 30px;
    box-shadow: 2px 2px 3px #999;
    z-index: 100;
    display: flex;
    align-items: center;
    justify-content: center;
}

.development-phase {
    position: relative;
    overflow: hidden;
}

.development-phase::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(to right, rgba(4, 118, 217, 0.8), rgba(33, 77, 166, 0.8));
    opacity: 0;
    transition: opacity 0.3s ease;
}

.development-phase:hover::before {
    opacity: 1;
}

.development-phase:hover .phase-content {
    opacity: 1;
}

.phase-content {
    position: relative;
    z-index: 2;
    opacity: 0;
    transition: opacity 0.3s ease;
}

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

.stats-item:hover {
    transform: scale(1.05);
}

.navbar {
    transition: all 0.3s ease;
}

.navbar.scrolled {
    background-color: white;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

.navbar.scrolled .nav-link {
    color: #214DA6;
}

.navbar.scrolled .logo {
    filter: brightness(0) saturate(100%) invert(25%) sepia(70%) saturate(1500%) hue-rotate(200deg) brightness(90%) contrast(90%);
}

.partners-slider {
    opacity: 0;
    transition: opacity 0.5s ease-in-out;
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 15px;
}

.partners-slider.swiper-initialized {
    opacity: 1;
}

.partners-slider .swiper-slide {
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0.8;
    transition: opacity 0.3s ease;
}

.partners-slider .swiper-slide:hover {
    opacity: 1;
}

.partners-slider .swiper-wrapper {
    transition-timing-function: linear;
}

.cases-slider {
    height: 400px; /* Altura fixa para o carrossel */
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 15px;
}

.cases-slider .swiper-wrapper {
    transition-timing-function: linear;
}

.partners-section, .cases-section {
    width: 100%;
    overflow: hidden;
    padding: 60px 0;
    background-color: #fff;
}

/* Correções para espaços em branco */
.container {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 15px;
}

section {
    width: 100%;
    overflow: hidden;
    padding: 60px 0;
}

/* Ajustes para imagens */
img {
    max-width: 100%;
    height: auto;
    display: block;
}

/* Ajustes para vídeos */
video {
    width: 100%;
    height: auto;
    display: block;
}

/* Estilos para a seção hero-video */
.hero-video {
    position: relative;
    height: 100vh;
    width: 100%;
    overflow: hidden;
    padding: 0;
}

.hero-video video {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.5);
    display: flex;
    align-items: center;
    justify-content: flex-start;
}

/* Estilos para a seção de serviços */
.services-section {
    padding: 80px 0;
    background-color: #f9f9f9;
    width: 100%;
    overflow: hidden;
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 30px;
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 15px;
}

/* Estilos para a seção de blog */
.blog-section {
    width: 100%;
    overflow: hidden;
    padding: 60px 0;
    background-color: #fff;
}

.blog-container {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 15px;
}

.blog-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 30px;
    margin-top: 30px;
}

.blog-card {
    background-color: #fff;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease;
}

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

.blog-card img {
    width: 100%;
    height: 200px;
    object-fit: cover;
}

.blog-card-content {
    padding: 20px;
}

/* Ajustes para responsividade */
@media (max-width: 768px) {
    section {
        padding: 40px 0;
    }
    
    .hero-video {
        height: 70vh;
    }
    
    .blog-grid {
        grid-template-columns: 1fr;
    }
}

/* Estilos para a seção de contato */
.contact-section {
    width: 100%;
    overflow: hidden;
    padding: 60px 0;
    background-color: #f9f9f9;
}

.contact-container {
    display: flex;
    flex-wrap: wrap;
    gap: 30px;
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 15px;
}

.contact-form {
    flex: 1;
    min-width: 300px;
}

.contact-info {
    flex: 1;
    min-width: 300px;
}

/* Ajustes para o footer */
footer {
    width: 100%;
    overflow: hidden;
    padding: 30px 0;
    background-color: #333;
    color: #fff;
}
