/* 3b. Formulário de orçamento (modelo: cartão de uma coluna, campos preenchidos) */
.quote{max-width:600px;margin:56px auto 0;padding:36px 32px 32px;border:1px solid #DCE5F2;border-radius:28px;background:#fff;box-shadow:var(--shadow-card);scroll-margin-top:96px}
.quote[hidden]{display:none}
.quote-head{text-align:center;margin-bottom:26px}
.quote-head :is(h2,h3){font-size:clamp(1.6rem,3.4vw,2rem);color:var(--navy-800)}
.quote-head p{max-width:42ch;margin:12px auto 0;color:var(--ink-2);font-size:1rem;line-height:1.55}
.quote-body{display:grid;gap:18px}
.quote-step{min-width:0;margin:0;padding:0;border:0;scroll-margin-top:110px}
.quote-step[hidden]{display:none}
.quote-step input,.quote-step select,.quote-step textarea{scroll-margin-top:150px}
.step-label{display:block;margin:0 0 8px;color:var(--ink);font-weight:500;font-size:1rem}
.step-label .opt{color:var(--ink-2);font-weight:400}
.quote-step input[type=text],.quote-step input[type=tel],.quote-step select,.quote-step textarea{
  width:100%;min-height:54px;padding:0 18px;border:1px solid #C9D9F0;border-radius:14px;background:#E9F1FC;color:var(--ink);
  font:500 1rem/1.3 var(--font);transition:border-color .15s ease,box-shadow .15s ease,background-color .15s ease;-webkit-appearance:none;appearance:none}
.quote-step textarea{min-height:100px;padding:14px 18px;resize:vertical}
.quote-step select{padding-right:48px;cursor:pointer;background-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M6 9h12l-6 7z' fill='%23071F3D'/%3E%3C/svg%3E");background-repeat:no-repeat;background-position:right 16px center;background-size:20px}
.quote-step select:invalid,.quote-step select option[value=""]{color:#5B6E8C}
.quote-step select:disabled{cursor:not-allowed;opacity:.65}
.quote-step input::placeholder,.quote-step textarea::placeholder{color:#5B6E8C;opacity:1}
.quote-step input:hover,.quote-step select:not(:disabled):hover,.quote-step textarea:hover{border-color:#9DBBE6}
.quote-step input:focus,.quote-step select:focus,.quote-step textarea:focus{outline:none;border-color:var(--blue);background-color:#fff;box-shadow:0 0 0 3px rgba(4,94,234,.15)}
.quote .field-hint{margin-top:6px;color:var(--ink-2);font-size:.82rem}
.quote .field-error{margin-top:6px;color:#B42318;font-size:.84rem;font-weight:600}
.quote .field-error:empty{display:none}
.has-error input,.has-error select,.has-error textarea{border-color:#E39B93;background-color:#FDF3F2}
.quote-consent .step-label{color:var(--navy-800);font-weight:600;margin-bottom:10px}
.check{display:flex;align-items:flex-start;gap:12px;cursor:pointer;color:var(--ink-2);font-size:.92rem;line-height:1.5}
.check input{flex:none;width:22px;height:22px;margin:1px 0 0;accent-color:var(--blue);cursor:pointer}
.check a{color:var(--blue);font-weight:600;text-underline-offset:3px}
.hp{position:absolute;left:-9999px;width:1px;height:1px;overflow:hidden}
.quote-foot{margin-top:26px}
.quote-foot .btn{width:100%;min-height:56px;font-size:1.02rem}
.quote-noscript{margin-top:16px;color:var(--ink-2);text-align:center}
.quote-noscript a{color:var(--blue);font-weight:600}
@media (max-width:720px){.quote{margin-top:36px;padding:28px 18px 22px;border-radius:24px}}

/* Adaptação de formulário idêntico à home para páginas de serviços. */
.service-hero-form{grid-area:form;min-width:0}
.service-hero-form .quote{width:100%;max-width:none;margin:0;padding:24px;border-radius:22px;border-color:#bfd4f2;box-shadow:0 18px 52px rgba(0,0,0,.25);background:#fff;color:#0a1a36}
.service-hero-form .quote-head{text-align:left;margin-bottom:16px}
.service-hero-form .quote-head :is(h2,h3){font-size:clamp(1.45rem,2.3vw,1.8rem);color:#071f3d}
.service-hero-form .quote-head p{margin:8px 0 0!important;color:#3a4a66!important;font-size:.9rem!important;line-height:1.45!important}
.service-hero-form .quote-body{grid-template-columns:repeat(2,minmax(0,1fr));gap:13px}
.service-hero-form .quote-step{min-width:0}
.service-hero-form .quote-step .step-label{font-size:.92rem;margin-bottom:5px}
.service-hero-form .quote-step input[type=text],.service-hero-form .quote-step input[type=tel],.service-hero-form .quote-step select{min-height:46px;padding-inline:12px;border-radius:11px;font-size:.95rem}
.service-hero-form .quote-step textarea{min-height:78px;padding:11px 12px;border-radius:11px}
.service-hero-form .quote-wide{grid-column:1/-1}
.service-hero-form .quote-step .field-error,.service-hero-form .quote-step .field-hint{color:#3a4a66}
.service-hero-form .quote-step .field-error{color:#b42318}
.service-hero-form .quote-consent{gap:10px}
.service-hero-form .check{font-size:.84rem;line-height:1.45}
.service-hero-form .check input{height:20px;width:20px}
.service-hero-form .quote-foot{margin-top:16px}
/* CTA compacto em todas as páginas de serviços: evita altura exagerada por estilos herdados. */
.service-hero-form .quote-foot .btn{display:flex;align-items:center;justify-content:center;gap:9px;width:100%;height:52px;min-height:52px;max-height:52px;padding:0 18px;box-sizing:border-box;font-size:.95rem;line-height:1.2;white-space:normal;text-align:center}
.service-hero-form .quote-foot .btn .ico{width:18px;height:18px;flex:0 0 18px}
@media(max-width:620px){.service-hero-form .quote-foot .btn{height:50px;min-height:50px;max-height:50px;padding:0 14px;font-size:.9rem}}
.service-hero-form .quote-noscript{color:#3a4a66!important}
@media(max-width:620px){.service-hero-form .quote{padding:18px 15px;border-radius:18px}.service-hero-form .quote-body{grid-template-columns:1fr;gap:13px}.service-hero-form .quote-head :is(h2,h3){font-size:1.42rem}}


/* UX mobile: erros legiveis e foco evidente sem alterar layout/fluxo. */
.quote .quote-step [aria-invalid="true"]{border-color:#b42318;background-color:#fff6f5}
.quote .quote-step [aria-invalid="true"]:focus-visible{outline:3px solid rgba(180,35,24,.28);outline-offset:2px;border-color:#b42318;box-shadow:none}
.quote .quote-step :is(input,select,textarea):focus-visible{outline:3px solid rgba(4,94,234,.28);outline-offset:2px}
.quote .quote-consent input[type="checkbox"]{min-width:20px;min-height:20px;accent-color:var(--blue)}
.quote .quote-consent input[type="checkbox"]:focus-visible{outline:3px solid rgba(4,94,234,.35);outline-offset:3px}
@media(max-width:620px){
  .quote .quote-step :is(input[type="text"],input[type="tel"],select){font-size:16px;min-height:48px}
  .quote .quote-step textarea{font-size:16px}
  .quote .quote-foot .btn{min-height:52px}
  .quote .quote-consent label{line-height:1.5}
}
