/* ROGARTWORK - Fidelity CSS (Mockup 1) - Depth & Saturn Rings */

:root {
    --color-bg: #000000;
    --color-gold-light: #f5f5f5;
    /* Prata Claro */
    --color-gold-mid: #b0b0b0;
    /* Prata Médio (Platina) */
    --color-gold-dark: #6e6e6e;
    /* Prata Escuro */
    --gold: #b0b0b0;
    /* Alias Global */
    --color-white: #ffffff;
    --font-main: 'Inter', sans-serif;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: var(--font-main);
    background: var(--color-bg);
    color: var(--color-white);
    overflow-x: hidden;
    zoom: 0.85;
}

/* Fundo Preto Profundo para Perspectiva */
.bg-gradient {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    z-index: -2;
    background: radial-gradient(circle at 50% 50%, #151515 0%, #030303 50%, #000000 100%);
    zoom: 1.17647;
    /* Reverte o zoom do body (1 / 0.85) para preencher a tela */
}

#bgCanvas {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    z-index: -1;
    pointer-events: auto;
    zoom: 1.17647;
    /* Reverte o zoom do body (1 / 0.85) para preencher a tela */
}

.site-content {
    position: relative;
    z-index: 10;
    pointer-events: none;
}

.site-content * {
    pointer-events: auto;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 30px;
}

/* Navbar (Pill Shape) - VIDRO 3D CURVADO */
.header-floating {
    position: fixed;
    top: 15px;
    left: 50%;
    transform: translateX(-50%);
    width: 95%;
    max-width: 1000px;
    z-index: 1000;

    background: linear-gradient(to bottom, rgba(255, 255, 255, 0.15) 0%, rgba(20, 20, 20, 0.5) 50%, rgba(5, 5, 5, 0.8) 100%);
    backdrop-filter: blur(25px);
    -webkit-backdrop-filter: blur(25px);
    border-radius: 40px;
    padding: 15px 30px;

    box-shadow:
        inset 0 2px 4px rgba(255, 255, 255, 0.5),
        /* Reflexo curvo topo */
        inset 0 -2px 10px rgba(0, 0, 0, 0.9),
        /* Curva base */
        0 10px 25px rgba(0, 0, 0, 0.8);

    border: 1px solid rgba(255, 255, 255, 0.08);
    transition: all 0.5s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.nav-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

@keyframes logo-glow {

    0%,
    100% {
        filter: drop-shadow(0 0 2px rgba(212, 175, 55, 0.2));
        transform: scale(1);
    }

    50% {
        filter: drop-shadow(0 0 10px rgba(212, 175, 55, 0.8));
        transform: scale(1.05);
    }
}

.logo-img {
    height: 40px;
    object-fit: contain;
    transition: all 0.5s ease;
    animation: logo-glow 3s infinite ease-in-out;
}

.nav-list {
    display: flex;
    gap: 30px;
    list-style: none;
    transition: all 0.5s ease;
}

.nav-link {
    font-size: 0.8rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    color: #ccc;
    text-decoration: none;
    transition: all 0.3s ease;
}

.nav-link:hover {
    color: var(--color-white);
    text-shadow: 0 0 10px rgba(255, 255, 255, 0.5);
}

/* Buttons */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 10px 20px;
    border-radius: 30px;
    font-size: 0.8rem;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    text-decoration: none;
    transition: all 0.3s ease;
}

/* --- ESTADO MENU COM SCROLL (Ao passar da primeira dobra) --- */
.header-floating.scrolled {
    max-width: 750px;
    padding: 5px 15px;
    opacity: 0.5;
}

.header-floating.scrolled .logo-img {
    height: 24px;
}

.header-floating.scrolled .nav-list {
    gap: 15px;
}

.header-floating.scrolled .nav-link {
    font-size: 0.55rem;
}

.header-floating.scrolled .btn {
    padding: 4px 12px;
    font-size: 0.55rem;
}

/* --- HOVER NO MENU COM SCROLL (Volta ao tamanho original de 40px) --- */
.header-floating.scrolled:hover {
    opacity: 1;
    max-width: 1000px;
    padding: 15px 30px;
}

.header-floating.scrolled:hover .logo-img {
    height: 40px;
}

.header-floating.scrolled:hover .nav-list {
    gap: 30px;
}

.header-floating.scrolled:hover .nav-link {
    font-size: 0.8rem;
}

.header-floating.scrolled:hover .btn {
    padding: 10px 20px;
    font-size: 0.8rem;
}

.btn-gold-gradient {
    background: linear-gradient(135deg, #fceabb 0%, #d4af37 50%, #b38728 100%);
    color: #000;
    box-shadow: 0 5px 20px rgba(212, 175, 55, 0.4), inset 0 2px 2px rgba(255, 255, 255, 0.4);
    border: none;
}

.btn-gold-gradient:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 30px rgba(212, 175, 55, 0.6);
}

.btn-outline-pill {
    background: transparent;
    border: 1px solid rgba(255, 255, 255, 0.4);
    color: var(--color-white);
    backdrop-filter: blur(10px);
}

.btn-outline-pill:hover {
    border-color: var(--color-white);
    background: rgba(255, 255, 255, 0.1);
}

/* Hero Layout */
.hero {
    height: 100vh;
    display: flex;
    align-items: center;
    padding-top: 100px;
    position: relative;
}

.hero-layout {
    display: flex;
    justify-content: space-between;
    align-items: center;
    width: 100%;
}

/* Text Content (Left) */
.hero-text-content {
    max-width: 500px;
}

.hero-title {
    font-size: 3.2rem;
    font-weight: 900;
    line-height: 1.05;
    letter-spacing: -1.5px;
    margin-bottom: 20px;
    text-shadow: 0 10px 30px rgba(0, 0, 0, 1);
}

.hero-subtitle {
    font-size: 1rem;
    font-weight: 400;
    color: #ddd;
    line-height: 1.5;
    margin-bottom: 30px;
    letter-spacing: -0.5px;
    text-shadow: 0 2px 10px rgba(0, 0, 0, 0.8);
}

.gold-text {
    color: var(--color-gold-mid);
    text-shadow: 0 0 10px rgba(212, 175, 55, 0.3);
}

.hero-buttons {
    display: flex;
    gap: 20px;
}

/* Visual Content (Right) */
.hero-visual-content {
    position: relative;
    width: 500px;
    height: 500px;
    perspective: 1500px;
}

.orbit-container {
    position: absolute;
    top: 50%;
    left: 50%;
    width: 100%;
    height: 100%;
    transform-style: preserve-3d;
    transform: translate(-50%, -50%);
}

/* --- IPHONE MOCKUP 3D --- */
.iphone-mockup {
    position: absolute;
    top: 50%;
    left: 50%;
    /* Perspectiva mais "de pé" e espelhada (mostrando o outro lado), inclinada em 30deg */
    transform: translate(-50%, -50%) scale(1.15) rotateY(-35deg) rotateX(30deg) rotateZ(-5deg);
    width: 250px;
    height: 500px;
    z-index: 5;
    transform-style: preserve-3d;
    animation: float-iphone 6s ease-in-out infinite;
}

