/* ==========================================================
   SEÇÃO: PRÓXIMOS EVENTOS (styles/home/events.css)
   Card Réveillon Sky Bar 2026/2027
   100% Horizontal em Desktop e Mobile (Sem quebra de linha, botões e card retos)
   ========================================================== */

.events-section {
    position: relative;
    background-color: #ffffff;
    background: #ffffff;
    padding: clamp(50px, 7vw, 90px) 0 clamp(36px, 5vw, 60px);
    width: 100%;
    box-sizing: border-box;
    z-index: 5;
}

.events-container {
    max-width: 1180px;
    margin: 0 auto;
    padding: 0 clamp(16px, 3vw, 32px);
    box-sizing: border-box;
    will-change: transform, opacity;
}

/* Cabeçalho da Seção */
.events-header {
    margin-bottom: clamp(28px, 4vw, 44px);
}

.events-tag {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    font-family: 'JetBrains Mono', monospace;
    font-size: clamp(15px, 1.2vw, 18.5px);
    text-transform: uppercase;
    letter-spacing: 0.14em;
    color: #0284c7;
    font-weight: 600;
    margin-bottom: 10px;
}

.events-tag__star {
    display: inline-block;
    width: 1.15em;
    height: 1.15em;
    flex-shrink: 0;
    color: #0284c7;
    transform-origin: 50% 50%;
    animation: eventsStarSpin 7s linear infinite;
    filter: drop-shadow(0 0 8px rgba(2, 132, 199, 0.45));
    will-change: transform;
}

@keyframes eventsStarSpin {
    from {
        transform: rotate(0deg);
    }
    to {
        transform: rotate(360deg);
    }
}

.events-title {
    font-family: 'Cormorant Garamond', 'Hedvig Letters Serif', Georgia, serif;
    font-size: clamp(32px, 4.2vw, 50px);
    font-weight: 500;
    color: #0f172a;
    line-height: 1.12;
    letter-spacing: -0.015em;
    margin: 0 0 10px 0;
}

.events-subtitle {
    font-family: 'Inter', sans-serif;
    font-size: clamp(14px, 1.05vw, 16.5px);
    color: #64748b;
    line-height: 1.6;
    max-width: 620px;
    margin: 0;
    font-weight: 400;
}

/* ==========================================================
   CARD 100% HORIZONTAL (DESKTOP E MOBILE)
   Proporção panorâmica, cantos retos (0px), botão reto (0px)
   Título "Réveillon Sky Bar 2026/2027" em linha única (sem quebra)
   ========================================================== */
.events-card-ref {
    display: block;
    text-decoration: none;
    position: relative;
    width: 100%;
    height: clamp(145px, 21vw, 255px);
    background-color: #a5c9f8;
    background: linear-gradient(135deg, #a9ccf8 0%, #9bc2f6 50%, #8db8f2 100%);
    border-radius: 0; /* Totalmente reto */
    border: none;
    overflow: hidden;
    box-shadow: 0 12px 36px rgba(147, 187, 245, 0.35);
    transition: transform 0.3s cubic-bezier(0.16, 1, 0.3, 1), box-shadow 0.3s ease;
    cursor: pointer;
    box-sizing: border-box;
}

.events-card-ref:hover {
    transform: translateY(-3px);
    box-shadow: 0 20px 48px rgba(147, 187, 245, 0.5);
}

/* Lado Esquerdo: Conteúdo tipográfico */
.events-card-ref__content {
    position: relative;
    z-index: 3;
    width: 60%;
    height: 100%;
    padding: clamp(14px, 2.8vw, 36px) clamp(16px, 3.4vw, 44px);
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: flex-start;
    box-sizing: border-box;
}

.events-card-ref__tag {
    font-family: 'JetBrains Mono', monospace;
    font-size: clamp(8.5px, 0.8vw, 12px);
    font-weight: 700;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: #1a365d;
    opacity: 0.85;
    margin-bottom: clamp(4px, 0.8vw, 10px);
    white-space: nowrap;
}

/* Título: Sem quebra de linha em nenhuma tela */
.events-card-ref__title {
    font-family: 'Inter', sans-serif;
    font-size: clamp(12.5px, 2.1vw, 34px);
    font-weight: 700;
    color: #1a365d;
    letter-spacing: -0.025em;
    line-height: 1.1;
    margin: 0;
    white-space: nowrap; /* NUNCA QUEBRA DE LINHA */
    max-width: 100%;
}

/* Botão: Reto (sem arredondamento) */
.events-card-ref__btn {
    margin-top: clamp(8px, 1.5vw, 18px);
    display: inline-flex;
    align-items: center;
    gap: clamp(5px, 0.6vw, 8px);
    background: #162d4e;
    color: #ffffff;
    font-family: 'Inter', sans-serif;
    font-size: clamp(9.5px, 0.9vw, 13.5px);
    font-weight: 600;
    padding: clamp(6px, 0.8vw, 11px) clamp(12px, 1.4vw, 22px);
    border-radius: 0; /* BOTÃO RETO */
    transition: all 0.25s ease;
    box-shadow: 0 4px 12px rgba(22, 45, 78, 0.25);
    white-space: nowrap;
}

.events-card-ref:hover .events-card-ref__btn {
    background: #0f1f35;
    transform: translateX(3px);
}

.events-card-ref__btn svg {
    width: clamp(10px, 0.9vw, 14px);
    height: clamp(10px, 0.9vw, 14px);
    transition: transform 0.25s ease;
}

.events-card-ref:hover .events-card-ref__btn svg {
    transform: translateX(3px);
}

/* Lado Direito: Foto da Vista com Corte Diagonal Fiel */
.events-card-ref__photo-wrap {
    position: absolute;
    top: 0;
    right: 0;
    bottom: 0;
    width: 47%;
    overflow: hidden;
    clip-path: polygon(25% 0%, 100% 0%, 100% 100%, 0% 100%);
    border-radius: 0;
    z-index: 2;
}

.events-card-ref__img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    border-radius: 0;
    display: block;
    transition: transform 0.6s cubic-bezier(0.16, 1, 0.3, 1);
}

.events-card-ref:hover .events-card-ref__img {
    transform: scale(1.05);
}

/* Ajustes Mobile Suaves: Mantém 100% Horizontal! */
@media (max-width: 600px) {
    .events-section {
        padding: 40px 0 32px;
    }

    .events-container {
        padding: 0 12px;
    }

    .events-card-ref {
        height: clamp(120px, 32vw, 160px);
    }

    .events-card-ref__content {
        width: 62%;
        padding: 10px 12px;
    }

    .events-card-ref__photo-wrap {
        width: 44%;
        clip-path: polygon(20% 0%, 100% 0%, 100% 100%, 0% 100%);
    }

    .events-card-ref__title {
        font-size: clamp(11.5px, 3.6vw, 16px);
    }

    .events-card-ref__tag {
        font-size: clamp(7.5px, 2.1vw, 9.5px);
        margin-bottom: 3px;
    }

    .events-card-ref__btn {
        margin-top: 6px;
        padding: 5px 10px;
        font-size: 9.5px;
        gap: 4px;
    }

    .events-card-ref__btn svg {
        width: 10px;
        height: 10px;
    }
}
