/* ==========================================================================
   CONFIGURAÇÃO DE CORES E VARIÁVEIS GLOBAIS
   ========================================================================== */

:root {
    --bg-main: #060606;
    --text-primary: #FFFFFF;
    --text-secondary: #888888;
    --accent: #C5A059;
    --header-bg: rgba(6, 6, 6, 0.7);
    --hero-brightness: 0.85;
    --hero-contrast: 1.0;
    --hero-tint: rgba(0, 0, 0, 0.15);
    --brand-color: #FFFFFF;
    --brand-glow: rgba(197, 160, 89, 0.2);
}

body.theme-cinema {
    --bg-main: #020202;
    --text-primary: #F0F0F0;
    --text-secondary: #555555;
    --accent: #D4AF37;
    --header-bg: rgba(2, 2, 2, 0.85);
    --hero-brightness: 0.35;
    --hero-contrast: 1.1;
    --hero-tint: rgba(0, 0, 0, 0.5);
    --brand-color: #FFFFFF;
    --brand-glow: rgba(214, 175, 55, 0.5);
}

body.theme-recepcao {
    --bg-main: #07060b;
    --text-primary: #F5F5F5;
    --text-secondary: #6e6a7e;
    --accent: #dca3ff;
    --header-bg: rgba(7, 6, 11, 0.8);
    --hero-brightness: 0.55;
    --hero-contrast: 1.0;
    --hero-tint: rgba(15, 10, 25, 0.45);
    --brand-color: #FFFFFF;
    --brand-glow: rgba(162, 0, 255, 0.25);
}

/* ==========================================================================
   RESET E BASE
   ========================================================================== */

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    background-color: var(--bg-main);
    overflow-x: hidden;
}

body {
    font-family: 'Inter', sans-serif;
    color: var(--text-primary);
    background-color: var(--bg-main);
    overflow-x: hidden;
    -webkit-font-smoothing: antialiased;
    transition: background-color 0.8s ease;
}

body::before {
    content: '';
    position: fixed;
    inset: 0;
    z-index: -2;
    pointer-events: none;
    background-image:
        radial-gradient(circle at 50% 0%, rgba(197, 160, 89, 0.04) 0%, transparent 50%),
        linear-gradient(rgba(255, 255, 255, 0.006) 1px, transparent 1px),
        linear-gradient(90deg, rgba(255, 255, 255, 0.006) 1px, transparent 1px);
    background-size: 100% 100%, 80px 80px, 80px 80px;
}

.visually-hidden {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    border: 0;
}

/* ==========================================================================
   PRELOADER E REVELAÇÃO
   ========================================================================== */

.page-transition {
    position: fixed;
    inset: 0;
    width: 100%;
    height: 100vh;
    background-color: #060606;
    z-index: 10000;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: opacity 0.6s ease, visibility 0.6s ease;
}

.loader-line {
    width: 0;
    height: 1px;
    background-color: var(--accent);
    animation: loadLine 1.2s ease forwards;
}

@keyframes loadLine {
    0% {
        width: 0;
    }

    100% {
        width: 160px;
    }
}

body.loaded .page-transition {
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
}

.reveal-element {
    opacity: 0;
    transform: translateY(30px);
    will-change: transform, opacity;
    transition:
        opacity 1s cubic-bezier(0.16, 1, 0.3, 1),
        transform 1s cubic-bezier(0.16, 1, 0.3, 1);
}

.reveal-element.reveal-visible {
    opacity: 1;
    transform: translateY(0);
}

/* ==========================================================================
   HEADER GLOBAL
   ========================================================================== */

.main-header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 900;
    background-color: var(--header-bg);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border-bottom: 1px solid rgba(255, 255, 255, 0.02);
    transition: all 0.4s ease;
}

.header-container {
    max-width: 1440px;
    margin: 0 auto;
    padding: 30px 60px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    transition: padding 0.4s ease;
}

.logo-link {
    display: flex;
    align-items: center;
    text-decoration: none;
}

.main-logo {
    height: 22px;
    width: auto;
    display: block;
    filter: invert(1);
    transition: opacity 0.3s ease;
}

.nav-menu ul {
    display: flex;
    list-style: none;
    gap: 40px;
}

.nav-menu a {
    font-size: 11px;
    color: var(--text-secondary);
    text-decoration: none;
    text-transform: uppercase;
    letter-spacing: 2px;
    position: relative;
    padding: 6px 0;
    transition: color 0.3s ease;
}

.nav-menu a::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 1px;
    background-color: var(--accent);
    transform: scaleX(0);
    transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}

.nav-menu a:hover,
.nav-menu a.active {
    color: #FFF;
}

.nav-menu a:hover::after,
.nav-menu a.active::after {
    transform: scaleX(1);
}

   /* ==========================================================================
   HOME: HERO CANVAS CONTROLADO PELO SCROLL
   ========================================================================== */

.hero-scroll-container {
    position: relative;
    width: 100%;
    height: 400vh;
    background-color: #000;
    z-index: 10;
}

.sticky-hero-frame {
    position: sticky;
    top: 0;
    width: 100%;
    height: 100vh;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
    background-color: #000;
}

.hero-video-viewport {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    z-index: 1;
    background-color: #000;
}

.hero-canvas {
    position: absolute;
    inset: 0;
    display: block;
    width: 100%;
    height: 100%;
    background-color: #000;
    filter: brightness(var(--hero-brightness)) contrast(var(--hero-contrast));
    transition: filter 0.6s ease;
}

