/* ============================================
   ALDEIA — FIRSIGHT DARK THEME (Complete)
   ============================================ */

:root {
    /* Brand Colors */
    --bg: #030303;
    --bg2: #090909;
    --bg-card: #0A0A0A;
    --accent: #e4e4e7;
    --accent2: #a8a8a8;
    --silver: #e4e4e7;
    --silver-bright: #ffffff;
    
    /* QMA Translucent Typography */
    --text: rgba(255, 255, 255, 0.90);
    --text-muted: rgba(255, 255, 255, 0.70);
    --text-dim: rgba(255, 255, 255, 0.50);
    --border: rgba(255, 255, 255, 0.08);
    --border-hover: rgba(255, 255, 255, 0.15);
    
    /* Fonts */
    --font-h: 'Clash Display', sans-serif;
    --font-b: 'Inter', sans-serif;
    --font-m: 'Fragment Mono', monospace;
    
    /* QMA Physics */
    --ease: cubic-bezier(0.16, 1, 0.3, 1); /* qma-spring */
    --ease2: cubic-bezier(0.4, 0.0, 0.2, 1); /* qma-morph */
    
    /* QMA Gap Scale */
    --qma-gap-05: 2px;
    --qma-gap-1: 4px;
    --qma-gap-2: 8px;
    --qma-gap-3: 12px;
    --qma-gap-4: 16px;
    --qma-gap-6: 24px;
    --qma-gap-8: 32px;
    --qma-gap-12: 48px;
    --qma-gap-16: 64px;
    --qma-gap-24: 96px;
}

*,
*::before,
*::after {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    background: var(--bg);
    color: var(--text);
    font-family: var(--font-b);
    overflow-x: hidden;
    -webkit-font-smoothing: antialiased;
}

::selection {
    background: var(--accent);
    color: #fff;
}

a {
    color: inherit;
    text-decoration: none;
}

img {
    display: block;
    max-width: 100%;
}

ul {
    list-style: none;
}

button {
    cursor: pointer;
    background: none;
    border: none;
    color: inherit;
    font-family: inherit;
}

h1, h2, h3, h4, h5, h6 {
    text-wrap: balance;
}

::-webkit-scrollbar {
    width: 3px;
}

::-webkit-scrollbar-track {
    background: var(--bg);
}

::-webkit-scrollbar-thumb {
    background: #333;
    border-radius: 3px;
}

::-webkit-scrollbar-thumb:hover {
    background: var(--accent);
}

@media (min-width: 769px) {
    body.custom-cursor-active,
    body.custom-cursor-active * {
        cursor: none !important;
    }
}

/* ===== PRELOADER ===== */
#preloader {
    position: fixed;
    inset: 0;
    z-index: 9999;
    display: flex;
    align-items: center;
    justify-content: center;
    background: transparent;
    pointer-events: all;
    transition: visibility 2s ease;
}

#preloader.loaded {
    pointer-events: none;
    visibility: hidden;
}

#preloader-grain {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    opacity: 0.08;
    mix-blend-mode: overlay;
    z-index: 2;
}

.preloader-content {
    position: relative;
    z-index: 10;
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1.5rem;
    transition: opacity 1.2s var(--ease), filter 1.2s var(--ease), transform 1.2s var(--ease);
}

.preloader-content.dissolve {
    opacity: 0;
    filter: blur(25px);
    transform: scale(1.08);
    pointer-events: none;
}

.preloader-logo-wrap {
    overflow: visible;
    height: auto;
    display: flex;
    align-items: center;
    justify-content: center;
}

.preloader-logo {
    height: 3rem;
    width: auto;
    filter: invert(1) brightness(100) blur(20px);
    transform: scale(0.92);
    opacity: 0;
    transition: filter 2.2s cubic-bezier(0.25, 1, 0.5, 1), transform 2.2s cubic-bezier(0.25, 1, 0.5, 1), opacity 2.2s cubic-bezier(0.25, 1, 0.5, 1);
}

.preloader-logo.active {
    filter: invert(1) brightness(100) blur(0px);
    transform: scale(1);
    opacity: 1;
}

.preloader-panel {
    position: absolute;
    top: 0;
    width: 50%;
    height: 100%;
    background: #050505;
    z-index: 1;
    transition: transform 1.4s cubic-bezier(0.86, 0, 0.07, 1), opacity 1.3s cubic-bezier(0.86, 0, 0.07, 1);
    opacity: 1;
}

.left-panel {
    left: 0;
    border-right: 1px solid rgba(255, 255, 255, 0.02);
    transform-origin: left center;
}

.right-panel {
    right: 0;
    border-left: 1px solid rgba(255, 255, 255, 0.02);
    transform-origin: right center;
}

/* Vertical glowing line at the split seam */
.preloader-panel::after {
    content: '';
    position: absolute;
    top: 0;
    bottom: 0;
    width: 2px;
    background: linear-gradient(to bottom, transparent, rgba(255, 255, 255, 0.25), transparent);
    box-shadow: 0 0 12px rgba(255, 255, 255, 0.4);
    opacity: 0;
    transition: opacity 0.3s ease;
}

.left-panel::after {
    right: 0;
}

.right-panel::after {
    left: 0;
}

#preloader.loaded .left-panel {
    transform: translateX(-100%) scaleX(0.65);
    opacity: 0;
}

#preloader.loaded .right-panel {
    transform: translateX(100%) scaleX(0.65);
    opacity: 0;
}

#preloader.loaded .preloader-panel::after {
    opacity: 1;
}


/* ===================================================
   CINEMATIC LENS-FOCUS CONTENT REVEAL
   =================================================== */

/* Defensiva: Se o preloader estiver presente e ativo, aplica transição de revelação */
#preloader:not(.loaded) ~ main,
body:not(.preloader-done) main {
    opacity: 0;
    transform: scale(0.96);
    filter: blur(10px);
    transition: transform 1.2s cubic-bezier(0.16, 1, 0.3, 1), filter 1.2s cubic-bezier(0.16, 1, 0.3, 1), opacity 1.2s cubic-bezier(0.16, 1, 0.3, 1);
}

/* Estado focado e visível */
body.preloader-done main,
body:not(:has(#preloader)) main {
    opacity: 1 !important;
    transform: scale(1) !important;
    filter: blur(0) !important;
}


/* ===== CURSOR ===== */
#custom-cursor {
    position: fixed;
    top: 0;
    left: 0;
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: var(--accent);
    pointer-events: none;
    z-index: 100001;
    transform: translate(-50%, -50%);
    mix-blend-mode: difference;
    transition: width 0.3s, height 0.3s, background 0.3s;
    will-change: transform;
}

#cursor-follower {
    position: fixed;
    top: 0;
    left: 0;
    width: 36px;
    height: 36px;
    border-radius: 50%;
    border: 1px solid rgba(255, 255, 255, 0.2);
    pointer-events: none;
    z-index: 100000;
    transform: translate(-50%, -50%);
    will-change: transform;
}

@media (max-width: 768px) {

    #custom-cursor,
    #cursor-follower {
        display: none;
    }
}

#custom-cursor.hovered {
    width: 16px;
    height: 16px;
    background: #fff;
}

#cursor-follower.hovered {
    width: 48px;
    height: 48px;
    border-color: var(--accent);
}

/* ===== HEADER ===== */
#main-nav {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 200;
    padding: 12px 24px 0;
    background: transparent;
    border-bottom: 0;
    box-sizing: border-box;
    opacity: 0;
    transform: translateY(-20px);
    transition: transform 1.4s cubic-bezier(0.16, 1, 0.3, 1) 0.5s, opacity 1.4s cubic-bezier(0.16, 1, 0.3, 1) 0.5s, background 0.3s;
}

body.preloader-done #main-nav {
    opacity: 1;
    transform: translateY(0);
    transition: transform 0.4s var(--ease), opacity 0.4s var(--ease), background 0.3s;
}

body.preloader-done #main-nav.hide-nav {
    transform: translateY(-100%);
    opacity: 0;
    transition: transform 0.4s var(--ease), opacity 0.3s var(--ease), background 0.3s;
}

.nav-inner {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 28px;
    height: 64px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    position: relative;
    border: 1px solid rgba(255, 255, 255, 0.14);
    border-radius: 999px;
    background: rgba(5, 5, 5, 0.72);
    box-shadow: 0 16px 40px rgba(0, 0, 0, 0.28), inset 0 1px 0 rgba(255, 255, 255, 0.06);
    backdrop-filter: blur(18px);
    -webkit-backdrop-filter: blur(18px);
}

.nav-logo {
    display: flex;
    align-items: center;
    gap: 8px;
    transition: opacity 0.3s;
    position: absolute;
    left: 50%;
    transform: translateX(-50%);
}

.nav-logo:hover {
    opacity: 0.7;
}

.nav-logo-icon {
    flex-shrink: 0;
}

.nav-logo-text {
    font-family: var(--font-h);
    font-weight: 700;
    font-size: 1rem;
    letter-spacing: 0.08em;
}

.nav-center {
    display: flex;
    align-items: center;
    justify-content: center;
}

.status-dot {
    width: 7px;
    height: 7px;
    border-radius: 50%;
    background: #22c55e;
    animation: pulse-dot 2s infinite;
    flex-shrink: 0;
}

@keyframes pulse-dot {

    0%,
    100% {
        box-shadow: 0 0 0 0 rgba(34, 197, 94, 0.5);
    }

    50% {
        box-shadow: 0 0 0 5px rgba(34, 197, 94, 0);
    }
}

.status-text {
    white-space: nowrap;
}

.nav-actions {
    display: flex;
    align-items: center;
    gap: 12px;
}

.btn-vamos {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    min-height: 40px;
    padding: 0 10px 0 18px;
    border: 1px solid rgba(255, 255, 255, 0.18);
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.08) !important;
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.1), 0 8px 20px rgba(0, 0, 0, 0.16) !important;
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    font-size: 0.85rem;
    color: var(--text);
    transition: transform 0.3s var(--ease), background 0.3s var(--ease), border-color 0.3s var(--ease), color 0.3s var(--ease);
}

.btn-vamos:hover {
    border-color: rgba(255, 255, 255, 0.42);
    background: rgba(255, 255, 255, 0.16) !important;
    color: #fff;
    transform: translateY(-2px);
}

.btn-arrow {
    display: grid;
    width: 24px;
    height: 24px;
    place-items: center;
    border-radius: 50%;
    background: #fff;
    color: #080808;
    font-size: 0.95rem;
    transition: transform 0.3s var(--ease);
}

.btn-arrow svg {
    width: 14px;
    height: 14px;
    display: block;
}

.btn-vamos:hover .btn-arrow {
    transform: translateX(3px);
}

.nav-hamburger {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 5px;
    width: 42px;
    height: 42px;
    padding: 0;
    border: 1px solid rgba(255, 255, 255, 0.18);
    border-radius: 50%;
    background: rgba(12, 12, 12, 0.72);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.2), inset 0 1px 0 rgba(255, 255, 255, 0.08);
    backdrop-filter: blur(14px);
    -webkit-backdrop-filter: blur(14px);
    transition: transform 0.3s var(--ease), background 0.3s var(--ease), border-color 0.3s var(--ease);
}

.nav-hamburger span {
    display: block;
    width: 18px;
    height: 1.5px;
    border-radius: 999px;
    background: #fff;
    transition: all 0.3s var(--ease);
    transform-origin: center;
}

.nav-hamburger:hover {
    transform: scale(1.05);
    border-color: rgba(255, 255, 255, 0.34);
    background: rgba(255, 255, 255, 0.1);
}

.nav-hamburger:active {
    transform: scale(0.94);
}

.nav-hamburger.active span:nth-child(1) {
    transform: translateY(5.5px) rotate(45deg);
}

.nav-hamburger.active span:nth-child(2) {
    opacity: 0;
}

.nav-hamburger.active span:nth-child(3) {
    transform: translateY(-5.5px) rotate(-45deg);
}

@media (min-width: 769px) {
    .nav-hamburger {
        display: none;
    }
}

@media (max-width: 768px) {
    #main-nav {
        padding: 8px 12px 0;
        background: transparent !important;
        backdrop-filter: none;
        -webkit-backdrop-filter: none;
    }

    .nav-center {
        display: none;
    }

    .nav-inner {
        padding: 0 15px;
    }

    .nav-logo {
        /* herda posicionamento absoluto global */
    }
    
    .nav-logo:hover {
        opacity: 1;
    }

    .nav-actions .theme-toggle,
    .nav-actions .btn-vamos {
        display: none !important;
    }

    .nav-hamburger {
        margin-left: auto;
    }
}

/* Mobile Menu */
#mobile-menu {
    position: fixed;
    inset: 0;
    background: var(--bg);
    z-index: 195;
    display: flex;
    flex-direction: column;
    justify-content: center;
    padding: 40px;
    transform: translateX(100%);
    transition: transform 0.5s var(--ease);
}

#mobile-menu.active {
    transform: translateX(0);
}

.mobile-nav-links {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.mobile-nav-link {
    font-family: var(--font-h);
    font-size: 2rem;
    font-weight: 700;
    transition: color 0.3s;
}

.mobile-nav-link:hover {
    color: var(--accent);
}

/* ===== REVEAL ANIMATIONS ===== */
.reveal-up,
.reveal-scale {
    opacity: 1;
    transform: translateY(0);
}

/* O conteúdo nunca depende do JavaScript para existir. A ocultação inicial
   só é aplicada depois que o script confirma que as animações podem rodar. */
.motion-ready .reveal-up {
    opacity: 0;
    transform: translateY(50px);
    transition: opacity 0.8s var(--ease), transform 0.8s var(--ease);
}

.motion-ready .reveal-up.active {
    opacity: 1;
    transform: translateY(0);
}

.motion-ready .reveal-scale {
    opacity: 0;
    transform: scale(0.92);
    transition: opacity 1s var(--ease), transform 1s var(--ease);
}

.motion-ready .reveal-scale.active {
    opacity: 1;
    transform: scale(1);
}

/* Word-by-word reveal for about text */
.reveal-words .text-word-inner {
    display: inline-block;
    opacity: 0.15;
    transition: opacity 0.6s ease;
}

.reveal-words.active .text-word-inner {
    opacity: 1;
}

/* ===== SHARED ===== */
.section-container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 var(--qma-gap-12);
}

@media (max-width: 768px) {
    .section-container {
        padding: 0 var(--qma-gap-6);
    }
}

.section-label {
    display: flex;
    align-items: baseline;
    gap: 8px;
    margin-bottom: 8px;
}

.label-num {
    font-family: var(--font-h);
    font-size: 0.85rem;
    color: var(--accent);
    font-weight: 600;
    font-style: italic;
}

.label-text {
    font-size: 0.85rem;
    color: var(--text-muted);
}

.mega-title {
    font-family: var(--font-h);
    font-weight: 700;
    font-size: clamp(3rem, 10vw, 7rem);
    line-height: 1.1;
    letter-spacing: -0.02em;
    text-transform: uppercase;
}

.section-desc {
    max-width: 380px;
    font-size: 0.9rem;
    line-height: 1.6;
    color: var(--text-muted);
    text-align: right;
}

@media (max-width: 768px) {
    .section-desc {
        text-align: left;
    }
}

