
@import url('https://fonts.googleapis.com/css2?family=Raleway:wght@400;500;700&display=swap');
/* RESET */
* { margin: 0; padding: 0; box-sizing: border-box; font-family: 'Raleway', sans-serif; -webkit-user-select: none; user-select: none; -webkit-tap-highlight-color: transparent;}


body, html{
    width: 100%;
    height: 100vh; 
    height: 100dvh; 
    
    overflow: hidden; 
    background: #000; 
    color: #fff;
    
   
    overscroll-behavior: none;
}

/* --- NAVEGAÇÃO --- */
.fixed-nav {
    position: fixed; top: 0; left: 0; width: 100%; padding: 25px 40px;
    display: flex; justify-content: space-between; align-items: center;
    z-index: 1000; mix-blend-mode: difference;
}
.logo, .btn-contato { color: #fff; text-decoration: none; font-weight: 700; text-transform: uppercase; cursor: pointer;}
.nav-right { display: flex; align-items: center; gap: 20px; }
.case-indicator { font-weight: 900; opacity: 0; transition: opacity 0.5s; font-variant-numeric: tabular-nums;}

/* --- CONTAINERS --- */

#master-container {
    width: 100vw;
    height: 100%; 
    transition: transform 1s cubic-bezier(0.645, 0.045, 0.355, 1);
}

