/* DEMU intro */
:root {
    --void: #080605;
    --bg: #110d0b;
    --card: #1a1210;
    --card-hover: #241a17;
    --text: #f2ece4;
    --muted: #9e9188;
    --gold: #e8c56a;
    --gold-dim: #b8894a;
    --fire: #d65638;
    --blood: #b83a28;
    --border: rgba(198, 147, 86, 0.22);
    --border-strong: rgba(232, 197, 106, 0.42);
    --gradient-gold: linear-gradient(120deg, #fff0c8 0%, #e8c56a 35%, #a67c3a 85%);
    --gradient-fire: linear-gradient(90deg, var(--blood), var(--gold));
    --shadow-gold: 0 4px 32px rgba(232, 197, 106, 0.22);
    --font-display: "Cinzel", Georgia, serif;
    --font-body: "Rajdhani", "Segoe UI", Tahoma, sans-serif;
    --ease: cubic-bezier(0.22, 1, 0.36, 1);
}

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

body {
    font-family: var(--font-body);
    font-size: 1.0625rem;
    line-height: 1.55;
    color: var(--text);
    background: var(--void);
    overflow-x: hidden;
}

img { display: block; max-width: 100%; height: auto; }
a { color: inherit; text-decoration: none; }
strong { color: var(--gold); font-weight: 600; }

/* Reveal */
.is-waiting {
    opacity: 0;
    transform: translateY(20px);
    transition: opacity 0.65s var(--ease), transform 0.65s var(--ease);
}

.is-visible,
.intro-hero__frame {
    opacity: 1;
    transform: translateY(0);
}

[data-reveal].is-waiting:nth-child(2) { transition-delay: 0.08s; }
[data-reveal].is-waiting:nth-child(3) { transition-delay: 0.14s; }

/* Shell */
.intro-page {
    position: relative;
    min-height: 100vh;
    background: var(--void);
}

/* Cena fixa: BG + fumaça + brasas em todo o site */
.intro-scene {
    position: fixed;
    inset: 0;
    z-index: 0;
    pointer-events: none;
    overflow: hidden;
}

.intro-bg {
    position: absolute;
    inset: -12% -8%;
    will-change: transform;
}

.intro-bg img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center 30%;
    animation: bg-breathe 36s ease-in-out infinite alternate;
}

@keyframes bg-breathe {
    from { transform: scale(1.05); }
    to { transform: scale(1.12); }
}

.intro-bg__shade {
    position: absolute;
    inset: 0;
    box-shadow: inset 0 0 140px rgba(0, 0, 0, 0.55);
    background:
        linear-gradient(180deg, rgba(8, 6, 5, 0.45) 0%, rgba(12, 9, 8, 0.62) 45%, rgba(8, 6, 5, 0.78) 100%),
        radial-gradient(ellipse 100% 80% at 50% 100%, rgba(0, 0, 0, 0.45), transparent 50%),
        radial-gradient(ellipse 55% 35% at 50% 0%, rgba(184, 58, 40, 0.12), transparent 50%);
}

/* Neblina fixa no chão (sempre visível) */
.intro-fog-floor {
    position: absolute;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 2;
    height: 55vh;
    pointer-events: none;
    background:
        linear-gradient(0deg, rgba(72, 58, 52, 0.55) 0%, rgba(48, 38, 34, 0.28) 35%, transparent 100%);
    filter: blur(2px);
    animation: fog-floor-pulse 8s ease-in-out infinite alternate;
}

@keyframes fog-floor-pulse {
    from { opacity: 0.75; }
    to { opacity: 1; }
}

/* Fumaça CSS */
.intro-smoke {
    position: absolute;
    inset: 0;
    z-index: 2;
    overflow: hidden;
    mix-blend-mode: screen;
    opacity: 1;
}

