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

html, body {
  scroll-behavior: smooth;
  width: 100%;
  max-width: 100%;
  overflow-x: hidden;
  margin: 0;
  padding: 0;
}

body {
    font-family: var(--font-main);
    background-color: var(--dark-blue-bg);
    color: var(--text-white);
    overflow-x: hidden; /* Evita rolagem horizontal indesejada */
}

/* --- Reset Básico e Variáveis --- */
:root {
    --primary-orange: #FF6B2B;
    --secondary-orange: #FF8E53;
    --dark-blue-bg: #020A1B;
    --text-white: #ffffff;
    --text-gray: #cccccc;
    --glass-bg: rgba(255, 255, 255, 0.03);
    --glass-border: rgba(255, 107, 43, 0.3);
    
    --font-main: 'Outfit', sans-serif;
    --font-tech: 'Rajdhani', sans-serif;
}

/* Container geral para centralizar conteúdo */
.container {
    width: 90%;
    max-width: 1200px;
    margin: 0 auto;
    text-align: center;
}

/* --- Background Global --- */
.global-background {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    /* Substitua pelo caminho da sua imagem de background */
    background: url('assets/bg-tech.jpg') no-repeat center center/cover;
    z-index: -1; /* Fica atrás de tudo */
    opacity: 0.4; /* Deixa o fundo mais sutil para o texto brilhar */
    filter: contrast(120%) brightness(80%); /* Ajuste fino na imagem */
}


/* --- Header --- */
.main-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px 5%;
    height: 80px;
}

.logo {
    font-family: var(--font-tech);
    font-size: 2rem;
    font-weight: 700;
    color: var(--primary-orange);
    display: flex;
    flex-direction: column;
    line-height: 1;
}

.studio-text {
    font-size: 0.9rem;
    color: var(--text-gray);
    letter-spacing: 2px;
    margin-left: 5px;
}

/* --- Botões e Gradientes --- */
.gradient-btn {
    text-decoration: none;
    color: white;
    font-weight: 700;
    background: linear-gradient(90deg, var(--primary-orange), var(--secondary-orange));
    border-radius: 50px;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.btn-nav {
    padding: 12px 30px;
    font-size: 1rem;
}

.btn-large {
    display: inline-flex;
    align-items: center;
    padding: 18px 50px;
    font-size: 1.5rem;
    margin-top: 50px;
    box-shadow: 0 10px 30px -10px rgba(255, 107, 43, 0.5); /* Sombra laranja brilhante */
}

.gradient-btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 15px 40px -10px rgba(255, 107, 43, 0.7);
}

.arrow-icon {
    margin-left: 15px;
    font-family: var(--font-tech);
}

/* --- Background Global (VÍDEO) --- */
.global-video-bg {
    position: fixed;
    top: 50%;
    left: 50%;
    min-width: 100%;
    min-height: 100%;
    width: auto;
    height: auto;
    z-index: -10; /* Garante que fique atrás de tudo */
    transform: translateX(-50%) translateY(-50%); /* Centraliza perfeitamente */
    
    /* Controle da Opacidade e Cor */
    opacity: 0.6; /* Ajuste este valor entre 0.1 e 0.5 conforme sua preferência */
    filter: contrast(110%) brightness(70%) saturate(120%); /* Ajuste fino da imagem do vídeo */
    object-fit: cover; /* Garante que cubra a tela sem distorcer */
}

/* Uma camada extra escura sobre o vídeo para garantir leitura do texto */
body::after {
    content: '';
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(2, 10, 27, 0.7); /* Um tom de azul escuro transparente */
    z-index: -5; /* Fica entre o vídeo e o conteúdo */
    pointer-events: none; /* Deixa clicar através dele */
}


/* --- Hero Section --- */
.hero-section {
    padding: 100px 0;
    min-height: calc(100vh - 80px); /* Altura total menos o header */
    display: flex;
    align-items: center;
}

h1 {
    font-family: var(--font-tech);
    font-size: 4rem;
    text-transform: uppercase;
    line-height: 1.1;
    margin-bottom: 20px;
}

