.hero {
    position: relative;
    height: 100dvh;
    display: flex;
    align-items: flex-end;
    overflow: hidden;
    padding:0;
}

.hero__bg-video {
    width: 100%;
    height: 100%;
    object-fit: cover;
    z-index: 1;
}

.hero__content {
    width: 100%;
    position: absolute;
    bottom: 0;
    left: 0;
    gap: var(--spacing-gap-large);
    right: 0;
    background: linear-gradient(to top, rgba(0, 0, 0, 0.7) 0%, transparent 100%);
    z-index: 3;
    display: flex;
    justify-content: space-between;
    align-items: flex-end;
    padding: 0 var(--spacing-wrapper-horizontal) var(--spacing-section-vertical) var(--spacing-wrapper-horizontal);
}

.hero .ornamento {
    width: 65%;
    position: absolute;
    right: -20%;
    bottom:0;
    transform: translateY(40%);
    pointer-events: none;
    z-index: 2;
}

.hero .ornamento img {
    width: 100%;
    height: auto;
    will-change: transform;
    max-height: 150dvh;
    transition: transform 1s ease;
}



.hero__content .left-side {
    width: 100%;
    display: flex;
    flex-direction: column;
    gap: var(--spacing-gap-small);
    z-index: 5;
}

.hero__content .left-side .section-title-container {
    gap: 10px;
    width: 100%;
}

.hero__content .left-side .section-title__heading {
    width: 100%;
    font-size: var(--font-size-h1);
    line-height: var(--line-height-h1);
    color: #fff;
}

.hero__description {
    margin: 0;
    color: #fff;
    width: 70%;
}



/* SLIDE */

.hero__content .right-side {
    width: 30%;
    max-width: 450px;
    min-width: 300px;
    z-index: 5;
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
}

.hero__content .section-title__chip {
    color: #fff;
}

/* Hero Swiper */
.hero-swiper {
    width: 100%;
    position: relative;
}

.hero-swiper .swiper-wrapper {
    align-items: flex-end;
}

.hero-swiper .swiper-slide a {
    display: flex;
    flex-direction: column;
    width: 100%;
    text-decoration: none;
    color: inherit;
    transition: transform 0.3s ease;
    overflow: hidden;
    gap: 6px;
    flex: 1;
}

.hero-swiper .swiper-slide a:hover {
   
}

.hero-slide-thumb {
    width: 100%;
    overflow: hidden;
    position: relative; /* Para posicionar o título absoluto */
    padding: 8px;
    border-radius: var(--border-radius-medium);
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(30px);
    will-change: background;
    transition: background 0.15s ease-out;
}

.hero-slide-thumb img {
    width: 100%;
    height: auto;
    display: block;
    object-fit: cover;
    aspect-ratio: 16 / 9;
}

/* Evento: thumb com ratio variável (min ~16:9, max 4:5) */
.hero-swiper .swiper-slide--evento .hero-slide-thumb img {
    aspect-ratio: unset;
}

.hero-slide-thumb .image-container {
    width: 100%;
    position: relative;
    border-radius: var(--border-radius-small);
    overflow: hidden;
}

.hero-slide-title-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    min-height: 40%;
    display: flex;
    align-items: flex-end;
    justify-content: flex-start;
    padding: var(--padding-medium);
    background: linear-gradient(to top, rgba(0, 0, 0, 0.7) 0%, transparent 100%);
    opacity: 0.8; /* Opacidade do degrade, ajuste conforme necessário */
    z-index: 2;
    color: white; /* Cor do texto do título */
    container-type: inline-size;
}

.hero-slide-title-overlay h5 {
    margin: 0; /* Remove margem padrão do h5 */
    font-family: 'Fira Sans', sans-serif;
    font-size: 5.8cqw;
    line-height: 6.1cqw;
    font-weight: 400;
    text-wrap: balance;
    color: inherit; /* Herda a cor branca da div pai */
}

.hero-slide-content {
    padding: 15px;
    background: rgba(255, 255, 255, 0.1);
    will-change: background;
    transition: background 0.15s ease-out;
    backdrop-filter: blur(30px);
    color: #fff;
    border-radius: var(--border-radius-medium);
    will-change: opacity, transform, visibility;
}

.hero-slide-content.event-padding {
    padding: 10px;
}

.hero-slide-content p {
    margin: 0;
    color:#fff;
    opacity:0.8;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}


.date-wrapper {
    display: flex;
    gap: 15px;
    align-items: center;
}

.date-wrapper .date-squares {
    display: flex;
    gap: 5px;
}

.date-wrapper .date-squares .date-square {
    width: 50px;
    height: 50px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    gap: 1px;
    align-items: center;
    background: rgba(255, 255, 255, 0.1);
    border-radius: var(--border-radius-small);
}

.date-wrapper .date-squares .date-square.start-date {
    background: var(--color-accent-primary);
}

.date-wrapper .date-squares .date-square.end-date {
    background: rgba(255, 255, 255, 0.2);
}

.date-wrapper .date-squares .date-square .date-day {
    font-size: 22px;
    line-height: 22px;
    font-weight: 700;
}

.date-wrapper .date-squares .date-square .date-month {
    font-size: 12px;
    line-height: 12px;
    font-weight: 400;
    text-transform: uppercase;
}

.date-wrapper .date-title { 
    font-weight:700;
}

.hero-slide-title { 
    color:#fff;
    font-size: var(--font-size-small);
    line-height: calc(var(--line-height-small) * 0.8);
    text-wrap: balance;
}

@media (max-width: 1500px) {
    .hero__description { width: 100%; }
}

@media (max-width: 1024px) {
    .hero__content .left-side { width: 100%; }
}



@media (max-width: 768px) {

    .hero__content .right-side { display:none; }
    .hero__description { text-align:center;}
    /* .hero__content { padding: 0 var(--spacing-wrapper-horizontal) var(--spacing-wrapper-horizontal) var(--spacing-wrapper-horizontal); } */
}