.intro-smoke__wisp {
    position: absolute;
    border-radius: 50%;
    filter: blur(36px) brightness(1.35);
    opacity: 0;
    animation: smoke-rise linear infinite;
    will-change: transform, opacity;
}

.intro-smoke__wisp--a {
    width: min(110vw, 680px);
    height: min(65vh, 420px);
    left: -18%;
    bottom: -22%;
    background: radial-gradient(ellipse, rgba(120, 100, 92, 0.85) 0%, rgba(70, 55, 50, 0.35) 45%, transparent 72%);
    animation-duration: 24s;
}

.intro-smoke__wisp--b {
    width: min(95vw, 560px);
    height: min(58vh, 380px);
    right: -12%;
    bottom: -28%;
    background: radial-gradient(ellipse, rgba(100, 82, 75, 0.8) 0%, rgba(55, 44, 40, 0.3) 50%, transparent 70%);
    animation-duration: 30s;
    animation-delay: -6s;
}

.intro-smoke__wisp--c {
    width: min(120vw, 720px);
    height: min(70vh, 460px);
    left: 10%;
    bottom: -35%;
    background: radial-gradient(ellipse, rgba(140, 115, 105, 0.75) 0%, rgba(65, 52, 48, 0.28) 48%, transparent 74%);
    animation-duration: 36s;
    animation-delay: -14s;
}

.intro-smoke__wisp--d {
    width: min(80vw, 480px);
    height: min(50vh, 320px);
    left: 35%;
    bottom: -15%;
    background: radial-gradient(ellipse, rgba(90, 72, 65, 0.78) 0%, transparent 68%);
    animation-duration: 20s;
    animation-delay: -3s;
}

.intro-smoke__wisp--e {
    width: min(100vw, 620px);
    height: min(62vh, 400px);
    right: 5%;
    bottom: -38%;
    background: radial-gradient(ellipse, rgba(110, 90, 82, 0.72) 0%, transparent 76%);
    animation-duration: 42s;
    animation-delay: -20s;
}

.intro-smoke__wisp--f {
    width: min(70vw, 440px);
    height: min(45vh, 300px);
    left: 55%;
    bottom: -25%;
    background: radial-gradient(ellipse, rgba(130, 108, 98, 0.7) 0%, transparent 70%);
    animation-duration: 26s;
    animation-delay: -11s;
}

.intro-smoke__wisp--g {
    width: min(85vw, 500px);
    height: min(52vh, 340px);
    left: -5%;
    bottom: 5%;
    background: radial-gradient(ellipse, rgba(95, 78, 70, 0.65) 0%, transparent 72%);
    animation-duration: 32s;
    animation-delay: -18s;
}

.intro-smoke__wisp--h {
    width: min(90vw, 540px);
    height: min(48vh, 310px);
    right: 25%;
    bottom: -8%;
    background: radial-gradient(ellipse, rgba(115, 95, 88, 0.68) 0%, transparent 68%);
    animation-duration: 38s;
    animation-delay: -9s;
}

@keyframes smoke-rise {
    0% {
        opacity: 0;
        transform: translateY(5%) scale(0.95);
    }
    12% {
        opacity: 0.92;
    }
    45% {
        opacity: 0.72;
        transform: translateY(-40%) scale(1.2);
    }
    78% {
        opacity: 0.38;
    }
    100% {
        opacity: 0;
        transform: translateY(-85%) scale(1.45);
    }
}

/* Canvas: fumaça + brasas por cima da imagem */
.intro-fx {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
}

.intro-fx--smoke {
    z-index: 3;
    opacity: 1;
    mix-blend-mode: screen;
}

.intro-fx--sparks {
    z-index: 4;
    opacity: 0.75;
}

.intro-veil {
    position: absolute;
    inset: 0;
    z-index: 5;
    background:
        radial-gradient(ellipse 100% 60% at 50% 0%, rgba(184, 58, 40, 0.1), transparent 55%),
        radial-gradient(ellipse 80% 50% at 100% 100%, rgba(232, 197, 106, 0.04), transparent 50%);
}

