/* ==========================================================================
   IDENTIDADE VISUAL MUNDONERD - INTEGRADO AO WALLPAPER MUNDONERD.JPG
   ========================================================================== */

:root {
    /* Paleta extraída diretamente do Wallpaper */
    --bg-deep: #030712;         /* O azul-escuro quase preto das bordas */
    --bg-circuit: #060e22;      /* Azul escuro de fundo dos circuitos */
    --bg-card: #0c1938;         /* Azul das trilhas de placa-mãe para os blocos */
    --blue-neon: #0093ff;       /* O azul elétrico brilhante das trilhas acesas */
    --blue-glow: #00e1ff;       /* Ciano dos pontos de solda/nós iluminados */
    --logo-yellow: #facc15;     /* Amarelo vibrante do texto "MUNDO NERD" */
    --logo-orange: #f97316;     /* Laranja de destaque da logo */
    --text-pure: #ffffff;       /* Branco de alta leitura */
    --text-dim: #94a3b8;        /* Cinza para textos secundários */
    --whatsapp: #25d366;
}
/* ==========================================================================
   ELEMENTO 1: GRID TÉCNICO E ILUMINAÇÃO DE BANCADA
   ========================================================================== */
body {
    position: relative;
    /* Linhas do grid aumentadas para 1.5px e opacidade multiplicada por 4 (0.10) */
    background-image: 
        linear-gradient(rgba(0, 147, 255, 0.15) 1.5px, transparent 1.5px),
        linear-gradient(90deg, rgba(0, 147, 255, 0.15) 1.5px, transparent 1.5px);
    background-size: 35px 35px; /* Quadrados um pouquinho maiores para dar estilo */
    background-attachment: fixed;
}

/* Luzes Neon de fundo (Ciano na esquerda superior, Laranja na direita inferior) */
body::before, body::after {
    content: "";
    position: fixed;
    width: 500px;
    height: 500px;
    border-radius: 50%;
    pointer-events: none;
    z-index: -2; /* Fica atrás de absolutamente tudo */
    opacity: 0.15;
    filter: blur(140px);
}
body::before { 
    top: -10%; 
    left: -10%; 
    background: var(--blue-glow); 
}
body::after { 
    bottom: -10%; 
    right: -10%; 
    background: var(--logo-orange); 
}
body {
    font-family: 'Segoe UI', system-ui, -apple-system, sans-serif;
    margin: 0;
    padding: 0;
    background-color: var(--bg-circuit); /* Fundo escuro fosco e liso para não poluir */
    color: var(--text-pure);
    line-height: 1.6;
}

/* ==========================================================================
   HEADER PREMIUM COM BANNER DE IMAGEM (MUNDONERD)
   ========================================================================== */

header {
    background-image: linear-gradient(180deg, rgba(3,7,18,0.4) 0%, rgba(3,7,18,0.85) 100%), url('fundo-circuito.jpg');
    background-position: center;
    background-size: cover;
    background-repeat: no-repeat;
    
    padding: 3.5rem 1rem;
    text-align: center;
    border-bottom: 2px solid var(--blue-neon);
    box-shadow: 0 4px 30px rgba(0, 147, 255, 0.25);
    position: relative;
}

header::before {
    content: '';
    position: absolute;
    bottom: 0; left: 0; right: 0; height: 3px;
    background: linear-gradient(90deg, transparent, var(--blue-glow), var(--blue-neon), transparent);
}

.header-banner {
    max-width: 550px;
    margin: 0 auto;
    padding: 0 1rem;
}

.logo-img {
    width: 100%;
    height: auto;
    display: block;
    filter: drop-shadow(0 0 25px rgba(0, 147, 255, 0.45)); 
    transition: transform 0.3s ease;
}

.logo-img:hover {
    transform: scale(1.02);
}

.container {
    max-width: 850px;
    margin: 2rem auto;
    padding: 0 1.5rem;
}
/* ==========================================================================
   ELEMENTO 2: DIVISÓRIA TRILHA DE CIRCUITO (BLINDADA CONTRA CORTES)
   ========================================================================== */
