/* =========================================
   DESIGN SYSTEM TOKENS (Extracted from Audit)
========================================= */
:root {
    --ds-color-bg: #0044FF; /* Azul vibrante e moderno */
    --ds-color-surface: #0033CC; /* Azul mais escuro para profundidade (preloader) */
    --ds-color-text: #FFFFFF; /* Branco puro */
    --ds-color-muted: rgba(255, 255, 255, 0.7); /* Branco com transparência para melhor leitura */
    --ds-color-accent: #FFB800; /* Amarelo/Âmbar premium */
    
    --ds-font-primary: 'Inter Tight', sans-serif;
}

/* =========================================
   RESET & BASE
========================================= */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    background-color: var(--ds-color-bg);
    color: var(--ds-color-text);
    font-family: var(--ds-font-primary);
    overflow: hidden; /* Bloqueado durante o preloader */
    -webkit-font-smoothing: antialiased;
}

/* =========================================
   PRELOADER
========================================= */
.preloader {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    background-color: var(--ds-color-surface);
    z-index: 9999;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
}

.preloader-wrapper {
    display: flex;
    align-items: baseline;
    gap: 1rem;
    z-index: 2;
}

.preloader-counter {
    font-size: 15vw;
    font-weight: 800;
    line-height: 1;
    letter-spacing: -0.05em;
    color: var(--ds-color-text);
}

.preloader-name {
    font-size: 1.5rem;
    font-weight: 500;
    letter-spacing: 0.3em;
    color: var(--ds-color-muted);
    opacity: 0; /* Animado via JS */
}

/* Cortina escura para efeito de transição de saída do preloader */
.preloader-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 0%;
    background-color: var(--ds-color-bg);
    z-index: 1;
}

/* =========================================
   HERO SECTION
========================================= */
.hero {
    height: 100vh;
    width: 100%;
    position: relative;
    padding: 2rem 4vw;
    display: flex;
    flex-direction: column;
}

.navbar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    opacity: 0; /* Animado via JS */
}

.logo {
    font-size: 1.5rem;
    font-weight: 700;
    letter-spacing: -0.02em;
}

.nav-links {
    display: flex;
    gap: 3vw;
}

.hover-link {
    color: var(--ds-color-text);
    text-decoration: none;
    font-size: 0.9rem;
    text-transform: uppercase;
    font-weight: 500;
    letter-spacing: 0.1em;
    position: relative;
    padding-bottom: 4px;
}

/* Efeito de underline Awwwards style */
.hover-link::after {
    content: '';
    position: absolute;
    width: 0%;
    height: 1px;
    bottom: 0;
    left: 0;
    background-color: var(--ds-color-text);
    transition: width 0.4s cubic-bezier(0.77, 0, 0.175, 1);
}

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

/* Títulos do Hero */
.hero-content {
    flex: 1;
    display: flex;
    flex-direction: column;
    justify-content: center;
    margin-top: 5vh;
}

.hero-title-wrap {
    overflow: hidden; /* Oculta o texto antes da animação */
    padding-top: 0.3em; /* Evita cortar acentos como o Ê */
    margin-top: -0.3em; /* Compensa o padding para manter o alinhamento */
    padding-bottom: 0.3em; /* Espaço para descendentes como a perna do 'p' */
    margin-bottom: -0.3em;
}

.hero-title {
    font-size: 8.5vw;
    font-weight: 800;
    line-height: 1; /* Aumentado para dar mais respiro à fonte */
    text-transform: uppercase;
    letter-spacing: 0.02em; /* Afastado para impedir que as letras se cruzem */
    transform: translateY(150%); /* Desce mais para esconder dentro do novo padding-bottom */
}

.hero-title.italic {
    font-style: italic;
    color: var(--ds-color-text); /* Sólido como o resto */
    margin-left: 12vw; /* Assimetria elegante */
    display: inline-block;
}

