/* =========================================
   LAYOUT.CSS — Header, Hero, Seções
   ========================================= */

/* =========================================
   HEADER — Fixo, preto sólido
   ========================================= */
.header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 500;
    background: #000000;
    border-bottom: 1px solid rgba(197, 160, 89, 0.18);
}

.header-inner {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0.75rem 5%;
    max-width: 1600px;
    margin: 0 auto;
}

.logo {
    display: flex;
    align-items: center;
    text-decoration: none;
    z-index: 600;
}

.logo img {
    height: 52px;
    width: auto;
    object-fit: contain;
    display: block;
    /* Logo preta → branca sobre fundo escuro */
    filter: invert(1);
}

/* Burger */
.burger {
    display: flex;
    flex-direction: column;
    gap: 6px;
    background: none;
    border: none;
    padding: 6px;
    cursor: pointer;
    z-index: 600;
}

.burger span {
    display: block;
    width: 28px;
    height: 1.5px;
    background-color: var(--branco-puro);
    mix-blend-mode: normal;
    transition: transform 0.4s cubic-bezier(0.25, 1, 0.5, 1),
                opacity 0.3s ease,
                width 0.3s ease;
    transform-origin: center;
}

.nav-active .burger span:first-child {
    transform: translateY(7.5px) rotate(45deg);
}

.nav-active .burger span:last-child {
    transform: translateY(-7.5px) rotate(-45deg);
}

/* =========================================
   MENU OVERLAY FULLSCREEN
   ========================================= */
.nav-overlay {
    position: fixed;
    inset: 0;
    z-index: 400;
    background-color: var(--preto-absoluto);
    display: flex;
    align-items: center;
    justify-content: center;
    clip-path: circle(0% at calc(100% - 4rem) 2.5rem);
    transition: clip-path 0.7s cubic-bezier(0.77, 0, 0.175, 1);
    pointer-events: none;
}

.nav-active .nav-overlay {
    clip-path: circle(150% at calc(100% - 4rem) 2.5rem);
    pointer-events: all;
}

.nav-overlay-inner {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1.2rem;
}

.nav-overlay-link {
    font-family: var(--font-heading);
    font-size: clamp(1.5rem, 4vw, 2.5rem);
    color: var(--branco-puro);
    text-decoration: none;
    font-style: italic;
    letter-spacing: 0.04em;
    line-height: 1;
    opacity: 0;
    transform: translateY(30px);
    transition: color 0.3s ease;
}

.nav-active .nav-overlay-link {
    opacity: 1;
    transform: translateY(0);
}

/* Entrada gerenciada pelo GSAP — apenas hover mantém transition de cor */
.nav-overlay-link { transition: color 0.3s ease; }

.nav-overlay-link:hover {
    color: var(--ouro-solido);
}

.nav-overlay-close {
    position: absolute;
    top: 1.4rem;
    right: 5%;
    background: none;
    border: 1px solid rgba(244, 241, 234, 0.3);
    border-radius: 50% !important; /* sobrescreve reset brutalista */
    width: 44px;
    height: 44px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--branco-puro);
    font-size: 1.1rem;
    cursor: pointer;
    opacity: 0.7;
    transition: opacity 0.2s ease, border-color 0.2s ease;
}

.nav-overlay-close:hover {
    opacity: 1;
    border-color: var(--ouro-solido);
}

/* Hero Section — Fullscreen Imersivo */
.hero {
    background-color: var(--preto-absoluto);
    color: var(--texto-sobre-escuro);
    position: relative;
    height: 100vh;
    width: 100vw;
    min-height: 100svh;
    overflow: hidden;
    padding: 0;
    margin: 0;
}

.hero-img-wrapper {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    z-index: 1;
    margin: 0;
}

/* Slides — empilhados, GSAP controla opacidade */
.hero-slide {
    position: absolute;
    inset: 0;
    opacity: 0;
    will-change: opacity;
}

/* Primeiro slide visível antes do JS rodar */
.hero-slide:first-child {
    opacity: 1;
}

.hero-slide img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center center;
    display: block;
    will-change: transform;
}

/* ── Overlay escuro sobre a foto ── */
.hero::after {
    content: '';
    position: absolute;
    inset: 0;
    z-index: 2;
    background: rgba(0, 0, 0, 0.35);
    pointer-events: none;
}

/* ══════════════════════════════════════
   TEXTO QUE ESCALA COM O SCROLL
   Técnica: GSAP scale 1.6 → 0.4 com scrub
   Igual ao site de referência Codrops
══════════════════════════════════════ */
.hero-scale-wrap {
    position: absolute;
    inset: 0;
    z-index: 3;
    display: flex;
    align-items: center;
    justify-content: center;
    pointer-events: none;
    will-change: transform;
}

