@import url('https://fonts.googleapis.com/css2?family=Montserrat:ital,wght@0,100..900;1,100..900&display=swap');

@import "tailwindcss";


/* Você ainda pode usar o :root para coisas que não são do Tailwind */
:root {
  --cor-primaria: #007bff;
}


html {
    font-family: 'Montserrat', sans-serif;
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    scroll-behavior: smooth;
}


header {
    background: #353434 url('components/img/bg00.JPG') no-repeat;
    background-blend-mode: overlay;
    
    background-size: cover; 
    
    background-position: center center; 
    
    min-height: 100vh; 
}

header li{
    list-style: none;
    float: left;
    padding: 10px;

}


.iconeservicos i{
    color: var(--cor-primaria);
    font-size: 60px;
}


@property --angle {
  syntax: '<angle>';
  initial-value: 36deg;
  inherits: false;
}

.itenstec01 {
    max-width: 400px;
    padding: 30px 35px;
    border-radius: 14px;
    /* Usamos a variável no gradiente */
    background: linear-gradient(var(--angle), rgba(2, 0, 36, 1) 0%, rgba(9, 9, 121, 0.2) 35%, rgba(0, 212, 255, 0.2) 100%);
    transition: --angle 0.5s ease, transform 0.5s ease;
}

.itenstec01:hover {
    --angle: 150deg; /* O navegador agora sabe animar de 36 para 210 */
    transform: scale(1.03);
}
.itenstec01 b{font-size: 17pt;}



.qualificacao{
    display: flex;
    flex-wrap: wrap;
    gap: 30px;
}

.qualificacao li{
    list-style: none;
    transition: 0.3s ease-in;
}

.qualificacao li:hover{
    transform: scale(1.05);
}

.qualificacao i{
    padding: 5px;
    font-size: 16pt;
    color: var(--cor-primaria);
}




/* fade-in */


.fade-in {
  opacity: 0 !important;
  transform: translateY(30px) !important;
  transition: opacity 0.8s ease-out, transform 0.8s ease-out !important;
  visibility: hidden; 
}

.fade-in.visible {
  opacity: 1 !important;
  transform: translateY(0) !important;
  visibility: visible;
}



/* Background gradient */


@theme {
  --color-azul-foco: #0047ff; /* Um azul vibrante para o centro do degradê */
}

.bg-foco-radial {
  /* Fundo base preto */
  background-color: #000;
  
  /* Criando múltiplos focos de luz */
  background-image: 
    radial-gradient(circle at 20% 30%, rgba(0, 71, 255, 0.15) 0%, transparent 50%),
    radial-gradient(circle at 80% 70%, rgba(0, 71, 255, 0.15) 0%, transparent 50%),
    radial-gradient(circle at 50% 50%, rgba(0, 71, 255, 0.1) 0%, transparent 70%);
  
  background-attachment: fixed; /* O fundo não rola com o conteúdo */
  min-height: 100vh;
}



/* carrossel */
#carousel-container {
    overflow-x: auto; /* Permite o scroll */
    white-space: nowrap;
    -ms-overflow-style: none;  /* Esconde barra no IE/Edge */
    scrollbar-width: none;  /* Esconde barra no Firefox */
}

/* Esconde barra no Chrome/Safari */
#carousel-container::-webkit-scrollbar {
    display: none;
}

.itensprovas {
    width: 300px;
    height: 400px;
    border-radius: 12px;
    
    /* Configurações da imagem de fundo */
    background-position: center;
    background-size: cover;
    background-repeat: no-repeat;
    
    /* Efeito de zoom no hover */
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    cursor: pointer;
    border: 2px solid rgba(255, 255, 255, 0.1);
}



