/* =============================================
   DESIGN SYSTEM — Código Forjado
   Source: design-system/codigo-forjado/MASTER.md
   Style: Dark Mode OLED + Glassmorphism
   Typography: Bebas Neue (display) + Source Sans 3 (body)
   ============================================= */

/* ── TOKENS ─────────────────────────────── */
:root {
    --bg-deep:      #000000;
    --bg-base:      #0D0D0D;
    --bg-surface:   #121212;
    --bg-elevated:  #1a1a1a;

    --gold:         #D4AF37;
    --gold-light:   #E8CC6E;
    --gold-dark:    #8B7323;
    --gold-glow:    rgba(212, 175, 55, 0.15);
    --gold-glow-s:  rgba(212, 175, 55, 0.3);

    --text-1:       #F2F2F2;
    --text-2:       #8A8A8A;
    --text-3:       #555555;

    --border:       #1f1f1f;
    --border-gold:  rgba(212, 175, 55, 0.2);

    --glass:        rgba(255, 255, 255, 0.04);
    --glass-border: rgba(255, 255, 255, 0.08);

    --green:        #00C853;
    --green-glow:   rgba(0, 200, 83, 0.15);

    --font-display: 'Bebas Neue', Impact, sans-serif;
    --font-body:    'Source Sans 3', system-ui, -apple-system, sans-serif;

    --ease: cubic-bezier(0.25, 0.46, 0.45, 0.94);
    --speed: 200ms;

    --space-xs: 0.5rem;
    --space-sm: 1rem;
    --space-md: 1.5rem;
    --space-lg: 2.5rem;
    --space-xl: 4rem;
    --space-2xl: 6rem;
    --space-3xl: 8rem;

    --radius-sm: 6px;
    --radius-md: 10px;
    --radius-lg: 16px;
}

/* ── MOTION ─────────────────────────────── */
@media (prefers-reduced-motion: reduce) {
    *, *::before, *::after {
        animation-duration: 0.01ms !important;
        transition-duration: 0.01ms !important;
    }
}

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

html {
    scroll-behavior: smooth;
    font-size: 16px;
}

body {
    font-family: var(--font-body);
    background: var(--bg-base);
    color: var(--text-1);
    line-height: 1.6;
    overflow-x: hidden;
    -webkit-font-smoothing: antialiased;
}

ul { list-style: none; }
a { text-decoration: none; color: inherit; cursor: pointer; }
button { cursor: pointer; }

.sr-only {
    position: absolute; width: 1px; height: 1px;
    padding: 0; margin: -1px; overflow: hidden;
    clip: rect(0,0,0,0); white-space: nowrap; border: 0;
}

/* ── UTILITIES ──────────────────────────── */
.gold { color: var(--gold); }

.container {
    width: 100%;
    max-width: 780px;
    margin: 0 auto;
    padding: 0 20px;
}

/* ── ANIMATIONS ─────────────────────────── */
.fade-in {
    opacity: 0;
    transform: translateY(20px);
    transition: opacity 0.6s var(--ease), transform 0.6s var(--ease);
}
.fade-in.visible { opacity: 1; transform: translateY(0); }
.delay-1 { transition-delay: 0.08s; }
.delay-2 { transition-delay: 0.16s; }
.delay-3 { transition-delay: 0.28s; }
.delay-4 { transition-delay: 0.4s; }

/* =============================================
   HERO
   ============================================= */
.hero {
    position: relative;
    min-height: 100vh;
    min-height: 100dvh;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    background: var(--bg-deep);
    overflow: hidden;
}

.hero__glow {
    position: absolute;
    top: 30%;
    left: 50%;
    translate: -50% -50%;
    width: 420px;
    height: 420px;
    background: radial-gradient(circle, var(--gold-glow-s) 0%, transparent 70%);
    filter: blur(80px);
    pointer-events: none;
}

.hero__noise {
    position: absolute;
    inset: 0;
    background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 512 512' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.65' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)' opacity='0.03'/%3E%3C/svg%3E");
    pointer-events: none;
}

.hero__content { position: relative; z-index: 1; }

