/* Campo UF (select do CF7) com o mesmo visual dos inputs; aviso de cidade fora da área. */
select.wpcf7-select[name="uf"] {
  appearance: none;
  -webkit-appearance: none;
  box-sizing: border-box;
  width: 100%;
  height: 48px;
  padding: 0 36px 0 12px;
  border: 0;
  border-radius: 5px;
  background-color: #ffffff;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath d='M1 1l5 5 5-5' fill='none' stroke='%231a3362' stroke-width='2'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 14px center;
  color: #000000;
  font: inherit;
  font-size: 0.75rem;
  cursor: pointer;
}

/* Mesmas medidas dos inputs do tema nas telas grandes (altura pelo conteúdo, 10px/12px, 14px). */
@media (min-width: 1024px) {
  select.wpcf7-select[name="uf"] {
    height: auto;
    padding: 10px 36px 10px 12px;
    border-radius: 6px;
    font-size: 0.875rem;
  }
}

select.wpcf7-select[name="uf"]:focus {
  outline: 2px solid #1a3362;
}

.cf-area-aviso {
  display: block;
  margin-top: 4px;
  color: #1a3362;
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: none;
}

.cf-cadastro-rapido {
  display: block;
  margin-top: 6px;
  padding: 8px 10px;
  border-left: 4px solid #1a3362;
  border-radius: 4px;
  background: #fff;
  color: #1a3362;
  font-size: 0.875rem;
  font-weight: 700;
  line-height: 1.3;
  text-transform: none;
}

.cf-cadastro-rapido:empty {
  display: none;
}

.wpcf7-not-valid-tip a,
.cf-cadastro-rapido a {
  color: inherit;
  font-weight: 700;
  text-decoration: underline;
}

/* Celular: o iOS amplia a página ao focar campo com fonte menor que 16px (o tema usa 12px).
   Seletor com `body` para vencer as regras do tema e do select UF acima, sem mexer em src/. */
@media (max-width: 1023.98px) {
  body .wpcf7 input:not([type="checkbox"]):not([type="radio"]):not([type="submit"]):not([type="hidden"]),
  body .wpcf7 select,
  body .wpcf7 textarea {
    font-size: 16px;
  }
}