.hero-scale-title {
    /* Fonte principal + fallback que suporta Ã em tamanhos gigantes */
    font-family: 'Big Shoulders Display', 'Arial Black', 'Impact', sans-serif;
    font-weight: 900;
    font-size: clamp(6rem, 20vw, 26rem);
    line-height: 1;
    letter-spacing: -0.04em;
    text-transform: uppercase;

    /* Força renderização correta do caractere Ã */
    font-variant-ligatures: none;
    -webkit-font-feature-settings: "kern" 1;
    font-feature-settings: "kern" 1;
    text-rendering: optimizeLegibility;

    /* Texto branco com leve transparência */
    color: rgba(250, 245, 235, 0.92);

    /* Borda dourada fina nos caracteres — toque premium */
    -webkit-text-stroke: 1px rgba(201, 160, 89, 0.4);

    white-space: nowrap;
    user-select: none;
}

/* ── Info no canto inferior ── */
.hero-content {
    position: absolute;
    bottom: 8%;
    left: 6vw;
    z-index: 4;
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
    pointer-events: none;
}

.hero-eyebrow {
    display: block;
    font-family: var(--font-body);
    font-size: clamp(0.65rem, 0.9vw, 0.8rem);
    letter-spacing: 0.4em;
    text-transform: uppercase;
    color: var(--ouro-solido);
    opacity: 0;  /* GSAP anima na entrada */
}

.hero-sub {
    display: block;
    font-family: var(--font-body);
    font-size: clamp(0.75rem, 1vw, 0.9rem);
    letter-spacing: 0.1em;
    font-style: italic;
    color: rgba(250, 245, 235, 0.45);
    opacity: 0;  /* GSAP anima na entrada */
}

/* Legacy */
.hero-title    { font-size: clamp(3rem, 7vw, 6.5rem); line-height: 1.05; }
.hero-subtitle { font-size: clamp(1rem, 2vw, 1.5rem); letter-spacing: 0.05em; opacity: 0.8; }

/* =========================================
   JORNADA — KINETIC TYPOGRAPHY
   ========================================= */
.jornada {
    position: relative;
    height: 100vh;
    overflow: hidden;
    padding: 0;
    background-color: var(--branco-puro);
    border: 1px solid #000000;
}

.kinetic-cloud {
    position: relative;
    width: 100%;
    height: 100%;
}

/* Fragmento base */
.kt-frag {
    position: absolute;
    font-family: var(--font-heading);
    line-height: 1;
    white-space: nowrap;
    user-select: none;
    will-change: transform;
}

/* Tamanho grande — palavra protagonista */
.txt-gigante {
    font-size: clamp(4rem, 10vw, 9rem);
    color: var(--preto-absoluto);
    font-weight: 400;
    opacity: 0.12;
}

/* Contorno fino — sem preenchimento */
.txt-contorno {
    font-size: clamp(2.5rem, 6vw, 6rem);
    color: transparent;
    -webkit-text-stroke: 1.5px var(--preto-absoluto);
    opacity: 0.25;
}

/* Destaque laranja — elemento âncora */
.txt-destaque-laranja {
    font-size: clamp(1.8rem, 4vw, 4rem);
    color: var(--ouro-solido);
    font-style: italic;
    opacity: 0.2;
}

/* Profundidade via z-index */
.kt-depth-1 { z-index: 1; }
.kt-depth-2 { z-index: 2; }
.kt-depth-3 { z-index: 3; }

.verses {
    display: flex;
    flex-direction: column;
    gap: 3vh;
    padding: 3vh 5%;
    background-color: var(--branco-puro);
}

.verse-container {
    max-width: 1100px;
    margin: 0 auto;
    width: 100%;
}

.verse-text {
    font-size: clamp(2rem, 4vw, 3.8rem);
    line-height: 1.35;
    color: var(--preto-absoluto);
    /* Neutraliza o uppercase/weight/italic herdado do h2 global */
    text-transform: none;
    font-style: normal;
    font-weight: 400;
    letter-spacing: 0;
}

.verse-text, .verse-1, .verse-2, .word, .word-inner {
    color: var(--preto-absoluto);
}

.verse-1 {
    font-style: normal; /* era italic — removido */
    text-align: left;
    max-width: 85%;
}

.verse-2 {
    text-align: right;
    max-width: 85%;
    margin-left: auto;
}

/* Cinematografia */
.cinematography {
    padding: 5vh 5%;
}

