:root {
    --bg: #191915;
    --text: #F2F2F2;
    --accent: #FA4616;
    --offwhite: #D3CFC6;
    
    /* Typography System */
    --font-hero: clamp(70px, 12.25vw, 192px);
    --font-title: clamp(40px, 7vw, 110px);
    --font-subtitle: clamp(24px, 3.5vw, 42px);
    --font-body: 16px;
    --font-btn: 16px;
    --font-tag: 16px;
}

body.locked {
    overflow: hidden;
}

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

.preloader-content {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
}

.preloader-logo {
    height: clamp(40px, 8vw, 80px);
    display: flex;
    opacity: 0; /* Animado pelo GSAP */
}

.preloader-logo svg {
    height: 100%;
    width: auto;
}

.logo-fill {
    fill: var(--text);
}

.logo-dot {
    fill: var(--accent);
}

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

html {
    scroll-behavior: smooth;
}

body {
    background-color: var(--bg);
    color: var(--text);
    font-family: 'DM Sans', sans-serif;
    overflow-x: hidden;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
}

/* --- BACKGROUND GRADIENTS --- */
.parallax-bg {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100vh;
    z-index: 2; /* Fica entre os fundos sólidos (1) e o conteúdo (3) */
    pointer-events: none;
    mix-blend-mode: screen; 
}

.circle {
    position: absolute;
    border-radius: 50%;
    background: radial-gradient(circle at center, #191915 0%, transparent 65%);
    opacity: 0.8;
}

.circle-1 {
    width: 60vw; 
    height: 60vw;
    top: -15vh; 
    left: -20vw;
}

.circle-2 {
    width: 70vw; 
    height: 70vw;
    top: 40vh; 
    right: -25vw;
}

.circle-3 {
    width: 50vw; 
    height: 50vw;
    top: 70vh; 
    left: 10vw;
}

.circle-4 {
    width: 45vw; 
    height: 45vw;
    top: 110vh; 
    right: 15vw;
}

.circle-5 {
    width: 80vw; 
    height: 80vw;
    top: 150vh; 
    left: -30vw;
}

.circle-6 {
    width: 55vw; 
    height: 55vw;
    top: 190vh; 
    right: -10vw;
}

/* --- FIXED UI (Logo & CTA) --- */
.fixed-header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    padding: 2.5rem 4rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
    z-index: 100;
    pointer-events: none;
}

.fixed-header .logo,
.fixed-header .cta {
    pointer-events: auto;
}

/* --- SCROLLABLE HEADER (Nav) --- */
.header {
    display: flex;
    justify-content: center;
    align-items: center;
    width: 100%;
    height: calc(5rem + 65px);
    position: relative;
    z-index: 10;
}

.logo {
    position: relative;
    display: flex;
    align-items: center;
    cursor: pointer;
}

.logo .logo-flat {
    height: 65px;
    width: auto;
    transition: opacity 0.3s ease;
}

