* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif
}

body {
    padding-top: 80px; /* Isso empurra todo o site para baixo da sua barra fixa */
}

html {

    scroll-behavior: smooth;
}

:root {
    --primaria: #0D47A1;
    --secundaria: #212121	;
    --escuro: #0f172a;
    --maisEscuro: #0a0f1c;
    --claro: #e2e8f0;
    --vidro: rgba(80, 4, 4, 0.1);
    --footer: #FF1744;
    --iaonline: #00ff88;
}

.caixa video {
     width: 100%;
}



.navecacao {
    position: fixed;
    top: 0;
    background: rgba(250, 4, 4, 0.575);
    width: 100%;
    z-index: index 100;
    padding: 1.5rem;

}

.menu {
    display: flex;
    justify-content: center;
    list-style: none;
    gap: 3rem;
}

.menu-link {
    /* CRUCIAL: Define o contexto para o posicionamento do ::after */
    position: relative;
    display: inline-block;
    text-decoration: none;
    color: #00ff88;
    padding: 5px 0;
    /* Para dar espaço para a linha abaixo */
    overflow: hidden;
    /* Opcional: garante que nada saia do limite */
}

/* Configurações da Linha (::after) */
.menu-link::after {
    content: '';
    height: 2px;
    width: 0;

    /* Posiciona a linha na parte inferior esquerda do link */
    position: absolute;
    bottom: 0;
    left: 0;

    /* Usa as variáveis de cor para criar o gradiente */
    background: linear-gradient(90deg, var(--primaria), var(--footer));

    /* Define a transição de forma suave */
    transition: width 0.5s ease;
}

/* Efeito ao Passar o Mouse (:hover) */
.menu-link:hover::after {
    /* A linha se expande totalmente (100% da largura do link) */
    width: 100%;
}

.cabeçalho {
    min-height: 100vh;
    display: flex;
    justify-content: center;
    align-items: center;
    flex-direction: column;
}

.foto-perfil {
    width: 350px;
    height: 350px;
    box-shadow: 0 0 20px rgba(79, 70, 229, 0.3);
    border-radius: 50%;
    border: 4px solid var(--vidro);
}

h1 {
    font-size: 3.5rem;
    color: var(--primaria);
    font-weight: bold;
    margin: 20px;
}

.cabeçalho-sub-titulo {
    font-size: 1.5rem;
    color: var(--claro);
    text-align: center;
}

.historia {
    padding: 6rem 2rem;

}

.historia-titulo {
    font-size: 3rem;
    color: var(--claro);
    text-align: center;
    margin-bottom: 20px;


}

.historia-caixa {
    padding: 2rem;
    max-width: 800px;
    margin: 0 auto;
    border-radius: 16px;
    border: 1px solid var(--vidro);
    backdrop-filter: blur (10px);
    background: rgba(255, 255, 255, 0.05);
}

.historia-paragrafo {
    text-align: justify;
    font-size: 1rem;

}

.projetos {
    padding: 6rem 2 rem;

}

.projetos-titulo {
    text-align: center;
    font-size: 2.5rem;
    margin-bottom: 50px;


}


.projetos-card:hover {
    box-shadow: 0 10px 20px rgba(79, 70, 229, 0.2);
    transform: translateY(-10px) scale(1.03);
}

.projetos-caixa {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    max-width: 1200px;
    margin: auto;
}

.projetos-card {
    background: rgba(255, 255, 255, 0.05);
    border-radius: 16px;
    backdrop-filter: blur(5px);
    border: 1px solid var(--vidro);
    overflow: hidden;
    transition: all 0.5;
    cursor: pointer;
}

.projetos-imagem {
    height: 200px;
    width: 100%;
    object-fit: cover;

}

.info-projetos {
    margin-bottom: 5px;
}

.caixa-textos-projeto {
    padding: 1.5rem;
}


.paragrafo-projetos {
    color: rgba(226, 232, 240, 0.8);
    line-height: 1.25rem;
}

.localizacao {
    padding: 6rem 2rem;

}

.localizacao-titulo {
    text-align: center;
    font-size: 2.5rem;
    margin-bottom: 50px;
}





footer {
    display: flex;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 40px;
    padding: 5px 5% 5px; /* Aumentado o padding inferior */
    align-items: start;
    background-color: rgba(250, 4, 4, 0.575);
}







footer h3, footer h4 {
    margin-bottom: 20px;
    color: #fff;
}

footer p {
    font-size: 14px;
    color: rgba(255, 255, 255, 0.8);
    line-height: 1.8;
}

/* Garante que o texto de Copyright ocupe a largura total */
footer .copy {
    grid-column: 1 / -1;
    text-align: center;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    padding-top: 30px;
    margin-top: 20px;
    font-size: 13px;
}



/* Remove margens padrão do navegador */
body, html {
    margin: 0;
    padding: 0;
    width: 100%;
    height: 100%;
}

.caixa-video {
    position: fixed; /* Fixa o vídeo na tela */
    top: 0;
    left: 0;
    width: 100%;
    height: 100vh; /* 100% da altura da visão */
    overflow: hidden;
    z-index: -1; /* Joga o vídeo para trás de tudo */
}

.caixa-video video {
    min-width: 100%; 
    min-height: 100%;
    width: auto;
    height: auto;
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%); /* Centraliza o vídeo */
    object-fit: cover; /* Garante que o vídeo preencha o espaço sem distorcer */
}

/* Camada escura por cima do vídeo (opcional, para ler melhor o texto) */
.mascara {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.4); /* Ajuste a opacidade aqui */
}

.servicos-container {
    display: flex;
    justify-content: center;
    align-items: center;
    flex-wrap: wrap; /* Faz os cards pularem de linha no celular */
    gap: 20px;
    padding: 50px 20px;
    min-height: 100vh; /* Ocupa a altura da tela para centralizar os cards */
    margin-top: 50px; /* Isso empurra os cards para baixo */
    padding-bottom: 100px;
}

.card {
    background: rgba(255, 255, 255, 0.1); /* Fundo branco bem transparente */
    backdrop-filter: blur(10px); /* Efeito de desfoque no fundo */
    border: 1px solid rgba(89, 18, 204, 0.2);
    border-radius: 15px;
    padding: 30px;
    width: 280px;
    text-align: center;
    color: white;
    transition: transform 0.3s ease;
}

.card:hover {
    transform: translateY(-10px); /* Efeito de flutuar ao passar o mouse */
    background: rgba(255, 255, 255, 0.2);
}

.card p {
    font-size: 1rem;
    line-height: 1.6;
}

.servicos-container {
    margin-top: 50px; /* Isso empurra os cards para baixo */
    padding-bottom: 100px;
}

.card h3 {
    color: #ff1744; /* Vermelho vibrante para o título */
    font-size: 1.4rem;
    margin-bottom: 15px;
}

.card:hover {
    border: 1px solid #ff1744; /* Borda azul ao passar o mouse */
    transform: scale(1.05); /* Aumenta levemente o tamanho */
}

/* Reset básico para a lista */
.nav-list {
    display: flex;            /* Alinha os itens lado a lado */
    justify-content: center;   /* Centraliza o menu horizontalmente */
    align-items: center;       /* Centraliza verticalmente */
    list-style: none;          /* Remove as bolinhas do menu */
    gap: 30px;                 /* Espaço entre os itens */
    padding: 20px 0;
    margin: 0;
}

/* Estilo dos links principais */
.nav-list a {
    color: white;              /* Cor branca para dar contraste */
    text-decoration: none;     /* Remove o sublinhado */
    font-size: 18px;
    font-weight: 500;
    transition: 0.3s;
}

.nav-list a:hover {
    color: #ffcccc;            /* Cor suave ao passar o mouse */
}

/* --- AJUSTE DO SUBMENU (DROPDOWN) --- */

.dropdown {
    position: relative;        /* Necessário para o submenu não empurrar o resto */
}

.submenu {
    display: none;             /* Esconde o submenu inicialmente */
    position: absolute;        /* Faz ele "flutuar" sobre o conteúdo */
    top: 100%;
    left: 0;
    background-color: #7a0000; /* Tom de vermelho mais escuro */
    list-style: none;
    padding: 10px;
    border-radius: 5px;
    z-index: 10;               /* Garante que fique por cima de tudo */
    min-width: 180px;
}

.submenu li {
    padding: 8px 10px;
}

/* Mostra o submenu quando passa o mouse em Procedimentos */
.dropdown:hover .submenu {
    display: block;
}


.nav-list {
    display: flex;
    justify-content: center;
    align-items: center; /* Isso garante que todos fiquem na mesma linha horizontal */
    gap: 30px;
    list-style: none;
    padding: 20px 0;
}

.nav-list li {
    display: flex;
    align-items: center;
}

header {
    background-color: rgba(250, 4, 4, 0.575); /* Vermelho escuro com leve transparência */
    width: 100%;
    position: fixed; /* Opcional: para o menu seguir o scroll */
    top: 0;
    z-index: 1000;
    
    
}

/* O item pai deve ser relativo */
.dropdown {
    position: relative;
}

/* O menu que aparece ao passar o mouse */
.submenu {
    display: none;
    position: absolute; 
    top: 100%; /* Aparece logo abaixo do Procedimentos */
    left: 0;
    background-color: #022761de; /* Fundo escuro para destacar */
    padding: 15px;
    border-radius: 8px;
    min-width: 200px;
    box-shadow: 0px 8px 16px rgba(122, 0, 0, 0.9);
}

.dropdown:hover .submenu {
    display: block; /* Mostra ao passar o mouse */
}



.coracaoinicio {
    width: 100%;
    border-radius: 100%;
    border: px solid var(--vidro);
}

.card-coracao {
    width: 40%;
   
}

.card-coracao:hover {
   transform: scale(1.05); /* Aumenta levemente o tamanho */
   
}

