/* =========================================
   1. HERO SECTION (Layout V1 Restaurado)
========================================= */
.hero-section {
    position: relative;
    height: 100vh;
    display: flex;
    align-items: center;
    justify-content: flex-start;
    overflow: hidden;
}
.hero-bg-image {
    position: absolute;
    top: 0; left: 0;
    width: 100%; height: 100%;
    z-index: 1;
}
.hero-bg-image img {
    width: 100%; height: 100%;
    object-fit: cover;
    opacity: 0.5;
}
.hero-overlay {
    position: absolute;
    top: 0; left: 0;
    width: 100%; height: 100%;
    background: linear-gradient(90deg, rgba(10,10,10,1) 0%, rgba(10,10,10,0.3) 100%);
    z-index: 2;
}
.hero-content {
    position: relative;
    z-index: 3;
    max-width: 800px;
}
.kicker {
    display: block;
    color: var(--color-primary);
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 2px;
    margin-bottom: 1rem;
    font-size: 0.9rem;
}
.hero-title {
    font-size: clamp(3rem, 5vw, 4.5rem);
    text-transform: uppercase;
    margin-bottom: 1.5rem;
}
.hero-subtitle {
    font-size: 1.2rem;
    /*font-weight: 300;*/
    color: var(--color-text-muted);
    margin-bottom: 2.5rem;
    max-width: 600px;
}
.hero-actions {
    display: flex;
    align-items: center;
    gap: 2rem;
}

/* =========================================
   2. MANIFESTO (A Ferida)
========================================= */
.manifesto-section {
    position: relative; /* Necessário para segurar o fundo absoluto */
    padding: 10rem 0;
    background-color: #000; /* Fundo base preto */
    z-index: 1; /* Garante que o conteúdo fique acima do fundo */
    overflow: hidden; /* Evita que a imagem vaze */
}

/* Imagem de fundo com opacidade e preto e branco */
.manifesto-section::before {
    content: '';
    position: absolute;
    top: 0; 
    left: 0; 
    width: 100%; 
    height: 100%;
    
    /* Insira a extensão correta da sua imagem (.jpg, .png, .webp) */
    background-image: url('../img/bg-manifesto-grid'); 
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    background-attachment: fixed;
    
    /* O truque do Preto e Branco + Baixa Opacidade */
    filter: grayscale(100%);
    opacity: 0.15; /* Ajuste entre 0.1 e 0.3 conforme a necessidade de leitura */
    
    z-index: -1; /* Joga a imagem para trás do conteúdo */
}
.manifesto-grid {
    position: relative;
    z-index: 2;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
}
.manifesto-text h2 {
    font-size: 2.5rem;
    margin-bottom: 2rem;
}
.manifesto-text p {
    font-size: 1.1rem;
    margin-bottom: 1.5rem;
    color: var(--color-text-muted);
}
.manifesto-image img {
    width: 100%;
    height: auto;
    filter: grayscale(100%);
    transition: var(--transition-smooth);
}
.manifesto-image img:hover {
    filter: grayscale(0%);
}

/* =========================================
   3. METODOLOGIA (Corrigida com Grid e Skew)
========================================= */
.methodology-section.has-video-bg {
    position: relative;
    padding: 10rem 0; /* Aumentei o padding para dar mais respiro global */
    overflow: hidden;
    background-color: #000;
}

.methodology-video {
    position: absolute;
    top: 50%; left: 50%;
    min-width: 100%; min-height: 100%;
    transform: translate(-50%, -50%);
    object-fit: cover;
    z-index: 1;
}

.methodology-overlay {
    position: absolute;
    top: 0; left: 0; width: 100%; height: 100%;
    background: rgba(5, 5, 5, 0.75); /* Película mais escura para elite */
    backdrop-filter: blur(2px); /* Blur sutil */
    z-index: 2;
}

.relative-z {
    position: relative;
    z-index: 10;
}

/* Título branco para contrastar com o fundo escuro */
.methodology-section .section-title.white {
    color: #fff;
    margin-bottom: 3rem;
}

/* ESTRUTURA GRID DO ENTRELAÇAMENTO */
.methodology-grid-intertwined {
    display: grid;
    /* Criamos 12 colunas para ter controle fino */
    grid-template-columns: repeat(12, 1fr);
    align-items: center; /* Centraliza verticalmente */
    margin-top: 5rem;
    position: relative;
}