.agenda .section-title, .cinematography .section-title {
    text-align: center;
    margin-bottom: 3rem;
    color: var(--ouro-solido);
}

.video-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
    max-width: 1400px;
    margin: 0 auto;
}

.video-wrapper {
    position: relative;
    width: 100%;
    aspect-ratio: 16 / 9;
    background-color: #000;
    overflow: hidden;
    border: 2px solid transparent;
    transition: border-color 0.4s ease, transform 0.4s ease;
}

.video-wrapper.destaque {
    grid-column: 1 / -1;
    aspect-ratio: 21 / 9;
}

.video-wrapper:hover {
    border-color: var(--ouro-solido);
}

.video-wrapper iframe {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
}

@media (max-width: 1024px) {
    .video-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

/* =========================================
   INFLUENCIA — Poder de Mídia
   ========================================= */
.influencia {
    position: relative;
    overflow: hidden;
    padding: 8vh 5%;
    isolation: isolate;
    background-color: var(--preto-absoluto);
}

/* Foto de fundo desativada — fundo preto puro */
.influencia-bg { display: none; }

/* Overlay desativado — não é mais necessário */
.influencia-overlay { display: none; }

/* Conteúdo acima do overlay */
.influencia-inner {
    position: relative;
    z-index: 2;
    max-width: 1200px;
    margin: 0 auto;
}

/* Bloco Total Geral */
.influencia-total {
    text-align: center;
    margin-bottom: 5rem;
}

.influencia-label {
    font-family: var(--font-body);
    font-size: 0.72rem;
    letter-spacing: 0.26em;
    text-transform: uppercase;
    color: var(--ouro-solido);
    display: block;
    margin-bottom: 1rem;
    opacity: 0.9;
}

.influencia-total-numero {
    font-family: var(--font-heading);
    font-size: clamp(5rem, 16vw, 13rem);
    background: var(--ouro-liquido);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    display: inline-block;
    line-height: 1;
    font-weight: 400;
    letter-spacing: -0.02em;
}

.influencia-total-legenda {
    font-size: 0.9rem;
    color: rgba(244, 241, 234, 0.55);
    letter-spacing: 0.08em;
    text-transform: uppercase;
    margin-top: 0.8rem;
}

/* Grid 4 colunas */
.influencia-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 1.5rem;
}

/* Card de plataforma */
.influencia-card {
    border: 1px solid rgba(244, 241, 234, 0.12);
    padding: 2.5rem 2rem;
    text-align: center;
    transition: border-color 0.4s ease, background 0.4s ease;
    cursor: default;
}

.influencia-card:hover {
    background: rgba(244, 241, 234, 0.05);
}

/* Ícone SVG — monocromático por padrão */
.influencia-card-icon {
    width: 36px;
    height: 36px;
    margin: 0 auto 1.5rem;
    transition: color 0.4s ease;
    color: var(--branco-puro);
}

.influencia-card-icon svg {
    width: 100%;
    height: 100%;
    fill: currentColor;
    display: block;
}

/* Hover: cor de marca por plataforma */
.influencia-card--spotify:hover   .influencia-card-icon { color: var(--ouro-solido); }
.influencia-card--youtube:hover   .influencia-card-icon { color: var(--ouro-solido); }
.influencia-card--instagram:hover .influencia-card-icon { color: var(--ouro-solido); }
.influencia-card--tiktok:hover    .influencia-card-icon { color: var(--ouro-solido); }

/* Número */
.influencia-card-numero {
    font-family: var(--font-heading);
    font-size: clamp(2.2rem, 4vw, 3.5rem);
    background: var(--ouro-liquido);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    display: inline-block;
    font-weight: 400;
    line-height: 1;
    margin-bottom: 0.5rem;
}

/* Legenda e plataforma */
.influencia-card-label {
    font-size: 0.72rem;
    color: rgba(244, 241, 234, 0.45);
    letter-spacing: 0.06em;
    text-transform: uppercase;
    margin-bottom: 0.8rem;
}

.influencia-card-plataforma {
    font-family: var(--font-heading);
    font-size: 0.85rem;
    color: rgba(244, 241, 234, 0.25);
    font-style: italic;
    letter-spacing: 0.08em;
}

/* Mobile — 2 colunas */
@media (max-width: 900px) {
    .influencia-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 768px) {
    .influencia {
        padding: 8vh 20px;
    }

    .influencia-total {
        margin-bottom: 3rem;
    }

    .influencia-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 1rem;
    }

    .influencia-card {
        padding: 1.8rem 1rem;
    }
}

/* =========================================
   PENSAMENTOS — Ambiente 3D de Frases
   ========================================= */
