/* =========================================
   Seção Premiação (Padrão Unificado)
   ========================================= */

#premiacao {
    background-color: #000000; /* Fundo preto mantido para destaque */
    color: #ffffff;
    padding: 80px 0;
    font-family: 'Inter', sans-serif; /* Alterado para Inter */
}

.container-premiacao {
    max-width: 1122px;
    margin: 0 auto;
    padding: 0 20px;
    display: flex;
    align-items: center;
    gap: 60px;
}

/* Texto */
.texto-premiacao h2 {
    font-family: 'Inter', sans-serif;
    font-size: 3rem;
    font-weight: 700;
    color: #DAA520; /* Dourado */
    margin-bottom: 10px;
    line-height: 1.1;
}

.subtitulo-premiacao {
    font-family: 'Inter', sans-serif;
    font-size: 1.5rem;
    color: #e0e0e0;
    line-height: 1.5;
    margin-bottom: 30px;
    text-align: left; /* Títulos geralmente ficam melhor à esquerda */
}

/* Modal Popup - Texto Interno Ajustado */
.popup-content p {
    font-family: 'Inter', sans-serif;
    font-size: 16px;
    line-height: 1.7;      /* Padrão 1.7 */
    color: #4c4c4c;        /* Cor Padrão */
    text-align: justify;   /* Justificado */
    margin-bottom: 1.5rem;
}

.popup-container h3 {
    font-family: 'Inter', sans-serif;
    color: #0c0407;
    font-weight: 600;
    font-size: 1.8rem;
    margin-bottom: 25px;
}

/* (O restante do CSS de layout/imagens do prêmio permanece o mesmo do passo anterior, 
    pois não afeta a fonte. Se precisar, copio tudo novamente.) */
.btn-premiacao {
    background-color: #DAA520;
    color: #000;
    padding: 12px 25px;
    border-radius: 5px;
    font-weight: bold;
    text-transform: uppercase;
    text-decoration: none;
    display: inline-block;
    border: none;
    cursor: pointer;
}
/* ... (Manter estilos de imagem/modal do passo anterior) ... */
.btn-premiacao:hover {
    background-color: #c9a445;
    transform: scale(1.05);
}

/* --- Coluna de Imagens (Slideshow) --- */
.fotos-premiacao {
    flex: 1;
    max-width: 55%;
    display: flex;
    justify-content: flex-end;
}

.container-da-imagem {
    display: flex;
    justify-content: flex-end;
    width: 100%;
}

/* Slideshow Container */
#single-slideshow-container {
    position: relative;
    width: 100%;
    min-height: 350px; /* Altura mínima ajustada para desktop */
}

.foto-premiacao-item {
    position: absolute;
    top: 0;
    right: 0; /* Alinha à direita */
    width: 80%; /* Ajustado para melhor proporção */
    height: auto;
    opacity: 0;
    transition: opacity 1s ease-in-out;
    border-radius: 8px;
    display: block;
    box-shadow: 0 10px 30px rgba(0,0,0,0.5); /* Sombra para destaque */
}

.foto-premiacao-item.active {
    opacity: 1;
}

/* =========================================
   Modal / Popup
   ========================================= */

.popup-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.85); /* Mais escuro para foco */
    z-index: 2000;
    display: none;
    backdrop-filter: blur(5px); /* Efeito de desfoque no fundo */
}

.popup-container {
    position: fixed;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    background-color: #ffffff;
    color: #333333;
    padding: 40px;
    border-radius: 12px;
    width: 90%;
    max-width: 700px;
    z-index: 2001;
    display: none;
    box-shadow: 0 20px 50px rgba(0,0,0,0.5);
}

.popup-overlay.active,
.popup-container.active {
    display: block;
    animation: fadeIn 0.3s ease-out;
}

@keyframes fadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}

.popup-close-btn {
    position: absolute;
    top: 15px;
    right: 20px;
    background: none;
    border: none;
    font-size: 2.5rem;
    color: #888;
    cursor: pointer;
    transition: color 0.3s;
}

.popup-close-btn:hover {
    color: #000;
}

.popup-container h3 {
    margin-top: 0;
    margin-bottom: 20px;
    font-size: 1.8rem;
    color: #000;
    font-weight: 700;
}

.popup-content p {
    line-height: 1.6;
    margin-bottom: 15px;
    font-size: 1rem;
    color: #444;
}

/* =========================================
   Responsividade (Mobile e Tablet)
   ========================================= */

@media (max-width: 991px) {
    .container-premiacao {
        flex-direction: column;
        text-align: center;
        gap: 40px;
    }

    .texto-premiacao,
    .fotos-premiacao {
        max-width: 100%;
        width: 100%;
    }

    .container-da-imagem, 
    .fotos-premiacao {
        justify-content: center;
    }
    
    .foto-premiacao-item {
        position: relative; /* No mobile, melhor não ser absolute para fluir */
        width: 100%;
        max-width: 500px;
        right: auto;
    }
    
    #single-slideshow-container {
        min-height: auto; /* Remove altura fixa no mobile */
        display: flex;     /* Centraliza slides se comportarem como bloco */
        justify-content: center;
    }
    
    /* Ajuste para o slide funcionar com position absolute no mobile se necessário */
    #single-slideshow-container {
        display: block;
        min-height: 300px; /* Altura segura para mobile */
    }
    
    .foto-premiacao-item {
        position: absolute;
        width: 100%;
        left: 0;
    }
}

@media (max-width: 768px) {
    .texto-premiacao h2 {
        font-size: 2.2rem;
    }
    
    .subtitulo-premiacao {
        font-size: 1.2rem;
    }
    
    .popup-container {
        padding: 25px;
        width: 95%;
    }
}