/* RESET */
* { 
  margin: 0; 
  padding: 0; 
  box-sizing: border-box; 
  font-family: 'Montserrat', sans-serif; 
}
html, body { 
  background: #000; 
  color: #E7E7EA; 
  scroll-behavior: smooth; 
  overflow-x: hidden;
  padding-top: 80px; /* altura aproximada do menu */
}


/* FONTE HALIMUN */
@font-face {
  font-family: 'Halimun';
  src: url('../fonts/Halimun-W7jn.woff2') format('woff2'),
       url('../fonts/Halimun-W7jn.woff') format('woff'),
       url('../fonts/Halimun-W7jn.ttf') format('truetype');
  font-weight: normal;
  font-style: normal;
}

/* INTRO */
#intro {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: black;
  display: flex;
  justify-content: center;
  align-items: center;
  z-index: 9999; /* acima de tudo */
  overflow: hidden;
}

#intro video {
  position: absolute;
  top: 50%;
  left: 50%;
  min-width: 100%;
  min-height: 100%;
  transform: translate(-50%, -50%);
  object-fit: cover;
  z-index: -1;
}

#intro-logo img {
  width: 250px;
  animation: glitch 3s infinite;
}

#overlay { 
  position: absolute; 
  top: 0; 
  left: 0; 
  width: 100%; 
  height: 100%; 
  background: rgba(0,0,0,0.25); 
  animation: overlay-breathe 6s ease-in-out infinite alternate; 
}

@keyframes overlay-breathe { 
  0% { opacity: 0.2; } 
  50% { opacity: 0.25; } 
  100% { opacity: 0.2; } 
}

#intro-logo { 
  position: absolute; 
  top: 50%; 
  left: 50%; 
  transform: translate(-50%, -50%); 
  opacity: 0; 
  transition: opacity 1.5s ease-out; 
}

#intro-logo img {
  width: 200px;
  height: auto;
}

#enter-experience, #skip-intro { 
  position: absolute; 
  bottom: 50px; 
  padding: 12px 24px; 
  background: rgba(255,255,255,0.05); 
  border: 1px solid rgba(255,255,255,0.2);
  border-radius: 6px;
  color: #FFF; 
  cursor: pointer; 
  transition: all 0.3s ease;
  font-size: 14px;
}

#enter-experience {
  left: 50%;
  transform: translateX(-50%);
}

#skip-intro {
  right: 50px;
}

#enter-experience:hover, #skip-intro:hover {
  background: rgba(255,255,255,0.1);
  border-color: rgba(255,255,255,0.4);
}

/* MENU */
#menu {
  position: fixed;
  top: 0;
  width: 100%;
  display: flex;
  justify-content: center; /* centraliza todo o conteúdo */
  align-items: center;
  gap: 40px; /* espaço entre logo e itens do menu */
  padding: 16px 20px;
  z-index: 1000;
  background: transparent; /* transparente no topo */
}

.menu-logo img {
  height: 70px; /* aumentei pra ficar proporcional ao hero */
  width: auto;
}

#menu ul {
  display: flex;
  list-style: none;
  gap: 24px; /* espaçamento entre itens */
}

#menu li a {
  font-family: 'Poppins', sans-serif;
  font-weight: 600; /* mantém negrito harmonioso */
  text-shadow: 0 1px 2px rgba(0,0,0,0.2);
  color: #fff;
  text-decoration: none;
  transition: color 0.3s ease;
}

#menu li a:hover {
  background: linear-gradient(45deg, #4E375F, #07DDFA, #B11B9D, #FF49E7, #000);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

/* LOGO DO MENU */
.menu-logo img {
  height: 80px; /* maior e mais proporcional ao hero */
  width: auto;
margin-top: 17px; /* ajusta para centralizar verticalmente */
}

/* HERO LOGO CENTRALIZADA */
#hero-logo img { 
  width: 28vw; 
  max-width: 560px; 
  min-width: 200px;
  animation: glitch 3s infinite; 
}

