*{
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}
:root {
/*    --cor-principal: #fe6600;
    --cor-principal-rgb: 254, 102, 0;
    --cor-segundaria: #FF914D;
    --cor-segundaria-rgb: 255, 145, 77;*/

    /* VARIÁVEIS DO DARK MODE (Padrão) */
    --bg-color: #000000;/*#0b0d0e */
    --text-main: #ffffff;
    --text-muted: #888888;
    --text-inverse: #000000;
    --card-bg: #111111;
    --card-bg-alt: #222222;
    --border-light: rgba(255, 255, 255, 0.08);
    --border-medium: rgba(255, 255, 255, 0.2);
    --border-strong: rgba(255, 255, 255, 0.3);
    --glass-bg: rgba(255, 255, 255, 0.03);
    --glass-hover: rgba(255, 255, 255, 0.1);
    --glass-nav-btn: rgba(255, 255, 255, 0.15);
    --gradient-pattern: #0f1112;
    --reason-bg: linear-gradient(145deg, rgba(25, 25, 25, 0.8) 0%, rgba(10, 10, 10, 0.95) 100%);
    --planos-gradient: linear-gradient(180deg, transparent 0%, rgba(255,255,255,0.01) 50%, transparent 100%);
    --mobile-nav-bg: rgba(0, 0, 0, 0.95);

    --bs-body-bg: var(--bg-color);
    --transition-curve: cubic-bezier(0.25, 1, 0.35, 1);
    --transition-speed: 1s;
}

/* VARIÁVEIS DO LIGHT MODE */
body.light-mode {
    --bg-color: #f4f6f8;
    --text-main: #212529;
    --text-muted: #6c757d;
    --text-inverse: #ffffff;
    --card-bg: #ffffff;
    --card-bg-alt: #ffffff;
    --border-light: rgba(0, 0, 0, 0.08);
    --border-medium: rgba(0, 0, 0, 0.15);
    --border-strong: rgba(0, 0, 0, 0.3);
    --glass-bg: rgba(0, 0, 0, 0.04);
    --glass-hover: rgba(0, 0, 0, 0.08);
    --glass-nav-btn: rgba(255, 255, 255, 0.9);
    --gradient-pattern: rgba(0, 0, 0, 0.04);
    --reason-bg: linear-gradient(145deg, #ffffff 0%, #f8f9fa 100%);
    --planos-gradient: linear-gradient(180deg, transparent 0%, rgba(0,0,0,0.02) 50%, transparent 100%);
    --mobile-nav-bg: rgba(255, 255, 255, 0.95);
}

body {
    background-color: var(--bg-color);
    /*font-family: 'Poppins', sans-serif;*/
    /*color: var(--text-main);*/
    margin: 0;
    padding: 0;
    overflow-x: hidden;
    transition: background-color 0.4s ease, color 0.4s ease;
    /*Padrão de fundo subtil*/
    background-image: radial-gradient(var(--gradient-pattern) 1px, var(--bg-color) 0);
    background-size: 20px 20px;
}

/* --- CABEÇALHO --- */
header {
    padding: 1.5rem 5%;
    display: flex;
    align-items: center;
    justify-content: space-between;
    position: relative;
    z-index: 1000;
}
.logo {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--cor-principal);
    margin: 0;
}

.nav-pill {
    background: var(--glass-bg);
    border-radius: 50px;
    padding: 0.4rem 0.5rem;
    border: 1px solid var(--border-light);
    display: flex;
    gap: 0.5rem;
    backdrop-filter: blur(10px);
    transition: background-color 0.4s ease, border-color 0.4s ease;
}
.nav-pill a {
    color: var(--text-muted);
    text-decoration: none;
    padding: 0.5rem 1.5rem;
    border-radius: 40px;
    font-size: 0.9rem;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    gap: 8px;
}
.nav-pill a i {
    font-size: 1.1rem;
}
.nav-pill a.active, .nav-pill a:hover {
    color: var(--text-main);
    background: var(--glass-hover);
}

.header-actions {
    display: flex;
    align-items: center;
    gap: 1rem;
}

/* Botão de Alternar Tema */
.theme-toggle-btn {
    width: 40px;
    height: 40px;
    background: transparent;
    color: var(--text-main);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 1px solid var(--border-medium);
    cursor: pointer;
    transition: all 0.3s ease;
}
.theme-toggle-btn:hover {
    background: var(--glass-hover);
}

.search-btn {
    width: 40px;
    height: 40px;
    background: var(--cor-principal);
    color: var(--text-inverse);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    border: none;
    cursor: pointer;
}
.login-btn {
    background: transparent;
    color: var(--text-main);
    border: none;
    font-weight: 600;
    cursor: pointer;
}

/* --- TEXTOS HERO --- */
.hero-section {
    text-align: center;
    padding: 3rem 1rem 1rem;
}
.hero-title {
    font-size: clamp(2rem, 4vw, 3.5rem);
    font-weight: 300;
    line-height: 1.2;
    margin-bottom: 1rem;
}
.hero-title b {
    font-weight: 700;
}
.hero-subtitle {
    color: var(--text-muted);
    font-style: italic;
    max-width: 600px;
    margin: 0 auto 2rem;
    font-weight: 300;
    transition: color 0.4s ease;
}

