/* Variáveis Globais */

:root {
    --header-background: #fff;
    --arrow-color: #000;
    --bullet-color: #999;
    --cookie-color: #9a9999;
    --title-gradient: linear-gradient(90deg, rgba(42, 141, 212, 1) 0%, rgba(46, 101, 140, 1) 20%, rgba(46, 101, 140, 1) 80%, rgba(42, 141, 212, 1) 100%);
    --horario-background: #0c3155;
    --estreia-background: #00588A;
    --bullet: #5b5050;
    --footer-color: #545454;
    --blue-dark: #103651;
    --danger-estreias: #F0B2B5;
    --tom-select: #c6c3c3;
    --bg-acessibilidade: #757272;
}

html {
    scroll-behavior: smooth;
}

html,
body {
    overflow-x: hidden;
    background: var(--blue-dark);
    color: var(--header-background);
    font-family: 'Poppins', sans-serif !important;
}

.background-blue-dark {
    background: #3e4244;
    border-radius: 10px;
}

.navbar-nav .nav-link:focus,
.navbar-nav .nav-link:hover {
    outline: 2px solid var(--header-background);
    outline-offset: 2px;
    text-decoration: underline;
}

.navbar-nav .dropdown-menu a:focus,
.navbar-nav .dropdown-menu a:hover {
    outline: 2px solid var(--header-background);
    outline-offset: 2px;
    text-decoration: underline;
}


.title-logo {
    font-size: 1.5em;
}

.logo-img {
    height: auto;
    width: auto;
    max-height: 80px;
}

@media (max-width: 576px) {
    .logo-img {
        max-height: 50px;
    }
}

.top-bar {
    background: var(--blue-dark);
}

.nav-item.dropdown:hover .dropdown-menu {
    display: block;
    margin-top: 0;
}

@media (max-width: 991.98px) {
    .navbar .dropdown-menu {
        display: block !important;
        position: static;
        float: none;
        background-color: transparent;
        border: none;
        box-shadow: none;
        padding-left: 1rem;
    }

    .dropdown-menu .dropdown-item::before {
        content: "•";
        display: inline-block;
        margin-right: 8px;
        color: var(--header-background);
        font-size: 1.2em;
        line-height: 1;
    }

    .dropdown-item {
        color: var(--header-background);
    }

    .navbar .dropdown-toggle::after {
        display: none;
    }

    .navbar-toggler-icon {
        background-image: url("data:image/svg+xml;charset=utf8,%3Csvg viewBox='0 0 30 30' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath stroke='white' stroke-width='2' stroke-linecap='round' stroke-miterlimit='10' d='M4 7h22M4 15h22M4 23h22'/%3E%3C/svg%3E");
    }

    .navbar-toggler {
        border: 2px solid var(--header-background);
        border-radius: 4px;
    }

}

.mt-55 {
    margin-top: 5.5rem !important;
}

.mt-75 {
    margin-top: 7.5rem !important;
}

.img-gaia {
    height: 40px;
}

.accessibility-apps {
    flex-wrap: wrap;
    justify-content: center;
    gap: 0.5rem;
}

.accessibility-apps img {
    max-height: 40px;
}

@media (max-width: 767px) {
    .desc-acess {
        font-size: 16px;
    }
}


footer {
    background: var(--blue-dark);
    color: var(--header-background);
}


/* ################## CSS Janela de Cookies ##################*/

.banner-cookies {
    background-color: var(--blue-dark);
}

.title-pref {
    font-size: 1rem;
}

#cookie-preferences-btn {
    display: none;
}

.modal-title {
    color: var(--arrow-color);
}

label {
    color: var(--arrow-color);
}

#modalPoliticaPrivacidade .modal-body {
    color: var(--arrow-color);
}

#modalPoliticaPrivacidade h6 {
    font-weight: bold;
}

#cookieConfigModal .modal-body {
    max-height: 60vh;
    overflow-y: auto;
}


.cookie-small-panel {
    position: fixed;
    bottom: 10px;
    left: 60px;
    width: 280px;
    background-color: #fff;
    border-radius: 8px;
    padding: 16px;
    z-index: 1060;
    font-size: 0.875rem;
    border: 1px solid #ccc;
}

@media (max-width: 576px) {
    .cookie-small-panel {
        right: 5%;
        bottom: 120px;
    }
}

