/* ============================================================
   landing.css — Landing Page | Gothic Sombrio
   ============================================================ */

/* === Hero Section === */
.hero {
    position: relative;
    width: 100%;
    height: 100vh;
    min-height: 600px;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
}

/* --- Vídeo de fundo --- */
.hero-video-wrap {
    position: absolute;
    inset: 0;
    z-index: 1;
}

.hero-video {
    width: 100%;
    height: 100%;
    object-fit: cover;
    opacity: 0.35;
    filter: saturate(0.6) contrast(1.2) hue-rotate(-20deg);
}

/* --- Overlays de cor --- */
.hero-overlay-base {
    position: absolute;
    inset: 0;
    z-index: 2;
    background:
        linear-gradient(to bottom,
            rgba(4,0,10,0.6) 0%,
            rgba(4,0,10,0.1) 30%,
            rgba(4,0,10,0.1) 70%,
            rgba(4,0,10,0.95) 100%),
        radial-gradient(ellipse at 70% 40%, rgba(139,0,0,0.25) 0%, transparent 60%),
        radial-gradient(ellipse at 30% 60%, rgba(74,0,128,0.2) 0%, transparent 60%);
}

/* --- Canvas de partículas --- */
#particles-canvas {
    position: absolute;
    inset: 0;
    z-index: 3;
    pointer-events: none;
}

/* --- Conteúdo Hero --- */
.hero-content {
    position: relative;
    z-index: 10;
    text-align: center;
    padding: 2rem;
    animation: fadeIn 1.5s ease 0.5s both;
}

.hero-eyebrow {
    font-family: var(--font-heading);
    font-size: 0.7rem;
    letter-spacing: 0.5em;
    text-transform: uppercase;
    color: var(--clr-crimson);
    margin-bottom: 1.5rem;
    opacity: 0.9;
}

.hero-title {
    font-family: var(--font-title);
    font-size: clamp(3rem, 8vw, 7rem);
    font-weight: 900;
    line-height: 1;
    letter-spacing: 0.02em;
    color: var(--clr-pale);
    margin-bottom: 0.5rem;
    position: relative;
}

/* Efeito glitch no título */
.hero-title::before,
.hero-title::after {
    content: attr(data-text);
    position: absolute;
    inset: 0;
    color: var(--clr-pale);
}
.hero-title::before {
    left: 2px;
    text-shadow: -1px 0 var(--clr-crimson);
    animation: glitch 4s infinite linear alternate-reverse;
    opacity: 0.7;
}
.hero-title::after {
    left: -2px;
    text-shadow: 2px 0 var(--clr-purple);
    animation: glitch 3.5s infinite linear alternate;
    opacity: 0.5;
}

.hero-subtitle {
    font-family: var(--font-accent);
    font-style: italic;
    font-size: clamp(1rem, 2.5vw, 1.6rem);
    color: var(--clr-mist);
    margin-bottom: 3rem;
    letter-spacing: 0.05em;
    text-shadow: 0 0 20px rgba(170,68,238,0.5);
}

.hero-actions {
    display: flex;
    gap: 1.5rem;
    justify-content: center;
    flex-wrap: wrap;
}

/* Decorações de canto */
.hero-corner {
    position: absolute;
    z-index: 11;
    opacity: 0.3;
}
.hero-corner--tl { top: 80px; left: 2rem; }
.hero-corner--tr { top: 80px; right: 2rem; transform: scaleX(-1); }
.hero-corner--bl { bottom: 2rem; left: 2rem; transform: scaleY(-1); }
.hero-corner--br { bottom: 2rem; right: 2rem; transform: scale(-1); }

.hero-corner svg {
    width: 80px; height: 80px;
    stroke: var(--clr-blood);
    fill: none;
}

/* --- Scroll indicator --- */
.scroll-hint {
    position: absolute;
    bottom: 2rem;
    left: 50%;
    transform: translateX(-50%);
    z-index: 11;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.5rem;
    opacity: 0.5;
    animation: float 2.5s ease-in-out infinite;
}
.scroll-hint span {
    font-family: var(--font-heading);
    font-size: 0.6rem;
    letter-spacing: 0.3em;
    text-transform: uppercase;
    color: var(--clr-ash);
}
.scroll-hint-arrow {
    width: 1px;
    height: 40px;
    background: linear-gradient(180deg, var(--clr-crimson), transparent);
}

/* === Sobre Section === */
.section-about {
    position: relative;
    padding: 8rem 0;
    overflow: hidden;
}

