@font-face {
  font-family: 'BenedictCustom';
  src: url('./fonts/benedictregular.woff') format('woff');
  font-weight: normal;
  font-style: normal;
  font-display: swap;
}

/* Fallback: if Benedict fails to load, Great Vibes from Google Fonts is similar */

:root {
    --bg-main: #000000;
    --text-primary: #ffffff;
    --text-secondary: #a1a1aa;
    --whatsapp-green: #25D366;
    --neon-blue: #0ea5e9;
    --glass-border: rgba(255, 255, 255, 0.1);
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Helvetica, Arial, sans-serif;
}

/* Prevenir scroll bars duplas nas seções tela-inteira */
::-webkit-scrollbar {
    width: 6px;
    height: 6px;
}

::-webkit-scrollbar-track {
    background: var(--bg-main);
}

::-webkit-scrollbar-thumb {
    background: rgba(255, 255, 255, 0.15);
    border-radius: 10px;
}

.process-section::-webkit-scrollbar,
.testimonials-section::-webkit-scrollbar,
.journey-section::-webkit-scrollbar {
    display: none;
}

.process-section,
.testimonials-section,
.journey-section {
    -ms-overflow-style: none;
    scrollbar-width: none;
}

body {
    background-color: var(--bg-main);
    color: var(--text-primary);
    overflow-x: hidden;
    min-height: 100vh;
}

::selection {
    background: rgba(255, 255, 255, 0.2);
    color: white;
}

/* Navbar Minimalista (Apenas na Seção 1) */
.navbar.minimal {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    padding: 1.5rem 5%;
    display: flex;
    justify-content: center;
    gap: 3rem;
    align-items: center;
    z-index: 100;
    background: transparent;
}

.lang-selector {
    display: flex;
    gap: 1.5rem;
}

.lang-selector a {
    color: var(--text-secondary);
    text-decoration: none;
    font-size: 0.85rem;
    font-weight: 500;
    transition: color 0.3s ease;
    letter-spacing: 0.5px;
}

.lang-selector a:hover,
.lang-selector a.active {
    color: var(--text-primary);
}

.social-actions {
    display: flex;
    align-items: center;
    gap: 1.5rem;
}

.social-icon {
    color: var(--text-primary);
    transition: transform 0.3s ease, color 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
}

.social-icon:hover {
    transform: translateY(-2px);
    color: var(--text-secondary);
}

/* Fundo removido conforme pedido de pureza na Seção 1 */

/* Hero Centered Section */
.hero.minimal-hero {
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 1;
    padding: 0 5%;
}

.hero-content-center {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    max-width: 900px;
    z-index: 2;
}

/* Eyebrow - Shine Effect */
.eyebrow {
    font-size: 0.9rem;
    font-weight: 500;
    letter-spacing: 2px;
    text-transform: uppercase;
    margin-bottom: 2rem;
    animation: fadeInDown 0.8s ease-out;
}

.shine-text {
    background: linear-gradient(90deg,
            rgba(255, 255, 255, 0.3) 0%,
            rgba(255, 255, 255, 0.3) 40%,
            #ffffff 50%,
            rgba(255, 255, 255, 0.3) 60%,
            rgba(255, 255, 255, 0.3) 100%);
    background-size: 200% auto;
    color: transparent;
    -webkit-background-clip: text;
    background-clip: text;
    animation: shine 4s linear infinite;
}

@keyframes shine {
    to {
        background-position: 200% center;
    }
}

/* Title - Jump Effect */
.jump-title {
    font-size: clamp(2.5rem, 8vw, 5rem);
    font-weight: normal;
    line-height: 1.1;
    margin-bottom: 1.5rem;
    letter-spacing: -3px;
    color: var(--text-primary);
    white-space: normal;
    word-wrap: break-word;
    overflow-wrap: break-word;
    animation: fadeInUp 1s ease-out 0.2s both;
}

/* Fonte cursiva EXCLUSIVAMENTE no titulo "Luis Caldeira" */
#jump-title {
    font-family: 'BenedictCustom', 'Great Vibes', cursive !important;
    font-display: swap;
}

.jump-letter {
    display: inline-block;
    transition: transform 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    cursor: default;
}

.jump-letter:hover {
    transform: translateY(-15px);
}

/* Subtext & Neon Line */
.subtext-container {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
    margin-bottom: 3.5rem;
    animation: fadeInUp 1s ease-out 0.4s both;
}

.subtext {
    font-size: clamp(1.2rem, 2.5vw, 1.8rem);
    font-weight: 300;
    color: var(--text-primary);
    letter-spacing: -0.5px;
}

.neon-line {
    height: 1px;
    width: 50px;
    background: var(--neon-blue);
    box-shadow: 0 0 5px var(--neon-blue), 0 0 10px rgba(14, 165, 233, 0.3);
    border-radius: 2px;
    opacity: 0.6;
}

/* Buttons Base */
.demo-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.6rem;
    padding: 1.1rem 2.8rem;
    border-radius: 50px;
    font-weight: 600;
    text-decoration: none;
    font-size: 1.05rem;
    transition: all 0.3s cubic-bezier(0.25, 0.8, 0.25, 1);
}

.action-wrapper {
    animation: fadeInUp 1s ease-out 0.6s both;
    margin-bottom: 8rem;
    /* Spacing before the new scroll indicator */
}

/* Button variants */
.primary-demo {
    background: var(--text-primary);
    color: var(--bg-main);
    border: 2px solid var(--text-primary);
}

.primary-demo:hover {
    background: var(--bg-main);
    color: var(--text-primary);
    transform: translateY(-3px);
    box-shadow: 0 10px 25px rgba(255, 255, 255, 0.1);
}

/* Scroll Indicator Moderno */
.modern-scroll-indicator {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.8rem;
    margin-top: 2.5rem;
    text-decoration: none;
    opacity: 0.6;
    transition: opacity 0.3s ease;
    cursor: pointer;
}

.modern-scroll-indicator:hover {
    opacity: 1;
}

.modern-scroll-indicator .scroll-text {
    font-size: 0.8rem;
    font-weight: 500;
    letter-spacing: 2px;
    text-transform: uppercase;
    color: var(--text-secondary);
}

/* Horizontal Indicator Layout */
.horizontal-indicator {
    flex-direction: row;
}

.horizontal-indicator .scroll-arrow-container {
    width: 40px;
    height: 2px;
    background: rgba(255, 255, 255, 0.1);
    position: relative;
    border-radius: 2px;
    overflow: hidden;
}

.horizontal-indicator .scroll-arrow {
    position: absolute;
    top: 0;
    left: 0;
    height: 100%;
    width: 15px;
    background: var(--text-primary);
    border-radius: 2px;
    animation: scrollRight 1.5s cubic-bezier(0.6, 0.05, 0.15, 0.95) infinite;
}

@keyframes scrollRight {
    0% {
        left: -15px;
        opacity: 0;
    }

    15% {
        opacity: 1;
    }

    85% {
        opacity: 1;
    }

    100% {
        left: 40px;
        opacity: 0;
    }
}

