/* =============================================
   VLTV Play — style.css
   ============================================= */

/* ── VARIÁVEIS ── */
:root {
    --red:    #E50914;
    --red2:   #B20710;
    --red3:   #ff1a27;
    --black:  #0a0a0a;
    --bg1:    #0f0f0f;
    --bg2:    #141414;
    --card:   #1a1a1a;
    --card2:  #222222;
    --border: rgba(255,255,255,0.07);
    --grey:   #888888;
    --light:  #cccccc;
    --white:  #ffffff;
    --gold:   #D4AF37;
    --gold2:  #f5c842;
    --green:  #25D366;
    --font:   'Outfit', 'DM Sans', sans-serif;
}

/* ── RESET ── */
*, *::before, *::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

html {
    scroll-behavior: smooth;
    -webkit-text-size-adjust: 100%;
}

body {
    background: var(--black);
    color: var(--white);
    font-family: var(--font);
    font-weight: 400;
    line-height: 1.6;
    overflow-x: hidden;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

img {
    max-width: 100%;
    display: block;
}

button {
    font-family: var(--font);
    cursor: pointer;
}

a {
    text-decoration: none;
    color: inherit;
}

/* ── HEADER ── */
header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 500;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0 5%;
    height: 64px;
    background: rgba(10,10,10,0.95);
    border-bottom: 1px solid var(--border);
    -webkit-backdrop-filter: blur(12px);
    backdrop-filter: blur(12px);
    transition: background 0.3s;
}

header.scrolled {
    background: rgba(10,10,10,0.99);
    box-shadow: 0 2px 20px rgba(0,0,0,0.5);
}

.logo {
    font-size: 1.5rem;
    font-weight: 900;
    letter-spacing: -0.5px;
    color: var(--white);
    text-transform: uppercase;
    user-select: none;
}

.logo span { color: var(--red); }

nav {
    display: flex;
    gap: 28px;
}

nav a {
    color: #aaa;
    font-size: 0.85rem;
    font-weight: 600;
    letter-spacing: 0.3px;
    transition: color 0.2s;
    white-space: nowrap;
}

nav a:hover { color: var(--white); }

.header-cta {
    background: var(--red);
    color: var(--white);
    border: none;
    padding: 9px 20px;
    border-radius: 6px;
    font-size: 0.82rem;
    font-weight: 700;
    letter-spacing: 0.4px;
    text-transform: uppercase;
    transition: background 0.2s, transform 0.15s;
    white-space: nowrap;
}

.header-cta:hover {
    background: var(--red2);
    transform: translateY(-1px);
}

.nav-hamburger {
    display: none;
    background: none;
    border: 1px solid var(--border);
    color: var(--white);
    font-size: 1.2rem;
    padding: 6px 12px;
    border-radius: 6px;
    transition: background 0.2s;
}

.nav-hamburger:hover { background: rgba(255,255,255,0.1); }

/* Mobile Nav */
.mobile-nav {
    display: none;
    position: fixed;
    top: 64px;
    left: 0;
    width: 100%;
    background: rgba(10,10,10,0.98);
    border-bottom: 1px solid var(--border);
    padding: 20px 5%;
    z-index: 490;
    flex-direction: column;
    gap: 16px;
}

.mobile-nav.open { display: flex; }

.mobile-nav a {
    color: #bbb;
    font-size: 1rem;
    font-weight: 600;
    padding: 8px 0;
    border-bottom: 1px solid var(--border);
}

.full-w {
    width: 100%;
    text-align: center;
    margin-top: 8px;
}

/* ── HERO ── */
.hero {
    position: relative;
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    padding: 90px 6% 56px;
    overflow: hidden;
}

.hero-bg {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background:
        linear-gradient(135deg, rgba(10,10,10,0.97) 40%, rgba(229,9,20,0.06) 100%),
        url('https://images.unsplash.com/photo-1574375927938-d5a98e8edd86?q=80&w=1920') no-repeat center center;
    background-size: cover;
    z-index: 0;
    pointer-events: none;
}

.hero-content {
    position: relative;
    z-index: 1;
    max-width: 680px;
}

.hero-badge {
    display: inline-block;
    background: rgba(229,9,20,0.15);
    border: 1px solid rgba(229,9,20,0.4);
    color: #ff6b6b;
    font-size: 0.75rem;
    font-weight: 700;
    padding: 6px 16px;
    border-radius: 100px;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 24px;
}

.hero-content h1 {
    font-size: clamp(2.2rem, 5vw, 3.8rem);
    font-weight: 900;
    line-height: 1.08;
    margin-bottom: 20px;
    letter-spacing: -1px;
}

.highlight { color: var(--red); }