.btn-start {
    background: var(--cor-principal);
    color: var(--text-inverse);
    font-weight: 700;
    padding: 0.8rem 2.5rem;
    border-radius: 50px;
    border: none;
    cursor: pointer;
}
.btn-live {
    background: transparent;
    color: var(--text-main);
    border: 1px solid var(--border-strong);
    padding: 0.8rem 2.5rem;
    border-radius: 50px;
    cursor: pointer;
    margin-left: 10px;
    transition: border-color 0.4s ease, color 0.4s ease;
}

/* =========================================
   SKELETON LOADING
   ========================================= */
.skeleton-box {
    position: relative;
    overflow: hidden;
    background-color: var(--card-bg-alt) !important;
    pointer-events: none;
}
.skeleton-box::after {
    content: "";
    position: absolute;
    top: 0;
    right: 0;
    bottom: 0;
    left: 0;
    transform: translateX(-100%);
    background-image: linear-gradient(
        90deg,
        rgba(255, 255, 255, 0) 0,
        rgba(255, 255, 255, 0.03) 20%,
        rgba(255, 255, 255, 0.08) 60%,
        rgba(255, 255, 255, 0)
        );
    animation: shimmer 1.5s infinite;
}
body.light-mode .skeleton-box::after {
    background-image: linear-gradient(
        90deg,
        rgba(0, 0, 0, 0) 0,
        rgba(0, 0, 0, 0.03) 20%,
        rgba(0, 0, 0, 0.06) 60%,
        rgba(0, 0, 0, 0)
        );
}
@keyframes shimmer {
    100% {
        transform: translateX(100%);
    }
}

.sk-line {
    background: var(--border-medium);
    border-radius: 4px;
}

/* =========================================
   SECÇÃO PROGRAMAS POPULARES
   ========================================= */
.popular-shows-section {
    /*padding: 5rem 0;*/
    text-align: center;
}

.popular-title {
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 0.2rem;
    letter-spacing: -0.5px;
}

.popular-subtitle {
    color: var(--cor-principal);
    font-size: 0.85rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    font-weight: 400;
    margin-bottom: 2rem;
}

.custom-tabs {
    display: inline-flex;
    background: var(--glass-bg);
    border-radius: 50px;
    padding: 6px;
    margin-bottom: 3rem;
    box-shadow: inset 0 2px 4px rgba(0,0,0,0.05);
    overflow-x: auto;
    max-width: 100%;
    transition: background-color 0.4s ease;
}

.custom-tabs button {
    background: transparent;
    border: none;
    color: var(--text-muted);
    padding: 10px 30px;
    border-radius: 50px;
    font-weight: 600;
    font-size: 0.95rem;
    transition: all 0.3s ease;
    cursor: pointer;
    white-space: nowrap;
}

.custom-tabs button.active {
    background: var(--cor-principal);
    color: var(--bg-color);
    box-shadow: 0 4px 15px rgba(var(--cor-principal-rgb), 0.3);
}

.custom-tabs button:hover:not(.active) {
    color: var(--text-main);
}

/* LAYOUT 1: GRID */
.shows-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
    gap: 1.5rem;
    padding: 0 1rem;
}

/* LAYOUT 3: LIST (AGRUPADO POR CATEGORIA) */
.shows-list {
    display: flex;
    flex-direction: column;
    gap: 3rem;
    width: 100%;
}
.category-group {
    width: 100%;
}
.category-group-title {
    font-size: 1.3rem;
    font-weight: 600;
    color: var(--text-main);
    text-align: left;
}

/* Envolucro do carrossel para posicionar botões */
.list-carousel-wrapper {
    position: relative;
    width: 100%;
}

/* CSS ESPECÍFICO PARA OS BOTÕES DO LIST-CAROUSEL */
.list-carousel-wrapper .glass-nav-btn {
    width: 50px;
    height: 50px;
    font-size: 1.5rem;
    z-index: 20;
    background: var(--card-bg);
    color: var(--text-main);
    border: 2px solid var(--border-strong);
    box-shadow: 0 5px 15px rgba(0,0,0,0.3);
}
.list-carousel-wrapper .glass-nav-btn:hover {
    background: var(--cor-principal);
    color: #000;
    border-color: var(--cor-principal);
    transform: translateY(-50%) scale(1.1);
}
.list-carousel-wrapper .prev-btn {
    left: -15px !important;
}
.list-carousel-wrapper .next-btn {
    right: -15px !important;
}

/* LAYOUT 2 & LIST-CAROUSEL: SCROLL HORIZONTAL */
.shows-carousel {
    display: flex;
    gap: 1rem;
    padding: 1rem 0; /* Margem inferior para as sombras */
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    scroll-behavior: smooth;
    scrollbar-width: none; /* Firefox */
    -ms-overflow-style: none; /* IE/Edge */
    cursor: grab;
}
.shows-carousel::-webkit-scrollbar {
    display: none;
}
.shows-carousel.active-drag {
    cursor: grabbing;
    scroll-snap-type: none;
    scroll-behavior: auto;
}
.shows-carousel .show-card {
    flex: 0 0 280px;
    scroll-snap-align: start;
}
.shows-carousel.active-drag .show-card {
    pointer-events: none; /* Evita clicar acidentalmente durante o arrasto */
}