.logo .logo-3d {
    position: absolute;
    left: 0;
    top: 0;
    height: 65px;
    width: auto;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.logo:hover .logo-flat {
    opacity: 0;
}

.logo:hover .logo-3d {
    opacity: 1;
}

.logo-glow {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 600px;
    height: 600px;
    border-radius: 50%;
    background: radial-gradient(circle, #2A2A25 0%, rgba(42, 42, 37, 0) 70%);
    opacity: 0;
    pointer-events: none;
    z-index: -1;
    transition: opacity 0.6s ease;
}

.logo:hover .logo-glow {
    opacity: 1;
}

.nav-links {
    display: flex;
    gap: 4rem;
    list-style: none;
}

.nav-links a {
    text-decoration: none;
    color: var(--text);
    font-size: var(--font-body);
    font-weight: 500;
    position: relative;
    transition: color 0.3s ease;
    padding-bottom: 4px;
}

.nav-links a::after {
    content: '';
    position: absolute;
    left: 0;
    bottom: 0;
    width: 0;
    height: 2px;
    background: var(--accent);
    transition: width 0.3s cubic-bezier(0.25, 1, 0.5, 1);
}

.nav-links a:hover::after,
.nav-links a.active::after {
    width: 100%;
}

.nav-highlight {
    color: var(--accent) !important;
    font-weight: 700 !important;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.logo-mobile {
    opacity: 0;
    position: absolute;
    pointer-events: none;
    transition: opacity 0.3s ease;
    left: 0;
    top: 50%;
    transform: translateY(-50%);
}

.cta {
    position: relative;
    display: flex;
    align-items: center;
    padding: 10px 24px 10px 10px;
    text-decoration: none;
    color: var(--text);
    font-size: var(--font-body);
    font-weight: 500;
    z-index: 1;
}

.cta span {
    position: relative;
    z-index: 2;
    margin-left: 36px; /* 24px icon + 12px gap */
    transition: color 0.3s ease;
}

.cta-icon {
    position: absolute;
    left: 10px;
    top: 50%;
    transform: translateY(-50%);
    width: 24px; 
    height: 24px;
    border-radius: 50%;
    background: var(--accent);
    z-index: 1;
    transition: all 0.4s cubic-bezier(0.25, 1, 0.5, 1);
}

.cta:hover span {
    color: var(--bg);
}

.cta:hover .cta-icon {
    left: 0;
    width: 100%;
    height: 100%;
    border-radius: 50px;
}

.cta-arrow {
    position: absolute;
    left: 14px;
    top: 50%;
    transform: translateY(-50%);
    opacity: 0;
    z-index: 2;
    color: var(--bg);
    transition: opacity 0.2s ease;
}

.cta:hover .cta-arrow {
    opacity: 1;
    transition-delay: 0.3s; /* Aparece ao finalizar a expansão */
}

/* --- HERO SECTION --- */
.hero-section {
    height: 100vh; /* Ocupa 100% da tela */
    display: flex;
    justify-content: center;
    padding: 0 4rem;
    align-items: center;
    width: 100%;
    position: sticky;
    top: 0;
    z-index: 0; /* Fundo base absoluto */
}

.hero-tag {
    position: absolute;
    bottom: 100%;
    left: 0;
    margin-bottom: 0.5rem;
    font-family: 'DM Sans', sans-serif;
    font-size: var(--font-body);
    line-height: 1;
    letter-spacing: normal; /* Sobrescreve o letter-spacing absoluto do pai */
    color: var(--offwhite); /* Mudado para offwhite */
    font-weight: 500;
    white-space: nowrap;
    display: inline-flex;
    align-items: center;
    gap: 8px;
}

.hero-tag::before {
    content: "";
    display: inline-block;
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background-color: var(--accent);
    flex-shrink: 0;
}

.hero-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4px;
    width: 100%;
    align-items: center; /* Mantém as colunas alinhadas no centro do grid */
    position: relative;
    z-index: 3;
}

.hero-left, .hero-right {
    font-family: 'DM Sans', sans-serif;
    font-size: var(--font-hero);
    line-height: 0.9;
    letter-spacing: -0.02em;
    color: var(--offwhite);
}

.hero-left {
    justify-self: end;
    text-align: left;
    font-weight: 300;
}

.line {
    height: 0.9em;
    display: flex;
    align-items: baseline; /* Garante que 'co.' fique exatamente na linha base de 'ordenam' */
    justify-content: flex-start;
}

.marcas-text, .que-text {
    font-size: 0.75em; /* Proporcional ao font-hero, resolve o bug do mobile instantaneamente */
    color: var(--accent); /* Mudado para laranja */
}

.co-text {
    font-size: var(--font-hero);
}

.hero-left .bold {
    font-weight: 700;
}

.hero-left .dot {
    color: var(--accent);
}

.hidden {
    visibility: hidden;
    user-select: none;
}

/* --- WORK SECTION --- */
.work-section {
    width: 100%;
    padding: 10vh 0 0 0; /* Removido padding bottom para eliminar o gap com o marquee */
    position: relative;
    z-index: auto; /* Não pode criar contexto de empilhamento */
    background-color: transparent;
}

.work-section::before {
    content: "";
    position: absolute;
    top: 0; left: 0; width: 100%; height: 100%;
    background-color: var(--bg);
    z-index: 1; /* Cobre a Hero */
}

.elo-section::after {
    content: "";
    position: absolute;
    bottom: 100%; /* Fica posicionado logo ACIMA da sessão work */
    left: 0;
    width: 100%;
    height: 15vh; /* Altura do fade */
    background: linear-gradient(to bottom, transparent, var(--bg));
    z-index: 1;
    pointer-events: none;
}

.work-title-wrapper {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    margin: 0 auto 4rem auto;
    width: 100%;
    max-width: 1200px;
    padding: 0;
    position: relative;
    z-index: 3;
}

.section-tag-wrapper {
    display: flex;
    justify-content: center;
    width: 100%;
    margin-bottom: 3.5rem;
    position: relative;
    z-index: 3;
}

.work-tag {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-size: var(--font-tag);
    color: var(--accent);
    font-weight: 500;
}

.work-tag::before {
    content: "";
    display: inline-block;
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background-color: var(--accent);
    flex-shrink: 0;
}

.work-title {
    font-size: var(--font-title);
    font-weight: 700;
    line-height: 0.9;
    letter-spacing: -0.02em;
    margin-bottom: 0;
    color: var(--offwhite);
}

.work-title .dot {
    color: var(--accent);
}

.elo-highlight {
    color: var(--accent);
    font-weight: 700;
}

.work-desc {
    font-family: 'DM Sans', sans-serif;
    font-size: 16px;
    line-height: 1.6;
    color: var(--offwhite);
    font-weight: 400;
    text-align: center;
    margin-top: 1.5rem;
    width: 100%;
    max-width: 1200px;
}

.services-desc {
    font-family: 'DM Sans', sans-serif;
    font-size: 16px;
    line-height: 1.6;
    color: var(--offwhite);
    font-weight: 400;
    text-align: center;
    margin-top: 20px;
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
    padding: 0 20px;
}

.work-slider-wrapper {
    position: relative;
    width: 100%;
}

.work-slider {
    display: flex;
    gap: 24px;
    overflow-x: scroll;
    scroll-snap-type: x mandatory;
    scrollbar-width: none;
    -ms-overflow-style: none;
    padding: 0 4rem; /* Alinha o primeiro card com a margem (4rem) no desktop, permitindo que os cards deslizem borda a borda */
}

.work-slider::-webkit-scrollbar {
    display: none;
}

.work-card {
    position: relative;
    overflow: hidden;
    flex: 0 0 calc(100% - 60px);
    aspect-ratio: 16 / 9;
    height: auto;
    background-color: #1A1A1A;
    border-radius: 8px;
    scroll-snap-align: center;
    scroll-snap-stop: always;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 1px solid rgba(242, 242, 242, 0.05);
    transition: transform 0.3s ease;
    cursor: pointer;
}

@media (min-width: 1025px) {
    .work-card {
        flex: 0 0 750px; /* Tamanho monumental elegante para desktop */
    }
}

.work-card-img {
    position: absolute;
    top: 0; left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.6s cubic-bezier(0.25, 1, 0.5, 1);
    z-index: 1;
}

.work-card-overlay {
    position: absolute;
    top: 0; left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(25, 25, 21, 0.85); /* Fundo da marca com opacidade */
    display: flex;
    justify-content: center;
    align-items: center;
    transition: opacity 0.4s ease;
    z-index: 2;
}

.work-card-logo {
    height: 105px; /* Aumentado em cerca de 200% */
    opacity: 0.9;
    transition: transform 0.4s ease;
}

/* Efeitos Hover */
.work-card:hover .work-card-overlay {
    opacity: 0;
}

.work-card:hover .work-card-img {
    transform: scale(1.03); /* Leve zoom ao revelar */
}

.slider-btn {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 36px;
    height: 36px;
    border-radius: 50%;
    background-color: var(--accent);
    color: #000000;
    border: none;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    z-index: 2;
    transition: transform 0.2s ease, filter 0.2s ease;
}

.slider-btn:hover {
    filter: brightness(1.1);
    transform: translateY(-50%) scale(1.05);
}

.prev-btn {
    left: 4rem;
}

.next-btn {
    right: 4rem; /* Alinhado com a margem de conteúdo no desktop */
}

/* Container de rolagem (7 linhas visíveis) */
.scroll-container {
    justify-self: start;
    height: 6.3em; /* 7 x 0.9em (line-height) */
    overflow-y: hidden;
    pointer-events: none; /* Bloqueia qualquer interação do mouse */
    scrollbar-width: none; /* Firefox */
    -ms-overflow-style: none; /* IE/Edge */
}

.scroll-container::-webkit-scrollbar {
    display: none; /* Chrome/Safari */
}

.scroll-content {
    display: flex;
    flex-direction: column;
}

.word {
    height: 0.9em;
    display: flex;
    align-items: baseline; /* Garante perfeito alinhamento base com o 'co.' */
    scroll-snap-align: center;
    font-weight: 700;
    opacity: 0.05; /* Base reduzida para 5% */
    transition: opacity 0.3s cubic-bezier(0.25, 1, 0.5, 1);
    padding-left: 2px;
}

/* --- MARQUEE SECTION --- */
.marquee-section {
    position: relative;
    z-index: 3; /* Renderiza por cima do círculo da seção de Work */
    background-color: transparent;
    padding: 3rem 0; /* Fundo offwhite ampliado */
    overflow: hidden;
    width: 100%;
    display: block;
}

.marquee-section::before {
    content: "";
    position: absolute;
    top: 0; left: 0; width: 100%; height: 100%;
    background-color: var(--offwhite);
    z-index: 1; /* Cobre a Hero */
}

.marquee-container {
    display: flex;
    width: fit-content;
    animation: marquee-scroll 38s linear infinite;
    position: relative;
    z-index: 3; /* Fica acima das bolhas do parallax */
}

.marquee-content {
    display: flex;
    align-items: center;
    gap: 2.5rem;
    padding-right: 2.5rem;
}

.marquee-content span {
    font-size: var(--font-subtitle);
    font-weight: 800; /* Aumentado para 800 para compensar fundo claro */
    color: var(--bg); /* Preto */
    letter-spacing: -0.02em; /* Espaçamento idêntico ao título "São mais de" */
    white-space: nowrap;
}

.marquee-dot {
    width: 12px;
    height: 12px;
    background-color: var(--accent);
    border-radius: 50%;
    display: inline-block;
    flex-shrink: 0;
}

@keyframes marquee-scroll {
    0% {
        transform: translateX(0);
    }
    100% {
        transform: translateX(-50%);
    }
}

/* --- MARQUEE FORMAS SECTION --- */
.marquee-formas-section {
    position: relative;
    z-index: 6;
    background-color: var(--bg); /* Fundo preto/escuro */
    padding: 3rem 0;
    margin-top: 0;
    overflow: hidden;
    width: 100%;
}

.marquee-formas-container {
    display: flex;
    width: fit-content;
    animation: marquee-scroll-formas 38s linear infinite;
    position: relative;
    z-index: 3;
}

.marquee-formas-content {
    display: flex;
    align-items: center;
    gap: 7.5vw; /* Espaço 50% menor */
    padding-right: 7.5vw; /* Espaçamento idêntico ao final para loop imperceptível */
}

.marquee-formas-content img {
    height: 80px;
    width: auto;
    object-fit: contain;
}

@keyframes marquee-scroll-formas {
    0% { transform: translateX(0); }
    100% { transform: translateX(-50%); }
}

@media (max-width: 768px) {
    .marquee-formas-content img {
        height: 50px;
    }
    .marquee-formas-content {
        gap: 12.5vw;
        padding-right: 12.5vw;
    }
}


/* --- SERVICES SECTION --- */
.services-section {
    padding: 15vh 0 0 0; /* Removido padding bottom e lateral */
    width: 100%;
    position: relative;
    z-index: auto;
    background-color: transparent;
}

.services-section::before {
    content: "";
    position: absolute;
    top: 0; left: 0; width: 100%; height: 100%;
    background-color: var(--bg); /* Fundo preto elegante */
    z-index: 1; /* Cobre a Hero */
}

.services-title-wrapper {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    margin: 0 auto 4rem auto;
    width: 100%;
    max-width: 1200px;
    padding: 0 4rem; /* Alinhamento do título com as margens */
    position: relative;
    z-index: 3;
}

.services-main-title {
    font-size: var(--font-title);
    line-height: 0.9;
    letter-spacing: -0.02em;
    color: var(--offwhite); /* texto branco/offwhite sobre fundo preto */
}

/* --- INTERACTIVE SERVICES SLIDER (DESKTOP) --- */
.services-desktop-interactive {
    display: none;
}

@media (min-width: 1025px) {
    .services-desktop-interactive {
        display: flex;
        align-items: center;
        justify-content: center; /* Centraliza o slide e a roleta lado a lado */
        flex-direction: row-reverse; /* Inverte a ordem das colunas: Círculo na esquerda, Cards na direita */
        gap: 50px; /* Pequena distância de 50px entre os dois no centro */
        position: relative;
        width: 100%;
        height: 780px; /* Harmonizado com o slide de 450px */
        background: transparent;
        padding: 0 4rem; /* Restaura o recuo lateral estético original da seção */
        overflow: hidden;
        z-index: 3;
    }

    .services-cards-stack-container {
        width: 730px; /* Largura original do slide centralizado */
        height: 100%;
        display: flex;
        align-items: center;
        justify-content: center;
        position: relative;
        perspective: 1000px;
        z-index: 4;
    }

    .services-cards-stack {
        position: relative;
        width: 690px; /* Reduzido de 920px */
        height: 450px; /* Reduzido de 600px */
        transform-style: preserve-3d;
    }

    .service-stack-card {
        position: absolute;
        top: 0;
        left: 0;
        width: 100%;
        height: 100%;
        border-radius: 16px;
        overflow: hidden;
        box-shadow: 0 15px 35px rgba(0, 0, 0, 0.18);
        transition: all 0.6s cubic-bezier(0.25, 1, 0.5, 1);
        transform-origin: center center;
    }

    .service-stack-img {
        width: 100%;
        height: 100%;
        object-fit: cover;
        pointer-events: none;
    }

    .service-stack-num {
        position: absolute;
        top: 20px;
        left: 20px;
        font-size: 14px;
        font-weight: 700;
        color: #191915; /* Letra preta para legibilidade perfeita */
        background-color: var(--accent); /* Fundo laranja vibrante */
        padding: 4px 10px;
        border-radius: 20px;
        font-family: inherit;
    }

    /* Stack State Classes: Direção original dos slides (Pilha vertical offset leve re-dimensionada) */
    .service-stack-card.state-active {
        transform: translate3d(0, 0, 0) scale(1.05) rotate(-2deg);
        opacity: 1;
        z-index: 10;
        pointer-events: auto;
    }

    .service-stack-card.state-prev {
        transform: translate3d(-15px, -120px, -50px) scale(0.85) rotate(-6deg);
        opacity: 0.65;
        z-index: 8;
        pointer-events: none;
    }

    .service-stack-card.state-next {
        transform: translate3d(15px, 120px, -50px) scale(0.85) rotate(4deg);
        opacity: 0.65;
        z-index: 8;
        pointer-events: none;
    }

    .service-stack-card.state-far-prev {
        transform: translate3d(-30px, -210px, -100px) scale(0.7) rotate(-12deg);
        opacity: 0.3;
        z-index: 6;
        pointer-events: none;
    }

    .service-stack-card.state-far-next {
        transform: translate3d(30px, 210px, -100px) scale(0.7) rotate(8deg);
        opacity: 0.3;
        z-index: 6;
        pointer-events: none;
    }

    .service-stack-card.state-hidden {
        transform: translate3d(0, 320px, -150px) scale(0.5);
        opacity: 0;
        z-index: 1;
        pointer-events: none;
    }

    /* Roulette Styling (Círculo 25% Maior e Centrado) */
    .services-roulette-container {
        width: 550px; /* Expandido para crescer em direção ao centro da tela */
        height: 100%;
        position: relative;
        display: flex;
        align-items: center;
        justify-content: center;
        z-index: 3;
        margin-right: -140px; /* Deslocamento negativo para o círculo entrar um pouco embaixo do slide */
    }

    .services-roulette-wheel {
        position: relative;
        width: 550px; /* Círculo crescido monumentalmente */
        height: 550px;
        background-image: url('SVG/circulo-14.svg');
        background-size: contain;
        background-repeat: no-repeat;
        background-position: center;
        background-color: transparent;
        z-index: 1;
        transform: rotate(45deg); /* Girado 45 graus para a direita */
        transition: transform 0.8s cubic-bezier(0.25, 1, 0.5, 1);
    }

    .services-roulette-content {
        position: absolute;
        top: 50%;
        left: 45%; /* Deslocado ligeiramente para a esquerda para manter o texto 100% visível e livre do slide */
        transform: translate(-50%, -50%);
        width: 550px;
        height: 550px;
        z-index: 2;
        pointer-events: none;
        display: flex;
        align-items: center;
        justify-content: center;
    }

    .services-text-item {
        position: absolute;
        width: 100%;
        max-width: 320px; /* Aumentado para 320px para acomodar o ícone + título confortavelmente */
        opacity: 0;
        pointer-events: none;
        transform: translateY(30px);
        transition: opacity 0.6s cubic-bezier(0.25, 1, 0.5, 1), transform 0.6s cubic-bezier(0.25, 1, 0.5, 1);
        text-align: right;
        display: flex;
        flex-direction: column;
        align-items: flex-end;
    }

    .services-text-item.active {
        opacity: 1;
        pointer-events: auto;
        transform: translateY(0);
    }

    .services-wheel-title {
        font-size: clamp(32px, 3.6vw, 48px); /* Aumentado em 15% em relação ao tamanho anterior */
        font-weight: 800;
        color: #ffffff;
        line-height: 1.1;
        margin-bottom: 16px;
        letter-spacing: -0.02em;
        font-family: inherit;
        text-align: right;
    }

    .services-wheel-title .black-dot {
        color: #191915;
    }

    .services-wheel-title-wrapper {
        display: flex;
        align-items: center;
        justify-content: space-between; /* Mantém os ícones alinhados no mesmo lugar e o título na extrema-direita */
        gap: 20px; /* Distância entre o ícone e o título */
        margin-bottom: 16px;
        width: 100%;
    }

    .services-wheel-title-wrapper .services-wheel-title {
        margin-bottom: 0; /* Remove margem nativa ao usar o wrapper */
        font-size: clamp(26px, 2.8vw, 36px); /* Sutilmente diminuído para fazer caber todos os títulos com perfeição */
    }

    /* Classe para todos os ícones de semicírculos (iconemov1) dentro dos slides */
    .iconemov1-slide {
        width: 75px;
    }
    .iconemov1-slide .shape-track,
    .iconemov1-slide .shape-svg {
        height: 100px;
    }

    .services-wheel-desc {
        font-size: 14px;
        line-height: 1.6;
        color: rgba(255, 255, 255, 0.85);
        font-weight: 400;
        text-align: justify; /* Justifica o bloco de descrição */
        text-align-last: left; /* Garante que a última linha fique alinhada à  esquerda */
    }

    /* Responsividade para Telas de Notebook (Acomodação visual perfeita) */
    @media (max-width: 1440px) {
        .services-roulette-container {
            width: 350px; /* Redução proporcional do círculo de 425px */
        }
        .services-roulette-wheel,
        .services-roulette-content {
            width: 350px;
            height: 350px;
        }
        .services-text-item {
            max-width: 260px; /* Expandido proporcionalmente para notebook */
        }
        .iconemov1-slide {
            width: 55px; /* à cone compactado no notebook */
        }
        .iconemov1-slide .shape-track,
        .iconemov1-slide .shape-svg {
            height: 75px; /* Altura compactada */
        }
        .services-wheel-title-wrapper .services-wheel-title {
            font-size: clamp(20px, 2.2vw, 28px); /* Fonte diminuída para notebooks */
        }
        .services-cards-stack-container {
            width: 600px;
            padding-left: 0;
        }
        .services-cards-stack {
            width: 560px;
            height: 370px;
        }
        .services-desktop-interactive {
            height: 720px;
            gap: 30px;
            padding: 0 2rem;
        }
        .service-stack-card.state-prev {
            transform: translate3d(-12px, -90px, -50px) scale(0.85) rotate(-6deg);
        }
        .service-stack-card.state-next {
            transform: translate3d(12px, 90px, -50px) scale(0.85) rotate(4deg);
        }
        .service-stack-card.state-far-prev {
            transform: translate3d(-24px, -160px, -100px) scale(0.7) rotate(-12deg);
        }
        .service-stack-card.state-far-next {
            transform: translate3d(24px, 160px, -100px) scale(0.7) rotate(8deg);
        }
    }
}



.services-main-title strong {
    font-weight: 700;
}

.services-main-title .dot {
    color: var(--accent);
    font-weight: 700;
}

/* --- SERVICES TIMELINE SECTION (DESKTOP TEST) --- */
.services-timeline-block {
    display: none; /* Escondido por padrão, exibido somente no desktop */
}

@media (min-width: 1025px) {
    /* Esconde o título original no topo */
    .services-section .original-title {
        display: none !important;
    }

    .services-timeline-block {
        display: block;
        width: 100%;
        height: 100vh;
        position: relative;
        overflow: hidden;
        background-color: transparent;
        z-index: 3; /* Renderiza acima do fundo sólido (z-index 1) e do parallax-bg (z-index 2) */
    }

    .timeline-title-wrapper {
        width: 100%;
        padding-bottom: 4vh;
        text-align: center;
        position: absolute;
        top: 0;
        left: 0;
        z-index: 5;
        background: linear-gradient(to bottom, var(--bg) 80%, transparent 100%);
    }

    .timeline-viewport {
        width: 100%;
        height: 100vh;
        position: absolute;
        top: 0;
        left: 0;
        overflow: hidden;
        z-index: 3;
    }

    .timeline-canvas {
        position: absolute;
        top: 15vh; /* Respiro reduzido abaixo do título */
        left: 50%;
        transform: translateX(-50%);
        width: 1200px;
        height: 4500px;
    }

    .timeline-svg {
        width: 100%;
        height: 100%;
        position: absolute;
        top: 0;
        left: 0;
        pointer-events: none;
        z-index: 1;
    }

    .timeline-path-bg {
        stroke-width: 4;
        stroke: #191915; /* Cinza escuro/preto de contraste */
        fill: none;
    }

    .timeline-path-active {
        stroke-width: 4;
        stroke: var(--accent); /* Laranja vibrante */
        stroke-linecap: round;
        stroke-linejoin: round;
        fill: none;
        /* Removido o drop-shadow (blur) para um visual mais limpo */
    }

    .timeline-content-wrapper {
        position: absolute;
        top: 0;
        left: 0;
        width: 100%;
        height: 100%;
        pointer-events: none;
        z-index: 2;
    }

    .timeline-intro-dot {
        position: absolute;
        width: 12px;
        height: 12px;
        background-color: var(--accent);
        border-radius: 50%;
        transform: translate(-50%, -50%) scale(0);
        z-index: 5;
        opacity: 0;
    }

    .timeline-intro-card {
        position: absolute;
        width: max-content;
        white-space: nowrap;
        padding: 16px 32px;
        border-radius: 999px; /* Contorno máximo (pill shape) */
        font-family: 'DM Sans', sans-serif;
        font-size: 13px;
        line-height: 1.4;
        font-weight: 500;
        text-align: center;
        opacity: 0;
        z-index: 4;
    }
    
    .timeline-intro-card strong {
        font-weight: 800;
    }
    
    .timeline-intro-card.card-white {
        background-color: var(--offwhite);
        color: #0D0D0D;
    }
    
    .timeline-intro-card.card-grey {
        background-color: #D3CFC6;
        color: #0D0D0D;
    }

    .timeline-coparalelo-text {
        position: absolute;
        font-family: 'DM Sans', sans-serif;
        font-size: 32px;
        font-weight: 800;
        color: var(--offwhite);
        transform: translateX(-50%) translateY(30px);
        opacity: 0;
    }

    .timeline-service-block {
        position: absolute;
        width: 100%;
        height: 0;
    }

    .ts-dot {
        position: absolute;
        width: 12px;
        height: 12px;
        background-color: var(--accent);
        border-radius: 50%;
        transform: translate(-50%, -50%) scale(0);
        z-index: 5;
        opacity: 0;
    }

    .ts-badge {
        position: absolute;
        padding: 16px 24px;
        border-radius: 12px;
        opacity: 0;
        transform: translateX(-40px); /* Swipe L to R */
    }

    .ts-badge.badge-grey {
        background-color: #D3CFC6;
        color: #0D0D0D;
    }

    .ts-badge.badge-orange {
        background-color: var(--accent);
        color: var(--offwhite);
    }

    .ts-number {
        font-family: 'DM Sans', sans-serif;
        font-size: 14px;
        font-weight: 700;
        letter-spacing: 0.1em;
        opacity: 0.7;
        display: block;
        margin-bottom: 8px;
    }

    .ts-title {
        font-family: 'DM Sans', sans-serif;
        font-size: 24px;
        font-weight: 800;
        margin: 0;
        text-transform: uppercase;
        letter-spacing: -0.02em;
    }

    .ts-desc {
        position: absolute;
        width: 320px;
        font-family: 'DM Sans', sans-serif;
        font-size: 16px;
        line-height: 1.6;
        color: var(--offwhite);
        opacity: 0;
        transform: translateY(30px);
    }

    .ts-image {
        position: absolute;
        width: clamp(360px, 38vw, 540px);
        aspect-ratio: 4 / 3;
        height: auto;
        background: #121210;
        border: 1px solid rgba(255, 255, 255, 0.1);
        border-radius: 16px;
        overflow: hidden;
        opacity: 0;
        transform: translateY(50px);
        box-shadow: 0 24px 60px rgba(0, 0, 0, 0.7);
        display: flex;
        align-items: center;
        justify-content: center;
        padding: 12px;
        backdrop-filter: blur(16px);
        -webkit-backdrop-filter: blur(16px);
        transition: border-color 0.4s ease, box-shadow 0.4s ease;
    }

    .ts-image:hover {
        border-color: rgba(250, 70, 22, 0.4);
        box-shadow: 0 24px 60px rgba(250, 70, 22, 0.25);
    }

    .ts-image img {
        width: 100%;
        height: 100%;
        object-fit: contain;
        border-radius: 10px;
        transition: transform 0.5s cubic-bezier(0.16, 1, 0.3, 1);
    }

    .ts-image:hover img {
        transform: scale(1.03);
    }
}

/* --- ELO SECTION (Casal / Duas Visões) --- */
.elo-section {
    position: relative;
    z-index: auto; /* Não cria contexto de empilhamento para permitir propagação de gradients */
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    width: 100%;
    padding: 10vh 4rem; /* Margem sutil baseada na escala de 8px */
    background-color: transparent; /* A cor é dada pelo ::before para empilhar */
}

/* Cobre a Hero fixa por baixo */
.elo-section::before {
    content: "";
    position: absolute;
    top: 0; left: 0; width: 100%; height: 100%;
    background-color: var(--bg); /* Fundo preto elegante */
    z-index: 1; /* Cobre o Hero fixo no z-index 1 global */
}

/* Gradiente que suaviza o overlap com a Hero */
.elo-section::after {
    content: "";
    position: absolute;
    bottom: 100%; /* Fica posicionado logo ACIMA da sessao elo */
    left: 0;
    width: 100%;
    height: 15vh; /* Altura do fade */
    background: linear-gradient(to bottom, transparent, var(--bg));
    z-index: 1;
    pointer-events: none;
}

/* Logo Horizontal Coroando a Mini Seção */
.elo-crown-wrapper {
    width: 100%;
    max-width: 1200px;
    display: flex;
    justify-content: center;
    align-items: center;
    margin-bottom: 3.5rem; /* Consistente com tags */
    position: relative;
    z-index: 3; /* Renderiza acima do ::before e do parallax-bg no z-index 3 global */
}

.elo-crown-logo {
    height: 70px; /* Diminuído em relação ao enorme tamanho anterior */
    width: auto;
    display: block;
    opacity: 0.9;
}

.elo-container {
    width: 100%;
    max-width: 1200px;
    display: flex;
    flex-direction: row;
    justify-content: space-between;
    align-items: center;
    gap: 60px;
    position: relative;
    z-index: 3; /* Renderiza acima do ::before */
}

.elo-left-col {
    flex: 1;
    max-width: 550px;
}

.elo-description {
    font-family: 'DM Sans', sans-serif; /* Obedece rigidamente à s diretrizes de tipografia */
    font-size: 16px; /* Peso e tamanho de texto recomendados pelas diretrizes */
    line-height: 1.6; /* Line-height otimizado para excelente legibilidade */
    color: var(--offwhite); /* Off-white de alto contraste (#F2F2F2) */
    font-weight: 400; /* Regular */
    text-align: left; /* Alinhamento limpo à  esquerda */
}

.elo-highlight {
    color: var(--accent); /* Cor de Destaque oficial (Laranja vibrante) */
    font-weight: 700; /* Peso Bold */
}

.elo-right-col {
    flex: 1;
    display: flex;
    justify-content: flex-end;
    align-items: center;
}

/* Alinhamento do Título ao lado da Versão Laranja do iconemov1 */
.elo-title-wrapper {
    display: flex;
    align-items: center;
    justify-content: flex-end; /* Alinha o grupo à  direita no desktop */
    gap: 30px; /* Distância entre o título e o ícone */
    width: 100%;
}

.elo-title {
    font-size: clamp(32px, 3.5vw, 52px);
    font-weight: 900;
    line-height: 1.1;
    color: var(--offwhite);
    letter-spacing: -0.03em;
    text-transform: uppercase;
    text-align: right;
    margin-bottom: 0; /* Remove margem padrão */
}

.elo-title span {
    color: var(--accent); /* Laranja vibrante no ELO */
}

.iconemov1-orange {
    width: 75px;
    flex-shrink: 0;
}
.iconemov1-orange .shape-track,
.iconemov1-orange .shape-svg {
    height: 100px;
}

/* Responsividade para Telas Menores */
@media (max-width: 1024px) {
    .elo-section {
        padding: 8vh 2rem;
    }
    .elo-crown-wrapper {
        margin-bottom: 32px;
    }
    .elo-crown-logo {
        height: 40px; /* Redimensiona proporcionalmente em telas menores */
    }
    .elo-container {
        flex-direction: column-reverse; /* Título no topo, texto embaixo */
        align-items: flex-start;
        gap: 30px;
    }
    .elo-left-col {
        max-width: 100%;
    }
    .elo-right-col {
        width: 100%;
        justify-content: flex-start;
    }
    .elo-title-wrapper {
        justify-content: flex-start; /* Alinha à  esquerda no mobile */
        gap: 20px;
    }
    .elo-title {
        font-size: 32px;
        text-align: left;
    }
    .iconemov1-orange {
        width: 55px; /* Compacto no mobile */
    }
    .iconemov1-orange .shape-track,
    .iconemov1-orange .shape-svg {
        height: 75px;
    }
}

/* --- INTERACTIVE PORTFOLIO WORK (DESKTOP) --- */
.work-desktop-interactive {
    display: none;
}

@media (min-width: 1025px) {
    .work-mobile-layout {
        display: none !important; /* Oculta layout antigo no desktop */
    }

    .work-desktop-interactive {
        display: flex;
        align-items: center;
        justify-content: center; /* Perfeitamente centralizado */
        position: relative;
        width: 100%;
        height: 640px; /* Altura otimizada para o stack sem roleta */
        background: transparent;
        padding: 0 4rem;
        overflow: visible; /* Permitir que o círculo vaze verticalmente sem efeito de máscara */
        z-index: 2; /* Mudado para 2 para que a faixa marquee (z-index 3) passe por cima */
    }

    .work-roulette-wheel {
        position: absolute;
        top: calc(50% + 72.5px); /* Subido 10px (de 82.5px) */
        left: 50%;
        width: 786px; /* Aumentado em 10% (de 715px) */
        height: 786px;
        background-image: url('SVG/circulo-14.svg');
        background-size: contain;
        background-repeat: no-repeat;
        background-position: center;
        background-color: transparent;
        z-index: 2; /* Fica atrás do stack de cards que tem z-index: 4 */
        pointer-events: none; /* Ignora cliques para não bloquear o stack */
        opacity: 0.85;
    }

    /* Responsividade Notebook para o círculo de Work */
    @media (max-width: 1440px) {
        .work-roulette-wheel {
            top: calc(50% + 42.5px); /* Subido 10px (de 52.5px) */
            width: 500px; /* Aumentado em 10% (de 455px) */
            height: 500px;
        }
    }

    .work-cards-stack-container {
        width: 100%; /* Largura total para espalhar os cards na tela */
        max-width: 1400px;
        height: 100%;
        display: flex;
        align-items: center;
        justify-content: center;
        position: relative;
        perspective: 1000px;
        z-index: 4;
    }

    .work-cards-stack {
        position: relative;
        width: 690px;
        height: 450px;
        transform-style: preserve-3d;
    }

    .work-stack-card {
        position: absolute;
        top: 0;
        left: 0;
        width: 100%;
        height: 100%;
        border-radius: 16px;
        overflow: hidden;
        box-shadow: 0 15px 35px rgba(0, 0, 0, 0.18);
        transition: all 0.6s cubic-bezier(0.25, 1, 0.5, 1);
        transform-origin: center center;
        cursor: pointer; /* Exibe o cursor de clique indicando navegação ativa */
    }

    /* Camada de Preto Elegante para escurecimento suave nas extremidades (vignette focus) */
    .work-stack-card::after {
        content: '';
        position: absolute;
        top: 0;
        left: 0;
        width: 100%;
        height: 100%;
        background-color: #191915; /* Preto elegante */
        opacity: 0; /* Começa totalmente invisível no card central ativo */
        transition: opacity 0.6s cubic-bezier(0.25, 1, 0.5, 1);
        z-index: 5; /* Fica acima da imagem e abaixo da tag Veja mais (que tem z-index: 10) */
        pointer-events: none;
    }

    .work-stack-img {
        width: 100%;
        height: 100%;
        object-fit: cover;
        pointer-events: none;
    }

    /* Tag Laranja Expansível "Veja mais" (Micro-animação tipo CTA) */
    .work-card-tag {
        position: absolute;
        bottom: 24px;
        left: 24px;
        height: 36px;
        width: 36px;
        border-radius: 18px;
        background-color: var(--accent);
        color: #191915;
        display: flex;
        align-items: center;
        justify-content: center;
        overflow: hidden;
        z-index: 10;
        cursor: pointer;
        padding: 0;
        transition: all 0.4s cubic-bezier(0.25, 1, 0.5, 1);
        pointer-events: none;
    }

    .tag-icon {
        display: flex;
        align-items: center;
        justify-content: center;
        width: 12px;
        height: 12px;
        flex-shrink: 0;
        opacity: 0; /* Começa invisível por padrão */
        transition: transform 0.4s ease, opacity 0.2s ease 0s; /* Some instantaneamente ao sair do hover */
    }

    .tag-icon svg {
        width: 100%;
        height: 100%;
        display: block;
    }

    .tag-text {
        font-size: 14px;
        font-weight: 700;
        white-space: nowrap;
        opacity: 0;
        max-width: 0;
        overflow: hidden;
        margin-left: 0;
        transition: max-width 0.4s cubic-bezier(0.25, 1, 0.5, 1), opacity 0.3s ease;
    }

    /* Efeito de expansão no Hover do Card */
    .work-stack-card:hover .work-card-tag,
    .service-stack-card:hover .work-card-tag {
        width: 130px;
        padding: 0 16px 0 12px;
        justify-content: flex-start;
    }

    .work-stack-card:hover .tag-text,
    .service-stack-card:hover .tag-text {
        max-width: 80px;
        opacity: 1;
        margin-left: 8px;
    }

    .work-stack-card:hover .tag-icon,
    .service-stack-card:hover .tag-icon {
        transform: translateX(2px);
        opacity: 1; /* Revelado com atraso na transição */
        transition: transform 0.4s ease, opacity 0.2s ease 0.4s; /* Surge somente após a expansão do botão de 0.4s encerrar */
    }

    /* Estados Tridimensionais Horizontais dos Cards de Work (Espaçamento Ampliado para Preencher Tela) */
    .work-stack-card.state-active {
        transform: translate3d(0, 0, 0) scale(1.05) rotate(-1deg);
        opacity: 1;
        z-index: 10;
        pointer-events: auto;
    }
    .work-stack-card.state-active::after {
        opacity: 0; /* Sem escurecimento no card em foco */
    }
    .work-stack-card.state-active .work-card-tag {
        pointer-events: auto; /* Libera o clique no botão somente no card que está em foco */
    }

    .work-stack-card.state-prev {
        transform: translate3d(-340px, 10px, -50px) scale(0.85) rotate(-4deg);
        opacity: 1; /* Mantido fisicamente opaco */
        z-index: 8;
        pointer-events: auto; /* Permite clicar no card lateral para ir até ele */
    }
    .work-stack-card.state-prev::after {
        opacity: 0.45; /* Leve sombreamento no card vizinho */
    }

    .work-stack-card.state-next {
        transform: translate3d(340px, -10px, -50px) scale(0.85) rotate(3deg);
        opacity: 1; /* Mantido fisicamente opaco */
        z-index: 8;
        pointer-events: auto; /* Permite clicar no card lateral para ir até ele */
    }
    .work-stack-card.state-next::after {
        opacity: 0.45; /* Leve sombreamento no card vizinho */
    }

    .work-stack-card.state-far-prev {
        transform: translate3d(-620px, 20px, -100px) scale(0.7) rotate(-8deg);
        opacity: 1; /* Mantido fisicamente opaco */
        z-index: 6;
        pointer-events: auto; /* Permite clicar no card lateral para ir até ele */
    }
    .work-stack-card.state-far-prev::after {
        opacity: 0.75; /* Sombreamento mais denso para cards mais afastados */
    }

    .work-stack-card.state-far-next {
        transform: translate3d(620px, -20px, -100px) scale(0.7) rotate(6deg);
        opacity: 1; /* Mantido fisicamente opaco */
        z-index: 6;
        pointer-events: auto; /* Permite clicar no card lateral para ir até ele */
    }
    .work-stack-card.state-far-next::after {
        opacity: 0.75; /* Sombreamento mais denso para cards mais afastados */
    }

    /* Novos estados das 2 extremidades horizontais */
    .work-stack-card.state-extreme-prev {
        transform: translate3d(-900px, 30px, -150px) scale(0.55) rotate(-12deg);
        opacity: 1;
        z-index: 4;
        pointer-events: auto;
    }
    .work-stack-card.state-extreme-prev::after {
        opacity: 0.90; /* Card quase fundido ao fundo nas extremidades */
    }

    .work-stack-card.state-extreme-next {
        transform: translate3d(900px, -30px, -150px) scale(0.55) rotate(10deg);
        opacity: 1;
        z-index: 4;
        pointer-events: auto;
    }
    .work-stack-card.state-extreme-next::after {
        opacity: 0.90; /* Card quase fundido ao fundo nas extremidades */
    }

    .work-stack-card.state-hidden {
        transform: translate3d(0, 0, -200px) scale(0.5);
        opacity: 0;
        z-index: 1;
        pointer-events: none;
    }

    /* Responsividade Notebook para Work (Acomodação à“ptica Fina) */
    @media (max-width: 1440px) {
        .work-cards-stack-container {
            width: 100%;
            max-width: 1150px;
        }
        .work-cards-stack {
            width: 560px;
            height: 370px;
        }
        .work-desktop-interactive {
            height: 560px;
            padding: 0 2rem;
        }
        .work-stack-card.state-prev {
            transform: translate3d(-260px, 8px, -50px) scale(0.85) rotate(-4deg);
        }
        .work-stack-card.state-next {
            transform: translate3d(260px, -8px, -50px) scale(0.85) rotate(3deg);
        }
        .work-stack-card.state-far-prev {
            transform: translate3d(-480px, 15px, -100px) scale(0.7) rotate(-8deg);
        }
        .work-stack-card.state-far-next {
            transform: translate3d(480px, -15px, -100px) scale(0.7) rotate(8deg);
        }
        .work-stack-card.state-extreme-prev {
            transform: translate3d(-680px, 22px, -150px) scale(0.55) rotate(-12deg);
        }
        .work-stack-card.state-extreme-next {
            transform: translate3d(680px, -22px, -150px) scale(0.55) rotate(10deg);
        }
    }
}

/* --- SERVICES BRANDS --- */
.services-brands-header {
    text-align: center;
    margin: 0 auto 4rem auto;
    max-width: 1200px;
    position: relative;
    z-index: 3;
    background-color: transparent;
}

.services-brands-title {
    font-size: var(--font-subtitle);
    font-weight: 700;
    color: var(--offwhite);
}

.brands-number {
    font-size: var(--font-title);
    font-weight: 700;
    color: var(--accent);
}

.brands-tiers {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 3rem;
    position: relative;
    z-index: 3;
    padding-bottom: 4rem;
    max-width: 1200px;
    margin: 0 auto;
    background-color: transparent; /* Removido fundo preto sólido para exibir os círculos em gradiente do bg */
}

.brands-row {
    display: flex;
    justify-content: center;
    align-items: center;
    flex-wrap: wrap;
    gap: 64px; /* Espaçamento aumentado */
}

.brands-row img {
    height: 45px; /* Reduzido em 20% */
    object-fit: contain;
    filter: grayscale(100%) brightness(200%); /* Mantém visual uniforme caso tenham cor */
    opacity: 0.75; /* Aumentado para corresponder à  nitidez da referência */
    transition: opacity 0.3s ease;
}

/* --- IMAGE POPUP (LIGHTBOX) --- */
.image-popup {
    position: fixed;
    top: 0; left: 0; width: 100%; height: 100%;
    background-color: rgba(25, 25, 21, 0.95); /* Fundo quase sólido para foco */
    z-index: 99999;
    display: flex;
    justify-content: center;
    align-items: center;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.4s ease;
}

.image-popup.active {
    opacity: 1;
    pointer-events: auto;
}

.image-popup-content {
    max-width: 90%;
    max-height: 90vh;
    object-fit: contain;
    border-radius: 8px;
    box-shadow: 0 20px 50px rgba(0,0,0,0.5);
    transform: scale(0.95);
    transition: transform 0.4s cubic-bezier(0.25, 1, 0.5, 1);
}

.image-popup.active .image-popup-content {
    transform: scale(1);
}

.close-popup {
    position: absolute;
    top: 30px;
    right: 40px;
    color: var(--offwhite);
    font-size: 40px;
    cursor: pointer;
    background: transparent;
    border: none;
    transition: color 0.3s ease, transform 0.3s ease;
}

.close-popup:hover {
    color: var(--accent);
    transform: scale(1.1);
}

/* Mobile Responsiveness */
@media (max-width: 1024px) {
    .testimonials-grid {
        display: flex;
        overflow-x: auto;
        scroll-snap-type: x mandatory;
        gap: 16px;
        padding-bottom: 24px;
        scrollbar-width: none; /* Firefox */
    }
    
    .testimonials-grid::-webkit-scrollbar {
        display: none; /* Chrome/Safari */
    }
    
    .testimonial-card {
        flex: 0 0 280px;
        scroll-snap-align: center;
    }

    /* Adaptação da Seção Work para Tablet */
    .work-title-wrapper {
        padding: 0 2rem;
        margin-bottom: 3rem;
    }

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

    .work-slider {
        padding: 0 2rem; /* Alinha o primeiro card com a margem do tablet */
    }

    .work-card {
        aspect-ratio: 4 / 3;
        flex: 0 0 calc(100% - 40px);
    }

    .next-btn {
        right: 2rem;
    }

    /* Adaptação Marcas Tablet */
    .brands-row {
        gap: 48px;
    }
    .brands-row img {
        height: 40px;
    }

    /* Adaptação Marquee Tablet */
    .marquee-content span {
        font-size: 32px;
    }
    .marquee-dot {
        width: 18px;
        height: 18px;
    }
}

/* Otimização Crítica de Performance para Celulares */
@media (max-width: 768px) {
    :root {
        --font-hero: clamp(55px, 14vw, 75px); /* Letras consideravelmente maiores */
        --font-title: clamp(32px, 8vw, 40px);
        --font-subtitle: clamp(20px, 4.5vw, 28px);
    }

    .hero-section {
        padding: 0 1.5rem;
        overflow-x: hidden;
    }

    .hero-content {
        grid-template-columns: max-content 1fr;
        gap: 12px;
        margin-top: -30vh; /* Puxa todo o bloco mais pra cima na tela */
    }

    .hero-tag {
        font-size: 14px;
        bottom: 90%;
        left: 0; 
    }

    .parallax-bg {
        /* Desliga o cálculo complexo de blend por pixel na Placa de Vídeo do celular */
        mix-blend-mode: normal;
        /* Reduz a presença das bolhas para não apagar textos brancos sem o screen mode */
        opacity: 0.1;
    }
    
    /* Adaptação da Seção Work para Celulares */
    .work-section {
        padding: 5vh 0;
    }

    .work-title-wrapper {
        padding: 0 1.5rem;
        margin-bottom: 2.5rem;
    }
    
    .work-slider {
        padding: 0 1.5rem; /* Alinha o primeiro card com a margem do celular */
    }
    
    .work-card {
        aspect-ratio: 1 / 1;
        flex: 0 0 calc(100% - 20px);
    }
    
    .next-btn {
        right: 1.5rem;
    }
    
    /* A Seção Services e Testimonials já herdam o slider horizontal do Tablet */
    
    .testimonial-card {
        aspect-ratio: auto;
        padding: 1.5rem;
    }

    .testimonial-card:hover {
        transform: none; /* Sem subida no celular */
        box-shadow: none;
    }
    .services-title-wrapper {
        margin: 0 auto 2rem auto; /* Distância menor igual ao Work */
    }

    /* Navegação Mobile e Logo */
    .desktop-nav {
        display: none;
    }
    
    /* Ajuste Header Fixo */
    .fixed-header {
        padding: 1.5rem 1.5rem;
        transition: padding 0.3s ease, background-color 0.3s ease;
    }

    .logo .logo-flat, .logo .logo-3d {
        height: 50px; 
        transition: opacity 0.3s ease, height 0.3s ease;
    }

    .logo-mobile {
        height: 45px; 
        width: auto;
    }

    /* Estado Condensado (Sticky Header) */
    .fixed-header.scrolled {
        background-color: rgba(25, 25, 21, 0.65) !important;
        backdrop-filter: blur(16px) !important;
        -webkit-backdrop-filter: blur(16px) !important;
        padding: 0.8rem 1.2rem;
        border-bottom: 1px solid rgba(255, 255, 255, 0.12);
        box-shadow: 0 8px 24px rgba(0, 0, 0, 0.35);
    }

    .fixed-header.scrolled .logo-flat,
    .fixed-header.scrolled .logo-3d {
        height: 45px; /* Encolhe o container fisicamente sem quebrar o layout lateral */
        opacity: 0 !important;
        pointer-events: none;
    }

    .fixed-header.scrolled .logo-glow {
        opacity: 0 !important;
        pointer-events: none;
    }

    .fixed-header.scrolled .logo-mobile {
        opacity: 1;
        /* Como já tem absolute, top 50% e translateY(-50%), ele centraliza sozinho no novo height de 25px */
    }

    /* Override do Hover Nativo (Mobile) para usar classe Fidget */
    .logo:hover .logo-flat { opacity: 1; }
    .logo:hover .logo-3d { opacity: 0; }
    .logo:hover .logo-glow { opacity: 0; }

    .logo.fidget-active .logo-flat { opacity: 0 !important; }
    .logo.fidget-active .logo-3d { opacity: 1 !important; }
    .logo.fidget-active .logo-glow { opacity: 1 !important; }

    /* Botão CTA menor, mas com texto */
    .cta {
        padding: 6px 16px 6px 6px;
        font-size: 14px;
    }
    .cta span {
        margin-left: 28px;
    }
    .cta-icon {
        width: 20px;
        height: 20px;
        left: 6px;
    }
    .cta-arrow {
        left: 11px;
    }

    .section-tag-wrapper {
        margin-bottom: 2rem;
    }

    .work-tag::before {
        width: 8px;
        height: 8px;
    }

    /* Espaçamentos e Gaps (Brands/Services) */
    .services-section {
        padding: 10vh 1.5rem 5vh 1.5rem;
    }
    
    /* Adaptação das Marcas para Mobile */
    .brands-row {
        gap: 32px;
    }
    .brands-row img {
        height: 32px;
    }

    .mobile-swipe-indicator {
        display: block;
        text-align: right;
        font-size: 14px;
        color: rgba(0, 0, 0, 0.5);
        margin-top: -32px;
        margin-bottom: 24px;
        font-weight: 500;
        padding-right: 1.5rem;
    }

    /* Adaptação dos Depoimentos para Mobile (Sem Hover) */
    .parceria-section {
        padding: 10vh 1.5rem;
    }
    
    .testimonial-card {
        padding: 32px 24px;
        min-height: auto;
    }

    .testimonial-photo {
        width: 48px; /* Reduzido em 20% do original de 60px */
        height: 48px;
    }

    .testimonial-logo {
        position: relative;
        top: auto; left: auto; transform: none;
        width: 60%;
        margin-bottom: 24px;
    }

    .testimonial-desc {
        position: relative;
        top: auto; left: auto; right: auto;
        transform: none;
        opacity: 1;
        pointer-events: auto;
    }

    .testimonial-card:hover .testimonial-logo {
        opacity: 1;
        transform: none;
    }
    
    .testimonial-card:hover .testimonial-desc {
        transform: none;
    }
    
    /* Marquee Mobile */
    .marquee-content span {
        font-size: 24px;
    }
    .marquee-dot {
        width: 16px;
        height: 16px;
    }
}

/* --- PARCERIA SECTION --- */
.parceria-section {
    background-color: var(--offwhite);
    color: #000;
    padding: 10vh 2rem 4vh 2rem;
    position: relative;
    z-index: 10;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
    overflow: hidden;
}

.parceria-container {
    max-width: 1200px;
    display: flex;
    flex-direction: column;
    align-items: center;
    position: relative;
    z-index: 2;
}

/* --- SANDBOX DE Fà SICA LàšDICA (CENTRALIZADO) --- */
.parceria-physics-sandbox {
    position: relative;
    width: 100%;
    max-width: 900px; /* Largura ampliada para preencher a tela horizontalmente */
    height: 240px; /* Altura reduzida em 50% para um formato wide elegante */
    margin: 4rem auto 0 auto; /* Centralizado e posicionado abaixo do botão CTA */
    background: transparent; /* Fundo removido */
    border: none; /* Borda removida */
    border-radius: 24px;
    padding: 20px; /* Previne corte das bordas das pílulas fisicamente */
    box-sizing: border-box;
    overflow: hidden;
    z-index: 5;
}

.physics-pill {
    position: absolute;
    top: 0;
    left: 0;
    padding: 11px 24px; /* Aumentado em 10% */
    border-radius: 40px;
    font-size: 16px; /* Aumentado em 10% */
    font-weight: 700;
    white-space: nowrap;
    user-select: none;
    pointer-events: none; /* Eventos de mouse desativados para fluidez total */
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.05);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    transform-origin: center center;
    font-family: inherit;
    backface-visibility: hidden;
    -webkit-backface-visibility: hidden;
}

.physics-pill.solid-pill {
    background-color: transparent; /* Fundo totalmente vazio/transparente */
    color: #191915;                /* Texto em preto elegante */
    border: 2px solid #191915;     /* Contorno preto elegante */
}

.physics-pill.outline-pill {
    background-color: transparent; /* Fundo totalmente removido */
    color: var(--accent);
    border: 2px solid var(--accent);
}

@media (max-width: 768px) {
    .parceria-physics-sandbox {
        height: 180px;
        margin-top: 3rem;
    }
    .physics-pill {
        padding: 9px 18px;
        font-size: 13px;
    }
}

.parceria-title {
    font-size: var(--font-subtitle);
    font-weight: 800; /* Aumentado para compensar ilusão de ótica do fundo branco */
    line-height: 1.4;
    margin-bottom: 2rem;
    letter-spacing: -0.02em;
}

.parceria-logo-svg {
    height: 0.82em;
    width: auto;
    display: inline-block;
    vertical-align: -0.06em;
    margin: 0 0.15em;
}

.parceria-title .dot {
    color: var(--accent);
}

.parceria-logo-inline {
    height: 1.2em; /* Tamanho proporcional natural em relação ao texto */
    vertical-align: middle;
    margin: 0 0.1em;
    transform: translateY(0.05em);
    pointer-events: none;
}

.parceria-desc {
    font-family: 'DM Sans', sans-serif;
    font-size: 16px;
    line-height: 1.6;
    font-weight: 400;
    color: #000;
    margin: 0 auto 3.5rem auto; /* Centraliza o bloco na horizontal */
    max-width: 1050px; /* Alinhado à  largura natural do título */
    text-align: center;
}

.parceria-btn {
    background-color: var(--accent);
    color: var(--bg);
    font-size: 18px;
    font-weight: 500;
    padding: 12px 32px;
    border: none;
    border-radius: 50px;
    text-decoration: none;
    transition: all 0.3s cubic-bezier(0.25, 1, 0.5, 1);
    display: inline-block;
}

.parceria-btn:hover {
    transform: translateY(-4px);
    filter: brightness(1.1);
}

.parceria-btn:active {
    transform: translateY(2px);
    filter: brightness(0.9);
}

.work-portfolio-btn {
    background-color: #d3cfc6 !important;
    color: #1a1a1a !important;
}

.work-portfolio-btn:hover {
    background-color: #e5e1d8 !important;
    color: #000000 !important;
}


/* --- DEPOIMENTOS --- */
.testimonials-container {
    width: 100%;
    max-width: 800px;
    margin: 5rem auto 0 auto;
    position: relative;
    z-index: 3;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    padding-bottom: 1rem;
}

.quote-icon {
    font-size: 5rem;
    font-weight: 800;
    line-height: 1;
    color: #000;
    margin-bottom: -1rem;
    font-family: serif;
}

.testimonials-main-title {
    font-size: var(--font-subtitle);
    font-weight: 800;
    color: #000;
    letter-spacing: -0.02em;
    margin-bottom: 3rem;
}

.testimonials-main-title .dot {
    color: var(--accent);
}

.testimonial-carousel {
    display: flex;
    flex-direction: column;
    align-items: center;
    width: 100%;
    min-height: 350px;
}

.testimonial-quote {
    font-family: 'DM Sans', sans-serif;
    font-size: 16px;
    font-weight: 400;
    color: #000;
    line-height: 1.6;
    margin-bottom: 3rem;
    min-height: 120px;
    transition: opacity 0.4s ease;
}

.testimonial-quote.fade-out {
    opacity: 0;
}

.testimonial-profiles-window {
    position: relative;
    height: 80px;
    width: 250px;
    margin: 0 auto 1.5rem auto;
}

.profile-pic {
    position: absolute;
    top: 50%;
    transform: translate(-50%, -50%);
    border-radius: 50%;
    overflow: hidden;
    cursor: pointer;
    transition: all 0.5s cubic-bezier(0.25, 1, 0.5, 1);
    border: 1px solid transparent;
}

.profile-pic img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.profile-pic.active {
    width: 80px;
    height: 80px;
    left: 50%;
    opacity: 1;
    border: 1px solid #000;
    cursor: default;
    z-index: 3;
}

.profile-pic.prev {
    width: 50px;
    height: 50px;
    left: 15%;
    opacity: 0.4;
    z-index: 2;
}

.profile-pic.next {
    width: 50px;
    height: 50px;
    left: 85%;
    opacity: 0.4;
    z-index: 2;
}

.profile-pic.hidden-left {
    width: 30px;
    height: 30px;
    left: -10%;
    opacity: 0;
    z-index: 1;
}

.profile-pic.hidden-right {
    width: 30px;
    height: 30px;
    left: 110%;
    opacity: 0;
    z-index: 1;
}

.profile-pic:hover:not(.active) {
    opacity: 0.7;
}

.slide-out-left {
    transform: translateX(-40px);
    opacity: 0;
}

.slide-out-right {
    transform: translateX(40px);
    opacity: 0;
}

.no-transition {
    transition: none !important;
}

.testimonial-author {
    display: flex;
    flex-direction: column;
    align-items: center;
    transition: opacity 0.4s ease;
}

.testimonial-author.fade-out {
    opacity: 0;
}

.author-name {
    font-size: 18px;
    font-weight: 800;
    color: #000;
    margin-bottom: 2px;
}

.author-company {
    font-size: 14px;
    color: rgba(0,0,0,0.6);
}

/* --- GEOMETRIC ANIMATED WIDGETS --- */
.shapes-widget-section {
    position: relative;
    z-index: 5;
    background-color: var(--offwhite); /* Fundo claro para contrastar com os widgets escuros */
    padding: 6rem 0; /* Espaço para centralizar as caixas */
    width: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
}

.shapes-widget-container {
    width: 100%;
    max-width: 1200px;
    display: flex;
    justify-content: center;
    align-items: center;
}

/* Fileira de 3 Widgets Lado a Lado */
.shapes-widgets-row {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 40px; /* Espaço entre as três caixas */
    flex-wrap: wrap; /* Permite quebrar em telas menores */
}

/* Caixa com máscara individual */
.geometric-animated-box {
    width: 140px;
    height: 140px;
    background-color: transparent; /* Sem fundo */
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden; /* Máscara de recorte perfeita */
    position: relative;
}

.shape-track {
    width: 100%;
    height: 48px; /* Altura ideal dos ícones internos */
    overflow: hidden;
    position: relative;
    display: flex;
    align-items: center;
}

.track-wrapper {
    display: flex;
    width: max-content;
    align-items: center;
}

.track-group {
    display: flex;
    align-items: center;
    gap: 0; /* Sem espaço entre as formas! Loop infinito sem respiro */
    padding-right: 0;
}

.shape-svg {
    height: 48px;
    width: auto;
    display: block;
    flex-shrink: 0;
}

.track-group.text-white {
    color: var(--offwhite);
}

.track-group.text-orange {
    color: var(--accent);
}

.track-group.text-black {
    color: var(--bg); /* Preto elegante */
}

/* Animações contínuas sem respiro - Sincronizadas na mesma velocidade */
.scroll-semicircles {
    animation: shapes-scroll-left 2s linear infinite; /* Rápido */
}

.scroll-circles {
    animation: shapes-scroll-left 2s linear infinite; /* Sincronizado com o primeiro */
}

.scroll-dots {
    animation: shapes-scroll-left 2s linear infinite; /* Sincronizado com o primeiro */
}

@keyframes shapes-scroll-left {
    0% {
        transform: translateX(0);
    }
    100% {
        transform: translateX(-50%);
    }
}

/* Tamanho do recorte ajustado para exibir exatamente 1.5 formas */
.widget-semicircles {
    width: 90px;
}
.widget-semicircles .shape-track,
.widget-semicircles .shape-svg {
    height: 120px;
}

.widget-circles {
    width: 180px; /* Diâmetro 120px * 1.5 = 180px (Igualado em altura com o primeiro) */
}
.widget-circles .shape-track,
.widget-circles .shape-svg {
    height: 120px; /* Igualado em altura com o primeiro (120px) */
}

.widget-dots {
    width: 60px;
}
.widget-dots .shape-track,
.widget-dots .shape-svg {
    height: 100px;
}

/* --- FAQ SECTION --- */
.faq-section {
    background-color: var(--offwhite);
    color: var(--bg);
    padding: 3vh 2rem 10vh 2rem;
    display: flex;
    justify-content: center;
    position: relative;
    z-index: 10;
}

.faq-container {
    width: 100%;
    max-width: 900px; /* Alinha o conteúdo centralizado com folga */
}

.faq-title {
    font-size: var(--font-subtitle);
    font-weight: 800; /* Extra bold para fundos claros */
    margin-bottom: 4rem;
    color: #000;
    letter-spacing: -0.02em;
    text-align: center; /* Centralizado em perfeita sintonia com a tag superior */
}

.faq-title .dot {
    color: var(--accent);
}

.faq-accordion {
    display: flex;
    flex-direction: column;
}

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

.faq-item:first-child {
    border-top: 1px solid rgba(0,0,0,0.1);
}

.faq-question {
    width: 100%;
    background: none;
    border: none;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 2rem 0;
    font-size: var(--font-body);
    font-weight: 500;
    color: #000;
    cursor: pointer;
    text-align: left;
    transition: color 0.3s ease;
    font-family: inherit;
}

.faq-question:hover {
    color: var(--accent);
}

.faq-icon {
    font-size: 24px;
    font-weight: 400;
    transition: transform 0.3s ease;
}

.faq-answer {
    max-height: 0;
    overflow: hidden;
    transition: all 0.4s cubic-bezier(0.25, 1, 0.5, 1);
    opacity: 0;
}

.faq-answer p {
    font-size: var(--font-body);
    line-height: 1.6;
    color: #2D2D2D; /* Escuro e nítido para excelente contraste e leitura */
    font-weight: 500;
    padding-bottom: 2rem;
    padding-right: 4rem;
    text-align: justify;
    text-align-last: left;
}

.faq-item.active .faq-answer {
    max-height: 500px;
    opacity: 1;
}

.faq-item.active .faq-icon {
    transform: rotate(45deg); /* "+" vira um "x" na rotação */
    color: var(--accent);
}

/* --- FOOTER SECTION --- */
.footer-section {
    background-color: var(--bg);
    color: var(--text);
    padding: 10vh 2rem 5vh 2rem;
    display: flex;
    justify-content: center;
    position: relative;
    z-index: 10;
}

.footer-container {
    width: 100%;
    max-width: 1200px;
}

.footer-grid {
    display: flex;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 4rem;
}

.footer-left {
    display: flex;
    flex-direction: column;
}

.footer-columns {
    display: flex;
    gap: 4rem;
}

.footer-col {
    display: flex;
    flex-direction: column;
}

.footer-title {
    font-size: var(--font-body); /* Tamanho padrão de texto conforme hierarquia */
    font-weight: 700;
    margin-bottom: 2rem;
    color: var(--offwhite); /* Offwhite (reduz o contraste excessivo do branco puro) */
}

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

.footer-links a {
    text-decoration: none;
    color: rgba(242, 242, 242, 0.45); /* Apagado (hierarquia similar ao FAQ) */
    font-size: var(--font-body);
    font-weight: 400;
    transition: color 0.3s ease;
}

.footer-links a:hover {
    color: var(--offwhite); /* Hover offwhite */
}

.nav-col {
    border-left: 1px solid rgba(242, 242, 242, 0.1); /* Linha divisória da imagem */
    padding-left: 4rem;
}

.footer-logo {
    margin-top: 3.5rem;
    height: 55px;
    max-width: 220px;
    width: auto;
    object-fit: contain;
    object-position: left;
    opacity: 0.9;
}

/* à cones Sociais */
.footer-social {
    flex-direction: row;
    gap: 1rem;
    align-items: flex-start;
    margin-left: auto; /* Empurra para o extremo direito */
}

.social-icon {
    display: flex;
    justify-content: center;
    align-items: center;
    width: 44px;
    height: 44px;
    border-radius: 50%;
    background-color: var(--offwhite);
    color: var(--bg); /* à cone escuro */
    text-decoration: none;
    transition: all 0.3s ease;
}

.social-icon svg {
    width: 20px;
    height: 20px;
}

.social-icon:hover {
    background-color: var(--accent);
    color: var(--offwhite); /* à cone claro sobre fundo laranja */
}

/* Mobile Responsiveness do Footer */
@media (max-width: 768px) {
    .footer-grid {
        flex-direction: column;
        gap: 3rem;
    }
    
    .footer-columns {
        flex-direction: column; /* Empilha Serviços e Explorar verticalmente */
        gap: 2rem;
    }
    
    .nav-col {
        border-left: none;
        border-top: 1px solid rgba(242, 242, 242, 0.1);
        padding-left: 0;
        padding-top: 2rem; /* Distância menor */
    }
    
    .footer-social {
        margin-left: 0;
    }
}

/* --- CUSTOM SCROLL CURSOR --- */
body.hide-default-cursor,
body.hide-default-cursor * {
    cursor: none !important;
}

.scroll-cursor {
    position: fixed;
    top: 0;
    left: 0;
    width: 24px;
    height: 24px;
    background-color: var(--accent);
    border-radius: 50%;
    pointer-events: none; /* Ignora eventos de mouse para não bloquear cliques */
    z-index: 9999;
    display: flex;
    justify-content: center;
    align-items: center;
    will-change: transform; /* Dica para GPU acelerar o GSAP */
}

.scroll-cursor svg {
    width: 14px;
    height: 14px;
    color: var(--bg);
}

@media (max-width: 768px) {
    .scroll-cursor {
        display: none; /* Oculta em dispositivos móveis por não terem mouse */
    }
}

/* --- HEADER COLOR ADAPTABILITY (LIGHT BACKGROUNDS) --- */
.fixed-header.on-light-bg .logo .logo-flat {
    content: url('1x/logoflatpreto.webp') !important;
    filter: none !important;
}

.fixed-header.on-light-bg .logo .logo-3d {
    filter: none !important; /* Mantém as cores originais 3D sem escurecer e achatar com brightness(0) */
}

.fixed-header.on-light-bg .logo .logo-mobile {
    content: url('1x/logoflatpreto.webp') !important;
    filter: none !important;
}

.fixed-header.on-light-bg .cta,
.fixed-header.on-light-bg .cta span {
    color: #191915 !important;
}

/* Smooth transition when crossing sections */
.fixed-header .logo .logo-flat,
.fixed-header .logo .logo-3d,
.fixed-header .logo .logo-mobile,
.fixed-header .cta,
.fixed-header .cta span {
    transition: filter 0.4s cubic-bezier(0.25, 1, 0.5, 1), color 0.4s cubic-bezier(0.25, 1, 0.5, 1), opacity 0.3s ease;
}

/* --- SEÇàO VAMOS COLABORAR (CTA FINAL) --- */
.cta-final-section .header-cta-btn {
    border-radius: 100px !important;
    text-decoration: none !important;
    transition: transform 0.3s ease, opacity 0.3s ease !important;
}

.cta-final-section .header-cta-btn:hover {
    transform: translateY(-2px);
    opacity: 0.9;
}


/* =====================================================================
   MOBILE IMPROVEMENTS â€” co.paralelo
   Revisão 24/07/2026 â€” todas as correções da segunda rodada
   ===================================================================== */

/* --- 1. REDESIGNED ULTRA-MODERN HAMBURGER BUTTON --- */
.hamburger-btn {
    display: none;
    flex-shrink: 0;
    justify-content: center;
    align-items: center;
    gap: 5px;
    width: 36px;
    height: 36px;
    background: transparent !important;
    border: none !important;
    border-radius: 0 !important;
    cursor: pointer;
    padding: 0;
    z-index: 201;
    position: relative;
    pointer-events: auto;
    flex-direction: column;
    backdrop-filter: none !important;
    -webkit-backdrop-filter: none !important;
    box-shadow: none !important;
    transition: transform 0.35s cubic-bezier(0.16, 1, 0.3, 1);
}

.hamburger-btn:hover,
.hamburger-btn:active {
    background: transparent !important;
    border: none !important;
    box-shadow: none !important;
    transform: scale(1.08);
}

.hamburger-btn span {
    display: block;
    width: 20px;
    height: 2px;
    background-color: #FFFFFF;
    border-radius: 4px;
    transition: all 0.35s cubic-bezier(0.16, 1, 0.3, 1);
    transform-origin: center;
}

.hamburger-btn.is-open {
    background: transparent !important;
    border: none !important;
    box-shadow: none !important;
}

.hamburger-btn.is-open span {
    background-color: #0D0D0D;
}

.hamburger-btn.is-open span:first-child {
    transform: translateY(3.5px) rotate(45deg);
}

.hamburger-btn.is-open span:last-child {
    transform: translateY(-3.5px) rotate(-45deg);
}

/* --- 1. REDESIGNED LUXURY MOBILE OVERLAY DRAWER --- */
.mobile-nav-overlay {
    position: fixed;
    inset: 0;
    background-color: #191915;
    background-image: 
        radial-gradient(circle at 85% 15%, rgba(42, 42, 37, 0.8) 0%, transparent 60%),
        radial-gradient(circle at 15% 85%, rgba(42, 42, 37, 0.5) 0%, transparent 65%);
    z-index: 150;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    padding: 100px 32px 40px 32px;
    opacity: 0;
    pointer-events: none;
    transform: scale(0.96) translateY(-10px);
    transition: opacity 0.45s cubic-bezier(0.16, 1, 0.3, 1), transform 0.45s cubic-bezier(0.16, 1, 0.3, 1);
    backdrop-filter: blur(30px);
    -webkit-backdrop-filter: blur(30px);
    overflow-y: auto;
}

.mobile-nav-overlay.is-open {
    opacity: 1;
    pointer-events: auto;
    transform: scale(1) translateY(0);
}

.mobile-nav-container {
    display: flex;
    flex-direction: column;
    gap: 32px;
    width: 100%;
}

.mobile-nav-header-tag {
    font-size: 0.75rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.15em;
    color: var(--accent, #FA4616);
    margin-bottom: -16px;
}

.mobile-nav-links {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 12px;
    padding: 0;
    margin: 0;
}

.mobile-nav-link {
    display: flex;
    align-items: baseline;
    font-family: 'DM Sans', sans-serif;
    font-size: clamp(32px, 8.5vw, 52px);
    font-weight: 800;
    color: #FFFFFF;
    text-decoration: none;
    line-height: 1.1;
    letter-spacing: -0.03em;
    transition: transform 0.3s cubic-bezier(0.16, 1, 0.3, 1), color 0.3s ease;
    padding: 6px 0;
}

.mobile-nav-num {
    font-size: clamp(0.85rem, 2.5vw, 1.1rem);
    font-weight: 700;
    color: var(--accent, #FA4616);
    margin-right: 16px;
    letter-spacing: 0.05em;
    font-family: monospace, sans-serif;
}

.mobile-nav-dot {
    color: var(--accent, #FA4616);
    margin-left: 2px;
}

.mobile-nav-link:hover,
.mobile-nav-link:active {
    color: var(--accent, #FA4616);
    transform: translateX(10px);
}

/* Footer Section inside Mobile Menu */
.mobile-nav-footer {
    display: flex;
    flex-direction: column;
    gap: 20px;
    padding-top: 24px;
    border-top: 1px solid rgba(255, 255, 255, 0.08);
}

.mobile-nav-cta {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    background: var(--accent, #FA4616);
    color: #0D0D0D;
    font-size: 0.95rem;
    font-weight: 700;
    padding: 16px 28px;
    border-radius: 100px;
    text-decoration: none;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.mobile-nav-cta:active {
    transform: scale(0.98);
}

.mobile-nav-socials {
    display: flex;
    align-items: center;
    justify-content: space-between;
    color: #888888;
    font-size: 0.85rem;
    font-weight: 500;
}

.mobile-nav-socials a {
    color: #A0A0A0;
    text-decoration: none;
    transition: color 0.3s ease;
}

.mobile-nav-socials a:hover {
    color: #FFFFFF;
}

/* Stagger entrance */
.mobile-nav-links li {
    opacity: 0;
    transform: translateY(24px);
    transition: opacity 0.45s cubic-bezier(0.16, 1, 0.3, 1), transform 0.45s cubic-bezier(0.16, 1, 0.3, 1);
}

.mobile-nav-overlay.is-open .mobile-nav-links li:nth-child(1) { opacity: 1; transform: translateY(0); transition-delay: 0.08s; }
.mobile-nav-overlay.is-open .mobile-nav-links li:nth-child(2) { opacity: 1; transform: translateY(0); transition-delay: 0.14s; }
.mobile-nav-overlay.is-open .mobile-nav-links li:nth-child(3) { opacity: 1; transform: translateY(0); transition-delay: 0.20s; }
.mobile-nav-overlay.is-open .mobile-nav-links li:nth-child(4) { opacity: 1; transform: translateY(0); transition-delay: 0.26s; }
.mobile-nav-overlay.is-open .mobile-nav-links li:nth-child(5) { opacity: 1; transform: translateY(0); transition-delay: 0.32s; }
.mobile-nav-overlay.is-open .mobile-nav-footer { opacity: 1; transform: translateY(0); transition-delay: 0.38s; }

/* --- 3. SLIDER DOTS --- */
.slider-dots {
    display: none;
    justify-content: center;
    gap: 8px;
    margin-top: 20px;
    position: relative;
    z-index: 5;
}

.slider-dot {
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background-color: rgba(242, 242, 242, 0.25);
    transition: background-color 0.3s ease, transform 0.3s ease;
    cursor: pointer;
}

.slider-dot.active {
    background-color: var(--accent);
    transform: scale(1.4);
}

/* --- 4. ACCORDION DE SERVIà‡OS MOBILE --- */
.services-accordion {
    display: none;
    flex-direction: column;
    width: 100%;
    max-width: 600px;
    margin: 0 auto;
    padding: 0 1.5rem;
    position: relative;
    z-index: 3;
}

.accordion-item {
    border-bottom: 1px solid rgba(242, 242, 242, 0.1);
}

.accordion-trigger {
    width: 100%;
    display: flex;
    align-items: center;
    gap: 16px;
    background: transparent;
    border: none;
    cursor: pointer;
    padding: 1.5rem 0;
    text-align: left;
    color: var(--text);
    font-family: 'DM Sans', sans-serif;
}

.accordion-num {
    font-size: 13px;
    color: var(--accent);
    font-weight: 500;
    flex-shrink: 0;
    white-space: nowrap;
}

.accordion-title {
    font-size: 16px;
    font-weight: 700;
    letter-spacing: 0.04em;
    flex: 1;
    text-align: left;
}

.accordion-icon {
    font-size: 22px;
    font-weight: 300;
    color: var(--accent);
    flex-shrink: 0;
    transition: transform 0.35s cubic-bezier(0.25, 1, 0.5, 1);
    line-height: 1;
}

.accordion-item.is-open .accordion-icon {
    transform: rotate(45deg);
}

.accordion-body {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.45s cubic-bezier(0.16, 1, 0.3, 1);
}

.accordion-body p {
    font-size: 15px;
    line-height: 1.65;
    color: rgba(242, 242, 242, 0.7);
    padding-bottom: 0.8rem;
    font-weight: 400;
    text-align: left;
}

.accordion-img-container {
    width: 100%;
    aspect-ratio: 4 / 3;
    background: #121210;
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 12px;
    margin-top: 8px;
    margin-bottom: 1.5rem;
    padding: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    box-shadow: 0 12px 30px rgba(0, 0, 0, 0.6);
}

.accordion-img-container img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    border-radius: 8px;
}

.accordion-item.is-open .accordion-body {
    max-height: 800px;
}

/* --- 5. TAGS MARQUEE (substitui physics pills no mobile) --- */
.tags-marquee-wrapper {
    display: none; /* Oculto no desktop â€” physics pills já aparecem lá */
    overflow: hidden;
    width: 100%;
    margin-top: 2rem;
    position: relative;
}

.tags-marquee-wrapper::before,
.tags-marquee-wrapper::after {
    content: '';
    position: absolute;
    top: 0;
    bottom: 0;
    width: 60px;
    z-index: 2;
    pointer-events: none;
}
.tags-marquee-wrapper::before {
    left: 0;
    background: linear-gradient(to right, var(--bg-parceria, #EDEAE4) 0%, transparent 100%);
}
.tags-marquee-wrapper::after {
    right: 0;
    background: linear-gradient(to left, var(--bg-parceria, #EDEAE4) 0%, transparent 100%);
}

.tags-marquee-track {
    display: flex;
    gap: 16px;
    width: max-content;
    animation: tagMarqueeScroll 45s linear infinite;
    padding: 8px 0;
}

@keyframes tagMarqueeScroll {
    0% { transform: translateX(0); }
    100% { transform: translateX(-50%); }
}

.tag-pill {
    display: inline-flex;
    align-items: center;
    padding: 8px 18px;
    border-radius: 100px;
    border: 1.5px solid rgba(0, 0, 0, 0.25);
    font-family: 'DM Sans', sans-serif;
    font-size: 13px;
    font-weight: 600;
    color: #1a1a1a;
    white-space: nowrap;
    background: transparent;
    letter-spacing: 0.01em;
}

.tag-pill--orange {
    background-color: var(--accent, #FA4616);
    border-color: var(--accent, #FA4616);
    color: #fff;
}

/* =====================================================================
   MEDIA QUERY MOBILE â€” max-width: 768px
   ===================================================================== */
@media (max-width: 768px) {

    /* --- HEADER: translucent glass background, perfect vertical alignment --- */
    .fixed-header,
    .fixed-header.scrolled {
        position: fixed;
        top: 0;
        left: 0;
        width: 100%;
        height: 60px;
        padding: 0 1.2rem;
        gap: 12px;
        display: flex;
        align-items: center;
        justify-content: space-between;
        background: rgba(25, 25, 21, 0.65) !important;
        backdrop-filter: blur(16px) !important;
        -webkit-backdrop-filter: blur(16px) !important;
        border-bottom: 1px solid rgba(255, 255, 255, 0.14) !important;
        box-shadow: 0 8px 24px rgba(0, 0, 0, 0.25) !important;
        z-index: 100;
    }

    .fixed-header .logo {
        display: flex;
        align-items: center;
        height: 32px;
        position: relative;
    }

    .fixed-header .logo .logo-flat {
        height: 28px !important;
        width: auto !important;
        position: static !important;
        transform: none !important;
        top: auto !important;
        opacity: 1 !important;
        display: block !important;
    }

    .fixed-header .logo .logo-3d,
    .fixed-header .logo .logo-mobile,
    .fixed-header .logo .logo-glow {
        display: none !important;
    }

    /* No mobile a logo NUNCA muda para a versão preta */
    .fixed-header.on-light-bg .logo .logo-flat,
    .fixed-header.on-light-bg .logo .logo-mobile {
        content: url('1x/logoflatbranco.webp') !important;
        filter: none !important;
    }

    .hamburger-btn {
        display: flex;
        align-items: center;
        justify-content: center;
        height: 34px;
    }

    /* CTA Mobile: Botão estático completo laranja (Referencia 2) */
    .fixed-header .cta {
        display: inline-flex;
        align-items: center;
        justify-content: center;
        gap: 8px;
        height: 34px;
        background-color: var(--accent, #FA4616);
        color: #1a1a1a;
        padding: 0 16px;
        border-radius: 100px;
        text-decoration: none;
        font-size: 13px;
        font-weight: 600;
        min-width: unset;
        width: auto;
        position: relative;
        transition: none;
    }

    .fixed-header .cta .cta-icon {
        display: none;
    }

    .fixed-header .cta span {
        display: inline-block;
        color: #1a1a1a;
        margin-left: 0;
        font-size: 13px;
        font-weight: 600;
        line-height: 1;
    }

    .fixed-header .cta .cta-arrow {
        position: static;
        transform: none;
        opacity: 1;
        color: #1a1a1a;
        width: 14px;
        height: 14px;
        flex-shrink: 0;
    }

    /* --- HERO: coluna única, espaçamento reduzido, scroll corrigido --- */
    .hero-section {
        padding: 0 1.5rem;
        overflow-x: hidden;
        min-height: 100dvh;
        display: flex;
        flex-direction: column;
        justify-content: center;
    }

    .hero-content {
        display: flex;
        flex-direction: column;
        align-items: flex-start;
        gap: 8px;
        margin-top: 0;
        padding-top: 0;
    }

    .hero-left {
        justify-self: unset;
        width: 100%;
    }

    /* Ocultar linhas vazias que causam espaço excessivo */
    .hero-left .line.hidden {
        display: none;
    }

    /* Scroll de palavras: hero-right mascara com overflow:hidden. */
    /* scroll-container DEVE ter overflow-y:scroll para o JS funcionar! */
    /* Scroll de palavras Mobile (Referencia 2):
       Primeira palavra (topo) com 100% opacidade, diminuindo gradualmente nas linhas de baixo.
       Sem máscara no topo para manter a palavra 1 limpa e destacada. */
    .hero-right {
        width: 100%;
        height: 3.6em; /* Exibe ~3 linhas de palavras no mobile */
        overflow: hidden;
        position: relative;
        margin-top: -0.1em;
    }

    .hero-right::before {
        display: none !important; /* Sem sombra no topo para não esconder a 1ª palavra */
    }

    .hero-right::after {
        content: '';
        position: absolute;
        left: 0;
        right: 0;
        bottom: 0;
        height: 45%;
        z-index: 2;
        pointer-events: none;
        background: linear-gradient(to top, var(--bg) 0%, transparent 100%);
    }

    /* CRÍTICO: overflow-y scroll para o scrollBy() do JS funcionar.
       O hero-right com overflow:hidden mascara visualmente o excedente. */
    .scroll-container {
        height: 999px;
        overflow-y: scroll;
        scrollbar-width: none;
    }
    .scroll-container::-webkit-scrollbar {
        display: none;
    }

    .elo-section,
    .work-section,
    .services-section {
        padding-top: 3.5rem !important;
        padding-bottom: 3.5rem !important;
    }

    .parceria-section {
        padding-top: 3.5rem !important;
        padding-bottom: 3rem !important;
    }

    .testimonials-container {
        margin-top: 2.5rem !important;
        padding-bottom: 2rem !important;
    }

    .faq-section {
        padding-top: 2.5rem !important;
        padding-bottom: 3.5rem !important;
    }

    /* --- 3. SLIDER DOTS --- */
    .slider-dots {
        display: flex;
    }

    /* --- 4. ACCORDION MOBILE SERVICES --- */
    .services-accordion {
        display: flex;
    }

    .services-timeline-block {
        display: none !important;
    }

    .services-section .original-title {
        display: flex !important;
    }

    /* --- 5. TAGS MARQUEE MOBILE --- */
    .tags-marquee-wrapper {
        display: block;
    }

    /* Ocultar physics pills no mobile */
    .parceria-physics-sandbox {
        display: none !important;
    }


    /* Todos textos body alinhados à  esquerda no mobile */
    .work-desc,
    .elo-description,
    .parceria-desc,
    .services-desc,
    .project-description,
    .accordion-body p,
    .faq-answer p,
    .testimonial-quote {
        text-align: left !important;
    }

    /* --- FOOTER LOGO --- fix overflow horizontal --- */
    .footer-logo {
        height: auto !important;
        max-height: 45px !important;
        max-width: 160px !important;
        object-fit: contain;
        object-position: left;
    }


}



/* fim do arquivo */
