/* 
========================================================================
   PERTO STUDIO — GLOBAL STYLE SYSTEM & PREMIUM DESIGN SYSTEM
   Inspirado pela sofisticação de Oryzo & WorldQuant Foundry
   Direção de Arte: Minimalismo Editorial, Bauhaus, Brasilidade & Cobogó
========================================================================
*/

/* 1. FONTES E CORES */
@font-face {
    font-family: 'Momo Trust Display';
    src: url('../assets/fonts/MomoTrustDisplay-Regular.ttf') format('truetype');
    font-weight: normal;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: 'Raleway';
    src: url('../assets/fonts/Raleway-VariableFont_wght.ttf') format('truetype');
    font-weight: 100 900;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: 'Raleway';
    src: url('../assets/fonts/Raleway-Italic-VariableFont_wght.ttf') format('truetype');
    font-weight: 100 900;
    font-style: italic;
    font-display: swap;
}

:root {
    /* Paleta Principal Oficial Perto Studio */
    --color-bg: #EAE3DB;          /* Bege principal - Dominante (Respiro e acolhimento) */
    --color-bg-alt: #D9D0C8;      /* Bege secundário - Elementos de contraste sutil */
    --color-primary: #3A4132;     /* Verde de destaque principal (Sabedoria e estratégia) */
    --color-primary-rgb: 58, 65, 50;
    --color-ocre: #AC6C29;        /* Ocre - Detalhes e personalidade */
    --color-vermelho: #7E392F;    /* Vermelho Terracota - Detalhes e brasilidade */
    --color-text: #2C2929;        /* Chumbo/Grafite - Texto principal e alto contraste */
    --color-text-muted: #575252;  /* Chumbo suave - Legendas e textos secundários */
    
    /* Layout Tokens */
    --font-title: 'Momo Trust Display', sans-serif;
    --font-body: 'Raleway', sans-serif;
    --container-width: 1440px;
    --transition-smooth: all 0.6s cubic-bezier(0.16, 1, 0.3, 1);
    --transition-quick: all 0.25s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    
    /* Glassmorphism details */
    --glass-bg: rgba(234, 227, 219, 0.7);
    --glass-border: rgba(44, 41, 41, 0.08);
}

/* 2. REINICIALIZAÇÃO & ESTILOS BASE */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

html {
    scroll-behavior: smooth;
    font-size: 16px;
    background-color: var(--color-bg);
    color: var(--color-text);
}

body {
    font-family: var(--font-body);
    font-weight: 400;
    line-height: 1.6;
    overflow-x: hidden;
}

/* Layout de Container */
.container {
    width: 100%;
    max-width: var(--container-width);
    margin: 0 auto;
    padding: 0 4rem;
}

@media (max-width: 768px) {
    .container {
        padding: 0 1.5rem;
    }
}

a {
    color: inherit;
    text-decoration: none;
    transition: var(--transition-quick);
}

button {
    font-family: var(--font-body);
    background: none;
    border: none;
    cursor: pointer;
    outline: none;
}

img, video {
    max-width: 100%;
    height: auto;
    display: block;
}

/* 3. COMPONENTES GLOBAIS REUSÁVEIS */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 1rem 2.2rem;
    border-radius: 100px;
    font-weight: 500;
    font-size: 0.95rem;
    letter-spacing: 0.03em;
    transition: var(--transition-smooth);
    position: relative;
    overflow: hidden;
}

.btn-primary {
    background-color: var(--color-primary);
    color: var(--color-bg);
}

.btn-primary::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(254, 254, 254, 0.1);
    transform: translateY(100%);
    transition: var(--transition-smooth);
    z-index: 1;
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 20px rgba(58, 65, 50, 0.15);
}

.btn-primary:hover::after {
    transform: translateY(0);
}

.btn-secondary {
    border: 1px solid var(--color-text);
    color: var(--color-text);
}

.btn-secondary:hover {
    background-color: var(--color-text);
    color: var(--color-bg);
    transform: translateY(-2px);
}

/* Títulos Editoriais */
.title-lg {
    font-family: var(--font-title);
    font-size: clamp(3rem, 7vw, 6rem);
    line-height: 0.95;
    font-weight: 400;
    letter-spacing: -0.04em;
    color: var(--color-text);
}

.title-md {
    font-family: var(--font-title);
    font-size: clamp(2rem, 5vw, 3.5rem);
    line-height: 1.05;
    font-weight: 400;
    letter-spacing: -0.03em;
}

.title-sm {
    font-family: var(--font-title);
    font-size: clamp(1.5rem, 3vw, 2.2rem);
    line-height: 1.1;
    font-weight: 400;
    letter-spacing: -0.02em;
}

.sub-title {
    font-size: clamp(1rem, 2vw, 1.25rem);
    font-weight: 300;
    color: var(--color-text-muted);
    line-height: 1.5;
}

.section-label {
    font-size: 0.85rem;
    text-transform: uppercase;
    letter-spacing: 0.2em;
    color: var(--color-primary);
    font-weight: 600;
    display: inline-block;
    margin-bottom: 2rem;
    position: relative;
    padding-left: 1.5rem;
}

.section-label::before {
    content: '';
    position: absolute;
    left: 0;
    top: 50%;
    transform: translateY(-50%);
    width: 8px;
    height: 8px;
    background-color: var(--color-primary);
    border-radius: 50%;
}

/* 4. ESTAMPA / COBOGÓ OVERLAYS */
.cobogo-bg {
    background-image: url('../assets/elements/estampa_cobogo_.svg');
    background-repeat: repeat;
    background-size: 80px 80px;
    opacity: 0.035;
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    z-index: 1;
}

.cobogo-mask-container {
    position: relative;
    overflow: hidden;
}

/* 5. HEADER / NAVEGAÇÃO */
.header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 100;
    transition: var(--transition-smooth);
    background-color: transparent;
    border-bottom: 1px solid transparent;
}

.header.scrolled {
    background-color: var(--glass-bg);
    border-bottom: 1px solid var(--glass-border);
    backdrop-filter: blur(16px);
    padding: 0.5rem 0;
}

