.flacc-info {
  background: linear-gradient(180deg, #f5f9ff 0%, #ffffff 100%);
  position: relative;
}
.flacc-bg {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(
      circle at 20% 30%,
      rgba(33, 150, 243, 0.15),
      transparent 70%
    ),
    radial-gradient(circle at 80% 80%, rgba(76, 175, 80, 0.12), transparent 70%);
  animation: bgMove 16s ease-in-out infinite alternate;
  z-index: 1;
}
@keyframes bgMove {
  0% {
    background-position: 0% 50%;
  }
  100% {
    background-position: 100% 50%;
  }
}

.bg-gradient-primary {
  background: linear-gradient(90deg, #1565c0, #1e88e5, #42a5f5);
}
.text-highlight {
  background: linear-gradient(90deg, #1565c0, #43a047);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

/* Cartões informativos */
.info-card {
  background: #ffffff;
  transition: all 0.35s ease;
}
.info-card:hover {
  transform: translateY(-5px) scale(1.02);
  box-shadow: 0 8px 24px rgba(21, 101, 192, 0.15);
}
.info-icon {
  animation: pulse 2.2s ease-in-out infinite;
}
@keyframes pulse {
  0%,
  100% {
    transform: scale(1);
    opacity: 1;
  }
  50% {
    transform: scale(1.15);
    opacity: 0.85;
  }
}

/* Botões */
.hover-glow:hover {
  transform: translateY(-3px);
  box-shadow: 0 0 15px rgba(33, 150, 243, 0.35);
}
.animate-slide {
  animation: slideIn 1s ease forwards;
}
@keyframes slideIn {
  from {
    opacity: 0;
    transform: translateY(-15px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* CARD PREMIUM */
.consulta-card {
  background: #ffffff;
  border-radius: 20px;
  padding: 35px 35px 32px 35px;
  box-shadow: 0 12px 35px rgba(0, 0, 0, 0.12);
  border: 1px solid #d6e8ff;
  max-width: 900px;
  margin: 45px auto;
  position: relative;
  overflow: hidden;
}

/* FAIXA SUPERIOR COM MASCOTE */
.consulta-card-top {
  background: linear-gradient(90deg, #0d6efd, #3ba7ff);
  height: 85px;
  width: 100%;
  border-radius: 18px 18px 0 0;
  position: absolute;
  top: 0;
  left: 0;
  z-index: 1;
}

/* MASCOTE NO CANTO SUPERIOR */
.consulta-mascote {
  position: absolute;
  top: -25px; /* sobe mais */
  right: 18px; /* afasta da borda */
  width: 115px; /* tamanho ideal */
  z-index: 3;
  filter: drop-shadow(0 4px 7px rgba(0, 0, 0, 0.28));
  pointer-events: none;
}

/* TÍTULO */
.consulta-card-title {
  font-size: 1.55rem;
  font-weight: 800;
  color: #0d6efd;
  text-align: left;
  margin-top: 95px;
}

/* ÍCONE */
.consulta-card-title i {
  background: #0d6efd;
  color: #fff;
  padding: 10px 12px;
  border-radius: 12px;
  font-size: 1.25rem;
  margin-right: 10px;
}

/* TEXTO */
.consulta-card-text {
  font-size: 1.05rem;
  color: #333;
  margin-bottom: 22px;
  line-height: 1.55;
  padding-left: 2px;
}

/* LISTA */
.consulta-card-text ul {
  margin-top: 8px;
  padding-left: 20px;
}

.consulta-card-text ul li {
  color: #0d6efd;
  margin-bottom: 5px;
  font-size: 0.95rem;
}

/* BOTÕES */
.consulta-links {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 10px;
}

.consulta-btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 12px 21px;
  border-radius: 12px;
  font-weight: 600;
  text-decoration: none;
  transition: 0.3s ease;
  border: 2px solid transparent;
}

.btn-medalha {
  background: #ffffff;
  color: #0d6efd;
  border-color: #0d6efd;
}
.btn-medalha:hover {
  background: #0d6efd;
  color: white;
  transform: translateY(-2px);
}

.btn-trofeu {
  background: #ffffff;
  color: #6610f2;
  border-color: #6610f2;
}
.btn-trofeu:hover {
  background: #6610f2;
  color: white;
  transform: translateY(-2px);
}

/* Círculo institucional atrás do Flaquinho */
.flaquinho-wrapper {
  position: absolute;
  top: -40px;
  right: 20px;
  width: 150px;
  height: 150px;
  background: radial-gradient(circle at center, #ffffff 30%, #0d6efd 90%);
  border-radius: 50%;
  z-index: 3;
  display: flex;
  align-items: center;
  justify-content: center;

  box-shadow:
    0 5px 20px rgba(0, 0, 0, 0.25),
    0 0 12px rgba(13, 110, 253, 0.4); /* brilho azul elegante */

  animation: floatUpDown 3.2s ease-in-out infinite;
}

/* Animação suave padrão */
@keyframes floatUpDown {
  0% {
    transform: translateY(0);
  }
  50% {
    transform: translateY(-6px);
  }
  100% {
    transform: translateY(0);
  }
}

/* Flaquinho */
.flaquinho-img {
  width: 95px;
  filter: drop-shadow(0 4px 6px rgba(0, 0, 0, 0.25))
    drop-shadow(0 0 8px rgba(13, 110, 253, 0.45)); /* brilho ao redor */
  transform: scaleX(-1); /* 🔄 Invertido olhando para dentro */
  transition:
    transform 0.3s ease,
    filter 0.3s ease;
}

/* Efeito hover — balanço acelerado */
.flaquinho-wrapper:hover {
  animation: floatHover 1.2s ease-in-out infinite;
}

@keyframes floatHover {
  0% {
    transform: translateY(0);
  }
  50% {
    transform: translateY(-10px);
  }
  100% {
    transform: translateY(0);
  }
}

/* Efeito hover na imagem */
.flaquinho-wrapper:hover .flaquinho-img {
  transform: scaleX(-1) scale(1.05); /* cresce um pouquinho */
  filter: drop-shadow(0 6px 10px rgba(0, 0, 0, 0.35))
    drop-shadow(0 0 12px rgba(13, 110, 253, 0.6));
}

/* Centralizar botões sempre */
.consulta-links {
  display: flex;
  justify-content: center; /* centraliza horizontalmente */
  align-items: center;
  gap: 14px;
  flex-wrap: wrap; /* permite quebrar linha */
}

/* Responsivo — empilha em telas pequenas */
@media (max-width: 600px) {
  .consulta-links {
    flex-direction: column; /* empilha */
    gap: 10px;
  }

  .consulta-btn {
    width: 100%;
    text-align: center;
  }
}

/* Contêiner centralizado */
.flaquinho-voador-container {
  position: absolute;
  top: 22%;
  left: 50%;
  transform: translateX(-50%);
  width: 130px;
  z-index: 3;
}

/* Flaquinho flutuando suavemente */
.flaquinho-voador {
  width: 100%;
  filter: drop-shadow(0 6px 10px rgba(21, 101, 192, 0.35));
  transition: opacity 0.15s ease-in-out;
  animation: flutuarSuave 3s ease-in-out infinite;
}

/* 🌬️ Flutuação suave no ar */
@keyframes flutuarSuave {
  0%,
  100% {
    transform: translateY(0);
  }
  50% {
    transform: translateY(-8px);
  }
}

/* ✨ Efeito de brilho */
.flaquinho-voador::after {
  content: "✨";
  position: absolute;
  font-size: 1.2rem;
  right: -15px;
  top: 15px;
  opacity: 0;
  animation: brilhoFlacc 2.5s ease-in-out infinite;
}

@keyframes brilhoFlacc {
  0% {
    opacity: 0;
    transform: translateX(0) scale(0.8);
  }
  50% {
    opacity: 1;
    transform: translateX(10px) scale(1.1);
  }
  100% {
    opacity: 0;
    transform: translateX(20px) scale(0.8);
  }
}
