/* ==========================================================================
   SHALIMAR PRAIA HOTEL - OPORTUNIDADES NA HOME (CARROSSEL)
   Arquivo: css/oportunidades-home.css
   Design minimalista com Swiper - 3 cards por vez
   ========================================================================= */

/* === SEÇÃO DE OPORTUNIDADES HOME === */
.oportunidades-home-section {
    padding: 50px 0;
    background: var(--cinza-claro, #f4f7fe);
}

.oportunidades-home-section .section-header {
    text-align: center;
    margin-bottom: 35px;
}

.oportunidades-home-section .section-header h2 {
    font-family: var(--font-main);
    font-size: 1.8rem;
    color: var(--azul-navy, #003c7e);
    margin-bottom: 8px;
}

.oportunidades-home-section .section-header p {
    font-size: 0.9rem;
    color: var(--cinza-texto, #4a4a4a);
}

/* === SWIPER CONTAINER === */
.oportunidades-home-section .opportunitiesSwiper {
    padding: 10px 0 50px;
}

.oportunidades-home-section .swiper-slide {
    padding: 0 8px;
}

/* === CARD DE OPORTUNIDADE === */
.oportunidades-home-section .oportunidade-card {
    background: var(--branco, #ffffff);
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.06);
    transition: all 0.4s cubic-bezier(0.25, 0.8, 0.25, 1);
    display: flex;
    flex-direction: column;
    height: 100%;
}

.oportunidades-home-section .oportunidade-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.1);
}

/* === IMAGEM DO CARD === */
.oportunidades-home-section .oportunidade-imagem {
    position: relative;
    width: 100%;
    height: 200px;
    overflow: hidden;
}

.oportunidades-home-section .oportunidade-imagem img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.4s ease;
}

.oportunidades-home-section .oportunidade-card:hover .oportunidade-imagem img {
    transform: scale(1.05);
}

/* === BADGE DE PERÍODO === */
.oportunidades-home-section .oportunidade-badge {
    position: absolute;
    bottom: 10px;
    left: 10px;
    background: rgba(0, 60, 126, 0.9);
    color: var(--branco, #ffffff);
    padding: 5px 10px;
    border-radius: 15px;
    font-size: 0.7rem;
    font-weight: 600;
    display: flex;
    align-items: center;
    gap: 5px;
}

.oportunidades-home-section .oportunidade-badge i {
    color: var(--dourado-shalimar, #a38b5d);
    font-size: 0.65rem;
}

/* === CONTEÚDO DO CARD === */
.oportunidades-home-section .oportunidade-content {
    padding: 18px;
    display: flex;
    flex-direction: column;
    flex: 1;
}

.oportunidades-home-section .oportunidade-titulo {
    font-family: var(--font-main);
    font-size: 1.1rem;
    font-weight: 600;
    color: var(--azul-navy, #003c7e);
    margin: 0 0 6px 0;
    line-height: 1.3;
}

.oportunidades-home-section .oportunidade-subtitulo {
    font-size: 0.85rem;
    color: var(--dourado-shalimar, #a38b5d);
    font-weight: 500;
    margin: 0 0 10px 0;
}

.oportunidades-home-section .oportunidade-descricao {
    font-size: 0.8rem;
    color: var(--cinza-texto, #4a4a4a);
    line-height: 1.6;
    margin: 0 0 15px 0;
    flex: 1;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

/* === BOTÕES DE AÇÃO === */
.oportunidades-home-section .oportunidade-actions {
    display: flex;
    gap: 8px;
    margin-top: auto;
    padding-top: 12px;
    border-top: 1px solid var(--cinza-medio, #e0e5f2);
}

.oportunidades-home-section .btn-conhecer {
    flex: 1;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    padding: 10px 14px;
    background: linear-gradient(135deg, var(--azul-brand, #0072bc), var(--azul-navy, #003c7e));
    color: var(--branco, #ffffff);
    border: none;
    border-radius: 25px;
    font-size: 0.78rem;
    font-weight: 600;
    cursor: pointer;
    text-decoration: none;
    transition: all 0.4s cubic-bezier(0.25, 0.8, 0.25, 1);
}

.oportunidades-home-section .btn-conhecer:hover {
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(0, 114, 188, 0.25);
}

.oportunidades-home-section .btn-whatsapp {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    padding: 10px 14px;
    background: #25D366;
    color: var(--branco, #ffffff);
    border: none;
    border-radius: 25px;
    font-size: 0.78rem;
    font-weight: 600;
    cursor: pointer;
    text-decoration: none;
    transition: all 0.4s cubic-bezier(0.25, 0.8, 0.25, 1);
}

.oportunidades-home-section .btn-whatsapp:hover {
    background: #128C7E;
    transform: translateY(-2px);
}

/* === SWIPER NAVIGATION === */
.oportunidades-home-section .swiper-button-next,
.oportunidades-home-section .swiper-button-prev {
    color: var(--azul-navy, #003c7e);
    width: 40px;
    height: 40px;
    background: var(--branco, #ffffff);
    border-radius: 50%;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
}

.oportunidades-home-section .swiper-button-next:hover,
.oportunidades-home-section .swiper-button-prev:hover {
    background: var(--azul-navy, #003c7e);
    color: var(--branco, #ffffff);
}

.oportunidades-home-section .swiper-button-next::after,
.oportunidades-home-section .swiper-button-prev::after {
    font-size: 1rem;
    font-weight: 700;
}

/* === SWIPER PAGINATION === */
.oportunidades-home-section .swiper-pagination-bullet {
    width: 10px;
    height: 10px;
    background: var(--cinza-medio, #e0e5f2);
    opacity: 1;
    transition: all 0.3s ease;
}

.oportunidades-home-section .swiper-pagination-bullet-active {
    background: var(--azul-brand, #0072bc);
    width: 25px;
    border-radius: 5px;
}

/* === EMPTY STATE === */
.oportunidades-home-section .empty-state {
    text-align: center;
    padding: 50px 30px;
    background: var(--branco, #ffffff);
    border-radius: 12px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.06);
}

.oportunidades-home-section .empty-icon {
    font-size: 2.5rem;
    color: var(--cinza-medio, #e0e5f2);
    margin-bottom: 15px;
}

.oportunidades-home-section .empty-state h3 {
    font-size: 1.1rem;
    color: var(--azul-navy, #003c7e);
    margin-bottom: 10px;
}

.oportunidades-home-section .empty-state p {
    font-size: 0.85rem;
    color: var(--cinza-texto, #4a4a4a);
}

/* === RESPONSIVO === */
@media (max-width: 992px) {
    .oportunidades-home-section .section-header h2 {
        font-size: 1.6rem;
    }

    .oportunidades-home-section .oportunidade-imagem {
        height: 180px;
    }
}

@media (max-width: 768px) {
    .oportunidades-home-section {
        padding: 40px 0;
    }

    .oportunidades-home-section .section-header h2 {
        font-size: 1.4rem;
    }

    .oportunidades-home-section .section-header p {
        font-size: 0.85rem;
    }

    .oportunidades-home-section .oportunidade-content {
        padding: 14px;
    }

    .oportunidades-home-section .oportunidade-titulo {
        font-size: 1rem;
    }

    .oportunidades-home-section .oportunidade-actions {
        flex-direction: column;
        gap: 6px;
    }

    .oportunidades-home-section .swiper-button-next,
    .oportunidades-home-section .swiper-button-prev {
        display: none;
    }
}

@media (max-width: 480px) {
    .oportunidades-home-section .section-header h2 {
        font-size: 1.3rem;
    }

    .oportunidades-home-section .oportunidade-imagem {
        height: 180px;
    }
}