.cookie-floating-btn {
    position: fixed;
    bottom: 10px;
    left: 10px;
    z-index: 1055;
    background-color: var(--header-background);
    color: var(--arrow-color);
    border: none;
    border-radius: 50%;
    padding: 12px 14px;
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.2);
    font-size: 20px;
}

.fw-bold {
    color: var(--arrow-color);
}

.text-cookies {
    color: var(--arrow-color);
}

.cookie-floating-btn:hover {
    background-color: var(--cookie-color);
}


/* ################## CSS Swiper Carrossel Principal ##################*/

.swiper {
    overflow: visible;
    padding-bottom: 60px;
    margin-right: 5%;
}


.swiper-banner {
    position: relative;
    overflow: visible;
    padding-bottom: 60px;
}

.swiper-banner .swiper-controls-combined {
    position: absolute;
    left: 0;
    right: 0;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 10px;
    z-index: 10;
}

.swiper-banner .swiper-buttons-row {
    display: flex;
    gap: 80px;
}

.swiper-banner .swiper-button-prev,
.swiper-banner .swiper-button-next {
    display: none;
}

.swiper-banner .swiper-button-prev::after,
.swiper-banner .swiper-button-next::after {
    color: var(--header-background);
    font-size: 18px;
    text-shadow: 0 1px 2px rgba(0, 0, 0, 0.7);
}

.swiper-banner .swiper-pagination {
    display: flex;
    justify-content: center;
    margin-top: 5px;
}

.swiper-banner .swiper-pagination-bullet {
    width: 44px;
    height: 44px;
    background-color: rgba(255, 255, 255, 0.5);
    border: 2px solid var(--bullet);
    opacity: 1;
    margin: 0 6px;
    transition: all 0.3s;
}


.swiper-banner .swiper-pagination-bullet-active {
    background-color: var(--bullet);
    transform: scale(1.2);
}


.swiper-banner .swiper-pagination {
    display: flex;
    justify-content: center;
    margin-top: 5px;
    margin-bottom: 35px;
}


.swiper-wrapper {
    display: flex;
}

.swiper-slide {
    width: 95%;
    flex-shrink: 0;
}

.swiper-slide picture,
.swiper-slide img {
    width: 100%;
    height: auto;
    display: block;
    border-radius: 10px;
}

.swiper-controls-combined {
    position: absolute;
    left: 0;
    right: 0;
    bottom: 70px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 10px;
    z-index: 10;
}

.swiper-buttons-row {
    display: flex;
    gap: 80px;
}


.swiper-button-prev,
.swiper-button-next {
    width: 40px;
    height: 40px;
    background-color: var(--header-background);
    border-radius: 50%;
    cursor: pointer;
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 10;
    margin-right: 80px;
    margin-left: 80px;
    margin-top: 10px;
}


.swiper-button-prev::after,
.swiper-button-next::after {
    color: var(--arrow-color);
    font-size: 18px;
}


.swiper-pagination {
    flex-grow: 1;
    display: flex;
    justify-content: center;
}

.swiper-pagination-bullet {
    background-color: var(--bullet-color);
    opacity: 1;
    margin: 0 6px;
}

.swiper-pagination-bullet-active {
    background-color: var(--arrow-color);
}


@media (max-width: 767px) {

    .swiper-slide {
        width: 90%;
    }

    .swiper-banner .swiper-controls-combined {
        display: none;
    }


    .swiper-controls-combined {
        bottom: 5px;
        gap: 0;
    }

    .swiper-pagination {
        position: absolute;
        bottom: 0;
        z-index: 11;
    }

    .swiper-principal {
        margin-top: -5%;
    }

    .swiper {
        padding-bottom: 0px;
        margin-bottom: 40px;
    }
}


/* ################## CSS Carrossel de Filmes da Semana ##################*/

h2.title-text {
    font-size: 1.5rem;
    font-weight: 500;
}

.title-text {
    background: var(--title-gradient);
    color: var(--header-background);
    border-radius: 12px;
    max-width: 100%;
    padding: 16px 32px;
}

.filmesSwiper {
    overflow: visible;
    padding-left: 16px;
    padding-right: 16px;
    margin-right: -16px;
}


.filmesSwiper .swiper-wrapper {
    display: flex;
}

.filmesSwiper .swiper-slide {
    width: auto;
    flex-shrink: 0;
}

.movie-card {
    width: 300px;
    position: relative;
}