.orange-text {
    color: var(--primary-orange);
    /* Efeito de texto gradiente */
    background: linear-gradient(to right, var(--primary-orange), var(--secondary-orange));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

/* Efeito de destaque/sublinhado estilo "tech" */
.highlight-glitch {
    position: relative;
    color: white;
}

.highlight-glitch::after {
    content: '';
    position: absolute;
    bottom: 5px;
    left: 0;
    width: 100%;
    height: 4px;
    background: var(--primary-orange);
    box-shadow: 0 0 15px var(--primary-orange);
    z-index: -1;
}

.hero-subtitle {
    font-size: 1.2rem;
    color: var(--text-gray);
    max-width: 800px;
    margin: 0 auto 60px auto;
    line-height: 1.6;
}


/* --- Container Geral --- */
.glass-cards-container {
    display: flex;
    justify-content: center;
    align-items: center; /* Alinha verticalmente pelo centro */
    margin-top: 80px;
    position: relative;
    padding: 20px;
}

/* --- Estrutura Base do Card --- */
.glass-card {
    position: relative;
    width: 300px;
    height: 320px; /* Um pouco mais alto que largo, estilo retrato */
    display: flex;
    justify-content: center;
    align-items: center;
    background: rgba(0, 0, 0, 0); /* Fundo transparente base */
    border-radius: 20px;
    overflow: hidden; /* ESSENCIAL: Corta tudo que sair do quadrado */
    transition: all 0.5s cubic-bezier(0.23, 1, 0.32, 1);
}

/* --- 1. A CAMADA QUE GIRA (A Luz/Cobrinha) --- */
/* Fica rodando no fundo. Como tem overflow hidden no pai, você não vê o excesso. */
.glass-card::before {
    content: '';
    position: absolute;
    width: 150%; /* Maior que o card para cobrir os cantos ao girar */
    height: 150%;
    
    /* O Degradê: Transparente -> Laranja Forte */
    background: conic-gradient(
        transparent 0deg, 
        transparent 270deg, 
        #ff6b2b 360deg
    );
    
    animation: rotate-border 4s linear infinite;
    z-index: 1; /* Camada mais baixa */
}

/* --- 2. O VIDRO INTERNO (A Máscara) --- */
/* Esse elemento cobre o centro, deixando sobrar só 3px de borda */
.glass-card::after {
    content: '';
    position: absolute;
    
    /* Inset define a grossura da borda. 3px de distância da borda do pai */
    inset: 3px; 
    
    border-radius: 18px; /* Ligeiramente menor que o pai */
    background: rgba(6, 24, 71, 0.6); /* Fundo escuro semi-transparente para leitura */
    
    /* O efeito de vidro */
    backdrop-filter: blur(20px); 
    -webkit-backdrop-filter: blur(20px);
    
    z-index: 2; /* Fica acima da luz que gira */
}

/* --- 3. O CONTEÚDO (Texto/Ícone) --- */
.card-content {
    position: relative;
    z-index: 10; /* No topo de tudo */
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    color: white;
}

/* Ícones e Textos */
.card-icon {
    width: 70px;
    margin-bottom: 20px;
    /* Adiciona um brilho laranja no ícone para combinar */
    filter: drop-shadow(0 0 8px rgba(255, 107, 43, 0.6));
}

.glass-card h3 {
    font-size: 1.4rem;
    font-weight: 700;
    max-width: 80%;
}


/* --- POSICIONAMENTO E PROFUNDIDADE (Estilo da Foto) --- */

/* Card Central */
.card-center {
    z-index: 5; /* Fica na frente de todos */
    transform: scale(1.15); /* Maior que os outros */
    box-shadow: 0 20px 50px rgba(0,0,0,0.5); /* Sombra forte */
}

/* Cards Laterais */
.card-side {
    z-index: 3; /* Atrás do central */
    transform: scale(0.95) translateY(-15px); /* Menores e um pouco mais para cima */
    opacity: 0.8; /* Levemente mais apagados para dar foco no meio */
}

/* Puxa o card da esquerda para baixo do central */
.card-side.left {
    margin-right: -30px; /* Sobreposição negativa */
}

/* Puxa o card da direita para baixo do central */
.card-side.right {
    margin-left: -30px; /* Sobreposição negativa */
}


/* --- Animação --- */
@keyframes rotate-border {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

/* --- Hover Effects --- */
/* Quando passar o mouse no card lateral, ele vem para frente */
.glass-card:hover {
    z-index: 10;
    transform: scale(1.15) translateY(0);
    opacity: 1;
    box-shadow: 0 0 30px rgba(255, 107, 43, 0.4); /* Glow externo */
}

.glass-card:hover::before {
    animation-duration: 2.0s; /* Acelera a cobrinha */
}


/* --- BOTÃO HERO (CORREÇÃO & EFEITO PIKA) --- */

/* 1. CORREÇÃO DO CLIQUE (Z-INDEX) */
.cta-container {
    margin-top: 60px;
    position: relative; /* Necessário para o z-index funcionar */
    z-index: 100; /* Força bruta: coloca o botão acima de qualquer card ou vídeo */
    display: flex;
    justify-content: center;
}

/* 2. O BOTÃO COM EFEITO DE PULSO */
.btn-large {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 18px 50px;
    font-size: 1.5rem;
    font-weight: 700;
    color: white;
    text-decoration: none;
    border-radius: 50px;
    
    /* Gradiente Laranja da Marca */
    background: linear-gradient(90deg, var(--primary-orange), var(--secondary-orange));
    
    /* Garante que o cursor apareça */
    cursor: pointer; 
    
    /* Transições suaves */
    transition: all 0.3s cubic-bezier(0.25, 0.8, 0.25, 1);
    
    /* A MÁGICA: Animação de pulso infinito */
    box-shadow: 0 0 0 0 rgba(255, 107, 43, 0.7);
    animation: pulse-orange 2s infinite;
}

/* 3. HOVER (QUANDO PASSA O MOUSE) */
.btn-large:hover {
    /* Levanta o botão */
    transform: translateY(-5px) scale(1.05);
    
    /* Aumenta o brilho */
    filter: brightness(1.2);
    
    /* Sombra mais forte no chão */
    box-shadow: 0 15px 35px rgba(255, 107, 43, 0.6);
    
    /* Pausa o pulso para focar na interação */
    animation: none;
}

/* Ícone da seta */
.arrow-icon {
    margin-left: 15px;
    transition: transform 0.3s ease;
}

.btn-large:hover .arrow-icon {
    transform: translateX(5px); /* Seta anda para a direita */
}

/* 4. KEYFRAMES DO PULSO (A ANIMAÇÃO) */
@keyframes pulse-orange {
    0% {
        transform: scale(1);
        box-shadow: 0 0 0 0 rgba(255, 107, 43, 0.7);
    }
    
    70% {
        transform: scale(1.02); /* Cresce um pouquinho */
        box-shadow: 0 0 0 20px rgba(255, 107, 43, 0); /* A sombra expande e fica transparente */
    }
}


/* --- TRANSIÇÃO SUAVE ENTRE BLOCOS --- */
.section-separator {
    height: 150px;
    width: 100%;
    /* Um degradê que vai do transparente (mostrando o vídeo do hero) para o azul escuro sólido */
    background: linear-gradient(to bottom, transparent, var(--dark-blue-bg));
    position: relative;
    z-index: 5;
    margin-top: -150px; /* Puxa para cima para sobrepor o vídeo do hero */
}

/* --- SEÇÃO PORTFÓLIO --- */
.portfolio-section {
    background-color: var(--dark-blue-bg);
    padding: 50px 0 100px 0;
    position: relative;
    z-index: 10;
}

.section-header {
    text-align: center;
    margin-bottom: 60px;
}

.tech-title {
    font-family: var(--font-tech);
    font-size: 3.5rem;
    text-transform: uppercase;
    color: white;
    letter-spacing: 2px;
}

.section-subtitle {
    font-size: 1.1rem;
    color: var(--text-gray);
    margin-top: 10px;
}

/* --- GRID DOS PROJETOS --- */
.projects-grid {
    display: grid;
    /* Grid responsivo: 2 colunas em telas grandes, 1 em pequenas */
    grid-template-columns: repeat(2, 1fr); 
    gap: 30px;
}

/* O primeiro card ocupa as duas colunas (Full width) */
.card-large {
    grid-column: span 2;
    height: 450px !important; /* Altura maior para destaque */
}

/* --- ESTILO DOS CARDS DE PROJETO --- */
.project-card {
    position: relative;
    height: 350px;
    border-radius: 15px;
    overflow: hidden;
    background: #000;
    border: 1px solid rgba(255, 255, 255, 0.1);
    transition: transform 0.4s ease, box-shadow 0.4s ease;
    cursor: default;
}

/* Hover no Card: Efeito de zoom e brilho */
.project-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.6);
    border-color: var(--primary-orange);
}