.header .container {
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 90px;
    transition: var(--transition-smooth);
}

.header.scrolled .container {
    height: 70px;
}

.logo-wrapper {
    display: flex;
    align-items: center;
}

.logo-img {
    height: 24px;
    width: auto;
}

.logo-symbol {
    height: 32px;
    width: auto;
    margin-right: 10px;
    display: none; /* Ativado opcionalmente */
}

.nav-links {
    display: flex;
    align-items: center;
    gap: 3rem;
}

.nav-link {
    font-size: 0.9rem;
    font-weight: 500;
    color: var(--color-text);
    position: relative;
    padding: 0.5rem 0;
}

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

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

.header-cta {
    display: flex;
    align-items: center;
}

/* Menu Hamburger (Mobile) */
.menu-btn {
    display: none;
    flex-direction: column;
    justify-content: space-between;
    width: 30px;
    height: 20px;
    z-index: 110;
}

.menu-line {
    width: 100%;
    height: 2px;
    background-color: var(--color-text);
    transition: var(--transition-quick);
}

@keyframes fadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}

body.mobile-menu-active {
    overflow: hidden;
}

@media (max-width: 992px) {
    .nav-links, .header-cta {
        display: none;
    }
    
    .menu-btn {
        display: flex;
    }
    
    /* Menu Mobile Overlay */
    .mobile-menu-active .nav-links {
        display: flex;
        flex-direction: column;
        justify-content: center;
        align-items: center;
        position: fixed;
        top: 0;
        left: 0;
        width: 100vw;
        height: 100vh;
        background-color: var(--color-bg);
        z-index: 105;
        gap: 2rem;
        animation: fadeIn 0.4s ease forwards;
    }
    
    .mobile-menu-active .nav-link {
        font-size: 1.8rem;
        font-family: var(--font-title);
    }
    
    .mobile-menu-active .header-cta {
        display: flex;
        position: fixed;
        bottom: 10vh;
        left: 50%;
        transform: translateX(-50%);
        z-index: 106;
    }
    
    .mobile-menu-active .menu-btn .menu-line:nth-child(1) {
        transform: translateY(9px) rotate(45deg);
    }
    
    .mobile-menu-active .menu-btn .menu-line:nth-child(2) {
        opacity: 0;
    }
    
    .mobile-menu-active .menu-btn .menu-line:nth-child(3) {
        transform: translateY(-9px) rotate(-45deg);
    }
}

/* 6. HERO SECTION */
.hero {
    min-height: 100vh;
    display: flex;
    align-items: center;
    position: relative;
    padding-top: 120px;
    padding-bottom: 80px;
    background-color: var(--color-bg);
}

.hero-content {
    position: relative;
    z-index: 5;
    max-width: 85%;
}

.hero-headline {
    margin-bottom: 2rem;
    overflow: hidden;
}

.hero-headline span {
    display: inline-block;
    opacity: 0;
    transform: translateY(50px);
}

.hero-subheadline {
    max-width: 600px;
    margin-bottom: 3.5rem;
    font-size: clamp(1.1rem, 2.5vw, 1.4rem);
    font-weight: 350;
    line-height: 1.5;
    color: var(--color-text-muted);
}

.hero-ctas {
    display: flex;
    gap: 1.5rem;
    align-items: center;
}

/* Fundo da Hero com recortes geométricos cobogó */
.hero-visual-bg {
    position: absolute;
    right: 0;
    bottom: 0;
    top: 0;
    width: 45%;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    pointer-events: none;
    z-index: 2;
}

.hero-visual-bg::after {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(90deg, var(--color-bg) 0%, transparent 40%);
    z-index: 3;
}

.hero-cobogo-mosaic {
    width: 150%;
    height: 150%;
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    grid-template-rows: repeat(4, 1fr);
    gap: 15px;
    transform: rotate(-15deg) scale(1.1);
    opacity: 0.15;
}

.mosaic-item {
    background-color: var(--color-primary);
    border-radius: 24px;
    aspect-ratio: 1;
    overflow: hidden;
    position: relative;
}

.mosaic-item:nth-child(even) {
    background-color: var(--color-ocre);
}

.mosaic-item:nth-child(3n) {
    background-color: var(--color-vermelho);
}

.mosaic-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

@media (max-width: 992px) {
    .hero-visual-bg {
        width: 100%;
        opacity: 0.3;
    }
    .hero-content {
        max-width: 100%;
    }
    .hero-ctas {
        flex-direction: column;
        align-items: flex-start;
        width: 100%;
    }
    .hero-ctas .btn {
        width: 100%;
    }
}

/* 7. SOBRE A PERTO (EVOLUÇÃO E TIMELINE) */
.about {
    padding: 10rem 0;
    position: relative;
    background-color: var(--color-bg-alt);
    overflow: hidden;
}

.about-intro {
    display: grid;
    grid-template-columns: 1.2fr 1fr;
    gap: 4rem;
    margin-bottom: 6rem;
    align-items: flex-start;
}

.about-desc {
    font-size: 1.2rem;
    line-height: 1.7;
    color: var(--color-text-muted);
}

