/*
* FIDATI - FOLHA DE ESTILOS PRINCIPAL (css.css)
* Organizada para clareza e manutenção.
*/

/* ==========================================================================
   1. Configurações Globais e Reset
   ========================================================================== */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    /* FIX: Adiciona padding ao topo para o scroll não ficar atrás do header fixo */
    scroll-padding-top: 110px; 
}

body {
    font-family: 'Roboto', 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    background-color: #1a1a1d; /* Cinza escuro profissional */
    color: #e0e0e0; /* Texto claro para alto contraste */
    line-height: 1.7; /* Altura de linha confortável */
    overflow-x: hidden;
    position: relative;
    min-height: 100vh;
}


/* ==========================================================================
   2. Layout Principal (Header, Main, Footer)
   ========================================================================== */
header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    background: rgba(15, 15, 18, 0.85);
    backdrop-filter: saturate(180%) blur(12px);
    -webkit-backdrop-filter: saturate(180%) blur(12px);
    z-index: 100;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0.8rem 2rem;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

main {
    padding-top: 120px; /* Garante espaço inicial para o header */
    max-width: 950px;
    margin: 0 auto;
    padding-left: 1.5rem;
    padding-right: 1.5rem;
}

footer {
    text-align: center;
    padding: 2rem;
    background: #111;
    color: #666;
    font-size: 0.9rem;
    margin-top: 4rem;
    position: relative;
    z-index: 10;
}


/* ==========================================================================
   3. Componentes de Navegação
   ========================================================================== */
