/* ==========================================================================
   PORTFÓLIO NATHÁLIA JARANDILHA - SISTEMA DE DESIGN & ESTILOS
   ========================================================================== */

/* 1. DECLARAÇÕES DE FONTES LOCAIS (DRUK E AVENIR SIMILAR - TT NORMS) */
@font-face {
    font-family: 'Druk';
    src: url('Druk-Font-Family/Druk Family/Druk-Bold-Trial.otf') format('opentype');
    font-weight: bold;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: 'Druk Wide';
    src: url('Druk-Font-Family/Druk Wide Family/DrukWide-Bold-Trial.otf') format('opentype');
    font-weight: bold;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: 'TT Norms';
    src: url('avenir-similar/avenir-similar/TT-Norms-Font/TT-Norms-Regular.otf') format('opentype');
    font-weight: 400;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: 'TT Norms';
    src: url('avenir-similar/avenir-similar/TT-Norms-Font/TT-Norms-Medium.otf') format('opentype');
    font-weight: 500;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: 'TT Norms';
    src: url('avenir-similar/avenir-similar/TT-Norms-Font/TT-Norms-Bold.otf') format('opentype');
    font-weight: 700;
    font-style: normal;
    font-display: swap;
}

/* 2. VARIÁVEIS DE DESIGN */
:root {
    --bg-color: #ebeae6;
    /* Off-white quente de papel */
    --primary-red: #9e0018;
    /* Vermelho profundo / Editorial */
    --accent-red-hover: #c40021;
    --text-black: #000000;
    --text-dark: #2d2c2a;
    /* Texto do manifesto */
    --text-muted: #6b6a67;
    /* Textos secundários */
    --border-color: rgba(0, 0, 0, 0.1);

    --font-heading: 'Druk', sans-serif;
    --font-alt-heading: 'Druk Wide', sans-serif;
    --font-body: 'TT Norms', sans-serif;
    --font-handwritten: 'Reenie Beanie', cursive;

    --transition-smooth: all 0.5s cubic-bezier(0.16, 1, 0.3, 1);
    --transition-fast: all 0.2s ease;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    font-size: 16px;
    background-color: var(--bg-color);
    color: var(--text-black);
    font-family: var(--font-body);
    overflow-x: hidden;
}

body {
    min-height: 100vh;
    position: relative;
}

.texture-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    pointer-events: none;
}

.paper-texture {
    z-index: 1; /* Retorna para trás do conteúdo para manter as seções pretas limpas */
    background-image: url('assets/textura paper.png.png'); /* Mantém a textura original texturizada e rugosa */
    background-size: cover;
    background-repeat: no-repeat;
    background-position: center;
    mix-blend-mode: multiply;
    opacity: 0.9;
}

.noise-texture {
    z-index: 9999;
    /* Fica acima de todo o site para dar grão orgânico contínuo */
    background-image: url('assets/texture_noise.webp');
    background-size: 200px 200px;
    background-repeat: repeat;
    mix-blend-mode: overlay;
    opacity: 0.08;
}

/* Container principal centralizado */
.site-container {
    max-width: 1920px;
    margin: 0 auto;
    padding: 0 4rem;
    position: relative;
    z-index: 10;
}

/* 4. HEADER NAVEGAÇÃO */
.main-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 2.5rem 0;
    border-bottom: 1px solid var(--border-color);
}

.header-logo #logo-img {
    height: 38px;
    object-fit: contain;
    transition: var(--transition-smooth);
}

.header-logo:hover #logo-img {
    transform: scale(1.05);
}

.header-nav {
    display: none;
    /* Removido: usuário deve rolar para descobrir o conteúdo */
}

.nav-link {
    font-family: var(--font-body);
    font-weight: 700;
    font-size: 0.85rem;
    letter-spacing: 0.12em;
    color: var(--text-black);
    text-decoration: none;
    position: relative;
    padding: 0.5rem 0;
    transition: var(--transition-fast);
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background-color: var(--primary-red);
    transition: var(--transition-smooth);
}

.nav-link:hover {
    color: var(--primary-red);
}

.nav-link:hover::after {
    width: 100%;
}

.header-socials {
    display: flex;
    gap: 2rem;
}

