/* Hero "Manifesto Wall" — NONAMING home
   Estética: Off-White / streetwear / brutalist
   Mono (preto, branco, cinza) + 1 acento.
   Default = light mode. Overrides escuros vão pro bloco `.dark` no fim. */

.hero-manifesto {
    isolation: isolate;
    --hero-accent: #ff003c;
}

/* ============ Fundo ============ */
.hero-bg {
    position: absolute;
    inset: 0;
    z-index: 0;
    background: radial-gradient(
            ellipse 120% 80% at 50% 40%,
            #f5f5f5 0%,
            #fff 55%,
            #fff 100%
    );
}

/* ============ Grade (blueprint) ============ */
.hero-grid {
    position: absolute;
    inset: 0;
    z-index: 1;
    pointer-events: none;
    background-image:
            repeating-linear-gradient(to right, rgba(0, 0, 0, 0.05) 0 1px, transparent 1px 9.09%),
            repeating-linear-gradient(to bottom, rgba(0, 0, 0, 0.04) 0 1px, transparent 1px 25%);
    mask-image: radial-gradient(ellipse 90% 75% at 50% 45%, #000 55%, transparent 100%);
    -webkit-mask-image: radial-gradient(ellipse 90% 75% at 50% 45%, #000 55%, transparent 100%);
}

/* ============ Grain ============ */
.hero-grain {
    position: absolute;
    inset: 0;
    z-index: 2;
    opacity: 0.07;
    pointer-events: none;
    background-image: url('../public/background/stardust.png');
    mix-blend-mode: multiply;
}

/* ============ Cantos de registro (brutalist) ============ */
.hero-corner {
    position: absolute;
    width: 26px;
    height: 26px;
    z-index: 4;
    pointer-events: none;
    border-color: rgba(0, 0, 0, 0.25);
}

.hero-corner--tl {
    top: 22px;
    left: 22px;
    border-top: 2px solid;
    border-left: 2px solid;
}

.hero-corner--tr {
    top: 22px;
    right: 22px;
    border-top: 2px solid;
    border-right: 2px solid;
}

.hero-corner--bl {
    bottom: 22px;
    left: 22px;
    border-bottom: 2px solid;
    border-left: 2px solid;
}

.hero-corner--br {
    bottom: 22px;
    right: 22px;
    border-bottom: 2px solid;
    border-right: 2px solid;
}

/* ============ Rótulo (overline) ============ */
.hero-label {
    display: inline-flex;
    align-items: center;
    gap: 0.6rem;
    margin-bottom: 1.5rem;
    font-family: 'Barlow Condensed', sans-serif;
    font-weight: 600;
    font-size: clamp(0.65rem, 1.6vw, 0.8rem);
    letter-spacing: 0.3em;
    text-transform: uppercase;
    color: rgba(0, 0, 0, 0.5);
    z-index: 5;
}

.hero-label__dot {
    width: 7px;
    height: 7px;
    border-radius: 50%;
    background: var(--hero-accent);
    box-shadow: 0 0 8px rgba(255, 0, 60, 0.6);
    animation: hero-pulse 2s ease-in-out infinite;
}

@keyframes hero-pulse {
    0%, 100% { opacity: 1; }
    50% { opacity: 0.25; }
}

/* ============ Título principal ============ */
.hero-title {
    position: relative;
    margin: 0;
    font-family: Inter, system-ui, sans-serif;
    font-weight: 900;
    font-style: italic;
    font-size: clamp(3.5rem, 14vw, 9rem);
    letter-spacing: -0.045em;
    line-height: 1;
    color: #000;
    text-shadow: 2px 2px 0 #e5e5e5;
    z-index: 5;
}

.hero-title__bar {
    display: block;
    width: clamp(80px, 18vw, 140px);
    height: 4px;
    margin: 1.25rem auto 1rem;
    background: var(--hero-accent);
    z-index: 5;
}

/* ============ Subtítulo ============ */
.hero-subtitle {
    margin: 0 0 0.75rem;
    font-family: 'Barlow Condensed', sans-serif;
    font-weight: 400;
    font-size: clamp(0.8rem, 3.2vw, 1.25rem);
    letter-spacing: 0.22em;
    color: rgba(0, 0, 0, 0.55);
    text-transform: uppercase;
    z-index: 5;
}

/* ============ Tripleta (Sem Rótulos | Sem Fronteiras | Sem Regras) ============ */
.hero-trio {
    display: flex;
    align-items: center;
    justify-content: center;
    flex-wrap: wrap;
    gap: 0.75rem 1.5rem;
    margin-bottom: 2rem;
    font-family: 'Barlow Condensed', sans-serif;
    font-weight: 300;
    letter-spacing: 0.14em;
    color: #000;
    text-transform: uppercase;
    font-size: clamp(1.05rem, 5.4vw, 2.25rem);
    z-index: 5;
}

.hero-trio__sep {
    display: inline-block;
    width: 1px;
    height: 28px;
    background: rgba(0, 0, 0, 0.3);
}

.hero-trio__strong {
    font-weight: 700;
    border-bottom: 2px solid #000;
    padding-bottom: 2px;
}

@media (max-width: 640px) {
    .hero-trio__sep {
        display: none;
    }
}

/* ============ CTA ============ */
.hero-cta {
    position: relative;
    display: inline-flex;
    align-items: center;
    gap: 0.6rem;
    overflow: hidden;
    background: #000;
    color: #fff;
    padding: 1rem 3rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.2em;
    font-size: 0.75rem;
    transition: transform 0.3s ease;
    z-index: 5;
}

.hero-cta::before {
    content: '';
    position: absolute;
    inset: 0;
    background: #262626;
    transform: translateY(100%);
    transition: transform 0.3s ease;
    z-index: 0;
}

.hero-cta:hover::before {
    transform: translateY(0);
}

.hero-cta > span,
.hero-cta__arrow {
    position: relative;
    z-index: 1;
}

.hero-cta__arrow {
    transition: transform 0.3s ease, color 0.3s ease;
}

.hero-cta:hover .hero-cta__arrow {
    transform: translateX(4px);
    color: var(--hero-accent);
}

/* ============ Reduced motion ============ */
@media (prefers-reduced-motion: reduce) {
    .hero-label__dot {
        animation: none;
    }
}

/* =====================================================================
   DARK MODE OVERRIDES
   ===================================================================== */
.dark .hero-bg {
    background: radial-gradient(
            ellipse 120% 80% at 50% 40%,
            #1a1a1a 0%,
            #000 55%,
            #000 100%
    );
}

.dark .hero-grid {
    background-image:
            repeating-linear-gradient(to right, rgba(255, 255, 255, 0.07) 0 1px, transparent 1px 9.09%),
            repeating-linear-gradient(to bottom, rgba(255, 255, 255, 0.05) 0 1px, transparent 1px 25%);
}

.dark .hero-grain {
    opacity: 0.12;
    mix-blend-mode: screen;
}

.dark .hero-corner {
    border-color: rgba(255, 255, 255, 0.25);
}

.dark .hero-label {
    color: rgba(255, 255, 255, 0.5);
}

.dark .hero-title {
    color: #fff;
    text-shadow: 2px 2px 0 #000;
}

.dark .hero-subtitle {
    color: rgba(255, 255, 255, 0.5);
}

.dark .hero-trio {
    color: #fff;
}

.dark .hero-trio__sep {
    background: rgba(255, 255, 255, 0.3);
}

.dark .hero-trio__strong {
    border-bottom-color: #fff;
}

.dark .hero-cta {
    background: #fff;
    color: #000;
}

.dark .hero-cta::before {
    background: #e5e5e5;
}