/* Tag */
.tag {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 6px 18px;
    border: 1px solid var(--border);
    border-radius: 100px;
    font-size: 0.75rem;
    font-weight: 600;
    letter-spacing: 2px;
    color: var(--text-2);
    text-transform: uppercase;
    background: rgba(18,18,18,0.6);
    backdrop-filter: blur(10px);
    margin-bottom: var(--space-lg);
}
.tag svg { color: var(--gold); }

/* Title — Bebas Neue: massive, modern, impactful */
.hero__title {
    font-family: var(--font-display);
    font-size: clamp(5rem, 18vw, 12rem);
    line-height: 0.9;
    letter-spacing: 0.04em;
    color: var(--text-1);
    margin-bottom: var(--space-md);
}

.hero__title .gold,
.hero__title span {
    color: var(--gold);
    text-shadow: 0 0 60px var(--gold-glow-s);
}

/* Subtitle */
.hero__subtitle {
    font-size: clamp(1rem, 2.5vw, 1.3rem);
    font-weight: 400;
    color: var(--text-2);
    max-width: 500px;
    margin: 0 auto var(--space-lg);
}

/* Copy */
.hero__copy {
    font-size: 1rem;
    color: var(--text-2);
    max-width: 480px;
    margin: 0 auto var(--space-xl);
    line-height: 1.7;
}
.hero__copy p { margin-bottom: var(--space-sm); }
.hero__copy--strong { color: var(--text-1); font-weight: 500; }

/* CTA Scroll */
.hero__cta {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    font-family: var(--font-display);
    font-size: 1.1rem;
    letter-spacing: 3px;
    color: var(--gold);
    padding: 14px 32px;
    border: 1px solid var(--gold-dark);
    border-radius: var(--radius-sm);
    transition: all var(--speed) var(--ease);
}
.hero__cta:hover {
    background: var(--gold-glow);
    border-color: var(--gold);
    color: var(--gold-light);
}
.hero__cta svg {
    animation: float 2.5s var(--ease) infinite;
}

@keyframes float {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(5px); }
}

.hero__line {
    position: absolute; bottom: 0; left: 0; right: 0;
    height: 1px;
    background: linear-gradient(90deg, transparent, var(--gold-dark) 50%, transparent);
}

/* =============================================
   CAPTURA
   ============================================= */
.captura {
    background: var(--bg-surface);
    padding: var(--space-3xl) 0;
    border-bottom: 1px solid var(--border);
}

/* Glass Card — Glassmorphism per MASTER.md */
.glass-card {
    background: var(--glass);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    border: 1px solid var(--glass-border);
    border-radius: var(--radius-lg);
    padding: var(--space-xl) var(--space-lg);
    box-shadow: 0 0 60px -20px var(--gold-glow), 0 30px 60px -20px rgba(0,0,0,0.5);
}

/* Quote */
.captura__quote {
    border-left: 3px solid var(--gold);
    padding-left: var(--space-md);
    margin-bottom: var(--space-xl);
    font-size: 1.05rem;
    color: var(--text-2);
    line-height: 1.7;
}
.captura__quote p { margin-bottom: 0.8rem; }
.captura__quote strong { color: var(--text-1); }

/* Form */
.form { margin-bottom: var(--space-md); }

.form__row {
    display: flex;
    flex-direction: column;
    gap: var(--space-sm);
}

.form__input {
    width: 100%;
    padding: 15px 18px;
    background: var(--bg-deep);
    border: 1px solid var(--border);
    border-radius: var(--radius-sm);
    color: var(--text-1);
    font-size: 1rem;
    font-family: var(--font-body);
    transition: border-color var(--speed) var(--ease), box-shadow var(--speed) var(--ease);
}
.form__input:focus {
    outline: none;
    border-color: var(--gold);
    box-shadow: 0 0 0 3px var(--gold-glow);
}
.form__input::placeholder { color: var(--text-3); }

/* Buttons */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    width: 100%;
    padding: 15px 28px;
    border: none;
    border-radius: var(--radius-sm);
    font-family: var(--font-display);
    font-size: 1.15rem;
    letter-spacing: 2px;
    transition: all var(--speed) var(--ease);
    cursor: pointer;
}

