/* EDTI Captura — o popup fica fora do fluxo da página: não empurra layout (CLS zero). */
.edti-cap-lock { overflow: hidden; }
.edti-cap-overlay {
  position: fixed; inset: 0; z-index: 2147483000;
  display: flex; align-items: center; justify-content: center;
  padding: 16px; background: rgba(10, 10, 12, .72);
  opacity: 0; transition: opacity .2s ease;
}
.edti-cap-overlay.is-open { opacity: 1; }
.edti-cap-box {
  position: relative; width: 100%; max-width: 640px; max-height: calc(100vh - 32px); overflow: auto;
  background: #141416; color: #fff; border-radius: 10px;
  box-shadow: 0 20px 60px rgba(0,0,0,.45);
  font-family: inherit; line-height: 1.4;
}
.edti-cap-close {
  position: absolute; top: 8px; right: 10px; width: 36px; height: 36px;
  border: 0; border-radius: 50%; background: rgba(255,255,255,.12); color: #fff;
  font-size: 24px; line-height: 36px; cursor: pointer; padding: 0;
}
.edti-cap-close:hover, .edti-cap-close:focus-visible { background: rgba(255,255,255,.25); }
.edti-cap-body { padding: 32px 28px 24px; }
.edti-cap-inner { display: flex; gap: 24px; align-items: center; }
.edti-cap-form, .edti-cap-success { flex: 1 1 auto; min-width: 0; }
.edti-cap-img { flex: 0 0 140px; width: 140px; height: auto; }
.edti-cap-title {
  display: inline-block; margin: 0 0 6px; padding: 2px 8px;
  background: #e8731c; color: #fff; font-size: 26px; font-weight: 800; line-height: 1.2;
}
.edti-cap-subtitle { margin: 0 0 16px; font-size: 17px; font-style: italic; font-weight: 600; color: #fff; }
.edti-cap-field { display: block; margin: 0 0 8px; }
.edti-cap-field input,
.edti-cap-field select {
  width: 100%; box-sizing: border-box; padding: 10px 12px; font-size: 16px;
  border: 1px solid #5a5a60; border-radius: 4px; background: #8d8d92; color: #111;
}
.edti-cap-field input::placeholder { color: #2b2b2e; }
.edti-cap-field input:focus,
.edti-cap-field select:focus { outline: 2px solid #e8731c; outline-offset: 1px; background: #f2f2f4; }
.edti-cap-consent { display: flex; gap: 8px; align-items: flex-start; margin: 6px 0 10px; font-size: 12px; color: #c9c9ce; }
.edti-cap-consent input { margin-top: 2px; }
.edti-cap-consent a { color: #c9c9ce; text-decoration: underline; }
.edti-cap-error { min-height: 1em; margin: 0 0 8px; color: #ff9b9b; font-size: 14px; }
.edti-cap-btn {
  display: inline-block; width: 100%; box-sizing: border-box; padding: 12px 16px;
  border: 0; border-radius: 6px; background: #e8731c; color: #fff;
  font-size: 17px; font-weight: 700; text-align: center; text-decoration: none; cursor: pointer;
}
.edti-cap-btn:hover, .edti-cap-btn:focus-visible { background: #c95f10; color: #fff; }
.edti-cap-btn[disabled] { opacity: .7; cursor: wait; }
.edti-cap-hp { position: absolute !important; left: -9999px !important; width: 1px; height: 1px; opacity: 0; }
.edti-cap-sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
/* Tela cheia: fundo sólido cobrindo a página inteira, como o modelo Fullscreen do OM. */
.edti-cap-full { background: #141416; padding: 0; }
.edti-cap-full .edti-cap-box {
  max-width: 760px; max-height: 100vh; background: transparent;
  box-shadow: none; border-radius: 0;
}
.edti-cap-full .edti-cap-close { position: fixed; top: 16px; right: 16px; }
.edti-cap-full .edti-cap-img { flex-basis: 180px; width: 180px; }
/* Barra de administração (só para quem está logado) não cobre o X. */
.admin-bar .edti-cap-full .edti-cap-close { top: 48px; }
/* Tema claro: fundo branco, como o edti-go-blog do OM. */
.edti-cap-light.edti-cap-full, .edti-cap-light .edti-cap-box { background: #fff; color: #1f2340; }
.edti-cap-light.edti-cap-overlay:not(.edti-cap-full) { background: rgba(20,20,30,.55); }
.edti-cap-light .edti-cap-title { background: none; color: #1f2340; padding: 0; font-size: 28px; }
.edti-cap-light .edti-cap-subtitle { color: #e8731c; }
.edti-cap-light .edti-cap-field input,
.edti-cap-light .edti-cap-field select { background: #fff; color: #1f2340; border-color: #b9bcc6; }
.edti-cap-light .edti-cap-field input::placeholder { color: #8a8d98; }
.edti-cap-light .edti-cap-consent, .edti-cap-light .edti-cap-consent a { color: #555a66; }
.edti-cap-light .edti-cap-error { color: #b32d2e; }
.edti-cap-light .edti-cap-close { background: #e6e7eb; color: #1f2340; }
.edti-cap-light .edti-cap-inner { justify-content: center; text-align: center; }
.edti-cap-light .edti-cap-form { max-width: 480px; }
@media (max-width: 600px) {
  .edti-cap-body { padding: 28px 18px 18px; }
  .edti-cap-inner { flex-direction: column-reverse; gap: 8px; }
  .edti-cap-img, .edti-cap-full .edti-cap-img { width: 84px; flex-basis: auto; }
  .edti-cap-title { font-size: 22px; }
  .edti-cap-subtitle { font-size: 15px; }
}
@media (prefers-reduced-motion: reduce) { .edti-cap-overlay { transition: none; } }
@media print { .edti-cap-overlay { display: none !important; } }

.edti-cap-field select { -webkit-appearance: none; appearance: none; cursor: pointer; }


/* 1.1.8 — formulário embutido na página (layout "inline") */
.edti-cap-inline { display: block; font-family: inherit; }
.edti-cap-inline .edti-cap-form { display: block; width: 100%; }
.edti-cap-inline .edti-cap-title { background: none; color: #1f2340; padding: 0; margin: 0 0 6px; font-size: 22px; line-height: 1.25; }
.edti-cap-inline .edti-cap-subtitle { color: #555a66; font-style: normal; font-weight: 400; font-size: 15px; margin: 0 0 14px; }
.edti-cap-inline .edti-cap-field { display: block; margin: 0 0 12px; }
.edti-cap-inline .edti-cap-lbl { display: block; margin: 0 0 4px; font-size: 14px; font-weight: 600; color: #2b2b2e; }
.edti-cap-inline .edti-cap-field input,
.edti-cap-inline .edti-cap-field select { width: 100%; box-sizing: border-box; padding: 12px; font-size: 16px; background: #fff; color: #1f2340; border: 1px solid #b9bcc6; border-radius: 8px; }
.edti-cap-inline .edti-cap-field input:focus,
.edti-cap-inline .edti-cap-field select:focus { outline: 2px solid #e2621b; outline-offset: 1px; }
.edti-cap-inline .edti-cap-select { -webkit-appearance: none; appearance: none; cursor: pointer; background-image: linear-gradient(45deg, transparent 50%, #555a66 50%), linear-gradient(135deg, #555a66 50%, transparent 50%); background-position: calc(100% - 18px) 50%, calc(100% - 12px) 50%; background-size: 6px 6px; background-repeat: no-repeat; padding-right: 34px; }
.edti-cap-inline .edti-cap-hp { position: absolute !important; left: -9999px !important; width: 1px; height: 1px; opacity: 0; }
.edti-cap-inline .edti-cap-error { color: #b32d2e; font-size: 14px; margin: 0 0 8px; min-height: 0; }
.edti-cap-inline .edti-cap-error:empty { display: none; }
.edti-cap-inline .edti-cap-btn { display: block; width: 100%; padding: 14px 16px; font-size: 17px; font-weight: 700; color: #fff; background: #e2621b; border: 0; border-radius: 8px; cursor: pointer; }
.edti-cap-inline .edti-cap-btn:hover { background: #c9530f; }
.edti-cap-inline .edti-cap-btn[disabled] { opacity: .7; cursor: default; }
.edti-cap-inline .edti-cap-success .edti-cap-title { font-size: 22px; }
