/* ===== DC Genie — flat, direto sobre o fundo azul #39A8DB do site ===== */
.dcg-page { background: transparent; padding: 18px 12px 38px; }
.dcg-page-in { max-width: 1080px; margin: 0 auto; }
.dcg { max-width: 960px; margin: 0 auto; text-align: center; }
.dcg-hero { padding: 6px 12px 4px; }
.dcg-eyebrow {
  display: inline-flex; align-items: center; gap: 6px; color: #fff; opacity: .92;
  font-weight: 800; font-size: 12px; text-transform: uppercase; letter-spacing: .6px; margin: 0 0 8px;
}
.dcg-title { font-size: 32px; line-height: 1.12; font-weight: 800; color: #fff; margin: 0 0 8px; text-shadow: 0 1px 2px rgba(0,0,0,.10); }
.dcg-sub { color: rgba(255,255,255,.95); font-size: 17px; margin: 0 auto 20px; max-width: 600px; }

.dcg-form { margin: 0 auto; }
.dcg-input-wrap {
  display: flex; gap: 8px; max-width: 760px; margin: 0 auto; background: #fff;
  border-radius: 14px; padding: 7px; box-shadow: 0 6px 18px rgba(0,0,0,.16);
}
#dcg-prompt { flex: 1; border: 0; outline: 0; background: transparent; font-size: 16px; padding: 10px 12px; color: #1f2330; min-width: 0; }
.dcg-go {
  border: 0; cursor: pointer; background: #39A8DB; color: #fff; font-weight: 800; font-size: 15px;
  padding: 12px 24px; border-radius: 10px; white-space: nowrap; transition: background .15s;
}
.dcg-go:hover { background: #2d8dba; }
.dcg-go:disabled { opacity: .6; cursor: default; }
.dcg-hint { color: rgba(255,255,255,.88); font-size: 12.5px; margin: 11px 0 12px; }
.dcg-chips { display: flex; flex-wrap: wrap; gap: 7px; justify-content: center; }
.dcg-chip {
  border: 0; cursor: pointer; background: rgba(255,255,255,.92); color: #2d8dba;
  font-size: 13px; font-weight: 700; padding: 7px 13px; border-radius: 999px; transition: background .15s, transform .1s;
}
.dcg-chip:hover { background: #fff; transform: translateY(-1px); }

/* Stage (loading / erro / resultado) */
.dcg-stage { max-width: 640px; margin: 18px auto 0; }
.dcg-loading { text-align: center; padding: 30px 8px; }
.dcg-loading p { margin: 14px 0 0; color: rgba(255,255,255,.95); font-weight: 600; }
.dcg-spinner { width: 44px; height: 44px; margin: 0 auto; border-radius: 50%; border: 4px solid rgba(255,255,255,.4); border-top-color: #fff; animation: dcg-spin .9s linear infinite; }
@keyframes dcg-spin { to { transform: rotate(360deg); } }
.dcg-error { text-align: center; padding: 16px 8px; }
.dcg-error p { margin: 0 0 12px; color: #fff; font-weight: 700; }

.dcg-result { text-align: center; }
.dcg-img { max-width: 100%; max-height: 66vh; border: 4px solid #fff; border-radius: 14px; background: #fff; box-shadow: 0 8px 24px rgba(0,0,0,.18); }
.dcg-acts { display: flex; flex-wrap: wrap; gap: 10px; justify-content: center; margin-top: 18px; }
.dcg-act {
  display: inline-flex; align-items: center; gap: 8px; position: relative; cursor: pointer;
  font-weight: 700; font-size: 15px; text-decoration: none; padding: 12px 20px; border-radius: 999px;
  border: 2px solid transparent; transition: background .15s, color .15s, border-color .15s, transform .1s;
}
.dcg-act i { color: inherit; }
.dcg-act-print { background: #fff; color: #2d8dba !important; box-shadow: 0 4px 14px rgba(0,0,0,.16); }
.dcg-act-print:hover { background: #eaf6fc; transform: translateY(-1px); }
.dcg-act-2nd { background: rgba(255,255,255,.16); color: #fff !important; border-color: rgba(255,255,255,.6); }
.dcg-act-2nd:hover { background: rgba(255,255,255,.28); border-color: #fff; transform: translateY(-1px); }
.dcg-act-ghost { background: transparent; color: rgba(255,255,255,.92) !important; }
.dcg-act-ghost:hover { background: rgba(255,255,255,.16); }
.dcg-act-novo { background: #e8442e; color: #fff; font-size: 10px; font-weight: 800; padding: 1px 6px; border-radius: 999px; text-transform: uppercase; letter-spacing: .3px; }

/* Galeria de exemplos */
.dcg-gallery { max-width: 1040px; margin: 38px auto 0; text-align: center; }
.dcg-gallery-title { font-size: 22px; font-weight: 800; color: #fff; margin: 0 0 2px; }
.dcg-gallery-sub { color: rgba(255,255,255,.85); font-size: 13px; margin: 0 0 16px; }
.dcg-gallery-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(150px, 1fr)); gap: 12px; }
.dcg-ex {
  border: 0; background: #fff; border-radius: 12px; overflow: hidden; cursor: pointer; padding: 0;
  text-align: left; box-shadow: 0 3px 10px rgba(0,0,0,.10); transition: transform .1s, box-shadow .15s;
}
.dcg-ex:hover { transform: translateY(-2px); box-shadow: 0 8px 20px rgba(0,0,0,.22); }
.dcg-ex img { width: 100%; aspect-ratio: 1 / 1; object-fit: contain; background: #fff; display: block; }
.dcg-ex-cap { display: block; font-size: 12px; color: #5b616e; padding: 7px 9px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; border-top: 1px solid #f1f1f4; }

@media (max-width: 600px) {
  .dcg-title { font-size: 25px; }
  .dcg-input-wrap { flex-direction: column; }
  .dcg-go { width: 100%; }
  .dcg-gallery-grid { grid-template-columns: repeat(auto-fill, minmax(118px, 1fr)); }
}
@media (prefers-reduced-motion: reduce) {
  .dcg-ex, .dcg-act, .dcg-go, .dcg-chip { transition: none; }
  .dcg-ex:hover, .dcg-act:hover, .dcg-chip:hover { transform: none; }
  .dcg-spinner { animation: none; }
}

/* Progresso de uso */
.dcg-progress { color: rgba(255,255,255,.92); font-size: 13px; margin: 14px 0 0; }

/* Modal (galeria + upsell) */
.dcg-modal { position: fixed; inset: 0; z-index: 100000; display: flex; align-items: center; justify-content: center; padding: 16px; }
.dcg-modal-bg { position: absolute; inset: 0; background: rgba(0,0,0,.72); }
.dcg-modal-card { position: relative; z-index: 1; width: 100%; max-width: 540px; max-height: 92vh; overflow: auto; text-align: center; }
.dcg-modal-x { position: absolute; top: 8px; right: 8px; z-index: 3; background: rgba(0,0,0,.6); color: #fff; border: 2px solid rgba(255,255,255,.85); width: 38px; height: 38px; border-radius: 50%; font-size: 22px; line-height: 1; cursor: pointer; box-shadow: 0 2px 8px rgba(0,0,0,.35); display: flex; align-items: center; justify-content: center; }
.dcg-modal-x:hover { background: #000; }
.dcg-modal-img { max-width: 100%; max-height: 64vh; background: #fff; border: 4px solid #fff; border-radius: 14px; }
.dcg-modal-cap { color: #fff; margin: 10px 0 2px; font-weight: 600; }
.dcg-modal-body .dcg-acts { margin-top: 14px; }

/* Upsell (card branco sobre o backdrop escuro) */
.dcg-up { background: #fff; border-radius: 18px; padding: 26px 22px; max-width: 430px; margin: 0 auto; text-align: center; }
.dcg-up-emoji { font-size: 42px; line-height: 1; }
.dcg-up-title { font-size: 22px; font-weight: 800; color: #1f2330; margin: 8px 0 6px; }
.dcg-up-sub { color: #5b616e; font-size: 15px; margin: 0 0 18px; }
.dcg-up-sub b { color: #1f2330; }
.dcg-up-cta { display: flex; flex-direction: column; gap: 10px; }
.dcg-up-cta .dcg-act, .dcg-up-send { justify-content: center; width: 100%; }
.dcg-up-cta .dcg-act-print, .dcg-up-send { background: #39A8DB; color: #fff !important; box-shadow: none; }
.dcg-up-cta .dcg-act-print:hover, .dcg-up-send:hover { background: #2d8dba; }
.dcg-up-cta .dcg-act-ghost { color: #6b7280 !important; }
.dcg-up-form { display: flex; flex-direction: column; gap: 10px; margin-top: 2px; }
.dcg-up-formtxt { color: #5b616e; font-size: 14px; margin: 0 0 4px; }
.dcg-up-form input { border: 2px solid #e5e7eb; border-radius: 10px; padding: 12px 14px; font-size: 15px; outline: 0; }
.dcg-up-form input:focus { border-color: #39A8DB; }
.dcg-up-msg { font-size: 13px; margin: 4px 0 0; min-height: 1em; color: #b3261e; }
