:root {
    --bg-dark: #07070a;
    --text-main: #f0f0f5;
    --text-muted: #9ba0aa;
    --gold: #f5a623;
    --gold-glow: rgba(245, 166, 35, 0.4);
    --blue-glow: rgba(0, 180, 255, 0.3);
    --surface: #121217;
    --surface-border: rgba(255, 255, 255, 0.08);
}

* { margin: 0; padding: 0; box-sizing: border-box; }

body {
    background-color: var(--bg-dark);
    color: var(--text-main);
    font-family: 'Inter', sans-serif;
    line-height: 1.6;
    overflow-x: hidden;
}

/* Background Gradients & Optical Flares */
body::before {
    content: '';
    position: fixed;
    top: 0; left: 0; width: 100vw; height: 100vh;
    background: radial-gradient(circle at 15% 30%, var(--blue-glow) 0%, transparent 40%),
                radial-gradient(circle at 85% 70%, var(--gold-glow) 0%, transparent 40%);
    opacity: 0.5;
    z-index: -2;
}

.flare {
    position: absolute;
    border-radius: 50%;
    filter: blur(80px);
    z-index: -1;
}
.flare-1 { width: 300px; height: 300px; background: rgba(245, 166, 35, 0.15); top: -100px; right: -100px; }
.flare-2 { width: 400px; height: 400px; background: rgba(0, 180, 255, 0.1); bottom: 20%; left: -150px; }

h1, h2, h3, h4, h5, .logo { font-family: 'Montserrat', sans-serif; }

/* --- HEADER FIXO --- */
header {
    position: fixed;
    top: 0; width: 100%;
    background: rgba(7, 7, 10, 0.8);
    backdrop-filter: blur(15px);
    border-bottom: 1px solid var(--surface-border);
    z-index: 1000;
    transition: all 0.3s ease;
}
header.scrolled {
    padding: 5px 0;
    background: rgba(7, 7, 10, 0.95);
    box-shadow: 0 5px 20px rgba(0,0,0,0.5);
}
.header-container {
    max-width: 1200px; margin: 0 auto; padding: 20px;
    display: flex; justify-content: space-between; align-items: center;
}
.logo { font-size: 1.5rem; font-weight: 800; letter-spacing: 1px; }
.logo span { color: var(--gold); font-weight: 500; }
nav ul { list-style: none; display: flex; gap: 30px; }
nav ul li a { color: var(--text-muted); text-decoration: none; font-size: 0.9rem; font-weight: 500; transition: color 0.3s; }
nav ul li a:hover { color: var(--gold); }
.lang-switch { color: var(--text-muted); font-size: 0.85rem; font-weight: 500; cursor: pointer; }