/* CARDS GERAIS (APLICÁVEL AO GRID E CAROUSEL) */
.show-card {
    max-width: 200px;
    height: 250px;
    border-radius: 1rem;
    overflow: hidden;
    position: relative;
    cursor: pointer;
    transition: transform 0.4s cubic-bezier(0.25, 1, 0.35, 1), box-shadow 0.4s ease;
    background: var(--card-bg);
}

.show-card img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.6s ease;
}

.show-card::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 70%;
    /* Overlay gradiente mantido escuro para texto branco ser sempre legível */
    background: linear-gradient(to top, rgba(0,0,0,0.9) 0%, transparent 100%);
    pointer-events: none;
    z-index: 1;
}

.show-card-content {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    padding: 1rem;
    z-index: 2;
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    pointer-events: auto;
}

.show-card-cat {
    font-size: 0.7rem;
    color: var(--cor-principal);
    text-transform: uppercase;
    font-weight: 700;
    margin-bottom: 0.2rem;
    letter-spacing: 0.5px;
}

.show-card-title {
    font-size: .75rem;
    font-weight: 300;
    color: #fff; /* Sempre branco devido ao gradiente escuro da imagem */
    margin: 0;
    line-height: 1.2;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.show-card:hover:not(.skeleton-box) {
    transform: translateY(-8px);
    box-shadow: 0 15px 30px rgba(0,0,0,0.4);
}
.show-card:hover:not(.skeleton-box) img {
    transform: scale(1.08);
}

/* =========================================
   MAIS MOTIVOS PARA ASSINAR
   ========================================= */
.reasons-section {
    padding: 6rem 0;
    position: relative;
}

.reason-card {
    background: var(--reason-bg);
    border: 1px solid var(--border-light);
    border-radius: 1.5rem;
    padding: 2.5rem 2.5rem 6rem 2.5rem;
    text-align: left;
    transition: all 0.4s cubic-bezier(0.25, 1, 0.35, 1);
    backdrop-filter: blur(10px);
    height: 100%;
    display: flex;
    flex-direction: column;
    position: relative;
    overflow: hidden;
}

.reason-card::after {
    content: '';
    position: absolute;
    bottom: -30px;
    right: -30px;
    width: 150px;
    height: 150px;
    background: var(--cor-principal);
    filter: blur(70px);
    opacity: 0;
    transition: opacity 0.5s ease;
    z-index: 0;
    pointer-events: none;
}

.reason-card:hover {
    transform: translateY(-8px);
    border-color: rgba(var(--cor-principal-rgb), 0.3);
    box-shadow: 0 15px 40px rgba(0,0,0,0.2);
}

.reason-card:hover::after {
    opacity: 0.15;
}

.reason-title {
    font-size: 1.4rem;
    font-weight: 600;
    margin-bottom: 0.8rem;
    color: var(--text-main);
    position: relative;
    z-index: 2;
    letter-spacing: -0.5px;
    transition: color 0.4s ease;
}

.reason-desc {
    font-size: 0.95rem;
    color: var(--text-muted);
    line-height: 1.6;
    position: relative;
    z-index: 2;
    transition: color 0.4s ease;
}

.reason-icon {
    position: absolute;
    bottom: 1.5rem;
    right: 2rem;
    font-size: 3.5rem;
    color: rgba(var(--cor-segundaria-rgb), 0.7);
    transition: all 0.4s cubic-bezier(0.25, 1, 0.35, 1);
    z-index: 1;
}

.reason-card:hover .reason-icon {
    color: rgba(var(--cor-principal-rgb), 1);
    transform: scale(1.15) rotate(-8deg);
}

/* =========================================
   PERGUNTAS FREQUENTES (FAQ)
   ========================================= */
.faq-section {
    padding: 5rem 0 2rem 0;
    max-width: 800px;
    margin: 0 auto;
}
.faq-item {
    background: var(--glass-bg);
    border: 1px solid var(--border-light);
    border-radius: 1rem;
    margin-bottom: 1rem;
    overflow: hidden;
    transition: all 0.3s ease;
}
.faq-question {
    padding: 1.5rem 2rem;
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-weight: 600;
    font-size: 1.1rem;
    color: var(--text-main);
    transition: color 0.3s;
}
.faq-question:hover {
    color: var(--cor-principal);
}
.faq-answer {
    padding: 0 2rem;
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.4s ease, padding 0.4s ease;
    color: var(--text-muted);
    font-size: 0.95rem;
    line-height: 1.6;
}
.faq-item.active {
    border-color: var(--cor-principal);
    background: var(--glass-hover);
}
.faq-item.active .faq-answer {
    padding: 0 2rem 1.5rem 2rem;
    max-height: 500px;
}
.faq-item.active .faq-icon {
    transform: rotate(180deg);
    color: var(--cor-principal);
}
.faq-icon {
    transition: transform 0.3s ease;
    font-size: 1.2rem;
}

/* =========================================
   CALL TO ACTION (CTA)
   ========================================= */
.cta-section {
    padding: 4rem 1rem 8rem 1rem;
    display: flex;
    justify-content: center;
}

.cta-box {
    background-color: var(--bs-info, #0dcaf0);
    border-radius: 3rem;
    padding: 4rem;
    max-width: 1100px;
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 4rem;
    box-shadow: 0 20px 40px rgba(0,0,0,0.1);
    position: relative;
    overflow: hidden;
}

.cta-content-left {
    flex: 1;
    text-align: left;
    position: relative;
    z-index: 2;
}

.cta-title {
    font-size: clamp(2rem, 3.5vw, 2.8rem);
    font-weight: 800;
    color: #111111;
    margin-bottom: 1rem;
    line-height: 1.2;
    letter-spacing: -0.5px;
}

.cta-desc {
    font-size: 1.05rem;
    color: #333333;
    margin-bottom: 0;
    line-height: 1.6;
    max-width: 90%;
}

.cta-btn-dark {
    background-color: #111111;
    color: #ffffff;
    font-weight: 700;
    padding: 1rem 3rem;
    border-radius: 50px;
    border: none;
    cursor: pointer;
    transition: all 0.3s ease;
    font-size: 1.1rem;
    position: relative;
    z-index: 2;
}

.cta-btn-dark:hover {
    background-color: var(--cor-principal);
    color: #000;
    transform: translateY(-3px);
    box-shadow: 0 10px 20px rgba(0,0,0,0.2);
}

.cta-btn-outline {
    background-color: transparent;
    color: #111111;
    font-weight: 700;
    padding: 1rem 3rem;
    border-radius: 50px;
    border: 2px solid #111111;
    cursor: pointer;
    transition: all 0.3s ease;
    font-size: 1.1rem;
    position: relative;
    z-index: 2;
}

.cta-btn-outline:hover {
    background-color: #111111;
    color: #ffffff;
}

.cta-form-wrapper {
    flex: 0 0 380px;
    background-color: var(--bg-color);
    border-radius: 50px;
    padding: 8px 8px 8px 24px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    position: relative;
    z-index: 2;
    transition: background-color 0.4s ease;
}

.cta-input {
    flex: 1;
    background: transparent;
    border: none;
    color: var(--text-main);
    font-size: 0.95rem;
    width: 100%;
}

.cta-input:focus {
    outline: none;
}

.cta-input::placeholder {
    color: var(--text-muted);
    font-size: 0.9rem;
}

.cta-submit {
    background-color: var(--bs-info, #0dcaf0);
    border: none;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.2rem;
    color: var(--bg-color);
    cursor: pointer;
    transition: transform 0.3s ease, color 0.4s ease;
    flex-shrink: 0;
}

.cta-submit:hover {
    transform: scale(1.08);
}

/* =========================================
   RODAPÉ (FOOTER)
   ========================================= */
.site-footer {
    padding: 5rem 0 2rem;
    border-top: 1px solid var(--border-light);
    background-color: var(--bg-color);
    margin-top: 4rem;
    transition: background-color 0.4s ease, border-color 0.4s ease;
}
.footer-logo {
    font-size: 1.8rem;
    font-weight: 700;
    color: var(--cor-principal);
    margin-bottom: 1rem;
    display: inline-block;
    text-decoration: none;
}
.footer-text {
    color: var(--text-muted);
    font-size: 0.95rem;
    line-height: 1.6;
    margin-bottom: 2rem;
    transition: color 0.4s ease;
}
.footer-title {
    color: var(--text-main);
    font-weight: 600;
    font-size: 1.1rem;
    margin-bottom: 1.5rem;
    transition: color 0.4s ease;
}
.footer-links {
    list-style: none;
    padding: 0;
    margin: 0;
}
.footer-links li {
    margin-bottom: 0.8rem;
}
.footer-links a {
    color: var(--text-muted);
    text-decoration: none;
    transition: color 0.3s ease, padding-left 0.3s ease;
    display: inline-block;
}
.footer-links a:hover {
    color: var(--cor-principal);
    padding-left: 5px;
}
.social-btn {
    width: 45px;
    height: 45px;
    border-radius: 50%;
    background: var(--glass-bg);
    color: var(--text-main);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    margin-right: 10px;
    text-decoration: none;
    transition: all 0.3s ease;
    font-size: 1.2rem;
    border: 1px solid var(--border-medium);
}
.social-btn:hover {
    background: var(--cor-principal);
    color: #000;
    transform: translateY(-5px);
    border-color: var(--cor-principal);
}
.footer-bottom {
    margin-top: 4rem;
    padding-top: 2rem;
    border-top: 1px solid var(--border-light);
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 1rem;
}
.footer-copy {
    color: var(--text-muted);
    font-size: 0.85rem;
    margin: 0;
}
.footer-bottom-links a {
    color: var(--text-muted);
    text-decoration: none;
    font-size: 0.85rem;
    margin-left: 1.5rem;
    transition: color 0.3s;
}
.footer-bottom-links a:hover {
    color: var(--text-main);
}

/* =========================================
   CARROSSEL DE PLANOS E ASSINATURAS
   ========================================= */
.planos-section {
    padding: 6rem 0;
    text-align: center;
    background: var(--planos-gradient);
    transition: background 0.4s ease;
}

.planos-title {
    font-size: 2.8rem;
    font-weight: 700;
    margin-bottom: 0.5rem;
}
.planos-subtitle {
    color: var(--text-muted);
    font-weight: 300;
    margin-bottom: 1rem;
    font-size: 1rem;
}

.planos-perspective-container {
    perspective: 1200px;
    width: 100%;
    height: 400px;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    overflow: hidden;
    cursor: grab;
}
.planos-perspective-container:active {
    cursor: grabbing;
}

.plano-card {
    position: absolute;
    width: 250px;
    height: 350px;
    border-radius: 1.5rem;
    left: 50%;
    top: 50%;
    transform-origin: center center;
    transition: transform var(--transition-speed) var(--transition-curve),
        filter var(--transition-speed) var(--transition-curve),
        opacity var(--transition-speed) var(--transition-curve),
        width var(--transition-speed) var(--transition-curve),
        height var(--transition-speed) var(--transition-curve);
    overflow: hidden;
    background: var(--card-bg-alt);
    cursor: pointer;
    box-shadow: 0 10px 30px rgba(0,0,0,0.15);
    opacity: 0;
    transform: translate(-50%, -50%) scale(1);
    user-select: none;
    -webkit-user-drag: none;
}

.plano-card img.poster {
    width: 100%;
    height: 100%;
    object-fit: cover;
    pointer-events: none;
    -webkit-user-drag: none;
}

.plano-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    padding: 4rem 1.5rem 1.5rem;
    /* Overlay mantido escuro para texto claro contínuo */
    background: linear-gradient(0deg, rgba(0,0,0,0.95) 0%, rgba(0,0,0,0.5) 65%, transparent 100%);
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    align-items: flex-start;
    opacity: 1;
    transition: opacity 0.5s;
    pointer-events: auto;
}

.plano-info {
    text-align: left;
    width: 100%;
}
.plano-name {
    font-size: 1rem;
    font-weight: 500;
    margin: 0;
    line-height: 1.1;
    color: #ffffff; /* Fixo por causa do overlay escuro */
}
.plano-desc {
    font-size: 0.75rem;
    color: #dddddd; /* Fixo por causa do overlay escuro */
    margin: 8px 0 0 0;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}
.plano-price {
    font-size: 1rem;
    font-weight: 700;
    color: var(--cor-principal);
    display: flex;
    align-items: center;
    gap: 6px;
    margin-top: 12px;
}
.plano-price i {
    font-size: 1rem;
}

/* --- Badge de Destaque (Mais Comprado) --- */
.plano-badge {
    position: absolute;
    top: 15px;
    right: 15px;
    background: var(--cor-principal);
    color: #000;
    font-weight: 700;
    font-size: 0.75rem;
    padding: 4px 12px;
    border-radius: 20px;
    z-index: 10;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    box-shadow: 0 4px 10px rgba(0,0,0,0.3);
}

/* --- Transições em SkewY do Planos Carousel --- */
.plano-card.active {
    transform: translate(-50%, -50%) scale(1);
    filter: brightness(1);
    opacity: 1;
    z-index: 50;
    box-shadow: 0 20px 50px rgba(0,0,0,0.3);
}
.plano-card.active .plano-overlay {
    opacity: 1;
    pointer-events: auto; /* Permite o clique no link quando ativo */
}

.plano-card.prev1 {
    transform: translate(calc(-50% - 200px), -45%) scale(1) skewY(5deg);
    opacity: 1;
    z-index: 40;
    box-shadow: -10px 10px 30px rgba(0,0,0,0.1);
    width: 225px;
}
.plano-card.next1 {
    transform: translate(calc(-50% + 200px), -45%) scale(1) skewY(-5deg);
    opacity: 1;
    z-index: 40;
    box-shadow: 10px 10px 30px rgba(0,0,0,0.1);
    width: 225px;
}
.plano-card.prev2 {
    transform: translate(calc(-50% - 435px), -50%) scale(1) skewY(10deg);
    opacity: 1;
    z-index: 30;
    width: 200px;
}
.plano-card.next2 {
    transform: translate(calc(-50% + 435px), -50%) scale(1) skewY(-10deg);
    opacity: 1;
    z-index: 30;
    width: 200px;
}
.plano-card.hidden-left {
    transform: translate(calc(-50% - 500px), -50%) scale(1) skewY(20deg);
    opacity: 0;
    z-index: 10;
    pointer-events: none;
}
.plano-card.hidden-right {
    transform: translate(calc(-50% + 500px), -50%) scale(1) skewY(-20deg);
    opacity: 0;
    z-index: 10;
    pointer-events: none;
}

.planos-controls {
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: center;
    margin-top: 1rem;
    gap: 1.5rem;
}

.nav-circle-btn {
    width: 45px;
    height: 45px;
    border-radius: 50%;
    background: var(--glass-bg);
    border: 1px solid var(--border-medium);
    color: var(--text-main);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.2rem;
    cursor: pointer;
    backdrop-filter: blur(10px);
    transition: all 0.3s ease;
}
.nav-circle-btn:hover {
    background: var(--glass-hover);
    transform: scale(1.1);
}

.planos-pagination {
    display: flex;
    gap: 8px;
    align-items: center;
}
.dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: var(--border-strong);
    cursor: pointer;
    transition: all 0.3s ease;
}
.dot.active {
    width: 25px;
    border-radius: 10px;
    background: var(--text-main);
}

/* =========================================
   CARROSSEL HERO SUPERIOR (COVERFLOW)
   ========================================= */
.concave-carousel {
    position: relative;
    width: 100%;
    height: 350px;
    perspective: 1500px;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden; /* Mantém as pontas dos cards que fogem do ecrã cortadas sem criar scroll */
    margin-top: 1rem;
    cursor: grab; /* Indicador de arrasto */

    /* Variáveis locais para uma transição extra suave (apenas para este carrossel) */
    --transition-speed: 1.5s;
    --transition-curve: cubic-bezier(0.4, 0, 0.2, 1);
}
.concave-carousel:active {
    cursor: grabbing;
}

.carousel-card {
    position: absolute;
    width: 800px; /*75vw*/
    max-width: 800px;
    height: 300px;
    border-radius: 2.5rem;
    left: 50%;
    top: 50%;
    transform-origin: center center;
    transition: transform var(--transition-speed) var(--transition-curve),
        filter var(--transition-speed) var(--transition-curve),
        opacity var(--transition-speed) var(--transition-curve),
        width var(--transition-speed) var(--transition-curve),
        height var(--transition-speed) var(--transition-curve),
        box-shadow var(--transition-speed) var(--transition-curve);
    overflow: hidden;
    background: var(--card-bg);
    opacity: 0;
    transform: translate(-50%, -50%) scale(0.5);
    user-select: none;
    -webkit-user-drag: none;
    will-change: transform, width, height, box-shadow;
}

.carousel-card img.poster {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 2.5rem;
    pointer-events: none;
    -webkit-user-drag: none;
}

/* Usando skewY para o efeito 2.5D idêntico à imagem de referência */
.carousel-card.active {
    transform: translate(-50%, -50%) scale(1) skewY(0deg);
    filter: brightness(1);
    opacity: 1;
    z-index: 50;
    box-shadow: 0 30px 60px rgba(0,0,0,0.3);
}
.carousel-card.prev {
    transform: translate(calc(-50% - 420px), -53%) scale(0.85) skewY(5deg);
    opacity: 1;
    z-index: 10;
    cursor: pointer;
    width: 300px;
    height: 350px;
}
.carousel-card.next {
    transform: translate(calc(-50% + 420px), -53%) scale(0.85) skewY(-5deg);
    opacity: 1;
    z-index: 10;
    cursor: pointer;
    width: 300px;
    height: 350px;
}
.carousel-card.hidden-left {
    transform: translate(calc(-50% - 150vw), -50%) scale(0.7) skewY(8deg);
    opacity: 0;
    z-index: 1;
    pointer-events: none;
}
.carousel-card.hidden-right {
    transform: translate(calc(-50% + 150vw), -50%) scale(0.7) skewY(-8deg);
    opacity: 0;
    z-index: 1;
    pointer-events: none;
}

.card-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    padding: 4rem 3rem 2rem;
    /* Overlay escuro mantido para contraste com textos */
    background: linear-gradient(to top, rgba(0,0,0,0.95) 0%, rgba(0,0,0,0.6) 40%, rgba(0,0,0,0) 100%);
    opacity: 0;
    transition: opacity 0.5s ease;
    pointer-events: none;
}
.carousel-card.active .card-overlay {
    opacity: 1;
    transition-delay: 0.2s;
    pointer-events: auto; /* Permite o clique no link quando ativo */
}

