/* ========================================
   ESTILOS GLOBAIS PARA BANNERS SECUNDÁRIOS
   ======================================== */

/* Banner Secundário - Layout Padrão para Todas as Páginas */
.banner-secundario {
    width: 100%;
    height: 50dvh;
    display: flex;
    background-position: center;
    background-repeat: no-repeat;
    background-color: #D6D6D6;
    background-size: cover;
    align-items: center;
    justify-content: center;
    color: white;
    position: relative;
    overflow: hidden;
    margin: 0;
    padding: 0;
}

/* Overlay escuro para melhor legibilidade do texto */
.banner-secundario::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.4);
    z-index: 1;
    transition: background 0.3s ease;
}

/* Container do conteúdo */
.banner-secundario .container {
    position: relative;
    z-index: 2;
    text-align: center;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    width: 100%;
}

/* Título principal */
.banner-secundario h1,
.banner-secundario .name-page {
    font-size: 3rem;
    font-weight: 700;
    margin: 0 0 1rem 0;
    color: white;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
    letter-spacing: -0.5px;
    line-height: 1.2;
}

/* Subtítulo/descrição */
.banner-secundario p {
    font-size: 1.2rem;
    font-weight: 400;
    margin: 0;
    color: rgba(255, 255, 255, 0.9);
    text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.5);
    max-width: 600px;
    margin: 0 auto;
    line-height: 1.5;
}

/* Efeitos de hover (opcional) */
.banner-secundario:hover::before {
    background: rgba(0, 0, 0, 0.5);
}

/* Responsividade para Tablets */
@media (max-width: 768px) {
    .banner-secundario {
        height: 40dvh;
    }
    
    .banner-secundario h1,
    .banner-secundario .name-page {
        font-size: 2.5rem;
    }
    
    .banner-secundario p {
        font-size: 1.1rem;
    }
}

/* Responsividade para Mobile */
@media (max-width: 576px) {
    .banner-secundario {
        height: 35dvh;
        padding: 2rem 0;
    }
    
    .banner-secundario h1,
    .banner-secundario .name-page {
        font-size: 2rem;
    }
    
    .banner-secundario p {
        font-size: 1rem;
    }
    
    .banner-secundario .container {
        padding: 0 15px;
    }
}

/* Responsividade para Mobile Pequeno */
@media (max-width: 480px) {
    .banner-secundario {
        height: 30dvh;
    }
    
    .banner-secundario h1,
    .banner-secundario .name-page {
        font-size: 1.8rem;
    }
    
    .banner-secundario p {
        font-size: 0.9rem;
    }
}

/* Suporte para orientação landscape em mobile */
@media (max-height: 500px) and (orientation: landscape) {
    .banner-secundario {
        height: 60dvh;
    }
}

/* Animações de entrada (opcional) */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.banner-secundario .container {
    animation: fadeInUp 0.8s ease-out;
}

/* Suporte para modo escuro (opcional) */
@media (prefers-color-scheme: dark) {
    .banner-secundario::before {
        background: rgba(0, 0, 0, 0.6);
    }
}
