/* ============================================================
   HOME.CSS - Página Inicial Cinematográfica
   ============================================================ */

/* === HERO === */
.hero {
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: 8rem 2rem 4rem;
    overflow: hidden;
}

.hero::before {
    content: '';
    position: absolute;
    inset: 0;
    background:
        radial-gradient(ellipse at 20% 50%, rgba(220, 38, 38, 0.08) 0%, transparent 50%),
        radial-gradient(ellipse at 80% 50%, rgba(59, 130, 246, 0.08) 0%, transparent 50%),
        radial-gradient(ellipse at 50% 100%, rgba(168, 85, 247, 0.05) 0%, transparent 50%);
    z-index: 0;
}

.hero::after {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(to bottom, transparent 60%, var(--bg-deep) 100%);
    z-index: 1;
}

.hero-content {
    position: relative;
    z-index: 2;
    max-width: 900px;
}

.hero-tag {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.5rem 1rem;
    background: rgba(220, 38, 38, 0.1);
    border: 1px solid rgba(220, 38, 38, 0.3);
    border-radius: 100px;
    color: var(--aura-vermelho);
    font-size: 0.85rem;
    font-weight: 500;
    margin-bottom: 2rem;
    animation: fadeInUp 0.6s ease 0.2s forwards;
    opacity: 0;
}

.hero-title {
    font-size: clamp(3rem, 10vw, 6rem);
    font-weight: 800;
    letter-spacing: -0.04em;
    line-height: 1;
    margin-bottom: 1.5rem;
    animation: fadeInUp 0.6s ease 0.3s forwards;
    opacity: 0;
}

.hero-title span {
    background: linear-gradient(135deg, var(--aura-vermelho) 0%, var(--aura-amarelo) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.hero-subtitle {
    font-size: clamp(1.25rem, 3vw, 1.5rem);
    color: var(--text-secondary);
    font-weight: 400;
    margin-bottom: 2rem;
    animation: fadeInUp 0.6s ease 0.4s forwards;
    opacity: 0;
}

.hero-quote {
    font-size: 1.125rem;
    color: var(--text-muted);
    font-style: italic;
    line-height: 1.8;
    max-width: 600px;
    margin: 0 auto 3rem;
    animation: fadeInUp 0.6s ease 0.5s forwards;
    opacity: 0;
}

.hero-cta {
    display: flex;
    gap: 1rem;
    justify-content: center;
    flex-wrap: wrap;
    animation: fadeInUp 0.6s ease 0.6s forwards;
    opacity: 0;
}

.hero-scroll {
    position: absolute;
    bottom: 3rem;
    left: 50%;
    transform: translateX(-50%);
    z-index: 2;
    color: var(--text-muted);
    font-size: 0.85rem;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.5rem;
    animation: pulse 2s infinite;
}

.hero-scroll::after {
    content: '';
    width: 1px;
    height: 40px;
    background: linear-gradient(to bottom, var(--text-muted), transparent);
}

/* === SEÇÃO O QUE É === */
.what-is {
    background: var(--bg-primary);
}

.what-is-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
}

.what-is-card {
    text-align: center;
    padding: 3rem 2rem;
    background: var(--bg-card);
    border: 1px solid var(--border-subtle);
    border-radius: 24px;
    transition: all var(--transition-normal);
}

.what-is-card:hover {
    border-color: var(--border-hover);
    transform: translateY(-8px);
}

.what-is-card:nth-child(1):hover { box-shadow: 0 20px 60px rgba(220, 38, 38, 0.15); }
.what-is-card:nth-child(2):hover { box-shadow: 0 20px 60px rgba(59, 130, 246, 0.15); }
.what-is-card:nth-child(3):hover { box-shadow: 0 20px 60px rgba(234, 179, 8, 0.15); }

.what-is-number {
    font-size: 4rem;
    font-weight: 800;
    line-height: 1;
    margin-bottom: 0.5rem;
}

.what-is-card:nth-child(1) .what-is-number { color: var(--aura-vermelho); }
.what-is-card:nth-child(2) .what-is-number { color: var(--aura-azul); }
.what-is-card:nth-child(3) .what-is-number { color: var(--aura-amarelo); }

.what-is-label {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--text-primary);
    margin-bottom: 1rem;
}

.what-is-desc {
    color: var(--text-secondary);
    font-size: 1rem;
    line-height: 1.7;
}

/* === SEÇÃO SISTEMA FRACTAL === */
.fractal-section {
    position: relative;
    overflow: hidden;
}

.fractal-section::before {
    content: '7';
    position: absolute;
    right: -10%;
    top: 50%;
    transform: translateY(-50%);
    font-size: 40vw;
    font-weight: 900;
    color: var(--bg-secondary);
    opacity: 0.5;
    pointer-events: none;
}

.fractal-content {
    position: relative;
    z-index: 1;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
}

.fractal-text h2 {
    margin-bottom: 1.5rem;
}

.fractal-text p {
    font-size: 1.125rem;
    margin-bottom: 1.5rem;
}

.fractal-colors {
    display: flex;
    gap: 1rem;
    margin-top: 2rem;
}

.color-dot {
    width: 48px;
    height: 48px;
    border-radius: 50%;
    cursor: pointer;
    transition: all var(--transition-fast);
    position: relative;
}