/* Top */
.intro-top {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 100;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0.9rem clamp(1rem, 4vw, 2rem);
    background: linear-gradient(180deg, rgba(8, 6, 5, 0.9), transparent);
}

.intro-top__brand {
    font-family: var(--font-display);
    font-size: clamp(0.72rem, 2vw, 0.82rem);
    font-weight: 600;
    letter-spacing: 0.24em;
    text-transform: uppercase;
    color: var(--gold);
}

.intro-top__actions {
    display: flex;
    align-items: center;
    gap: 0.65rem;
}

.intro-top__pill {
    padding: 0.22rem 0.7rem;
    font-size: 0.68rem;
    font-weight: 700;
    letter-spacing: 0.18em;
    color: var(--void);
    background: var(--gradient-gold);
    box-shadow: var(--shadow-gold);
}

/* Música de fundo */
.intro-audio-el {
    display: none;
}

.intro-audio {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 2.35rem;
    height: 2.35rem;
    padding: 0;
    color: var(--gold);
    background: rgba(12, 9, 8, 0.65);
    border: 1px solid var(--border-strong);
    border-radius: 2px;
    cursor: pointer;
    transition: color 0.2s, background 0.2s, box-shadow 0.2s, border-color 0.2s;
}

.intro-audio:hover {
    color: #fff;
    background: rgba(232, 197, 106, 0.12);
    box-shadow: 0 0 20px rgba(232, 197, 106, 0.2);
}

.intro-audio.is-playing {
    color: var(--void);
    background: var(--gradient-gold);
    border-color: rgba(255, 240, 200, 0.5);
    animation: audio-glow 2s ease-in-out infinite;
}

.intro-audio.is-missing {
    opacity: 0.45;
    cursor: not-allowed;
}

@keyframes audio-glow {
    0%, 100% { box-shadow: 0 0 12px rgba(232, 197, 106, 0.35); }
    50% { box-shadow: 0 0 22px rgba(232, 197, 106, 0.55); }
}

.intro-audio__icon {
    width: 1.15rem;
    height: 1.15rem;
}

.intro-audio__icon--on {
    display: none;
}

.intro-audio.is-playing .intro-audio__icon--off {
    display: none;
}

.intro-audio.is-playing .intro-audio__icon--on {
    display: block;
}

/* Hero */
.intro-hero {
    position: relative;
    z-index: 10;
    min-height: 100vh;
    min-height: 100dvh;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 5.5rem 1.25rem 3.5rem;
}

