:root {
    /* Premium Dark Mustard/Old Gold Theme */
    --bg-color: #030305;
    --bg-secondary: #08080c;
    --text-primary: #c8c8c8;
    --text-secondary: #9a9a8a;
    
    /* Cyberpunk Hologram Cyan/Teal Theme */
    --accent-mustard: #0099cc; /* Deep Cyan (Tom principal, mais escuro que o brilho do rosto) */
    --accent-gold: #005c8a;    /* Dark Teal (Tom secundário do gradiente) */
    --accent-cream: #ccf2ff;   /* Ice Cyan (Para textos em destaque) */
    
    /* Gradients */
    --neon-gradient: linear-gradient(135deg, var(--accent-mustard), var(--accent-gold));
    --glass-bg: rgba(255, 255, 255, 0.02);
    --glass-border: rgba(255, 255, 255, 0.06);

    /* Typography */
    --font-heading: 'Outfit', sans-serif;
    --font-body: 'Inter', sans-serif;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    scroll-behavior: smooth;
}

body {
    background-color: var(--bg-color);
    color: var(--text-primary);
    font-family: var(--font-body);
    line-height: 1.6;
    overflow-x: hidden;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 24px;
}

/* Glass Panels */
.glass-panel {
    background: var(--glass-bg);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    border: 1px solid var(--glass-border);
    border-radius: 16px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
}

/* Typography Helpers */
h1, h2, h3, .logo-text {
    font-family: var(--font-heading);
    font-weight: 800;
}

.glow-text {
    color: var(--accent-mustard);
    text-shadow: 0 0 6px rgba(0, 153, 204, 0.5);
    font-weight: inherit;
}

/* Navigation */
.glass-nav {
    position: fixed;
    top: 0;
    width: 100%;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px 5%;
    z-index: 1000;
    background: rgba(5, 5, 8, 0.7);
    backdrop-filter: blur(10px);
    border-bottom: 1px solid var(--glass-border);
}

.logo {
    display: flex;
    flex-direction: column;
    line-height: 1;
}

.logo-main {
    font-family: var(--font-heading);
    font-weight: 900;
    font-size: 1.4rem;
    letter-spacing: 1px;
    text-transform: uppercase;
}

.logo-type {
    font-family: var(--font-body);
    font-size: 0.75rem;
    font-weight: 700;
    color: var(--accent-mustard);
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-top: 4px;
    display: flex;
    align-items: center;
    gap: 6px;
}

.pulse-dot {
    width: 6px;
    height: 6px;
    background-color: #ff4d4d; /* Vermelho vibrante para atenção */
    border-radius: 50%;
    display: inline-block;
    box-shadow: 0 0 0 0 rgba(255, 77, 77, 0.7);
    animation: pulse-red 2s infinite;
}

@keyframes pulse-red {
    0% { transform: scale(0.95); box-shadow: 0 0 0 0 rgba(255, 77, 77, 0.7); }
    70% { transform: scale(1); box-shadow: 0 0 0 6px rgba(255, 77, 77, 0); }
    100% { transform: scale(0.95); box-shadow: 0 0 0 0 rgba(255, 77, 77, 0); }
}

.header-logo-row {
    flex-direction: row;
    align-items: center;
    gap: 12px;
}

.logo-divider {
    color: var(--accent-mustard);
    font-size: 1.2rem;
    font-weight: 300;
    margin-top: -2px;
}

.logo-sub {
    font-family: var(--font-body);
    font-size: 0.70rem;
    color: var(--text-secondary);
    letter-spacing: 0.5px;
    text-transform: uppercase;
    font-weight: 400;
    margin-top: 0;
}

.nav-links {
    list-style: none;
    display: flex;
    align-items: center;
    gap: 30px;
}

.nav-links a {
    color: var(--text-primary);
    text-decoration: none;
    font-size: 0.95rem;
    font-weight: 500;
    transition: color 0.3s;
}

.nav-links a:hover {
    color: var(--accent-cyan);
}

/* Reset de Overrides */
.hero .btn-primary,
.hero .badge {
    color: var(--accent-mustard) !important;
    background: rgba(255,255,255,0.05) !important;
    border-color: var(--glass-border) !important;
}

.hero .btn-primary {
    background: var(--accent-mustard) !important;
    color: black !important;
    box-shadow: 0 0 20px rgba(0, 153, 204, 0.3) !important;
}

.btn {
    padding: 12px 28px;
    border-radius: 30px;
    text-decoration: none;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    display: inline-flex;
    align-items: center;
    gap: 10px;
    font-family: var(--font-body);
}

