/* =============================================================
   REI DOS BÓNUS — Design System V6 (reescrito do zero)
   Roxo regal + dourado · Dark mode · Mobile-first
   ============================================================= */

@import url("https://fonts.googleapis.com/css2?family=DM+Serif+Display:ital@0;1&family=Figtree:wght@400;500;600;700;800;900&display=swap");

:root {
    /* Brand */
    --purple: #7c3aed;
    --purple-dark: #5b21b6;
    --purple-light: #a78bfa;
    --gold: #f59e0b;
    --gold-light: #fbbf24;
    --gold-dark: #d97706;

    /* Backgrounds */
    --bg: #0a0118;
    --bg-elev: #15092b;
    --bg-card: #1c0f3a;
    --bg-card-hover: #251347;

    /* Text */
    --text: #f5f3ff;
    --text-soft: #e8e0ff;
    --text-dim: #c4b8e0;

    /* Accents */
    --red: #ef4444;

    /* Borders */
    --border: rgba(167, 139, 250, 0.15);
    --border-strong: rgba(167, 139, 250, 0.35);

    /* Shadows */
    --shadow-sm: 0 2px 12px rgba(0, 0, 0, 0.4);
    --shadow-md: 0 8px 28px rgba(0, 0, 0, 0.45);
    --shadow-gold: 0 10px 36px rgba(245, 158, 11, 0.22);

    /* Radii */
    --r-sm: 8px;
    --r-md: 14px;
    --r-lg: 20px;
    --r-full: 9999px;

    /* Layout */
    --container: 1140px;
}

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

html {
    scroll-behavior: smooth;
    -webkit-text-size-adjust: 100%;
}

body {
    font-family: "Figtree", -apple-system, BlinkMacSystemFont, sans-serif;
    background: var(--bg);
    color: var(--text-soft);
    line-height: 1.65;
    font-size: 16px;
    -webkit-font-smoothing: antialiased;
    min-height: 100vh;
    background-image:
        radial-gradient(ellipse 800px 600px at top left, rgba(124, 58, 237, 0.18), transparent 60%),
        radial-gradient(ellipse 600px 400px at top right, rgba(245, 158, 11, 0.08), transparent 60%),
        radial-gradient(ellipse 1000px 600px at bottom center, rgba(91, 33, 182, 0.12), transparent 70%);
    background-attachment: fixed;
}

h1, h2, h3, h4 {
    font-family: "DM Serif Display", Georgia, serif;
    font-weight: 400;
    color: #ffffff;
    line-height: 1.15;
    letter-spacing: -0.015em;
}

a { color: inherit; text-decoration: none; }

.container {
    max-width: var(--container);
    margin: 0 auto;
    padding: 0 20px;
}

.highlight {
    background: linear-gradient(120deg, var(--gold) 0%, var(--gold-light) 50%, var(--gold) 100%);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    background-size: 200% auto;
}

/* ============================================================
   TOPBAR + NAV
   ============================================================ */
.topbar {
    background: linear-gradient(90deg, rgba(124, 58, 237, 0.35), rgba(245, 158, 11, 0.2));
    border-bottom: 1px solid rgba(167, 139, 250, 0.2);
    padding: 10px 20px;
    font-size: 13px;
    text-align: center;
    color: var(--text-soft);
}
.topbar strong { color: var(--gold-light); font-weight: 700; }

