﻿/* ================================
   REVENDA IPTV - ESTILOS PRINCIPAIS
   Design Corporativo Moderno
   ================================ */

/* Reset e Variáveis */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    --primary: #121417;
    --secondary: #0aa66a;
    --accent: #25D366;
    --text: #23272f;
    --text-light: #5e6673;
    --background: #ffffff;
    --bg-light: #f4f7f6;
    --border: #dde5e2;
    --shadow: 0 10px 30px rgba(18, 20, 23, 0.08);
    --shadow-lg: 0 18px 45px rgba(18, 20, 23, 0.14);
    --radius: 8px;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    color: var(--text);
    background-color: #fbfcfc;
    line-height: 1.6;
}

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

/* ================================
   HEADER E NAVEGAÇÃO
   ================================ */

header {
    background-color: rgba(255, 255, 255, 0.94);
    backdrop-filter: blur(12px);
    border-bottom: 1px solid rgba(221, 229, 226, 0.9);
    box-shadow: 0 8px 24px rgba(18, 20, 23, 0.06);
    position: sticky;
    top: 0;
    z-index: 100;
}

.navbar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1rem 0;
}

.logo {
    font-size: 1.55rem;
    font-weight: 800;
    color: var(--primary);
    text-decoration: none;
    letter-spacing: 0;
}

.logo span {
    background: var(--primary) !important;
    color: var(--accent) !important;
    padding: 0.35rem 0.65rem;
    border-radius: 6px;
    display: inline-block;
    line-height: 1;
}

.nav-menu {
    display: flex;
    list-style: none;
    gap: 0.5rem;
    align-items: center;
}

.nav-menu a {
    text-decoration: none;
    color: var(--text);
    font-weight: 650;
    transition: color 0.3s ease, background-color 0.3s ease;
    position: relative;
    padding: 0.5rem 0.75rem;
    border-radius: 6px;
}

.nav-menu a:hover {
    color: var(--secondary);
    background-color: rgba(10, 166, 106, 0.08);
}

.nav-menu a::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 0;
    height: 2px;
    background-color: var(--secondary);
    transition: width 0.3s ease;
}

.nav-menu a:hover::after {
    width: 100%;
}

.menu-toggle {
    display: none;
    background: none;
    border: none;
    font-size: 1.5rem;
    cursor: pointer;
    color: var(--primary);
}

/* ================================
   BOTÕES
   ================================ */

.btn {
    display: inline-block;
    padding: 0.85rem 1.45rem;
    border-radius: var(--radius);
    text-decoration: none;
    font-weight: 600;
    transition: all 0.3s ease;
    border: none;
    cursor: pointer;
    text-align: center;
    font-size: 1rem;
}

.btn-primary {
    background-color: var(--accent);
    color: #07120c;
    box-shadow: 0 12px 26px rgba(37, 211, 102, 0.25);
}

.btn-primary:hover {
    background-color: #1ec45f;
    transform: translateY(-2px);
    box-shadow: var(--shadow-lg);
}

.btn-secondary {
    background-color: rgba(255, 255, 255, 0.12);
    color: var(--background);
    border: 1px solid rgba(255, 255, 255, 0.28);
}

.btn-secondary:hover {
    background-color: rgba(255, 255, 255, 0.2);
    transform: translateY(-2px);
    box-shadow: var(--shadow-lg);
}

.btn-accent {
    background-color: var(--accent);
    color: var(--primary);
}

.btn-accent:hover {
    background-color: #1db954;
    transform: translateY(-2px);
    box-shadow: var(--shadow-lg);
}

.btn-large {
    padding: 1rem 2rem;
    font-size: 1.1rem;
}

.btn-block {
    width: 100%;
    display: block;
}

.btn-cta {
    background-color: var(--accent);
    color: var(--primary);
    padding: 0.75rem 1.5rem;
    border-radius: var(--radius);
    text-decoration: none;
    font-weight: 600;
    transition: all 0.3s ease;
}

.btn-cta:hover {
    background-color: #1db954;
}

/* ================================
   HERO SECTION
   ================================ */

.hero {
    background:
        linear-gradient(135deg, rgba(18, 20, 23, 0.94) 0%, rgba(18, 20, 23, 0.86) 52%, rgba(10, 166, 106, 0.82) 100%),
        repeating-linear-gradient(45deg, rgba(255, 255, 255, 0.06) 0 1px, transparent 1px 22px);
    color: var(--background);
    padding: 96px 0 84px;
    text-align: center;
    overflow: hidden;
}

.hero .container {
    max-width: 1040px;
}

