/* ==========================================================================
   STYLES.CSS — RAPAZOI.COM.BR (TESTE IPTV 6 HORAS GRÁTIS)
   Visual inspirado na estrutura de alta conversão PBNTV / PlataformaFacilitada,
   porém 100% otimizado para Core Web Vitals (PageSpeed 100) e responsividade.
   ========================================================================== */

:root {
    --primary-blue: #091570;
    --primary-blue-light: #1d4ed8;
    --neon-blue: #2563eb;
    --neon-cyan: #38bdf8;
    --text-dark: #1e293b;
    --text-body: #334155;
    --text-muted: #64748b;
    --bg-white: #ffffff;
    --bg-soft: #f8fafc;
    --border-light: #e2e8f0;
}

* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

html {
    scroll-behavior: smooth;
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
    color: var(--text-body);
    background-color: var(--bg-white);
    line-height: 1.7;
}

body {
    overflow-x: hidden;
    background-color: var(--bg-white);
}

/* ==========================================================================
   HEADER TOPO (LOGO + BOTÃO GLOW "QUERO TESTAR GRÁTIS")
   ========================================================================== */
.site-header {
    position: sticky;
    top: 0;
    z-index: 1000;
    background: rgba(255, 255, 255, 0.97);
    backdrop-filter: blur(8px);
    border-bottom: 1px solid var(--border-light);
    box-shadow: 0 2px 12px rgba(15, 23, 42, 0.05);
}

.header-inner {
    max-width: 1120px;
    margin: 0 auto;
    padding: 10px 24px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
}

.brand-logo-link {
    display: inline-flex;
    align-items: center;
    text-decoration: none;
}

.brand-logo-img {
    height: 56px;
    width: auto;
    display: block;
}

/* ==========================================================================
   BOTÃO ICÔNICO GLOW "QUERO TESTAR GRÁTIS ▶"
   ========================================================================== */