.nav {
    background: rgba(10, 1, 24, 0.88);
    backdrop-filter: blur(12px);
    border-bottom: 1px solid var(--border);
    position: sticky;
    top: 0;
    z-index: 100;
}
.nav-inner {
    max-width: var(--container);
    margin: 0 auto;
    padding: 14px 20px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
}
.logo {
    display: flex;
    align-items: center;
    gap: 10px;
    font-family: "DM Serif Display", serif;
    font-size: 22px;
    color: #fff;
    flex-shrink: 0;
}
.logo em {
    font-style: italic;
    color: var(--gold-light);
}
.logo-crown {
    width: 36px;
    height: 36px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, var(--gold), var(--gold-dark));
    border-radius: 10px;
    font-size: 20px;
}
.nav-links {
    display: flex;
    gap: 6px;
    list-style: none;
    align-items: center;
}
.nav-links a {
    padding: 8px 14px;
    border-radius: var(--r-sm);
    font-size: 14px;
    font-weight: 500;
    color: var(--text-soft);
    transition: all 0.15s;
}
.nav-links a:hover { background: var(--bg-card); color: #fff; }
.nav-cta {
    background: linear-gradient(135deg, var(--gold), var(--gold-dark)) !important;
    color: #1a0d33 !important;
    font-weight: 700 !important;
    box-shadow: 0 4px 14px rgba(245, 158, 11, 0.3);
}
.nav-cta:hover { transform: translateY(-1px); }
.nav-toggle {
    display: none;
    background: var(--bg-card);
    border: 1px solid var(--border);
    color: var(--text);
    width: 42px;
    height: 42px;
    border-radius: var(--r-sm);
    font-size: 20px;
    cursor: pointer;
}

@media (max-width: 900px) {
    .nav-links { display: none; }
    .nav-links.open {
        display: flex;
        position: absolute;
        top: 68px;
        left: 12px;
        right: 12px;
        flex-direction: column;
        background: var(--bg-elev);
        border: 1px solid var(--border);
        border-radius: var(--r-md);
        padding: 10px;
        gap: 2px;
    }
    .nav-links.open a {
        padding: 12px 16px;
        width: 100%;
    }
    .nav-toggle { display: block; }
}

/* ============================================================
   HERO — curto, com CTA para o ranking
   ============================================================ */
.hero {
    padding: 56px 20px 36px;
    text-align: center;
    position: relative;
}
.hero-badge {
    display: inline-block;
    padding: 7px 18px;
    background: rgba(124, 58, 237, 0.2);
    border: 1px solid var(--border-strong);
    border-radius: var(--r-full);
    color: var(--purple-light);
    font-size: 13px;
    font-weight: 600;
    letter-spacing: 0.03em;
    margin-bottom: 20px;
}
.hero h1 {
    font-size: clamp(32px, 5vw, 54px);
    line-height: 1.08;
    max-width: 860px;
    margin: 0 auto 20px auto;
    font-weight: 400;
}
.hero-sub {
    font-size: clamp(15px, 2vw, 18px);
    line-height: 1.6;
    color: var(--text-dim);
    max-width: 640px;
    margin: 0 auto 28px auto;
}
.hero-sub strong { color: var(--text); font-weight: 600; }

.hero-buttons {
    display: flex;
    gap: 12px;
    justify-content: center;
    flex-wrap: wrap;
    max-width: 500px;
    margin: 0 auto;
}

.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 14px 26px;
    border-radius: var(--r-full);
    font-weight: 700;
    font-size: 14px;
    letter-spacing: 0.02em;
    transition: all 0.2s;
    border: 1px solid transparent;
    cursor: pointer;
    white-space: nowrap;
}
.btn-gold {
    background: linear-gradient(135deg, var(--gold), var(--gold-dark));
    color: #1a0d33;
    box-shadow: 0 6px 20px rgba(245, 158, 11, 0.3);
}
.btn-gold:hover { transform: translateY(-2px); filter: brightness(1.08); }
.btn-ghost {
    background: rgba(124, 58, 237, 0.12);
    border-color: var(--border-strong);
    color: var(--text);
}
.btn-ghost:hover { background: var(--bg-card); border-color: var(--purple-light); }

