/* Componente compartilhado: contact-form */

.ct-form {
  display: grid;
  grid-template-columns: repeat(2,minmax(0,1fr));
  gap: 18px 16px;
  padding: clamp(24px,2.4vw,44px);
  background: #FFFFFF;
  border: 1px solid #DCEBF3;
  border-radius: 24px;
  box-shadow: 0 20px 60px rgba(30,90,140,.10);
}

@media (max-width:640px) {
  .ct-form {
    grid-template-columns: 1fr;
  }
}

.ct-full {
  grid-column: 1/-1;
}

.ct-field {
  display: flex;
  flex-direction: column;
  gap: 8px;
  font-size: 14px;
  font-weight: 700;
  color: #0E2A4A;
}

.ct-field input,
.ct-field select,
.ct-field textarea {
  font: inherit;
  font-weight: 400;
  font-size: 15.5px;
  color: #0E2A4A;
  min-height: 50px;
  padding: 0 14px;
  border: 1.5px solid #D5E4EC;
  border-radius: 12px;
  background: #F7FBFD;
  transition: border-color .15s,box-shadow .15s,background .15s;
  box-sizing: border-box;
  width: 100%;
}

.ct-field textarea {
  padding: 12px 14px;
  resize: vertical;
  min-height: 120px;
}

.ct-field select {
  appearance: none;
  -webkit-appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='14' height='14' viewBox='0 0 24 24' fill='none' stroke='%230E2A4A' stroke-width='2.4' stroke-linecap='round'%3E%3Cpath d='M6 9l6 6 6-6'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 14px center;
  padding-right: 40px;
}

.ct-field input::placeholder,
.ct-field textarea::placeholder {
  color: #93A8B8;
}

.ct-field input:focus,
.ct-field select:focus,
.ct-field textarea:focus {
  outline: none;
  border-color: #8FD14A;
  background: #fff;
  box-shadow: 0 0 0 3px rgba(182,232,94,.3);
}

.ct-actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 14px 20px;
  padding-top: 4px;
}

.ct-actions span {
  font-size: 13.5px;
  color: #5B7590;
}

.ct-actions a {
  color: #0E7C66;
  font-weight: 600;
}

.ct-btn {
  display: inline-flex;
  align-items: center;
  gap: 16px;
  min-height: 56px;
  padding: 0 28px;
  border: 0;
  border-radius: 12px;
  background: #B6E85E;
  color: #061224;
  font-family: Manrope,sans-serif;
  font-size: 16.5px;
  font-weight: 800;
  cursor: pointer;
  box-shadow: 0 8px 24px rgba(140,200,60,.35);
  transition: transform .15s,box-shadow .15s;
}

.ct-btn:hover {
  transform: translateY(-1px);
  box-shadow: 0 12px 30px rgba(140,200,60,.45);
}

.ct-field em,
.ct-actions em,
.ct-yn legend em {
  font-style: normal;
  color: #E0565B;
  margin-left: 3px;
}

.ct-form [data-only] {
  display: flex;
}

.ct-form:has(input[value="revenda"]:checked) [data-only="lojista"],
.ct-form:has(input[value="lojista"]:checked) [data-only="revenda"] {
  display: none !important;
}

.ct-yn {
  margin: 0;
  padding: 0;
  border: 0;
  gap: 10px;
  flex-direction: row !important;
  flex-wrap: wrap;
  align-items: center;
}

.ct-yn legend {
  float: left;
  margin: 0 14px 0 0 !important;
}

.ct-yn .ct-checks,
.ct-yn .ct-sist,
.ct-yn .ct-errmsg {
  flex-basis: 100%;
}

.ct-yn legend {
  padding: 0;
  margin-bottom: 10px;
  font-size: 14px;
  font-weight: 700;
  color: #0E2A4A;
}

.ct-yn-opts {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
}

.ct-yn-opts label {
  position: relative;
  cursor: pointer;
}

.ct-yn-opts input {
  position: absolute;
  opacity: 0;
  width: 0;
  height: 0;
  pointer-events: none;
}

.ct-yn-opts span {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 96px;
  min-height: 46px;
  padding: 0 20px;
  border: 1.5px solid #D5E4EC;
  border-radius: 12px;
  background: #F7FBFD;
  font-weight: 700;
  color: #0E2A4A;
  transition: border-color .15s,background .15s;
}

.ct-yn-opts input:checked+span {
  border-color: #8FD14A;
  background: #F3FBE8;
  box-shadow: 0 0 0 3px rgba(182,232,94,.28);
}

.ct-yn-opts input:focus-visible+span {
  outline: 2px solid #0E7C66;
  outline-offset: 2px;
}

.ct-count {
  font-size: 12.5px;
  font-weight: 500;
  color: #7A90A2;
  align-self: flex-end;
}

.ct-count.ok {
  color: #5FA81F;
}

.ct-field.ct-err input,
.ct-field.ct-err select,
.ct-field.ct-err textarea {
  border-color: #E0565B;
  background: #FFF7F7;
}

.ct-yn.ct-err .ct-yn-opts span {
  border-color: #E0565B;
}

.ct-errmsg {
  font-size: 12.5px;
  font-weight: 600;
  color: #D2454B;
}

.ct-ok {
  padding: 14px 18px;
  border-radius: 12px;
  background: #F3FBE8;
  border: 1.5px solid #B6E85E;
  font-weight: 700;
  color: #2F6B12;
}

.ct-hint {
  font-size: 12.5px;
  font-weight: 500;
  color: #7A90A2;
  min-height: 0;
}

.ct-hint.ok {
  color: #5FA81F;
}

.ct-hint.load {
  color: #0E7C66;
}

.ct-rs input.filled {
  background: #F3FBE8;
  border-color: #B6E85E;
}

.ct-yn-opts span {
  min-width: 120px;
}

.ct-form {
  gap: 14px 14px !important;
  padding: clamp(22px,2vw,36px) !important;
}

.ct-field {
  gap: 6px !important;
  font-size: 13.5px !important;
}

.ct-field input,
.ct-field select {
  min-height: 44px !important;
  font-size: 15px !important;
}

.ct-field textarea {
  min-height: 92px !important;
}

.ct-yn-opts span {
  min-height: 42px !important;
  min-width: 100px !important;
}

.ct-btn {
  min-height: 50px !important;
}