/* Rodapé do Hero (Subtitle e Scroll indicator) */
.hero-footer-wrap {
    margin-top: 6vh;
    display: flex;
    justify-content: space-between;
    align-items: flex-end;
    opacity: 0; /* Animado via JS */
}

.hero-subtitle {
    color: var(--ds-color-muted);
    font-size: 1rem;
    font-weight: 400;
    line-height: 1.5;
}

.scroll-indicator {
    width: 1px;
    height: 60px;
    background-color: rgba(255, 255, 255, 0.2);
    position: relative;
    overflow: hidden;
}

.scroll-dot {
    width: 100%;
    height: 15px;
    background-color: var(--ds-color-text);
    position: absolute;
    top: -15px;
    animation: scrollDrop 2s cubic-bezier(0.77, 0, 0.175, 1) infinite;
}

@keyframes scrollDrop {
    0% { top: -15px; }
    50% { top: 100%; }
    100% { top: 100%; }
}

/* =========================================
   81 TRANSITION SECTION
========================================= */
.transition-section {
    height: 300vh; /* Permite scroll longo para o efeito parallax/scale extremo */
    width: 100%;
    position: relative;
    background-color: var(--ds-color-bg);
}

.giant-81-wrapper {
    position: sticky;
    top: 0;
    height: 100vh;
    width: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
    overflow: hidden;
}

.giant-number {
    font-size: 50vw; /* Massivo */
    font-weight: 800;
    line-height: 0.8;
    color: transparent;
    -webkit-text-stroke: 4px rgba(255, 255, 255, 0.6); /* Borda mais grossa e mais branca para alto destaque */
    /* Transform initial scale será manipulado via JS */
    transform-origin: center center;
    white-space: nowrap;
}

/* =========================================
   ABOUT US SECTION
========================================= */
.about-section {
    min-height: 100vh;
    width: 100%;
    background-color: var(--ds-color-surface); /* Contraste sutil de azul */
    padding: 15vw 4vw;
    position: relative;
    z-index: 2;
}

.about-container {
    display: flex;
    flex-direction: column;
    gap: 15vh;
}

.about-heading {
    font-size: 7vw;
    font-weight: 700;
    line-height: 1;
    text-transform: uppercase;
    display: flex;
    flex-direction: column;
    gap: 1vw;
}

.about-line-wrap {
    overflow: hidden; /* Para o reveal (máscara) */
    padding-bottom: 0.2em;
    margin-bottom: -0.2em;
}

.about-line {
    display: inline-block;
    transform: translateY(120%); /* Inicia escondido */
}

.about-line.italic {
    font-family: 'Instrument Serif', serif;
    font-style: italic;
    font-weight: 400;
    color: var(--ds-color-accent); /* Neon Lime */
    text-transform: lowercase;
    font-size: 9.5vw;
}

.indent-1 {
    padding-left: 15vw;
}

.right {
    align-self: flex-end;
}

.about-text-content {
    width: 45%;
    align-self: flex-end;
    font-size: 1.8vw;
    line-height: 1.5;
    color: var(--ds-color-muted);
    font-weight: 400;
    opacity: 0; /* Inicia apagado */
    transform: translateY(30px);
}

/* =========================================
   ATMOSPHERE & IMMERSION (AWWWARDS)
========================================= */

/* 1. Cinematic Noise Overlay */
.noise-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    pointer-events: none; /* Para não bloquear cliques */
    z-index: 9999;
    opacity: 0.05; /* Super sutil */
    background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 200 200' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='noiseFilter'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.8' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23noiseFilter)'/%3E%3C/svg%3E");
    mix-blend-mode: overlay;
}

/* 2. Custom Cursor */
body, a, button {
    cursor: none; /* Esconde o cursor padrão */
}