.texto-centralizado {
    color: #ff1744; /* Vermelho vibrante para o título */
    font-size: 1.4rem;
    margin-bottom: 15px;
}


/* Define a animação de pulsação */
@keyframes pulsar {
  0% {
    transform: scale(1); /* Tamanho original */
  }
  15% {
    transform: scale(1.05); /* Aumenta levemente (sístole) */
  }
  30% {
    transform: scale(1); /* Volta ao normal */
  }
  45% {
    transform: scale(1.08); /* Segundo batimento mais forte */
  }
  100% {
    transform: scale(1); /* Pausa antes do próximo ciclo */
  }
}



/* Aplica a animação à imagem */
.coracao-pulsante {
  animation: pulsar 0.9s ease-in-out infinite;
  display: block;
  margin: 0 auto; /* Mantém centralizado */
  border-radius: 50%; /* Garante que o efeito seja circular */
  width: 360px;
}

@keyframes pulsar {
  0% { transform: scale(1); }
  15% { transform: scale(1.15); } /* S1 - Lub */
  30% { transform: scale(1.05); }
  45% { transform: scale(1.10); } /* S2 - Dub */
  100% { transform: scale(0); }
}

.footer-contact li{
    align-items: center; /* Isso garante que todos fiquem na mesma linha horizontal */
    padding: 09px 0;
    color: #fdfdff;
       }

.card {
    display: flex;
    flex-direction: column;  /* Empilha os elementos um em cima do outro */
    align-items: center;     /* Centraliza todos os itens horizontalmente */
    text-align: center;      /* Garante que o texto também fique centralizado */
    padding: 20px;
    /* ... seus outros estilos (background, border, etc) ... */
}

/* 4. CARROSSEL (LARGURA TOTAL DA TELA) */
.carrossel-container {
    width: 100vw;
    position: relative;
    left: 50%;
    transform: translateX(-50%); /* Força a barra a ignorar o container e tocar as bordas */
    overflow: hidden;
    background: rgba(139, 0, 0, 0.5); /* Fundo vermelho do carrossel */
    padding: 15px 0;
    border-top: 2px solid #E63946;
    border-bottom: 2px solid #E63946;
}

.carrossel-fotos {
    display: flex;
    width: max-content;
    gap: 20px;
    padding: 0 10px;
    animation: deslizar 25s linear infinite; /* Movimento contínuo */
}

.mini {
    width: 90px;
    height: 90px;
    object-fit: cover;
    border-radius: 50%;
    flex-shrink: 0; /* Impede que o navegador amasse as fotos */
    border: 3px solid white;
    cursor: pointer;
    transition: 0.3s;
    opacity: 0.8;
}

.mini:hover {
    opacity: 1;
    transform: scale(1.1);
    border-color: #ff0000;
}

/* 5. ANIMAÇÃO INFINITA */
@keyframes deslizar {
    from { transform: translateX(0); }
    to { transform: translateX(-50%); } 
}

/* Pausa ao passar o mouse */
.carrossel-fotos:hover {
    animation-play-state: paused;
}



@keyframes pulsarCoracao {
    0% { transform: scale(1); filter: drop-shadow(0 0 10px rgba(230, 57, 70, 0.5)); }
    50% { transform: scale(1.05); filter: drop-shadow(0 0 25px rgba(230, 57, 70, 0.8)); }
    100% { transform: scale(1); filter: drop-shadow(0 0 10px rgba(230, 57, 70, 0.5)); }
}

.carrossel-container {
    background: rgba(139, 0, 0, 0.2); /* Vermelho bem sutil */
    backdrop-filter: blur(8px);       /* DESFOQUE: dá o efeito de vidro no vídeo de fundo */
    -webkit-backdrop-filter: blur(8px);
    border-top: 1px solid rgba(255, 255, 255, 0.2);
    border-bottom: 1px solid rgba(255, 255, 255, 0.2);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
}


/* Efeito de Vidro e Largura Total no Carrossel */
.carrossel-container {
    width: 100vw;
    position: relative;
    left: 50%;
    transform: translateX(-50%);
    overflow: hidden;
    background: rgba(139, 0, 0, 0.3); /* Vermelho tecnológico sutil */
    backdrop-filter: blur(10px);      /* Efeito de desfoque no vídeo de fundo */
    -webkit-backdrop-filter: blur(10px);
    padding: 15px 0;
    border-top: 1px solid rgba(255, 255, 255, 0.2);
    border-bottom: 1px solid rgba(255, 255, 255, 0.2);
    margin-top: auto; /* Joga o carrossel para o rodapé se o container for flex */
}



@keyframes pulsar {
    0% { transform: scale(1); opacity: 0.9; }
    50% { transform: scale(1.08); opacity: 1; filter: drop-shadow(0 0 20px rgba(230, 57, 70, 0.9)); }
    100% { transform: scale(1); opacity: 0.9; }
}

/* Padronização das Imagens do Trilho */
.mini {
    width: 95px;
    height: 95px;
    object-fit: cover; /* Garante que a foto preencha o círculo sem deformar */
    border-radius: 50%;
    flex-shrink: 0;
    border: 2px solid rgba(255, 255, 255, 0.5);
    transition: 0.3s;
    cursor: pointer;
}

.mini:hover {
    transform: scale(1.15) translateY(-5px);
    border-color: #ff0000;
    box-shadow: 0 5px 15px rgba(255, 0, 0, 0.4);
}



@keyframes pulsar {
    0% { transform: scale(1); opacity: 0.9; }
    50% { transform: scale(1.05); opacity: 1; filter: drop-shadow(0 0 15px rgba(230, 57, 70, 0.8)); }
    100% { transform: scale(1); opacity: 0.9; }
}

.carrossel-container {
    /* ... mantenha suas configurações anteriores ... */
    border-top: 2px solid #ff0000;
    border-bottom: 2px solid #ff0000;
    
    /* O segredo do brilho: */
    box-shadow: 0 0 20px rgba(255, 0, 0, 0.4), 
                inset 0 0 15px rgba(255, 0, 0, 0.2);
    
    /* Opcional: animação para o brilho "pulsar" */
    animation: brilhoCardio 3s ease-in-out infinite;
}

@keyframes brilhoCardio {
    0%, 100% { box-shadow: 0 0 15px rgba(255, 0, 0, 0.4); }
    50% { box-shadow: 0 0 30px rgba(255, 0, 0, 0.7); }
}

.carrossel-container::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 2px;
    background: linear-gradient(90deg, transparent, #ff0000, #ff0000, transparent);
    background-size: 200% 100%;
    animation: feixeLaser 4s linear infinite;
}

@keyframes feixeLaser {
    from { background-position: 200% 0; }
    to { background-position: -200% 0; }
}

.carrossel-container {
    width: 100vw;
    position: relative;
    left: 50%;
    transform: translateX(-50%);
    overflow: hidden;
    background: rgba(139, 0, 0, 0.3);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    
    /* Aumente o padding para dar "respiro" entre as fotos e as bordas */
    padding: 25px 0; 
    
    /* Bordas com o brilho que você pediu */
    border-top: 2px solid #ff0000;
    border-bottom: 2px solid #ff0000;
    box-shadow: 0 0 20px rgba(255, 0, 0, 0.4);
    
    margin-top: 20px;
}

.carrossel-fotos {
    display: flex;
    width: max-content;
    gap: 20px;
    
    /* Centralização vertical absoluta das imagens dentro da barra */
    align-items: center; 
    justify-content: center;
    
    animation: deslizar 25s linear infinite;
}


@media (max-width: 600px) {
    .mini {
        width: 70px;  /* Diminui a foto no celular */
        height: 70px;
    }
    .carrossel-container {
        padding: 15px 0; /* Diminui a altura da barra no celular */
    }
}

.banner-principal {
    width: 100%;          /* Ocupa a largura total da tela */
    display: flex;        /* Ativa o modo flexível */
    justify-content: center; /* Centraliza horizontalmente */
    align-items: center;     /* Centraliza verticalmente */
    background-color: #000;  /* Mantém o fundo preto nas laterais */
    overflow: hidden;        /* Impede que a imagem crie barra de rolagem */
}

.banner-principal img {
    max-width: 100%;      /* Garante que ela não ultrapasse a tela */
    height: auto;         /* Mantém a proporção original */
    display: block;
}



/* 3. CONTEÚDO CENTRAL (IMAGEM PRINCIPAL) */
.container-central {
    display: flex;
    flex-direction: column;
    align-items: center;
    z-index: 10;
    width: 100%;
}

.moldura {
    border: 5px solid rgba(255, 255, 255, 0.1);
    border-radius: 20px;
    overflow: hidden;
    margin-bottom: 30px;
    box-shadow: 0 0 30px rgba(230, 57, 70, 0.3);
}

#imagem-principal {
    width: 100%;
    max-width: 500px;
    height: 380px;
    object-fit: contain;
    background-color: #000;
    display: block;
    transition: opacity 0.5s ease;
}

/* 4. CARROSSEL (LARGURA TOTAL DA TELA) */
.carrossel-container {
    width: 100vw;
    position: relative;
    left: 50%;
    transform: translateX(-50%); /* Força a barra a ignorar o container e tocar as bordas */
    overflow: hidden;
    background: rgba(139, 0, 0, 0.5); /* Fundo vermelho do carrossel */
    padding: 15px 0;
    border-top: 2px solid #E63946;
    border-bottom: 2px solid #E63946;
}

.carrossel-fotos {
    display: flex;
    width: max-content;
    gap: 20px;
    padding: 0 10px;
    animation: deslizar 25s linear infinite; /* Movimento contínuo */
}

.mini {
    width: 90px;
    height: 90px;
    object-fit: cover;
    border-radius: 50%;
    flex-shrink: 0; /* Impede que o navegador amasse as fotos */
    border: 3px solid white;
    cursor: pointer;
    transition: 0.3s;
    opacity: 0.8;
}