.social-link {
    font-family: var(--font-body);
    font-weight: 700;
    font-size: 0.8rem;
    letter-spacing: 0.08em;
    color: var(--text-black);
    text-decoration: none;
    transition: var(--transition-fast);
    display: flex;
    align-items: center;
    gap: 0.3rem;
}

.social-link:hover {
    color: var(--primary-red);
}

.arrow-up-right {
    font-size: 0.75rem;
    transition: var(--transition-fast);
}

.social-link:hover .arrow-up-right {
    transform: translate(2px, -2px);
}

/* 5. HERO SECTION */
.section-hero {
    min-height: calc(100vh - 120px);
    display: grid;
    grid-template-columns: 1fr 2fr 1fr;
    /* simétrico → nome centralizado na tela */
    align-items: center;
    position: relative;
    padding-bottom: 6rem;
}

/* Hero Coluna Esquerda */
.hero-left {
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    height: 65%;
}

.intent-block {
    margin-top: 2rem;
}

.intent-title {
    font-family: var(--font-alt-heading);
    font-weight: bold;
    font-size: 2.4rem;
    line-height: 0.9;
    letter-spacing: -0.01em;
    color: var(--primary-red);
}

.intent-divider {
    width: 80px;
    height: 8px;
    background-color: var(--text-black);
    margin: 1.5rem 0;
}

.intent-desc {
    font-family: var(--font-body);
    font-size: 1.05rem;
    font-weight: 500;
    line-height: 1.4;
    max-width: 250px;
    color: var(--text-dark);
}

.barcode-block {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
}

.barcode-img {
    height: 75px; /* Altura ideal proporcional para a nova imagem */
    width: auto;
    object-fit: contain;
    mix-blend-mode: multiply;
}
}

/* Hero Centro: Assinatura Central */
.hero-center {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    position: relative;
    width: 100%;
}

.signature-wrapper {
    position: relative;
    width: 100%;
    max-width: 740px;
    margin: 0 auto;
    /* Centralizado no hero-center */
    left: 50%;
    transform: translateX(-50%);
}

.signature-img {
    width: 100%;
    max-width: 700px;
    height: auto;
    object-fit: contain;
    mix-blend-mode: multiply;
}

.signature-stroke {
    position: absolute;
    bottom: -5%;
    /* Começa no "DI" de JARANDILHA (≈55% da largura) e vai até o final */
    left: 55%;
    transform: none;
    width: 44%;
    height: auto;
    mix-blend-mode: multiply;
}

/* Nota Manual Escrita à Mão (Posicionamento matemático exato relativo aos limites da imagem da assinatura) */
.handwritten-note {
    position: absolute;
    bottom: 55%;
    /* Descido para alinhar com a base do A */
    right: -20%;
    /* Deslocado mais para a direita para ultrapassar o H e apontar para o A */
    display: flex;
    align-items: center;
    gap: 0.3rem;
    transform: rotate(3deg);
    pointer-events: none;
}

.note-arrow {
    width: 70px;
    height: auto;
    object-fit: contain;
    mix-blend-mode: multiply;
}

.note-text {
    font-family: var(--font-handwritten);
    font-size: 2.5rem;
    color: var(--primary-red);
    line-height: 0.78;
    text-align: left;
    white-space: nowrap;
}

/* Hero Coluna Direita (Escala de Cinza) */
.hero-right {
    display: flex;
    justify-content: flex-end;
    align-items: center;
    height: 100%;
}

.grayscale-palette {
    display: flex;
    flex-direction: column;
    border: 1px solid var(--border-color);
}

.palette-block {
    width: 25px;
    height: 25px;
}

.block-1 {
    background-color: #ffffff;
}

.block-2 {
    background-color: #dddddd;
}

.block-3 {
    background-color: #bbbbbb;
}

.block-4 {
    background-color: #999999;
}

.block-5 {
    background-color: #777777;
}

.block-6 {
    background-color: #555555;
}

.block-7 {
    background-color: #333333;
}

.block-8 {
    background-color: #000000;
}

/* Indicador de Scroll */
.scroll-explorer {
    position: absolute;
    bottom: 2rem;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.5rem;
    text-decoration: none;
    color: var(--text-black);
    transition: var(--transition-smooth);
}

.scroll-text {
    font-family: var(--font-body);
    font-weight: 700;
    font-size: 0.75rem;
    letter-spacing: 0.1em;
}