.intro-hero__inner {
    position: relative;
    z-index: 1;
    width: 100%;
    max-width: 44rem;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.intro-hero__frame {
    position: relative;
    display: flex;
    flex-direction: column;
    align-items: center;
    width: 100%;
    padding: clamp(1.75rem, 4vw, 2.5rem) clamp(1.25rem, 4vw, 2rem);
    text-align: center;
    background:
        linear-gradient(165deg, rgba(20, 14, 12, 0.82) 0%, rgba(10, 8, 7, 0.68) 100%);
    border: 1px solid var(--border);
    box-shadow:
        0 32px 100px rgba(0, 0, 0, 0.55),
        inset 0 1px 0 rgba(232, 197, 106, 0.1);
    backdrop-filter: blur(16px);
    animation: frame-in 1s var(--ease) both;
}

@keyframes frame-in {
    from { opacity: 0; transform: translateY(28px) scale(0.98); }
    to { opacity: 1; transform: translateY(0) scale(1); }
}

.intro-hero__corner {
    position: absolute;
    width: 22px;
    height: 22px;
    border-color: var(--gold-dim);
    border-style: solid;
    opacity: 0.85;
}

.intro-hero__corner--tl { top: 10px; left: 10px; border-width: 2px 0 0 2px; }
.intro-hero__corner--tr { top: 10px; right: 10px; border-width: 2px 2px 0 0; }
.intro-hero__corner--bl { bottom: 10px; left: 10px; border-width: 0 0 2px 2px; }
.intro-hero__corner--br { bottom: 10px; right: 10px; border-width: 0 2px 2px 0; }

.intro-logo-wrap {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    width: 100%;
    margin: 0 auto 1.2rem;
}

.intro-logo-rule {
    display: block;
    width: min(14rem, 55%);
    height: 1px;
    margin-top: 0.9rem;
    background: linear-gradient(90deg, transparent, var(--gold-dim), transparent);
    opacity: 0.85;
}

.intro-logo {
    display: block;
    width: min(300px, 72vw);
    max-width: 100%;
    margin-left: auto;
    margin-right: auto;
    filter: drop-shadow(0 10px 40px rgba(0, 0, 0, 0.7));
}

.intro-eyebrow {
    display: inline-flex;
    align-items: center;
    gap: 0.55rem;
    margin-bottom: 1rem;
    padding: 0.4rem 1rem;
    font-size: 0.68rem;
    font-weight: 700;
    letter-spacing: 0.28em;
    text-transform: uppercase;
    color: var(--gold);
    border: 1px solid var(--border-strong);
    background: rgba(8, 6, 5, 0.55);
}

.intro-live {
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: var(--gold);
    box-shadow: 0 0 12px var(--gold);
    animation: pulse-dot 2s ease-in-out infinite;
}

@keyframes pulse-dot {
    0%, 100% { opacity: 1; }
    50% { opacity: 0.35; }
}

.intro-headline {
    font-family: var(--font-display);
    font-weight: 700;
    line-height: 1.05;
    margin-bottom: 1rem;
}

.intro-headline__line {
    display: block;
    font-size: clamp(1.5rem, 5vw, 2.2rem);
    letter-spacing: 0.08em;
    color: var(--text);
}

.intro-headline__line--gold {
    font-size: clamp(2.1rem, 7.5vw, 3.2rem);
    background: var(--gradient-gold);
    background-size: 200% auto;
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
    animation: gold-shimmer 6s linear infinite;
}

@keyframes gold-shimmer {
    0% { background-position: 0% center; }
    100% { background-position: 200% center; }
}

.intro-lead {
    max-width: 42ch;
    margin: 0 auto;
    font-size: clamp(1rem, 2.5vw, 1.13rem);
    font-weight: 500;
    line-height: 1.6;
    color: var(--muted);
}

/* Buttons */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.45rem;
    min-width: 8.5rem;
    padding: 0.72rem 1.4rem;
    font-family: var(--font-body);
    font-size: 0.82rem;
    font-weight: 700;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    border: 1px solid transparent;
    cursor: pointer;
    transition: transform 0.22s var(--ease), box-shadow 0.22s, color 0.2s, background 0.2s;
}

.btn:hover { transform: translateY(-3px); }
.btn--lg { padding: 0.82rem 1.55rem; }
.btn__icon { width: 1.2em; height: 1.2em; }

.btn--primary {
    color: var(--void);
    background: var(--gradient-gold);
    border-color: rgba(255, 240, 200, 0.45);
    box-shadow: var(--shadow-gold);
}

.btn--primary:hover {
    box-shadow: 0 6px 40px rgba(232, 197, 106, 0.4);
}

.btn--outline {
    color: var(--text);
    background: rgba(8, 6, 5, 0.4);
    border-color: var(--border-strong);
}

.btn--outline:hover {
    color: var(--gold);
    background: rgba(232, 197, 106, 0.06);
}

/* Scroll */
.intro-scroll {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.5rem;
    margin-top: 2.25rem;
    font-size: 0.65rem;
    font-weight: 700;
    letter-spacing: 0.3em;
    text-transform: uppercase;
    color: var(--muted);
}