/* ===== HERO CINEMATOGRÁFICO ===== */
.hero-section {
    min-height: 100svh;
    position: relative;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    padding: var(--qma-gap-24) var(--qma-gap-12) var(--qma-gap-24);
}

@media (max-width: 768px) {
    .hero-section {
        padding: var(--qma-gap-24) var(--qma-gap-6) var(--qma-gap-16);
    }
}

.hero-video-bg {
    position: absolute;
    inset: 0;
    z-index: 0;
    overflow: hidden;
}

.hero-video-bg video {
    width: 100%;
    height: 100%;
    object-fit: cover;
    filter: contrast(1.05) brightness(0.45);
    /* Normal colors cinematic */
    will-change: transform;
    transform: translateZ(0);
}

.hero-video-overlay {
    position: absolute;
    inset: 0;
    background: radial-gradient(circle at center, rgba(8, 8, 8, 0.1) 0%, rgba(8, 8, 8, 0.85) 100%);
    z-index: 1;
}

#hero-grain {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    opacity: 0.12;
    z-index: 2;
    mix-blend-mode: overlay;
}

.hero-content-centered {
    position: relative;
    z-index: 3;
    max-width: 900px;
    width: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
}

.hero-title-cinematic {
    font-family: var(--font-h);
    font-weight: 700;
    font-size: clamp(2.5rem, 6.2vw, 5.8rem);
    line-height: 1.1;
    text-transform: uppercase;
    letter-spacing: -0.01em;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: var(--qma-gap-2);
    margin-bottom: var(--qma-gap-8);
}

.hero-title-cinematic span {
    display: block;
}

.reveal-line {
    opacity: 1;
    transform: translateY(0);
    animation: heroCinematicFade 0.8s var(--ease) forwards;
}

.reveal-line.active {
    opacity: 1;
    transform: translateY(0);
}

.typewriter-cursor {
    color: var(--accent);
    animation: blink-cursor 1s step-end infinite;
    margin-left: 2px;
    font-weight: 300;
}

@keyframes blink-cursor {
    from,
    to {
        color: transparent;
    }
    50% {
        color: var(--accent);
    }
}

.hero-subtitle-cinematic {
    font-family: var(--font-b);
    font-size: clamp(0.9rem, 1.8vw, 1.05rem);
    line-height: 1.618; /* Golden Ratio */
    color: var(--text-muted); /* 70% translucent white mapped in root */
    max-width: 640px;
    margin: 0 auto var(--qma-gap-12);
    opacity: 1;
    transform: translateY(0);
    animation: heroCinematicFade 1s var(--ease) 0.2s forwards;
}

.hero-subtitle-cinematic.active {
    opacity: 1;
    transform: translateY(0);
}

.hero-scroll-cinematic {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 10px;
    font-family: var(--font-m);
    font-size: 0.72rem;
    color: var(--text-dim);
    letter-spacing: 0.25em;
    opacity: 1;
    animation: heroCinematicFade 1s var(--ease) 0.4s forwards;
}

.hero-scroll-cinematic.active {
    opacity: 1;
}

@keyframes heroCinematicFade {
    0% {
        opacity: 0;
        transform: translateY(15px);
    }
    100% {
        opacity: 1;
        transform: translateY(0);
    }
}

.hero-scroll-cinematic svg {
    width: 20px;
    height: 20px;
    stroke: currentColor;
    animation: bounce-arrow 2s infinite;
    margin-top: 2px;
}

@keyframes bounce-arrow {

    0%,
    20%,
    50%,
    80%,
    100% {
        transform: translateY(0);
    }

    40% {
        transform: translateY(-6px);
    }

    60% {
        transform: translateY(-3px);
    }
}

/* Letreiro (Marquee) Inclinado Infinito */
.hero-marquee-container {
    position: absolute;
    bottom: 25px;
    left: -5%;
    width: 110%;
    background: #ffffff;
    /* High contrast white ribbon */
    color: #000000;
    /* Black text */
    padding: 10px 0;
    transform: rotate(-1.5deg);
    z-index: 5;
    overflow: hidden;
    white-space: nowrap;
    border-top: 1px solid rgba(0, 0, 0, 0.1);
    border-bottom: 1px solid rgba(0, 0, 0, 0.1);
    box-shadow: 0 6px 24px rgba(0, 0, 0, 0.35);
}

/* Suporte a Faixa Dupla (Dual Marquee) */
.hero-marquee-wrapper-dual {
    position: absolute;
    bottom: 10px;
    left: -5%;
    width: 110%;
    z-index: 5;
    display: flex;
    flex-direction: column;
    gap: 0px;
}

.hero-marquee-container.ribbon-1 {
    position: relative;
    bottom: auto;
    left: 0;
    width: 100%;
    background: #ffffff;
    color: #000000;
    padding: 8px 0;
    transform: rotate(-1.2deg);
    z-index: 6;
    box-shadow: 0 4px 18px rgba(0, 0, 0, 0.4);
}

.hero-marquee-container.ribbon-2 {
    position: relative;
    bottom: auto;
    left: 0;
    width: 100%;
    background: linear-gradient(135deg, #1c1c1c 0%, #3a3a3a 50%, #151515 100%);
    color: #ffffff;
    border-top: 1px solid rgba(255, 255, 255, 0.25);
    border-bottom: 1px solid rgba(255, 255, 255, 0.15);
    padding: 8px 0;
    transform: rotate(1.4deg);
    z-index: 5;
    margin-top: -6px;
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.6);
}

.hero-marquee-container.ribbon-2 .hero-marquee-divider {
    color: #ffffff;
    opacity: 0.35;
}

.hero-marquee-track {
    display: inline-flex;
    animation: marquee-scroll 22s linear infinite;
}

.hero-marquee-track.reverse {
    animation: marquee-scroll-reverse 26s linear infinite;
}

.hero-marquee-content {
    display: flex;
    align-items: center;
    gap: 30px;
    font-family: var(--font-h);
    font-size: clamp(0.85rem, 1.8vw, 1.1rem);
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.12em;
    padding-right: 30px;
}

.hero-marquee-divider {
    color: inherit;
    opacity: 0.25;
    font-weight: 300;
}

@keyframes marquee-scroll {
    0% {
        transform: translate3d(0, 0, 0);
    }
    100% {
        transform: translate3d(-50%, 0, 0);
    }
}

@keyframes marquee-scroll-reverse {
    0% {
        transform: translate3d(-50%, 0, 0);
    }
    100% {
        transform: translate3d(0, 0, 0);
    }
}

/* CTA Button Redefined */
.btn-cta {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    min-height: 44px;
    padding: 0 20px;
    background: #ffffff;
    color: #000000;
    font-size: 0.85rem;
    font-weight: 700;
    border-radius: 999px;
    letter-spacing: 0.01em;
    transition: transform 0.3s var(--ease), box-shadow 0.3s var(--ease), background 0.3s var(--ease);
    border: 1px solid rgba(255, 255, 255, 0.55);
    white-space: nowrap;
}

.btn-cta:hover {
    background: #e0e0e0;
    color: #000000;
    transform: translateY(-2px);
    box-shadow: 0 8px 28px rgba(255, 255, 255, 0.15);
}

.btn-cta-sm {
    min-height: 40px;
    padding: 0 16px;
    font-size: 0.8rem;
}

.btn-cta-inline {
    margin-left: auto;
    flex-shrink: 0;
}

.btn-arrow-icon {
    font-size: 1.1em;
    transition: transform 0.3s;
}

.btn-cta:hover .btn-arrow-icon {
    transform: translate(2px, -2px);
}

/* Hero Bottom */
.hero-bottom {
    max-width: 1400px;
    margin: 40px auto 0;
    width: 100%;
    padding-top: 32px;
    border-top: 1px solid var(--border);
    position: relative;
    z-index: 2;
}

.hero-bottom-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 32px;
    flex-wrap: wrap;
}

.hero-bottom-inner p {
    font-size: clamp(0.95rem, 1.8vw, 1.2rem);
    line-height: 1.6;
    color: var(--text-muted);
    max-width: 640px;
}

.hero-bottom-inner strong {
    color: var(--text);
}

/* ===== ABOUT ===== */
.about-section {
    padding: var(--qma-gap-24) 0;
    border-top: 1px solid var(--border);
}

.about-big-text {
    margin: var(--qma-gap-12) 0 var(--qma-gap-16);
}

.about-big-text p {
    font-family: var(--font-h);
    font-weight: 400;
    font-size: clamp(1.3rem, 3vw, 2.2rem);
    line-height: 1.618; /* Golden Ratio */
    color: var(--text-muted);
}

.about-big-text strong {
    color: var(--text);
    font-weight: 600;
}

.about-big-text em {
    color: var(--text);
    font-style: normal;
}

.about-cards {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: var(--qma-gap-8);
    padding-top: var(--qma-gap-16);
    border-top: 1px solid var(--border);
}

@media (max-width: 768px) {
    .about-cards {
        grid-template-columns: 1fr;
    }
}

.about-card {
    display: flex;
    align-items: flex-start;
    gap: var(--qma-gap-3);
    padding: var(--qma-gap-6);
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: 12px;
    transition: border-color 0.3s, transform 0.3s var(--ease);
}

.about-card:hover {
    border-color: var(--border-hover);
    transform: translateY(-3px);
}

.card-icon {
    width: 36px;
    height: 36px;
    border-radius: 8px;
    flex-shrink: 0;
    display: flex;
    align-items: center;
    justify-content: center;
}

.card-icon.red {
    background: var(--accent);
    color: #fff;
}

.card-icon.orange {
    background: var(--accent2);
    color: #fff;
}

.card-icon svg {
    width: 18px;
    height: 18px;
}

.about-card p {
    font-size: 0.85rem;
    line-height: 1.618; /* Golden Ratio */
    color: var(--text-muted);
}

/* ===== LOGOS SECTION ===== */
.logos-section {
    padding: var(--qma-gap-16) 0;
    background: var(--bg2);
    border-top: 1px solid var(--border);
    border-bottom: 1px solid var(--border);
    overflow: hidden;
}

.logos-section-header {
    margin-bottom: var(--qma-gap-12);
    text-align: center;
}

.logos-section-label {
    justify-content: center;
}

.logos-section-title {
    font-family: var(--font-h);
    font-size: 1.6rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    color: #fff;
}

/* ===== PORTFOLIO ===== */
.portfolio-section {
    padding: var(--qma-gap-24) 0;
    border-top: 1px solid var(--border);
}

.portfolio-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-end;
    gap: var(--qma-gap-6);
    margin-bottom: var(--qma-gap-16);
    flex-wrap: wrap;
}

.portfolio-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: var(--qma-gap-8);
    margin-bottom: var(--qma-gap-16);
}

@media (max-width: 768px) {
    .portfolio-grid {
        grid-template-columns: 1fr;
    }
}

.portfolio-card {
    border: 1px solid var(--border);
    border-radius: 12px;
    overflow: hidden;
    transition: all 0.4s var(--ease);
    position: relative;
}

.portfolio-card:hover {
    border-color: var(--border-hover);
    transform: translateY(-5px);
}

.card-img {
    overflow: hidden;
    aspect-ratio: 16/10;
}

.card-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.6s var(--ease);
}

.portfolio-card:hover .card-img img {
    transform: scale(1.06);
}

.card-info {
    display: flex;
    align-items: center;
    gap: var(--qma-gap-3);
    padding: var(--qma-gap-4);
    background: rgba(0, 0, 0, 0.6);
    backdrop-filter: blur(10px);
    border-top: 1px solid var(--border);
    font-size: 0.8rem;
    color: var(--text-muted);
}

.card-name {
    font-weight: 600;
    color: var(--text);
    flex: 1;
}

.card-year {
    font-family: var(--font-m);
    font-size: 0.75rem;
}

.card-type {
    font-size: 0.7rem;
    padding: 3px 10px;
    border: 1px solid var(--border);
    border-radius: 20px;
}

.coming-soon {
    text-align: center;
    padding: var(--qma-gap-12) var(--qma-gap-6);
    border: 1px solid var(--border);
    border-radius: 12px;
    background: var(--bg-card);
}

.dots-icon {
    display: flex;
    gap: 5px;
    justify-content: center;
    margin-bottom: 16px;
}

.dots-icon span {
    width: 7px;
    height: 7px;
    border-radius: 2px;
    background: var(--accent);
}

.coming-soon h3 {
    font-family: var(--font-h);
    font-size: 1.3rem;
    font-weight: 600;
    margin-bottom: 6px;
}

.underline {
    text-decoration: underline;
    text-underline-offset: 4px;
    text-decoration-color: var(--accent);
}

.coming-soon p {
    font-size: 0.8rem;
    color: var(--text-dim);
}

/* DomeGallery Overrides */
.sphere-root {
    height: 580px; /* Altura confortável para o viewport */
    overflow: hidden;
    margin: 30px 0;
    background: transparent;
}

body.dg-scroll-lock {
    overflow: hidden !important;
}

@media (max-width: 768px) {
    .sphere-root {
        height: 440px;
    }
}

/* ===== SERVICES ===== */
.services-section {
    padding: var(--qma-gap-24) 0;
    border-top: 1px solid var(--border);
}

.services-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-end;
    gap: var(--qma-gap-6);
    margin-bottom: var(--qma-gap-16);
    flex-wrap: wrap;
}

.services-accordion {
    display: flex;
    flex-direction: column;
}

.svc-item {
    border-top: 1px solid var(--border);
    overflow: hidden;
    transition: border-color 0.3s;
}

.svc-item:last-child {
    border-bottom: 1px solid var(--border);
}

.svc-item:hover,
.svc-item.active {
    border-color: var(--accent);
}

.svc-item+.svc-item.active {
    border-top-color: var(--accent);
}

.svc-header {
    display: flex;
    align-items: center;
    gap: var(--qma-gap-4);
    padding: var(--qma-gap-6) 0;
    cursor: pointer;
}

.svc-num {
    font-size: 0.8rem;
    color: var(--text-dim);
    background: rgba(255, 255, 255, 0.04);
    border-radius: 50%;
    width: 38px;
    height: 38px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    transition: all 0.3s;
}

.svc-item.active .svc-num,
.svc-item:hover .svc-num {
    background: var(--accent);
    color: #fff;
}

.svc-title {
    font-family: var(--font-h);
    font-size: clamp(1.1rem, 2vw, 1.5rem);
    font-weight: 600;
    flex: 1;
}