.movie-card img {
    display: block;
    width: 100%;
    border-radius: 8px;
}

.movie-card .btn {
    min-width: 100px;
    justify-content: center;
    font-weight: 500;
}

.rating-badge {
    position: absolute;
    top: 8px;
    right: 8px;
    width: 32px;
    height: 32px;
    border-radius: 10px;
    color: var(--header-background);
    font-size: 0.9rem;
    font-weight: bold;
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 5;
}

.accessibility-badge {
    position: absolute;
    bottom: 70px;
    left: 50%;
    transform: translateX(-50%);
    padding: 4px 10px;
    border-radius: 6px;
    background: #1d5d86;
    color: #fff;
    font-size: 0.75rem;
    font-weight: 600;
    line-height: 1.2;
    z-index: 10;
    backdrop-filter: blur(2px);
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.25);
    white-space: nowrap;
}

.accessibility-badge-retorno {
    position: absolute;
    bottom: 70px;
    left: 50%;
    transform: translateX(-50%);
    padding: 4px 10px;
    border-radius: 6px;
    background: #1d5d86;
    color: #fff;
    font-size: 0.75rem;
    font-weight: 600;
    line-height: 1.2;
    z-index: 10;
    backdrop-filter: blur(2px);
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.25);
    white-space: nowrap;
}

@media (max-width: 767px) {
    .accessibility-badge {
        bottom: 140px;
    }
}

.filme-accessibility-badge {
    display: inline-block;
    width: 32px;
    height: 32px;
    /* margin-right: 8px; */
    margin-right: 70px;
}


.rating-badge[data-rating="L"],
.rating-badge[data-rating="0"],
.rating-badge[data-rating="livre"] {
    background-image: url("../img/classind/L.svg");
    background-repeat: no-repeat;
    background-size: contain;
}

.rating-badge[data-rating="6"] {
    background-image: url("../img/classind/6.svg");
    background-repeat: no-repeat;
    background-size: contain;

}

.rating-badge[data-rating="10"] {
    background-image: url("../img/classind/10.svg");
    background-repeat: no-repeat;
    background-size: contain;

}

.rating-badge[data-rating="12"] {
    background-image: url("../img/classind/12.svg");
    background-repeat: no-repeat;
    background-size: contain;
}

.rating-badge[data-rating="14"] {
    background-image: url("../img/classind/14.svg");
    background-repeat: no-repeat;
    background-size: contain;
}

.rating-badge[data-rating="16"] {
    background-image: url("../img/classind/16.svg");
    background-repeat: no-repeat;
    background-size: contain;
    width: 30px;
    height: 30px;
}

.rating-badge[data-rating="18"] {
    background-image: url("../img/classind/18.svg");
    background-repeat: no-repeat;
    background-size: contain;
    border: 1px solid var(--header-background);
}

.movie-title {
    position: absolute;
    bottom: 38px;
    left: 0;
    right: 0;
    background: rgba(0, 0, 0, 0.6);
    color: var(--header-background);
    text-align: center;
    padding: 6px 8px;
    font-size: 0.9rem;
    font-weight: 600;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    border-radius: 0 0 8px 8px;
    z-index: 10;
}

.movie-icons {
    position: absolute;
    bottom: 0;
    right: 0.6rem;
    display: flex;
    gap: 8px;
    z-index: 11;
}

.movie-icons .icon-link {
    color: var(--header-background);
    font-size: 1.2rem;
    background: rgba(0, 0, 0, 0.5);
    border-radius: 50%;
    padding: 6px;
    transition: background 0.3s;
}

.movie-icons .icon-link:hover {
    background: rgba(255, 255, 255, 0.2);
}

@media (max-width: 767px) {
    .movie-card {
        width: 200px;
        padding-bottom: 4.5rem;
    }

    .movie-title {
        position: static;
        background: rgba(0, 0, 0, 0.6);
        padding: 6px 4px;
        font-size: 0.9rem;
        line-height: normal;
        height: auto;
        white-space: nowrap;
        overflow: hidden;
        text-overflow: ellipsis;
        border-radius: 6px 6px 0 0;
    }

    .rating-badge {
        width: 28px;
        height: 28px;
        font-size: 0.8rem;
    }

    .movie-icons {
        position: static;
        margin-top: 4px;
        justify-content: center;
    }

    .movie-icons .icon-link {
        font-size: 1.1rem;
        padding: 5px;
    }
}

