/* ============================================================
   Quebrada Network — Landing
   Estética: fintech profissional. Preto OLED, dourado, Geist.
   ============================================================ */

@import url('https://cdn.jsdelivr.net/npm/geist@1.3.1/dist/fonts/geist-sans/geist.css');
@import url('https://cdn.jsdelivr.net/npm/geist@1.3.1/dist/fonts/geist-mono/geist-mono.css');

:root {
    /* Cores */
    --bg:           #08090a;
    --surface-1:    #0e1014;
    --surface-2:    #131620;
    --border:       rgba(255, 255, 255, 0.06);
    --border-mid:   rgba(255, 255, 255, 0.12);
    --border-hi:    rgba(255, 255, 255, 0.22);

    --text:         #f5f6f8;
    --text-dim:     #9aa0a8;
    --text-mute:    #5b6068;

    --gold:         #d4a942;
    --gold-glow:    rgba(212, 169, 66, 0.18);
    --gold-strong:  #e8c46b;

    --accent:       #a3e8c4;
    --danger:       #f87171;

    --radius-sm:    8px;
    --radius:       12px;
    --radius-lg:    16px;
    --radius-xl:    24px;

    --font-sans:    'Geist', -apple-system, system-ui, sans-serif;
    --font-mono:    'Geist Mono', ui-monospace, monospace;
}

* { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }

body {
    background: var(--bg);
    color: var(--text);
    font-family: var(--font-sans);
    font-weight: 400;
    font-size: 15px;
    line-height: 1.55;
    letter-spacing: -0.005em;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    text-rendering: optimizeLegibility;
    overflow-x: hidden;
    min-height: 100vh;
    position: relative;
}

/* Luz dourada no topo, sutilíssima */
body::before {
    content: '';
    position: fixed;
    top: -300px;
    left: 50%;
    transform: translateX(-50%);
    width: 1200px;
    height: 800px;
    background: radial-gradient(ellipse at center,
        rgba(212, 169, 66, 0.08) 0%,
        rgba(212, 169, 66, 0.04) 30%,
        transparent 70%);
    pointer-events: none;
    z-index: 0;
}

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

img { max-width: 100%; display: block; }

a {
    color: inherit;
    text-decoration: none;
    transition: color 200ms ease;
}

/* ============================================================
   PRIMITIVOS
   ============================================================ */

.container {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 24px;
    position: relative;
    z-index: 1;
}

.eyebrow {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-family: var(--font-mono);
    font-size: 12px;
    font-weight: 500;
    color: var(--text-dim);
    letter-spacing: 0.02em;
}

.eyebrow .dot {
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: var(--accent);
    box-shadow: 0 0 8px var(--accent);
}

.btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 12px 18px;
    font-family: var(--font-sans);
    font-weight: 500;
    font-size: 14px;
    letter-spacing: -0.01em;
    border-radius: var(--radius-sm);
    border: 1px solid transparent;
    transition: all 180ms ease;
    cursor: pointer;
    white-space: nowrap;
}

.btn svg { width: 16px; height: 16px; }

.btn-primary {
    background: var(--text);
    color: var(--bg);
    border-color: var(--text);
}

.btn-primary:hover {
    background: var(--gold);
    border-color: var(--gold);
    color: var(--bg);
}

.btn-ghost {
    background: transparent;
    color: var(--text);
    border-color: var(--border-mid);
}

.btn-ghost:hover {
    border-color: var(--border-hi);
    background: var(--surface-1);
}

.btn-gold {
    background: var(--gold);
    color: var(--bg);
    border-color: var(--gold);
}

.btn-gold:hover {
    background: var(--gold-strong);
    border-color: var(--gold-strong);
}

/* ============================================================
   NAV
   ============================================================ */

.nav {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 100;
    padding: 16px 0;
    background: rgba(8, 9, 10, 0.85);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border-bottom: 1px solid var(--border);
}

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

.nav-brand {
    display: flex;
    align-items: center;
    gap: 10px;
    font-weight: 600;
    font-size: 16px;
    letter-spacing: -0.02em;
}

.nav-brand img { width: 28px; height: 28px; }