.svc-toggle {
    width: 28px;
    height: 28px;
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.svc-toggle span {
    position: absolute;
    width: 16px;
    height: 1.5px;
    background: var(--text-muted);
    transition: all 0.4s var(--ease);
}

.svc-toggle span:last-child {
    transform: rotate(90deg);
}

.svc-item.active .svc-toggle span {
    background: var(--accent);
}

.svc-item.active .svc-toggle span:last-child {
    transform: rotate(0deg);
}

.svc-body {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.6s var(--ease);
}

.svc-item.active .svc-body {
    padding-bottom: var(--qma-gap-6);
}

.svc-body>div {
    display: flex;
    gap: var(--qma-gap-6);
}

@media (max-width: 768px) {
    .svc-body>div {
        flex-direction: column;
    }
}

.svc-text {
    flex: 1;
}

.svc-text p {
    font-size: 0.85rem;
    line-height: 1.618; /* Golden Ratio */
    color: var(--text-muted);
    margin-bottom: var(--qma-gap-3);
}

.svc-tags {
    display: flex;
    gap: var(--qma-gap-2);
    flex-wrap: wrap;
}

.svc-tags span {
    font-size: 0.72rem;
    padding: 5px 12px;
    border: 1px solid var(--border);
    border-radius: 20px;
    color: var(--text-muted);
    transition: all 0.3s;
}

.svc-tags span:hover {
    border-color: var(--accent);
    color: var(--accent);
}

.svc-image {
    display: none !important;
}

.svc-close {
    position: absolute;
    top: var(--qma-gap-3);
    right: var(--qma-gap-3);
    width: 32px;
    height: 32px;
    border-radius: 50%;
    background: rgba(0, 0, 0, 0.6);
    color: var(--accent);
    font-size: 14px;
    display: flex;
    align-items: center;
    justify-content: center;
    backdrop-filter: blur(8px);
    border: 1px solid rgba(255, 255, 255, 0.2);
    transition: all 0.3s;
}

.svc-close:hover {
    background: var(--accent);
    color: #000;
}

/* ===== FAQ ===== */
.faq-section {
    padding: var(--qma-gap-24) 0;
    border-top: 1px solid var(--border);
}

.faq-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-end;
    gap: var(--qma-gap-6);
    margin-bottom: var(--qma-gap-16);
    flex-wrap: wrap;
}

.faq-desc {
    max-width: 380px;
    text-align: right;
}

.faq-desc p {
    font-size: 0.85rem;
    color: var(--text-muted);
    line-height: 1.618; /* Golden Ratio */
}

.faq-desc .dim {
    font-size: 0.8rem;
    color: var(--text-dim);
    margin-top: 4px;
}

@media (max-width: 768px) {
    .faq-desc {
        text-align: left;
    }
}

.faq-list {
    display: flex;
    flex-direction: column;
    gap: var(--qma-gap-2);
}

.faq-item {
    border: 1px solid var(--border);
    border-radius: 10px;
    overflow: hidden;
    transition: border-color 0.3s;
}

.faq-item:hover,
.faq-item.active {
    border-color: rgba(255, 255, 255, 0.25);
}

.faq-item.active {
    background: rgba(255, 255, 255, 0.01);
}

.faq-btn {
    width: 100%;
    display: flex;
    align-items: center;
    gap: var(--qma-gap-3);
    padding: var(--qma-gap-4) var(--qma-gap-6);
    text-align: left;
    font-family: inherit;
}

.faq-num {
    font-family: var(--font-h);
    font-size: 1.3rem;
    font-weight: 700;
    color: var(--accent);
    flex-shrink: 0;
    min-width: 44px;
    font-style: italic;
}

.faq-q {
    flex: 1;
    font-family: var(--font-h);
    font-weight: 600;
    font-size: clamp(0.85rem, 1.4vw, 1rem);
}

.faq-icon {
    width: 22px;
    height: 22px;
    position: relative;
    flex-shrink: 0;
    display: flex;
    align-items: center;
    justify-content: center;
}

.faq-icon span {
    position: absolute;
    width: 12px;
    height: 1.5px;
    background: var(--text-muted);
    transition: all 0.4s var(--ease);
}

.faq-icon span:last-child {
    transform: rotate(90deg);
}

.faq-item.active .faq-icon span {
    background: var(--accent);
}

.faq-item.active .faq-icon span:first-child {
    transform: rotate(45deg);
}

.faq-item.active .faq-icon span:last-child {
    transform: rotate(-45deg);
}

.faq-answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.5s var(--ease);
}

.faq-answer p,
.faq-answer ul {
    padding: 0 20px 12px 78px;
    font-size: 0.85rem;
    line-height: 1.7;
    color: var(--text-muted);
}

.faq-answer ul {
    padding-bottom: 4px;
}

.faq-answer li {
    margin-bottom: 4px;
}

.faq-answer li::before {
    content: "•";
    margin-right: 8px;
    color: var(--accent);
}

.faq-answer strong {
    color: var(--text);
}

@media (max-width: 768px) {

    .faq-answer p,
    .faq-answer ul {
        padding-left: 20px;
    }
}

/* ===== CTA BANNER ===== */
.cta-banner {
    position: relative;
    padding: 80px 40px;
    min-height: 360px;
    display: flex;
    align-items: center;
    overflow: hidden;
}

.cta-video-bg {
    position: absolute;
    inset: 0;
    z-index: 0;
}

.cta-video-bg video {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.cta-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(to right, rgba(8, 8, 8, 0.88), rgba(8, 8, 8, 0.5), rgba(8, 8, 8, 0.88));
}

.cta-inner {
    position: relative;
    z-index: 2;
    max-width: 1400px;
    margin: 0 auto;
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 24px;
    flex-wrap: wrap;
}

.cta-left p {
    font-family: var(--font-h);
    font-size: clamp(1.3rem, 3vw, 2rem);
    font-weight: 400;
    line-height: 1.3;
}

.cta-left strong {
    font-weight: 700;
}

/* ===== FUTURE ===== */
.future-section {
    padding: var(--qma-gap-16) 0;
    border-top: 1px solid var(--border);
    text-align: center;
}

.future-title-wrapper {
    display: flex;
    justify-content: center;
    margin-bottom: 10px;
    width: 100%;
}

.metallic-paint {
    width: 1200px;
    max-width: 100%;
    height: 240px;
    display: block;
    margin: 0 auto;
}

.future-inner {
    display: flex;
    justify-content: space-between;
    align-items: flex-end;
    gap: var(--qma-gap-6);
    flex-wrap: wrap;
}

.future-title {
    font-family: var(--font-h);
    font-weight: 800;
    font-size: clamp(3.5rem, 11vw, 9rem);
    line-height: 1.1;
    letter-spacing: -0.03em;
}

.future-text {
    max-width: 320px;
}

.future-text p {
    font-size: 0.9rem;
    line-height: 1.618; /* Golden Ratio */
    color: var(--text-muted);
}

.future-text strong {
    color: var(--text);
    font-weight: 700;
}

/* ===== FOOTER ===== */
footer {
    background: #050505;
    padding: var(--qma-gap-16) 40px var(--qma-gap-6);
    border-top: 1px solid var(--border);
}

@media (max-width: 768px) {
    footer {
        padding: 48px 20px 20px;
    }
}

.footer-inner {
    max-width: 1400px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 1.6fr 1fr 1fr 1fr;
    gap: var(--qma-gap-8);
    padding-bottom: var(--qma-gap-12);
}

@media (max-width: 768px) {
    .footer-inner {
        grid-template-columns: 1fr 1fr;
        gap: 32px;
    }
}

@media (max-width: 480px) {
    .footer-inner {
        grid-template-columns: 1fr;
    }
}

.footer-logo-wrap {
    display: flex;
    align-items: center;
    gap: var(--qma-gap-3);
    margin-bottom: var(--qma-gap-4);
}

.footer-logo-name {
    font-family: var(--font-h);
    font-weight: 700;
    font-size: 1.1rem;
    letter-spacing: 0.06em;
}

.footer-brand p {
    font-size: 0.9rem;
    line-height: 1.618; /* Golden Ratio */
    color: var(--text-muted);
    margin-bottom: var(--qma-gap-4);
}

.footer-brand strong {
    color: var(--text);
}

.footer-col h4 {
    font-size: 0.8rem;
    font-weight: 600;
    color: var(--text-dim);
    margin-bottom: var(--qma-gap-4);
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.footer-col nav {
    display: flex;
    flex-direction: column;
    gap: var(--qma-gap-3);
}

.footer-col nav a {
    font-size: 0.9rem;
    color: var(--text-muted);
    transition: color 0.3s;
    display: inline-flex;
    align-items: center;
    gap: 4px;
}

.footer-col nav a:hover {
    color: var(--text);
}

.ext {
    font-size: 0.75rem;
    opacity: 0.4;
    transition: all 0.3s;
}

.footer-col nav a:hover .ext {
    opacity: 1;
    transform: translate(2px, -2px);
}

.footer-bottom {
    max-width: 1400px;
    margin: 0 auto;
    padding-top: 20px;
    border-top: 1px solid var(--border);
    text-align: center;
    font-size: 0.75rem;
    color: var(--text-dim);
}

.footer-bottom strong {
    color: var(--text-muted);
}

/* ============================================
   RESPONSIVE — CONSOLIDATED BREAKPOINTS
   ============================================ */

/* ─────────────────────────────────────────────
   TABLET (≤ 1024px)
   ───────────────────────────────────────────── */
@media (max-width: 1024px) {

    /* Header — show hamburger, hide gooey nav */
    .nav-center {
        display: none;
    }

    .nav-hamburger {
        display: flex;
    }

    .nav-inner {
        padding: 0 24px;
        height: 58px;
    }

    /* Sections — reduce vertical padding */
    .about-section,
    .portfolio-section,
    .services-section,
    .faq-section,
    .founders-section {
        padding: 100px 0;
    }

    .section-container {
        padding: 0 28px;
    }

    /* Hero */
    .hero-section {
        padding: 100px 28px 90px;
    }

    /* About */
    .about-big-text {
        margin: 40px 0 60px;
    }

    /* Logo Loop */
    .logos-section {
        padding: 60px 0;
    }

    .logos-section-header {
        margin-bottom: 30px;
    }

    /* Portfolio */
    .portfolio-header {
        margin-bottom: 48px;
    }

    .portfolio-grid {
        gap: 24px;
    }

    /* Services */
    .services-header {
        margin-bottom: 48px;
    }

    .svc-image {
        max-width: 320px;
    }

    /* FAQ */
    .faq-header {
        margin-bottom: 48px;
    }

    /* Founders */
    .founders-header {
        margin-bottom: 60px;
    }

    .founders-grid {
        max-width: 100%;
        gap: 30px;
    }

    /* CTA Banner */
    .cta-banner {
        padding: 60px 28px;
    }

    /* Future / MetallicPaint */
    .metallic-paint {
        width: 100%;
        height: 200px;
    }

    .future-section {
        padding: 50px 0;
    }

    /* Footer — 4 cols → 2 cols */
    footer {
        padding: 48px 28px 20px;
    }

    .footer-inner {
        grid-template-columns: 1fr 1fr;
        gap: 32px;
    }
}

/* ─────────────────────────────────────────────
   MOBILE (≤ 768px)
   ───────────────────────────────────────────── */
@media (max-width: 768px) {

    /* Sections — compact vertical padding */
    .about-section,
    .portfolio-section,
    .services-section,
    .faq-section,
    .founders-section,
    .identity-section {
        padding: 80px 0;
    }

    .section-container {
        padding: 0 20px;
    }

    /* Hero */
    .hero-section {
        padding: 90px 20px 70px;
    }

    .hero-title-cinematic {
        font-size: clamp(2rem, 8vw, 3.5rem);
        gap: 6px;
        margin-bottom: 1.6rem;
    }

    .hero-subtitle-cinematic {
        font-size: 0.88rem;
        max-width: 100%;
        margin-bottom: 2.5rem;
    }

    .hero-marquee-content {
        font-size: 0.8rem;
        gap: 20px;
        padding-right: 20px;
    }

    /* About */
    .about-big-text {
        margin: 30px 0 50px;
    }

    .about-big-text p {
        font-size: clamp(1.1rem, 4vw, 1.6rem);
    }

    .about-cards {
        grid-template-columns: 1fr;
        gap: 16px;
        padding-top: 40px;
    }

    /* Section headers — stack vertically */
    .portfolio-header,
    .services-header,
    .faq-header {
        flex-direction: column;
        align-items: flex-start;
        gap: 16px;
        margin-bottom: 40px;
    }

    .section-desc {
        text-align: left;
        max-width: 100%;
    }

    .faq-desc {
        text-align: left;
        max-width: 100%;
    }

    /* Logo Loop */
    .logos-section {
        padding: 50px 0;
    }

    .logos-section-header {
        margin-bottom: 24px;
    }

    .logos-section-title {
        font-size: 1.3rem;
    }

    /* Portfolio */
    .portfolio-grid {
        grid-template-columns: 1fr;
        gap: 20px;
        margin-bottom: 40px;
    }

    .card-info {
        padding: 12px 14px;
        font-size: 0.75rem;
    }

    /* Services accordion */
    .svc-body > div {
        flex-direction: column;
    }

    .svc-image {
        max-width: 100%;
    }

    .svc-header {
        gap: 12px;
        padding: 16px 0;
    }

    .svc-num {
        width: 32px;
        height: 32px;
        font-size: 0.75rem;
    }

    /* FAQ */
    .faq-btn {
        padding: 14px 16px;
        gap: 10px;
    }

    .faq-num {
        font-size: 1.1rem;
        min-width: 36px;
    }

    .faq-answer p,
    .faq-answer ul {
        padding-left: 20px;
        padding-right: 16px;
    }

    /* Founders */
    .founders-header {
        flex-direction: column;
        align-items: flex-start;
        gap: 16px;
        margin-bottom: 40px;
    }

    .founders-grid {
        grid-template-columns: 1fr;
        gap: 40px;
        max-width: 420px;
        margin: 0 auto;
    }

    /* CTA Banner */
    .cta-banner {
        padding: 60px 20px;
        min-height: 280px;
    }

    .cta-inner {
        flex-direction: column;
        align-items: center;
        text-align: center;
        gap: 20px;
    }

    .cta-left p {
        font-size: clamp(1.1rem, 4vw, 1.6rem);
    }

    .logo-contact-wrap {
        margin-bottom: 1rem;
    }

    /* Future / MetallicPaint */
    .future-section {
        padding: 40px 0;
    }

    .metallic-paint {
        width: 100%;
        height: 160px;
    }

    .future-inner {
        flex-direction: column;
        align-items: center;
    }

    .future-text {
        max-width: 100%;
        text-align: center;
    }

    /* Footer */
    footer {
        padding: 40px 20px 20px;
    }

    .footer-inner {
        grid-template-columns: 1fr 1fr;
        gap: 28px;
    }

    .footer-brand p {
        font-size: 0.85rem;
    }

    /* Language Selector */
    .lang-selector {
        margin-right: 8px;
    }

    .lang-btn {
        padding: 6px 10px;
        font-size: 0.68rem;
    }

    .lang-current {
        font-size: 0.68rem;
    }

    /* Coming Soon */
    .coming-soon {
        padding: 36px 20px;
    }

    .coming-soon h3 {
        font-size: 1.1rem;
    }

    /* Mega Title */
    .mega-title {
        font-size: clamp(2.5rem, 12vw, 5rem);
    }
}

/* ─────────────────────────────────────────────
   MOBILE SMALL (≤ 480px)
   ───────────────────────────────────────────── */
@media (max-width: 480px) {

    /* Hero */
    .hero-section {
        padding: 80px 16px 60px;
    }

    .hero-title-cinematic {
        font-size: clamp(1.7rem, 9vw, 2.8rem);
        gap: 4px;
        margin-bottom: 1.2rem;
    }

    .hero-subtitle-cinematic {
        font-size: 0.82rem;
        margin-bottom: 2rem;
    }

    .hero-scroll-cinematic {
        font-size: 0.65rem;
    }

    .hero-marquee-content {
        font-size: 0.72rem;
        gap: 16px;
        padding-right: 16px;
    }

    /* About */
    .about-cards {
        gap: 12px;
    }

    .about-card {
        padding: 16px;
        gap: 12px;
    }

    /* Logo Loop */
    .logos-section {
        padding: 40px 0;
    }

    .logos-section-title {
        font-size: 1.1rem;
    }

    /* Portfolio */
    .card-info {
        flex-wrap: wrap;
        gap: 8px;
        padding: 10px 12px;
    }

    .card-name {
        flex: 1 0 100%;
    }

    .card-type {
        font-size: 0.65rem;
    }

    /* Services */
    .svc-title {
        font-size: 1rem;
    }

    .svc-tags span {
        font-size: 0.68rem;
        padding: 4px 10px;
    }

    /* FAQ */
    .faq-q {
        font-size: 0.82rem;
    }

    .faq-answer p,
    .faq-answer ul {
        font-size: 0.8rem;
        padding-left: 16px;
    }

    /* CTA */
    .cta-banner {
        padding: 50px 16px;
        min-height: auto;
    }

    .btn-cta {
        width: 100%;
        justify-content: center;
        padding: 14px 24px;
        font-size: 0.9rem;
    }

    /* Future / MetallicPaint */
    .future-section {
        padding: 30px 0;
    }

    .metallic-paint {
        height: 120px;
    }

    .future-text p {
        font-size: 0.85rem;
    }

    /* Footer */
    .footer-inner {
        grid-template-columns: 1fr;
        gap: 24px;
    }

    footer {
        padding: 32px 16px 16px;
    }

    .footer-col h4 {
        font-size: 0.75rem;
        margin-bottom: 12px;
    }

    .footer-col nav a {
        font-size: 0.85rem;
    }

    .footer-bottom {
        font-size: 0.7rem;
        padding-top: 16px;
    }

    /* Sections padding */
    .section-container {
        padding: 0 16px;
    }

    .about-section,
    .portfolio-section,
    .services-section,
    .faq-section,
    .founders-section {
        padding: 60px 0;
    }

    /* Founders */
    .founders-grid {
        max-width: 100%;
    }

    /* Nav */
    .nav-inner {
        padding: 0 16px;
        height: 52px;
    }

    .btn-vamos {
        padding: 6px 14px;
        font-size: 0.78rem;
    }

    /* Mobile menu */
    #mobile-menu {
        padding: 30px 20px;
    }

    .mobile-nav-link {
        font-size: 1.6rem;
    }

    /* Coming Soon */
    .coming-soon {
        padding: 28px 16px;
    }

    .coming-soon h3 {
        font-size: 1rem;
    }

    .coming-soon p {
        font-size: 0.75rem;
    }
}