@keyframes float-iphone {

    0%,
    100% {
        transform: translate(-50%, -50%) scale(1.15) rotateY(-35deg) rotateX(30deg) rotateZ(-5deg) translateZ(0px);
    }

    50% {
        transform: translate(-50%, -50%) scale(1.15) rotateY(-35deg) rotateX(30deg) rotateZ(-5deg) translateZ(20px);
    }
}

/* Corpo Metálico Empilhado (O que dá a espessura e volume realista 3D) */
.iphone-chassis,
.iphone-layer {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    border-radius: 40px;
}

.iphone-layer {
    background: #333;
    /* Cor da lateral de aço/titânio escovado */
    border: 1px solid #444;
}

/* O Segredo do 3D: Camadas sobrepostas criando espessura (Depth Maior) */
.l-1 {
    transform: translateZ(-1px);
}

.l-2 {
    transform: translateZ(-2px);
}

.l-3 {
    transform: translateZ(-3px);
}

.l-4 {
    transform: translateZ(-4px);
}

.l-5 {
    transform: translateZ(-5px);
    background: #5a5a5a;
}

/* Feixe de luz na lateral */
.l-6 {
    transform: translateZ(-6px);
}

.l-7 {
    transform: translateZ(-7px);
}

.l-8 {
    transform: translateZ(-8px);
}

.l-9 {
    transform: translateZ(-9px);
}

.l-10 {
    transform: translateZ(-10px);
}

.l-11 {
    transform: translateZ(-11px);
}

.l-12 {
    transform: translateZ(-12px);
    background: #3a3a3a;
    border-color: #444;
}

/* Micro brilho central no titânio */
.l-13 {
    transform: translateZ(-13px);
}

.l-14 {
    transform: translateZ(-14px);
}

.l-15 {
    transform: translateZ(-15px);
}

.l-16 {
    transform: translateZ(-16px);
}

.l-17 {
    transform: translateZ(-17px);
}

.l-18 {
    transform: translateZ(-18px);
}

.l-19 {
    transform: translateZ(-19px);
}

.l-20 {
    transform: translateZ(-20px);
}

.l-21 {
    transform: translateZ(-21px);
}

.l-22 {
    transform: translateZ(-22px);
    background: #050505;
    /* Sombra pesada projetada para baixo simulando o celular de pé no ar */
    box-shadow: 20px 40px 60px rgba(0, 0, 0, 0.8);
}

.iphone-chassis {
    /* Tela / Frente (Topo da pilha) */
    background: #000;
    border: 3px solid #111;
    /* Bezel do celular */
    box-shadow: inset 0 0 5px rgba(255, 255, 255, 0.4);
    display: flex;
    padding: 6px;
    /* Borda da tela interna */
    transform: translateZ(0px);
    z-index: 10;
}

.iphone-screen {
    flex: 1;
    background: #000;
    border-radius: 40px;
    /* Arredondamento interno da tela */
    position: relative;
    overflow: hidden;
    /* Sombra interna para profundidade da tela */
    box-shadow: inset 0 0 10px rgba(0, 0, 0, 1);
}

/* Brilho diagonal passando por cima do vidro da tela */
.iphone-screen::after {
    content: '';
    position: absolute;
    top: 0;
    left: -50%;
    width: 200%;
    height: 100%;
    background: linear-gradient(105deg, rgba(255, 255, 255, 0) 30%, rgba(255, 255, 255, 0.05) 50%, rgba(255, 255, 255, 0) 70%);
    pointer-events: none;
    z-index: 10;
}

.dynamic-island {
    position: absolute;
    top: 10px;
    left: 50%;
    transform: translateX(-50%);
    width: 90px;
    height: 25px;
    background: #000;
    border-radius: 20px;
    z-index: 5;
    /* Detalhe leve para separar a ilha da tela preta */
    box-shadow: inset 0 0 2px rgba(255, 255, 255, 0.15);
}

.iphone-video {
    width: 100%;
    height: 100%;
    object-fit: cover;
    z-index: 1;
    position: relative;
}

/* Placeholder visual (Fica atrás do vídeo) */
.iphone-placeholder-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(45deg, #1a1a1a, #050505);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    color: var(--color-gold-mid);
    z-index: 0;
}

.iphone-placeholder-bg i {
    font-size: 3rem;
    margin-bottom: 15px;
    opacity: 0.5;
}

.iphone-placeholder-bg p {
    font-size: 0.8rem;
    font-weight: 600;
    letter-spacing: 1px;
    color: #666;
}

/* Anéis Orbitais */
.orbital-ring {
    position: absolute;
    top: 50%;
    left: 50%;
    border-radius: 50%;
    border: 2px solid transparent;
    transform-style: preserve-3d;
}

.ring-1 {
    width: 450px;
    height: 450px;
    border-top-color: rgba(212, 175, 55, 0.8);
    border-bottom-color: rgba(212, 175, 55, 0.2);
    box-shadow: 0 0 20px rgba(212, 175, 55, 0.2);
    animation: true-orbit 15s linear infinite;
}

.ring-2 {
    width: 520px;
    height: 520px;
    border-top-color: rgba(255, 255, 255, 0.5);
    border-bottom-color: rgba(255, 255, 255, 0.1);
    animation: true-orbit 20s linear infinite;
}

.ring-3 {
    width: 590px;
    height: 590px;
    border-top-color: rgba(212, 175, 55, 0.4);
    border-bottom-color: rgba(212, 175, 55, 0.05);
    animation: true-orbit 25s linear infinite;
}

/* Anel 4 - O Rastro com Blur */
.ring-4 {
    width: 650px;
    height: 650px;
    border: none;
    /* Remove a borda sólida */
    /* Cria um rastro (cometa) usando gradiente cônico */
    background: conic-gradient(from 0deg at 50% 50%, rgba(255, 255, 255, 0) 0%, rgba(212, 175, 55, 0) 60%, rgba(212, 175, 55, 0.8) 100%);
    /* Oculta o centro para ficar só a fita */
    -webkit-mask-image: radial-gradient(circle, transparent 65%, black 66%);
    filter: blur(8px);
    animation: true-orbit-fast 10s linear infinite;
}

@keyframes true-orbit {
    0% {
        transform: translate(-50%, -50%) rotateX(75deg) rotateY(15deg) rotateZ(0deg);
    }

    100% {
        transform: translate(-50%, -50%) rotateX(75deg) rotateY(15deg) rotateZ(360deg);
    }
}

@keyframes true-orbit-fast {
    0% {
        transform: translate(-50%, -50%) rotateX(75deg) rotateY(15deg) rotateZ(0deg);
    }

    100% {
        transform: translate(-50%, -50%) rotateX(75deg) rotateY(15deg) rotateZ(360deg);
    }
}

/* Scroll Indicator */
.scroll-indicator {
    position: absolute;
    bottom: 30px;
    left: 50%;
    transform: translateX(-50%);
    text-align: center;
    font-size: 0.7rem;
    letter-spacing: 2px;
    color: #888;
}