.nav-brand strong {
    font-weight: 600;
}

.nav-brand-badge {
    font-family: var(--font-mono);
    font-size: 10px;
    padding: 3px 7px;
    border: 1px solid var(--border-mid);
    border-radius: 999px;
    color: var(--text-dim);
    margin-left: 6px;
    letter-spacing: 0;
}

.nav-links {
    display: flex;
    align-items: center;
    gap: 32px;
    font-size: 14px;
    color: var(--text-dim);
}

.nav-links a:hover { color: var(--text); }

.nav-cta {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 8px 16px;
    background: var(--text);
    color: var(--bg);
    border-radius: var(--radius-sm);
    font-weight: 500;
    font-size: 14px;
    transition: all 180ms ease;
}

.nav-cta:hover {
    background: var(--gold);
}

.nav-cta svg { width: 14px; height: 14px; }

/* ============================================================
   HERO
   ============================================================ */

.hero {
    padding: 160px 0 100px;
    position: relative;
}

.hero-top {
    display: flex;
    justify-content: center;
    margin-bottom: 32px;
}

.hero-pill {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 6px 14px 6px 6px;
    background: var(--surface-1);
    border: 1px solid var(--border);
    border-radius: 999px;
    font-size: 13px;
    color: var(--text-dim);
    transition: all 200ms ease;
}

.hero-pill:hover {
    border-color: var(--border-mid);
    color: var(--text);
}

.hero-pill-badge {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 3px 10px;
    background: var(--bg);
    border-radius: 999px;
    font-family: var(--font-mono);
    font-size: 11px;
    color: var(--gold);
    font-weight: 500;
}

.hero-pill svg { width: 14px; height: 14px; opacity: 0.6; }

.hero-title {
    font-weight: 600;
    font-size: clamp(48px, 8vw, 96px);
    line-height: 1.02;
    letter-spacing: -0.04em;
    text-align: center;
    max-width: 900px;
    margin: 0 auto 28px;
}

.hero-title .gold {
    color: var(--gold);
}

.hero-title .gradient {
    background: linear-gradient(180deg, var(--text) 0%, var(--text-dim) 100%);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
}

.hero-sub {
    font-size: clamp(17px, 1.6vw, 20px);
    color: var(--text-dim);
    max-width: 620px;
    text-align: center;
    margin: 0 auto 44px;
    line-height: 1.5;
    letter-spacing: -0.01em;
}

.hero-actions {
    display: flex;
    justify-content: center;
    gap: 12px;
    flex-wrap: wrap;
    margin-bottom: 80px;
}

/* Bloco visual hero — preview do "produto" */
.hero-visual {
    max-width: 1080px;
    margin: 0 auto;
    padding: 24px;
    background: var(--surface-1);
    border: 1px solid var(--border);
    border-radius: var(--radius-xl);
    position: relative;
    overflow: hidden;
}

.hero-visual::before {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg,
        rgba(212, 169, 66, 0.04) 0%,
        transparent 50%);
    pointer-events: none;
}

.hero-visual-inner {
    background: var(--bg);
    border-radius: var(--radius-lg);
    padding: 36px;
    position: relative;
    z-index: 1;
}

.hero-visual-row {
    display: grid;
    grid-template-columns: 1fr 1fr 1fr;
    gap: 24px;
    margin-bottom: 32px;
}

.hero-stat-card {
    padding: 24px;
    background: var(--surface-1);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    transition: all 250ms ease;
}

.hero-stat-card:hover {
    border-color: var(--border-mid);
    transform: translateY(-2px);
}

.hero-stat-label {
    font-size: 12px;
    color: var(--text-mute);
    text-transform: uppercase;
    letter-spacing: 0.04em;
    margin-bottom: 12px;
    font-family: var(--font-mono);
    font-weight: 500;
}

.hero-stat-value {
    font-family: var(--font-mono);
    font-size: 36px;
    font-weight: 500;
    color: var(--text);
    letter-spacing: -0.03em;
    line-height: 1;
    font-variant-numeric: tabular-nums;
}

.hero-stat-trend {
    margin-top: 8px;
    display: inline-flex;
    align-items: center;
    gap: 4px;
    font-size: 12px;
    color: var(--accent);
    font-family: var(--font-mono);
}