.intro-scroll__line {
    display: block;
    width: 1px;
    height: 2.5rem;
    background: linear-gradient(180deg, var(--gold-dim), transparent);
    animation: scroll-line 2s ease-in-out infinite;
}

@keyframes scroll-line {
    0%, 100% { opacity: 0.35; transform: scaleY(0.7); transform-origin: top; }
    50% { opacity: 1; transform: scaleY(1); }
}

.intro-scroll:hover { color: var(--gold); }

/* Main */
.intro-main {
    position: relative;
    z-index: 10;
    max-width: 58rem;
    margin: 0 auto;
    padding: 0 clamp(1rem, 4vw, 1.5rem) 3.5rem;
}

.intro-stats {
    list-style: none;
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 0.6rem;
    margin-bottom: 2.75rem;
}

@media (min-width: 600px) {
    .intro-stats { grid-template-columns: repeat(4, 1fr); }
}

.intro-stats li {
    padding: 1.1rem 0.65rem;
    text-align: center;
    background: rgba(20, 14, 12, 0.72);
    backdrop-filter: blur(10px);
    border: 1px solid var(--border);
    transition: border-color 0.3s, transform 0.3s var(--ease), box-shadow 0.3s;
}

.intro-stats li:hover {
    border-color: var(--border-strong);
    transform: translateY(-4px);
    box-shadow: 0 12px 32px rgba(0, 0, 0, 0.35);
}

.intro-stats__value {
    display: block;
    font-family: var(--font-display);
    font-size: 1.4rem;
    font-weight: 700;
    letter-spacing: 0.1em;
    color: var(--gold);
    margin-bottom: 0.15rem;
}

.intro-stats__label {
    font-size: 0.72rem;
    font-weight: 600;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: var(--muted);
}

.intro-divider {
    display: flex;
    align-items: center;
    gap: 1.25rem;
    margin-bottom: 2.75rem;
    color: var(--gold-dim);
    opacity: 0.55;
}

.intro-divider span {
    flex: 1;
    height: 1px;
    background: linear-gradient(90deg, transparent, var(--border-strong), transparent);
}

/* Features */
.intro-section-title {
    font-family: var(--font-display);
    font-size: clamp(1.3rem, 3.5vw, 1.65rem);
    font-weight: 700;
    letter-spacing: 0.12em;
    text-align: center;
    text-transform: uppercase;
    margin-bottom: 0.45rem;
}

.intro-section-lead {
    text-align: center;
    color: var(--muted);
    margin-bottom: 1.85rem;
    font-size: 1.02rem;
}

.intro-features__grid {
    display: grid;
    gap: 0.85rem;
    margin-bottom: 2.75rem;
}

@media (min-width: 600px) {
    .intro-features__grid { grid-template-columns: repeat(2, 1fr); }
}

.feature-card {
    position: relative;
    padding: 1.6rem 1.4rem 1.35rem;
    background: linear-gradient(160deg, rgba(26, 18, 16, 0.78) 0%, rgba(14, 10, 9, 0.65) 100%);
    backdrop-filter: blur(12px);
    border: 1px solid var(--border);
    overflow: hidden;
    transition: border-color 0.35s, transform 0.35s var(--ease), box-shadow 0.35s;
}

.feature-card::after {
    content: "";
    position: absolute;
    inset: 0;
    background: radial-gradient(circle at 100% 0%, rgba(214, 86, 56, 0.12), transparent 55%);
    opacity: 0;
    transition: opacity 0.35s;
    pointer-events: none;
}

.feature-card:hover {
    border-color: var(--border-strong);
    transform: translateY(-5px);
    box-shadow: 0 16px 48px rgba(0, 0, 0, 0.4);
}

.feature-card:hover::after { opacity: 1; }

.feature-card__num {
    position: absolute;
    top: 0.75rem;
    right: 0.85rem;
    font-family: var(--font-display);
    font-size: 0.75rem;
    font-weight: 600;
    letter-spacing: 0.05em;
    color: rgba(232, 197, 106, 0.25);
}