.mini:hover {
    opacity: 1;
    transform: scale(1.1);
    border-color: #ff0000;
}

/* 5. ANIMAÇÃO INFINITA */
@keyframes deslizar {
    from { transform: translateX(0); }
    to { transform: translateX(-50%); } 
}

/* Pausa ao passar o mouse */
.carrossel-fotos:hover {
    animation-play-state: paused;
}



@keyframes pulsarCoracao {
    0% { transform: scale(1); filter: drop-shadow(0 0 10px rgba(230, 57, 70, 0.5)); }
    50% { transform: scale(1.05); filter: drop-shadow(0 0 25px rgba(230, 57, 70, 0.8)); }
    100% { transform: scale(1); filter: drop-shadow(0 0 10px rgba(230, 57, 70, 0.5)); }
}

.carrossel-container {
    background: rgba(139, 0, 0, 0.2); /* Vermelho bem sutil */
    backdrop-filter: blur(8px);       /* DESFOQUE: dá o efeito de vidro no vídeo de fundo */
    -webkit-backdrop-filter: blur(8px);
    border-top: 1px solid rgba(255, 255, 255, 0.2);
    border-bottom: 1px solid rgba(255, 255, 255, 0.2);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
}


/* Efeito de Vidro e Largura Total no Carrossel */
.carrossel-container {
    width: 100vw;
    position: relative;
    left: 50%;
    transform: translateX(-50%);
    overflow: hidden;
    background: rgba(139, 0, 0, 0.3); /* Vermelho tecnológico sutil */
    backdrop-filter: blur(10px);      /* Efeito de desfoque no vídeo de fundo */
    -webkit-backdrop-filter: blur(10px);
    padding: 15px 0;
    border-top: 1px solid rgba(255, 255, 255, 0.2);
    border-bottom: 1px solid rgba(255, 255, 255, 0.2);
    margin-top: auto; /* Joga o carrossel para o rodapé se o container for flex */
}



@keyframes pulsar {
    0% { transform: scale(1); opacity: 0.9; }
    50% { transform: scale(1.08); opacity: 1; filter: drop-shadow(0 0 20px rgba(230, 57, 70, 0.9)); }
    100% { transform: scale(1); opacity: 0.9; }
}

/* Padronização das Imagens do Trilho */
.mini {
    width: 95px;
    height: 95px;
    object-fit: cover; /* Garante que a foto preencha o círculo sem deformar */
    border-radius: 50%;
    flex-shrink: 0;
    border: 2px solid rgba(255, 255, 255, 0.5);
    transition: 0.3s;
    cursor: pointer;
}

.mini:hover {
    transform: scale(1.15) translateY(-5px);
    border-color: #ff0000;
    box-shadow: 0 5px 15px rgba(255, 0, 0, 0.4);
}

.coracao-pulsante-logoinicio {
    position: absolute;      /* Permite posicionar em qualquer lugar */
    top: 6px;               /* Distância do topo */
    left: 20px;              /* Distância da esquerda */
    width: 100px;            /* Tamanho ajustado para o canto TAMANHO DO CORAÇÃO LOGO INICIO */
    height: auto;
    z-index: 100;            /* Garante que fique acima do vídeo e máscara */
    filter: drop-shadow(0 0 8px rgba(230, 57, 70, 0.6));
    animation: pulsar 2s ease-in-out infinite;
}

@keyframes pulsar {
    0% { transform: scale(1); opacity: 0.9; }
    50% { transform: scale(1.05); opacity: 1; filter: drop-shadow(0 0 15px rgba(230, 57, 70, 0.8)); }
    100% { transform: scale(1); opacity: 0.9; }
}

.carrossel-container {
    /* ... mantenha suas configurações anteriores ... */
    border-top: 2px solid #ff0000;
    border-bottom: 2px solid #ff0000;
    
    /* O segredo do brilho: */
    box-shadow: 0 0 20px rgba(255, 0, 0, 0.4), 
                inset 0 0 15px rgba(255, 0, 0, 0.2);
    
    /* Opcional: animação para o brilho "pulsar" */
    animation: brilhoCardio 3s ease-in-out infinite;
}

@keyframes brilhoCardio {
    0%, 100% { box-shadow: 0 0 15px rgba(255, 0, 0, 0.4); }
    50% { box-shadow: 0 0 30px rgba(255, 0, 0, 0.7); }
}

.carrossel-container::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 2px;
    background: linear-gradient(90deg, transparent, #ff0000, #ff0000, transparent);
    background-size: 200% 100%;
    animation: feixeLaser 4s linear infinite;
}

@keyframes feixeLaser {
    from { background-position: 200% 0; }
    to { background-position: -200% 0; }
}

.carrossel-container {
    width: 100vw;
    position: relative;
    left: 50%;
    transform: translateX(-50%);
    overflow: hidden;
    background: rgba(139, 0, 0, 0.3);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    
    /* Aumente o padding para dar "respiro" entre as fotos e as bordas */
    padding: 25px 0; 
    
    /* Bordas com o brilho que você pediu */
    border-top: 2px solid #ff0000;
    border-bottom: 2px solid #ff0000;
    box-shadow: 0 0 20px rgba(255, 0, 0, 0.4);
    
    margin-top: 20px;
}

.carrossel-fotos {
    display: flex;
    width: max-content;
    gap: 20px;
    
    /* Centralização vertical absoluta das imagens dentro da barra */
    align-items: center; 
    justify-content: center;
    
    animation: deslizar 25s linear infinite;
}


@media (max-width: 600px) {
    .mini {
        width: 70px;  /* Diminui a foto no celular */
        height: 70px;
    }
    .carrossel-container {
        padding: 15px 0; /* Diminui a altura da barra no celular */
    }
}

.card-profissional {
    width: 350px;
    background: #0a0f1d; /* Fundo escuro tecnológico */
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0, 255, 255, 0.1);
    border: 1px solid rgba(0, 255, 255, 0.2);
    font-family: 'Segoe UI', sans-serif;
    color: white;
    transition: transform 0.3s ease;
}

.card-profissional:hover {
    transform: translateY(-10px);
    border-color: #00ffff;
}