/* --- FUNDO ANIMADO --- */
#hero-bg {
  position: absolute;
  top: 0; 
  left: 0;
  width: 100%;
  height: 100%;
  z-index: -1; /* fica atrás da logo */
  background: #000; /* base escura */
  overflow: hidden;
}

#hero-bg::before, #hero-bg::after {
  content: "";
  position: absolute;
  width: 200%;
  height: 200%;
  top: -50%;
  left: -50%;
  background: radial-gradient(circle, rgba(200,166,224,0.05) 0%, transparent 60%),
              radial-gradient(circle, rgba(180,95,224,0.03) 0%, transparent 70%);
  animation: moveLights 20s linear infinite;
}

#hero-bg::after {
  animation-delay: 10s;
}

@keyframes moveLights {
  0% { transform: translate(0,0) rotate(0deg); }
  50% { transform: translate(50px, 50px) rotate(180deg); }
  100% { transform: translate(0,0) rotate(360deg); }
}

/* Container do hero logo com margem do menu */
#hero-logo {
  position: relative;
  display: flex;
  justify-content: center;
  align-items: center;
  margin-top: 100px; /* ajuste esse valor conforme quiser */
}

/* Container do glitch */
#hero-logo {
  position: relative;
  display: flex;
  justify-content: center;
  align-items: center;
}

/* Cópias da imagem para glitch */
.glitch-img {
  position: absolute;
  top: 0; left: 0;
  width: 100%;
  height: 100%;
  object-fit: contain;
  opacity: 0.8;
}

/* Riscos horizontais / linhas finas */
.glitch-line {
  position: absolute;
  width: 100%;
  height: 2px;
  background: rgba(255,255,255,0.3);
  animation: glitchLines 0.1s infinite;
}

/* Tremulação / deslocamento de cores */
@keyframes glitchShift {
  0% { transform: translate(0,0); clip-path: inset(0 0 0 0); }
  20% { transform: translate(-2px, 1px) skew(0.5deg, 0.5deg); }
  40% { transform: translate(2px, -1px) skew(-0.5deg, -0.5deg); }
  60% { transform: translate(-1px, 2px) skew(0.5deg, -0.5deg); }
  80% { transform: translate(1px, -2px) skew(-0.5deg, 0.5deg); }
  100% { transform: translate(0,0) skew(0deg, 0deg); }
}

.glitch-img:nth-child(2) { 
  animation: glitchShift 0.3s infinite linear;
  clip-path: inset(0 0 0 0);
  mix-blend-mode: screen;
  filter: hue-rotate(10deg);
}

.glitch-img:nth-child(3) { 
  animation: glitchShift 0.35s infinite linear;
  clip-path: inset(0 0 0 0);
  mix-blend-mode: screen;
  filter: hue-rotate(-10deg);
}

/* Linhas rápidas piscando */
@keyframes glitchLines {
  0%,100% { opacity: 0; }
  50% { opacity: 1; }
}

/* Pulso de brilho malva */
@keyframes pulseMalva {
  0% { 
    filter: drop-shadow(0 0 1px #C8A6E0) drop-shadow(0 0 3px #B35FE0);
  }
  50% { 
    filter: drop-shadow(0 0 3px #C8A6E0) drop-shadow(0 0 6px #B35FE0);
  }
  100% { 
    filter: drop-shadow(0 0 1px #C8A6E0) drop-shadow(0 0 3px #B35FE0);
  }
}

#hero-logo img {
  animation: pulseMalva 4s infinite alternate; /* mais lento */
}

/* SEÇÕES */
section { 
  padding: 120px 16px; 
  max-width: 1200px; 
  margin: 0 auto; 
  transition: opacity 0.4s ease-out; 
}

#sobre-nos {
  text-align: center;
  padding: 80px 16px;
  max-width: 800px;
  margin: 0 auto;
}

#sobre-nos h2 {
  text-align: center;
}