.btn--gold {
    background: var(--gold);
    color: var(--bg-deep);
}
.btn--gold:hover {
    background: var(--gold-light);
    box-shadow: 0 8px 25px -5px var(--gold-glow-s);
}

/* CTA Wrapper — centralized */
.cta-wrap {
    display: flex;
    justify-content: center;
    margin-bottom: var(--space-lg);
}

.btn--green {
    background: var(--green);
    color: #fff;
    padding: 20px 40px;
    font-size: 1.25rem;
    letter-spacing: 2px;
    border-radius: var(--radius-md);
    box-shadow: 0 0 30px -5px var(--green-glow);
}
.btn--green:hover {
    background: #00E676;
    box-shadow: 0 12px 35px -8px var(--green-glow);
}

.btn:hover svg {
    transform: translateX(4px);
}
.btn svg {
    transition: transform var(--speed) var(--ease);
}

.btn:active {
    transform: scale(0.98);
}

.btn__spinner { display: none; }

@keyframes spin { to { transform: rotate(360deg); } }
.btn__spinner svg { animation: spin 0.8s linear infinite; }

/* Trust */
.captura__trust {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    font-size: 0.8rem;
    color: var(--text-3);
    margin-bottom: var(--space-xl);
}
.captura__trust svg { color: var(--gold-dark); flex-shrink: 0; }

/* Bullets */
.bullets { margin-bottom: var(--space-lg); }

.bullets__title {
    font-family: var(--font-display);
    font-size: 1rem;
    letter-spacing: 3px;
    color: var(--gold);
    margin-bottom: var(--space-md);
}

.bullets__list li {
    display: flex;
    align-items: flex-start;
    gap: 14px;
    margin-bottom: var(--space-sm);
    font-size: 0.95rem;
    color: var(--text-2);
    line-height: 1.5;
}
.bullets__list svg { color: var(--gold); flex-shrink: 0; margin-top: 2px; }

.captura__close {
    text-align: center;
    color: var(--text-3);
    font-size: 0.9rem;
    padding-top: var(--space-lg);
    border-top: 1px solid var(--border);
}

/* Success */
.success {
    display: none;
    text-align: center;
    padding: var(--space-lg);
    background: var(--green-glow);
    border: 1px solid rgba(0,200,83,0.25);
    border-radius: var(--radius-md);
    margin-bottom: var(--space-lg);
}
.success svg { margin: 0 auto var(--space-xs); display: block; }
.success h3 {
    font-family: var(--font-display);
    font-size: 1.4rem;
    letter-spacing: 3px;
    margin-bottom: 6px;
}
.success p { color: var(--text-2); font-size: 0.9rem; }

/* =============================================
   VENDA
   ============================================= */
.venda {
    position: relative;
    background: var(--bg-base);
    padding: var(--space-3xl) 0;
    overflow: hidden;
}

.venda__glow {
    position: absolute;
    top: 50%; left: 50%;
    translate: -50% -50%;
    width: 500px; height: 500px;
    background: radial-gradient(circle, var(--gold-glow) 0%, transparent 70%);
    filter: blur(100px);
    pointer-events: none;
}

.venda .container { position: relative; z-index: 1; }

.venda__title {
    font-family: var(--font-display);
    font-size: clamp(2rem, 6vw, 3.5rem);
    letter-spacing: 2px;
    line-height: 1.1;
    text-align: center;
    margin-bottom: var(--space-xl);
}

.venda__copy {
    font-size: 1.05rem;
    max-width: 600px;
    margin: 0 auto var(--space-xl);
    color: var(--text-2);
}
.venda__copy p { margin-bottom: var(--space-sm); }
.venda__copy strong { color: var(--text-1); }

/* Grid */
.grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: var(--space-sm);
    margin-bottom: var(--space-xl);
}

.grid__card {
    display: flex;
    flex-direction: column;
    gap: 10px;
    padding: var(--space-md);
    background: var(--bg-elevated);
    border: 1px solid var(--border);
    border-radius: var(--radius-md);
    transition: border-color var(--speed) var(--ease), box-shadow var(--speed) var(--ease);
}
.grid__card:hover {
    border-color: var(--border-gold);
    box-shadow: 0 0 30px -10px var(--gold-glow);
}

