/* Terracotta — Anuncie seu imóvel (wizard) v1.12 */
.tc-anuncie-page .tc-anuncie-hero h1{max-width:900px}
.tc-anuncie-steps-intro{padding:48px 0 0}
.tc-funnel-grid.tc-funnel-grid-light{grid-template-columns:repeat(4,1fr);background:var(--border);border-color:var(--border);box-shadow:0 18px 55px rgba(24,18,14,.05)}
.tc-funnel-grid-light article{background:#fff;min-height:170px}
.tc-funnel-grid-light article h3{color:var(--black);margin-top:22px}
.tc-funnel-grid-light article span{color:var(--terra)}
@media(max-width:1000px){.tc-funnel-grid.tc-funnel-grid-light{grid-template-columns:1fr 1fr}}
@media(max-width:640px){.tc-funnel-grid.tc-funnel-grid-light{grid-template-columns:1fr}}
.tc-anuncie-form-section{padding:56px 0 96px}
.tc-wz-card{max-width:980px;margin:0 auto;padding:40px}
.tc-wz-head h3{font-size:30px}
.tc-req{color:var(--terra);font-weight:900}
.tc-wz-optional{font-weight:500;color:var(--muted);font-size:12px}

/* Progresso */
.tc-wz-progress{list-style:none;display:grid;grid-template-columns:repeat(4,1fr);gap:8px;padding:0;margin:26px 0 18px}
.tc-wz-progress li{display:flex;align-items:center;gap:10px;padding:12px 14px;border-radius:12px;background:var(--beige);color:var(--muted);font-size:13px;font-weight:800;border:1px solid transparent}
.tc-wz-progress li span{width:26px;height:26px;border-radius:50%;display:grid;place-items:center;background:#fff;color:var(--muted);font-size:12px;border:1px solid var(--border)}
.tc-wz-progress li.is-active{background:#fff;border-color:var(--terra);color:var(--black)}
.tc-wz-progress li.is-active span{background:var(--terra);color:#fff;border-color:var(--terra)}
.tc-wz-progress li.is-done{color:var(--black);cursor:pointer}
.tc-wz-progress li.is-done span{background:#2F7D5F;color:#fff;border-color:#2F7D5F}
.tc-wz-progress li.is-done span::before{content:"✓"}
.tc-wz-progress li.is-done span{font-size:0}
.tc-wz-progress li.is-done span::before{font-size:12px}

/* Etapas */
.tc-wz-step{display:none;border:0;padding:0;margin:0;min-width:0}
.tc-wz-step.is-active{display:grid;gap:16px}
.tc-wz-step legend{font-family:'Plus Jakarta Sans',Inter,sans-serif;font-size:20px;font-weight:800;color:var(--black);letter-spacing:-.03em;margin-bottom:6px;padding:0}
.tc-wz-hint{margin:-6px 0 4px;font-size:14px;color:var(--muted)}
.tc-anuncio-wizard .tc-form-row{display:grid;grid-template-columns:1fr 1fr;gap:14px}
.tc-anuncio-wizard .tc-form-row-3{grid-template-columns:1fr 1fr 1fr}
.tc-anuncio-wizard .tc-form-row-4{grid-template-columns:repeat(4,1fr)}
.tc-anuncio-wizard .tc-form-row-cep{grid-template-columns:1.2fr .8fr 1fr}
.tc-anuncio-wizard label{display:flex;flex-wrap:wrap;gap:4px 5px;align-items:center}
.tc-anuncio-wizard label>input,.tc-anuncio-wizard label>select,.tc-anuncio-wizard label>textarea,.tc-anuncio-wizard label>.tc-select{flex:0 0 100%;margin-top:4px}
.tc-anuncio-wizard label>.tc-wz-counter,.tc-anuncio-wizard label>.tc-wz-cep-status,.tc-anuncio-wizard label>small:not(.tc-wz-optional){flex:0 0 100%}
.tc-anuncio-wizard label[hidden]{display:none!important}
.tc-anuncio-wizard label.has-error input,.tc-anuncio-wizard label.has-error select,.tc-anuncio-wizard label.has-error textarea,.tc-anuncio-wizard label.has-error .tc-select-button{border-color:#c0392b!important;box-shadow:0 0 0 3px rgba(192,57,43,.12)}
.tc-anuncio-wizard .tc-consent.has-error{border-color:#c0392b;background:#fff3f1}
.tc-wz-cep-status{font-weight:500;color:var(--muted);font-size:12px;min-height:1em}
.tc-wz-counter{font-weight:500;color:var(--muted);font-size:12px}
.tc-wz-counter.is-ok{color:#2F7D5F}
.tc-wz-values{background:var(--beige);border-radius:16px;padding:16px;display:grid;gap:14px}

/* Cards de opção (finalidade / perfil) */
.tc-wz-radio-cards{display:grid;grid-template-columns:repeat(3,1fr);gap:12px}
.tc-wz-radio-cards-4{grid-template-columns:repeat(4,1fr)}
.tc-wz-radio-cards label{position:relative;display:block;cursor:pointer;margin:0}
.tc-wz-radio-cards input{position:absolute;opacity:0;width:0;height:0}
.tc-wz-radio-cards span{display:grid;gap:2px;padding:16px;border:1.5px solid var(--border);border-radius:14px;background:var(--bg);transition:.2s}
.tc-wz-radio-cards strong{color:var(--black);font-size:15px}
.tc-wz-radio-cards small{color:var(--muted);font-weight:500;font-size:12px}
.tc-wz-radio-cards input:checked+span{border-color:var(--terra);background:#f7ece4;box-shadow:0 0 0 3px rgba(166,90,58,.12)}
.tc-wz-radio-cards input:focus-visible+span{outline:2px solid var(--terra);outline-offset:2px}
.tc-wz-radio-cards.has-error span{border-color:#c0392b}

/* Chips de características */
.tc-wz-details{border:1px solid var(--border);border-radius:14px;padding:0 16px;background:#fff}
.tc-wz-details summary{cursor:pointer;padding:14px 0;font-weight:800;color:var(--black);font-size:14px;list-style:none;display:flex;justify-content:space-between;align-items:center;gap:12px}
.tc-wz-details summary::-webkit-details-marker{display:none}
.tc-wz-details summary::after{content:"+";font-size:20px;color:var(--terra)}
.tc-wz-details[open] summary::after{content:"−"}
.tc-wz-details summary small{font-weight:500;color:var(--muted);font-size:12px}
.tc-wz-details .tc-wz-chips{padding-bottom:16px}
.tc-wz-inline{display:grid;gap:8px}
.tc-wz-inline-label{font-weight:800;color:var(--black);font-size:13px}
.tc-wz-chips{display:flex;flex-wrap:wrap;gap:8px}
.tc-wz-chip{position:relative;margin:0;cursor:pointer;display:block}
.tc-wz-chip input{position:absolute;opacity:0;width:0;height:0}
.tc-wz-chip span{display:inline-block;padding:8px 13px;border-radius:999px;border:1px solid var(--border);background:var(--bg);font-size:13px;font-weight:600;color:var(--text);transition:.15s}
.tc-wz-chip input:checked+span{background:var(--terra);border-color:var(--terra);color:#fff}
.tc-wz-chip input:focus-visible+span{outline:2px solid var(--terra);outline-offset:2px}

/* Fotos */
.tc-wz-photos{display:grid;gap:12px}
.tc-wz-photos-head{display:flex;justify-content:space-between;gap:16px;align-items:flex-start}
.tc-wz-photos-head strong{display:block;color:var(--black);font-size:14px}
.tc-wz-photos-head span{font-size:13px;color:var(--muted);font-weight:500}
.tc-wz-photo-count{white-space:nowrap;font-weight:800;color:var(--black)!important;background:var(--beige);padding:6px 12px;border-radius:999px;font-size:12px!important}
.tc-wz-dropzone{display:grid;justify-items:center;gap:4px;padding:34px 20px;border:2px dashed #d9c8b8;border-radius:16px;background:var(--bg);text-align:center;cursor:pointer;transition:.2s;color:var(--muted);font-size:13px}
.tc-wz-dropzone strong{color:var(--black);font-size:15px}
.tc-wz-drop-icon{font-size:28px;color:var(--terra);line-height:1}
.tc-wz-dropzone.is-over,.tc-wz-dropzone:hover{border-color:var(--terra);background:#f7ece4}
.tc-wz-dropzone.has-error{border-color:#c0392b;background:#fff3f1}
.tc-wz-dropzone.is-busy{opacity:.6;pointer-events:none}
.tc-wz-dropzone.is-full{opacity:.5;pointer-events:none}
.tc-wz-photo-list{list-style:none;padding:0;margin:0;display:grid;grid-template-columns:repeat(auto-fill,minmax(120px,1fr));gap:10px}
.tc-wz-photo{position:relative;aspect-ratio:4/3;border-radius:12px;overflow:hidden;background:#eee;cursor:grab;border:2px solid transparent}
.tc-wz-photo.is-cover{border-color:var(--terra)}
.tc-wz-photo.is-over{border-color:var(--gold)}
.tc-wz-photo.is-dragging{opacity:.5}
.tc-wz-photo img{width:100%;height:100%;object-fit:cover}
.tc-wz-photo-tag{position:absolute;left:8px;bottom:8px;background:rgba(15,15,15,.7);color:#fff;font-size:11px;font-weight:800;padding:3px 8px;border-radius:999px}
.tc-wz-photo.is-cover .tc-wz-photo-tag{background:var(--terra)}
.tc-wz-photo-remove,.tc-wz-photo-cover{position:absolute;top:6px;width:26px;height:26px;border-radius:50%;border:0;background:rgba(15,15,15,.72);color:#fff;font-size:15px;line-height:1;cursor:pointer;display:grid;place-items:center;padding:0}
.tc-wz-photo-remove{right:6px}
.tc-wz-photo-cover{left:6px;font-size:13px}
.tc-wz-photo-remove:hover{background:#c0392b}
.tc-wz-photo-cover:hover{background:var(--terra)}

/* Declarações e navegação */
.tc-wz-declarations{display:grid;gap:10px}
.tc-anuncio-wizard .tc-consent{display:flex;gap:10px;align-items:flex-start;border:1px solid var(--border);border-radius:12px;padding:12px 13px;font-size:13px;font-weight:500;color:var(--text);cursor:pointer}
.tc-anuncio-wizard .tc-consent input{width:18px;height:18px;margin-top:2px;flex:none;accent-color:var(--terra)}
.tc-wz-nav{display:flex;align-items:center;gap:12px;margin-top:10px;padding-top:18px;border-top:1px solid var(--border)}
.tc-wz-nav-spacer{flex:1}
.tc-wz-nav .tc-btn{margin:0}
.tc-wz-nav .tc-btn[hidden]{display:none}
.tc-btn-dark-ghost{color:var(--black);border:1px solid var(--border);background:transparent}
.tc-wz-nav button:disabled{opacity:.6;cursor:wait}
.tc-wz-progress-bar{position:relative;height:34px;border-radius:10px;background:var(--beige);overflow:hidden;font-size:12px;font-weight:700;color:var(--black)}
.tc-wz-progress-bar div{position:absolute;inset:0 auto 0 0;width:0;background:#e3c9b6;transition:width .2s}
.tc-wz-progress-bar span{position:relative;display:grid;place-items:center;height:100%}
.tc-wz-progress-bar[hidden]{display:none}
.tc-wz-alert[hidden]{display:none}
.tc-wz-success{display:grid;gap:12px;padding:12px 0}
.tc-wz-success h3{font-family:'Plus Jakarta Sans',Inter,sans-serif;font-size:28px;color:var(--black);margin:0;letter-spacing:-.03em}
.tc-wz-success[hidden]{display:none}
.cf-turnstile{margin-top:4px}

@media(max-width:860px){
  .tc-wz-card{padding:24px 18px}
  .tc-wz-progress{grid-template-columns:1fr 1fr}
  .tc-anuncio-wizard .tc-form-row,.tc-anuncio-wizard .tc-form-row-3,.tc-anuncio-wizard .tc-form-row-cep{grid-template-columns:1fr}
  .tc-anuncio-wizard .tc-form-row-4{grid-template-columns:1fr 1fr}
  .tc-wz-radio-cards,.tc-wz-radio-cards-4{grid-template-columns:1fr}
  .tc-wz-nav{flex-wrap:wrap}
  .tc-wz-nav .tc-btn{width:100%;text-align:center}
  .tc-wz-nav-spacer{display:none}
}