@media (max-width: 992px) {
    .about-intro {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
}

/* Timeline Interativa */
.timeline-wrapper {
    position: relative;
    margin-top: 6rem;
}

.timeline-line {
    position: absolute;
    top: 50px;
    left: 0;
    width: 100%;
    height: 2px;
    background-color: rgba(44, 41, 41, 0.1);
    z-index: 1;
}

.timeline-progress {
    position: absolute;
    top: 50px;
    left: 0;
    width: 0%;
    height: 2px;
    background-color: var(--color-primary);
    z-index: 2;
    transition: width 0.3s ease;
}

.timeline-steps {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    position: relative;
    z-index: 3;
}

.timeline-step {
    padding-top: 100px;
    position: relative;
    cursor: pointer;
}

.timeline-dot {
    position: absolute;
    top: 41px;
    left: 0;
    width: 20px;
    height: 20px;
    border-radius: 50%;
    background-color: var(--color-bg-alt);
    border: 3px solid rgba(44, 41, 41, 0.2);
    transition: var(--transition-quick);
}

.timeline-step:hover .timeline-dot,
.timeline-step.active .timeline-dot {
    border-color: var(--color-primary);
    background-color: var(--color-primary);
    transform: scale(1.3);
}

.timeline-year {
    font-family: var(--font-title);
    font-size: clamp(2rem, 4vw, 3rem);
    color: rgba(44, 41, 41, 0.3);
    margin-bottom: 1rem;
    transition: var(--transition-quick);
}

.timeline-step.active .timeline-year {
    color: var(--color-primary);
}

.timeline-title {
    font-size: 1.1rem;
    font-weight: 600;
    color: var(--color-text);
    margin-bottom: 0.5rem;
}

.timeline-text {
    font-size: 0.95rem;
    color: var(--color-text-muted);
    max-width: 85%;
    line-height: 1.6;
    opacity: 0.7;
    transition: var(--transition-quick);
}

.timeline-step.active .timeline-text {
    opacity: 1;
}

/* Container de Fotos Reveladas da Timeline */
.timeline-images-showcase {
    margin-top: 5rem;
    position: relative;
    height: 380px;
    display: grid;
    grid-template-columns: 1fr 1.5fr;
    gap: 4rem;
    align-items: center;
}

.timeline-image-card {
    position: absolute;
    inset: 0;
    opacity: 0;
    transform: translateY(30px);
    transition: var(--transition-smooth);
    pointer-events: none;
    display: grid;
    grid-template-columns: 1.2fr 1fr;
    gap: 4rem;
    align-items: center;
}

.timeline-image-card.active {
    opacity: 1;
    transform: translateY(0);
    pointer-events: auto;
}

.timeline-img-wrap {
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 20px 40px rgba(44, 41, 41, 0.08);
    height: 350px;
}

.timeline-img-wrap img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.timeline-image-card .card-text {
    font-size: 1.15rem;
    line-height: 1.7;
    color: var(--color-text-muted);
}

@media (max-width: 992px) {
    .timeline-steps {
        grid-template-columns: 1fr;
        gap: 3rem;
    }
    .timeline-line, .timeline-progress {
        display: none;
    }
    .timeline-step {
        padding-top: 0;
        padding-left: 2rem;
        border-left: 2px solid rgba(44, 41, 41, 0.1);
    }
    .timeline-dot {
        top: 10px;
        left: -11px;
    }
    .timeline-step.active {
        border-left-color: var(--color-primary);
    }
    .timeline-images-showcase {
        display: block;
        height: auto;
        margin-top: 3rem;
    }
    .timeline-image-card {
        position: relative;
        grid-template-columns: 1fr;
        gap: 1.5rem;
        display: none;
    }
    .timeline-image-card.active {
        display: block;
    }
    .timeline-img-wrap {
        height: 250px;
        margin-bottom: 1.5rem;
    }
}

/* 8. FILOSOFIA */
.philosophy {
    padding: 10rem 0;
    background-color: var(--color-bg);
    position: relative;
}

.philosophy-grid {
    display: grid;
    grid-template-columns: 1.5fr 1fr;
    gap: 6rem;
    align-items: center;
}

.philosophy-statement {
    font-family: var(--font-title);
    font-size: clamp(2rem, 4vw, 4rem);
    line-height: 1.05;
    letter-spacing: -0.03em;
    color: var(--color-primary);
}

.philosophy-statement span {
    color: var(--color-text);
}

.philosophy-bullets {
    display: flex;
    flex-direction: column;
    gap: 3rem;
}

.philosophy-bullet {
    border-bottom: 1px solid rgba(44, 41, 41, 0.1);
    padding-bottom: 2rem;
}

.bullet-number {
    font-size: 0.9rem;
    font-weight: 600;
    color: var(--color-ocre);
    display: block;
    margin-bottom: 0.5rem;
}

.bullet-title {
    font-size: 1.25rem;
    font-weight: 600;
    color: var(--color-text);
    margin-bottom: 0.75rem;
}

.bullet-text {
    font-size: 0.95rem;
    color: var(--color-text-muted);
}

@media (max-width: 992px) {
    .philosophy-grid {
        grid-template-columns: 1fr;
        gap: 4rem;
    }
}

/* 9. ÁREAS DE ATUAÇÃO */
.services {
    padding: 10rem 0;
    background-color: var(--color-bg-alt);
    position: relative;
}

.services-header {
    max-width: 600px;
    margin-bottom: 6rem;
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2.5rem;
}

.service-card {
    background-color: var(--color-bg);
    border-radius: 28px;
    padding: 3rem 2.5rem;
    display: flex;
    flex-direction: column;
    height: 480px;
    justify-content: space-between;
    transition: var(--transition-smooth);
    border: 1px solid transparent;
    position: relative;
    overflow: hidden;
}

.service-card:hover {
    transform: translateY(-8px);
    border-color: rgba(58, 65, 50, 0.15);
    box-shadow: 0 30px 60px rgba(44, 41, 41, 0.04);
}

.card-top {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
}

.service-icon-wrap {
    width: 64px;
    height: 64px;
    border-radius: 18px;
    background-color: rgba(58, 65, 50, 0.05);
    display: flex;
    align-items: center;
    justify-content: center;
    transition: var(--transition-smooth);
}

.service-icon {
    width: 32px;
    height: 32px;
    transition: var(--transition-smooth);
}

.service-card:hover .service-icon-wrap {
    background-color: var(--color-primary);
}

.service-card:hover .service-icon {
    filter: brightness(0) invert(1);
    transform: rotate(5deg) scale(1.05);
}

.service-number {
    font-size: 0.85rem;
    font-weight: 600;
    color: var(--color-ocre);
    letter-spacing: 0.1em;
}

.card-bottom {
    position: relative;
    z-index: 5;
}

.service-card-title {
    font-family: var(--font-title);
    font-size: 2rem;
    margin-bottom: 1rem;
    color: var(--color-text);
}

.service-card-desc {
    font-size: 0.95rem;
    color: var(--color-text-muted);
    line-height: 1.6;
}

/* Mini itens dentro dos cards (especialmente tech) */
.service-items {
    margin-top: 1.5rem;
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
    opacity: 0;
    transform: translateY(15px);
    transition: var(--transition-smooth);
    height: 0;
    overflow: hidden;
}

.service-card:hover .service-items {
    opacity: 1;
    transform: translateY(0);
    height: auto;
}

.tag-item {
    font-size: 0.75rem;
    background-color: rgba(44, 41, 41, 0.05);
    color: var(--color-text-muted);
    padding: 0.25rem 0.65rem;
    border-radius: 100px;
    font-weight: 500;
}

/* Card customizado para Sound Branding & Tech + IA */
.service-card-sound:hover {
    border-color: var(--color-vermelho);
}
.service-card-sound .service-number {
    color: var(--color-vermelho);
}
.service-card-tech:hover {
    border-color: var(--color-primary);
}
.service-card-tech .service-number {
    color: var(--color-primary);
}

@media (max-width: 992px) {
    .services-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    .service-card {
        height: auto;
        min-height: 420px;
        padding: 2.5rem 2rem;
    }
}

@media (max-width: 768px) {
    .services-grid {
        grid-template-columns: 1fr;
    }
    .service-card {
        height: auto;
        min-height: 350px;
        padding: 2rem 1.5rem;
    }
    .service-items {
        opacity: 1;
        transform: translateY(0);
        height: auto;
        margin-top: 1.5rem;
    }
}

/* 10. CASES & PROJETOS */
.cases {
    padding: 10rem 0;
    background-color: var(--color-bg);
}

.cases-header-row {
    display: flex;
    justify-content: space-between;
    align-items: flex-end;
    margin-bottom: 6rem;
}

.cases-intro {
    max-width: 600px;
}

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

.case-card {
    cursor: pointer;
    display: flex;
    flex-direction: column;
}

.case-image-wrap {
    height: 480px;
    border-radius: 32px;
    overflow: hidden;
    position: relative;
    background-color: var(--color-bg-alt);
    box-shadow: 0 30px 60px rgba(44, 41, 41, 0.05);
    transition: var(--transition-smooth);
}

.case-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 1s cubic-bezier(0.16, 1, 0.3, 1);
}

