html, body {color:#FFFFFF;margin: 0;padding: 0;height: 100%;overflow: hidden;}

body{
    background: url('img/fundo.jpg') no-repeat center center/cover;
}

#video-bg {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover; /* mantém proporção preenchendo a tela */
    z-index: -1; /* fica atrás do conteúdo */
}

/* Conteúdo da página */
.conteudo {
    position: relative;
    z-index: 1;
    color: white;
    text-align: center;
    font-size: 40px;
    margin-top: 20%;
}

/* LOADING */

#loading{
    position:fixed;
    width:100%;
    height:100%;
    background:#000;
    display:flex;
    align-items:center;
    justify-content:center;
    z-index:9999;
}

/* animação */

.loader{
    border:6px solid #333;
    border-top:6px solid #ffffff;
    border-radius:50%;
    width:60px;
    height:60px;
    animation:spin 1s linear infinite;
}

@keyframes spin{
    0%{ transform:rotate(0deg); }
    100%{ transform:rotate(360deg); }
}

h1, h2, h3, h4, h5, h6, a {color: #FFFFFF;}

.logo_faq {float:left;}

.titulo {float:right;}

.faq {
    position: fixed;
    bottom: 20px;
    left: 20px;
    cursor: pointer;
}

.vertical {width:400px;height:162px;position:absolute;top:50%;left:50%;margin-top:-0px;margin-left:-200px;}

@media only screen and (max-width: 767px){
	.vertical{width:70%;height:70%;position:absolute;top:50%;left:0%;margin-top:50%;margin-left:15%;}
}

.bottom {height: 50px; margin: 10px 20px; color:#bbbaba; font-size:11px;text-align:left;position:fixed; bottom:0px;}

.bottom a {color:#bbbaba}

.pos-ai {position:absolute;bottom:0px;left:0px;}
.pos-ai img {width:100px;}

.pos-wa {position:absolute;bottom:0px;right:0px;}
.pos-wa img {width:100px;}

#about {display:none;}

body {
    font-family: Arial, sans-serif;
}
.chat-header {
    background: #002859;
    color: #fff;
    padding: 15px;
    text-align: center;
    font-weight: bold;
}
.chat-messages {
    height: 400px;
    padding: 10px;
    overflow-y: auto;
}
.msg { margin-bottom: 10px; }
.user { text-align: right; background: #e5e5e5 !important; color: #333333 !important; border-radius: 12px; font-size: .875rem; padding: 12px !important; width: auto; float:right;clear:both;}
.bot { text-align: left; background: #002859 !important; color: #ffffff !important; border-radius: 12px; font-size: .875rem; padding: 12px !important; width: auto; float:right;clear:both;}
.chat-input {
    display: flex;
    border-top: 1px solid #ddd;
}
.chat-input input {
    flex: 1;
    padding: 10px;
    border: none;
    outline: none;
    box-shadow: none;
}
.chat-input button {
    padding: 10px 15px;
    background: #002859;
    color: white;
    border: none;
    cursor: pointer;
}


#chat-toggle {
    position: fixed;
    bottom: 20px;
    right: 20px;
    width: 40px;
    height: 40px;
    background: transparent;
    color: #fff;
    border-radius: 50%;
    border: none;
    font-size: 28px;
    cursor: pointer;
    box-shadow: 0 4px 12px rgba(0,0,0,0.3);
    z-index: 1000;
    animation: pulse 2s infinite;
}

/* ===== ANIMAÇÃO PULSE ===== */
@keyframes pulse {
    0% {
        box-shadow: 0 0 0 0 rgba(10, 88, 202, 0.6);
        transform: scale(1);
    }
    70% {
        box-shadow: 0 0 0 18px rgba(10, 88, 202, 0);
        transform: scale(1.05);
    }
    100% {
        box-shadow: 0 0 0 0 rgba(10, 88, 202, 0);
        transform: scale(1);
    }
}

/* TOOLTIP */
#chat-tooltip{
    position:fixed;
    bottom:75px;
    right:10px;
    background:#002859;
    color:white;
    padding:12px 16px;
    border-radius:10px;
    font-size:14px;
    max-width:220px;
    opacity:0;
    transform:translateY(10px);
    transition:.4s;
    z-index:998;
}

/* seta */
#chat-tooltip::after{
    content:"";
    position:absolute;

    bottom:-10px;
    right:22px;

    width:0;
    height:0;

    border-left:10px solid transparent;
    border-right:10px solid transparent;
    border-top:10px solid #1f2937;
}

#chat-tooltip.show{
    opacity:1;
    transform:translateY(0);
}

/* ===== JANELA DO CHAT ===== */
#chat-container {
    position: fixed;
    bottom: 90px;
    right: 20px;
    width: 320px;
    height: 470px;
    background: #fff;
    border-radius: 12px;
    box-shadow: 0 6px 20px rgba(255, 255, 255, 0.25);
    display: none;
    flex-direction: column;
    overflow: hidden;
    z-index: 1000;
}

