@import url('https://fonts.googleapis.com/css2?family=Cinzel:wght@400;700&family=Inter:wght@300;400;600;700&display=swap');

:root {
    --bg-color: #0a0a0a;
    --primary-gold: #d4af37;
    --secondary-gold: #b8860b;
    --text-white: #f5f5f5;
    --text-muted: #a0a0a0;
    --accent-glow: rgba(212, 175, 55, 0.3);
    --card-bg: rgba(255, 255, 255, 0.03);
    --transition-smooth: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}

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

html {
    overflow-x: hidden;
    -webkit-text-size-adjust: 100%;
}

body {
    background-color: var(--bg-color);
    background-image: linear-gradient(rgba(0,0,0,0.7), rgba(0,0,0,0.7)), url('assets/global-bg.png');
    background-attachment: scroll; /* fixed causa bugs em iOS Safari */
    background-size: cover;
    background-position: center;
    color: var(--text-white);
    font-family: 'Inter', sans-serif;
    line-height: 1.6;
    overflow-x: hidden;
    width: 100%;
    max-width: 100vw;
}

body::before {
    content: '';
    position: fixed;
    top: -10%;
    right: -10%;
    width: 60%;
    height: 60%;
    background: radial-gradient(circle at center, rgba(212,175,55,0.2) 0%, rgba(212,175,55,0.05) 40%, transparent 70%);
    filter: blur(80px);
    z-index: 0;
    pointer-events: none;
    animation: divineGlow 8s ease-in-out infinite alternate;
}

@keyframes divineGlow {
    from { opacity: 0.4; transform: scale(1); }
    to   { opacity: 0.7; transform: scale(1.1); }
}

h1, h2, h3, .serif {
    font-family: 'Cinzel', serif;
    letter-spacing: 2px;
}

/* ── Utilities ─────────────────────────────────── */
.container {
    max-width: 1200px;
    width: 100%;
    margin: 0 auto;
    padding: 0 16px;
}

