/* =========================================
   AGÊNCIA BOOM - BASEADO EM WDA
   THEME: DARK, EDITORIAL, PERFORMANCE
   ========================================= */

   :root {
    --bg-dark: #0f1012;
    --bg-alt: #161719;
    --bg-black: #000000;
    
    --text-white: #f8f8f8;
    --text-gray: #888888;
    --text-dark: #121212;
    
    --accent: #ef4378;
    --accent-hover: #c91b53;
    
    --font-main: 'Manrope', -apple-system, sans-serif;
    --font-mono: 'Space Mono', monospace;
    
    --trans-fast: 0.3s ease;
    --trans-bounce: 0.8s cubic-bezier(0.23, 1, 0.32, 1);
}

/* =========================================
   RESET & FUNDAMENTALS
   ========================================= */

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    cursor: none !important; /* Esconde cursor padrão porque usamos custom-cursor */
}

html {
    scroll-behavior: smooth;
    font-size: 16px;
}

body {
    background-color: var(--bg-dark);
    color: var(--text-white);
    font-family: var(--font-main);
    line-height: 1.6;
    overflow-x: hidden;
    -webkit-font-smoothing: antialiased;
}

/* SMOOTH PARALLAX */
.parallax-text {
    will-change: transform;
    transition: transform 0.1s linear;
}

section {
    overflow: clip; /* clip corta visualmente como hidden, mas NÃO quebra position:sticky */
    position: relative;
}

.dark-bg { background-color: var(--bg-dark); }
.dark-bg-alt { background-color: var(--bg-alt); }
.black-bg { background-color: var(--bg-black); }

a {
    color: var(--accent);
    text-decoration: none;
    transition: color var(--trans-fast);
}

a:hover {
    color: var(--text-white);
}

ul { list-style: none; }

/* =========================================
   TYPOGRAPHY
   ========================================= */

h1, h2, h3, h4, h5, h6 {
    font-weight: 700;
    letter-spacing: -0.03em;
    line-height: 1.1;
}

.text-uppercase, .uppercase { text-transform: uppercase; }
.font-weight-300 { font-weight: 300; }
.font-weight-500 { font-weight: 500; }

.subtitle {
    font-size: clamp(0.75rem, 0.7rem + 0.2vw, 0.875rem);
    font-weight: 600;
    letter-spacing: 0.1em;
    color: var(--text-gray);
    margin-bottom: 1rem;
    font-family: var(--font-mono);
}

.text-lead {
    font-size: clamp(1.2rem, 2vw, 1.8rem);
    font-weight: 300;
    line-height: 1.4;
    margin-bottom: 2rem;
    color: var(--text-white);
}

.text-mono {
    font-family: var(--font-mono);
}

.op-70 { opacity: 0.7; }
.op-50 { opacity: 0.5; }

.mt-sm { margin-top: 1rem; }
.mt-md { margin-top: 2rem; }
.mt-lg { margin-top: 4rem; }
.mt-xl { margin-top: 6rem; }

.mb-sm { margin-bottom: 1rem; }
.mb-md { margin-bottom: 2rem; }
.mb-lg { margin-bottom: 4rem; }

.pt-md { padding-top: 2rem; }
.pt-xl { padding-top: 6rem; }
.pt-xxl { padding-top: 8rem; }
.pb-xl { padding-bottom: 6rem; }
.pb-xxl { padding-bottom: 8rem; }

.mt-lg { margin-top: 4rem; }
.mt-xl { margin-top: 6rem; }
.mt-xxl { margin-top: 8rem !important; }

/* =========================================
   CONTAINERS E LAYOUT
   ========================================= */

.container {
    width: 100%;
    max-width: 1440px;
    margin: 0 auto;
    padding: 0 4vw;
}

.section-padding {
    padding: clamp(4rem, 10vw, 8rem) 0;
}

.border-top {
    border-top: 1px solid rgba(255,255,255,0.05);
}

.text-center { text-align: center; }
.mx-auto { margin-left: auto; margin-right: auto; }

/* =========================================
   CUSTOM CURSOR
   ========================================= */

#custom-cursor {
    position: fixed;
    top: 0; left: 0;
    width: 16px; height: 16px;
    background-color: var(--accent);
    border-radius: 50%;
    pointer-events: none;
    z-index: 100000;
    mix-blend-mode: normal;
    transform: translate(-50%, -50%);
    transition: width 0.3s ease, height 0.3s ease, background-color 0.3s ease;
    will-change: transform, width, height;
}

#custom-cursor.hovering {
    width: 70px;
    height: 70px;
    background-color: transparent;
    border: 1px solid rgba(255,255,255,0.5);
    backdrop-filter: invert(1);
}

/* =========================================
   HEADER / NAVBAR
   ========================================= */

.navbar {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    padding: 1.5rem 0;
    z-index: 1000;
    transition: all 0.4s cubic-bezier(0.23, 1, 0.32, 1);
    background-color: transparent;
}