.hero-canvas-fallback {
    position: absolute;
    inset: 0;
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.hero-image-overlay {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    background: var(--hero-tint);
    z-index: 3;
    pointer-events: none;
    transition: background 0.6s ease;
}

.hero-brand-wrapper {
    position: absolute;
    top: 45%;
    left: 50%;
    transform: translate(-50%, -50%);
    z-index: 4;
    width: 100%;
    max-width: 35vw;
    text-align: center;
    pointer-events: none;
}

.hero-logo {
    width: 100%;
    height: auto;
    filter: invert(1) drop-shadow(0 0 30px var(--brand-glow));
}

.scroll-hint-luxury {
    position: absolute;
    bottom: 25px;
    z-index: 5;
    font-size: 9px;
    letter-spacing: 3px;
    color: rgba(255, 255, 255, 0.25);
    text-transform: uppercase;
}

.sticky-hero-frame::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 180px;
    background: linear-gradient(to top, #060606 0%, transparent 100%);
    z-index: 4;
    pointer-events: none;
}

/* ==========================================================================
   CONTROLO DE ATMOSFERAS
   ========================================================================== */

.atmosphere-simulator {
    position: absolute;
    bottom: 8%;
    z-index: 5;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 12px;
}

.simulator-label {
    font-size: 10px;
    text-transform: uppercase;
    letter-spacing: 3px;
    color: rgba(255, 255, 255, 0.4);
}

.simulator-controls {
    display: flex;
    background-color: rgba(255, 255, 255, 0.02);
    padding: 4px;
    border-radius: 100px;
    border: 1px solid rgba(255, 255, 255, 0.06);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
}

.sim-btn {
    background: transparent;
    border: none;
    padding: 12px 24px;
    font-family: 'Inter', sans-serif;
    font-size: 11px;
    color: rgba(255, 255, 255, 0.5);
    cursor: pointer;
    border-radius: 100px;
    transition: all 0.3s ease;
}

.sim-btn:hover {
    color: #FFF;
}

.sim-btn.active {
    background-color: #FFFFFF;
    color: #000;
    font-weight: 500;
    box-shadow: 0 0 15px rgba(255, 255, 255, 0.2);
}

.scroll-hint-luxury {
    position: absolute;
    bottom: 25px;
    z-index: 5;
    font-size: 9px;
    letter-spacing: 3px;
    color: rgba(255, 255, 255, 0.25);
    text-transform: uppercase;
}

.sticky-hero-frame::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 180px;
    background: linear-gradient(to top, #060606 0%, transparent 100%);
    z-index: 4;
    pointer-events: none;
}

/* ==========================================================================
   COMPONENTES GERAIS
   ========================================================================== */

.section-tag {
    display: inline-block;
    font-size: 10px;
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 4px;
    color: var(--accent);
    margin-bottom: 20px;
}

.luxury-link-btn {
    display: inline-block;
    padding: 16px 35px;
    border: 1px solid rgba(255, 255, 255, 0.15);
    color: #FFFFFF;
    text-decoration: none;
    text-transform: uppercase;
    font-size: 11px;
    letter-spacing: 2px;
    transition: all 0.4s ease;
    border-radius: 2px;
    background: transparent;
}

.luxury-link-btn:hover {
    background-color: #FFFFFF;
    color: #000000;
    border-color: #FFFFFF;
}

.text-link {
    font-size: 12px;
    color: var(--accent);
    text-decoration: none;
    letter-spacing: 2px;
    text-transform: uppercase;
    display: inline-block;
    transition: all 0.3s ease;
}

.text-link:hover {
    color: #FFF;
    transform: translateX(4px);
}

.section-header-center {
    text-align: center;
    margin-bottom: 60px;
}

.section-header-center h2 {
    font-family: 'Playfair Display', serif;
    font-size: 38px;
    font-weight: 400;
}

/* ==========================================================================
   MANIFESTO E HUB
   ========================================================================== */

.manifesto-section {
    padding: 140px 60px;
    text-align: center;
    position: relative;
    z-index: 2;
    background-color: #060606;
}

.manifesto-container {
    max-width: 840px;
    margin: 0 auto;
}

.manifesto-container h2 {
    font-family: 'Playfair Display', serif;
    font-size: 40px;
    font-weight: 400;
    margin-bottom: 30px;
    line-height: 1.4;
}

.manifesto-container p {
    color: var(--text-secondary);
    font-size: 16px;
    line-height: 1.85;
    font-weight: 300;
}

.clean-hub-section {
    padding: 100px 60px;
    position: relative;
    z-index: 2;
    background-color: #060606;
}

.hub-container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
    max-width: 1440px;
    margin: 0 auto;
}

.hub-block {
    background-color: rgba(12, 12, 12, 0.7);
    backdrop-filter: blur(25px);
    -webkit-backdrop-filter: blur(25px);
    border: 1px solid rgba(255, 255, 255, 0.03);
    padding: 80px 60px;
    border-radius: 4px;
    transition: all 0.4s ease;
}

.hub-block:hover {
    border-color: var(--accent);
    transform: translateY(-4px);
}

.hub-content h3 {
    font-family: 'Playfair Display', serif;
    font-size: 32px;
    font-weight: 400;
    margin-bottom: 20px;
}

.hub-content p {
    color: var(--text-secondary);
    font-size: 15px;
    line-height: 1.75;
    font-weight: 300;
    margin-bottom: 25px;
}

/* ==========================================================================
   TOUR DE CONFORTO / CARTÕES 3D
   ========================================================================== */

.cinematic-walkthrough-section {
    position: relative;
    z-index: 2;
    width: 100%;
    background-color: #060606;
    padding: 60px 0;
}

.walkthrough-container {
    display: flex;
    flex-direction: row;
    max-width: 1440px;
    margin: 0 auto;
}

.walkthrough-left-story {
    width: 45%;
    padding: 0 60px;
}

.story-scroll-block {
    height: 90vh;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.story-scroll-block h3 {
    font-family: 'Playfair Display', serif;
    font-size: 38px;
    font-weight: 400;
    margin-bottom: 25px;
}

.story-scroll-block p {
    color: var(--text-secondary);
    font-size: 16px;
    line-height: 1.8;
    font-weight: 300;
}

.walkthrough-right-view {
    width: 55%;
    position: sticky;
    top: 0;
    height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: visible;
    perspective: 1400px;
    padding-right: 60px;
}

.floating-cards-container {
    position: relative;
    width: 100%;
    height: 65%;
    transform-style: preserve-3d;
}

.floating-card {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 24px;
    border: 1px solid rgba(255, 255, 255, 0.07);
    box-shadow:
        0 45px 90px rgba(0, 0, 0, 0.85),
        0 15px 40px rgba(0, 0, 0, 0.6);
    transition:
        transform 0.8s cubic-bezier(0.16, 1, 0.3, 1),
        opacity 0.8s ease;
    opacity: 1;
    will-change: transform, opacity;
    transform: translate3d(0, 0, 0) rotateX(0deg);
}

.floating-card.active {
    opacity: 1;
    z-index: 10;
    transform: translate3d(0, 0, 0) rotateX(0deg);
    box-shadow:
        0 45px 90px rgba(197, 160, 89, 0.15),
        0 20px 50px rgba(0, 0, 0, 0.9);
}

.floating-card.prev {
    opacity: 0;
    transform: translate3d(0, -60px, -150px) rotateX(-8deg);
    z-index: 1;
}

.floating-card.next {
    opacity: 0;
    transform: translate3d(0, 60px, -150px) rotateX(8deg);
    z-index: 1;
}

/* ==========================================================================
   SLIDER, MARQUEE E HOVER
   ========================================================================== */

.invisible-technology-slider-section {
    padding: 120px 60px;
    max-width: 1440px;
    margin: 0 auto;
    z-index: 2;
    position: relative;
}

.slider-architecture-container {
    position: relative;
    width: 100%;
    aspect-ratio: 21 / 9;
    overflow: hidden;
    border-radius: 12px;
    border: 1px solid rgba(255, 255, 255, 0.04);
    box-shadow: 0 30px 80px rgba(0, 0, 0, 0.7);
    cursor: ew-resize;
}

.slider-layer {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
}

.slider-layer img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.slider-layer.layer-hidden-tech {
    width: 50%;
    z-index: 2;
    border-right: 1.5px solid var(--accent);
    overflow: hidden;
}

.architecture-handle {
    position: absolute;
    top: 0;
    bottom: 0;
    left: 50%;
    width: 2px;
    background-color: var(--accent);
    z-index: 3;
    transform: translateX(-50%);
    pointer-events: none;
}

.handle-button {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 44px;
    height: 44px;
    background-color: #060606;
    border: 1px solid var(--accent);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--accent);
    box-shadow: 0 0 20px rgba(197, 160, 89, 0.4);
    font-size: 12px;
}

