/* ============================================================== */
/* ARQUIVO: css/index.css (ESTILOS EXCLUSIVOS DA HOMEPAGE)        */
/* ============================================================== */

/* ============================================================== */
/* bloco 1: SEÇÃO 01 - HERO BANNER SLIDER (DISSOLUÇÃO ULTRA SUAVE)*/
/* ============================================================== */
.hero-container {
    width: 100%;
    height: 95vh;
    min-height: 560px;
    display: flex;
    align-items: center;
    justify-content: flex-start;
    padding: 0 10%;
    position: relative;
    overflow: hidden;
    background-color: #001e32;
}

.hero-bg-slider {
    position: absolute;
    top: 0; 
    left: 0; 
    width: 100%; 
    height: 100%;
    z-index: 1;
}

.hero-slide {
    position: absolute;
    top: 0; 
    left: 0; 
    width: 100%; 
    height: 100%;
    background-size: cover;
    background-position: center;
    opacity: 0;
    z-index: 1;
    transform: scale(1);
    /* TRANSIÇÃO DE SAÍDA SUAVE (1.2s) EVITA O TRANCO NO FIM */
    transition: opacity 1.2s ease-in-out, transform 1.2s ease-in-out;
    will-change: transform, opacity;
}

.hero-slide.active {
    opacity: 1;
    z-index: 2;
    transform: scale(1.08);
    /* ENTRADA SUAVE DA NOVA FOTO */
    transition: opacity 1.2s ease-in-out, transform 8s linear;
}

.hero-overlay {
    position: absolute;
    top: 0; 
    left: 0; 
    width: 100%; 
    height: 100%;
    background: rgba(0, 25, 45, 0.7);
    z-index: 3;
}

.hero-text-content { 
    position: relative;
    z-index: 4;
    max-width: 700px; 
    color: #ffffff; 
}

.hero-text-content h1 {
    font-size: 60px;
    line-height: 1.15;
    margin-bottom: 18px;
    text-transform: uppercase;
    font-weight: 800;
    text-shadow: 2px 2px 12px rgba(0,0,0,0.8);
}

.destaque { 
    color: #ff6200; 
}

.hero-text-content p {
    font-size: 22px;
    line-height: 1.6;
    margin-bottom: 25px;
    text-shadow: 1px 1px 8px rgba(0,0,0,0.8);
    color: #e0e0e0;
}

.youtube-badge {
    margin-top: 20px;
    font-size: 1rem;
    font-weight: 600;
    color: #e0e0e0;
    text-shadow: 1px 1px 6px rgba(0,0,0,0.9);
}

@media (max-width: 768px) {
    .hero-container { 
        justify-content: center; 
        text-align: center; 
        padding: 100px 20px 40px 20px; 
        height: auto; 
        min-height: 80vh; 
    }
    .hero-text-content h1 { 
        font-size: 34px; 
        line-height: 1.25; 
    }
    .hero-text-content p { 
        font-size: 18px; 
    }
}

/* ============================================================== */
/* bloco 2: SEÇÃO 02 - NOSSOS SERVIÇOS                            */
/* ============================================================== */
.home-services { 
    background-color: #f8f9fa;
    padding: 60px 0 60px 0; 
    text-align: center; 
    width: 100%;
    position: relative;
    z-index: 10;
}

.home-services .section-header-wrapper {
    margin-bottom: 50px; 
}

.services-wrapper { 
    display: grid; 
    grid-template-columns: repeat(3, 1fr); 
    gap: 25px; 
    max-width: 1100px; 
    margin: 0 auto; 
    padding: 0 20px; 
}

.service-card-box {
    background: #ffffff; 
    padding: 20px 15px; 
    border-radius: 5px; /* REGRA OBRIGATÓRIA: 5px */
    border: 1px solid #e0e0e0; 
    box-shadow: 0 10px 25px rgba(0, 51, 102, 0.12); 
    transition: transform 0.35s ease, box-shadow 0.35s ease, border-color 0.35s ease;
    display: flex; 
    flex-direction: column; 
    align-items: center; 
    text-align: center;
    text-decoration: none; 
    color: inherit;
}

.service-card-box:hover { 
    transform: translateY(-8px); 
    box-shadow: 0 10px 25px rgba(0, 51, 102, 0.12); 
    border-color: #003366; 
}