.hero-stat-trend svg { width: 12px; height: 12px; }

.hero-visual-chart {
    height: 140px;
    background:
        linear-gradient(180deg, transparent 0%, rgba(212, 169, 66, 0.08) 100%),
        linear-gradient(90deg,
            transparent 0%, transparent 40%,
            rgba(212, 169, 66, 0.1) 50%,
            transparent 60%, transparent 100%);
    border-radius: var(--radius-sm);
    position: relative;
    overflow: hidden;
}

.hero-visual-chart svg {
    width: 100%;
    height: 100%;
    display: block;
}

/* ============================================================
   PILARES (sobre / o que somos)
   ============================================================ */

.section {
    padding: 100px 0;
    position: relative;
}

.section-head {
    max-width: 720px;
    margin-bottom: 60px;
}

.section-eyebrow {
    margin-bottom: 16px;
}

.section-title {
    font-weight: 600;
    font-size: clamp(32px, 4vw, 48px);
    line-height: 1.1;
    letter-spacing: -0.03em;
    margin-bottom: 16px;
}

.section-title .gold { color: var(--gold); }

.section-desc {
    font-size: 17px;
    color: var(--text-dim);
    line-height: 1.55;
}

/* Bento grid */
.bento {
    display: grid;
    grid-template-columns: repeat(6, 1fr);
    grid-auto-rows: minmax(180px, auto);
    gap: 16px;
}

.bento-card {
    background: var(--surface-1);
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    padding: 28px;
    transition: all 250ms ease;
    position: relative;
    overflow: hidden;
    display: flex;
    flex-direction: column;
}

.bento-card:hover {
    border-color: var(--border-mid);
    background: var(--surface-2);
}

.bento-card.wide { grid-column: span 4; }
.bento-card.normal { grid-column: span 2; }
.bento-card.half { grid-column: span 3; }
.bento-card.tall { grid-row: span 2; }

.bento-icon {
    width: 36px;
    height: 36px;
    border-radius: var(--radius-sm);
    background: var(--bg);
    border: 1px solid var(--border-mid);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--gold);
    margin-bottom: 16px;
    flex-shrink: 0;
}

.bento-icon svg { width: 18px; height: 18px; }

.bento-title {
    font-weight: 600;
    font-size: 18px;
    letter-spacing: -0.02em;
    margin-bottom: 8px;
    color: var(--text);
}

.bento-desc {
    font-size: 14px;
    color: var(--text-dim);
    line-height: 1.5;
    flex-grow: 1;
}

/* Card destaque com visual ilustrativo */
.bento-card.feature {
    grid-column: span 4;
    grid-row: span 2;
    padding: 0;
    overflow: hidden;
}

.bento-feature-content {
    padding: 36px;
    flex-grow: 1;
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    background:
        radial-gradient(circle at 80% 20%, var(--gold-glow) 0%, transparent 40%),
        var(--surface-1);
    min-height: 320px;
    position: relative;
}

.bento-feature-content::before {
    content: '';
    position: absolute;
    top: 36px;
    right: 36px;
    width: 180px;
    height: 180px;
    border-radius: 50%;
    border: 1px solid var(--border);
    background:
        radial-gradient(circle at center, var(--gold-glow) 0%, transparent 70%);
    opacity: 0.6;
}

.bento-feature-content::after {
    content: '';
    position: absolute;
    top: 86px;
    right: 86px;
    width: 80px;
    height: 80px;
    border-radius: 50%;
    border: 1px solid var(--gold);
    background: rgba(212, 169, 66, 0.1);
}

/* ============================================================
   SERVIDORES
   ============================================================ */

.servidores-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 16px;
}

.serv-card {
    background: var(--surface-1);
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    padding: 32px;
    position: relative;
    overflow: hidden;
    transition: all 250ms ease;
    min-height: 280px;
    display: flex;
    flex-direction: column;
}

.serv-card:hover {
    border-color: var(--border-mid);
    transform: translateY(-2px);
}