.feature-card__icon {
    width: 2.25rem;
    height: 2.25rem;
    margin-bottom: 0.85rem;
    color: var(--fire);
}

.feature-card__icon svg {
    width: 100%;
    height: 100%;
}

.feature-card h3 {
    font-family: var(--font-display);
    font-size: 1rem;
    font-weight: 600;
    letter-spacing: 0.05em;
    color: var(--gold);
    margin-bottom: 0.4rem;
}

.feature-card p {
    font-size: 0.94rem;
    color: var(--muted);
    line-height: 1.5;
}

/* Quote */
.intro-quote {
    position: relative;
    margin: 0 0 2rem;
    padding: 2.25rem 1.5rem 2rem;
    text-align: center;
    border: 1px solid var(--border);
    background:
        linear-gradient(180deg, rgba(30, 22, 18, 0.75) 0%, rgba(12, 9, 8, 0.7) 100%);
    backdrop-filter: blur(14px);
    box-shadow: inset 0 0 60px rgba(184, 58, 40, 0.08);
}

.intro-quote::before,
.intro-quote::after {
    content: "";
    position: absolute;
    left: 50%;
    transform: translateX(-50%);
    width: 60%;
    height: 1px;
    background: var(--gradient-fire);
    opacity: 0.5;
}

.intro-quote::before { top: 0; }
.intro-quote::after { bottom: 0; }

.intro-quote__ornament {
    font-size: 1.25rem;
    color: var(--gold-dim);
    margin-bottom: 0.75rem;
    opacity: 0.8;
}

.intro-quote__text {
    font-family: var(--font-display);
    font-size: clamp(1.35rem, 4vw, 1.85rem);
    font-weight: 600;
    line-height: 1.35;
    letter-spacing: 0.04em;
    color: var(--text);
}

.intro-quote__foot {
    margin-top: 1rem;
    font-size: 0.72rem;
    font-weight: 700;
    letter-spacing: 0.28em;
    text-transform: uppercase;
    color: var(--gold-dim);
}

/* Soon list */
.intro-soon {
    list-style: none;
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 0.55rem 1rem;
    max-width: 32rem;
    margin: 0 auto;
}

@media (min-width: 500px) {
    .intro-soon { grid-template-columns: repeat(4, 1fr); max-width: none; }
}

.intro-soon li {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 0.78rem;
    font-weight: 600;
    letter-spacing: 0.04em;
    text-transform: uppercase;
    color: var(--muted);
}

.intro-soon__dot {
    flex-shrink: 0;
    width: 5px;
    height: 5px;
    border-radius: 50%;
    background: var(--gold-dim);
    box-shadow: 0 0 8px rgba(232, 197, 106, 0.4);
}

/* Footer */
.intro-footer {
    position: relative;
    z-index: 10;
    padding: 2.75rem 1.25rem 2.25rem;
    text-align: center;
    border-top: 1px solid var(--border);
    background: linear-gradient(180deg, transparent, rgba(8, 6, 5, 0.75));
    backdrop-filter: blur(8px);
}

.intro-footer__logo {
    width: 96px;
    margin: 0 auto 1rem;
    opacity: 0.8;
}

.intro-footer__copy {
    font-size: 0.86rem;
    color: var(--muted);
    margin-bottom: 0.45rem;
}

.intro-footer__legal {
    font-size: 0.7rem;
    color: rgba(158, 145, 136, 0.6);
    max-width: 34rem;
    margin: 0 auto;
    line-height: 1.5;
}

/* A11y motion */
@media (prefers-reduced-motion: reduce) {
    .intro-bg img,
    .intro-smoke__wisp,
    .intro-headline__line--gold,
    .intro-live,
    .intro-scroll__line {
        animation: none;
    }
    .intro-fx { display: none; }
    .is-waiting { opacity: 1; transform: none; transition: none; }
}
