/* Face Plan™ — motion layer para Lead Experiences (paciente + profissional) */

.fx-counting {
  color: var(--gold, #C9A96E) !important;
  text-shadow: 0 0 16px rgba(201, 169, 110, 0.45);
}

.ia-pill {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 10px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: #7eb8da;
  border: 1px solid rgba(126, 184, 218, 0.35);
  background: rgba(126, 184, 218, 0.08);
  border-radius: 999px;
  padding: 6px 12px;
  margin: 0 auto 12px;
  width: fit-content;
  animation: iaPulse 2.4s ease-in-out infinite;
}

.ia-pill .ia-dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: #7eb8da;
  box-shadow: 0 0 10px rgba(126, 184, 218, 0.9);
  animation: iaBlink 1.2s ease-in-out infinite;
}

@keyframes iaPulse {
  0%, 100% { box-shadow: 0 0 0 rgba(126, 184, 218, 0); }
  50% { box-shadow: 0 0 18px rgba(126, 184, 218, 0.15); }
}

@keyframes iaBlink {
  0%, 100% { opacity: 1; transform: scale(1); }
  50% { opacity: 0.45; transform: scale(0.85); }
}

.media-center {
  width: 100%;
  max-width: 300px;
  margin-left: auto;
  margin-right: auto;
}

.compare img,
.scan-wrap img,
.laudo-photo img,
.photo-zone img {
  object-fit: cover;
  object-position: center center;
}

.panel-enter {
  animation: panelEnter 0.5s cubic-bezier(0.22, 1, 0.36, 1) backwards;
}

@keyframes panelEnter {
  from { opacity: 0; transform: translateY(12px); }
  to { opacity: 1; transform: none; }
}

.scan-line.done,
.laudo-scan.done {
  animation: none !important;
  opacity: 0;
  transition: opacity 0.45s ease;
}

/* Gênero — detecção automática + override opcional */
.gender-auto {
  background: linear-gradient(135deg, rgba(126, 184, 218, 0.12), rgba(201, 169, 110, 0.08));
  border: 1px solid rgba(126, 184, 218, 0.35);
  border-radius: 12px;
  padding: 12px 14px;
  margin-bottom: 12px;
  text-align: center;
}

.gender-auto strong {
  display: block;
  font-size: 13px;
  color: var(--text, #F0EDE8);
  margin-bottom: 4px;
}

.gender-auto span {
  font-size: 11px;
  color: var(--muted, #8A8780);
  line-height: 1.45;
}

.gender-override-toggle {
  margin-top: 8px;
  background: none;
  border: none;
  color: var(--gold, #C9A96E);
  font-size: 11px;
  font-family: inherit;
  cursor: pointer;
  text-decoration: underline;
  text-underline-offset: 3px;
}

.gender-chips-prominent {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
  margin-bottom: 14px;
}

.gender-chips-prominent .chip {
  min-height: 52px;
  font-size: 13px;
  font-weight: 600;
  border-width: 2px;
}

.gender-chips-prominent .chip.on {
  background: rgba(201, 169, 110, 0.18);
  box-shadow: 0 0 20px rgba(201, 169, 110, 0.2);
}

.gender-chips-prominent .chip[data-gender="M"].on {
  border-color: #7eb8da;
  color: #7eb8da;
  background: rgba(126, 184, 218, 0.12);
}

.score .val.counting {
  transition: color 0.2s;
}

.hero-stat strong.fx-pop {
  animation: statPop 0.6s cubic-bezier(0.22, 1, 0.36, 1) backwards;
}

@keyframes statPop {
  from { opacity: 0; transform: scale(0.85); }
  to { opacity: 1; transform: none; }
}

.budget-demo {
  animation: panelEnter 0.55s ease backwards;
}
