/*
Theme Name: IPTV Streamer Pro
Theme URI: https://manus.ai/
Author: Manus
Description: Um template WordPress leve, rápido e customizável para serviços de IPTV. Sem dependência de Elementor.
Version: 1.1.0
License: GNU General Public License v2 or later
Text Domain: iptv-streamer
*/

:root {
    --primary-color: #0654d7;
    --primary-hover: #b20710;
    --secondary-color: #141414;
    --dark-bg: #0b0b0b;
    --card-bg: #1f1f1f;
    --text-white: #ffffff;
    --text-gray: #b3b3b3;
    --font-main: 'Inter', sans-serif;
}

* { box-sizing: border-box; }

body {
    background-color: var(--secondary-color);
    color: var(--text-white);
    font-family: var(--font-main);
    margin: 0;
    padding: 0;
    line-height: 1.6;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

.text-center { text-align: center; }
.py-5 { padding-top: 50px; padding-bottom: 50px; }
.mt-5 { margin-top: 50px; }

/* Header */
.site-header {
    background: rgba(0,0,0,0.9);
    padding: 15px 0;
    position: sticky;
    top: 0;
    z-index: 1000;
    border-bottom: 1px solid #333;
}

.header-flex {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo a {
    color: var(--primary-color);
    font-size: 26px;
    font-weight: 800;
    text-decoration: none;
    letter-spacing: -1px;
}

.main-navigation ul {
    list-style: none;
    display: flex;
    gap: 25px;
    margin: 0;
    padding: 0;
}

.main-navigation a {
    color: var(--text-white);
    text-decoration: none;
    font-weight: 600;
    font-size: 14px;
    text-transform: uppercase;
    transition: 0.3s;
}

.main-navigation a:hover { color: var(--primary-color); }

/* Buttons */
.btn-primary {
    background: var(--primary-color);
    color: #fff;
    padding: 12px 25px;
    text-decoration: none;
    border-radius: 4px;
    font-weight: 700;
    display: inline-block;
    transition: 0.3s;
    border: none;
    cursor: pointer;
}

.btn-primary:hover { background: var(--primary-hover); transform: scale(1.05); }

.btn-secondary {
    background: transparent;
    color: #fff;
    padding: 12px 25px;
    text-decoration: none;
    border-radius: 4px;
    font-weight: 700;
    display: inline-block;
    border: 2px solid #fff;
    transition: 0.3s;
}

.btn-secondary:hover { background: #fff; color: #000; }

/* Hero */
.hero {
    padding: 150px 0;
    text-align: center;
    background: linear-gradient(rgba(0,0,0,0.8), rgba(0,0,0,0.8)), url('https://images.unsplash.com/photo-1593784991095-a205069470b6?auto=format&fit=crop&w=1920&q=80');
    background-size: cover;
    background-position: center;
}

.hero h1 { font-size: 3.5rem; margin-bottom: 20px; font-weight: 800; }
.hero p { font-size: 1.2rem; color: var(--text-gray); margin-bottom: 30px; max-width: 700px; margin-left: auto; margin-right: auto; }
.hero-btns { display: flex; justify-content: center; gap: 15px; }

/* Devices */
.devices { padding: 80px 0; background: var(--secondary-color); }
.devices-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 30px;
    margin-top: 40px;
}
.device-item {
    background: var(--card-bg);
    padding: 30px;
    border-radius: 10px;
    transition: 0.3s;
}
.device-item:hover { transform: translateY(-5px); background: #2a2a2a; }
.device-item .icon { font-size: 50px; margin-bottom: 15px; }

/* Pricing */
.pricing { background: var(--dark-bg); padding: 80px 0; }
.section-title { text-align: center; font-size: 2.5rem; margin-bottom: 50px; font-weight: 800; }

.pricing-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
}

.plan-card {
    background: var(--card-bg);
    padding: 40px;
    border-radius: 8px;
    text-align: center;
    position: relative;
    border: 1px solid #333;
}

.plan-card.featured { border: 2px solid var(--primary-color); transform: scale(1.05); z-index: 2; }
.plan-card.featured .badge {
    position: absolute;
    top: -15px;
    left: 50%;
    transform: translateX(-50%);
    background: var(--primary-color);
    padding: 5px 15px;
    border-radius: 20px;
    font-size: 12px;
    font-weight: bold;
}

.price { font-size: 3rem; font-weight: 800; margin: 15px 0; color: var(--text-white); }
.save-tag { color: #00ff00; font-weight: bold; margin-bottom: 20px; font-size: 14px; }
.plan-card ul { list-style: none; padding: 0; margin: 0 0 30px 0; color: var(--text-gray); }
.plan-card li { margin-bottom: 10px; border-bottom: 1px solid #333; padding-bottom: 10px; }
.plan-card li:last-child { border-bottom: none; }

/* Blog Home */
.home-blog { padding: 80px 0; background: var(--secondary-color); }
.post-grid-home {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 20px;
}

.post-card-mini {
    background: var(--card-bg);
    border-radius: 8px;
    overflow: hidden;
    transition: 0.3s;
}

.post-card-mini:hover { transform: scale(1.02); }
.post-card-mini .post-thumb img { width: 100%; height: 180px; object-fit: cover; }
.post-card-mini .post-content { padding: 15px; }
.post-card-mini h3 { font-size: 18px; margin-bottom: 10px; }
.post-card-mini h3 a { color: #fff; text-decoration: none; }
.post-card-mini p { font-size: 14px; color: var(--text-gray); }

/* Footer */
.site-footer { background: #000; padding: 60px 0 20px; border-top: 1px solid #333; }
.footer-grid { display: grid; grid-template-columns: 2fr 1fr; gap: 50px; margin-bottom: 40px; }
.footer-bottom { text-align: center; border-top: 1px solid #222; padding-top: 20px; color: var(--text-gray); font-size: 14px; }

/* Floating WhatsApp */
.whatsapp-float {
    position: fixed;
    bottom: 30px;
    right: 30px;
    z-index: 1000;
    transition: 0.3s;
}
.whatsapp-float:hover { transform: scale(1.1); }

/* Responsive */
@media (max-width: 768px) {
    .hero h1 { font-size: 2.5rem; }
    .hero-btns { flex-direction: column; }
    .header-flex { flex-direction: column; gap: 15px; }
    .main-navigation ul { gap: 15px; flex-wrap: wrap; justify-content: center; }
    .footer-grid { grid-template-columns: 1fr; }
    .plan-card.featured { transform: none; }
}

/* Estilos para Páginas Internas */
.internal-page { min-height: 60vh; }
.page-header { 
    background: linear-gradient(rgba(0,0,0,0.8), rgba(0,0,0,0.8)), url('https://images.unsplash.com/photo-1574375927938-d5a98e8ffe85?auto=format&fit=crop&w=1350&q=80');
    background-size: cover;
    background-position: center;
    padding: 80px 0;
    text-align: center;
    border-bottom: 2px solid var(--primary-color);
}
.page-header h1 { font-size: 3rem; margin-bottom: 10px; font-weight: 800; }
.page-header p { font-size: 1.2rem; color: var(--text-gray); }

.content-box {
    background: var(--card-bg);
    padding: 50px;
    border-radius: 10px;
    border: 1px solid #333;
    max-width: 900px;
    margin: 0 auto;
}

.feature-list {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 20px;
    margin-top: 40px;
}
.feature-card {
    background: #2a2a2a;
    padding: 25px;
    border-radius: 8px;
    text-align: center;
}
.feature-card .icon { font-size: 40px; display: block; margin-bottom: 15px; }

.streaming-logos {
    display: flex;
    flex-wrap: wrap;
    gap: 15px;
    justify-content: center;
    margin-top: 30px;
}
.logo-item {
    background: #333;
    padding: 10px 20px;
    border-radius: 5px;
    font-weight: bold;
    font-size: 14px;
    color: var(--primary-color);
    border: 1px solid #444;
}

.support-card {
    background: #1a1a1a;
    padding: 40px;
    border-radius: 10px;
    border: 2px dashed #333;
}

.feature-info ul {
    list-style: none;
    padding: 0;
}
.feature-info li::before {
    content: "✓";
    color: var(--primary-color);
    font-weight: bold;
    margin-right: 10px;
}
.feature-info li {
    margin-bottom: 15px;
    font-size: 1.1rem;
}

/* Advantages Section */
.advantages { padding: 80px 0; background: var(--dark-bg); }
.advantages-wrapper { max-width: 1000px; margin: 0 auto; }
.advantages-grid-list { 
    display: grid; 
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); 
    gap: 40px; 
    margin-top: 50px; 
}
.adv-item { display: flex; gap: 20px; align-items: flex-start; }
.adv-icon { 
    font-size: 35px; 
    background: rgba(229, 9, 20, 0.1); 
    padding: 15px; 
    border-radius: 50%; 
    line-height: 1;
    border: 1px solid var(--primary-color);
}
.adv-text h3 { margin: 0 0 10px 0; font-size: 20px; color: var(--primary-color); }
.adv-text p { margin: 0; color: var(--text-gray); font-size: 15px; }