.case-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(0deg, rgba(44, 41, 41, 0.8) 0%, transparent 60%);
    opacity: 0;
    transition: var(--transition-smooth);
    display: flex;
    align-items: flex-end;
    padding: 3rem;
}

.case-overlay-content {
    color: var(--color-bg);
    transform: translateY(20px);
    transition: var(--transition-smooth);
}

.case-card:hover .case-image-wrap {
    transform: translateY(-8px);
    box-shadow: 0 40px 80px rgba(44, 41, 41, 0.12);
}

.case-card:hover .case-img {
    transform: scale(1.05);
}

.case-card:hover .case-overlay {
    opacity: 1;
}

.case-card:hover .case-overlay-content {
    transform: translateY(0);
}

.case-meta {
    margin-top: 2rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.case-title {
    font-family: var(--font-title);
    font-size: 2.2rem;
    color: var(--color-text);
}

.case-tag {
    font-size: 0.85rem;
    text-transform: uppercase;
    letter-spacing: 0.15em;
    color: var(--color-ocre);
    font-weight: 600;
}

.case-desc-text {
    margin-top: 0.5rem;
    font-size: 0.95rem;
    color: var(--color-text-muted);
    line-height: 1.5;
}

/* Player Customizado de Case (Sound Branding Demo) */
.sound-demo-player {
    background-color: var(--color-primary);
    color: var(--color-bg);
    border-radius: 24px;
    padding: 2.5rem;
    margin-top: 4rem;
    display: grid;
    grid-template-columns: auto 1fr auto;
    gap: 3rem;
    align-items: center;
    box-shadow: 0 25px 50px rgba(58, 65, 50, 0.15);
}

.sound-play-btn {
    width: 72px;
    height: 72px;
    border-radius: 50%;
    background-color: var(--color-bg);
    color: var(--color-primary);
    display: flex;
    align-items: center;
    justify-content: center;
    transition: var(--transition-smooth);
    box-shadow: 0 10px 20px rgba(44, 41, 41, 0.1);
}

.sound-play-btn:hover {
    transform: scale(1.08);
    background-color: var(--color-ocre);
    color: var(--color-bg);
}

.sound-play-icon {
    width: 24px;
    height: 24px;
    fill: currentColor;
}

.sound-info-wrap h4 {
    font-family: var(--font-title);
    font-size: 1.5rem;
    margin-bottom: 0.35rem;
}

.sound-info-wrap p {
    font-size: 0.9rem;
    opacity: 0.8;
}

.sound-waveform {
    display: flex;
    align-items: center;
    gap: 4px;
    height: 40px;
}

.wave-bar {
    width: 3px;
    background-color: var(--color-bg-alt);
    border-radius: 100px;
    transition: height 0.3s ease;
    height: 8px;
}

/* Efeito animado do visualizador de áudio */
.sound-demo-player.playing .wave-bar {
    animation: bounce 1s ease-in-out infinite alternate;
}

.sound-demo-player.playing .wave-bar:nth-child(2n) {
    animation-delay: 0.2s;
}

.sound-demo-player.playing .wave-bar:nth-child(3n) {
    animation-delay: 0.4s;
}

.sound-demo-player.playing .wave-bar:nth-child(4n) {
    animation-delay: 0.6s;
}

@keyframes bounce {
    0% { height: 6px; }
    100% { height: 36px; }
}

@media (max-width: 992px) {
    .cases-grid {
        grid-template-columns: 1fr;
        gap: 3rem;
    }
    .case-image-wrap {
        height: 350px;
    }
    .sound-demo-player {
        grid-template-columns: 1fr;
        text-align: center;
        gap: 1.5rem;
        justify-items: center;
    }
    .sound-waveform {
        display: none;
    }
}

/* 11. DIFERENCIAIS (GRID COBOGÓ MODERNO) */
.features {
    padding: 10rem 0;
    background-color: var(--color-bg-alt);
    position: relative;
}

.features-header {
    text-align: center;
    max-width: 700px;
    margin: 0 auto 6rem;
}

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

.feature-tile {
    background-color: var(--color-bg);
    border-radius: 20px;
    padding: 2.5rem;
    aspect-ratio: 1;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    transition: var(--transition-smooth);
}

.feature-tile:nth-child(1) {
    grid-column: span 2;
    aspect-ratio: 2/1;
    background-color: var(--color-primary);
    color: var(--color-bg);
}

.feature-tile:nth-child(6) {
    grid-column: span 2;
    aspect-ratio: 2/1;
    background-color: var(--color-vermelho);
    color: var(--color-bg);
}

.feature-tile:nth-child(7) {
    grid-column: span 2;
    aspect-ratio: 2/1;
    background-color: var(--color-ocre);
    color: var(--color-bg);
}

.feature-tile:nth-child(7) .tile-icon-wrap {
    background-color: rgba(254, 254, 254, 0.1);
}

.feature-tile:nth-child(7) .tile-desc {
    color: rgba(234, 227, 219, 0.8);
}

.feature-tile:nth-child(8) {
    grid-column: span 2;
    aspect-ratio: 2/1;
    background-color: var(--color-bg);
    display: flex;
    align-items: center;
    justify-content: center;
    border: 1px solid var(--glass-border);
}

.feature-tile:hover {
    transform: translateY(-5px);
    box-shadow: 0 20px 40px rgba(44, 41, 41, 0.06);
}

.tile-icon-wrap {
    width: 48px;
    height: 48px;
    border-radius: 12px;
    background-color: rgba(44, 41, 41, 0.04);
    display: flex;
    align-items: center;
    justify-content: center;
}

.feature-tile:nth-child(1) .tile-icon-wrap,
.feature-tile:nth-child(6) .tile-icon-wrap {
    background-color: rgba(254, 254, 254, 0.1);
}

.tile-icon {
    width: 24px;
    height: 24px;
}

.feature-tile:nth-child(1) .tile-icon,
.feature-tile:nth-child(6) .tile-icon {
    filter: brightness(0) invert(1);
}

.tile-title {
    font-family: var(--font-title);
    font-size: 1.8rem;
    margin-bottom: 0.5rem;
}

.tile-desc {
    font-size: 0.95rem;
    color: var(--color-text-muted);
}

.feature-tile:nth-child(1) .tile-desc,
.feature-tile:nth-child(6) .tile-desc {
    color: rgba(234, 227, 219, 0.8);
}

@media (max-width: 992px) {
    .features-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    .feature-tile,
    .feature-tile:nth-child(1),
    .feature-tile:nth-child(6),
    .feature-tile:nth-child(7),
    .feature-tile:nth-child(8) {
        grid-column: span 1;
        aspect-ratio: auto;
        height: auto;
        min-height: 250px;
    }
}

@media (max-width: 576px) {
    .features-grid {
        grid-template-columns: 1fr;
    }
    .feature-tile,
    .feature-tile:nth-child(1),
    .feature-tile:nth-child(6),
    .feature-tile:nth-child(7),
    .feature-tile:nth-child(8) {
        aspect-ratio: auto;
        height: auto;
        min-height: 200px;
        padding: 2rem 1.5rem;
    }
}

/* 12. MANIFESTO (EMOCIONAL & VIDEO BACKGROUND) */
.manifesto {
    position: relative;
    padding: 12rem 0;
    background-color: var(--color-text);
    color: var(--color-bg);
    overflow: hidden;
    min-height: 90vh;
    display: flex;
    align-items: center;
}

.manifesto-video-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1;
    overflow: hidden;
}