/* Visual Base dos Cards (Glassmorphism Reto) */
.method-card {
    background: rgba(15, 15, 15, 0.7);
    border: 1px solid rgba(255, 170, 23, 0.2);
    backdrop-filter: blur(20px);
    transition: var(--transition-smooth);
    position: relative;
}

/* CONFIGURAÇÃO DO CARD ATLETA (ESQUERDA) */
.card-atleta {
    /* Ocupa da coluna 1 até a 8 (aprox 60% da largura) */
    grid-column: 1 / 8;
    grid-row: 1; /* Mesma linha para sobrepor */
    z-index: 3; /* Fica à frente */
    
    /* Efeito Skew na borda direita (cortado pra dentro) */
    clip-path: polygon(0 0, 100% 0, 92% 100%, 0% 100%);
    height: 90%;
}

/* CONFIGURAÇÃO DO CARD ARTISTA (DIREITA) */
.card-artista {
    /* Ocupa da coluna 5 até a 13 (aprox 60% da largura, sobrepondo 3 colunas) */
    grid-column: 5 / -1;
    grid-row: 1; /* Mesma linha */
    z-index: 2; /* Fica atrás */
    
    /* Fundo levemente diferente pra dar profundidade */
    background: rgba(10, 10, 10, 0.85); 

    /* Efeito Skew na borda esquerda (encaixando no outro) */
    clip-path: polygon(8% 0, 100% 0, 100% 100%, 0% 100%);
}

/* Hover effects */
.method-card:hover {
    border-color: var(--color-primary);
    background: rgba(20, 20, 20, 0.95);
    z-index: 5; /* Sobrepõe tudo no hover */
}

/* CONTEÚDO E PROTEÇÃO DE TEXTO */
.method-content {
    padding: 6rem 4rem; /* Padding generoso */
}

/* Padding extra nas zonas de sobreposição para o texto não tocar nas bordas inclinadas */
.card-atleta .method-text-wrapper {
    padding-right: 15%; /* Empurra o texto pra esquerda */
}

.card-artista .method-text-wrapper {
    padding-left: 15%; /* Empurra o texto pra direita */
}

.method-content h3 {
    color: var(--color-primary);
    font-size: 2rem;
    font-weight: 400;
    margin-bottom: 1.5rem;
    text-transform: uppercase;
    letter-spacing: 2px;
}

.method-content p {
    color: #f0f0f0;
    font-size: 1.15rem;
    line-height: 1.8;
    font-weight: 300;
}

/* O CONECTOR CENTRAL (Posicionado com Grid na zona de fusão) */
.method-connector-wrapper {
    /* Ocupa as colunas centrais onde a sobreposição acontece */
    grid-column: 6 / 9;
    grid-row: 1;
    display: flex;
    justify-content: center;
    z-index: 10; /* Sempre à frente */
    pointer-events: none; /* Não atrapalha cliques nos cards */
    margin-top: 400px;
}

.method-connector {
    width: 80px;
    height: 80px;
    background-color: var(--color-primary);
    color: var(--color-bg);
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    box-shadow: 0 0 40px rgba(255, 170, 23, 0.6);
}

.method-connector span {
    font-size: 3rem;
    font-weight: 800;
    margin-top: -5px; /* Ajuste fino vertical do + */
}

/* RESPONSIVO (Mobile) */
@media (max-width: 992px) {
    .methodology-section {
        padding: 6rem 0;
    }
    .methodology-grid-intertwined {
        display: flex;
        flex-direction: column;
        gap: 2rem;
    }
    .method-card {
        width: 100%;
        clip-path: none; /* Remove inclinação no mobile */
        transform: none;
    }
    .card-atleta .method-text-wrapper,
    .card-artista .method-text-wrapper {
        padding: 0; /* Remove padding extra no mobile */
    }
    .method-content {
        padding: 3rem 2rem;
    }
    .method-connector-wrapper {
        display: none; /* Esconde o conector no celular */
    }
}

/* =========================================
   4. SERVIÇOS (Infraestrutura)
========================================= */
.services-section {
    position: relative; /* Necessário para segurar o fundo absoluto */
    padding: 10rem 0;
    background-color: #000; /* Fundo base preto */
    z-index: 1; /* Garante que o conteúdo fique acima do fundo */
    overflow: hidden; /* Evita que a imagem vaze */
}