/* ===== IDENTITY & COLOR CHIPS SECTION ===== */
.identity-section {
    padding: 100px 0;
    border-bottom: 1px solid var(--border);
    background: var(--bg2);
}

.identity-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-end;
    margin-bottom: 60px;
}

@media (max-width: 768px) {
    .identity-header {
        flex-direction: column;
        align-items: flex-start;
        gap: 20px;
    }
}

.identity-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 24px;
    margin-bottom: 80px;
}

@media (max-width: 1024px) {
    .identity-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 640px) {
    .identity-grid {
        grid-template-columns: 1fr;
    }
}

.identity-card {
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: 12px;
    padding: 16px;
    transition: transform 0.4s var(--ease), border-color 0.4s var(--ease), box-shadow 0.4s var(--ease);
}

.identity-card:hover {
    transform: translateY(-8px);
    border-color: var(--border-hover);
    box-shadow: 0 12px 30px rgba(255, 255, 255, 0.06);
}

.canvas-box {
    width: 100%;
    aspect-ratio: 4/3;
    background: #f9f9f9;
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    padding: 24px;
    margin-bottom: 16px;
    position: relative;
}

.canvas-grid {
    background-image: radial-gradient(rgba(0, 0, 0, 0.08) 1.2px, transparent 1.2px);
    background-size: 16px 16px;
    background-color: #f6f6f6;
}

.logo-display {
    max-width: 100%;
    max-height: 100%;
    object-fit: contain;
    transition: transform 0.4s var(--ease);
}

.identity-card:hover .logo-display {
    transform: scale(1.06);
}

.logo-display-tp {
    max-height: 70%;
}

.logo-display-marca {
    max-height: 70%;
}

.card-specs {
    font-family: var(--font-m);
    font-size: 0.75rem;
    line-height: 1.6;
    color: var(--text-muted);
    display: flex;
    flex-direction: column;
    gap: 6px;
}

.spec-line {
    display: flex;
    justify-content: space-between;
    border-bottom: 1px dashed rgba(255, 255, 255, 0.05);
    padding-bottom: 4px;
}

.spec-line:last-child {
    border-bottom: none;
    padding-bottom: 0;
}

.spec-label {
    color: var(--text-dim);
    font-weight: 500;
}

.spec-val {
    color: var(--text);
    text-align: right;
    max-width: 60%;
}

/* Color Palette Styling */
.color-palette-container {
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: 12px;
    padding: 30px;
}

.palette-title {
    font-family: var(--font-h);
    font-size: 1.5rem;
    font-weight: 600;
    margin-bottom: 24px;
    letter-spacing: -0.01em;
}

.color-chips-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
}

@media (max-width: 768px) {
    .color-chips-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 480px) {
    .color-chips-grid {
        grid-template-columns: 1fr;
    }
}

.color-chip {
    background: var(--bg2);
    border: 1px solid var(--border);
    border-radius: 8px;
    padding: 12px;
    display: flex;
    align-items: center;
    gap: 16px;
    transition: all 0.3s var(--ease);
    position: relative;
    overflow: hidden;
}

.color-chip:hover {
    border-color: var(--border-hover);
    transform: scale(1.02);
    box-shadow: 0 4px 15px rgba(255, 255, 255, 0.04);
}

.chip-preview {
    width: 40px;
    height: 40px;
    border-radius: 6px;
    background-color: var(--chip-color);
    border: 1px solid rgba(255, 255, 255, 0.1);
    flex-shrink: 0;
}

.chip-info {
    display: flex;
    flex-direction: column;
    gap: 2px;
}

.chip-name {
    font-size: 0.85rem;
    font-weight: 600;
    color: var(--text);
}

.chip-hex {
    font-family: var(--font-m);
    font-size: 0.75rem;
    color: var(--text-muted);
    transition: color 0.2s ease;
}

/* Logos & Filters */
.logo-nav {
    height: 1.5rem;
    min-height: 24px;
    width: auto;
    flex-shrink: 0;
    filter: invert(1) brightness(100);
}

.logo-footer {
    height: 1.8rem;
    width: auto;
    filter: invert(1) brightness(100);
}

.logo-contact-wrap {
    display: flex;
    justify-content: center;
    margin-bottom: 2rem;
}

.logo-contact-circle {
    width: 80px;
    height: 80px;
    border-radius: 50%;
    background: #ffffff;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 8px 24px rgba(255, 255, 255, 0.12);
    transition: transform 0.4s var(--ease);
}

.logo-contact-circle:hover {
    transform: rotate(15deg) scale(1.08);
}

.logo-contact {
    width: 44px;
    height: 44px;
    object-fit: contain;
    filter: brightness(0);
}

/* ===== FUNDADORES ===== */
.founders-section {
    padding: 160px 0;
    border-top: 1px solid var(--border);
    background: var(--bg);
}

.founders-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-end;
    margin-bottom: 80px;
    gap: 24px;
}

@media (max-width: 768px) {
    .founders-header {
        flex-direction: column;
        align-items: flex-start;
        gap: 16px;
    }
}

.founders-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
    max-width: 860px;
    margin: 0 auto;
}

@media (max-width: 768px) {
    .founders-grid {
        grid-template-columns: 1fr;
        gap: 40px;
        max-width: 420px;
        margin: 0 auto;
    }
}

/* ===== PROFILE CARD COMPONENT ===== */
:root {
    --pointer-x: 50%;
    --pointer-y: 50%;
    --pointer-from-center: 0;
    --pointer-from-top: 0.5;
    --pointer-from-left: 0.5;
    --card-opacity: 0;
    --rotate-x: 0deg;
    --rotate-y: 0deg;
    --background-x: 50%;
    --background-y: 50%;
    --grain: none;
    --icon: none;
    --behind-gradient: none;
    --behind-glow-color: rgba(255, 255, 255, 0.28);
    --behind-glow-size: 45%;
    --inner-gradient: linear-gradient(to bottom, rgba(0, 0, 0, 0.6) 0%, transparent 40%, transparent 60%, rgba(0, 0, 0, 0.9) 100%);
    --sunpillar-1: hsla(0, 0%, 100%, 0.45);
    --sunpillar-2: hsla(0, 0%, 90%, 0.35);
    --sunpillar-3: hsla(0, 0%, 95%, 0.4);
    --sunpillar-4: hsla(0, 0%, 80%, 0.3);
    --sunpillar-5: hsla(0, 0%, 100%, 0.5);
    --sunpillar-6: hsla(0, 0%, 90%, 0.38);
    --sunpillar-clr-1: var(--sunpillar-1);
    --sunpillar-clr-2: var(--sunpillar-2);
    --sunpillar-clr-3: var(--sunpillar-3);
    --sunpillar-clr-4: var(--sunpillar-4);
    --sunpillar-clr-5: var(--sunpillar-5);
    --sunpillar-clr-6: var(--sunpillar-6);
    --card-radius: 24px;
}

.pc-card-wrapper {
    position: relative;
    width: 100%;
}

.pc-behind {
    display: none !important;
}

.pc-card {
    height: 520px;
    display: grid;
    aspect-ratio: 0.72;
    border-radius: 36px;
    position: relative;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.7);
    transform: none !important;
    background: #090909;
    overflow: hidden;
    border: 1px solid rgba(255, 255, 255, 0.08);
}

.pc-card:hover,
.pc-card.active {
    transform: none !important;
}

.pc-inside {
    inset: 0;
    position: absolute;
    background: #090909;
    border-radius: 36px;
    overflow: hidden;
}

.pc-shine {
    display: none !important;
}
    mask-size: 35%;
    -webkit-mask-size: 35%;
    mask-repeat: repeat;
    -webkit-mask-repeat: repeat;
    mask-position: calc(50% + (var(--pointer-from-left) - 0.5) * 50px) calc(50% + (var(--pointer-from-top) - 0.5) * 50px);
    -webkit-mask-position: calc(50% + (var(--pointer-from-left) - 0.5) * 50px) calc(50% + (var(--pointer-from-top) - 0.5) * 50px);
}