.card-title {
    font-size: 2.2rem;
    font-weight: 700;
    margin: 0 0 10px 0;
    line-height: 1.1;
    color: #ffffff;
}
.card-desc {
    font-size: 0.9rem;
    color: #cccccc;
    margin-bottom: 1rem;
    line-height: 1.4;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    width: 100%;
}
.card-meta {
    display: flex;
    gap: 1.5rem;
    font-size: 0.85rem;
    color: rgba(255,255,255,0.8);
    align-items: center;
}
.meta-item {
    display: flex;
    align-items: center;
    gap: 8px;
}
.meta-item i {
    color: #ffffff;
    font-size: 1.2rem;
}
.meta-text {
    display: flex;
    flex-direction: column;
    line-height: 1.1;
}
.meta-label {
    font-size: 0.6rem;
    color: #aaaaaa;
    text-transform: uppercase;
}

/* --- NOVO EFEITO: EFFECT-FOCUS (LATERAIS MENORES, CENTRAL MAIOR SEM SOBREPOSIÇÃO) --- */
.concave-carousel.effect-focus .carousel-card.active {
    width: 900px; /* Aumenta o central */
}
.concave-carousel.effect-focus .carousel-card.prev {
    width: 300px; /* Diminui os laterais */
    transform: translate(calc(-50% - 545px), -53%) scale(0.85) skewY(5deg);
    opacity: 1; /* Volta a mostrar o cartão */
}
.concave-carousel.effect-focus .carousel-card.next {
    width: 300px; /* Diminui os laterais */
    transform: translate(calc(-50% + 545px), -53%) scale(0.85) skewY(-5deg);
    opacity: 1; /* Volta a mostrar o cartão */
}