.scroll-arrow {
    width: 20px;
    height: auto;
    transition: var(--transition-smooth);
}

.scroll-explorer:hover {
    color: var(--primary-red);
}

.scroll-explorer:hover .scroll-arrow {
    transform: translateY(6px);
}

/* ==========================================================================
   6. SESSÃO 2: TELA THE QUESTION (STICKY PINNED SCROLL ANIMATION)
   ========================================================================== */
.section-question {
    height: 250vh; /* Reduzido de 380vh para 250vh já que a timeline foi compactada, eliminando o scroll preto vazio */
    position: relative;
    z-index: 10;
    color: #ffffff;
    width: 100vw;
    margin-left: calc(-50vw + 50%);
    margin-right: calc(-50vw + 50%);
    background-color: #000000;
    /* Fundo preto permanente — evita que a textura apareça quando o sticky dissolve */
}

.sticky-wrapper {
    position: sticky;
    top: 0;
    width: 100vw;
    height: 100vh;
    overflow: hidden;
    display: flex;
    justify-content: center;
    align-items: center;
    background-color: #000000;
    /* Adiciona a textura noise.png.png de fundo */
    background-image: linear-gradient(rgba(0, 0, 0, 0.4), rgba(0, 0, 0, 0.4)), url('assets/textura noise.png.png');
    background-size: cover;
    background-repeat: no-repeat;
    background-position: center;
    transition: opacity 0.3s ease;
}





/* Camada de rabiscos sobrepostos (Blended for dark theme) */
.scribbles-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    z-index: 15;
}

.scribble-layer {
    position: absolute;
    opacity: 0;
    transform: scale(1.04);
    transition: opacity 0.4s cubic-bezier(0.16, 1, 0.3, 1),
        transform 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}

.scribble-layer.visible {
    opacity: 1;
    transform: scale(1);
}

/* Wrapper para manter o título e os rabiscos alinhados ocupando a tela inteira */
.question-content {
    position: relative;
    width: 100%;
    height: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
}

/* Palavra QUESTION gigante e limpa ao centro (Imagem PSD) */
.giant-question-text {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 70vw;
    /* Escala relativa ao viewport */
    height: auto;
    object-fit: contain;
    z-index: 10;
    transition: opacity 0.4s ease, transform 0.4s ease;
}

/* Coordenadas relativas dos rabiscos baseadas na tela */
.layer-7 {
    top: 48%;
    /* Subido de 48% para 42% */
    left: 25%;
    /* Movido mais para a esquerda */
    transform: translate(-50%, -50%) !important;
    width: 15vw;
    z-index: 16;
}

.layer-8 {
    top: 43%;
    left: 60%;
    transform: translate(-50%, -50%) !important;
    width: 52vw;
    z-index: 15;
}

.layer-risco {
    top: 65%;
    /* Posicionado a 75% de altura (bem abaixo do texto) */
    left: 55%;
    transform: translate(-50%, -50%) !important;
    width: 45vw;
    z-index: 17;
}

.layer-estrela {
    top: 50%;
    left: 10%;
    /* Fica na lateral esquerda, antes de THE QUESTION */
    transform: translate(-50%, -50%) !important;
    width: 6vw;
    z-index: 14;
}

.layer-coracao {
    top: 27%;
    left: 92%;
    /* Fica no canto superior direito, após o título */
    transform: translate(-50%, -50%) !important;
    width: 5vw;
    z-index: 14;
}

/* Frases flutuantes interativas do usuário */
.floating-questions {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    /* Deixa passar eventos para não travar o scroll */
    z-index: 20;
}

.float-q {
    position: absolute;
    font-family: var(--font-handwritten), cursive;
    font-size: 3.5rem;
    /* Ligeiramente menor para evitar sobreposição em textos longos */
    font-weight: 500;
    color: var(--primary-red);
    background: transparent;
    padding: 0;
    border: none;
    box-shadow: none;
    white-space: nowrap;
    cursor: default;
    opacity: 0;
    transform: translateY(20px);
    transition: opacity 0.5s cubic-bezier(0.16, 1, 0.3, 1),
        transform 0.5s cubic-bezier(0.16, 1, 0.3, 1);
    text-shadow: 0 0 1px rgba(158, 0, 24, 0.1);
}