.faq {
    max-width: 600px;
    padding: 50px 40px;
    margin: 0 auto; /* Centraliza a div na página */
    
    /* Flexbox para alinhar o conteúdo interno */
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;

    /* Configuração da Borda com Degradê */
    border: 1px solid transparent;
    background: 
        linear-gradient(#000, #000) padding-box, /* Cor de fundo interna (preto) */
        linear-gradient(210deg, rgba(2,0,36,1) 0%, rgba(9,9,121,1) 35%, rgba(8,137,163,1) 100%) border-box;
    
    border-radius: 17px;
    box-shadow: 0 0 15px rgba(8, 137, 163, 0.2);
    cursor: pointer;
}

.faq b {
    display: inline-block;
    padding-bottom: 8px;
    position: relative;
    color: #fff;
    transition: color 0.3s ease;
}

/* A linha fina de 1px */
.faq b::after {
    content: "";
    position: absolute;
    left: 0;
    bottom: 0;
    width: 0;             /* Começa escondida */
    height: 1px;
    background: linear-gradient(90deg, rgba(9,9,121,1) 0%, rgba(8,137,163,1) 100%);
    transition: width 0.5s cubic-bezier(0.22, 1, 1, 1); /* Transição suave */
}

/* O GATILHO: Quando a caixa .faq recebe o mouse, a linha do b cresce */
.faq:hover b::after {
    width: 100%;
}

/* Opcional: muda a cor do texto do título no hover da caixa também */
.faq:hover b {
    color: rgba(8, 137, 163, 1);
}

.faq p {
    display: inline-block;
    padding-top: 8px;
    position: relative;
}




.btn-whats {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    padding: 16px 36px;
    text-decoration: none;
    color: #fff;
    font-weight: 600;
    border-radius: 999px;
    position: relative;
    z-index: 1;
    overflow: hidden;
    
    /* 1. Removemos o fundo daqui para não conflitar com a sombra */
    background: transparent;
    border: 1px solid rgba(255, 255, 255, 0.1);
    
    /* 2. Sombra inicial suave */
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
    
    /* 3. Transição de sombra e transform separadas */
    transition: 
        transform 0.6s cubic-bezier(0.23, 1, 0.32, 1), 
        box-shadow 0.6s cubic-bezier(0.23, 1, 0.32, 1),
        border-color 0.4s ease;
}

/* 4. O Fundo Gradiente (Camada Inferior) */
.btn-whats::before {
    content: "";
    position: absolute;
    inset: 0; /* Preenche tudo */
    z-index: -1;
    background: linear-gradient(90deg, #020024 0%, #090979 35%, #0d7624 100%);
    background-size: 200% 100%;
    background-position: 0% 50%;
    transition: background-position 0.6s ease;
}

/* 5. HOVER SUAVE */
.btn-whats:hover {
    transform: translateY(-5px) scale(1.03);
    /* A sombra agora vai animar suavemente porque o fundo não está mudando nela */
    box-shadow: 0 15px 35px rgba(0, 212, 255, 0.35); 
    border-color: rgba(255, 255, 255, 0.4);
}

.btn-whats:hover::before {
    background-position: 100% 50%; /* Desliza o gradiente */
}

/* 6. Animação do Ícone */
.btn-whats i {
    font-size: 1.3rem;
    display: inline-block;
    transition: transform 0.6s cubic-bezier(0.23, 1, 0.32, 1);
}

.btn-whats:hover i {
    transform: translateX(5px) scale(1.2) rotate(10deg);
}

/* Animação de erro (tremida lateral) */
@keyframes shake {
    0%, 100% { transform: translateX(0); }
    20% { transform: translateX(-4px); }
    40% { transform: translateX(4px); }
    60% { transform: translateX(-4px); }
    80% { transform: translateX(4px); }
}

.input-erro {
    animation: shake 0.4s ease-in-out;
    border-color: #ef4444 !important; /* Vermelho do Tailwind (red-500) */
}

/* O texto de erro começa invisível */
.msg-erro {
    opacity: 0;
    transform: translateY(-10px);
    transition: all 0.3s ease;
    color: #ef4444;
    font-size: 0.875rem; /* text-sm */
    margin-top: 0.5rem;
    height: 0; /* Para não ocupar espaço quando invisível */
    overflow: hidden;
}

/* Quando ativado, ele aparece */
.msg-erro.show {
    opacity: 1;
    transform: translateY(0);
    height: auto; /* Ocupa espaço suavemente */
}

footer li{
    list-style: none;
}

/* Estilo Base da Foto de Perfil */
.perfil-neon {
    /* Garante que as transições sejam suaves e "amanteigadas" */
    transition:
        transform 0.5s cubic-bezier(0.25, 1, 0.5, 1),
        box-shadow 0.5s cubic-bezier(0.25, 1, 0.5, 1);

    box-shadow:
        0 0 25px rgba(0, 212, 255, 0.4),
        0 0 50px rgba(9, 9, 121, 0.2);

    position: relative;
    z-index: 2;
}

/* Efeito de Hover */
.perfil-neon:hover {
    transform: scale(1.01) translateY(-2px);

    box-shadow:
        8px 12px 35px rgba(0, 212, 255, 0.6),
        15px 20px 60px rgba(9, 9, 121, 0.4);
}


/* Botão de Voltar ao Topo */

.btn-topo {
    position: fixed;
    bottom: 30px;
    right: 30px;
    z-index: 9999; /* Fica acima de tudo */
    
    width: 50px;
    height: 50px;
    border-radius: 50%;
    
    color: white;
    font-size: 1.8rem;    
    cursor: pointer;
    
    /* Configuração da Animação de Aparecer/Sumir */
    opacity: 0;
    visibility: hidden;
    transform: translateY(20px); /* Começa um pouco para baixo */
    transition: all 0.4s cubic-bezier(0.25, 1, 0.5, 1);
}

/* Classe que o JS vai adicionar quando rolar a página */
.btn-topo.show {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

/* Hover: Efeito de Neon e Subida */
.btn-topo:hover {
    transform: translateY(-5px); /* Sobe um pouquinho */
}

.botaohome1{
   background: #0f2e7d;
    background: linear-gradient(95deg, rgba(15, 46, 125, 1) 0%, rgba(21, 38, 81, 0.8) 100%);
    border-radius: 25px;
    transition: 0.5s ease;
}


.botaohome1:hover{
    background: #0f2e7d;
    background: linear-gradient(95deg, rgba(15, 46, 125, 1) 90%, rgba(21, 38, 81, 1) 100%);
}