.video-container {
    width: 100%;
    height: 100%;
    position: relative;
}

.video-container video {
    width: 100%;
    height: 100%;
    object-fit: cover; /* Garante que o vídeo preencha tudo sem distorcer */
    transition: transform 0.6s ease;
    opacity: 0.6; /* Vídeo um pouco escuro para destacar o texto */
}

/* Quando passa o mouse, o vídeo clareia e dá um zoom sutil */
.project-card:hover video {
    transform: scale(1.05);
    opacity: 0.8;
}

/* Degradê preto na base para o texto ficar legível */
.overlay-gradient {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 70%;
    background: linear-gradient(to top, rgba(0,0,0,0.9), transparent);
    z-index: 1;
}

/* --- INFORMAÇÕES DO PROJETO --- */
.project-info {
    position: absolute;
    bottom: 30px;
    left: 30px;
    z-index: 2;
    transform: translateY(10px); /* Começa um pouco descido */
    transition: transform 0.4s ease;
}

.project-card:hover .project-info {
    transform: translateY(0); /* Sobe ao passar o mouse */
}

.project-tag {
    font-family: var(--font-tech);
    color: var(--primary-orange);
    font-weight: 700;
    text-transform: uppercase;
    font-size: 0.9rem;
    letter-spacing: 1px;
    margin-bottom: 5px;
    display: block;
}

