/* =========================================
   STYLE.CSS - VERSÃO FINAL CORRIGIDA
   ========================================= */

/* 1. VARIÁVEIS GLOBAIS */
:root {
    --bg-color: #050505;
    --card-bg: #121212;
    --primary-blue: #d4af37;
    /* DOURADO */
    --dark-blue: #aa8a44;
    --action-green: #d4af37;
    --action-green-hover: #f3e5ab;
    --text-main: #ffffff;
    --text-light: #bfbfbf;
    --border-color: #333333;
    --shadow: 0 10px 30px rgba(212, 175, 55, 0.1);
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Roboto', sans-serif;
    background-color: var(--bg-color);
    color: var(--text-main);
    line-height: 1.6;
    overflow-x: hidden;
}

h1,
h2,
h3 {
    font-family: 'Poppins', sans-serif;
    font-weight: 700;
}

a {
    text-decoration: none;
}

ul {
    list-style: none;
}

.container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 20px;
}

/* 2. BOTÕES */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 18px 45px;
    border-radius: 50px;
    font-weight: 700;
    font-size: 1.1rem;
    transition: all 0.3s ease;
    box-shadow: 0 0 15px rgba(0, 0, 0, 0.5);
    gap: 10px;
}

.btn-green {
    background-color: var(--action-green);
    color: #000;
}

.btn-green:hover {
    background-color: var(--action-green-hover);
    transform: translateY(-2px);
    box-shadow: 0 0 30px rgba(212, 175, 55, 0.6);
}

.btn-blue {
    background-color: var(--primary-blue);
    color: #000;
}

.btn-blue:hover {
    background-color: var(--dark-blue);
    color: #fff;
}

.btn-outline {
    border: 2px solid var(--primary-blue);
    color: var(--primary-blue);
    background: transparent;
}

.btn-outline:hover {
    background-color: var(--primary-blue);
    color: #000;
    box-shadow: 0 0 15px rgba(212, 175, 55, 0.4);
}

.btn-outline-light {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 18px 40px;
    border-radius: 50px;
    font-weight: 700;
    font-size: 1.1rem;
    transition: all 0.3s ease;
    border: 2px solid rgba(255, 255, 255, 0.3);
    color: #fff;
    backdrop-filter: blur(5px);
}

.btn-outline-light:hover {
    background-color: #fff;
    color: #000;
    border-color: #fff;
    box-shadow: 0 0 30px rgba(255, 255, 255, 0.2);
    transform: translateY(-3px);
}

/* 3. NAVBAR (CONFIGURAÇÃO DE DESKTOP) */
.navbar {
    width: 100%;
    padding: 15px 0;
    position: fixed;
    top: 0;
    left: 0;
    z-index: 1000;
    background: rgba(5, 5, 5, 0.95);
    backdrop-filter: blur(12px);
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

.nav-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    height: 70px;
}

.logo-container {
    display: flex;
    align-items: center;
    flex: 0 0 auto;
}

.nav-logo-img {
    height: 90px;
    width: auto;
    object-fit: contain;
    transition: transform 0.3s ease;
}

.nav-logo-img:hover {
    transform: scale(1.1);
}

/* Links Desktop (FORÇA ROW PARA NÃO FICAR VERTICAL) */
.nav-links {
    flex: 1;
    display: flex;
    justify-content: center;
    align-items: center;
}

.nav-links ul {
    display: flex;
    flex-direction: row;
    /* Força horizontal */
    gap: 25px;
    list-style: none;
    padding: 0;
    margin: 0;
}

.nav-links a {
    color: var(--text-main);
    font-weight: 500;
    font-size: 0.95rem;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    transition: all 0.3s ease;
    white-space: nowrap;
    padding: 0;
    /* Remove padding extra do mobile */
}

.nav-links a:hover {
    color: var(--primary-blue);
    text-shadow: 0 0 10px rgba(212, 175, 55, 0.6);
    background: none;
}

/* --- CORREÇÃO DO BUG DO MENU --- */
/* Esconde elementos MOBILE quando estiver no PC */
.mobile-menu-icon {
    display: none;
}

.mobile-only-item {
    display: none;
}

/* Antes estava mobile-only-btn e causava o erro */

/* Botão Nav Desktop */
.nav-cta {
    flex: 0 0 auto;
    display: block;
}

.btn-nav-highlight {
    background: var(--primary-blue);
    color: #000;
    padding: 10px 25px;
    border-radius: 50px;
    font-weight: 800;
    font-size: 0.9rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    transition: all 0.3s ease;
    box-shadow: 0 0 15px rgba(212, 175, 55, 0.3);
    border: 2px solid var(--primary-blue);
    display: inline-block;
}