/* BLOCOS GERAIS */
.screen-block {
    width: 100vw;
    height: 100vh; 
    height: 100dvh;
    position: relative; overflow: hidden;
    display: flex; justify-content: center; align-items: center;
}
.intro-bg { background: #111; }
.contact-bg { background: #000; }



/* Intro e Contato Styles */
.content-intro { text-align: center; z-index: 2; padding: 20px; }
.content-intro h1 { font-size: 3.5rem; margin-bottom: 10px; font-weight: 900; }
.big-link { font-size: 2rem; color: #ff00cc; text-decoration: none; display: block; margin: 20px 0; font-weight: 900;}
.socials a { color: #fff; margin: 0 10px; text-decoration: none; text-transform: uppercase; font-size: 0.8rem; letter-spacing: 1px;}

/* --- CASES (Animação) --- */
.horizontal-track {
    display: flex; width: 100%; height: 100%;
    transition: transform 0.8s cubic-bezier(0.645, 0.045, 0.355, 1);
}

.case-slide {
    /* Mude de width para min-width para o flexbox não esmagar o slide */
    min-width: 100vw; 
    width: 100vw;
    height: 100vh;
    height: 100dvh;
    
    /* ESSENCIAL: Impede que o slide encolha se o conteúdo for grande */
    flex-shrink: 0; 
    
    position: relative;
    display: flex;
    justify-content: center;
    align-items: center;
}

/* Backgrounds */
.bg-video { position: absolute; top:0; left:0; width:100%; height:100%; object-fit: fill; z-index: -2; }
.overlay { position: absolute; top:0; left:0; width:100%; height:100%; z-index: -1; }
.blue-tint { background:rgba(0, 0, 0, 0.968); } /* */
.purple-tint { background: rgba(75, 75, 75, 0.85);  }/* */
.green-tint { background: none; } /* rgba(0, 30, 15, 0.85) */

/* --- GRID DE 3 COLUNAS DO CASE --- */
.case-grid {
    display: grid;
    grid-template-columns: 1fr 1.5fr 1fr;
    width: 90%; max-width: 1400px;
    align-items: center; text-align: center;
    z-index: 10;
}

/* Coluna Esquerda */
.col-left { text-align: left; }
.col-left h2 { font-size: 3rem; font-weight: 900; line-height: 1; margin-bottom: 5px; }
.segmento { font-size: 0.8rem; letter-spacing: 3px; text-transform: uppercase; border-top: 1px solid #fff; padding-top: 5px; display: inline-block;}

/* Coluna Direita */
.col-right { text-align: right; font-size: 1.1rem; line-height: 1.6; }

/* Coluna Central (Imagem Clicável) */
.col-center {
    display: flex; flex-direction: column; align-items: center; cursor: pointer;
    transition: transform 0.3s;
}
.col-center:hover { transform: scale(1.05); }

.case-visual {
    width: auto; max-width: 100%; max-height: 50vh;
    filter: drop-shadow(0 15px 30px rgba(0,0,0,0.5));
    border-radius: 16px;
}
.click-hint {
    margin-top: 15px; font-size: 0.8rem; text-transform: uppercase; letter-spacing: 2px;
    color: #ff00d9; font-weight: bold; opacity: 0; transform: translateY(10px); transition: all 0.3s;
}
.col-center:hover .click-hint { opacity: 1; transform: translateY(0); }

/* Animação Flutuante da Imagem */
@keyframes float {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-10px); }
}
.floating { animation: float 4s ease-in-out infinite; }

/* --- POP-UP (MODAL) --- */
.modal-overlay {
    position: fixed; top: 0; left: 0; width: 100%; height: 100%;
    background: rgba(0,0,0,0.95); backdrop-filter: blur(5px);
    display: flex; justify-content: center; align-items: center;
    z-index: 2000; opacity: 0; visibility: hidden; transition: 0.3s;
    border-radius: 8px;
}
.modal-overlay.active { opacity: 1; visibility: visible; }

.modal-content {
    background: none; padding: 40px; width: 90%; max-width: 600px;
    border: 1px solid #333; position: relative;
    max-height: 80vh; display: flex; flex-direction: column;
    border-radius: 8px;
}

#close-modal {
    position: absolute; top: 15px; right: 20px; background: none; border: none;
    color: #fff; font-size: 2rem; cursor: pointer; transition: 0.2s;
}
#close-modal:hover { color: #e600ff; }

#modal-title { color: #ff00fb; margin-bottom: 20px; font-size: 2rem; }
.modal-body-text { overflow-y: auto; padding-right: 10px; } /* Permite rolar o texto longo */
#modal-text { font-size: 1.1rem; line-height: 1.7; color: #ccc; white-space: pre-line; }


/* Botão Modal */
.btn-modal-action {
    display: none; /* Escondido por padrão, o JS vai mostrar se tiver link */
    margin-top: 30px;
    padding: 8px 16px;
    background-color: #e74dff3e; /* Amarelo da marca */
    color: #000;
    text-decoration: none;
    font-weight: 800;
    text-transform: uppercase;
    border-radius: 4px;
    letter-spacing: 1px;
    transition: all 0.3s ease;
    text-align: center;
    width: fit-content; /* Ajusta ao tamanho do texto */
}

.btn-modal-action:hover {
    background-color: #fff; /* Fica branco no hover */
    transform: translateY(-3px);
    box-shadow: 0 10px 20px rgba(0,0,0,0.4);
}

/* --- SCROLL CUSTOMIZADO (ESTILO DO PRINT) --- */

.modal-body-text {
    /* Para Firefox */
    scrollbar-width: thin; /* Define a largura como fina */
    scrollbar-color: #fff rgba(255, 255, 255, 0.1); /* Cor da barra (branca) e trilha (cinza suave) */
    
    /* Garante espaçamento para o texto não colar na barra */
    padding-right: 15px; 
}

.modal-body-text::-webkit-scrollbar {
    width: 4px; /* Largura bem fina (como a linha do print) */
}

.modal-body-text::-webkit-scrollbar-track {
    background: rgba(255, 255, 255, 0.05); /* Fundo da trilha quase invisível */
    border-radius: 4px;
    margin: 10px 0; /* Um pequeno respiro nas pontas */
}

.modal-body-text::-webkit-scrollbar-thumb {
    background-color: #fff; /* A barra branca sólida */
    border-radius: 4px; /* Bordas arredondadas */
    box-shadow: 0 0 5px rgba(255, 255, 255, 0.5); /* Um leve brilho para destacar (opcional) */
}

.modal-body-text::-webkit-scrollbar-thumb:hover {
    background-color: #ff4df6; /* Fica amarelo (cor da marca) se o usuário for arrastar */
}

.scroll-instruction{
    font-size: 0.86em;
    opacity: 0.4;
}


/* RESPONSIVIDADE MOBILE */
@media (max-width: 768px) {
    .content-intro h1 { font-size: 2.5rem; }
    .case-grid { grid-template-columns: 1fr; gap: 20px; }
    .col-left, .col-right { text-align: center; }
    .col-left h2 { font-size: 2.5rem; }
    .col-right { font-size: 0.9rem; opacity: 0.8; display: none; /* Simplifica no mobile */ }
    .case-visual { height: 25vh; max-height: 25vh; margin-top: 8px;}
}

/* --- CUSTOM CURSOR --- */

@media (pointer: fine) {
    body {
        cursor: none; 
    }
    a, button, .trigger-modal, .case-visual {
        cursor: none; 
    }
}

.cursor-dot,
.cursor-outline {
    position: fixed;
    top: 0;
    left: 0;
    transform: translate(-50%, -50%); /* Centraliza no ponteiro */
    border-radius: 50%;
    z-index: 9999;
    pointer-events: none; /* Permite clicar através deles */
}

/* O Ponto Central */
.cursor-dot {
    width: 8px;
    height: 8px;
    background-color: #fff; 
     mix-blend-mode: difference; 
}

/* O Círculo Externo */
.cursor-outline {
    width: 40px;
    height: 40px;
    border: 1px solid rgba(255, 255, 255, 0.5); 
    background-color: transparent;
    transition: width 0.2s, height 0.2s, background-color 0.2s, border-color 0.2s;
    mix-blend-mode: difference; 
}

/* ESTADO DE HOVER (Quando passa em cima de algo) */
body.hovering .cursor-outline {
    width: 70px; 
    height: 70px;
    border-color: rgba(175, 77, 255, 0.8); 
    background-color: rgba(255, 219, 77, 0.05); 
}

body.hovering .cursor-dot {
    background-color: #ed4dff; 
    transform: translate(-50%, -50%) scale(1.5); 
}

/* ESTADO DE CLIQUE (Quando segura o botão) */
body.clicking .cursor-outline {
    width: 30px;
    height: 30px;
    background-color: rgba(255, 255, 255, 0.3);
}

/* Esconder cursor Mobile (Touch) */
@media (max-width: 768px) {
    .cursor-dot, .cursor-outline {
        display: none;
    }
    body {
        cursor: auto;
    }

    .fixed-nav {
        padding: 20px 20px; 
        width: 100%;
        box-sizing: border-box; 
    }

    .logo {
        font-size: 0.9rem; 
    }

    .btn-contato {
        font-size: 0.8rem;
    }
    
   
    .nav-right {
        gap: 8px; 
    }
    
    .case-indicator {
        font-size: 0.8rem;
        margin-right: 5px;
    }
}




/* --- FUNDO E CANVAS --- */
#section-intro {
    position: relative;
    background-color: #050505; 
    overflow: hidden;
    
}

#bubble-canvas {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1; 
    pointer-events: none; 
}