.project-info h3 {
    font-family: var(--font-main);
    font-size: 1.5rem;
    font-weight: 600;
    color: white;
    max-width: 90%;
}


/* --- ANIMAÇÃO DE ENTRADA (SCROLL REVEAL) --- */
/* Estado inicial (invisível e deslocado) */
.scroll-reveal {
    opacity: 0;
    transform: translateY(50px);
    transition: all 0.8s ease-out;
}

/* Estado final (visível e na posição original) - Será ativado pelo JS */
.scroll-reveal.visible {
    opacity: 1;
    transform: translateY(0);
}

/* Atrasos para efeito cascata */
.delay-1 { transition-delay: 0.2s; }
.delay-2 { transition-delay: 0.4s; }




/* --- SEÇÃO SOBRE (OBSESSÃO) --- */
.about-section {
    position: relative;
    padding: 120px 0;
    background-color: #010613; /* Um tom ainda mais escuro para contraste */
    overflow: hidden;
}

/* Padrão de Grid Tecnológico no fundo (sutil) */
.bg-grid-pattern {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: 
        linear-gradient(rgba(255, 107, 43, 0.03) 1px, transparent 1px),
        linear-gradient(90deg, rgba(255, 107, 43, 0.03) 1px, transparent 1px);
    background-size: 40px 40px;
    z-index: 0;
    mask-image: linear-gradient(to bottom, transparent, black 20%, black 80%, transparent);
    -webkit-mask-image: linear-gradient(to bottom, transparent, black 20%, black 80%, transparent);
}

.about-container {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 60px;
    position: relative;
    z-index: 2;
}

/* --- ESTILO DO TEXTO --- */
.about-text {
    flex: 1; /* Ocupa metade */
    max-width: 600px;
}

.left-align {
    text-align: left;
    line-height: 1;
    margin-bottom: 40px;
}

.text-content p {
    font-size: 1.15rem;
    color: #cccccc;
    margin-bottom: 25px;
    line-height: 1.7;
    border-left: 2px solid rgba(255, 107, 43, 0.3); /* Linha sutil na esquerda dos parágrafos */
    padding-left: 20px;
}

.text-content strong {
    color: white;
    font-weight: 700;
}

.orange-highlight {
    color: var(--primary-orange);
    font-weight: 700;
}

/* --- TECH FRAME (VÍDEO) --- */
.about-video-wrapper {
    flex: 1;
    display: flex;
    justify-content: center;
    position: relative;
}

.tech-frame {
    position: relative;
    width: 400px; /* Tamanho do quadro do vídeo */
    height: 500px; /* Um pouco vertical por causa do formato do vídeo */
    border-radius: 10px;
    padding: 10px; /* Espaço entre o vídeo e a borda neon */
    
    /* Efeito de brilho roxo (do vídeo) misturado com laranja (do site) */
    box-shadow: 
        0 0 0 1px rgba(255, 107, 43, 0.2), /* Borda fina laranja */
        0 0 30px rgba(88, 28, 135, 0.4); /* Glow roxo para combinar com seu setup */
        
    background: rgba(255, 255, 255, 0.02);
    backdrop-filter: blur(5px);
    transition: transform 0.5s ease;
}

.about-video-wrapper:hover .tech-frame {
    transform: perspective(1000px) rotateY(-5deg) rotateX(2deg);
}

.profile-video {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 4px;
    filter: contrast(110%) saturate(110%); /* Realça as cores do vídeo */
    box-shadow: inset 0 0 20px rgba(0,0,0,0.8); /* Sombra interna nas bordas do vídeo */
}

/* Cantoneiras Estilo HUD (Cyberpunk) */
.corner {
    position: absolute;
    width: 30px;
    height: 30px;
    border: 2px solid var(--primary-orange);
    transition: all 0.3s ease;
}