.btn-primary {
    background: var(--neon-gradient);
    color: var(--text-primary);
    border: none;
    box-shadow: 0 0 20px rgba(0, 153, 204, 0.4);
}

.btn-primary:hover {
    box-shadow: 0 0 30px rgba(0, 153, 204, 0.6);
    transform: translateY(-2px);
}

.btn-secondary {
    background: transparent;
    color: var(--text-primary);
    border: 1px solid var(--glass-border);
}

.btn-secondary:hover {
    background: var(--glass-bg);
    border-color: var(--text-primary);
}

.btn-outline {
    border: 1px solid var(--accent-mustard);
    color: var(--accent-mustard) !important;
}

.btn-outline:hover {
    background: rgba(0, 153, 204, 0.1);
    box-shadow: 0 0 15px rgba(0, 153, 204, 0.3);
}

/* Hero Section */
.hero {
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: center;
    padding-top: 140px;
    /* overflow: hidden removido para o spline não ser cortado (faixa preta) */
}

.hero-bg-container {
    position: absolute;
    top: 0; left: 0; right: 0; bottom: 0;
    width: 100vw; height: 100vh;
    z-index: 0;
    overflow: hidden;
    /* Ajuste para permitir que o Spline interaja com o mouse (se necessário), mas sem bloquear o conteúdo (botões) */
    pointer-events: auto;
    perspective: 1000px;
}

.spline-bg {
    display: block;
    position: absolute;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    z-index: 1; /* Força na frente de elementos invisíveis do bg */
    border: none;
    background: transparent;
    pointer-events: none; /* garante q não sobreponha botões */
}

.hero-image-wrapper {
    position: relative;
    display: flex;
    justify-content: center;
    align-items: center;
    width: 100%;
}

.spline-behind-img {
    position: absolute;
    top: 50%;
    left: 50%;
    /* Ajustado para centralizar na TESTA/MENTE (X=-55%, Y=-68%) e menor (scale 0.55) */
    transform: translate(-55%, -68%) scale(0.55);
    margin-top: 50px;
    width: 1200px;
    height: 1200px;
    z-index: 1;
    pointer-events: auto;
}

@media (max-width: 768px) {
    .spline-behind-img {
        width: 600px;
        height: 600px;
        /* Alinhamento ajustado proporcionalmente para a imagem mobile */
        transform: translate(-55%, -75%) scale(0.55);
    }
}

.grid-3d {
    position: absolute;
    bottom: -20%; left: -50%;
    width: 200%; height: 100%;
    background-image: 
        linear-gradient(rgba(0, 153, 204, 0.6) 1px, transparent 1px),
        linear-gradient(90deg, rgba(0, 153, 204, 0.6) 1px, transparent 1px);
    background-size: 80px 80px;
    transform-origin: bottom center;
    transform: rotateX(70deg) translateY(0);
    animation: grid-move 8s linear infinite;
    -webkit-mask-image: linear-gradient(to top, rgba(0,0,0,1) 10%, transparent 80%);
    mask-image: linear-gradient(to top, rgba(0,0,0,1) 10%, transparent 80%);
}

.hero-glow {
    position: absolute;
    top: 30%; left: 50%;
    transform: translate(-50%, -50%);
    width: 300px; height: 300px;
    background: radial-gradient(circle, rgba(0, 153, 204, 0.15) 0%, transparent 70%);
    filter: blur(30px);
}

@keyframes grid-move {
    0% { transform: rotateX(70deg) translateY(0); }
    100% { transform: rotateX(70deg) translateY(80px); }
}



.hero-content {
    position: relative;
    z-index: 5;
}

.hero-title {
    font-size: 4rem;
    line-height: 1.1;
    margin-bottom: 24px;
    color: var(--text-primary);
    z-index: 2;
    position: relative;
}

.hero-subtitle {
    font-size: 1.15rem;
    color: var(--text-secondary);
    margin-bottom: 40px;
    max-width: 90%;
}

.hero-actions {
    display: flex;
    gap: 20px;
}

.hero-image-wrapper {
    position: relative;
    width: 100%;
    height: 600px;
    display: flex;
    justify-content: center;
    align-items: center;
}

.image-border-glow {
    position: absolute;
    width: 440px;
    height: 560px;
    border-radius: 20px;
    background: var(--neon-gradient);
    opacity: 0.2;
    filter: blur(20px);
    animation: pulse 4s infinite alternate;
}