.brands-marquee-section {
    padding: 40px 0 80px;
    overflow: hidden;
}

.marquee-track {
    display: flex;
    align-items: center;
    white-space: nowrap;
    animation: marquee-scroll 35s linear infinite;
}

.marquee-track span {
    font-size: 12px;
    font-weight: 300;
    letter-spacing: 4px;
    color: rgba(255, 255, 255, 0.25);
    padding: 0 45px;
    text-transform: uppercase;
}

@keyframes marquee-scroll {
    0% {
        transform: translateX(0);
    }

    100% {
        transform: translateX(-50%);
    }
}

.recent-portfolio-hover-section {
    padding: 120px 60px;
    max-width: 1440px;
    margin: 0 auto;
    z-index: 2;
    position: relative;
}

.recent-interactive-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
}

.interactive-showcase-card {
    position: relative;
    width: 100%;
    aspect-ratio: 4 / 3;
    overflow: hidden;
    border-radius: 12px;
    cursor: pointer;
    border: 1px solid rgba(255, 255, 255, 0.03);
}

.card-media-box {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
}

.card-static-jpeg,
.card-hover-video {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: opacity 0.5s ease, transform 0.6s ease;
}

.card-hover-video {
    opacity: 0;
    position: absolute;
    inset: 0;
}

.interactive-showcase-card:hover .card-static-jpeg {
    transform: scale(1.02);
    opacity: 0;
}

.interactive-showcase-card:hover .card-hover-video {
    opacity: 0.6;
}

.card-dark-layer {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(180deg, transparent 40%, rgba(6, 6, 6, 0.95) 100%);
    z-index: 2;
}

.card-text-details {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    padding: 45px;
    z-index: 3;
    pointer-events: none;
}

.card-text-details h3 {
    font-family: 'Playfair Display', serif;
    font-size: 26px;
    color: #FFF;
}

/* ==========================================================================
   PÁGINAS INTERNAS
   ========================================================================== */

.inner-page {
    padding-top: 100px;
    min-height: 100vh;
    position: relative;
    z-index: 2;
}

.inner-hero {
    padding: 80px 60px;
    max-width: 1440px;
    margin: 0 auto;
}

.inner-hero-content {
    max-width: 800px;
}

.inner-title {
    font-family: 'Playfair Display', serif;
    font-size: 52px;
    font-weight: 400;
    line-height: 1.2;
    margin-bottom: 20px;
}

.inner-subtitle {
    font-size: 16px;
    color: var(--text-secondary);
    line-height: 1.6;
}

/* ==========================================================================
   SERVIÇOS / SPLIT SCREEN
   ========================================================================== */

.split-services-section {
    padding: 40px 60px 100px;
    max-width: 1440px;
    margin: 0 auto;
}

.ecosystem-filter-wrapper {
    margin-bottom: 40px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
    padding-bottom: 20px;
}

.ecosystem-filter {
    display: flex;
    gap: 15px;
}

.filter-btn {
    background: transparent;
    border: 1px solid rgba(255, 255, 255, 0.1);
    color: var(--text-secondary);
    padding: 12px 30px;
    text-transform: uppercase;
    font-size: 11px;
    letter-spacing: 2px;
    cursor: pointer;
    transition: all 0.3s ease;
    border-radius: 100px;
}

.filter-btn:hover,
.filter-btn.active {
    border-color: var(--accent);
    color: #FFF;
    background-color: rgba(197, 160, 89, 0.05);
}

.split-container {
    display: flex;
    gap: 60px;
    position: relative;
}

.split-left {
    width: 45%;
}

.services-list {
    display: flex;
    flex-direction: column;
}

.svc-trigger {
    padding: 25px 0;
    font-family: 'Playfair Display', serif;
    font-size: 26px;
    color: var(--text-secondary);
    cursor: pointer;
    border-bottom: 1px solid rgba(255, 255, 255, 0.03);
    transition: all 0.4s ease;
    display: none;
}

.svc-trigger.visible {
    display: block;
}

.svc-trigger:hover,
.svc-trigger.active {
    color: #FFF;
    padding-left: 15px;
    border-bottom-color: var(--accent);
}

.svc-num {
    font-size: 14px;
    color: var(--accent);
    margin-right: 15px;
    font-family: 'Inter', sans-serif;
    font-weight: 300;
}

.split-right {
    width: 55%;
    position: sticky;
    top: 120px;
    height: 65vh;
}

.panels-container {
    position: relative;
    width: 100%;
    height: 100%;
    border-radius: 16px;
    overflow: hidden;
    background: #0b0b0b;
    border: 1px solid rgba(255, 255, 255, 0.04);
}

.svc-panel {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.5s ease, visibility 0.5s ease;
    z-index: 1;
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    padding: 50px;
}

.svc-panel.active {
    opacity: 1;
    visibility: visible;
    z-index: 2;
}

.panel-visual {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    z-index: -1;
}

.panel-visual img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    filter: brightness(0.4) saturate(0.8);
}

.panel-content {
    position: relative;
    z-index: 2;
    opacity: 1;
    visibility: visible;
}

.exclusive-tag {
    font-size: 10px;
    text-transform: uppercase;
    letter-spacing: 2px;
    color: var(--accent);
    margin-bottom: 10px;
    display: block;
}

.panel-content h3 {
    font-family: 'Playfair Display', serif;
    font-size: 32px;
    color: #FFF;
    margin-bottom: 15px;
}

.panel-content p {
    color: #BBB;
    font-size: 15px;
    line-height: 1.7;
    font-weight: 300;
    max-width: 500px;
}

