/* V16 · Planning form. All styles remain scoped to .brief. */
.brief{min-width:0;background:#fff;border:1px solid #ded5e7;border-radius:24px;padding:clamp(28px,4vw,40px)}
.brief [hidden]{display:none!important}
.brief .brief-identity{margin:22px 0 30px}
.brief .brief-identity label{margin:0 0 9px;font-size:14px}
.brief #nome,.brief #telefone{display:block;width:100%;min-width:0;min-height:50px;font-size:16px;scroll-margin-top:120px}
.brief .brief-phone{margin-top:22px}
.brief .field-error{margin:8px 0 0;color:#a12822;font-size:13px;line-height:1.6;font-weight:600}
.brief #telefone[aria-invalid="true"]{border-color:#a12822;outline-color:#a12822}
.brief .brief-space-title{margin:0 0 16px;font-size:clamp(20px,3vw,24px);line-height:1.35}
.brief .brief-options label{min-width:0}
.brief .brief-options span{height:100%;overflow-wrap:anywhere}
.brief .brief-other{margin:18px 0 6px;padding:18px 20px;border-left:3px solid var(--purple,#8471d8);border-radius:0 12px 12px 0;background:#f7f4fd}
.brief .brief-other label{margin:0 0 9px;font-size:14px;line-height:1.5}
.brief .brief-other input{display:block;width:100%;min-width:0;min-height:50px;margin:0;font-size:16px;background:#fff}
.brief .field-hint{font-size:13px;line-height:1.6;color:var(--muted,#5c5552);margin:9px 0 0;overflow-wrap:anywhere}
.brief .idea-label-row{display:flex;flex-wrap:wrap;align-items:center;justify-content:space-between;gap:12px 20px;margin:24px 0 11px;min-width:0}
.brief .idea-label-row>label{flex:1 1 160px;min-width:0;margin:0;font-size:14px;line-height:1.5}
.brief .dictation-toggle{display:inline-flex;flex:0 1 auto;align-items:center;justify-content:center;gap:9px;min-width:0;max-width:100%;min-height:44px;margin:0;padding:11px 16px;border:1px solid #aa98c1;border-radius:24px;background:#fff;color:var(--purple-ink,#503b8f);font-size:13px;font-weight:650;line-height:1.4;white-space:normal;text-align:center;transform:none;transition:background .18s,border-color .18s,color .18s}
.brief .dictation-toggle .ui-icon{display:block;flex:none;width:19px;height:19px}
.brief .dictation-toggle [data-dictation-label]{min-width:0;overflow-wrap:anywhere}
.brief .dictation-toggle[aria-pressed=true]{background:var(--purple-ink,#503b8f);border-color:var(--purple-ink,#503b8f);color:#fff;transform:none}
.brief .dictation-toggle:disabled{background:#f5f2f8;border-color:#c9bfce;color:#62586c;cursor:not-allowed;transform:none;box-shadow:none;opacity:1}
.brief #ideia{display:block;width:100%;min-width:0;max-width:100%;min-height:190px;padding:16px;font-size:16px;line-height:1.7;resize:vertical;background:#fff;scroll-margin-top:120px;overflow-wrap:break-word}
.brief .dictation-status{min-height:1.6em;margin:8px 0 0;font-size:13px;font-weight:500;line-height:1.6;color:var(--purple-ink,#503b8f);overflow-wrap:anywhere}
.brief .dictation-preview{margin:12px 0 0;padding:15px 17px;border:1px solid #d8cde8;border-left:3px solid var(--purple-ink,#503b8f);border-radius:0 12px 12px 0;background:#f4effb;max-height:170px;overflow:auto;overscroll-behavior:contain}
.brief .dictation-preview>strong{display:flex;align-items:center;gap:8px;font-size:13px;font-weight:650;line-height:1.5;color:var(--purple-ink,#503b8f)}
.brief .dictation-preview>strong::before{content:'';display:block;flex:none;width:6px;height:6px;border-radius:50%;background:currentColor}
.brief #dictation-live{display:block;margin-top:6px;font-size:15px;line-height:1.65;color:var(--ink,#171717);white-space:pre-wrap;overflow-wrap:anywhere}
.brief .idea-count{margin:9px 0 0;text-align:right;font-size:12px;line-height:1.5;color:var(--muted,#5c5552);font-variant-numeric:tabular-nums;overflow-wrap:anywhere}
.brief #idea-count{font-weight:650}
.brief .summary-list{min-width:0}
.brief .summary-list li{line-height:1.7;overflow-wrap:anywhere}
.brief .brief-consent{margin:24px 0 0;padding:16px;border:1px solid #d8cde8;border-radius:12px;background:#f8f5fc}
.brief .brief-consent label{display:flex;align-items:flex-start;gap:12px;margin:0;font-size:14px;line-height:1.6;cursor:pointer}
.brief .brief-consent input[type=checkbox]{flex:none;width:20px;height:20px;min-height:20px;margin:3px 0 0;padding:0;accent-color:var(--purple-ink,#503b8f)}
.brief .brief-consent a{color:var(--purple-ink,#503b8f);text-underline-offset:3px}
.brief .brief-website{position:absolute;width:1px;height:1px;overflow:hidden;clip-path:inset(50%);white-space:nowrap}
.brief .brief-submit-status{margin:18px 0 0;padding:15px 17px;border-radius:12px;background:#f0eaf8;color:#402d79;font-size:14px;line-height:1.65;overflow-wrap:anywhere}
.brief .brief-submit-status[data-state=success]{background:#e7f5ef;color:#14533d}
.brief .brief-submit-status[data-state=uncertain],.brief .brief-submit-status[data-state=error]{background:#fff0e5;color:#7c3717}
.brief #send-brief:disabled{cursor:not-allowed;opacity:.7;transform:none;box-shadow:none}
.brief .brief-summary-actions{display:flex;flex-wrap:wrap;align-items:stretch;gap:12px;margin:24px 0 0}
.brief .brief-summary-actions>.button{flex:1 1 240px;min-width:0;max-width:100%;min-height:52px;padding:14px 20px;gap:10px;font-size:14px;line-height:1.45;white-space:normal;text-align:center}
.brief .brief-summary-actions .ui-icon,.brief .brief-summary-actions .ui-arrow{flex:none;width:20px;height:20px}
.brief #send-brief{background:var(--purple-ink,#503b8f);color:#fff}
.brief .brief-summary-actions>.button.outline{border-color:#aa98c1;background:#fff;color:var(--purple-ink,#503b8f)}
.brief .brief-nav{align-items:center;flex-wrap:wrap;gap:12px}
.brief .brief-nav .button{min-width:0;max-width:100%;white-space:normal;text-align:center;line-height:1.45}
.brief #brief-next{margin-left:auto}
.brief .brief-notice{margin:23px 0 0;padding-top:17px;border-top:1px solid #e3dce9;font-size:13px;line-height:1.65;color:var(--muted,#5c5552);overflow-wrap:anywhere}
@media(hover:hover) and (pointer:fine){
 .brief .dictation-toggle:not(:disabled):hover{background:#eee7f8;border-color:var(--purple-ink,#503b8f);color:var(--purple-ink,#503b8f);transform:none}
 .brief .dictation-toggle[aria-pressed=true]:not(:disabled):hover{background:#402d79;border-color:#402d79;color:#fff}
 .brief #send-brief:hover{background:#402d79;color:#fff}
 .brief .brief-summary-actions>.button.outline:hover{background:#f0eaf8;border-color:var(--purple-ink,#503b8f);color:var(--purple-ink,#503b8f)}
}
@media(max-width:540px){
 .brief{padding:26px 22px;border-radius:21px}
 .brief .brief-other{padding:16px;margin-top:16px}
 .brief .idea-label-row{gap:10px;margin-top:22px}
 .brief .dictation-toggle{padding:11px 15px}
 .brief #ideia{min-height:180px;padding:14px}
 .brief .dictation-preview{padding:14px 15px}
 .brief .brief-summary-actions{flex-direction:column;gap:11px;margin-top:22px}
 .brief .brief-summary-actions>.button{flex-basis:auto;width:100%;min-height:50px;padding:14px 16px}
 .brief .brief-notice{font-size:12px}
}
@media(max-width:360px){
 .brief{padding:24px 17px}
 .brief .brief-other{padding:14px}
 .brief .brief-nav .button{padding:14px 16px;gap:10px;font-size:13px}
 .brief .field-hint,.brief .dictation-status{font-size:12px}
}
@media(prefers-reduced-motion:reduce){.brief .dictation-toggle,.brief .brief-summary-actions>.button{transition:none;transform:none}}
/* Loaded only on the contact page; preserve the original black-and-white photo. */
.contact-reference .content img{max-width:min(340px,100%);height:auto}
.contact-reference .service-actions .button{max-width:100%;white-space:normal;text-align:center;gap:12px;background:var(--purple-ink,#503b8f);color:#fff;text-decoration:none}