/* Estado da Navbar ao Rolar */
.navbar--scrolled {
    background-color: rgba(15, 16, 18, 0.9); /* Mesma cor de fundo do site */
    backdrop-filter: blur(15px); /* Efeito de vidro premium (glassmorphism) */
    -webkit-backdrop-filter: blur(15px);
    padding: 1rem 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

.nav-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.main-logo-img {
    height: 100px; /* Aumentado de 60px para 100px conforme solicitado */
    width: auto;
    display: block;
    transition: transform 0.3s ease;
}

.main-logo-img:hover {
    transform: scale(1.05); /* Efeito sutil ao passar o mouse */
}

.footer-logo-img {
    height: 80px; /* Aumentado de 50px para 80px */
    width: auto;
    margin-bottom: 2rem;
}

/* Floating Icon Decor */
.hero-container::before {
    content: '';
    position: absolute;
    top: 10%;
    right: 5%;
    width: 200px;
    height: 200px;
    background-image: url('logo-icon.png');
    background-size: contain;
    background-repeat: no-repeat;
    opacity: 0.35;
    z-index: 1;
    pointer-events: none;
    animation: floatingIcon 10s ease-in-out infinite;
}

@keyframes floatingIcon {
    0%, 100% { transform: translateY(0) rotate(0deg); }
    50% { transform: translateY(-30px) rotate(5deg); }
}

.logo-text { display: none; } /* Removendo fallback antigo se necessário */

.menu-button .lines {
    display: block;
    width: 30px;
    height: 2px;
    background-color: white;
    position: relative;
}

.menu-button .lines::before,
.menu-button .lines::after {
    content: '';
    position: absolute;
    width: 100%;
    height: 2px;
    background-color: white;
    left: 0;
}
.menu-button .lines::before { top: -8px; }
.menu-button .lines::after { top: 8px; }

.menu-button.active .lines { background-color: transparent; }
.menu-button.active .lines::before { transform: rotate(45deg); top: 0; }
.menu-button.active .lines::after { transform: rotate(-45deg); top: 0; }

.nav-links {
    display: none;
}

@media (min-width: 900px) {
    .nav-links {
        display: block;
    }
    .menu-button {
        display: none;
    }
}

.btn-login {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.55rem 1.4rem;
    border: 1.5px solid rgba(255,255,255,0.25);
    border-radius: 999px;
    color: white;
    font-family: var(--font-mono);
    font-size: 0.78rem;
    font-weight: 700;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    transition: border-color 0.3s, background 0.3s, color 0.3s;
    white-space: nowrap;
}
.btn-login:hover {
    border-color: var(--accent);
    background: var(--accent);
    color: white;
}

.nav-menu {
    display: flex;
    gap: 2.5rem;
}

.nav-menu li a {
    color: white;
    font-size: 0.85rem;
    font-family: var(--font-mono);
    letter-spacing: 0.1em;
    font-weight: 600;
    transition: color 0.3s ease;
}

.nav-menu li a:hover {
    color: var(--accent);
}

/* Mobile Nav Styles */
@media (max-width: 899px) {
    .nav-links.active {
        display: flex;
        position: fixed;
        top: 0; left: 0;
        width: 100%; height: 100vh;
        background-color: var(--bg-black);
        z-index: 9998;
        flex-direction: column;
        justify-content: center;
        align-items: center;
        padding: 4rem;
    }

    .nav-links.active .nav-menu {
        flex-direction: column;
        text-align: center;
        gap: 2rem;
    }

    .nav-links.active .nav-menu li a {
        font-size: 2rem;
        font-family: var(--font-main);
    }
}

body.menu-open {
    overflow: hidden;
}

/* =========================================
   BUTTONS
   ========================================= */

.btn-accent {
    display: inline-block;
    padding: 16px 36px;
    background-color: var(--accent);
    color: var(--text-white);
    font-size: clamp(0.95rem, 1vw, 1.125rem);
    font-weight: 600;
    text-align: center;
    border-radius: 0;
    transition: all 0.4s ease;
    letter-spacing: 0.05em;
    text-transform: uppercase;
}

.btn-accent.btn-large {
    padding: 24px 50px;
    font-size: 1.2rem;
}

.btn-accent:hover {
    background-color: var(--text-white);
    color: var(--bg-black) !important;
    padding: 16px 45px;
}

.btn-accent.btn-large:hover {
    padding: 24px 60px;
}

/* =========================================
   HERO SECTION
   ========================================= */

.hero {
    position: relative;
    height: 100vh;
    min-height: 600px;
    display: flex;
    align-items: center;
    overflow: hidden;
}

.bg-video {
    position: absolute;
    top: 0; left: 0;
    width: 100%; height: 100%;
    object-fit: cover;
    z-index: 0;
}

.hero-overlay {
    position: absolute;
    top: 0; left: 0;
    width: 100%; height: 100%;
    background: linear-gradient(0deg, var(--bg-dark) 0%, rgba(15,16,18,0.7) 100%);
    z-index: 1;
}

.hero-container {
    position: relative;
    z-index: 2;
}

.hero-title {
    font-size: clamp(3rem, 7vw, 7rem);
    line-height: 1.15; /* Aumentado de 1.05 para 1.15 para não cortar letras */
    margin-bottom: 2rem;
}

.hero-desc {
    font-size: clamp(1.2rem, 2vw, 1.8rem);
    font-weight: 300;
    max-width: 800px;
    color: rgba(255,255,255,0.8);
}

.scroll-down {
    position: absolute;
    bottom: 2rem;
    left: 4vw;
    z-index: 2;
    color: white;
    font-size: 1.5rem;
    animation: bounce 2s infinite;
}

@keyframes bounce {
    0%, 20%, 50%, 80%, 100% { transform: translateY(0); }
    40% { transform: translateY(-15px); }
    60% { transform: translateY(-7px); }
}

.word-wrapper {
    display: inline-block;
    overflow: hidden;
    vertical-align: bottom;
    padding-bottom: 0.1em; /* Evita corte descenders */
    margin-bottom: -0.1em;
}

.word-inner {
    display: inline-block;
    transform: translateY(105%);
    transition: transform 0.8s cubic-bezier(0.23, 1, 0.32, 1);
}

.in-view .word-inner {
    transform: translateY(0);
}

/* Hero Title - Mais imediato e elétrico */
.hero-title .word-inner {
    transition: transform 0.4s cubic-bezier(0.23, 1, 0.32, 1);
}

.reveal-text .line {
    display: block;
    overflow: hidden;
    padding-bottom: 0.15em; /* Espaço para letras como 'g' e 'p' */
    margin-bottom: -0.05em;
}

.reveal-text .line-inner {
    display: inline-block;
    transform: translateY(115%); /* Offset inicial para a revelação */
    transition: transform 1.2s cubic-bezier(0.23, 1, 0.32, 1);
}

.reveal-text.in-view .line-inner {
    transform: translateY(0);
}

.animate-fade-up {
    opacity: 0;
    transform: translateY(40px);
    transition: all 1s cubic-bezier(0.23, 1, 0.32, 1);
}

.in-view.animate-fade-up,
.in-view .animate-fade-up {
    opacity: 1;
    transform: translateY(0);
}

.delay-1 { transition-delay: 0.1s; }
.delay-2 { transition-delay: 0.2s; }
.delay-3 { transition-delay: 0.3s; }
.delay-4 { transition-delay: 0.4s; }

/* =========================================
   SOBRE
   ========================================= */

.grid-sobre {
    display: grid;
    grid-template-columns: 1fr;
    gap: 3rem;
}

.h2-title {
    font-size: clamp(2rem, 4vw, 4rem);
}

@media (min-width: 900px) {
    .grid-sobre {
        grid-template-columns: 1fr 1fr;
        gap: 6rem;
    }
}

/* =========================================
   SERVICES (O QUE FAZEMOS) - HOVER ATIVO
   ========================================= */

.services-main-title {
    font-size: clamp(1.5rem, 3.5vw, 3rem);
    font-weight: 300;
    color: var(--text-white);
    line-height: 1.2;
    max-width: 80%;
}

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

.services-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 1.5rem;
}