.card-header {
    height: 120px;
    background: linear-gradient(135deg, #001220 0%, #00ffff 100%);
    display: flex;
    justify-content: center;
    align-items: flex-end;
}

.foto-perfil {
    width: 100px;
    height: 100px;
    border-radius: 50%;
    border: 4px solid #0a0f1d;
    background: #fff;
    overflow: hidden;
    margin-bottom: -50px;
}

.foto-perfil img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* COMEÇA A HISTÓRIA */

.card-body {
    padding: 60px 20px 20px;
    text-align: center;
}

.badge-tech {
    background: rgba(255, 81, 0, 0.1);
    color: #00ff88;
    padding: 5px 12px;
    border-radius: 15px;
    font-size: 0.75rem;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.card-body h2 {
    margin: 15px 0 10px;
    font-size: 1.5rem;
}

.historia {
    font-size: 0.9rem;
    color: #a0a8b3;
    line-height: 1.5;
}

.tech-tags {
    display: flex;
    justify-content: center;
    gap: 10px;
    margin-top: 20px;
}

.tech-tags span {
    font-size: 0.7rem;
    background: #162031;
    padding: 6px 10px;
    border-radius: 8px;
    color: #0056b3;
}

.btn-contato {
    width: 100%;
    padding: 15px;
    border: none;
    background: #6f00ff;
    color: #000;
    font-weight: bold;
    cursor: pointer;
    transition: background 0.3s;
}

.btn-contato:hover {
    background: #00ff88;
}

/* Container que segura o Card e o Carrossel Lado a Lado */
.layout-principal {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 40px;
    padding: 20px;
    min-height: 100vh;
    background: #050505; 
}

/* Card Profissional - Estilo Cardiologia */
.card-profissional {
    width: 260px; /* Tamanho reduzido */
    background: #0d1117;
    border-radius: 20px;
    /* Borda azul sólida com brilho suave */
    border: 2px solid #0056b3; 
    box-shadow: 0 0 15px rgba(0, 86, 179, 0.3);
    overflow: hidden;
    transition: all 0.3s ease;
}

.card-profissional:hover {
    border-color: #00aaff; /* Brilho mais claro ao passar o mouse */
    box-shadow: 0 0 25px rgba(0, 170, 255, 0.5);
    transform: translateY(-5px);
}

.card-header {
    height: 70px;
    /* Gradiente em tons de azul profundo */
    background: linear-gradient(135deg, #001a33 0%, #0056b3 100%);
}

.badge-tech {
    background: rgba(230, 57, 70, 0.15);
    color: #ff4d5a;
    border: 1px solid #e63946;
}

/* Ajuste das Tags de Baixo */
.tech-tags span {
    background: transparent;
    border: 1px solid #444;
    color: #e0e0e0;
}

.tech-tags span:hover {
    border-color: #e63946;
    color: #e63946;
    box-shadow: 0 0 10px rgba(230, 57, 70, 0.4);
}

/* Botão de Ação */
.btn-contato {
    background:#FF1744;
    color: white;
    text-transform: uppercase;
    letter-spacing: 1px;
}


.card {
  background: rgba(255, 255, 255, 0.05); /* Fundo semi-transparente */
  backdrop-filter: blur(15px); /* Efeito de desfoque/vidro */
  border: 1px solid rgba(255, 255, 255, 0.1); 
  border-radius: 20px;
  transition: all 0.3s ease;
  box-shadow: 0 8px 32px 0 rgba(0, 0, 0, 0.37);
}

.card:hover {
  transform: translateY(-10px); /* Move levemente para cima */
  border-color: #ff0000; /* Realça a cor da clínica no hover */
  box-shadow: 0 0 20px rgba(255, 0, 0, 0.4); /* Brilho neon suave */
}

:root {
  --primary-red: #ff0000;
  --glass-bg: rgba(255, 255, 255, 0.03);
  --glass-border: rgba(255, 255, 255, 0.1);
}

.container-cards {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 30px;
  padding: 50px 5%;
  perspective: 1000px; /* Efeito 3D sutil */
  margin-top: 50px; /* Ajuste o valor conforme necessário */
}

.card-tech {
  background: var(--glass-bg);
  backdrop-filter: blur(12px); /* Efeito Vidro */
  -webkit-backdrop-filter: blur(12px);
  border: 1px solid var(--glass-border);
  border-radius: 24px;
  padding: 40px 30px;
  text-align: center;
  transition: all 0.5s cubic-bezier(0.23, 1, 0.32, 1);
  position: relative;
  overflow: hidden;
}

/* Brilho ao passar o mouse */
.card-tech:hover {
  transform: translateY(-15px) scale(1.02);
  border-color: var(--primary-red);
  box-shadow: 0 20px 40px rgba(255, 0, 0, 0.15), 
              inset 0 0 15px rgba(255, 0, 0, 0.05);
}

.card-tech h3 {
  color: #fff;
  font-size: 1.5rem;
  margin-bottom: 15px;
  letter-spacing: 1px;
}

.card-tech p {
  color: #b0b0b0;
  line-height: 1.6;
  font-size: 0.95rem;
  margin-bottom: 25px;
}

/* Botão Estilizado */
.btn-link {
  display: inline-block;
  padding: 10px 25px;
  border: 1px solid var(--primary-red);
  color: #fff;
  text-decoration: none;
  border-radius: 50px;
  font-weight: bold;
  transition: 0.3s;
}

.btn-link:hover {
  background: var(--primary-red);
  box-shadow: 0 0 20px var(--primary-red);
}

.modern-footer {
  background: rgba(10, 10, 10, 0.95);
  border-top: 2px solid var(--primary-red);
  padding: 40px 0 20px 0;
  margin-top: 50px;
  text-align: center;
}

.footer-socials a {
  font-size: 1.5rem;
  color: #fff;
  margin: 0 15px;
  transition: 0.3s;
}

.footer-socials a:hover {
  color: var(--primary-red);
  filter: drop-shadow(0 0 10px var(--primary-red));
}

.footer-socials a i {
  transition: all 0.3s ease;
}

/* Aplica o brilho em todos os ícones do rodapé ao passar o mouse */
.footer-socials a:hover i {
  color: #0056b3;
  filter: drop-shadow(0 0 10px #ff0000);
  transform: translateY(-3px);
}

:root {
    --primary-red: #ff1744;     /* Mantemos o vermelho para o coração */
    --tech-blue: #005386;      /* Azul Royal para botões e links */
    --deep-blue: #001A33;      /* Azul Marinho para detalhes de fundo */
    --dark-bg: #050505;
}

/* Exemplo: Botão com gradiente médico */
.btn-link {
    background: linear-gradient(135deg, var(--tech-blue), var(--primary-red));
    border: none;
    color: white;
}

.icon-box i {
    font-size: 3rem; /* Aumenta o destaque visual */
    color: var(--primary-red);
    filter: drop-shadow(0 0 8px rgba(255, 23, 68, 0.4)); /* Efeito de brilho médico */
}

/* Ajuste dos ícones para brilho médico */
.icon-box {
    margin-bottom: 25px;
    height: 80px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.icon-box i {
    font-size: 3.5rem;
    color: var(--primary-red);
    filter: drop-shadow(0 0 12px rgba(255, 23, 68, 0.6));
    transition: 0.3s ease;
}

/* Efeito de "Scanner" no hover do card */
.card-tech:hover::before {
    content: ""; /* Garante que o pseudo-elemento apareça */
    position: absolute; /* Necessário para o 'top' funcionar */
    left: 0;
    width: 100%;
    height: 2px;
    background: var(--primary-red);
    box-shadow: 0 0 15px var(--primary-red);
    animation: scanner 2s linear infinite;
    z-index: 10; /* Garante que fique acima do conteúdo do card */
}

@keyframes scanner {
    0% { top: 0; }
    100% { top: 100%; }
}

/* Tipografia dos cards */


.card-tech h3 {
    font-size: 1.4rem;
    text-transform: uppercase;
    letter-spacing: 2px;
    /* Degradê metálico levemente mais contrastado */
    background: linear-gradient(90deg, #ffffff 0%, #a1a1a1 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    
    /* Adiciona um brilho sutil para destacar no fundo escuro */
    filter: drop-shadow(0 0 5px rgb(26, 14, 192));
    margin-bottom: 15px;
    font-weight: 800;
}

/* Estilo Base do Botão */
.btn-link {
    display: inline-block;
    padding: 12px 35px;
    border-radius: 50px;
    background: linear-gradient(45deg, var(--primary-red), #b71c1c);
    color: white;
    text-decoration: none;
    font-weight: 800;
    text-transform: uppercase;
    font-size: 11px;
    letter-spacing: 1px;
    transition: all 0.3s ease;
    border: 1px solid rgba(255, 23, 68, 0.3);
    position: relative;
    overflow: hidden;
}

/* Efeito de Batimento (Hover) */
.btn-link:hover {
    box-shadow: 0 0 20px rgba(255, 23, 68, 0.6);
    transform: scale(1.05);
    animation: pulsoBotao 1.4s ease-in-out infinite;
    color: #fff;
}

/* Keyframes baseados no ritmo S1 e S2 do coração */
@keyframes pulsoBotao {
    0% { transform: scale(1.05); }
    15% { transform: scale(1.12); box-shadow: 0 0 25px var(--primary-red); } /* Batida Forte */
    30% { transform: scale(1.05); }
    45% { transform: scale(1.08); } /* Batida Suave */
    100% { transform: scale(1.05); }
}

/* Efeito de Brilho Interno (Passagem de Luz) */
.btn-link::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(120deg, transparent, rgba(255,255,255,0.3), transparent);
    transition: 0.5s;
}

.btn-link:hover::before {
    left: 100%;
}

.system-status-bar {
    background: rgba(0, 0, 0, 0.9);
    height: 30px;
    width: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 30px;
    font-size: 10px;
    color: rgba(255, 255, 255, 0.6);
    text-transform: uppercase;
    letter-spacing: 2px;
    border-bottom: 1px solid rgba(255, 23, 68, 0.2);
    position: fixed;
    top: 0;
    z-index: 1001; /* Fica acima do menu */
}

/* Ajuste o seu header para começar 30px abaixo */
header {
    top: 30px !important;
}

.status-item {
    display: flex;
    align-items: center;
    gap: 8px;
}

.status-dot {
    width: 6px;
    height: 6px;
    background-color: #00ff88; /* Verde Neon */
    border-radius: 50%;
    box-shadow: 0 0 8px #00ff88;
    animation: blinkStatus 1.5s infinite;
}

.online, .active {
    color: #00ff88;
}

@keyframes blinkStatus {
    0%, 100% { opacity: 1; }
    50% { opacity: 0.3; }
}

.status-item i {
    font-size: 12px;
    color: var(--primary-red);
}

.ai-agent-container {
    position: fixed;
    bottom: 30px;
    right: 30px;
    z-index: 2001;
}

.ai-agent-btn {
    width: 65px;
    height: 65px;
    border-radius: 50%;
    background: #050505;
    border: 2px solid #ff1744;
    color: #fff;
    font-size: 26px;
    cursor: pointer;
    display: flex;
    justify-content: center;
    align-items: center;
    box-shadow: 0 0 20px rgba(255, 23, 68, 0.4);
    transition: 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.ai-core-ring {
    position: absolute;
    width: 130%;
    height: 130%;
    border: 1px solid rgba(255, 23, 68, 0.15);
    border-radius: 50%;
    border-top: 2px solid #ff1744;
    animation: rotateCore 2.5s linear infinite;
}

@keyframes rotateCore {
    from { transform: rotate(0deg); }
    to { transform: rotate(360deg); }
}

#ai-chat-window {
    position: absolute;
    bottom: 85px;
    right: 0;
    width: 320px;
    background: rgba(10, 10, 10, 0.98);
    border: 1px solid rgba(255, 23, 68, 0.3);
    border-radius: 12px;
    backdrop-filter: blur(15px);
    box-shadow: 0 15px 50px rgba(0,0,0,0.9);
    transition: 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.ai-chat-hidden {
    opacity: 0;
    transform: translateY(40px) scale(0.8);
    pointer-events: none;
}

.chat-header {
    background: #1a1a1a;
    padding: 15px;
    border-bottom: 1px solid #ff1744;
    color: white;
    font-size: 10px;
    font-weight: bold;
    text-transform: uppercase;
    display: flex;
    align-items: center;
    gap: 10px;
}

.status-pulse {
    width: 8px;
    height: 8px;
    background: #00ff88;
    border-radius: 50%;
    box-shadow: 0 0 10px #00ff88;
    animation: blinkStatus 1.5s infinite;
}

.ai-badge {
    position: absolute;
    top: -12px;
    background: #ff1744;
    color: white;
    font-size: 8px;
    padding: 2px 8px;
    border-radius: 10px;
    font-weight: 800;
}

/* Ajuste de cores dentro do chat */
.chat-body {
    padding: 15px;
    height: 250px;
    overflow-y: auto;
    display: flex;
    flex-direction: column;
    gap: 10px;
    background: rgba(0, 0, 0, 0.9); /* Fundo bem escuro */
}

.ai-msg {
    color: #00ff88; /* Verde neon para as respostas da IA */
    font-size: 13px;
    line-height: 1.4;
    border-left: 2px solid var(--primary-red);
    padding-left: 8px;
    background: rgba(255, 255, 255, 0.05);
}

.user-msg {
    color: #ffffff; /* Branco para o que o usuário digita */
    font-size: 13px;
    align-self: flex-end;
    background: rgba(255, 23, 68, 0.2);
    padding: 5px 10px;
    border-radius: 8px;
}

#ai-input {
    background: #111;
    border: 1px solid #333;
    color: white; /* Garante que o texto digitado seja visível */
    padding: 8px;
    width: 80%;
}

.container-central {
    background-image: 
        radial-gradient(circle at 2px 2px, rgba(255, 23, 68, 0.05) 1px, transparent 0);
    background-size: 40px 40px; /* Cria uma grade técnica sutil */
    padding-top: 120px;
    min-height: 100vh;
}

.titulo-sessao {
    text-align: center;
    margin-bottom: 50px;
}

.titulo-sessao p {
    color: #666;
    letter-spacing: 3px;
    text-transform: uppercase;
    font-size: 0.8rem;
    margin-top: 10px;
}

.monitor-grafico {
    height: 0;
    overflow: hidden;
    background: #050505;
    border-radius: 5px;
    margin: 15px 0;
    transition: all 0.5s ease;
    position: relative;
    border: 1px solid transparent;
}

.monitor-grafico.active {
    height: 100px;
    border-color: var(--primary-red);
    padding: 10px;
}

.canvas-ecg {
    width: 100%;
    height: 60px;
    border-bottom: 1px solid rgba(255, 23, 68, 0.2);
}

.status-evolucao {
    font-size: 9px;
    color: #00ff88;
    display: block;
    margin-top: 5px;
    letter-spacing: 1px;
}

.arsenal-tech {
    padding: 60px 20px;
    background: rgba(10, 10, 10, 0.5);
    border-top: 1px solid rgba(255, 23, 68, 0.1);
}

.subtitulo-tech {
    color: white;
    text-align: center;
    text-transform: uppercase;
    letter-spacing: 5px;
    font-size: 1.2rem;
    margin-bottom: 40px;
}

.grid-equipamentos {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 20px;
    max-width: 1200px;
    margin: 0 auto;
}

.equip-item {
    border-left: 2px solid var(--primary-red);
    padding-left: 15px;
    background: linear-gradient(90deg, rgba(255, 23, 68, 0.05), transparent);
}

.equip-item .label {
    display: block;
    color: var(--primary-red);
    font-weight: 800;
    font-size: 11px;
    text-transform: uppercase;
    margin-bottom: 5px;
}

.equip-item p {
    color: #888;
    font-size: 12px;
    line-height: 1.4;
}

/* Ajuste para o menu na página de tratamentos */
.tratamentos-page header {
    background: rgba(0, 0, 0, 0.9); /* Fundo escuro para destacar o menu branco */
    border-bottom: 1px solid var(--primary-red);
}

.tratamentos-page .texto-tecnologico {
    color: #111; /* Texto escuro para o fundo claro da grade */
    text-shadow: 1px 1px 2px rgba(0,0,0,0.1);
}

.equip-item:hover {
    background: linear-gradient(90deg, rgba(0, 255, 136, 0.1), transparent);
    border-left-color: #00ff88; /* Muda para verde ao interagir */
    cursor: help;
}

.equip-item:hover::after {
    content: " [ STATUS: CALIBRADO ]";
    font-size: 8px;
    color: #00ff88;
}

footer a.menu-link {
    display: table;           /* Faz cada link ocupar sua própria linha de forma compacta */
    margin-bottom: 2px;       /* VALOR CHAVE: diminua para 0 ou 2px para aproximar */
    color: rgb(255, 255, 255) !important;  /* Força o branco para ignorar o azul padrão */
    text-decoration: none;
    position: relative;
    padding: 1px 0;           /* Ajuste fino do respiro interno */
}

/* Ajuste a linha para ficar bem colada ao texto */
footer a.menu-link::after {
    content: '';
    position: absolute;
    width: 0;
    height: 2px;
    bottom: 0px;              /* Colado na base da letra */
    left: 0;
    background-color: #0056b3;
    transition: width 0.3s ease;
}

footer a[href^="tel"] { color: white !important; }

/* Cor padrão do telefone */
footer a[href^="tel"] {
    color: white !important;
    text-decoration: none;
    transition: color 0.3s ease;
}

/* Cor ao passar o mouse (ex: um tom de vermelho mais claro ou dourado) */
footer a[href^="tel"]:hover {
    color: #0056b3 !important; 
    text-shadow: 0 0 5px rgba(255, 255, 255, 0.5);
}

@keyframes pulsar {
    0% { transform: scale(1); }
    50% { transform: scale(1.05); }
    100% { transform: scale(1); }
}

/* Aplica a pulsação apenas quando o mouse estiver em cima */
footer a.menu-link:hover, 
footer a[href^="tel"]:hover {
    animation: pulsar 0.8s infinite ease-in-out;
    display: inline-block; /* Necessário para o transform funcionar */
}

/* Faz o botão do chat pulsar suavemente o tempo todo */
.core-ai-button { /* Use a classe correta do seu botão de chat */
    animation: pulsar 2s infinite ease-in-out;
}

/* Faz o botão principal pulsar suavemente */
.ai-agent-btn {
    position: relative;
    animation: pulsarBotao 2s infinite ease-in-out;
    transition: all 0.3s ease;
}

/* Cria o efeito de "onda" no anel ao redor do robô */
.ai-core-ring {
    position: absolute;
    width: 100%;
    height: 100%;
    border: 2px solid #ff0000;
    border-radius: 50%;
    animation: ondaRing 2s infinite ease-out;
    pointer-events: none; /* Não atrapalha o clique no botão */
}

/* Keyframes para o Botão (Pulso de leve) */
@keyframes pulsarBotao {
    0% { transform: scale(1); }
    50% { transform: scale(1.08); }
    100% { transform: scale(1); }
}

/* Keyframes para o Anel (Efeito de expansão) */
@keyframes ondaRing {
    0% { transform: scale(1); opacity: 0.8; }
    100% { transform: scale(1.8); opacity: 0; }
}

.ai-agent-btn:hover {
    filter: brightness(1.3) drop-shadow(0 0 10px #ff0000);
    animation: batidaCoracao 0.5s infinite; /* Usa a batida rápida que criamos antes */
    cursor: pointer;
}

.ai-agent-btn:hover .fas.fa-robot {
    color: #ff0000; /* O robô muda de cor ao passar o mouse */
}

/* Animação de pulsação do botão */
@keyframes heartBeat {
  0% { transform: scale(1); }
  14% { transform: scale(1.1); }
  28% { transform: scale(1); }
  42% { transform: scale(1.15); }
  70% { transform: scale(1); }
}

/* Animação da "onda" de energia do anel */
@keyframes ringPulse {
  0% { transform: scale(1); opacity: 0.5; }
  100% { transform: scale(1.8); opacity: 0; }
}

/* Aplicando ao botão do CORE AI */
.ai-agent-btn {
  animation: heartBeat 1.5s infinite ease-in-out;
  position: relative;
  z-index: 10;
  border: none;
  background: transparent;
}

/* Estilizando o anel de pulsação */
.ai-core-ring {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 100%;
  height: 100%;
  border: 2px solid #ff0000;
  border-radius: 50%;
  animation: ringPulse 2s infinite ease-out;
  pointer-events: none;
}

/* Animação de brilho pulsante (Neon) */
@keyframes neonGlow {
  0% { box-shadow: 0 0 5px #ff0000, 0 0 10px #ff0000; }
  50% { box-shadow: 0 0 20px #ff0000, 0 0 30px #ff0000; }
  100% { box-shadow: 0 0 5px #ff0000, 0 0 10px #ff0000; }
}

/* Aplicando ao botão do robô */
.ai-agent-btn {
  background: #1a1a1a;
  border: 2px solid #ff0000;
  border-radius: 50%;
  padding: 15px;
  animation: neonGlow 2s infinite ease-in-out;
  transition: all 0.3s ease;
}

/* Faz o ícone do robô "vibrar" no hover */
.ai-agent-btn:hover i {
  animation: glitch 0.3s infinite;
  color: #ffffff;
}
@keyframes glitch {
  0% { transform: translate(0); }
  20% { transform: translate(-2px, 2px); }
  40% { transform: translate(-2px, -2px); }
  60% { transform: translate(2px, 2px); }
  80% { transform: translate(2px, -2px); }
  100% { transform: translate(0); }
}

/* Links do rodapé e telefone */
footer a.menu-link, 
footer a[href^="tel"] {
  color: white !important;
  text-decoration: none;
  position: relative;
  transition: 0.3s;
}

footer a.menu-link:hover, 
footer a[href^="tel"]:hover {
  color: #00ff88 !important;
  text-shadow: 0 0 10px #ff0000; /* Brilho neon no texto do numero do TELEFONE FOOTER */
  animation: heartBeat 0.8s infinite; /* Pulsação que criamos antes */
}

/* Animação de Pulsação */
@keyframes pulsoRedes {
    0% { transform: scale(1); filter: drop-shadow(0 0 2px rgba(255, 23, 68, 0.4)); }
    50% { transform: scale(1.15); filter: drop-shadow(0 0 10px rgba(255, 23, 68, 0.8)); }
    100% { transform: scale(1); filter: drop-shadow(0 0 2px rgba(255, 23, 68, 0.4)); }
}

/* Aplicando aos ícones do rodapé */
.footer-socials a i {
    color: #ffffff; /* Garante que os ícones comecem brancos */
    transition: all 0.3s ease;
    display: inline-block;
}

/* Efeito ao passar o mouse (Hover) */
.footer-socials a:hover i {
    color: #ff1744 !important; /* Muda para o vermelho da Clínica Core */
    animation: pulsoRedes 0.8s infinite; /* Ativa a pulsação infinita */
}

.footer-socials {
    display: flex;
    gap: 20px;
    justify-content: center; /* Centraliza os ícones no espaço deles */
    margin-top: 15px;
}

/* Garante que o link do telefone não fique azul no celular */
footer a[href^="tel"] {
    color: white !important;
    text-decoration: none;
}

/* Animação de Batimento Cardíaco Constante */
@keyframes batidaInfinita {
    0%, 100% { transform: scale(1); filter: drop-shadow(0 0 2px rgba(255, 255, 255, 0.2)); }
    15% { transform: scale(1.15); filter: drop-shadow(0 0 10px #ff1744); } /* Primeiro batimento */
    30% { transform: scale(1.05); }
    45% { transform: scale(1.2); filter: drop-shadow(0 0 15px #ff1744); } /* Segundo batimento */
}

/* Aplica a todos os ícones das redes sociais no rodapé */
.redes-sociais a i {
    color: white;
    display: inline-block;
    animation: batidaInfinita 1.5s ease-in-out infinite; /* Pulsa a cada 1.5s */
    margin: 0 10px; /* Garante que um ícone não bata no outro ao crescer */
}

/* Quando passar o mouse, a pulsação fica mais rápida e intensa */
.redes-sociais a:hover i {
    color: #00ff88 !important;
    animation-duration: 0.8s; 
    filter: drop-shadow(0 0 20px #ff1744);
}


.ai-agent-btn::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 2px;
    background: #ff1744;
    box-shadow: 0 0 15px #ff1744;
    animation: scannerRobo 2s linear infinite;
    pointer-events: none;
}

@keyframes scannerRobo {
    0% { top: 0; opacity: 0; }
    50% { opacity: 1; }
    100% { top: 100%; opacity: 0; }
}

nav ul li a {
    display: flex;
    align-items: center;
    gap: 8px; /* Espaço entre o ícone e o texto */
    color: white;
    text-decoration: none;
    transition: 0.3s;
}

nav ul li a i {
    color: #ff0000; /* Vermelho do seu tema */
    filter: drop-shadow(0 0 5px rgba(255, 0, 0, 0.5)); /* Efeito Neon */
    width: 18px; /* Tamanho consistente */
}

nav ul li a:hover {
    color: #ff0000;
}

/* Garante que o link seja um container flexível */
.nav-list li a {
    display: flex;
    align-items: center; /* Alinha verticalmente no centro */
    gap: 10px;           /* Distância entre ícone e texto */
    text-decoration: none;
    color: white;
    font-weight: 500;
}

/* Tamanho e cor dos ícones */
.nav-list i {
    width: 18px;
    height: 18px;
    stroke: #ff0000;    /* Cor da linha do ícone */
    stroke-width: 2px;
}

/* Ajuste específico para a seta do dropdown */
.arrow {
    width: 14px !important;
    height: 14px !important;
    margin-left: -4px;   /* Traz a seta mais para perto do texto */
    opacity: 0.8;
}

/* Estilo para o submenu não perder o alinhamento */
.submenu li a {
    padding: 10px 15px;
    font-size: 14px;
    justify-content: flex-start; /* Garante alinhamento à esquerda */
}

/* Efeito Neon ao passar o mouse */
.nav-list li a:hover i {
    filter: drop-shadow(0 0 5px #ff0000);
    transition: 0.3s;
}

/* Isso coloca os itens um ao lado do outro */
.nav-list {
    display: flex;
    flex-direction: row; /* Garante a orientação horizontal */
    justify-content: center; /* Centraliza o menu no meio da barra vermelha */
    align-items: center;
    list-style: none;
    gap: 40px; /* Espaço entre Home, Procedimentos, etc. */
    margin: 0;
    padding: 0;
    width: 100%;
}

/* Garante que o item da lista não quebre */
.nav-list li {
    position: relative; /* Importante para o submenu funcionar depois */
}

/* Alinhamento interno do link (Ícone + Texto) */
.nav-list li a {
    display: flex;
    align-items: center;
    gap: 8px; /* Espaço entre o ícone e a palavra */
    color: white;
    text-decoration: none;
    white-space: nowrap; /* Impede que o texto quebre em duas linhas */
}

.nav-list i {
    width: 20px;
    height: 20px;
    flex-shrink: 0; /* Impede que o ícone "amasse" */
}

.submenu {
    display: none; /* Esconde por padrão */
    position: absolute; /* Faz flutuar sobre o conteúdo */
    top: 100%; /* Aparece logo abaixo do item pai */
    left: 0;
    background-color: #1a1a1a; /* Fundo escuro para contrastar */
    padding: 10px;
    z-index: 1000;
}

.dropdown:hover .submenu {
    display: block; /* Mostra ao passar o mouse */
}

/* Alinha o menu na horizontal */
.nav-list {
    display: flex !important;
    flex-direction: row !important;
    justify-content: center;
    align-items: center;
    gap: 25px;
    list-style: none;
    margin: 0;
    padding: 20px;
}

/* Alinha Ícone e Texto */
.nav-list li a {
    display: flex;
    align-items: center;
    gap: 8px; /* Espaço entre ícone e palavra */
    color: white;
    text-decoration: none;
    font-family: sans-serif;
}

/* Estilo dos ícones Lucide */
.nav-list i {
    width: 18px;
    height: 18px;
    color: #ff0000; /* Vermelho Neon */
}


/* Container principal do Menu */
.nav-list {
    display: flex !important; /* Força ficar um ao lado do outro */
    flex-direction: row !important;
    justify-content: center; /* Centraliza no meio da barra vermelha */
    align-items: center;
    list-style: none;
    gap: 30px; /* Espaçamento entre os itens */
    margin: 0;
    padding: 15px 0;
    background-color: transparent; /* A barra vermelha já está no header */
}

/* Estilo de cada link (Ícone + Texto) */
.nav-list li a {
    display: flex;
    align-items: center;
    gap: 8px;
    color: #ffffff; /* Garante que o texto fique branco */
    text-decoration: none;
    font-weight: bold;
    font-size: 16px;
    transition: 0.3s;
}

/* Ajuste dos Ícones */
.nav-list i, .nav-list svg {
    width: 20px;
    height: 20px;
    color: #ff0000; /* Cor vermelha para os ícones */
    filter: drop-shadow(0 0 5px rgba(255, 0, 0, 0.5)); /* Efeito neon */
}

/* Hover para efeito tecnológico */
.nav-list li a:hover {
    color: #ff0000;
    text-shadow: 0 0 10px rgba(255, 0, 0, 0.8);
}



.ai-bubble {
    background-color: #00ff88; /* Fundo levemente claro */
    backdrop-filter: blur(5px);                 /* Efeito de vidro fosco */
    color: #0a0a0a;                             /* Texto branco */
    padding: 1px;
    border-radius: 1px;
    border-left: 4px solid #ff0000;             /* Um detalhe em vermelho para combinar */
    text-align: center;
}

/* O seletor deve ser idêntico à classe do HTML */
.redes-sociais-titulo {
    display: inline-block !important; /* Força o elemento a aceitar o efeito de aumentar */
    color: white;
    cursor: pointer;
    transition: color 0.3s ease;
    text-align: center;
    /* Inicia a animação assim que a página carrega */
    animation: heartPulse 1.5s ease-in-out infinite;
}

/* Efeito ao passar o mouse */
.redes-sociais-titulo:hover {
    color: #00ff88 !important; /* Muda a cor para vermelho */
    animation-duration: 0.7s;    /* Faz o "coração" bater mais rápido no hover */
}

/* Definição da animação de batimento */
@keyframes heartPulse {
    0% { transform: scale(1); }
    15% { transform: scale(1.1); }
    30% { transform: scale(1); }
    45% { transform: scale(1.15); }
    100% { transform: scale(1); }
}

/* Efeito ao CLICAR (enquanto o botão do mouse estiver pressionado) */
.redes-sociais-titulo:active {
    transform: scale(1.3) !important; /* Aumenta 30% no clique */
    color: #ff3333 !important;        /* Um vermelho mais brilhante */
    transition: transform 0.1s ease;  /* Resposta imediata ao clique */
}

.redes-sociais-titulo {
    display: inline-block !important;
    color: white;
    cursor: pointer;
    transition: all 0.2s ease; /* Suaviza cor e tamanho */
    animation: heartPulse 1.5s ease-in-out infinite;
}

/* Aplica a animação à imagem  CORAÇÃO INICIAL LOGO */
.coracao-pulsante-logoinicio {
  animation: pulsar 0.9s ease-in-out infinite;
  display: block;
  margin: 0 auto; /* Mantém centralizado */
  border-radius: 50%; /* Garante que o efeito seja circular */
  width: 100px;
}

@keyframes pulsar {
  0% { transform: scale(1); }
  15% { transform: scale(1.15); } /* S1 - Lub */
  30% { transform: scale(1.05); }
  45% { transform: scale(1.10); } /* S2 - Dub */
  100% { transform: scale(0); }
}

/* Muda a cor de todos os ícones do menu */
.nav-list i, .nav-list svg {
    color: #00ff88; /* Vermelho neon suave */
    stroke: #00ff88; /* Necessário para ícones Lucide (SVG) */
    width: 20px;    /* Ajusta o tamanho se precisar */
    height: 20px;
    vertical-align: middle;
    margin-right: 8px;
    transition: all 0.3s ease;
}

/* Muda a cor quando você passa o mouse no link */
.nav-list li a:hover svg, 
.nav-list li a:hover {
    color: #00ff88;
    stroke: #ffffff;
    filter: drop-shadow(0 0 8px #00ff88); /* Efeito de brilho no hover */
}

/* 1. Definimos a animação (mesma de antes) */
@keyframes pulse-active {
    0% {
        filter: drop-shadow(0 0 2px rgba(255, 0, 0, 0.7));
        transform: scale(1);
    }
    50% {
        filter: drop-shadow(0 0 12px rgba(255, 0, 0, 1));
        transform: scale(1.2); /* O ícone cresce no hover */
    }
    100% {
        filter: drop-shadow(0 0 2px rgba(255, 0, 0, 0.7));
        transform: scale(1);
    }
}

/* 2. Estado normal dos ícones (sem pulsar) */
.nav-list i, .nav-list svg {
    color: #ff4d4d;
    stroke: #ff4d4d;
    display: inline-block;
    transition: all 0.3s ease; /* Transição suave para entrar a animação */
}

/* 3. Efeito ao por o mouse (HOVER) */
.nav-list li a:hover i, 
.nav-list li a:hover svg {
    color: #ffffff;      /* Muda para branco no hover */
    stroke: #ffffff;     /* Muda para branco no hover */
    animation: pulse-active 0.8s infinite ease-in-out; /* Começa a pulsar rápido */
    cursor: pointer;
}

/* Definição da animação de batida de coração */
@keyframes heartBeat {
  0% {
    transform: scale(1);
    text-shadow: 0 0 0px rgba(255, 0, 0, 0);
  }
  14% {
    transform: scale(1.1); /* Primeira batida */
    text-shadow: 0 0 10px rgba(255, 0, 0, 0.7);
  }
  28% {
    transform: scale(1);
  }
  42% {
    transform: scale(1.15); /* Segunda batida (mais forte) */
    text-shadow: 0 0 15px rgba(255, 0, 0, 0.8);
  }
  70% {
    transform: scale(1);
    text-shadow: 0 0 0px rgba(255, 0, 0, 0);
  }
}

/* Aplicando ao texto do rodapé */
.footer-text {
  display: inline-block;
  color: #00ff88; /* Ajuste para o tom exato de vermelho da sua logo */
  font-weight: bold;
  text-decoration: none;
  /* A animação dura 1.8s e repete infinitamente */
  animation: heartBeat 1.8s ease-in-out infinite;
}

.slogan-cor {
  background: linear-gradient(90deg, #00ff88, #f80101);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  font-weight: bold;
}



/* 1. Quando o mouse passa (Hover) */
.sua-classe-da-barra-verde:hover {
    color: #00ff88 !important; /* Mantendo o preto para ler no verde */
    text-align: center;
    
  
}

.sua-classe-da-barra-verde {
    grid-column: 1 / -1; 
    text-align: center;
    padding: 15px;
    cursor: pointer;
    
    /* 1. Esconde o texto inicialmente */
    opacity: 0; 
    
    /* 2. Faz o surgimento ser suave (0.5 segundos) */
    transition: opacity 0.5s ease, color 0.3s ease; 
    
    color: white; /* Cor padrão */
}

.sua-classe-da-barra-verde:hover {
    /* 3. Mostra o texto ao passar o mouse */
    opacity: 1; 
    
    /* 4. Aplica o seu efeito de cor */
    color: #00ff88 !important; 
}

@keyframes batidaFixa {
    0% { transform: scale(1); }
    50% { transform: scale(1.1); } /* Pulsa sem empurrar os vizinhos */
    100% { transform: scale(1); }
}


#chat-messages {
    display: flex;
    flex-direction: column;
    gap: 10px;
    padding: 10px;
    overflow-y: auto;
}

/* Estilo para suas perguntas (Alinhadas à direita) */
.user-msg {
    align-self: flex-end;
    background: rgba(255, 0, 0, 0.2); /* Vermelho translúcido como seu tema */
    color: white;
    padding: 8px 12px;
    border-radius: 12px 12px 0 12px;
    border-right: 3px solid #ff0000;
    max-width: 80%;
    font-size: 0.9rem;
}

/* Estilo para as respostas da IA (Alinhadas à esquerda) */
.ai-msg {
    align-self: flex-start;
    background: rgba(0, 255, 136, 0.1); /* Verde tecnológico */
    color: #00ff88;
    padding: 8px 12px;
    border-radius: 12px 12px 12px 0;
    border-left: 3px solid #00ff88;
    max-width: 85%;
    font-size: 0.9rem;
    line-height: 1.4;
}







/* PADRÃO ESCURO DA PÁGINA */
.tratamentos-page {
    background-color: #000000; /* Remove o fundo branco indesejado */
    color: #ffffff;
    margin: 0;
}

/* TÍTULO BRANCO COM EFEITO DE ONDA ECG */
.texto-tecnologico {
    font-family: 'Orbitron', sans-serif;
    text-transform: uppercase;
    letter-spacing: 3px;
    font-size: 2.2rem;
    display: block;
    margin: 140px auto 40px auto; /* Desce o título para não sumir sob o menu */
    text-align: center;
    width: fit-content;
    position: relative;
    color: #ffffff; 
    text-shadow: 0 0 10px rgba(255, 255, 255, 0.3);
}

/* A LINHA QUE SOBE E DESCE PELAS LETRAS */
.texto-tecnologico::after {
    content: "";
    position: absolute;
    bottom: -5px; 
    left: 0;
    width: 100%;
    height: 3px;
    background: #00ff88; /* Verde neon padrão Clínica Core */
    box-shadow: 0 0 15px #00ff88, 0 0 30px #00ff88;
    
    /* Origem na base para o salto ser vertical */
    transform-origin: bottom; 
    
    /* Animação de pulso real */
    animation: batimentoReal 1.5s cubic-bezier(0.17, 0.67, 0.2, 1) infinite;
}

@keyframes batimentoReal {
    0%, 10%, 25%, 100% {
        transform: scaleY(1); /* Linha reta na base */
        opacity: 0.4;
    }
    15% {
        /* O PICO: A linha verde sobe cobrindo as letras brancas */
        transform: scaleY(15); 
        opacity: 1;
    }
    20% {
        /* Pequeno rebote elétrico */
        transform: scaleY(3);
        opacity: 0.7;
    }
}

/* SINCRONIZA O BRILHO DO TEXTO COM O PICO DA LINHA */
.texto-tecnologico {
    animation: brilhoSincronizado 1.5s infinite;
}

@keyframes brilhoSincronizado {
    0%, 10%, 25%, 100% { color: #ffffff; filter: brightness(1); }
    15% { color: #00ff88; filter: brightness(1.8); text-shadow: 0 0 20px #00ff88; }
}




* TÍTULO BRANCO COM EFEITO DE ONDA ECG */
.texto-tecnologico {
    font-family: 'Orbitron', sans-serif;
    text-transform: uppercase;
    letter-spacing: 3px;
    font-size: 2.2rem;
    display: block;
    margin: 140px auto 40px auto; /* Desce o título para não sumir sob o menu */
    text-align: center;
    width: fit-content;
    position: relative;
    color: #ffffff; 
    text-shadow: 0 0 10px rgba(255, 255, 255, 0.3);
}

/* A LINHA QUE SOBE E DESCE PELAS LETRAS */
.texto-tecnologico::after {
    content: "";
    position: absolute;
    bottom: -5px; 
    left: 0;
    width: 100%;
    height: 3px;
    background: #00ff88; /* Verde neon padrão Clínica Core */
    box-shadow: 0 0 15px #00ff88, 0 0 30px #00ff88;
    
    /* Origem na base para o salto ser vertical */
    transform-origin: bottom; 
    
    /* Animação de pulso real */
    animation: batimentoReal 1.5s cubic-bezier(0.17, 0.67, 0.2, 1) infinite;
}

@keyframes batimentoReal {
    0%, 10%, 25%, 100% {
        transform: scaleY(1); /* Linha reta na base */
        opacity: 0.4;
    }
    15% {
        /* O PICO: A linha verde sobe cobrindo as letras brancas */
        transform: scaleY(15); 
        opacity: 1;
    }
    20% {
        /* Pequeno rebote elétrico */
        transform: scaleY(3);
        opacity: 0.7;
    }
}

/* SINCRONIZA O BRILHO DO TEXTO COM O PICO DA LINHA */
.hi {
    animation: brilhoSincronizado 1.5s infinite;
}

@keyframes brilhoSincronizado {
    0%, 10%, 25%, 100% { color: #ffffff; filter: brightness(1); }
    15% { color: #00ff88; filter: brightness(1.8); text-shadow: 0 0 20px #00ff88; }
}



/* TÍTULO BRANCO COM EFEITO DE ONDA ECG */
.historia-titulo {
    font-family: 'Orbitron', sans-serif;
    text-transform: uppercase;
    letter-spacing: 3px;
    font-size: 2.2rem;
    display: block;
    margin: 140px auto 40px auto; /* Desce o título para não sumir sob o menu */
    text-align: center;
    width: fit-content;
    position: relative;
    color: #ffffff; 
    text-shadow: 0 0 10px rgba(255, 255, 255, 0.3);
}

/* A LINHA QUE SOBE E DESCE PELAS LETRAS */
.historia-titulo::after {
    content: "";
    position: absolute;
    bottom: -5px; 
    left: 0;
    width: 100%;
    height: 3px;
    background: #00ff88; /* Verde neon padrão Clínica Core */
    box-shadow: 0 0 15px #00ff88, 0 0 30px #00ff88;
    
    /* Origem na base para o salto ser vertical */
    transform-origin: bottom; 
    
    /* Animação de pulso real */
    animation: batimentoReal 1.5s cubic-bezier(0.17, 0.67, 0.2, 1) infinite;
}

@keyframes batimentoReal {
    0%, 10%, 25%, 100% {
        transform: scaleY(1); /* Linha reta na base */
        opacity: 0.4;
    }
    15% {
        /* O PICO: A linha verde sobe cobrindo as letras brancas */
        transform: scaleY(15); 
        opacity: 1;
    }
    20% {
        /* Pequeno rebote elétrico */
        transform: scaleY(3);
        opacity: 0.7;
    }
}

/* SINCRONIZA O BRILHO DO TEXTO COM O PICO DA LINHA */
.historia-titulo {
    animation: brilhoSincronizado 1.5s infinite;
}

@keyframes brilhoSincronizado {
    0%, 10%, 25%, 100% { color: #ffffff; filter: brightness(1); }
    15% { color: #00ff88; filter: brightness(1.8); text-shadow: 0 0 20px #00ff88; }
}




* TÍTULO BRANCO COM EFEITO DE ONDA ECG */
.historia-titulo {
    font-family: 'Orbitron', sans-serif;
    text-transform: uppercase;
    letter-spacing: 3px;
    font-size: 2.2rem;
    display: block;
    margin: 140px auto 40px auto; /* Desce o título para não sumir sob o menu */
    text-align: center;
    width: fit-content;
    position: relative;
    color: #ffffff; 
    text-shadow: 0 0 10px rgba(255, 255, 255, 0.3);
}

/* A LINHA QUE SOBE E DESCE PELAS LETRAS */
.historia-titulo::after {
    content: "";
    position: absolute;
    bottom: -5px; 
    left: 0;
    width: 100%;
    height: 3px;
    background: #00ff88; /* Verde neon padrão Clínica Core */
    box-shadow: 0 0 15px #00ff88, 0 0 30px #00ff88;
    
    /* Origem na base para o salto ser vertical */
    transform-origin: bottom; 
    
    /* Animação de pulso real */
    animation: batimentoReal 1.5s cubic-bezier(0.17, 0.67, 0.2, 1) infinite;
}

@keyframes batimentoReal {
    0%, 10%, 25%, 100% {
        transform: scaleY(1); /* Linha reta na base */
        opacity: 0.4;
    }
    15% {
        /* O PICO: A linha verde sobe cobrindo as letras brancas */
        transform: scaleY(15); 
        opacity: 1;
    }
    20% {
        /* Pequeno rebote elétrico */
        transform: scaleY(3);
        opacity: 0.7;
    }
}

/* SINCRONIZA O BRILHO DO TEXTO COM O PICO DA LINHA */
.hi {
    animation: brilhoSincronizado 1.5s infinite;
}

@keyframes brilhoSincronizado {
    0%, 10%, 25%, 100% { color: #ffffff; filter: brightness(1); }
    15% { color: #00ff88; filter: brightness(1.8); text-shadow: 0 0 20px #00ff88; }
}

body {
    background-color: #050505; /* Fundo quase preto */
    color: white;
    font-family: 'Segoe UI', sans-serif;
}

.container-tratamentos {
    display: flex;
    justify-content: center;
    gap: 20px;
    padding: 50px;
}

.card {
    background: #0a0a0a;
    border-radius: 20px;
    padding: 40px 20px;
    text-align: center;
    width: 300px;
    border: 1px solid #1a1a1a;
    transition: 0.3s;
}

/* Efeito de borda vermelha no card do meio (ou no hover) */
.card.active, .card:hover {
    border-color: #ff0000;
    box-shadow: 0 0 20px rgba(255, 0, 0, 0.2);
}

.icon-box {
    font-size: 50px;
    color: #ff0000;
    margin-bottom: 20px;
    text-shadow: 0 0 15px #ff0000; /* Brilho no ícone */
}

.btn-glow {
    display: inline-block;
    background-color: #e60000;
    color: white;
    padding: 12px 25px;
    border-radius: 50px;
    text-decoration: none;
    font-weight: bold;
    box-shadow: 0 0 15px rgba(230, 0, 0, 0.5);
    transition: 0.3s;
}

.btn-glow:hover {
    transform: scale(1.05);
    box-shadow: 0 0 25px #ff0000;
}

.pulse-text {
    animation: flash 0.1s ease-out;
}

@keyframes flash {
    0% { filter: brightness(1); transform: scale(1); }
    50% { filter: brightness(2.5); transform: scale(1.1); }
    100% { filter: brightness(1); transform: scale(1); }
}

.pulse-num {
    animation: flash 0.15s ease-out;
}

@keyframes flash {
    0% { filter: brightness(1); transform: scale(1); }
    50% { filter: brightness(2); transform: scale(1.1); color: #ff5555; }
    100% { filter: brightness(1); transform: scale(1); }
}

/* Efeito de pulso para o número */
.pulse-active {
    animation: pulse-zoom 0.15s ease-out;
}

/* Efeito de vibração para o monitor em caso de arritmia */
.vibrate {
    animation: shake 0.2s infinite;
}

@keyframes pulse-zoom {
    0% { transform: scale(1); filter: brightness(1); }
    50% { transform: scale(1.15); filter: brightness(2); }
    100% { transform: scale(1); filter: brightness(1); }
}

@keyframes shake {
    0% { transform: translate(0); }
    25% { transform: translate(2px, -2px); }
    50% { transform: translate(-2px, 2px); }
    75% { transform: translate(2px, 2px); }
    100% { transform: translate(0); }
}

.ia-container {
    display: flex;
    justify-content: center;
    align-items: center;
    overflow: hidden;
}

.ia-text {
    color: #00ff88; /* Um tom esverdeado de 'sistema ativo' ou use o branco/vermelho do seu tema */
    font-family: 'Courier New', Courier, monospace; /* Fonte estilo terminal */
    font-weight: bold;
    white-space: nowrap;
    border-right: 3px solid #ff0000; /* Cursor piscante vermelho */
    width: 0;
    overflow: hidden;
    animation: 
        typing 4s steps(50, end) forwards,
        blink 0.8s infinite;
    text-shadow: 0 0 8px rgba(0, 255, 136, 0.5);
}

/* Animação de digitação */
@keyframes typing {
    from { width: 0; }
    to { width: 100%; }
}

/* Animação do cursor piscando */
@keyframes blink {
    from, to { border-color: transparent; }
    50% { border-color: #ff0000; }
}

/* Esconde o botão hambúrguer por padrão em telas grandes */
.menu-toggle {
  display: none;
  flex-direction: column;
  cursor: pointer;
  background: none;
  border: none;
}

.bar {
  height: 3px;
  width: 25px;
  background-color: white; /* Ou a cor vermelha do seu tema */
  margin: 3px 0;
  border-radius: 10px;
}

/* Media Query para Celulares */
@media (max-width: 768px) {
  .menu-toggle {
    display: flex; /* Mostra o botão no celular */
  }

  .nav-list {
    display: none; /* Esconde a lista horizontal */
    flex-direction: column;
    position: absolute;
    top: 70px; /* Ajuste conforme a altura do seu header */
    left: 0;
    width: 100%;
    background-color: #000; /* Fundo escuro conforme seu site */
    text-align: center;
  }

  .nav-list.active {
    display: flex; /* Mostra a lista quando clicado */
  }
  
  /* Ajuste dos cards de redes sociais para ficarem em uma coluna só */
  .container-redes { /* Nome da sua classe que envolve os cards */
    flex-direction: column;
    align-items: center;
  }
}

/* ============================================================
   APENAS RESPONSIVIDADE - NÃO ALTERA SEUS EFEITOS ORIGINAIS
   ============================================================ */

@media (max-width: 992px) {
    .container {
        width: 95%;
        padding: 0 15px;
    }

    .card-content {
        gap: 20px; /* Ajusta o espaço entre cards em tablets */
    }
}

@media (max-width: 768px) {
    /* Ajuste do Cabeçalho */
    header {
        height: auto !important;
        padding: 20px 0;
    }

    .header-link {
        flex-direction: column; /* Links ficam um abaixo do outro */
        gap: 15px;
    }

    /* Ajuste dos Cards */
    .card-content {
        flex-direction: column !important; /* Empilha os cards no celular */
        align-items: center;
    }

    .card {
        width: 90% !important; /* Card ocupa a largura quase toda */
        max-width: 350px;
    }

    /* Ajuste dos Títulos */
    .localizacao-content h2 {
        font-size: 30px; /* Diminui um pouco o título para não quebrar */
        text-align: center;
    }
}

@media (max-width: 480px) {
    .header-link a {
        font-size: 14px;
    }

    .card-info h3 {
        font-size: 20px;
    }

    .card-info p {
        font-size: 14px;
    }
}


/* Botão de listras (Hambúrguer) - Escondido no PC */
.menu-mobile-btn {
    display: none;
    color: #ff0043; /* Vermelho neon da sua marca */
    font-size: 30px;
    cursor: pointer;
    transition: 0.3s;
}

/* Regras para Celular e Tablet */
@media (max-width: 850px) {
    .menu-mobile-btn {
        display: block; /* Aparece no mobile */
    }

    nav {
        display: none; /* Esconde o menu por padrão */
        position: absolute;
        top: 90px; /* Ajuste conforme a altura do seu header */
        left: 0;
        width: 100%;
        background: rgba(0, 0, 0, 0.95); /* Fundo preto semi-transparente */
        border-bottom: 2px solid #ff0043;
        z-index: 1000;
    }

    /* Classe ativada pelo JavaScript */
    nav.active {
        display: block;
    }

    .nav-list {
        flex-direction: column !important; /* Força os itens a ficarem um abaixo do outro */
        padding: 20px !important;
        align-items: flex-start !important;
        gap: 15px !important;
    }

    /* Ajuste do Dropdown para não flutuar no celular */
    .dropdown:hover .submenu {
        position: static !important;
        width: 100%;
        background: transparent !important;
        border: none !important;
        padding-left: 20px !important;
    }
}


/* Garanta que o submenu apareça quando o pai for clicado ou estiver ativo */
.dropdown.active .submenu, 
.dropdown:hover .submenu {
    display: block !important; /* Ou flex, dependendo do seu design */
    position: relative; /* No mobile, 'relative' costuma funcionar melhor que 'absolute' */
    visibility: visible;
    opacity: 1;
}

/* Garante que o submenu ocupe espaço dentro do menu lateral */
@media (max-width: 768px) {
  .submenu {
    display: none; /* Esconde por padrão */
    position: static; /* Importante: remove o 'absolute' que costuma bugar no mobile */
    width: 100%;
    background: rgba(0, 0, 0, 0.2); /* Um fundo leve para destacar */
  }

  /* Quando a classe 'active' for adicionada via JS */
  .dropdown.active .submenu {
    display: block !important;
  }
}


footer#contato {
  position: relative;
  z-index: 10; 
  clear: both;
}