.top-left { top: -2px; left: -2px; border-bottom: none; border-right: none; }
.top-right { top: -2px; right: -2px; border-bottom: none; border-left: none; }
.bottom-left { bottom: -2px; left: -2px; border-top: none; border-right: none; }
.bottom-right { bottom: -2px; right: -2px; border-top: none; border-left: none; }

/* Ao passar o mouse, as cantoneiras se afastam um pouco (efeito de "armar") */
.about-video-wrapper:hover .corner {
    width: 40px;
    height: 40px;
    border-color: #fff; /* Ficam brancas */
}


/* Efeito Scanline (Linha descendo) */
.scanline {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(to bottom, transparent, rgba(255, 107, 43, 0.1), transparent);
    background-size: 100% 3px;
    animation: scan-down 6s linear infinite;
    pointer-events: none;
    z-index: 5;
    opacity: 0.5;
}

@keyframes scan-down {
    0% { transform: translateY(-100%); }
    100% { transform: translateY(100%); }
}


/* Texto decorativo flutuante atrás */
.floating-code-bg {
    position: absolute;
    bottom: -40px;
    right: -40px;
    font-family: var(--font-tech);
    font-size: 5rem;
    font-weight: 700;
    color: rgba(255, 255, 255, 0.03);
    z-index: -1;
    user-select: none;
    animation: float-text 4s ease-in-out infinite;
}

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



/* --- SEÇÃO STACK (TRÍADE) --- */
.stack-section {
    padding: 100px 0;
    position: relative;
    background-color: var(--dark-blue-bg);
}

/* Luz Ambiente de Fundo (O brilho laranja difuso que você pediu) */
.ambient-glow {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 600px;
    height: 600px;
    background: radial-gradient(circle, rgba(255, 107, 43, 0.08) 0%, transparent 70%);
    filter: blur(60px);
    z-index: 0;
    pointer-events: none; /* O mouse passa através */
}

/* Container Grid */
.stack-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
    position: relative;
    z-index: 1;
}

/* --- CARD MÁGICO --- */
.stack-card {
    background-color: rgba(255, 255, 255, 0.02); /* Fundo quase transparente */
    border-radius: 16px;
    position: relative;
    height: 300px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
    padding: 30px;
    
    /* Prepara para o efeito de brilho interno */
    overflow: hidden; 
    transition: transform 0.3s ease;
}

/* Efeito de destaque no background (brilho interno seguindo o mouse) */
.stack-card::before {
    content: "";
    position: absolute;
    top: 0; left: 0; right: 0; bottom: 0;
    border-radius: inherit;
    background: radial-gradient(
        800px circle at var(--mouse-x) var(--mouse-y), 
        rgba(255, 255, 255, 0.04), 
        transparent 40%
    );
    z-index: 1;
    opacity: 0; /* Invisível por padrão, JS ativa */
    transition: opacity 0.5s ease;
}

/* Borda Brilhante (O contorno que acende) */
.card-border {
    position: absolute;
    top: 0; left: 0; right: 0; bottom: 0;
    border-radius: inherit;
    z-index: 2;
    pointer-events: none;
    /* Truque para borda gradiente dinâmica */
    padding: 1px; 
    background: radial-gradient(
        600px circle at var(--mouse-x) var(--mouse-y), 
        rgba(255, 107, 43, 0.6), 
        transparent 40%
    );
    
    /* Máscara para mostrar só a borda */
    -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
    -webkit-mask-composite: xor;
    mask-composite: exclude;
    
    opacity: 0; /* JS vai ligar */
    transition: opacity 0.5s ease;
}


/* --- CONTEÚDO DO CARD --- */
.card-content-tech {
    position: relative;
    z-index: 3; /* Acima dos efeitos */
    display: flex;
    flex-direction: column;
    align-items: center;
}

.icon-box {
    width: 70px;
    height: 70px;
    margin-bottom: 25px;
    background: rgba(255, 107, 43, 0.1);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 1px solid rgba(255, 107, 43, 0.2);
    transition: all 0.3s ease;
}

.icon-box svg {
    width: 40px;
    height: 40px;
    color: var(--primary-orange);
    transition: all 0.3s ease;
}

/* Títulos e Textos */
.stack-card h3 {
    color: white;
    font-size: 1.5rem;
    margin-bottom: 15px;
    font-weight: 700;
}

.stack-card p {
    color: var(--text-gray);
    font-size: 1rem;
    line-height: 1.6;
}

/* --- HOVER EFFECTS --- */
/* Quando o mouse entra no GRID inteiro, a gente ativa a visibilidade dos efeitos */
.stack-grid:hover .stack-card::before,
.stack-grid:hover .card-border {
    opacity: 1;
}

