/* ==========================================
   IPTV 3 TELAS SHOP - CSS 2025
   Otimizado para Performance e SEO
   ========================================== */

/* RESET E IMPORTS */
@import url('https://fonts.googleapis.com/css2?family=Poppins:wght@400;600;700;800;900&display=swap');

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    -webkit-tap-highlight-color: transparent;
}

/* VARIÁVEIS CSS */
:root {
    --primary: #E31837;
    --secondary: #000000;
    --accent: #FFD700;
    --success: #00D68F;
    --dark: #0a0a0a;
    --gray: #1a1a1a;
    --light-gray: #2a2a2a;
    --text: #ffffff;
    --text-gray: #b0b0b0;
    --shadow: rgba(0, 0, 0, 0.3);
    --shadow-light: rgba(0, 0, 0, 0.1);
    --gradient-primary: linear-gradient(135deg, var(--primary) 0%, #ff4757 100%);
    --gradient-dark: linear-gradient(135deg, var(--secondary) 0%, var(--gray) 100%);
}

/* BODY E SCROLL */
html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Poppins', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    background: var(--dark);
    color: var(--text);
    overflow-x: hidden;
    line-height: 1.6;
    font-size: 16px;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

/* LOADING */
.loading {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: var(--dark);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    z-index: 9999;
    transition: opacity 0.5s ease;
}

.loading.hidden {
    opacity: 0;
    pointer-events: none;
}

.loader {
    width: 60px;
    height: 60px;
    border: 6px solid var(--gray);
    border-top: 6px solid var(--primary);
    border-radius: 50%;
    animation: spin 1s linear infinite;
    margin-bottom: 20px;
}

.loading p {
    color: var(--text-gray);
    font-size: 14px;
    margin-top: 10px;
}

@keyframes spin {
    to { transform: rotate(360deg); }
}

/* HEADER */
header {
    background: var(--gradient-dark);
    padding: 12px 20px;
    position: fixed;
    width: 100%;
    top: 0;
    z-index: 1000;
    box-shadow: 0 2px 20px rgba(227, 24, 55, 0.3);
    backdrop-filter: blur(10px);
}

nav {
    display: flex;
    justify-content: space-between;
    align-items: center;
    max-width: 1400px;
    margin: 0 auto;
}

.logo {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 20px;
    font-weight: 800;
    color: var(--primary);
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.logo img {
    border-radius: 50%;
    object-fit: cover;
}

.logo strong {
    color: var(--accent);
}

.cta-header {
    background: var(--primary);
    color: white;
    padding: 10px 24px;
    border-radius: 30px;
    text-decoration: none;
    font-weight: 700;
    font-size: 13px;
    box-shadow: 0 4px 15px rgba(227, 24, 55, 0.4);
    transition: all 0.3s ease;
}

.cta-header:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(227, 24, 55, 0.6);
}

/* BARRA DE URGÊNCIA */
.urgencia-bar {
    background: var(--gradient-primary);
    padding: 12px 20px;
    text-align: center;
    font-weight: 600;
    font-size: 13px;
    margin-top: 60px;
    animation: pulse-bar 3s infinite;
}

.urgencia-bar #vagas {
    font-size: 16px;
    font-weight: 800;
    color: var(--accent);
}

@keyframes pulse-bar {
    0%, 100% { opacity: 1; }
    50% { opacity: 0.95; }
}

/* HERO SECTION */
.hero {
    padding: 50px 20px 40px;
    background: var(--gradient-dark);
    text-align: center;
    position: relative;
}