@media (min-width: 900px) {
    .services-grid {
        grid-template-columns: repeat(3, 1fr);
    }
}

.service-card {
    background-color: var(--bg-dark);
    border-radius: 8px; /* Or 0 if absolutely sharp */
    padding: 3rem 2.5rem;
    transition: background-color 0.5s ease, color 0.3s ease;
    border: 1px solid rgba(255,255,255,0.03);
}

.service-card .card-inner {
    transition: transform 0.5s cubic-bezier(0.23, 1, 0.32, 1);
}

.service-label {
    font-size: 0.8rem;
    font-family: var(--font-mono);
    color: var(--text-gray);
    display: block;
    margin-bottom: 2rem;
}

.service-card h3 {
    font-size: clamp(1.5rem, 2vw, 2rem);
    margin-bottom: 1.5rem;
    color: var(--text-white);
    transition: color 0.3s ease;
}

.service-card p {
    color: var(--text-gray);
    margin-bottom: 2rem;
    transition: color 0.3s ease;
}

.icons-list {
    border-top: 1px solid rgba(255,255,255,0.1);
    padding-top: 1.5rem;
}

.icons-list li {
    position: relative;
    padding-left: 1.5rem;
    margin-bottom: 0.5rem;
    font-size: 0.9rem;
    color: var(--text-gray);
    transition: color 0.3s ease;
}

.icons-list li::before {
    content: '→';
    position: absolute;
    left: 0;
    color: var(--accent);
}

.card-icon {
    display: block;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    background-color: rgba(255,255,255,0.05);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.2rem;
    color: var(--accent);
    transition: background-color 0.5s ease;
}

/* Hover Ativo Dynamics */
.hover-ativo:hover {
    background-color: var(--bg-black);
}

.hover-ativo:hover .card-inner {
    transform: translateY(-10px);
}

.hover-ativo:hover h3,
.hover-ativo:hover p,
.hover-ativo:hover .icons-list li {
    color: var(--text-white);
}

.hover-ativo:hover .card-icon {
    background-color: var(--accent);
    color: white;
}

/* =========================================
   SERVICES GRID 2 COLUMNS
   ========================================= */

.services-grid-2 {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1.5rem;
    margin-top: 1.5rem;
}

@media (max-width: 900px) {
    .services-grid-2 {
        grid-template-columns: 1fr;
    }
}

/* =========================================
   SERVICE CARD — IA DESTAQUE
   ========================================= */

.service-card--ai {
    grid-column: 1 / -1;
    background: linear-gradient(135deg, #0d0d0f 0%, #1a0a2e 50%, #0d0d0f 100%);
    background-size: 300% 300%;
    animation: ai-bg-shift 8s ease infinite;
    border: 1px solid rgba(255, 105, 180, 0.25);
    position: relative;
    overflow: hidden;
}

@keyframes ai-bg-shift {
    0%, 100% { background-position: 0% 50%; }
    50% { background-position: 100% 50%; }
}

/* O card IA tem padding maior que os demais */
.service-card--ai.service-card {
    padding: 3.5rem 3.5rem;
}

/* Layout interno 2 colunas do card IA */
.ai-inner-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
}

/* Esquerda: logo + texto */
.ai-left {
    display: flex;
    flex-direction: column;
    gap: 2.5rem;
}

.ai-logo {
    width: 220px;
    filter: brightness(0) invert(1);
    opacity: 0.95;
}

.ai-subtitle {
    font-size: 1.05rem;
    line-height: 1.75;
    color: rgba(255, 255, 255, 0.75);
    border-left: 3px solid var(--accent);
    padding-left: 1.2rem;
}

.ai-subtitle strong {
    color: var(--white);
    font-weight: 600;
}