.scroll-indicator i {
    display: block;
    margin-top: 10px;
    font-size: 1.2rem;
    animation: bounce 2s infinite;
}

@keyframes bounce {

    0%,
    20%,
    50%,
    80%,
    100% {
        transform: translateY(0);
    }

    40% {
        transform: translateY(-10px);
    }

    60% {
        transform: translateY(-5px);
    }
}

/* Utilitários de Alinhamento */
.text-center { text-align: center; }
.text-left { text-align: left; }
.text-right { text-align: right; }

/* Outras Seções Gerais */
.section {
    padding: 60px 0;
}

.section-title {
    font-size: 2rem;
    font-weight: 900;
    margin-bottom: 10px;
    letter-spacing: -1px;
    text-shadow: 0 5px 15px rgba(0, 0, 0, 0.8);
}

.section-subtitle {
    color: #aaa;
    font-size: 0.85rem;
    margin-bottom: 20px;
}

.glass-card-3d {
    background: linear-gradient(135deg, rgba(30, 30, 30, 0.6) 0%, rgba(10, 10, 10, 0.8) 100%);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border-radius: 15px;
    padding: 25px;
    border: 1px solid rgba(255, 255, 255, 0.05);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.8), inset 0 1px 2px rgba(255, 255, 255, 0.2), inset 0 -1px 5px rgba(0, 0, 0, 0.8);
    transition: 0.4s;
}

.glass-card-3d:hover {
    transform: translateY(-3px);
    border-color: rgba(212, 175, 55, 0.3);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 1), inset 0 1px 2px rgba(255, 255, 255, 0.3);
}

/* --- SERVIÇOS (Bento Box) --- */
.services-bento {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 10px;
    grid-auto-rows: minmax(130px, auto);
}

.bento-item {
    position: relative;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    padding: 20px;
}

.bento-large {
    grid-column: span 2;
    grid-row: span 2;
}

.bento-wide {
    grid-column: span 2;
}

@media (max-width: 900px) {
    .services-bento {
        grid-template-columns: 1fr;
    }

    .bento-large,
    .bento-wide {
        grid-column: span 1;
        grid-row: auto;
    }
}

.bento-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: radial-gradient(circle at center, rgba(212, 175, 55, 0.1) 0%, transparent 70%);
    opacity: 0;
    transition: opacity 0.5s ease;
    z-index: -1;
}

.bento-item:hover .bento-bg {
    opacity: 1;
}

.card-icon {
    font-size: 1.5rem;
    color: rgba(255, 255, 255, 0.5);
    margin-bottom: 10px;
    transition: color 0.4s;
}

.bento-item:hover .card-icon {
    color: var(--color-gold-mid);
}

.card-title {
    font-size: 1rem;
    margin-bottom: 5px;
    font-weight: 800;
    transform: translateY(10px);
    transition: transform 0.4s;
}

.bento-item:hover .card-title {
    transform: translateY(0);
}

.card-desc {
    color: #aaa;
    font-weight: 300;
    font-size: 0.75rem;
    opacity: 0.8;
    transform: translateY(10px);
    transition: transform 0.4s, opacity 0.4s;
}

.bento-item:hover .card-desc {
    transform: translateY(0);
    opacity: 1;
}

/* --- PORTFÓLIO (Marquee) --- */
.portfolio {
    overflow: hidden;
    padding-bottom: 60px;
}

.marquee-wrapper {
    width: 100vw;
    margin-left: calc(-50vw + 50%);
    position: relative;
}

.marquee-track {
    display: flex;
    gap: 15px;
    width: max-content;
    animation: marquee 30s linear infinite;
    padding: 15px 0;
}

.marquee-track:hover {
    animation-play-state: paused;
}

@keyframes marquee {
    0% {
        transform: translateX(0);
    }

    100% {
        transform: translateX(calc(-50% - 7.5px));
    }
}

.portfolio-card {
    width: 220px;
    height: 280px;
    border-radius: 10px;
    overflow: hidden;
    position: relative;
    cursor: pointer;
}

.portfolio-bg {
    width: 100%;
    height: 100%;
    background-size: cover;
    background-position: center;
    transition: transform 0.6s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.portfolio-card:hover .portfolio-bg {
    transform: scale(1.05);
}

.portfolio-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(to top, rgba(0, 0, 0, 0.9) 0%, transparent 100%);
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    padding: 15px;
    opacity: 0;
    transition: opacity 0.4s;
}

.portfolio-card:hover .portfolio-overlay {
    opacity: 1;
}

.portfolio-overlay h3 {
    font-size: 1.1rem;
    margin-bottom: 10px;
    transform: translateY(20px);
    transition: transform 0.4s;
}

.portfolio-card:hover .portfolio-overlay h3 {
    transform: translateY(0);
}

.btn-pill {
    display: inline-block;
    padding: 8px 18px;
    font-size: 0.75rem;
    border-radius: 30px;
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    color: #fff;
    text-decoration: none;
    border: 1px solid rgba(255, 255, 255, 0.2);
    transition: 0.3s;
    align-self: flex-start;
}

.btn-pill:hover {
    background: var(--color-white);
    color: #000;
}

/* --- SOBRE (Imagens Sobrepostas & Tipografia) --- */
.about {
    position: relative;
    overflow: hidden;
}

.about-bg-text {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    font-size: 9vw;
    font-weight: 900;
    color: rgba(255, 255, 255, 0.02);
    white-space: nowrap;
    pointer-events: none;
    z-index: 1;
}

.about-container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 30px;
    align-items: center;
    position: relative;
}

.z-index-2 {
    z-index: 2;
    position: relative;
}

.about-desc {
    font-size: 0.85rem;
    line-height: 1.6;
    color: #ccc;
    margin-bottom: 20px;
}

.about-stats {
    display: flex;
    gap: 10px;
}

.stat-item {
    flex: 1;
    padding: 10px;
    text-align: center;
}

.stat-number {
    display: block;
    font-size: 1.5rem;
    font-weight: 900;
    color: var(--color-gold-mid);
    margin-bottom: 5px;
}

.stat-label {
    font-size: 0.7rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    color: #888;
}

.about-visuals {
    position: relative;
    height: 300px;
}

.glass-panel {
    position: absolute;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2rem;
    border-radius: 10px;
}

.panel-1 {
    width: 150px;
    height: 200px;
    top: 0;
    right: 20px;
    z-index: 3;
}

.panel-2 {
    width: 120px;
    height: 150px;
    bottom: 0;
    left: 0;
    z-index: 4;
    transform: translateZ(20px);
}

.panel-3 {
    width: 100px;
    height: 100px;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%) translateZ(40px);
    z-index: 5;
}

/* --- CONTATO (Minimalista & Glow) --- */
.contact-container {
    padding: 25px;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
    position: relative;
    overflow: hidden;
}

.contact-list {
    list-style: none;
    margin-top: 15px;
}