/* ===== CABEÇALHO ===== */
#chat-header {
    background: #002859;
    color: #ffffff;
    padding: 12px;
    font-weight: bold;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

#chat-header button {
    background: none;
    border: none;
    color: #ffffff;
    font-size: 18px;
    cursor: pointer;
}

/* ===== MENSAGENS ===== */
#chat-messages {
    flex: 1;
    padding: 10px;
    overflow-y: auto;
    font-size: 14px;
}

.msg-bot { margin-bottom: 10px; text-align: left; background: #002859 !important; color: #ffffff !important; border-radius: 12px; font-size: .875rem; padding: 12px !important; width: auto; float:left;clear:both;}

.msg-user { margin-bottom: 10px; text-align: right; background: #e5e5e5 !important; color: #333333 !important; border-radius: 12px; font-size: .875rem; padding: 12px !important; width: auto; float:right;clear:both;}

/* ===== INPUT ===== */
#chat-input {
    display: flex;
    border-top: 1px solid #ddd;
}

#chat-input input {
    flex: 1;
    border: none;
    padding: 10px;
    font-size: 14px;
    outline: none;
    box-shadow: none;    
}

#chat-input button {
    background: #002859;
    color: #fff;
    border: none;
    padding: 10px 15px;
    cursor: pointer;
}


/* ===== LOADING (DIGITANDO) ===== */
.loading {
    background: #f1f1f1;
    padding: 10px 14px;
    border-radius: 18px;
    width: fit-content;
    margin-bottom: 8px;
}

.typing {
    display: flex;
    gap: 4px;
    float:left;
    clear:both;
    margin-top:10px;
    margin-bottom:20px;
    min-height:40px;
    padding:0 10px;
}

.typing span {
    width: 8px;
    height: 8px;
    background: #002859;
    border-radius: 50%;
    animation: blink 1.4s infinite both;
}

.typing span:nth-child(1) { animation-delay: 0s; }
.typing span:nth-child(2) { animation-delay: 0.2s; }
.typing span:nth-child(3) { animation-delay: 0.4s; }

@keyframes blink {
    0% { opacity: 0.2; }
    20% { opacity: 1; }
    100% { opacity: 0.2; }
}

.faq-container {
  max-width: 900px;
  margin: 40px auto;
  padding: 0 20px;
  font-family: Arial, sans-serif;
}

.faq-title {
  text-align: center;
  margin-bottom: 30px;
}

.faq-item {
  border-bottom: 1px solid #fff;
}

.faq-question {
  width: 100%;
  background: none;
  border: none;
  padding: 18px;
  font-size: 16px;
  font-weight: bold;
  text-align: left;
  cursor: pointer;
  position: relative;
  color: #fff;
}

.faq-question::after {
  content: "+";
  position: absolute;
  right: 20px;
  font-size: 20px;
}

.faq-question[aria-expanded="true"]::after {
  content: "-";
}

.faq-answer {
  display: none;
  padding: 0 18px 18px;
  color: #fff;
}

.faq-search {
  max-width: 900px;
  margin: 0 auto 30px;
  padding: 0 20px;
}

.faq-search input {
  width: 100%;
  padding: 14px 16px;
  font-size: 16px;
  border-radius: 6px;
  border: 1px solid #ccc;
}

.faq-search input:focus {
  outline: none;
  border-color: #007bff;
}