/* Formulário original da home, limitado à seção de projeto desta prévia. */
#projeto.quote{padding-block:96px}
/* Na home, o FAQ claro entrega a sequência escura: formulário, convite e rodapé. */
.aled-home #projeto.quote{border-radius:clamp(24px,3vw,44px) clamp(24px,3vw,44px) 0 0}
#projeto.quote .quote-grid{display:grid;grid-template-columns:.88fr 1.12fr;gap:112px;align-items:start}
#projeto.quote .quote-copy{min-width:0;padding-top:16px;position:static}
#projeto.quote .quote-copy>.eyebrow{margin-bottom:32px;font-size:9px}
#projeto.quote h2{font-family:Manrope,Inter,sans-serif;font-size:clamp(48px,4.5vw,66px);font-weight:500;line-height:1.1}
#projeto.quote .quote-copy>p:not(.eyebrow){margin-top:28px;color:#c2c2c2;font-size:15px;line-height:1.65}
#projeto.quote .quote-copy>.quote-scope{max-width:420px;color:#f0f0f0;line-height:1.65}
#projeto.quote .quote-contact{display:flex;align-items:center;gap:16px;margin-top:56px;padding-top:28px;border-top:1px solid #444}
#projeto.quote .quote-contact>.icon{width:25px;height:25px}
#projeto.quote .quote-contact>div{min-width:0}
#projeto.quote .quote-contact strong{display:block;font-size:12px;font-weight:500}
#projeto.quote .quote-contact a{display:flex;align-items:center;width:fit-content;max-width:100%;min-height:44px;padding-block:8px;font-size:13px;line-height:1.4;color:#d7d7d7;text-decoration:underline;text-underline-offset:4px;overflow-wrap:anywhere}
#projeto.quote .quote-contact a:hover{color:#fff}
#projeto.quote .quote-detail{display:block;font-family:Mono,monospace;font-size:8px;line-height:1.9;letter-spacing:.06em;color:#9c9c9c;margin-top:64px}
#projeto.quote .quote-form{min-width:0;background:#fff;color:#111;border-radius:12px;padding:36px;color-scheme:light}
#projeto.quote #quote-fields{border:0;margin:0;padding:0;min-width:0}
#projeto.quote .form-header{padding-bottom:28px;border-bottom:1px solid #e5e5e0;margin-bottom:24px}
#projeto.quote .form-header h3{font-family:Inter,Arial,sans-serif;font-size:19px;font-weight:600;letter-spacing:-.035em;line-height:1.3}
#projeto.quote .form-header p{font-size:10px;color:#666;margin-top:8px;line-height:1.6}
#projeto.quote .form-header .form-scope{margin-top:14px;color:#444;font-size:12px;line-height:1.55}
#projeto.quote .quote-reference{display:flex;align-items:flex-start;justify-content:space-between;gap:18px;min-height:116px;margin-bottom:24px;padding:18px;border:1px solid #d9d9d5;border-radius:8px;background:#f7f7f4}
#projeto.quote .quote-reference-copy{display:grid;min-width:0;gap:6px}
#projeto.quote .quote-reference-kicker{font-family:Mono,monospace;font-size:10px;letter-spacing:.06em}
#projeto.quote #quote-reference-title{font-size:14px;line-height:1.4}
#projeto.quote #quote-reference-source{color:#555;font-size:12px;line-height:1.5}
#projeto.quote #quote-reference-link,#projeto.quote #quote-reference-remove{display:inline-flex;align-items:center;min-height:44px;color:#111;font-size:12px;text-decoration:underline;text-underline-offset:3px}
#projeto.quote #quote-reference-link{width:fit-content}
#projeto.quote #quote-reference-remove{flex-shrink:0;border:0;background:transparent;cursor:pointer}
#projeto.quote .quote-product-context{margin:0 0 26px;padding:20px;border:1px solid #ccd8bf;border-left:4px solid #a6ff2e;border-radius:8px;background:#f6f8f1;min-width:0}
#projeto.quote .quote-product-kicker{font:9px/1.6 Mono,monospace;letter-spacing:.06em;color:#435238;margin-bottom:9px}
#projeto.quote .quote-product-title{font:600 16px/1.45 Manrope,Inter,sans-serif;letter-spacing:-.02em;overflow-wrap:anywhere}
#projeto.quote .quote-product-status{font-size:11px;line-height:1.7;color:#4b5145;margin-top:10px}
#projeto.quote .quote-product-actions{display:flex;align-items:center;flex-wrap:wrap;gap:4px 20px;margin-top:9px}
#projeto.quote .quote-product-actions>a,#projeto.quote .quote-product-actions>button{display:inline-flex;align-items:center;min-height:44px;padding:6px 0;border:0;background:transparent;color:#1c2914;font:500 11px/1.5 Inter,Arial,sans-serif;text-decoration:underline;text-underline-offset:4px;cursor:pointer;overflow-wrap:anywhere}
#projeto.quote .quote-product-remove{margin-left:auto}
#projeto.quote .quote-product-context[data-state="error"]{border-color:#c7c7be;border-left-color:#666;background:#f7f7f3}
#projeto.quote .quote-product-context[data-state="loading"] .quote-product-kicker:after{content:' · CONSULTANDO';font-size:8px}
#projeto.quote .quote-inspiration-context{background:#f7f7f3;border-left-color:#697759}
#projeto.quote .quote-inspiration-credit{font-size:11px;line-height:1.65;margin-top:7px;color:#4b5145;overflow-wrap:anywhere}
#projeto.quote .quote-inspiration-context .quote-product-actions{gap:2px 16px}
#projeto.quote .quote-inspiration-remove{margin-left:auto}
#projeto.quote .form-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:20px 16px}
#projeto.quote .field{min-width:0}
#projeto.quote .field.full,#projeto.quote .dimensions.full{grid-column:1/-1}
#projeto.quote .field label,#projeto.quote .dimensions legend{font-size:10px;display:block;font-weight:500;margin-bottom:8px;color:#111;line-height:1.6}
#projeto.quote .field label>span,#projeto.quote .dimensions legend>span{color:#666;font-weight:400}
#projeto.quote .field input,#projeto.quote .field select,#projeto.quote .field textarea,#projeto.quote .dimension-fields input{width:100%;min-width:0;height:46px;border:1px solid #d9d9d5;border-radius:6px;background:#fff;padding:12px;color:#111;font-family:Inter,Arial,sans-serif;font-size:11px;line-height:1.4;transition:border-color .2s,box-shadow .2s}
#projeto.quote .field select{padding-right:30px;appearance:none;background-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' viewBox='0 0 24 24' fill='none' stroke='%23555' stroke-width='1.5'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E");background-repeat:no-repeat;background-position:right 10px center}
#projeto.quote .field textarea{height:auto;resize:vertical;min-height:88px}
#projeto.quote .field-help{margin-top:8px;color:#666;font-size:10px;line-height:1.6}
#projeto.quote .quote-attachments{padding-top:2px}
#projeto.quote .quote-attachments>p{color:#666;font-size:10px;line-height:1.6;overflow-wrap:anywhere}
#projeto.quote .quote-attachments #quote-files{height:auto;max-width:100%;margin-top:12px;border-style:dashed;padding:12px;cursor:pointer}
#projeto.quote .quote-attachments #quote-files::file-selector-button{border:1px solid #111;border-radius:4px;background:#111;color:#fff;font:inherit;font-weight:600;padding:8px 12px;margin-right:12px;cursor:pointer}
#projeto.quote .quote-attachments #quote-files-status{margin-top:8px}
#projeto.quote .field input::placeholder,#projeto.quote .field textarea::placeholder,#projeto.quote .dimension-fields input::placeholder{color:#777;opacity:1}
#projeto.quote .field input:focus,#projeto.quote .field select:focus,#projeto.quote .field textarea:focus,#projeto.quote .dimension-fields input:focus{outline:0;border-color:#245400;box-shadow:0 0 0 3px #a6ff2e66}
#projeto.quote .quote-form .field:focus-within label,#projeto.quote .quote-form .dimensions:focus-within legend{color:#245400;font-weight:700}
#projeto.quote .quote-form button:focus-visible,#projeto.quote .quote-form a:focus-visible{outline:3px solid #111;outline-offset:4px}
#projeto.quote .field input:disabled,#projeto.quote .field select:disabled,#projeto.quote .field textarea:disabled,#projeto.quote .dimension-fields input:disabled{color:#777;background-color:#f4f4f0;cursor:not-allowed}
#projeto.quote .dimensions{border:0;margin:0;padding:0;min-width:0}
#projeto.quote .dimensions legend{padding:0}
#projeto.quote .dimension-fields{display:flex;align-items:center;gap:8px}
#projeto.quote .dimension-fields>label{position:relative;flex:1;min-width:0}
#projeto.quote .dimension-fields input{padding-right:23px}
#projeto.quote .dimension-fields>label>span{position:absolute;right:10px;top:14px;font-size:10px;color:#777}
#projeto.quote .dimension-fields .multiply{color:#777;font-size:12px}
#projeto.quote .area{padding-left:12px;flex-shrink:0;min-width:124px}
#projeto.quote .area>span{display:block;font-family:Mono,monospace;font-size:11px;font-weight:500;line-height:1.4;color:#4f4f4f}
#projeto.quote .area>output{display:block;font-size:13px;font-weight:600;font-variant-numeric:tabular-nums;line-height:1.8;color:#111}
#projeto.quote .form-submit{display:flex;width:100%;justify-content:space-between;align-items:center;gap:24px;margin-top:24px;padding:16px 20px;border:1px solid #111;border-radius:6px;background:#111;color:#fff;font-size:12px;font-weight:600;line-height:1.4;min-height:52px}
#projeto.quote .form-submit:hover:not(:disabled){background:#303030;border-color:#303030}
#projeto.quote .form-submit:disabled{background:#e6e6e1;border-color:#e6e6e1;color:#666;cursor:not-allowed;transform:none}
#projeto.quote .form-notice{font-size:12px;line-height:1.7;color:#666;text-align:center;max-width:340px;margin:12px auto 0}
#projeto.quote .form-notice a{text-decoration:underline;text-underline-offset:3px}
#projeto.quote [hidden],#quote-dialog [hidden]{display:none!important}