/* Posicionamento em quadrantes distintos para evitar sobreposição */
/* q-1: canto superior esquerdo (texto longo → precisa de espaço à direita limitado) */
.q-1 {
    top: 9%;
    left: 5%;
}

/* q-2: "e se...?" — curto, aparece acima no centro, claramente separado do q-1 */
.q-2 {
    top: 4%;
    left: 44%;
    font-size: 2.8rem;
    /* Ligeiramente maior para destacar — é a pergunta-âncora */
}

/* q-3: canto superior direito */
.q-3 {
    top: 9%;
    right: 5%;
}

/* q-4: canto inferior esquerdo */
.q-4 {
    bottom: 10%;
    left: 5%;
}

/* q-5: canto inferior direito (texto longo → right-aligned implícito) */
.q-5 {
    bottom: 10%;
    right: 5%;
}

@keyframes float-bubble-interactive {
    0% {
        transform: translateY(0);
    }

    100% {
        transform: translateY(-10px);
    }
}

/* Frase nuclear central de intenção (EVERY ANSWER BEGINS WITH INTENTION.) */
.question-core-phrase {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    font-family: var(--font-body);
    font-weight: 700;
    font-size: 3rem;
    letter-spacing: 0.18em;
    color: #ffffff;
    text-transform: uppercase;
    text-align: center;
    white-space: nowrap;
    opacity: 0;
    visibility: hidden;
    z-index: 30;
    transition: opacity 0.5s ease, transform 0.5s ease;
}

.intention-wrap {
    position: relative;
    color: var(--primary-red);
    display: inline-block;
}

.circle-intent-img {
    position: absolute;
    top: 50%;
    left: 48%;
    /* Levemente deslocado para englobar o ponto final */
    transform: translate(-50%, -50%) scale(0);
    width: 120%;
    /* Proporção perfeita para o circulo.png cobrir INTENTION. */
    height: auto;
    max-width: none;
    pointer-events: none;
    transition: opacity 0.5s ease, transform 0.5s ease;
}

/* ==========================================================================
   7. SESSÃO 3: INTEGRATED CONCEPT & COLLECTIONS
   ========================================================================== */
.section-concept-collections {
    padding: 0 4rem; /* Mantém o recuo interno para alinhar o conteúdo com o resto do site */
    border-top: none;
    position: relative;
    z-index: 20; /* Fica acima da section-question para cobri-la quando rolar para baixo */
    background: transparent; /* Permite que o fundo global e a textura de papel corram sem costura */
    opacity: 1;
    transform: none;
    visibility: visible;
    
    /* Sangria para ocupar 100% da largura da tela, quebrando o container principal (como a section-question) */
    width: 100vw;
    margin-left: calc(-50vw + 50%);
    margin-right: calc(-50vw + 50%);
}

/* THE CONCEPT: ocupa a tela inteira — perfeitamente centralizado */
.manifesto-row {
    display: grid;
    grid-template-columns: 0.9fr 1.1fr;
    gap: 5rem;
    align-items: center;
    /* Centraliza verticalmente o conteúdo */
    width: 100%;
    min-height: 100vh;
    padding: 0;
    /* Remove o padding superior que empurrava para baixo */
    box-sizing: border-box;
}

/* COLLECTIONS: separação clara abaixo do CONCEPT */
.collections-header-row {
    display: grid;
    grid-template-columns: 0.9fr 1.1fr;
    gap: 5rem;
    align-items: start;
    width: 100%;
    padding-top: 8rem;
    padding-bottom: 1rem;
    border-top: 1px solid var(--border-color);
}

/* Colunas com layout fixo dentro da seção — SEM position:sticky para não vazar acima da seção question */
.concept-left-col,
.collections-left-col {
    position: relative;
    /* sticky removido: causava bleeding visual acima da section-question */
    top: auto;
    margin-left: 15px;
}

/* THE CONCEPT — título com efeito de contorno/stroke */
.concept-giant-title {
    display: flex;
    flex-direction: column;
    line-height: 0.88;
    margin: 0;
    padding: 0;
}

.concept-line {
    display: block;
    font-family: var(--font-alt-heading);
    font-weight: 900;
    text-transform: uppercase;
    font-size: clamp(5rem, 9vw, 11rem);
    letter-spacing: -0.02em;
    /* Linha 1 (THE) — sólida */
    color: #1a1a19;
}