.trilha-divisoria {
    display: block;
    margin: 1rem auto;
    width: 90%;          /* Garante que ela tenha espaço para respirar nas laterais */
    max-width: 600px;    /* Trava na largura máxima do desenho original */
    height: 40px;        /* Aumentado para o contêiner não cortar o topo/fundo da curva */
    
    /* O mesmo vetor, mas com ajustes de margem interna no desenho */
    background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 600 40' fill='none' stroke='%230093ff' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'><path d='M 10 20 L 240 20 L 256 34 L 344 34 L 360 20 L 590 20'/><circle cx='300' cy='34' r='5' fill='%23030712' stroke='%2300e1ff' stroke-width='2'/><circle cx='300' cy='34' r='1.5' fill='%2300e1ff'/></svg>");
    
    /* ESTA LINHA É O SEGREDO: força o desenho a caber inteiro dentro do bloco, sem decepar */
    background-size: 100% 100%; 
    background-repeat: no-repeat;
    background-position: center;
    
    filter: drop-shadow(0 0 6px rgba(0, 147, 255, 0.6));
    opacity: 0.8;
}                   
/* ==========================================================================
   ESTILIZAÇÃO DOS BLOCOS/CARDS
   ========================================================================== */

.card {
    background: rgba(12, 25, 56, 0.75);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    padding: 2.2rem;
    margin: 1.5rem 0;
    border-radius: 12px;
    border: 1px solid rgba(0, 147, 255, 0.2);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
    transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
    cursor: pointer; /* Garante a mãozinha de clique nativa nos cards com link */
}

.card:hover {
    transform: translateY(-3px);
    border-color: var(--blue-glow);
    box-shadow: 0 15px 35px rgba(0, 225, 255, 0.25);
    background: rgba(12, 25, 56, 0.9);
}
/* ==========================================================================
   INDICADOR ULTRA-VISÍVEL PARA OS CARDS CLICÁVEIS (ANTI-ESTUPIDEZ)
   ========================================================================== */

/* Prepara o card para dar espaço ao botão no celular */
.card[onclick] {
    padding-bottom: 4rem; /* Abre espaço embaixo para o ícone não cobrir os textos */
}

/* ==========================================================================
   INDICADOR FINAL COM IMAGEM DO CANVA (MÃOZINHA + ONDAS WI-FI NEON)
   ========================================================================== */

/* Garante o posicionamento correto no canto inferior do bloco */
.card[onclick] {
    position: relative;
    overflow: hidden;
}

/* Injeta a sua imagem do Canva no canto */
.card[onclick]::after {
    content: "";
    position: absolute;
    bottom: 1.3rem;
    right: 1.5rem;
    width: 64px;  /* Ajuste a largura se o seu desenho for mais largo ou estreito */
    height: 64px; /* Ajuste a altura para bater com o tamanho do seu ícone */
    
    background-image: url('icone-clique.png');
    background-size: contain;
    background-repeat: no-repeat;
    background-position: center;
    
    /* Ele começa meio apagado (estilo standby) para manter o site elegante */
    opacity: 0.5;
    filter: drop-shadow(0 0 2px rgba(0, 147, 255, 0.3));
    transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
    z-index: 5;
}

/* Quando o cliente passa o mouse ou toca no card, a imagem ACENDE com força total */
.card[onclick]:hover::after {
    opacity: 1;
    transform: scale(1.15) translateY(-2px); /* Dá uma leve aumentada e sobe um pouquinho */
    
    /* Amplifica o brilho e o contraste do próprio PNG do Canva, sem borrar */
    filter: brightness(1.5) contrast(1.2); 
}

/* Títulos dos Setores Técnicos */
h2 {
    font-size: 1.5rem;
    color: #ffffff;
    margin-top: 0;
    padding-bottom: 0.8rem;
    border-bottom: 2px solid rgba(0, 147, 255, 0.3);
}

/* Listas com Nós de Solda Azuis */
ul {
    padding-left: 0;
    list-style: none;
}

li {
    margin-bottom: 0.8rem;
    position: relative;
    padding-left: 1.5rem;
    color: #e2e8f0;
}