/* --- CONTAINERS --- */
.container { max-width: 1200px; margin: 0 auto; padding: 120px 20px 60px; } /* padding-top compensa o header fixo */
section { margin-bottom: 100px; }
.section-title { font-size: 1rem; color: var(--gold); text-transform: uppercase; letter-spacing: 2px; margin-bottom: 10px; }
.section-subtitle { font-size: 2.5rem; font-weight: 700; margin-bottom: 50px; color: #fff; }

/* --- HERO --- */
.hero { padding: 60px 0 80px; text-align: center; display: flex; justify-content: center; }
.hero-content { max-width: 800px; }
.hero h1 { font-size: 4rem; line-height: 1.2; margin-bottom: 25px; letter-spacing: -1px; }
.hero .highlight { background: linear-gradient(90deg, #fff, var(--gold)); -webkit-background-clip: text; -webkit-text-fill-color: transparent; }
.hero p { font-size: 1.1rem; color: var(--text-muted); margin-bottom: 40px; }
.btn-group { display: flex; gap: 20px; justify-content: center; }

/* --- BOTÕES 3D --- */
.btn-3d {
    padding: 15px 35px;
    border-radius: 6px;
    font-family: 'Montserrat', sans-serif;
    font-weight: 600;
    font-size: 0.9rem;
    text-decoration: none;
    text-transform: uppercase;
    letter-spacing: 1px;
    transition: all 0.3s ease;
    cursor: pointer;
    border: none;
    position: relative;
    top: 0;
}
.btn-gold {
    background: linear-gradient(145deg, #f5a623, #d08815);
    color: #111;
    box-shadow: 4px 4px 15px rgba(245, 166, 35, 0.3), inset 2px 2px 5px rgba(255,255,255,0.4), inset -2px -2px 5px rgba(0,0,0,0.2);
}
.btn-gold:hover { transform: translateY(-3px); box-shadow: 6px 6px 20px rgba(245, 166, 35, 0.5), inset 2px 2px 5px rgba(255,255,255,0.4); }
.btn-gold:active { transform: translateY(2px); box-shadow: inset 3px 3px 10px rgba(0,0,0,0.3); }

.btn-dark {
    background: linear-gradient(145deg, #22222a, #1a1a20);
    color: var(--text-main);
    border: 1px solid var(--surface-border);
    box-shadow: 4px 4px 15px rgba(0,0,0,0.5), inset 1px 1px 2px rgba(255,255,255,0.05);
}
.btn-dark:hover { transform: translateY(-3px); box-shadow: 6px 6px 20px rgba(0,0,0,0.7), 0 0 15px rgba(255,255,255,0.1); border-color: rgba(255,255,255,0.2); }
.btn-dark:active { transform: translateY(2px); }

/* --- SERVIÇOS E HOVER DINÂMICO --- */
.services-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 30px; }
/* Efeito de ofuscar os outros cards quando o container recebe hover */
.services-grid:hover .card { opacity: 10; filter: blur(2px); }
.services-grid .card:hover { opacity: 50; filter: blur(0); transform: translateY(-10px); border-color: var(--gold); box-shadow: 0 10px 30px var(--gold-glow); }

.card {
    background: var(--surface);
    border: 1px solid var(--surface-border);
    border-radius: 12px;
    padding: 40px;
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    display: flex; flex-direction: column;
}
.card .icon { font-size: 2.5rem; margin-bottom: 25px; }
.card-title { font-size: 1.2rem; margin-bottom: 15px; }
.card p { color: var(--text-muted); font-size: 0.95rem; }

/* --- DOCUMENTÁRIOS --- */
.docs-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 30px; }
.doc-card { background: var(--surface); border-radius: 12px; overflow: hidden; border: 1px solid var(--surface-border); transition: 0.3s; }
.doc-card:hover { border-color: rgba(255,255,255,0.3); transform: translateY(-5px); }
.doc-image { height: 250px; background-size: cover; background-position: center; border-bottom: 1px solid var(--surface-border); }
.doc-info { padding: 30px; }
.doc-tag { background: rgba(245, 166, 35, 0.1); color: var(--gold); padding: 5px 12px; border-radius: 20px; font-size: 0.75rem; font-weight: 700; text-transform: uppercase; margin-bottom: 15px; display: inline-block; }
.doc-info h4 { font-size: 1.4rem; margin-bottom: 10px; }
.doc-info p { color: var(--text-muted); margin-bottom: 20px; font-size: 0.95rem; }
.btn-text { color: #fff; text-decoration: none; font-weight: 600; font-size: 0.9rem; transition: 0.3s; }
.btn-text:hover { color: var(--gold); letter-spacing: 1px; }

/* --- CANAIS B2B --- */
.channels-list { display: flex; flex-direction: column; gap: 15px; }
.channel-row {
    display: flex; justify-content: space-between; align-items: center;
    background: var(--surface); padding: 25px 30px; border-radius: 8px;
    border: 1px solid var(--surface-border); transition: 0.3s;
}
.channel-row:hover { background: rgba(255,255,255,0.03); border-color: rgba(255,255,255,0.1); padding-left: 40px; }
.channel-row h4 { font-size: 1.2rem; width: 25%; }
.channel-row p { color: var(--text-muted); width: 75%; font-size: 0.95rem; }

/* --- BLOG PREVIEW --- */
.blog-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 30px; }
.blog-card { background: transparent; border-bottom: 1px solid var(--surface-border); padding-bottom: 25px; }
.blog-date { font-family: 'Montserrat', sans-serif; font-size: 0.8rem; color: var(--gold); margin-bottom: 10px; font-weight: 600; }
.blog-card h4 { font-size: 1.2rem; margin-bottom: 15px; line-height: 1.4; }
.blog-card h4 a { color: var(--text-main); text-decoration: none; transition: 0.3s; }
.blog-card h4 a:hover { color: var(--gold); }
.blog-card p { color: var(--text-muted); font-size: 0.95rem; }

/* --- FOOTER ROBUSTO --- */
.main-footer { background: #030305; border-top: 1px solid rgba(255,255,255,0.05); padding: 80px 20px 20px; margin-top: 100px; }
.footer-container { max-width: 1200px; margin: 0 auto; display: grid; grid-template-columns: 2fr 1fr 1fr 1.5fr; gap: 50px; margin-bottom: 60px; }
.brand-col p { color: var(--text-muted); margin-top: 20px; font-size: 0.9rem; max-width: 300px; }
.footer-col h4 { font-size: 1.1rem; margin-bottom: 25px; color: #fff; }
.footer-col ul { list-style: none; }
.footer-col ul li { margin-bottom: 12px; }
.footer-col ul li a { color: var(--text-muted); text-decoration: none; font-size: 0.9rem; transition: 0.3s; }
.footer-col ul li a:hover { color: var(--gold); padding-left: 5px; }
.newsletter-form { display: flex; margin-top: 15px; }
.newsletter-form input { flex: 1; padding: 12px 15px; background: var(--surface); border: 1px solid var(--surface-border); border-radius: 6px 0 0 6px; color: #fff; outline: none; }
.newsletter-form button { padding: 12px 20px; background: var(--gold); border: none; border-radius: 0 6px 6px 0; color: #111; font-weight: 700; cursor: pointer; transition: 0.3s; }
.newsletter-form button:hover { background: #fff; }
.footer-bottom { text-align: center; padding-top: 20px; border-top: 1px solid rgba(255,255,255,0.05); color: var(--text-muted); font-size: 0.85rem; }

/* --- BACK TO TOP BUTTON --- */
#back-to-top {
    position: fixed;
    bottom: 30px; right: 30px;
    background: var(--surface);
    color: var(--gold);
    border: 1px solid var(--gold);
    width: 45px; height: 45px;
    border-radius: 50%;
    font-size: 1.2rem;
    cursor: pointer;
    box-shadow: 0 0 15px rgba(245, 166, 35, 0.2);
    opacity: 0; visibility: hidden;
    transition: all 0.3s ease;
    z-index: 999;
}
#back-to-top.show { opacity: 1; visibility: visible; }
#back-to-top:hover { background: var(--gold); color: #111; transform: translateY(-5px); box-shadow: 0 5px 20px rgba(245, 166, 35, 0.5); }

/* --- EPG --- */
/* Ativos de Idioma */
.lang-switch a { color: var(--text-muted); text-decoration: none; }
.lang-switch a:hover, .lang-switch a.active-lang { color: var(--gold); font-weight: 700; }

/* --- HERO SLIDER --- */
.hero-slider-section { position: relative; width: 100vw; height: 90vh; top: 0; left: 0; margin-top: -100px; /* Sobe atrás do header fixo */ z-index: 1; }
.swiper { width: 100%; height: 100%; }
.swiper-slide { display: flex; align-items: center; justify-content: flex-start; padding-left: 10%; background-size: cover; background-position: center; }
.hero-slide-content { max-width: 700px; z-index: 10; animation: fadeInUp 1s ease; }
.slide-badge { background: var(--gold); color: #000; padding: 5px 12px; font-weight: 800; font-family: 'Montserrat'; font-size: 0.8rem; letter-spacing: 2px; margin-bottom: 15px; display: inline-block; }
.hero-slide-content h1 { font-size: 4.5rem; font-weight: 900; line-height: 1; margin-bottom: 20px; text-transform: uppercase; text-shadow: 0 5px 15px rgba(0,0,0,0.5); }
.hero-slide-content p { font-size: 1.2rem; color: #e0e0e0; margin-bottom: 30px; text-shadow: 0 2px 10px rgba(0,0,0,0.8); }

@keyframes fadeInUp { from { opacity: 0; transform: translateY(30px); } to { opacity: 1; transform: translateY(0); } }

/* Swiper custom colors */
.swiper-pagination-bullet { background: #fff; opacity: 0.5; }
.swiper-pagination-bullet-active { background: var(--gold); opacity: 1; }
.swiper-button-next, .swiper-button-prev { color: rgba(255,255,255,0.3); transition: 0.3s; }
.swiper-button-next:hover, .swiper-button-prev:hover { color: var(--gold); }

/* --- BARRA DE STATS GLOBAL --- */
.global-stats { display: flex; background: #030305; border-top: 1px solid var(--surface-border); border-bottom: 1px solid var(--surface-border); padding: 30px 0; justify-content: space-around; flex-wrap: wrap; position: relative; z-index: 5; margin-bottom: 80px; }
.stat-item { text-align: center; }
.stat-item h3 { font-size: 2.5rem; color: var(--gold); margin-bottom: 5px; }
.stat-item p { font-size: 0.8rem; font-weight: 700; letter-spacing: 1px; color: var(--text-muted); }

/* --- NOVA GRID DE CANAIS --- */
.channels-grid-new { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
.channel-card { background: linear-gradient(145deg, var(--surface), #0a0a0f); border: 1px solid var(--surface-border); padding: 30px 20px; border-radius: 10px; text-align: center; transition: 0.3s; cursor: pointer; }
.channel-card:hover { border-color: var(--gold); transform: translateY(-5px); box-shadow: 0 10px 20px var(--gold-glow); }
.channel-card h4 { font-size: 1.1rem; color: #fff; margin-bottom: 10px; }
.channel-card p { font-size: 0.85rem; color: var(--text-muted); }

/* --- SUPER CTA EPG --- */
.epg-cta { background: linear-gradient(45deg, #050508, #11111a); border: 1px solid var(--gold); border-radius: 20px; padding: 60px; display: flex; align-items: center; justify-content: space-between; margin-top: 80px; box-shadow: 0 20px 50px rgba(0,0,0,0.5), inset 0 0 40px var(--gold-glow); }
.epg-content { flex: 1; padding-right: 40px; }
.epg-content h2 { font-size: 2.5rem; color: #fff; margin-bottom: 20px; font-weight: 900; }
.epg-content p { font-size: 1.1rem; color: #ccc; }
.epg-visual { flex: 1; background: #000; border: 1px solid #333; border-radius: 10px; padding: 20px; }
.epg-visual pre { color: #00f0ff; font-family: monospace; font-size: 0.9rem; white-space: pre-wrap; word-wrap: break-word; }

/* --- CARROSSEL DE CLIENTES (MARQUEE) --- */
.partners-section { margin: 100px 0; overflow: hidden; background: #030305; padding: 40px 0; border-top: 1px solid var(--surface-border); border-bottom: 1px solid var(--surface-border); }
.marquee { overflow: hidden; white-space: nowrap; width: 100%; position: relative; }
/* Sombras laterais para dar o efeito de sumiço nas bordas */
.marquee::before, .marquee::after { content: ""; position: absolute; top: 0; width: 150px; height: 100%; z-index: 2; }
.marquee::before { left: 0; background: linear-gradient(to right, #030305, transparent); }
.marquee::after { right: 0; background: linear-gradient(to left, #030305, transparent); }

.marquee-content { display: inline-block; animation: marquee-scroll 25s linear infinite; }
.marquee-content img { height: 40px; margin: 0 40px; filter: grayscale(100%) opacity(0.5); transition: 0.3s; }
.marquee-content img:hover { filter: grayscale(0%) opacity(1); }

@keyframes marquee-scroll {
    0% { transform: translateX(0); }
    100% { transform: translateX(-50%); } /* -50% funciona perfeitamente porque duplicamos as logos no HTML */
}