/**
 * 6DDrones - Mautic Form Stylesheet (Current Design)
 * Formatação Oficial de Alta Conversão idêntica à Inspeção Predial
 */

.mautic-card {
  background: #FFFFFF;
  border: 1px solid var(--borda, rgba(26, 76, 153, 0.16));
  box-shadow: 0 4px 24px rgba(26, 76, 153, 0.08);
  padding: 36px 32px;
  position: relative;
  overflow: hidden;
}

.mautic-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 4px;
  background: linear-gradient(90deg, var(--azul, #1A4C99), var(--azul-vivo, #2563C8));
}

.mautic-header {
  margin-bottom: 24px;
  text-align: center;
}

.mautic-header h3 {
  font-family: 'Barlow Condensed', sans-serif;
  font-size: 26px;
  font-weight: 800;
  color: var(--texto, #0B1623);
  text-transform: uppercase;
  letter-spacing: 0.5px;
  margin-bottom: 8px;
}

.mautic-header p {
  font-size: 15px;
  color: var(--texto-ter, #2D4460);
  line-height: 1.5;
}

.mautic-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}

@media (max-width: 640px) {
  .mautic-grid {
    grid-template-columns: 1fr;
    gap: 0;
  }
}

/* ============================================================
   ESTILOS OFICIAIS DO MAUTIC (IDÊNTICOS À INSPEÇÃO PREDIAL)
   ============================================================ */
.mauticform_wrapper {
  max-width: 100% !important;
  margin: 0 !important;
}

.mauticform-name,
.mauticform-description {
  display: none !important;
}

.mauticform-row {
  margin-bottom: 16px !important;
}

.mauticform-label {
  font-family: 'Barlow Condensed', sans-serif !important;
  font-size: 15px !important;
  font-weight: 700 !important;
  letter-spacing: 2px !important;
  text-transform: uppercase !important;
  color: #1A4C99 !important;
  margin-bottom: 5px !important;
  display: flex !important;
  align-items: center !important;
  flex-wrap: wrap !important;
  gap: 4px !important;
  line-height: 1.2 !important;
}

.campo-obrigatorio {
  color: #c0392b !important;
  font-size: 10px !important;
  font-weight: 400 !important;
  text-transform: none !important;
  letter-spacing: normal !important;
  margin-left: 2px !important;
}

.mauticform-helpmessage {
  display: none !important;
}

.mauticform-input,
.mauticform-textarea,
.mauticform-selectbox {
  width: 100% !important;
  background: #F5F8FC !important;
  border: 1.5px solid rgba(26, 76, 153, 0.32) !important;
  border-radius: 0 !important;
  color: #0B1623 !important;
  font-family: 'Barlow', sans-serif !important;
  font-size: 17px !important;
  font-weight: 500 !important;
  padding: 14px 16px !important;
  box-shadow: none !important;
  outline: none !important;
  box-sizing: border-box !important;
  transition: border-color 0.2s, box-shadow 0.2s, background 0.2s !important;
  display: block !important;
}

.mauticform-textarea {
  min-height: 110px !important;
  resize: vertical !important;
}

.mauticform-input:focus,
.mauticform-textarea:focus,
.mauticform-selectbox:focus {
  border-color: #1A4C99 !important;
  background: #FFFFFF !important;
  box-shadow: 0 0 0 3px rgba(26, 76, 153, 0.1) !important;
}

.mauticform-button-wrapper {
  margin-top: 14px !important;
}

.mauticform-button {
  width: 100% !important;
  background: #1A4C99 !important;
  color: #FFFFFF !important;
  font-family: 'Barlow Condensed', sans-serif !important;
  font-size: 17px !important;
  font-weight: 700 !important;
  letter-spacing: 1.5px !important;
  text-transform: uppercase !important;
  padding: 17px !important;
  border: none !important;
  border-radius: 0 !important;
  cursor: pointer !important;
  clip-path: polygon(0 0, calc(100% - 13px) 0, 100% 13px, 100% 100%, 13px 100%, 0 calc(100% - 13px)) !important;
  box-shadow: 0 5px 22px rgba(26, 76, 153, 0.32) !important;
  transition: background 0.2s, transform 0.2s !important;
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  text-align: center !important;
}

.mauticform-button:hover {
  background: #2563C8 !important;
  transform: translateY(-2px) !important;
}

.mauticform-errormsg {
  color: #c0392b !important;
  font-size: 11px !important;
  font-weight: 500 !important;
  font-family: 'Barlow', sans-serif !important;
  text-transform: none !important;
  letter-spacing: normal !important;
  margin-left: 6px !important;
  margin-top: 0 !important;
  display: none;
}

.mauticform-has-error .mauticform-errormsg {
  display: inline !important;
}

.mauticform-error {
  color: #c0392b !important;
  font-size: 13px !important;
  margin-bottom: 12px !important;
}

.mauticform-message {
  color: #1A4C99 !important;
  font-size: 14px !important;
  font-weight: 600 !important;
  background: #D6E6FF !important;
  padding: 12px !important;
  margin-bottom: 12px !important;
}

.mautic-secure-note {
  font-size: 12px;
  color: var(--texto-ter, #2D4460);
  text-align: center;
  margin-top: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
}
