/* O diálogo de contato da landing do FraudZero, que substitui o cadastro e o
   login do portal. Usa as variáveis de tema do app.css do FraudZero. */

.fz-contato {
  width: calc(100% - 2rem); max-width: 28rem; margin: auto; padding: 0;
  border: 1px solid hsl(var(--border)); border-radius: calc(var(--radius) + 4px);
  background: hsl(var(--card)); color: hsl(var(--card-foreground));
  box-shadow: var(--shadow-xl);
}
.fz-contato::backdrop { background: rgb(0 0 0 / 0.6); backdrop-filter: blur(4px); }
.fz-contato[open] { animation: fz-contato-entra .2s ease-out; }
@keyframes fz-contato-entra { from { opacity: 0; transform: translateY(8px) scale(0.98); } }

.fz-contato-corpo { display: grid; justify-items: center; gap: 0.75rem; padding: 2.5rem 2rem 2rem; text-align: center; }
.fz-contato-icone {
  display: grid; place-items: center; width: 3.5rem; height: 3.5rem; margin-bottom: 0.25rem;
  border-radius: 1rem; background-image: var(--gradient-primary); color: hsl(var(--primary-foreground));
  box-shadow: var(--shadow-glow);
}
.fz-contato-icone svg { width: 1.5rem; height: 1.5rem; }
.fz-contato h2 { font-size: 1.375rem; font-weight: 700; letter-spacing: -0.02em; line-height: 1.25; }
.fz-contato p { font-size: 0.9375rem; line-height: 1.6; color: hsl(var(--muted-foreground)); }
.fz-contato .fz-contato-email {
  width: 100%; margin-top: 0.5rem; padding: 0.875rem 1rem; border-radius: var(--radius);
  border: 1px solid hsl(var(--border)); background: hsl(var(--background));
  font-weight: 600; color: hsl(var(--foreground)); user-select: all; word-break: break-all;
}
.fz-contato-acao {
  display: inline-flex; align-items: center; justify-content: center; width: 100%; height: 2.75rem; margin-top: 0.25rem;
  border-radius: calc(var(--radius) - 2px); background: hsl(var(--primary)); color: hsl(var(--primary-foreground));
  font-size: 0.875rem; font-weight: 600; transition: background-color .2s;
}
.fz-contato-acao:hover { background: hsl(var(--primary) / 0.9); }
.fz-contato-fechar {
  position: absolute; top: 1rem; right: 1rem; display: grid; place-items: center; width: 2rem; height: 2rem;
  border-radius: 9999px; color: hsl(var(--muted-foreground)); transition: background-color .2s, color .2s;
}
.fz-contato-fechar:hover { background: hsl(var(--muted)); color: hsl(var(--foreground)); }
.fz-contato-fechar svg { width: 1rem; height: 1rem; }
.fz-contato :focus-visible { outline: 2px solid hsl(var(--ring)); outline-offset: 2px; }

@media (prefers-reduced-motion: reduce) { .fz-contato[open] { animation: none; } }