.pensamentos {
    background-color: var(--preto-absoluto);
    overflow: hidden;
    padding: 6vh 0;
    position: relative;
}

.pensamentos .section-title {
    color: var(--branco-puro);
    text-align: center;
    margin-bottom: 3rem;
    opacity: 0.25;
    font-style: italic;
    font-size: clamp(0.9rem, 2vw, 1.2rem);
    letter-spacing: 0.2em;
    text-transform: uppercase;
    font-family: var(--font-body);
}

.pensamentos-stage {
    width: 100%;
    height: 50vh;        /* reduzido: conteúdo dita o tamanho */
    min-height: 320px;
    max-height: 560px;   /* evita vácuo em telas muito altas */
    position: relative;

}

.pensamentos-world {
    position: relative;
    width: 100%;
    height: 100%;
}

.pensamento {
    position: absolute;
    font-family: var(--font-heading);
    color: var(--branco-puro);
    font-style: italic;
    line-height: 1;
    white-space: nowrap;
    user-select: none;
    pointer-events: none;
    transform-style: preserve-3d;
    backface-visibility: hidden;
}

/* Cada frase tem tamanho, posição e profundidade próprios */
.pensamento:nth-child(1) { font-size: clamp(2rem, 5vw, 4.5rem);  top: 10%; left: 5%;  opacity: 0.9;  }
.pensamento:nth-child(2) { font-size: clamp(1rem, 2vw, 1.8rem);  top: 8%;  right: 8%; opacity: 0.35; color: var(--ouro-solido); }
.pensamento:nth-child(3) { font-size: clamp(1.5rem, 3vw, 3rem);  top: 38%; left: 12%; opacity: 0.55; }
.pensamento:nth-child(4) { font-size: clamp(3rem, 6vw, 5.5rem);  top: 30%; right: 5%; opacity: 0.15; -webkit-text-stroke: 1px var(--branco-puro); color: transparent; }
.pensamento:nth-child(5) { font-size: clamp(1.2rem, 2.5vw, 2.2rem); top: 60%; left: 6%; opacity: 0.7; color: var(--ouro-solido); }
.pensamento:nth-child(6) { font-size: clamp(2rem, 4vw, 3.5rem);  top: 65%; right: 10%; opacity: 0.35; }
.pensamento:nth-child(7) { font-size: clamp(1rem, 1.8vw, 1.5rem); top: 80%; left: 35%; opacity: 0.25; letter-spacing: 0.15em; }

/* =========================================
   BLOG TEASER (link na index)
   ========================================= */
.blog-teaser {
    background-color: var(--branco-puro);
    text-align: center;
    padding: 6vh 5%;
    border: 1px solid #000000;
}

.blog-teaser-label {
    display: block;
    font-size: 0.7rem;
    letter-spacing: 0.22em;
    text-transform: uppercase;
    color: var(--ouro-solido);
    margin-bottom: 1rem;
    opacity: 0.85;
}

.blog-teaser-title {
    font-family: var(--font-heading);
    font-size: clamp(2rem, 4vw, 3.5rem);
    color: var(--preto-absoluto);
    font-weight: 400;
    margin-bottom: 1.5rem;
    font-style: italic;
}

.blog-teaser-link {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 0.78rem;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: var(--preto-absoluto);
    border-bottom: 1px solid var(--ouro-solido);
    padding-bottom: 2px;
    text-decoration: none;
    transition: color 0.3s, gap 0.3s;
}

.blog-teaser-link::after { content: '→'; }

.blog-teaser-link:hover {
    color: var(--ouro-solido);
    gap: 0.9rem;
}

/* =========================================
   FOOTER — Preto absoluto
   ========================================= */
.site-footer {
    background-color: var(--preto-absoluto);
    padding: 6rem 2rem 2rem;
    text-align: center;
    color: var(--branco-puro);
}

.selo-rodape {
    width: clamp(200px, 40vw, 350px);
    margin: 0 auto 3rem auto;
    display: block;
    opacity: 0.7;
    object-fit: contain;
    filter: invert(1) brightness(100); /* Inverte a cor preta do logo para branco */
}

.footer-socials {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 2rem;
    margin-bottom: 3rem;
}

.footer-icon {
    display: inline-flex;
    transition: transform 0.3s ease, opacity 0.3s ease;
    opacity: 0.8;
}

.footer-icon:hover {
    transform: scale(1.1);
    opacity: 1;
}

.footer-icon svg {
    width: 24px;
    height: 24px;
    fill: var(--branco-puro);
}

.footer-bottom p {
    font-family: var(--font-body);
    font-size: 0.8rem;
    letter-spacing: 0.05em;
    opacity: 0.5;
}