/* Direita: features */
.ai-right {
    border-left: 1px solid rgba(255, 255, 255, 0.08);
    padding-left: 3rem;
}

.ai-features-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 1.6rem;
}

.ai-feature {
    display: flex;
    align-items: center;
    gap: 1.2rem;
}

.ai-feature-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 2rem;
    height: 2rem;
    border: 1px solid var(--accent);
    border-radius: 50%;
    flex-shrink: 0;
    font-size: 0.85rem;
    color: var(--accent);
    transition: background 0.3s ease, color 0.3s ease;
}

.ai-feature-text {
    font-size: 1rem;
    color: rgba(255, 255, 255, 0.8);
    font-weight: 500;
}

.service-card--ai:hover {
    background-color: rgba(26, 10, 46, 0.8);
    border-color: rgba(255, 105, 180, 0.5);
}

.service-card--ai:hover .ai-feature-icon {
    background: var(--accent);
    color: #000;
}

@media (max-width: 900px) {
    .ai-inner-grid {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
    .ai-right {
        border-left: none;
        padding-left: 0;
        border-top: 1px solid rgba(255, 255, 255, 0.08);
        padding-top: 2rem;
    }
    .ai-features-grid {
        grid-template-columns: 1fr 1fr;
        gap: 1.2rem;
    }
    .ai-logo {
        width: 160px;
    }
}

.h4-title {
    font-size: clamp(1.2rem, 2vw, 2.5rem);
    font-weight: 500;
}

/* =========================================
   CASTING MASONRY
   ========================================= */

.casting-masonry {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 1.5rem;
}

.tmb-card {
    position: relative;
    overflow: hidden;
    background: #1a1a1a;
    aspect-ratio: 3/4;
}

.tmb-bg {
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    text-transform: uppercase;
    font-weight: 800;
    font-size: 4rem;
    color: rgba(255,255,255,0.02);
    transition: transform var(--trans-bounce), background-color 0.5s;
    background-color: #121212;
}

.tmb-card:hover .tmb-bg {
    transform: scale(1.05);
    background-color: #181818;
}

.tmb-content {
    position: absolute;
    bottom: 0; left: 0; width: 100%;
    padding: 2rem;
    background: linear-gradient(0deg, rgba(0,0,0,0.9) 0%, rgba(0,0,0,0) 100%);
    opacity: 0;
    transform: translateY(20px);
    transition: all var(--trans-bounce);
}

.tmb-card:hover .tmb-content {
    opacity: 1;
    transform: translateY(0);
}

.tmb-name {
    font-size: clamp(1.5rem, 2vw, 2.5rem);
    margin-bottom: 0.2rem;
    line-height: 1.1;
}

.tmb-cat {
    font-family: var(--font-mono);
    font-size: 0.75rem;
    color: var(--accent);
}

/* =========================================
   FOOTER
   ========================================= */

.footer-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 3rem;
}

@media (min-width: 900px) {
    .footer-grid {
        grid-template-columns: 1fr 1fr;
    }
    .footer-links {
        text-align: right;
    }
}

.footer-logo {
    font-size: 3rem;
    font-weight: 800;
}

.footer-nav li {
    margin-bottom: 1rem;
}

.footer-nav a {
    font-size: 1.2rem;
    color: var(--text-gray);
}

.footer-nav a:hover {
    color: var(--text-white);
}

/* =========================================
   PORTFOLIO SECTION
   ========================================= */

.portfolio-list {
    display: flex;
    flex-direction: column;
    gap: 1px;
    background-color: rgba(255,255,255,0.05); /* Border lines */
}

.portfolio-item {
    background-color: var(--bg-dark);
    padding: 3rem 0;
    display: flex;
    flex-direction: column;
    gap: 2rem;
    transition: padding 0.4s ease, background-color 0.4s ease;
    border-bottom: 1px solid rgba(255,255,255,0.05);
}

@media (min-width: 900px) {
    .portfolio-item {
        padding: 4rem 2rem;
    }
}

.portfolio-header {
    display: grid;
    grid-template-columns: 1fr;
    gap: 1.5rem;
}

@media (min-width: 900px) {
    .portfolio-header {
        grid-template-columns: 1fr 1fr;
        align-items: center;
    }
}

.portfolio-client {
    font-size: clamp(1.5rem, 3vw, 2.5rem);
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: -0.02em;
    color: var(--text-white);
}

.portfolio-services {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem 1.5rem;
}

.portfolio-services li {
    font-size: 0.9rem;
    color: var(--text-gray);
    position: relative;
    padding-left: 1rem;
}

.portfolio-services li::before {
    content: '';
    position: absolute;
    left: 0;
    top: 50%;
    width: 4px;
    height: 4px;
    background-color: var(--accent);
    border-radius: 50%;
    transform: translateY(-50%);
}

/* Item expandido: sem padding horizontal → breakout fullwidth funciona corretamente */
.portfolio-item--expanded {
    padding-left: 0;
    padding-right: 0;
    overflow: visible; /* Garante que o filho fullwidth não seja cortado */
}

.portfolio-item:not(.portfolio-item--expanded):hover {
    background-color: var(--bg-black);
    padding-left: 3rem;
    padding-right: 3rem;
}

.portfolio-item:not(.portfolio-item--expanded):hover .portfolio-client {
    color: var(--accent);
}

.portfolio-item:not(.portfolio-item--expanded):hover .portfolio-services li {
    color: white;
}

/* =========================================
   PORTFÓLIO GALERIA (ABERTURA EDITORIAL)
   ========================================= */

.portfolio-gallery-large {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 2rem;
    width: 100%;
    margin-top: 4rem;
}