.swiper-button-prev.filmes-prev,
.swiper-button-next.filmes-next {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 40px;
    height: 40px;
    z-index: 15;
    color: var(--arrow-color);
    background: var(--header-background);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: background 0.3s;
}

.swiper-button-prev.filmes-prev {
    left: 12px;
}

.swiper-button-next.filmes-next {
    right: 12px;
}

.swiper-button-prev.filmes-prev:hover,
.swiper-button-next.filmes-next:hover {
    background: rgba(255, 255, 255, 0.3);
}


@media (max-width: 767px) {

    .swiper-button-prev.filmes-prev,
    .swiper-button-next.filmes-next {
        display: none;
    }
}


.filmes-pagination {
    position: absolute;
    margin-bottom: 30px;
    z-index: 15;
    display: flex;
    justify-content: center;
    gap: 6px;
    pointer-events: auto;
    margin-top: 20px;
}


@media (max-width: 767px) {
    .filmes-pagination {
        margin-top: -15%;
    }
}

.filmes-pagination .swiper-pagination-bullet {
    width: 10px;
    height: 10px;
    background: rgba(255, 255, 255, 0.6);
    opacity: 1;
    border-radius: 50%;
    transition: background 0.3s;

}

.filmes-pagination .swiper-pagination-bullet-active {
    background: var(--header-background);
}



/*################## CSS Buscar Programação ##################### */

/* Selects escondidos */
.select-hidden {
    position: absolute !important;
    opacity: 0;
    height: 1px;
    width: 100%;
    margin: 0;
    padding: 0;
    border: 0;
    overflow: hidden;
}

/* Títulos */
h1.title-text {
    font-size: 1.5rem;
    font-weight: 500;
    margin-top: -20px;
}

@media (max-width: 767px) {
    h1.title-text { font-size: 1.3rem; }
    h2.title-text { font-size: 1.3rem; }
}

/* Form inputs básicos */
#formBuscaProgramacao select,
#formBuscaProgramacao input,
#formBuscaProgramacao textarea {
    font-size: 16px !important;
    color: var(--arrow-color);
}

/* =================== Tom Select =================== */
.tom-select,
.tom-select .ts-control,
.tom-select .ts-control input,
.tom-select .ts-control input[type="text"],
.tom-select .ts-control input[type="search"] {
    font-size: 16px !important;
    line-height: 1.4;
    color: #111111 !important; /* texto habilitado */
    background-color: #fff !important; /* fundo habilitado */
    -webkit-text-fill-color: #111111 !important;
}

.tom-select .ts-control input::placeholder {
    color: #6c757d !important; /* placeholder cinza médio */
    opacity: 1;
}

.tom-select,
.tom-select .ts-control,
.tom-select .ts-dropdown {
    width: 100% !important;
    max-width: 100vw;
    box-sizing: border-box;
    font-size: 16px !important;
    line-height: 1.4;
}

.tom-select .ts-control {
    padding: 0.6rem 0.8rem;
    border: 1px solid #ccc;
    border-radius: 6px;
    min-height: 44px;
    color: #111111 !important;
    -webkit-text-fill-color: #111111 !important;
}

.tom-select .item {
    border-radius: 4px;
    padding: 5px 8px;
    margin-right: 4px;
    color: #111111 !important;
}

.tom-select .ts-dropdown {
    background-color: #fff;
    max-height: 250px;
    overflow-y: auto;
    box-shadow: 0 6px 12px rgba(0, 0, 0, 0.1);
    border: 1px solid #ccc;
    z-index: 9999;
}

.tom-select .option {
    color: #111111;
    background-color: #fff;
}

.tom-select .option:last-child {
    border-bottom: none;
}

.tom-select .option:hover,
.tom-select .option.active {
    color: #fff;
    background-color: #007bff;
}

.tom-select.focus .ts-control {
    border-color: #007bff;
    box-shadow: 0 0 0 0.2rem rgba(0, 123, 255, 0.25);
}

@media (max-width: 767px) {
    .tom-select .ts-dropdown {
        position: absolute !important;
        left: 0 !important;
        right: 0 !important;
        width: 100% !important;
        margin: 0 auto;
        box-sizing: border-box;
        z-index: 9999;
    }

    form .form-select,
    form select,
    .tom-select .ts-control input {
        font-size: 16px !important;
        color: #111111 !important;
        background-color: #fff !important;
        -webkit-text-fill-color: #111111 !important;
    }

    .btn-buscar { margin-bottom: 0px !important; }
}

