/* Passo de confirmação entre "enviar o formulário" e "abrir o WhatsApp".
 *
 * Existe porque o envio antes abria a conversa sozinho, numa aba nova: o
 * visitante achava que tinha terminado, mas a mensagem ficava lá sem ser
 * enviada — e a aba de trás mostrava um aviso solto que ninguém lia.
 * Agora ele lê o que falta ANTES de sair da página, e sai por um clique dele.
 */

.ol-modal-backdrop {
  position: fixed;
  inset: 0;
  z-index: 200;
  display: grid;
  place-items: center;
  padding: 24px;
  background: rgba(4, 4, 4, 0.78);
  backdrop-filter: blur(6px);
  animation: ol-modal-fade 0.18s var(--ol-ease, ease-out);
}

.ol-modal {
  width: 100%;
  max-width: 460px;
  background: var(--ol-surface, #111212);
  border: 1px solid var(--ol-line, #333634);
  border-radius: var(--ol-radius-card, 16px);
  padding: 36px 34px 30px;
  text-align: center;
  animation: ol-modal-rise 0.22s var(--ol-ease, ease-out);
}

.ol-modal-mark {
  display: grid;
  place-items: center;
  width: 62px;
  height: 62px;
  margin: 0 auto 22px;
  border-radius: 50%;
  background: rgba(37, 211, 102, 0.12);
  border: 1px solid rgba(37, 211, 102, 0.32);
}
.ol-modal-mark svg { width: 32px; height: 32px; fill: #25d366; }

.ol-modal h2 {
  font-size: 25px;
  font-weight: 500;
  letter-spacing: -0.035em;
  line-height: 1.25;
  margin: 0 0 14px;
  color: var(--ol-paper, #f5f4f3);
}
.ol-modal h2 .editorial { color: var(--ol-gold, #b9915b); }

.ol-modal p {
  font-size: 14.5px;
  line-height: 1.75;
  color: var(--ol-muted, #a8aaa7);
  margin: 0 0 26px;
}
.ol-modal p b { color: var(--ol-paper, #f5f4f3); font-weight: 600; }

.ol-modal-cta {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  width: 100%;
  min-height: 56px;
  padding: 15px 24px;
  border-radius: var(--ol-radius-sm, 8px);
  background: #25d366;
  color: #06281a;
  font-size: 15px;
  font-weight: 800;
  line-height: 1.2;
  transition: background 0.2s, transform 0.2s;
}
.ol-modal-cta:hover { background: #1fbc5a; transform: translateY(-2px); }
.ol-modal-cta svg { width: 22px; height: 22px; fill: currentColor; flex-shrink: 0; }

.ol-modal-dismiss {
  display: inline-block;
  margin-top: 18px;
  padding: 8px;
  min-height: 44px;
  font-size: 13px;
  color: #8c8f89;
  background: none;
  border: 0;
}
.ol-modal-dismiss:hover { color: var(--ol-paper, #f5f4f3); }

.ol-modal-note {
  margin: 22px 0 0;
  padding-top: 18px;
  border-top: 1px solid var(--ol-line, #333634);
  font-size: 12px;
  line-height: 1.7;
  color: #85887f;
}

@keyframes ol-modal-fade { from { opacity: 0 } to { opacity: 1 } }
@keyframes ol-modal-rise {
  from { opacity: 0; transform: translateY(14px) }
  to   { opacity: 1; transform: none }
}

@media (max-width: 480px) {
  .ol-modal { padding: 30px 22px 24px; }
  .ol-modal h2 { font-size: 22px; }
  .ol-modal p { font-size: 14px; }
}

/* O site já respeita prefers-reduced-motion no site.css, mas este arquivo
   carrega depois — repete a cortesia em vez de depender da ordem. */
@media (prefers-reduced-motion: reduce) {
  .ol-modal-backdrop, .ol-modal { animation: none }
  .ol-modal-cta:hover { transform: none }
}