.hero-img {
    width: 420px;
    height: 540px;
    object-fit: cover;
    border-radius: 20px;
    border: 1px solid var(--glass-border);
    position: relative;
    z-index: 2;
    box-shadow: 0 20px 40px rgba(0,0,0,0.8);
}

.floating-card {
    position: absolute;
    background: rgba(10, 10, 16, 0.8);
    backdrop-filter: blur(12px);
    border: 1px solid var(--glass-border);
    padding: 12px 20px;
    border-radius: 12px;
    font-weight: 600;
    font-size: 0.9rem;
    z-index: 3;
    display: flex;
    align-items: center;
    gap: 10px;
    color: var(--text-primary);
    box-shadow: 0 10px 20px rgba(0,0,0,0.5);
}

.floating-card i {
    color: var(--accent-mustard);
}

.c1 {
    top: 15%;
    left: -20px;
}

.c2 {
    bottom: 20%;
    right: -20px;
}

@keyframes float {
    0% { transform: translateY(0px); }
    50% { transform: translateY(-15px); }
    100% { transform: translateY(0px); }
}

.float-anim {
    animation: float 5s ease-in-out infinite;
}

.float-anim-alt {
    animation: float 6s ease-in-out infinite reverse;
}

/* Brands Section */
.brands-section {
    padding: 60px 0;
    border-bottom: 1px solid var(--glass-border);
    background: rgba(255,255,255,0.01);
}

.brands-label {
    text-align: center;
    font-size: 0.8rem;
    color: var(--text-secondary);
    text-transform: uppercase;
    letter-spacing: 2px;
    margin-bottom: 30px;
}

.brands-grid {
    display: flex;
    justify-content: space-around;
    align-items: center;
    flex-wrap: wrap;
    gap: 40px;
    opacity: 0.8;
    filter: sepia(1) saturate(2.5) hue-rotate(180deg) brightness(1.1); /* Tonaliza em tom Ciano */
    transition: all 0.5s ease;
}

.brands-grid:hover {
    opacity: 0.4;
    filter: grayscale(1) brightness(0.5);
    transform: scale(0.98);
}

.brand-item {
    font-family: var(--font-heading);
    font-weight: 900;
    font-size: 1.5rem;
    color: var(--text-primary);
}

.brand-item img {
    height: 60px; /* Aumentado de 40px para 60px */
    width: auto;
    max-width: 180px;
    object-fit: contain;
    transition: all 0.4s ease;
}

/* Ajuste específico para mobile */
@media (max-width: 768px) {
    .brands-grid {
        display: grid;
        grid-template-columns: 1fr 1fr;
        gap: 30px;
        justify-items: center;
    }
    
    .brand-item img {
        height: 50px; /* Tamanho considerável para mobile */
        max-width: 140px;
    }
    
    .brands-section {
        padding: 40px 0;
    }
}

/* Testimonials Section */
.testimonials-section {
    padding: 60px 0 100px;
}

.testimonials-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 30px;
}

.testimonial-card {
    padding: 30px;
    height: 100%;
}

.testimonial-user {
    display: flex;
    align-items: center;
    gap: 15px;
    margin-bottom: 20px;
}

.user-photo {
    width: 40px !important;
    height: 40px !important;
    flex-shrink: 0;
    border-radius: 50%;
    border: 2px solid var(--accent-mustard);
    object-fit: cover;
}

.user-info strong {
    display: block;
    font-size: 1.1rem;
    color: var(--white);
}

.user-info span {
    font-size: 0.85rem;
    color: var(--accent-mustard);
}

.testimonial-text {
    font-style: italic;
    color: var(--text-secondary);
    line-height: 1.6;
    font-size: 1rem;
}

/* Media Query Testimonials */
@media (max-width: 768px) {
    .testimonials-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }
    
    .testimonials-section {
        padding: 40px 0;
    }
}

/* About Section */
.about-section {
    padding: 100px 0;
    background: var(--bg-secondary);
}

.about-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 80px;
    align-items: center;
}

.about-stats {
    display: grid;
    grid-template-columns: 1fr;
    gap: 20px;
}

.stat-card {
    padding: 30px;
    text-align: center;
    transition: transform 0.3s;
}

.stat-card:hover {
    transform: translateY(-5px);
    border-color: rgba(0, 240, 255, 0.3);
}

.stat-number {
    font-size: 3rem;
    margin-bottom: 5px;
}