.serv-card::before {
    content: '';
    position: absolute;
    top: 0;
    right: 0;
    width: 240px;
    height: 240px;
    background: radial-gradient(circle at top right, var(--gold-glow) 0%, transparent 60%);
    pointer-events: none;
    opacity: 0.5;
}

.serv-card.coming::before {
    background: radial-gradient(circle at top right, rgba(255,255,255,0.04) 0%, transparent 60%);
}

.serv-card-head {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    margin-bottom: 24px;
    position: relative;
    z-index: 1;
}

.serv-card-num {
    font-family: var(--font-mono);
    font-size: 11px;
    color: var(--text-mute);
    letter-spacing: 0.05em;
}

.serv-status {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 4px 10px;
    background: rgba(163, 232, 196, 0.1);
    border: 1px solid rgba(163, 232, 196, 0.25);
    border-radius: 999px;
    font-family: var(--font-mono);
    font-size: 11px;
    color: var(--accent);
}

.serv-status.coming {
    background: rgba(212, 169, 66, 0.1);
    border-color: rgba(212, 169, 66, 0.25);
    color: var(--gold);
}

.serv-status .dot {
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: currentColor;
    box-shadow: 0 0 6px currentColor;
    animation: pulse 2s ease-in-out infinite;
}

@keyframes pulse {
    0%, 100% { opacity: 1; }
    50% { opacity: 0.5; }
}

.serv-name {
    font-weight: 600;
    font-size: 32px;
    line-height: 1;
    letter-spacing: -0.03em;
    margin-bottom: 12px;
    position: relative;
    z-index: 1;
}

.serv-name .gold { color: var(--gold); }

.serv-desc {
    font-size: 15px;
    color: var(--text-dim);
    line-height: 1.5;
    margin-bottom: auto;
    max-width: 420px;
    position: relative;
    z-index: 1;
}

.serv-meta {
    margin-top: 24px;
    padding-top: 20px;
    border-top: 1px solid var(--border);
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-family: var(--font-mono);
    font-size: 12px;
    color: var(--text-mute);
    position: relative;
    z-index: 1;
}

.serv-meta strong {
    color: var(--text);
    font-weight: 500;
}

/* ============================================================
   STATS (linha de números)
   ============================================================ */

.stats-row {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 0;
    padding: 60px 0;
    border-top: 1px solid var(--border);
    border-bottom: 1px solid var(--border);
}

.stat-cell {
    padding: 0 32px;
    border-right: 1px solid var(--border);
    text-align: left;
}

.stat-cell:last-child { border-right: none; }

.stat-cell-value {
    font-family: var(--font-mono);
    font-weight: 500;
    font-size: clamp(40px, 4vw, 56px);
    line-height: 1;
    letter-spacing: -0.04em;
    color: var(--text);
    font-variant-numeric: tabular-nums;
    margin-bottom: 12px;
    display: flex;
    align-items: baseline;
    gap: 4px;
}

.stat-cell-value .unit {
    font-size: 0.5em;
    color: var(--gold);
}

.stat-cell-label {
    font-size: 13px;
    color: var(--text-dim);
    letter-spacing: -0.005em;
}

/* ============================================================
   CTA FINAL
   ============================================================ */

.cta-section {
    padding: 120px 0;
    position: relative;
}

.cta-card {
    background:
        radial-gradient(circle at 0% 0%, var(--gold-glow) 0%, transparent 50%),
        radial-gradient(circle at 100% 100%, rgba(163, 232, 196, 0.06) 0%, transparent 50%),
        var(--surface-1);
    border: 1px solid var(--border-mid);
    border-radius: var(--radius-xl);
    padding: 80px 48px;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.cta-title {
    font-weight: 600;
    font-size: clamp(36px, 5vw, 56px);
    line-height: 1.05;
    letter-spacing: -0.04em;
    margin-bottom: 16px;
    max-width: 640px;
    margin-left: auto;
    margin-right: auto;
}

.cta-title .gold { color: var(--gold); }

.cta-desc {
    font-size: 17px;
    color: var(--text-dim);
    max-width: 480px;
    margin: 0 auto 36px;
    line-height: 1.55;
}

.cta-actions {
    display: inline-flex;
    gap: 12px;
    flex-wrap: wrap;
    justify-content: center;
}

/* ============================================================
   FOOTER
   ============================================================ */

.footer {
    padding: 64px 0 32px;
    border-top: 1px solid var(--border);
    position: relative;
}

.footer-grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1fr;
    gap: 48px;
    margin-bottom: 56px;
}