.scroll-arrow-container {
    width: 2px;
    height: 40px;
    background: rgba(255, 255, 255, 0.1);
    position: relative;
    border-radius: 2px;
    overflow: hidden;
}

.scroll-arrow {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 15px;
    background: var(--text-primary);
    border-radius: 2px;
    animation: scrollDrop 1.5s cubic-bezier(0.6, 0.05, 0.15, 0.95) infinite;
}

@keyframes scrollDrop {
    0% {
        top: -15px;
        opacity: 0;
    }

    15% {
        opacity: 1;
    }

    85% {
        opacity: 1;
    }

    100% {
        top: 100%;
        opacity: 0;
    }
}

/* Scroll Indicator removido da Seção 1 */

/* Green WhatsApp Button (Top Bar) */
.green-btn {
    background: var(--whatsapp-green);
    color: var(--text-primary);
    border: 2px solid var(--whatsapp-green);
    padding: 0.5rem 1.2rem;
    /* Menor para caber na navbar */
    font-size: 0.85rem;
    border-radius: 50px;
    text-decoration: none;
    font-weight: 600;
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    transition: all 0.3s cubic-bezier(0.25, 0.8, 0.25, 1);
}

.green-btn:hover {
    background: transparent;
    color: var(--whatsapp-green);
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(37, 211, 102, 0.2);
}

/* Animações Iniciais */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes fadeInDown {
    from {
        opacity: 0;
        transform: translateY(-20px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Seção 2: Projetos Horizontal Scroll */
.portfolio-wrapper {
    position: relative;
    width: 100vw;
    height: 100vh;
    overflow: hidden;
}

.projects-section {
    position: absolute;
    top: 0;
    left: 100vw;
    /* Inicia fora da tela à direita */
    width: 100vw;
    height: 100vh;
    background-color: var(--bg-main);
    z-index: 2;
    /* Sobrepõe a Hero */
    overflow: visible;
    /* Necessário para ver os painéis à direita */
    box-shadow: -15px 0 30px rgba(0, 0, 0, 0.5);
    /* Sombra para destacar a sobreposição */
    will-change: transform;
    /* Otimização GSAP */
}

.horizontal-scroll-wrapper {
    width: 100%;
    height: 100vh;
    /* A altura será controlada pelo GSAP ScrollTrigger na div pai que ele envelopar */
}

.horizontal-scroll-container {
    display: flex;
    flex-wrap: nowrap;
    height: 100vh;
    width: max-content;
    will-change: transform;
    /* Otimização GSAP */
}

.scroll-panel {
    width: 100vw;
    height: 100vh;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    padding: 0 5%;
    flex-shrink: 0;
}

/* Painel Intro da Seção 2 */
.intro-panel {
    align-items: flex-start;
    padding-left: 5%;
    width: auto;
    padding-right: 2rem;
}

.intro-header {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 0.5rem;
    margin-bottom: 3rem;
}

.section-title {
    font-family: 'Inter', var(--font-primary), sans-serif;
    font-size: clamp(2.5rem, 6vw, 5rem);
    font-weight: 800;
    line-height: 1.1;
    letter-spacing: -3px;
    color: var(--text-primary);
    margin-bottom: 0px;
    transition: transform 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    cursor: default;
}

.section-title:hover {
    transform: scale(1.05) translateX(10px);
    /* Aumenta e move levemente para chamar atenção sem brilhar */
}

.micro-desc {
    font-size: clamp(1rem, 2vw, 1.4rem);
    font-weight: 500;
    color: var(--text-secondary);
    position: relative;
    top: 5px;
}

.scroll-indicator {
    display: none;
}

.arrow-icon {
    animation: bounceRight 2s infinite ease-in-out;
}

@keyframes bounceRight {

    0%,
    100% {
        transform: translateX(0);
    }

    50% {
        transform: translateX(10px);
    }
}

/* Painéis de Projeto (Vertical) */
.project-panel {
    width: auto;
    padding: 0 1rem;
}

.project-card {
    width: calc(55vh * (9/16));
    /* Força a largura para casar com 9:16 de 55vh */
    height: auto;
    display: flex;
    flex-direction: column;
    gap: 1rem;
    opacity: 0;
    transform: translateY(30px);
}

.project-video-placeholder {
    width: 100%;
    height: 55vh;
    /* Ocupa os 55vh de altura exatos aqui */
    aspect-ratio: 9/16;
    width: 100%;
    height: 100%;
    border-radius: 12px;
    background-color: #1a1a1a;
    position: relative;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 1px solid var(--glass-border);
    cursor: pointer;
    transition: transform 0.4s ease;
}

.project-video-placeholder:hover {
    transform: scale(1.02);
}

.project-video-placeholder.bg-1 {
    background: linear-gradient(135deg, #000, #1e3a8a);
}

.project-video-placeholder.bg-2 {
    background: linear-gradient(135deg, #000, #831843);
}

.project-video-placeholder.bg-3 {
    background: linear-gradient(135deg, #000, #14532d);
}

.project-video-placeholder.bg-4 {
    background: linear-gradient(135deg, #000, #9333ea);
}

.project-video-placeholder.bg-5 {
    background: linear-gradient(135deg, #000, #b45309);
}

.project-video-placeholder.bg-6 {
    background: linear-gradient(135deg, #000, #0f766e);
}

.play-btn {
    width: 60px;
    height: 60px;
    background: rgba(255, 255, 255, 0.15);
    /* Removido backdrop-filter para ganho de FPS no scroll horizontal */
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 1.5rem;
    padding-left: 4px;
    transition: all 0.3s ease;
    will-change: transform, background;
}

.project-video-placeholder:hover .play-btn {
    background: var(--text-primary);
    color: #000;
    transform: scale(1.1);
}

/* Novo layout das informações abaixo do card */
.project-details {
    display: flex;
    flex-direction: column;
    gap: 0.3rem;
    padding: 0.5rem 0.2rem;
    width: 100%;
}

.project-category {
    font-size: 0.75rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    color: var(--neon-blue);
    opacity: 0.9;
}

.project-title {
    font-size: 1.4rem;
    font-weight: 700;
    color: var(--text-primary);
    line-height: 1.2;
    margin: 0;
}

.project-desc {
    font-size: 0.95rem;
    color: var(--text-secondary);
    line-height: 1.4;
    font-weight: 400;
    margin-top: 0.2rem;
}

/* Métricas */
.metrics-panel {
    width: auto;
    padding: 0 4rem;
}

.metrics-card {
    background: rgba(11, 26, 48, 0.8);
    border: 1px solid rgba(255, 255, 255, 0.05);
    border-radius: 24px;
    padding: clamp(2rem, 4vw, 3rem) clamp(2rem, 5vw, 4.5rem);
    display: flex;
    flex-direction: column;
    gap: 2rem;
    align-items: center;
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.5), inset 0 0 0 1px rgba(255, 255, 255, 0.05);
    transition: transform 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275), box-shadow 0.4s ease, border-color 0.4s ease;
    max-width: 500px;
    width: 100%;
    position: relative;
    overflow: hidden;
    will-change: transform, box-shadow;
}

.metrics-card::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle, rgba(14, 165, 233, 0.1) 0%, transparent 70%);
    opacity: 0;
    transition: opacity 0.5s ease;
    pointer-events: none;
}

/* Painel de Clientes (Logo Grid) */
.clients-panel {
    width: auto;
    padding: 0 4rem;
}

.clients-card {
    background: rgba(11, 26, 48, 0.8);
    border: 1px solid rgba(255, 255, 255, 0.05);
    border-radius: 24px;
    padding: 2.5rem 3rem;
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
    align-items: center;
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.5), inset 0 0 0 1px rgba(255, 255, 255, 0.05);
    max-width: 450px;
    width: 100%;
    position: relative;
    overflow: hidden;
    transition: transform 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275), box-shadow 0.4s ease, border-color 0.4s ease;
}

.clients-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 30px 60px rgba(14, 165, 233, 0.1), inset 0 0 0 1px rgba(14, 165, 233, 0.2);
    border-color: rgba(14, 165, 233, 0.5);
}

.clients-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.5rem;
    width: 100%;
}

.client-logo-placeholder {
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.05);
    border-radius: 12px;
    padding: 2rem 1.5rem;
    display: flex;
    align-items: center;
    justify-content: center;
    color: rgba(255, 255, 255, 0.3);
    font-weight: 600;
    font-size: 0.8rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    transition: all 0.3s ease;
}