.stat-desc {
    color: var(--text-secondary);
    font-size: 0.95rem;
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.section-title {
    font-size: 2.8rem;
    margin-bottom: 30px;
    line-height: 1.2;
}

.text-body p {
    margin-bottom: 20px;
    font-size: 1.1rem;
    color: #c0c0d0;
}

/* Talks Section */
.talks-section {
    padding: 120px 0;
    position: relative;
}

.section-header.center {
    text-align: center;
    max-width: 700px;
    margin: 0 auto 60px;
}

.section-header p {
    color: var(--text-secondary);
    font-size: 1.1rem;
}

.talks-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 30px;
}

.talk-card {
    padding: 40px;
    position: relative;
    overflow: hidden;
    transition: all 0.4s ease;
}

.talk-card::before {
    content: '';
    position: absolute;
    top: 0; left: 0; width: 100%; height: 100%;
    background: var(--neon-gradient);
    opacity: 0;
    transition: opacity 0.4s;
    z-index: 0;
}

.talk-card:hover::before {
    opacity: 0.05;
}

.talk-card:hover {
    border-color: rgba(138, 43, 226, 0.4);
    transform: translateY(-5px);
}

.talk-card > * {
    position: relative;
    z-index: 1;
}

.talk-icon {
    width: 60px;
    height: 60px;
    border-radius: 12px;
    background: rgba(0, 153, 204, 0.1);
    display: flex;
    justify-content: center;
    align-items: center;
    font-size: 1.5rem;
    color: var(--accent-mustard);
    margin-bottom: 24px;
}

.talk-card h3 {
    font-size: 1.5rem;
    margin-bottom: 15px;
}

.talk-card p {
    color: var(--text-secondary);
    font-size: 1rem;
}

/* CTA Section */
.cta-section {
    padding: 100px 0 120px;
    position: relative;
}

.cta-glow {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 600px;
    height: 300px;
    background: radial-gradient(circle, rgba(0,153,204,0.06) 0%, rgba(0,92,138,0.03) 40%, transparent 70%);
    z-index: 0;
    filter: blur(30px);
}

.cta-container {
    text-align: center;
    padding: 60px 40px;
    position: relative;
    z-index: 1;
}

.cta-title {
    font-size: 2.5rem;
    margin-bottom: 20px;
}