/* =================== Campos desabilitados (Cidade e Cinema) =================== */
.ts-control-fake-disabled {
    background-color: #e9ecef !important; /* cinza claro */
    color: #495057 !important;           /* texto escuro */
    cursor: not-allowed !important;
    pointer-events: none;
}

.ts-control-fake-disabled input {
    cursor: not-allowed !important;
    color: #495057 !important;
    -webkit-text-fill-color: #495057 !important;
}

/* Campos readonly (se houver) */
.tom-select .ts-control input[readonly] {
    background-color: #e9ecef !important;
    color: #495057 !important;
    cursor: not-allowed !important;
}

.tom-select .ts-control[readonly] {
    border-color: #ced4da !important;
}

.tom-select .ts-control input[readonly]::placeholder {
    color: #495057 !important;
    opacity: 1;
}

/* Estados do aria-disabled (fallback) */
.tom-select.ts-control[aria-disabled="true"] {
    background-color: #f0f0f0;
    cursor: not-allowed;
    color: #495057;
}

.ts-control-disabled {
    background-color: #f0f0f0 !important;
    cursor: not-allowed !important;
}

.ts-dropdown-disabled .ts-dropdown {
    display: none !important;
}

/* =================== Form e carrossel =================== */
form { padding: 0 1rem; }

.carousel-wrapper { position: relative; overflow: hidden; }

.cinema-header { border-top: 1px solid #eee; }

.btn-buscar {
    background: var(--arrow-color);
    color: var(--header-background);
    margin-bottom: 20px;
}

#buscarFilmesBtn:hover,
#buscarFilmesBtn:focus,
#buscarFilmesBtn:active {
    background-color: var(--arrow-color) !important;
    border-color: var(--arrow-color) !important;
    color: var(--header-background) !important;
    box-shadow: none !important;
    transform: none !important;
    cursor: pointer !important;
}




/* CSS Retorno busca */


.cinema-header h2 {
    font-size: 1.2rem;
}

.oculto {
    position: absolute !important;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0 0 0 0);
    white-space: nowrap;
    border: 0;
    color: var(--header-background);
}

.oculto:focus {
    position: static;
    width: auto;
    height: auto;
    overflow: visible;
    background: #000;
    color: #fff;
    padding: 8px 12px;
    z-index: 1000;
}




.date-carousel {
    overflow-x: auto;
    scroll-behavior: smooth;
    display: flex;
    justify-content: flex-start;
    gap: 10px;
    flex-wrap: nowrap;
    scrollbar-width: none;
}

.date-carousel::-webkit-scrollbar {
    display: none;
}

.date-card {
    min-width: 80px;
    text-align: center;
    padding: 8px 12px;
    border-radius: 8px;
    background: var(--header-background);
    color: var(--arrow-color);
    cursor: pointer;
    transition: all 0.2s;
}

.date-card.active,
.date-card:hover {
    background: var(--title-gradient);
    color: var(--header-background);
}

@media (max-width: 767px) {
    .date-carousel {
        flex: 0 0 100%;
        overflow-x: hidden;
    }

    .date-card {
        flex: 0 0 calc(100% / 3 - 0.5rem);
    }

    .carousel-wrapper .carousel-nav {
        display: block;
    }

    .carousel-nav.left {
        left: 0;
    }

    .carousel-nav.right {
        right: 0;
    }
}

@media (min-width: 768px) {
    .date-card {
        flex: 0 0 calc(100% / 7 - 0.5rem);
    }
}

.carousel-nav {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    border: none;
    background: rgba(0, 0, 0, 0.5);
    color: var(--header-background);
    padding: 6px 10px;
    border-radius: 50%;
    cursor: pointer;
    z-index: 2;
}

.carousel-wrapper.has-overflow .carousel-nav {
    display: block;
}

.carousel-nav.left {
    left: 0;
}

.carousel-nav.right {
    right: 0;
}

.session-list {
    margin-top: 1.5rem;
}

.session-box {
    display: flex;
    flex-wrap: wrap;
    gap: 1rem;
    border-radius: 12px;
    padding: 1rem;
    margin-bottom: 1rem;
    align-items: flex-start;
    border-bottom: 1px solid var(--header-background);
}