.client-logo-placeholder:hover {
    background: rgba(255, 255, 255, 0.1);
    color: rgba(255, 255, 255, 0.8);
    border-color: rgba(255, 255, 255, 0.2);
    transform: translateY(-3px);
}

.metrics-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 30px 60px rgba(14, 165, 233, 0.2), inset 0 0 0 1px rgba(14, 165, 233, 0.4);
    border-color: var(--neon-blue);
    background: #0b1a30;
}

.metrics-card:hover::before {
    opacity: 1;
    background: radial-gradient(circle, rgba(14, 165, 233, 0.25) 0%, transparent 80%);
}

.metrics-header {
    text-align: center;
    margin-bottom: 0.5rem;
    position: relative;
    z-index: 1;
}

.metrics-title {
    font-size: 1.8rem;
    font-weight: 800;
    color: var(--text-primary);
    margin-bottom: 0.3rem;
    letter-spacing: -1px;
}

.metrics-subtitle {
    font-size: 0.95rem;
    color: var(--neon-blue);
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    opacity: 0.9;
}

.metrics-content {
    display: flex;
    flex-direction: column;
    gap: 2.5rem;
    align-items: center;
    justify-content: center;
    width: 100%;
    position: relative;
    z-index: 1;
}

.metric-description {
    font-size: 1.15rem;
    color: var(--text-secondary);
    text-align: center;
    line-height: 1.6;
    font-weight: 400;
}

.metrics-list {
    display: flex;
    flex-direction: column;
    gap: 2rem;
    width: 100%;
}

.metric-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.2rem;
    text-align: center;
    width: 100%;
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
    padding-bottom: 2rem;
}

.metric-item:last-child {
    border-bottom: none;
    padding-bottom: 0;
}

.metric-number {
    font-size: 3.8rem;
    font-weight: 800;
    letter-spacing: -2px;
    margin: 0;
    line-height: 1;
}

.metric-label {
    font-size: 0.9rem;
    color: var(--text-secondary);
    text-transform: uppercase;
    letter-spacing: 2px;
    font-weight: 500;
    margin-top: 0.5rem;
}

.end-panel {
    width: 50vw;
}

/* Seção 3: Contato */
.contact-section {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    min-height: 100vh;
    background-color: #e5e5e5;
    /* Branco escurecido, confortável pra leitura */
    z-index: 10;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    -webkit-clip-path: circle(0% at 50% 50vh);
    clip-path: circle(0% at 50% 50vh);
    will-change: transform, clip-path, -webkit-clip-path;
    overflow: hidden;
    transform-origin: center center;
}

.contact-content {
    text-align: center;
    max-width: 1000px;
    padding: 2rem;
    opacity: 0;
    transform: translateY(60px);
    width: 100%;
}

.contact-title-custom {
    color: #09090b;
    /* Preto profundo para contraste máximo */
    margin-bottom: 0.8rem;
}

.contact-desc {
    font-size: clamp(1rem, 2vw, 1.35rem);
    color: #3f3f46;
    font-weight: 500;
    margin-bottom: 3.5rem;
    text-wrap: balance;
    max-width: 90%;
    margin-left: auto;
    margin-right: auto;
}

.highlight-invite {
    text-wrap: balance;
    max-width: 90%;
    margin-left: auto;
    margin-right: auto;
}

.contact-cards {
    display: flex;
    gap: 2rem;
    justify-content: center;
    flex-wrap: wrap;
}

.contact-card {
    background-color: #000000;
    color: #ffffff;
    padding: 2.5rem 2rem;
    border-radius: 16px;
    flex: 1;
    min-width: 280px;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    transition: transform 0.4s ease, box-shadow 0.4s ease, border-color 0.4s ease;
    border: 1px solid rgba(255, 255, 255, 0.1);
    position: relative;
    box-shadow: 0 25px 50px rgba(0, 0, 0, 0.4), 0 10px 20px rgba(0, 0, 0, 0.2);
    /* Sombra projetada default MUITO mais forte */
}

.glow-card::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 0;
    height: 0;
    background: transparent;
    border-radius: 50%;
    transform: translate(-50%, -50%);
    transition: width 0.6s ease, height 0.6s ease, background 0.6s ease, opacity 0.6s ease;
    opacity: 0;
    z-index: 0;
    pointer-events: none;
}

/* Specific Glow Colors */
.ig-glow::before {
    background: radial-gradient(circle, rgba(225, 48, 108, 0.15) 0%, transparent 70%);
}

.wa-glow::before {
    background: radial-gradient(circle, rgba(37, 211, 102, 0.15) 0%, transparent 70%);
}

.mail-glow::before {
    background: radial-gradient(circle, rgba(234, 67, 53, 0.15) 0%, transparent 70%);
}

.contact-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 40px 80px rgba(0, 0, 0, 0.7), 0 20px 40px rgba(0, 0, 0, 0.5);
    /* Sombra colossal no hover */
    border-color: rgba(255, 255, 255, 0.3);
}

.glow-card:hover::before {
    width: 200%;
    height: 200%;
    opacity: 1;
}

.card-icon,
.contact-card h3,
.contact-card p,
.contact-btn {
    position: relative;
    z-index: 1;
    /* Keep content above glow */
}

.card-icon {
    margin-bottom: 1.5rem;
    display: flex;
    align-items: center;
    justify-content: center;
}