.service-icon-container { 
    height: 120px; 
    display: flex; 
    align-items: center; 
    justify-content: center; 
    margin-bottom: 5px; 
}

.service-icon-container img { 
    max-height: 120px;
    width: auto; 
    transition: transform 0.35s ease;
}

.service-card-box:hover .service-icon-container img {
    transform: scale(1.05);
}

.service-card-box h3 { 
    color: #003366; 
    font-size: 18px; 
    margin-bottom: 14px; 
    font-weight: 800; 
    text-transform: uppercase; 
}

.service-card-box p { 
    color: #222; 
    font-size: 16px; 
    line-height: 1.6; 
    margin: 0; 
    flex-grow: 1; 
}

.btn-saiba-mais {
    margin-top: 25px;
    background-color: #003366; 
    color: #fff; 
    border: 1px solid #003366; 
    font-size: 0.85rem;
    font-weight: 800;
    padding: 8px 24px;
    border-radius: 5px; /* REGRA OBRIGATÓRIA: 5px */
    text-transform: uppercase;
    letter-spacing: 0.5px;
    transition: all 0.35s ease;
    display: inline-block;
}

.service-card-box:hover .btn-saiba-mais {
    border: 1px solid #003366;  
    color: #fff; 
}

@media (max-width: 1024px) { 
    .services-wrapper { 
        grid-template-columns: repeat(2, 1fr); 
    } 
}

@media (max-width: 768px) {
    .home-services { 
        padding: 60px 0 80px 0; 
    }
    .services-wrapper { 
        grid-template-columns: 1fr; 
        gap: 20px; 
        padding: 0 30px; 
    }
    .service-card-box { 
        padding: 30px 20px; 
        max-width: 360px; 
        width: 100%; 
        margin: 0 auto; 
    }
    .service-icon-container { 
        height: 90px; 
        margin-bottom: 20px; 
    }
    .service-icon-container img { 
        max-height: 90px; 
    }
}

/* ============================================================== */
/* bloco 3: SEÇÃO 03 - VITRINE SHOWCASE (EQUILIBRADO EM 1200PX)   */
/* ============================================================== */
.vitrine-showcase {
    background-image: url('../pasta_imagens/imagens/background.webp');
    background-repeat: no-repeat;
    background-position: center center;
    background-size: cover;
    padding: 60px 0;
    position: relative;
}

.vitrine-container {
    max-width: 1600px;
    margin: 0 auto;
    display: flex;
    align-items: center;
    gap: 50px;
    padding: 0 20px;
}

/* PROPORÇÃO EQUILIBRADA PARA O TEXTO NÃO FICAR ESPREMIDO */
.vitrine-content { 
    flex: 1; 
    min-width: 0; 
}

.vitrine-content h2 {
    color: #003366; 
    font-size: 38px; 
    font-weight: 900;
    text-transform: uppercase;
    line-height: 1.15;
    margin-bottom: 20px;
}

.vitrine-content p {
    color: #222; 
    font-size: 18px; 
    line-height: 1.6;
    margin-bottom: 30px;
}

.vitrine-image-area { 
    flex: 1.5; /* Imagem imponente sem esmagar o texto */
    min-width: 0;
}

.vitrine-frame-16-9 {
    width: 100%;
    aspect-ratio: 16 / 9;
    border-radius: 5px; /* REGRA OBRIGATÓRIA: 5px */
    overflow: hidden;
    box-shadow: 0 20px 50px rgba(0, 51, 102, 0.25);
    cursor: pointer;
}

.vitrine-frame-16-9 img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transform: scale(1);
    transition: transform 4s cubic-bezier(0.25, 1, 0.5, 1);
    will-change: transform;
}

.vitrine-frame-16-9:hover img { 
    transform: scale(1.07); 
}

/* RESPONSIVIDADE (TABLET E CELULAR) */
@media (max-width: 992px) {
    .vitrine-container { 
        flex-direction: column-reverse; 
        text-align: center; 
        padding: 0 20px; 
        gap: 30px;
    }
    .vitrine-content h2 { 
        font-size: 30px; 
    }
    .vitrine-content p {
        font-size: 16px;
    }
}