/*
Theme Name: QuestHub Theme
Theme URI: https://questhubai.shop
Author: QuestHub
Description: Tema personalizado baseado na Landing Page QuestHub.
Version: 1.4
License: GNU General Public License v2 or later
*/

/* ==============================================
   CSS VARIABLES — DARK MODE (padrão)
   ============================================== */
:root {
    /* Landing page — cores principais */
    --bg:           #05091a;
    --bg2:          #090f24;
    --bg3:          #0c1430;
    --surface:      rgba(255,255,255,0.04);
    --border:       rgba(255,255,255,0.07);
    --border-hi:    rgba(255,255,255,0.14);
    --text1:        #f1f5fb;
    --text2:        #dce5f0;
    --text-body:    #e8f0f8;
    --text3:        #8fa3b8;
    --gold:         #F5A623;
    --gold2:        #FFC84A;
    --gold-glow:    rgba(245,166,35,0.25);
    --gold-subtle:  rgba(245,166,35,0.08);
    --green:        #10b981;
    --green-glow:   rgba(16,185,129,0.22);
    --green-subtle: rgba(16,185,129,0.08);
    --blue:         #3b82f6;
    --blue-glow:    rgba(59,130,246,0.22);
    --red:          #ef4444;
    --phone-frame:  #0a0a14;
    --phone-btn:    #18182e;
    --radius-card:  20px;
    --radius-lg:    28px;
    --text-shadow:  0 2px 4px rgba(0,0,0,0.8);

    /* Blog/conteúdo */
    --color-bg:       #020617;
    --color-text:     #cbd5e1;
    --color-heading:  #ffffff;
    --color-accent:   #6366f1;
    --color-border:   #1e293b;
    --color-code-bg:  #0f172a;
    --font-display:   system-ui, -apple-system, sans-serif;
}

/* ==============================================
   CSS VARIABLES — LIGHT MODE (override)
   ============================================== */
@media (prefers-color-scheme: light) {
    :root {
        /* Landing page — cores claras */
        --bg:           #FAF8F2;
        --bg2:          #F3F0E5;
        --bg3:          #EDE9D8;
        --surface:      rgba(0,0,0,0.04);
        --border:       rgba(0,0,0,0.08);
        --border-hi:    rgba(0,0,0,0.15);
        --text1:        #060e1e;
        --text2:        #1e3050;
        --text-body:    #111827;
        --text3:        #4b5563;
        --gold:         #C97B0A;
        --gold2:        #E89020;
        --gold-glow:    rgba(201,123,10,0.18);
        --gold-subtle:  rgba(201,123,10,0.08);
        --green:        #059669;
        --green-glow:   rgba(5,150,105,0.18);
        --green-subtle: rgba(5,150,105,0.07);
        --blue:         #2563eb;
        --blue-glow:    rgba(37,99,235,0.18);
        --red:          #dc2626;
        --phone-frame:  #111118;
        --phone-btn:    #1a1a2a;
        --text-shadow:  0 2px 4px rgba(255,255,255,0.6);

        /* Blog/conteúdo */
        --color-bg:       #f8fafc;
        --color-text:     #334155;
        --color-heading:  #0f172a;
        --color-accent:   #6366f1;
        --color-border:   #e2e8f0;
        --color-code-bg:  #f1f5f9;
    }
}

/* ==============================================
   RESET & BASE
   ============================================== */
*, *::before, *::after { margin: 0; padding: 0; box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
    background: var(--bg);
    color: var(--text1);
    font-family: 'Lora', Georgia, serif;
    overflow-x: hidden;
    -webkit-font-smoothing: antialiased;
}

::selection { background: var(--gold-glow); color: var(--text1); }

::-webkit-scrollbar { width: 6px; }
::-webkit-scrollbar-track { background: var(--bg); }
::-webkit-scrollbar-thumb { background: var(--border-hi); border-radius: 3px; }
::-webkit-scrollbar-thumb:hover { background: var(--gold); }

/* ==============================================
   TYPOGRAPHY
   ============================================== */
h1, h2, h3, h4, h5 {
    font-family: 'Bricolage Grotesque', system-ui, sans-serif;
    line-height: 1.08;
    letter-spacing: -0.025em;
}

/* ==============================================
   GRAIN TEXTURE OVERLAY
   ============================================== */
body::before {
    content: '';
    position: fixed;
    inset: 0;
    background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 256 256' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='noise'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23noise)'/%3E%3C/svg%3E");
    opacity: 0.025;
    pointer-events: none;
    z-index: 1000;
}

/* ==============================================
   SECTION DIVIDERS
   ============================================== */
.section-divider {
    width: 100%;
    height: 1px;
    background: linear-gradient(90deg, transparent, var(--border-hi), transparent);
}

/* ==============================================
   SCROLL REVEAL ANIMATIONS
   ============================================== */