.ig-contact-icon {
    stroke: url(#ig-grad);
}

.contact-card h3 {
    font-size: 1.5rem;
    margin-bottom: 1rem;
    font-weight: 700;
}

.contact-card p {
    font-size: 1rem;
    color: #a1a1aa;
    margin-bottom: 2rem;
    line-height: 1.5;
    flex-grow: 1;
}

.contact-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0.9rem 2rem;
    background-color: #ffffff;
    color: #000000;
    text-decoration: none;
    font-weight: 600;
    border-radius: 50px;
    transition: background-color 0.3s ease, transform 0.3s ease, color 0.3s ease;
    width: 100%;
    font-size: 1rem;
    cursor: pointer;
}

.contact-btn:hover {
    background-color: #e4e4e7;
    transform: scale(1.03);
}

.email-address-text {
    font-family: monospace;
    font-size: 0.9rem !important;
    letter-spacing: -0.5px;
    color: #a1a1aa !important;
}

/* Seção 4: Processo */
.process-section {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    min-height: 100vh;
    background-color: #000000;
    z-index: 11;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: flex-start;
    -webkit-clip-path: circle(0% at 50% 50vh);
    clip-path: circle(0% at 50% 50vh);
    will-change: transform, clip-path, -webkit-clip-path;
}

.process-section.active-overlay {
    z-index: 15;
    /* Passa por cima da seção 3 ao ativar */
}

/* Classe ativada via JS quando termina a expansão da Section 4 */
.process-section.allow-scroll {
    overflow-y: auto;
}

.process-content {
    text-align: center;
    max-width: 1200px;
    /* Alargado para caber o grid */
    padding: 6rem 2rem 4rem 2rem;
    /* Mais respiro no topo e no fundo */
    width: 100%;
    margin: 0 auto;
    position: relative;
    z-index: 1;
    /* Fica acima das partículas */
}

/* Fundo de Partículas Minimalistas Animadas */
.particles-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: radial-gradient(rgba(255, 255, 255, 0.15) 1.5px, transparent 1.5px);
    background-size: 50px 50px;
    z-index: 0;
    pointer-events: none;
    opacity: 0.6;
    animation: driftParticles 40s linear infinite;
}

@keyframes driftParticles {
    0% {
        background-position: 0 0;
    }

    100% {
        background-position: 100px 100px;
    }
}

.process-header {
    align-items: center;
    margin-bottom: 4rem;
    /* Distância do header para o primeiro nó */
}

.process-title {
    margin-bottom: 1.5rem;
    text-shadow: none !important;
    transition: transform 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275), letter-spacing 0.4s ease, opacity 0.4s ease;
    cursor: default;
}

.process-title:hover {
    transform: translateY(-3px) scale(1.01);
    letter-spacing: 0.02em;
    opacity: 0.9;
}

/* Timeline Nodal (estilo Fusion DaVinci) Agora em Grid */
.nodal-timeline {
    position: relative;
    max-width: 1200px;
    width: 100%;
    margin: 0 auto;
    padding: 2rem 0;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(330px, 1fr));
    gap: 2rem;
}

@media (min-width: 1024px) {
    .cta-node-wrapper {
        grid-column: span 2;
    }
}

/* Linha conectora vertical (Ocultada com o novo layout Grid) */
.nodal-connection-line {
    display: none;
}

/* Wrapper individual para cada nódulo */
.node-wrapper {
    position: relative;
    z-index: 1;
    display: flex;
    justify-content: flex-start;
}

/* Nó do Processo principal */
.node-item {
    background: rgba(15, 15, 15, 0.4);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    border: 1px solid rgba(255, 255, 255, 0.05);
    border-radius: 16px;
    /* Cantos um pouco mais arredondados */
    padding: 2rem 2.5rem;
    width: 100%;
    display: grid;
    grid-template-columns: 54px 1fr;
    grid-template-rows: auto auto;
    column-gap: 1.5rem;
    row-gap: 0.5rem;
    align-items: center;
    text-align: left;
    box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.02), 0 10px 30px rgba(0, 0, 0, 0.6);
    transition: transform 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275), box-shadow 0.4s ease, border-color 0.4s ease, background 0.4s ease;
    position: relative;
    overflow: hidden;
}

.node-item:hover {
    transform: translateY(-8px);
    /* Mudado para animação flutuante para cima em desktop grid */
    background: rgba(25, 25, 25, 0.6);
    box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.05), 0 20px 40px rgba(0, 0, 0, 0.8);
    border-color: rgba(255, 255, 255, 0.15);
}

/* Borda brilhante à esquerda estilo categoria do Fusion */
.node-item::before {
    content: '';
    position: absolute;
    top: 0;
    bottom: 0;
    left: 0;
    width: 4px;
    /* Linha de categoria cor */
}

/* Cores Típicas de Workflow Cinematográfico (Fusion) */
.node-setup::before {
    background-color: #a4b0be;
    box-shadow: 0 0 10px rgba(164, 176, 190, 0.5);
}

.node-tool::before {
    background-color: #f7b731;
    box-shadow: 0 0 10px rgba(247, 183, 49, 0.5);
}

.node-media::before {
    background-color: #4b6584;
    box-shadow: 0 0 10px rgba(75, 101, 132, 0.5);
}

.node-audio::before {
    background-color: #f1c40f;
    box-shadow: 0 0 10px rgba(241, 196, 15, 0.5);
}

.node-effect::before {
    background-color: #2bcbba;
    box-shadow: 0 0 10px rgba(43, 203, 186, 0.5);
}

.node-color::before {
    background-color: #fc5c65;
    box-shadow: 0 0 10px rgba(252, 92, 101, 0.5);
}

.node-complete::before {
    background-color: #8e44ad;
    box-shadow: 0 0 10px rgba(142, 68, 173, 0.5);
}

.node-output::before {
    background-color: #fd9644;
    box-shadow: 0 0 10px rgba(253, 150, 68, 0.5);
}

.node-davinci::before {
    background: linear-gradient(180deg, #ff4757, #ff6b81);
    box-shadow: 0 0 10px rgba(255, 71, 87, 0.6);
}


/* Cabeçalho do Nó: Ícone + Título */
.node-header {
    display: contents;
    /* Break out children into parent CSS grid */
}

/* Bolinha do ícone que funciona como o "pino" no cabo conector */
.node-icon {
    grid-column: 1;
    grid-row: 1 / span 2;
    align-self: center;
    /* Center horizontally between rows */
    width: 54px;
    /* Levemente maior */
    height: 54px;
    border-radius: 14px;
    background: rgba(255, 255, 255, 0.03);
    /* Transparente moderno */
    backdrop-filter: blur(8px);
    border: 1px solid rgba(255, 255, 255, 0.15);
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    z-index: 2;
    /* Fica acima da linha */
    box-shadow: inset 0 2px 10px rgba(255, 255, 255, 0.05), 0 4px 15px rgba(0, 0, 0, 0.6);
    transition: all 0.3s ease;
}

.node-item:hover .node-icon {
    background: rgba(255, 255, 255, 0.1);
    box-shadow: inset 0 2px 10px rgba(255, 255, 255, 0.1), 0 4px 20px rgba(0, 0, 0, 0.8);
    transform: scale(1.05);
}

.node-header h4 {
    grid-column: 2;
    grid-row: 1;
    align-self: end;
    /* Fix title to the bottom of the row closer to description */
    font-size: 1.6rem;
    /* Título com mais presença */
    font-weight: 600;
    color: #ffffff;
    margin: 0;
    letter-spacing: -0.5px;
}

/* Corpo do Nó */
.node-body {
    grid-column: 2;
    grid-row: 2;
    align-self: start;
    padding-left: 0;
    /* Remove old custom compensation */
}

.node-body p {
    color: #a1a1aa;
    font-size: 1.1rem;
    /* Fonte mais fácil de ler */
    line-height: 1.65;
    margin: 0;
}

.cta-node-wrapper {
    background: rgba(14, 165, 233, 0.05);
    /* Leve tom neon do fundo */
    border: 1px solid rgba(14, 165, 233, 0.2);
    border-radius: 16px;
    padding: 2.5rem 2rem;
    height: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    transition: transform 0.3s ease, box-shadow 0.3s ease, border-color 0.3s ease;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.4);
}