.pc-shine,
.pc-shine::after {
    --space: 5%;
    --angle: -45deg;
    transform: translate3d(0, 0, 1px);
    overflow: hidden;
    background: transparent;
    background-image:
        repeating-linear-gradient(0deg,
            var(--sunpillar-clr-1) calc(var(--space) * 1),
            var(--sunpillar-clr-2) calc(var(--space) * 2),
            var(--sunpillar-clr-3) calc(var(--space) * 3),
            var(--sunpillar-clr-4) calc(var(--space) * 4),
            var(--sunpillar-clr-5) calc(var(--space) * 5),
            var(--sunpillar-clr-6) calc(var(--space) * 6),
            var(--sunpillar-clr-1) calc(var(--space) * 7)),
        repeating-linear-gradient(var(--angle),
            #050505 0%,
            rgba(255, 255, 255, 0.12) 3.8%,
            rgba(255, 255, 255, 0.18) 4.5%,
            rgba(255, 255, 255, 0.12) 5.2%,
            #050505 10%,
            #050505 12%),
        radial-gradient(farthest-corner circle at var(--pointer-x) var(--pointer-y),
            hsla(0, 0%, 0%, 0.1) 12%,
            hsla(0, 0%, 0%, 0.15) 20%,
            hsla(0, 0%, 0%, 0.25) 120%);
    background-position:
        0 var(--background-y),
        var(--background-x) var(--background-y),
        center;
    background-blend-mode: color, hard-light;
    background-size:
        500% 500%,
        300% 300%,
        200% 200%;
    background-repeat: repeat;
}

.pc-shine::before,
.pc-shine::after {
    content: '';
    background-position: center;
    background-size: cover;
    position: absolute;
    inset: 0;
    opacity: 0;
    transition: opacity 0.8s ease;
    pointer-events: none;
}

.pc-card:hover .pc-shine,
.pc-card.active .pc-shine {
    opacity: 1;
    visibility: visible;
    filter: brightness(1.6) contrast(2.2);
    animation-play-state: paused;
}

.pc-card:hover .pc-shine::before,
.pc-card.active .pc-shine::before,
.pc-card:hover .pc-shine::after,
.pc-card.active .pc-shine::after {
    opacity: 1;
}

.pc-shine::before {
    background-image:
        linear-gradient(45deg,
            var(--sunpillar-4),
            var(--sunpillar-5),
            var(--sunpillar-6),
            var(--sunpillar-1),
            var(--sunpillar-2),
            var(--sunpillar-3)),
        radial-gradient(circle at var(--pointer-x) var(--pointer-y), rgba(255, 255, 255, 0.15) 0%, rgba(0, 0, 0, 0.2) 90%);
    background-size:
        250% 250%,
        100% 100%;
    background-position:
        var(--pointer-x) var(--pointer-y),
        center;
    background-blend-mode: color-dodge;
    filter: brightness(calc(1.8 - var(--pointer-from-center))) contrast(calc(var(--pointer-from-center) + 1.8)) saturate(0.1);
    mix-blend-mode: luminosity;
    z-index: 1;
}

.pc-shine::after {
    background-position:
        0 var(--background-y),
        calc(var(--background-x) * 0.4) calc(var(--background-y) * 0.5),
        center;
    background-size:
        200% 300%,
        700% 700%,
        100% 100%;
    mix-blend-mode: difference;
    filter: brightness(0.6) contrast(1.3);
    z-index: 2;
}

.pc-glare {
    position: absolute;
    inset: 0;
    pointer-events: none;
    transform: translate3d(0, 0, 1.1px);
    background-image: radial-gradient(farthest-corner circle at var(--pointer-x) var(--pointer-y),
            rgba(255, 255, 255, 0.18) 12%,
            rgba(0, 0, 0, 0.55) 90%);
    mix-blend-mode: overlay;
    filter: brightness(0.9) contrast(1.1);
    z-index: 4;
}

.pc-avatar-content {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    z-index: 1;
    border-radius: 36px;
    overflow: hidden;
}

.pc-avatar-content .avatar {
    width: 100%;
    height: 100%;
    object-fit: cover;
    position: absolute;
    inset: 0;
    backface-visibility: hidden;
    will-change: transform;
    transform: scale(1.05) translate3d(calc((var(--pointer-from-left) - 0.5) * -12px),
            calc((var(--pointer-from-top) - 0.5) * -12px),
            0);
    transition: transform 0.2s ease-out;
    filter: grayscale(0.8);
}

.pc-user-info {
    position: absolute;
    --ui-inset: 20px;
    --ui-radius-bias: 6px;
    bottom: var(--ui-inset);
    left: var(--ui-inset);
    right: var(--ui-inset);
    z-index: 6;
    display: flex;
    align-items: center;
    justify-content: space-between;
    background: rgba(10, 10, 10, 0.45);
    backdrop-filter: blur(24px);
    -webkit-backdrop-filter: blur(24px);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 24px;
    padding: 12px 14px;
    pointer-events: auto;
}

.pc-user-details {
    display: flex;
    align-items: center;
    gap: 10px;
}

.pc-mini-avatar {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    overflow: hidden;
    border: 1px solid rgba(255, 255, 255, 0.1);
    flex-shrink: 0;
}

.pc-mini-avatar img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.pc-user-text {
    display: flex;
    align-items: flex-start;
    flex-direction: column;
    gap: 2px;
}

.pc-handle {
    font-family: var(--font-m);
    font-size: 0.82rem;
    font-weight: 600;
    color: rgba(255, 255, 255, 0.95);
    line-height: 1.2;
}

.pc-status {
    font-family: var(--font-m);
    font-size: 0.7rem;
    color: var(--accent2);
    line-height: 1.2;
}

.pc-contact-btn {
    font-family: var(--font-m);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 999px;
    padding: 8px 14px;
    font-size: 0.72rem;
    font-weight: 600;
    color: #000000;
    background: #ffffff;
    cursor: pointer;
    transition: all 0.3s ease;
    text-decoration: none;
}

.pc-contact-btn:hover {
    background: rgba(255, 255, 255, 0.85);
    transform: translateY(-1px);
}

.pc-content:not(.pc-avatar-content) {
    position: absolute;
    inset: 0;
    height: 100%;
    width: 100%;
    pointer-events: none;
    transform: translate3d(calc((var(--pointer-from-left) - 0.5) * -12px),
            calc((var(--pointer-from-top) - 0.5) * -12px),
            12px);
    z-index: 5;
}

.pc-details {
    width: 100%;
    position: absolute;
    top: 36px;
    left: 0;
    padding: 0 28px;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 6px;
    text-align: center;
}

.pc-details h3 {
    font-family: var(--font-h);
    font-weight: 700;
    font-size: 1.8rem;
    margin: 0;
    color: #ffffff;
    letter-spacing: -0.01em;
    line-height: 1.1;
    text-shadow: 0 2px 10px rgba(0, 0, 0, 0.5);
}

.pc-details p {
    font-family: var(--font-m);
    font-weight: 500;
    font-size: 0.72rem;
    text-transform: uppercase;
    color: var(--accent2);
    margin: 0;
    letter-spacing: 0.1em;
    text-shadow: 0 1px 5px rgba(0, 0, 0, 0.5);
}

.pc-bio {
    font-family: var(--font-m);
    font-size: 0.74rem;
    line-height: 1.45;
    color: rgba(255, 255, 255, 0.65);
    margin-top: 6px;
    max-width: 220px;
    text-shadow: 0 1px 6px rgba(0, 0, 0, 0.5);
}

/* Media queries to make ProfileCard responsive on mobile devices */
@media (max-width: 768px) {
    .pc-card {
        height: 70svh;
        max-height: 450px;
        border-radius: 18px;
    }
    
    .pc-details {
        top: 28px;
    }
    
    .pc-details h3 {
        font-size: 1.4rem;
    }
    
    .pc-bio {
        font-size: 0.68rem;
        max-width: 180px;
    }
    
    .pc-user-info {
        --ui-inset: 12px;
        padding: 8px 10px;
        border-radius: 12px;
    }
    
    .pc-mini-avatar {
        width: 32px;
        height: 32px;
    }
    
    .pc-handle {
        font-size: 0.72rem;
    }
    
    .pc-status {
        font-size: 0.6rem;
    }
    
    .pc-contact-btn {
        padding: 6px 10px;
        font-size: 0.65rem;
    }
}

@media (max-width: 480px) {
    .pc-card {
        height: 60svh;
        max-height: 380px;
        border-radius: 16px;
    }
    
    .pc-details {
        top: 24px;
        padding: 0 16px;
    }
    
    .pc-details h3 {
        font-size: 1.25rem;
    }
    
    .pc-bio {
        font-size: 0.65rem;
        max-width: 160px;
        margin-top: 4px;
    }
    
    .pc-user-info {
        --ui-inset: 10px;
        padding: 6px 8px;
        border-radius: 10px;
        gap: 6px;
    }
    
    .pc-user-details {
        gap: 8px;
    }
    
    .pc-mini-avatar {
        width: 26px;
        height: 26px;
    }
    
    .pc-handle {
        font-size: 0.68rem;
    }
    
    .pc-status {
        font-size: 0.58rem;
    }
    
    .pc-contact-btn {
        padding: 5px 8px;
        font-size: 0.62rem;
    }
}

@media (max-width: 320px) {
    .pc-card {
        height: 55svh;
        max-height: 320px;
    }
    
    .pc-details h3 {
        font-size: 1.1rem;
    }
    
    .pc-bio {
        display: none;
    }
}

/* ===== SELETOR DE IDIOMAS ===== */
.lang-selector {
    position: relative;
    display: inline-block;
    margin-right: 15px;
}

.lang-btn {
    display: flex;
    align-items: center;
    gap: 8px;
    min-height: 40px;
    background: rgba(255, 255, 255, 0.06);
    border: 1px solid rgba(255, 255, 255, 0.14);
    border-radius: 999px;
    padding: 0 14px 0 10px;
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.08);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    font-family: var(--font-m);
    font-size: 0.72rem;
    font-weight: 600;
    color: #ffffff;
    transition: all 0.3s var(--ease);
}

.lang-btn:hover {
    background: rgba(255, 255, 255, 0.13);
    border-color: rgba(255, 255, 255, 0.32);
    transform: translateY(-2px);
}

.globe-icon {
    width: 14px;
    height: 14px;
    padding: 5px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.12);
    opacity: 0.8;
}

.lang-arrow {
    font-size: 0.6rem;
    opacity: 0.6;
}

.lang-dropdown {
    position: absolute;
    top: calc(100% + 8px);
    right: auto;
    left: 0;
    width: 140px;
    background: rgba(10, 10, 10, 0.9);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 18px;
    padding: 6px;
    display: flex;
    flex-direction: column;
    gap: 4px;
    opacity: 0;
    visibility: hidden;
    transform: translateY(10px);
    transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
    z-index: 100;
}

.lang-dropdown.active {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.lang-dropdown button {
    width: 100%;
    text-align: left;
    padding: 10px 14px;
    font-family: var(--font-m);
    font-size: 0.72rem;
    color: rgba(255, 255, 255, 0.7);
    border-radius: 12px;
    transition: all 0.2s ease;
    cursor: pointer;
    background: none;
    border: none;
}

.lang-dropdown button:hover {
    background: rgba(255, 255, 255, 0.08);
    color: #ffffff;
}

/* Ocultar Barra de Ferramentas e Tradutor do Google */
html {
    top: 0 !important;
    margin-top: 0 !important;
    padding-top: 0 !important;
}

body {
    top: 0 !important;
    margin-top: 0 !important;
    padding-top: 0 !important;
}

.skiptranslate,
.goog-te-banner-frame,
.goog-te-banner,
.goog-te-balloon-frame,
#goog-gt-tt,
#goog-gt-tt *,
.goog-tooltip,
.goog-tooltip:hover,
.goog-te-menu-value,
.goog-te-menu-frame {
    display: none !important;
    visibility: hidden !important;
    opacity: 0 !important;
    height: 0 !important;
    width: 0 !important;
}

.goog-text-highlight {
    background: transparent !important;
    box-shadow: none !important;
}

/* ===== GOOEY NAV COMPONENT (ALDEIA STYLE) ===== */
.gooey-nav-container {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
}

.gooey-nav-container nav {
    display: flex;
    position: relative;
    transform: translate3d(0, 0, 0.01px);
}

.gooey-nav-container nav ul {
    display: flex;
    gap: 0.8rem;
    list-style: none;
    padding: 0 0.8rem;
    margin: 0;
    position: relative;
    z-index: 3;
    color: var(--text-muted);
}

.gooey-nav-container nav ul li {
    border-radius: 100vw;
    position: relative;
    cursor: pointer;
    transition: color 0.3s var(--ease);
}

.gooey-nav-container nav ul li a {
    display: inline-block;
    padding: 0.5rem 1rem;
    font-family: var(--font-m);
    font-size: 0.72rem;
    font-weight: 600;
    text-transform: uppercase;
    color: var(--text-muted);
    transition: color 0.3s var(--ease);
}

.gooey-nav-container nav ul li a:hover {
    color: #ffffff;
}

.gooey-nav-container nav ul li::after {
    content: '';
    position: absolute;
    inset: 0;
    border-radius: 100vw;
    background: #ffffff;
    opacity: 0;
    transform: scale(0);
    transition: all 0.3s var(--ease);
    z-index: -1;
}

.gooey-nav-container nav ul li.active {
    color: #000000;
}

.gooey-nav-container nav ul li.active a {
    color: #000000;
}

.gooey-nav-container nav ul li.active::after {
    opacity: 1;
    transform: scale(1);
}

.gooey-nav-container .effect {
    position: absolute;
    left: 0;
    top: 0;
    width: 0;
    height: 0;
    opacity: 1;
    pointer-events: none;
    display: grid;
    place-items: center;
    z-index: 1;
}

.gooey-nav-container .effect.text {
    color: #ffffff;
    font-family: var(--font-m);
    font-size: 0.72rem;
    font-weight: 600;
    text-transform: uppercase;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: color 0.3s var(--ease);
}

.gooey-nav-container .effect.text.active {
    color: #000000;
}

.gooey-nav-container .effect.filter {
    filter: url('#gooey-nav-filter');
}

.gooey-nav-container .effect.filter::before {
    display: none !important;
}

.gooey-nav-container .effect.filter::after {
    content: '';
    position: absolute;
    inset: 0;
    background: #ffffff;
    transform: scale(0);
    opacity: 0;
    z-index: -1;
    border-radius: 100vw;
}

.gooey-nav-container .effect.active::after {
    animation: gooey-pill 0.3s var(--ease) both;
}

@keyframes gooey-pill {
    to {
        transform: scale(1);
        opacity: 1;
    }
}

.gooey-nav-container .particle,
.gooey-nav-container .point {
    display: block;
    opacity: 0;
    width: 14px;
    height: 14px;
    border-radius: 100%;
    transform-origin: center;
}

.gooey-nav-container .particle {
    --time: 5s;
    position: absolute;
    top: calc(50% - 7px);
    left: calc(50% - 7px);
    animation: gooey-particle calc(var(--time)) var(--ease) 1 -350ms;
}

.gooey-nav-container .point {
    background: var(--color);
    opacity: 1;
    animation: gooey-point calc(var(--time)) var(--ease) 1 -350ms;
}

@keyframes gooey-particle {
    0% {
        transform: rotate(0deg) translate(var(--start-x), var(--start-y));
        opacity: 1;
        animation-timing-function: cubic-bezier(0.55, 0, 1, 0.45);
    }
    70% {
        transform: rotate(calc(var(--rotate) * 0.5)) translate(calc(var(--end-x) * 1.2), calc(var(--end-y) * 1.2));
        opacity: 1;
        animation-timing-function: var(--ease);
    }
    85% {
        transform: rotate(calc(var(--rotate) * 0.66)) translate(var(--end-x), var(--end-y));
        opacity: 1;
    }
    100% {
        transform: rotate(calc(var(--rotate) * 1.2)) translate(calc(var(--end-x) * 0.5), calc(var(--end-y) * 0.5));
        opacity: 1;
    }
}

@keyframes gooey-point {
    0% {
        transform: scale(0);
        opacity: 0;
        animation-timing-function: cubic-bezier(0.55, 0, 1, 0.45);
    }
    25% {
        transform: scale(0.35);
    }
    38% {
        opacity: 1;
    }
    65% {
        transform: scale(1);
        opacity: 1;
        animation-timing-function: var(--ease);
    }
    85% {
        transform: scale(1);
        opacity: 1;
    }
    100% {
        transform: scale(0);
        opacity: 0;
    }
}

/* ==========================================================================
   WIDGETS ADICIONAIS (WhatsApp, Topo e Seletor de Tema)
   ========================================================================== */

/* Floating WhatsApp Widget (Prata Metálico Chrome ALDEIA - Sem Piscar Verde) */
.floating-cta {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 60px;
    height: 60px;
    background: rgba(255, 255, 255, 0.03);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    color: #cbd5e1;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 4px 30px rgba(0, 0, 0, 0.1);
    z-index: 9999;
    border: 1px solid rgba(255, 255, 255, 0.15);
    transition: transform 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.floating-cta::before {
    display: none;
}

.floating-cta:hover {
    transform: scale(1.1) translateY(-4px);
    box-shadow: 0 10px 40px rgba(255, 255, 255, 0.1);
    border-color: rgba(255, 255, 255, 0.3);
    background: rgba(255, 255, 255, 0.08);
}

/* Scroll To Top Button */
.scroll-to-top {
    position: fixed;
    bottom: 30px;
    left: 30px;
    width: 50px;
    height: 50px;
    background: rgba(17, 17, 17, 0.4);
    border: 1px solid rgba(255, 255, 255, 0.08);
    backdrop-filter: blur(15px);
    -webkit-backdrop-filter: blur(15px);
    color: #fff;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 8px 24px rgba(0,0,0,0.3);
    z-index: 9999;
    opacity: 0;
    visibility: hidden;
    transform: translateY(20px);
    transition: all 0.4s cubic-bezier(0.165, 0.84, 0.44, 1);
}
.scroll-to-top.visible {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}
.scroll-to-top:hover {
    background: #fff;
    color: #000;
    transform: translateY(-4px);
    box-shadow: 0 12px 30px rgba(255,255,255,0.15);
}

/* Theme Toggle Button */
.theme-toggle {
    background: none;
    border: none;
    cursor: pointer;
    padding: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    transition: opacity 0.3s;
}
.theme-toggle:hover {
    opacity: 0.8;
}

/* Light Theme Overrides */
body.light-theme {
    background: #fcfcfc;
    color: #111;
}
body.light-theme :not(.btn-cta):not(.floating-cta):not(.btn-convert) {
    --accent: #7c3aed; /* Deep purple accent for light mode */
}
body.light-theme main {
    background: #fcfcfc;
}
body.light-theme header, 
body.light-theme footer {
    border-color: rgba(0,0,0,0.06);
}
body.light-theme .hero-section::before {
    background: radial-gradient(circle at 50% 50%, rgba(124, 58, 237, 0.05) 0%, transparent 80%);
}
body.light-theme .faq-item {
    border-bottom: 1px solid rgba(0,0,0,0.06);
}
body.light-theme .faq-q {
    color: #222;
}
body.light-theme .faq-answer {
    color: #555;
}
body.light-theme #custom-cursor {
    background: #7c3aed;
    mix-blend-mode: normal;
}
body.light-theme #cursor-follower {
    border: 1px solid rgba(124, 58, 237, 0.3);
}
body.light-theme .scroll-to-top {
    background: rgba(255, 255, 255, 0.8);
    border: 1px solid rgba(0, 0, 0, 0.08);
    color: #111;
}
body.light-theme .scroll-to-top:hover {
    background: #111;
    color: #fff;
}
/* =========================================
   PORTFOLIO BANNER
   ========================================= */