.footer-brand {
    max-width: 320px;
}

.footer-brand-logo {
    display: flex;
    align-items: center;
    gap: 10px;
    font-weight: 600;
    font-size: 17px;
    letter-spacing: -0.02em;
    margin-bottom: 16px;
}

.footer-brand-logo img { width: 32px; height: 32px; }

.footer-brand-desc {
    font-size: 14px;
    color: var(--text-dim);
    line-height: 1.55;
}

.footer-col-title {
    font-family: var(--font-mono);
    font-size: 12px;
    color: var(--text-mute);
    text-transform: uppercase;
    letter-spacing: 0.04em;
    font-weight: 500;
    margin-bottom: 18px;
}

.footer-col ul { list-style: none; }

.footer-col li { margin-bottom: 10px; }

.footer-col a {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-size: 14px;
    color: var(--text-dim);
    transition: color 200ms ease;
}

.footer-col a:hover { color: var(--text); }

.footer-col a svg { width: 15px; height: 15px; opacity: 0.7; }
.footer-col a:hover svg { opacity: 1; }

.footer-bottom {
    padding-top: 32px;
    border-top: 1px solid var(--border);
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-family: var(--font-mono);
    font-size: 12px;
    color: var(--text-mute);
}

/* ============================================================
   ANIMAÇÕES
   ============================================================ */

.fade-up {
    opacity: 0;
    transform: translateY(20px);
    transition: opacity 800ms cubic-bezier(0.16, 1, 0.3, 1),
                transform 800ms cubic-bezier(0.16, 1, 0.3, 1);
}

.fade-up.in {
    opacity: 1;
    transform: translateY(0);
}

.fade-up.d1 { transition-delay: 80ms; }
.fade-up.d2 { transition-delay: 160ms; }
.fade-up.d3 { transition-delay: 240ms; }
.fade-up.d4 { transition-delay: 320ms; }
.fade-up.d5 { transition-delay: 400ms; }

/* ============================================================
   RESPONSIVO
   ============================================================ */

@media (max-width: 960px) {
    .container { padding: 0 20px; }
    .nav-inner { padding: 0 20px; }
    .nav-links { display: none; }

    .hero { padding: 130px 0 60px; }
    .hero-visual { padding: 16px; }
    .hero-visual-inner { padding: 24px; }
    .hero-visual-row { grid-template-columns: 1fr; gap: 12px; }

    .section { padding: 70px 0; }

    .bento { grid-template-columns: repeat(2, 1fr); }
    .bento-card.wide,
    .bento-card.normal,
    .bento-card.half,
    .bento-card.feature { grid-column: span 2; }
    .bento-card.feature { grid-row: auto; }

    .servidores-grid { grid-template-columns: 1fr; }

    .stats-row { grid-template-columns: repeat(2, 1fr); padding: 40px 0; }
    .stat-cell { padding: 24px; border-bottom: 1px solid var(--border); }
    .stat-cell:nth-child(2n) { border-right: none; }
    .stat-cell:nth-last-child(-n+2) { border-bottom: none; }

    .cta-card { padding: 56px 28px; }

    .footer-grid { grid-template-columns: 1fr 1fr; gap: 36px; }
    .footer-brand { grid-column: 1 / -1; max-width: 100%; }
    .footer-bottom { flex-direction: column; gap: 12px; text-align: center; }
}

@media (max-width: 540px) {
    .bento { grid-template-columns: 1fr; }
    .bento-card.wide, .bento-card.normal,
    .bento-card.half, .bento-card.feature,
    .bento-card.tall { grid-column: span 1; grid-row: auto; }

    .stats-row { grid-template-columns: 1fr; }
    .stat-cell { border-right: none; }

    .footer-grid { grid-template-columns: 1fr; }

    .hero-actions .btn,
    .cta-actions .btn { width: 100%; justify-content: center; }
    .hero-actions, .cta-actions { width: 100%; }
}