.cta-node-wrapper:hover {
    transform: translateY(-5px);
    border-color: rgba(14, 165, 233, 0.4);
    box-shadow: 0 10px 30px rgba(14, 165, 233, 0.1);
}

.process-cta-inner {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    gap: 1.5rem;
}

.process-cta {
    margin-top: 5rem;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1.5rem;
    position: relative;
    z-index: 2;
}

.process-cta-text {
    font-size: 1.5rem;
    color: var(--text-primary);
    font-weight: 500;
}

/* Footer Section / Seção 7 */
.footer-section {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100vh;
    background: var(--bg-main);
    z-index: 10000;
    /* Alto Z-index para sobrepor e não esconder atrás */
    display: flex;
    align-items: center;
    justify-content: center;
    visibility: hidden;
    /* Gerenciado pelo GSAP no desktop */
    overflow: hidden;
}

.footer-content {
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    align-items: center;
    height: 100%;
    width: 100%;
    padding: 8vh 5%;
    max-width: 1200px;
    margin: 0 auto;
}

.footer-top {
    flex-grow: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
}

.footer-logo {
    width: clamp(120px, 20vw, 180px);
    height: auto;
    border-radius: 50%;
    object-fit: cover;
    margin-bottom: 2rem;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
    border: 2px solid rgba(255, 255, 255, 0.1);
}

.footer-thanks {
    font-size: clamp(2rem, 5vw, 3.5rem);
    font-weight: 700;
    letter-spacing: -1px;
    color: var(--text-primary);
    margin-bottom: 0.5rem;
    text-wrap: balance;
}

.footer-subtext {
    font-size: 1.2rem;
    color: var(--text-secondary);
    margin-bottom: 2.5rem;
    font-weight: 400;
}

.footer-bottom {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 1.5rem;
    width: 100%;
    padding-top: 2rem;
    border-top: 1px solid rgba(255, 255, 255, 0.05);
}

.footer-rights {
    font-size: 0.85rem;
    color: rgba(255, 255, 255, 0.4);
    font-weight: 400;
    text-align: center;
}

.footer-back-top {
    background: none;
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 30px;
    color: var(--text-primary);
    font-size: 0.85rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    cursor: pointer;
    opacity: 0.8;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.6rem 1.5rem;
}

.footer-back-top:hover {
    opacity: 1;
    color: #000;
    background: var(--text-primary);
    transform: translateY(-2px);
}

@media (max-width: 768px) {
    .footer-thanks {
        font-size: 2.5rem;
    }

    .footer-section {
        position: relative;
        /* Fluxo normal no mobile, acompanhando o native scroll */
        height: auto;
        min-height: 100vh;
        z-index: 10;
        visibility: visible;
        opacity: 1;
    }
}

.process-cta-btn {
    font-size: 1.1rem;
    padding: 1.2rem 3.5rem;
    cursor: pointer;
}

/* Capitalização específica para o subtext do Processo */
.process-subtext .subtext {
    text-transform: none;
    /* Desativa o UPPERCASE global */
    letter-spacing: 1.5px;
    /* Menor gap para letras minúsculas */
    text-wrap: balance;
    /* Elimina text widows (palavras viúvas) */
}

/* Responsivo */
@media (max-width: 992px) {
    .metric-number {
        font-size: clamp(2.5rem, 6vw, 3.5rem);
    }

    .metric-label {
        font-size: 0.9rem;
    }

    .project-panel {
        width: 90vw;
    }

    .project-info h3 {
        font-size: 2rem;
    }
}

@media (max-width: 768px) {
    .navbar.minimal {
        flex-direction: column;
        gap: 1rem;
        padding: 1rem;
    }

    .demo-btn {
        width: 100%;
        max-width: 300px;
        padding: 1.2rem;
    }

    .action-wrapper {
        width: 100%;
        max-width: 300px;
    }

    .social-actions {
        flex-wrap: wrap;
        justify-content: center;
    }

    /* Desativa Scroll Horizontal no Mobile, empilha as seções */
    .portfolio-wrapper {
        height: auto;
        overflow: visible;
    }

    .projects-section {
        position: relative;
        left: 0;
        width: 100%;
        height: auto;
        box-shadow: none;
    }

    .horizontal-scroll-container {
        flex-direction: column;
        height: auto;
        width: 100%;
    }

    .scroll-panel {
        width: 100%;
        height: auto;
        padding: 5rem 5%;
        min-height: 80vh;
    }

    .intro-panel {
        padding-left: 5%;
    }

    .intro-header {
        flex-direction: column;
        align-items: flex-start;
        gap: 0.5rem;
    }

    /* Ajuste para não quebrar a largura forçada em telas pequenas (caso queira ocupar 100%) */
    .project-card {
        width: calc(55vh * (9/16));
        max-width: calc(55vh * (9/16));
        min-width: calc(55vh * (9/16));
        height: auto;
        opacity: 1;
        transform: translateY(0);
        margin: 0 auto;
        word-wrap: break-word;
        /* Ensure text children wrap */
    }

    .project-video-placeholder {
        height: auto;
        aspect-ratio: 9/16;
    }

    .project-panel {
        width: 100%;
    }

    .feedback-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 1.5rem;
    }

    .metrics-panel {
        width: 100%;
        padding: 4rem 5%;
        min-height: auto;
        display: flex;
        justify-content: center;
    }

    .metrics-card {
        width: 100%;
        max-width: 350px;
        margin: 0 auto;
    }

    .metrics-content {
        flex-direction: column;
        flex-wrap: nowrap;
        gap: 1.5rem;
    }

    .metrics-list {
        flex-direction: column;
        gap: 1.5rem;
    }

    .clients-card {
        max-width: 100%;
        padding: 2rem 1.5rem;
    }

    .clients-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 1rem;
    }

    .contact-cards {
        flex-direction: column;
        align-items: center;
    }

    .contact-card {
        min-width: unset;
        width: 100%;
        max-width: 400px;
    }

    .nodal-timeline {
        grid-template-columns: 1fr;
    }

    .node-header h4 {
        font-size: 1.3rem;
    }

    .node-body p {
        font-size: 1rem;
    }

    .footer-thanks {
        font-size: 2rem;
    }
}