.portfolio-banner-container {
    width: 100%;
    margin-top: 24px;
    border-radius: 32px;
    overflow: hidden;
    position: relative;
}

.portfolio-banner-link {
    display: block;
    position: relative;
    width: 100%;
    aspect-ratio: 24/9;
    min-height: 280px;
    background: #111;
    overflow: hidden;
    text-decoration: none;
    border-radius: 20px;
}

.portfolio-banner-img {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    transition: transform 0.8s cubic-bezier(0.16, 1, 0.3, 1);
}

.portfolio-banner-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    opacity: 0.7;
    transition: opacity 0.4s ease;
}

.portfolio-banner-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(115deg, rgba(0,0,0,0.8) 0%, rgba(0,0,0,0.2) 62%, rgba(0,0,0,0.5) 100%);
    z-index: 1;
}

.portfolio-banner-content {
    position: absolute;
    inset: 0;
    z-index: 2;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
    padding: 24px;
}

.portfolio-banner-content h3 {
    font-size: 3.5rem;
    font-weight: 500;
    color: var(--color-white);
    margin-bottom: 30px;
    text-transform: uppercase;
    letter-spacing: -0.02em;
    transform: translateY(20px);
    transition: transform 0.5s cubic-bezier(0.16, 1, 0.3, 1), opacity 0.5s ease;
}

.banner-btn {
    min-height: 50px;
    padding: 0 16px 0 22px;
    font-size: 0.82rem;
    background: rgba(10, 10, 10, 0.38);
    border-color: rgba(255, 255, 255, 0.32);
    color: #ffffff;
    box-shadow: 0 14px 34px rgba(0, 0, 0, 0.3), inset 0 1px 0 rgba(255, 255, 255, 0.16);
    backdrop-filter: blur(18px);
    -webkit-backdrop-filter: blur(18px);
    animation: portfolio-cta-breathe 3.4s ease-in-out infinite;
}

.banner-btn::after {
    content: '↗';
    display: grid;
    width: 28px;
    height: 28px;
    place-items: center;
    border-radius: 50%;
    background: #090909;
    color: #fff;
    font-size: 0.95rem;
    transition: transform 0.3s var(--ease), background 0.3s var(--ease);
}

.portfolio-banner-link::after {
    content: '';
    position: absolute;
    inset: 0;
    z-index: 1;
    pointer-events: none;
    background: linear-gradient(105deg, transparent 38%, rgba(255, 255, 255, 0.15) 50%, transparent 62%);
    transform: translateX(-120%);
    animation: portfolio-banner-sweep 7s cubic-bezier(0.16, 1, 0.3, 1) infinite;
}

.portfolio-banner-link:hover .portfolio-banner-img {
    transform: scale(1.05);
}

.portfolio-banner-link:hover .portfolio-banner-img img {
    opacity: 0.9;
}

.portfolio-banner-link:hover .banner-btn {
    background: rgba(255, 255, 255, 0.16);
    color: #ffffff;
    transform: translateY(-3px) scale(1.02);
    animation-play-state: paused;
}

.portfolio-banner-link:hover .banner-btn::after {
    transform: translate(2px, -2px) rotate(8deg);
    background: var(--accent);
}

@keyframes portfolio-cta-breathe {
    0%, 100% { transform: translate3d(0, 0, 0); }
    50% { transform: translate3d(0, -4px, 0); }
}

@keyframes portfolio-banner-sweep {
    0%, 55% { transform: translateX(-120%); }
    76%, 100% { transform: translateX(120%); }
}

@media (max-width: 768px) {
    .portfolio-banner-link {
        aspect-ratio: 1/1;
        min-height: 280px;
    }
    .portfolio-banner-content h3 {
        font-size: 2.2rem;
    }
    .banner-btn {
        font-size: 0.76rem;
        min-height: 44px;
        padding: 0 14px 0 18px;
    }
}

/* =========================================
   PORTFOLIO PAGE STYLES
   ========================================= */
.portfolio-page-hero {
    position: relative;
    padding: 180px 20px 80px;
    text-align: center;
    background: var(--bg);
    overflow: hidden;
}

.portfolio-hero-bg {
    position: absolute;
    inset: 0;
    pointer-events: none;
    background: #030303;
}

.portfolio-hero-title {
    font-family: var(--font-h);
    font-size: 5rem;
    font-weight: 500;
    color: var(--text);
    letter-spacing: -0.03em;
    text-transform: uppercase;
    margin-bottom: 20px;
}

.portfolio-hero-subtitle {
    color: var(--text-muted);
    max-width: 600px;
    margin: 0 auto;
    font-size: 1.1rem;
    line-height: 1.6;
}

.portfolio-gallery-section {
    padding: 80px 20px 140px;
    background: #060606;
    position: relative;
    z-index: 2;
}

.portfolio-tabs {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 14px;
    flex-wrap: wrap;
    margin-bottom: 50px;
}

.portfolio-tab {
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.12);
    color: rgba(255, 255, 255, 0.7);
    padding: 12px 28px;
    border-radius: 100px;
    font-size: 0.88rem;
    font-weight: 500;
    letter-spacing: 0.03em;
    cursor: pointer;
    transition: all 0.35s cubic-bezier(0.16, 1, 0.3, 1);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
}

.portfolio-tab:hover {
    background: rgba(255, 255, 255, 0.08);
    border-color: rgba(255, 255, 255, 0.35);
    color: #ffffff;
    transform: translateY(-2px);
}

.portfolio-tab.active {
    background: linear-gradient(135deg, #ffffff 0%, #e0e0e0 40%, #b0b0b0 100%);
    color: #050505;
    border-color: #ffffff;
    font-weight: 600;
    box-shadow: 0 4px 20px rgba(255, 255, 255, 0.25), 0 0 10px rgba(255, 255, 255, 0.1);
}

.portfolio-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
    gap: 30px;
    max-width: 1400px;
    margin: 0 auto;
}

@media (max-width: 768px) {
    .portfolio-gallery-section {
        padding: 50px 16px 100px;
    }
    .portfolio-tabs {
        gap: 8px;
        margin-bottom: 35px;
    }
    .portfolio-tab {
        padding: 10px 20px;
        font-size: 0.8rem;
    }
    .portfolio-grid {
        grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
        gap: 20px;
    }
}

@media (max-width: 480px) {
    .portfolio-grid {
        grid-template-columns: 1fr;
        gap: 18px;
    }
}

.portfolio-card {
    position: relative;
    aspect-ratio: 4/5;
    background: #111;
    border-radius: 20px;
    overflow: hidden;
    cursor: pointer;
    opacity: 0;
    animation: itemFadeIn 0.8s cubic-bezier(0.16, 1, 0.3, 1) forwards;
    transition: transform 0.6s cubic-bezier(0.16, 1, 0.3, 1), box-shadow 0.6s ease;
}

@keyframes itemFadeIn {
    0% {
        opacity: 0;
        transform: translateY(30px) scale(0.95);
    }
    100% {
        opacity: 1;
        transform: translateY(0) scale(1);
    }
}

.portfolio-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 30px 60px rgba(0, 0, 0, 0.6);
}

.portfolio-card-img {
    position: absolute;
    inset: 0;
}

.portfolio-card.format-auto {
    height: auto;
    aspect-ratio: auto;
}

.portfolio-card.format-auto .portfolio-card-img {
    position: relative;
    padding: 0;
    height: auto;
}

.portfolio-card.format-auto .portfolio-card-img img {
    position: relative;
    height: auto;
    display: block;
}

.portfolio-card-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.6s cubic-bezier(0.16, 1, 0.3, 1);
}

.portfolio-card:hover .portfolio-card-img img {
    transform: scale(1.08);
}

.portfolio-card-badge {
    position: absolute;
    top: 16px;
    left: 16px;
    z-index: 3;
    padding: 6px 14px;
    background: rgba(0, 0, 0, 0.7);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.15);
    border-radius: 20px;
    font-size: 0.75rem;
    font-weight: 600;
    letter-spacing: 0.05em;
    text-transform: uppercase;
    color: #ffffff;
    pointer-events: none;
    transition: opacity 0.3s ease, transform 0.3s ease;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.4);
}

.portfolio-card:hover .portfolio-card-badge {
    opacity: 0.9;
    transform: translateY(-2px);
}

.portfolio-card-overlay {
    position: absolute;
    inset: 0;
    z-index: 2;
    background: linear-gradient(to top, rgba(0,0,0,0.85) 0%, rgba(0,0,0,0.3) 40%, transparent 100%);
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    padding: 24px;
    opacity: 0.85;
    transform: translateY(0);
    transition: all 0.4s ease;
}

.portfolio-card:hover .portfolio-card-overlay {
    opacity: 1;
    background: linear-gradient(to top, rgba(0,0,0,0.95) 0%, rgba(0,0,0,0.4) 50%, transparent 100%);
}

.portfolio-card-cat {
    color: rgba(255,255,255,0.75);
    font-size: 0.8rem;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    margin-bottom: 6px;
    font-weight: 500;
}

.portfolio-card-title {
    color: #fff;
    font-size: 1.4rem;
    font-weight: 600;
    line-height: 1.2;
}

/* =========================================
   PROJECT NESTED MODAL (DEEP DIVE)
   ========================================= */
.project-modal {
    position: fixed;
    inset: 0;
    z-index: 999999;
    display: flex;
    justify-content: center;
    align-items: center;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.5s cubic-bezier(0.16, 1, 0.3, 1);
}

.project-modal.active {
    opacity: 1;
    pointer-events: auto;
}

.project-modal-overlay {
    position: absolute;
    inset: 0;
    background: rgba(0, 0, 0, 0.85);
    backdrop-filter: blur(30px);
    -webkit-backdrop-filter: blur(30px);
}

.project-modal-content {
    position: relative;
    width: 95vw;
    max-width: 1600px;
    height: 90vh;
    background: #080808;
    border: 1px solid rgba(255, 255, 255, 0.05);
    border-radius: 24px;
    display: flex;
    flex-direction: column;
    overflow: hidden;
    transform: translateY(40px) scale(0.95);
    transition: transform 0.6s cubic-bezier(0.16, 1, 0.3, 1);
    box-shadow: 0 40px 100px rgba(0,0,0,0.8);
}

.project-modal.active .project-modal-content {
    transform: translateY(0) scale(1);
}

.project-modal-close {
    position: absolute;
    top: 30px;
    right: 30px;
    background: rgba(255,255,255,0.05);
    border: 1px solid rgba(255,255,255,0.1);
    width: 50px;
    height: 50px;
    border-radius: 50%;
    color: #fff;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 10;
    transition: all 0.3s ease;
}

.project-modal-close:hover {
    background: rgba(255,255,255,0.1);
    transform: rotate(90deg);
}

.project-modal-header {
    padding: 50px;
    border-bottom: 1px solid rgba(255,255,255,0.05);
}

.project-modal-title {
    font-size: 3rem;
    font-weight: 500;
    color: #fff;
    margin-bottom: 10px;
}

.project-modal-category {
    color: var(--color-gray-400);
    font-size: 1rem;
    text-transform: uppercase;
    letter-spacing: 0.1em;
}

.project-modal-body {
    flex: 1;
    overflow-y: auto;
    padding: 50px;
    display: flex;
    flex-direction: column;
    gap: 40px;
    align-items: center;
}

.project-modal-body::-webkit-scrollbar {
    width: 6px;
}
.project-modal-body::-webkit-scrollbar-track {
    background: transparent;
}
.project-modal-body::-webkit-scrollbar-thumb {
    background: rgba(255,255,255,0.2);
    border-radius: 10px;
}

.project-asset-wrap {
    width: 100%;
    max-width: 1200px;
    border-radius: 16px;
    overflow: hidden;
    background: #000;
}

.project-asset-wrap img, .project-asset-wrap video {
    width: 100%;
    height: auto;
    display: block;
}

/* =========================================
   MOBILE LOGO SCROLL EFFECT (BRUNO GUTERRES INSP)
   ========================================= */
@media (max-width: 768px) {
    header {
        position: sticky;
        top: 0;
        z-index: 9000;
        background: transparent;
        transition: background 0.4s ease, backdrop-filter 0.4s ease;
    }

    /* Simulate scroll by modifying header styles if body has scrolled */
    /* Since we can't easily add JS just for this, CSS `sticky` + a trick or we add a small script */
    /* A sticky header with blur works perfectly on mobile */
    .header-inner {
        padding: 15px 20px;
        background: rgba(0,0,0,0.6);
        backdrop-filter: blur(15px);
        -webkit-backdrop-filter: blur(15px);
        border-bottom: 1px solid rgba(255,255,255,0.05);
        border-radius: 0 0 20px 20px;
        transition: all 0.3s ease;
    }

    .logo-wrap .logo {
        height: 28px; /* Smaller sleek logo on mobile */
        transition: height 0.3s ease;
    }
    
    .portfolio-hero-title {
        font-size: 3rem;
    }
    
    .project-modal-content {
        width: 100vw;
        height: 100vh;
        border-radius: 0;
    }
    
    .project-modal-header {
        padding: 30px;
    }
    
    .project-modal-title {
        font-size: 2rem;
    }
    
    .project-modal-body {
        padding: 30px 20px;
    }
}

/* =========================================
   DEDICATED PROJECT PAGE & VRUUM ANIMATION
   ========================================= */
/* =========================================================
   PROJECT PAGE (PORTFOLIO INTERNO) - DESIGN RESPIRÁVEL
   ========================================================= */

.project-page-container {
    opacity: 0;
    transform: translateY(60px) scale(0.98);
    transition: transform 1.2s cubic-bezier(0.16, 1, 0.3, 1), opacity 1s ease;
    will-change: transform, opacity;
}

.project-page-container.vruum-active {
    opacity: 1;
    transform: translateY(0) scale(1);
}

.project-hero {
    position: relative;
    padding: 180px 4vw 80px;
    text-align: center;
    background: #020202; /* Fundo mais denso */
    display: flex;
    flex-direction: column;
    align-items: center;
}

.project-hero-bg {
    position: absolute;
    inset: 0;
    background: radial-gradient(circle at top, var(--accent-glow, rgba(212, 212, 216, 0.18)), transparent 70%);
    pointer-events: none;
}

.btn-back-portfolio {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    color: var(--color-gray-400);
    text-decoration: none;
    font-size: 0.85rem;
    text-transform: uppercase;
    letter-spacing: 0.15em;
    margin-bottom: 40px;
    transition: color 0.3s ease, transform 0.3s ease;
}

.btn-back-portfolio:hover {
    color: var(--color-white);
    transform: translateX(-4px);
}

.btn-back-portfolio svg {
    width: 16px;
    height: 16px;
}

.project-category {
    color: var(--color-gray-400);
    font-family: var(--font-m);
    font-size: 0.95rem;
    text-transform: uppercase;
    letter-spacing: 0.15em;
    margin-bottom: 20px;
}