/* --- O CARD DE VIDRO (LÂMINA) --- */
.glass-card {
    position: relative;
    z-index: 10; 
    
    background: rgba(255, 255, 255, 0.03); /* Fundo quase transparente */
    backdrop-filter: blur(16px); 
    -webkit-backdrop-filter: blur(16px); /* Safari */
    
    /* Bordas da Lâmina */
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-top: 1px solid rgba(255, 255, 255, 0.2); /* Topo mais claro simula luz */
    border-left: 1px solid rgba(255, 255, 255, 0.2);
    
    border-radius: 24px; /* Cantos arredondados modernos */
    padding: 20px;
   
    width: 90%;
     max-width: 600px;
    /* Sombra para destacar do fundo escuro */
    box-shadow: 0 25px 50px rgba(0, 0, 0, 0.5);
    
    text-align: center;
    color: #fff;
}

/* Tipografia dentro do Card */
.glass-card h1 {
    font-size: 2.2em;
    font-weight: 800;
    margin-bottom: 20px;
    background: linear-gradient(to right, #fff, #aaa); /* Gradiente no texto */
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    text-transform: uppercase;
}

.glass-card .subtitle {
    font-size: 1rem;
    line-height: 1.6;
    color: rgba(255, 255, 255, 0.9);
    margin-bottom: 20px;
    font-weight: 500; 
}

.glass-card .description {
    font-size: 0.9rem;
    line-height: 1.6;
    color: rgba(255, 255, 255, 0.6);
    margin-bottom: 40px;
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
}

/* --- TAGS  --- */
.tech-tags {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 10px;
    margin-bottom: 40px;
}

.tag {
    font-size: 0.7rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    padding: 8px 16px;
    border-radius: 50px;
    
    /* Vidro dentro do Vidro */
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    color: rgba(255, 255, 255, 0.8);
    transition: all 0.3s ease;
}

.tag:hover {
    background: rgba(255, 255, 255, 0.2);
    border-color: #f94dff; /* Cor de destaque ao passar o mouse */
    color: #fff;
    transform: translateY(-2px);
}

/* Responsividade */
@media (max-width: 768px) {
    .glass-card { padding: 16px 8px; margin-top: 20px;  }
    .glass-card h1 { font-size: 2rem; }
    .subtitle { font-size: 1rem; }
}