/* Formulário de /contato: mesma aparência do desenho do Figma, agora com campos de verdade. */
[data-contato], [data-servico] { position: relative; z-index: 1; align-self: stretch; }
.ct-card { background: #fff; border-radius: 16px; padding: 40px; color: #0b0c0f; font-family: 'Instrument Sans', sans-serif; box-sizing: border-box; width: 100%; }
.ct-estreito .ct-card { padding: 24px; }
.ct-form-area[hidden], .ct-sucesso[hidden], [data-contato] [hidden], [data-servico] [hidden] { display: none !important; }
.ct-titulo { font: 700 28px/34px 'Inter', sans-serif; letter-spacing: -.01em; margin: 0 0 18px; color: #0b0c0f; }
.ct-estreito .ct-titulo { font-size: 24px; line-height: 30px; }
.ct-form { display: flex; flex-direction: column; gap: 18px; }
.ct-par { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; align-items: start; }
.ct-estreito .ct-par { grid-template-columns: 1fr; gap: 18px; }
.ct-empresa-bloco { display: flex; flex-direction: column; gap: 18px; }

.ct-campo { display: flex; flex-direction: column; gap: 6px; min-width: 0; }
.ct-rotulo { font: 400 14px/22px 'Instrument Sans', sans-serif; color: #0b0c0f; padding: 0; }
.ct-caixa { display: flex; align-items: center; background: #f3f1ed; border: 1px solid #c5cad0; border-radius: 8px; padding: 0 16px; min-height: 48px; box-sizing: border-box; position: relative; transition: border-color .15s, box-shadow .15s; }
.ct-caixa:focus-within { border-color: #0b0c0f; box-shadow: 0 0 0 3px rgba(11, 12, 15, .08); }
.ct-entrada { flex: 1; min-width: 0; width: 100%; border: 0; background: transparent; outline: 0; font: 400 16px/22px 'Instrument Sans', sans-serif; color: #0b0c0f; padding: 12px 0; }
.ct-entrada::placeholder { color: #9aa0a8; }
.ct-area { align-items: stretch; padding: 4px 16px; }
.ct-area textarea { resize: vertical; min-height: 120px; padding: 10px 0; font-family: inherit; }
.ct-sel select { appearance: none; -webkit-appearance: none; cursor: pointer; padding-right: 24px; }
.ct-seta { position: absolute; right: 16px; top: 50%; transform: translateY(-50%); color: #6b7078; pointer-events: none; font-size: 13px; }
.ct-ajuda { font: 400 12px/17px 'Instrument Sans', sans-serif; color: #6b7078; margin: 0; display: flex; justify-content: space-between; gap: 12px; }
.ct-cont { white-space: nowrap; font-family: 'IBM Plex Mono', monospace; }
.ct-cont.passou { color: #b6323a; }
.ct-erro { font: 500 13px/18px 'Instrument Sans', sans-serif; color: #b6323a; margin: 0; }
.ct-campo.erro .ct-caixa { border-color: #d8464b; background: #fbf1f0; }
.ct-resumo { font: 500 14px/20px 'Instrument Sans', sans-serif; color: #b6323a; background: #fbf1f0; border: 1px solid #d8464b; border-radius: 8px; padding: 12px 14px; margin: 0 0 18px; }

/* opções "O que você procura" como cartões selecionáveis */
.ct-grupo-op { border: 0; margin: 0; padding: 0; min-width: 0; display: flex; flex-direction: column; gap: 10px; }
.ct-grupo-op legend { margin-bottom: 10px; }
.ct-ops { display: flex; flex-direction: column; gap: 10px; }
.ct-op { display: flex; gap: 12px; align-items: flex-start; background: #fff; border: 1px solid #d9d6d0; border-radius: 10px; padding: 14px 16px; cursor: pointer; transition: border-color .15s, background .15s; position: relative; }
.ct-op:hover { border-color: #6b7078; }
.ct-op input { position: absolute; opacity: 0; width: 0; height: 0; }
.ct-rd { flex: 0 0 18px; width: 18px; height: 18px; border: 1.5px solid #c5cad0; border-radius: 50%; display: grid; place-items: center; box-sizing: border-box; margin-top: 2px; }
.ct-rd i { width: 8px; height: 8px; border-radius: 50%; background: #0b0c0f; display: none; }
.ct-op:has(input:checked) { background: #f3f1ed; border: 1.5px solid #0b0c0f; padding: 13.5px 15.5px; }
.ct-op:has(input:checked) .ct-rd { border-color: #0b0c0f; }
.ct-op:has(input:checked) .ct-rd i { display: block; }
.ct-op:has(input:focus-visible) { outline: 2px solid #d8464b; outline-offset: 2px; }
.ct-op-t { display: flex; flex-direction: column; gap: 2px; }
.ct-op-t b { font: 700 16px/22px 'Inter', sans-serif; letter-spacing: -.005em; }
.ct-op-t span { font: 400 13px/18px 'Instrument Sans', sans-serif; color: #6b7078; }
.ct-grupo-op.erro .ct-op { border-color: #d8464b; }

.ct-aviso { font: 400 13px/18px 'Instrument Sans', sans-serif; color: #6b7078; margin: 0; border-left: 2px solid #d8464b; padding-left: 10px; }
.ct-armadilha { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }

.ct-check { display: flex; gap: 12px; align-items: flex-start; cursor: pointer; font: 400 14px/22px 'Instrument Sans', sans-serif; }
.ct-check input { position: absolute; opacity: 0; width: 0; height: 0; }
.ct-cx { flex: 0 0 18px; width: 18px; height: 18px; border: 1.5px solid #6b7078; border-radius: 4px; box-sizing: border-box; margin-top: 2px; display: grid; place-items: center; }
.ct-check input:checked + .ct-cx { background: #0b0c0f; border-color: #0b0c0f; }
.ct-check input:checked + .ct-cx::after { content: ""; width: 9px; height: 5px; border-left: 2px solid #f3f1ed; border-bottom: 2px solid #f3f1ed; transform: rotate(-45deg) translate(1px, -1px); }
.ct-check input:focus-visible + .ct-cx { outline: 2px solid #d8464b; outline-offset: 2px; }
.ct-check a { color: inherit; text-decoration: underline; }
.ct-aceite.erro .ct-cx { border-color: #d8464b; }

.ct-botao { display: flex; align-items: center; justify-content: center; gap: 10px; background: #0b0c0f; color: #f3f1ed; border: 0; border-radius: 8px; min-height: 50px; width: 100%; cursor: pointer; font: 600 15px/20px 'Instrument Sans', sans-serif; transition: opacity .2s, transform .2s; }
.ct-botao:hover { opacity: .9; }
.ct-botao:active { transform: scale(.99); }
.ct-botao:focus-visible { outline: 2px solid #d8464b; outline-offset: 3px; }
.ct-botao:disabled { opacity: .6; cursor: default; }
.ct-botao:hover svg { animation: ct-seta .55s cubic-bezier(.4, 0, .2, 1); }
@keyframes ct-seta { 0% { transform: translate(0, 0); opacity: 1; } 45% { transform: translate(8px, -8px); opacity: 0; } 46% { transform: translate(-8px, 8px); opacity: 0; } 100% { transform: translate(0, 0); opacity: 1; } }
@media (prefers-reduced-motion: reduce) { .ct-botao:hover svg { animation: none; } }
.ct-status { font: 500 14px/20px 'Instrument Sans', sans-serif; color: #6b7078; margin: -6px 0 0; min-height: 0; }
.ct-status:empty { display: none; }
.ct-status.falha { color: #b6323a; }
.ct-status a { color: inherit; text-decoration: underline; }
.ct-nota { font: 400 12px/17px 'Instrument Sans', sans-serif; color: #6b7078; margin: 0; }

/* tela de sucesso */
.ct-sucesso { display: flex; flex-direction: column; gap: 14px; outline: 0; padding: 8px 0; }
.ct-sucesso[hidden] { display: none !important; }
.ct-regua { display: block; width: 48px; height: 3px; background: #d8464b; }
.ct-sucesso .ct-titulo { margin: 0; }
.ct-corpo { font: 400 17px/26px 'Instrument Sans', sans-serif; margin: 0; color: #0b0c0f; }
.ct-enq { font: 500 12px/16px 'IBM Plex Mono', monospace; letter-spacing: .14em; text-transform: uppercase; color: #6b7078; margin: 10px 0 0; }
.ct-links { display: flex; flex-wrap: wrap; gap: 8px 24px; margin: 0; }
.ct-links a { font: 600 15px/22px 'Instrument Sans', sans-serif; color: #0b0c0f; text-decoration: underline; text-underline-offset: 3px; }
.ct-links a:hover { color: #d8464b; }