.gradient-5 {
    background: linear-gradient(135deg, #1a1a1a 0%, #0d0d0d 100%);
}

.gradient-11 {
    background: linear-gradient(135deg, #0d0d0d 0%, #1a1a1a 100%);
}

/* ==========================================================================
   CTA INTERNO
   ========================================================================== */

.cta-inner-section {
    padding: 80px 60px;
    max-width: 1440px;
    margin: 0 auto;
    text-align: center;
    border-top: 1px solid rgba(255, 255, 255, 0.05);
}

.cta-inner-container h2 {
    font-family: 'Playfair Display', serif;
    font-size: 36px;
    margin-bottom: 30px;
    font-weight: 400;
}

/* ==========================================================================
   SOBRE
   ========================================================================== */

.history-section,
.founder-section,
.culture-section,
.pillars-section {
    padding: 80px 60px;
    max-width: 1440px;
    margin: 0 auto;
}

.history-header,
.culture-header,
.pillars-header {
    text-align: center;
    margin-bottom: 60px;
}

.history-header h2,
.culture-header h2,
.pillars-header h2 {
    font-family: 'Playfair Display', serif;
    font-size: 38px;
    font-weight: 400;
}

.history-content p {
    color: var(--text-secondary);
    font-size: 16px;
    line-height: 1.8;
    margin-bottom: 20px;
    font-weight: 300;
}

.founder-container {
    display: flex;
    gap: 60px;
    align-items: center;
    background: rgba(255, 255, 255, 0.02);
    padding: 60px;
    border-radius: 16px;
    border: 1px solid rgba(255, 255, 255, 0.04);
}

.founder-image-col {
    width: 40%;
}

.founder-photo-wrapper {
    width: 100%;
    aspect-ratio: 1 / 1;
    border-radius: 50%;
    overflow: hidden;
    border: 2px solid rgba(255, 255, 255, 0.05);
}

.founder-photo {
    width: 100%;
    height: 100%;
    object-fit: cover;
    filter: grayscale(100%);
    transition: filter 0.5s;
}

.founder-photo:hover {
    filter: grayscale(0%);
}

.founder-text-col {
    width: 60%;
}

.founder-text-col h3 {
    font-family: 'Playfair Display', serif;
    font-size: 36px;
    margin-bottom: 5px;
}

.founder-role {
    font-size: 12px;
    color: var(--accent);
    text-transform: uppercase;
    letter-spacing: 2px;
    margin-bottom: 20px;
    display: block;
}

.founder-text-col p {
    font-size: 18px;
    font-style: italic;
    color: #BBB;
    line-height: 1.6;
    font-family: 'Playfair Display', serif;
}

.culture-grid,
.pillars-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 40px;
}

.pillars-grid {
    grid-template-columns: repeat(2, 1fr);
}

.culture-card,
.pillar-card {
    background: rgba(10, 10, 10, 0.5);
    padding: 40px;
    border: 1px solid rgba(255, 255, 255, 0.03);
    border-radius: 8px;
}

.culture-card h4,
.pillar-card h4 {
    font-family: 'Playfair Display', serif;
    font-size: 24px;
    margin-bottom: 15px;
}

.culture-card p,
.pillar-card p {
    color: var(--text-secondary);
    font-size: 15px;
    line-height: 1.6;
    font-weight: 300;
}

.pillar-num {
    font-size: 12px;
    color: var(--accent);
    margin-bottom: 15px;
    display: block;
}

/* ==========================================================================
   PROJETOS / PORTFÓLIO
   ========================================================================== */

.portfolio-section {
    padding: 40px 60px 100px;
    max-width: 1440px;
    margin: 0 auto;
}

.portfolio-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 40px;
}

.portfolio-card {
    position: relative;
    width: 100%;
    aspect-ratio: 4 / 3;
    overflow: hidden;
    border-radius: 12px;
    border: 1px solid rgba(255, 255, 255, 0.03);
    cursor: pointer;
    transition: transform 0.5s ease, opacity 0.5s ease;
}

.card-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.6s ease;
}

.portfolio-card:hover .card-img {
    transform: scale(1.05);
}

.card-overlay {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(to top, rgba(0, 0, 0, 0.9), transparent);
    z-index: 1;
}

.card-info {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    padding: 40px;
    z-index: 2;
}

.card-tag {
    font-size: 10px;
    text-transform: uppercase;
    letter-spacing: 2px;
    color: var(--accent);
    margin-bottom: 10px;
    display: block;
}

.card-info h3 {
    font-family: 'Playfair Display', serif;
    font-size: 28px;
    color: #FFF;
    margin-bottom: 10px;
}

.card-info p {
    color: #BBB;
    font-size: 14px;
    line-height: 1.5;
    font-weight: 300;
    margin-bottom: 15px;
}

.card-link {
    font-size: 11px;
    text-transform: uppercase;
    letter-spacing: 1px;
    color: #FFF;
    transition: color 0.3s;
}

.portfolio-card:hover .card-link {
    color: var(--accent);
}

.card-visual {
    width: 100%;
    height: 100%;
}