.custom-cursor {
    position: fixed;
    top: 0;
    left: 0;
    width: 12px;
    height: 12px;
    background-color: var(--ds-color-text);
    border-radius: 50%;
    pointer-events: none;
    z-index: 10000;
    transform: translate(-50%, -50%);
    mix-blend-mode: difference; /* Efeito de inversão de cor com o fundo */
    transition: width 0.3s cubic-bezier(0.25, 1, 0.5, 1), 
                height 0.3s cubic-bezier(0.25, 1, 0.5, 1), 
                background-color 0.3s ease;
    will-change: transform, width, height;
}

.custom-cursor.hover {
    width: 60px;
    height: 60px;
    background-color: var(--ds-color-accent);
}

/* =========================================
   CLIENTS SECTION (Grid Bento & Dark Mode)
========================================= */
.clients-section {
    min-height: 100vh;
    width: 100%;
    background-color: #030A1A; /* Preto/Azul super escuro */
    /* Dotted background effect em Neon Lime super sutil */
    background-image: radial-gradient(rgba(204, 255, 0, 0.1) 1px, transparent 1px);
    background-size: 30px 30px;
    padding: 10vw 4vw;
    position: relative;
    z-index: 10; /* Maior para passar por cima do Sobre Nós */
    
    /* As bordas arredondadas agora serão dinâmicas (Dome Reveal) via GSAP */
}

.clients-container {
    display: flex;
    flex-direction: column;
    gap: 8vh;
    max-width: 1400px;
    margin: 0 auto;
}

.clients-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
}

.clients-subtitle {
    font-size: 0.9rem;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    color: var(--ds-color-text);
    font-weight: 700;
}

.clients-description {
    width: 45%;
    font-size: 2.2vw;
    line-height: 1.2;
    font-weight: 500;
    color: var(--ds-color-text);
    letter-spacing: -0.02em;
}

.clients-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 1.5vw;
}

.client-card {
    background-color: #0A1428; /* Fundo escuro totalmente sólido */
    border: 1px solid rgba(255, 255, 255, 0.05); /* Borda luxuosa */
    border-radius: 1vw;
    aspect-ratio: 1; /* Quadrados perfeitos */
    display: flex;
    justify-content: center;
    align-items: center;
    /* Adicionado box-shadow na transition */
    transition: transform 0.4s cubic-bezier(0.25, 1, 0.5, 1), background-color 0.4s ease, box-shadow 0.4s ease;
    cursor: none; /* Para o custom cursor */
    /* Oculto no início para animação de scroll GSAP */
    opacity: 0;
    transform: translateY(40px);
}

.client-card:hover {
    background-color: var(--ds-color-text); /* Fundo vira branco puro */
    box-shadow: 0 15px 35px rgba(255, 255, 255, 0.15); /* Brilho projetado */
    transform: translateY(-10px) scale(1.02) !important; /* Levanta do chão */
}

.client-logo {
    display: flex;
    align-items: center;
    gap: 0.8vw;
    color: var(--ds-color-text);
    transition: transform 0.4s cubic-bezier(0.25, 1, 0.5, 1), color 0.3s ease;
}

.client-card:hover .client-logo {
    color: #030A1A; /* O logo e o texto ficam escuros (inversão) */
    transform: scale(1.1); /* Ícone aproxima da tela */
}

.client-name {
    font-weight: 700;
    font-size: 1.3vw;
    letter-spacing: -0.02em;
    transition: letter-spacing 0.4s cubic-bezier(0.25, 1, 0.5, 1);
}

.client-card:hover .client-name {
    letter-spacing: 0.15em; /* Efeito de expansão tipográfica luxuosa */
}

/* =========================================
   SERVICES SECTION (Sticky Scroll Reveal)
========================================= */
.services-section {
    width: 100%;
    background-color: #F4F4F5; /* Off-white premium para contraste com a seção preta anterior */
    color: #030A1A; /* Texto escuro */
    padding: 15vw 4vw 5vw 4vw;
    position: relative;
    z-index: 15;
}

.services-container {
    display: grid;
    grid-template-columns: 5fr 7fr; /* Esquerda menor que a direita */
    gap: 6vw;
    max-width: 1600px;
    margin: 0 auto;
}

