/* ============================================================
   Card de proposta (.lead) + skin do WIDGET OFICIAL de
   Formulário do Elementor Pro (.elementor-form).
   Escopo reforçado (body.kairum-site .lead) + !important nos
   pontos que o Elementor Pro pinta inline, para reproduzir 1:1
   o card .lead__form do site original.
   ============================================================ */
.lead{position:relative;border:1px solid var(--line);border-radius:var(--r);
  background:linear-gradient(165deg,rgba(28,43,39,.94),rgba(12,19,17,.94));backdrop-filter:blur(14px);-webkit-backdrop-filter:blur(14px);
  padding:clamp(26px,2.6vw,38px);box-shadow:0 40px 90px -40px rgba(0,0,0,.9)}
.lead__head h3{font-family:var(--t-display);font-weight:300;font-size:clamp(1.5rem,2.4vw,2rem);line-height:1.05;color:var(--paper) !important}
.lead__head h3 b{font-weight:600;color:var(--paper) !important;-webkit-text-fill-color:var(--paper)}
.lead__head p{color:var(--gray-2) !important;font-size:.92rem;margin-top:.5rem}

/* veiculo pre-selecionado */
.lead__vehicle{display:none;align-items:center;gap:.7em;padding:.8em 1em;border:1px dashed var(--line);
  border-radius:12px;background:rgba(124,242,165,.05);font-size:.9rem;color:var(--paper);margin-top:1.6rem}
.lead__vehicle.show{display:flex}
.lead__vehicle b{font-weight:600}
.lead__vehicle .x{margin-left:auto;cursor:pointer;color:var(--gray-2);font-size:1.1rem;line-height:1}
.lead__note{font-size:.74rem;color:var(--gray-2);text-align:center;margin-top:.8rem}

/* ---- estrutura do form ---- */
body.kairum-site .lead .elementor-form{margin-top:1.6rem;display:flex;flex-direction:column;gap:1rem;background:transparent}
body.kairum-site .lead .elementor-form-fields-wrapper{display:flex;flex-direction:row;flex-wrap:wrap;gap:1rem;margin:0;width:100%}
body.kairum-site .lead .elementor-field-group{
  padding:0 !important;margin:0 !important;
  display:flex !important;flex-direction:column !important;align-items:stretch !important;
  gap:.5rem !important;width:100%}
body.kairum-site .lead .elementor-field-group.elementor-col-50{width:calc(50% - .5rem)}
@media(max-width:560px){
  body.kairum-site .lead .elementor-field-group.elementor-col-50{width:100%}
}
/* o input ocupa a linha inteira do grupo, abaixo do label */
body.kairum-site .lead .elementor-field-group > .elementor-field-textual,
body.kairum-site .lead .elementor-field-group > input,
body.kairum-site .lead .elementor-field-group > textarea,
body.kairum-site .lead .elementor-field-group > .elementor-field-subgroup{order:2;width:100%}
body.kairum-site .lead .elementor-field-group > .elementor-field-label{order:1}

/* labels */
body.kairum-site .lead .elementor-field-group > .elementor-field-label{
  font-family:var(--t-display) !important;font-weight:500 !important;font-size:.72rem !important;letter-spacing:.1em !important;
  text-transform:uppercase !important;color:var(--gray-2) !important;margin:0 !important;padding:0 !important}

/* inputs / textarea / select — reforço de cor caso o tema seja agressivo.
   O raio e o tamanho vêm dos controles nativos definidos no template. */
body.kairum-site .lead .elementor-field-group .elementor-field-textual,
body.kairum-site .lead .elementor-field-group input.elementor-field:not([type="radio"]):not([type="checkbox"]),
body.kairum-site .lead .elementor-field-group textarea.elementor-field,
body.kairum-site .lead .elementor-field-group select.elementor-field{
  font-family:var(--t-body) !important;color:var(--paper) !important;
  background:rgba(244,245,243,.04);
  padding:.9em 1em;line-height:1.4;box-shadow:none;
  width:100% !important;height:auto !important;
  -webkit-text-fill-color:var(--paper)}
body.kairum-site .lead .elementor-field-group .elementor-field-textual::placeholder{color:rgba(141,147,143,.7) !important;opacity:1}
body.kairum-site .lead .elementor-field-group .elementor-field-textual:focus{
  outline:none;border-color:var(--gray) !important;background:rgba(244,245,243,.07);box-shadow:none !important}

/* PF/PJ como segmentado — campo Radio inline do Elementor */
body.kairum-site .lead .elementor-field-type-radio .elementor-field-subgroup,
body.kairum-site .lead .elementor-field-type-radio .elementor-field-subgroup.elementor-subgroup-inline{
  display:grid !important;grid-template-columns:1fr 1fr !important;gap:6px !important;
  background:rgba(244,245,243,.04) !important;
  border:1px solid var(--line) !important;border-radius:12px !important;padding:5px !important;margin:0 !important;width:100%}