.contact-list li {
    margin-bottom: 10px;
    font-size: 0.85rem;
}

.contact-list i {
    margin-right: 8px;
    font-size: 1rem;
}

.contact-form-wrapper {
    position: relative;
    z-index: 2;
}

.contact-form {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.input-group {
    position: relative;
}

.input-minimal {
    width: 100%;
    padding: 8px 0;
    background: transparent;
    border: none;
    border-bottom: 1px solid rgba(255, 255, 255, 0.2);
    color: #fff;
    font-family: var(--font-main);
    font-size: 0.8rem;
    transition: border-color 0.3s;
}

.input-minimal:focus {
    outline: none;
    border-bottom-color: var(--color-gold-mid);
}

.focus-glow {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--color-gold-mid);
    transition: width 0.4s ease;
    box-shadow: 0 0 10px var(--color-gold-mid);
}

.input-minimal:focus~.focus-glow {
    width: 100%;
}

.magnetic-btn {
    align-self: flex-start;
    margin-top: 20px;
    cursor: pointer;
    transition: transform 0.2s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.contact-decor {
    position: absolute;
    top: 50%;
    right: -100px;
    transform: translateY(-50%);
    width: 300px;
    height: 300px;
    z-index: 1;
    opacity: 0.5;
    pointer-events: none;
}

.decor-ring {
    position: absolute;
    inset: 0;
    border: 1px solid var(--color-gold-mid);
    border-radius: 50%;
}

.dr-1 {
    transform: rotateX(60deg) rotateY(20deg);
    animation: rotate-ring 10s linear infinite;
}

.dr-2 {
    transform: rotateX(40deg) rotateY(60deg);
    animation: rotate-ring 15s linear infinite reverse;
}

@keyframes rotate-ring {
    100% {
        transform: rotateX(60deg) rotateY(20deg) rotateZ(360deg);
    }
}

/* --- MEGA FOOTER --- */
.footer-mega {
    background: linear-gradient(180deg, rgba(5, 5, 5, 0.95) 0%, rgba(0, 0, 0, 1) 100%);
    position: relative;
    overflow: hidden;
    padding-top: 80px;
    border-top: 1px solid rgba(255, 255, 255, 0.05);
}

/* Linha dourada brilhante no topo do footer */
.footer-mega::before {
    content: '';
    position: absolute;
    top: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 70%;
    height: 1px;
    background: linear-gradient(90deg, transparent, rgba(212, 175, 55, 0.8), transparent);
    box-shadow: 0 0 20px rgba(212, 175, 55, 0.6);
}

.footer-grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1fr;
    gap: 40px;
    padding-bottom: 60px;
}

.footer-col {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.brand-col .footer-slogan {
    font-size: 0.85rem;
    color: #888;
    line-height: 1.6;
    margin-top: 10px;
    max-width: 320px;
}

.footer-title {
    font-size: 0.9rem;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 1px;
    color: var(--color-gold-mid);
    margin-bottom: 5px;
}

.footer-list {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.footer-list li {
    font-size: 0.85rem;
    color: #ccc;
    display: flex;
    align-items: center;
    gap: 10px;
}

.footer-list i {
    color: var(--color-gold-mid);
    font-size: 1rem;
    width: 20px;
}

.footer-list a {
    color: #ccc;
    text-decoration: none;
    transition: all 0.3s ease;
}

.footer-list a:hover {
    color: var(--color-white);
    text-shadow: 0 0 8px rgba(212, 175, 55, 0.5);
    transform: translateX(5px);
}

.social-icons {
    display: flex;
    gap: 15px;
}

.social-btn {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.1);
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    font-size: 1.1rem;
    text-decoration: none;
    transition: all 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.social-btn:hover {
    background: linear-gradient(135deg, #fceabb 0%, #d4af37 100%);
    color: #000;
    border-color: #fceabb;
    transform: translateY(-5px) scale(1.1);
    box-shadow: 0 10px 20px rgba(212, 175, 55, 0.4);
}

.footer-bottom {
    background: rgba(0, 0, 0, 0.8);
    border-top: 1px solid rgba(255, 255, 255, 0.05);
    padding: 20px 0;
}

.bottom-flex {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 15px;
}

.bottom-flex p {
    font-size: 0.75rem;
    color: #666;
}

.bottom-links {
    display: flex;
    gap: 20px;
}

.bottom-links a {
    font-size: 0.75rem;
    color: #666;
    text-decoration: none;
    transition: color 0.3s;
}

.bottom-links a:hover {
    color: var(--color-gold-mid);
}

/* Responsividade do Mega Footer */
@media (max-width: 900px) {
    .footer-grid {
        grid-template-columns: 1fr 1fr;
    }
}

@media (max-width: 600px) {
    .footer-grid {
        grid-template-columns: 1fr;
        text-align: center;
    }

    .footer-col {
        align-items: center;
    }

    .brand-col .footer-slogan {
        text-align: center;
    }

    .bottom-flex {
        flex-direction: column;
        justify-content: center;
    }
}

/* --- ANIMAÇÃO 3D LOGO (OVERLAY) --- */
.logo-3d-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    z-index: 9999;
    pointer-events: none;
    perspective: 1500px;
    background: rgba(0, 0, 0, 0);
    animation: fade-bg 5.5s ease-in-out forwards;
    zoom: 1.17647;
    /* Reverte o zoom do body para manter o 3D imersivo na proporção real */
}

@keyframes fade-bg {

    0%,
    100% {
        background: rgba(0, 0, 0, 0);
        backdrop-filter: blur(0px);
    }

    10%,
    90% {
        background: rgba(0, 0, 0, 0.7);
        backdrop-filter: blur(8px);
    }
}

.cube-wrapper {
    position: absolute;
    left: 0;
    top: 0;
    width: var(--cube-w);
    height: var(--cube-h);
    margin-left: calc(var(--cube-w) * -0.5);
    margin-top: calc(var(--cube-h) * -0.5);
    transform-style: preserve-3d;
    animation: cube-fly-spin 5.5s cubic-bezier(0.25, 0.46, 0.45, 0.94) forwards;
}

.cube-face {
    position: absolute;
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    background: #0a0a0a;
    /* 100% Sólido para não vazar a parte de trás */
    border: 1px solid #0a0a0a;
    box-sizing: border-box;
    /* Mantém a matemática do tamanho perfeita */
    box-shadow: 0 0 2px #0a0a0a;
    /* Preenche microfrestas de renderização 3D */
    backface-visibility: hidden;
    /* Oculta a parte interna das faces */
}

.cube-face img {
    width: 90%;
    height: 90%;
    object-fit: contain;
    filter: drop-shadow(0 0 5px rgba(255, 255, 255, 0.3));
}

/* Faces Dinâmicas (Tamanho da logo) */
.cube-front {
    transform: translateZ(calc(var(--cube-d) / 2));
}

.cube-back {
    transform: rotateY(180deg) translateZ(calc(var(--cube-d) / 2));
}

.cube-right {
    width: var(--cube-d);
    left: 50%;
    margin-left: calc(var(--cube-d) * -0.5);
    transform: rotateY(90deg) translateZ(calc(var(--cube-w) / 2));
}

.cube-left {
    width: var(--cube-d);
    left: 50%;
    margin-left: calc(var(--cube-d) * -0.5);
    transform: rotateY(-90deg) translateZ(calc(var(--cube-w) / 2));
}

.cube-top {
    height: var(--cube-d);
    top: 50%;
    margin-top: calc(var(--cube-d) * -0.5);
    transform: rotateX(90deg) translateZ(calc(var(--cube-h) / 2));
}

.cube-bottom {
    height: var(--cube-d);
    top: 50%;
    margin-top: calc(var(--cube-d) * -0.5);
    transform: rotateX(-90deg) translateZ(calc(var(--cube-h) / 2));
}

@keyframes cube-fly-spin {
    0% {
        transform: translate(var(--start-x), var(--start-y)) scale(1) rotateX(0) rotateY(0) rotateZ(0);
    }

    15% {
        /* Voa para o centro e começa a girar */
        transform: translate(50vw, 50vh) scale(5) rotateX(180deg) rotateY(180deg) rotateZ(45deg);
    }

    45% {
        /* Ápice do caos */
        transform: translate(50vw, 50vh) scale(3) rotateX(540deg) rotateY(360deg) rotateZ(90deg);
    }

    70% {
        /* Volta a ficar reto, de frente para o usuário em escala máxima */
        transform: translate(50vw, 50vh) scale(7) rotateX(720deg) rotateY(720deg) rotateZ(0deg);
    }

    85% {
        /* Pausa dramática para leitura perfeita da logo */
        transform: translate(50vw, 50vh) scale(7) rotateX(720deg) rotateY(720deg) rotateZ(0deg);
    }

    100% {
        /* Recolhe para o menu */
        transform: translate(var(--start-x), var(--start-y)) scale(1) rotateX(720deg) rotateY(720deg) rotateZ(0deg);
    }
}

/* --- AI CHAT SECTION --- */
.ai-chat-section {
    position: relative;
    padding: 120px 0;
    overflow: hidden;
}

.ai-glow-bg {
    position: absolute;
    top: 50%;
    left: 50%;
    width: 60vw;
    height: 60vw;
    background: radial-gradient(circle, rgba(212, 175, 55, 0.08) 0%, rgba(0, 0, 0, 0) 70%);
    transform: translate(-50%, -50%);
    z-index: 0;
    pointer-events: none;
}

.ai-chat-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
    position: relative;
    z-index: 1;
}

.ai-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 8px 16px;
    background: rgba(212, 175, 55, 0.1);
    border: 1px solid rgba(212, 175, 55, 0.3);
    border-radius: 30px;
    color: var(--gold);
    font-size: 0.8rem;
    font-weight: 600;
    letter-spacing: 2px;
    margin-bottom: 20px;
}