.hero-badge {
    display: inline-block;
    background: var(--accent);
    color: var(--dark);
    padding: 8px 20px;
    border-radius: 30px;
    font-weight: 800;
    font-size: 12px;
    margin-bottom: 20px;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.hero h1 {
    font-size: 32px;
    font-weight: 900;
    line-height: 1.2;
    margin-bottom: 15px;
    background: var(--gradient-primary);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.hero-highlight {
    display: block;
    font-size: 18px;
    color: var(--text);
    font-weight: 600;
    margin-top: 10px;
}

.hero h2 {
    font-size: 15px;
    color: var(--text-gray);
    margin-bottom: 30px;
    font-weight: 500;
    line-height: 1.5;
}

.hero-price {
    display: flex;
    align-items: baseline;
    justify-content: center;
    gap: 5px;
    margin: 25px 0;
}

.price-label {
    font-size: 14px;
    color: var(--text-gray);
}

.price-value {
    font-size: 56px;
    font-weight: 900;
    color: var(--primary);
}

.price-period {
    font-size: 18px;
    color: var(--text-gray);
}

.hero-features {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 12px;
    margin: 30px 0;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

.feature-item {
    background: rgba(255, 255, 255, 0.05);
    padding: 15px 10px;
    border-radius: 12px;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
    border: 1px solid rgba(255, 255, 255, 0.1);
    transition: all 0.3s ease;
}

.feature-item:hover {
    background: rgba(227, 24, 55, 0.1);
    border-color: var(--primary);
    transform: translateY(-3px);
}

.feature-icon {
    font-size: 28px;
}

.feature-text {
    font-size: 12px;
    font-weight: 600;
    text-align: center;
}

.hero-image {
    margin: 40px 0 30px;
    position: relative;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

.hero-image img {
    width: 100%;
    border-radius: 20px;
    box-shadow: 0 15px 50px var(--shadow);
}

.hero-stamp {
    position: absolute;
    top: 15px;
    right: 15px;
    background: var(--accent);
    color: var(--dark);
    padding: 10px 20px;
    border-radius: 30px;
    font-weight: 800;
    font-size: 13px;
    text-transform: uppercase;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3);
}

.hero-cta {
    display: flex;
    flex-direction: column;
    gap: 15px;
    margin: 35px 0;
    max-width: 450px;
    margin-left: auto;
    margin-right: auto;
}

.btn-primary {
    background: var(--gradient-primary);
    color: white;
    padding: 18px 35px;
    border-radius: 50px;
    text-decoration: none;
    font-weight: 800;
    font-size: 16px;
    box-shadow: 0 8px 30px rgba(227, 24, 55, 0.4);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    transition: all 0.3s ease;
    border: none;
    cursor: pointer;
}

.btn-primary:hover {
    transform: translateY(-3px);
    box-shadow: 0 12px 40px rgba(227, 24, 55, 0.6);
}

.btn-pulse {
    animation: pulse-btn 2s infinite;
}

@keyframes pulse-btn {
    0%, 100% { transform: scale(1); }
    50% { transform: scale(1.03); }
}

.btn-secondary {
    background: transparent;
    color: white;
    padding: 18px 35px;
    border: 2px solid var(--primary);
    border-radius: 50px;
    text-decoration: none;
    font-weight: 700;
    font-size: 16px;
    transition: all 0.3s ease;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
}

.btn-secondary:hover {
    background: var(--primary);
    transform: translateY(-2px);
}

.hero-trust {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
    margin-top: 40px;
    padding-top: 30px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.trust-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 5px;
}

.trust-number {
    font-size: 28px;
    font-weight: 900;
    color: var(--primary);
}

.trust-label {
    font-size: 11px;
    color: var(--text-gray);
    text-align: center;
}

/* SEÇÕES GERAIS */
section {
    padding: 60px 20px;
}

.section-title {
    font-size: 28px;
    font-weight: 900;
    margin-bottom: 12px;
    text-align: center;
    background: var(--gradient-primary);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.section-subtitle {
    text-align: center;
    font-size: 15px;
    color: var(--text-gray);
    margin-bottom: 40px;
}

/* EVENTOS 2025/2026 */
.eventos-2025 {
    background: var(--dark);
}

.eventos-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 15px;
    max-width: 1200px;
    margin: 0 auto;
}

.evento-card {
    background: var(--gray);
    padding: 25px 20px;
    border-radius: 15px;
    text-align: center;
    border: 2px solid transparent;
    transition: all 0.3s ease;
}

.evento-card:hover {
    border-color: var(--primary);
    transform: translateY(-5px);
    box-shadow: 0 10px 30px var(--shadow);
}

.evento-card.destaque {
    background: var(--gradient-primary);
    border-color: var(--accent);
}

.evento-icon {
    font-size: 48px;
    margin-bottom: 15px;
}

.evento-card h3 {
    font-size: 20px;
    font-weight: 800;
    margin-bottom: 10px;
}

.evento-card p {
    color: var(--text-gray);
    font-size: 14px;
    line-height: 1.6;
}

.evento-card.destaque p {
    color: rgba(255, 255, 255, 0.9);
}

/* BENEFÍCIOS */
.beneficios {
    background: var(--gray);
}

.beneficios-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 15px;
    max-width: 1200px;
    margin: 0 auto;
}

.beneficio-card {
    background: var(--light-gray);
    padding: 30px 25px;
    border-radius: 15px;
    text-align: center;
    border: 2px solid transparent;
    transition: all 0.3s ease;
}

.beneficio-card:hover {
    border-color: var(--primary);
    transform: translateY(-5px);
    box-shadow: 0 10px 30px var(--shadow);
}

.beneficio-icon {
    font-size: 50px;
    margin-bottom: 15px;
}

.beneficio-card h3 {
    font-size: 20px;
    font-weight: 800;
    margin-bottom: 12px;
}

.beneficio-card p {
    color: var(--text-gray);
    font-size: 14px;
    line-height: 1.7;
}

/* PLANOS */
.planos {
    background: var(--dark);
}

.planos-container {
    display: grid;
    grid-template-columns: 1fr;
    gap: 25px;
    max-width: 1200px;
    margin: 0 auto;
}

.plano-card {
    background: var(--light-gray);
    border-radius: 20px;
    padding: 30px 25px;
    border: 3px solid transparent;
    position: relative;
    transition: all 0.3s ease;
}

.plano-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 40px var(--shadow);
}

.plano-popular {
    border-color: var(--accent);
    box-shadow: 0 10px 40px rgba(255, 215, 0, 0.3);
}

.plano-destaque {
    border-color: var(--primary);
    background: linear-gradient(135deg, var(--light-gray) 0%, var(--gray) 100%);
}

.plano-badge {
    position: absolute;
    top: -15px;
    left: 50%;
    transform: translateX(-50%);
    background: var(--gray);
    color: var(--text-gray);
    padding: 8px 25px;
    border-radius: 30px;
    font-weight: 700;
    font-size: 11px;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.plano-badge-popular {
    background: var(--accent);
    color: var(--dark);
}

.plano-badge-vip {
    background: var(--gradient-primary);
    color: white;
}

.plano-header {
    text-align: center;
    margin-bottom: 25px;
}

.plano-nome {
    font-size: 22px;
    font-weight: 800;
    margin-bottom: 15px;
}

.plano-preco {
    display: flex;
    align-items: baseline;
    justify-content: center;
    gap: 3px;
    margin: 15px 0;
}

.preco-cifrao {
    font-size: 24px;
    font-weight: 700;
    color: var(--primary);
}

.preco-valor {
    font-size: 52px;
    font-weight: 900;
    color: var(--primary);
}

.preco-periodo {
    font-size: 16px;
    color: var(--text-gray);
}

.plano-economia {
    font-size: 14px;
    color: var(--success);
    font-weight: 700;
    margin: 10px 0;
}

.plano-desc {
    font-size: 13px;
    color: var(--text-gray);
    font-style: italic;
}

.plano-features {
    list-style: none;
    margin: 25px 0;
    text-align: left;
}

.plano-features li {
    padding: 12px 0;
    display: flex;
    align-items: flex-start;
    gap: 12px;
    font-size: 14px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
    position: relative;
    padding-left: 25px;
}

.plano-features li:last-child {
    border-bottom: none;
}

.plano-features li::before {
    content: '✓';
    position: absolute;
    left: 0;
    color: var(--success);
    font-weight: bold;
    font-size: 18px;
}

.plano-btn {
    width: 100%;
    background: var(--gradient-primary);
    color: white;
    padding: 18px 30px;
    border: none;
    border-radius: 50px;
    font-weight: 800;
    font-size: 15px;
    cursor: pointer;
    box-shadow: 0 6px 25px rgba(227, 24, 55, 0.4);
    transition: all 0.3s ease;
    margin-top: 10px;
}

.plano-btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 10px 35px rgba(227, 24, 55, 0.6);
}

.plano-btn-popular {
    background: linear-gradient(135deg, var(--accent) 0%, #ffed4e 100%);
    color: var(--dark);
}

.plano-btn-vip {
    background: var(--gradient-primary);
}

.planos-garantia {
    text-align: center;
    margin-top: 40px;
    padding-top: 30px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.planos-garantia p {
    font-size: 14px;
    color: var(--text-gray);
    margin: 8px 0;
}

/* CTA FINAL */
.cta-final {
    background: var(--gradient-primary);
    text-align: center;
}

.cta-content h2 {
    font-size: 32px;
    font-weight: 900;
    margin-bottom: 15px;
    color: white;
}

.cta-content p {
    font-size: 16px;
    margin-bottom: 30px;
    opacity: 0.95;
}

.cta-benefits {
    display: flex;
    justify-content: center;
    gap: 20px;
    margin: 25px 0;
    flex-wrap: wrap;
}

.cta-benefit {
    font-size: 14px;
    font-weight: 600;
    opacity: 0.9;
}

.cta-buttons {
    display: flex;
    flex-direction: column;
    gap: 15px;
    max-width: 450px;
    margin: 30px auto;
}

.cta-final .btn-primary {
    background: white;
    color: var(--primary);
}

.cta-final .btn-secondary {
    border-color: white;
    color: white;
}

.cta-final .btn-secondary:hover {
    background: white;
    color: var(--primary);
}

.cta-garantia {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    margin-top: 30px;
    padding: 15px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 15px;
}

.garantia-icon {
    font-size: 24px;
}

.garantia-text {
    font-size: 13px;
}

/* FOOTER */
footer {
    background: var(--secondary);
    padding: 50px 20px 25px;
}

.footer-content {
    display: grid;
    grid-template-columns: 1fr;
    gap: 30px;
    max-width: 1200px;
    margin: 0 auto 30px;
}

.footer-col h3 {
    font-size: 18px;
    margin-bottom: 15px;
    color: var(--primary);
}

.footer-col p {
    color: var(--text-gray);
    font-size: 14px;
    line-height: 1.7;
    margin-bottom: 15px;
}

.footer-col ul {
    list-style: none;
}

.footer-col ul li {
    margin-bottom: 10px;
}

.footer-col a {
    color: var(--text-gray);
    text-decoration: none;
    font-size: 14px;
    transition: color 0.3s ease;
}

.footer-col a:hover {
    color: var(--primary);
}

.footer-bottom {
    text-align: center;
    padding-top: 25px;
    border-top: 1px solid var(--gray);
}

.footer-bottom p {
    color: var(--text-gray);
    font-size: 13px;
    margin: 5px 0;
}

.footer-seo {
    font-size: 11px;
    opacity: 0.7;
    margin-top: 10px;
}

/* WHATSAPP FLUTUANTE */
.whatsapp-float {
    position: fixed;
    bottom: 25px;
    right: 25px;
    width: 65px;
    height: 65px;
    background: #25D366;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    box-shadow: 0 6px 25px rgba(37, 211, 102, 0.5);
    z-index: 999;
    text-decoration: none;
    animation: pulse-whats 2s infinite;
    transition: all 0.3s ease;
}

.whatsapp-float:hover {
    transform: scale(1.1);
    box-shadow: 0 8px 35px rgba(37, 211, 102, 0.7);
}

@keyframes pulse-whats {
    0%, 100% { transform: scale(1); }
    50% { transform: scale(1.05); }
}

/* RESPONSIVO TABLET */
@media (min-width: 768px) {
    .hero h1 {
        font-size: 42px;
    }
    
    .hero-highlight {
        font-size: 22px;
    }
    
    .hero h2 {
        font-size: 18px;
    }
    
    .hero-features {
        grid-template-columns: repeat(4, 1fr);
    }
    
    .hero-cta {
        flex-direction: row;
        justify-content: center;
    }
    
    .section-title {
        font-size: 36px;
    }
    
    .eventos-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .beneficios-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .planos-container {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .footer-content {
        grid-template-columns: repeat(2, 1fr);
    }
}

/* RESPONSIVO DESKTOP */
@media (min-width: 1024px) {
    .hero h1 {
        font-size: 52px;
    }
    
    .hero-highlight {
        font-size: 26px;
    }
    
    .section-title {
        font-size: 42px;
    }
    
    .eventos-grid {
        grid-template-columns: repeat(3, 1fr);
    }
    
    .beneficios-grid {
        grid-template-columns: repeat(3, 1fr);
    }
    
    .planos-container {
        grid-template-columns: repeat(4, 1fr);
    }
    
    .footer-content {
        grid-template-columns: repeat(4, 1fr);
    }
}

/* OTIMIZAÇÕES DE PERFORMANCE */
img {
    max-width: 100%;
    height: auto;
    display: block;
}

a {
    -webkit-tap-highlight-color: transparent;
}

button {
    font-family: inherit;
}

/* ACESSIBILIDADE */
:focus-visible {
    outline: 2px solid var(--primary);
    outline-offset: 2px;
}

/* PRINT */
@media print {
    header, .whatsapp-float, .urgencia-bar {
        display: none;
    }
}