#sobre-nos p {
  max-width: 600px; /* parágrafo menor */
  margin: 20px auto 0 auto;
  text-align: center;
}

#missao {
  background-color: #1A0A24; /* malva escuro */
  padding: 80px 16px;
  text-align: center;
}

#missao h2 {
  text-align: center;
}

#missao p {
  max-width: 650px;
  margin: 20px auto 0 auto;
  text-align: center;
}

#servicos {
  display: flex;
  flex-wrap: wrap;
  padding: 80px 16px;
  gap: 20px;
  max-width: 1200px; /* limita a largura */
  margin: 0 auto; /* centraliza */
}

#servicos .left-block {
  flex: 1;
  background-color: #2C1B3A; /* roxo escuro sutil */
  padding: 40px;
  display: flex;
  flex-direction: column;
  align-items: center;
}

#servicos .left-block h2 {
  color: #fff; /* título fixo branco */
  font-family: Poppins, sans-serif;
}

#servicos .right-block .card h3 {
  background: linear-gradient(90deg, #8A2BE2, #FF00FF);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  font-family: Poppins, sans-serif;
}

@media (max-width: 768px) {
  #servicos {
    flex-direction: column;
  }
  #servicos .left-block,
  #servicos .right-block {
    width: 100%;
  }
}

#diagnostico h2 {
  text-align: center;
}

#agendamento {
  display: flex;
  justify-content: center;
  padding: 80px 16px;
}

#agendamento .box {
  background-color: #3A1F5C; /* lilás/roxo suave */
  padding: 40px;
  max-width: 600px;
  width: 100%;
  border-radius: 12px;
  color: #fff;
}

section h2 {
  text-align: center !important;
}

/* TITULOS COM POPPINS */
section h2 { 
  font-family: 'Poppins', sans-serif; 
  font-size: clamp(28px, 4vw, 36px); 
  color: #FFF; 
  text-shadow: 0 0 20px #D2D2D2; 
  margin-bottom: 40px; 
  line-height: 1.2;
  text-transform: uppercase; /* tudo em caixa alta */
}

/* TEXTO CENTRALIZADO COM LARGURA LIMITADA */
section p {
  max-width: 850px;   /* limita o esparramado */
  margin: 0 auto 20px auto; /* centraliza e separa do título */
  text-align: center;
}

/* RESPONSIVO: centraliza títulos em telas pequenas */
@media (max-width: 768px) {
  section h2 {
    text-align: center !important;
  }
  
  section p {
    max-width: 100%;
    padding: 0 16px;
  }
}

/* CARDS */
.cards { 
  display: grid; 
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); 
  gap: 24px; 
}

.card { 
  background: rgba(255,255,255,0.05); 
  backdrop-filter: blur(6px); 
  padding: 24px; 
  border-radius: 12px; 
  transition: all 0.4s ease; 
  border: 1px solid rgba(255,255,255,0.1);
}

.card h3 { 
  font-family: 'Halimun', serif; 
  color: #FFF; 
  text-shadow: 0 0 30px #D2D2D2; 
  transition: all 0.4s ease; 
  margin-bottom: 15px;
  font-size: 18px;
}

.card p {
  text-align: left;
  font-size: 14px;
  line-height: 1.5;
}