@media (max-width: 480px) {
    .feedback-grid {
        grid-template-columns: 1fr;
    }

    .footer-content {
        padding: 4vh 4%;
    }

    .journey-logo-container {
        width: 150px;
        height: 150px;
    }
}

/* Seção 5: Depoimentos */
.testimonials-section {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    min-height: 100vh;
    background-color: #000000;
    /* Preto absoluto */
    z-index: 12;
    /* Acima da section 4 (11) */
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: flex-start;
    /* FIX: Evita que itens saiam por cima quando excedem height */
    -webkit-clip-path: circle(0% at 50% 50vh);
    clip-path: circle(0% at 50% 50vh);
    will-change: transform, clip-path, -webkit-clip-path;
}

.testimonials-content {
    text-align: center;
    max-width: 1000px;
    padding: 4rem 2rem 8rem 2rem;
    width: 100%;
    margin: 0 auto;
    position: relative;
    z-index: 1;
}

/* Grid de Prints Estático */
.feedback-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 2.5rem;
    width: 100%;
    margin: 3rem auto 2rem auto;
}

.feedback-card {
    width: 100%;
    border-radius: 18px;
    overflow: hidden;
    border: 1px solid rgba(255, 255, 255, 0.08);
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.6), inset 0 0 0 1px rgba(255, 255, 255, 0.05);
    background: rgba(15, 23, 42, 0.8);
    backdrop-filter: blur(10px);
    transition: transform 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275), border-color 0.4s ease, box-shadow 0.4s ease;
    display: flex;
    align-items: flex-start;
    justify-content: center;
    position: relative;
    cursor: pointer;
}

.feedback-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    box-shadow: inset 0 0 30px rgba(14, 165, 233, 0);
    transition: box-shadow 0.4s ease;
    pointer-events: none;
    z-index: 2;
}

.feedback-card:hover {
    transform: translateY(-12px) scale(1.05) rotateZ(1deg);
    border-color: rgba(14, 165, 233, 0.4);
    box-shadow: 0 25px 50px rgba(14, 165, 233, 0.15), 0 10px 20px rgba(0, 0, 0, 0.8);
    z-index: 10;
}

.feedback-card:hover::before {
    box-shadow: inset 0 0 30px rgba(14, 165, 233, 0.2);
}

.feedback-card img {
    width: 100%;
    height: auto;
    display: block;
    z-index: 1;
    position: relative;
    border-radius: 16px;
}



/* Disclaimer */
.disclaimer {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.6rem;
    color: var(--text-secondary);
    font-size: 0.85rem;
    margin-bottom: 2rem;
    opacity: 0.7;
    font-weight: 400;
}

.disclaimer-icon {
    color: var(--whatsapp-green);
}

.test-cta-text {
    font-size: 1.25rem;
    color: var(--text-secondary);
    font-weight: 500;
    margin-bottom: 1.5rem;
}


/* Seção 6: Jornada */
.journey-section {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    min-height: 100vh;
    background-color: #000000;
    z-index: 13;
    /* Acima da section 5 (12) */
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    /* Changed from center to prevent horizontal centering of max-content row */
    justify-content: center;
    /* Vertically center */
    -webkit-clip-path: circle(0% at 50% 50vh);
    clip-path: circle(0% at 50% 50vh);
    will-change: transform, clip-path, -webkit-clip-path;
}

.journey-scroll-container {
    width: 100%;
    min-width: 100vw;
}

.journey-logo-container {
    width: 250px;
    height: 250px;
    border-radius: 50%;
    overflow: hidden;
    border: 3px solid rgba(255, 255, 255, 0.1);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.8), 0 0 20px rgba(14, 165, 233, 0.1);
    transition: transform 0.5s cubic-bezier(0.175, 0.885, 0.32, 1.275), box-shadow 0.5s ease, border-color 0.5s ease;
    cursor: pointer;
    flex-shrink: 0;
}

.journey-logo-container:hover {
    transform: scale(1.05) rotate(2deg);
    box-shadow: 0 20px 40px rgba(14, 165, 233, 0.3), inset 0 0 15px rgba(14, 165, 233, 0.2);
    border-color: rgba(14, 165, 233, 0.5);
}

.journey-logo {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.journey-animated-text {
    line-height: 1.6;
    color: var(--text-secondary);
    width: 100%;
}

.journey-text-card {
    min-width: 800px;
    flex-basis: 950px;
    flex-shrink: 0;
}

.blur-word {
    display: inline-block;
    will-change: opacity, filter;
    margin-right: 0.25em;
    margin-bottom: 0.2em;
}

/* GSAP sets this class to hide words before the stagger reveal animation */
.blur-word.blur-hidden {
    opacity: 0;
    filter: blur(10px);
}

.circular-chart {
    display: block;
    margin: 0 auto;
    max-width: 80%;
    max-height: 250px;
}

/* Hover effects for Journey Cards */
.journey-text-card {
    transition: transform 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275), box-shadow 0.4s ease;
}

.journey-text-card:hover {
    transform: translateY(-8px) scale(1.02);
    box-shadow: 0 30px 60px rgba(0, 0, 0, 0.6), 0 0 20px rgba(255, 255, 255, 0.05);
}

/* Ajustes Responsive Seção 6 */
@media (max-width: 900px) {
    .journey-content-panel {
        flex-direction: column !important;
        text-align: center;
        gap: 3rem !important;
        padding: 0 5vw !important;
        margin-top: 5vh;
    }

    .journey-content-panel .process-header {
        text-align: center !important;
    }

    .journey-content-panel .process-subtext {
        align-items: center !important;
    }

    .journey-logo-container {
        width: 180px;
        height: 180px;
    }

    .journey-animated-text {
        font-size: 1.15rem !important;
    }

    .journey-text-card {
        max-width: 90vw !important;
        max-height: 85vh;
        overflow-y: auto;
    }

    .journey-text-card>div:nth-child(2) {
        padding: 2rem !important;
    }

    .journey-metrics-card {
        flex-direction: column !important;
        gap: 2rem !important;
    }
}

/* =========================================================================
   Fixed UI Elements (Botões Globais)
   ========================================================================= */

.fixed-btn-home,
.fixed-btn-contact {
    position: fixed;
    z-index: 9999;
    padding: 0.8rem 1.6rem;
    border-radius: 50px;
    font-size: 0.95rem;
    font-weight: 600;
    cursor: pointer;
    border: none;
    transition: all 0.3s ease-in-out;
    opacity: 0;
    pointer-events: none;
    visibility: hidden;
    text-decoration: none;
}

/* Visibilidade ativada via JS */
.fixed-btn-home.show,
.fixed-btn-contact.show {
    opacity: 1;
    pointer-events: auto;
    visibility: visible;
}

