/* ============================================================
   Orçamento — Johnson Fintegra
   ============================================================ */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

:root {
  --navy:      #0a1628;
  --navy-mid:  #0e2044;
  --blue:      #1a3a6b;
  --accent:    #1a5cb8;
  --accent-lt: #2571d8;
  --text:      #1e293b;
  --muted:     #64748b;
  --border:    #e2e8f0;
  --bg:        #f8fafc;
  --white:     #ffffff;
  --radius:    12px;
  --radius-sm: 8px;
  --shadow:    0 4px 16px rgba(0,0,0,.10);
  --shadow-lg: 0 12px 40px rgba(0,0,0,.15);
  --tr:        .18s ease;
  --cart-w:    340px;
}

html { scroll-behavior: smooth; }
body { font-family: 'Inter', system-ui, sans-serif; color: var(--text); background: var(--bg); -webkit-font-smoothing: antialiased; }
a { text-decoration: none; color: inherit; }
ul { list-style: none; }

/* ---- CODE TAG (igual ao index.html) ---- */
.code-tag {
  font-family: 'Courier New', monospace;
  font-size: .85em;
  font-weight: 600;
  color: var(--accent);
  background: rgba(26,92,184,.08);
  border: 1px solid rgba(26,92,184,.18);
  border-radius: 5px;
  padding: 2px 8px;
}
.code-tag::before { content: '{ '; opacity: .6; }
.code-tag::after  { content: ' }'; opacity: .6; }

/* ---- LOGO ---- */
.logo { display: flex; align-items: center; gap: 10px; }
.logo__img { height: 44px; width: auto; border-radius: 6px; }

/* ---- HEADER ---- */
.orc-header { background: var(--white); border-bottom: 1px solid var(--border); padding: 10px 24px; position: sticky; top: 0; z-index: 100; box-shadow: var(--shadow); }
.orc-header__inner { max-width: 1440px; margin: 0 auto; display: flex; align-items: center; justify-content: space-between; gap: 16px; }
.orc-header__title span { font-size: .85rem; }
.orc-back { color: var(--accent); font-size: .85rem; font-weight: 600; white-space: nowrap; transition: opacity var(--tr); }
.orc-back:hover { opacity: .7; }