.card:hover h3 { 
  background: linear-gradient(45deg, #4E375F, #07DDFA, #B11B9D, #FF49E7, #000); 
  -webkit-background-clip: text; 
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.card:hover { 
  box-shadow: 0 0 20px rgba(138, 43, 226, 0.3); 
  transform: translateY(-5px);
}

/* FORMULÁRIO & IG & FOOTER */
.instagram-placeholder { 
  display: flex; 
  gap: 12px; 
  flex-wrap: wrap; 
  justify-content: center; 
}

.instagram-placeholder .img { 
  width: 120px; 
  height: 120px; 
  background: #121216; 
  border-radius: 12px; 
  transition: all 0.3s ease;
}

.instagram-placeholder .img:hover {
  background: #222;
  transform: scale(1.05);
}

footer { 
  padding: 40px 16px; 
  text-align: center; 
  font-size: 14px; 
  color: #E7E7EA; 
  border-top: 1px solid rgba(255,255,255,0.1);
  margin-top: 60px;
}

footer a {
  color: #FFF;
  text-decoration: none;
  transition: color 0.3s ease;
}

footer a:hover {
  color: #07DDFA;
}

.social-icons {
  margin-top: 20px;
  display: flex;
  justify-content: center;
  gap: 20px;
}

.social-icons a {
  padding: 8px 12px;
  background: rgba(255,255,255,0.05);
  border-radius: 6px;
  transition: all 0.3s ease;
}

.social-icons a:hover {
  background: rgba(255,255,255,0.1);
  transform: translateY(-2px);
}

/* RESPONSIVO */
@media (max-width: 768px) {
  #menu ul {
    gap: 8px;
    padding: 0 10px;
  }
  
  #menu a {
    font-size: 12px;
    padding: 6px 8px;
  }
  
  section {
    padding: 80px 16px;
  }
  
  .cards {
    grid-template-columns: 1fr;
  }
  
  #hero-logo {
    margin: 80px 0 40px;
  }
  
  .instagram-placeholder .img {
    width: 100px;
    height: 100px;
  }
}
/* --- SEÇÃO SERVIÇOS --- */
#servicos {
  margin-top: 0; /* encosta na seção de cima */
  display: flex;
  flex-wrap: wrap;
  padding: 0; /* tira o espaço embaixo para colar com a seção missão */
}

#servicos .left-block {
  flex: 1;
  background-color: #2C1B3A; /* mesma cor da missão */
  padding: 40px;
  display: flex;
  flex-direction: column;
  align-items: center;
}

#servicos .titulo-servicos {
  text-align: center;
  margin-bottom: 20px;
  font-family: 'Poppins', sans-serif;
  font-size: 2rem;
  font-weight: 600;
  background: linear-gradient(90deg, #ff0099, #00ffe5); /* gradiente novo */
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  transition: background 0.4s ease;
}

#servicos .titulo-servicos:hover {
  background: linear-gradient(90deg, #ff6a00, #ee0979); /* cores corretas no hover */
}

#servicos .busca-servicos {
  width: 100%;
  text-align: center;
  margin-bottom: 20px;
}

#servicos .busca-servicos input {
  width: 80%;
  padding: 10px;
  border: 1px solid #fff3;
  border-radius: 20px;
  font-family: 'Poppins', sans-serif;
  background-color: rgba(255,255,255,0.08);
  color: #fff;
  text-align: center;
}

#servicos .filtros {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

#servicos .filtros button {
  font-family: 'Poppins', sans-serif;
  background-color: transparent;
  border: 1px solid #fff3;
  color: #fff;
  padding: 12px 20px;
  border-radius: 20px;
  cursor: pointer;
  transition: all 0.3s ease;
  opacity: 0.5; /* efeito marca d'água */
}

#servicos .filtros button:hover {
  opacity: 1;
  background-color: #ff0099;
  border-color: #ff0099;
}

#servicos .right-block {
  flex: 1;
  background-color: #000;
  padding: 40px;
  display: flex;
  justify-content: center;
  align-items: center;
}

#servicos .card {
  background: #111;
  padding: 30px;
  border-radius: 12px;
  color: #fff;
  box-shadow: 0 0 10px rgba(255,255,255,0.15);
  transition: all 0.3s ease;
}

#servicos .card:hover {
  box-shadow: 0 0 25px rgba(255,255,255,0.6); /* glow mais forte */
}

@media (max-width: 768px) {
  #servicos {
    flex-direction: column;
  }
  #servicos .left-block,
  #servicos .right-block {
    width: 100%;
  }
}