.project-title {
    font-family: var(--font-h);
    font-size: clamp(3rem, 6vw, 5.5rem); /* Tipografia fluida e majestosa */
    font-weight: 500;
    color: var(--color-white);
    letter-spacing: -0.04em;
    text-transform: uppercase;
    line-height: 1.1;
    max-width: 900px;
    margin: 0 auto;
}

.project-gallery {
    padding: 0 4vw 160px;
    background: #020202;
}

#project-page-body {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8vw; /* Espaçamento luxuoso entre as mídias */
    max-width: 1400px;
    margin: 0 auto;
    width: 100%;
}

.project-asset-wrap {
    width: 100%;
    opacity: 0;
    transform: translateY(40px);
    transition: opacity 1s ease, transform 1s cubic-bezier(0.16, 1, 0.3, 1);
}

.project-asset-wrap.revealed {
    opacity: 1;
    transform: translateY(0);
}

.project-asset-wrap img,
.project-asset-wrap video {
    width: 100%;
    height: auto;
    border-radius: 4px;
    display: block;
}

@media (max-width: 768px) {
    .project-hero {
        padding: 140px 6vw 60px;
    }
    #project-page-body {
        gap: 60px;
    }
}

/* ===== FORMATOS ADAPTATIVOS DE MÍDIA (STORIES 9:16 / POSTS 1:1 / VÍDEOS 16:9) ===== */
.aldeia-image-container {
    width: 100%;
    margin: 0 auto;
    border-radius: 12px;
    overflow: hidden;
    background: #000;
    border: 1px solid rgba(255, 255, 255, 0.08);
}

.aldeia-image-container.format-story {
    aspect-ratio: 9 / 16;
    max-width: 420px;
}

.aldeia-image-container.format-post {
    aspect-ratio: 1 / 1;
    max-width: 600px;
}

.aldeia-image-container.format-video {
    aspect-ratio: 16 / 9;
    max-width: 1000px;
}

.aldeia-image-container img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

/* =========================================================
   QMA LANDING REFINEMENT — PUBLIC SITE ONLY
   ========================================================= */
:root {
    --bg: #050505;
    --bg2: #0a0a0a;
    --bg-card: #0a0a0a;
    --text: rgba(255, 255, 255, 0.9);
    --text-muted: rgba(255, 255, 255, 0.7);
    --text-dim: rgba(255, 255, 255, 0.5);
    --border: rgba(255, 255, 255, 0.1);
    --border-hover: rgba(255, 255, 255, 0.2);
    --qma-container: 1280px;
    --font-display-heavy: 'Sora', 'Clash Display', sans-serif;
}

html,
body {
    background: #050505;
}

body {
    color: rgba(255, 255, 255, 0.9);
    letter-spacing: normal;
}

.qma-container,
.section-container,
.cta-inner {
    width: 100%;
    max-width: var(--qma-container);
    margin-inline: auto;
    padding-inline: 24px;
}

main > section:not(.hero-section) {
    position: relative;
    padding-block: 128px;
}

main > section,
.hero-video-bg,
.hero-marquee-wrapper-dual,
.logoloop,
.portfolio-banner-container,
.portfolio-banner-link,
.cta-banner,
.cta-video-bg {
    overflow: hidden;
}

.hero-section {
    min-height: 100dvh;
    background: #050505;
}

.hero-content-centered {
    max-width: var(--qma-container);
    align-items: center;
    text-align: center;
}

.hero-title-cinematic {
    font-family: var(--font-display-heavy);
    max-width: 960px;
    font-size: clamp(2.5rem, 6vw, 5.5rem);
    font-weight: 800;
    letter-spacing: -0.06em;
    line-height: 1.15;
    padding-block: 12px;
    overflow: visible;
    text-wrap: balance;
    margin-inline: auto;
}

main h1,
main h2 {
    color: rgba(255, 255, 255, 0.9);
    font-family: var(--font-display-heavy);
    font-weight: 800;
    letter-spacing: -0.06em;
    line-height: 1.15;
    text-wrap: balance;
}

.hero-subtitle-cinematic {
    max-width: 640px;
    color: rgba(255, 255, 255, 0.7);
    letter-spacing: normal;
    margin-inline: auto;
    text-align: center;
}

.hero-scroll-cinematic {
    align-self: center;
    text-align: center;
}

.mega-title,
.logos-section-title,
.portfolio-banner-content h3,
.future-title-wrapper {
    letter-spacing: -0.04em;
    text-wrap: balance;
}

.mega-title {
    font-size: clamp(2.5rem, 6vw, 5.5rem);
    font-weight: 800;
    line-height: 1.15;
}

.logos-section-title,
.portfolio-banner-content h3 {
    font-family: var(--font-display-heavy);
    font-weight: 800;
    line-height: 1.15;
    padding-block: 12px;
}

.hero-title-cinematic > span,
.hero-title-cinematic .shiny-text,
.scroll-float-text,
.scroll-float-text .char {
    line-height: 1.15;
    padding-block: 4px;
    overflow: visible;
}

body.light-theme {
    --bg: #f5f5f4;
    --bg2: #e7e5e4;
    --bg-card: #ffffff;
    --text: rgba(5, 5, 5, 0.9);
    --text-muted: rgba(5, 5, 5, 0.7);
    --text-dim: rgba(5, 5, 5, 0.5);
    --border: rgba(5, 5, 5, 0.1);
    --border-hover: rgba(5, 5, 5, 0.2);
    background: #f5f5f4;
    color: rgba(5, 5, 5, 0.9);
}

body.light-theme main,
body.light-theme main > section:not(.hero-section),
body.light-theme footer {
    background-color: #f5f5f4;
}

body.light-theme main h1,
body.light-theme main h2,
body.light-theme .section-desc,
body.light-theme .faq-desc,
body.light-theme .about-card p,
body.light-theme .future-text,
body.light-theme footer p {
    color: rgba(5, 5, 5, 0.9);
}

body.light-theme .about-card,
body.light-theme .portfolio-banner-container {
    background: rgba(255, 255, 255, 0.7);
    border-color: rgba(5, 5, 5, 0.1);
}

body.light-theme :not(.btn-cta):not(.floating-cta):not(.btn-convert) {
    --accent: rgba(5, 5, 5, 0.9);
}

.section-desc,
.faq-desc,
.about-card p,
.future-text,
footer p {
    color: rgba(255, 255, 255, 0.7);
    letter-spacing: normal;
}

.section-label,
.project-category,
.portfolio-card-category,
footer h4 {
    color: rgba(255, 255, 255, 0.5);
}

.about-card,
.portfolio-banner-container {
    background: #0a0a0a;
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.services-accordion,
.faq-list {
    gap: 16px;
    background: transparent;
    border: 0;
}

.svc-item,
.faq-item {
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 24px;
    overflow: hidden;
    transition: transform 300ms var(--ease), background-color 300ms var(--ease), border-color 300ms var(--ease);
}

.svc-item:last-child {
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.svc-item:hover,
.svc-item.active,
.faq-item:hover,
.faq-item.active {
    background: rgba(255, 255, 255, 0.05);
    border-color: rgba(255, 255, 255, 0.2);
    transform: translateY(-2px);
}

.svc-header {
    padding-inline: 24px;
}

.svc-item.active .svc-body {
    padding: 0 24px 24px;
}

.faq-item.active .faq-answer {
    padding: 0 24px 24px 80px;
}

.faq-item.active .faq-answer > * {
    padding: 0;
}

body.light-theme .services-accordion,
body.light-theme .faq-list {
    background: transparent;
    border: 0;
}

body.light-theme .svc-item,
body.light-theme .faq-item {
    background: rgba(255, 255, 255, 0.7);
    border-color: rgba(5, 5, 5, 0.1);
}

.about-card,
.portfolio-banner-container {
    transition: transform 300ms var(--ease), background-color 300ms var(--ease), border-color 300ms var(--ease), box-shadow 300ms var(--ease);
}

:where(a, button, [role="button"], .service-item, .faq-item) {
    transition: transform 300ms var(--ease), background-color 300ms var(--ease), border-color 300ms var(--ease), color 300ms var(--ease), opacity 300ms var(--ease);
}

:where(a, button, [role="button"]):active {
    transform: scale(0.95);
}

:where(.btn-vamos, .btn-cta, .pc-contact-btn, .lang-btn, .faq-btn, .floating-cta):hover {
    background-color: rgba(255, 255, 255, 0.1);
}

.about-card:hover,
.portfolio-banner-container:hover {
    transform: translateY(-8px) scale(1.02);
    border-color: rgba(255, 255, 255, 0.2);
    box-shadow: 0 8px 32px rgba(255, 255, 255, 0.05);
}

/* Sobre — editorial glass treatment */
.about-section {
    position: relative;
    overflow: hidden;
}

.about-section::before {
    content: '';
    position: absolute;
    width: 560px;
    height: 560px;
    right: -260px;
    top: 40px;
    pointer-events: none;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(255, 255, 255, 0.07), transparent 68%);
    filter: blur(12px);
}

.about-big-text {
    position: relative;
    max-width: 1100px;
    padding-left: 32px;
    border-left: 1px solid rgba(255, 255, 255, 0.22);
}

.about-big-text p {
    font-weight: 500;
    line-height: 1.42;
    letter-spacing: -0.025em;
}

.about-cards {
    position: relative;
    grid-template-columns: 1.15fr 0.85fr;
    gap: 24px;
    border-top: 0;
}

.about-card {
    position: relative;
    min-height: 188px;
    gap: 20px;
    padding: 28px;
    overflow: hidden;
    border-radius: 32px;
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.075), rgba(255, 255, 255, 0.025));
}

.about-card::after {
    content: '';
    position: absolute;
    inset: auto -32px -56px auto;
    width: 150px;
    height: 150px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.055);
    filter: blur(16px);
}

.about-card .card-icon {
    width: 44px;
    height: 44px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.16);
    color: #fff;
}

.about-card-copy {
    position: relative;
    z-index: 1;
}

.about-card-kicker {
    display: block;
    margin-bottom: 12px;
    color: rgba(255, 255, 255, 0.5);
    font-family: var(--font-m);
    font-size: 0.68rem;
    font-weight: 700;
    letter-spacing: 0.12em;
    text-transform: uppercase;
}

.about-card p {
    max-width: 440px;
    font-size: 0.98rem;
    line-height: 1.65;
}

@media (max-width: 768px) {
    .about-big-text {
        padding-left: 20px;
    }

    .about-cards {
        grid-template-columns: 1fr;
    }

    .about-card {
        min-height: 0;
        padding: 24px;
    }
}

.portfolio-banner-img img,
.pc-card .avatar {
    transition: transform 600ms var(--ease), opacity 300ms var(--ease);
}

.portfolio-banner-link:hover .portfolio-banner-img img {
    transform: scale(1.04);
}

@media (min-width: 1024px) {
    .qma-container,
    .section-container,
    .cta-inner {
        padding-inline: 48px;
    }
}

@media (max-width: 768px) {
    main > section:not(.hero-section) {
        padding-block: 96px;
    }

    .hero-content-centered {
        align-items: center;
        text-align: center;
    }

    .hero-title-cinematic {
        font-size: clamp(2.5rem, 12vw, 4rem);
    }

    .mega-title {
        font-size: clamp(2.5rem, 12vw, 4rem);
    }

    .faq-item.active .faq-answer {
        padding: 0 24px 24px;
    }
}

@media (prefers-reduced-motion: reduce) {
    *,
    *::before,
    *::after {
        scroll-behavior: auto !important;
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
    }
}

/* HERO — preserva acentos e mantém o título sempre completo. */
.hero-content-centered {
    padding-block: 16px;
}

.hero-title-cinematic {
    line-height: 1.2;
    padding-block: 16px;
}

.hero-title-cinematic > span,
.hero-title-cinematic .shiny-text {
    padding-block: 6px;
    overflow: visible;
}

/* A mídia continua contida no próprio plano de fundo, mas o texto pode
   ultrapassar alguns pixels sem cortar acentos como Á, Ã, Ê e Ú. */
.hero-section {
    overflow: visible;
}

.hero-content-centered {
    padding-block: clamp(20px, 4vh, 40px);
}

.hero-title-cinematic,
.hero-title-cinematic > span,
.hero-title-cinematic .shiny-text {
    line-height: 1.28;
    padding-block: clamp(8px, 1.2vh, 16px);
}

.hero-video-bg {
    overflow: hidden;
}

/* Notebook estreito / janela dividida: preserva a margem direita sem reduzir
   o peso da tipografia nem alterar as animações do Hero. */
@media (min-width: 769px) and (max-width: 1100px) {
    .hero-section {
        padding-inline: 56px;
    }

    .hero-content-centered,
    .hero-title-cinematic {
        width: 100%;
        max-width: 100%;
        box-sizing: border-box;
    }

    .hero-title-cinematic {
        font-size: clamp(2.35rem, 5.25vw, 3.9rem);
        letter-spacing: -0.05em;
    }
}

.typewriter-cursor {
    display: none;
}

.sr-only {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border: 0;
}

@media (max-width: 768px) {
    #preloader-grain,
    #hero-grain {
        display: none;
    }

    .hero-video-bg {
        background: #050505 center / cover no-repeat url('assets/portfolio/1.webp');
    }
}

/* PORTFOLIO — mesma linguagem de vidro e pílulas da navegação. */
.portfolio-gallery-section {
    padding: 72px 20px 104px;
    background:
        radial-gradient(circle at 50% 0%, rgba(255, 255, 255, 0.07), transparent 34%),
        #060606;
}

.portfolio-tabs {
    width: fit-content;
    max-width: 100%;
    gap: 4px;
    margin: 0 auto 36px;
    padding: 5px;
    border: 1px solid rgba(255, 255, 255, 0.13);
    border-radius: 999px;
    background: rgba(10, 10, 10, 0.68);
    box-shadow: 0 14px 36px rgba(0, 0, 0, 0.2), inset 0 1px 0 rgba(255, 255, 255, 0.08);
    backdrop-filter: blur(18px) saturate(120%);
    -webkit-backdrop-filter: blur(18px) saturate(120%);
}

.portfolio-tab {
    min-height: 40px;
    padding: 8px 16px;
    border: 1px solid transparent;
    border-radius: 999px;
    background: transparent;
    letter-spacing: 0.01em;
}

.portfolio-tab:hover {
    transform: translateY(-1px) scale(1.015);
    border-color: rgba(255, 255, 255, 0.1);
    background: rgba(255, 255, 255, 0.09);
}

.portfolio-tab:active {
    transform: scale(0.96);
}

.portfolio-tab.active {
    border-color: rgba(255, 255, 255, 0.5);
    background: rgba(255, 255, 255, 0.94);
    color: #050505;
    box-shadow: 0 8px 20px rgba(255, 255, 255, 0.13);
}

.portfolio-grid {
    gap: 22px;
}

.case-card {
    position: relative;
    min-height: 300px;
    overflow: hidden;
    border: 1px solid rgba(255, 255, 255, 0.12);
    border-radius: 28px;
    background: #0a0a0a;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.24), inset 0 1px 0 rgba(255, 255, 255, 0.06);
    isolation: isolate;
    transition: transform 500ms var(--ease), border-color 500ms var(--ease), box-shadow 500ms var(--ease);
}