.poster-wrapper {
    position: relative;
    flex-shrink: 0;
    max-width: 200px;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.poster-wrapper img {
    width: 100%;
    height: auto;
    border-radius: 8px;
}


.poster-title {
    position: absolute;
    bottom: 39px;
    left: 0;
    width: 100%;
    background: rgba(0, 0, 0, 0.6);
    color: var(--header-background);
    text-align: center;
    padding: 4px 6px;
    font-size: 0.9rem;
    border-bottom-left-radius: 8px;
    border-bottom-right-radius: 8px;
    box-sizing: border-box;
    overflow: hidden;
    white-space: nowrap;
    text-overflow: ellipsis;
}


.poster-title-busca {
    position: absolute;
    bottom: 39px;
    left: 0;
    width: 100%;
    background: rgba(0, 0, 0, 0.6);
    color: var(--header-background);
    text-align: center;
    padding: 4px 6px;
    font-size: 0.9rem;
    border-bottom-left-radius: 8px;
    border-bottom-right-radius: 8px;
    box-sizing: border-box;
    display: -webkit-box;
    -webkit-line-clamp: 1;
    -webkit-box-orient: vertical;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: normal;
}



.poster-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
    margin-top: 0.5rem;
    justify-content: center;
}


.apps {
    display: flex;
    align-items: center;
    justify-content: center;

    background: #5C5757;
    border: 2px solid #ffc107;
    border-radius: 12px;
    padding: 15px;
    box-shadow: 0 0 12px rgba(0, 0, 0, 0.2);
}

.apps-filme {
    background: #565252;
    border: 2px solid #ffc107;
    border-radius: 12px;
    padding: 15px;
    box-shadow: 0 0 12px rgba(0, 0, 0, 0.2);

    display: flex;
    flex-direction: column;
    gap: 12px;
}

.apps-filme-icons {
    display: flex;
    flex-wrap: wrap;        
    gap: 10px;             
    align-items: center;
}


.filme-accessibility-badge img {
    max-height: 40px;
    width: auto;
    display: block;
}


@media (min-width: 768px) {
    .apps {
        background: none;
        border: none;
        box-shadow: none;
        padding: 0;
    }
}


@media (max-width: 767px) {
    .session-box {
        flex-direction: column;
        align-items: center;
    }

    .poster-wrapper {
        width: 100%;
        max-width: 200px;
        margin-bottom: 0.5rem;
    }

    .poster-actions {
        justify-content: center;
    }

   
    .filme-accessibility-badge {
        flex: 1 1 45%; 
        margin-bottom: 10px;
    }
    
    .filme-accessibility-badge img {
        max-width: 100%;
        height: auto;
    }
    
}

@media (min-width: 768px) {
    .session-box {
        flex-wrap: nowrap;
        align-items: flex-start;
    }

    .poster-wrapper {
        margin-right: 1rem;
    }

    .poster-actions {
        justify-content: flex-start;
    }
}


.session-content {
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}


.session-line {
    width: 100%;
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 12px;
    padding: 12px 16px;
    background: var(--title-gradient);
    border-radius: 12px;
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.05);
}

.session-info-group {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.session-info-label {
    font-weight: 600;
    font-size: 15px;
    color: var(--header-background);
}

.session-time-group {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.ticket-button {
    background: linear-gradient(135deg, #ffc107, #ff9800);
    color: var(--arrow-color);
    font-weight: bold;
    font-size: 14px;
    padding: 8px 16px;
    border: none;
    border-radius: 30px;
    text-decoration: none;
    display: inline-block;
    cursor: pointer;
}

.ticket-button:hover {
    transform: scale(1.05);
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
    color: var(--arrow-color);
    text-decoration: none;
}

@media (max-width: 767px) {
    .session-box {
        flex-direction: column;
        align-items: center;
    }

    .poster-wrapper {
        width: 100%;
        max-width: 200px;
        margin-bottom: 0.5rem;
    }

    .poster-actions {
        justify-content: center;
    }

    .session-content {
        width: 100%;
    }

    .session-box>.session-content {
        margin-left: 0;
    }

    .session-line {
        flex-direction: column;
        align-items: flex-start;
        gap: 8px;
    }

    .session-info-group,
    .session-time-group {
        width: 100%;
    }
}

@media (min-width: 768px) {
    .session-box {
        flex-wrap: nowrap;
        align-items: flex-start;
    }

    .poster-wrapper {
        margin-right: 1rem;
    }
}

#trailerModal .modal-content {
    background: var(--blue-dark) !important;
    color: white;
}

#cookieConfigModal .modal-content {
    background: var(--blue-dark);
    color: white;
}

.modal-title {
    color: var(--header-background);
}


#cookieConfigModal .modal-content label {
    color: var(--header-background);
}