.trust-row {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 10px 22px;
    margin-top: 24px;
    font-size: 13px;
    color: var(--text-dim);
}
.trust-row strong { color: #fff; font-weight: 700; }

@media (max-width: 640px) {
    .hero { padding: 36px 16px 24px; }
    .hero-badge { font-size: 11px; padding: 6px 14px; margin-bottom: 14px; }
    .hero h1 { font-size: 30px; line-height: 1.15; }
    .hero-sub { font-size: 15px; line-height: 1.6; margin-bottom: 22px; }
    .hero-buttons { flex-direction: column; gap: 10px; max-width: 100%; }
    .hero-buttons .btn { width: 100%; padding: 15px 22px; font-size: 15px; }
    .trust-row { gap: 8px 18px; font-size: 12px; margin-top: 18px; }
}

/* ============================================================
   SECTIONS
   ============================================================ */
.section {
    padding: 60px 0;
}
.section-alt {
    background: linear-gradient(180deg, transparent, rgba(124, 58, 237, 0.05) 20%, rgba(124, 58, 237, 0.05) 80%, transparent);
}
.section-head {
    text-align: center;
    margin-bottom: 40px;
}
.section-kicker {
    display: inline-block;
    font-size: 12px;
    color: var(--gold);
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 0.15em;
    margin-bottom: 12px;
}
.section-head h2 {
    font-size: clamp(26px, 3.5vw, 40px);
    margin-bottom: 14px;
}
.section-head p {
    font-size: 16px;
    color: var(--text-dim);
    max-width: 620px;
    margin: 0 auto;
    line-height: 1.65;
}

@media (max-width: 640px) {
    .section { padding: 40px 0; }
    .section-head { margin-bottom: 28px; }
    .section-head h2 { font-size: 24px; }
    .section-head p { font-size: 15px; }
}

/* ============================================================
   RANKING CARDS — a coisa mais importante
   ============================================================ */
.ranking {
    display: flex;
    flex-direction: column;
    gap: 14px;
    max-width: 960px;
    margin: 0 auto;
}

.rank-card {
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: var(--r-lg);
    padding: 22px 24px;
    display: grid;
    grid-template-columns: 56px 1fr auto auto;
    gap: 22px;
    align-items: center;
    transition: all 0.25s;
    position: relative;
}
.rank-card:hover {
    border-color: var(--purple-light);
    transform: translateY(-2px);
    box-shadow: var(--shadow-md);
}
.rank-card.top {
    background: linear-gradient(135deg, rgba(245, 158, 11, 0.14), var(--bg-card) 60%);
    border-color: rgba(245, 158, 11, 0.5);
}
.rank-card.top::before {
    content: "👑 MELHOR OFERTA";
    position: absolute;
    top: -11px;
    left: 22px;
    background: linear-gradient(135deg, var(--gold), var(--gold-dark));
    color: #1a0d33;
    padding: 5px 14px;
    border-radius: var(--r-full);
    font-size: 10px;
    font-weight: 900;
    letter-spacing: 0.1em;
}

.rank-num {
    width: 56px;
    height: 56px;
    background: rgba(124, 58, 237, 0.25);
    color: var(--purple-light);
    border-radius: var(--r-md);
    display: flex;
    align-items: center;
    justify-content: center;
    font-family: "DM Serif Display", serif;
    font-weight: 400;
    font-size: 26px;
}
.rank-card.top .rank-num {
    background: linear-gradient(135deg, var(--gold), var(--gold-dark));
    color: #1a0d33;
}

.rank-brand { min-width: 0; }
.rank-brand h3 {
    font-family: "Figtree", sans-serif;
    font-size: 20px;
    font-weight: 800;
    color: #fff;
    margin-bottom: 4px;
    line-height: 1.25;
}
.rank-brand p {
    font-size: 14px;
    color: var(--text-soft);
    line-height: 1.5;
    margin: 0;
}
.rank-tag {
    display: inline-block;
    background: rgba(124, 58, 237, 0.3);
    color: #dfd0ff;
    padding: 3px 10px;
    border-radius: var(--r-sm);
    font-size: 11px;
    font-weight: 700;
    margin-top: 8px;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}
.rank-card.top .rank-tag {
    background: rgba(245, 158, 11, 0.22);
    color: #ffdf8c;
}

.rank-offer {
    text-align: right;
    min-width: 180px;
}
.rank-big {
    font-family: "Figtree", sans-serif;
    font-size: 22px;
    font-weight: 800;
    color: #fff;
    line-height: 1.15;
}
.rank-sub {
    font-size: 13px;
    color: var(--text-soft);
    margin-top: 4px;
    line-height: 1.45;
}

.rank-cta {
    background: linear-gradient(135deg, var(--gold), var(--gold-dark));
    color: #1a0d33;
    padding: 13px 22px;
    border-radius: var(--r-full);
    font-weight: 800;
    font-size: 13px;
    letter-spacing: 0.05em;
    text-transform: uppercase;
    transition: all 0.2s;
    white-space: nowrap;
    box-shadow: 0 4px 14px rgba(245, 158, 11, 0.3);
}
.rank-cta:hover {
    transform: translateX(3px);
    filter: brightness(1.08);
    color: #1a0d33;
}

/* Mobile ranking */
@media (max-width: 820px) {
    .rank-card {
        grid-template-columns: 44px 1fr;
        grid-template-rows: auto auto auto;
        gap: 8px 14px;
        padding: 24px 20px 20px 20px;
    }
    .rank-card.top::before { left: 16px; font-size: 9px; padding: 4px 10px; }
    .rank-num {
        width: 44px;
        height: 44px;
        font-size: 20px;
        align-self: start;
    }
    .rank-brand h3 { font-size: 19px; }
    .rank-brand p { font-size: 13px; }
    .rank-offer {
        grid-column: 1 / -1;
        text-align: left;
        min-width: 0;
        padding-top: 14px;
        border-top: 1px solid var(--border);
    }
    .rank-big { font-size: 20px; }
    .rank-cta {
        grid-column: 1 / -1;
        justify-content: center;
        padding: 15px 20px;
        font-size: 14px;
        text-align: center;
        display: block;
    }
}

.section-foot {
    text-align: center;
    margin-top: 28px;
}
.section-foot a {
    display: inline-block;
    padding: 12px 28px;
    background: transparent;
    border: 1px solid var(--border-strong);
    border-radius: var(--r-full);
    color: var(--text);
    font-size: 14px;
    font-weight: 600;
    transition: all 0.2s;
}
.section-foot a:hover {
    border-color: var(--gold);
    color: var(--gold-light);
}

.disclaimer-small {
    text-align: center;
    font-size: 12px;
    color: var(--text-dim);
    margin-top: 20px;
    opacity: 0.8;
}

/* ============================================================
   CONTEÚDO SEO
   ============================================================ */
.content-narrow {
    max-width: 760px;
    margin: 0 auto;
    padding: 0 20px;
}

.content-narrow h2 {
    font-size: clamp(24px, 3vw, 36px);
    margin: 56px 0 20px 0;
}
.content-narrow h2:first-child { margin-top: 0; }

.content-narrow h3 {
    font-family: "Figtree", sans-serif;
    font-size: 20px;
    font-weight: 700;
    color: var(--gold-light);
    margin: 36px 0 14px 0;
    line-height: 1.3;
}

.content-narrow p {
    font-size: 17px;
    line-height: 1.8;
    color: var(--text-soft);
    margin-bottom: 18px;
}

.content-narrow ul,
.content-narrow ol {
    margin: 16px 0 24px 0;
    padding-left: 24px;
}
.content-narrow li {
    font-size: 16px;
    line-height: 1.75;
    color: var(--text-soft);
    margin-bottom: 10px;
    padding-left: 6px;
}
.content-narrow li::marker { color: var(--gold); }

.content-narrow strong {
    color: #fff;
    font-weight: 700;
}

/* Brand link — nome das marcas como link afiliado, discreto mas destacado */
.content-narrow a.brand-link,
.content-narrow .brand-link {
    color: #fff;
    font-weight: 700;
    border-bottom: 1px dashed rgba(245, 158, 11, 0.45);
    padding-bottom: 1px;
    transition: all 0.15s;
}
.content-narrow a.brand-link:hover,
.content-narrow .brand-link:hover {
    color: var(--gold-light);
    border-bottom-color: var(--gold);
}

.callout {
    padding: 22px 26px;
    border-radius: var(--r-md);
    margin: 28px 0;
    border-left: 4px solid var(--gold);
    background: rgba(245, 158, 11, 0.07);
    font-size: 16px;
    line-height: 1.7;
}
.callout strong { color: var(--gold-light); }

@media (max-width: 640px) {
    .content-narrow { padding: 0 8px; }
    .content-narrow h2 { font-size: 24px; margin: 40px 0 16px 0; }
    .content-narrow h3 { font-size: 18px; margin: 28px 0 12px 0; }
    .content-narrow p { font-size: 16px; line-height: 1.75; }
    .content-narrow li { font-size: 15px; }
}

/* ============================================================
   FAQ
   ============================================================ */
.faq {
    max-width: 780px;
    margin: 0 auto;
}
.faq details {
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: var(--r-md);
    padding: 20px 24px;
    margin-bottom: 12px;
    transition: all 0.2s;
}
.faq details[open] {
    background: var(--bg-card-hover);
    border-color: var(--border-strong);
}
.faq summary {
    font-family: "Figtree", sans-serif;
    font-size: 17px;
    font-weight: 600;
    color: #fff;
    cursor: pointer;
    list-style: none;
    padding-right: 30px;
    position: relative;
    line-height: 1.45;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after {
    content: "+";
    position: absolute;
    right: 0;
    top: 50%;
    transform: translateY(-50%);
    font-size: 24px;
    color: var(--gold);
    font-weight: 300;
    transition: transform 0.2s;
}
.faq details[open] summary::after { content: "−"; }

.faq details p,
.faq details ul {
    font-size: 15px;
    line-height: 1.75;
    color: var(--text-soft);
    margin: 14px 0 0 0;
    padding-top: 14px;
    border-top: 1px solid var(--border);
}
.faq details ul {
    padding-left: 22px;
    border-top: 1px solid var(--border);
}
.faq details li { margin-bottom: 6px; }

.faq details a.brand-link,
.faq details .brand-link {
    color: #fff;
    font-weight: 700;
    border-bottom: 1px dashed rgba(245, 158, 11, 0.45);
}
.faq details a.brand-link:hover,
.faq details .brand-link:hover {
    color: var(--gold-light);
    border-bottom-color: var(--gold);
}

@media (max-width: 640px) {
    .faq details { padding: 18px 20px; }
    .faq summary { font-size: 15px; padding-right: 28px; }
    .faq details p { font-size: 14px; }
}

/* ============================================================
   QUICK ANSWER — agora no FIM da página
   ============================================================ */
.quick-answer-wrap {
    max-width: 780px;
    margin: 0 auto;
    padding: 0 20px;
}
.quick-answer {
    background: linear-gradient(180deg, rgba(124, 58, 237, 0.12), rgba(28, 15, 58, 0.6));
    border: 1px solid var(--border-strong);
    border-left: 4px solid var(--gold);
    border-radius: var(--r-md);
    padding: 26px 30px;
}
.quick-answer-label {
    font-size: 11px;
    color: var(--gold);
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 0.15em;
    margin-bottom: 14px;
    display: block;
}
.quick-answer h3 {
    font-family: "Figtree", sans-serif;
    font-size: 20px;
    font-weight: 700;
    color: #fff;
    margin-bottom: 14px;
    line-height: 1.3;
}
.quick-answer p {
    font-size: 15px;
    line-height: 1.75;
    color: var(--text-soft);
    margin: 0;
}
.quick-answer .brand-link {
    color: #fff;
    font-weight: 700;
    border-bottom: 1px dashed rgba(245, 158, 11, 0.45);
}
.quick-answer .brand-link:hover {
    color: var(--gold-light);
    border-bottom-color: var(--gold);
}

@media (max-width: 640px) {
    .quick-answer { padding: 22px 22px; }
    .quick-answer h3 { font-size: 17px; }
    .quick-answer p { font-size: 14px; }
}

/* ============================================================
   LINK HUB
   ============================================================ */
.link-hub {
    max-width: 1020px;
    margin: 40px auto;
    padding: 36px 28px;
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: var(--r-lg);
}
.link-hub h3 {
    font-size: 22px;
    text-align: center;
    margin-bottom: 24px;
    color: #fff;
}
.link-hub-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 10px;
}
.link-hub-item {
    padding: 16px 18px;
    background: var(--bg-elev);
    border: 1px solid var(--border);
    border-radius: var(--r-md);
    transition: all 0.2s;
    display: block;
}
.link-hub-item:hover {
    border-color: var(--gold);
    transform: translateY(-2px);
}
.link-hub-item strong {
    display: block;
    color: #fff;
    font-size: 15px;
    font-weight: 700;
    margin-bottom: 4px;
}
.link-hub-item span {
    display: block;
    color: var(--text-dim);
    font-size: 13px;
    line-height: 1.4;
}

@media (max-width: 640px) {
    .link-hub { padding: 24px 18px; margin: 28px 0; }
    .link-hub-grid { grid-template-columns: 1fr; }
}

/* ============================================================
   JOGO RESPONSÁVEL BOX
   ============================================================ */
.responsible-box {
    max-width: 780px;
    margin: 40px auto 32px;
    padding: 26px 28px;
    background: rgba(239, 68, 68, 0.05);
    border: 1px solid rgba(239, 68, 68, 0.22);
    border-left: 4px solid var(--red);
    border-radius: var(--r-md);
}
.rb-title {
    font-weight: 800;
    color: var(--red);
    margin-bottom: 12px;
    font-size: 13px;
    letter-spacing: 0.1em;
    display: block;
}
.responsible-box p {
    font-size: 14px;
    line-height: 1.75;
    color: var(--text-dim);
    margin-bottom: 8px;
}
.responsible-box strong { color: #ffa0a0; }
.responsible-box a { color: #ffa0a0; text-decoration: underline; }

.rb-copy {
    font-size: 12px !important;
    color: var(--text-dim);
    margin-top: 16px !important;
    padding-top: 14px;
    border-top: 1px solid rgba(167, 139, 250, 0.1);
    line-height: 1.7 !important;
}
.rb-copy span {
    display: block;
    margin-bottom: 3px;
    opacity: 0.9;
}
.rb-copy span:last-child {
    margin-top: 6px;
    font-style: italic;
    opacity: 0.75;
}

@media (max-width: 640px) {
    .responsible-box { padding: 22px 20px; }
    .rb-title { font-size: 12px; }
    .responsible-box p { font-size: 13px; }
}

/* ============================================================
   FOOTER
   ============================================================ */
footer {
    background: #08010f;
    border-top: 1px solid var(--border);
    padding: 48px 20px 0;
    margin-top: 40px;
}
.footer-grid {
    max-width: var(--container);
    margin: 0 auto;
    display: grid;
    grid-template-columns: 1.5fr 1fr 1fr 1fr;
    gap: 40px;
    padding-bottom: 36px;
}
.footer-brand p {
    font-size: 14px;
    line-height: 1.65;
    color: var(--text-dim);
    margin-top: 14px;
}
.footer-col h4 {
    font-family: "Figtree", sans-serif;
    font-size: 14px;
    font-weight: 800;
    color: #fff;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    margin-bottom: 14px;
}
.footer-col ul {
    list-style: none;
}
.footer-col ul li { margin-bottom: 8px; }
.footer-col ul a {
    color: var(--text-dim);
    font-size: 14px;
    transition: color 0.15s;
}
.footer-col ul a:hover { color: var(--gold-light); }

.footer-bottom {
    max-width: var(--container);
    margin: 0 auto;
    border-top: 1px solid var(--border);
    padding: 20px 0;
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 12px;
    color: var(--text-dim);
    gap: 12px;
    flex-wrap: wrap;
}

@media (max-width: 820px) {
    .footer-grid { grid-template-columns: 1fr 1fr; gap: 30px; }
}
@media (max-width: 540px) {
    footer { padding-top: 36px; }
    .footer-grid { grid-template-columns: 1fr; gap: 28px; padding-bottom: 28px; }
    .footer-bottom { flex-direction: column; text-align: center; padding: 18px 0; }
}