.gold-text {
    color: var(--primary-gold);
    background: linear-gradient(to right, #d4af37, #f7e08a, #d4af37);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

/* ── Button ─────────────────────────────────────── */
.btn {
    display: inline-block;
    padding: 18px 40px;
    background: linear-gradient(135deg, var(--primary-gold), var(--secondary-gold));
    color: #000;
    text-decoration: none;
    font-weight: 700;
    text-transform: uppercase;
    border-radius: 5px;
    transition: var(--transition-smooth);
    border: none;
    cursor: pointer;
    font-size: 1.05rem;
    box-shadow: 0 10px 20px rgba(0,0,0,0.3);
    /* garante que não seja cortado */
    white-space: normal;
    text-align: center;
    line-height: 1.3;
    -webkit-tap-highlight-color: transparent;
    touch-action: manipulation;
}

.btn:hover, .btn:active {
    transform: translateY(-2px);
    box-shadow: 0 15px 30px var(--accent-glow);
    filter: brightness(1.1);
}

.pulse-btn {
    animation: pulseGlow 2s infinite;
    position: relative;
    z-index: 10;
}

@keyframes pulseGlow {
    0%   { box-shadow: 0 0 0 0 rgba(212,175,55,0.7); }
    70%  { box-shadow: 0 0 0 15px rgba(212,175,55,0); }
    100% { box-shadow: 0 0 0 0 rgba(212,175,55,0); }
}

/* ── Hero ───────────────────────────────────────── */
.hero {
    position: relative;
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 0;
    overflow: hidden;
}

.hero-content {
    width: 100%;
}

.hero-banner-container {
    position: relative;
    width: 100%;
    line-height: 0;
    padding: 3px;
    background: linear-gradient(135deg, #d4af37 0%, #f7e08a 30%, #b8860b 55%, #f7e08a 75%, #d4af37 100%);
    border-radius: 10px;
    box-shadow:
        0 0 0 1px rgba(212,175,55,0.15),
        0 0 30px rgba(212,175,55,0.25),
        0 0 70px rgba(212,175,55,0.10),
        0 8px 40px rgba(0,0,0,0.6);
}

.hero-banner-container::before {
    content: '';
    position: absolute;
    inset: -6px;
    border-radius: 14px;
    background: transparent;
    border: 1px solid rgba(212,175,55,0.2);
    pointer-events: none;
    z-index: 6;
}

.hero-banner-container::after {
    content: '';
    position: absolute;
    inset: 3px;
    border-radius: 8px;
    background: linear-gradient(115deg, transparent 30%, rgba(247,224,138,0.08) 50%, transparent 70%);
    background-size: 200% 100%;
    animation: heroShimmer 6s ease-in-out infinite;
    pointer-events: none;
    z-index: 5;
    mix-blend-mode: overlay;
}

@keyframes heroShimmer {
    0%   { background-position: 200% center; }
    50%  { background-position: -200% center; }
    100% { background-position: 200% center; }
}

.hero-banner-img {
    width: 100%;
    height: auto;
    display: block;
    object-fit: cover;
    border-radius: 8px;
}

.hero-btn-wrap {
    text-align: center;
    margin-top: 24px;
    margin-bottom: 32px;
    position: relative;
    z-index: 20;
    padding: 0 8px;
}

/* ── Pricing Card ───────────────────────────────── */
.pricing-hero {
    background: rgba(255,255,255,0.05);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border: 2px solid rgba(212,175,55,0.3);
    padding: 30px;
    border-radius: 15px;
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: center;
    gap: 24px;
    margin-bottom: 40px;
    width: 100%;
}

.price-old {
    text-decoration: line-through;
    color: var(--text-muted);
    font-size: 1.4rem;
}

.price-new {
    font-size: 2.8rem;
    font-weight: 700;
    color: var(--primary-gold);
    line-height: 1.1;
}

/* ── Sections ───────────────────────────────────── */
section {
    padding: 80px 0;
    background: transparent;
    position: relative;
    z-index: 1;
}

.section-title {
    text-align: center;
    font-size: clamp(1.6rem, 5vw, 2.5rem);
    margin-bottom: 50px;
    padding: 0 8px;
}

.detail-section {
    background: rgba(255,255,255,0.03) !important;
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
}

/* ── Detail layout ──────────────────────────────── */
.detail-inner {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 40px;
}

.detail-text {
    flex: 1 1 280px;
    min-width: 0;
}

.detail-text h2 {
    font-size: clamp(1.6rem, 4vw, 2.3rem);
    margin-bottom: 20px;
}

.detail-text ul {
    list-style: none;
    font-size: 1.05rem;
}

.detail-text ul li {
    margin-bottom: 14px;
    display: flex;
    align-items: flex-start;
    gap: 10px;
}

.detail-text ul li i {
    margin-top: 3px;
    flex-shrink: 0;
}

.detail-img {
    flex: 1 1 280px;
    min-width: 0;
    text-align: center;
}

.detail-img img {
    max-width: 100%;
    height: auto;
    filter: drop-shadow(0 0 30px var(--accent-glow));
}

/* ── Features Grid ──────────────────────────────── */
.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    gap: 24px;
}

.feature-card {
    background: var(--card-bg);
    padding: 36px 28px;
    border-radius: 15px;
    border: 1px solid rgba(255,255,255,0.05);
    transition: var(--transition-smooth);
}

.feature-card:hover {
    background: rgba(255,255,255,0.06);
    border-color: var(--primary-gold);
    transform: translateY(-8px);
}

.feature-card i {
    font-size: 2.4rem;
    color: var(--primary-gold);
    margin-bottom: 18px;
    display: block;
}

.feature-card h3 {
    margin-bottom: 12px;
    font-size: 1.1rem;
}

/* ── FAQ ────────────────────────────────────────── */
.faq-container {
    max-width: 800px;
    margin: 0 auto;
}

.faq-item {
    margin-bottom: 18px;
    border-bottom: 1px solid rgba(255,255,255,0.1);
    padding-bottom: 18px;
}

.faq-question {
    font-weight: 600;
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 12px;
    -webkit-tap-highlight-color: transparent;
    touch-action: manipulation;
    user-select: none;
    padding: 4px 0;
}

.faq-question i {
    flex-shrink: 0;
    transition: transform 0.3s ease;
}

.faq-question.open i {
    transform: rotate(180deg);
}

.faq-answer {
    margin-top: 12px;
    color: var(--text-muted);
    display: none;
    font-size: 0.97rem;
    line-height: 1.7;
}

/* ── Scarcity section ───────────────────────────── */
.scarcity-section {
    text-align: center;
    background: linear-gradient(to top, #000, var(--bg-color));
    padding: 80px 0;
}

.scarcity-section h2 {
    font-size: clamp(1.8rem, 6vw, 3rem);
    margin-bottom: 10px;
    padding: 0 8px;
}

#countdown {
    font-size: clamp(2rem, 8vw, 3rem);
    font-weight: 700;
    color: var(--primary-gold);
}

.payment-icons {
    margin-top: 28px;
    opacity: 0.6;
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 8px;
    flex-wrap: wrap;
}

.payment-icons img {
    width: 44px;
    height: 44px;
}

/* ── Footer ─────────────────────────────────────── */
footer {
    padding: 40px 16px;
    text-align: center;
    border-top: 1px solid rgba(255,255,255,0.05);
    font-size: 0.9rem;
    color: var(--text-muted);
}

/* ── Reveal animation ───────────────────────────── */
.reveal {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.8s ease-out, transform 0.8s ease-out;
}

.reveal.active {
    opacity: 1;
    transform: translateY(0);
}

/* ── Mobile overrides (≤ 600px) ─────────────────── */
@media (max-width: 600px) {
    .container {
        padding: 0 12px;
    }

    section {
        padding: 60px 0;
    }

    .hero-banner-container {
        border-radius: 8px;
    }

    .hero-banner-img {
        border-radius: 6px;
    }

    .hero-btn-wrap {
        margin-top: 18px;
        margin-bottom: 24px;
    }

    .btn {
        width: 100%;
        padding: 16px 20px;
        font-size: 0.95rem;
    }

    /* Pricing no mobile: empilha verticalmente */
    .pricing-hero {
        flex-direction: column;
        padding: 28px 20px;
        gap: 20px;
    }

    .pricing-hero > div {
        text-align: center;
    }

    .price-new {
        font-size: 2.2rem;
    }

    .price-old {
        font-size: 1.2rem;
    }

    /* Detail section: coluna única */
    .detail-inner {
        flex-direction: column;
    }

    .detail-text,
    .detail-img {
        flex: 1 1 100%;
    }

    .scarcity-section {
        padding: 60px 0;
    }
}

/* ── Tablet (601–900px) ──────────────────────────── */
@media (min-width: 601px) and (max-width: 900px) {
    .pricing-hero {
        flex-direction: column;
        align-items: center;
    }
}