.manifesto-video-bg video {
    width: 100%;
    height: 100%;
    object-fit: cover;
    opacity: 0.12; /* Tratamento suave na narrativa visual */
    filter: grayscale(1);
}

.manifesto-content {
    position: relative;
    z-index: 5;
    max-width: 800px;
}

.manifesto-title {
    font-family: var(--font-title);
    font-size: clamp(2.5rem, 6vw, 4.5rem);
    line-height: 1.05;
    letter-spacing: -0.03em;
    margin-bottom: 3rem;
    color: var(--color-bg);
}

.manifesto-text {
    font-size: clamp(1.1rem, 2.5vw, 1.5rem);
    font-weight: 300;
    line-height: 1.7;
    opacity: 0.9;
}

.manifesto-text p {
    margin-bottom: 2rem;
}

.manifesto-highlight {
    color: var(--color-ocre);
    font-weight: 500;
}

/* 13. DYNAMIC INTERACTIVE TECH CHAT */
.tech-chat-container {
    background-color: var(--color-bg);
    border: 1px solid var(--glass-border);
    border-radius: 24px;
    width: 100%;
    max-width: 600px;
    margin: 4rem auto 0;
    display: flex;
    flex-direction: column;
    height: 400px;
    box-shadow: 0 20px 40px rgba(44, 41, 41, 0.05);
    overflow: hidden;
}