/* Chat Mockup Glassmorphism com Borda Exuberante (Animada) */
.ai-chat-window {
    border-radius: 20px;
    box-shadow: 0 30px 60px rgba(0, 0, 0, 0.8), 0 0 30px rgba(212, 175, 55, 0.1);
    display: flex;
    flex-direction: column;
    height: 500px;
    position: relative;
    overflow: hidden;
    padding: 2px;
    /* Espessura da borda mágica */
    z-index: 1;
    cursor: pointer;
}

/* O gradiente que fica girando (Conic Gradient) */
.ai-chat-window::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: conic-gradient(transparent, transparent, transparent, var(--gold));
    animation: spin-glow 4s linear infinite;
    z-index: -2;
}

/* Fundo Prata Sólido (Sem Degradê) */
.ai-chat-window::after {
    content: '';
    position: absolute;
    top: 2px;
    left: 2px;
    right: 2px;
    bottom: 2px;
    background: rgba(160, 160, 160, 1);
    /* Um tom de prata platina opaco e sólido */
    backdrop-filter: blur(20px);
    border-radius: 18px;
    z-index: -1;
}

@keyframes spin-glow {
    0% {
        transform: rotate(0deg);
    }

    100% {
        transform: rotate(360deg);
    }
}

/* Elevando o conteúdo para ficar em cima do fundo escuro */
.chat-header,
.chat-body,
.chat-footer {
    position: relative;
    z-index: 2;
}

.chat-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 15px 20px;
    border-bottom: 1px solid rgba(0, 0, 0, 0.2);
    background: rgba(0, 0, 0, 0.3);
    /* Escuro para contrastar com o ouro */
    border-radius: 18px 18px 0 0;
}

.chat-status {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 0.8rem;
    font-weight: 600;
    letter-spacing: 1px;
    color: #fff;
}

.status-dot {
    width: 8px;
    height: 8px;
    background: #00ff88;
    border-radius: 50%;
    box-shadow: 0 0 10px #00ff88;
    animation: pulse-dot 2s infinite;
}

@keyframes pulse-dot {
    0% {
        transform: scale(0.95);
        box-shadow: 0 0 0 0 rgba(0, 255, 136, 0.7);
    }

    70% {
        transform: scale(1);
        box-shadow: 0 0 0 10px rgba(0, 255, 136, 0);
    }

    100% {
        transform: scale(0.95);
        box-shadow: 0 0 0 0 rgba(0, 255, 136, 0);
    }
}

.chat-actions i {
    color: rgba(255, 255, 255, 0.7);
    margin-left: 15px;
    cursor: pointer;
    transition: 0.3s;
}

.chat-actions i:hover {
    color: #fff;
    transform: scale(1.1);
}

.chat-body {
    flex: 1;
    padding: 20px;
    display: flex;
    flex-direction: column;
    gap: 20px;
    overflow-y: auto;
}

.chat-msg {
    display: flex;
    gap: 15px;
    max-width: 85%;
}

.ai-msg {
    align-self: flex-start;
}

.user-msg {
    align-self: flex-end;
    flex-direction: row-reverse;
}

.msg-avatar {
    width: 35px;
    height: 35px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--gold), #6e6e6e);
    display: flex;
    align-items: center;
    justify-content: center;
    color: #000;
    font-size: 0.9rem;
    flex-shrink: 0;
}

.user-msg .msg-bubble {
    background: rgba(0, 0, 0, 0.7);
    border: 1px solid rgba(0, 0, 0, 0.8);
    border-radius: 15px 15px 0 15px;
    color: #fff;
}

.ai-msg .msg-bubble {
    background: rgba(255, 255, 255, 0.9);
    border: 1px solid rgba(255, 255, 255, 1);
    border-radius: 15px 15px 15px 0;
    color: #1a1400;
    /* Texto escuro para legibilidade */
    font-weight: 500;
}

.msg-bubble {
    padding: 12px 18px;
    font-size: 0.95rem;
    line-height: 1.5;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.15);
}

/* Typing Indicator */
.typing-indicator {
    display: flex;
    gap: 4px;
    align-items: center;
    height: 24px;
}