.hero h1 {
    font-size: 3.25rem;
    margin-bottom: 1rem;
    line-height: 1.2;
    max-width: 900px;
    margin-left: auto;
    margin-right: auto;
}

.hero p {
    font-size: 1.18rem;
    margin-bottom: 2rem;
    opacity: 0.95;
    max-width: 760px;
    margin-left: auto;
    margin-right: auto;
}

.hero-buttons {
    display: flex;
    gap: 1rem;
    justify-content: center;
    flex-wrap: wrap;
    margin-top: 2rem;
}

.hero-stats {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
    gap: 1rem;
    margin-top: 4rem;
}

.stat {
    text-align: center;
    padding: 1.15rem;
    border: 1px solid rgba(255, 255, 255, 0.18);
    border-radius: var(--radius);
    background: rgba(255, 255, 255, 0.09);
}

.stat strong {
    font-size: 2rem;
    display: block;
    margin-bottom: 0.5rem;
}

.stat span {
    font-size: 0.9rem;
    opacity: 0.9;
}

/* ================================
   SEÇÕES
   ================================ */

section {
    padding: 76px 0;
}

section:nth-child(even) {
    background-color: var(--bg-light);
}

.section-title {
    font-size: 2.25rem;
    color: var(--primary);
    margin-bottom: 1rem;
    text-align: center;
    line-height: 1.18;
}

.section-subtitle {
    font-size: 1.1rem;
    color: var(--text-light);
    text-align: center;
    margin-bottom: 3rem;
}

.breadcrumb {
    font-size: 0.95rem;
    margin-bottom: 1.5rem;
    opacity: 0.9;
}

.breadcrumb a {
    color: inherit;
}

.content-narrow {
    max-width: 860px;
    margin: 0 auto;
}

.content-narrow h2,
.content-narrow h3 {
    color: var(--primary);
    margin: 2rem 0 0.75rem;
}

.content-narrow p,
.content-narrow li {
    margin-bottom: 0.85rem;
}

.content-narrow ul,
.content-narrow ol {
    padding-left: 1.25rem;
}

.seo-links {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
    gap: 1rem;
    margin-top: 2rem;
}

.seo-link {
    display: block;
    padding: 1.25rem;
    border: 1px solid var(--border);
    border-radius: var(--radius);
    text-decoration: none;
    color: var(--text);
    background: var(--background);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.seo-link:hover {
    transform: translateY(-3px);
    box-shadow: var(--shadow);
}

.seo-link strong {
    display: block;
    color: var(--primary);
    margin-bottom: 0.35rem;
}

.seo-link span {
    color: var(--text-light);
    font-size: 0.95rem;
}

/* ================================
   CARDS
   ================================ */

.cards-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2rem;
    margin-top: 3rem;
}

.card {
    background-color: var(--background);
    padding: 1.65rem;
    border-radius: var(--radius);
    box-shadow: none;
    transition: all 0.3s ease;
    border: 1px solid var(--border);
    border-top: 4px solid var(--secondary);
}

.card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-lg);
}

.card h3 {
    color: var(--primary);
    margin-bottom: 1rem;
    font-size: 1.3rem;
}

.card p {
    color: var(--text-light);
    line-height: 1.8;
}

/* ================================
   PREÇOS
   ================================ */

.pricing-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
    margin: 3rem 0;
}

.pricing-card {
    background: var(--background);
    padding: 2rem;
    border-radius: var(--radius);
    text-align: center;
    border: 1px solid var(--border);
    box-shadow: var(--shadow);
    transition: all 0.3s ease;
}

.pricing-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-lg);
}

.pricing-card.featured {
    background: linear-gradient(135deg, var(--primary) 0%, var(--secondary) 100%);
    color: var(--background);
    border-color: var(--accent);
}

.pricing-card h3 {
    font-size: 1.3rem;
    margin-bottom: 1rem;
}

.pricing-card .price {
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--primary);
    margin: 1rem 0;
}

.pricing-card.featured .price {
    color: var(--accent);
}

.pricing-card .period {
    color: var(--text-light);
    font-size: 0.9rem;
}

.pricing-card.featured .period {
    color: rgba(255, 255, 255, 0.9);
}

.pricing-card .range {
    color: var(--text-light);
    font-size: 0.85rem;
    margin-top: 0.5rem;
}

.pricing-card.featured .range {
    color: rgba(255, 255, 255, 0.85);
}

/* ================================
   PASSOS
   ================================ */

.steps-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
    margin-top: 3rem;
}