.chat-header {
    background-color: var(--color-primary);
    color: var(--color-bg);
    padding: 1rem 1.5rem;
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.chat-avatar {
    width: 32px;
    height: 32px;
    border-radius: 50%;
    background-color: var(--color-bg);
    display: flex;
    align-items: center;
    justify-content: center;
}

.chat-avatar img {
    width: 18px;
    height: 18px;
}

.chat-title {
    font-size: 0.9rem;
    font-weight: 600;
}

.chat-status {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background-color: #55a630;
    margin-left: auto;
}

.chat-messages {
    flex: 1;
    padding: 1.5rem;
    overflow-y: auto;
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.chat-msg {
    max-width: 75%;
    padding: 0.85rem 1.1rem;
    border-radius: 18px;
    font-size: 0.9rem;
    line-height: 1.4;
}

.chat-msg.bot {
    background-color: var(--color-bg-alt);
    color: var(--color-text);
    align-self: flex-start;
    border-top-left-radius: 4px;
}

.chat-msg.user {
    background-color: var(--color-primary);
    color: var(--color-bg);
    align-self: flex-end;
    border-top-right-radius: 4px;
}

.chat-input-area {
    padding: 1rem 1.5rem;
    border-top: 1px solid var(--glass-border);
    display: flex;
    gap: 1rem;
}

.chat-input {
    flex: 1;
    background-color: var(--color-bg-alt);
    border: none;
    border-radius: 100px;
    padding: 0.75rem 1.5rem;
    font-size: 0.9rem;
    color: var(--color-text);
    font-family: var(--font-body);
}

.chat-input:focus {
    outline: 1px solid var(--color-primary);
}

.chat-send-btn {
    width: 42px;
    height: 42px;
    border-radius: 50%;
    background-color: var(--color-primary);
    color: var(--color-bg);
    display: flex;
    align-items: center;
    justify-content: center;
    transition: var(--transition-quick);
}

.chat-send-btn:hover {
    background-color: var(--color-ocre);
    transform: scale(1.05);
}

/* 14. CTA FINAL & FOOTER */
.cta-final {
    padding: 10rem 0;
    background-color: var(--color-bg);
    position: relative;
    overflow: hidden;
}

.cta-box {
    background-color: var(--color-primary);
    color: var(--color-bg);
    border-radius: 48px;
    padding: 6rem 4rem;
    text-align: center;
    position: relative;
    overflow: hidden;
    box-shadow: 0 40px 80px rgba(58, 65, 50, 0.2);
}

.cta-box .cobogo-bg {
    opacity: 0.03;
}

.cta-headline {
    font-family: var(--font-title);
    font-size: clamp(2.2rem, 5vw, 4rem);
    line-height: 1.05;
    margin-bottom: 3rem;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
}

.cta-box .btn-primary {
    background-color: var(--color-bg);
    color: var(--color-text);
}

.cta-box .btn-primary:hover {
    background-color: var(--color-ocre);
    color: var(--color-bg);
    box-shadow: 0 10px 20px rgba(44, 41, 41, 0.15);
}

/* Rodapé Premium */
.footer {
    background-color: var(--color-bg);
    color: var(--color-text);
    padding: 6rem 0 3rem;
    border-top: 1px solid rgba(44, 41, 41, 0.08);
}

.footer-grid {
    display: grid;
    grid-template-columns: 2fr repeat(3, 1fr);
    gap: 4rem;
    margin-bottom: 6rem;
}

.footer-brand {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.footer-tagline {
    font-size: 1rem;
    color: var(--color-text-muted);
    max-width: 250px;
    line-height: 1.5;
}

.footer-title {
    font-size: 0.85rem;
    text-transform: uppercase;
    letter-spacing: 0.15em;
    font-weight: 700;
    color: var(--color-primary);
    margin-bottom: 1.5rem;
}

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

.footer-link {
    font-size: 0.95rem;
    color: var(--color-text-muted);
}

.footer-link:hover {
    color: var(--color-primary);
    padding-left: 5px;
}

.footer-bottom {
    display: flex;
    justify-content: space-between;
    align-items: center;
    border-top: 1px solid rgba(44, 41, 41, 0.05);
    padding-top: 3rem;
    font-size: 0.85rem;
    color: var(--color-text-muted);
}

.footer-copyright {
    display: flex;
    flex-direction: column;
    gap: 0.25rem;
}

.footer-designer {
    text-align: right;
    font-style: italic;
}

@media (max-width: 992px) {
    .cta-box {
        padding: 4rem 2rem;
    }
    .footer-grid {
        grid-template-columns: 1fr;
        gap: 3rem;
    }
    .footer-bottom {
        flex-direction: column;
        align-items: flex-start;
        gap: 1.5rem;
        text-align: left;
    }
    .footer-designer {
        text-align: left;
    }
}

/* ========================================================================
   15. CURSOR PERSONALIZADO & EFEITOS DE MOUSE PREMIUM (INSP. ORYZO)
   ======================================================================== */
.custom-cursor {
    width: 28px;
    height: 28px;
    border: 1.5px solid var(--color-primary);
    border-radius: 50%;
    position: fixed;
    transform: translate(-50%, -50%);
    pointer-events: none;
    z-index: 10000;
    transition: width 0.3s cubic-bezier(0.16, 1, 0.3, 1), 
                height 0.3s cubic-bezier(0.16, 1, 0.3, 1), 
                background-color 0.3s cubic-bezier(0.16, 1, 0.3, 1), 
                border-color 0.3s cubic-bezier(0.16, 1, 0.3, 1);
    left: -100px;
    top: -100px;
}

.custom-cursor-dot {
    width: 6px;
    height: 6px;
    background-color: var(--color-primary);
    border-radius: 50%;
    position: fixed;
    transform: translate(-50%, -50%);
    pointer-events: none;
    z-index: 10001;
    left: -100px;
    top: -100px;
}

/* Estados interativos do cursor */
.custom-cursor.hover-active {
    width: 55px;
    height: 55px;
    background-color: rgba(58, 65, 50, 0.08);
    border-color: var(--color-ocre);
}

.custom-cursor.hover-active-dark {
    width: 55px;
    height: 55px;
    background-color: rgba(234, 227, 219, 0.15);
    border-color: var(--color-ocre);
}

/* Ocultar em touchscreens */
@media (hover: none) and (pointer: coarse) {
    .custom-cursor, .custom-cursor-dot {
        display: none !important;
    }
    body.custom-cursor-enabled {
        cursor: auto !important;
    }
    body.custom-cursor-enabled * {
        cursor: auto !important;
    }
}

/* Ocultar cursor nativo do SO */
body.custom-cursor-enabled {
    cursor: none;
}
body.custom-cursor-enabled a,
body.custom-cursor-enabled button,
body.custom-cursor-enabled .btn,
body.custom-cursor-enabled .service-card,
body.custom-cursor-enabled .case-card,
body.custom-cursor-enabled .timeline-step,
body.custom-cursor-enabled .feature-tile,
body.custom-cursor-enabled input {
    cursor: none !important;
}

/* Brilho Shimmer/Glass Reflection nos cards de serviço */
.service-card {
    position: relative;
    overflow: hidden;
}

.service-card::after {
    content: '';
    position: absolute;
    top: 0;
    left: -120%;
    width: 50%;
    height: 100%;
    background: linear-gradient(
        90deg,
        transparent,
        rgba(255, 255, 255, 0.28),
        transparent
    );
    transform: skewX(-25deg);
    pointer-events: none;
}

.service-card:hover::after {
    left: 180%;
    transition: all 0.8s cubic-bezier(0.16, 1, 0.3, 1);
}

/* Efeito de Parallax / Zoom no Caso */
.case-image-wrap {
    overflow: hidden;
}

.case-card:hover .case-img {
    transform: scale(1.06) translateY(-8px);
    transition: transform 1.2s cubic-bezier(0.16, 1, 0.3, 1);
}

/* Revelações no Scroll Linked (Efeito editorial WorldQuant / Apple) */
.scroll-highlight-text {
    opacity: 0.15;
    transition: opacity 0.5s ease, color 0.5s ease;
}

.scroll-highlight-text.highlighted {
    opacity: 1;
    color: var(--color-text);
}

.manifesto-text .scroll-highlight-text.highlighted {
    color: var(--color-bg);
}

.manifesto-text .scroll-highlight-text.highlighted.manifesto-highlight {
    color: var(--color-ocre);
}

/* Linha do tempo: dot ativado pulsa */
.timeline-step.active .timeline-dot {
    box-shadow: 0 0 0 10px rgba(58, 65, 50, 0.15);
    animation: pulse 2s infinite;
}

@keyframes pulse {
    0% {
        box-shadow: 0 0 0 0px rgba(58, 65, 50, 0.25);
    }
    100% {
        box-shadow: 0 0 0 12px rgba(58, 65, 50, 0);
    }
}

/* ========================================================================
   16. SEÇÃO DE PORTFÓLIO / CLIENTES (PREMIUM GRID + MARQUEE ACENTO)
   ======================================================================== */
.clients-section {
    padding: 10rem 0 0;
    background-color: var(--color-bg);
    overflow: hidden;
    position: relative;
}

/* Cabeçalho editorial em duas colunas */
.clients-header {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 6rem;
    align-items: flex-end;
    margin-bottom: 7rem;
}

.clients-headline {
    margin-top: 1.5rem;
}

.clients-statement {
    padding-top: 4rem;
}

.clients-statement p {
    font-size: 1.1rem;
    line-height: 1.75;
    color: var(--color-text-muted);
    margin-bottom: 2.5rem;
}

.clients-quote {
    font-family: var(--font-title);
    font-size: clamp(1.4rem, 2.5vw, 2rem);
    color: var(--color-primary);
    line-height: 1.2;
    border-left: 3px solid var(--color-ocre);
    padding-left: 1.5rem;
    margin-top: 0 !important;
}

/* Grid de Logos dos Clientes */
.clients-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.5rem;
    margin-bottom: 6rem;
}

.client-card {
    background-color: var(--color-bg-alt);
    border-radius: 24px;
    padding: 3rem 2.5rem;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    gap: 2rem;
    aspect-ratio: 4/3;
    transition: var(--transition-smooth);
    border: 1px solid transparent;
    position: relative;
    overflow: hidden;
}

.client-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: linear-gradient(90deg, var(--color-primary), var(--color-ocre));
    transform: scaleX(0);
    transform-origin: left;
    transition: transform 0.5s cubic-bezier(0.16, 1, 0.3, 1);
}

.client-card:hover {
    background-color: var(--color-bg);
    border-color: rgba(58, 65, 50, 0.12);
    box-shadow: 0 30px 60px rgba(44, 41, 41, 0.06);
    transform: translateY(-6px);
}

.client-card:hover::before {
    transform: scaleX(1);
}

.client-logo-wrap {
    flex: 1;
    display: flex;
    align-items: center;
    justify-content: center;
}

.client-logo {
    max-height: 52px;
    max-width: 160px;
    width: auto;
    object-fit: contain;
    filter: grayscale(1) opacity(0.55);
    transition: var(--transition-smooth);
}

.client-card:hover .client-logo {
    filter: grayscale(0) opacity(1);
    transform: scale(1.05);
}

.client-info {
    display: flex;
    flex-direction: column;
    gap: 0.25rem;
    border-top: 1px solid rgba(44, 41, 41, 0.08);
    padding-top: 1.25rem;
}

.client-name {
    font-weight: 600;
    font-size: 1rem;
    color: var(--color-text);
}

.client-segment {
    font-size: 0.8rem;
    color: var(--color-text-muted);
    letter-spacing: 0.05em;
}

/* Tile especial "e muitas outras..." */
.client-card--more {
    background-color: var(--color-primary);
    color: var(--color-bg);
    align-items: center;
    justify-content: center;
    text-align: center;
    cursor: default;
}

.client-card--more::before {
    background: linear-gradient(90deg, var(--color-ocre), var(--color-bg));
}

.client-more-text {
    font-family: var(--font-title);
    font-size: clamp(1.5rem, 2.5vw, 2.2rem);
    color: var(--color-bg);
    line-height: 1.1;
}

.client-more-sub {
    font-size: 0.85rem;
    color: rgba(234, 227, 219, 0.65);
    margin-top: 0.75rem;
    letter-spacing: 0.05em;
}

/* Marquee como faixa de acento abaixo do grid */
.clients-section .marquee-container {
    border-top: 1px solid var(--glass-border);
    background-color: var(--color-bg-alt);
    padding: 2.5rem 0;
}

@media (max-width: 992px) {
    .clients-header {
        grid-template-columns: 1fr;
        gap: 3rem;
        margin-bottom: 5rem;
    }
    .clients-statement {
        padding-top: 0;
    }
    .clients-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 576px) {
    .clients-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 1rem;
    }
    .client-card {
        aspect-ratio: auto;
        min-height: 160px;
        padding: 1.5rem 1.25rem;
        gap: 1rem;
    }
    .client-logo {
        max-height: 40px;
        max-width: 120px;
    }
    .client-info {
        padding-top: 0.75rem;
    }
    .client-name {
        font-size: 0.9rem;
    }
    .client-segment {
        font-size: 0.75rem;
    }
    .client-more-text {
        font-size: 1.2rem;
    }
    .client-more-sub {
        font-size: 0.75rem;
        margin-top: 0.5rem;
    }
}