.typing-indicator span {
    width: 6px;
    height: 6px;
    background: var(--gold);
    border-radius: 50%;
    animation: bounce 1.4s infinite ease-in-out both;
}

.typing-indicator span:nth-child(1) {
    animation-delay: -0.32s;
}

.typing-indicator span:nth-child(2) {
    animation-delay: -0.16s;
}

@keyframes bounce {

    0%,
    80%,
    100% {
        transform: scale(0);
    }

    40% {
        transform: scale(1);
    }
}

.chat-footer {
    padding: 15px 20px;
    border-top: 1px solid rgba(0, 0, 0, 0.2);
    background: rgba(0, 0, 0, 0.3);
    /* Escuro para contrastar com o ouro */
    display: flex;
    gap: 10px;
}

.chat-input {
    flex: 1;
    background: rgba(0, 0, 0, 0.5);
    border: 1px solid rgba(0, 0, 0, 0.8);
    border-radius: 30px;
    padding: 12px 20px;
    color: #fff;
    font-family: inherit;
    font-size: 0.95rem;
    transition: 0.3s;
}

.chat-input::placeholder {
    color: rgba(255, 255, 255, 0.6);
}

.chat-input:focus {
    outline: none;
    border-color: rgba(255, 255, 255, 0.4);
    background: rgba(0, 0, 0, 0.7);
}

.chat-send-btn {
    width: 45px;
    height: 45px;
    border-radius: 50%;
    background: #000;
    border: 1px solid rgba(255, 255, 255, 0.1);
    color: var(--gold);
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: 0.3s;
}

.chat-send-btn:hover {
    transform: scale(1.05);
    box-shadow: 0 0 15px rgba(0, 0, 0, 0.5);
    background: #111;
}

/* Efeito Exuberante de Clique (Blast/Ripple) */
.chat-ripple {
    position: absolute;
    width: 20px;
    height: 20px;
    background: var(--gold);
    border-radius: 50%;
    box-shadow: 0 0 40px 20px var(--gold);
    animation: ripple-blast 0.7s cubic-bezier(0.1, 0.8, 0.3, 1) forwards;
    pointer-events: none;
    z-index: 10;
}

@keyframes ripple-blast {
    0% {
        transform: translate(-50%, -50%) scale(1);
        opacity: 0.8;
    }

    100% {
        transform: translate(-50%, -50%) scale(40);
        opacity: 0;
    }
}

/* --- LANGUAGE SELECTOR --- */
.lang-bubble-floating {
    position: fixed;
    top: 25px;
    right: 25px;
    z-index: 9999;
    display: flex;
    flex-direction: column;
    gap: 0;
    background: rgba(10, 10, 10, 0.4);
    backdrop-filter: blur(15px);
    -webkit-backdrop-filter: blur(15px);
    padding: 10px;
    border-radius: 30px;
    border: 1px solid rgba(255, 255, 255, 0.05);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    overflow: hidden;
    max-height: 44px;
    /* Oculta as outras bandeiras */
}

.lang-bubble-floating:hover {
    max-height: 150px;
    gap: 12px;
    background: rgba(10, 10, 10, 0.85);
    border-color: rgba(212, 175, 55, 0.3);
}

.lang-btn {
    background: transparent;
    border: none;
    cursor: pointer;
    transition: all 0.3s ease;
    padding: 0;
    line-height: 1;
    border-radius: 3px;
    display: flex;
    align-items: center;
    justify-content: center;
}

/* Ocultar inativas por padrão */
.lang-btn:not(.active) {
    opacity: 0;
    pointer-events: none;
    transform: scale(0.5);
    height: 0;
    margin: 0;
}

/* Mostrar inativas no Hover */
.lang-bubble-floating:hover .lang-btn:not(.active) {
    opacity: 0.5;
    pointer-events: auto;
    transform: scale(1);
    height: 20px;
}

.lang-btn img {
    width: 28px;
    height: 20px;
    object-fit: cover;
    display: block;
    border-radius: 3px;
}

.lang-bubble-floating:hover .lang-btn:hover {
    opacity: 1 !important;
    transform: scale(1.1) !important;
}

/* A bandeira ativa fica sempre em primeiro e decorada */
.lang-btn.active {
    opacity: 1;
    order: -1;
    transform: scale(1.1);
    box-shadow: 0 0 12px rgba(212, 175, 55, 0.8);
    border: 1px solid var(--gold);
    height: 20px;
}

/* --- NOVAS SEÇÕES: Soluções, Diferenciais, Mercado, Processo, FAQ --- */

/* 1. Alta Performance */
.perf-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
    margin-top: 50px;
}

.perf-card {
    padding: 30px;
    text-align: center;
    border-radius: 20px;
    transition: 0.3s;
}

.perf-card:hover {
    transform: translateY(-10px);
}

.perf-card .card-icon {
    font-size: 3rem;
    color: var(--gold);
    margin-bottom: 20px;
}

.perf-card h3 {
    font-size: 1.5rem;
    font-weight: 700;
    margin-bottom: 10px;
}

.perf-card p {
    color: rgba(255, 255, 255, 0.7);
    line-height: 1.6;
}

/* 2. UX/UI & Segurança */
.ux-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    margin-top: 50px;
}

.ux-col {
    padding: 40px;
    border-radius: 20px;
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.ux-col h3 {
    font-size: 1.5rem;
    color: var(--gold);
    margin-bottom: 15px;
}

.ux-col p {
    color: rgba(255, 255, 255, 0.7);
    line-height: 1.6;
    margin-bottom: 20px;
}

.ux-list {
    list-style: none;
    padding: 0;
}

.ux-list li {
    margin-bottom: 10px;
    font-weight: 500;
}

.ux-list i {
    margin-right: 10px;
}

/* 3. Agência 360 */
.a360-list {
    display: flex;
    flex-direction: column;
    gap: 20px;
    max-width: 800px;
    margin: 50px auto 0;
    padding: 40px;
    border-radius: 20px;
    text-align: left;
}

.a360-item {
    display: flex;
    align-items: center;
    font-size: 1.2rem;
    font-weight: 500;
}

.a360-item i {
    font-size: 1.5rem;
    margin-right: 15px;
    min-width: 30px;
}

/* 4. Mercado (Destaque em R$) */
.mercado {
    position: relative;
    padding: 100px 0;
}

.mercado-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: radial-gradient(circle at center, rgba(176, 176, 176, 0.1) 0%, transparent 70%);
    z-index: 0;
}

.mercado .container {
    position: relative;
    z-index: 1;
}

.mercado-content {
    padding: 60px 40px;
    border-radius: 30px;
}

.mercado-title {
    font-size: 3rem;
    margin-bottom: 20px;
}

.mercado-subtitle {
    font-size: 1.5rem;
    color: #fff;
    margin-bottom: 20px;
}

.mercado-desc {
    font-size: 1.1rem;
    color: rgba(255, 255, 255, 0.7);
    max-width: 800px;
    margin: 0 auto;
    line-height: 1.6;
}