.logo-header img {
    height: 65px;
    width: auto;
    border-radius: 50%;
    border: 2px solid #00f0f0;
    filter: drop-shadow(0 0 10px #00f0f080);
    transition: filter 0.3s ease, transform 0.3s ease;
}

.logo-header img:hover {
    transform: scale(1.05);
    filter: drop-shadow(0 0 15px #00f0f0);
}

nav {
    display: flex;
    align-items: center;
    gap: 1.5rem;
}

.nav-link-box a {
    color: #c0c0c0;
    text-decoration: none;
    font-family: 'Exo 2', sans-serif;
    font-weight: 700;
    font-size: 1rem;
    padding: 0.5rem 0.2rem;
    position: relative;
    transition: color 0.3s ease;
}

.nav-link-box a:hover {
    color: #00f0f0;
}

.nav-link-box a::after {
    content: '';
    position: absolute;
    width: 0;
    height: 2px;
    bottom: -2px;
    left: 0;
    background-color: #00f0f0;
    transition: width 0.3s ease;
}

.nav-link-box a:hover::after {
    width: 100%;
}

.nav-button-login {
    background-color: #00f0f0;
    color: #111 !important;
    font-family: 'Exo 2', sans-serif;
    font-weight: 700;
    padding: 0.6rem 1.2rem;
    border-radius: 8px;
    text-decoration: none;
    transition: background-color 0.3s, color 0.3s, transform 0.2s;
}

.nav-button-login:hover {
    background-color: #a000c0;
    color: #fff !important;
    transform: scale(1.03);
}


/* ==========================================================================
   4. Componente: Slideshow Principal
   ========================================================================== */
.slideshow-container {
  max-width: 1200px;
  position: relative;
  margin: 0 auto 3rem auto; /* Removida margem do topo, main já tem padding */
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 8px 30px rgba(0, 240, 240, 0.15);
  border: 1px solid rgba(255, 255, 255, 0.1);
}

.slideshow-container::before {
    content: '';
    position: absolute;
    top: 0; left: 0; right: 0; bottom: 0;
    background: rgba(0, 0, 0, 0.5);
    z-index: 2;
}

.my-slides {
  display: none;
}

.my-slides img {
  vertical-align: middle;
  width: 100%;
  height: 600px;
  object-fit: cover;
}

.slideshow-text {
    position: absolute;
    top: 0; left: 0;
    width: 100%;
    height: 100%;
    z-index: 3;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    color: #fff;
    text-align: center;
    padding: 1rem;
}

.slideshow-logo {
    max-width: 180px;
    width: 60%;
    border-radius: 50%;
    min-width: 100px;
    height: auto;
    margin-bottom: 1.5rem;
    filter: drop-shadow(3px 3px 20px rgba(0, 0, 0, 0.8));
}

.slideshow-text p {
    font-family: 'Exo 2', sans-serif;
    font-size: 1.8rem;
    font-weight: 400;
    text-shadow: 2px 2px 10px rgba(0, 0, 0, 0.8);
    color: #e0e0e0;
    margin-top: 0;
    padding: 0;
}


/* ==========================================================================
   5. Componente: Seções de Conteúdo
   ========================================================================== */
section {
    background: #2a2a30;
    border-radius: 12px;
    padding: 3rem;
    margin-bottom: 3rem;
    position: relative;
    z-index: 10;
    border: 1px solid rgba(255, 255, 255, 0.1);
    box-shadow: 0 4px 30px rgba(0, 0, 0, 0.4);
}

section h2 {
    margin-bottom: 2rem;
    font-family: 'Exo 2', sans-serif;
    font-size: 2.2rem;
    font-weight: 700;
    text-align: center;
    color: #ffffff;
    border-bottom: 2px solid #00f0f0;
    display: inline-block;
    padding-bottom: 0.5rem;
    margin-left: 50%;
    transform: translateX(-50%);
}

section p {
    font-size: 1.1rem;
    text-align: justify;
    max-width: 750px;
    margin: 0 auto 1.5rem auto;
    color: #d0d0d0;
}

.perfil-container {
    display: flex;
    align-items: center;
    gap: 2rem;
    margin-top: 2rem;
    flex-wrap: wrap;
    justify-content: center;
}

.perfil-img {
    border-radius: 50%;
    width: 150px;
    height: 150px;
    object-fit: cover;
    border: 3px solid #00f0f0;
}

.perfil-texto {
    flex: 1;
    min-width: 300px;
}
.perfil-texto p { text-align: left; margin-bottom: 0.5rem; }


/* ==========================================================================
   6. Componente: Grids de Itens (Cases/Soluções)
   ========================================================================== */
.produtos-lista {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
    margin-top: 2rem;
}

.produto-item {
    background: #1f1f22;
    border-radius: 12px;
    padding: 1.5rem;
    border: 1px solid rgba(255, 255, 255, 0.1);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    text-align: center;
    display: flex;
    flex-direction: column;
}

.produto-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 30px rgba(0, 240, 240, 0.1);
    cursor: pointer;
}

.produto-item img {
    width: 100%;
    max-width: 100px;
    height: 100px;
    margin: 0 auto 1rem auto;
    object-fit: contain;
}

.produto-item h3 {
    margin-bottom: 0.5rem;
    font-family: 'Exo 2', sans-serif;
    font-weight: 700;
    color: #00f0f0;
}

.produto-item .preco {
    font-weight: 700;
    color: #e0e0e0;
    font-size: 1.1rem;
    margin-top: auto;
    padding-top: 1rem;
}


/* ==========================================================================
   7. Componente: Modal de Detalhes
   ========================================================================== */
.modal-overlay {
    position: fixed; top: 0; left: 0; right: 0; bottom: 0;
    background: rgba(0,0,0,0.7);
    backdrop-filter: blur(5px);
    display: none;
    justify-content: center;
    align-items: center;
    z-index: 200;
    padding: 1rem;
}
.modal-overlay.active { display: flex; }

.modal-card {
    background: #2a2a30;
    border-radius: 15px;
    max-width: 550px;
    width: 100%;
    padding: 2rem;
    position: relative;
    color: #e0e0e0;
    box-shadow: 0 0 30px #00f0f050;
    text-align: center;
    border: 1px solid #00f0f0;
}
.modal-card img { width: 100%; max-width: 150px; height: auto; border-radius: 12px; margin-bottom: 1rem; object-fit: contain; }
.modal-card h3 { color: #00f0f0; }
.modal-card .preco { color: #fff; font-size: 1.2rem; margin-bottom: 1rem; }
.modal-card p { font-size: 1rem; color: #d0d0d0; text-align: center; }

.modal-close {
    position: absolute; top: 15px; right: 15px;
    background: transparent;
    color: #fff;
    border: none;
    font-size: 1.8rem;
    cursor: pointer;
    line-height: 1;
    transition: color 0.3s, transform 0.3s;
}
.modal-close:hover { color: #00f0f0; transform: scale(1.1); }


/* ==========================================================================
   8. Componente: Formulário de Contato
   ========================================================================== */
form { max-width: 600px; margin: 2rem auto 0 auto; display: flex; flex-direction: column; }
form label { margin-bottom: 0.5rem; font-weight: 600; color: #e0e0e0; }

/* Regra unificada para todos os campos do formulário */
form input, form textarea, form select {
    width: 100%; /* Garante que todos ocupem a largura total */
    padding: 0.8rem;
    margin-bottom: 1.2rem;
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 8px;
    background-color: #1f1f22;
    color: #e0e0e0;
    font-size: 1rem;
    box-sizing: border-box;
    transition: border-color 0.3s, box-shadow 0.3s;
}

/* Regra específica para remover a aparência padrão do select */
form select {
    appearance: none;
    -webkit-appearance: none;
    -moz-appearance: none;
    /* Seta customizada como background-image. É um SVG embutido e URL-encoded. */
    background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3e%3cpath fill='none' stroke='%23e0e0e0' stroke-linecap='round' stroke-linejoin='round' stroke-width='2' d='M2 5l6 6 6-6'/%3e%3c/svg%3e");
    background-repeat: no-repeat;
    background-position: right 0.8rem center;
    background-size: 1em;
    padding-right: 2.5rem; /* Espaço extra à direita para não sobrepor o texto na seta */
}
/* Estilo para a opção placeholder */
form select option[disabled] {
    color: #888;
}

/* Efeito de foco unificado */
form input:focus, form textarea:focus, form select:focus {
    outline: none;
    border-color: #00f0f0;
    box-shadow: 0 0 10px rgba(0, 240, 240, 0.3);
}

form button { padding: 0.9rem; border: none; border-radius: 8px; background-color: #00f0f0; color: #111; font-weight: 700; font-size: 1.1rem; cursor: pointer; transition: background-color 0.3s ease, transform 0.2s ease; }
form button:hover { background-color: #a000c0; color: #fff; transform: scale(1.02); }

/* ==========================================================================
   9. Efeitos de Fundo (Cometas)
   ========================================================================== */
.cometa { position: fixed; z-index: 1; /* ... (restante do código dos cometas) ... */ }


/* ==========================================================================
   10. Animações (Keyframes)
   ========================================================================== */
.fade { animation-name: fade; animation-duration: 1.5s; }
@keyframes fade { from {opacity: 0.4} to {opacity: 1} }
/* Adicione aqui as @keyframes dos cometas */


/* ==========================================================================
   11. Responsividade (Media Queries)
   ========================================================================== */
@media (max-width: 900px) {
    header { flex-direction: column; padding: 1rem; }
    nav { margin-top: 1rem; gap: 0.5rem; flex-wrap: wrap; justify-content: center; }
    nav a { font-size: 0.9rem; }
    .nav-button-login { padding: 0.5rem 1rem; }
    html { scroll-padding-top: 170px; }
    main { padding-top: 190px; }
    .perfil-container { flex-direction: column; }
    .slideshow-logo { max-width: 280px; }
    .slideshow-text p { font-size: 1.3rem; }
    .my-slides img { height: 450px; }
}

@media (max-width: 480px) {
    .slideshow-logo { max-width: 200px; }
    .slideshow-text p { font-size: 1.1rem; }
    .my-slides img { height: 350px; }
}

.video-container {
    position: relative;
    width: 100%;
    height: 70vh; /* Ou a altura que desejar */
    overflow: hidden;
}
.video-container {
    position: relative; /* Essencial para o posicionamento do overlay */
    width: 100%;
    border-radius: 12px;
    overflow: hidden; /* Garante que o vídeo e o overlay respeitem as bordas arredondadas */
    box-shadow: 0 8px 30px rgba(0, 240, 240, 0.1);
}

.video-container video {
    width: 100%;
    display: block; /* Remove espaço extra abaixo do vídeo */
    height: auto;
}

.video-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 2; /* ADICIONADO: Garante que o overlay fique sobre o vídeo */
    
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    
    background-color: rgba(0, 0, 0, 0.35); 
    backdrop-filter: blur(4px); 
    -webkit-backdrop-filter: blur(4px);
    
    text-align: center;
    padding: 1rem;
    
    opacity: 1; 
    transition: background-color 0.4s ease-in-out;
}

.video-overlay h3 {
    font-family: 'Exo 2', sans-serif;
    font-size: 2.5rem;
    font-weight: 700;
    color: #fff;
    text-shadow: 2px 2px 8px rgba(0, 0, 0, 0.7);
    margin-bottom: 1.5rem;
}

.video-overlay .overlay-button {
    font-family: 'Exo 2', sans-serif;
    font-weight: 700;
    font-size: 1rem;
    color: #111;
    background-color: #00f0f0;
    padding: 0.8rem 1.8rem;
    border-radius: 8px;
    text-decoration: none;
    text-transform: uppercase;
    letter-spacing: 1px;
    transition: transform 0.3s ease, background-color 0.3s ease;
}

.video-overlay .overlay-button:hover {
    transform: scale(1.05);
    background-color: #fff;
}

@media (max-width: 768px) {
    .video-overlay h3 {
        font-size: 1.8rem;
    }
    .video-overlay .overlay-button {
        font-size: 0.9rem;
        padding: 0.7rem 1.5rem;
    }
}
.aa{
    color: inherit; 
    text-decoration: none;
}
.pp{
    margin: 5px; 
    padding: 5px; 
    background-color: green; 
    text-align: center; 
    border-radius: 5px;
}
  .container-do-meu-chat {
        /* Defina a posição e o tamanho que desejar */
        position: fixed; /* Exemplo: fixo no canto */
        bottom: 20px;
        right: 20px;
        width: 380px;
        height: 600px;
        
        /* Estilos para o container ficar bonito */
        border-radius: 15px;
        overflow: hidden; /* Importante para o iframe respeitar o border-radius */
        box-shadow: 0 10px 30px rgba(0,0,0,0.2);
    }

    .container-do-meu-chat iframe {
        /* AJUSTE PARA REMOVER A BORDA */
        width: 100%;
        height: 100%;
        border: none; /* <-- ISTO REMOVE A BORDA BRANCA */
    }