li::before {
    content: "●";
    position: absolute;
    left: 0;
    color: var(--blue-glow);
    font-size: 1rem;
    text-shadow: 0 0 8px var(--blue-glow);
}

/* Links do Bloco de Navegação */
a {
    color: var(--blue-glow);
    text-decoration: none;
    font-weight: 600;
    transition: all 0.2s;
    display: inline-block;
    margin-top: 0.5rem;
}

a:hover {
    color: var(--logo-yellow);
    text-shadow: 0 0 8px rgba(250, 204, 21, 0.5);
}

/* Botões de Ação do WhatsApp */
.btn {
    display: block;
    width: 100%;
    box-sizing: border-box;
    background: linear-gradient(135deg, #25d366 0%, #128c7e 100%);
    color: white !important;
    padding: 1.2rem;
    border-radius: 8px;
    text-decoration: none;
    font-weight: 700;
    font-size: 1.15rem;
    text-align: center;
    text-transform: uppercase;
    letter-spacing: 1px;
    border: none;
    box-shadow: 0 6px 20px rgba(37, 211, 102, 0.3);
    transition: all 0.3s ease;
    margin: 1.5rem 0 0 0;
}

.btn:hover {
    transform: scale(1.01);
    box-shadow: 0 8px 25px rgba(37, 211, 102, 0.5);
}

.card[style*="text-align:center"] .btn,
.card[style*="text-align: center"] .btn,
.cta .btn {
    max-width: 400px;
    margin: 1.5rem auto 0 auto;
}

.cta {
    text-align: center;
    margin: 3rem 0;
}

footer {
    text-align: center;
    padding: 4rem 1rem;
    font-size: 0.85rem;
    color: var(--text-dim);
    border-top: 1px solid rgba(0, 147, 255, 0.2);
    background: rgba(3, 7, 18, 0.95);
    margin-top: 6rem;
}

.floating-dock {
    position: fixed;
    bottom: 2rem;
    right: 2rem;
    display: flex;
    flex-direction: column;
    gap: 1rem;
    z-index: 9999;
}

/* O botão redondo agora tem uma borda neon acesa direto */
.dock-item {
    width: 60px; /* Aumentado para dar mais presença na tela */
    height: 60px;
    background: #030712; /* Fundo preto puro para dar contraste máximo no PNG */
    
    /* Borda neon 100% acesa por padrão */
    border: 2px solid var(--blue-neon);
    border-radius: 50%;
    
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.25s cubic-bezier(0.16, 1, 0.3, 1);
    
    /* Sombra de brilho constante no fundo */
    box-shadow: 0 0 10px rgba(0, 147, 255, 0.4), inset 0 0 8px rgba(0, 147, 255, 0.3);
    margin: 0 !important;
}

/* Força o ícone do Canva a ficar 100% visível sempre */
.dock-item img {
    width: 42px; /* Maior para dar leitura de longe */
    height: 42px;
    object-fit: contain;
    opacity: 0.9;
    filter: brightness(1.2) drop-shadow(0 0 2px var(--blue-glow));
    transition: all 0.25s ease;
}
/* Força o botão do Whats no dock a ter contorno verde ativo */
.whats-dock {
    border-color: rgba(34, 197, 94, 0.5) !important;
    box-shadow: 0 0 10px rgba(34, 197, 94, 0.2), inset 0 0 8px rgba(34, 197, 94, 0.1) !important;
}

.whats-dock:hover {
    background: #22c55e !important;
    border-color: #22c55e !important;
    box-shadow: 0 0 22px rgba(34, 197, 94, 0.6) !important;
}

/* Faz o ícone do Whats ficar branco no hover para dar contraste */
.whats-dock:hover img {
    filter: brightness(0) invert(1) !important;
    opacity: 1 !important;
}
/* ==========================================================================
   EFEITO HOVER: SOBRECARGA DE ENERGIA (BRILHO EXTREMO NO PC)
   ========================================================================== */

.dock-item:hover {
    transform: scale(1.15) translateX(-4px); /* Aumenta e avança para a esquerda */
    background: var(--blue-neon); /* O botão inteiro se preenche de azul elétrico */
    border-color: var(--blue-glow);
    
    /* Explosão de luz neon em volta do botão */
    box-shadow: 0 0 25px var(--blue-glow), 0 0 10px var(--blue-neon);
}

/* Quando passa o mouse, o ícone vira branco puro para contrastar com o fundo aceso */
.dock-item:hover img {
    opacity: 1;
    filter: brightness(0) invert(1); /* Truque de CSS: transforma o ícone em branco puro */
    transform: scale(1.05);
}

/* ==========================================================================
   AJUSTE DE BANCADA PARA CELULAR
   ========================================================================== */
@media (max-width: 480px) {
    .floating-dock {
        bottom: 1.5rem;
        right: 1.2rem;
        gap: 0.7rem;
    }
    .dock-item {
        width: 52px;
        height: 52px;
        box-shadow: 0 0 8px rgba(0, 147, 255, 0.3);
    }
    .dock-item img {
        width: 36px;
        height: 36px;
    }
}
/* ==========================================================================
   BOTÃOZÃO VERDÃO DO WHATSAPP (CONVERSÃO BRUTA)
   ========================================================================== */

.btn-whatsapp-grande {
    display: inline-block;
    background: #25d366; /* Verde Oficial WhatsApp */
    color: #ffffff !important;
    font-size: 1.1rem;
    font-weight: 800;
    letter-spacing: 1px;
    padding: 1.2rem 2.5rem;
    border-radius: 8px;
    text-decoration: none;
    box-shadow: 0 0 15px rgba(37, 211, 102, 0.4);
    transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
    text-transform: uppercase;
}

/* Efeito Hover Sobrecarga no Verde */
.btn-whatsapp-grande:hover {
    background: #1ebd58;
    transform: scale(1.05) translateY(-2px);
    box-shadow: 0 0 25px rgba(37, 211, 102, 0.7);
}

/* Deixa o botão responsivo no celular */
@media (max-width: 480px) {
    .btn-whatsapp-grande {
        font-size: 0.95rem;
        padding: 1rem 1.5rem;
        width: 100%;
        box-sizing: border-box;
        text-align: center;
    }
}
/* ==========================================================================
   GALERIA DE EVIDÊNCIA REAL (BANCADA ULTRA-PROFISSIONAL)
   ========================================================================== */
.laboratorio-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 1.5rem;
    margin: 2rem 0 0 0;
}