/* ---- HERO ---- */
.orc-hero { background: linear-gradient(135deg, var(--navy) 0%, #0d1f40 100%); padding: 56px 24px; text-align: center; }
.orc-hero__inner { max-width: 700px; margin: 0 auto; }
.orc-hero h1 { font-size: clamp(1.5rem, 3vw, 2.2rem); font-weight: 800; color: var(--white); line-height: 1.25; margin-bottom: 14px; }
.orc-hero h1 span { color: #7eb3f7; }
.orc-hero p { color: rgba(255,255,255,.6); font-size: .95rem; line-height: 1.7; margin-bottom: 32px; }
.orc-hero__steps { display: flex; align-items: center; justify-content: center; gap: 12px; flex-wrap: wrap; row-gap: 8px; }
.hero-step { display: flex; align-items: center; gap: 8px; color: rgba(255,255,255,.75); font-size: .82rem; font-weight: 500; }
.hero-step span { background: var(--accent); color: var(--white); font-size: .7rem; font-weight: 800; padding: 2px 8px; border-radius: 100px; }
.hero-step__arrow { color: rgba(255,255,255,.25); font-size: 1.2rem; }

/* ---- TABS ---- */
.orc-tabs { background: var(--white); border-bottom: 1px solid var(--border); position: sticky; top: 65px; z-index: 90; }
.orc-tabs__inner { max-width: 1440px; margin: 0 auto; display: flex; padding: 0 28px; gap: 4px; }
.orc-tab {
  display: flex; align-items: center; gap: 8px;
  padding: 14px 20px; background: none; border: none;
  font-size: .88rem; font-weight: 600; color: var(--muted);
  cursor: pointer; border-bottom: 3px solid transparent;
  transition: all var(--tr); white-space: nowrap;
}
.orc-tab span { font-size: 1rem; }
.orc-tab em { font-style: normal; font-size: .72rem; font-weight: 700; background: var(--bg); border: 1px solid var(--border); color: var(--muted); padding: 1px 8px; border-radius: 100px; }
.orc-tab:hover { color: var(--accent); }
.orc-tab.active { color: var(--accent); border-bottom-color: var(--accent); }
.orc-tab.active em { background: rgba(26,92,184,.1); border-color: rgba(26,92,184,.2); color: var(--accent); }

/* ---- LAYOUT ---- */
.orc-layout { max-width: 1440px; margin: 0 auto; display: grid; grid-template-columns: 1fr var(--cart-w); gap: 0; align-items: start; min-height: calc(100vh - 200px); }

/* ---- PANEL ---- */
.orc-panel { padding: 28px 28px 60px; }
.orc-panel__intro { background: rgba(26,92,184,.05); border: 1px solid rgba(26,92,184,.12); border-radius: var(--radius-sm); padding: 14px 20px; margin-bottom: 28px; font-size: .85rem; color: var(--muted); line-height: 1.6; }
.orc-panel__intro strong { color: var(--navy); }

/* ---- MÓDULOS DE PRODUTOS ---- */
.prod-modules { display: flex; flex-direction: column; gap: 20px; }

.prod-module { background: var(--white); border: 1px solid var(--border); border-radius: var(--radius); overflow: hidden; }
.prod-module__header {
  display: flex; align-items: center; gap: 12px;
  padding: 16px 20px; background: var(--bg);
  border-bottom: 1px solid var(--border);
  border-left: 4px solid var(--mod-color, var(--accent));
}
.prod-module__icon { font-size: 1.4rem; flex-shrink: 0; }
.prod-module__header h3 { font-size: .95rem; font-weight: 800; color: var(--navy); flex: 1; }
.prod-module__desc { font-size: .75rem; color: var(--muted); }
.prod-module__count { font-size: .7rem; font-weight: 700; color: var(--accent); background: rgba(26,92,184,.1); padding: 2px 9px; border-radius: 100px; white-space: nowrap; }
.prod-module__group-badge { font-size: .68rem; font-weight: 700; color: var(--accent); background: rgba(26,92,184,.08); border: 1px solid rgba(26,92,184,.18); padding: 1px 8px; border-radius: 100px; }

.prod-items { display: flex; flex-wrap: wrap; gap: 8px; padding: 16px 20px; }

.prod-item {
  display: flex; align-items: center; gap: 8px;
  padding: 8px 14px;
  background: var(--bg); border: 1.5px solid var(--border);
  border-radius: var(--radius-sm); font-size: .82rem; font-weight: 500; color: var(--text);
  cursor: pointer; transition: all var(--tr); user-select: none;
}
.prod-item:hover { border-color: var(--accent); color: var(--accent); background: rgba(26,92,184,.04); }
.prod-item.is-selected {
  background: rgba(26,92,184,.08); border-color: var(--accent);
  color: var(--accent); font-weight: 700;
}
.prod-item.is-selected::before { content: '✓ '; font-size: .75rem; }

/* ---- TIMELINE (SERVIÇOS) ---- */
.orc-timeline { }

.phase-block { margin-bottom: 0; }
.phase-header {
  display: flex; align-items: center; justify-content: space-between;
  padding: 18px 20px; background: var(--white);
  border: 1px solid var(--border); border-radius: var(--radius) var(--radius) 0 0;
  border-bottom: 3px solid var(--phase-color, var(--accent));
}
.phase-header__left { display: flex; align-items: center; gap: 16px; }
.phase-dot { width: 44px; height: 44px; border-radius: 50%; display: grid; place-items: center; font-size: .78rem; font-weight: 800; color: #fff; flex-shrink: 0; box-shadow: 0 3px 12px rgba(0,0,0,.2); }
.phase-title { font-size: 1rem; font-weight: 800; color: var(--navy); margin-bottom: 3px; }
.phase-desc  { font-size: .78rem; color: var(--muted); line-height: 1.5; max-width: 480px; }
.phase-count { font-size: .72rem; font-weight: 700; color: var(--muted); background: var(--bg); border: 1px solid var(--border); padding: 3px 10px; border-radius: 100px; white-space: nowrap; }

.phase-track { border-left: 1px solid var(--border); border-right: 1px solid var(--border); border-bottom: 1px solid var(--border); border-radius: 0 0 var(--radius) var(--radius); background: var(--bg); padding: 8px 0 4px; }
.phase-cards { padding: 4px 0; }

.svc-card { display: flex; flex-direction: row; align-items: stretch; background: transparent; border: none; margin: 0; padding: 0; transition: background var(--tr); position: relative; }
.svc-card:hover { background: rgba(255,255,255,.7); }
.svc-card.in-cart { background: rgba(255,255,255,.9); }

.svc-card__connector { width: 48px; flex-shrink: 0; display: flex; flex-direction: column; align-items: center; padding-top: 22px; }
.svc-connector-dot { width: 10px; height: 10px; border-radius: 50%; flex-shrink: 0; z-index: 1; box-shadow: 0 0 0 3px var(--bg); }
.svc-connector-line { flex: 1; width: 2px; background: rgba(0,0,0,.06); margin-top: 4px; }

.svc-card__body { flex: 1; padding: 16px 20px 16px 0; border-bottom: 1px solid rgba(0,0,0,.05); }
.svc-card:last-child .svc-card__body { border-bottom: none; }

.svc-card__meta-top { display: flex; align-items: center; gap: 8px; margin-bottom: 8px; flex-wrap: wrap; }
.svc-cat-badge { font-size: .68rem; font-weight: 700; letter-spacing: .3px; padding: 2px 9px; border-radius: 100px; border: 1px solid; white-space: nowrap; }
.svc-mod-badge { font-size: .65rem; font-weight: 800; letter-spacing: .5px; text-transform: uppercase; color: var(--muted); background: var(--white); border: 1px solid var(--border); padding: 2px 8px; border-radius: 4px; font-family: 'Courier New', monospace; }

.svc-card__body h3 { font-size: .92rem; font-weight: 700; color: var(--navy); margin-bottom: 5px; line-height: 1.35; }
.svc-card__body p  { font-size: .8rem; color: var(--muted); line-height: 1.6; margin-bottom: 8px; }
.svc-obs { font-size: .72rem; color: var(--muted); background: var(--white); border: 1px solid var(--border); padding: 3px 9px; border-radius: 4px; display: inline-block; margin-bottom: 12px; }

.svc-card__footer { display: flex; align-items: center; justify-content: space-between; gap: 16px; flex-wrap: wrap; }
.svc-price { display: flex; align-items: center; gap: 8px; }
.svc-price__unit { font-size: .7rem; color: var(--muted); }
.svc-price__val  { font-size: 1rem; font-weight: 800; color: var(--navy); }

.svc-card__action { flex-shrink: 0; }
.btn-add { padding: 8px 18px; background: var(--accent); color: var(--white); border: none; border-radius: var(--radius-sm); font-size: .8rem; font-weight: 700; cursor: pointer; transition: all var(--tr); white-space: nowrap; }
.btn-add:hover { background: var(--accent-lt); transform: translateY(-1px); }

.inline-qty { display: flex; align-items: center; gap: 0; border: 2px solid var(--phase-color, var(--accent)); border-radius: var(--radius-sm); overflow: hidden; }
.iqty-btn { width: 32px; height: 32px; background: var(--white); border: none; cursor: pointer; font-size: 1rem; font-weight: 700; color: var(--navy); transition: background var(--tr); display: grid; place-items: center; }
.iqty-btn:hover { background: var(--bg); }
.iqty-input { width: 52px; text-align: center; font-size: .85rem; font-weight: 800; color: var(--navy); padding: 0 4px; background: var(--white); border: none; border-left: 1px solid var(--border); border-right: 1px solid var(--border); height: 32px; outline: none; font-family: inherit; -moz-appearance: textfield; }
.iqty-input::-webkit-inner-spin-button, .iqty-input::-webkit-outer-spin-button { -webkit-appearance: none; margin: 0; }
.iqty-remove { width: 32px; height: 32px; background: #fff0f0; border: none; border-left: 1px solid var(--border); cursor: pointer; font-size: .8rem; color: #e53e3e; transition: background var(--tr); display: grid; place-items: center; }
.iqty-remove:hover { background: #fee2e2; }

.svc-card.in-cart .svc-card__body h3::after { content: ' ✓'; color: var(--phase-color, var(--accent)); font-size: .75rem; }

.phase-arrow { display: flex; flex-direction: column; align-items: center; gap: 4px; padding: 16px 0; color: var(--muted); font-size: .72rem; font-weight: 600; letter-spacing: .5px; text-transform: uppercase; }

/* ---- CART ---- */
.orc-cart { background: var(--white); border-left: 1px solid var(--border); position: sticky; top: 116px; max-height: calc(100vh - 116px); display: flex; flex-direction: column; overflow: hidden; }
.orc-cart__header { padding: 20px 20px 16px; border-bottom: 1px solid var(--border); display: flex; align-items: center; justify-content: space-between; flex-shrink: 0; }
.orc-cart__header h2 { font-size: 1rem; font-weight: 700; color: var(--navy); }
.orc-cart__count { font-size: .75rem; font-weight: 700; background: var(--accent); color: var(--white); padding: 2px 10px; border-radius: 100px; }

.orc-cart__empty { flex: 1; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 12px; color: var(--muted); padding: 40px 24px; text-align: center; }
.orc-cart__empty svg { opacity: .3; }
.orc-cart__empty p { font-size: .9rem; font-weight: 500; }
.orc-cart__empty small { font-size: .8rem; opacity: .7; }

.orc-cart__items { flex: 1; overflow-y: auto; padding: 12px 0; }

.cart-item { display: grid; grid-template-columns: 1fr auto; gap: 8px; align-items: start; padding: 10px 16px; border-bottom: 1px solid var(--border); transition: background var(--tr); }
.cart-item:hover { background: var(--bg); }
.cart-item__type { font-size: .65rem; font-weight: 700; text-transform: uppercase; letter-spacing: .4px; color: var(--muted); }
.cart-item__name { font-size: .82rem; font-weight: 600; color: var(--navy); line-height: 1.35; margin-bottom: 2px; }
.cart-item__sub { font-size: .72rem; color: var(--muted); }
.cart-item__right { display: flex; flex-direction: column; align-items: flex-end; gap: 6px; }
.cart-item__price { font-size: .88rem; font-weight: 800; color: var(--navy); white-space: nowrap; }
.cart-item__remove { background: none; border: none; cursor: pointer; color: var(--muted); font-size: .8rem; transition: color var(--tr); padding: 0; }
.cart-item__remove:hover { color: #e53e3e; }
.cart-item--produto .cart-item__name { color: var(--blue); }
.cart-section-header { list-style: none; font-size: .68rem; font-weight: 700; text-transform: uppercase; letter-spacing: .6px; color: var(--muted); padding: 10px 16px 4px; background: var(--bg); border-top: 1px solid var(--border); }
.cart-item__price--consultar { font-size: .75rem; font-weight: 600; color: var(--muted); font-style: italic; white-space: nowrap; }

.orc-cart__footer { padding: 16px; border-top: 1px solid var(--border); flex-shrink: 0; background: var(--bg); }
.orc-cart__subtotals { display: flex; flex-direction: column; gap: 4px; margin-bottom: 12px; padding-bottom: 12px; border-bottom: 1px dashed var(--border); }
.cart-subtotal-row { display: flex; justify-content: space-between; font-size: .75rem; color: var(--muted); }
.cart-subtotal-row strong { color: var(--text); }
.orc-cart__total { display: flex; justify-content: space-between; align-items: center; margin-bottom: 8px; }
.orc-cart__total span { font-size: .85rem; font-weight: 600; color: var(--text); }
.orc-cart__total strong { font-size: 1.15rem; font-weight: 800; color: var(--navy); }
.orc-cart__disclaimer { font-size: .68rem; color: var(--muted); line-height: 1.5; margin-bottom: 14px; }

.btn-generate { width: 100%; padding: 13px; background: var(--accent); color: var(--white); border: none; border-radius: var(--radius-sm); font-size: .9rem; font-weight: 800; cursor: pointer; display: flex; align-items: center; justify-content: center; gap: 8px; transition: all var(--tr); margin-bottom: 8px; }
.btn-generate:hover { background: var(--accent-lt); transform: translateY(-1px); box-shadow: 0 4px 12px rgba(26,92,184,.35); }
.btn-clear { width: 100%; padding: 9px; background: none; border: 1px solid var(--border); border-radius: var(--radius-sm); font-size: .8rem; color: var(--muted); cursor: pointer; transition: all var(--tr); }
.btn-clear:hover { border-color: #e53e3e; color: #e53e3e; }

/* ---- MODAL ---- */
.modal-overlay { display: none; position: fixed; inset: 0; background: rgba(0,0,0,.55); z-index: 200; align-items: center; justify-content: center; padding: 24px; }
.modal-overlay.open { display: flex; }
.modal { background: var(--white); border-radius: var(--radius); padding: 40px; max-width: 600px; width: 100%; position: relative; max-height: 90vh; overflow-y: auto; animation: modalIn .2s ease; }
@keyframes modalIn { from { opacity:0; transform: scale(.97); } to { opacity:1; transform: scale(1); } }
.modal__close { position: absolute; top: 16px; right: 16px; background: var(--bg); border: 1px solid var(--border); border-radius: 50%; width: 32px; height: 32px; cursor: pointer; font-size: .9rem; color: var(--muted); transition: all var(--tr); }
.modal__close:hover { background: #fee2e2; color: #e53e3e; border-color: #fca5a5; }
.modal__header { margin-bottom: 28px; }
.modal__header h2 { font-size: 1.3rem; font-weight: 800; color: var(--navy); margin: 12px 0 6px; }
.modal__header p { font-size: .875rem; color: var(--muted); }
.modal__form .form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; margin-bottom: 16px; }
.modal__form .form-group { display: flex; flex-direction: column; gap: 6px; margin-bottom: 16px; }
.modal__form label { font-size: .82rem; font-weight: 600; color: var(--text); }
.modal__form input, .modal__form textarea { padding: 11px 14px; border: 1.5px solid var(--border); border-radius: var(--radius-sm); font-size: .875rem; font-family: inherit; color: var(--text); outline: none; transition: border-color var(--tr); width: 100%; }
.modal__form input:focus, .modal__form textarea:focus { border-color: var(--accent); box-shadow: 0 0 0 3px rgba(26,92,184,.1); }
.modal__form textarea { resize: vertical; min-height: 80px; }
.modal__form .btn-generate { margin-top: 8px; }

/* ---- TOAST ---- */
.toast { position: fixed; bottom: 24px; left: 50%; transform: translateX(-50%) translateY(8px); background: var(--navy); color: var(--white); padding: 12px 24px; border-radius: var(--radius-sm); font-size: .875rem; font-weight: 500; opacity: 0; pointer-events: none; transition: all .2s ease; z-index: 400; white-space: nowrap; box-shadow: var(--shadow); }
.toast.show { opacity: 1; transform: translateX(-50%) translateY(0); }
.toast.error { background: #e53e3e; }
.toast.success { background: #15803d; }

/* ---- PROPOSTA IMPRESSA ---- */
.proposal-doc { position: fixed; inset: 0; background: rgba(0,0,0,.6); z-index: 300; overflow-y: auto; padding: 40px 24px; display: flex; align-items: flex-start; justify-content: center; }
.proposal-inner { background: var(--white); max-width: 860px; width: 100%; border-radius: var(--radius); box-shadow: var(--shadow-lg); }

.prop-actions { display: flex; gap: 12px; padding: 20px 40px; border-bottom: 1px solid var(--border); background: var(--bg); border-radius: var(--radius) var(--radius) 0 0; }
.prop-btn-print { padding: 10px 24px; background: var(--navy); color: var(--white); border: none; border-radius: var(--radius-sm); font-weight: 700; font-size: .875rem; cursor: pointer; display: flex; align-items: center; gap: 8px; transition: background var(--tr); }
.prop-btn-print:hover { background: var(--blue); }
.prop-btn-close { padding: 10px 20px; background: none; border: 1.5px solid var(--border); border-radius: var(--radius-sm); font-weight: 600; font-size: .875rem; cursor: pointer; color: var(--muted); transition: all var(--tr); }
.prop-btn-close:hover { border-color: #e53e3e; color: #e53e3e; }

.prop-body { padding: 48px 48px 40px; }
.prop-header { display: flex; justify-content: space-between; align-items: flex-start; margin-bottom: 36px; padding-bottom: 28px; border-bottom: 2px solid var(--navy); }
.prop-meta { text-align: right; }
.prop-meta h1 { font-size: 1.3rem; font-weight: 800; color: var(--navy); letter-spacing: -.3px; }
.prop-meta-row { font-size: .78rem; color: var(--muted); margin-top: 4px; }
.prop-meta-row strong { color: var(--text); }

.prop-client { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; background: var(--bg); border-radius: var(--radius-sm); padding: 20px 24px; margin-bottom: 32px; }
.prop-client-field label { font-size: .7rem; font-weight: 700; text-transform: uppercase; letter-spacing: .5px; color: var(--muted); display: block; margin-bottom: 3px; }
.prop-client-field span { font-size: .875rem; font-weight: 600; color: var(--text); }

.prop-section-title { font-size: .78rem; font-weight: 800; text-transform: uppercase; letter-spacing: 1px; color: var(--muted); margin-bottom: 12px; margin-top: 28px; padding-bottom: 6px; border-bottom: 1px solid var(--border); }
.prop-table { width: 100%; border-collapse: collapse; font-size: .82rem; margin-bottom: 4px; }
.prop-table thead th { padding: 9px 12px; background: var(--navy); color: rgba(255,255,255,.8); font-weight: 700; font-size: .72rem; text-transform: uppercase; letter-spacing: .4px; text-align: left; }
.prop-table thead th:last-child { text-align: right; }
.prop-table tbody tr { border-bottom: 1px solid var(--border); }
.prop-table tbody tr:hover { background: var(--bg); }
.prop-table td { padding: 10px 12px; vertical-align: top; color: var(--text); }
.prop-table td:last-child { text-align: right; font-weight: 700; color: var(--navy); white-space: nowrap; }
.prop-table td .prop-svc-desc { font-size: .72rem; color: var(--muted); margin-top: 2px; }
.prop-cat-row td { background: rgba(26,92,184,.06); font-weight: 700; color: var(--navy); font-size: .78rem; text-transform: uppercase; letter-spacing: .3px; padding: 7px 12px; }
.prop-modules-note { font-size: .72rem; color: var(--muted); font-style: italic; margin: 8px 0 24px; padding: 10px 14px; background: var(--bg); border-left: 3px solid var(--accent); border-radius: 0 4px 4px 0; }
.prop-prod-tag { font-size: .65rem; font-weight: 700; padding: 1px 7px; border-radius: 100px; background: rgba(26,58,107,.08); color: var(--blue); display: inline-block; margin-left: 6px; vertical-align: middle; }

/* PDF — lifecycle section */
.prop-lc-product { margin-bottom: 28px; }
.prop-lc-product__name { font-size: .88rem; font-weight: 700; color: var(--navy); padding: 8px 12px; background: rgba(26,92,184,.06); border-left: 3px solid var(--accent); border-radius: 0 4px 4px 0; margin-bottom: 8px; }
.prop-lc-product__name span { font-size: .72rem; font-weight: 500; color: var(--muted); margin-left: 8px; }
.prop-lc-table { width: 100%; border-collapse: collapse; font-size: .8rem; }
.prop-lc-phase td { padding: 6px 10px; background: rgba(26,92,184,.04); font-size: .75rem; }
.prop-lc-table tr td { padding: 5px 10px; vertical-align: top; border-bottom: 1px solid var(--border); }
.prop-lc-list { margin: 0; padding-left: 18px; display: flex; flex-direction: column; gap: 3px; }
.prop-lc-list li { color: var(--text); }

.prop-summary-block { margin-bottom: 24px; }
.prop-summary-title { font-size: .7rem; font-weight: 800; text-transform: uppercase; letter-spacing: .5px; color: var(--muted); margin-bottom: 6px; padding-bottom: 4px; border-bottom: 2px solid var(--border); }
.prop-summary-row { display: flex; justify-content: space-between; padding: 7px 0; border-top: 1px solid var(--border); font-size: .82rem; }
.prop-summary-row span { color: var(--muted); }
.cargo-detail { font-style: normal; font-size: .75rem; color: var(--muted); opacity: .75; }
.cargo-table { width: 100%; border-collapse: collapse; font-size: .82rem; margin-top: 4px; }
.cargo-table thead tr { border-bottom: 2px solid var(--border); }
.cargo-table th { padding: 6px 8px; text-align: left; font-size: .7rem; font-weight: 700; text-transform: uppercase; letter-spacing: .4px; color: var(--muted); }
.cargo-table th:not(:first-child) { text-align: right; }
.cargo-table tbody tr { border-top: 1px solid var(--border); }
.cargo-table td { padding: 7px 8px; color: var(--muted); }
.cargo-table-num { text-align: right; }
.cargo-table-total { color: var(--text) !important; font-weight: 700; }
.cargo-table tfoot tr { border-top: 2px solid var(--border); }
.cargo-table-foot td { padding: 7px 8px; font-size: .82rem; }
.cargo-table-foot strong { color: var(--navy); }
.prop-summary-row strong { color: var(--text); font-weight: 700; white-space: nowrap; margin-left: 24px; }
.prop-summary-subtotal { display: flex; justify-content: space-between; padding: 8px 10px; margin-top: 4px; background: rgba(26,92,184,.06); border-radius: var(--radius-sm); font-size: .82rem; font-weight: 700; }
.prop-summary-subtotal span { color: var(--navy); }
.prop-summary-subtotal strong { color: var(--navy); white-space: nowrap; margin-left: 24px; }
.prop-totals { margin-top: 20px; display: flex; flex-direction: column; align-items: flex-end; gap: 0; }
.prop-total-row { display: flex; gap: 48px; justify-content: flex-end; padding: 7px 0; border-top: 1px solid var(--border); font-size: .82rem; width: 320px; }
.prop-total-row span { color: var(--muted); }
.prop-total-row strong { color: var(--text); min-width: 120px; text-align: right; }
.prop-total-grand { display: flex; gap: 48px; justify-content: flex-end; padding: 12px 16px; background: var(--navy); border-radius: var(--radius-sm); margin-top: 8px; width: 320px; }
.prop-total-grand span { color: rgba(255,255,255,.7); font-weight: 600; font-size: .9rem; }
.prop-total-grand strong { color: #7eb3f7; font-size: 1.1rem; font-weight: 800; min-width: 120px; text-align: right; }

.prop-conditions { margin-top: 36px; padding-top: 24px; border-top: 1px solid var(--border); }
.prop-conditions h4 { font-size: .78rem; font-weight: 800; text-transform: uppercase; letter-spacing: .5px; color: var(--muted); margin-bottom: 12px; }
.prop-conditions ul { display: flex; flex-direction: column; gap: 6px; }
.prop-conditions li { font-size: .78rem; color: var(--muted); line-height: 1.6; padding-left: 16px; position: relative; }
.prop-conditions li::before { content: '•'; position: absolute; left: 0; color: var(--accent); }

.prop-signature { display: grid; grid-template-columns: 1fr 1fr; gap: 40px; margin-top: 48px; padding-top: 24px; }
.prop-sign-field { border-top: 1px solid var(--text); padding-top: 8px; }
.prop-sign-field span { font-size: .75rem; color: var(--muted); }

.prop-footer { margin-top: 32px; padding-top: 16px; border-top: 1px solid var(--border); display: flex; justify-content: space-between; align-items: center; }
.prop-footer span { font-size: .72rem; color: var(--muted); }

/* ---- PRINT ---- */
@media print {
  .prop-actions, .orc-header, .orc-hero, .orc-tabs, .orc-layout, .modal-overlay { display: none !important; }
  .proposal-doc { position: static !important; background: none !important; padding: 0 !important; }
  .proposal-inner { box-shadow: none !important; border-radius: 0 !important; }
  body > *:not(.proposal-doc) { display: none !important; }
  .proposal-doc { display: block !important; }
}

/* ---- RESPONSIVE ---- */
@media (max-width: 1024px) {
  .orc-layout { grid-template-columns: 1fr; }
  .orc-cart { position: fixed; bottom: 0; left: 0; right: 0; top: auto; max-height: 50vh; border-left: none; border-top: 2px solid var(--border); z-index: 90; box-shadow: 0 -8px 32px rgba(0,0,0,.12); }
  .orc-cart__items { max-height: 200px; }
  .orc-panel { padding-bottom: 320px; }
}
@media (max-width: 600px) {
  .modal { padding: 28px 20px; }
  .modal__form .form-row { grid-template-columns: 1fr; }
  .prop-body { padding: 28px 20px; }
  .prop-header { flex-direction: column; gap: 16px; }
  .prop-meta { text-align: left; }
  .prop-client { grid-template-columns: 1fr; }
  .prop-signature { grid-template-columns: 1fr; }
  .orc-tab { padding: 12px 12px; font-size: .8rem; }
  .orc-tabs__inner { padding: 0 12px; }
}

/* ---- SUGESTÕES AUTOMÁTICAS ---- */
.suggestion-banner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  background: linear-gradient(135deg, #eef4ff, #e8f0fd);
  border: 1px solid #b8d0f5;
  border-radius: var(--radius-sm);
  padding: 12px 18px;
  margin-bottom: 24px;
  font-size: .88rem;
  color: var(--navy);
  flex-wrap: wrap;
}
.banner-link {
  background: var(--accent);
  color: #fff;
  border: none;
  border-radius: 6px;
  padding: 7px 14px;
  font-size: .82rem;
  font-weight: 600;
  cursor: pointer;
  white-space: nowrap;
  transition: background .2s;
}
.banner-link:hover { background: var(--accent-lt); }

/* Badge "Sugerido" nos cards de serviço */
.svc-suggested-badge {
  display: inline-block;
  background: #eef4ff;
  color: var(--accent);
  border: 1px solid #b8d0f5;
  border-radius: 4px;
  font-size: .7rem;
  font-weight: 700;
  padding: 2px 8px;
  margin-bottom: 8px;
  letter-spacing: .3px;
  text-transform: uppercase;
}
.svc-card.svc-suggested {
  border-left: 3px solid var(--accent);
  background: linear-gradient(135deg, #f5f9ff 0%, #ffffff 100%);
}

/* ════════════════════════════════════════════════
   FLUXO EM 5 PASSOS (WIZARD)
════════════════════════════════════════════════ */
.wiz-nav { background: var(--white); border-bottom: 1px solid var(--border); position: sticky; top: 65px; z-index: 90; }
.wiz-nav__inner { max-width: 1440px; margin: 0 auto; display: flex; gap: 8px; padding: 14px 24px; list-style: none; overflow-x: auto; }
.wiz-pill { display: flex; align-items: center; gap: 8px; padding: 8px 16px; border-radius: 100px; font-size: .82rem; font-weight: 700; color: var(--muted); background: var(--bg); border: 1px solid var(--border); cursor: pointer; white-space: nowrap; transition: all var(--tr); }
.wiz-pill__num { display: inline-flex; align-items: center; justify-content: center; width: 22px; height: 22px; border-radius: 50%; background: var(--white); border: 1px solid var(--border); font-size: .72rem; font-weight: 800; }
.wiz-pill.is-current { color: var(--white); background: var(--accent); border-color: var(--accent); box-shadow: 0 4px 12px rgba(26,92,184,.3); }
.wiz-pill.is-current .wiz-pill__num { background: var(--white); color: var(--accent); border-color: var(--white); }
.wiz-pill.is-done { color: var(--accent); border-color: rgba(26,92,184,.3); background: rgba(26,92,184,.06); }
.wiz-pill.is-done .wiz-pill__num { background: var(--accent); color: var(--white); border-color: var(--accent); }
.wiz-pill.is-done .wiz-pill__num::after { content: '✓'; }
.wiz-pill.is-done .wiz-pill__num { font-size: 0; }
.wiz-pill.is-done .wiz-pill__num::after { font-size: .8rem; }

.wiz-layout { max-width: 1440px; margin: 0 auto; display: grid; grid-template-columns: 1fr var(--cart-w); gap: 0; align-items: start; min-height: calc(100vh - 130px); }
.wiz-flow { padding: 32px 28px 60px; min-width: 0; }
.step-panel { animation: modalIn .2s ease; }
.step-head { margin-bottom: 28px; }
.step-head h1 { font-size: clamp(1.3rem, 2.4vw, 1.8rem); font-weight: 800; color: var(--navy); line-height: 1.25; }
.step-head h1 span { color: var(--accent); }
.step-head p { margin-top: 8px; font-size: .9rem; color: var(--muted); line-height: 1.6; max-width: 640px; }

/* Grid de módulos */
.mod-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(220px, 1fr)); gap: 16px; }
.mod-card { position: relative; text-align: left; display: flex; flex-direction: column; gap: 6px; padding: 20px 18px; background: var(--white); border: 1.5px solid var(--border); border-radius: var(--radius); border-left: 4px solid var(--mod-color, var(--accent)); cursor: pointer; transition: all var(--tr); }
.mod-card:hover { border-color: var(--accent); box-shadow: var(--shadow); transform: translateY(-2px); }
.mod-card.is-selected { border-color: var(--accent); background: rgba(26,92,184,.05); box-shadow: 0 0 0 2px rgba(26,92,184,.18); }
.mod-card__check { position: absolute; top: 12px; right: 12px; width: 22px; height: 22px; border-radius: 50%; background: var(--accent); color: #fff; display: none; align-items: center; justify-content: center; font-size: .75rem; font-weight: 800; }
.mod-card.is-selected .mod-card__check { display: flex; }
.mod-card__icon { font-size: 1.8rem; }
.mod-card__name { font-size: .98rem; font-weight: 800; color: var(--navy); }
.mod-card__desc { font-size: .78rem; color: var(--muted); line-height: 1.5; }
.mod-card__count { margin-top: auto; font-size: .7rem; font-weight: 700; color: var(--accent); background: rgba(26,92,184,.1); padding: 2px 9px; border-radius: 100px; align-self: flex-start; }

/* Produtos */
#prodPanels { display: flex; flex-direction: column; gap: 20px; }
.prod-module__icon { font-size: 1.3rem; }

/* Intenção */
#intentCards { display: flex; flex-direction: column; gap: 24px; }
.intent-mod-block { display: flex; flex-direction: column; gap: 12px; }
.intent-mod-title { font-size: .78rem; font-weight: 800; text-transform: uppercase; letter-spacing: .4px; color: var(--muted); padding-bottom: 6px; border-bottom: 2px solid var(--border); }
.intent-card { background: var(--white); border: 1px solid var(--border); border-radius: var(--radius); padding: 16px 20px; }
.intent-card__head { margin-bottom: 12px; }
.intent-card__head h3 { font-size: .95rem; font-weight: 700; color: var(--navy); }
.intent-card__opts { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.intent-opt { text-align: left; padding: 14px 16px; background: var(--bg); border: 1.5px solid var(--border); border-radius: var(--radius-sm); cursor: pointer; transition: all var(--tr); display: flex; flex-direction: column; gap: 4px; }
.intent-opt strong { font-size: .88rem; color: var(--navy); }
.intent-opt span { font-size: .78rem; color: var(--muted); line-height: 1.5; }
.intent-opt:hover { border-color: var(--accent); }
.intent-opt.is-active { border-color: var(--accent); background: rgba(26,92,184,.07); box-shadow: 0 0 0 2px rgba(26,92,184,.15); }
.intent-opt.is-active strong { color: var(--accent); }

/* Consultor */
.consultant-box { margin-bottom: 28px; }
.consultant-box__title { font-size: .85rem; font-weight: 800; color: var(--navy); margin-bottom: 12px; text-transform: uppercase; letter-spacing: .4px; }
.consultant-cards { display: grid; grid-template-columns: repeat(auto-fit, minmax(180px, 1fr)); gap: 14px; }
.consultant-card { position: relative; padding: 16px 18px; border-radius: var(--radius); border: 1.5px solid var(--border); background: var(--white); display: flex; flex-direction: column; gap: 5px; opacity: .8; cursor: pointer; transition: all var(--tr); }
.consultant-card:hover { opacity: 1; transform: translateY(-1px); box-shadow: var(--shadow); }
.consultant-card.is-selected { opacity: 1; box-shadow: 0 0 0 3px rgba(26,92,184,.28), var(--shadow); background: rgba(26,92,184,.04); }
.consultant-card--especialista.is-selected { box-shadow: 0 0 0 3px rgba(212,160,23,.4), var(--shadow); background: rgba(212,160,23,.04); }
.consultant-card strong { font-size: .95rem; color: var(--navy); }
.consultant-card span { font-size: .76rem; color: var(--muted); line-height: 1.5; }
.consultant-card--pleno { border-left: 4px solid #94a3b8; }
.consultant-card--senior { border-left: 4px solid var(--accent); }
.consultant-card--especialista { border-left: 4px solid #d4a017; }
.consultant-card.is-recommended { opacity: 1; box-shadow: 0 0 0 3px rgba(26,92,184,.18), var(--shadow); }
.consultant-card--especialista.is-recommended { box-shadow: 0 0 0 3px rgba(212,160,23,.3), var(--shadow); }
.consultant-card__badge { position: absolute; top: -10px; right: 12px; font-size: .65rem; font-weight: 800; text-transform: uppercase; letter-spacing: .5px; background: var(--accent); color: #fff; padding: 3px 10px; border-radius: 100px; }
.consultant-card--especialista .consultant-card__badge { background: #d4a017; }

/* Escada de serviços */
.stairway { display: flex; flex-direction: column; gap: 16px; }
.phase-step { background: var(--white); border: 1px solid var(--border); border-radius: var(--radius); overflow: hidden; margin-left: calc(var(--phase-indent, 0) * 14px); }
.phase-step__head { display: flex; align-items: center; gap: 12px; padding: 14px 18px; background: var(--bg); border-bottom: 1px solid var(--border); border-left: 4px solid var(--phase-color, var(--accent)); }
.phase-step__num { display: inline-flex; align-items: center; justify-content: center; width: 30px; height: 30px; border-radius: 8px; color: #fff; font-weight: 800; font-size: .82rem; }
.phase-step__body { display: flex; flex-direction: column; }
.svc-row { display: flex; align-items: center; gap: 14px; padding: 14px 20px; border-bottom: 1px solid var(--border); transition: background var(--tr), box-shadow var(--tr); border-radius: 0; }
.svc-row:last-child { border-bottom: none; }
.svc-row:not(.is-locked):hover { background: rgba(26,92,184,.03); }
.svc-row.is-selected { background: rgba(26,92,184,.06); }
.svc-row.is-locked { opacity: .85; }
.svc-toggle { flex-shrink: 0; background: none; border: none; cursor: pointer; padding: 2px; }
.svc-toggle:disabled { cursor: default; }
.svc-toggle__box { display: inline-flex; align-items: center; justify-content: center; width: 24px; height: 24px; border-radius: 7px; border: 2px solid var(--border); background: var(--white); font-size: .85rem; font-weight: 900; color: var(--white); transition: all var(--tr); }
.svc-row.is-selected .svc-toggle__box { background: var(--accent); border-color: var(--accent); }
.svc-row__body { flex: 1; min-width: 0; }
.svc-row__top { display: flex; align-items: center; gap: 8px; flex-wrap: wrap; }
.svc-row__type { font-size: .9rem; line-height: 1; }
.svc-row__name { font-size: .92rem; font-weight: 600; color: var(--navy); }
.svc-row.is-selected .svc-row__name { color: var(--accent); }
.svc-detail-toggle { background: none; border: none; cursor: pointer; font-size: .75rem; color: var(--muted); padding: 2px 4px; border-radius: 4px; transition: color var(--tr); line-height: 1; }
.svc-detail-toggle:hover { color: var(--accent); }
.svc-row__desc { font-size: .78rem; color: var(--muted); line-height: 1.6; margin-top: 6px; padding: 8px 10px; background: var(--bg); border-radius: 6px; border-left: 3px solid var(--border); }
.svc-row__right { display: flex; align-items: center; gap: 10px; flex-shrink: 0; }
.svc-qty { width: 58px; padding: 5px 8px; border: 1.5px solid var(--border); border-radius: 6px; font-size: .82rem; text-align: center; }
.svc-row__price { font-size: .88rem; font-weight: 800; color: var(--navy); min-width: 100px; text-align: right; white-space: nowrap; }
.svc-row__price em { font-style: normal; font-weight: 400; color: var(--muted); font-size: .78rem; }

/* Resumo (step 5) */
.sum-block { margin-bottom: 24px; }
.sum-block h3 { font-size: .9rem; font-weight: 800; color: var(--navy); margin-bottom: 10px; padding-bottom: 6px; border-bottom: 2px solid var(--border); }
.sum-mods { list-style: none; display: flex; flex-direction: column; gap: 8px; }
.sum-mod-item { padding: 10px 14px; background: var(--white); border: 1px solid var(--border); border-radius: var(--radius-sm); }
.sum-mod-head { display: flex; justify-content: space-between; gap: 10px; font-size: .85rem; font-weight: 700; color: var(--navy); margin-bottom: 6px; }
.sum-mod-head em { font-style: normal; font-size: .76rem; font-weight: 600; color: var(--accent); }
.sum-prod-tags { display: flex; flex-wrap: wrap; gap: 4px; }
.sum-prod-tag { font-size: .72rem; font-weight: 600; padding: 2px 8px; border-radius: 100px; background: rgba(26,92,184,.08); color: var(--accent); border: 1px solid rgba(26,92,184,.18); }
.sum-prod-tag--full { background: rgba(26,92,184,.15); }
.sum-intent-cols { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; margin-top: 8px; }
.sum-intent-col em { display: block; font-style: normal; font-size: .7rem; font-weight: 700; text-transform: uppercase; letter-spacing: .3px; color: var(--muted); margin-bottom: 6px; }
.sum-intent-col--full em { color: var(--accent); }
.sum-intent-col { display: flex; flex-direction: column; gap: 4px; padding: 8px 10px; background: var(--bg); border-radius: var(--radius-sm); border: 1px solid var(--border); }

/* PDF módulos por intenção */
.prop-mod-list { list-style: none; display: flex; flex-direction: column; gap: 14px; }
.prop-mod-group__title { font-size: .78rem; font-weight: 800; text-transform: uppercase; letter-spacing: .3px; color: var(--navy); margin-bottom: 8px; }
.prop-mod-group__cols { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.prop-mod-col { padding: 8px 12px; background: var(--bg); border: 1px solid var(--border); border-radius: var(--radius-sm); display: flex; flex-direction: column; gap: 4px; }
.prop-mod-col strong { font-size: .72rem; font-weight: 700; color: var(--muted); text-transform: uppercase; letter-spacing: .3px; margin-bottom: 2px; }
.prop-mod-col--full strong { color: var(--accent); }
.prop-mod-col span { font-size: .82rem; color: var(--text); }
.sum-total-box { background: var(--white); border: 1px solid var(--border); border-radius: var(--radius); overflow: hidden; margin-bottom: 20px; }
.sum-total-line { display: flex; justify-content: space-between; padding: 10px 16px; border-bottom: 1px solid var(--border); font-size: .85rem; }
.sum-total-line span { color: var(--muted); }
.sum-total-line strong { color: var(--text); font-weight: 700; }
.sum-total-grand { display: flex; justify-content: space-between; padding: 14px 16px; background: var(--navy); font-size: 1rem; font-weight: 800; }
.sum-total-grand span { color: rgba(255,255,255,.75); }
.sum-total-grand strong { color: #7eb3f7; }

/* Botões de navegação */
.wiz-actions { display: flex; gap: 12px; margin-top: 32px; }
.wiz-actions .btn-clear, .wiz-actions .btn-generate { width: auto; flex: 1; margin: 0; }

/* Sidebar */
.wiz-side { position: sticky; top: 130px; align-self: start; background: var(--white); border-left: 1px solid var(--border); display: flex; flex-direction: column; max-height: calc(100vh - 130px); }
.wiz-side__header { display: flex; align-items: center; justify-content: space-between; padding: 18px 20px; border-bottom: 1px solid var(--border); }
.wiz-side__header h2 { font-size: 1rem; font-weight: 800; color: var(--navy); }
.wiz-side__count { font-size: .72rem; font-weight: 700; color: var(--accent); background: rgba(26,92,184,.1); padding: 3px 10px; border-radius: 100px; }
.wiz-side__body { flex: 1; overflow-y: auto; padding: 16px 20px; }
.wiz-side__empty { font-size: .82rem; color: var(--muted); text-align: center; padding: 24px 0; }
.wiz-side__group { margin-bottom: 18px; }
.wiz-side__group h4 { font-size: .72rem; font-weight: 800; text-transform: uppercase; letter-spacing: .4px; color: var(--muted); margin-bottom: 8px; }
.wiz-side__mods, .wiz-side__subs { list-style: none; display: flex; flex-direction: column; gap: 6px; }
.wiz-side__mods li { font-size: .82rem; font-weight: 600; color: var(--navy); }
.wiz-side__mod-group { margin-bottom: 10px; }
.wiz-side__mod-group strong { font-size: .8rem; font-weight: 700; color: var(--navy); display: block; margin-bottom: 4px; }
.wiz-side__prod-list { list-style: none; padding-left: 12px; display: flex; flex-direction: column; gap: 3px; }
.wiz-side__prod-list li { font-size: .78rem; color: var(--text); }
.wiz-side__sub { display: flex; justify-content: space-between; gap: 8px; font-size: .78rem; color: var(--text); }
.wiz-side__sub em { font-style: normal; font-weight: 700; color: var(--navy); }
.wiz-side__footer { border-top: 1px solid var(--border); padding: 16px 20px; }
.wiz-side__total { display: flex; align-items: center; justify-content: space-between; margin-bottom: 8px; }
.wiz-side__total span { font-size: .85rem; color: var(--muted); }
.wiz-side__total strong { font-size: 1.3rem; font-weight: 800; color: var(--navy); }
.wiz-side__disclaimer { font-size: .72rem; color: var(--muted); line-height: 1.5; }

@media (max-width: 1024px) {
  .wiz-layout { grid-template-columns: 1fr; }
  .wiz-side { position: static; max-height: none; border-left: none; border-top: 2px solid var(--border); }
  .wiz-side__body { max-height: 240px; }
  .wiz-nav__inner { gap: 4px; padding: 0 12px; }
  .wiz-pill__label { font-size: .72rem; }
}

@media (max-width: 768px) {
  .step-head h1 { font-size: clamp(1.2rem, 5vw, 1.6rem); }
  .mod-grid { grid-template-columns: repeat(auto-fill, minmax(160px, 1fr)); gap: 10px; }
  .cargo-table th, .cargo-table td { padding: 6px 6px; font-size: .78rem; }
  .prop-lc-table { font-size: .8rem; }
  .sum-intent-cols { grid-template-columns: 1fr; }
  .prop-summary-block { padding: 16px; }
  /* Tabelas com scroll horizontal */
  .cargo-table-wrap, .prop-summary-block { overflow-x: auto; }
  .wiz-actions { padding: 12px 16px; gap: 8px; }
  .btn-generate, .btn-clear { font-size: .85rem; padding: 11px 18px; }
}

@media (max-width: 600px) {
  .wiz-flow { padding: 24px 16px 48px; }
  .intent-card__opts { grid-template-columns: 1fr; }
  .phase-step { margin-left: 0 !important; }
  .svc-row { flex-wrap: wrap; }
  .wiz-pill { padding: 6px 10px; }
  .wiz-pill__label { display: none; }
  .wiz-pill__num { width: 26px; height: 26px; font-size: .8rem; }
  .orc-header__title { display: none; }
  .orc-back { font-size: .8rem; }
  .mod-grid { grid-template-columns: repeat(auto-fill, minmax(140px, 1fr)); }
  .cargo-table { font-size: .75rem; }
  .cargo-table th:nth-child(3),
  .cargo-table td:nth-child(3),
  .cargo-table th:nth-child(4),
  .cargo-table td:nth-child(4) { display: none; }
}

@media (max-width: 400px) {
  .mod-grid { grid-template-columns: 1fr 1fr; }
  .step-head h1 { font-size: 1.1rem; }
  .wiz-actions { flex-direction: column; }
  .btn-generate, .btn-clear { width: 100%; justify-content: center; }
}

/* ── LIFECYCLE SECTION (embedded in services step) ── */
.lifecycle-section {
  margin-bottom: 36px;
  padding-bottom: 32px;
  border-bottom: 2px solid var(--border);
}
.lifecycle-section::before {
  content: 'Ciclo de Vida dos Serviços';
  display: block;
  font-size: .78rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 1px;
  color: var(--muted);
  margin-bottom: 16px;
  padding-bottom: 6px;
  border-bottom: 1px solid var(--border);
}
.lifecycle-product {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: 12px;
  margin-bottom: 20px;
  overflow: hidden;
}
.lifecycle-product__head {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 14px 20px;
  background: linear-gradient(135deg, var(--accent) 0%, #0c3d8a 100%);
  color: #fff;
  cursor: pointer;
  user-select: none;
}
.lifecycle-product__head::after {
  content: '▾';
  margin-left: auto;
  font-size: .9rem;
  opacity: .8;
  transition: transform .2s;
}
.lifecycle-product.is-collapsed .lifecycle-product__head::after { transform: rotate(-90deg); }
.lifecycle-product__icon { font-size: 1.2rem; }
.lifecycle-product__head strong { font-size: .95rem; font-weight: 700; display: block; }
.lifecycle-product__mod { font-size: .75rem; opacity: .8; }
.lifecycle-product__phases {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0;
  padding: 0;
}
.lifecycle-product.is-collapsed .lifecycle-product__phases { display: none; }
@media (max-width: 700px) {
  .lifecycle-product__phases { grid-template-columns: 1fr; }
}

.lifecycle-phase {
  border-bottom: 1px solid var(--border);
  border-right: 1px solid var(--border);
}
.lifecycle-phase:nth-child(even) { border-right: none; }
.lifecycle-phase:nth-last-child(-n+2) { border-bottom: none; }
.lifecycle-phase__head {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 10px 14px;
  background: #f8fafc;
  border-bottom: 1px solid var(--border);
}
.lifecycle-phase__num {
  width: 24px; height: 24px;
  border-radius: 50%;
  background: var(--accent);
  color: #fff;
  font-size: .72rem;
  font-weight: 700;
  display: flex; align-items: center; justify-content: center;
  flex-shrink: 0;
}
.lifecycle-phase__head strong { font-size: .82rem; color: var(--text); }
.lifecycle-phase__cols {
  padding: 10px 14px;
  display: flex;
  flex-direction: column;
  gap: 2px;
}
.lifecycle-col { padding: 0; }
.lifecycle-col h5 {
  font-size: .68rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .05em;
  color: var(--accent);
  margin-bottom: 6px;
}
.lifecycle-col ul { list-style: none; padding: 0; margin: 0; }
.lifecycle-col ul li {
  font-size: .78rem;
  color: var(--muted);
  padding: 2px 0;
  line-height: 1.4;
}

/* Entregas interativas (Step 4) */
.deliv-row {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 4px 6px;
  border-radius: 5px;
  cursor: pointer;
  font-size: .78rem;
  color: var(--muted);
  transition: background .15s;
  user-select: none;
}
.deliv-row:hover { background: rgba(26,92,184,.05); }
.deliv-row.is-checked { color: var(--text); }
.deliv-row__box {
  flex-shrink: 0;
  width: 16px;
  height: 16px;
  border-radius: 3px;
  border: 2px solid var(--border);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: .65rem;
  font-weight: 700;
  color: var(--white);
  background: var(--white);
  transition: background .15s, border-color .15s;
}
.deliv-row.is-checked .deliv-row__box {
  background: var(--accent);
  border-color: var(--accent);
}