/* Expansão Total para Desktop - Usando mais tela */
@media (min-width: 900px) {
    .portfolio-gallery-large {
        width: 100vw;
        margin-left: calc(50% - 50vw);
        padding: 0 4vw; /* Leve margem nas bordas extremas */
    }
}

.portfolio-img-huge {
    position: relative;
    width: 100%;
    background-color: transparent !important;
    border-radius: 8px;
    overflow: hidden;
    z-index: 1;
}

.bg-img-div {
    width: 100%;
    height: 100%;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    transition: transform 1.2s cubic-bezier(0.23, 1, 0.32, 1);
}

.portfolio-img-huge:hover .bg-img-div {
    transform: scale(1.05);
}

/* Encaixes Perfeitos (Interlocking 2-Column Grid) */
.portfolio-img-huge.size-hero {
    grid-column: 1 / -1;
    aspect-ratio: 16 / 7; /* Super Cinemascope */
}

.portfolio-img-huge.size-left {
    grid-column: 1 / 2;
    aspect-ratio: 4 / 5;
}

.portfolio-img-huge.size-right {
    grid-column: 2 / 3;
    aspect-ratio: 4 / 5;
}

.portfolio-img-huge.size-wide {
    grid-column: 1 / -1;
    aspect-ratio: 21 / 9;
}
@media (max-width: 900px) {
    .portfolio-gallery-large {
        display: flex;
        flex-direction: column;
        gap: 2rem;
    }
    .portfolio-img-huge {
        width: 100% !important;
        aspect-ratio: 4 / 3 !important;
        grid-column: auto !important;
        margin-top: 0 !important;
    }
}

/* =========================================
   PORTFOLIO HORIZONTAL SCROLL — FULLPAGE
   ========================================= */

/* Container fullwidth: sai do .container via CSS breakout trick */
.portfolio-horizontal-wrapper {
    position: relative;
    width: 100vw;
    left: 50%;
    margin-left: -50vw;
    height: 500vh; /* 6 imagens × ~80vh de "tempo" cada = scroll suave */
    margin-top: 3rem;
}

/* Painel fixo durante o scroll horizontal */
.portfolio-horizontal-sticky {
    position: sticky;
    top: 0;
    width: 100%;
    height: 100vh;
    overflow: hidden;
    background: var(--bg-dark);
}

/* Vignettes superior e inferior para profundidade editorial */
.portfolio-horizontal-sticky::before,
.portfolio-horizontal-sticky::after {
    content: '';
    position: absolute;
    left: 0;
    right: 0;
    z-index: 10;
    pointer-events: none;
}
.portfolio-horizontal-sticky::before {
    top: 0;
    height: 140px;
    background: linear-gradient(to bottom, rgba(15, 16, 18, 0.65) 0%, transparent 100%);
}
.portfolio-horizontal-sticky::after {
    bottom: 0;
    height: 160px;
    background: linear-gradient(to top, rgba(15, 16, 18, 0.75) 0%, transparent 100%);
}

/* Faixa de imagens: sem gap, sem padding — ponta a ponta */
.portfolio-horizontal-track {
    display: flex;
    gap: 0;
    width: max-content;
    height: 100%;
    will-change: transform;
    /* Sem CSS transition — suavidade feita por LERP no JS (RAF) */
}

/* Cada slide ocupa exatamente 100vw × 100vh */
.portfolio-horizontal-item {
    flex: 0 0 100vw;
    width: 100vw;
    height: 100vh;
    overflow: hidden;
    position: relative;
}

/* Imagem com espaço extra para efeito parallax interno */
.ph-img-inner {
    position: absolute;
    top: -5%;
    left: -5%;
    width: 110%;
    height: 110%;
    background-size: cover;
    background-position: center;
    will-change: transform;
}

/* ── UI Overlay: counter + barra de progresso + hint ── */
.ph-ui {
    position: absolute;
    z-index: 20;
    bottom: 2.5rem;
    left: 0;
    right: 0;
    padding: 0 3rem;
    display: flex;
    align-items: center;
    gap: 2rem;
    pointer-events: none;
}

.ph-counter {
    font-family: var(--font-mono);
    font-size: 0.75rem;
    letter-spacing: 0.12em;
    color: rgba(255, 255, 255, 0.45);
    min-width: 6ch;
    white-space: nowrap;
    display: none;
}

.ph-current {
    color: var(--text-white);
    font-size: 0.9rem;
}

/* Linha de progresso — cor da marca */
.ph-progress-bar {
    flex: 1;
    height: 1px;
    background: rgba(255, 255, 255, 0.15);
    border-radius: 2px;
    overflow: hidden;
}

.ph-progress-fill {
    height: 100%;
    width: 0%;
    background: var(--accent);
    border-radius: 2px;
    transition: width 0.12s linear;
}

/* Hint "SCROLL ↓" com animação bounce */
.ph-scroll-hint {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.2rem;
    font-family: var(--font-mono);
    font-size: 0.6rem;
    letter-spacing: 0.16em;
    text-transform: uppercase;
    color: rgba(255, 255, 255, 0.3);
    opacity: 1;
    transition: opacity 0.6s ease;
}

.ph-scroll-hint.hidden {
    opacity: 0;
}

.ph-arrow {
    animation: bounce-arrow 1.6s ease-in-out infinite;
    display: inline-block;
}

@keyframes bounce-arrow {
    0%, 100% { transform: translateY(0); }
    50%       { transform: translateY(6px); }
}