/* Lado Esquerdo - Pinned */
.services-left {
    position: relative;
    height: 100%;
}

.services-sticky-wrap {
    position: sticky;
    top: 5vh; /* Inicia mais perto do topo para ganhar muito espaço vertical */
    display: flex;
    flex-direction: column;
    gap: 3.5vh; /* Elementos respirando mais */
}

.services-title {
    font-size: 3.2vw; /* Bem maior, recuperando a imponência da tipografia */
    line-height: 1.05;
    font-weight: 700;
    letter-spacing: -0.04em;
    padding-right: 2vw;
}

.services-image-mask {
    width: 100%;
    max-width: 360px; /* Imagem com mais presença (peso visual) */
    aspect-ratio: 10/11; /* Levemente vertical mas sem exagero */
    border-radius: 1.5vw;
    overflow: hidden;
    position: relative;
    background-color: #e5e5e5;
    box-shadow: 0 20px 40px rgba(0,0,0,0.08);
}

.service-img {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    clip-path: inset(100% 0 0 0);
    transform: scale(1.1);
    transition: clip-path 0.8s cubic-bezier(0.77, 0, 0.175, 1), transform 1s cubic-bezier(0.25, 1, 0.5, 1);
    z-index: 1;
}

.service-img.active {
    clip-path: inset(0 0 0 0);
    transform: scale(1);
    z-index: 2;
}

.service-img.prev {
    clip-path: inset(0 0 0 0);
    z-index: 1;
    transition: none;
}

.services-desc {
    width: 100%;
    font-size: 1.25vw; /* Parágrafo mais legível e proporcional à direita */
    line-height: 1.5;
    color: #555;
    font-weight: 500;
}

.services-desc span {
    font-weight: 700;
    color: #030A1A;
}

/* Lado Direito - Scrolling List */
.services-right {
    display: flex;
    flex-direction: column;
    padding-top: 15vh; /* Começa um pouco mais baixo para dar espaço de scroll inicial */
}

.service-item {
    border-top: 1px solid rgba(0, 0, 0, 0.1);
    padding: 3vw 1vw;
    cursor: none;
    transition: all 0.5s cubic-bezier(0.25, 1, 0.5, 1);
    color: #030A1A;
}

.service-item:last-child {
    border-bottom: 1px solid rgba(0, 0, 0, 0.1);
}

.service-item-content {
    display: grid;
    grid-template-columns: 60px 1fr 30px;
    align-items: center;
    transition: transform 0.4s ease;
}

.service-num {
    font-weight: 700;
    font-size: 1.1vw;
}

.service-name {
    font-weight: 700;
    font-size: 1.8vw;
    letter-spacing: -0.02em;
}

.service-arrow {
    font-size: 1.5vw;
    opacity: 0;
    transform: translateX(-20px);
    transition: all 0.4s ease;
}

/* ESTADO ATIVO DO SCROLL (Botão Azul do Site) */
.service-item.active {
    background-color: var(--ds-color-surface); /* Mantém a paleta Azul do site ao invés de preto */
    color: var(--ds-color-text); /* Texto branco */
    border-color: transparent;
    border-radius: 1.5vw;
    /* Dá um respiro negativo para o botão "vazar" da grade original igual na referência */
    margin: 1vw -2vw;
    padding: 3.5vw 3vw;
    box-shadow: 0 30px 60px rgba(0, 51, 204, 0.3); /* Sombra azulada luxuosa */
    transform: scale(1.02);
}

.service-item.active + .service-item {
    border-top-color: transparent; /* Remove a linha do item de baixo para limpeza visual */
}

.service-item.active .service-arrow {
    opacity: 1;
    transform: translateX(0);
}

.service-item.active .service-item-content {
    transform: translateX(10px); /* Leve empurrão para a direita quando ativo */
}