/* Linha 2 (CONCEPT) — apenas contorno/borda */
.concept-line:last-child {
    color: transparent;
    -webkit-text-stroke: 3px #1a1a19;
    text-stroke: 3px #1a1a19;
}

.collections-giant-title {
    font-family: var(--font-alt-heading);
    font-weight: bold;
    text-transform: uppercase;
    font-size: 45px;
    /* Diminuído para harmonizar com o Concept */
    color: var(--primary-red);
    line-height: 0.88;
    letter-spacing: -0.02em;
    display: block;
}

.collections-decorative-rect {
    width: 60px;
    height: 60px;
    background-color: var(--primary-red);
    margin-top: 3rem;
}

.carousel-nav-buttons {
    display: flex;
    justify-content: center;
    gap: 1.5rem;
    margin-top: 1.5rem;
    margin-bottom: 1.5rem;
    /* Margem do topo em relação ao carrossel */
    width: 100%;
}

.carousel-btn {
    width: 48px;
    height: 48px;
    border-radius: 50%;
    border: 1px solid var(--border-color);
    background-color: transparent;
    cursor: pointer;
    display: flex;
    justify-content: center;
    align-items: center;
    transition: var(--transition-smooth);
    outline: none;
}

.carousel-btn-arrow {
    font-size: 1.2rem;
    font-weight: bold;
    color: var(--text-black);
    transition: var(--transition-fast);
}

.carousel-btn:hover {
    background-color: var(--primary-red);
    border-color: var(--primary-red);
}

.carousel-btn:hover .carousel-btn-arrow {
    color: #ffffff;
}

/* Estilização Manifesto */
.manifesto-wrapper {
    display: flex;
    flex-direction: column;
    margin-left: 15px;
    margin-right: 15px;
}

.manifesto-header {
    margin-bottom: 2rem;
}

.manifesto-tag {
    font-family: var(--font-alt-heading);
    font-weight: bold;
    font-size: 2.2rem;
    letter-spacing: -0.01em;
    color: var(--primary-red);
}

.manifesto-underline {
    width: 120px;
    height: 3px;
    background-color: var(--text-black);
    margin-top: 0.6rem;
}

.manifesto-body {
    font-family: var(--font-body);
    font-size: 1.25rem;
    font-weight: 500;
    line-height: 1.65;
    color: var(--text-dark);
    text-align: justify;
}

.collections-supporting-text {
    font-family: var(--font-body);
    font-size: 0.95rem;
    font-weight: 500;
    line-height: 1.6;
    color: var(--text-muted);
    border-left: 3px solid var(--primary-red);
    padding-left: 1.2rem;
    max-width: 480px;
    margin-top: 2rem;
}

/* Linha 3: Slider de Projetos (Largura Total da Página) */
.collections-slider-row {
    display: flex;
    flex-direction: column;
    width: 99%;
    margin-left: 1%;
    margin-top: 3rem;
}

/* Paginação Estilo Apple (Pills Horizontais minimalistas) */
.slider-pagination-container {
    display: flex;
    justify-content: center;
    align-items: center;
    width: 100%;
    margin-top: 2rem;
    grid-column: 1 / -1;
    /* Ocupa a largura total para ficar centralizado abaixo */
}

.slider-pagination {
    display: flex;
    flex-direction: row;
    /* Horizontal */
    gap: 10px;
    background: rgba(0, 0, 0, 0.05);
    padding: 8px 12px;
    border-radius: 20px;
}

.pagination-dot {
    width: 8px;
    height: 8px;
    border-radius: 4px;
    border: none;
    background-color: rgba(0, 0, 0, 0.2);
    cursor: pointer;
    transition: width 0.3s cubic-bezier(0.25, 1, 0.5, 1), background-color 0.3s ease;
    outline: none;
}

.pagination-dot:hover {
    background-color: rgba(0, 0, 0, 0.4);
}

.pagination-dot.active {
    width: 24px;
    /* Vira um pill esticado estilo iOS */
    background-color: var(--primary-red);
    box-shadow: none;
}