.foto-bancada {
    position: relative;
    border-radius: 6px;
    overflow: hidden;
    border: 1px solid rgba(0, 147, 255, 0.2);
    box-shadow: 0 8px 25px rgba(0,0,0,0.5);
    aspect-ratio: 16 / 10;
}

.foto-bancada img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: all 0.5s ease;
    filter: grayscale(30%) brightness(0.9); /* Clima de foto técnica */
}

/* Efeito hover: a foto ganha cor total e dá um zoom sutil */
.foto-bancada:hover img {
    filter: grayscale(0%) brightness(1.1);
    transform: scale(1.05);
}

/* Badge técnico por cima da foto (estilo visor HUD) */
.foto-badge {
    position: absolute;
    top: 10px;
    left: 10px;
    background: rgba(3, 7, 18, 0.85);
    border-left: 3px solid var(--blue-neon);
    padding: 0.3rem 0.6rem;
    font-family: monospace;
    font-size: 0.65rem;
    color: #fff;
    letter-spacing: 1px;
    z-index: 2;
}
/* ==========================================================================
   INJEÇÃO: ESTILIZAÇÃO COMPLETA DA BARRA DE 7 BOTÕES (CORRIGIDA NO TOPO)
   ========================================================================== */

.nav-hub-container {
    margin: 0.5rem 0 1.5rem 0;
    width: 100%;
}

.nav-hub-header {
    font-family: monospace;
    font-size: 0.75rem;
    color: var(--blue-glow);
    letter-spacing: 1.5px;
    margin-bottom: 0.8rem;
    text-align: center;
    text-shadow: 0 0 5px rgba(0, 225, 255, 0.3);
}