.hero-content p {
    font-size: 1.05rem;
    color: #aaa;
    margin-bottom: 36px;
    line-height: 1.75;
    max-width: 520px;
    font-weight: 300;
}

.hero-btns {
    display: flex;
    gap: 12px;
    flex-wrap: wrap;
    margin-bottom: 48px;
}

.btn-cta {
    background: var(--red);
    color: var(--white);
    border: none;
    padding: 15px 32px;
    border-radius: 8px;
    font-size: 0.95rem;
    font-weight: 700;
    letter-spacing: 0.3px;
    transition: background 0.2s, transform 0.15s, box-shadow 0.2s;
}

.btn-cta:hover {
    background: var(--red2);
    transform: translateY(-2px);
    box-shadow: 0 8px 24px rgba(229,9,20,0.4);
}

.btn-cta.pulse {
    animation: ctaPulse 2.8s infinite;
}

@keyframes ctaPulse {
    0%, 100% { box-shadow: 0 0 0 0 rgba(229,9,20,0.5); }
    50%       { box-shadow: 0 0 0 16px rgba(229,9,20,0); }
}

.btn-outline {
    background: transparent;
    color: var(--white);
    border: 2px solid rgba(255,255,255,0.25);
    padding: 13px 28px;
    border-radius: 8px;
    font-size: 0.95rem;
    font-weight: 600;
    transition: border-color 0.2s, background 0.2s;
    display: inline-block;
}

.btn-outline:hover {
    border-color: rgba(255,255,255,0.6);
    background: rgba(255,255,255,0.05);
}

.hero-stats {
    display: flex;
    gap: 28px;
    flex-wrap: wrap;
    align-items: center;
    margin-bottom: 32px;
}

.stat {
    display: flex;
    flex-direction: column;
}

.stat-n {
    font-size: 1.6rem;
    font-weight: 900;
    line-height: 1;
    color: var(--white);
}

.stat-l {
    font-size: 0.65rem;
    color: var(--grey);
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-top: 4px;
}

.stat-div {
    width: 1px;
    height: 36px;
    background: rgba(255,255,255,0.12);
}

/* ── SEÇÕES DE CONTEÚDO ── */
.content-section {
    padding: 52px 5%;
    background: var(--bg1);
}

.section-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 28px;
    flex-wrap: wrap;
    gap: 14px;
}

.section-title-wrap {
    display: flex;
    align-items: center;
    gap: 10px;
}

.section-icon { font-size: 1.4rem; }

.section-title-wrap h2 {
    font-size: 1.5rem;
    font-weight: 800;
    border-left: 4px solid var(--red);
    padding-left: 14px;
    letter-spacing: -0.3px;
}

/* ── ABAS ── */
.tabs { display: flex; gap: 8px; }

.tab {
    background: rgba(255,255,255,0.05);
    border: 1px solid rgba(255,255,255,0.1);
    color: #999;
    padding: 8px 20px;
    border-radius: 6px;
    font-size: 0.82rem;
    font-weight: 700;
    transition: all 0.2s;
}

.tab.active {
    background: var(--red);
    border-color: var(--red);
    color: var(--white);
}

.tab-panel { display: none; }
.tab-panel.active { display: block; }

/* ── CARROSSEL ── */
.carousel-wrap {
    position: relative;
    display: flex;
    align-items: center;
}

.carr-viewport {
    flex: 1;
    overflow: hidden;
    border-radius: 10px;
}

.carr-track {
    display: flex;
    gap: 14px;
    transition: transform 0.4s ease;
    cursor: grab;
    user-select: none;
    padding: 4px 2px 8px;
}

.carr-track:active { cursor: grabbing; }

.carr-btn {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: rgba(10,10,10,0.9);
    border: 1px solid rgba(255,255,255,0.15);
    color: var(--white);
    width: 40px;
    height: 40px;
    border-radius: 50%;
    font-size: 1.3rem;
    z-index: 10;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    transition: background 0.2s, border-color 0.2s;
    line-height: 1;
}

.carr-btn:hover {
    background: var(--red);
    border-color: var(--red);
}

.carr-prev { left: -20px; }
.carr-next { right: -20px; }

