/*
 * Residuav Fix CSS
 * Corrige resets globais injetados por plugins de formulário
 * Carregado por último para ter prioridade máxima
 */

/* Garantir que html/body não sejam limitados por nenhum plugin */
html,
body {
  max-width: 100% !important;
  overflow-x: hidden !important;
  width: 100% !important;
}

/* Correção para plugins que forçam max-width no body wrapper */
body > * {
  box-sizing: border-box;
}

/* Grid de contacto - 2 colunas no desktop */
#contacto-grid {
  display: grid !important;
  grid-template-columns: 1fr !important;
  gap: 3rem !important;
  align-items: start !important;
  width: 100% !important;
  box-sizing: border-box !important;
}

@media (min-width: 1024px) {
  #contacto-grid {
    grid-template-columns: 1fr 1fr !important;
    gap: 4rem !important;
  }
}

#contacto-form-col,
#contacto-info-col {
  width: 100% !important;
  min-width: 0 !important;
  box-sizing: border-box !important;
}

/* Impedir que wrappers de formulários quebrem o layout pai */
#contacto-form-col form,
#contacto-form-col > div,
#contacto-form-col > section,
#contacto-form-col > article {
  max-width: 100% !important;
  width: 100% !important;
  box-sizing: border-box !important;
  float: none !important;
}