[data-reveal] {
    opacity: 0;
    transform: translateY(32px);
    transition: opacity 0.7s cubic-bezier(0.16,1,0.3,1), transform 0.7s cubic-bezier(0.16,1,0.3,1);
}
[data-reveal].revealed { opacity: 1; transform: translateY(0); }
[data-reveal-delay="1"] { transition-delay: 0.1s; }
[data-reveal-delay="2"] { transition-delay: 0.2s; }
[data-reveal-delay="3"] { transition-delay: 0.3s; }
[data-reveal-delay="4"] { transition-delay: 0.4s; }
[data-reveal-delay="5"] { transition-delay: 0.5s; }
[data-reveal-delay="6"] { transition-delay: 0.6s; }

/* ==============================================
   MARQUEE
   ============================================== */
@keyframes marquee-move {
    from { transform: translateX(0); }
    to   { transform: translateX(-50%); }
}
.marquee-track {
    display: flex;
    width: max-content;
    animation: marquee-move 24s linear infinite;
    will-change: transform;
}
.marquee-wrap { overflow: hidden; width: 100%; }

/* ==============================================
   BUTTONS
   ============================================== */
.btn-gold {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    background: linear-gradient(135deg, var(--gold) 0%, var(--gold2) 100%);
    color: #0a0a14;
    font-family: 'Bricolage Grotesque', sans-serif;
    font-weight: 800;
    font-size: 18px;
    letter-spacing: -0.01em;
    padding: 17px 34px;
    border-radius: 14px;
    text-decoration: none;
    transition: all 0.3s cubic-bezier(0.4,0,0.2,1);
    box-shadow: 0 0 0 1px rgba(255,200,74,0.3), 0 12px 32px var(--gold-glow);
    white-space: nowrap;
}
.btn-gold:hover {
    transform: translateY(-2px) scale(1.02);
    box-shadow: 0 0 0 1px rgba(255,200,74,0.5), 0 20px 50px var(--gold-glow);
}

.btn-ghost {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: var(--surface);
    color: var(--text2);
    font-family: 'Bricolage Grotesque', sans-serif;
    font-weight: 600;
    font-size: 15px;
    padding: 10px 18px;
    border-radius: 999px;
    border: 1px solid var(--border-hi);
    text-decoration: none;
    transition: all 0.25s ease;
}
.btn-ghost:hover { color: var(--text1); border-color: var(--gold); background: var(--gold-subtle); }

.btn-outline {
    display: block;
    text-align: center;
    width: 100%;
    background: var(--surface);
    color: var(--text1);
    font-family: 'Bricolage Grotesque', sans-serif;
    font-weight: 700;
    font-size: 17px;
    padding: 15px;
    border-radius: 13px;
    border: 1px solid var(--border-hi);
    text-decoration: none;
    transition: all 0.25s ease;
}
.btn-outline:hover { background: var(--border); border-color: var(--gold); }

/* ==============================================
   BADGES / PILLS
   ============================================== */