.case-card:hover {
    z-index: 1;
    transform: translateY(-6px);
    border-color: rgba(255, 255, 255, 0.3);
    box-shadow: 0 28px 54px rgba(0, 0, 0, 0.38), 0 0 30px rgba(255, 255, 255, 0.06);
}

.case-media {
    position: relative;
    width: 100%;
    height: 100%;
    min-height: 300px;
    overflow: hidden;
}

.case-img,
.case-media video {
    width: 100%;
    height: 100%;
    min-height: 300px;
    object-fit: cover;
    transition: transform 700ms var(--ease), filter 500ms var(--ease);
}

.case-card:hover .case-img,
.case-card:hover .case-media video {
    transform: scale(1.055);
    filter: saturate(1.06) contrast(1.04);
}

.case-overlay {
    position: absolute;
    inset: 0;
    z-index: 1;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    justify-content: flex-end;
    gap: 10px;
    padding: 22px;
    background: linear-gradient(180deg, rgba(5, 5, 5, 0.02) 26%, rgba(5, 5, 5, 0.9) 100%);
}

.case-category,
.case-link {
    display: inline-flex;
    align-items: center;
    min-height: 32px;
    border: 1px solid rgba(255, 255, 255, 0.18);
    border-radius: 999px;
    background: rgba(5, 5, 5, 0.46);
    color: rgba(255, 255, 255, 0.86);
    font-size: 0.72rem;
    font-weight: 700;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
}

.case-category {
    padding: 6px 10px;
}

.case-title {
    margin: 0;
    color: rgba(255, 255, 255, 0.96);
    font-family: 'Clash Display', Inter, sans-serif;
    font-size: clamp(1.45rem, 2.5vw, 2.15rem);
    font-weight: 700;
    letter-spacing: -0.045em;
    line-height: 1.12;
}

.case-link {
    padding: 6px 12px;
    text-decoration: none;
    transition: transform 300ms var(--ease), background 300ms var(--ease), color 300ms var(--ease);
}

.case-link:hover {
    transform: translateX(3px);
    background: rgba(255, 255, 255, 0.95);
    color: #050505;
}

@media (max-width: 768px) {
    .portfolio-gallery-section {
        padding: 56px 16px 80px;
    }

    .portfolio-tabs {
        width: 100%;
        justify-content: center;
        border-radius: 24px;
        margin-bottom: 28px;
    }

    .portfolio-tab {
        min-height: 36px;
        padding: 7px 11px;
        font-size: 0.72rem;
    }

    .portfolio-grid,
    .case-media,
    .case-img,
    .case-media video,
    .case-card {
        min-height: 260px;
    }

    .case-overlay {
        padding: 18px;
    }
}

/* Compacta o ritmo vertical e remove a cápsula externa dos filtros. */
main > section:not(.hero-section) {
    padding-block: 104px;
}

.hero-title-cinematic {
    gap: 4px;
    margin-bottom: 20px;
}

.hero-subtitle-cinematic {
    margin-bottom: 24px;
}

.portfolio-gallery-section {
    padding-block: 56px 80px;
}

.portfolio-tabs {
    width: auto;
    gap: 10px;
    margin-bottom: 24px;
    padding: 0;
    border: 0;
    border-radius: 0;
    background: transparent;
    box-shadow: none;
    backdrop-filter: none;
    -webkit-backdrop-filter: none;
}

.portfolio-tab {
    border-color: rgba(255, 255, 255, 0.13);
    background: rgba(255, 255, 255, 0.045);
}

.case-title {
    font-family: var(--font-display-heavy);
    font-weight: 800;
    letter-spacing: -0.06em;
}

@media (max-width: 768px) {
    main > section:not(.hero-section) {
        padding-block: 80px;
    }

    .hero-title-cinematic {
        gap: 2px;
        margin-bottom: 16px;
    }

    .hero-subtitle-cinematic {
        margin-bottom: 20px;
    }

    .portfolio-gallery-section {
        padding-block: 48px 64px;
    }

    .portfolio-tabs {
        width: auto;
        border-radius: 0;
        padding: 0;
    }
}

/* Navegação mobile: cartões de vidro compactos, inspirados no padrão CardNav. */
@media (max-width: 768px) {
    html {
        color-scheme: dark;
    }

    #main-nav {
        padding: 12px 12px 0;
    }

    .nav-inner {
        min-height: 58px;
        padding: 0 12px 0 16px;
        border: 1px solid rgba(255, 255, 255, 0.14);
        border-radius: 22px;
        background: rgba(10, 10, 10, 0.72);
        box-shadow: 0 14px 40px rgba(0, 0, 0, 0.28);
        backdrop-filter: blur(20px) saturate(130%);
        -webkit-backdrop-filter: blur(20px) saturate(130%);
    }

    .nav-logo {
        position: static;
        transform: none;
        margin-right: auto;
    }

    .nav-logo img,
    .nav-logo .logo-nav {
        max-height: 24px;
        width: auto;
    }

    /* O idioma continua acessível no celular: é uma ação de navegação, não
       um detalhe exclusivo do desktop. */
    .nav-actions {
        gap: 8px;
    }

    .nav-actions .lang-selector {
        display: block !important;
        margin: 0;
        position: relative;
        z-index: 202;
    }

    .nav-actions .lang-btn {
        display: inline-grid;
        width: 42px;
        min-width: 42px;
        min-height: 42px;
        padding: 0;
        place-items: center;
        border-radius: 15px;
        background: rgba(255, 255, 255, 0.07);
        border-color: rgba(255, 255, 255, 0.12);
    }

    .nav-actions .lang-btn .globe-icon {
        width: 17px;
        height: 17px;
        padding: 0;
        border-radius: 0;
        background: transparent;
        opacity: 0.92;
    }

    .nav-actions .lang-current,
    .nav-actions .lang-arrow {
        display: none;
    }

    .nav-actions .lang-dropdown {
        top: calc(100% + 9px);
        right: 0;
        left: auto;
        width: min(170px, calc(100vw - 24px));
        z-index: 205;
    }

    .nav-hamburger {
        width: 42px;
        height: 42px;
        margin-left: 0;
        border: 1px solid rgba(255, 255, 255, 0.12);
        border-radius: 15px;
        background: rgba(255, 255, 255, 0.07);
        box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.08);
        transition: transform 300ms var(--ease), background 300ms var(--ease), border-color 300ms var(--ease);
    }

    .nav-hamburger:hover,
    .nav-hamburger:focus-visible {
        border-color: rgba(255, 255, 255, 0.25);
        background: rgba(255, 255, 255, 0.12);
    }

    .nav-hamburger:active {
        transform: scale(0.95);
    }

    .nav-hamburger span {
        width: 17px;
        height: 1.5px;
        border-radius: 999px;
        background: rgba(255, 255, 255, 0.88);
    }

    #mobile-menu {
        inset: auto 12px auto;
        top: 80px;
        display: block;
        padding: 10px;
        overflow: hidden;
        pointer-events: none;
        opacity: 0;
        visibility: hidden;
        transform: translate3d(0, -12px, 0) scale(0.98);
        transform-origin: top center;
        border: 1px solid rgba(255, 255, 255, 0.14);
        border-radius: 26px;
        background: rgba(9, 9, 9, 0.8);
        box-shadow: 0 24px 72px rgba(0, 0, 0, 0.48), inset 0 1px 0 rgba(255, 255, 255, 0.08);
        backdrop-filter: blur(24px) saturate(135%);
        -webkit-backdrop-filter: blur(24px) saturate(135%);
        transition: opacity 300ms var(--ease), transform 300ms var(--ease), visibility 300ms step-end;
    }

    #mobile-menu.active {
        pointer-events: auto;
        opacity: 1;
        visibility: visible;
        transform: translate3d(0, 0, 0) scale(1);
        transition: opacity 300ms var(--ease), transform 300ms var(--ease), visibility 0s;
    }

    .mobile-nav-links {
        display: grid;
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 8px;
    }

    .mobile-nav-link {
        position: relative;
        display: flex;
        align-items: flex-end;
        min-height: 64px;
        padding: 12px;
        overflow: hidden;
        border: 1px solid rgba(255, 255, 255, 0.09);
        border-radius: 17px;
        background: linear-gradient(145deg, rgba(255, 255, 255, 0.09), rgba(255, 255, 255, 0.035));
        color: rgba(255, 255, 255, 0.9);
        font-family: var(--font-h);
        font-size: 0.84rem;
        font-weight: 750;
        line-height: 1.05;
        letter-spacing: -0.025em;
        transition: transform 300ms var(--ease), background 300ms var(--ease), border-color 300ms var(--ease), color 300ms var(--ease);
    }

    .mobile-nav-link::after {
        position: absolute;
        top: 10px;
        right: 11px;
        color: rgba(255, 255, 255, 0.42);
        content: '↗';
        font-family: Arial, sans-serif;
        font-size: 0.8rem;
        transition: transform 300ms var(--ease), color 300ms var(--ease);
    }

    .mobile-nav-link:nth-child(3n + 1) {
        background: linear-gradient(145deg, rgba(86, 128, 153, 0.18), rgba(255, 255, 255, 0.035));
    }

    .mobile-nav-link:last-child:nth-child(odd) {
        grid-column: span 2;
    }

    .mobile-nav-link:hover,
    .mobile-nav-link:focus-visible {
        border-color: rgba(255, 255, 255, 0.23);
        background: rgba(255, 255, 255, 0.13);
        color: #fff;
        transform: translate3d(0, -2px, 0) scale(1.01);
    }

    .mobile-nav-link:hover::after,
    .mobile-nav-link:focus-visible::after {
        color: rgba(255, 255, 255, 0.9);
        transform: translate3d(2px, -2px, 0);
    }

    body.mobile-menu-open {
        overscroll-behavior: none;
    }

    #budget-modal {
        align-items: flex-start !important;
        padding: 84px 12px 20px !important;
        overflow-y: auto !important;
    }

    #budget-modal .modal-content {
        width: min(100%, 360px) !important;
        max-height: 78dvh !important;
        margin: 0 auto !important;
        padding: 20px !important;
        border-radius: 24px !important;
        background: rgba(12, 12, 12, 0.86) !important;
        box-shadow: 0 24px 64px rgba(0, 0, 0, 0.46), inset 0 1px 0 rgba(255, 255, 255, 0.08) !important;
        backdrop-filter: blur(24px) saturate(135%) !important;
        -webkit-backdrop-filter: blur(24px) saturate(135%) !important;
    }

    #budget-modal .modal-content h2 {
        margin-bottom: 6px !important;
        padding-right: 28px;
        font-size: clamp(1.35rem, 7vw, 1.8rem) !important;
        line-height: 1.08 !important;
    }

    #budget-modal .modal-content > p {
        margin-bottom: 16px !important;
        font-size: 0.78rem !important;
        line-height: 1.35 !important;
    }

    #budget-modal .input-group {
        margin-bottom: 10px !important;
    }

    #budget-modal .input-group label {
        margin-bottom: 5px !important;
        font-size: 0.63rem !important;
    }

    #budget-modal input,
    #budget-modal textarea {
        padding: 10px 12px !important;
        border-radius: 12px !important;
        font-size: 0.8rem !important;
    }

    #budget-modal textarea {
        min-height: 72px !important;
    }

    #budget-modal .submit-budget {
        min-height: 48px;
        margin-top: 4px;
        border-radius: 14px;
        font-size: 0.76rem;
    }
}

@media (max-width: 390px) {
    #mobile-menu {
        top: 76px;
    }

    .mobile-nav-link {
        min-height: 56px;
        padding: 10px;
        font-size: 0.76rem;
    }
}

/* Guarda final do Hero: o brilho de texto usa background-clip e precisa de
   uma caixa de pintura maior do que a métrica padrão da fonte Sora. */
.hero-section .hero-title-cinematic {
    width: min(100%, 960px);
    max-width: calc(100% - 24px);
    line-height: 1.36 !important;
    padding: 0.28em 0.24em 0.38em !important;
    overflow: visible !important;
    box-sizing: border-box;
}

.hero-section .hero-title-cinematic > .line-1,
.hero-section .hero-title-cinematic > .line-2,
.hero-section .hero-title-cinematic > .line-3 {
    min-height: 1.36em;
    line-height: 1.36 !important;
    overflow: visible !important;
}

.hero-section .hero-title-cinematic .shiny-text {
    line-height: 1.36 !important;
    padding-block: 0.12em 0.24em !important;
    overflow: visible !important;
}

/* Guarda de viewport: nenhum bloco decorativo pode criar uma faixa lateral ou
   deslocar a página horizontalmente em telas estreitas e ultrawide. */
html,
body {
    width: 100%;
    max-width: 100%;
    overflow-x: clip;
}

body > header,
body > main,
body > footer {
    width: 100%;
    max-width: 100%;
}

.hero-marquee-wrapper-dual {
    left: 0;
    width: 100%;
    overflow: hidden;
}

@media (max-width: 768px) {
    .portfolio-banner-content {
        padding: 20px 16px;
    }

    .portfolio-banner-content .banner-btn {
        display: inline-flex;
        flex: 0 0 auto;
        width: max-content;
        min-height: 52px;
        padding: 0 18px 0 20px;
        border-radius: 999px;
        line-height: 1;
        white-space: nowrap;
    }
}

/* Mantém as linhas do título compactas como eram e corrige o corte lateral
   da mídia quando a janela fica mais estreita que o vídeo. */
.hero-content-centered {
    padding-block: 16px;
}

.hero-section .hero-title-cinematic {
    line-height: 1.18 !important;
    padding-block: 8px 10px !important;
}

.hero-section .hero-title-cinematic > .line-1,
.hero-section .hero-title-cinematic > .line-2,
.hero-section .hero-title-cinematic > .line-3,
.hero-section .hero-title-cinematic .shiny-text {
    min-height: 0;
    line-height: 1.18 !important;
    padding-block: 3px 5px !important;
}

/* O tracking anterior estava comprimindo as bordas de S e A entre si.
   Mantém o título pesado, mas devolve espaço lateral para cada glifo. */
.hero-section .hero-title-cinematic {
    letter-spacing: -0.02em !important;
}

@media (min-width: 769px) and (max-width: 1100px) {
    .hero-section {
        padding-inline: 32px;
    }

    .hero-video-bg {
        background: none;
    }

    .hero-video-bg video {
        object-fit: cover;
        object-position: center;
    }
}

/* Correções finais de largura: ficam ao final para prevalecerem sobre os
   ajustes responsivos legados. */
html,
body {
    width: 100% !important;
    max-width: 100% !important;
    overflow-x: clip !important;
}

body > header,
body > main,
body > footer {
    width: 100% !important;
    max-width: 100% !important;
}

.hero-marquee-wrapper-dual {
    left: 0 !important;
    width: 100% !important;
    overflow: hidden !important;
}

@media (max-width: 768px) {
    .portfolio-banner-content .banner-btn {
        display: inline-flex !important;
        flex: 0 0 auto !important;
        width: max-content !important;
        min-height: 52px !important;
        padding: 0 18px 0 20px !important;
        border-radius: 999px !important;
        line-height: 1 !important;
        white-space: nowrap !important;
    }
}