.modal .btn-close {
    filter: invert(1);
}




/* ##################### CSS Banner Publicidade ################# */

.publicidade-banner {
    background: var(--arrow-color);
}


/*################## CSS Filme ##################### */

.title-filme {
    color: var(--header-background);
    font-size: 1.5rem;
}

.poster {
    width: 300px;
    border-radius: 10px;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
}

@media (max-width: 767px) {
    .poster {
        width: 200px;
    }

    .title-filme {
        font-size: 1.3rem;
    }

    .container-filme {
        margin-top: 5.5rem !important;
    }

    .bottom-filme {
        margin-bottom: 40px !important;
    }
}

.poster-container {
    position: relative;
    display: inline-block;
    padding-bottom: 50px;
}

.session-line.full-width {
    width: 100%;
    margin-bottom: 1rem;
}

.sem-sessoes {
    text-align: center;
    font-weight: bold;
    margin: 20px 0;
    font-size: 1.1rem;
}


.trailer-container iframe {
    width: 100%;
    max-width: 800px;
    height: 450px;
    display: block;
    margin: 0 auto;
}


@media (max-width: 768px) {
    .trailer-container iframe {
        height: 250px;
    }

    .txt-acessibilidade {
        font-size: 15px;
    }
}

.bottom-filme {
    margin-bottom: 20px;
}

.apps-filme-vazio {
    height: 200px;
}

/* ################# CSS Auto completar ########################## */

.autocomplete-container {
    display: flex;
    flex-wrap: wrap;
    gap: 1rem;
    margin-top: 1rem;
}

.autocomplete-field {
    flex: 1;
    min-width: 200px;
}


/* ##################### CSS Agenda de Estreias ################# */

.txt-danger {
    color: var(--danger-estreias);
}

.txt-mobile {
    display: none;
}

@media (max-width: 768px) {
    .txt-mobile {
        display: block;
    }

}

.timeline-container {
    padding-left: 0;
    padding-right: 0;
}

.titulo-estreia {
    margin-left: -90px;
    font-size: 2rem;
}

.title-mes-estreia {
    background: var(--title-gradient);
    color: var(--header-background);
    border-radius: 12px;
    width: 100%;
    padding: 16px 32px;
    font-size: 20px;
    font-weight: bold;

}

.data-estreia {
    border: 1px solid white;
    border-radius: 8px;
    padding: 5px 10px;
    margin: 0 auto;
    font-size: 1rem;
}


.slide-estreias {
    background: var(--estreia-background);
    display: flex;
    flex-direction: column;
    align-items: center;
    min-height: 420px;
}

.swiper-estreia {
    overflow: visible;
    box-sizing: border-box;
    clip-path: inset(0 0 0 0);
}

.swiper-estreia .swiper-slide {
    transition: opacity 0.4s ease, transform 0.4s ease, background-color 0.4s ease;
    opacity: 0.5;
    transform: scale(0.95) translateY(80px);
    transform-origin: top left;
    padding: 15px;
    border-radius: 16px;
    box-sizing: border-box;
    width: 270px;
}

.swiper-estreia .swiper-slide-active {
    opacity: 1;
    transform: scale(1);
    background-color: var(--estreia-background);
}

@media (min-width: 1024px) {

    .swiper-estreia .swiper-slide {
        transform: none;
        opacity: 1;
    }

    .swiper-estreia {
        margin-left: 2%;
    }

}

.timeline-meses button {
    border: none;
    background: #f7f7f7;
    padding: 10px 16px;
    border-radius: 20px;
    font-weight: 600;
    cursor: pointer;
    white-space: nowrap;
    transition: all .3s;
}

.timeline-meses button:hover {
    background: #007bff;
    color: #fff;
}

.timeline-meses button.active {
    background: #007bff;
    color: #fff;
}

.filmes-mes {
    display: none;
    margin-bottom: 40px;
}

.filmes-mes.show {
    display: block;
    animation: fadeIn .4s ease-in-out;
}

.txt-sinopse {
    font-weight: normal;
}

@media (max-width: 768px) {
    .txt-sinopse {
        display: none;
    }
}