.services-spacer {
    height: 50vh; /* Espaço extra no final para permitir que o último item seja scrollado até o meio da tela */
    display: flex;
    justify-content: flex-end; /* Alinha o botão na ponta direita como no print */
    align-items: flex-start;
    padding-top: 5vh;
}

/* =========================================
   LET'S TALK BUTTON (Awwwards Style)
========================================= */
.lets-talk-btn {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    background-color: #030A1A; /* Pílula preta base */
    color: #FFF;
    padding: 1.2vw 2.5vw;
    border-radius: 50px;
    text-decoration: none;
    font-weight: 700;
    font-size: 1.2vw;
    letter-spacing: -0.02em;
    opacity: 0;
    visibility: hidden;
    transform: translateY(30px);
    cursor: none;
    border: 1px solid transparent;
    
    /* Configurações para a expansão do círculo */
    position: relative;
    overflow: hidden; /* Corta o azul para não sair do formato da pílula */
    transition: transform 0.4s cubic-bezier(0.25, 1, 0.5, 1), box-shadow 0.4s ease;
}

/* Trazemos o texto e o ponto original para a frente (z-index) */
.lets-talk-btn .btn-text,
.lets-talk-btn .btn-dot {
    position: relative;
    z-index: 2;
}

.lets-talk-btn .btn-dot {
    width: 12px;
    height: 12px;
    background-color: var(--ds-color-surface); /* Ponto azul vibrante (A pedido do usuário) */
    border-radius: 50%;
    display: inline-block;
    transition: background-color 0.2s ease, transform 0.4s ease;
}

/* ONDA AZUL EXPANSIVA (A cor que sai do ponto) */
.lets-talk-btn::before {
    content: '';
    position: absolute;
    /* Centraliza a onda exatamente embaixo de onde fica o ponto vermelho (padding direito + metade do dot) */
    right: calc(2.5vw - 2px); 
    top: 50%;
    transform: translateY(-50%) scale(0);
    width: 16px;
    height: 16px;
    background-color: var(--ds-color-surface); /* Azulão */
    border-radius: 50%;
    z-index: 1; /* Fica entre o fundo preto e o texto/ponto */
    
    /* Animação fluida como água espalhando */
    transition: transform 0.6s cubic-bezier(0.77, 0, 0.175, 1);
}

/* HOVER EFFECT */
.lets-talk-btn:hover {
    transform: scale(1.05);
    box-shadow: 0 15px 30px rgba(0, 51, 204, 0.3);
}

/* Ao passar o mouse, a onda cresce 50 vezes e engole o botão todo */
.lets-talk-btn:hover::before {
    transform: translateY(-50%) scale(50);
}

/* O ponto vira branco ao passar o mouse para dar contraste com a onda azul */
.lets-talk-btn:hover .btn-dot {
    background-color: #FFF;
    transform: scale(1.2);
}

/* =========================================
   TESTIMONIALS SECTION (Horizontal Scroll)
========================================= */
.testimonials-section {
    background-color: var(--ds-color-bg); /* Fundo igual ao da Hero (Azul Vibrante) */
    color: var(--ds-color-text);
    position: relative;
    overflow: hidden;
    /* Cursor para indicar arraste/scroll na seção */
    cursor: grab;
}

.testimonials-section:active {
    cursor: grabbing;
}

.testimonials-container {
    height: 100vh;
    display: flex;
    align-items: center;
    /* O container tem 100vh mas vai segurar slides que somam a largura total */
}

.testimonials-wrapper {
    display: flex;
    flex-wrap: nowrap;
    height: 100%;
    /* A largura não precisa ser travada aqui, o GSAP ou o flex nativo cuidam, 
       mas vamos forçar o conteúdo a não quebrar de linha */
    width: max-content;
    padding: 0 10vw; /* Padding lateral para dar respiro no início e no fim do scroll */
}

.testimonial-slide {
    width: 80vw; /* Cada slide ocupa quase a tela toda */
    height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 0 5vw;
}

.testimonial-content {
    position: relative;
    max-width: 90%;
}