.btn-nav-highlight:hover {
    background: transparent;
    color: var(--primary-blue);
    box-shadow: 0 0 25px rgba(212, 175, 55, 0.6);
    transform: scale(1.05);
}

/* 4. HEADER E HERO */
header {
    background: linear-gradient(to bottom, rgba(0, 0, 0, 0.6), rgba(5, 5, 5, 0.5), var(--bg-color)), url('/plano-de-fundo-iptv-4.png');
    background-size: cover;
    background-position: center top;
    top: 100px;
    left: 60px; /* vai pra esquerda */
    color: var(--text-main);
    padding: 0;
    position: relative;
    height: auto;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    align-items: center;
    text-align: center;
    overflow: hidden;
    padding-top: 140px;
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(50px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.hero-content {
    width: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
}

.hero-text {
    max-width: 1200px;
    padding: 0 20px;
    animation: fadeInUp 1s cubic-bezier(0.2, 0.8, 0.2, 1);
    margin-top: -80px;
    margin-left: -80px;
    padding-bottom: 60px;
}

.tag-hero {
    display: inline-block;
    background: rgba(212, 175, 55, 0.15);
    color: #d4af37;
    padding: 10px 30px;
    border-radius: 50px;
    font-size: 1rem;
    font-weight: 800;
    letter-spacing: 3px;
    margin-bottom: 100px;
    border: 1px solid rgba(212, 175, 55, 0.5);
    text-transform: uppercase;
    box-shadow: 0 0 20px rgba(212, 175, 55, 0.1);
}

header h1 {
    font-size: 5.5rem;
    margin-bottom: 25px;
    line-height: 1.1;
    text-transform: uppercase;
    letter-spacing: -2px;
    color: #fff;
    text-shadow: 0 0 50px rgba(212, 175, 55, 0.3);
}

.subtitle {
    color: #e0e0e0;
    font-weight: 300;
    font-size: 1.8rem;
    margin-bottom: 50px;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.8);
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
}

header p {
    font-size: 1.2rem;
    margin-bottom: 45px;
    color: #b3b3b3;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

.hero-buttons {
    display: flex;
    gap: 25px;
    justify-content: center;
    flex-wrap: wrap;
}

/* 5. SEÇÕES (SPLIT, BENEFÍCIOS, ETC) */
.split-section {
    padding: 100px 0;
    background-color: var(--bg-color);
    overflow: hidden;
}

.split-container {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 60px;
    width: 100%;
}

.split-container.reverse {
    flex-direction: row-reverse;
}

.split-text {
    flex: 1;
    min-width: 300px;
}

.split-text h2 {
    font-size: 2.8rem;
    margin-bottom: 20px;
    line-height: 1.2;
    color: var(--text-main);
}

.split-text h2 span {
    color: var(--primary-blue);
}

.split-text p {
    font-size: 1.1rem;
    color: var(--text-light);
    margin-bottom: 30px;
}

.split-image {
    flex: 1.2;
    display: flex;
    justify-content: center;
}

.split-image img {
    width: 100%;
    transition: transform 0.3s ease;
}

.split-image img:hover {
    transform: scale(1.02);
}

.parental-section {
    position: relative;
    background-color: #080808;
    padding: 100px 0;
    display: flex;
    align-items: center;
    justify-content: center;
}

.parental-text {
    flex: 1;
    min-width: 300px;
}

.parental-text h2 {
    font-size: 3rem;
    color: white;
    margin-bottom: 15px;
}

.parental-text p {
    font-size: 1.3rem;
    color: #ddd;
}

.benefits {
    padding: 100px 0;
    background-color: var(--bg-color);
}

.section-title {
    text-align: center;
    margin-bottom: 60px;
}

.section-title h2 {
    font-size: 2.5rem;
    color: var(--text-main);
    margin-bottom: 15px;
}

.section-title h2 span {
    color: var(--primary-blue);
}

.section-title p {
    color: var(--text-light);
}

.benefits-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 30px;
}

.card-benefit {
    background: var(--card-bg);
    padding: 50px 30px;
    border-radius: 20px;
    box-shadow: var(--shadow);
    text-align: center;
    transition: transform 0.3s ease;
    border: 1px solid var(--border-color);
}

.card-benefit:hover {
    transform: translateY(-10px);
    border-color: var(--primary-blue);
}

.icon-box {
    width: 80px;
    height: 80px;
    background-color: rgba(212, 175, 55, 0.1);
    color: var(--primary-blue);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 25px;
    font-size: 2rem;
    box-shadow: 0 0 20px rgba(212, 175, 55, 0.1);
}

.card-benefit h3 {
    margin-bottom: 15px;
    color: var(--text-main);
}

.card-benefit p {
    color: var(--text-light);
    font-size: 0.95rem;
}

/* 6. PLANOS */
.pricing {
    background-color: #000000;
    padding: 120px 0;
    position: relative;
}

.pricing-grid {
    display: flex;
    justify-content: center;
    align-items: stretch;
    gap: 25px;
    flex-wrap: wrap;
}

.card-plan {
    background: var(--card-bg);
    border: 1px solid var(--border-color);
    border-radius: 16px;
    width: 320px;
    display: flex;
    flex-direction: column;
    position: relative;
    transition: transform 0.3s ease;
    overflow: hidden;
}

.card-header {
    background-color: rgba(255, 255, 255, 0.03);
    padding: 30px 20px 10px;
    text-align: center;
    border-bottom: 1px solid var(--border-color);
}

.card-header h3 {
    font-size: 1.4rem;
    color: var(--text-main);
    letter-spacing: 1px;
    margin-bottom: 5px;
    text-transform: uppercase;
}

.card-header p {
    font-size: 0.8rem;
    color: var(--text-light);
}

.card-price {
    padding: 30px 20px;
    text-align: center;
    color: var(--text-main);
    border-bottom: 1px solid var(--border-color);
}

.card-price .currency {
    font-size: 1.2rem;
    vertical-align: top;
    top: 5px;
    position: relative;
    color: var(--text-light);
}

.card-price .value {
    font-size: 3.8rem;
    font-weight: 700;
    line-height: 1;
}

.card-price .cents {
    font-size: 1.2rem;
    font-weight: 700;
    color: var(--text-light);
}

.card-price .period {
    display: block;
    font-size: 0.9rem;
    color: var(--text-light);
    margin-top: 5px;
    font-weight: normal;
}

.card-body {
    padding: 30px 20px;
    flex-grow: 1;
}

.card-body ul li {
    margin-bottom: 15px;
    color: #ccc;
    font-size: 0.95rem;
    display: flex;
    align-items: center;
}

.card-body ul li i {
    color: var(--primary-blue);
    margin-right: 12px;
    font-size: 1rem;
    min-width: 20px;
    text-align: center;
}

.card-body ul li.unavailable {
    opacity: 0.4;
    text-decoration: line-through;
}

.card-footer {
    padding: 0 25px 40px;
    text-align: center;
}

.card-footer .btn {
    width: 100%;
    padding: 14px;
    font-size: 1rem;
    border-radius: 8px;
}

.card-plan.featured {
    background: #151515;
    border: 2px solid var(--primary-blue);
    transform: scale(1.05);
    z-index: 2;
    box-shadow: 0 0 40px rgba(212, 175, 55, 0.2);
}

.card-plan.featured .card-header {
    background-color: var(--primary-blue);
}

.card-plan.featured .card-header h3,
.card-plan.featured .card-header p {
    color: #000;
}

.card-plan.featured .card-price .value {
    color: var(--primary-blue);
}

.badge-top {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    background-color: var(--primary-blue);
    color: #000;
    text-align: center;
    font-size: 0.7rem;
    font-weight: 800;
    padding: 4px;
    text-transform: uppercase;
    letter-spacing: 1px;
    z-index: 10;
}

.highlight-item {
    color: var(--primary-blue) !important;
    font-weight: bold;
    background: rgba(212, 175, 55, 0.1);
    padding: 5px;
    border-radius: 4px;
}

/* 7. CTA E FOOTER */
.cta-section {
    padding: 100px 0;
    text-align: center;
    background: linear-gradient(to top, #050505, #121212);
}

.cta-section h2 {
    color: var(--text-main);
    margin-bottom: 15px;
}

footer {
    background-color: #000000;
    color: var(--text-light);
    padding: 80px 0 20px;
    border-top: 1px solid var(--border-color);
    font-size: 0.9rem;
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 40px;
    margin-bottom: 60px;
}

.footer-col h3 {
    color: var(--text-main);
    font-size: 1.5rem;
    margin-bottom: 20px;
    display: inline-block;
}

.footer-col h3 span {
    color: var(--primary-blue);
}

.footer-col h4 {
    color: var(--text-main);
    font-size: 1.1rem;
    margin-bottom: 20px;
    position: relative;
    padding-bottom: 10px;
}

.footer-col h4::after {
    content: '';
    position: absolute;
    left: 0;
    bottom: 0;
    width: 30px;
    height: 2px;
    background-color: var(--primary-blue);
}

.footer-links li {
    margin-bottom: 12px;
}

.footer-links a {
    color: var(--text-light);
    transition: 0.3s;
}

.footer-links a:hover {
    color: var(--primary-blue);
    padding-left: 5px;
}

.social-links {
    display: flex;
    gap: 15px;
    margin-top: 20px;
}

.social-icon {
    width: 40px;
    height: 40px;
    background: var(--card-bg);
    border: 1px solid var(--border-color);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--text-main);
    transition: 0.3s;
}

.social-icon:hover {
    background: var(--primary-blue);
    color: #000;
    transform: translateY(-3px);
    border-color: var(--primary-blue);
}

.payment-icons {
    display: flex;
    gap: 10px;
    margin-top: 15px;
    flex-wrap: wrap;
}

.payment-icons i {
    font-size: 2rem;
    color: #ccc;
    opacity: 0.7;
    transition: 0.3s;
}

.payment-icons i:hover {
    opacity: 1;
    color: var(--text-main);
}

.footer-bottom {
    text-align: center;
    padding-top: 30px;
    border-top: 1px solid rgba(255, 255, 255, 0.05);
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 20px;
}

.whatsapp-float {
    position: fixed;
    bottom: 30px;
    right: 30px;
    background-color: #25d366;
    color: #000000;
    width: 60px;
    height: 60px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 32px;
    box-shadow: 0 0 20px rgba(55, 212, 55, 0.4);
    z-index: 2000;
    transition: transform 0.3s;
}

.whatsapp-float:hover {
    transform: scale(1.1);
}


/* =========================================
   8. RESPONSIVIDADE E MENU DROPDOWN (MOBILE)
   ========================================= */

@media (max-width: 900px) {

    .nav-content {
        justify-content: space-between;
        padding: 0 15px;
        position: relative;
    }

    .nav-logo-img {
        height: 70px;
    }

    /* Ajuste de altura da logo mobile */

    /* Ícone Hambúrguer (Visível no Mobile) */
    .mobile-menu-icon {
        display: block;
        font-size: 2rem;
        color: #fff;
        cursor: pointer;
        margin-left: auto;
    }

    header {
        top: 0 !important;
        left: 0 !important;
        width: 100%;
        background-position: center center !important; /* Garante foco no meio da imagem */
        padding-top: 120px; /* Espaço para o menu não tapar o texto */
    }
    
    .hero-text {
        margin-top: 0 !important;
        margin-left: 0 !important;
        text-align: center; /* Garante que fique no meio */
        padding: 0 20px 60px; /* Respiro nas laterais e embaixo */
    }

    /* Esconde botões desktop */
    .nav-cta,
    .desktop-only-btn {
        display: none;
    }

    /* MENU DROPDOWN (Estilo Lista) */
    .nav-links {
        display: none;
        /* Começa escondido */
        position: absolute;
        top: 100%;
        left: 0;
        width: 100%;
        background-color: #000000;
        border-top: 1px solid var(--primary-blue);
        box-shadow: 0 10px 20px rgba(0, 0, 0, 0.8);
        z-index: 1000;
    }

    /* Quando ativo */
    .nav-links.active {
        display: block;
        animation: slideDown 0.3s ease forwards;
    }

    .nav-links ul {
        display: flex;
        flex-direction: column;
        /* Lista Vertical */
        width: 100%;
        padding: 0;
        margin: 0;
    }

    /* Estilo dos Itens */
    .nav-links li {
        width: 100%;
        border-bottom: 1px solid #222;
        /* Garante que o item mobile apareça na lista */
        display: block !important;
    }

    /* Botão Assine (Item da lista) - Mostra no mobile */
    .mobile-only-item {
        display: block !important;
    }

    .nav-links a {
        display: block;
        padding: 10px 20px;
        /* Espaçamento menor para juntar mais */
        font-size: 1rem;
        color: #fff;
        text-align: left;
        font-weight: 500;
        transition: 0.2s;
    }

    .nav-links a:hover {
        background-color: var(--primary-blue);
        color: #000;
        padding-left: 25px;
        font-weight: 700;
    }

    .mobile-only-item .highlight-link {
        background-color: #e4bc09;
        color: black;
        text-align: center;
        font-weight: 800;
        letter-spacing: 1px;
    }

    .mobile-only-item .highlight-link:hover {
        background-color: var(--primary-blue);
        color: #000;
    }

    /* Ajustes Gerais */
    header h1 {
        font-size: 2.8rem; /* Um pouco menor para não quebrar */
        line-height: 1.1;
    }

    .hero-buttons {
        flex-direction: column;
        width: 100%;
        max-width: 350px;
    }

    .split-container,
    .split-container.reverse {
        flex-direction: column;
        text-align: center;
    }

    .pricing-grid {
        flex-direction: column;
        align-items: center;
    }

    .footer-bottom {
        flex-direction: column;
        text-align: center;
    }
    
    tag-hero {
        margin-bottom: 30px; /* Menos espaço que no PC */
        font-size: 0.85rem;
        padding: 8px 20px;
    }
}

@keyframes slideDown {
    from {
        opacity: 0;
        transform: translateY(-10px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}