@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(10px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.poster-estreia {
    width: 100%;
    max-width: 250px;
    flex-shrink: 0;
    position: relative;
}

.poster-img {
    width: 100%;
    height: 380px;
    object-fit: cover;
    border-radius: 10px;
    box-shadow: 0 3px 8px rgba(0, 0, 0, .2);
}

.prev-estreia,
.next-estreia {
    width: 40px;
    height: 40px;
    background-color: var(--header-background);
    border-radius: 50%;
    cursor: pointer;
    position: absolute;
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 10;
}

.swiper-pagination {
    position: absolute !important;
    bottom: auto !important;
    text-align: center;
    z-index: 20;
}

.swiper-pagination-bullet {
    background: #fff;
    opacity: 0.6;
    transition: opacity 0.3s;
}

.swiper-pagination-bullet-active {
    opacity: 1;
    background: #007bff;
}

@media (max-width: 768px) {
    .text-muted {
        display: none;
    }

    .slide-estreias .filme-titulo {
        position: absolute;
        bottom: 0;
        left: 0;
        width: 100%;
        background: rgba(0, 0, 0, 0.6);
        color: #fff;
        padding: 5px 8px;
        font-size: 0.9rem;
        text-align: center;
        border-bottom-left-radius: 10px;
        border-bottom-right-radius: 10px;
        white-space: nowrap;
        overflow: hidden;
        text-overflow: ellipsis;
    }

    .slide-estreias img.poster-img {
        position: relative;
        display: block;
    }

    .poster-estreia {
        width: 100%;
        flex-shrink: 0;
        position: relative;
    }

    .badge-rating-estreia {
        left: 75%;
    }

    .titulo-estreia {
        margin-left: 0px;
    }

}


@media (min-width: 1024px) {
    .swiper-estreia .swiper-slide {
        transform: none;
        opacity: 1;
        width: 100%;
    }
}


.timeline-event {
    position: relative;
    padding-left: 40px;
    margin-right: 3%;
}


.timeline-event::before {
    content: "";
    position: absolute;
    left: 20px;
    top: 12px;
    bottom: 0;
    width: 2px;
    background: var(--header-background);
    border-radius: 2px;
}

.timeline-event::after {
    content: "";
    position: absolute;
    left: 14px;
    top: 0;
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background: #fff;
    border: 2px solid var(--header-background);
}


.timeline-event .filme-item {
    position: relative;
    padding-left: 20px;
    margin-bottom: 20px;
}


.timeline-event .filme-item:last-child::after {
    content: "";
    position: absolute;
    left: -20px;
    top: 12px;
    width: 2px;
    height: calc(100% - 12px);
    background: transparent;
}





/* ##################### CSS Contato ################# */

#btn-enviar:hover,
#btn-enviar:focus,
#btn-enviar:active {
    background-color: var(--arrow-color) !important;
    border-color: var(--arrow-color) !important;
    color: var(--header-background) !important;
    box-shadow: none !important;
    transform: none !important;
    cursor: pointer !important;
}

.txt-contato {
    font-size: 1.25rem;
}

.label-cor {
    color: var(--header-background);
    padding: 3px;
}


.loading-spinner {
    display: inline-block;
    width: 1.2rem;
    height: 1.2rem;
    border: 2px solid #fff;
    border-top: 2px solid #000;
    border-radius: 50%;
    animation: spin 0.8s linear infinite;
    margin-left: 10px;
    vertical-align: middle;
}

.loading-slide {

    margin-bottom: 20px;
}

@media (max-width: 768px) {
    .loading-slide {
        margin-bottom: 60px;
    }
}

@keyframes spin {
    0% {
        transform: rotate(0deg);
    }

    100% {
        transform: rotate(360deg);
    }
}

.grecaptcha-badge {
    z-index: 2147483647 !important;
}


/* ##################### CSS Página não encontrada ################# */

.img-notfound {
    height: 400px;
    object-fit: contain;
    width: 100%;
}

@media (max-width: 768px) {
    .img-notfound {
        height: auto;
        max-width: 100%;
    }
}


/* ##################### CSS Página Acessibilidade ################# */

.titulo-desc-app {
    font-size: 1.3rem;
}

.titulo-app {
    font-size: 1.1rem;
}

.img-app {
    background: var(--bg-acessibilidade);
    padding: 5px;
    border-radius: 8px;
}

.text-justify {
    text-align: justify;
}