.step {
    text-align: center;
    padding: 2rem;
    border-radius: var(--radius);
    background-color: var(--background);
    border: 1px solid var(--border);
    box-shadow: none;
    transition: all 0.3s ease;
}

.step:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-lg);
}

.step-number {
    width: 50px;
    height: 50px;
    background-color: var(--secondary);
    color: var(--background);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    font-weight: 700;
    margin: 0 auto 1rem;
}

.step h3 {
    color: var(--primary);
    margin-bottom: 1rem;
}

.step p {
    color: var(--text-light);
}

/* ================================
   CTA FINAL
   ================================ */

.cta-final {
    background: linear-gradient(135deg, var(--primary) 0%, #1f2a25 58%, #0a6f4b 100%);
    color: var(--background);
    text-align: center;
    padding: 60px 0;
}

.cta-final h2 {
    font-size: 2.5rem;
    margin-bottom: 1rem;
}

.cta-final p {
    font-size: 1.1rem;
    margin-bottom: 2rem;
    opacity: 0.95;
}

/* ================================
   FOOTER
   ================================ */

footer {
    background-color: #0d0f11;
    color: var(--background);
    padding: 40px 0 20px;
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
    margin-bottom: 2rem;
}

.footer-section h4 {
    margin-bottom: 1rem;
    font-size: 1.1rem;
}

.footer-section p {
    color: rgba(255, 255, 255, 0.8);
    line-height: 1.8;
}

.footer-section ul {
    list-style: none;
}

.footer-section ul li {
    margin-bottom: 0.5rem;
}

.footer-section a {
    color: rgba(255, 255, 255, 0.8);
    text-decoration: none;
    transition: color 0.3s ease;
}

.footer-section a:hover {
    color: var(--accent);
}

.footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.2);
    padding-top: 2rem;
    text-align: center;
    color: rgba(255, 255, 255, 0.6);
    font-size: 0.9rem;
}

/* ================================
   BOTÃO FLUTUANTE WHATSAPP
   ================================ */

.whatsapp-button {
    position: fixed;
    bottom: 20px;
    right: 20px;
    width: 60px;
    height: 60px;
    background-color: var(--accent);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: var(--shadow-lg);
    cursor: pointer;
    transition: all 0.3s ease;
    z-index: 999;
    text-decoration: none;
    color: transparent;
    font-size: 0;
}

.whatsapp-button::before {
    content: '';
    width: 34px;
    height: 34px;
    display: block;
    background-color: #07120c;
    mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 32 32'%3E%3Cpath d='M16.02 3.2A12.7 12.7 0 0 0 5.15 22.44L3.5 28.5l6.23-1.63A12.68 12.68 0 1 0 16.02 3.2Zm0 2.2a10.48 10.48 0 0 1 8.95 15.92 10.46 10.46 0 0 1-13.97 3.2l-.44-.26-3.7.97.98-3.6-.29-.46A10.5 10.5 0 0 1 16.02 5.4Zm-4.5 5.44c-.23 0-.6.08-.91.43-.32.35-1.2 1.18-1.2 2.88 0 1.7 1.23 3.34 1.4 3.56.17.23 2.38 3.82 5.9 5.2 2.92 1.15 3.52.92 4.15.86.64-.06 2.05-.84 2.34-1.65.29-.82.29-1.52.2-1.66-.08-.15-.32-.23-.66-.4-.35-.17-2.05-1.02-2.37-1.14-.32-.11-.55-.17-.78.17-.23.35-.9 1.14-1.1 1.37-.2.23-.4.26-.75.09-.35-.18-1.46-.54-2.78-1.72a10.4 10.4 0 0 1-1.92-2.39c-.2-.35-.02-.53.15-.7.16-.15.35-.4.52-.6.18-.2.23-.35.35-.58.11-.23.06-.43-.03-.6-.09-.18-.78-1.9-1.07-2.6-.28-.67-.57-.58-.78-.59h-.66Z'/%3E%3C/svg%3E") center / contain no-repeat;
    -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 32 32'%3E%3Cpath d='M16.02 3.2A12.7 12.7 0 0 0 5.15 22.44L3.5 28.5l6.23-1.63A12.68 12.68 0 1 0 16.02 3.2Zm0 2.2a10.48 10.48 0 0 1 8.95 15.92 10.46 10.46 0 0 1-13.97 3.2l-.44-.26-3.7.97.98-3.6-.29-.46A10.5 10.5 0 0 1 16.02 5.4Zm-4.5 5.44c-.23 0-.6.08-.91.43-.32.35-1.2 1.18-1.2 2.88 0 1.7 1.23 3.34 1.4 3.56.17.23 2.38 3.82 5.9 5.2 2.92 1.15 3.52.92 4.15.86.64-.06 2.05-.84 2.34-1.65.29-.82.29-1.52.2-1.66-.08-.15-.32-.23-.66-.4-.35-.17-2.05-1.02-2.37-1.14-.32-.11-.55-.17-.78.17-.23.35-.9 1.14-1.1 1.37-.2.23-.4.26-.75.09-.35-.18-1.46-.54-2.78-1.72a10.4 10.4 0 0 1-1.92-2.39c-.2-.35-.02-.53.15-.7.16-.15.35-.4.52-.6.18-.2.23-.35.35-.58.11-.23.06-.43-.03-.6-.09-.18-.78-1.9-1.07-2.6-.28-.67-.57-.58-.78-.59h-.66Z'/%3E%3C/svg%3E") center / contain no-repeat;
}