/* Hover individual no card para dar destaque extra */
.stack-card:hover .icon-box {
    background: var(--primary-orange);
    box-shadow: 0 0 20px rgba(255, 107, 43, 0.4);
    transform: scale(1.1) rotate(5deg);
}

.stack-card:hover .icon-box svg {
    color: white;
}




/* --- SEÇÃO GARANTIA --- */
.guarantee-section {
    padding: 100px 0;
    background-color: var(--dark-blue-bg);
}

/* O Banner Principal */
.guarantee-banner {
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.03) 0%, rgba(255, 107, 43, 0.05) 100%);
    border: 1px solid rgba(255, 107, 43, 0.2);
    border-radius: 20px;
    padding: 60px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 50px;
    position: relative;
    overflow: hidden;
    backdrop-filter: blur(10px);
}

/* Conteúdo de Texto */
.guarantee-content {
    flex: 1; /* Ocupa o espaço disponível */
    max-width: 600px;
}

.guarantee-sub {
    font-size: 1.1rem;
    color: var(--text-white);
    margin-bottom: 30px;
    line-height: 1.6;
}

/* Caixa de Compromisso */
.commitment-box {
    background: rgba(0, 0, 0, 0.3);
    border-left: 3px solid var(--primary-orange);
    padding: 20px;
    border-radius: 0 10px 10px 0;
    margin-bottom: 30px;
}

.commitment-box h4 {
    color: var(--primary-orange);
    font-family: var(--font-tech);
    text-transform: uppercase;
    margin-bottom: 10px;
    font-size: 0.9rem;
    letter-spacing: 1px;
}

.commitment-box p {
    color: var(--text-gray);
    font-size: 0.95rem;
    margin: 0;
}

/* Dinheiro de Volta */
.risk-zero {
    display: flex;
    align-items: center;
    gap: 15px;
    margin-bottom: 40px;
    font-size: 1.1rem;
}

.check-icon {
    width: 25px;
    height: 25px;
    background: var(--primary-orange);
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: bold;
    font-size: 0.8rem;
    box-shadow: 0 0 10px var(--primary-orange);
}

.cta-guarantee {
    display: inline-block;
    padding: 15px 40px; /* Botão um pouco mais robusto */
}


/* --- O SELO EM CÓDIGO (BADGE) --- */
.seal-wrapper {
    position: relative;
    width: 200px;
    height: 200px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0; /* Impede o selo de amassar se a tela diminuir */
}

.code-seal {
    position: relative;
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 2;
}

/* 1. O Texto Giratório (SVG) */
.rotating-text {
    position: absolute;
    width: 100%;
    height: 100%;
    animation: spin-seal 20s linear infinite;
}

.seal-text-path {
    fill: var(--primary-orange);
    font-family: var(--font-tech);
    font-weight: 700;
    font-size: 24px;
    letter-spacing: 4px; /* Espaça as letras para facilitar leitura */
    text-transform: uppercase;
}

/* 2. O Miolo do Selo */
.seal-center {
    width: 110px;
    height: 110px;
    background: rgba(0, 0, 0, 0.6);
    border: 2px solid var(--primary-orange);
    border-radius: 50%;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    box-shadow: 
        inset 0 0 20px rgba(255, 107, 43, 0.3),
        0 0 20px rgba(0,0,0,0.5);
    backdrop-filter: blur(5px);
}

.shield-icon svg {
    width: 35px;
    height: 35px;
    color: white;
    margin-bottom: -5px;
    filter: drop-shadow(0 0 5px rgba(255, 255, 255, 0.5));
    animation: pulse-shield 3s ease-in-out infinite;
}

.days-number {
    font-family: var(--font-tech);
    font-size: 2rem;
    font-weight: 700;
    color: white;
    line-height: 1;
}

/* 3. Brilho de Fundo */
.seal-glow {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 150px;
    height: 150px;
    background: var(--primary-orange);
    border-radius: 50%;
    filter: blur(60px);
    opacity: 0.3;
    z-index: 1;
}