.quote-mark {
    font-family: 'Instrument Serif', serif;
    font-size: 15vw;
    color: var(--ds-color-accent); /* Aspas usando a variável global */
    position: absolute;
    top: -8vw;
    left: -4vw;
    line-height: 1;
    opacity: 1; /* Aumentado para 1 para destaque total no azul */
    z-index: 0;
    pointer-events: none;
}

.testimonial-text {
    font-family: 'Instrument Serif', serif;
    font-size: 5.5vw;
    line-height: 1.1;
    letter-spacing: -0.02em;
    font-weight: 400;
    position: relative;
    z-index: 1;
    margin-bottom: 4vh;
}

.testimonial-author {
    display: flex;
    flex-direction: column;
    gap: 0.5vh;
}

.author-name {
    font-family: 'Inter Tight', sans-serif;
    font-size: 1.2vw;
    font-weight: 700;
    letter-spacing: 0.05em;
    text-transform: uppercase;
}

.author-role {
    font-family: 'Inter Tight', sans-serif;
    font-size: 1vw;
    color: #888; /* Cinza elegante para o cargo */
}

/* =========================================
   TESTIMONIAL INTRO SLIDE (Stats)
========================================= */
.intro-slide {
    width: 90vw; /* Intro ganha mais respiro */
}

.stats-grid {
    display: grid;
    grid-template-columns: 1.2fr 1fr;
    gap: 8vw;
    width: 100%;
    align-items: center;
}

.stats-catchphrase {
    font-family: 'Instrument Serif', serif;
    font-size: 5.5vw;
    line-height: 1.1;
    font-weight: 400;
    letter-spacing: -0.02em;
}

.text-accent {
    color: var(--ds-color-accent); /* Variável global de destaque */
    font-style: italic;
}

.stats-numbers {
    display: flex;
    flex-direction: column;
    gap: 4vh;
}

.stat-item {
    display: flex;
    flex-direction: column;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1); /* Linha divisória minimalista */
    padding-bottom: 2vh;
}

.stat-value {
    font-family: 'Inter Tight', sans-serif;
    font-size: 4.5vw;
    font-weight: 800;
    line-height: 1;
    color: var(--ds-color-accent); /* Variável global de destaque */
    letter-spacing: -0.04em;
}

.stat-label {
    font-family: 'Inter Tight', sans-serif;
    font-size: 1.1vw;
    font-weight: 600;
    color: #888;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    margin-top: 1vh;
}

/* Responsividade Básica */
@media (max-width: 768px) {
    .testimonial-slide, .intro-slide { width: 100vw; padding: 0 10vw; }
    .stats-grid { grid-template-columns: 1fr; gap: 6vh; }
    .stats-catchphrase { font-size: 10vw; }
    .stat-value { font-size: 16vw; }
    .stat-label { font-size: 3.5vw; }
    .testimonial-text { font-size: 10vw; }
    .author-name { font-size: 4vw; }
    .author-role { font-size: 3vw; }
    .quote-mark { font-size: 25vw; top: -12vw; left: -2vw; }
}
/* =========================================
   CTA SECTION (Mesh/Aurora Reveal)
========================================= */
/* =========================================
   CTA SECTION (Mesh/Aurora Reveal)
========================================= */
.cta-section {
    background-color: #FFFFFF; /* Fundo branco para contrastar e limpar */
    padding: 10vh 5vw;
    position: relative;
    z-index: 2; /* Fica acima do footer para o efeito cortina */
    margin-bottom: 80vh; /* Abre espaço para o footer fixado atrás */
    box-shadow: 0 30px 60px rgba(0,0,0,0.15); /* Sombreamento para dar peso à subida da cortina */
}

.cta-container {
    width: 100%;
}

.cta-card {
    position: relative;
    width: 100%;
    height: 80vh;
    border-radius: 40px;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    /* Scale down inicial para animação de entrada */
    transform: scale(0.95);
    opacity: 0;
    will-change: transform, opacity;
}