.marquee-container {
    width: 100%;
    overflow: hidden;
    white-space: nowrap;
    position: relative;
    display: flex;
}

/* Criar gradientes de desfoque nas laterais para fusão fluida */
.marquee-container::before,
.marquee-container::after {
    content: '';
    position: absolute;
    top: 0;
    width: 150px;
    height: 100%;
    z-index: 5;
    pointer-events: none;
}

.marquee-container::before {
    left: 0;
    background: linear-gradient(90deg, var(--color-bg) 0%, transparent 100%);
}

.marquee-container::after {
    right: 0;
    background: linear-gradient(-90deg, var(--color-bg) 0%, transparent 100%);
}

.marquee-content {
    display: inline-flex;
    gap: 7rem;
    animation: marquee-scroll 32s linear infinite;
    padding-left: 2rem;
}

.marquee-logo {
    height: 38px;
    width: auto;
    object-fit: contain;
    filter: grayscale(1) brightness(0.5) contrast(0.8) opacity(0.45);
    transition: var(--transition-smooth);
    user-select: none;
    -webkit-user-drag: none;
}

/* Efeito de hover premium no logo individual */
.marquee-logo:hover {
    filter: grayscale(0) brightness(1) contrast(1) opacity(1);
    transform: scale(1.08);
}