/* --- ANIMAÇÕES DO SELO --- */
@keyframes spin-seal {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

@keyframes pulse-shield {
    0%, 100% { transform: scale(1); opacity: 1; }
    50% { transform: scale(1.1); opacity: 0.8; }
}




/* --- SEÇÃO PREÇO --- */
.pricing-section {
    padding: 100px 0;
    background-color: var(--dark-blue-bg);
    position: relative;
    overflow: hidden;
}

/* Título com Glitch Vermelho */
.red-glitch {
    color: #ff2b2b;
    position: relative;
    display: inline-block;
}

/* O CARD PRINCIPAL */
.pricing-card-wrapper {
    max-width: 500px;
    margin: 60px auto 0 auto;
    position: relative;
    z-index: 2;
}

.pricing-card {
    background: rgba(10, 15, 30, 0.8);
    border: 1px solid rgba(255, 107, 43, 0.3);
    border-radius: 24px;
    padding: 50px 40px;
    text-align: center;
    position: relative;
    backdrop-filter: blur(20px);
    box-shadow: 0 20px 60px rgba(0,0,0,0.6);
    transition: transform 0.3s ease;
}

/* Efeito de brilho traseiro (Holográfico) */
.card-glow-bg {
    position: absolute;
    top: 50%; left: 50%;
    transform: translate(-50%, -50%);
    width: 100%; height: 100%;
    background: radial-gradient(circle, rgba(255, 107, 43, 0.15) 0%, transparent 70%);
    filter: blur(40px);
    z-index: -1;
}

/* --- BADGE "PARE DE PAGAR ALUGUEL" --- */
.no-rent-badge {
    position: absolute;
    top: -20px;
    left: 50%;
    transform: translateX(-50%);
    background: linear-gradient(90deg, #ff2b2b, #ff6b2b);
    color: white;
    padding: 8px 20px;
    border-radius: 50px;
    font-size: 0.9rem;
    font-weight: 700;
    text-transform: uppercase;
    white-space: nowrap;
    z-index: 10;
    box-shadow: 0 5px 15px rgba(255, 43, 43, 0.4);
    display: flex;
    align-items: center;
    gap: 8px;
}

.pulse-dot {
    width: 8px; height: 8px;
    background-color: white;
    border-radius: 50%;
    animation: pulse-dot 1.5s infinite;
}

@keyframes pulse-dot {
    0% { box-shadow: 0 0 0 0 rgba(255, 255, 255, 0.7); }
    70% { box-shadow: 0 0 0 6px rgba(255, 255, 255, 0); }
    100% { box-shadow: 0 0 0 0 rgba(255, 255, 255, 0); }
}


/* --- PREÇOS --- */
.price-header {
    margin-bottom: 30px;
}

.old-price {
    font-size: 1.1rem;
    color: #666;
    text-decoration: line-through;
    display: block;
    margin-bottom: 5px;
}

.main-price {
    color: white;
    font-family: var(--font-tech);
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 5px;
    margin-bottom: 5px;
}

.main-price .currency {
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--primary-orange);
}

.main-price .value {
    font-size: 4.5rem;
    font-weight: 700;
    line-height: 1;
    /* Texto branco com sombra sólida para impacto */
    text-shadow: 4px 4px 0px rgba(0,0,0,0.5); 
}

.cash-price {
    color: var(--text-gray);
    font-size: 1rem;
}
.cash-price strong { color: white; }


/* --- DOCK DE PAGAMENTO (CÓDIGO PURO) --- */
.payment-dock {
    background: rgba(255, 255, 255, 0.05);
    border-radius: 12px;
    padding: 15px;
    margin: 20px 0 30px 0;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 20px;
    border: 1px solid rgba(255, 255, 255, 0.05);
}

/* Cartão CSS Puro */
.css-credit-card {
    width: 50px;
    height: 32px;
    background: linear-gradient(135deg, #444, #222);
    border-radius: 4px;
    position: relative;
    box-shadow: 0 2px 5px rgba(0,0,0,0.5);
    border: 1px solid rgba(255,255,255,0.2);
}

.card-chip {
    position: absolute;
    top: 8px; left: 6px;
    width: 9px; height: 7px;
    background: linear-gradient(#e6c86e, #bf9e46);
    border-radius: 2px;
}

.card-dots {
    position: absolute;
    bottom: 8px; left: 6px;
    display: flex; gap: 2px;
}
.card-dots span {
    width: 3px; height: 3px;
    background: #888;
    border-radius: 50%;
}

.dock-divider {
    width: 1px; height: 20px;
    background: rgba(255,255,255,0.1);
}

.pix-icon {
    display: flex;
    align-items: center;
    gap: 5px;
    color: #32BCAD; /* Cor Oficial Pix */
    font-weight: 700;
    font-size: 0.9rem;
    font-family: var(--font-tech);
}

.pix-icon svg { width: 20px; height: 20px; }


/* --- CHECKLIST --- */
.benefits-list {
    list-style: none;
    text-align: left;
    margin: 0 auto 40px auto;
    display: inline-block;
}

.benefits-list li {
    margin-bottom: 12px;
    font-size: 1.05rem;
    color: #ddd;
    display: flex;
    align-items: center;
    gap: 10px;
}

.check-mark {
    color: #25D366; /* Verde check */
    font-weight: bold;
}

.muted {
    font-size: 0.85rem;
    color: #777;
    margin-left: 5px;
}


/* --- BOTÃO WHATSAPP (DESTAQUE) --- */
.btn-whatsapp {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    background: linear-gradient(90deg, #25D366, #128C7E);
    color: white;
    text-decoration: none;
    font-weight: 700;
    font-size: 1.1rem;
    padding: 18px 30px;
    border-radius: 50px;
    box-shadow: 0 10px 30px rgba(37, 211, 102, 0.4);
    transition: all 0.3s ease;
    animation: pulse-green 2s infinite;
}

.btn-whatsapp:hover {
    transform: translateY(-3px);
    box-shadow: 0 15px 40px rgba(37, 211, 102, 0.6);
}

.scarcity-text {
    margin-top: 15px;
    font-size: 0.85rem;
    color: #888;
    font-style: italic;
}

@keyframes pulse-green {
    0% { box-shadow: 0 0 0 0 rgba(37, 211, 102, 0.7); }
    70% { box-shadow: 0 0 0 15px rgba(37, 211, 102, 0); }
    100% { box-shadow: 0 0 0 0 rgba(37, 211, 102, 0); }
}


/* --- RODAPÉ (FOOTER) --- */
.main-footer {
    background-color: #010409; /* Quase preto, para finalizar a página */
    padding: 40px 0;
    position: relative;
    text-align: center;
    margin-top: 0; /* Cola na seção anterior */
}

/* Linha de Luz (Separador Premium) */
.footer-glow-line {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 1px;
    background: linear-gradient(90deg, transparent, rgba(255, 107, 43, 0.5), transparent);
    box-shadow: 0 -1px 10px rgba(255, 107, 43, 0.3); /* Brilho para cima */
}

.copyright-text {
    color: #666;
    font-size: 0.9rem;
    line-height: 1.6;
}

.author-name {
    color: white;
    font-family: var(--font-tech);
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.author-role {
    color: var(--text-gray);
    font-style: italic; /* Dá um toque de sofisticação */
}

/* --- BOTÃO VOLTAR AO TOPO --- */
.back-to-top {
    position: absolute;
    right: 5%; /* Fica no cantinho direito */
    top: 50%;
    transform: translateY(-50%);
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    color: var(--primary-orange);
    width: 40px;
    height: 40px;
    border-radius: 50%;
    cursor: pointer;
    font-size: 1.2rem;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
}

.back-to-top:hover {
    background: var(--primary-orange);
    color: white;
    box-shadow: 0 0 15px rgba(255, 107, 43, 0.5);
    transform: translateY(-50%) scale(1.1);
}

/* Responsivo */
@media (max-width: 768px) {
    .back-to-top {
        position: relative; /* No mobile fica centralizado abaixo do texto */
        right: auto;
        top: auto;
        transform: none;
        margin: 20px auto 0 auto;
    }
    
    .back-to-top:hover {
        transform: scale(1.1);
    }
}




/* --- LÓGICA DE TROCA DO BENTO GRID --- */

/* Habilita a transição suave de tamanho e cor */
.project-card {
    cursor: pointer; /* Mãozinha para indicar que é clicável */
    transition: all 0.4s cubic-bezier(0.25, 0.8, 0.25, 1);
    
    /* Por padrão, todos os cards tem ordem natural */
    order: 2; 
}

/* O Card Grande sempre fura a fila e vai pro topo */
.card-large {
    order: 1 !important; /* Número menor = aparece antes */
}

/* Opcional: Um efeito visual ao passar o mouse para indicar interação */
.project-card:not(.card-large):hover {
    filter: brightness(1.1);
    transform: translateY(-2px);
}


/* --- CORREÇÃO DE VÍDEO MOBILE --- */

/* Esconde controles nativos do iOS/Android que podem aparecer */
video::-webkit-media-controls {
    display: none !important;
}

video::-webkit-media-controls-start-playback-button {
    display: none !important;
}

video::-webkit-media-controls-play-button {
    display: none !important;
}

/* Garante que o vídeo não capture cliques (exceto se a gente quiser, como no Bento Grid) */
/* No Grid Interativo, o JS gerencia o clique, então isso não atrapalha */
.global-video-bg {
    pointer-events: none; 
}

