/* Reset */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}
html, body {
  font-family: 'Segoe UI', sans-serif;
  background: linear-gradient(135deg, #0f0c29, #302b63, #24243e);
  color: #fff;
  overflow-x: hidden;
  scroll-behavior: smooth;
}

html {
  background: linear-gradient(135deg, #0f0c29, #302b63, #24243e);
}

/* Cabeçalho fixo e blur */
header {
  position: fixed;
  top: 0;
  width: 100%;
  padding: 15px 25px;
  background: rgba(0, 0, 0, 0.6);
  backdrop-filter: blur(8px);
  display: flex;
  justify-content: space-between;
  align-items: center;
  z-index: 1000;
}

/* Logo */
.logo img {
  height: 50px;
  margin-right: 50px;
}

img.logo {
    height: 50px;
    margin-bottom: 40px;
}

/* Menu Desktop */
.menu-desktop ul {
  display: flex;
  gap: 25px;
  list-style: none;
  align-items: center;
}

.menu-desktop ul li a {
  text-decoration: none;
  color: #fff;
  font-weight: 500;
  transition: color 0.3s;
}

.menu-desktop ul li a:hover {
  color: #00ffc6;
}

/* Ícone de login no menu */
.link-login i {
  font-size: 20px;
  color: #00ffc6;
  transition: 0.3s;
}

.link-login:hover i {
  color: #fff;
  transform: scale(1.2);
}

/* === Menu hambúrguer (mobile) === */
.menu-hamburguer{
  display: none;
  font-size: 30px;
  color: #00ffc6;
  cursor: pointer;
  -webkit-tap-highlight-color: transparent;
}

/* === Menu lateral (off-canvas) === */
.menu-lateral{
  position: fixed;
  top: 0;
  left: 0;                 /* origem fixa */
  width: 260px;
  max-width: 85vw;         /* nunca maior que a viewport */
  height: 100dvh;          /* considera barras do mobile */
  background: rgba(0,0,0,0.95);
  padding: 60px 20px;
  z-index: 1001;

  /* escondido por transform para evitar “filete” visível */
  transform: translateX(-100%);
  transition: transform .30s ease;
  will-change: transform;

  overflow-y: auto;
  overscroll-behavior: contain;
}

.menu-lateral.ativo{
  transform: translateX(0);
}

.menu-lateral ul{
  list-style: none;
  margin: 0;
  padding: 0;
}

.menu-lateral ul li{
  margin-bottom: 20px;
}

.menu-lateral ul li a{
  color: #fff;
  font-size: 1.2em;
  text-decoration: none;
  transition: color .30s ease;
  touch-action: manipulation;
}

.menu-lateral ul li a:hover{
  color: #00ffc6;
}

/* === Botão fechar menu lateral === */
.fechar-menu{
  position: absolute;
  top: 15px;
  right: 20px;
  font-size: 28px;
  cursor: pointer;
  color: #fff;
}

/* === Overlay atrás do menu === */
.overlay{
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,0.6);
  z-index: 999;
  opacity: 0;
  visibility: hidden;
  transition: opacity .25s ease, visibility .25s ease;
}

.overlay.ativo{
  opacity: 1;
  visibility: visible;
}

/* === Responsivo === */
@media (max-width: 768px){
  .menu-desktop{ display: none; }
  .menu-hamburguer{ display: block; }
}

/* CTA ================================================*/
.cta-section {
  margin-top: 5px;
  text-align: center;
  padding: 60px 20px;
}
.cta-section h1 {
  font-size: 2.4em;
  background: linear-gradient(to right, #00ffc6, #ff00c8);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}
.cta-section p {
  font-size: 1.1em;
  margin-top: 15px;
  color: #ccc;
}
#cta-button {
  margin-top: 25px;
  padding: 14px 36px;
  font-size: 1em;
  background: #00ffc6;
  color: #000;
  border: none;
  border-radius: 25px;
  cursor: pointer;
  box-shadow: 0 0 12px #00ffc688;
  transition: transform 0.2s, background 0.2s;
}
#cta-button:hover {
  background: #00dab5;
  transform: scale(1.05);
}

/* Especialistas ==========================================*/
/* Container geral da seção */
.contatos-carrossel {
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 0 10px;
  overflow: visible; /* garante que o carrossel deslize livre */
}

/* Faixa de rolagem horizontal */
.carrossel-especialistas {
  display: flex;
  gap: 15px;
  overflow-x: auto;
  scroll-behavior: smooth;
  -webkit-overflow-scrolling: touch;
  padding: 20px 0;
  width: 100%;
}

.carrossel-especialistas::-webkit-scrollbar {
  display: none;
}

/* Cada item (especialista) */
.especialista {
  flex: 0 0 auto;
  width: 140px;
  text-align: center;
  padding: 10px 5px;
}

/* Foto circular com borda */
.foto-especialista {
  width: 80px;
  height: 80px;
  object-fit: cover;
  border-radius: 50%;
  border: 3px solid #00ffc6;
  margin-bottom: 10px;
}

/* Nome do especialista */
.especialista h3 {
  font-size: 0.95em;
  color: #fff;
  margin-bottom: 0;
}

/* Botão centralizado abaixo do carrossel */
.botao-fale-container {
    width: 100%;
    text-align: center;
    margin-top: 5px;
    margin-bottom: 30px;
}

.btn-contato-unico {
  background: #00ffc6;
  color: #000;
  border: none;
  padding: 12px 24px;
  font-size: 1rem;
  font-weight: bold;
  border-radius: 8px;
  cursor: pointer;
  transition: background 0.2s;
}

.btn-contato-unico:hover {
  background: #00dab5;
}

/* Modal =============================================*/
/* 🔒 Fundo escurecido por trás do modal */
#popup-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  background: rgba(0, 0, 0, 0.7);
  z-index: 999;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.3s ease-in-out;
}