/* Pausar o marquee ao passar o mouse para leitura */
.marquee-container:hover .marquee-content {
    animation-play-state: paused;
}

@keyframes marquee-scroll {
    0% {
        transform: translate3d(0, 0, 0);
    }
    100% {
        /* Move exatamente metade do container (uma cópia inteira dos logos) */
        transform: translate3d(-50%, 0, 0);
    }
}

/* Ocultar cursor nativo do SO sobre os logos */
body.custom-cursor-enabled .marquee-logo {
    cursor: none !important;
}

/* ========================================================================
   17. EFEITOS INTERATIVOS DE CURSOR (PREMIUM IMPACT)
   ======================================================================== */

/* --- Spotlight da Hero --- */
.hero-spotlight {
    position: absolute;
    inset: 0;
    pointer-events: none;
    z-index: 4;
    background: radial-gradient(
        600px circle at var(--spotlight-x, 50%) var(--spotlight-y, 50%),
        rgba(58, 65, 50, 0.07) 0%,
        rgba(172, 108, 41, 0.03) 35%,
        transparent 70%
    );
    transition: background 0.1s ease;
    opacity: 0;
}

.hero:hover .hero-spotlight {
    opacity: 1;
}

/* --- Partículas de Cursor --- */
.cursor-particle {
    position: fixed;
    width: 5px;
    height: 5px;
    border-radius: 50%;
    pointer-events: none;
    z-index: 9999;
    transform: translate(-50%, -50%);
    animation: particle-fade 0.9s ease-out forwards;
}

@keyframes particle-fade {
    0%   { opacity: 0.85; transform: translate(-50%, -50%) scale(1); }
    100% { opacity: 0; transform: translate(-50%, calc(-50% - 40px)) scale(0.1); }
}

/* --- Ripple de Clique --- */
.click-ripple {
    position: fixed;
    border-radius: 50%;
    pointer-events: none;
    z-index: 9998;
    transform: translate(-50%, -50%) scale(0);
    border: 1.5px solid var(--color-primary);
    width: 12px;
    height: 12px;
    animation: ripple-expand 0.75s cubic-bezier(0.16, 1, 0.3, 1) forwards;
}

@keyframes ripple-expand {
    0%   { transform: translate(-50%, -50%) scale(0); opacity: 0.8; }
    100% { transform: translate(-50%, -50%) scale(12); opacity: 0; }
}

.click-ripple.ocre {
    border-color: var(--color-ocre);
}

/* --- Tilt 3D nos Cards --- */
.service-card,
.client-card,
.case-card {
    transform-style: preserve-3d;
    will-change: transform;
}

/* Glare interno no tilt */
.card-glare {
    position: absolute;
    inset: 0;
    border-radius: inherit;
    pointer-events: none;
    z-index: 20;
    background: radial-gradient(
        circle at var(--glare-x, 50%) var(--glare-y, 50%),
        rgba(255,255,255,0.18) 0%,
        transparent 60%
    );
    opacity: 0;
    transition: opacity 0.3s ease;
}

.service-card:hover .card-glare,
.client-card:hover .card-glare,
.case-card:hover .card-glare {
    opacity: 1;
}

/* --- Cobogó cursor parallax: cada mosaic-item tem translate individual --- */
.mosaic-item {
    transition: transform 0.1s linear;
    will-change: transform;
}

/* --- Cursor personalizado no manifesto (invertido/claro) --- */
.manifesto .custom-cursor-enabled {
    mix-blend-mode: difference;
}

/* ========================================================================
   18. MOBILITY & RESPONSIVENESS OVERRIDES
   ======================================================================== */

/* Reduzir espaçamentos verticais de seções no mobile */
@media (max-width: 768px) {
    .about,
    .philosophy,
    .services,
    .cases,
    .features,
    .manifesto,
    .cta-final,
    .clients-section {
        padding: 5.5rem 0;
    }
    .clients-section {
        padding-bottom: 0;
    }
}

/* Refinamento do Chat de IA Mockup no mobile */
@media (max-width: 576px) {
    .tech-chat-container {
        height: 380px;
        margin-top: 3rem;
    }
    .chat-msg {
        max-width: 85%;
        padding: 0.75rem 1rem;
    }
    .chat-input-area {
        padding: 0.75rem 1rem;
        gap: 0.75rem;
    }
    .chat-input {
        padding: 0.6rem 1.25rem;
    }
}

/* Ajustes compactos adicionais no Sound Player */
@media (max-width: 576px) {
    .sound-demo-player {
        padding: 1.75rem 1.25rem;
        margin-top: 2.5rem;
        gap: 1.25rem;
    }
    .sound-play-btn {
        width: 60px;
        height: 60px;
    }
    .sound-info-wrap h4 {
        font-size: 1.25rem;
    }
}

 