/* Botão Inicial (Home) */
.fixed-btn-home {
    top: 2rem;
    left: 2rem;
    background-color: #ffffff;
    color: #000000;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
    transform: translateY(-20px);
}

.fixed-btn-home.show {
    transform: translateY(0);
}

.fixed-btn-home:hover {
    background-color: #000000;
    color: #ffffff;
    box-shadow: 0 4px 12px rgba(255, 255, 255, 0.15);
}

/* Botão Contato (Seção 2) */
.fixed-btn-contact {
    bottom: 2.5rem;
    left: 50%;
    transform: translateX(-50%) translateY(20px);
    background-color: #ffffff;
    color: #000000;
    border: 1px solid #ffffff;
}

.fixed-btn-contact.show {
    transform: translateX(-50%) translateY(0);
}

.fixed-btn-contact:hover {
    background-color: #000000;
    color: #ffffff;
    border-color: #000000;
    transform: translateX(-50%) translateY(-2px);
    box-shadow: 0 4px 12px rgba(255, 255, 255, 0.15);
}

/* Botão WhatsApp Flutuante (Mobile Only) */
.floating-wa-btn {
    position: fixed;
    bottom: 1.5rem;
    right: 1.5rem;
    width: 56px;
    height: 56px;
    background-color: var(--whatsapp-green);
    color: white;
    border-radius: 50%;
    display: none;
    /* Desktop hidden */
    align-items: center;
    justify-content: center;
    box-shadow: 0 4px 16px rgba(37, 211, 102, 0.4);
    z-index: 10000;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.floating-wa-btn:active {
    transform: scale(0.95);
}

@media (max-width: 768px) {
    .floating-wa-btn {
        display: flex;
    }
}

/* Footer Section / Seção 7 */
.footer-section {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100vh;
    background: var(--bg-main);
    z-index: 10000;
    /* Alto Z-index para sobrepor e não esconder atrás */
    display: flex;
    align-items: center;
    justify-content: center;
    visibility: hidden;
    /* Gerenciado pelo GSAP no desktop */
    overflow: hidden;
}

.footer-content {
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    align-items: center;
    height: 100%;
    width: 100%;
    padding: 8vh 5%;
    max-width: 1200px;
    margin: 0 auto;
}

.footer-top {
    flex-grow: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
}

.footer-logo {
    width: 40px;
    height: 40px;
    border-radius: 12px;
    object-fit: cover;
    margin-bottom: 1.5rem;
    border: 2px solid rgba(255, 255, 255, 0.1);
    transition: transform 0.4s ease, filter 0.4s ease;
}

.footer-logo:hover {
    transform: scale(1.08);
    filter: drop-shadow(0 6px 20px rgba(14, 165, 233, 0.4));
}

/* Client Logo Images */
.client-logo-placeholder img {
    max-width: 100%;
    max-height: 100%;
    object-fit: contain;
    filter: grayscale(100%) brightness(0.7);
    transition: filter 0.3s ease;
}

.client-logo-placeholder:hover img {
    filter: grayscale(0%) brightness(1);
}

.footer-thanks {
    font-size: 3.5rem;
    font-weight: 700;
    letter-spacing: -1px;
    color: var(--text-primary);
    margin-bottom: 0.5rem;
    text-wrap: balance;
    transition: text-shadow 0.4s ease, transform 0.4s ease;
    cursor: default;
}

.footer-thanks:hover {
    text-shadow: 0 0 20px rgba(14, 165, 233, 0.4), 0 0 40px rgba(14, 165, 233, 0.15);
    transform: scale(1.02);
}

.footer-subtext {
    font-size: 1.25rem;
    color: var(--text-secondary);
    margin-bottom: 3.5rem;
    font-weight: 400;
}



.footer-cta-btn {
    font-size: 1.35rem;
    padding: 1.25rem 4rem;
    border-radius: 40px;
    font-weight: 600;
    letter-spacing: 0.5px;
    box-shadow: 0 10px 30px rgba(14, 165, 233, 0.25);
}

.footer-cta-caption {
    font-size: 0.95rem;
    color: var(--text-secondary);
    margin-top: 1rem;
    font-weight: 400;
    opacity: 0.7;
    letter-spacing: 0.3px;
}

.footer-social-icons {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 1.5rem;
    margin-top: 2rem;
}

.footer-social-link {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 48px;
    height: 48px;
    border-radius: 50%;
    border: 1px solid rgba(255, 255, 255, 0.15);
    color: var(--text-secondary);
    transition: all 0.3s ease;
    background: rgba(255, 255, 255, 0.03);
}

.footer-social-link:hover {
    transform: translateY(-3px) scale(1.1);
}

.footer-social-ig:hover {
    border-color: rgba(225, 48, 108, 0.5);
    background: rgba(225, 48, 108, 0.08);
    box-shadow: 0 8px 20px rgba(225, 48, 108, 0.2);
}

.footer-social-tt:hover {
    border-color: rgba(37, 244, 238, 0.5);
    background: rgba(254, 44, 85, 0.08);
    box-shadow: 0 8px 20px rgba(254, 44, 85, 0.2);
}

.footer-bottom {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 1.5rem;
    width: 100%;
    padding-top: 2rem;
    border-top: 1px solid rgba(255, 255, 255, 0.05);
}

.footer-rights {
    font-size: 0.85rem;
    color: rgba(255, 255, 255, 0.4);
    font-weight: 400;
    text-align: center;
}

.footer-back-top {
    background: none;
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 30px;
    color: var(--text-primary);
    font-size: 0.85rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    cursor: pointer;
    opacity: 0.8;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.6rem 1.5rem;
}

.footer-back-top:hover {
    opacity: 1;
    color: #000;
    background: var(--text-primary);
    transform: translateY(-2px);
}

@media (max-width: 768px) {
    .footer-thanks {
        font-size: 2.5rem;
    }

    .footer-section {
        position: relative;
        /* Fluxo normal no mobile, acompanhando o native scroll */
        height: auto;
        min-height: 100vh;
        z-index: 10;
        visibility: visible;
        opacity: 1;
    }
}

/* =========================================================================
   Video Wrapper (Section 2 - Click to Play)
   ========================================================================= */

.project-video-wrapper {
    position: relative;
    width: 100%;
    aspect-ratio: 9 / 16;
    border-radius: 18px;
    overflow: hidden;
    cursor: pointer;
    background: #0a0a0a;
}

.project-video-wrapper .video-thumbnail {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: transform 0.4s ease, filter 0.3s ease;
}

.project-video-wrapper:hover .video-thumbnail {
    transform: scale(1.05);
    filter: brightness(0.7);
}

.project-video-wrapper .play-btn {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    z-index: 2;
    transition: transform 0.3s ease, opacity 0.3s ease;
}

.project-video-wrapper:hover .play-btn {
    transform: translate(-50%, -50%) scale(1.2);
}

.project-video-wrapper iframe {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    border: none;
    border-radius: 18px;
}

/* =========================================================================
   Footer Gallery CTA
   ========================================================================= */

.footer-gallery-cta {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.8rem;
    margin-top: 2.5rem;
}

.footer-gallery-btn {
    background: transparent;
    border: 1px solid rgba(255, 255, 255, 0.25);
    color: var(--text-primary);
    font-size: 1rem;
    padding: 0.9rem 2.5rem;
    border-radius: 40px;
    font-weight: 600;
    letter-spacing: 0.5px;
    cursor: pointer;
    transition: all 0.3s ease;
}

.footer-gallery-btn:hover {
    background: rgba(255, 255, 255, 0.08);
    border-color: rgba(14, 165, 233, 0.5);
    box-shadow: 0 6px 20px rgba(14, 165, 233, 0.15);
    transform: translateY(-2px);
}

/* =========================================================================
   Gallery Modal
   ========================================================================= */

.gallery-modal {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 99999;
    display: none;
    align-items: center;
    justify-content: center;
}

.gallery-modal.active {
    display: flex;
}

.gallery-modal-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.92);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
}