/* Container de Cards de Projetos (Carrossel dentro dos limites do site) */
.projects-container {
    position: relative;
    width: 100%;
    padding: 15px 0;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    scrollbar-width: none;
    box-sizing: border-box;
}

.projects-container::-webkit-scrollbar {
    display: none;
}

.projects-group {
    display: flex;
    flex-direction: row;
    gap: 1.5rem;
    width: max-content;
    padding-right: 8rem;
    /* Margem extra no final para evitar o 'limbo' transparente */
    box-sizing: border-box;
}

.projects-group.active {
    position: relative;
}

/* Card de Projeto Individual */
.project-card {
    position: relative;
    border: 1px solid var(--border-color);
    width: 320px;
    /* Largura fixa ideal para o carrossel */
    aspect-ratio: 0.78 / 1;
    /* Aumentado a altura de 0.9 para 0.78 para ser mais alto */
    padding: 1.8rem 1.2rem;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    transition: var(--transition-smooth);
    background-color: rgba(255, 255, 255, 0.05);
    overflow: hidden;
    scroll-snap-align: start;
    /* Efeito de snap clássico */
    flex-shrink: 0;
    /* Impede que os cards encolham */
}

.project-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 0;
    background-color: var(--primary-red);
    transition: var(--transition-smooth);
    z-index: 1;
}

.card-content {
    position: relative;
    z-index: 5;
    height: 100%;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.project-title {
    font-family: var(--font-heading);
    font-weight: bold;
    font-size: 1.4rem;
    line-height: 0.95;
    letter-spacing: -0.01em;
    color: var(--text-black);
    text-transform: uppercase;
    transition: var(--transition-smooth);
}

.project-description {
    font-family: var(--font-body);
    font-size: 0.85rem;
    line-height: 1.5;
    color: var(--text-muted);
    margin-top: 1.2rem;
    flex-grow: 1;
    transition: var(--transition-smooth);
}

.project-btn {
    border: none;
    background: transparent;
    cursor: pointer;
    align-self: flex-start;
    margin-top: 1.5rem;
    outline: none;
    display: flex;
    align-items: center;
    gap: 0.8rem;
    font-family: var(--font-body);
    font-weight: 700;
    font-size: 0.75rem;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    color: var(--text-dark);
    transition: var(--transition-fast);
}

.project-btn span {
    opacity: 0;
    transform: translateX(-10px);
    transition: opacity 0.3s ease, transform 0.3s ease;
    white-space: nowrap;
}

.btn-circle {
    width: 32px;
    height: 32px;
    border-radius: 50%;
    border: 1px solid var(--border-color);
    display: flex;
    justify-content: center;
    align-items: center;
    transition: var(--transition-smooth);
}

.btn-arrow {
    width: 12px;
    height: auto;
    object-fit: contain;
    mix-blend-mode: multiply;
    transition: var(--transition-smooth);
}

/* Efeito Hover nos Cards */
.project-card:hover {
    transform: translateY(-6px);
    border-color: var(--primary-red);
    box-shadow: 0 12px 30px rgba(0, 0, 0, 0.04);
    background-color: rgba(255, 255, 255, 0.4);
}

.project-card:hover::before {
    height: 5px;
}

.project-card:hover .project-title {
    color: var(--primary-red);
}

.project-card:hover .btn-circle {
    border-color: var(--primary-red);
    background-color: var(--primary-red);
}

.project-card:hover .btn-arrow {
    transform: rotate(45deg);
    filter: brightness(0) invert(1);
}

.project-card:hover .project-btn {
    color: var(--primary-red);
}

.project-card:hover .project-btn span {
    opacity: 1;
    transform: translateX(0);
}

/* ==========================================================================
   8. SESSÃO 4: RODAPÉ & CLIENTES
   ========================================================================== */
.section-footer {
    padding-top: 4rem;
    padding-bottom: 2.5rem;
    position: relative;
    background: transparent; /* Permite que o fundo global e a textura de papel corram sem costura */
    
    /* Sangria para ocupar 100% da largura da tela, eliminando as bordas pretas laterais no rodapé */
    width: 100vw;
    margin-left: calc(-50vw + 50%);
    margin-right: calc(-50vw + 50%);
    padding-left: 4rem;
    padding-right: 4rem;
    box-sizing: border-box;
}

.footer-divider-top {
    width: 100%;
    height: 2px;
    background-color: var(--text-black);
    margin-bottom: 3.5rem;
}

.footer-trusted-text {
    font-family: var(--font-body);
    font-weight: 700;
    font-size: 0.9rem;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    text-align: center;
    margin-bottom: 3rem;
}

.red-text {
    color: var(--primary-red);
}

/* Grid de clientes */
.clients-grid {
    display: grid;
    grid-template-columns: repeat(6, 1fr);
    gap: 1.2rem;
    margin-bottom: 5rem;
}

.client-logo-box {
    background-color: var(--primary-red);
    color: #ffffff;
    height: 90px;
    display: flex;
    justify-content: center;
    align-items: center;
    font-family: var(--font-heading);
    font-weight: bold;
    font-size: 1.1rem;
    letter-spacing: 0.05em;
    text-transform: uppercase;
    transition: var(--transition-smooth);
    cursor: default;
    border-radius: 2px;
}

.client-logo-box:hover {
    transform: scale(1.04);
    background-color: var(--text-black);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.1);
}