.gradient-10 {
    background: linear-gradient(45deg, #111, #222);
}

.gradient-6 {
    background: linear-gradient(135deg, #222, #111);
}

/* ==========================================================================
   MODAL PORTFÓLIO
   ========================================================================== */

.portfolio-modal {
    position: fixed;
    inset: 0;
    width: 100%;
    height: 100vh;
    background: rgba(0, 0, 0, 0.95);
    backdrop-filter: blur(10px);
    z-index: 9999;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.4s ease, visibility 0.4s ease;
}

.portfolio-modal.active {
    opacity: 1;
    visibility: visible;
}

.modal-container {
    width: 90%;
    max-width: 1000px;
    background: #0a0a0a;
    border-radius: 16px;
    border: 1px solid rgba(255, 255, 255, 0.05);
    overflow: hidden;
    position: relative;
    box-shadow: 0 50px 100px rgba(0, 0, 0, 0.8);
}

.modal-status-bar {
    padding: 15px 20px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
    display: flex;
    align-items: center;
    gap: 10px;
}

.status-dot {
    width: 8px;
    height: 8px;
    background: var(--accent);
    border-radius: 50%;
}

.status-text {
    font-size: 10px;
    text-transform: uppercase;
    letter-spacing: 2px;
    color: #666;
}

.modal-close {
    position: absolute;
    top: 15px;
    right: 20px;
    background: none;
    border: none;
    color: #FFF;
    font-size: 18px;
    cursor: pointer;
    opacity: 0.5;
    transition: opacity 0.3s;
    z-index: 10;
}

.modal-close:hover {
    opacity: 1;
}

.modal-body {
    display: flex;
    height: 500px;
}

.modal-visual {
    width: 50%;
    height: 100%;
}

.modal-visual img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.modal-content-box {
    width: 50%;
    padding: 50px;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.modal-tag {
    font-size: 10px;
    text-transform: uppercase;
    letter-spacing: 2px;
    color: var(--accent);
    margin-bottom: 15px;
}

.modal-content-box h3 {
    font-family: 'Playfair Display', serif;
    font-size: 32px;
    color: #FFF;
    margin-bottom: 20px;
}

.modal-desc {
    color: var(--text-secondary);
    font-size: 15px;
    line-height: 1.7;
    font-weight: 300;
}

/* ==========================================================================
   CONTATO
   ========================================================================== */

.contact-grid-section {
    padding: 40px 60px 100px;
    max-width: 1440px;
    margin: 0 auto;
}

.contact-grid-container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
}

.contact-info-col h3 {
    font-family: 'Playfair Display', serif;
    font-size: 36px;
    margin-bottom: 40px;
}

.info-block {
    margin-bottom: 30px;
}

.info-label {
    font-size: 11px;
    text-transform: uppercase;
    letter-spacing: 2px;
    color: var(--accent);
    margin-bottom: 10px;
    display: block;
}

.info-block p {
    color: var(--text-secondary);
    font-size: 15px;
    line-height: 1.6;
    font-weight: 300;
}

.wpp-wrapper {
    margin-top: 40px;
    margin-bottom: 40px;
}

.luxury-wpp-btn {
    display: inline-block;
    padding: 15px 30px;
    background: #25D366;
    color: #000;
    text-decoration: none;
    text-transform: uppercase;
    font-size: 11px;
    letter-spacing: 1px;
    border-radius: 4px;
    font-weight: 500;
    transition: background 0.3s;
}

.luxury-wpp-btn:hover {
    background: #20b858;
}

.fast-track-hint {
    font-size: 12px;
    color: #666;
    margin-top: 15px;
    text-align: center;
}

.contact-form-col {
    background: rgba(10, 10, 10, 0.6);
    border: 1px solid rgba(255, 255, 255, 0.05);
    padding: 50px;
    border-radius: 16px;
    position: relative;
}

.luxury-form {
    display: flex;
    flex-direction: column;
    gap: 25px;
}

.form-group {
    position: relative;
}

.form-group input,
.form-group textarea {
    width: 100%;
    background: transparent;
    border: none;
    border-bottom: 1px solid rgba(255, 255, 255, 0.2);
    padding: 10px 0;
    color: #FFF;
    font-family: 'Inter', sans-serif;
    font-size: 14px;
    transition: border-color 0.3s;
}

.form-group input:focus,
.form-group textarea:focus {
    outline: none;
    border-bottom-color: var(--accent);
}

.form-group label {
    position: absolute;
    top: 10px;
    left: 0;
    font-size: 14px;
    color: var(--text-secondary);
    pointer-events: none;
    transition: all 0.3s ease;
}

.form-group input:focus ~ label,
.form-group input:not(:placeholder-shown) ~ label,
.form-group textarea:focus ~ label,
.form-group textarea:not(:placeholder-shown) ~ label {
    top: -15px;
    font-size: 10px;
    color: var(--accent);
    text-transform: uppercase;
    letter-spacing: 1px;
}

.chips-label {
    font-size: 11px;
    text-transform: uppercase;
    letter-spacing: 1px;
    color: var(--text-secondary);
    margin-bottom: 15px;
    display: block;
}

.chips-container {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}

.chip input {
    display: none;
}

.chip span {
    padding: 10px 20px;
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 100px;
    font-size: 12px;
    color: var(--text-secondary);
    cursor: pointer;
    transition: all 0.3s;
}

.chip input:checked + span {
    border-color: var(--accent);
    color: #FFF;
    background: rgba(197, 160, 89, 0.1);
}

.submit-luxury-btn {
    padding: 18px;
    background: transparent;
    border: 1px solid var(--accent);
    color: var(--accent);
    text-transform: uppercase;
    font-size: 12px;
    letter-spacing: 2px;
    cursor: pointer;
    transition: all 0.3s;
    border-radius: 4px;
    margin-top: 10px;
}

.submit-luxury-btn:hover {
    background: var(--accent);
    color: #000;
}

.privacy-guarantee {
    font-size: 11px;
    color: #555;
    text-align: center;
    margin-top: 15px;
}

.success-message {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    background: #0a0a0a;
    z-index: 10;
    display: none;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: 40px;
    opacity: 0;
    transition: opacity 0.5s;
}

.success-message.show {
    opacity: 1;
}

.success-message h3 {
    font-family: 'Playfair Display', serif;
    font-size: 32px;
    margin-bottom: 15px;
}

.success-message p {
    color: var(--text-secondary);
    font-size: 15px;
    line-height: 1.6;
}

.map-section {
    height: 400px;
    position: relative;
}

.map-container {
    width: 100%;
    height: 100%;
}

.map-container iframe {
    filter: invert(90%) grayscale(100%) contrast(90%);
}

.map-overlay {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    background: radial-gradient(circle, transparent 50%, #060606 100%);
}

/* ==========================================================================
   FOOTER GLOBAL
   ========================================================================== */

.main-footer {
    border-top: 1px solid rgba(255, 255, 255, 0.02);
    background-color: #030303;
    padding: 80px 60px 40px;
    position: relative;
    z-index: 10;
}

.footer-top {
    max-width: 1440px;
    margin: 0 auto 60px;
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
}

.footer-logo {
    height: 20px;
    filter: invert(1);
    opacity: 0.4;
    transition: opacity 0.3s;
}

.footer-logo:hover {
    opacity: 0.8;
}

.footer-nav ul {
    display: flex;
    list-style: none;
    gap: 35px;
}

.footer-nav a,
.footer-socials a {
    font-size: 12px;
    color: var(--text-secondary);
    text-decoration: none;
    text-transform: uppercase;
    transition: color 0.3s;
    letter-spacing: 1px;
}

.footer-nav a:hover,
.footer-socials a:hover {
    color: var(--accent);
}

.footer-socials a {
    margin-left: 35px;
}

.footer-bottom {
    max-width: 1440px;
    margin: 0 auto;
    border-top: 1px solid rgba(255, 255, 255, 0.01);
    padding-top: 30px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.footer-copyright p,
.footer-credits p {
    font-size: 11px;
    color: #333;
}

.arca-link {
    color: #555;
    text-decoration: none;
    transition: color 0.3s;
}

.arca-link:hover {
    color: var(--accent);
}

/* ==========================================================================
   RESPONSIVO
   ========================================================================== */

@media (max-width: 1024px) {
    .header-container {
        padding: 20px 30px !important;
    }

    .nav-menu ul {
        display: none;
    }

    .hero-scroll-container {
        height: 320vh;
    }

    .hero-brand-wrapper {
        max-width: 80vw;
    }

    .simulator-controls {
        flex-direction: column;
        border-radius: 18px;
    }

    .atmosphere-simulator {
        bottom: 70px;
    }

    .manifesto-section,
    .clean-hub-section,
    .invisible-technology-slider-section,
    .recent-portfolio-hover-section {
        padding: 80px 30px;
    }

    .manifesto-container h2 {
        font-size: 32px;
    }

    .hub-container,
    .recent-interactive-grid {
        grid-template-columns: 1fr;
    }

    .cinematic-walkthrough-section {
        padding: 40px 0;
    }

    .walkthrough-container {
        flex-direction: column;
    }

    .walkthrough-left-story,
    .walkthrough-right-view {
        width: 100%;
        padding: 0 30px;
    }

    .walkthrough-right-view {
        height: 400px;
        position: relative;
        margin-top: 40px;
    }

    .story-scroll-block {
        height: auto;
        min-height: 60vh;
    }

    .slider-architecture-container {
        aspect-ratio: 4 / 3;
    }

    .inner-hero,
    .split-services-section,
    .cta-inner-section,
    .history-section,
    .founder-section,
    .culture-section,
    .pillars-section,
    .portfolio-section,
    .contact-grid-section {
        padding: 60px 30px;
    }

    .inner-title {
        font-size: 38px;
    }

    .split-container {
        flex-direction: column;
    }

    .split-left,
    .split-right {
        width: 100%;
    }

    .split-right {
        height: 400px;
        position: relative;
        top: 0;
    }

    .founder-container {
        flex-direction: column;
        text-align: center;
        padding: 35px;
    }

    .founder-image-col,
    .founder-text-col {
        width: 100%;
    }

    .culture-grid,
    .pillars-grid,
    .portfolio-grid,
    .contact-grid-container {
        grid-template-columns: 1fr;
    }

    .modal-body {
        flex-direction: column;
        height: auto;
    }

    .modal-visual,
    .modal-content-box {
        width: 100%;
    }

    .modal-visual {
        height: 250px;
    }

    .modal-content-box {
        padding: 30px;
    }

    .footer-top,
    .footer-bottom {
        flex-direction: column;
        gap: 30px;
        text-align: center;
        align-items: center;
    }

    .footer-nav ul {
        flex-direction: column;
        gap: 15px;
    }

    .footer-socials a {
        margin: 0 15px;
    }
}
/* ==========================================================
   ATUALIZAÇÕES DA NOVA HOME E CORREÇÃO DA PÁGINA SOBRE
   ========================================================== */

/* Remove o efeito preto e branco da foto do Diretor */
.founder-photo {
    filter: grayscale(0%) !important;
}

/* Previne quebra de barra de rolagem na Home Nova */
html, body {
    overflow-x: clip !important;
}

/* Esconde menu no celular e estiliza Menu Mobile */
.mobile-menu-btn { display: none; flex-direction: column; gap: 6px; cursor: pointer; z-index: 10001; }
.mobile-menu-btn span { width: 30px; height: 1px; background: #fff; transition: all 0.4s ease; }
.mobile-nav-overlay { position: fixed; top: 0; left: 0; width: 100%; height: 100vh; background: rgba(0, 0, 0, 0.8); backdrop-filter: blur(10px); z-index: 10000; display: flex; flex-direction: column; justify-content: center; align-items: center; opacity: 0; pointer-events: none; transition: opacity 0.4s ease; }
.mobile-nav-overlay.active { opacity: 1; pointer-events: all; }
.mobile-nav-overlay ul { list-style: none; text-align: center; padding: 0; }
.mobile-nav-overlay ul li { margin: 20px 0; }
.mobile-nav-overlay a { color: #fff; text-decoration: none; font-family: 'Playfair Display', serif; font-size: 2rem; letter-spacing: 2px; }
.mobile-nav-overlay a:hover { color: var(--accent, #C5A059); }

@media (max-width: 968px) {
    .nav-menu { display: none !important; }
    .mobile-menu-btn { display: flex; }
    .mobile-menu-btn.active span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
    .mobile-menu-btn.active span:nth-child(2) { opacity: 0; }
    .mobile-menu-btn.active span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }
}

/* Estruturas Visuais da Home Nova */
.apple-hero-section { position: relative; height: 350vh; background-color: #000; }
.sticky-video-container { position: sticky; top: 0; width: 100%; height: 100vh; overflow: hidden; display: flex; align-items: center; justify-content: center; background: #000; }
#hero-video { position: absolute; top: 0; left: 0; width: 100%; height: 100%; object-fit: cover; z-index: 1; }
.video-gradient-overlay { position: absolute; top: 0; left: 0; width: 100%; height: 100%; background: radial-gradient(circle at center, rgba(0,0,0,0.1) 0%, rgba(0,0,0,0.75) 100%); z-index: 2; }
.hero-logo-center { position: relative; z-index: 3; width: 380px; max-width: 75vw; pointer-events: none; filter: brightness(0) invert(1) drop-shadow(0px 4px 30px rgba(0,0,0,0.6)); }

.new-about-section { padding: 150px 20px; text-align: center; position: relative; z-index: 10; background: var(--bg-main, #060606); }
.new-about-section h2 { font-family: 'Playfair Display', serif; font-size: 2.5rem; color: var(--accent, #C5A059); margin-bottom: 30px; font-weight: 400; }
.new-about-section p { max-width: 800px; margin: 0 auto; font-size: 1.15rem; line-height: 1.8; color: var(--text-secondary, #888888); font-weight: 300; }
.about-btn-wrapper { margin-top: 45px; }

.new-brands-marquee { padding: 40px 0; background: #040404; border-top: 1px solid rgba(255,255,255,0.02); border-bottom: 1px solid rgba(255,255,255,0.02); overflow: hidden; display: flex; position: relative; z-index: 10; }
.marquee-line { display: flex; width: max-content; animation: marquee-scroll 35s linear infinite; }
.marquee-line span {
    font-size: 0.75rem;
    letter-spacing: 6px;
    font-weight: 300;
    color: rgba(255,255,255,0.35);
    margin: 0 45px;
    text-transform: uppercase;
    font-family: 'Inter', sans-serif;
    transition: color 0.4s ease;
    
    /* AS DUAS LINHAS MÁGICAS: */
    white-space: nowrap; /* Proíbe a quebra de linha em qualquer circunstância */
    flex-shrink: 0; /* Impede que o texto seja espremido pelo container */
}
.marquee-line span:hover { color: rgba(255,255,255,0.8); }
.marquee-line span.bullet { color: var(--accent, #C5A059); font-size: 0.5rem; opacity: 0.5; margin: 0; transform: translateY(2px); }
@keyframes marquee-scroll { 0% { transform: translateX(0); } 100% { transform: translateX(-50%); } }

.new-slider-section { padding: 120px 0; background: var(--bg-main, #060606); overflow: hidden; position: relative; z-index: 10; }
.new-slider-section h2 { text-align: center; font-family: 'Playfair Display', serif; font-size: 2.2rem; color: #fff; margin-bottom: 60px; font-weight: 400; }
.slider-track-container { display: flex; width: max-content; gap: 40px; padding: 0 40px; animation: client-slider 35s linear infinite; }
.slider-track-container:hover { animation-play-state: paused; }
.slide-client-link { display: block; width: 500px; height: 350px; border-radius: 16px; overflow: hidden; flex-shrink: 0; box-shadow: 0 10px 40px rgba(0,0,0,0.5); }
.slide-client-img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.8s cubic-bezier(0.16, 1, 0.3, 1); }
.slide-client-link:hover .slide-client-img { transform: scale(1.08); }
@keyframes client-slider { 0% { transform: translateX(0); } 100% { transform: translateX(calc(-50% - 20px)); } }

.new-services-split { display: flex; flex-wrap: wrap; width: 100%; position: relative; z-index: 10; }
.split-box { flex: 1; min-width: 320px; min-height: 70vh; display: flex; align-items: center; justify-content: center; position: relative; overflow: hidden; text-decoration: none; background-color: #000; }
.split-box img { position: absolute; top: 0; left: 0; width: 100%; height: 100%; object-fit: cover; z-index: 1; transition: transform 1.2s cubic-bezier(0.16, 1, 0.3, 1); opacity: 0.6; }
.split-box::after { content: ''; position: absolute; top: 0; left: 0; width: 100%; height: 100%; background: linear-gradient(to top, rgba(0,0,0,0.8), rgba(0,0,0,0.2)); z-index: 2; transition: opacity 0.5s ease; }
.split-box:hover img { transform: scale(1.05); opacity: 0.4; }
.split-content { position: relative; z-index: 3; text-align: center; padding: 40px; }
.split-content h3 { font-family: 'Playfair Display', serif; font-size: 2rem; color: #fff; margin-bottom: 20px; font-weight: 400; }
.split-content p { color: #ccc; margin-bottom: 40px; font-size: 1rem; font-weight: 300; max-width: 350px; margin-left: auto; margin-right: auto; line-height: 1.6; }
.split-btn { display: inline-block; padding: 14px 35px; border: 1px solid var(--accent, #C5A059); color: #fff; text-transform: uppercase; letter-spacing: 2px; font-size: 0.75rem; transition: all 0.4s ease; text-decoration: none; background: transparent; cursor: pointer; }
.split-box:hover .split-btn, .split-btn:hover { background: var(--accent, #C5A059); color: #000; }

.bottom-video-showcase { padding: 100px 20px; background: var(--bg-main, #060606); display: flex; justify-content: center; align-items: center; position: relative; z-index: 10; }
.bottom-rounded-video { width: 100%; max-width: 1200px; aspect-ratio: 16/9; object-fit: cover; border-radius: 24px; box-shadow: 0 20px 60px rgba(0,0,0,0.6); border: 1px solid rgba(255, 255, 255, 0.05); }
/* ==========================================================
   BOTÃO WHATSAPP E MENSAGEM LGPD NO FOOTER
   ========================================================== */

/* Botão Flutuante de WhatsApp (Estilo Arca) */
.whatsapp-float {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 60px;
    height: 60px;
    background-color: #25D366;
    color: #FFF;
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    box-shadow: 0 4px 15px rgba(0,0,0,0.4);
    z-index: 10000;
    transition: transform 0.3s cubic-bezier(0.16, 1, 0.3, 1), box-shadow 0.3s ease, background-color 0.3s ease;
    text-decoration: none;
}

.whatsapp-float:hover {
    transform: scale(1.1);
    box-shadow: 0 8px 20px rgba(0,0,0,0.6);
    background-color: #20BA56;
    color: #FFF;
}

.whatsapp-float svg {
    width: 32px;
    height: 32px;
    fill: currentColor;
}

/* Link de Política de Privacidade no Footer (LGPD) */
.lgpd-divider {
    margin: 0 10px;
    color: rgba(255,255,255,0.2);
}

.privacy-link {
    color: var(--text-secondary);
    text-decoration: underline;
    transition: color 0.3s ease;
    font-size: 12px;
}

.privacy-link:hover {
    color: var(--accent);
}

/* Ajustes Mobile para o botão e footer */
@media (max-width: 768px) {
    .whatsapp-float {
        bottom: 20px;
        right: 20px;
        width: 50px;
        height: 50px;
    }
    .whatsapp-float svg {
        width: 26px;
        height: 26px;
    }
    .lgpd-divider { display: none; }
    .privacy-link {
        display: block;
        margin-top: 10px;
        margin-left: 0;
    }
}
/* ==========================================================
   VÍDEO DESTAQUE SUPERIOR (PÁGINA SOLUÇÕES)
   ========================================================== */
.services-hero-video-section {
    max-width: 1440px;
    margin: 0 auto 80px auto;
    padding: 0 60px;
}

.video-wrapper-premium {
    width: 100%;
    aspect-ratio: 16 / 9;
    border-radius: 24px;
    overflow: hidden;
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.6);
    border: 1px solid rgba(255, 255, 255, 0.05);
    background-color: #000;
}

.premium-inline-video {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

/* Responsividade do bloco de vídeo */
@media (max-width: 968px) {
    .services-hero-video-section {
        padding: 0 20px;
        margin-bottom: 50px;
    }
    .video-wrapper-premium {
        border-radius: 16px;
    }
}
/* ==========================================================================
   MODAL PREMIUM DE PORTFÓLIO (TELA DIVIDIDA 50/50)
   ========================================================================== */

/* Fundo escuro com desfoque (efeito vidro/Apple) */
.portfolio-modal-premium {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    background-color: rgba(5, 5, 5, 0.85);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 99999;
    
    /* Oculto por padrão */
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.4s ease;
}

/* Quando o JS adiciona a classe 'active', ele aparece suavemente */
.portfolio-modal-premium.active {
    opacity: 1;
    pointer-events: all;
}

/* A Caixa Centralizada com bordas arredondadas */
.modal-content-box {
    background-color: #0a0a0a;
    width: 90%;
    max-width: 1100px;
    height: 75vh;
    border-radius: 24px; /* Bordas bem arredondadas */
    display: flex;
    flex-direction: row;
    overflow: hidden;
    position: relative;
    border: 1px solid rgba(255, 255, 255, 0.08);
    box-shadow: 0 30px 60px rgba(0,0,0,0.6);
    
    /* Efeito de surgir de baixo/aumentando */
    transform: scale(0.95) translateY(20px);
    transition: transform 0.5s cubic-bezier(0.16, 1, 0.3, 1);
}

.portfolio-modal-premium.active .modal-content-box {
    transform: scale(1) translateY(0);
}

/* Lado Esquerdo: Mídia (Fotos e Vídeos) */
.modal-left-media {
    width: 50%;
    height: 100%;
    background: #000;
    position: relative;
}

/* Lado Direito: Textos */
.modal-right-text {
    width: 50%;
    height: 100%;
    padding: 60px 50px;
    display: flex;
    flex-direction: column;
    justify-content: center; /* Centraliza o texto verticalmente */
    background: linear-gradient(135deg, #0a0a0a 0%, #111 100%);
}

/* Estilização dos textos dentro do modal */
.modal-tag {
    font-family: 'Inter', sans-serif;
    font-size: 0.8rem;
    text-transform: uppercase;
    letter-spacing: 2px;
    color: #a0a0a0;
    margin-bottom: 12px;
}

#modal-title {
    font-family: 'Playfair Display', serif;
    font-size: 2.4rem;
    font-weight: 400;
    color: #ffffff;
    margin-bottom: 24px;
    line-height: 1.2;
}

#modal-desc {
    font-family: 'Inter', sans-serif;
    font-size: 1rem;
    color: #cccccc;
    line-height: 1.7;
}

/* Botão de Fechar (X) */
.modal-close-btn {
    position: absolute;
    top: 24px;
    right: 24px;
    background: rgba(255, 255, 255, 0.1);
    border: none;
    color: #ffffff;
    font-size: 1.2rem;
    width: 44px;
    height: 44px;
    border-radius: 50%;
    cursor: pointer;
    z-index: 50;
    display: flex;
    align-items: center;
    justify-content: center;
    backdrop-filter: blur(5px);
    transition: background 0.3s ease, transform 0.3s ease;
}

.modal-close-btn:hover {
    background: rgba(255, 255, 255, 0.2);
    transform: scale(1.1);
}

/* ==========================================================================
   RESPONSIVIDADE DO MODAL (CELULARES)
   ========================================================================== */
@media (max-width: 900px) {
    .modal-content-box {
        flex-direction: column; /* Coloca a foto em cima e texto embaixo */
        height: 85vh;
        overflow-y: auto; /* Permite rolar se o texto for grande */
    }

    .modal-left-media {
        width: 100%;
        height: 45%;
        flex-shrink: 0;
    }

    .modal-right-text {
        width: 100%;
        height: auto;
        padding: 40px 30px;
        justify-content: flex-start;
    }

    #modal-title {
        font-size: 2rem;
    }
}
/* ==========================================================================
   ANIMAÇÃO PREMIUM DIRETORIA
   ========================================================================== */

/* Item 2: Moldura flutuante com configuração inicial de borda e sombra */
.founder-photo-wrapper {
    position: relative;
    overflow: hidden; /* Obrigatório para conter o efeito de zoom do Item 1 */
    border: 1px solid rgba(255, 255, 255, 0.06);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.3);
    
    /* Transição suave usando a curva elástica de grife (cubic-bezier) */
    transition: border-color 0.7s cubic-bezier(0.16, 1, 0.3, 1), 
                box-shadow 0.7s cubic-bezier(0.16, 1, 0.3, 1);
}

/* Item 1: Configuração de transição da foto para o efeito lente */
.founder-photo {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.8s cubic-bezier(0.16, 1, 0.3, 1);
}

/* --- INTERAÇÃO AO PASSAR O MOUSE (HOVER) --- */

/* Item 1: Zoom sutil de 4% simulando aproximação de lente */
.founder-section:hover .founder-photo {
    transform: scale(1.04);
}

/* Item 2: A moldura ganha profundidade (sombra expande e borda acende) */
.founder-section:hover .founder-photo-wrapper {
    border-color: rgba(255, 255, 255, 0.15);
    box-shadow: 0 30px 60px rgba(0, 0, 0, 0.5);
}

/* Container modificado para o layout em pirmide */
.culture-grid.pyramid-grid {
    display: grid;
    grid-template-columns: repeat(6, 150px); /* 6 colunas virtuais para distribuio matemtica perfeita */
    gap: 30px;
    justify-content: center; /* Centraliza a pirmide inteira na tela */
    max-width: 1200px;
    margin: 0 auto;
}

/* Mantm as propriedades visuais originais das suas caixas */
.culture-grid.pyramid-grid .culture-card {
    /* Mantenha as propriedades de background, border, padding idnticas ao seu projeto. 
       Exemplo padro de layout premium: */
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.08);
    padding: 40px;
    border-radius: 4px;
    transition: all 0.3s ease;
}

/* --- PRIMEIRA LINHA: Os 3 primeiros cards ocupam 2 colunas cada (3x2 = 6 colunas) --- */
.culture-grid.pyramid-grid .culture-card:nth-child(1),
.culture-grid.pyramid-grid .culture-card:nth-child(2),
.culture-grid.pyramid-grid .culture-card:nth-child(3) {
    grid-column: span 2;
}

/* --- SEGUNDA LINHA (Pirmide Invertida): Os 2 ltimos cards centralizados --- */
/* O 4 carto pula a primeira coluna virtual e ocupa as prximas 2 */
.culture-grid.pyramid-grid .culture-card:nth-child(4) {
    grid-column: 2 / span 2;
}

/* O 5 carto ocupa as colunas seguintes */
.culture-grid.pyramid-grid .culture-card:nth-child(5) {
    grid-column: 4 / span 2;
}


/* --- RESPONSIVIDADE ABSOLUTA --- */

/* Em tablets e notebooks menores (ajusta para duas colunas normais antes de empilhar) */
@media (max-width: 1024px) {
    .culture-grid.pyramid-grid {
        grid-template-columns: repeat(2, 1fr);
        max-width: 800px;
    }
    
    /* Reseta as posies da pirmide desktop */
    .culture-grid.pyramid-grid .culture-card:nth-child(1),
    .culture-grid.pyramid-grid .culture-card:nth-child(2),
    .culture-grid.pyramid-grid .culture-card:nth-child(3),
    .culture-grid.pyramid-grid .culture-card:nth-child(4),
    .culture-grid.pyramid-grid .culture-card:nth-child(5) {
        grid-column: span 1;
    }
    
    /* Centraliza o ltimo card isolado na tela de tablet */
    .culture-grid.pyramid-grid .culture-card:nth-child(5) {
        grid-column: span 2;
        max-width: calc(50% - 15px);
        margin: 0 auto;
        width: 100%;
    }
}

/* Em smartphones (empilha todas as caixas verticalmente com leitura fluida) */
@media (max-width: 768px) {
    .culture-grid.pyramid-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }
    
    .culture-grid.pyramid-grid .culture-card:nth-child(1),
    .culture-grid.pyramid-grid .culture-card:nth-child(2),
    .culture-grid.pyramid-grid .culture-card:nth-child(3),
    .culture-grid.pyramid-grid .culture-card:nth-child(4),
    .culture-grid.pyramid-grid .culture-card:nth-child(5) {
        grid-column: span 1 !important;
        max-width: 100% !important;
        margin: 0;
    }
}
/* Garante que no PC o bloco do Lupercio fique invertido (Texto na esquerda, Imagem na direita) */
@media (min-width: 769px) {
    .invert-desktop .founder-container {
        display: flex;
        flex-direction: row-reverse;
    }
}