/* Ajustes das posições dos Botões do Carrossel */
.glass-nav-btn {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 75px;
    height: 75px;
    background: var(--glass-nav-btn);
    border: 1px solid var(--border-strong);
    border-radius: 50%;
    backdrop-filter: blur(15px);
    color: var(--text-main);
    font-size: 1.8rem;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    z-index: 100;
    transition: all 0.3s ease;
    box-shadow: 0 8px 32px rgba(0,0,0,0.15);
}
.glass-nav-btn:hover {
    background: var(--cor-principal);
    color: #000;
    border-color: var(--cor-principal);
    transform: translateY(-50%) scale(1.1);
}

.glass-nav-btn.prev-btn {
    left: 8%;
}
.glass-nav-btn.next-btn {
    right: 8%;
}

/* =========================================
   MEDIA QUERIES (RESPONSIVIDADE GERAL)
   ========================================= */

@media (max-width: 992px) {
    /* Carrossel Hero - Tablet */
    .concave-carousel {
        height: 350px;
    }
    .carousel-card {
        width: 600px;
        height: 300px;
    }
    .carousel-card.prev {
        transform: translate(calc(-50% - 320px), -53%) scale(0.85) skewY(5deg);
    }
    .carousel-card.next {
        transform: translate(calc(-50% + 320px), -53%) scale(0.85) skewY(-5deg);
    }

    /* Modificador effect-focus no Tablet (Ativo 680px, Logo: Afasta 440px) */
    .concave-carousel.effect-focus .carousel-card.active {
        width: 680px;
    }
    .concave-carousel.effect-focus .carousel-card.prev {
        width: 150px;
        transform: translate(calc(-50% - 440px), -53%) scale(0.85) skewY(5deg);
        opacity: 1;
    }
    .concave-carousel.effect-focus .carousel-card.next {
        width: 150px;
        transform: translate(calc(-50% + 440px), -53%) scale(0.85) skewY(-5deg);
        opacity: 1;
    }

    .glass-nav-btn {
        width: 50px;
        height: 50px;
        font-size: 1.4rem;
    }
    .glass-nav-btn.prev-btn {
        left: 2%;
    }
    .glass-nav-btn.next-btn {
        right: 2%;
    }

    /* CTA - Tablet */
    .cta-box {
        flex-direction: column;
        text-align: center;
        padding: 4rem 2rem;
        gap: 2.5rem;
    }
    .cta-content-left {
        text-align: center;
    }
    .cta-desc {
        max-width: 100%;
    }
    .cta-form-wrapper {
        width: 100%;
        flex: 0 0 auto;
    }

    /* Planos - Tablet Responsivo ao SkewY */
    .plano-card {
        width: 240px;
        height: 340px;
    }
    .plano-card.active {
        transform: translate(-50%, -50%) scale(1);
    }
    .plano-card.prev1 {
        transform: translate(calc(-50% - 200px), -45%) scale(1) skewY(5deg);
    }
    .plano-card.next1 {
        transform: translate(calc(-50% + 200px), -45%) scale(1) skewY(-5deg);
    }
    .plano-card.prev2, .plano-card.next2 {
        opacity: 0;
        pointer-events: none;
    }
}