.footer-divider-bottom {
    width: 100%;
    height: 1px;
    background-color: var(--border-color);
    margin-bottom: 2rem;
}

.footer-credits {
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 0.8rem;
    font-weight: 500;
    color: var(--text-muted);
}

.credits-tag {
    font-family: var(--font-body);
    font-weight: 700;
    letter-spacing: 0.05em;
    color: var(--text-black);
}

/* ==========================================================================
   9. RESPONSIVIDADE E ADAPTABILIDADE (MEDIA QUERIES)
   ========================================================================== */

/* Telas Grandes */
@media (min-width: 1920px) {
    html {
        font-size: 18px;
    }
}

/* Notebooks / Desktop Médio */
@media (max-width: 1440px) {
    .site-container {
        padding: 0 2.5rem;
    }

    .intent-title {
        font-size: 2.2rem;
    }

    .concept-giant-title .title-the {
        font-size: 4.8rem;
    }

    .concept-giant-title .title-concept {
        font-size: 9rem;
    }

    .concept-giant-title .title-collections {
        font-size: 5.8rem;
    }

    .projects-group {
        grid-template-columns: repeat(2, 1fr);
        /* 2 colunas nos cards */
    }

    .project-card {
        aspect-ratio: 0.78 / 1;
    }
}

/* Tablets / iPads */
@media (max-width: 1024px) {
    .main-header {
        flex-direction: column;
        gap: 1.5rem;
        padding: 2rem 0;
    }

    .header-nav {
        display: none;
        /* Mantido oculto em todos os tamanhos */
    }

    .section-hero {
        grid-template-columns: 1fr;
        grid-template-rows: auto auto auto;
        gap: 3rem;
        padding-top: 2rem;
        padding-bottom: 4rem;
    }

    .hero-left {
        height: auto;
        gap: 2rem;
        align-items: center;
        text-align: center;
    }

    .intent-divider {
        margin: 1rem auto;
    }

    .intent-desc {
        max-width: 100%;
    }

    .barcode-block {
        align-items: center;
    }

    .hero-center {
        order: -1;
        margin-bottom: 2rem;
    }

    .signature-wrapper {
        width: 100%;
    }

    .handwritten-note {
        position: relative;
        top: auto;
        right: auto;
        margin-top: 1.5rem;
        justify-content: center;
        transform: rotate(0deg);
    }

    .hero-right {
        justify-content: center;
    }

    .grayscale-palette {
        flex-direction: row;
    }

    /* Quebra o grid duplo do manifesto/coleções para coluna única */
    .concept-collections-grid {
        grid-template-columns: 1fr;
        gap: 4rem;
    }

    .concept-left-column {
        position: relative;
        top: auto;
    }

    .concept-giant-title .title-the {
        font-size: 4rem;
    }

    .concept-giant-title .title-concept {
        font-size: 7.5rem;
    }

    .concept-giant-title .title-collections {
        font-size: 5rem;
    }

    .concept-right-column {
        gap: 4rem;
    }

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

    .clients-grid {
        grid-template-columns: repeat(3, 1fr);
    }
}