.grid__card-header {
    display: flex;
    align-items: center;
    gap: 12px;
}

.grid__icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 44px; height: 44px;
    border-radius: var(--radius-sm);
    background: var(--gold-glow);
    color: var(--gold);
    flex-shrink: 0;
}

.grid__card strong {
    display: block;
    font-size: 0.95rem;
    color: var(--text-1);
    margin-bottom: 4px;
}
.grid__card p {
    font-size: 0.85rem;
    color: var(--text-2);
    line-height: 1.4;
}

/* Price — amplified */
.price {
    text-align: center;
    padding: var(--space-xl) var(--space-lg);
    border: 2px solid var(--gold-dark);
    border-radius: var(--radius-lg);
    background: linear-gradient(180deg, rgba(212,175,55,0.06) 0%, rgba(212,175,55,0.02) 50%, transparent 100%);
    margin-bottom: var(--space-xl);
    box-shadow: 0 0 60px -15px var(--gold-glow), 0 0 120px -40px var(--gold-glow);
    position: relative;
    overflow: hidden;
}

.price::before {
    content: '';
    position: absolute;
    top: 0;
    left: 50%;
    translate: -50% 0;
    width: 200px;
    height: 1px;
    background: linear-gradient(90deg, transparent, var(--gold), transparent);
}

.price__badge {
    display: inline-block;
    font-family: var(--font-display);
    font-size: 0.75rem;
    letter-spacing: 4px;
    color: var(--gold);
    background: var(--gold-glow);
    padding: 6px 18px;
    border-radius: 100px;
    border: 1px solid var(--border-gold);
    margin-bottom: var(--space-md);
}

.price__old {
    font-size: 1rem;
    color: var(--text-3);
    margin-bottom: 4px;
}

.price__now {
    font-family: var(--font-display);
    font-size: clamp(5rem, 16vw, 8rem);
    color: var(--gold);
    letter-spacing: 3px;
    line-height: 1;
    margin-bottom: var(--space-md);
    text-shadow: 0 0 60px var(--gold-glow-s), 0 0 120px var(--gold-glow);
}

.price__sub {
    color: var(--text-3);
    font-size: 0.9rem;
    max-width: 360px;
    margin: 0 auto;
}

/* Urgency */
.venda__urgency {
    display: flex;
    align-items: flex-start;
    justify-content: center;
    gap: 10px;
    text-align: center;
    font-size: 0.85rem;
    color: var(--text-3);
    max-width: 460px;
    margin: 0 auto;
    line-height: 1.5;
}
.venda__urgency svg { color: var(--gold-dark); flex-shrink: 0; margin-top: 2px; }

/* =============================================
   FOOTER
   ============================================= */
.footer {
    padding: var(--space-xl) 0;
    text-align: center;
    border-top: 1px solid var(--border);
    background: var(--bg-deep);
}

.footer__sigma {
    display: block;
    font-family: var(--font-display);
    font-size: 1.4rem;
    color: var(--gold-dark);
    margin-bottom: var(--space-xs);
}

.footer p {
    color: var(--text-3);
    font-size: 0.8rem;
}
.footer a {
    color: var(--gold-dark);
    transition: color var(--speed) var(--ease);
}
.footer a:hover { color: var(--gold); }

/* =============================================
   RESPONSIVE
   ============================================= */
@media (min-width: 640px) {
    .form__row {
        flex-direction: row;
    }
    .btn--gold {
        width: auto;
        white-space: nowrap;
        padding-left: 28px;
        padding-right: 28px;
    }
    .glass-card {
        padding: var(--space-xl);
    }
}

@media (min-width: 768px) {
    .grid {
        grid-template-columns: 1fr 1fr;
    }
    .grid__card:last-child:nth-child(odd) {
        grid-column: 1 / -1;
        max-width: 50%;
        margin: 0 auto;
    }
}

@media (min-width: 1024px) {
    .hero__glow {
        width: 600px;
        height: 600px;
    }
}