/* 5. Tabela Comparativa */
.comp-table-wrapper {
    max-width: 1000px;
    margin: 50px auto 0;
    overflow-x: auto;
    border-radius: 20px;
    background: rgba(255, 255, 255, 0.02);
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.comp-table {
    width: 100%;
    border-collapse: collapse;
}

.comp-table th,
.comp-table td {
    padding: 20px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.comp-table th {
    font-size: 1.2rem;
    font-weight: 700;
    background: rgba(255, 255, 255, 0.05);
}

.comp-table td {
    font-size: 1rem;
    color: rgba(255, 255, 255, 0.8);
}

.comp-table tbody tr:last-child td {
    border-bottom: none;
}

.comp-table tbody tr:hover {
    background: rgba(255, 255, 255, 0.03);
}

.highlight-col {
    background: rgba(176, 176, 176, 0.05);
    font-weight: 700;
}

.text-danger {
    color: #ff4c4c;
}

/* Timeline Processo */
.timeline-container {
    max-width: 800px;
    margin: 50px auto 0;
    position: relative;
}

.timeline-container::before {
    content: '';
    position: absolute;
    left: 50px;
    top: 0;
    bottom: 0;
    width: 2px;
    background: rgba(255, 255, 255, 0.1);
}

.timeline-item {
    position: relative;
    margin-bottom: 30px;
    padding: 30px 30px 30px 100px;
    border-radius: 20px;
}

.timeline-number {
    position: absolute;
    left: 30px;
    top: 50%;
    transform: translateY(-50%);
    font-size: 2.5rem;
    font-weight: 900;
    color: var(--gold);
    opacity: 0.5;
}

.timeline-item h3 {
    font-size: 1.5rem;
    margin-bottom: 10px;
    font-weight: 700;
}

.timeline-item p {
    color: rgba(255, 255, 255, 0.7);
}

/* FAQ Accordion */
.faq-accordion {
    max-width: 800px;
    margin: 50px auto 0;
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.faq-item {
    border-radius: 15px;
    overflow: hidden;
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.faq-question {
    padding: 20px 30px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    cursor: pointer;
    font-weight: 600;
    font-size: 1.2rem;
    transition: 0.3s;
}

.faq-question:hover {
    background: rgba(255, 255, 255, 0.05);
}

.faq-question i {
    color: var(--gold);
    transition: 0.3s;
}

.faq-item.active .faq-question i {
    transform: rotate(180deg);
}

.faq-answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.4s ease;
    background: rgba(0, 0, 0, 0.3);
}

.faq-answer p {
    padding: 20px 30px;
    color: rgba(255, 255, 255, 0.7);
    line-height: 1.6;
}

@media (max-width: 992px) {
    .ai-chat-grid {
        grid-template-columns: 1fr;
    }

    .ai-chat-copy {
        text-align: center;
    }

    .ai-chat-copy .ai-badge {
        margin: 0 auto 20px;
    }

    .ai-chat-copy .section-subtitle {
        margin: 0 auto;
    }
}

@media (max-width: 768px) {
    .timeline-container::before {
        left: 30px;
    }

    .timeline-item {
        padding-left: 80px;
    }

    .timeline-number {
        left: 15px;
        font-size: 2rem;
    }
}

/* ==========================================================================
   HIGH IMPACT DESIGN (WOW Effects)
   ========================================================================== */

/* Glow Ambient Global */
.ambient-glow {
    position: absolute;
    width: 600px;
    height: 600px;
    border-radius: 50%;
    filter: blur(150px);
    z-index: -1;
    opacity: 0.4;
    animation: floatGlow 10s infinite alternate;
}

.gold-glow {
    background: rgba(212, 175, 55, 0.2);
    top: 20%;
    left: -200px;
}

@keyframes floatGlow {
    0% {
        transform: translate(0, 0) scale(1);
    }

    100% {
        transform: translate(100px, 100px) scale(1.2);
    }
}

/* Vanilla Tilt JS adjustments for glass cards */
.glass-card-3d,
.glass-card,
.portfolio-card {
    transform-style: preserve-3d;
}

.glass-card-3d>*,
.glass-card>*,
.portfolio-card>* {
    transform: translateZ(30px);
}

/* Orbital Reactor (Agência 360) */
.orbital-reactor {
    position: relative;
    width: 400px;
    height: 400px;
    margin: 50px auto;
    display: flex;
    justify-content: center;
    align-items: center;
}

.reactor-core {
    width: 120px;
    height: 120px;
    background: radial-gradient(circle, var(--color-gold-light) 0%, var(--color-gold-dark) 100%);
    border-radius: 50%;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    color: #000;
    font-weight: 900;
    z-index: 10;
    box-shadow: 0 0 50px var(--color-gold-mid);
    text-align: center;
    font-size: 0.7rem;
}

.reactor-core i {
    font-size: 2rem;
    margin-bottom: 5px;
}

.orbit-path {
    position: absolute;
    border: 1px solid rgba(212, 175, 55, 0.2);
    border-radius: 50%;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
}

.orbit-1 {
    width: 250px;
    height: 250px;
    animation: spin 10s linear infinite;
}

.orbit-2 {
    width: 350px;
    height: 350px;
    animation: spin 15s linear infinite reverse;
}

.orbit-3 {
    width: 450px;
    height: 450px;
    animation: spin 20s linear infinite;
}

.orbit-planet {
    position: absolute;
    width: 50px;
    height: 50px;
    background: rgba(20, 20, 20, 0.9);
    border: 1px solid var(--color-gold-mid);
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    color: var(--color-gold-light);
    font-size: 1.2rem;
    box-shadow: 0 0 20px rgba(212, 175, 55, 0.4);
    top: -25px;
    left: 50%;
    margin-left: -25px;
}

@keyframes spin {
    100% {
        transform: translate(-50%, -50%) rotate(360deg);
    }
}

.a360-text-cards {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
    margin-top: 40px;
}

.t-card {
    text-align: center;
    padding: 30px;
}

.t-card h4 {
    margin-bottom: 15px;
    font-size: 1.2rem;
    text-transform: uppercase;
}

/* Video Text Mask (Mercado 15 Bilhões) */
.mercado-video-clip {
    position: relative;
    padding: 150px 0;
    background: #000;
    overflow: hidden;
}

.video-text-wrapper {
    position: relative;
    display: inline-block;
    overflow: hidden;
    vertical-align: bottom;
    background: #000;
}

.video-mask {
    width: 100%;
    height: 100%;
    object-fit: cover;
    position: absolute;
    top: 0;
    left: 0;
    z-index: 1;
    pointer-events: none;
}

.video-text-content {
    font-size: 9vw;
    font-weight: 900;
    white-space: nowrap;
    margin: 0;
    line-height: 1;
    background: #000;
    color: #fff;
    mix-blend-mode: multiply;
    position: relative;
    z-index: 2;
    padding: 20px;
}

.glow-text {
    text-shadow: 0 0 20px rgba(212, 175, 55, 0.5);
}

/* Laser Timeline (Processo) */
.laser-timeline {
    position: relative;
    max-width: 1000px;
    margin: 80px auto 0;
    padding: 40px 0;
}

.laser-beam {
    position: absolute;
    left: 50%;
    top: 0;
    bottom: 0;
    width: 4px;
    background: linear-gradient(to bottom, transparent, var(--color-gold-mid), transparent);
    transform: translateX(-50%);
    opacity: 0.5;
    box-shadow: 0 0 15px var(--color-gold-mid);
}

.laser-node {
    width: calc(50% - 40px);
    padding: 40px;
    position: relative;
    margin-bottom: 60px;
}

.node-left {
    margin-right: auto;
}

.node-right {
    margin-left: auto;
    left: 0;
}

.node-dot {
    position: absolute;
    width: 20px;
    height: 20px;
    background: var(--color-gold-mid);
    border-radius: 50%;
    top: 50%;
    box-shadow: 0 0 20px var(--color-gold-light);
}

.node-left .node-dot {
    right: -40px;
    transform: translate(50%, -50%);
}

.node-right .node-dot {
    left: -40px;
    transform: translate(-50%, -50%);
}

@media (max-width: 768px) {
    .laser-beam {
        left: 20px;
    }

    .laser-node {
        width: calc(100% - 60px);
        left: 0;
        margin-bottom: 40px;
    }

    .node-left,
    .node-right {
        margin-left: 60px;
        margin-right: 0;
    }

    .node-left .node-dot,
    .node-right .node-dot {
        left: -40px;
        right: auto;
        transform: translate(-50%, -50%);
    }

    .a360-text-cards {
        grid-template-columns: 1fr;
    }

    .orbital-reactor {
        transform: scale(0.6);
        margin: 0 auto;
    }

    .video-text-content {
        font-size: 13vw;
        white-space: nowrap;
    }
}

/* AI Chat Scan Glow */
.ai-glow-bg {
    animation: scan 4s infinite linear;
}

@keyframes scan {
    0% {
        background-position: 0% 0%;
    }

    100% {
        background-position: 100% 100%;
    }
}


/* --- SOBRE UNIFICADO --- */
.about-unified-panel {
    display: flex;
    flex-wrap: wrap;
    gap: 50px;
    padding: 60px;
    align-items: center;
    justify-content: space-between;
    margin-top: 50px;
}

.about-content-left {
    flex: 1.2;
    min-width: 300px;
}

.about-content-right {
    flex: 1;
    min-width: 300px;
    border-left: 1px solid rgba(212, 175, 55, 0.2);
    padding-left: 50px;
}

.about-desc {
    font-size: 1.1rem;
    line-height: 1.8;
    color: #ddd;
    margin-bottom: 20px;
}

.stats-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 30px;
}

.stat-box {
    text-align: left;
}

.stat-box h3 {
    font-size: 2.5rem;
    margin-bottom: 5px;
    font-weight: 900;
}

.stat-box p {
    color: #aaa;
    font-size: 0.85rem;
    text-transform: uppercase;
    letter-spacing: 1px;
}

@media (max-width: 768px) {
    .about-unified-panel {
        padding: 30px;
        flex-direction: column;
        gap: 30px;
    }

    .about-content-right {
        border-left: none;
        border-top: 1px solid rgba(212, 175, 55, 0.2);
        padding-left: 0;
        padding-top: 30px;
        width: 100%;
    }

    .stats-grid {
        gap: 20px;
    }

    .stat-box h3 {
        font-size: 2rem;
    }
}

/* --- MOBILE MENU E IDIOMAS REFINADOS --- */
@media (max-width: 768px) {
    /* PÍLULA PERFEITA NO CENTRO */
    .header-floating {
        width: calc(100vw - 40px) !important; /* Estica exatamente o tamanho da tela menos 40px */
        left: 20px !important; /* Cola 20px da esquerda, resultando em 20px da direita também */
        transform: none !important;
        padding: 10px 20px !important;
        border-radius: 40px !important; /* Super arredondado - Pílula */
        background: rgba(10, 10, 10, 0.95) !important;
        backdrop-filter: blur(20px);
        box-sizing: border-box;
    }
    
    .nav-container {
        display: flex !important;
        justify-content: center !important;
        align-items: center !important;
        width: 100% !important;
        position: relative;
        height: 30px; /* Altura fixa para manter simetria */
    }

    /* ESCONDER O QUE NÃO VAI NA PÍLULA */
    .header-actions { display: none !important; }
    
    /* ESCONDER BOLHA DE IDIOMAS FLUTUANTE EXTERNA NO MOBILE */
    body > .lang-bubble-floating { display: none !important; }

    /* MENU HAMBURGUER NA EXTREMA ESQUERDA DA PÍLULA */
    .mobile-menu-btn {
        display: flex !important;
        position: absolute;
        left: 0;
        top: 50%;
        transform: translateY(-50%);
        background: none;
        border: none;
        color: var(--gold);
        font-size: 1.5rem;
        cursor: pointer;
        padding: 0;
        align-items: center;
        justify-content: center;
        z-index: 20;
    }

    /* LOGO PERFEITAMENTE NO CENTRO */
    .logo {
        display: flex;
        justify-content: center;
        align-items: center;
    }
    .logo-img {
        height: 20px !important;
    }

    /* PAINEL DO MENU DROPDOWN */
    .nav-list {
        display: none !important;
        flex-direction: column;
        position: absolute;
        top: 50px; /* Abaixo da pílula */
        left: 0; /* Alinhado à esquerda da pílula */
        width: 100%; /* Mesma largura da pílula */
        background: rgba(10, 10, 10, 0.98);
        border: 1px solid rgba(212, 175, 55, 0.3);
        padding: 20px;
        border-radius: 20px;
        gap: 15px;
        text-align: center;
        box-shadow: 0 10px 30px rgba(0,0,0,0.8);
        z-index: 1000;
        box-sizing: border-box;
    }
    
    .nav-list.active {
        display: flex !important;
        animation: fadeInDown 0.3s ease forwards;
    }
    
    .nav-link {
        font-size: 1.2rem;
        padding: 10px 0;
        display: block;
        border-bottom: 1px solid rgba(255,255,255,0.05);
    }

    /* MOSTRAR IDIOMAS DENTRO DO DROPDOWN (Foi pedido para trazer pra dentro do menu) */
    .mobile-lang-container {
        display: block !important;
        padding-top: 15px;
        border-top: 1px solid rgba(255,255,255,0.1);
        margin-top: 10px;
    }
    .mobile-lang-row {
        display: flex;
        justify-content: center;
        gap: 15px;
    }
    .mobile-lang-row .lang-btn {
        display: block !important;
        opacity: 1 !important;
        height: auto !important;
        margin: 0 !important;
        transform: none !important;
        pointer-events: auto !important;
    }
    .mobile-lang-row .lang-btn img {
        width: 32px !important;
        height: 24px !important;
        border-radius: 4px;
    }
    .mobile-lang-row .lang-btn.active {
        border: 2px solid var(--gold);
        border-radius: 6px;
    }
}