/* Smartphones */
@media (max-width: 640px) {
    .site-container {
        padding: 0 1.5rem;
    }

    /* Mantém os rabiscos visíveis no mobile mas em tamanhos reduzidos para não quebrar ou estourar a tela */
    .scribbles-overlay {
        display: block !important;
        width: 100%;
        height: 100%;
        position: absolute;
        top: 0;
        left: 0;
    }

    .scribble-layer {
        max-width: 25% !important; /* Reduz escala no mobile */
    }

    .layer-7 { top: 40% !important; left: 15% !important; }
    .layer-8 { top: 38% !important; left: 68% !important; }
    .layer-risco { top: 68% !important; left: 50% !important; width: 60% !important; max-width: none !important; }
    .layer-estrela { top: 62% !important; left: 75% !important; }
    .layer-coracao { top: 62% !important; left: 20% !important; }

    .floating-questions {
        display: block !important;
        width: 100%;
        height: 100%;
        position: absolute;
        top: 0;
        left: 0;
    }

    .float-q {
        font-size: 0.7rem !important; /* Diminui fonte das perguntas flutuantes */
        padding: 0.4rem 0.8rem !important;
        max-width: 180px;
        white-space: normal !important; /* Permite quebra de linha nas caixinhas de dúvida */
    }

    /* Reposiciona as perguntas flutuantes para que fiquem centradas e legíveis no visor vertical */
    .q-1 { top: 12% !important; left: 10% !important; }
    .q-2 { top: 22% !important; left: 65% !important; }
    .q-3 { top: 30% !important; left: 5% !important; }
    .q-4 { top: 72% !important; left: 55% !important; }
    .q-5 { top: 78% !important; left: 8% !important; }

    /* Reduz a altura da seção de scroll para evitar que o usuário fique rolando telas pretas vazias no celular */
    .section-question {
        height: 250vh; /* Mantido igual para preservar as timelines do scroll */
    }

    .giant-question-text {
        width: 85% !important;
        height: auto;
    }

    /* Ajusta tamanho da frase de intenção e o círculo vermelho no mobile */
    .question-core-phrase {
        font-size: 1.5rem !important;
        width: 85%;
        line-height: 1.4;
        text-align: center;
        white-space: normal !important; /* Permite quebra de linha natural */
    }

    .circle-intent-img {
        width: 110% !important;
        left: 48%;
    }

    /* Ajusta assinatura e nota manual da Hero no mobile */
    .signature-wrapper {
        width: 90%;
        max-width: none;
    }

    .handwritten-note {
        transform: rotate(0deg) scale(0.7) !important; /* Reduz nota manuscrita no mobile */
        margin-top: 1rem;
    }

    /* Transforma a linha do manifesto em coluna única vertical */
    .manifesto-row {
        grid-template-columns: 1fr !important;
        gap: 3rem !important;
        padding: 4rem 1.5rem !important;
        min-height: auto !important;
        align-items: start !important;
    }

    .concept-left-col {
        margin-left: 0 !important;
        text-align: left;
    }

    .manifesto-wrapper {
        margin-left: 0 !important;
        margin-right: 0 !important;
    }

    .concept-giant-title .concept-line {
        margin-left: 0 !important;
        font-size: 2.8rem;
    }

    .manifesto-tag {
        font-size: 1.6rem;
    }

    .manifesto-body {
        font-size: 1.05rem;
        line-height: 1.55;
    }

    /* Ajusta o cabeçalho das Coleções */
    .collections-header-row {
        grid-template-columns: 1fr !important;
        gap: 1.5rem;
        padding-top: 4rem;
    }

    .collections-left-col {
        margin-left: 0 !important;
    }

    .collections-giant-title {
        font-size: 32px !important;
    }

    .collections-supporting-text {
        font-size: 0.9rem;
        margin-top: 1rem;
        max-width: 100%;
    }

    .header-nav {
        flex-wrap: wrap;
        justify-content: center;
        gap: 1.2rem;
    }

    .header-socials {
        display: none;
    }

    .intent-title {
        font-size: 2.8rem;
    }

    .projects-group {
        grid-template-columns: 1fr;
    }

    .project-card {
        aspect-ratio: 1.3 / 1;
        padding: 1.5rem;
    }

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

    .client-logo-box {
        height: 70px;
        font-size: 0.85rem;
    }

    .footer-credits {
        flex-direction: column;
        gap: 1rem;
        text-align: center;
    }
}