@media (max-width: 768px) {
    /* Previne que o conteúdo da página fique escondido debaixo da barra na base */
    body {
        padding-bottom: 80px;
    }

    /* Barra de Navegação Inferior (Mobile App Style) */
    .nav-pill {
        position: fixed;
        bottom: 0;
        left: 0;
        width: 100%;
        background: var(--mobile-nav-bg);
        backdrop-filter: blur(15px);
        -webkit-backdrop-filter: blur(15px);
        border: none;
        border-top: 1px solid var(--border-light);
        border-radius: 0;
        padding: 0.8rem 1rem;
        justify-content: space-around;
        z-index: 9999;
        margin: 0;
    }

    .nav-pill a {
        padding: 0;
        flex-direction: column;
        gap: 4px;
        font-size: 0.65rem;
        background: transparent !important;
    }

    .nav-pill a i {
        font-size: 1.4rem;
        margin: 0;
    }

    .nav-pill a.active, .nav-pill a:hover {
        background: transparent !important;
        color: var(--cor-principal) !important;
    }

    .footer-bottom {
        flex-direction: column;
        text-align: center;
        justify-content: center;
    }
    .footer-bottom-links a {
        margin: 0 0.75rem;
    }
    .shows-grid {
        grid-template-columns: repeat(auto-fill, minmax(150px, 1fr));
        gap: 1rem;
    }
    .custom-tabs {
        justify-content: flex-start;
        padding: 4px;
    }
    .custom-tabs button {
        padding: 8px 20px;
        font-size: 0.85rem;
    }
    .popular-title {
        font-size: 2rem;
    }

    /* Mostrar botões laterais de navegação nas Listas Agrupadas em Mobile nos lados */
    .list-carousel-wrapper .glass-nav-btn {
        display: flex !important;
        top: 45% !important;
        bottom: auto !important;
        width: 38px !important;
        height: 38px !important;
        font-size: 1.2rem !important;
    }
    .list-carousel-wrapper .prev-btn {
        left: -15px !important;
        transform: translateY(-50%) !important;
    }
    .list-carousel-wrapper .next-btn {
        right: -15px !important;
        left: auto !important;
        transform: translateY(-50%) !important;
    }
    .list-carousel-wrapper .glass-nav-btn:hover {
        transform: translateY(-50%) scale(1.1) !important;
    }

    /* Reposicionar os botões de navegação globais (ex: Hero Carousel) para baixo no mobile */
    .glass-nav-btn:not(.list-carousel-wrapper .glass-nav-btn) {
        display: flex !important;
        top: auto !important;
        bottom: 10px !important;
        width: 45px;
        height: 45px;
        font-size: 1.2rem;
    }
    .glass-nav-btn.prev-btn:not(.list-carousel-wrapper .glass-nav-btn) {
        left: calc(50% - 35px) !important;
        transform: translateX(-50%) !important;
    }
    .glass-nav-btn.next-btn:not(.list-carousel-wrapper .glass-nav-btn) {
        right: auto !important;
        left: calc(50% + 35px) !important;
        transform: translateX(-50%) !important;
    }
    .glass-nav-btn:hover:not(.list-carousel-wrapper .glass-nav-btn) {
        transform: translateX(-50%) scale(1.1) !important;
    }

    /* Planos - Mobile usando skewY */
    .planos-perspective-container {
        height: 350px;
    }
    .plano-card {
        width: 200px;
        height: 300px;
    }
    .plano-card.active {
        transform: translate(-50%, -50%) scale(1);
        width: 250px;
    }
    .plano-card.prev1 {
        transform: translate(calc(-50% - 200px), -45%) scale(1) skewY(5deg);
    }
    .plano-card.next1 {
        transform: translate(calc(-50% + 200px), -45%) scale(1) skewY(-5deg);
    }

    /* CTA - Mobile */
    .cta-box {
        padding: 3rem 1.5rem;
        border-radius: 2rem;
        gap: 2rem;
    }
    .cta-title {
        font-size: 1.8rem;
    }
    .cta-btn-dark, .cta-btn-outline {
        width: 100%;
        margin: 0;
    }

    /* Carrossel Hero - Mobile */
    .carousel-card {
        width: 500px;
        height: 300px;
    }
    .carousel-card.prev {
        transform: translate(calc(-50% - 270px), -53%) scale(0.85) skewY(5deg);
    }
    .carousel-card.next {
        transform: translate(calc(-50% + 270px), -53%) scale(0.85) skewY(-5deg);
    }

    /* Modificador effect-focus no Mobile (Ativo 550px, Logo: Afasta 350px) */
    .concave-carousel.effect-focus .carousel-card.active {
        width: 550px;
    }
    .concave-carousel.effect-focus .carousel-card.prev {
        width: 120px;
        transform: translate(calc(-50% - 350px), -53%) scale(0.85) skewY(5deg);
        opacity: 1;
    }
    .concave-carousel.effect-focus .carousel-card.next {
        width: 120px;
        transform: translate(calc(-50% + 350px), -53%) scale(0.85) skewY(-5deg);
        opacity: 1;
    }

    .card-overlay {
        padding: 2rem 1.5rem 1.5rem;
    }
    .card-title {
        font-size: 1.5rem;
        margin-bottom: 5px;
    }
    .card-desc {
        -webkit-line-clamp: 1; /* Reduz linhas no mobile */
        margin-bottom: 0.5rem;
        font-size: 0.8rem;
    }

    /* Ajuste de Carousel Layout no Mobile */
    .shows-carousel .show-card {
        flex: 0 0 240px;
    }
}