.whatsapp-button:hover {
    transform: scale(1.1);
    box-shadow: 0 12px 32px rgba(37, 211, 102, 0.4);
}

.whatsapp-button svg {
    width: 30px;
    height: 30px;
    fill: var(--primary);
}

/* ================================
   FAQ
   ================================ */

.faq-container {
    max-width: 800px;
    margin: 3rem auto;
}

.faq-category {
    margin-bottom: 3rem;
}

.faq-category h3 {
    color: var(--primary);
    margin-bottom: 1.5rem;
    font-size: 1.3rem;
    border-bottom: 2px solid var(--secondary);
    padding-bottom: 0.5rem;
}

.faq-item {
    margin-bottom: 1.5rem;
    border-left: 4px solid var(--secondary);
    padding-left: 1.5rem;
}

.faq-question {
    color: var(--primary);
    font-weight: 600;
    cursor: pointer;
    transition: color 0.3s ease;
}

.faq-question:hover {
    color: var(--secondary);
}

.faq-answer {
    display: none;
    color: var(--text-light);
    margin-top: 0.5rem;
    line-height: 1.8;
}

.faq-item.active .faq-answer {
    display: block;
}

.faq-answer p {
    margin-bottom: 1rem;
}

.faq-answer ol, .faq-answer ul {
    margin-left: 2rem;
    margin-bottom: 1rem;
}

.faq-answer li {
    margin-bottom: 0.5rem;
}

/* ================================
   RESPONSIVO
   ================================ */

@media (max-width: 768px) {
    .nav-menu {
        display: none;
        flex-direction: column;
        position: absolute;
        top: 68px;
        left: 0;
        right: 0;
        background-color: var(--background);
        box-shadow: var(--shadow);
        padding: 1rem;
        gap: 1rem;
    }

    .nav-menu.active {
        display: flex;
    }

    .menu-toggle {
        display: block;
    }

    .hero h1 {
        font-size: 2.15rem;
    }

    .hero p {
        font-size: 1rem;
    }

    .section-title {
        font-size: 1.8rem;
    }

    .hero-buttons {
        flex-direction: column;
    }

    .hero-buttons .btn {
        width: 100%;
    }

    .whatsapp-button {
        width: 50px;
        height: 50px;
    }

    .whatsapp-button svg {
        width: 25px;
        height: 25px;
    }
}

@media (max-width: 480px) {
    .container {
        padding: 0 15px;
    }

    .hero {
        padding: 60px 0;
    }

    .hero h1 {
        font-size: 1.5rem;
    }

    section {
        padding: 40px 0;
    }

    .cards-grid {
        grid-template-columns: 1fr;
    }

    .pricing-grid {
        grid-template-columns: 1fr;
    }

    .steps-grid {
        grid-template-columns: 1fr;
    }

    .hero-stats {
        grid-template-columns: 1fr 1fr;
        gap: 1rem;
    }

    .stat strong {
        font-size: 1.5rem;
    }

    .nav-menu {
        gap: 0.5rem;
    }
}

/* ================================
   ANIMAÇÕES
   ================================ */

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.animate-fade-in {
    animation: fadeInUp 0.6s ease-out;
}

/* ================================
   UTILITÁRIOS
   ================================ */

.text-center {
    text-align: center;
}

.mt-1 { margin-top: 1rem; }
.mt-2 { margin-top: 2rem; }
.mt-3 { margin-top: 3rem; }

.mb-1 { margin-bottom: 1rem; }
.mb-2 { margin-bottom: 2rem; }
.mb-3 { margin-bottom: 3rem; }

.p-1 { padding: 1rem; }
.p-2 { padding: 2rem; }
.p-3 { padding: 3rem; }