.btn-teste-iptv {
    display: inline-flex;
    align-items: center;
    justify-content: space-between;
    gap: 14px;
    background: linear-gradient(180deg, #0c1b8c 0%, #060f52 100%);
    color: #ffffff !important;
    text-decoration: none !important;
    font-weight: 800;
    font-size: 14px;
    letter-spacing: 0.04em;
    text-transform: uppercase;
    padding: 8px 10px 8px 22px;
    border-radius: 999px;
    border: 2px solid #ffffff;
    box-shadow:
        0 0 0 3px rgba(37, 99, 235, 0.85),
        0 0 22px rgba(37, 99, 235, 0.9),
        0 6px 18px rgba(9, 21, 112, 0.55);
    transition: transform 0.2s ease, box-shadow 0.2s ease, filter 0.2s ease;
    cursor: pointer;
    white-space: nowrap;
}

.btn-teste-iptv:hover {
    transform: translateY(-2px) scale(1.02);
    box-shadow:
        0 0 0 4px rgba(56, 189, 248, 0.95),
        0 0 30px rgba(37, 99, 235, 1),
        0 10px 24px rgba(9, 21, 112, 0.7);
    filter: brightness(1.08);
}

.btn-teste-iptv .play-circle {
    width: 34px;
    height: 34px;
    border-radius: 50%;
    border: 2px solid #ffffff;
    background: rgba(255, 255, 255, 0.08);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.btn-teste-iptv .play-circle svg {
    width: 14px;
    height: 14px;
    fill: none;
    stroke: #ffffff;
    stroke-width: 2.2;
    margin-left: 2px;
}

.btn-teste-iptv.btn-lg {
    font-size: 15px;
    padding: 10px 12px 10px 26px;
}

.btn-teste-iptv.btn-lg .play-circle {
    width: 38px;
    height: 38px;
}

/* ==========================================================================
   HERO SECTION (SECTION 0 — CASAL ASSISTINDO TV + TÍTULO + 2 BOTÕES)
   ========================================================================== */
.hero-section {
    position: relative;
    background-color: #050814;
    background-image:
        linear-gradient(180deg, rgba(4, 7, 18, 0.62) 0%, rgba(4, 7, 18, 0.78) 65%, rgba(3, 5, 14, 0.92) 100%),
        url('../img/hero-bg.jpg');
    background-size: cover;
    background-position: center center;
    color: #ffffff;
    padding: 68px 24px 48px;
    border-bottom: 3px solid #1e3a8a;
}

.hero-inner {
    max-width: 980px;
    margin: 0 auto;
}

.hero-badge {
    display: inline-block;
    background: rgba(37, 99, 235, 0.25);
    border: 1px solid rgba(56, 189, 248, 0.55);
    color: #bae6fd;
    font-size: 12px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    padding: 5px 14px;
    border-radius: 999px;
    margin-bottom: 18px;
}

.hero-title {
    font-size: clamp(26px, 4vw, 38px);
    font-weight: 900;
    line-height: 1.25;
    color: #ffffff;
    margin-bottom: 110px;
    max-width: 860px;
    text-shadow: 0 3px 16px rgba(0, 0, 0, 0.75);
}

.hero-title a.domain-highlight {
    color: #ffffff;
    text-decoration: underline;
    text-underline-offset: 5px;
    text-decoration-color: #38bdf8;
}

.hero-subtitle {
    font-size: clamp(17px, 2.2vw, 22px);
    font-weight: 500;
    line-height: 1.45;
    color: #f1f5f9;
    max-width: 880px;
    margin-bottom: 34px;
    text-shadow: 0 2px 10px rgba(0, 0, 0, 0.8);
}

.hero-cta-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 20px;
    padding-top: 8px;
}

/* ==========================================================================
   CONTEÚDO EDITORIAL GIGANTE (SECTIONS 1 & 3)
   ========================================================================== */
.content-section {
    max-width: 980px;
    margin: 0 auto;
    padding: 48px 24px;
    background: var(--bg-white);
}

.article-body {
    font-size: 16px;
    color: var(--text-body);
    line-height: 1.78;
}

.article-body p {
    margin-bottom: 14px;
}

.article-body h1,
.article-body h2,
.article-body h3,
.article-body h4,
.article-body h5,
.article-body h6 {
    color: var(--text-dark);
    font-weight: 800;
    line-height: 1.35;
    margin-top: 32px;
    margin-bottom: 14px;
}

.article-body h2 {
    font-size: clamp(21px, 2.6vw, 27px);
    border-left: 4px solid var(--neon-blue);
    padding-left: 14px;
}

.article-body h3 {
    font-size: clamp(18px, 2.1vw, 22px);
    color: #0f172a;
}

.article-body h4 {
    font-size: 18px;
    color: #1e3a8a;
}

.article-body h5 {
    font-size: 16.5px;
    color: #1e293b;
}

.article-body h6 {
    font-size: 15.5px;
    color: #334155;
}

.article-body ul,
.article-body ol {
    margin: 12px 0 20px 26px;
}

.article-body li {
    margin-bottom: 6px;
}

.article-body strong {
    color: #0f172a;
    font-weight: 700;
}

/* Tabelas Semânticas de Comparação e Diagnóstico */
.seo-table-wrap {
    overflow-x: auto;
    margin: 22px 0 28px;
    border-radius: 12px;
    border: 1px solid var(--border-light);
    box-shadow: 0 2px 8px rgba(15, 23, 42, 0.04);
}

.seo-table {
    width: 100%;
    border-collapse: collapse;
    font-size: 14.5px;
    text-align: left;
}

.seo-table th {
    background: #0f172a;
    color: #ffffff;
    font-weight: 700;
    padding: 13px 16px;
}

.seo-table td {
    padding: 12px 16px;
    border-top: 1px solid var(--border-light);
    color: var(--text-body);
}

.seo-table tr:nth-child(even) td {
    background: var(--bg-soft);
}

/* Caixa de destaque / Callout Box */
.highlight-box {
    background: #f0f7ff;
    border: 1px solid #bfdbfe;
    border-left: 5px solid #2563eb;
    border-radius: 10px;
    padding: 20px 22px;
    margin: 24px 0;
}

.cta-inline-box {
    background: linear-gradient(135deg, #071135 0%, #0d2163 100%);
    color: #ffffff;
    border-radius: 16px;
    padding: 28px 28px;
    margin: 34px 0;
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 20px;
    box-shadow: 0 10px 28px rgba(9, 21, 112, 0.22);
}

.cta-inline-text h3 {
    color: #ffffff !important;
    margin: 0 0 6px 0 !important;
    font-size: 20px !important;
}

.cta-inline-text p {
    color: #cbd5e1 !important;
    margin: 0 !important;
    font-size: 14.5px !important;
}

/* ==========================================================================
   BANNER INTERMEDIÁRIO DE CINEMA (SECTION 2)
   ========================================================================== */
.mid-banner-section {
    position: relative;
    background-color: #060919;
    background-image:
        linear-gradient(180deg, rgba(4, 7, 18, 0.55) 0%, rgba(4, 7, 18, 0.78) 100%),
        url('../img/cinema-bg.jpg');
    background-size: cover;
    background-position: center;
    padding: 90px 24px;
    text-align: center;
    color: #ffffff;
    border-top: 2px solid #1e3a8a;
    border-bottom: 2px solid #1e3a8a;
}

.mid-banner-inner {
    max-width: 820px;
    margin: 0 auto;
}

.mid-banner-inner h2 {
    font-size: clamp(24px, 3.2vw, 34px);
    font-weight: 900;
    margin-bottom: 14px;
    color: #ffffff;
}

.mid-banner-inner p {
    font-size: 17px;
    color: #e2e8f0;
    margin-bottom: 28px;
}

/* ==========================================================================
   MATRIZ H1 E CLUSTERS LONG-TAIL DE APLICATIVOS E DISPOSITIVOS
   ========================================================================== */
.keyword-matrix-box {
    background: #f8fafc;
    border: 1px solid #e2e8f0;
    border-radius: 14px;
    padding: 26px;
    margin-top: 36px;
}

.keyword-matrix-box h1 {
    font-size: 17px;
    line-height: 1.75;
    color: #334155;
    font-weight: 700;
    margin-top: 0;
}

/* ==========================================================================
   FOOTER & BOTÃO FLUTUANTE WHATSAPP
   ========================================================================== */
.site-footer {
    background: #0b1120;
    color: #94a3b8;
    padding: 44px 24px;
    text-align: center;
    border-top: 1px solid #1e293b;
}

.footer-inner {
    max-width: 980px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 16px;
}

.footer-thumb {
    width: 180px;
    height: auto;
    border-radius: 10px;
    border: 1px solid rgba(56, 189, 248, 0.35);
}

.whatsapp-float {
    position: fixed;
    right: 20px;
    bottom: 20px;
    z-index: 9999;
    background: #16a34a;
    color: #ffffff !important;
    text-decoration: none;
    font-weight: 800;
    font-size: 14px;
    padding: 12px 20px;
    border-radius: 999px;
    display: inline-flex;
    align-items: center;
    gap: 10px;
    box-shadow: 0 8px 24px rgba(22, 163, 74, 0.5);
    border: 2px solid #ffffff;
    transition: transform 0.2s ease;
}

.whatsapp-float:hover {
    transform: scale(1.05);
}

@media (max-width: 640px) {
    .header-inner {
        padding: 8px 14px;
    }
    .brand-logo-img {
        height: 42px;
    }
    .btn-teste-iptv {
        font-size: 12px;
        padding: 6px 8px 6px 14px;
        gap: 8px;
    }
    .btn-teste-iptv .play-circle {
        width: 28px;
        height: 28px;
    }
    .hero-title {
        margin-bottom: 48px;
    }
    .hero-cta-row {
        justify-content: center;
    }
    .cta-inline-box {
        padding: 20px;
        text-align: center;
        justify-content: center;
    }
}