/* 🎯 Container do pop-up centralizado */
#popup-form {
  position: fixed;
  top: 50%;
  bottom: -90px;
  left: 50%;
  width: 90%;
  max-width: 400px;
  background: #12824a;
  padding: 20px;
  border-radius: 10px;
  box-shadow: 0 0 30px rgba(0, 255, 198, 0.2);
  transform: translate(-50%, -50%) scale(0.9);
  z-index: 1000;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.3s ease-in-out, transform 0.3s ease-in-out;
}

/* ✅ Classe que ativa o modal */
#popup-overlay.active {
  opacity: 1;
  pointer-events: auto;
}
#popup-form.active {
  opacity: 1;
  transform: translate(-50%, -50%) scale(1);
  pointer-events: auto;
}

/* 🧱 Conteúdo interno */
.popup-container h2 {
  text-align: center;
  margin-bottom: 20px;
  font-size: 1.4em;
  color: #fff;
}

.h2title {
  color: #00ff7d !important;
  margin: 0 0 14px !important;
}

.popup-container input {
    width: 100%;
    padding: 12px;
    margin-bottom: 15px;
    border-radius: 8px;
    border: 1px solid #ffffff;
    background: #ffffff;
    color: #0b1b13;
    font-size: 1em;
    margin-top: 7px;
}

/* 📱 Botões */
#enviar-contato,
#fechar-popup {
  width: 100%;
  padding: 12px;
  border: none;
  border-radius: 6px;
  font-size: 1em;
  font-weight: bold;
  cursor: pointer;
  margin-top: 10px;
  transition: background 0.3s ease-in-out;
}

#enviar-contato {
  background: #ffffff;
  color: #000;
}
#enviar-contato:hover {
  background: #d1d1d1;
}

.btn-fake {
  display: inline-block;
  background: #00ffc6;
  padding: 10px 20px;
  border-radius: 6px;
  color: black;
  font-weight: bold;
  text-align: center;
  text-decoration: none;
}

#fechar-popup {
  background: #ff4444;
  color: #fff;
}
#fechar-popup:hover {
  background: #cc0000;
}

/* 📡 Contato dinâmico */
.campo-contato {
  display: none;
}
#campo-whatsapp {
  display: block;
}

/* 🔀 Opções de contato */
.opcoes-contato {
  display: flex;
  justify-content: space-around;
  margin-top: 10px;
}