body.kairum-site .lead .elementor-field-type-radio .elementor-field-option{position:relative;margin:0 !important;width:100%;display:block}
body.kairum-site .lead .elementor-field-type-radio .elementor-field-option input[type="radio"]{
  position:absolute !important;inset:0;width:100% !important;height:100% !important;opacity:0 !important;margin:0 !important;cursor:pointer;z-index:2}
body.kairum-site .lead .elementor-field-type-radio .elementor-field-option label{
  display:flex !important;align-items:center;justify-content:center;gap:.5em;cursor:pointer;
  font-family:var(--t-display) !important;font-weight:500;font-size:.9rem;letter-spacing:.02em;color:var(--gray) !important;
  padding:.7em 1em !important;border-radius:8px;transition:.3s var(--ease);text-transform:none;margin:0 !important;width:100%}
body.kairum-site .lead .elementor-field-type-radio .elementor-field-option input[type="radio"]:checked + label{
  background:var(--gray);color:var(--green) !important;-webkit-text-fill-color:var(--green)}

/* checkbox de ciencia (acceptance) */
body.kairum-site .lead .elementor-field-type-acceptance .elementor-field-subgroup,
body.kairum-site .lead .elementor-field-type-checkbox .elementor-field-subgroup{margin:0}
body.kairum-site .lead .elementor-field-type-acceptance .elementor-field-option,
body.kairum-site .lead .elementor-field-type-checkbox .elementor-field-option{
  display:flex;align-items:flex-start;gap:.7em;position:relative}
body.kairum-site .lead .elementor-field-type-acceptance input[type="checkbox"],
body.kairum-site .lead .elementor-field-type-checkbox input[type="checkbox"]{
  appearance:none;-webkit-appearance:none;flex:0 0 auto;width:20px !important;height:20px !important;
  border:1px solid var(--gray-2) !important;border-radius:6px !important;margin:1px 0 0;cursor:pointer;
  transition:.25s var(--ease);position:relative;background:transparent !important}
body.kairum-site .lead .elementor-field-type-acceptance input[type="checkbox"]:checked,
body.kairum-site .lead .elementor-field-type-checkbox input[type="checkbox"]:checked{
  background:var(--gray) !important;border-color:var(--gray) !important}
body.kairum-site .lead .elementor-field-type-acceptance input[type="checkbox"]::after,
body.kairum-site .lead .elementor-field-type-checkbox input[type="checkbox"]::after{
  content:"";position:absolute;inset:0;background:no-repeat center/12px 12px;
  background-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none'%3E%3Cpath d='M5 12l5 5L20 6' stroke='%23141F1C' stroke-width='2.4' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
  opacity:0;transform:scale(.6);transition:.25s var(--ease)}
body.kairum-site .lead .elementor-field-type-acceptance input[type="checkbox"]:checked::after,
body.kairum-site .lead .elementor-field-type-checkbox input[type="checkbox"]:checked::after{opacity:1;transform:none}
body.kairum-site .lead .elementor-field-type-acceptance label,
body.kairum-site .lead .elementor-field-type-checkbox label{
  cursor:pointer;font-family:var(--t-body) !important;font-size:.84rem;color:var(--gray) !important;line-height:1.45;
  text-transform:none;letter-spacing:0;font-weight:400}

/* botao de envio = .btn--solid */
body.kairum-site .lead .elementor-field-type-submit{margin-top:.3rem;width:100%}
body.kairum-site .lead .elementor-field-type-submit .elementor-button,
body.kairum-site .lead button[type="submit"].elementor-button{
  font-family:var(--t-display) !important;font-weight:500;font-size:.92rem;letter-spacing:.02em;
  display:inline-flex !important;align-items:center;justify-content:center;gap:.7em;
  padding:1.05em 1.9em !important;border-radius:100px !important;border:1px solid transparent;
  background:var(--gray) !important;color:var(--green) !important;-webkit-text-fill-color:var(--green);cursor:pointer;
  transition:.45s var(--ease);width:100%;min-height:0;text-transform:none}
body.kairum-site .lead .elementor-field-type-submit .elementor-button:hover{background:var(--paper) !important;transform:translateY(-2px)}
body.kairum-site .lead .elementor-field-type-submit .elementor-button svg,
body.kairum-site .lead .elementor-field-type-submit .elementor-button .arc{width:18px;height:18px;transition:.45s var(--ease)}
body.kairum-site .lead .elementor-field-type-submit .elementor-button:hover svg{transform:rotate(45deg)}
body.kairum-site .lead .elementor-button-content-wrapper{display:inline-flex;align-items:center;gap:.7em}

/* mensagens */
body.kairum-site .lead .elementor-message{font-family:var(--t-body);font-size:.85rem}
body.kairum-site .lead .elementor-message.elementor-message-success{color:#7CF2A5}
body.kairum-site .lead .elementor-message.elementor-message-danger{color:#ff9c9c}
body.kairum-site .lead .elementor-field-group .elementor-field-textual.elementor-error{border-color:#ff9c9c !important}
