/* ==================================================
   FOCAWEB CONTATO — CAMADA PÚBLICA
   Mantém as classes do tema e acrescenta apenas estados,
   acessibilidade e suporte aos campos dinâmicos.
================================================== */

.focaweb-honeypot {
  position: absolute !important;
  left: -99999px !important;
  width: 1px !important;
  height: 1px !important;
  overflow: hidden !important;
  opacity: 0 !important;
  pointer-events: none !important;
}

.focaweb-form-js select {
  display: block;

  width: 100%;
  min-height: 6.2rem;
  padding: 0 5.2rem 0 2.4rem;

  border: 0;
  outline: 0;
  border-radius: var(--radius-sm, 0.4rem);

  /*
   * Remove o visual nativo do Safari,
   * evitando as duas setas e o degradê do sistema.
   */
  -webkit-appearance: none !important;
  -moz-appearance: none !important;
  appearance: none !important;

  /*
   * Seta personalizada.
   */
  background-color: #e9e9e9 !important;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='10' viewBox='0 0 16 10'%3E%3Cpath d='M2 2l6 6 6-6' fill='none' stroke='%2306162a' stroke-width='2.2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") !important;
  background-repeat: no-repeat !important;
  background-position: right 2rem center !important;
  background-size: 1.6rem auto !important;

  color: var(--color-secondary, #06162a);

  font-family: inherit;
  font-size: 1.45rem;
  font-weight: 500;
  line-height: normal;

  box-shadow: none;
  cursor: pointer;
}

.focaweb-form-js select::-ms-expand {
  display: none;
}

.focaweb-form-js select:focus {
  background-color: #f4f6f8 !important;
  box-shadow: 0 0 0 0.2rem rgba(215, 25, 32, 0.18);
}

.focaweb-form-js select:disabled {
  cursor: not-allowed;
  opacity: 0.65;
}

.focaweb-form-js select:focus {
  background-color: #f4f6f8;
  box-shadow: 0 0 0 0.2rem rgba(215, 25, 32, 0.18);
}

.focaweb-form-js .focaweb-choice-group {
  display: grid;
  gap: 1rem;

  min-width: 0;
  margin: 0;
  padding: 0;

  border: 0;
}

.focaweb-form-js .focaweb-choice {
  display: flex;
  gap: 1rem;
  align-items: flex-start;

  font-size: 1.5rem;
  line-height: 1.45;
  color: var(--color-text, #49525d);
}

.focaweb-form-js .focaweb-choice input[type="checkbox"],
.focaweb-form-js .focaweb-choice input[type="radio"] {
  flex: 0 0 auto;

  width: 1.8rem !important;
  height: 1.8rem !important;
  min-height: 0 !important;
  margin: 0.2rem 0 0 !important;
  padding: 0 !important;

  accent-color: var(--color-primary, #d71920);
  box-shadow: none !important;
}

.focaweb-form-js input[type="file"] {
  height: auto !important;
  min-height: 6.2rem;
  padding: 1.5rem 2rem !important;
}

.focaweb-field__help {
  display: block;
  margin-top: 0.8rem;

  font-size: 1.3rem;
  line-height: 1.45;
  color: rgba(6, 22, 42, 0.65);
}

.focaweb-field__heading {
  margin: 0;
}

.focaweb-field__content p:last-child {
  margin-bottom: 0;
}

.focaweb-download-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;

  min-height: 4.8rem;
  padding: 1.2rem 2rem;

  border: 0.1rem solid currentColor;
  border-radius: var(--radius-sm, 0.4rem);

  color: var(--color-primary, #d71920);
  font-weight: 700;
  text-decoration: none;
}

.focaweb-form-actions {
  display: contents;
}

.focaweb-form-button-loading {
  display: none;
}

.focaweb-form-js button.is-loading .focaweb-form-button-text {
  display: none;
}

.focaweb-form-js button.is-loading .focaweb-form-button-loading {
  display: inline;
}

.focaweb-form-js button:disabled {
  cursor: wait !important;
  opacity: 0.72;
}

.focaweb-form-message {
  display: none;
  width: 100%;
  padding: 1.4rem 1.6rem;

  border-radius: var(--radius-sm, 0.4rem);

  font-size: 1.5rem;
  line-height: 1.45;
  font-weight: 600;
}

.focaweb-form-message--success,
.focaweb-form-message--error {
  display: block;
}

.focaweb-form-message--success {
  background-color: #e4f5e9;
  color: #185c2d;
}

.focaweb-form-message--error {
  background-color: #fde7e8;
  color: #8d1116;
}

@media (max-width: 768px) {
  .focaweb-form-js select,
  .focaweb-form-js input[type="file"] {
    min-height: 5.8rem;
  }
}

/* ==================================================
   CORREÇÃO DEFINITIVA DO SELECT — SAFARI
================================================== */

html body [data-focaweb-form] select,
html body form[data-focaweb-form] select {
  display: block !important;

  width: 100% !important;
  height: 6.2rem !important;
  min-height: 6.2rem !important;

  padding: 0 5.4rem 0 2.4rem !important;

  border: 0 !important;
  border-radius: var(--radius-sm, 0.4rem) !important;
  outline: none !important;

  -webkit-appearance: none !important;
  -moz-appearance: none !important;
  appearance: none !important;

  -webkit-border-radius: var(--radius-sm, 0.4rem) !important;
  -webkit-box-shadow: none !important;

  background:
    #e9e9e9
    url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='10' viewBox='0 0 16 10'%3E%3Cpath d='M2 2l6 6 6-6' fill='none' stroke='%2306162a' stroke-width='2.2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E")
    no-repeat
    right 2rem center / 1.6rem auto !important;

  color: var(--color-secondary, #06162a) !important;

  font-family: inherit !important;
  font-size: 1.45rem !important;
  font-weight: 500 !important;
  line-height: normal !important;

  text-indent: 0.01px !important;
  text-overflow: "" !important;

  cursor: pointer !important;
}

html body [data-focaweb-form] select:focus {
  background:
    #f4f6f8
    url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='10' viewBox='0 0 16 10'%3E%3Cpath d='M2 2l6 6 6-6' fill='none' stroke='%2306162a' stroke-width='2.2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E")
    no-repeat
    right 2rem center / 1.6rem auto !important;

  box-shadow: 0 0 0 0.2rem rgba(215, 25, 32, 0.18) !important;
}