.gallery-modal-content {
    position: relative;
    z-index: 2;
    width: 100vw;
    height: 100vh;
    max-width: 100vw;
    max-height: 100vh;
    overflow-y: auto;
    padding: 10vh 5vw;
    margin: 0;
    scrollbar-width: thin;
    scrollbar-color: rgba(255, 255, 255, 0.15) transparent;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.gallery-modal-content::-webkit-scrollbar {
    width: 6px;
}

.gallery-modal-content::-webkit-scrollbar-track {
    background: transparent;
}

.gallery-modal-content::-webkit-scrollbar-thumb {
    background: rgba(255, 255, 255, 0.15);
    border-radius: 3px;
}

.gallery-close-btn {
    position: fixed;
    top: 1.5rem;
    right: 2rem;
    background: none;
    border: 1px solid rgba(255, 255, 255, 0.2);
    color: var(--text-primary);
    font-size: 2.5rem;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
    z-index: 3;
    line-height: 1;
}

.gallery-close-btn:hover {
    background: rgba(255, 255, 255, 0.1);
    border-color: rgba(255, 255, 255, 0.4);
    transform: rotate(90deg);
}

.gallery-title {
    text-align: center;
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--text-primary);
    margin-bottom: 2.5rem;
    letter-spacing: -0.5px;
}

.gallery-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 1.5rem;
    width: 100%;
    max-width: 1200px;
}

.gallery-footer {
    margin-top: 4rem;
    display: flex;
    justify-content: center;
    width: 100%;
}

.gallery-cta-btn {
    padding: 1rem 3rem;
    font-size: 1.1rem;
    background: var(--text-primary);
    color: #000;
    border: none;
    border-radius: 12px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    text-decoration: none;
}

.gallery-cta-btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 10px 20px rgba(255, 255, 255, 0.1);
    background: #fff;
}

.gallery-item {
    position: relative;
    aspect-ratio: 9 / 16;
    border-radius: 16px;
    overflow: hidden;
    cursor: pointer;
    background: #0a0a0a;
    border: 1px solid rgba(255, 255, 255, 0.06);
    transition: transform 0.4s ease, border-color 0.4s ease, box-shadow 0.4s ease;
}

.gallery-item:hover {
    transform: translateY(-8px) scale(1.03);
    border-color: rgba(14, 165, 233, 0.4);
    box-shadow: 0 20px 40px rgba(14, 165, 233, 0.15);
}

.gallery-item .gallery-thumb {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: transform 0.4s ease, filter 0.3s ease;
}

.gallery-item:hover .gallery-thumb {
    transform: scale(1.05);
    filter: brightness(0.6);
}

.gallery-item .play-btn {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    z-index: 2;
    opacity: 0;
    transition: opacity 0.3s ease, transform 0.3s ease;
}

.gallery-item:hover .play-btn {
    opacity: 1;
    transform: translate(-50%, -50%) scale(1.1);
}

.gallery-item iframe {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    border: none;
    border-radius: 16px;
}

@media (max-width: 900px) {
    .gallery-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 1rem;
    }

    .gallery-title {
        font-size: 1.8rem;
    }

    .gallery-modal-content {
        padding: 2rem 1rem;
    }
}

@media (max-width: 480px) {
    .gallery-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 0.8rem;
    }
}

/* Hide orphaned gallery items outside the modal */
body>.gallery-item,
body>.gallery-grid,
.portfolio-wrapper~.gallery-item,
.gallery-modal~.gallery-item {
    display: none !important;
}

.gallery-item:not(.gallery-modal .gallery-item) {
    display: none !important;
}

/* Gallery Placeholder Cards */
.gallery-placeholder {
    position: relative;
    aspect-ratio: 9 / 16;
    border-radius: 16px;
    overflow: hidden;
    background: linear-gradient(145deg, rgba(255, 255, 255, 0.04), rgba(255, 255, 255, 0.01));
    border: 1px solid rgba(255, 255, 255, 0.08);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 1rem;
    transition: transform 0.4s ease, border-color 0.4s ease, box-shadow 0.4s ease;
    cursor: default;
}

.gallery-placeholder:hover {
    transform: translateY(-5px);
    border-color: rgba(14, 165, 233, 0.3);
    box-shadow: 0 12px 30px rgba(14, 165, 233, 0.08);
}

.gallery-placeholder-cat {
    font-size: 1.1rem;
    font-weight: 600;
    color: var(--text-primary);
    text-align: center;
    letter-spacing: 0.3px;
}

.gallery-placeholder-badge {
    font-size: 0.7rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    color: rgba(14, 165, 233, 0.8);
    background: rgba(14, 165, 233, 0.08);
    border: 1px solid rgba(14, 165, 233, 0.15);
    padding: 0.35rem 1rem;
    border-radius: 20px;
}

/* Gallery Landscape Item (16:9 videos) */
.gallery-item-landscape {
    grid-column: span 2;
    aspect-ratio: 16 / 9;
}

@media (max-width: 900px) {
    .gallery-item-landscape {
        grid-column: span 2;
    }
}

/* Project Phrase (Section 2 - single line per card) */
.project-phrase {
    font-size: 0.85rem;
    font-weight: 500;
    color: var(--text-secondary);
    text-align: center;
    line-height: 1.5;
    margin: 0;
    padding: 0.5rem 0;
    letter-spacing: 0.2px;
}

/* =========================================================================
   DemoReel Video Modal
   ========================================================================= */

.demoreel-modal {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 99999;
    display: none;
    align-items: center;
    justify-content: center;
}

.demoreel-modal.active {
    display: flex;
}

.demoreel-modal-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.95);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
}

.demoreel-modal-content {
    position: relative;
    z-index: 2;
    width: 90%;
    max-width: 960px;
    margin: auto;
}

.demoreel-video-container {
    position: relative;
    width: 100%;
    padding-top: 56.25%;
    /* 16:9 aspect ratio */
    border-radius: 16px;
    overflow: hidden;
    background: #000;
}

.demoreel-video-container iframe {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    border: none;
    border-radius: 16px;
}


.jump-letter {
  font-family: 'BenedictCustom' !important;
}