.opcoes-contato label {
    color: #fff;
    font-size: 0.95em;
    cursor: pointer;
    display: flex;
    flex-direction: column;
}

/* Videos dos serviços ======================================*/
/* 🔹 Serviços - Exibição geral */
.servicos-exibicao {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 20px;
  padding: 20px;
}

/* 🔹 Cada serviço */
.servico-item {
    background: #1e1e2d;
    padding: 5px;
    border-radius: 10px;
    width: 97%;
    text-align: center;
    box-shadow: 0 0 10px rgba(0, 255, 198, 0.2);
}

.servico-item h3 {
  color: #00ffc6;
}

.servico-item p {
  color: #ddd;
  font-size: 0.95em;
  margin: 10px 0;
}

.servico-item img,
.servico-item video {
  width: 100%;
  border-radius: 8px;
  margin-top: 10px;
}

/* 🔊 Botão central de som no vídeo */
.video-wrapper {
  position: relative;
  display: inline-block;
  width: 100%;
  max-width: 480px;
  margin: 20px auto;
}

.servico-video {
  width: 100%;
  border-radius: 10px;
  box-shadow: 0 4px 12px #0005;
}

.botao-play {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 64px;
  height: 64px;
  background: rgba(0, 0, 0, 0.7);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  z-index: 10;
  transition: background 0.3s ease;
}

.botao-play:hover {
  background: rgba(0, 0, 0, 0.9);
}

.botao-play svg {
  fill: #00ffc6;
  width: 28px;
  height: 28px;
  transition: transform 0.3s ease;
}

.botao-play:hover svg {
  transform: scale(1.1);
}

/* 🖼️ Galeria de Provas =================================== */
.carrossel {
  display: flex;
  overflow-x: hidden;
  scroll-snap-type: x mandatory;
  gap: 30px;
  padding: 20px 0;
  position: relative;
}

.carrossel-item {
    flex: 0 0 auto;
    width: 200px;
    scroll-snap-align: center;
    background: #1a1a1a;
    border-radius: 10px;
    padding: 10px;
    box-shadow: 0 0 10px rgba(0, 255, 198, 0.1);
    text-align: center;
    display: flex;
    flex-direction: column;
    flex-wrap: wrap;
    justify-content: space-between;
}

.carrossel-item img {
  width: 100%;
  height: auto;
  border-radius: 8px;
  margin-bottom: 8px;
  border: 3px solid #00ffc6;
}

.carrossel-item .comentario {
  font-size: 0.9em;
  color: #ccc;
  background: #2a2a2a;
  padding: 8px;
  border-radius: 6px;
  font-style: italic;
}

/* Footer ==============================================*/
footer {
  text-align: center;
  padding: 20px;
  background: #0d0d1a;
  font-size: 0.9em;
  color: #aaa;
  margin-top: 60px;
}

#explicacao {
    display: flex;
    flex-direction: column;
    align-items: center;
}

#provas-sociais {
    display: flex;
    flex-direction: column;
    align-items: center;
}

/* Parágrafo ===============================================*/
p {
    margin-left: 25px;
    margin-right: 25px;
}


/* Contatos */
#contatos {
    margin-top: 110px;
    display: flex;
    flex-direction: column;
    align-items: center;
}

/* Responsivo ===============================================*/
@media (max-width: 768px) {
  .menu-desktop { display: none; }
  .menu-hamburguer { display: block; }
  .cta-section h1 { font-size: 1.8em; }
  .cta-section p { font-size: 1em; }
  #cta-button { font-size: 0.95em; padding: 12px 30px; }
}

@media (max-width: 480px) {
  .especialista {
    min-width: 140px;
    max-width: 160px;
  }
  .foto-especialista {
    width: 65px;
    height: 65px;
  }
  .popup-container {
    padding: 20px;
  }
  #popup-form {
    padding: 20px;
    bottom: -140px;
  }
}


/* Icone =====================================*/
.icone-login {
  position: absolute;
  top: 20px;
  right: 20px;
  font-size: 24px;
  color: #00ff99;
  transition: transform 0.2s ease, color 0.3s ease;
  z-index: 1000;
}

.icone-login:hover {
  color: #ffffff;
  transform: scale(1.15);
}

