/* ==========================================================================
   Seção Tipos de Eventos — Camarões Luxury Experience
   Inspirado no Living Design System Aman / Amanyara
   ========================================================================== */

.tipos-eventos-section {
    background-color: var(--color-sand-light);
    padding: 70px 0 85px;
    width: 100%;
    position: relative;
    overflow: hidden;
}

.tipos-eventos__container {
    width: 100%;
    max-width: 1500px;
    margin: 0 auto;
    padding: 0 24px;
}

/* Header & Título */
.tipos-eventos__header {
    margin-bottom: 32px;
}

.tipos-eventos__title {
    font-family: var(--font-display);
    font-size: 2rem;
    font-weight: 400;
    color: var(--color-gold);
    line-height: 1.25;
    margin: 0 0 12px 0;
}

.tipos-eventos__description {
    font-family: var(--font-sans);
    font-size: 1.05rem;
    font-weight: 300;
    line-height: 1.6;
    color: rgba(49, 49, 49, 0.75);
    max-width: 680px;
    margin: 0;
}

/* Slider Track Wrapper */
.tipos-eventos__slider-wrapper {
    position: relative;
    width: 100%;
}

.tipos-eventos__track {
    display: flex;
    gap: 24px;
    overflow-x: auto;
    overflow-y: hidden;
    scroll-snap-type: x mandatory;
    scroll-behavior: smooth;
    -webkit-overflow-scrolling: touch;
    -ms-overflow-style: none;
    scrollbar-width: none;
    padding: 8px 4px 16px;
    margin: 0 -4px;
}

.tipos-eventos__track::-webkit-scrollbar {
    display: none;
}

/* Cards Individuais */
.tipos-eventos__card {
    position: relative;
    flex: 0 0 84%;
    aspect-ratio: 3 / 4;
    max-height: 520px;
    min-height: 400px;
    scroll-snap-align: start;
    overflow: hidden;
    background-color: var(--color-charcoal);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
    cursor: pointer;
    transition: transform var(--transition-smooth), box-shadow var(--transition-smooth);
}

.tipos-eventos__card:hover {
    transform: translateY(-4px);
    box-shadow: 0 16px 36px rgba(0, 0, 0, 0.16);
}

/* Mídia & Imagem */
.tipos-eventos__card-media {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
}

.tipos-eventos__card-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    transition: transform 0.85s var(--ease-luxury);
    display: block;
}

.tipos-eventos__card:hover .tipos-eventos__card-img {
    transform: scale(1.06);
}

/* Overlay escuro removido a pedido do usuário */
.tipos-eventos__card-overlay {
    display: none;
}

/* Gradiente sutil apenas na área do título para garantir contraste */
.tipos-eventos__card-content::before {
    content: "";
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 200%;
    background: linear-gradient(
        to top,
        rgba(0, 0, 0, 0.62) 0%,
        rgba(0, 0, 0, 0.28) 50%,
        transparent 100%
    );
    pointer-events: none;
    z-index: -1;
}

/* Tipografia / Conteúdo do Card — Afastado da borda inferior e com peso reforçado */
.tipos-eventos__card-content {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    padding: 50px 24px 50px;
    z-index: 2;
    pointer-events: none;
    text-align: center;
    overflow: hidden;
}

.tipos-eventos__card-title {
    font-family: var(--font-display);
    font-size: clamp(1.4rem, 2.3vw, 1.85rem);
    font-weight: 600;
    color: var(--color-white);
    letter-spacing: 0.08em;
    text-transform: uppercase;
    line-height: 1.25;
    margin: 0;
    text-shadow: 0 3px 14px rgba(0, 0, 0, 0.7);
}

/* Botões de Navegação Alinhados à Esquerda */
.tipos-eventos__nav {
    display: flex;
    align-items: center;
    justify-content: flex-start;
    gap: 20px;
    margin-top: 32px;
}

.tipos-eventos__nav-btn {
    width: 48px;
    height: 48px;
    border: 1px solid var(--color-border);
    background-color: transparent;
    color: var(--color-charcoal);
    border-radius: 50%;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all var(--transition-fast);
    padding: 0;
    outline: none;
}

.tipos-eventos__nav-btn svg {
    width: 22px;
    height: 22px;
    transition: transform var(--transition-fast);
}

.tipos-eventos__nav-btn:hover:not(:disabled) {
    background-color: var(--color-copper);
    border-color: var(--color-copper);
    color: var(--color-white);
    transform: translateY(-2px);
    box-shadow: 0 4px 14px rgba(191, 114, 30, 0.25);
}

.tipos-eventos__nav-btn--prev:hover:not(:disabled) svg {
    transform: translateX(-3px);
}

.tipos-eventos__nav-btn--next:hover:not(:disabled) svg {
    transform: translateX(3px);
}

.tipos-eventos__nav-btn:active:not(:disabled) {
    transform: translateY(0);
}

.tipos-eventos__nav-btn:disabled {
    opacity: 0.35;
    cursor: not-allowed;
    border-color: var(--color-border);
}

/* Responsividade Tablet e Desktop */
@media (min-width: 680px) {
    .tipos-eventos__card {
        flex: 0 0 46%;
    }
}

@media (min-width: 1024px) {
    .tipos-eventos-section {
        padding: 90px 0 100px;
    }

    .tipos-eventos__header {
        margin-bottom: 40px;
    }

    .tipos-eventos__title {
        font-size: 2.5rem;
    }

    .tipos-eventos__description {
        font-size: 1.6rem;
        max-width: 860px;
    }

    .tipos-eventos__track {
        gap: 28px;
        padding-bottom: 0;
    }

    .tipos-eventos__card {
        flex: 0 0 calc((100% - 56px) / 3);
        max-height: 520px;
        min-height: 460px;
    }

    .tipos-eventos__card-content {
        bottom: 0;
        padding: 55px 30px 55px;
    }

    .tipos-eventos__nav {
        margin-top: 40px;
    }
}