/* ── Mobile: galeria vertical ── */
@media (max-width: 900px) {
    .portfolio-horizontal-wrapper {
        height: auto;
        left: 0;
        margin-left: 0;
        width: 100%;
    }
    .portfolio-horizontal-sticky {
        position: relative;
        height: auto;
        overflow: visible;
    }
    .portfolio-horizontal-sticky::before,
    .portfolio-horizontal-sticky::after {
        display: none;
    }
    .portfolio-horizontal-track {
        flex-direction: column;
        width: 100%;
        transform: none !important;
        gap: 1.5rem;
        padding: 1.5rem 0;
    }
    .portfolio-horizontal-item {
        flex: 0 0 auto;
        width: 100%;
        height: auto;
        aspect-ratio: 4 / 5;
    }
    .ph-img-inner {
        position: absolute;
        top: 0;
        left: 0;
        width: 100%;
        height: 100%;
        transform: none !important;
    }
    .ph-ui {
        display: none;
    }
}

/* UTILS */
.block { display: block; }
.text-xs { font-size: 0.75rem; }

/* =========================================
   LOGO MARQUEE
   ========================================= */

.logo-marquee {
    background-color: var(--bg-black);
    padding: 2.5rem 0;
    overflow: hidden;
    white-space: nowrap;
    border-top: 1px solid rgba(255,255,255,0.05);
    border-bottom: 1px solid rgba(255,255,255,0.05);
}

.marquee-content {
    display: inline-block;
    animation: marquee 60s linear infinite;
}

.marquee-img {
    height: 65px;
    width: auto;
    margin: 0 5rem;
    display: inline-block;
    transition: all 0.5s ease;
}

.marquee-img:hover {
    transform: scale(1.15) translateY(-5px);
}

@keyframes marquee {
    from { transform: translateX(0); }
    to { transform: translateX(-50%); }
}

/* =========================================
   PACKAGES SECTION
   ========================================= */

.packages-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 2rem;
}

@media (min-width: 900px) {
    .packages-grid {
        grid-template-columns: repeat(3, 1fr);
    }
}

.package-card {
    background-color: var(--bg-alt);
    padding: 3rem 2.5rem;
    border: 1px solid rgba(255,255,255,0.05);
    transition: transform 0.4s ease, background-color 0.4s ease;
    display: flex;
    flex-direction: column;
}

.package-card.featured {
    background-color: var(--bg-black);
    border: 1px solid var(--accent);
}

.package-card h3 {
    font-size: 1.8rem;
    margin-bottom: 1rem;
    color: var(--accent);
}

.package-price-info {
    font-size: 0.85rem;
    color: var(--text-gray);
    margin-bottom: 2rem;
    font-style: italic;
}

.package-features {
    margin-bottom: 2.5rem;
    flex-grow: 1;
}

.package-features li {
    font-size: 0.95rem;
    margin-bottom: 1rem;
    color: var(--text-white);
    position: relative;
    padding-left: 1.5rem;
}

.package-features li::before {
    content: '•';
    position: absolute;
    left: 0;
    color: var(--accent);
}

.package-card:hover {
    transform: translateY(-10px);
    border-color: rgba(255,255,255,0.2);
}