/* ── CARD DE MÍDIA ── */
.media-card {
    min-width: 160px;
    max-width: 160px;
    border-radius: 8px;
    overflow: hidden;
    background: var(--card);
    flex-shrink: 0;
    position: relative;
    box-shadow: 0 4px 20px rgba(0,0,0,0.5);
    transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.media-card:hover {
    transform: translateY(-6px) scale(1.02);
    box-shadow: 0 16px 40px rgba(0,0,0,0.7);
}

.media-card img {
    width: 100%;
    height: 240px;
    object-fit: cover;
    display: block;
    background: var(--card2);
}

.media-card-info { padding: 10px 12px 12px; }

.media-card-title {
    font-size: 0.78rem;
    font-weight: 700;
    margin-bottom: 5px;
    line-height: 1.3;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.media-card-date { font-size: 0.7rem; color: var(--grey); }

.media-card-rating {
    font-size: 0.7rem;
    color: #f5c518;
    font-weight: 700;
    margin-top: 3px;
}

.new-badge {
    position: absolute;
    top: 8px;
    left: 0;
    background: var(--red);
    color: var(--white);
    font-size: 0.6rem;
    font-weight: 700;
    padding: 3px 10px 3px 8px;
    border-radius: 0 10px 10px 0;
    text-transform: uppercase;
    letter-spacing: 0.4px;
}

/* Skeleton loading */
.skeleton-card {
    min-width: 160px;
    max-width: 160px;
    height: 280px;
    border-radius: 8px;
    background: linear-gradient(90deg, var(--card) 25%, var(--card2) 50%, var(--card) 75%);
    background-size: 200% 100%;
    animation: shimmer 1.5s infinite;
    flex-shrink: 0;
}

@keyframes shimmer {
    0%   { background-position: 200% 0; }
    100% { background-position: -200% 0; }
}

.loading-card {
    color: var(--grey);
    padding: 40px 20px;
    font-size: 0.95rem;
}

/* ══════════════════════════════════════════════
   DESTAQUES DA SEMANA
   ══════════════════════════════════════════════ */
.destaques-section {
    padding: 60px 5%;
    background: linear-gradient(180deg, #0d0d0d 0%, #111 100%);
    border-top: 1px solid rgba(229,9,20,0.12);
    border-bottom: 1px solid rgba(229,9,20,0.12);
}

.destaques-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 32px;
    flex-wrap: wrap;
    gap: 14px;
}

.destaques-title-wrap {
    display: flex;
    align-items: center;
    gap: 12px;
}

.destaques-title-wrap h2 {
    font-size: 1.6rem;
    font-weight: 900;
    border-left: 4px solid var(--red);
    padding-left: 14px;
    letter-spacing: -0.4px;
}

.destaques-sub {
    font-size: 0.8rem;
    color: #666;
    margin-top: 4px;
    padding-left: 18px;
}

.destaques-badge {
    display: flex;
    align-items: center;
    gap: 7px;
    background: rgba(229,9,20,0.1);
    border: 1px solid rgba(229,9,20,0.3);
    color: #ff6666;
    padding: 7px 16px;
    border-radius: 100px;
    font-size: 0.75rem;
    font-weight: 800;
    letter-spacing: 1px;
    text-transform: uppercase;
}

.destaques-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
}

/* Card de destaque grande */
.destaque-card {
    background: var(--card);
    border: 1px solid rgba(255,255,255,0.07);
    border-radius: 14px;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    transition: border-color 0.3s, transform 0.3s, box-shadow 0.3s;
    cursor: pointer;
    position: relative;
}

.destaque-card:hover {
    border-color: rgba(229,9,20,0.45);
    transform: translateY(-5px);
    box-shadow: 0 20px 50px rgba(0,0,0,0.6);
}

.destaque-card-inner {
    display: flex;
    gap: 0;
    flex: 1;
}

.destaque-poster-wrap {
    position: relative;
    flex-shrink: 0;
    width: 140px;
}

.destaque-poster {
    width: 140px;
    height: 210px;
    object-fit: cover;
    display: block;
    background: var(--card2);
}

.destaque-poster-skeleton {
    width: 140px;
    height: 210px;
    background: linear-gradient(90deg, var(--card) 25%, var(--card2) 50%, var(--card) 75%);
    background-size: 200% 100%;
    animation: shimmer 1.5s infinite;
}

.destaque-tipo-badge {
    position: absolute;
    top: 10px;
    left: 0;
    padding: 4px 12px 4px 8px;
    border-radius: 0 10px 10px 0;
    font-size: 0.62rem;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 0.8px;
    color: var(--white);
}

.destaque-tipo-badge.filme {
    background: var(--red);
}

.destaque-tipo-badge.serie {
    background: #6c3fd4;
}

.destaque-info {
    flex: 1;
    padding: 20px 20px 16px;
    display: flex;
    flex-direction: column;
    gap: 10px;
    min-width: 0;
}

.destaque-semana-label {
    font-size: 0.65rem;
    font-weight: 800;
    color: var(--red);
    text-transform: uppercase;
    letter-spacing: 1.2px;
}

.destaque-titulo {
    font-size: 1.15rem;
    font-weight: 900;
    line-height: 1.25;
    letter-spacing: -0.3px;
    color: var(--white);
}

.destaque-meta {
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
    align-items: center;
}

.destaque-rating {
    font-size: 0.78rem;
    color: #f5c518;
    font-weight: 700;
}

.destaque-ano {
    font-size: 0.75rem;
    color: var(--grey);
}

.destaque-generos {
    display: flex;
    gap: 5px;
    flex-wrap: wrap;
}

.destaque-genero-tag {
    background: rgba(229,9,20,0.1);
    border: 1px solid rgba(229,9,20,0.25);
    color: #ff8080;
    padding: 3px 9px;
    border-radius: 100px;
    font-size: 0.65rem;
    font-weight: 700;
}

.destaque-sinopse {
    font-size: 0.82rem;
    color: #aaa;
    line-height: 1.65;
    font-weight: 300;
    display: -webkit-box;
    -webkit-line-clamp: 4;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.destaque-footer {
    padding: 14px 20px;
    border-top: 1px solid rgba(255,255,255,0.06);
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 10px;
}

.destaque-cta-btn {
    background: var(--red);
    color: var(--white);
    border: none;
    padding: 9px 18px;
    border-radius: 6px;
    font-size: 0.78rem;
    font-weight: 700;
    transition: background 0.2s, transform 0.15s;
    white-space: nowrap;
}

.destaque-cta-btn:hover {
    background: var(--red2);
    transform: translateY(-1px);
}

.destaque-disponivel {
    font-size: 0.72rem;
    color: #555;
}

/* Skeleton linha (usado dentro dos cards de destaque) */
.sk-line {
    border-radius: 4px;
    background: linear-gradient(90deg, var(--card2) 25%, #2a2a2a 50%, var(--card2) 75%);
    background-size: 200% 100%;
    animation: shimmer 1.5s infinite;
    width: 100%;
}

/* Skeleton destaque */
.destaque-card-skeleton {
    background: var(--card);
    border: 1px solid rgba(255,255,255,0.07);
    border-radius: 14px;
    overflow: hidden;
    height: 210px;
    animation: shimmer 1.5s infinite;
    background: linear-gradient(90deg, var(--card) 25%, var(--card2) 50%, var(--card) 75%);
    background-size: 200% 100%;
}



/* ── PLANOS ── */
.plans-section {
    padding: 70px 5%;
    background: var(--bg2);
    text-align: center;
}

.plans-header { margin-bottom: 50px; }

.plans-header h2 {
    font-size: clamp(1.6rem, 3vw, 2.2rem);
    font-weight: 900;
    margin-bottom: 10px;
    letter-spacing: -0.5px;
}

.plans-header p {
    color: var(--grey);
    font-size: 1rem;
    font-weight: 300;
}

.plans-grid {
    display: grid;
    grid-template-columns: repeat(5, minmax(190px, 1fr));
    gap: 16px;
    max-width: 1100px;
    margin: 0 auto;
}

.plan-card {
    background: var(--card);
    border: 1px solid rgba(255,255,255,0.07);
    border-radius: 12px;
    padding: 32px 18px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    position: relative;
    transition: border-color 0.3s, transform 0.3s;
    text-align: left;
}

.plan-card:hover {
    border-color: rgba(229,9,20,0.4);
    transform: translateY(-5px);
}

.plan-card.featured {
    border-color: var(--red);
    background: linear-gradient(180deg, #1f1010 0%, #1a0a0a 100%);
}

.plan-card.gold-card { border-color: rgba(212,175,55,0.4); }
.plan-card.gold-card:hover { border-color: var(--gold); }

.badge, .badge-gold {
    position: absolute;
    top: -12px;
    left: 50%;
    transform: translateX(-50%);
    padding: 4px 14px;
    font-size: 0.68rem;
    font-weight: 800;
    border-radius: 100px;
    text-transform: uppercase;
    letter-spacing: 0.8px;
    white-space: nowrap;
}

.badge      { background: var(--red);  color: var(--white); }
.badge-gold { background: var(--gold); color: #000; }

.plan-name {
    font-size: 0.9rem;
    font-weight: 700;
    color: var(--grey);
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 12px;
}

.plan-price {
    font-size: 2rem;
    font-weight: 900;
    margin-bottom: 24px;
    line-height: 1;
    letter-spacing: -1px;
}

.gold-price { color: var(--gold2); }

.plan-price span {
    font-size: 0.8rem;
    color: var(--grey);
    font-weight: 400;
    letter-spacing: 0;
    margin-left: 3px;
}

.plan-features {
    list-style: none;
    margin-bottom: 28px;
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.plan-features li {
    font-size: 0.82rem;
    color: #ccc;
    display: flex;
    align-items: center;
    gap: 8px;
}

.plan-features li::before {
    content: "✓";
    color: var(--red);
    font-weight: 900;
    font-size: 0.7rem;
    flex-shrink: 0;
}

.gold-card .plan-features li::before { color: var(--gold); }

.btn-plan {
    background: transparent;
    color: var(--white);
    border: 1px solid rgba(255,255,255,0.2);
    padding: 12px;
    border-radius: 7px;
    width: 100%;
    font-size: 0.82rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    transition: all 0.2s;
}

.btn-plan:hover,
.btn-plan.featured-btn {
    background: var(--red);
    border-color: var(--red);
    color: var(--white);
}

.btn-plan.featured-btn { animation: ctaPulse 2.8s infinite; }

.gold-btn {
    border-color: rgba(212,175,55,0.5);
    color: var(--gold2);
}

.gold-btn:hover {
    background: var(--gold);
    border-color: var(--gold);
    color: #000;
}

/* ── FAQ ── */
.faq-section {
    padding: 70px 5%;
    max-width: 860px;
    margin: 0 auto;
}

.faq-section h2 {
    font-size: 1.8rem;
    font-weight: 900;
    text-align: center;
    margin-bottom: 40px;
    letter-spacing: -0.5px;
}

.faq-list {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.faq-item {
    background: var(--card);
    border: 1px solid var(--border);
    border-radius: 10px;
    overflow: hidden;
    transition: border-color 0.2s;
}

.faq-item:hover { border-color: rgba(255,255,255,0.14); }

.faq-question {
    width: 100%;
    background: none;
    border: none;
    color: var(--white);
    padding: 18px 20px;
    font-size: 0.92rem;
    font-weight: 600;
    text-align: left;
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 12px;
    transition: color 0.2s;
}

.faq-question:hover { color: #ddd; }

.faq-question span {
    font-size: 1.2rem;
    color: var(--red);
    flex-shrink: 0;
    transition: transform 0.3s;
    display: inline-block;
}

.faq-item.active .faq-question span { transform: rotate(45deg); }

.faq-answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.35s ease, padding 0.35s ease;
    padding: 0 20px;
}

.faq-item.active .faq-answer {
    max-height: 160px;
    padding: 0 20px 18px;
}

.faq-answer p {
    color: var(--grey);
    font-size: 0.9rem;
    line-height: 1.7;
    font-weight: 300;
}

/* ── FOOTER ── */
footer {
    background: #000;
    border-top: 1px solid var(--border);
    padding: 56px 5% 28px;
}

.footer-grid {
    display: grid;
    grid-template-columns: 1.6fr 1fr 1fr;
    gap: 36px;
    max-width: 1100px;
    margin: 0 auto;
    padding-bottom: 32px;
}

.footer-col h4 {
    color: var(--white);
    font-size: 0.85rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.04em;
    margin-bottom: 14px;
}

.footer-col a {
    display: block;
    color: var(--grey);
    text-decoration: none;
    font-size: 0.88rem;
    font-weight: 300;
    padding: 5px 0;
    transition: color 0.2s ease;
    width: fit-content;
}

.footer-col a:hover { color: var(--white); }

.footer-logo {
    font-size: 1.5rem;
    font-weight: 900;
    color: var(--white);
    text-transform: uppercase;
    margin-bottom: 10px;
}

.footer-logo span { color: var(--red); }

.footer-tagline {
    color: var(--grey);
    font-size: 0.88rem;
    font-weight: 300;
    line-height: 1.6;
    max-width: 320px;
    margin-bottom: 18px;
}

.footer-whatsapp {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    color: var(--green);
    text-decoration: none;
    font-size: 0.88rem;
    font-weight: 600;
    border: 1px solid rgba(37,211,102,0.35);
    padding: 9px 16px;
    border-radius: 30px;
    transition: background 0.2s ease, border-color 0.2s ease;
    width: fit-content;
}

.footer-whatsapp:hover {
    background: rgba(37,211,102,0.1);
    border-color: var(--green);
}

.footer-bottom {
    max-width: 1100px;
    margin: 0 auto;
    border-top: 1px solid var(--border);
    padding-top: 22px;
    text-align: center;
}

.footer-bottom p { color: #444; font-size: 0.8rem; line-height: 1.6; }
.footer-disclaimer { max-width: 620px; margin: 6px auto 0; }

@media (max-width: 720px) {
    .footer-grid {
        grid-template-columns: 1fr;
        gap: 28px;
        text-align: center;
    }
    .footer-tagline { max-width: none; margin-left: auto; margin-right: auto; }
    .footer-whatsapp { margin: 0 auto; }
    .footer-col a { width: auto; margin: 0 auto; }
}

/* ── MODAL PADRÃO ── */
.modal-overlay {
    position: fixed;
    inset: 0;
    background: rgba(0,0,0,0.88);
    z-index: 1000;
    display: flex;
    justify-content: center;
    align-items: center;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.3s;
    padding: 20px;
}

.modal-overlay.active {
    opacity: 1;
    pointer-events: auto;
}

.modal-box {
    background: var(--card);
    border: 1px solid rgba(255,255,255,0.1);
    border-radius: 14px;
    padding: 36px;
    max-width: 440px;
    width: 100%;
    text-align: center;
    position: relative;
    transform: translateY(20px);
    transition: transform 0.3s;
}

.modal-overlay.active .modal-box { transform: translateY(0); }

.close-modal {
    position: absolute;
    top: 14px;
    right: 18px;
    background: none;
    border: none;
    font-size: 1.4rem;
    color: var(--grey);
    transition: color 0.2s;
    line-height: 1;
}

.close-modal:hover { color: var(--white); }

.modal-box h3 {
    font-size: 1.2rem;
    font-weight: 800;
    margin-bottom: 10px;
}

.modal-box p {
    color: var(--grey);
    font-size: 0.9rem;
    margin-bottom: 20px;
    font-weight: 300;
}

.device-select {
    width: 100%;
    padding: 13px;
    background: var(--bg2);
    color: var(--white);
    border: 1px solid rgba(255,255,255,0.12);
    border-radius: 8px;
    font-size: 0.9rem;
    font-family: var(--font);
    margin-bottom: 16px;
    outline: none;
    transition: border-color 0.2s;
    appearance: none;
}

.device-select:focus { border-color: var(--red); }

.btn-modal-submit {
    background: var(--red);
    color: var(--white);
    border: none;
    padding: 14px;
    border-radius: 8px;
    font-size: 0.92rem;
    font-weight: 700;
    width: 100%;
    letter-spacing: 0.3px;
    transition: background 0.2s, transform 0.15s;
}

.btn-modal-submit:hover {
    background: var(--red2);
    transform: translateY(-1px);
}

/* ── MODAL FILME/SÉRIE ── */
.media-modal-box {
    background: #181818;
    border-radius: 14px;
    overflow: hidden;
    width: 92%;
    max-width: 820px;
    max-height: 88vh;
    overflow-y: auto;
    position: relative;
    box-shadow: 0 24px 64px rgba(0,0,0,0.9);
    scrollbar-width: thin;
    scrollbar-color: #333 transparent;
}

.media-modal-box::-webkit-scrollbar { width: 4px; }
.media-modal-box::-webkit-scrollbar-thumb { background: #333; border-radius: 4px; }

.media-close {
    position: absolute;
    top: 14px;
    right: 14px;
    z-index: 10;
    background: rgba(0,0,0,0.7);
    border: 1px solid rgba(255,255,255,0.1);
    color: var(--white);
    width: 34px;
    height: 34px;
    border-radius: 50%;
    font-size: 0.9rem;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: background 0.2s;
}

.media-close:hover { background: var(--red); border-color: var(--red); }

.media-backdrop {
    width: 100%;
    height: 220px;
    background: no-repeat center/cover;
}

.media-modal-body {
    display: flex;
    gap: 24px;
    padding: 24px;
    margin-top: -65px;
    position: relative;
    z-index: 2;
    flex-wrap: wrap;
}

.media-poster {
    width: 140px;
    height: 210px;
    border-radius: 10px;
    object-fit: cover;
    flex-shrink: 0;
    box-shadow: 0 10px 32px rgba(0,0,0,0.7);
    border: 2px solid rgba(255,255,255,0.08);
}

.media-info { flex: 1; min-width: 200px; }

.media-tags {
    display: flex;
    gap: 5px;
    flex-wrap: wrap;
    margin-bottom: 10px;
}

.media-tag {
    background: rgba(229,9,20,0.12);
    border: 1px solid rgba(229,9,20,0.3);
    color: #ff8080;
    padding: 3px 10px;
    border-radius: 100px;
    font-size: 0.68rem;
    font-weight: 700;
}

.media-title {
    font-size: 1.5rem;
    font-weight: 900;
    line-height: 1.2;
    margin-bottom: 10px;
    letter-spacing: -0.3px;
}

.media-meta-row {
    display: flex;
    gap: 14px;
    flex-wrap: wrap;
    margin-bottom: 14px;
}

.media-meta {
    font-size: 0.78rem;
    color: var(--grey);
    display: flex;
    align-items: center;
    gap: 3px;
}

.media-meta strong { color: var(--white); }

.media-overview {
    font-size: 0.88rem;
    color: #bbb;
    line-height: 1.75;
    margin-bottom: 18px;
    font-weight: 300;
}

.media-cast-title {
    font-size: 0.7rem;
    font-weight: 700;
    color: var(--grey);
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 10px;
}

.media-cast {
    display: flex;
    gap: 6px;
    flex-wrap: wrap;
    margin-bottom: 20px;
}

.cast-chip {
    background: rgba(255,255,255,0.05);
    border: 1px solid rgba(255,255,255,0.1);
    padding: 4px 12px;
    border-radius: 100px;
    font-size: 0.75rem;
    color: #ccc;
}

.media-cta { width: 100%; }

.media-soon {
    width: 100%;
    padding: 14px;
    border-radius: 8px;
    background: rgba(255,255,255,0.04);
    border: 1px solid rgba(255,255,255,0.1);
    color: var(--grey);
    font-size: 0.85rem;
    font-weight: 600;
    text-align: center;
}

/* ── WHATSAPP ── */
.whatsapp-float {
    position: fixed;
    bottom: 94px;
    right: 22px;
    z-index: 400;
    width: 52px;
    height: 52px;
    background: var(--green);
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    color: var(--white);
    box-shadow: 0 4px 20px rgba(37,211,102,0.35);
    animation: pulseWpp 2.5s infinite;
    transition: transform 0.2s;
}

.whatsapp-float svg { width: 26px; height: 26px; }

.whatsapp-float:hover {
    transform: scale(1.1);
    animation: none;
}

.wpp-tooltip {
    position: absolute;
    right: 62px;
    top: 50%;
    transform: translateY(-50%);
    background: #1a1a1a;
    color: var(--white);
    padding: 6px 12px;
    border-radius: 6px;
    font-size: 0.78rem;
    font-weight: 600;
    white-space: nowrap;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.2s;
    border: 1px solid var(--border);
}

.wpp-tooltip::after {
    content: '';
    position: absolute;
    left: 100%;
    top: 50%;
    transform: translateY(-50%);
    border: 5px solid transparent;
    border-left-color: #1a1a1a;
}

.whatsapp-float:hover .wpp-tooltip { opacity: 1; }

@keyframes pulseWpp {
    0%   { box-shadow: 0 0 0 0 rgba(37,211,102,0.5); }
    70%  { box-shadow: 0 0 0 14px rgba(37,211,102,0); }
    100% { box-shadow: 0 0 0 0 rgba(37,211,102,0); }
}

/* ── CHAT ── */
.chat-widget {
    position: fixed;
    bottom: 22px;
    right: 22px;
    z-index: 400;
    display: flex;
    flex-direction: column;
    align-items: flex-end;
}

.chat-toggle {
    width: 52px;
    height: 52px;
    background: var(--red);
    border: none;
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    box-shadow: 0 4px 20px rgba(229,9,20,0.4);
    animation: pulseChat 2.5s infinite;
    position: relative;
    transition: background 0.2s, transform 0.2s;
}

.chat-toggle:hover {
    background: var(--red2);
    transform: scale(1.1);
    animation: none;
}

.chat-toggle svg { width: 22px; height: 22px; fill: var(--white); }

.chat-badge {
    position: absolute;
    top: -4px;
    right: -4px;
    background: var(--green);
    color: var(--white);
    font-size: 0.6rem;
    font-weight: 900;
    width: 18px;
    height: 18px;
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    border: 2px solid var(--black);
}

@keyframes pulseChat {
    0%   { box-shadow: 0 0 0 0 rgba(229,9,20,0.5); }
    70%  { box-shadow: 0 0 0 14px rgba(229,9,20,0); }
    100% { box-shadow: 0 0 0 0 rgba(229,9,20,0); }
}

.chat-box {
    width: 320px;
    background: #181818;
    border: 1px solid rgba(255,255,255,0.08);
    border-radius: 14px;
    overflow: hidden;
    box-shadow: 0 12px 40px rgba(0,0,0,0.7);
    margin-bottom: 10px;
    display: none;
    flex-direction: column;
    max-height: 480px;
    opacity: 0;
    transform: scale(0.92) translateY(16px);
    transition: opacity 0.25s ease, transform 0.25s ease;
    transform-origin: bottom right;
}

.chat-box.open {
    display: flex;
    opacity: 1;
    transform: scale(1) translateY(0);
}

.chat-header {
    background: linear-gradient(135deg, #1a0204 0%, #2a0507 100%);
    border-bottom: 1px solid rgba(255,255,255,0.06);
    padding: 14px 16px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.chat-header-info { display: flex; align-items: center; gap: 10px; }

.chat-avatar {
    width: 34px;
    height: 34px;
    background: var(--red);
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    font-size: 0.9rem;
}

.chat-name   { font-weight: 700; font-size: 0.88rem; }
.chat-status { font-size: 0.65rem; color: var(--green); margin-top: 1px; }

.chat-close-btn {
    background: none;
    border: none;
    color: var(--grey);
    font-size: 1rem;
    transition: color 0.2s;
    line-height: 1;
}

.chat-close-btn:hover { color: var(--white); }

.chat-messages {
    flex: 1;
    overflow-y: auto;
    padding: 14px;
    display: flex;
    flex-direction: column;
    gap: 10px;
    min-height: 180px;
    max-height: 280px;
    scrollbar-width: thin;
    scrollbar-color: #333 transparent;
}

.chat-messages::-webkit-scrollbar { width: 3px; }
.chat-messages::-webkit-scrollbar-thumb { background: #333; border-radius: 3px; }

.chat-msg      { display: flex; flex-direction: column; max-width: 85%; }
.chat-msg.bot  { align-items: flex-start; align-self: flex-start; }
.chat-msg.user { align-items: flex-end; align-self: flex-end; }

.chat-bubble { padding: 9px 13px; border-radius: 12px; font-size: 0.85rem; line-height: 1.5; }

.chat-msg.bot  .chat-bubble { background: #2a2a2a; color: var(--white); border-bottom-left-radius: 4px; }
.chat-msg.user .chat-bubble { background: var(--red); color: var(--white); border-bottom-right-radius: 4px; }

.chat-time { font-size: 0.62rem; color: #555; margin-top: 3px; padding: 0 3px; }
.chat-msg.user .chat-time { text-align: right; }

.typing-indicator .chat-bubble {
    display: flex;
    gap: 5px;
    align-items: center;
    padding: 11px 14px;
}

.typing-indicator .dot {
    width: 6px;
    height: 6px;
    background: #666;
    border-radius: 50%;
    animation: typingBounce 1.2s infinite ease-in-out;
}

.typing-indicator .dot:nth-child(2) { animation-delay: 0.2s; }
.typing-indicator .dot:nth-child(3) { animation-delay: 0.4s; }

@keyframes typingBounce {
    0%, 60%, 100% { transform: translateY(0); }
    30%            { transform: translateY(-6px); }
}

.chat-input-area {
    padding: 10px;
    display: flex;
    gap: 8px;
    border-top: 1px solid rgba(255,255,255,0.06);
    background: #141414;
}

.chat-input {
    flex: 1;
    background: #2a2a2a;
    border: 1px solid rgba(255,255,255,0.08);
    border-radius: 20px;
    padding: 9px 14px;
    color: var(--white);
    font-size: 0.85rem;
    font-family: var(--font);
    outline: none;
    transition: border-color 0.2s;
}

.chat-input:focus { border-color: var(--red); }
.chat-input::placeholder { color: #555; }

.chat-send-btn {
    width: 36px;
    height: 36px;
    background: var(--red);
    border: none;
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    color: var(--white);
    flex-shrink: 0;
    transition: background 0.2s;
}

.chat-send-btn:hover { background: var(--red2); }

/* ── RESPONSIVO ── */
@media (max-width: 1100px) {
    .plans-grid { grid-template-columns: repeat(3, minmax(180px, 1fr)); }
}

@media (max-width: 900px) {
    nav { display: none; }
    .header-cta { display: none; }
    .nav-hamburger { display: block; }
    .plans-grid { grid-template-columns: repeat(2, 1fr); }
    .destaques-grid { grid-template-columns: 1fr; }
}

@media (max-width: 640px) {
    .hero { padding: 84px 5% 40px; min-height: unset !important; }
    .hero-content h1 { font-size: 2rem; }
    .hero-content p { font-size: 0.9rem; }
    .hero-stats { gap: 16px; }
    .stat-n { font-size: 1.3rem; }
    .plans-grid { grid-template-columns: 1fr; max-width: 380px; margin: 0 auto; }
    .media-modal-body { flex-direction: column; }
    .media-poster { width: 110px; height: 165px; }
    .carr-prev { left: -12px; }
    .carr-next { right: -12px; }
    .chat-box { width: calc(100vw - 32px); }
    .whatsapp-float { right: 14px; bottom: 90px; }
    .chat-widget { right: 14px; bottom: 14px; }
    .section-title-wrap h2 { font-size: 1.2rem; }
    .destaque-poster-wrap { width: 110px; }
    .destaque-poster { width: 110px; height: 165px; }
    .carr-btn { display: none; }
}