.nav-hub-buttons {
    display: flex;
    justify-content: center;
    align-items: center;
    flex-wrap: wrap;
    gap: 0.6rem;
    background: rgba(3, 7, 18, 0.8);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border: 1px solid rgba(0, 147, 255, 0.3);
    padding: 0.8rem;
    border-radius: 8px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.6);
}

.hub-btn {
    flex: 1;
    min-width: 105px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.4rem;
    background: rgba(12, 25, 56, 0.5);
    border: 1px solid rgba(0, 147, 255, 0.15);
    padding: 0.7rem 0.5rem;
    color: #ffffff !important;
    text-decoration: none !important;
    font-family: monospace;
    font-size: 0.75rem;
    font-weight: 700;
    letter-spacing: 0.5px;
    border-radius: 4px;
    margin-top: 0 !important; 
    transition: all 0.2s ease-in-out;
}

.hub-icon {
    font-size: 0.9rem;
    display: inline-block;
}

.hub-btn:hover {
    background: rgba(0, 147, 255, 0.25) !important;
    border-color: var(--blue-glow) !important;
    box-shadow: 0 0 12px rgba(0, 225, 255, 0.4);
    transform: translateY(-2px);
    color: #ffffff !important;
}

.bancada-btn:hover {
    background: rgba(250, 204, 21, 0.2) !important;
    border-color: var(--logo-yellow) !important;
    box-shadow: 0 0 12px rgba(250, 204, 21, 0.4);
}

/* Responsividade da Esteira de Botões no Mobile */
@media (max-width: 768px) {
    .nav-hub-buttons {
        display: grid;
        grid-template-columns: repeat(2, 1fr); /* Mantém as 2 colunas */
        gap: 0.5rem;
        padding: 0.6rem;
    }
    
    .hub-btn {
        padding: 0.6rem 0.3rem;
        font-size: 0.7rem;
    }

    /* O PULO DO GATO: Força o último botão (Consultoria) a ocupar as 2 colunas no celular */
    .nav-hub-buttons .hub-btn:last-child {
        grid-column: span 2;
        padding: 0.8rem 0.5rem; /* Um pouquinho mais de altura para dar imponência */
        font-size: 0.75rem;     /* Melhora a leitura já que ele tem mais espaço */
        background: rgba(0, 147, 255, 0.15); /* Um leve tom azul de fundo para destacar */
        border-color: rgba(0, 147, 255, 0.4);
    }
}
.photo-placeholder {
    width: 100%;
    min-height: 250px;
    background: #121214; /* Fundo escuro combinando com o site */
    border: 1px dashed #ff0055; /* Bordinha pontilhada estilosa com a cor do seu tema */
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: 20px;
    box-sizing: border-box;
}

.placeholder-content .placeholder-icon {
    font-size: 2rem;
    display: block;
    margin-bottom: 10px;
    animation: pulse 2s infinite; /* Dá um efeito piscando de leve pra mostrar que o site tá "vivo" */
}

.placeholder-content h4 {
    color: #fff;
    margin: 5px 0;
    font-size: 1.1rem;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.placeholder-content p {
    color: #8f8f9e;
    font-size: 0.9rem;
    margin: 0;
}

@keyframes pulse {
    0% { opacity: 0.5; }
    50% { opacity: 1; }
    100% { opacity: 0.5; }
}
.click-tip {
    color: #00ffff; /* Ciano/Turquesa neon (ou use #39ff14 se preferir o verde neon) */
    font-size: 0.85rem;
    text-align: center;
    margin-top: 20px;
    margin-bottom: 15px;
    font-style: normal; /* Remove o itálico desalinhado */
    font-weight: 600;
    letter-spacing: 1px;
    text-transform: uppercase;
    opacity: 0.8; /* Deixa o aviso sutil, sem brigar com o banner */
    animation: pulse 2s infinite; /* Troca o 'bounce' (pulo) por um 'pulse' (brilho sutil) */
}

/* Garante que a animação de pulso funcione se não existir no CSS */
@keyframes pulse {
    0% { opacity: 0.5; }
    50% { opacity: 1; }
    100% { opacity: 0.5; }
}

@keyframes bounce {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-3px); }
}