/* =========================================================
   Cprodutos_apoio.css — Modal de captura (H74)
   Tema claro + cores oficiais: Azul #0a5390 | Marrom #844832
========================================================= */

.h74-modal{
  position: fixed;
  inset: 0;
  z-index: 3000;
  display: none;
}

.h74-modal.is-open{
  display: block;
}

.h74-modal__backdrop{
  position: absolute;
  inset: 0;
  background: rgba(17,24,39,0.35);
  backdrop-filter: blur(4px);
}

.h74-modal__panel{
  position: relative;
  width: min(860px, calc(100% - 28px));
  margin: 48px auto;
  border-radius: 18px;
  border: 1px solid rgba(17,24,39,0.10);
  background: rgba(255,255,255,0.96);
  box-shadow: 0 26px 70px rgba(17,24,39,0.20);
  overflow: hidden;
}

.h74-modal__header{
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 12px;
  padding: 18px 18px 10px;
  border-bottom: 1px solid rgba(17,24,39,0.08);
  background:
    radial-gradient(900px 220px at 20% 0%, rgba(10,83,144,0.10), transparent 60%),
    radial-gradient(900px 220px at 80% 0%, rgba(132,72,50,0.08), transparent 60%),
    rgba(255,255,255,0.92);
}

.h74-modal__kicker{
  margin: 0 0 6px;
  font-size: 12px;
  font-weight: 900;
  letter-spacing: 0.14em;
  color: rgba(17,24,39,0.70);
  text-transform: uppercase;
}

.h74-modal__title{
  margin: 0 0 6px;
  font-size: 20px;
  color: #0a5390;
}

.h74-modal__subtitle{
  margin: 0;
  color: rgba(17,24,39,0.72);
  line-height: 1.55;
  max-width: 70ch;
}

.h74-modal__close{
  width: 40px;
  height: 40px;
  border-radius: 12px;
  border: 1px solid rgba(17,24,39,0.12);
  background: rgba(255,255,255,0.75);
  font-size: 22px;
  line-height: 1;
  cursor: pointer;
}

.h74-modal__close:hover{
  background: rgba(255,255,255,0.95);
}

.h74-modal__body{
  padding: 16px 18px 18px;
}

.h74-modal__product{
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  padding: 12px 12px;
  border-radius: 14px;
  border: 1px solid rgba(17,24,39,0.10);
  background: rgba(10,83,144,0.05);
  margin-bottom: 14px;
}

.h74-pill{
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 6px 10px;
  border-radius: 999px;
  border: 1px solid rgba(17,24,39,0.10);
  background: rgba(255,255,255,0.85);
  font-size: 12px;
  font-weight: 900;
  color: rgba(17,24,39,0.75);
}

.h74-modal__productname{
  color: #111827;
  font-weight: 900;
}

.h74-grid{
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
}

.h74-field{
  display: grid;
  gap: 8px;
}

.h74-field--span2{
  grid-column: span 2;
}

.h74-field > span{
  font-weight: 900;
  font-size: 13px;
  color: rgba(17,24,39,0.86);
}

.h74-field input{
  border-radius: 14px;
  border: 1px solid rgba(17,24,39,0.12);
  background: rgba(245,245,245,0.92);
  color: #111827;
  padding: 12px 12px;
  outline: none;
}

.h74-field input:focus{
  border-color: rgba(10,83,144,0.55);
  box-shadow: 0 0 0 3px rgba(10,83,144,0.14);
}

.h74-field input[readonly]{
  background: rgba(245,245,245,0.75);
  color: rgba(17,24,39,0.78);
}

.h74-hint{
  color: rgba(17,24,39,0.60);
  font-size: 12px;
  line-height: 1.4;
}

.h74-consent{
  display: grid;
  grid-template-columns: 18px 1fr;
  gap: 10px;
  align-items: start;
  margin-top: 14px;
  padding: 12px;
  border-radius: 14px;
  border: 1px solid rgba(17,24,39,0.10);
  background: rgba(255,255,255,0.92);
}

.h74-consent span{
  color: rgba(17,24,39,0.72);
  line-height: 1.55;
  font-size: 13px;
}

.h74-modal__actions{
  display: flex;
  justify-content: flex-end;
  gap: 10px;
  margin-top: 14px;
}

.h74-mini-note{
  margin: 10px 0 0;
  color: rgba(17,24,39,0.60);
  font-size: 12px;
  line-height: 1.5;
}

.h74-error{
  margin: 10px 0 0;
  padding: 10px 12px;
  border-radius: 14px;
  border: 1px solid rgba(132,72,50,0.25);
  background: rgba(132,72,50,0.06);
  color: rgba(17,24,39,0.82);
  line-height: 1.5;
}

/* Mobile */
@media (max-width: 820px){
  .h74-modal__panel{
    margin: 18px auto;
  }

  .h74-grid{
    grid-template-columns: 1fr;
  }

  .h74-field--span2{
    grid-column: auto;
  }

  .h74-modal__actions{
    flex-direction: column;
    align-items: stretch;
  }
}