/* Resumo: o seletor de ID evita alterar o diálogo de detalhes dos produtos. */
#quote-dialog{width:min(580px,calc(100% - 32px));max-height:90dvh;border:0;padding:40px;border-radius:12px;background:#fff;box-shadow:0 28px 110px #0005;color:#111;color-scheme:light;overflow-y:auto}
#quote-dialog::backdrop{background:rgba(0,0,0,.75);backdrop-filter:blur(6px)}
#quote-dialog .dialog-close,#quote-dialog [data-close-quote]{position:absolute;z-index:2;right:16px;top:16px;width:40px;height:40px;display:grid;place-items:center;border:1px solid #ddd;border-radius:50%;background:#fff;color:#111;padding:0}
#quote-dialog>.eyebrow{font-family:Mono,monospace;font-size:8px;margin-top:8px;padding-right:24px;line-height:1.6}
#quote-dialog h2{font-family:Manrope,Inter,sans-serif;font-size:36px;font-weight:600;line-height:1.1;margin-top:16px}
#quote-dialog>p:not(.eyebrow){font-size:12px;color:#555;margin-top:20px;line-height:1.65}
#quote-dialog>textarea,#quote-dialog #quote-summary{width:100%;min-height:210px;margin-block:24px;border:1px solid #ddd;border-radius:8px;padding:16px;font-family:Inter,Arial,sans-serif;font-size:12px;line-height:1.8;resize:vertical;background:#f7f7f4;color:#222}
#quote-dialog>.attachment-handoff{margin:-10px 0 20px;padding:12px 14px;border-left:3px solid var(--lime);background:#f5f8ef;color:#222;line-height:1.6;overflow-wrap:anywhere}
#quote-dialog>.button{display:flex;width:100%;justify-content:space-between;align-items:center;gap:24px;font-size:12px;min-height:52px;padding:16px 20px;border:1px solid #111;border-radius:6px;background:#111;color:#fff}
#quote-dialog>.button:hover:not(:disabled):not([aria-disabled="true"]){background:#303030}
#quote-dialog #send-whatsapp:disabled,#quote-dialog #send-whatsapp[aria-disabled="true"]{background:#e6e6e1;border-color:#e6e6e1;color:#666;cursor:not-allowed;transform:none}
#quote-dialog .brief-actions{display:flex;flex-wrap:wrap;justify-content:space-between;gap:4px 16px;margin-top:16px}
#quote-dialog .brief-actions>button{min-height:44px;background:none;border:0;color:#111;text-decoration:underline;text-underline-offset:4px;font-size:11px;line-height:1.5;padding:10px 0}
#quote-dialog .brief-actions>button.is-confirmed{padding-inline:10px;border-radius:4px;background:var(--lime);color:#111;text-decoration:none;font-weight:700}
#quote-dialog #brief-status{min-height:1.5em;margin-top:4px;font-size:11px;line-height:1.6}
#quote-dialog>.fine-print{font-size:10px;margin-top:12px;line-height:1.6}
#quote-dialog :focus-visible{outline:3px solid #111;outline-offset:4px}
#quote-dialog #quote-summary:focus{outline:0;border-color:#245400;box-shadow:0 0 0 3px #a6ff2e66}