.package-card.ia-focus {
    background: linear-gradient(145deg, var(--bg-alt) 0%, #201020 100%);
    border: 1px solid #c040c0; /* Purple accent for IA */
}

.package-card.ia-focus h3 {
    color: #df80df;
}

.package-card.ia-focus .package-features li::before {
    color: #df80df;
}

/* =========================================
   BOOM CASES — MARQUEE DIVIDER
   ========================================= */

.boom-cases-divider {
    width: 100%;
    overflow: hidden;
    background: var(--accent);
    padding: 1.1rem 0;
    white-space: nowrap;
}

.boom-cases-track {
    display: inline-block;
    animation: bcd-scroll 18s linear infinite;
    will-change: transform;
}

.boom-cases-track span {
    font-family: var(--font-mono);
    font-size: 0.8rem;
    font-weight: 700;
    letter-spacing: 0.25em;
    text-transform: uppercase;
    color: #000;
    margin: 0 1.2rem;
}

.boom-cases-track .bcd-dot {
    color: rgba(0, 0, 0, 0.4);
    margin: 0;
    letter-spacing: 0;
}

@keyframes bcd-scroll {
    from { transform: translateX(0); }
    to   { transform: translateX(-50%); }
}

@keyframes marquee-roll {
    from { transform: translateX(0); }
    to { transform: translateX(-33.33%); }
}

/* =========================================
   ACQUA — DIAGONAL MARQUEE STRIPS
   ========================================= */

.acqua-marquee-scene {
    position: relative;
    width: 100vw;
    left: 50%;
    margin-left: -50vw;
    overflow: hidden;
    padding: 4.5rem 0 5rem;
    background: #070809;
}

.acqua-strips-rotated {
    display: flex;
    flex-direction: column;
    gap: 1.8rem;
    transform: rotate(-5deg) scaleX(1.15);
    transform-origin: center center;
}

.acqua-strip {
    overflow: hidden;
    width: 100%;
}

.acqua-strip-track {
    display: flex;
    gap: 1.5rem;
    width: max-content;
    will-change: transform;
}

.strip-fwd .acqua-strip-track {
    animation: acqua-fwd 28s linear infinite;
}

.strip-bwd .acqua-strip-track {
    animation: acqua-bwd 22s linear infinite;
}

.acqua-marquee-scene:hover .acqua-strip-track {
    animation-play-state: paused;
}

.acqua-img {
    width: 420px;
    height: 265px;
    flex-shrink: 0;
    background-size: cover;
    background-position: center;
    border-radius: 6px;
    filter: saturate(0.75) brightness(0.78);
    transition: filter 0.5s ease, transform 0.5s cubic-bezier(0.23,1,0.32,1);
    cursor: pointer;
}

.acqua-img:hover {
    filter: saturate(1.2) brightness(1.05);
    transform: scale(1.06) rotate(2deg);
    position: relative;
    z-index: 2;
}

@keyframes acqua-fwd {
    from { transform: translateX(0); }
    to   { transform: translateX(-50%); }
}

@keyframes acqua-bwd {
    from { transform: translateX(-50%); }
    to   { transform: translateX(0); }
}

@media (max-width: 768px) {
    .acqua-img {
        width: 260px;
        height: 164px;
    }
    .acqua-strips-rotated {
        gap: 1.2rem;
    }
}

/* =========================================
   IDEAL — CLIP-PATH WIPE CINEMATOGRÁFICO
   ========================================= */

.ideal-wipe-scene {
    position: relative;
    width: 100vw;
    left: 50%;
    margin-left: -50vw;
    background: #060708;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3px;
}

.wipe-item {
    position: relative;
    overflow: hidden;
    clip-path: polygon(0% 100%, 105% 112%, 105% 112%, 0% 100%);
    transition: clip-path 1.1s cubic-bezier(0.77, 0, 0.175, 1) var(--delay, 0s);
    cursor: pointer;
}

.wipe-item.wipe-in {
    clip-path: polygon(0% 0%, 100% 0%, 100% 100%, 0% 100%);
}

.wipe-img-inner {
    width: 100%;
    height: 52vh;
    background-size: cover;
    background-position: center;
    transform: scale(1.1);
    filter: brightness(0.72) saturate(0.85);
    transition:
        transform 1.4s cubic-bezier(0.77, 0, 0.175, 1) var(--delay, 0s),
        filter 0.5s ease;
    will-change: transform;
}

.wipe-item.wipe-in .wipe-img-inner {
    transform: scale(1);
}

.wipe-item:hover .wipe-img-inner {
    filter: brightness(1) saturate(1.1);
    transform: scale(1.04);
    transition: transform 0.6s ease, filter 0.4s ease;
}

.wipe-caption {
    position: absolute;
    bottom: 1.4rem;
    left: 1.6rem;
    font-family: var(--font-mono);
    font-size: 0.72rem;
    color: rgba(255, 255, 255, 0.65);
    letter-spacing: 0.18em;
    text-transform: uppercase;
    display: flex;
    align-items: center;
    gap: 0.6rem;
    opacity: 0;
    transform: translateY(8px);
    transition: opacity 0.5s ease calc(var(--delay) + 0.7s),
                transform 0.5s ease calc(var(--delay) + 0.7s);
}

.wipe-item.wipe-in .wipe-caption {
    opacity: 1;
    transform: translateY(0);
}

.wipe-caption span {
    color: var(--accent);
    font-size: 0.65rem;
}

@media (max-width: 768px) {
    .ideal-wipe-scene {
        grid-template-columns: 1fr;
    }
    .wipe-img-inner {
        height: 42vw;
        min-height: 200px;
    }
}

/* =========================================
   CTA CONTATO
   ========================================= */

.cta-contact-section {
    background: #000;
    border-top: 1px solid rgba(255, 255, 255, 0.06);
}

.cta-contact-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 5rem;
    align-items: start;
}

/* LEFT */
.cta-headline {
    font-family: var(--font-display);
    font-size: clamp(2.8rem, 6vw, 5.5rem);
    line-height: 1;
    font-weight: 900;
    text-transform: uppercase;
    letter-spacing: -0.02em;
    color: var(--white);
    margin-top: 0.5rem;
}

.cta-headline strong {
    color: var(--accent);
}

.cta-sub {
    font-size: 1rem;
    line-height: 1.6;
    max-width: 380px;
}

.cta-contacts {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.cta-contact-link {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    font-family: var(--font-mono);
    font-size: 0.85rem;
    letter-spacing: 0.06em;
    color: rgba(255, 255, 255, 0.55);
    text-decoration: none;
    transition: color 0.25s ease;
}

.cta-contact-link:hover {
    color: var(--accent);
}

.cta-contact-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 2rem;
    height: 2rem;
    border: 1px solid rgba(255, 255, 255, 0.12);
    border-radius: 50%;
    font-size: 0.75rem;
    flex-shrink: 0;
    transition: border-color 0.25s ease, background 0.25s ease;
}

.cta-contact-link:hover .cta-contact-icon {
    border-color: var(--accent);
    background: var(--accent);
    color: #000;
}