/* ============================================================
   EFEITOS — v3
   ============================================================ */

/* Esconde cursor padrão em desktop e usa custom */
@media (hover: hover) and (pointer: fine) {
    html, body, a, button, .btn {
        cursor: none !important;
    }
}

/* Cursor customizado: dot + ring */
.cursor-dot,
.cursor-ring {
    position: fixed;
    top: 0;
    left: 0;
    pointer-events: none;
    z-index: 9999;
    will-change: transform;
}

.cursor-dot {
    width: 6px;
    height: 6px;
    background: var(--gold);
    border-radius: 50%;
    transform: translate(-50%, -50%);
    transition: opacity 200ms;
}

.cursor-ring {
    width: 32px;
    height: 32px;
    border: 1px solid rgba(212, 169, 66, 0.55);
    border-radius: 50%;
    transform: translate(-50%, -50%);
    transition: width 200ms ease, height 200ms ease,
                border-color 200ms ease, opacity 200ms,
                background 200ms ease;
}

.cursor-ring.hover {
    width: 48px;
    height: 48px;
    border-color: var(--gold);
    background: rgba(212, 169, 66, 0.06);
}

.cursor-ring.click {
    width: 24px;
    height: 24px;
    border-color: var(--gold);
    background: rgba(212, 169, 66, 0.15);
}

/* Mobile: cursor escondido */
@media (hover: none), (pointer: coarse) {
    .cursor-dot, .cursor-ring { display: none; }
}

/* ============================================================
   AURORA — gradientes animados no fundo
   ============================================================ */

/* ============================================================
   PAUSAR ANIMAÇÕES DURANTE SCROLL — crítico pra performance
   ============================================================ */

html.is-scrolling .aurora::before,
html.is-scrolling .aurora::after,
html.is-scrolling .aurora-blob,
html.is-scrolling .serv-status .dot {
    animation-play-state: paused;
}

/* Durante scroll, nav fica sólido (sem blur custoso) */
html.is-scrolling .nav {
    backdrop-filter: none;
    -webkit-backdrop-filter: none;
    background: rgba(8, 9, 10, 0.95);
}

/* Hover effects desativados durante scroll */
html.is-scrolling .bento-card,
html.is-scrolling .serv-card,
html.is-scrolling .hero-stat-card {
    transition: none;
}

/* ============================================================
   AURORA — agora confinada ao topo da página (não fixa)
   Trocando "position: fixed" por "absolute" elimina a pior parte
   do lag, porque o navegador não precisa repintar a cada scroll.
   ============================================================ */

.aurora {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 1600px;
    pointer-events: none;
    z-index: 0;
    overflow: hidden;
    transform: translateZ(0);
}

.aurora::before,
.aurora::after {
    content: '';
    position: absolute;
    width: 500px;
    height: 500px;
    border-radius: 50%;
    filter: blur(70px);
    opacity: 0.3;
    will-change: transform;
}

.aurora::before {
    top: -150px;
    left: -100px;
    background: radial-gradient(circle, rgba(212, 169, 66, 0.25), transparent 70%);
    animation: aurora-1 35s ease-in-out infinite;
}

.aurora::after {
    top: 600px;
    right: -150px;
    background: radial-gradient(circle, rgba(163, 232, 196, 0.12), transparent 70%);
    animation: aurora-2 45s ease-in-out infinite;
}

.aurora-blob {
    position: absolute;
    top: 200px;
    left: 30%;
    width: 400px;
    height: 400px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(212, 169, 66, 0.08), transparent 70%);
    filter: blur(60px);
    will-change: transform;
    animation: aurora-3 30s ease-in-out infinite;
}

@keyframes aurora-1 {
    0%, 100% { transform: translate(0, 0) scale(1); }
    33%      { transform: translate(120px, 60px) scale(1.15); }
    66%      { transform: translate(-80px, 100px) scale(0.9); }
}

@keyframes aurora-2 {
    0%, 100% { transform: translate(0, 0) scale(1); }
    50%      { transform: translate(-150px, -100px) scale(1.2); }
}