.section-about::before {
    content: '';
    position: absolute;
    top: 0; left: 0; right: 0;
    height: 1px;
    background: linear-gradient(90deg, transparent, var(--clr-blood), var(--clr-purple), transparent);
}

.about-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
}

.about-text h2 {
    font-family: var(--font-title);
    font-size: clamp(1.8rem, 3vw, 2.8rem);
    color: var(--clr-pale);
    margin-bottom: 1.5rem;
    text-shadow: var(--shadow-crimson);
}

.about-text p {
    color: var(--clr-ash);
    font-size: 1.1rem;
    line-height: 1.8;
    margin-bottom: 1rem;
}

.about-image-frame {
    position: relative;
    aspect-ratio: 3/4;
    max-height: 500px;
}

.about-image-frame img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    filter: saturate(0.8) contrast(1.1);
}

.about-image-frame::before {
    content: '';
    position: absolute;
    inset: -8px;
    border: 1px solid var(--clr-blood);
    opacity: 0.5;
}

.about-image-frame::after {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, rgba(139,0,0,0.1) 0%, transparent 50%, rgba(74,0,128,0.1) 100%);
}

/* === Features Section === */
.section-features {
    padding: 6rem 0;
    background: linear-gradient(180deg, transparent, rgba(13,0,32,0.5), transparent);
}

.section-title {
    text-align: center;
    margin-bottom: 4rem;
}

.section-title h2 {
    font-family: var(--font-title);
    font-size: clamp(1.5rem, 3vw, 2.5rem);
    color: var(--clr-pale);
    text-shadow: var(--shadow-text);
    margin-bottom: 1rem;
}

.section-title p {
    color: var(--clr-ash);
    font-family: var(--font-accent);
    font-style: italic;
    font-size: 1.1rem;
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2rem;
}

.feature-card {
    background: linear-gradient(135deg, rgba(13,0,32,0.8), rgba(26,0,53,0.5));
    border: var(--border-blood);
    padding: 2.5rem;
    position: relative;
    overflow: hidden;
    transition: transform var(--trans-med), box-shadow var(--trans-med);
}

.feature-card::before {
    content: '';
    position: absolute;
    top: 0; left: 0;
    width: 100%; height: 2px;
    background: linear-gradient(90deg, var(--clr-blood), var(--clr-purple));
}

.feature-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 20px 40px rgba(0,0,0,0.5), var(--shadow-purple);
}

.feature-icon {
    font-size: 2rem;
    margin-bottom: 1rem;
    display: block;
}

.feature-card h3 {
    font-family: var(--font-heading);
    font-size: 1rem;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: var(--clr-lilac);
    margin-bottom: 0.75rem;
}

.feature-card p {
    color: var(--clr-ash);
    font-size: 0.95rem;
    line-height: 1.7;
}

/* === Footer === */
.footer {
    padding: 3rem 0;
    border-top: 1px solid rgba(139,0,0,0.2);
    text-align: center;
}

.footer-brand {
    font-family: var(--font-title);
    font-size: 1.5rem;
    color: var(--clr-crimson);
    text-shadow: var(--shadow-crimson);
    margin-bottom: 1rem;
}

.footer-text {
    font-family: var(--font-accent);
    font-style: italic;
    color: var(--clr-ash);
    font-size: 0.9rem;
    opacity: 0.6;
}

/* === Audio Control === */
.audio-control {
    position: fixed;
    bottom: 2rem;
    right: 2rem;
    z-index: var(--z-overlay);
    width: 50px;
    height: 50px;
    border-radius: 50%;
    background: rgba(4,0,10,0.9);
    border: var(--border-blood);
    box-shadow: var(--shadow-crimson);
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all var(--trans-med);
    font-size: 1.2rem;
    color: var(--clr-crimson);
}

.audio-control:hover {
    background: var(--clr-blood);
    color: var(--clr-pale);
    transform: scale(1.1);
}

.audio-control.playing {
    animation: audioPulse 2s ease-in-out infinite;
}

@keyframes audioPulse {
    0%, 100% { box-shadow: var(--shadow-crimson); }
    50%       { box-shadow: var(--shadow-crimson), 0 0 30px rgba(204,0,32,0.4); }
}

/* === Responsivo === */
@media (max-width: 768px) {
    .about-grid { grid-template-columns: 1fr; gap: 2rem; }
    .about-image-frame { max-height: 300px; aspect-ratio: 16/9; }
    .hero-corner { display: none; }
}