@media(min-width:1100px) and (min-height:820px){
  #projeto.quote .quote-copy{position:sticky;top:110px}
}
@media(max-width:1199px){
  #projeto.quote .quote-grid{gap:48px}
  #projeto.quote .quote-form{padding:28px}
  #projeto.quote .dimension-fields{flex-wrap:wrap}
  #projeto.quote .area{min-width:85px}
  #projeto.quote h2{font-size:54px}
}
@media(max-width:959px){
  #projeto.quote .quote-grid{grid-template-columns:.78fr 1.22fr;gap:40px}
  #projeto.quote h2{font-size:43px}
  #projeto.quote .quote-copy>p:not(.eyebrow){font-size:12px}
  #projeto.quote .quote-form{padding:24px}
  #projeto.quote .form-grid{grid-template-columns:1fr}
  #projeto.quote .quote-reference{flex-direction:column;gap:8px}
  #projeto.quote .field.full,#projeto.quote .dimensions.full{grid-column:auto}
  #projeto.quote .form-header h3{font-size:17px}
  #projeto.quote .quote-copy>.eyebrow{font-size:8px}
  #projeto.quote .quote-contact{align-items:flex-start}
  #projeto.quote .quote-detail{font-size:7px}
}
@media(max-width:639px){
  #projeto.quote{padding-block:70px}
  #projeto.quote .quote-grid{grid-template-columns:1fr;gap:40px}
  #projeto.quote .quote-copy{position:static;padding:0}
  #projeto.quote h2{font-size:51px}
  #projeto.quote .quote-copy>.eyebrow{font-size:8px;margin-bottom:24px}
  #projeto.quote .quote-copy>p:not(.eyebrow){font-size:14px;margin-top:24px}
  #projeto.quote .quote-contact{margin-top:32px;padding-top:24px}
  #projeto.quote .quote-detail{display:none}
  #projeto.quote .quote-form{padding:24px;border-radius:8px}
  #projeto.quote .form-header h3{font-size:18px}
  #projeto.quote .form-grid{gap:20px}
  #projeto.quote .form-header{margin-bottom:24px;padding-bottom:24px}
  #projeto.quote .field label,#projeto.quote .dimensions legend{font-size:11px}
  #projeto.quote .field input,#projeto.quote .field select,#projeto.quote .field textarea,#projeto.quote .dimension-fields input{font-size:16px;height:48px}
  #projeto.quote .field textarea{height:auto}
  #projeto.quote .quote-attachments #quote-files{height:auto;font-size:11px}
  #projeto.quote .quote-attachments #quote-files::file-selector-button{font-size:11px;margin-right:8px;padding:8px}
  #projeto.quote .form-submit{font-size:12px}
  #projeto.quote .dimension-fields{gap:6px}
  #projeto.quote .dimension-fields input{font-size:16px;padding:12px 22px 12px 8px}
  #projeto.quote .dimension-fields .area{width:100%;display:flex;align-items:center;justify-content:space-between;background:#f4f4f0;padding:8px 12px;border-radius:4px;margin-top:6px}
  #projeto.quote .area>span{font-size:11px}
  #projeto.quote .area>output{font-size:12px}
  #projeto.quote .dimension-fields>label>span{top:15px}
  #projeto.quote .form-notice{font-size:11px}
  #quote-dialog{max-height:calc(100dvh - 24px);padding:24px 20px;width:calc(100% - 24px)}
  #quote-dialog>.eyebrow{margin-top:0;font-size:8px;padding-right:28px}
  #quote-dialog h2{margin-top:14px;padding-right:28px;font-size:29px;line-height:1.1}
  #quote-dialog>p:not(.eyebrow){margin-top:16px;line-height:1.5}
  #quote-dialog>textarea,#quote-dialog #quote-summary{height:clamp(150px,30dvh,240px);min-height:150px;margin-block:18px;padding:12px;line-height:1.55;resize:vertical}
  #quote-dialog>.attachment-handoff{margin:0 0 16px;padding:9px 12px}
  #quote-dialog>.button{min-height:52px;padding-block:12px;font-size:11px;gap:16px}
  #quote-dialog .brief-actions{margin-top:8px;gap:0 12px}
  #quote-dialog .brief-actions>button{min-height:44px;padding-block:8px}
  #quote-dialog #brief-status{min-height:0;margin-top:8px;line-height:1.45}
  #quote-dialog>.fine-print{margin-top:12px;font-size:10px}
  #quote-dialog .dialog-close,#quote-dialog [data-close-quote]{width:32px;height:32px;right:12px;top:12px}
  #quote-dialog .dialog-close>.icon,#quote-dialog [data-close-quote]>.icon{width:18px;height:18px}
}
@media(max-width:359px){
  #projeto.quote h2{font-size:46px}
  #projeto.quote .quote-form{padding:20px}
}
@media(prefers-reduced-motion:reduce){
  #projeto.quote .quote-form input,#projeto.quote .quote-form select,#projeto.quote .quote-form textarea,#projeto.quote .form-submit,#quote-dialog,#quote-dialog::backdrop{transition:none;animation:none}
}