.lead-form {
    max-width: 600px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.input-group {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
}

.hero .badge {
    background: rgba(168, 85, 247, 0.1);
    border-color: rgba(168, 85, 247, 0.3);
    color: #c084fc;
}

input, textarea {
    width: 100%;
    padding: 16px 20px;
    background: rgba(0,0,0,0.3);
    border: 1px solid var(--glass-border);
    border-radius: 8px;
    color: var(--text-primary);
    font-family: var(--font-body);
    font-size: 1rem;
    outline: none;
    transition: all 0.3s;
}

textarea {
    resize: vertical;
    min-height: 100px;
}

input:focus,
textarea:focus {
    border-color: var(--accent-mustard);
    box-shadow: 0 0 10px rgba(0, 153, 204, 0.2);
}

.submit-btn {
    width: 100%;
    justify-content: center;
    padding: 16px;
    font-size: 1.1rem;
}

.field-error {
    display: block;
    font-size: 0.8rem;
    color: #ff4d4d;
    text-align: left;
    margin-top: -15px;
    margin-bottom: 10px;
}

/* Footer */
footer {
    border-top: 1px solid var(--glass-border);
    padding: 40px 0;
    background: var(--bg-color);
}

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

.footer-logo {
    font-family: var(--font-heading);
    font-weight: 800;
    font-size: 1.2rem;
    white-space: nowrap;
}

.footer-divider {
    color: var(--accent-mustard);
    margin: 0 5px;
}

footer p {
    color: var(--text-secondary);
    font-size: 0.9rem;
}

/* Animations */
.fade-in-up {
    opacity: 0;
    transform: translateY(30px);
    animation: fadeInUp 0.8s forwards;
}

@keyframes fadeInUp {
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.reveal {
    opacity: 0;
    transform: translateY(40px);
    transition: all 0.8s ease-out;
}

.reveal.active {
    opacity: 1;
    transform: translateY(0);
}

/* Responsive Styles & Fixes */
@media (max-width: 992px) {
    .hero-container, .about-grid {
        grid-template-columns: 1fr;
        text-align: center;
        gap: 30px;
    }
    
    .hero-title {
        font-size: 2.8rem; /* Reduzido de 3rem */
        padding: 0 10px;
    }
    
    .hero-img {
        width: 260px;
        height: 340px;
    }
    
    .hero-actions {
        justify-content: center;
    }
    
    .about-stats {
        grid-template-columns: repeat(3, 1fr);
    }

    .section-title {
        font-size: 2.2rem;
    }
}

@media (max-width: 768px) {
    /* Reset Global de Margens e Padding Mobile */
    html, body {
        overflow-x: hidden;
        width: 100%;
        position: relative;
    }

    .container {
        padding-left: 15px !important;
        padding-right: 15px !important;
        width: 100%;
        max-width: 100%;
    }

    /* Navbar Ajuste Minimalista */
    .glass-nav {
        padding: 15px;
        height: auto;
    }

    .logo-main {
        font-size: 0.95rem;
        white-space: nowrap;
    }

    .header-logo-row {
        gap: 6px;
    }

    .logo-divider {
        font-size: 0.9rem;
    }

    .logo-sub {
        font-size: 0.75rem;
        font-weight: 500;
        text-transform: none; /* Em mobile, tirar uppercase para caber melhor */
        white-space: nowrap;
        color: #ddd;
    }

    .nav-links {
        display: none;
    }

    /* Hero Section - Ajuste de Margens e Alinhamento */
    .hero {
        padding-top: 75px; 
        padding-bottom: 40px;
        text-align: center;
    }

    .hero-container {
        display: flex;
        flex-direction: column;
        align-items: center;
        gap: 25px;
    }

    .hero-title {
        font-size: 2rem !important;
        margin-bottom: 20px;
        line-height: 1.25;
        width: 100%;
        padding: 0 10px;
    }

    .hero-subtitle {
        font-size: 0.95rem;
        margin-bottom: 30px;
        padding: 0 5px;
        line-height: 1.5;
    }

    .hero-actions {
        display: flex;
        flex-direction: column;
        width: 100%;
        gap: 12px;
    }

    .btn {
        width: 100%;
        padding: 16px;
        justify-content: center;
        font-size: 1rem;
    }

    .hero-image-wrapper {
        margin-top: 20px;
        height: auto;
        display: flex;
        justify-content: center;
    }

    .image-border-glow {
        width: 240px;
        height: 300px;
    }

    .hero-img {
        width: 220px;
        height: 280px;
        margin: 0 auto;
    }

    .floating-card {
        font-size: 0.7rem;
        padding: 8px 12px;
        white-space: nowrap;
    }

    .c1 { left: -10px; top: 15%; }
    .c2 { right: -10px; bottom: 15%; }

    /* Brands - Grid de 2 Colunas */
    .brands-grid {
        display: grid;
        grid-template-columns: repeat(2, 1fr);
        gap: 20px;
        padding: 20px 0;
    }

    .brand-item img {
        height: 40px;
        max-width: 120px;
    }

    /* About & Stats */
    .about-section {
        padding: 40px 0;
    }

    .about-stats {
        grid-template-columns: 1fr;
        gap: 15px;
        margin-bottom: 30px;
    }

    .stat-card {
        padding: 15px;
    }

    .stat-number {
        font-size: 2.22rem;
    }

    .section-title {
        font-size: 1.6rem !important;
        line-height: 1.3;
    }

    /* Talks */
    .talks-section {
        padding: 40px 0;
    }

    .talks-grid {
        grid-template-columns: 1fr;
        gap: 15px;
    }

    .talk-card {
        padding: 20px;
    }

    .talk-card h3 {
        font-size: 1.25rem;
    }

    .media-kit-box {
        flex-direction: column;
        text-align: center;
        padding: 25px 15px;
        gap: 20px;
        margin-top: 25px; /* Mais perto da seção anterior */
    }

    .cta-section {
        padding: 30px 0 50px;
    }

    /* Footer Logo - Garantir que o nome não quebre */
    .footer-content {
        flex-direction: column;
        gap: 20px;
        text-align: center;
    }

    .footer-logo {
        font-size: 1rem;
        white-space: nowrap; /* Impede Moacir em cima e Sobral embaixo */
        display: block;
        width: 100%;
    }

    footer p {
        font-size: 0.8rem;
        padding: 0 10px;
    }
}

/* Spline Viewer Configuration */
spline-viewer {
    display: block;
    width: 100%;
    height: 100%;
    /* filter: hue-rotate(180deg) saturate(1.5) brightness(1.2); */
}

/* Hologram specific styles */
.hologram-img {
    mix-blend-mode: screen;
    border: none !important;
    box-shadow: none !important;
    pointer-events: none;
    object-fit: contain !important;
    transform: scale(1.7);
    transform-origin: center;
    margin-top: 50px;
}

@media (max-width: 768px) {
    .hologram-img {
        transform: scale(1.4);
        margin-top: 20px;
    }
}