/* O Mesh Gradient (Aurora Effect) */
.cta-mesh-bg {
    position: absolute;
    top: -50%; left: -50%; right: -50%; bottom: -50%;
    background-color: #030A1A;
    background-image: 
        radial-gradient(circle at 80% 20%, #0044FF 0%, transparent 60%),
        radial-gradient(circle at 20% 80%, #001188 0%, transparent 60%),
        radial-gradient(circle at 80% 80%, #0022AA 0%, transparent 50%),
        radial-gradient(circle at 20% 20%, #0066FF 0%, transparent 50%);
    filter: blur(80px);
    z-index: 1;
    animation: meshFlow 25s infinite alternate ease-in-out;
}

@keyframes meshFlow {
    0% { transform: rotate(0deg) scale(1); }
    50% { transform: rotate(180deg) scale(1.3); }
    100% { transform: rotate(360deg) scale(1); }
}

.cta-content {
    position: relative;
    z-index: 2;
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 4vh;
}

.cta-title {
    font-family: 'Inter Tight', sans-serif;
    font-size: 5vw;
    font-weight: 600;
    line-height: 1.1;
    letter-spacing: -0.04em;
    color: #FFF;
}

/* Estrutura para o Text Reveal Masking */
.mask-wrap {
    display: block;
    overflow: hidden; /* Corta o texto que estiver fora */
}

.mask-text {
    display: block;
    transform: translateY(110%); /* Começa escondido para baixo */
    will-change: transform;
}

/* Botão Claro para contrastar com o Mesh Escuro */
.lets-talk-btn.light-btn {
    background-color: #FFF;
    color: #030A1A;
}

.lets-talk-btn.light-btn .btn-dot {
    background-color: var(--ds-color-bg); /* Ponto azul do design system */
}

/* Hover do botão claro */
.lets-talk-btn.light-btn:hover {
    background-color: #030A1A;
    color: #FFF;
    border: 1px solid rgba(255,255,255,0.2);
}

.lets-talk-btn.light-btn:hover .btn-dot {
    background-color: #FFF;
}

/* Regra Crítica para o Efeito Cortina (Evita que o Footer sobreponha outras seções) */
body > section, body > main {
    position: relative;
    z-index: 2;
    background-color: var(--ds-color-bg);
}

/* =========================================
   CINEMATIC FOOTER
========================================= */
.cinematic-footer {
    position: fixed;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 80vh; /* Exatamente igual ao margin-bottom da cta-section */
    background-color: var(--ds-color-bg); /* Fundo na cor vibrante do site */
    color: #FFF;
    z-index: 1; /* Atrás das seções de conteúdo */
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 13vh 6vw 1.5vh 6vw; /* Empurra os blocos de texto consideravelmente mais para baixo */
}

.footer-container {
    width: 100%;
    max-width: 1400px;
    height: 100%;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.footer-top {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    border-bottom: 1px solid rgba(255, 255, 255, 0.15);
    padding-bottom: 3vh;
}

.footer-tagline {
    font-size: 0.8vw;
    font-weight: 700;
    letter-spacing: 0.2em;
    color: var(--ds-color-accent); /* Amarelo Âmbar coeso */
}

.footer-heading {
    font-family: 'Instrument Serif', serif;
    font-size: 3.5vw;
    font-style: italic;
    font-weight: 400;
    line-height: 1.2;
    margin-top: 1vh;
}

/* Newsletter Minimalista */
.footer-newsletter {
    display: flex;
    flex-direction: column;
    gap: 1.5vh;
    width: 25vw;
}

.news-label {
    font-size: 0.75vw;
    font-weight: 700;
    letter-spacing: 0.1em;
    color: rgba(255, 255, 255, 0.7);
}

.news-input-wrap {
    display: flex;
    border-bottom: 1px solid rgba(255,255,255,0.4);
    padding-bottom: 1vh;
    transition: border-color 0.3s ease;
}

.news-input-wrap:focus-within {
    border-color: var(--ds-color-accent);
}

.news-input {
    background: none;
    border: none;
    outline: none;
    color: #FFF;
    font-family: 'Inter Tight', sans-serif;
    font-size: 1vw;
    flex: 1;
}

.news-submit-btn {
    background: none;
    border: none;
    color: #FFF;
    cursor: pointer;
    font-size: 1.2vw;
    transition: transform 0.3s ease;
}

.news-submit-btn:hover {
    transform: translateX(5px);
    color: var(--ds-color-accent);
}

/* Grid de links */
.footer-grid {
    display: grid;
    grid-template-columns: 1fr 1fr 1.5fr;
    gap: 4vw;
    padding: 3vh 0;
}

.footer-col-title {
    font-size: 0.8vw;
    font-weight: 700;
    color: rgba(255, 255, 255, 0.65);
    text-transform: uppercase;
    letter-spacing: 0.1em;
    margin-bottom: 2vh;
}

.footer-links {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 1.2vh;
}

.footer-links a {
    color: #FFF;
    text-decoration: none;
    font-size: 1.1vw;
    font-weight: 500;
    display: inline-block;
}

.footer-info {
    font-size: 1.1vw;
    font-weight: 500;
    line-height: 1.6;
}

.email-link {
    color: #FFF;
    text-decoration: none;
}

/* Rodapé Base + Logotipo Colossal */
.footer-bottom {
    display: flex;
    flex-direction: column;
    gap: 2vh;
}

.footer-copyright {
    display: flex;
    justify-content: space-between;
    font-size: 0.75vw;
    color: rgba(255, 255, 255, 0.65);
    font-weight: 600;
    letter-spacing: 0.05em;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    padding-top: 1.5vh;
}

.footer-logo-wrap {
    overflow: visible; /* Permitir respiração e evitar clipes */
    display: flex;
    justify-content: center;
}

.giant-footer-logo {
    font-family: 'Inter Tight', sans-serif;
    font-size: 14vw;
    font-weight: 800;
    letter-spacing: -0.05em;
    line-height: 0.75;
    color: rgba(255, 255, 255, 0.28); /* Opacidade limpa e destacada */
    -webkit-font-smoothing: antialiased; /* Suavização vetorial perfeita */
    -moz-osx-font-smoothing: grayscale;
    text-rendering: optimizeLegibility;
    text-align: center;
    transition: color 0.5s ease, transform 0.5s ease;
    cursor: default;
    user-select: none;
}

.giant-footer-logo:hover {
    color: var(--ds-color-accent); /* Brilha em Âmbar */
    -webkit-text-stroke: 1px var(--ds-color-accent);
    transform: scale(1.02);
}

/* Responsividade Geral */
@media (max-width: 768px) {
    .cta-card { height: 60vh; border-radius: 20px; }
    .cta-title { font-size: 8vw; }
    .cta-section { margin-bottom: 120vh; } /* Aumenta margem pois o footer mobile é mais alto */
    
    .cinematic-footer {
        height: 120vh;
        padding: 10vh 8vw 5vh 8vw;
    }
    .footer-top {
        flex-direction: column;
        gap: 4vh;
        width: 100%;
    }
    .footer-heading { font-size: 8vw; }
    .footer-tagline { font-size: 3vw; }
    .footer-newsletter { width: 100%; }
    .news-label { font-size: 3vw; }
    .news-input { font-size: 4vw; }
    .news-submit-btn { font-size: 5vw; }
    
    .footer-grid {
        grid-template-columns: 1fr;
        gap: 4vh;
    }
    .footer-col-title { font-size: 3vw; margin-bottom: 1.5vh; }
    .footer-links a, .footer-info { font-size: 4vw; }
    
    .footer-copyright {
        flex-direction: column;
        gap: 2vh;
        font-size: 3vw;
        text-align: center;
    }
    .giant-footer-logo { font-size: 24vw; line-height: 0.8; }
}