@media (max-width: 576px) {
    /* Planos - Telas Muito Pequenas usando skewY */
    .planos-perspective-container {
        height: 350px;
    }
    .plano-card {
        width: 190px;
        height: 275px;
    }
    .plano-overlay {
        padding: 2rem 1.2rem 1.2rem;
    }
    .plano-card.active {
        transform: translate(-50%, -50%) scale(1);
    }
    .plano-card.prev1 {
        transform: translate(calc(-50% - 200px), -45%) scale(1) skewY(5deg);
    }
    .plano-card.next1 {
        transform: translate(calc(-50% + 200px), -45%) scale(1) skewY(-5deg);
    }

    /* Carrossel Hero - Telas Muito Pequenas */
    .concave-carousel {
        height: 325px;
    }
    .carousel-card {
        width: 350px;
        height: 250px;
    }
    .carousel-card.prev {
        transform: translate(calc(-50% - 190px), -53%) scale(0.85) skewY(5deg);
        height: 285px;
    }
    .carousel-card.next {
        transform: translate(calc(-50% + 190px), -53%) scale(0.85) skewY(-5deg);
        height: 285px;
    }

    /* Modificador effect-focus em Telas Muito Pequenas (Ativo 380px, Logo: Afasta 250px) */
    .concave-carousel.effect-focus .carousel-card.active {
        width: 380px;
    }
    .concave-carousel.effect-focus .carousel-card.prev {
        width: 80px;
        transform: translate(calc(-50% - 250px), -53%) scale(0.85) skewY(5deg);
        opacity: 1;
    }
    .concave-carousel.effect-focus .carousel-card.next {
        width: 80px;
        transform: translate(calc(-50% + 250px), -53%) scale(0.85) skewY(-5deg);
        opacity: 1;
    }

    .card-overlay {
        padding: 2rem;
    }
    .card-title {
        font-size: 1.2rem;
    }
    .card-desc {
        display: none; /* Oculta descrição para poupar espaço */
    }
    .meta-item i {
        font-size: 1rem;
    }
    .meta-text {
        font-size: 0.8rem;
    }
}