.badge {
    display: inline-flex;
    align-items: center;
    gap: 7px;
    padding: 6px 14px;
    border-radius: 999px;
    font-family: 'Bricolage Grotesque', sans-serif;
    font-weight: 700;
    font-size: 13px;
    text-transform: uppercase;
    letter-spacing: 0.08em;
}
.badge-gold   { background: var(--gold-subtle);  border: 1px solid rgba(245,166,35,0.3);  color: var(--gold2); }
.badge-green  { background: var(--green-subtle); border: 1px solid rgba(16,185,129,0.3);  color: #34d399; }
.badge-blue   { background: rgba(59,130,246,0.08); border: 1px solid rgba(59,130,246,0.25); color: #93c5fd; }
.badge-purple { background: rgba(139,92,246,0.08); border: 1px solid rgba(139,92,246,0.25); color: #c4b5fd; }

/* Badges — modo claro: texto escuro para garantir contraste */
@media (prefers-color-scheme: light) {
    .badge-purple { background: rgba(109,40,217,0.10); border-color: rgba(109,40,217,0.35); color: #5b21b6; }
    .badge-blue   { background: rgba(29,78,216,0.10);  border-color: rgba(29,78,216,0.35);  color: #1e40af; }
    .badge-gold   { background: rgba(180,110,0,0.10);  border-color: rgba(180,110,0,0.35);  color: #92400e; }
    .badge-green  { background: rgba(5,150,105,0.10);  border-color: rgba(5,150,105,0.35);  color: #065f46; }
}
.badge-pulse::before {
    content: '';
    width: 7px; height: 7px;
    background: currentColor;
    border-radius: 50%;
    animation: pulse-dot 2s ease-in-out infinite;
}
@keyframes pulse-dot {
    0%, 100% { opacity: 1; transform: scale(1); }
    50%       { opacity: 0.5; transform: scale(1.4); }
}

/* ==============================================
   OVERLINE / SECTION LABELS
   ============================================== */
.overline {
    display: block;
    font-family: 'Bricolage Grotesque', sans-serif;
    font-weight: 700;
    font-size: 13px;
    text-transform: uppercase;
    letter-spacing: 0.14em;
    color: var(--text3);
    margin-bottom: 12px;
}
.overline-gold  { color: var(--gold); }
.overline-green { color: var(--green); }

/* ==============================================
   GLASS CARD
   ============================================== */
.glass-card {
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: var(--radius-card);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
}
.glass-card-hi {
    background: var(--surface);
    border: 1px solid var(--border-hi);
    border-radius: var(--radius-card);
    backdrop-filter: blur(24px);
    -webkit-backdrop-filter: blur(24px);
}

/* ==============================================
   TEXT GRADIENTS
   ============================================== */
.text-gold {
    background: linear-gradient(135deg, var(--gold), var(--gold2));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}
.text-green {
    background: linear-gradient(135deg, #34d399, #10b981);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

/* ==============================================
   COUNTER BOX
   ============================================== */
.counter-box {
    padding: 28px 20px;
    text-align: center;
    border-radius: var(--radius-card);
    background: var(--surface);
    border: 1px solid var(--border);
    transition: border-color 0.3s;
}
.counter-box:hover { border-color: var(--border-hi); }
.counter-num {
    font-family: 'Bricolage Grotesque', sans-serif;
    font-weight: 800;
    font-size: clamp(1.6rem, 3vw, 2.4rem);
    line-height: 1;
    margin-bottom: 6px;
}

/* ==============================================
   IPHONE FRAME
   ============================================== */
.iphone-wrap {
    position: relative;
    display: flex;
    justify-content: center;
    align-items: flex-end;
}
.iphone {
    position: relative;
    width: 240px;
    flex-shrink: 0;
    background: var(--phone-frame);
    border-radius: 46px;
    padding: 13px;
    box-shadow:
        0 0 0 1.5px rgba(255,255,255,0.18),
        0 0 0 4px rgba(255,255,255,0.04),
        inset 0 1.5px 0 rgba(255,255,255,0.18);
    transition: transform 0.5s cubic-bezier(0.34,1.56,0.64,1);
}
.iphone:hover { transform: translateY(-8px) scale(1.02); }
.iphone::before {
    content: '';
    position: absolute;
    left: -3.5px;
    top: 88px;
    width: 3.5px;
    height: 26px;
    background: var(--phone-btn);
    border-radius: 3px 0 0 3px;
    box-shadow: 0 44px 0 var(--phone-btn);
}
.iphone::after {
    content: '';
    position: absolute;
    right: -3.5px;
    top: 132px;
    width: 3.5px;
    height: 58px;
    background: var(--phone-btn);
    border-radius: 0 3px 3px 0;
}
.iphone-screen {
    border-radius: 34px;
    overflow: hidden;
    aspect-ratio: 9/19.5;
    position: relative;
    background: #080810;
}
.dynamic-island {
    position: absolute;
    top: 10px;
    left: 50%;
    transform: translateX(-50%);
    width: 96px;
    height: 28px;
    background: #000;
    border-radius: 18px;
    z-index: 20;
}
.iphone-glow {
    position: absolute;
    inset: 10px;
    border-radius: 50%;
    filter: blur(40px);
    opacity: 0.35;
    pointer-events: none;
    z-index: -1;
}
.phone-video-placeholder {
    width: 100%;
    height: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 12px;
    padding: 20px;
    text-align: center;
}
.phone-video-placeholder video {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
}
.placeholder-icon {
    width: 52px;
    height: 52px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 4px;
}
.placeholder-label {
    font-family: 'Bricolage Grotesque', sans-serif;
    font-weight: 700;
    font-size: 14px;
    color: rgba(255,255,255,0.6);
    line-height: 1.4;
}
.placeholder-sub {
    font-family: 'Bricolage Grotesque', sans-serif;
    font-size: 12px;
    color: rgba(255,255,255,0.3);
    background: rgba(255,255,255,0.06);
    padding: 4px 10px;
    border-radius: 6px;
    border: 1px solid rgba(255,255,255,0.1);
}

/* ==============================================
   PHONE CARD (showcase section)
   ============================================== */
.phone-card {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0;
    background: rgba(0, 0, 0, 0.25);
    border: 1px solid var(--border);
    border-radius: 28px;
    padding: 36px 28px 0;
    overflow: hidden;
    transition: border-color 0.3s, box-shadow 0.3s;
    position: relative;
}
@media (prefers-color-scheme: light) {
    .phone-card {
        background: rgba(255, 255, 255, 0.25);
    }
}
.phone-card::before {
    content: '';
    position: absolute;
    top: 0; left: 0; right: 0;
    height: 2px;
    border-radius: 28px 28px 0 0;
    opacity: 0;
    transition: opacity 0.3s;
}
.phone-card:hover                  { border-color: var(--border-hi); box-shadow: 0 20px 60px rgba(0,0,0,0.2); }
.phone-card:hover::before          { opacity: 1; }
.phone-card.card-purple::before    { background: linear-gradient(90deg, #8b5cf6, #6366f1); }
.phone-card.card-blue::before      { background: linear-gradient(90deg, #3b82f6, #06b6d4); }
.phone-card.card-gold::before      { background: linear-gradient(90deg, var(--gold), var(--gold2)); }
.phone-card.featured-card {
    border-color: rgba(59,130,246,0.3);
    background: rgba(0, 0, 0, 0.25);
}
@media (prefers-color-scheme: light) {
    .phone-card.featured-card {
        background: rgba(255, 255, 255, 0.25);
    }
}
.phone-card-content               { width: 100%; margin-bottom: 32px; }
.phone-card-content h3 {
    font-size: clamp(1.25rem, 2.2vw, 1.5rem);
    font-weight: 800;
    color: var(--text1);
    margin: 12px 0 10px;
    line-height: 1.15;
}
.phone-card-content p {
    font-size: 17px;
    color: var(--text-body);
    line-height: 1.65;
    font-family: 'Lora', serif;
}
.phone-card .iphone               { width: 300px; border-radius: 42px; padding: 11px; align-self: center; }
.phone-card .iphone-screen        { border-radius: 32px; aspect-ratio: unset; overflow: hidden; }
.phone-card .iphone-screen video  { display: block; width: 100%; aspect-ratio: 9/19.5; object-fit: cover; }
.phone-card .dynamic-island       { width: 82px; height: 24px; top: 9px; }

/* ==============================================
   FEATURE CARD
   ============================================== */
.feature-card {
    padding: 30px;
    border-radius: var(--radius-card);
    background: var(--surface);
    border: 1px solid var(--border);
    transition: all 0.3s ease;
    display: flex;
    gap: 18px;
    align-items: flex-start;
}
.feature-card:hover { border-color: var(--border-hi); transform: translateY(-2px); }
.feature-icon {
    flex-shrink: 0;
    width: 44px;
    height: 44px;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-top: 2px;
}

/* ==============================================
   PRICING CARDS
   ============================================== */
.pricing-card {
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    padding: 32px 26px;
    display: flex;
    flex-direction: column;
    transition: all 0.35s ease;
    position: relative;
}
.pricing-card:hover { border-color: var(--border-hi); transform: translateY(-4px); }
.pricing-card.featured-plan {
    border: 2px solid rgba(59,130,246,0.4);
    background: linear-gradient(180deg, rgba(59,130,246,0.07) 0%, var(--surface) 100%);
    box-shadow: 0 0 60px rgba(59,130,246,0.1);
}
.plan-tag {
    position: absolute;
    top: -14px;
    left: 50%;
    transform: translateX(-50%);
    background: linear-gradient(135deg, #2563eb, #06b6d4);
    color: white;
    font-family: 'Bricolage Grotesque', sans-serif;
    font-weight: 800;
    font-size: 12px;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    padding: 6px 20px;
    border-radius: 999px;
    white-space: nowrap;
}
.plan-price {
    font-family: 'Bricolage Grotesque', sans-serif;
    font-weight: 800;
    font-size: 2.4rem;
    line-height: 1;
    margin-bottom: 4px;
}
.plan-check {
    display: flex;
    align-items: center;
    gap: 9px;
    font-family: 'Bricolage Grotesque', sans-serif;
    font-size: 15px;
    color: var(--text2);
}

/* ==============================================
   COMPARISON TABLE
   ============================================== */
.comp-table { width: 100%; border-collapse: collapse; }
.comp-table th {
    padding: 14px 16px;
    font-family: 'Bricolage Grotesque', sans-serif;
    font-size: 14px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.06em;
    color: var(--text3);
    border-bottom: 1px solid var(--border);
}
.comp-table td {
    padding: 14px 16px;
    font-family: 'Bricolage Grotesque', sans-serif;
    font-size: 16px;
    color: var(--text2);
    border-bottom: 1px solid var(--border);
    text-align: center;
    vertical-align: middle;
}
.comp-table td:first-child { text-align: left; }
.comp-table tr:last-child td { border-bottom: none; }
.comp-table .qh-col   { color: var(--green); font-weight: 800; display:inline-flex; align-items:center; justify-content:center; gap:4px; }
.comp-x               { color: var(--red);   display:inline-flex; align-items:center; justify-content:center; }
.comp-partial         { color: #f59e0b;      display:inline-flex; align-items:center; justify-content:center; }

/* ==============================================
   GUARANTEE BOX
   ============================================== */
.guarantee-box {
    border: 2px solid rgba(16,185,129,0.2);
    border-radius: var(--radius-lg);
    padding: 40px;
    background: var(--green-subtle);
    transition: border-color 0.3s;
    position: relative;
    overflow: hidden;
}
.guarantee-box:hover { border-color: rgba(16,185,129,0.4); }
.guarantee-box::before {
    content: 'RISCO ZERO';
    position: absolute;
    top: 0; right: 0;
    padding: 5px 16px;
    background: rgba(16,185,129,0.15);
    border-radius: 0 var(--radius-lg) 0 12px;
    color: var(--green);
    font-family: 'Bricolage Grotesque', sans-serif;
    font-size: 12px;
    font-weight: 800;
    letter-spacing: 0.12em;
}

/* ==============================================
   FAQ ACCORDION
   ============================================== */
.faq-item {
    border-radius: 16px;
    border: 1px solid var(--border);
    background: var(--surface);
    overflow: hidden;
    transition: border-color 0.3s;
}
.faq-item:hover { border-color: var(--border-hi); }
.faq-btn {
    width: 100%;
    padding: 20px 24px;
    text-align: left;
    display: flex;
    justify-content: space-between;
    align-items: center;
    background: none;
    border: none;
    color: var(--text1);
    font-family: 'Bricolage Grotesque', sans-serif;
    font-size: 17px;
    font-weight: 600;
    cursor: pointer;
    gap: 16px;
}
.faq-arrow {
    flex-shrink: 0;
    transition: transform 0.35s cubic-bezier(0.4,0,0.2,1);
    color: var(--text3);
}
.faq-item.open .faq-arrow     { transform: rotate(180deg); }
.faq-answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.4s cubic-bezier(0.4,0,0.2,1);
}
.faq-item.open .faq-answer    { max-height: 400px; }
.faq-answer-inner {
    padding: 16px 24px 20px;
    color: var(--text2);
    font-size: 17px;
    line-height: 1.75;
    border-top: 1px solid var(--border);
    font-family: 'Lora', serif;
}

/* ==============================================
   WHATSAPP WIDGET
   ============================================== */
.wa-widget {
    position: fixed;
    bottom: 24px;
    right: 24px;
    z-index: 9999;
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    gap: 10px;
    opacity: 0;
    transform: translateY(16px);
    transition: all 0.5s cubic-bezier(0.16,1,0.3,1);
    pointer-events: none;
}
.wa-widget.show { opacity: 1; transform: translateY(0); pointer-events: auto; }
.wa-bubble {
    background: white;
    color: #1e293b;
    border-radius: 14px 14px 4px 14px;
    padding: 12px 16px;
    box-shadow: 0 8px 30px rgba(0,0,0,0.2);
    max-width: 220px;
    font-size: 15px;
    line-height: 1.5;
    opacity: 0;
    transform: scale(0.8) translateY(8px);
    transform-origin: bottom right;
    transition: all 0.35s cubic-bezier(0.34,1.56,0.64,1);
    pointer-events: none;
}
.wa-widget:hover .wa-bubble { opacity: 1; transform: scale(1) translateY(0); pointer-events: auto; }
.wa-btn { width: 58px; height: 58px; filter: drop-shadow(0 6px 16px rgba(0,0,0,0.3)); }

/* ==============================================
   KEYFRAMES
   ============================================== */
@keyframes float {
    0%, 100% { transform: translateY(0); }
    50%       { transform: translateY(-10px); }
}
@keyframes pulse-ring {
    0%   { box-shadow: 0 0 0 0 var(--green-glow); }
    70%  { box-shadow: 0 0 0 18px transparent; }
    100% { box-shadow: 0 0 0 0 transparent; }
}
@keyframes shimmer {
    0%   { background-position: -200% center; }
    100% { background-position: 200% center; }
}

/* ==============================================
   NAV
   ============================================== */
.site-nav {
    position: sticky;
    top: 0;
    z-index: 200;
    background: rgba(5,9,26,0.85);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border-bottom: 1px solid var(--border);
    transition: background 0.3s;
}
@media (prefers-color-scheme: light) {
    .site-nav { background: rgba(250,248,242,0.88); }
}

/* ==============================================
   PAIN SECTION QUOTE
   ============================================== */
.pain-quote {
    border-left: 3px solid var(--red);
    padding: 20px 24px;
    background: rgba(239,68,68,0.05);
    border-radius: 0 12px 12px 0;
    color: var(--text1);
    font-style: italic;
    font-size: 18px;
    line-height: 1.65;
}

/* ==============================================
   AUDIO SOCIAL PROOF CARDS
   ============================================== */
.audio-card {
    background: var(--bg);
    border: 1px solid var(--border);
    border-radius: 16px;
    padding: 18px 20px;
    transition: border-color 0.3s, transform 0.3s;
}
.audio-card:hover {
    border-color: var(--border-hi);
    transform: translateY(-2px);
}
.audio-player-wrap {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 10px 14px;
    background: var(--bg2);
    border-radius: 10px;
    border: 1px solid var(--border);
    margin-top: 14px;
}
.audio-play-btn {
    width: 34px;
    height: 34px;
    border-radius: 50%;
    background: var(--gold);
    border: none;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    transition: background 0.2s, transform 0.2s;
}
.audio-play-btn:hover {
    background: var(--gold2);
    transform: scale(1.07);
}
.audio-wave {
    display: flex;
    align-items: center;
    gap: 2px;
    flex: 1;
    height: 28px;
}
.audio-wave span {
    display: inline-block;
    width: 3px;
    border-radius: 2px;
    background: var(--gold);
    opacity: 0.45;
    flex-shrink: 0;
}
.audio-wave span.active {
    opacity: 1;
    animation: wave-pulse 1.2s ease-in-out infinite;
}
@keyframes wave-pulse {
    0%, 100% { opacity: 1; }
    50%       { opacity: 0.5; }
}
.audio-duration {
    font-family: 'Bricolage Grotesque', sans-serif;
    font-size: 14px;
    color: var(--text3);
    white-space: nowrap;
    flex-shrink: 0;
}
.audio-testimonial-col {
    display: flex;
    flex-direction: column;
    gap: 12px;
}
.audio-label {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    font-family: 'Bricolage Grotesque', sans-serif;
    font-size: 13px;
    font-weight: 700;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: var(--text3);
    margin-bottom: 8px;
}

/* ==============================================
   GRAND SLAM VALUE STACK
   ============================================== */
.stack-item {
    display: flex;
    align-items: center;
    gap: 14px;
    padding: 16px 0;
    border-bottom: 1px solid var(--border);
}
.stack-item:last-of-type { border-bottom: none; }
.stack-icon {
    width: 38px;
    height: 38px;
    border-radius: 10px;
    background: var(--bg2);
    border: 1px solid var(--border);
    color: var(--gold);
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    font-size: 18px;
}
.stack-info { flex: 1; }
.stack-name {
    font-family: 'Bricolage Grotesque', sans-serif;
    font-size: 17px;
    font-weight: 700;
    color: var(--text1);
    display: block;
    margin-bottom: 2px;
}
.stack-desc {
    font-family: 'Bricolage Grotesque', sans-serif;
    font-size: 14px;
    color: var(--text3);
}
.stack-val {
    font-family: 'Bricolage Grotesque', sans-serif;
    font-size: 15px;
    color: var(--text3);
    text-decoration: line-through;
    white-space: nowrap;
    flex-shrink: 0;
}
.stack-total-box {
    background: var(--gold-subtle);
    border: 1px solid rgba(245,166,35,0.2);
    border-radius: 12px;
    padding: 20px 24px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    margin-top: 8px;
    flex-wrap: wrap;
}
.stack-price-highlight {
    font-family: 'Bricolage Grotesque', sans-serif;
    font-size: clamp(1.4rem, 3vw, 2rem);
    font-weight: 800;
    color: var(--gold);
    white-space: nowrap;
}

/* ==============================================
   TEXT SHADOW — Destaque para text2 e text3
   ============================================== */
p[style*="color: var(--text2)"],
p[style*="color: var(--text3)"],
span[style*="color: var(--text2)"],
span[style*="color: var(--text3)"],
div[style*="color: var(--text2)"],
div[style*="color: var(--text3)"] {
    text-shadow: var(--text-shadow);
}
.counter-subtitle { text-shadow: var(--text-shadow); }

/* ==============================================
   BLOG CONTENT
   ============================================== */
.blog-content {
    font-family: var(--font-display);
    color: var(--color-text);
    line-height: 1.8;
    font-size: 1.2rem;
}
.blog-content p { color: var(--color-text); margin-bottom: 1.5em; }
.blog-content h1, .blog-content h2, .blog-content h3,
.blog-content h4, .blog-content h5, .blog-content h6 {
    color: var(--color-heading);
    font-weight: 700;
    line-height: 1.3;
    margin-top: 2.5em;
    margin-bottom: 0.8em;
}
.blog-content h2 { font-size: 1.875rem; border-bottom: 1px solid var(--color-border); padding-bottom: 0.5rem; }
.blog-content h3 { font-size: 1.5rem; }
.blog-content h4 { font-size: 1.25rem; }
.blog-content a  { color: var(--color-accent); text-decoration: none; font-weight: 500; border-bottom: 1px solid transparent; }
.blog-content a:hover { border-bottom-color: var(--color-accent); }
.blog-content ul, .blog-content ol { margin: 1em 0 1.5em; padding-left: 1.5em; color: var(--color-text); }
.blog-content ul { list-style-type: disc; }
.blog-content ol { list-style-type: decimal; }
.blog-content li { margin-bottom: 0.5em; padding-left: 0.5em; color: var(--color-text); }
.blog-content li::marker { color: var(--color-accent); }
.blog-content blockquote {
    border-left: 4px solid var(--color-accent);
    background-color: var(--color-code-bg);
    padding: 1.5em 2em;
    margin: 2em 0;
    border-radius: 0 0.5rem 0.5rem 0;
    font-style: italic;
    color: var(--color-heading);
}
.blog-content blockquote p:last-child { margin-bottom: 0; }
.blog-content img {
    max-width: 100%; height: auto; border-radius: 0.75rem;
    margin: 2em auto; display: block;
    border: 1px solid var(--color-border);
}
.blog-content table { width: 100%; border-collapse: collapse; margin: 2em 0; font-size: 0.95em; color: var(--color-text); }
.blog-content th, .blog-content td { border: 1px solid var(--color-border); padding: 0.75em; text-align: left; }
.blog-content th { background-color: var(--color-code-bg); color: var(--color-heading); font-weight: 600; }
.blog-content pre {
    background-color: var(--color-code-bg); color: var(--color-text);
    padding: 1.5em; border-radius: 0.5rem; overflow-x: auto;
    margin: 2em 0; border: 1px solid var(--color-border); font-family: monospace;
}
.blog-content code {
    background-color: var(--color-code-bg); padding: 0.2em 0.4em;
    border-radius: 0.25rem; font-size: 0.9em; font-family: monospace;
    color: var(--color-accent); border: 1px solid var(--color-border);
}
.blog-content pre code { background-color: transparent; padding: 0; color: inherit; border: none; }
.blog-content strong { color: var(--color-heading); font-weight: 700; }
.blog-content em     { color: var(--color-text); }
.blog-content hr     { border: 0; border-top: 1px solid var(--color-border); margin: 3em 0; }

/* ==============================================
   FOOTER
   ============================================== */
.qh-footer {
    background: var(--bg);
    border-top: 1px solid var(--border);
    padding: 56px 24px 40px;
}
.qh-footer__inner {
    max-width: 960px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    gap: 0;
}
.qh-footer__brand { display: flex; flex-direction: column; align-items: center; gap: 12px; margin-bottom: 28px; }
.qh-footer__logo  { display: flex; align-items: center; gap: 10px; opacity: 0.85; }
.qh-footer__logo-img  { height: 32px; width: auto; }
.qh-footer__logo-name {
    font-family: 'Bricolage Grotesque', 'Montserrat', sans-serif;
    font-weight: 800; font-size: 1.15rem;
    color: var(--text1); letter-spacing: -0.02em;
}
.qh-footer__tagline {
    font-family: 'Bricolage Grotesque', 'Montserrat', sans-serif;
    font-size: 15px; color: var(--text3); letter-spacing: 0.01em;
}
.qh-footer__divider { width: 100%; height: 1px; background: var(--border); margin-bottom: 24px; }
.qh-footer__bottom {
    display: flex; flex-wrap: wrap; align-items: center;
    justify-content: center; gap: 16px 32px; margin-bottom: 20px; width: 100%;
}
.qh-footer__copy   { font-family: 'Bricolage Grotesque', sans-serif; font-size: 15px; color: var(--text3); }
.qh-footer__links  { display: flex; gap: 20px; flex-wrap: wrap; justify-content: center; }
.qh-footer__link   { font-family: 'Bricolage Grotesque', sans-serif; font-size: 14px; color: var(--text3); text-decoration: none; transition: color 0.25s; }
.qh-footer__link:hover { color: var(--gold); }
.qh-footer__disclaimer {
    font-family: 'Bricolage Grotesque', sans-serif;
    font-size: 13px; color: var(--text3); opacity: 0.55;
    max-width: 600px; line-height: 1.65;
}

/* ==============================================
   RESPONSIVE
   ============================================== */
@media (max-width: 768px) {
    .btn-gold          { width: 100%; justify-content: center; font-size: 17px; padding: 16px 24px; }
    .iphone            { width: 210px; }
    .pricing-card      { padding: 26px 20px; }
    .guarantee-box     { padding: 28px 20px; }
    .stack-total-box   { flex-direction: column; text-align: center; }
    .stack-val         { font-size: 14px; }
}

/* ==============================================
   MOBILE CAROUSEL — phone cards
   ============================================== */

/* Oculta navegação no desktop */
.carousel-nav   { display: none; }
.carousel-dots  { display: none; }
.carousel-arrow { display: none; }

@media (max-width: 767px) {

    /* Nav bar acima dos cards: dots à esquerda, seta à direita */
    .carousel-nav {
        display: flex !important;
        align-items: center;
        justify-content: space-between;
        padding: 0 20px 10px;
        max-width: 1160px;
        margin: 64px auto 0;
    }

    /* Dots */
    .carousel-dots {
        display: flex !important;
        align-items: center;
        gap: 7px;
    }
    .carousel-dot {
        width: 8px;
        height: 8px;
        border-radius: 50%;
        background: rgba(255,255,255,0.25);
        transition: background 0.3s, width 0.3s, border-radius 0.3s;
        cursor: pointer;
        flex-shrink: 0;
    }
    .carousel-dot.active {
        width: 22px;
        border-radius: 4px;
        background: #fff;
    }

    /* Seta pulsante */
    .carousel-arrow {
        display: flex !important;
        align-items: center;
        gap: 5px;
        color: rgba(255,255,255,0.5);
        font-family: 'Bricolage Grotesque', sans-serif;
        font-size: 13px;
        font-weight: 600;
        letter-spacing: 0.02em;
        animation: carousel-pulse 1.6s ease-in-out infinite;
        transition: opacity 0.3s;
    }
    @keyframes carousel-pulse {
        0%, 100% { transform: translateX(0);  opacity: 0.45; }
        50%       { transform: translateX(8px); opacity: 1;    }
    }

    /* Track vira horizontal scroll */
    .phone-cards-track {
        display: flex !important;
        overflow-x: scroll;
        scroll-snap-type: x mandatory;
        scroll-behavior: smooth;
        -webkit-overflow-scrolling: touch;
        scrollbar-width: none;
        gap: 0 !important;
        max-width: 100% !important;
        margin-left: 0 !important;
        margin-right: 0 !important;
        margin-top: 0 !important;
        padding: 4px 16px 16px;
        box-sizing: border-box;
    }
    .phone-cards-track::-webkit-scrollbar { display: none; }

    /* Cada card ocupa quase 1 viewport */
    .phone-cards-track .phone-card {
        min-width: calc(100vw - 48px);
        max-width: calc(100vw - 48px);
        flex-shrink: 0;
        scroll-snap-align: center;
        margin: 0 8px;
    }

    /* iPhone maior no carrossel */
    .phone-cards-track .phone-card .iphone {
        width: min(300px, calc(100% - 16px)) !important;
    }
}

/* ==============================================
   AUDIO TESTIMONIAL CAROUSEL
   ============================================== */

/* Cabeçalho: label + nav lado a lado */
.audio-carousel-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 10px;
}
.audio-carousel-header .audio-label { margin-bottom: 0; }

/* Nav: dots + seta */
.audio-carousel-nav {
    display: flex;
    align-items: center;
    gap: 10px;
}
.audio-dots {
    display: flex;
    align-items: center;
    gap: 6px;
}
.audio-dot {
    width: 7px;
    height: 7px;
    border-radius: 50%;
    background: rgba(255,255,255,0.22);
    transition: background 0.3s, width 0.3s, border-radius 0.3s;
    cursor: pointer;
    flex-shrink: 0;
}
.audio-dot.active {
    width: 18px;
    border-radius: 3px;
    background: rgba(255,255,255,0.7);
}
.audio-arrow {
    display: flex;
    align-items: center;
    gap: 4px;
    color: rgba(255,255,255,0.4);
    font-family: 'Bricolage Grotesque', sans-serif;
    font-size: 12px;
    font-weight: 600;
    letter-spacing: 0.02em;
    animation: carousel-pulse 1.6s ease-in-out infinite;
    transition: opacity 0.3s;
    white-space: nowrap;
}

/* Track horizontal */
.audio-cards-track {
    display: flex;
    align-items: flex-start; /* cada card tem a própria altura natural */
    width: 100%;        /* força a respeitar a largura da coluna */
    min-width: 0;       /* evita overflow em grid/flex pai */
    overflow-x: scroll;
    scroll-snap-type: x mandatory;
    scroll-behavior: smooth;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
    gap: 0;
}
.audio-cards-track::-webkit-scrollbar { display: none; }
.audio-cards-track .audio-card {
    min-width: 100%;
    width: 100%;
    flex-shrink: 0;
    scroll-snap-align: start;
    box-sizing: border-box;
}

/* Card de imagem — começa compacto, expande ao ser acessado */
.audio-card-img {
    max-height: 160px;
    overflow: hidden;
    transition: max-height 0.65s cubic-bezier(0.4, 0, 0.2, 1);
}
.audio-card-img.card-img-active {
    max-height: 800px;
}
.audio-card-img img {
    width: 100%;
    border-radius: 10px;
    border: 1px solid var(--border);
    display: block;
}

/* ==============================================
   PHONE SCREEN PLACEHOLDER — backgrounds
   ============================================== */

/* Dark mode (padrão) — quase preto, tint discreto */
.phbg-purple { background: #08060e; }
.phbg-blue   { background: #06080f; }
.phbg-green  { background: #06090a; }

/* Light mode — quase branco, tint discreto */
@media (prefers-color-scheme: light) {
    .phbg-purple { background: #f4f2f9; }
    .phbg-blue   { background: #f2f5fb; }
    .phbg-green  { background: #f2f7f4; }

    /* Ícone e texto do placeholder ficam escuros no light mode */
    .phbg-purple .placeholder-label,
    .phbg-blue   .placeholder-label,
    .phbg-green  .placeholder-label  { color: rgba(0,0,0,0.45); }

    .phbg-purple .placeholder-sub,
    .phbg-blue   .placeholder-sub,
    .phbg-green  .placeholder-sub    {
        color: rgba(0,0,0,0.3);
        background: rgba(0,0,0,0.04);
        border-color: rgba(0,0,0,0.08);
    }
}