/* Imagem de fundo com opacidade e preto e branco */
.services-section::before {
    content: '';
    position: absolute;
    top: 0; 
    left: 0; 
    width: 100%; 
    height: 100%;
    
    /* Insira a extensão correta da sua imagem (.jpg, .png, .webp) */
    background-image: url('../img/bg-manifesto-grid'); 
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    background-attachment: fixed;
    
    /* O truque do Preto e Branco + Baixa Opacidade */
    filter: grayscale(100%);
    opacity: 0.15; /* Ajuste entre 0.1 e 0.3 conforme a necessidade de leitura */
    
    z-index: -1; /* Joga a imagem para trás do conteúdo */
}
.services-grid {
    position: relative;
    z-index: 2;
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
    margin-top: 4rem;
}
.service-card {
    background-color: var(--color-bg-light);
    transition: var(--transition-smooth);
}
.service-card:hover {
    transform: translateY(-10px);
}
.service-img {
    height: 250px;
    width: 100%;
}
.service-img img {
    width: 100%; height: 100%; object-fit: cover;
}
.service-card h3 {
    font-size: 1.3rem;
    padding: 2rem 2rem 0 2rem;
}
.service-card p {
    color: var(--color-text-muted);
    padding: 0 2rem 2rem 2rem;
}

/* =========================================
   5. PORTFÓLIO (Layout V1)
========================================= */
.portfolio-section {
    padding: 8rem 0;
    background-color: var(--color-bg-light);
}
.portfolio-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 1rem;
    margin-top: 4rem;
}
.portfolio-item {
    position: relative;
    overflow: hidden;
    aspect-ratio: 4/5;
}
.portfolio-item img {
    width: 100%; height: 100%;
    object-fit: cover;
    transition: transform 0.6s ease;
}
.portfolio-item:hover img {
    transform: scale(1.05);
}
.portfolio-info {
    position: absolute;
    bottom: 0; left: 0; width: 100%;
    padding: 2rem;
    background: linear-gradient(to top, rgba(0,0,0,0.9), transparent);
    transform: translateY(20px);
    opacity: 0;
    transition: var(--transition-smooth);
}
.portfolio-item:hover .portfolio-info {
    transform: translateY(0);
    opacity: 1;
}
.portfolio-info h4 {
    color: #fff;
    margin-bottom: 0.5rem;
}
.portfolio-info p {
    color: var(--color-primary);
    font-weight: 600;
    font-size: 0.9rem;
    text-transform: uppercase;
}

/* =========================================
   6. LOGOS E CARROSSEL INFINITO
========================================= */
.clients-section {
    padding: 8rem 0; /* Mais respiro para ficar elegante */
    background-color: var(--color-bg); /* Fundo preto base */
    text-align: center;
    overflow: hidden; /* Importante para o carrossel não vazar a tela */
}

.clients-subtitle {
    color: var(--color-text-muted);
    margin-bottom: 10rem;
    font-weight: 300;
    text-transform: uppercase;
    letter-spacing: 2px;
}

/* Área visível do carrossel */
.clients-marquee {
    margin-top: 4rem;
    width: 100%;
    overflow: hidden;
    position: relative;
    display: flex;
}

/* Para dar um efeito de sumiço nas bordas da tela */
.clients-marquee::before,
.clients-marquee::after {
    content: '';
    position: absolute;
    top: 0;
    width: 150px;
    height: 100%;
    z-index: 2;
    pointer-events: none;
}

.clients-marquee::before {
    left: 0;
    background: linear-gradient(to right, var(--color-bg) 0%, transparent 100%);
}

.clients-marquee::after {
    right: 0;
    background: linear-gradient(to left, var(--color-bg) 0%, transparent 100%);
}

/* A pista que se move */
.clients-track {
    display: flex;
    gap: 2rem;
    align-items: center;
    width: max-content; /* Permite que a div cresça conforme o número de logos */
    animation: scroll 180s linear infinite; /* 40s é a velocidade. Aumente se quiser mais devagar */
}

/* Pausa o carrossel se o mouse estiver em cima da pista */
.clients-track:hover {
    animation-play-state: paused;
}

/* Animação do movimento contínuo */
@keyframes scroll {
    0% {
        transform: translateX(0);
    }
    100% {
        /* Desloca exatamente metade do tamanho (ou seja, o Grupo 1 inteiro) */
        transform: translateX(calc(-50% - 1rem)); 
    }
}