.color-dot:hover {
    transform: scale(1.2);
}

.color-dot::after {
    content: attr(data-label);
    position: absolute;
    bottom: -1.5rem;
    left: 50%;
    transform: translateX(-50%);
    font-size: 0.7rem;
    color: var(--text-muted);
    white-space: nowrap;
    opacity: 0;
    transition: opacity var(--transition-fast);
}

.color-dot:hover::after {
    opacity: 1;
}

.color-vermelho { background: var(--aura-vermelho); }
.color-verde { background: var(--aura-verde); }
.color-azul { background: var(--aura-azul); }
.color-amarelo { background: var(--aura-amarelo); }
.color-ciano { background: var(--aura-ciano); }
.color-magenta { background: var(--aura-magenta); }
.color-branco { background: var(--aura-branco); }

.fractal-visual {
    display: flex;
    justify-content: center;
    align-items: center;
}

.fractal-diagram {
    width: 100%;
    max-width: 400px;
    aspect-ratio: 1;
    position: relative;
}

/* === SEÇÃO CITAÇÃO === */
.quote-section {
    background: var(--bg-secondary);
    padding: 8rem 2rem;
    text-align: center;
}

.quote-section .quote-text {
    font-size: clamp(1.5rem, 4vw, 2.5rem);
    font-weight: 300;
    max-width: 900px;
    margin: 0 auto;
    line-height: 1.6;
}

.quote-section .quote-text strong {
    color: var(--aura-vermelho);
    font-weight: 600;
}

/* === SEÇÃO EXPLORAR === */
.explore-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 1.5rem;
}

.explore-card {
    position: relative;
    padding: 2rem;
    background: var(--bg-card);
    border: 1px solid var(--border-subtle);
    border-radius: 16px;
    text-decoration: none;
    overflow: hidden;
    transition: all var(--transition-normal);
}

.explore-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: var(--card-color, var(--aura-vermelho));
    transform: scaleX(0);
    transform-origin: left;
    transition: transform var(--transition-normal);
}

.explore-card:hover {
    border-color: var(--card-color, var(--border-hover));
    transform: translateY(-4px);
}

.explore-card:hover::before {
    transform: scaleX(1);
}

.explore-card[data-color="vermelho"] { --card-color: var(--aura-vermelho); }
.explore-card[data-color="verde"] { --card-color: var(--aura-verde); }
.explore-card[data-color="azul"] { --card-color: var(--aura-azul); }
.explore-card[data-color="amarelo"] { --card-color: var(--aura-amarelo); }
.explore-card[data-color="ciano"] { --card-color: var(--aura-ciano); }
.explore-card[data-color="magenta"] { --card-color: var(--aura-magenta); }
.explore-card[data-color="branco"] { --card-color: var(--aura-branco); }

.explore-icon {
    font-size: 2.5rem;
    margin-bottom: 1rem;
}

.explore-title {
    font-size: 1.25rem;
    font-weight: 700;
    color: var(--text-primary);
    margin-bottom: 0.5rem;
}

.explore-desc {
    color: var(--text-secondary);
    font-size: 0.9rem;
    line-height: 1.6;
}

.explore-arrow {
    position: absolute;
    bottom: 1.5rem;
    right: 1.5rem;
    color: var(--text-muted);
    transition: all var(--transition-fast);
}

.explore-card:hover .explore-arrow {
    color: var(--card-color, var(--aura-vermelho));
    transform: translateX(4px);
}

/* === SEÇÃO JORNADA === */
.journey-section {
    background: var(--bg-primary);
}

.journey-steps {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 2rem;
    position: relative;
}

.journey-steps::before {
    content: '';
    position: absolute;
    top: 2rem;
    left: 10%;
    right: 10%;
    height: 2px;
    background: linear-gradient(to right, var(--aura-vermelho), var(--aura-azul), var(--aura-amarelo), var(--aura-magenta));
    z-index: 0;
}

.journey-step {
    text-align: center;
    position: relative;
    z-index: 1;
}

.journey-number {
    width: 4rem;
    height: 4rem;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    font-weight: 700;
    margin: 0 auto 1.5rem;
    color: white;
}

.journey-step:nth-child(1) .journey-number { background: var(--aura-vermelho); }
.journey-step:nth-child(2) .journey-number { background: var(--aura-azul); }
.journey-step:nth-child(3) .journey-number { background: var(--aura-amarelo); }
.journey-step:nth-child(4) .journey-number { background: var(--aura-magenta); }

.journey-title {
    font-size: 1.125rem;
    font-weight: 600;
    color: var(--text-primary);
    margin-bottom: 0.5rem;
}

.journey-desc {
    color: var(--text-secondary);
    font-size: 0.9rem;
}

/* === RESPONSIVO === */
@media (max-width: 1024px) {
    .fractal-content {
        grid-template-columns: 1fr;
        text-align: center;
    }

    .fractal-colors {
        justify-content: center;
    }

    .fractal-section::before {
        font-size: 60vw;
        right: -20%;
    }
}

@media (max-width: 768px) {
    .hero {
        padding: 6rem 1.5rem 3rem;
    }

    .what-is-grid {
        grid-template-columns: 1fr;
    }

    .journey-steps {
        grid-template-columns: repeat(2, 1fr);
    }

    .journey-steps::before {
        display: none;
    }

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