@keyframes aurora-3 {
    0%, 100% { transform: translate(-50%, 0) scale(1); }
    50%      { transform: translate(-30%, -20%) scale(1.3); }
}

/* Cancela o radial estático antigo do body (substituído pelo aurora) */
body::before { display: none; }

/* ============================================================
   CONSTELAÇÃO — canvas atrás do hero
   ============================================================ */

.constellation {
    position: absolute;
    inset: 0;
    pointer-events: none;
    z-index: 0;
    opacity: 0.5;
}

.constellation canvas {
    width: 100%;
    height: 100%;
    display: block;
}

.hero { position: relative; }
.hero > .container { position: relative; z-index: 2; }

/* ============================================================
   TILT 3D nos cards
   ============================================================ */

.tilt {
    transform-style: preserve-3d;
    transform: perspective(1000px) rotateX(0) rotateY(0);
    transition: transform 400ms cubic-bezier(0.2, 0.8, 0.2, 1);
    will-change: transform;
}

.tilt-inner {
    transform: translateZ(20px);
    transform-style: preserve-3d;
}

/* shine que segue cursor (pseudo) */
.tilt-shine {
    position: absolute;
    inset: 0;
    border-radius: inherit;
    pointer-events: none;
    background: radial-gradient(
        600px circle at var(--mx, 50%) var(--my, 50%),
        rgba(255, 255, 255, 0.06),
        transparent 40%
    );
    opacity: 0;
    transition: opacity 250ms ease;
    z-index: 1;
}

.tilt:hover .tilt-shine { opacity: 1; }

/* ============================================================
   COUNT-UP
   ============================================================ */

.count-up { font-variant-numeric: tabular-nums; }

/* ============================================================
   FADE-UP melhorado (mais movimento)
   ============================================================ */

.fade-up {
    opacity: 0;
    transform: translateY(40px);
    transition: opacity 900ms cubic-bezier(0.16, 1, 0.3, 1),
                transform 900ms cubic-bezier(0.16, 1, 0.3, 1);
}

/* Stagger automático: cada filho de .stagger entra com delay */
.stagger > .fade-up           { transition-delay: 0ms; }
.stagger > .fade-up:nth-child(2)  { transition-delay: 80ms; }
.stagger > .fade-up:nth-child(3)  { transition-delay: 160ms; }
.stagger > .fade-up:nth-child(4)  { transition-delay: 240ms; }
.stagger > .fade-up:nth-child(5)  { transition-delay: 320ms; }
.stagger > .fade-up:nth-child(6)  { transition-delay: 400ms; }
.stagger > .fade-up:nth-child(7)  { transition-delay: 480ms; }
.stagger > .fade-up:nth-child(8)  { transition-delay: 560ms; }

/* ============================================================
   BOTÕES — Magnetic shine
   ============================================================ */

.btn {
    position: relative;
    overflow: hidden;
    will-change: transform;
}

.btn::after {
    content: '';
    position: absolute;
    top: 0;
    left: -120%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg,
        transparent 0%,
        rgba(255, 255, 255, 0.18) 50%,
        transparent 100%);
    transition: left 600ms ease;
    pointer-events: none;
}

.btn:hover::after {
    left: 120%;
}

/* ============================================================
   PARALLAX HERO
   ============================================================ */

.hero-title,
.hero-sub,
.hero-pill,
.hero-actions {
    will-change: transform;
}

/* ============================================================
   PROGRESSO DE SCROLL no topo
   ============================================================ */

.scroll-progress {
    position: fixed;
    top: 0;
    left: 0;
    height: 2px;
    background: linear-gradient(90deg, var(--gold), var(--accent));
    width: 0%;
    z-index: 200;
    transition: width 100ms ease;
}

/* ============================================================
   REDUÇÃO DE MOVIMENTO (acessibilidade)
   ============================================================ */

@media (prefers-reduced-motion: reduce) {
    *, *::before, *::after {
        animation-duration: 0.01ms !important;
        transition-duration: 0.01ms !important;
    }
    .cursor-dot, .cursor-ring, .aurora, .constellation { display: none; }
    html, body, a, button, .btn { cursor: auto !important; }
}