/* =========================================
   ESTILIZANDO AS CAIXAS E OS EFEITOS
========================================= */
.logo-box {
    display: flex;
    justify-content: center;
    align-items: center;
    width: 200px; /* Largura padrão para todas as caixas */
    height: 120px;
    padding: 1.5rem;
    
    background-color: var(--color-bg-light); /* Cor de fundo normal */
    border: 1px solid rgba(255, 255, 255, 0.05); /* Borda super sutil */
    
    transition: var(--transition-smooth);
    cursor: pointer;
}

/* A imagem dentro da caixa */
.logo-box img {
    max-width: 100%;
    max-height: 100%;
    object-fit: contain; /* Garante que a logo não distorça */
    
    filter: grayscale(100%); /* Deixa cinza */
    opacity: 0.9; /* Deixa meio apagada */
    transform: scale(1);
    
    transition: var(--transition-smooth);
}

/* ===== O EFEITO HOVER (Ao passar o mouse) ===== */
.logo-box:hover {
    /* Fundo fica um pouco mais claro (usando um cinza/grafite) */
    background-color: #3a3a3a; 
    /* Borda fica amarela */
    border-color: var(--color-primary); 
    /* Leve sombra pra dar destaque */
    box-shadow: 0 10px 30px rgba(255, 170, 23, 0.1); 
}

.logo-box:hover img {
    filter: grayscale(0%); /* Traz a cor original de volta */
    opacity: 1; /* Fica 100% visível */
    transform: scale(1.1); /* Dá um zoom interno de 10% */
}

/* =========================================
   7. DEPOIMENTOS (Testimonials)
========================================= */
.testimonials-section {
    padding: 10rem 0;
    background-color: #050505; /* Um preto muito profundo */
}

.testimonials-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 3rem;
    margin-top: 5rem;
}

.testimonial-card {
    background: rgba(15, 15, 15, 0.4);
    border: 1px solid rgba(255, 170, 23, 0.1); /* Borda amarela quase imperceptível */
    padding: 4rem 3rem;
    position: relative;
    transition: var(--transition-smooth);
}

.testimonial-card:hover {
    border-color: var(--color-primary); /* Acende no hover */
    background: rgba(20, 20, 20, 0.8);
    transform: translateY(-10px); /* Leve flutuação */
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.5);
}

.quote-icon {
    font-family: serif; /* Fonte serifada para a aspa dá um ar clássico/editorial */
    font-size: 5rem;
    line-height: 0;
    color: var(--color-primary);
    opacity: 0.2;
    margin-bottom: 2rem;
    margin-top: 2rem;
}

.testimonial-text {
    font-size: 1.1rem;
    font-weight: 300;
    font-style: italic;
    color: #cccccc;
    line-height: 1.8;
    margin-bottom: 3rem;
    min-height: 140px; /* Alinha os blocos de texto independentemente do tamanho */
}

.testimonial-author h4 {
    color: #ffffff;
    font-size: 1.1rem;
    font-weight: 800;
    margin-bottom: 0.2rem;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.testimonial-author span {
    color: var(--color-primary);
    font-size: 0.85rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
}

/* RESPONSIVO (Mobile) */
@media (max-width: 992px) {
    .testimonials-grid {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
    
    .testimonial-text {
        min-height: auto; /* Remove a altura mínima no celular */
    }
}

/* =========================================
   7. FECHAMENTO EXCLUSIVO (CTA Final)
========================================= */
.cta-final-section {
    position: relative;
    padding: 12rem 0;
    display: flex;
    align-items: center;
    justify-content: center;
}
.cta-bg-image {
    position: absolute;
    top: 0; left: 0;
    width: 100%; height: 100%;
    z-index: 1;
}
.cta-bg-image img {
    background-attachment: fixed;
    width: 100%; height: 100%;
    object-fit: cover;
    filter: grayscale(100%); /* Mantém o tom misterioso */
}
.cta-overlay {
    position: absolute;
    top: 0; left: 0;
    width: 100%; height: 100%;
    background: rgba(10, 10, 10, 0.85); /* Escurece bastante a foto para dar leitura */
    z-index: 2;
}
.cta-content {
    position: relative;
    z-index: 3;
    max-width: 700px;
}
.cta-copy {
    font-size: 1.1rem;
    color: var(--color-text-muted);
    margin-bottom: 3rem;
}

/* =========================================
   RESPONSIVIDADE
========================================= */
@media (max-width: 992px) {
    .manifesto-grid, .methodology-grid, .services-grid {
        grid-template-columns: 1fr;
    }
    .hero-title {
        font-size: 2.5rem;
    }
}