/* === Calculadora de BTU — visual exclusivo === */
.btu-page .btu-app { padding: 20px; }

.btu-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; margin-bottom: 22px; }
.btu-card { background: #f8fafc; border: 2px solid #e2e8f0; border-radius: 14px; padding: 18px; }
.btu-card h3 { font-size: 15px; font-weight: 700; margin: 0 0 14px; color: #0f172a; }

.btu-dim-row { display: grid; grid-template-columns: 1fr 1fr 1fr; gap: 10px; margin-bottom: 10px; }
.btu-dim-row label { display: flex; flex-direction: column; gap: 5px; font-size: 11px; font-weight: 600; color: #64748b; text-transform: uppercase; letter-spacing: 0.3px; }
.btu-num-wrap { position: relative; display: flex; align-items: center; }
.btu-num-wrap input { width: 100%; padding: 10px 36px 10px 12px; border-radius: 10px; border: 1px solid #cbd5e1; background: #fff; font-size: 15px; font-weight: 600; color: #0f172a; }
.btu-num-wrap input:focus { outline: 2px solid #1f4fd8; outline-offset: 1px; border-color: #1f4fd8; }
.btu-unit { position: absolute; right: 12px; font-size: 12px; color: #94a3b8; font-weight: 600; pointer-events: none; }

.btu-area-display { background: linear-gradient(135deg, #f0f6ff 0%, #e0ecff 100%); border-radius: 10px; padding: 10px 14px; font-size: 14px; color: #1e3a8a; text-align: center; margin-bottom: 14px; }
.btu-area-display strong { color: #1f4fd8; font-size: 16px; font-weight: 800; }

.btu-pillgroup-row { display: flex; align-items: center; gap: 10px; margin-bottom: 10px; flex-wrap: wrap; }
.btu-pill-label { font-size: 12px; color: #5a6a8a; font-weight: 600; min-width: 36px; }
.btu-pills { display: inline-flex; background: #eef2fb; border-radius: 999px; padding: 4px; gap: 2px; flex-wrap: wrap; }
.btu-pills button { background: transparent; border: 0; padding: 7px 12px; border-radius: 999px; font-size: 12.5px; font-weight: 600; color: #5a6a8a; cursor: pointer; transition: all .15s; white-space: nowrap; }
.btu-pills button:hover { background: rgba(255,255,255,.6); }
.btu-pills button.active { background: #1f4fd8; color: #fff; box-shadow: 0 2px 8px rgba(31,79,216,0.25); }

.btu-stepper-row { display: flex; justify-content: space-between; align-items: center; margin-bottom: 8px; }
.btu-stepper-label { font-size: 13px; color: #475569; font-weight: 600; }
.btu-stepper { display: inline-flex; align-items: center; background: #fff; border: 1px solid #cbd5e1; border-radius: 999px; padding: 2px; gap: 4px; }
.btu-stepper button { width: 32px; height: 32px; border-radius: 50%; border: 0; background: #1f4fd8; color: #fff; font-size: 18px; font-weight: 700; cursor: pointer; line-height: 1; transition: background .15s; }
.btu-stepper button:hover { background: #1842c2; }
.btu-stepper button:disabled { background: #cbd5e1; cursor: not-allowed; }
.btu-stepper span { min-width: 36px; text-align: center; font-size: 16px; font-weight: 800; color: #0f172a; }

.btu-people-icons { display: flex; gap: 4px; flex-wrap: wrap; margin-bottom: 14px; font-size: 26px; min-height: 32px; }

.btu-electro { margin-bottom: 12px; }
.btu-electro > label { display: flex; flex-direction: column; gap: 5px; font-size: 11px; font-weight: 600; color: #64748b; text-transform: uppercase; letter-spacing: 0.3px; margin-bottom: 8px; }
.btu-electro-presets { display: flex; gap: 6px; flex-wrap: wrap; }
.btu-electro-presets button { background: #fff; border: 1px solid #cbd5e1; padding: 6px 10px; border-radius: 8px; font-size: 12px; cursor: pointer; color: #475569; font-weight: 600; transition: all .15s; }
.btu-electro-presets button:hover { border-color: #1f4fd8; color: #1f4fd8; }
.btu-electro-presets button.active { background: #1f4fd8; border-color: #1f4fd8; color: #fff; }

.btu-tarifa > label { display: flex; flex-direction: column; gap: 5px; font-size: 11px; font-weight: 600; color: #64748b; text-transform: uppercase; letter-spacing: 0.3px; }

/* Visualização do cômodo */
.btu-room-wrap { background: linear-gradient(135deg, #f8fafc 0%, #f1f5f9 100%); border-radius: 16px; padding: 18px; margin-bottom: 22px; }
.btu-room-stage { display: flex; justify-content: center; }
.btu-room-stage svg { width: 100%; max-width: 800px; height: auto; display: block; }
.btu-room-caption { text-align: center; font-size: 12px; color: #94a3b8; margin-top: 8px; }

/* Resultado destaque */
.btu-result-hero { background: linear-gradient(135deg, #1f4fd8 0%, #0e2f9e 100%); color: #fff; border-radius: 18px; padding: 28px 26px; display: grid; grid-template-columns: 1.4fr 1fr; gap: 24px; align-items: center; margin-bottom: 22px; box-shadow: 0 10px 30px rgba(31,79,216,0.25); }
.btu-result-main .btu-result-label { font-size: 13px; text-transform: uppercase; letter-spacing: 1px; opacity: 0.85; font-weight: 600; margin-bottom: 6px; }
.btu-result-main .btu-result-value { font-size: 44px; font-weight: 900; line-height: 1.1; margin-bottom: 4px; font-family: 'Inter', system-ui, sans-serif; letter-spacing: -1px; }
.btu-result-main .btu-result-sub { font-size: 14px; opacity: 0.85; }
.btu-result-side { display: flex; flex-direction: column; gap: 14px; }
.btu-result-meta { background: rgba(255,255,255,0.12); border-radius: 12px; padding: 12px 16px; }
.btu-result-meta-label { display: block; font-size: 11px; text-transform: uppercase; letter-spacing: 0.6px; opacity: 0.85; margin-bottom: 2px; }
.btu-result-meta-val { display: block; font-size: 20px; font-weight: 800; }

/* Modelos comerciais */
.btu-modelos-wrap { margin-bottom: 22px; }
.btu-modelos-wrap h3, .btu-breakdown h3 { font-size: 16px; font-weight: 700; margin: 0 0 8px; color: #0f172a; }
.btu-modelos-wrap .muted { font-size: 13px; color: #64748b; margin: 0 0 12px; }
.btu-modelos-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(140px, 1fr)); gap: 10px; }
.btu-modelo { background: #fff; border: 2px solid #e2e8f0; border-radius: 12px; padding: 14px 12px; text-align: center; transition: all .2s; position: relative; }
.btu-modelo .btu-modelo-valor { font-size: 18px; font-weight: 800; color: #0f172a; line-height: 1.1; }
.btu-modelo .btu-modelo-unit { font-size: 11px; color: #64748b; margin-top: 2px; }
.btu-modelo .btu-modelo-tag { font-size: 11px; color: #94a3b8; margin-top: 6px; }
.btu-modelo.small  { border-color: #fca5a5; background: #fef2f2; }
.btu-modelo.small  .btu-modelo-tag { color: #dc2626; font-weight: 600; }
.btu-modelo.ok     { border-color: #16a34a; background: #f0fdf4; box-shadow: 0 4px 12px rgba(22,163,74,0.15); transform: translateY(-2px); }
.btu-modelo.ok     .btu-modelo-tag { color: #16a34a; font-weight: 700; }
.btu-modelo.ok::after { content: "✓"; position: absolute; top: -8px; right: -8px; background: #16a34a; color: #fff; width: 24px; height: 24px; border-radius: 50%; display: flex; align-items: center; justify-content: center; font-weight: 700; box-shadow: 0 2px 6px rgba(22,163,74,0.4); }
.btu-modelo.large  { border-color: #fcd34d; background: #fffbeb; }
.btu-modelo.large  .btu-modelo-tag { color: #b45309; font-weight: 600; }

/* Tabela detalhamento */
.btu-breakdown .btu-table { width: 100%; border-collapse: collapse; background: #fff; border-radius: 12px; overflow: hidden; box-shadow: 0 1px 3px rgba(0,0,0,0.05); }
.btu-breakdown .btu-table td { padding: 11px 14px; border-top: 1px solid #f1f5f9; font-size: 14px; }
.btu-breakdown .btu-table td:first-child { color: #475569; }
.btu-breakdown .btu-table td:last-child { text-align: right; font-weight: 600; color: #0f172a; }
.btu-breakdown .btu-table tr:first-child td { border-top: 0; }
.btu-breakdown .btu-table .btu-table-total { background: #f0f6ff; }
.btu-breakdown .btu-table .btu-table-total td { font-size: 16px; padding: 14px; }
.btu-breakdown .btu-table .btu-table-total td:last-child { color: #1f4fd8; }

.btu-content { margin-top: 20px; }
.btu-content h2 { margin-top: 0; }
.btu-content p { color: #475569; line-height: 1.7; margin: 0 0 14px; }

@media (max-width: 820px) {
  .btu-grid { grid-template-columns: 1fr; }
  .btu-dim-row { grid-template-columns: 1fr 1fr 1fr; gap: 8px; }
  .btu-result-hero { grid-template-columns: 1fr; padding: 20px; }
  .btu-result-main .btu-result-value { font-size: 32px; }
  .btu-result-side { flex-direction: row; }
  .btu-result-meta { flex: 1; }
  .btu-result-meta-val { font-size: 16px; }
  .btu-modelos-grid { grid-template-columns: repeat(auto-fill, minmax(110px, 1fr)); }
  .btu-pills button { padding: 6px 10px; font-size: 11.5px; }
  .btu-card { padding: 14px; }
  .btu-room-wrap { padding: 10px 6px; }
  .btu-room-stage svg { max-width: 100%; }
}