/* RIGHT — FORM */
.contact-form {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.form-group {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.form-label {
    font-family: var(--font-mono);
    font-size: 0.68rem;
    letter-spacing: 0.2em;
    color: rgba(255, 255, 255, 0.35);
}

.form-input {
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 4px;
    padding: 1rem 1.2rem;
    font-family: var(--font-body);
    font-size: 0.95rem;
    color: var(--white);
    width: 100%;
    outline: none;
    transition: border-color 0.25s ease, background 0.25s ease;
    -webkit-appearance: none;
    appearance: none;
}

.form-input::placeholder {
    color: rgba(255, 255, 255, 0.22);
}

.form-input:focus {
    border-color: var(--accent);
    background: rgba(255, 255, 255, 0.07);
}

.form-textarea {
    resize: vertical;
    min-height: 120px;
}

.btn-form-submit {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    background: var(--accent);
    color: #000;
    border: none;
    border-radius: 4px;
    padding: 1.1rem 1.8rem;
    font-family: var(--font-mono);
    font-size: 0.8rem;
    font-weight: 700;
    letter-spacing: 0.2em;
    text-transform: uppercase;
    cursor: pointer;
    width: 100%;
    transition: background 0.2s ease, transform 0.2s ease;
}

.btn-form-submit:hover {
    background: #fff;
    transform: translateY(-2px);
}

.btn-arrow {
    font-size: 1.1rem;
    transition: transform 0.2s ease;
}

.btn-form-submit:hover .btn-arrow {
    transform: translateX(4px);
}

/* MOBILE */
@media (max-width: 900px) {
    .cta-contact-grid {
        grid-template-columns: 1fr;
        gap: 3rem;
    }
    .cta-headline {
        font-size: clamp(2.4rem, 10vw, 3.5rem);
    }
}

/* =========================================
   CASTING PAGE - ALTERNATING LAYOUT
   ========================================= */

/* CASTING PAGE - SIMPLIFIED LAYOUT */
.casting-section {
    padding: 6rem 0 10rem;
    overflow: hidden;
}

.casting-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 6rem;
    padding: 8.5rem 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

.casting-row:last-child {
    border-bottom: none;
}

.casting-row:nth-child(even) {
    flex-direction: row-reverse;
}

/* Visual Side (Portrait) */
.casting-visual {
    flex: 1;
    display: flex;
    justify-content: center;
    position: relative;
    z-index: 10;
}

.casting-main-img {
    width: 320px;
    height: auto;
    max-height: 520px;
    object-fit: contain;
    border-radius: 20px;
    filter: drop-shadow(0 20px 40px rgba(0,0,0,0.5));
}

/* Content Side (Text) */
.casting-content {
    flex: 1.2;
    text-align: center;
    position: relative;
    z-index: 20;
}

.casting-name-wrap {
    margin-bottom: 1.5rem;
    display: inline-block;
}

.casting-content h2 {
    font-size: clamp(3rem, 7vw, 4.8rem);
    font-weight: 800;
    text-transform: uppercase;
    color: white;
    line-height: 0.85;
    margin: 0;
    letter-spacing: -3px;
}

.casting-content .role {
    font-size: 1.1rem;
    color: var(--accent);
    margin-top: 1.5rem;
    display: block;
    font-family: var(--font-mono);
    text-transform: uppercase;
}

.casting-content .bio {
    font-size: 1.1rem;
    line-height: 1.6;
    color: rgba(255, 255, 255, 0.6);
    margin: 2rem auto 0;
    max-width: 500px;
}

/* Mockup Side (Social Composite) */
.casting-mockup-side {
    flex: 1.2;
    display: flex;
    justify-content: center;
}

.social-mockup-img {
    width: 100%;
    max-width: 580px;
    height: auto;
    object-fit: contain;
    filter: drop-shadow(0 30px 60px rgba(0,0,0,0.4));
}

@media (max-width: 1200px) {
    .casting-row, .casting-row:nth-child(even) {
        flex-direction: column;
        text-align: center !important;
        gap: 3rem;
    }
    .casting-row:nth-child(even) .bio { margin-right: auto; }
    .casting-main-img { width: 300px; height: 400px; }
}

/* =========================================
   BRANDING PAGE STYLES
   ========================================= */

.branding-hero {
    padding-top: 12rem;
    padding-bottom: 6rem;
}

.branding-hero .h1-title {
    font-size: clamp(3.5rem, 10vw, 8rem);
    text-align: center;
}

.methodology-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 3rem;
}

.method-card {
    position: relative;
    padding: 3rem 2rem;
    background: rgba(255,255,255,0.03);
    border: 1px solid rgba(255,255,255,0.05);
    border-radius: 20px;
    transition: all 0.4s ease;
}

.method-card:hover {
    background: rgba(255,255,255,0.06);
    border-color: var(--accent);
    transform: translateY(-10px);
}

.method-number {
    font-family: var(--font-mono);
    color: var(--accent);
    font-size: 1rem;
    margin-bottom: 1.5rem;
    opacity: 0.8;
}

.method-card h3 {
    font-size: 1.8rem;
    margin-bottom: 1rem;
    font-weight: 700;
}

.method-card p {
    font-size: 1rem;
    line-height: 1.6;
    color: rgba(255,255,255,0.6);
}

/* Deliverables Section */
.deliverables-box {
    background: linear-gradient(135deg, #1a1b1e, #0f1012);
    padding: 5rem;
    border-radius: 40px;
    border: 1px solid rgba(255,255,255,0.05);
}

.deliverables-list {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 1.5rem;
}

.deliv-item {
    padding: 1rem 0;
    border-bottom: 1px solid rgba(255,255,255,0.1);
    font-family: var(--font-mono);
    text-transform: uppercase;
    font-size: 0.9rem;
    display: flex;
    align-items: center;
}

.deliv-item::before {
    content: '◇';
    color: var(--accent);
    margin-right: 1rem;
}

/* Showcase Grid */
.showcase-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 2rem;
}

.showcase-item {
    position: relative;
    border-radius: 30px;
    overflow: hidden;
    height: 600px;
}

.showcase-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.8s cubic-bezier(0.165, 0.84, 0.44, 1);
}

.showcase-item:hover img {
    transform: scale(1.05);
}

.showcase-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    padding: 3rem;
    background: linear-gradient(to top, rgba(0,0,0,0.8), transparent);
    color: white;
    font-family: var(--font-mono);
    text-transform: uppercase;
    font-size: 0.8rem;
    letter-spacing: 2px;
}

@media (max-width: 900px) {
    .showcase-grid {
        grid-template-columns: 1fr;
    }
    .showcase-item {
        height: 400px;
    }
    .deliverables-box {
        padding: 3rem 2rem;
    }
}
