:root {
  --bg: #f0f2f5;
  --surface: #ffffff;
  --surface-soft: #f4f6f9;
  --surface-muted: #e8ecf2;
  --border: #e8ecf2;
  --border-strong: #d1d8e8;
  --text: #0f1c35;
  --text-soft: #4a5878;
  --text-muted: #8a96b0;
  --blue-900: #142257;
  --blue-700: #1739b6;
  --blue-600: #174cde;
  --blue-soft: #eef5ff;
  --white: #ffffff;
  --warning-bg: #fef3e2;
  --warning-text: #a05c08;
  --success-bg: #e6f5ee;
  --success-text: #0d7a4e;
  --danger-bg: #fde8e8;
  --danger-text: #b81c1c;
  --font: "Geist", Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  --mono: "Geist Mono", ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, monospace;
  --ease: cubic-bezier(.2,.8,.2,1);
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  min-height: 100vh;
  color: var(--text);
  background:
    radial-gradient(circle at 18% 0%, rgba(23, 76, 222, .12), transparent 24%),
    linear-gradient(180deg, #f7f8fb 0%, var(--bg) 42%, #eceff4 100%);
  font-family: var(--font);
  -webkit-font-smoothing: antialiased;
  text-rendering: geometricPrecision;
}

button,
input {
  font: inherit;
}

button {
  border: 0;
  cursor: pointer;
}

.canvas {
  width: min(1320px, calc(100vw - 48px));
  min-height: calc(100vh - 48px);
  margin: 24px auto;
  padding: 16px;
  border: 1px solid rgba(209, 216, 232, .72);
  border-radius: 30px;
  background: rgba(255, 255, 255, .54);
  box-shadow: 0 24px 80px rgba(20, 34, 87, .08);
  backdrop-filter: blur(18px);
}

.chrome {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  gap: 16px;
  padding: 2px 2px 18px;
}

.brand,
.project-chip,
.toolbar,
.search,
.ghost-icon {
  display: inline-flex;
  align-items: center;
}

.brand {
  gap: 10px;
  color: var(--text);
  text-decoration: none;
  width: max-content;
}

.brand-symbol {
  display: grid;
  place-items: center;
  width: 42px;
  height: 42px;
  border-radius: 16px;
  color: var(--white);
  background: var(--blue-900);
  font-weight: 700;
  letter-spacing: -.06em;
  box-shadow: 0 10px 30px rgba(20, 34, 87, .16);
}

.brand-text {
  font-size: 13px;
  font-weight: 600;
  color: var(--text-soft);
}

.project-chip {
  justify-self: center;
  height: 42px;
  gap: 10px;
  padding: 0 14px;
  border: 1px solid var(--border);
  border-radius: 999px;
  background: rgba(255, 255, 255, .75);
  color: var(--text-muted);
  font-size: 12px;
  white-space: nowrap;
}

.project-chip strong {
  color: var(--text);
  font-weight: 650;
}

.toolbar {
  justify-self: end;
  gap: 8px;
}

.search {
  width: clamp(190px, 24vw, 340px);
  height: 42px;
  gap: 8px;
  padding: 0 14px;
  border: 1px solid transparent;
  border-radius: 999px;
  background: rgba(255, 255, 255, .82);
  color: var(--text-muted);
  transition: border-color 160ms var(--ease), box-shadow 160ms var(--ease), background 160ms var(--ease);
}

.search:focus-within {
  border-color: rgba(23, 76, 222, .28);
  background: var(--white);
  box-shadow: 0 0 0 5px rgba(23, 76, 222, .08);
}

.search input {
  min-width: 0;
  width: 100%;
  border: 0;
  outline: 0;
  background: transparent;
  color: var(--text);
}

.search input::placeholder {
  color: var(--text-muted);
}

.ghost-icon {
  justify-content: center;
  width: 42px;
  height: 42px;
  border-radius: 50%;
  color: var(--text-soft);
  background: rgba(255, 255, 255, .82);
  transition: transform 160ms var(--ease), color 160ms var(--ease), background 160ms var(--ease);
}

.ghost-icon:hover {
  color: var(--blue-900);
  background: var(--blue-soft);
  transform: translateY(-1px);
}

.workspace {
  min-height: calc(100vh - 128px);
  padding: clamp(28px, 4.5vw, 58px) clamp(22px, 5vw, 72px) clamp(28px, 4vw, 56px);
  border-radius: 24px;
  background:
    radial-gradient(circle at 72% 0%, rgba(23, 76, 222, .10), transparent 26%),
    linear-gradient(180deg, #fbfcff 0%, #f6f8fb 100%);
  border: 1px solid rgba(232, 236, 242, .86);
}

.intro-row {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(240px, 420px);
  gap: 32px;
  align-items: end;
  margin-bottom: clamp(30px, 5vw, 70px);
}

.microcopy {
  margin: 0 0 10px;
  color: var(--text-muted);
  font-size: 11px;
  font-weight: 650;
  letter-spacing: .12em;
  text-transform: uppercase;
}

h1,
h2,
h3,
p {
  margin-top: 0;
}

h1 {
  max-width: 820px;
  margin-bottom: 0;
  color: var(--blue-900);
  font-size: clamp(44px, 7vw, 94px);
  line-height: .88;
  letter-spacing: -.085em;
}

.intro-note {
  margin: 0;
  color: var(--text-soft);
  font-size: clamp(15px, 1.6vw, 18px);
  line-height: 1.5;
}

.product-tabs {
  display: flex;
  align-items: flex-end;
  gap: clamp(18px, 3vw, 36px);
  margin-bottom: clamp(28px, 4vw, 48px);
  border-bottom: 1px solid var(--border);
}

.product-tab {
  position: relative;
  display: inline-flex;
  align-items: baseline;
  gap: 10px;
  padding: 0 0 18px;
  color: rgba(15, 28, 53, .28);
  background: transparent;
  font-size: clamp(34px, 5vw, 72px);
  font-weight: 700;
  letter-spacing: -.08em;
  line-height: .86;
  transition: color 180ms var(--ease), transform 180ms var(--ease);
}

.product-tab span {
  color: currentColor;
  font-family: var(--mono);
  font-size: 12px;
  font-weight: 500;
  letter-spacing: 0;
}

.product-tab::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -1px;
  width: 100%;
  height: 2px;
  background: var(--blue-900);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 180ms var(--ease);
}

.product-tab:hover {
  color: rgba(20, 34, 87, .62);
}

.product-tab.is-active {
  color: var(--blue-900);
}

.product-tab.is-active::after {
  transform: scaleX(1);
}

.section-line {
  display: flex;
  justify-content: space-between;
  gap: 18px;
  align-items: flex-end;
  margin-bottom: 18px;
}

.section-line h2 {
  margin-bottom: 0;
  color: var(--text);
  font-size: clamp(22px, 2.4vw, 34px);
  letter-spacing: -.045em;
}

.result-count {
  padding-bottom: 5px;
  color: var(--text-muted);
  font-size: 13px;
}

.vertical-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
}

.vertical-card {
  position: relative;
  display: flex;
  min-height: 258px;
  flex-direction: column;
  justify-content: space-between;
  padding: 22px;
  overflow: hidden;
  text-align: left;
  border: 1px solid rgba(232, 236, 242, .92);
  border-radius: 26px;
  background: rgba(255, 255, 255, .88);
  box-shadow: 0 18px 54px rgba(20, 34, 87, .055);
  transition: transform 180ms var(--ease), box-shadow 180ms var(--ease), border-color 180ms var(--ease), background 180ms var(--ease);
}

.vertical-card::before {
  content: "";
  position: absolute;
  top: -70px;
  right: -80px;
  width: 170px;
  height: 170px;
  border-radius: 50%;
  background: rgba(238, 245, 255, .86);
  transition: transform 220ms var(--ease), background 220ms var(--ease);
}

.vertical-card:hover,
.vertical-card:focus-visible {
  outline: none;
  transform: translateY(-4px);
  border-color: rgba(23, 57, 182, .22);
  background: var(--white);
  box-shadow: 0 28px 80px rgba(20, 34, 87, .11);
}

.vertical-card:hover::before,
.vertical-card:focus-visible::before {
  transform: scale(1.18);
  background: rgba(220, 232, 251, .9);
}

.card-head,
.card-body,
.card-foot {
  position: relative;
  z-index: 1;
}

.card-head {
  display: flex;
  justify-content: space-between;
  gap: 18px;
  align-items: flex-start;
  margin-bottom: 22px;
}

.card-index {
  font-family: var(--mono);
  color: var(--text-muted);
  font-size: 12px;
}

.card-status {
  display: inline-flex;
  max-width: 140px;
  align-items: center;
  gap: 6px;
  color: var(--blue-900);
  font-size: 12px;
  font-weight: 550;
  white-space: nowrap;
}

.card-status::before {
  content: "";
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--blue-600);
}

.vertical-card h3 {
  max-width: 84%;
  margin: 0 0 8px;
  color: var(--text);
  font-size: clamp(22px, 2.2vw, 31px);
  line-height: 1;
  letter-spacing: -.06em;
}

.card-subtitle {
  margin: 0 0 18px;
  color: var(--blue-700);
  font-size: 13px;
  font-weight: 600;
}

.card-summary {
  display: -webkit-box;
  margin: 0 0 16px;
  overflow: hidden;
  color: var(--text-soft);
  font-size: 14px;
  line-height: 1.47;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
}

.card-capabilities {
  overflow: hidden;
  color: var(--text-muted);
  font-size: 12px;
  font-weight: 520;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.card-foot {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  align-items: center;
  margin-top: 28px;
  padding-top: 16px;
  border-top: 1px solid rgba(232, 236, 242, .86);
}

.card-meta-small {
  color: var(--text-muted);
  font-size: 12px;
}

.open-label {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: var(--blue-900);
  font-size: 13px;
  font-weight: 650;
}

.open-label span {
  display: grid;
  place-items: center;
  width: 30px;
  height: 30px;
  border-radius: 50%;
  background: var(--blue-900);
  color: var(--white);
  font-size: 16px;
  transition: transform 180ms var(--ease);
}

.vertical-card:hover .open-label span,
.vertical-card:focus-visible .open-label span {
  transform: translateX(3px);
}

.placeholder-card {
  grid-column: 1 / -1;
  min-height: 340px;
  display: grid;
  grid-template-columns: minmax(0, .85fr) minmax(260px, .55fr);
  gap: 24px;
  align-items: end;
  padding: clamp(28px, 5vw, 54px);
  border: 1px solid var(--border);
  border-radius: 28px;
  background:
    radial-gradient(circle at 90% 0%, rgba(238, 245, 255, .9), transparent 34%),
    var(--white);
  box-shadow: 0 18px 54px rgba(20, 34, 87, .06);
}

.placeholder-card h3 {
  max-width: 680px;
  margin: 0 0 16px;
  color: var(--blue-900);
  font-size: clamp(32px, 5vw, 64px);
  line-height: .93;
  letter-spacing: -.075em;
}

.placeholder-card p {
  max-width: 640px;
  margin: 0;
  color: var(--text-soft);
  font-size: 16px;
  line-height: 1.55;
}

.placeholder-list {
  display: grid;
  gap: 10px;
}

.placeholder-list span {
  padding: 14px 16px;
  border: 1px solid var(--border);
  border-radius: 16px;
  background: var(--surface-soft);
  color: var(--text-soft);
  font-weight: 550;
}

.empty-results {
  grid-column: 1 / -1;
  padding: 46px;
  border: 1px dashed var(--border-strong);
  border-radius: 26px;
  background: rgba(255, 255, 255, .68);
  color: var(--text-soft);
  text-align: center;
}

.empty-results strong {
  display: block;
  margin-bottom: 6px;
  color: var(--text);
  font-size: 22px;
  letter-spacing: -.04em;
}

.modal-overlay {
  position: fixed;
  inset: 0;
  z-index: 50;
  display: grid;
  place-items: center;
  padding: 24px;
  background: rgba(15, 28, 53, .42);
  backdrop-filter: blur(18px);
  animation: fadeIn 160ms var(--ease);
}

.modal-overlay[hidden] {
  display: none;
}

.modal {
  position: relative;
  width: min(1120px, 100%);
  max-height: min(86vh, 880px);
  overflow: hidden;
  border: 1px solid rgba(232, 236, 242, .86);
  border-radius: 30px;
  background: var(--white);
  box-shadow: 0 34px 110px rgba(6, 19, 55, .28);
  animation: modalIn 190ms var(--ease);
}

.modal-close {
  position: absolute;
  top: 18px;
  right: 18px;
  z-index: 3;
  display: grid;
  place-items: center;
  width: 42px;
  height: 42px;
  border-radius: 50%;
  background: rgba(244, 246, 249, .92);
  color: var(--text-soft);
  font-size: 22px;
  transition: background 150ms var(--ease), color 150ms var(--ease), transform 150ms var(--ease);
}

.modal-close:hover {
  background: var(--blue-soft);
  color: var(--blue-900);
  transform: rotate(4deg);
}

.modal-content {
  max-height: min(86vh, 880px);
  overflow: auto;
}

.modal-hero {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(240px, 340px);
  gap: 36px;
  padding: clamp(30px, 5vw, 58px) clamp(28px, 5vw, 62px) 28px;
  background:
    radial-gradient(circle at 88% 4%, rgba(238, 245, 255, .92), transparent 34%),
    linear-gradient(180deg, #ffffff 0%, #fbfcff 100%);
  border-bottom: 1px solid var(--border);
}

.modal-kicker {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  align-items: center;
  margin-bottom: 22px;
}

.modal-module,
.modal-product {
  font-family: var(--mono);
  color: var(--text-muted);
  font-size: 12px;
}

.modal-product {
  color: var(--blue-700);
}

.modal-hero h2 {
  max-width: 760px;
  margin: 0 0 12px;
  color: var(--blue-900);
  font-size: clamp(40px, 5.6vw, 76px);
  line-height: .88;
  letter-spacing: -.085em;
}

.modal-subtitle {
  margin: 0 0 18px;
  color: var(--blue-700);
  font-size: 15px;
  font-weight: 650;
}

.modal-summary {
  max-width: 760px;
  margin: 0;
  color: var(--text-soft);
  font-size: 16px;
  line-height: 1.58;
}

.modal-side {
  align-self: end;
  padding: 18px;
  border: 1px solid var(--border);
  border-radius: 22px;
  background: rgba(255, 255, 255, .7);
}

.modal-side strong {
  display: block;
  margin-bottom: 12px;
  color: var(--text);
  font-size: 13px;
}

.modal-capabilities {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.modal-capabilities span {
  max-width: 100%;
  padding: 7px 10px;
  overflow: hidden;
  border: 1px solid var(--border);
  border-radius: 999px;
  background: var(--surface-soft);
  color: var(--text-soft);
  font-size: 12px;
  font-weight: 560;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.modal-tabs {
  position: sticky;
  top: 0;
  z-index: 2;
  display: flex;
  gap: 8px;
  padding: 14px clamp(20px, 5vw, 62px);
  border-bottom: 1px solid var(--border);
  background: rgba(255, 255, 255, .9);
  backdrop-filter: blur(14px);
  overflow-x: auto;
}

.modal-tab {
  flex: 0 0 auto;
  padding: 10px 12px;
  border-radius: 999px;
  color: var(--text-soft);
  background: transparent;
  font-size: 13px;
  font-weight: 600;
  transition: background 150ms var(--ease), color 150ms var(--ease);
}

.modal-tab:hover,
.modal-tab.is-active {
  color: var(--blue-900);
  background: var(--blue-soft);
}

.modal-body {
  padding: 30px clamp(20px, 5vw, 62px) clamp(34px, 5vw, 62px);
}

.modal-section {
  display: none;
}

.modal-section.is-active {
  display: block;
}

.modal-section h3 {
  margin: 0 0 18px;
  color: var(--text);
  font-size: clamp(25px, 2.5vw, 34px);
  letter-spacing: -.055em;
}

.quick-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
  margin-bottom: 24px;
}

.quick-stat {
  padding: 18px;
  border: 1px solid var(--border);
  border-radius: 20px;
  background: var(--surface-soft);
}

.quick-stat span {
  display: block;
  margin-bottom: 8px;
  color: var(--text-muted);
  font-size: 12px;
}

.quick-stat strong {
  color: var(--blue-900);
  font-size: 26px;
  letter-spacing: -.06em;
}

.content-columns {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
}

.detail-card,
.indicator-card,
.demo-card,
.note-card {
  border: 1px solid var(--border);
  border-radius: 20px;
  background: var(--white);
}

.detail-card {
  padding: 20px;
}

.detail-card h4,
.indicator-card h4,
.demo-card h4 {
  margin: 0 0 8px;
  color: var(--text);
  font-size: 17px;
  line-height: 1.15;
  letter-spacing: -.035em;
}

.detail-card p,
.indicator-card p,
.demo-card p,
.note-card p {
  margin: 0;
  color: var(--text-soft);
  font-size: 14px;
  line-height: 1.55;
}

.detail-label {
  display: inline-block;
  margin-bottom: 12px;
  color: var(--blue-700);
  font-size: 12px;
  font-weight: 650;
}

.detail-card ul,
.indicator-list {
  display: grid;
  gap: 8px;
  margin: 16px 0 0;
  padding: 0;
  list-style: none;
}

.detail-card li,
.indicator-list li {
  position: relative;
  padding-left: 16px;
  color: var(--text-soft);
  font-size: 13px;
  line-height: 1.45;
}

.detail-card li::before,
.indicator-list li::before {
  content: "";
  position: absolute;
  top: .65em;
  left: 0;
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: var(--blue-600);
}

.indicator-groups {
  display: grid;
  gap: 14px;
}

.indicator-card {
  padding: 20px;
  background: linear-gradient(180deg, #ffffff 0%, #fbfcff 100%);
}

.indicator-list li {
  display: grid;
  gap: 3px;
}

.indicator-list strong {
  color: var(--text);
  font-size: 13px;
}

.advanced-list {
  display: grid;
  gap: 10px;
}

.advanced-item {
  padding: 18px 20px;
  border: 1px solid var(--border);
  border-radius: 18px;
  background: var(--surface-soft);
  color: var(--text-soft);
  font-size: 14px;
  line-height: 1.55;
}

.demo-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
}

.demo-card {
  display: flex;
  min-height: 150px;
  flex-direction: column;
  justify-content: space-between;
  padding: 20px;
}

.demo-card a {
  display: inline-flex;
  width: max-content;
  align-items: center;
  gap: 8px;
  margin-top: 18px;
  color: var(--blue-700);
  font-size: 13px;
  font-weight: 650;
  text-decoration: none;
}

.note-card {
  padding: 22px;
  background: var(--blue-soft);
}

.note-card strong {
  color: var(--blue-900);
}

@keyframes fadeIn {
  from { opacity: 0; }
  to { opacity: 1; }
}

@keyframes modalIn {
  from { opacity: 0; transform: translateY(16px) scale(.985); }
  to { opacity: 1; transform: translateY(0) scale(1); }
}

@media (max-width: 1060px) {
  .vertical-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .intro-row,
  .modal-hero,
  .placeholder-card { grid-template-columns: 1fr; }
  .modal-side { align-self: stretch; }
}

@media (max-width: 760px) {
  .canvas {
    width: min(100% - 18px, 1320px);
    min-height: calc(100vh - 18px);
    margin: 9px auto;
    padding: 10px;
    border-radius: 22px;
  }

  .chrome {
    grid-template-columns: 1fr auto;
    gap: 10px;
    padding-bottom: 12px;
  }

  .project-chip { display: none; }
  .brand-text { display: none; }
  .toolbar { grid-column: 1 / -1; justify-self: stretch; }
  .search { width: 100%; }

  .workspace {
    min-height: calc(100vh - 110px);
    padding: 28px 16px;
    border-radius: 18px;
  }

  .intro-row { margin-bottom: 36px; }
  h1 { font-size: clamp(42px, 14vw, 68px); }
  .intro-note { font-size: 14px; }

  .product-tabs {
    gap: 18px;
    overflow-x: auto;
  }

  .product-tab { font-size: clamp(34px, 15vw, 58px); }

  .section-line {
    align-items: flex-start;
    flex-direction: column;
  }

  .vertical-grid,
  .content-columns,
  .quick-grid,
  .demo-grid {
    grid-template-columns: 1fr;
  }

  .vertical-card { min-height: 236px; border-radius: 22px; }

  .modal-overlay { padding: 10px; align-items: end; }
  .modal { max-height: 92vh; border-radius: 26px 26px 0 0; }
  .modal-content { max-height: 92vh; }
  .modal-hero { padding-top: 60px; }
  .modal-hero h2 { font-size: clamp(40px, 13vw, 62px); }
}

/* --------------------------------------------------------------------------
   Sprint visual v3 — refinamento solicitado
   -------------------------------------------------------------------------- */
body {
  padding-top: 74px;
  background:
    radial-gradient(circle at 12% -12%, rgba(23, 76, 222, .11), transparent 30%),
    radial-gradient(circle at 90% 8%, rgba(20, 34, 87, .08), transparent 28%),
    linear-gradient(180deg, #f8f9fc 0%, #f1f3f7 58%, #eef1f5 100%);
}

.canvas {
  width: 100%;
  min-height: calc(100vh - 74px);
  margin: 0;
  padding: 0;
  border: 0;
  border-radius: 0;
  background: transparent;
  box-shadow: none;
  backdrop-filter: none;
}

.chrome {
  position: fixed;
  inset: 0 0 auto 0;
  z-index: 40;
  grid-template-columns: minmax(180px, 1fr) auto minmax(260px, 1fr);
  min-height: 74px;
  padding: 12px clamp(18px, 4vw, 56px);
  border-bottom: 1px solid rgba(209, 216, 232, .72);
  background: rgba(248, 249, 252, .84);
  backdrop-filter: blur(22px);
}

.brand-symbol,
.project-chip,
.search,
.ghost-icon {
  height: 40px;
}

.brand-symbol {
  width: 40px;
  border-radius: 13px;
}

.project-chip,
.search,
.ghost-icon {
  background: rgba(255, 255, 255, .72);
  box-shadow: 0 1px 0 rgba(255, 255, 255, .8) inset;
}

.workspace {
  width: min(1180px, calc(100vw - 40px));
  min-height: calc(100vh - 74px);
  margin: 0 auto;
  padding: clamp(34px, 5vw, 70px) 0 clamp(48px, 6vw, 84px);
  border: 0;
  border-radius: 0;
  background: transparent;
}

.intro-row {
  grid-template-columns: minmax(0, .95fr) minmax(260px, 390px);
  gap: clamp(22px, 4vw, 44px);
  margin-bottom: clamp(26px, 4.8vw, 58px);
}

.microcopy {
  letter-spacing: .075em;
}

h1 {
  max-width: 650px;
  font-size: clamp(34px, 5.4vw, 68px);
  line-height: .95;
  letter-spacing: -.048em;
}

.intro-note {
  font-size: clamp(14px, 1.3vw, 16px);
  line-height: 1.55;
}

.product-tabs {
  gap: clamp(18px, 2.4vw, 30px);
  margin-bottom: clamp(26px, 4vw, 44px);
}

.product-tab {
  padding-bottom: 15px;
  font-size: clamp(28px, 4vw, 50px);
  letter-spacing: -.045em;
}

.section-line h2 {
  font-size: clamp(22px, 2vw, 30px);
  letter-spacing: -.026em;
}

.vertical-card {
  border-radius: 24px;
  cursor: default;
}

.card-content-trigger {
  position: relative;
  z-index: 1;
  display: flex;
  flex: 1;
  width: 100%;
  min-height: 0;
  flex-direction: column;
  text-align: left;
  background: transparent;
  color: inherit;
  padding: 0;
}

.card-content-trigger:focus-visible {
  outline: 2px solid rgba(23, 76, 222, .44);
  outline-offset: 7px;
  border-radius: 16px;
}

.vertical-card h3 {
  max-width: 90%;
  font-size: clamp(22px, 2vw, 29px);
  line-height: 1.02;
  letter-spacing: -.034em;
}

.card-subtitle {
  letter-spacing: -.01em;
}

.card-summary {
  line-height: 1.52;
}

.card-foot {
  position: relative;
  z-index: 2;
}

.card-actions {
  display: inline-flex;
  align-items: center;
  gap: 8px;
}

.open-label {
  border: 0;
  padding: 0;
  background: transparent;
  cursor: pointer;
}

.demo-pill,
.demo-menu > summary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 30px;
  padding: 0 11px;
  border: 1px solid rgba(23, 57, 182, .18);
  border-radius: 999px;
  background: var(--blue-soft);
  color: var(--blue-900);
  font-size: 12px;
  font-weight: 650;
  line-height: 1;
  text-decoration: none;
  white-space: nowrap;
  cursor: pointer;
  transition: background 150ms var(--ease), border-color 150ms var(--ease), transform 150ms var(--ease);
}

.demo-pill:hover,
.demo-menu > summary:hover {
  border-color: rgba(23, 57, 182, .28);
  background: #e4efff;
  transform: translateY(-1px);
}

.demo-menu {
  position: relative;
}

.demo-menu > summary {
  list-style: none;
}

.demo-menu > summary::-webkit-details-marker {
  display: none;
}

.demo-menu-list {
  position: absolute;
  right: 0;
  bottom: calc(100% + 8px);
  z-index: 12;
  display: grid;
  min-width: 190px;
  padding: 8px;
  border: 1px solid var(--border);
  border-radius: 14px;
  background: var(--white);
  box-shadow: 0 18px 48px rgba(20, 34, 87, .14);
}

.demo-menu-list a {
  padding: 10px 11px;
  border-radius: 10px;
  color: var(--text-soft);
  font-size: 13px;
  font-weight: 550;
  text-decoration: none;
}

.demo-menu-list a:hover {
  background: var(--blue-soft);
  color: var(--blue-900);
}

.placeholder-card h3,
.empty-results strong,
.modal-hero h2,
.modal-body h3,
.detail-card h4,
.indicator-card h4,
.demo-card h4 {
  letter-spacing: -.03em;
}

.modal {
  width: min(1140px, 100%);
  border-radius: 28px;
}

.modal-close {
  top: 16px;
  right: 16px;
  background: rgba(255, 255, 255, .16);
  color: rgba(255, 255, 255, .82);
  border: 1px solid rgba(255, 255, 255, .2);
  backdrop-filter: blur(10px);
}

.modal-close:hover {
  background: rgba(255, 255, 255, .26);
  color: var(--white);
}

.modal-hero {
  position: relative;
  display: flex;
  min-height: clamp(300px, 38vh, 420px);
  align-items: flex-end;
  overflow: hidden;
  padding: clamp(38px, 6vw, 70px) clamp(30px, 6vw, 74px) clamp(32px, 5vw, 58px);
  border-bottom: 0;
  background: var(--blue-900);
  color: var(--white);
  isolation: isolate;
}

.modal-hero::before,
.modal-hero::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -2;
}

.modal-hero::before {
  background: var(--hero-art, linear-gradient(135deg, #142257 0%, #1739b6 100%));
  transform: scale(1.02);
}

.modal-hero::after {
  z-index: -1;
  background:
    linear-gradient(90deg, rgba(7, 14, 38, .88) 0%, rgba(11, 22, 58, .66) 46%, rgba(11, 22, 58, .28) 100%),
    linear-gradient(0deg, rgba(7, 14, 38, .52), transparent 58%);
}

.modal-hero-content {
  width: min(820px, 100%);
}

.modal-kicker {
  margin-bottom: 18px;
}

.modal-module,
.modal-product {
  padding: 6px 9px;
  border: 1px solid rgba(255, 255, 255, .22);
  border-radius: 999px;
  background: rgba(255, 255, 255, .10);
  color: rgba(255, 255, 255, .74);
}

.modal-product {
  color: rgba(255, 255, 255, .9);
}

.modal-hero h2 {
  max-width: 780px;
  margin: 0 0 12px;
  color: var(--white);
  font-size: clamp(38px, 6vw, 72px);
  line-height: .94;
  letter-spacing: -.05em;
}

.modal-subtitle {
  margin: 0 0 16px;
  color: rgba(255, 255, 255, .76);
  font-size: 14px;
  font-weight: 650;
}

.modal-summary {
  max-width: 760px;
  color: rgba(255, 255, 255, .82);
  font-size: clamp(15px, 1.5vw, 18px);
  line-height: 1.58;
}

.modal-capabilities {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 24px;
}

.modal-capabilities span {
  max-width: 100%;
  padding: 8px 10px;
  border: 1px solid rgba(255, 255, 255, .18);
  border-radius: 999px;
  background: rgba(255, 255, 255, .11);
  color: rgba(255, 255, 255, .86);
  font-size: 12px;
  font-weight: 600;
  line-height: 1.1;
  white-space: normal;
}

.modal-tabs {
  padding: 0 clamp(20px, 5vw, 54px);
  background: rgba(255, 255, 255, .96);
}

.modal-tab {
  letter-spacing: -.01em;
}

.modal-body h3 {
  letter-spacing: -.026em;
}

/* Hero art por vertical: uma camada visual abstrata pronta para trocar por imagem real no futuro. */
.hero-patio {
  --hero-art:
    radial-gradient(circle at 77% 20%, rgba(23, 76, 222, .62), transparent 21%),
    linear-gradient(120deg, rgba(255, 255, 255, .09) 0 1px, transparent 1px 24px),
    linear-gradient(32deg, #071225 0%, #142257 46%, #1739b6 100%);
}

.hero-wms {
  --hero-art:
    repeating-linear-gradient(90deg, rgba(255,255,255,.10) 0 1px, transparent 1px 74px),
    repeating-linear-gradient(0deg, rgba(255,255,255,.08) 0 1px, transparent 1px 54px),
    radial-gradient(circle at 82% 22%, rgba(23,76,222,.62), transparent 22%),
    linear-gradient(135deg, #08142f 0%, #142257 52%, #1739b6 100%);
}

.hero-tms {
  --hero-art:
    linear-gradient(128deg, transparent 0 50%, rgba(255,255,255,.11) 50% 50.5%, transparent 50.5%),
    radial-gradient(circle at 78% 26%, rgba(23,76,222,.58), transparent 22%),
    linear-gradient(145deg, #071225 0%, #142257 48%, #174cde 100%);
}

.hero-assets {
  --hero-art:
    radial-gradient(circle at 76% 20%, rgba(23,76,222,.62), transparent 20%),
    radial-gradient(circle at 76% 54%, rgba(255,255,255,.12) 0 2px, transparent 3px 100%),
    linear-gradient(90deg, rgba(255,255,255,.10) 0 1px, transparent 1px 100%),
    linear-gradient(140deg, #08142f 0%, #142257 52%, #1739b6 100%);
}

.hero-workforce {
  --hero-art:
    radial-gradient(circle at 72% 28%, rgba(23,76,222,.58), transparent 23%),
    linear-gradient(60deg, rgba(255,255,255,.10) 0 1px, transparent 1px 32px),
    linear-gradient(145deg, #071225 0%, #142257 46%, #1739b6 100%);
}

.hero-control-tower {
  --hero-art:
    radial-gradient(circle at 78% 28%, rgba(23,76,222,.66), transparent 24%),
    conic-gradient(from 210deg at 78% 32%, transparent 0 20%, rgba(255,255,255,.14) 20% 20.8%, transparent 21% 100%),
    linear-gradient(145deg, #071225 0%, #142257 46%, #174cde 100%);
}

@media (max-width: 980px) {
  body {
    padding-top: 126px;
  }

  .chrome {
    grid-template-columns: 1fr auto;
    row-gap: 12px;
  }

  .toolbar {
    grid-column: 1 / -1;
    width: 100%;
  }

  .search {
    width: 100%;
  }

  .workspace {
    min-height: calc(100vh - 126px);
    padding-top: 34px;
  }

  .intro-row {
    grid-template-columns: 1fr;
    align-items: start;
  }
}

@media (max-width: 760px) {
  body {
    padding-top: 134px;
  }

  .chrome {
    padding-inline: 16px;
  }

  .project-chip {
    justify-self: end;
  }

  .workspace {
    width: min(100% - 28px, 1180px);
  }

  h1 {
    font-size: clamp(34px, 11vw, 48px);
  }

  .product-tab {
    font-size: clamp(26px, 11vw, 38px);
  }

  .card-actions {
    width: 100%;
    justify-content: space-between;
  }

  .modal-overlay {
    padding: 12px;
  }

  .modal-hero {
    min-height: 360px;
    padding: 72px 22px 30px;
  }

  .modal-hero h2 {
    font-size: clamp(34px, 11vw, 48px);
  }
}


/* --------------------------------------------------------------------------
   Sprint visual v4 — conteúdo completo, modal mais leve e scroll refinado
   -------------------------------------------------------------------------- */
.modal {
  max-height: min(88vh, 840px);
}

.modal-content {
  max-height: min(88vh, 840px);
  overflow-y: auto;
  overflow-x: hidden;
  scrollbar-width: thin;
  scrollbar-color: rgba(20, 34, 87, .34) transparent;
}

.modal-content::-webkit-scrollbar {
  width: 9px;
}

.modal-content::-webkit-scrollbar-track {
  background: transparent;
}

.modal-content::-webkit-scrollbar-thumb {
  border: 3px solid transparent;
  border-radius: 999px;
  background: rgba(20, 34, 87, .32);
  background-clip: content-box;
}

.modal-content::-webkit-scrollbar-thumb:hover {
  background: rgba(20, 34, 87, .48);
  background-clip: content-box;
}

.modal-hero {
  min-height: clamp(220px, 28vh, 320px);
  padding: clamp(30px, 4.4vw, 48px) clamp(28px, 5vw, 62px) clamp(28px, 4vw, 42px);
}

.modal-hero.has-image::before {
  background-image: var(--hero-image);
  background-size: cover;
  background-position: center;
}

.modal-kicker {
  margin-bottom: 12px;
}

.modal-module,
.modal-product {
  padding: 5px 8px;
  font-size: 11px;
}

.modal-hero h2 {
  max-width: 700px;
  margin-bottom: 8px;
  font-size: clamp(30px, 4.2vw, 54px);
  line-height: 1;
  letter-spacing: -.032em;
}

.modal-subtitle {
  margin-bottom: 10px;
  font-size: 13px;
}

.modal-summary {
  max-width: 720px;
  font-size: clamp(13px, 1.25vw, 15px);
  line-height: 1.5;
}

.modal-capabilities {
  gap: 6px;
  margin-top: 16px;
}

.modal-capabilities span {
  padding: 6px 8px;
  font-size: 11px;
}

.modal-tabs {
  gap: 4px;
  padding: 6px clamp(20px, 5vw, 54px);
  scrollbar-width: none;
}

.modal-tabs::-webkit-scrollbar {
  display: none;
}

.modal-tab {
  padding: 7px 10px;
  font-size: 12px;
}

.modal-body {
  padding: 24px clamp(20px, 5vw, 54px) clamp(30px, 5vw, 54px);
}

.modal-section h3 {
  margin-bottom: 14px;
  font-size: clamp(22px, 2.1vw, 30px);
  letter-spacing: -.02em;
}

.function-groups {
  display: grid;
  gap: 12px;
}

.function-group {
  border: 1px solid var(--border);
  border-radius: 20px;
  background: linear-gradient(180deg, #ffffff 0%, #fbfcff 100%);
  overflow: hidden;
}

.function-group-head {
  padding: 18px 18px 14px;
}

.function-group h4 {
  margin: 0 0 8px;
  color: var(--text);
  font-size: 18px;
  line-height: 1.18;
  letter-spacing: -.024em;
}

.function-group p {
  margin: 0;
  color: var(--text-soft);
  font-size: 14px;
  line-height: 1.52;
}

.function-accordion-list {
  display: grid;
  border-top: 1px solid var(--border);
}

.function-accordion {
  border-bottom: 1px solid var(--border);
  background: rgba(255, 255, 255, .58);
}

.function-accordion:last-child {
  border-bottom: 0;
}

.function-accordion summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  padding: 13px 18px;
  color: var(--text);
  font-size: 14px;
  font-weight: 620;
  list-style: none;
  cursor: pointer;
  transition: background 150ms var(--ease), color 150ms var(--ease);
}

.function-accordion summary::-webkit-details-marker {
  display: none;
}

.function-accordion summary:hover {
  background: var(--blue-soft);
  color: var(--blue-900);
}

.accordion-icon {
  position: relative;
  flex: 0 0 auto;
  width: 18px;
  height: 18px;
  border-radius: 50%;
  background: var(--surface-soft);
  border: 1px solid var(--border);
}

.accordion-icon::before,
.accordion-icon::after {
  content: "";
  position: absolute;
  inset: 50% auto auto 50%;
  width: 8px;
  height: 1.5px;
  border-radius: 99px;
  background: var(--blue-900);
  transform: translate(-50%, -50%);
}

.accordion-icon::after {
  transform: translate(-50%, -50%) rotate(90deg);
  transition: transform 150ms var(--ease), opacity 150ms var(--ease);
}

.function-accordion[open] summary {
  color: var(--blue-900);
  background: #f7faff;
}

.function-accordion[open] .accordion-icon::after {
  opacity: 0;
  transform: translate(-50%, -50%) rotate(0deg);
}

.function-accordion > p {
  padding: 10px 18px 16px;
  color: var(--text-soft);
  font-size: 13px;
  line-height: 1.55;
}

.advanced-item {
  display: grid;
  gap: 4px;
}

.advanced-item strong {
  color: var(--text);
  font-size: 13px;
}

.advanced-item span {
  color: var(--text-soft);
}

.ai-list .advanced-item {
  border-left: 2px solid rgba(23, 76, 222, .18);
}

@media (max-width: 760px) {
  .modal {
    max-height: 92vh;
  }

  .modal-content {
    max-height: 92vh;
  }

  .modal-hero {
    min-height: 300px;
    padding: 66px 22px 26px;
  }

  .modal-hero h2 {
    font-size: clamp(30px, 10vw, 42px);
  }

  .modal-summary {
    font-size: 13px;
  }

  .modal-tabs {
    padding-inline: 14px;
  }

  .modal-body {
    padding-inline: 16px;
  }

  .function-group-head,
  .function-accordion summary,
  .function-accordion > p {
    padding-left: 14px;
    padding-right: 14px;
  }
}

/* --------------------------------------------------------------------------
   Sprint visual v5 — refinamento comercial, BSM IT e cards com demo textual
   -------------------------------------------------------------------------- */
.intro-row {
  align-items: start;
  margin-bottom: clamp(22px, 3.4vw, 44px);
}

.intro-note {
  align-self: start;
  padding-top: 27px;
  max-width: 390px;
}

h1 {
  max-width: 620px;
  letter-spacing: -.038em;
}

.product-tab {
  font-size: clamp(22px, 3.2vw, 40px);
  letter-spacing: -.034em;
}

.product-tabs {
  margin-bottom: 14px;
}

.product-context {
  display: grid;
  grid-template-columns: minmax(180px, 260px) minmax(0, 680px);
  align-items: start;
  gap: clamp(18px, 3vw, 34px);
  margin-bottom: clamp(24px, 3.4vw, 42px);
  padding: 0 0 clamp(18px, 2.5vw, 28px);
  border-bottom: 1px solid rgba(232, 236, 242, .92);
}

.product-context div {
  display: grid;
  gap: 4px;
}

.product-context span {
  color: var(--text-muted);
  font-size: 11px;
  font-weight: 650;
  letter-spacing: .065em;
  text-transform: uppercase;
}

.product-context strong {
  color: var(--blue-900);
  font-size: 16px;
  font-weight: 680;
  letter-spacing: -.018em;
}

.product-context p {
  margin: 0;
  color: var(--text-soft);
  font-size: 14px;
  line-height: 1.55;
}

.toolbar .ghost-icon[hidden] {
  display: none;
}

.toolbar:not(.has-query) {
  gap: 0;
}

.card-foot {
  align-items: center;
}

.card-demo-link,
.demo-menu > summary.card-demo-link {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  min-height: auto;
  padding: 0;
  border: 0;
  border-radius: 0;
  background: transparent;
  color: var(--blue-700);
  font-size: 13px;
  font-weight: 640;
  line-height: 1.2;
  text-decoration: none;
  white-space: nowrap;
  cursor: pointer;
  transition: color 150ms var(--ease), transform 150ms var(--ease);
}

.card-demo-link:hover,
.demo-menu > summary.card-demo-link:hover {
  background: transparent;
  border-color: transparent;
  color: var(--blue-900);
  transform: translateY(-1px);
}

.card-demo-link.is-disabled {
  color: var(--text-muted);
  cursor: default;
  opacity: .72;
}

.card-demo-link.is-disabled:hover {
  color: var(--text-muted);
  transform: none;
}

.link-icon {
  display: inline-grid;
  place-items: center;
  width: 17px;
  height: 17px;
  border-radius: 50%;
  background: var(--blue-soft);
  color: var(--blue-900);
  font-size: 11px;
  line-height: 1;
}

.demo-menu > summary.card-demo-link::-webkit-details-marker {
  display: none;
}

.demo-menu-list {
  bottom: calc(100% + 10px);
}

.sales-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
}

.sales-card,
.persona-card {
  padding: 18px 20px;
  border: 1px solid var(--border);
  border-radius: 18px;
  background: linear-gradient(180deg, #ffffff 0%, #fbfcff 100%);
}

.sales-card.is-main {
  background: var(--blue-soft);
}

.sales-card span,
.persona-card strong {
  display: block;
  margin-bottom: 8px;
  color: var(--blue-900);
  font-size: 13px;
  font-weight: 700;
  letter-spacing: -.01em;
}

.sales-card p,
.persona-card p {
  margin: 0;
  color: var(--text-soft);
  font-size: 14px;
  line-height: 1.56;
}

.sales-card ul {
  display: grid;
  gap: 8px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.sales-card li {
  position: relative;
  padding-left: 16px;
  color: var(--text-soft);
  font-size: 13px;
  line-height: 1.45;
}

.sales-card li::before {
  content: "";
  position: absolute;
  top: .62em;
  left: 0;
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: var(--blue-600);
}

.persona-list {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
}

.persona-card {
  min-height: 168px;
}

.persona-card span {
  display: block;
  margin-top: 16px;
  color: var(--text-muted);
  font-size: 12px;
  line-height: 1.45;
}

.hero-cloud,
.hero-cybersecurity,
.hero-managed-services {
  --hero-art:
    radial-gradient(circle at 78% 22%, rgba(23, 76, 222, .58), transparent 22%),
    linear-gradient(120deg, rgba(255,255,255,.08) 0 1px, transparent 1px 26px),
    linear-gradient(138deg, #071225 0%, #142257 48%, #1739b6 100%);
}

@media (max-width: 980px) {
  .intro-note {
    padding-top: 0;
    max-width: 620px;
  }

  .product-context {
    grid-template-columns: 1fr;
    gap: 8px;
  }

  .sales-grid,
  .persona-list {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 760px) {
  .product-tab {
    font-size: clamp(22px, 9vw, 32px);
  }

  .product-context {
    margin-bottom: 26px;
  }
}

/* --------------------------------------------------------------------------
   Sprint visual v6 — ajustes finos de abas, contexto, accordions e radius
   -------------------------------------------------------------------------- */
.product-tab {
  font-size: clamp(18px, 2.55vw, 32px);
  letter-spacing: -.026em;
}

.product-context {
  display: block;
  max-width: 760px;
  margin-bottom: clamp(22px, 3vw, 38px);
  padding-bottom: clamp(18px, 2.2vw, 24px);
  text-align: left;
}

.product-context p {
  max-width: 740px;
  margin: 0;
  color: var(--text-soft);
  font-size: 14px;
  line-height: 1.58;
}

.vertical-card {
  border-radius: 20px;
}

.vertical-card::before {
  width: 150px;
  height: 150px;
}

.vertical-card h3 {
  font-size: clamp(20px, 1.8vw, 26px);
  line-height: 1.04;
  letter-spacing: -.028em;
}

.modal {
  border-radius: 20px;
}

.modal-close,
.brand-symbol {
  border-radius: 12px;
}

.card-content-trigger:focus-visible {
  border-radius: 12px;
}

.empty-results,
.placeholder-card {
  border-radius: 18px;
}

.detail-card,
.indicator-card,
.demo-card,
.note-card,
.sales-card,
.persona-card,
.advanced-item,
.quick-stat {
  border-radius: 12px;
}

.demo-menu-list {
  border-radius: 12px;
}

.function-groups {
  gap: 10px;
}

.function-group {
  border-radius: 14px;
  background: var(--white);
}

.function-group summary {
  list-style: none;
  cursor: pointer;
}

.function-group summary::-webkit-details-marker {
  display: none;
}

.function-group-head {
  display: block;
  padding: 16px 18px;
  transition: background 150ms var(--ease);
}

.function-group-head:hover {
  background: #f7faff;
}

.function-title-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
}

.function-title-row h4 {
  margin: 0;
}

.function-group .function-title-row .accordion-icon {
  width: 20px;
  height: 20px;
}

.function-group[open] > .function-group-head {
  background: #f7faff;
  border-bottom: 1px solid var(--border);
}

.function-group[open] > .function-group-head .accordion-icon::after {
  opacity: 0;
  transform: translate(-50%, -50%) rotate(0deg);
}

.function-group-head .detail-label {
  margin-bottom: 8px;
}

.function-group-head p {
  max-width: 880px;
  margin-top: 8px;
  font-size: 13px;
  line-height: 1.5;
}

.function-accordion-list {
  border-top: 0;
}

.function-accordion {
  background: rgba(255, 255, 255, .72);
}

.function-accordion summary {
  padding: 12px 18px;
}

.function-accordion > p {
  padding-bottom: 14px;
}

@media (max-width: 760px) {
  .product-tab {
    font-size: clamp(20px, 8vw, 30px);
  }

  .vertical-card {
    border-radius: 18px;
  }

  .modal {
    border-radius: 18px 18px 0 0;
  }

  .function-group-head,
  .function-accordion summary,
  .function-accordion > p {
    padding-left: 14px;
    padding-right: 14px;
  }
}

/* --------------------------------------------------------------------------
   Sprint visual v7 — footer, logo e camada de acesso confidencial
   -------------------------------------------------------------------------- */
.brand {
  min-height: 40px;
}

.brand-logo {
  display: block;
  width: auto;
  height: 32px;
  max-width: 148px;
}

.project-chip {
  justify-content: center;
  min-width: 132px;
  padding-inline: 16px;
}

.project-chip span {
  color: var(--text-soft);
  font-size: 12px;
  font-weight: 650;
  letter-spacing: -.01em;
}

.portal-footer {
  width: min(1180px, calc(100vw - 40px));
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(260px, 420px);
  gap: clamp(18px, 4vw, 54px);
  margin: 0 auto;
  padding: 0 0 clamp(34px, 5vw, 58px);
  color: var(--text-muted);
  font-size: 12px;
  line-height: 1.55;
  transition: filter 180ms var(--ease), transform 180ms var(--ease);
}

.portal-footer::before {
  content: "";
  grid-column: 1 / -1;
  width: 100%;
  height: 1px;
  margin-bottom: 2px;
  background: rgba(209, 216, 232, .86);
}

.portal-footer strong {
  display: block;
  margin-bottom: 6px;
  color: var(--text-soft);
  font-size: 12px;
  font-weight: 700;
}

.portal-footer p {
  margin: 0;
}

.portal-footer a {
  color: var(--blue-700);
  font-weight: 650;
  text-decoration: none;
}

.portal-footer a:hover {
  color: var(--blue-900);
  text-decoration: underline;
  text-underline-offset: 3px;
}

.footer-confidential {
  justify-self: end;
  max-width: 420px;
  text-align: right;
}

body.is-locked {
  overflow: hidden;
}

body.is-locked .canvas,
body.is-locked .portal-footer {
  filter: blur(10px) saturate(.84);
  transform: scale(.992);
  pointer-events: none;
  user-select: none;
}

.access-gate {
  position: fixed;
  inset: 0;
  z-index: 100;
  display: grid;
  place-items: center;
  padding: 24px;
  background:
    radial-gradient(circle at 18% 12%, rgba(23, 76, 222, .34), transparent 28%),
    radial-gradient(circle at 82% 4%, rgba(238, 245, 255, .18), transparent 22%),
    linear-gradient(135deg, rgba(7, 18, 37, .86) 0%, rgba(20, 34, 87, .78) 56%, rgba(23, 57, 182, .62) 100%);
  backdrop-filter: blur(18px);
}

.access-gate[hidden] {
  display: none;
}

.access-card {
  width: min(440px, 100%);
  padding: clamp(24px, 4vw, 34px);
  border: 1px solid rgba(255, 255, 255, .20);
  border-radius: 20px;
  background: rgba(255, 255, 255, .92);
  box-shadow: 0 32px 100px rgba(6, 19, 55, .34);
}

.access-kicker {
  display: inline-flex;
  margin-bottom: 18px;
  color: var(--blue-700);
  font-size: 11px;
  font-weight: 750;
  letter-spacing: .06em;
  text-transform: uppercase;
}

.access-card h2 {
  margin: 0 0 10px;
  color: var(--blue-900);
  font-size: clamp(28px, 4vw, 40px);
  line-height: .98;
  letter-spacing: -.036em;
}

.access-card p {
  margin: 0;
  color: var(--text-soft);
  font-size: 14px;
  line-height: 1.58;
}

.pin-field {
  display: grid;
  gap: 8px;
  margin-top: 24px;
}

.pin-field span {
  color: var(--text);
  font-size: 13px;
  font-weight: 650;
}

.pin-field input {
  width: 100%;
  height: 48px;
  padding: 0 15px;
  border: 1px solid rgba(209, 216, 232, .96);
  border-radius: 999px;
  outline: 0;
  background: var(--white);
  color: var(--text);
  font-size: 16px;
  letter-spacing: .18em;
  transition: border-color 160ms var(--ease), box-shadow 160ms var(--ease);
}

.pin-field input:focus {
  border-color: rgba(23, 76, 222, .34);
  box-shadow: 0 0 0 5px rgba(23, 76, 222, .08);
}

.access-actions {
  display: grid;
  gap: 10px;
  margin-top: 16px;
}

.access-button {
  height: 46px;
  padding: 0 18px;
  border-radius: 999px;
  background: var(--blue-900);
  color: var(--white);
  font-size: 13px;
  font-weight: 750;
  transition: transform 150ms var(--ease), background 150ms var(--ease);
}

.access-button:hover {
  background: var(--blue-700);
  transform: translateY(-1px);
}

.pin-help {
  color: var(--text-muted);
  font-size: 12px;
  line-height: 1.45;
}

.access-error {
  min-height: 19px;
  margin-top: 14px !important;
  color: var(--danger-text) !important;
  font-size: 12px !important;
  font-weight: 650;
}

@media (max-width: 760px) {
  .brand-logo {
    height: 28px;
    max-width: 126px;
  }

  .project-chip {
    display: inline-flex;
    min-width: auto;
    height: 36px;
    padding-inline: 12px;
  }

  .portal-footer {
    width: min(100% - 28px, 1180px);
    grid-template-columns: 1fr;
    padding-bottom: 36px;
  }

  .footer-confidential {
    justify-self: start;
    max-width: none;
    text-align: left;
  }

  .access-gate {
    padding: 14px;
  }

  .access-card {
    border-radius: 18px;
  }
}


/* --------------------------------------------------------------------------
   Sprint visual v9 — aba Demos no modal e ajuste de textos dos cards
   -------------------------------------------------------------------------- */
.card-capabilities {
  display: -webkit-box;
  overflow: hidden;
  white-space: normal;
  text-overflow: initial;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  line-height: 1.38;
}

@media (max-width: 760px) {
  .card-capabilities {
    -webkit-line-clamp: 3;
  }
}


/* v10 — AI application cards and cache-busting support */
.ai-context {
  display: grid;
  gap: 8px;
  margin: 0 0 18px;
  padding: 18px 20px;
  border: 1px solid rgba(209, 216, 232, .8);
  border-radius: 12px;
  background: linear-gradient(180deg, #ffffff 0%, #f8fbff 100%);
}

.ai-context span {
  color: var(--blue-700);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: .01em;
}

.ai-context p {
  margin: 0;
  color: var(--text-soft);
  font-size: 14px;
  line-height: 1.58;
}

.ai-application-grid {
  display: grid;
  gap: 12px;
}

.ai-application-card {
  display: grid;
  gap: 16px;
  padding: 18px 20px;
  border: 1px solid var(--border);
  border-radius: 12px;
  background: #fff;
  box-shadow: 0 1px 2px rgba(15, 29, 67, .04);
}

.ai-card-head {
  display: grid;
  gap: 6px;
  padding-bottom: 12px;
  border-bottom: 1px solid var(--border);
}

.ai-card-head span {
  width: max-content;
  padding: 5px 8px;
  border-radius: 7px;
  background: var(--blue-soft);
  color: var(--blue-700);
  font-size: 11px;
  font-weight: 750;
}

.ai-card-head strong {
  color: var(--text);
  font-size: 16px;
  line-height: 1.25;
  letter-spacing: -.025em;
}

.ai-card-block {
  display: grid;
  gap: 5px;
}

.ai-card-block small {
  color: var(--text-muted);
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .04em;
}

.ai-card-block p {
  margin: 0;
  color: var(--text-soft);
  font-size: 13.5px;
  line-height: 1.58;
}

.ai-card-block.is-commercial {
  padding: 12px 14px;
  border-left: 2px solid rgba(23, 76, 222, .35);
  border-radius: 8px;
  background: #f7faff;
}

@media (min-width: 1080px) {
  .ai-application-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    align-items: start;
  }
}

/* Sprint v11 — BSMit Playbook Comercial */
.vertical-grid.is-bsmit-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 26px;
}

.bsmit-overview-card {
  display: grid;
  grid-template-columns: minmax(0, 1.35fr) minmax(260px, .65fr);
  gap: 22px;
  padding: clamp(22px, 3vw, 34px);
  border: 1px solid rgba(209, 216, 232, .72);
  border-radius: 20px;
  background: rgba(255, 255, 255, .72);
  box-shadow: 0 14px 40px rgba(20, 34, 87, .045);
}

.bsmit-overview-card h3 {
  max-width: 780px;
  margin: 8px 0 12px;
  color: var(--text);
  font-size: clamp(24px, 2.6vw, 42px);
  line-height: .98;
  letter-spacing: -.04em;
}

.bsmit-overview-card p {
  max-width: 760px;
  margin: 0;
  color: var(--text-soft);
  font-size: 15px;
  line-height: 1.58;
}

.pillar-summary-list {
  display: grid;
  gap: 8px;
  align-content: start;
}

.pillar-summary-list span {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  padding: 11px 12px;
  border: 1px solid rgba(232, 236, 242, .92);
  border-radius: 12px;
  background: rgba(244, 246, 249, .78);
  color: var(--text-muted);
  font-size: 12px;
}

.pillar-summary-list strong {
  color: var(--text);
  font-weight: 650;
}

.pillar-section {
  display: grid;
  gap: 16px;
}

.pillar-header {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 20px;
  align-items: end;
  padding: 0 2px 14px;
  border-bottom: 1px solid rgba(209, 216, 232, .76);
}

.pillar-index {
  display: block;
  margin-bottom: 7px;
  color: var(--text-muted);
  font-family: var(--mono);
  font-size: 12px;
}

.pillar-header h3 {
  margin: 0 0 6px;
  color: var(--text);
  font-size: clamp(22px, 2.2vw, 34px);
  line-height: 1;
  letter-spacing: -.035em;
}

.pillar-header p {
  max-width: 720px;
  margin: 0;
  color: var(--text-soft);
  font-size: 14px;
  line-height: 1.5;
}

.pillar-tags {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 6px;
  max-width: 480px;
}

.pillar-tags span {
  padding: 6px 8px;
  border: 1px solid var(--border);
  border-radius: 999px;
  background: rgba(255,255,255,.72);
  color: var(--text-muted);
  font-size: 11px;
  font-weight: 600;
}

.service-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
}

.service-card {
  min-height: 292px;
}

.service-card .card-index {
  white-space: normal;
  line-height: 1.4;
}

.service-card .card-summary {
  -webkit-line-clamp: 4;
}

.service-card .card-capabilities {
  display: -webkit-box;
  overflow: hidden;
  white-space: normal;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
}

.card-demo-link.is-service {
  color: var(--text-muted);
}

.hero-bsmit {
  --hero-art:
    radial-gradient(circle at 82% 16%, rgba(23, 76, 222, .58), transparent 22%),
    linear-gradient(120deg, rgba(255, 255, 255, .08) 0 1px, transparent 1px 34px),
    linear-gradient(135deg, #071225 0%, #142257 58%, #1739b6 100%);
}

.bsmit-modal-body .modal-section > h3,
.bsmit-modal-body h3 {
  margin-bottom: 18px;
}

.service-meta-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
  margin-bottom: 22px;
}

.service-meta-grid article {
  padding: 16px;
  border: 1px solid rgba(232, 236, 242, .96);
  border-radius: 12px;
  background: rgba(244, 246, 249, .64);
}

.service-meta-grid span {
  display: block;
  margin-bottom: 8px;
  color: var(--text-muted);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: .04em;
  text-transform: uppercase;
}

.service-meta-grid strong {
  color: var(--text);
  font-size: 14px;
  font-weight: 650;
  line-height: 1.45;
}

.rich-content {
  display: grid;
  gap: 15px;
  color: var(--text-soft);
  font-size: 14px;
  line-height: 1.62;
}

.rich-content p,
.rich-content ul,
.rich-content blockquote {
  margin: 0;
}

.rich-content p {
  max-width: 860px;
}

.rich-content strong {
  color: var(--text);
  font-weight: 680;
}

.rich-content code {
  padding: 2px 5px;
  border: 1px solid rgba(209, 216, 232, .8);
  border-radius: 5px;
  background: var(--surface-soft);
  color: var(--blue-900);
  font-family: var(--mono);
  font-size: .92em;
}

.rich-content ul {
  display: grid;
  gap: 8px;
  padding-left: 18px;
}

.rich-content li::marker {
  color: var(--blue-700);
}

.rich-label-line {
  padding-top: 8px;
}

.rich-content blockquote {
  max-width: 920px;
  padding: 15px 18px;
  border-left: 3px solid rgba(23, 76, 222, .42);
  border-radius: 10px;
  background: #f7faff;
  color: var(--text);
  font-size: 14px;
  line-height: 1.58;
}

.data-table-wrap {
  overflow-x: auto;
  border: 1px solid rgba(232, 236, 242, .96);
  border-radius: 12px;
  background: var(--white);
}

.data-table {
  width: 100%;
  border-collapse: collapse;
  min-width: 640px;
  font-size: 13px;
}

.data-table th,
.data-table td {
  padding: 11px 12px;
  border-bottom: 1px solid rgba(232, 236, 242, .86);
  text-align: left;
  vertical-align: top;
}

.data-table th {
  background: var(--surface-soft);
  color: var(--text);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: .035em;
  text-transform: uppercase;
}

.data-table tr:last-child td {
  border-bottom: 0;
}

.data-table td {
  color: var(--text-soft);
}

.commercial-rich-content {
  gap: 18px;
}

.commercial-rich-content .rich-label-line {
  margin-top: 4px;
  color: var(--text);
  font-size: 15px;
}

@media (max-width: 1080px) {
  .service-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .bsmit-overview-card {
    grid-template-columns: 1fr;
  }

  .pillar-header {
    grid-template-columns: 1fr;
    align-items: start;
  }

  .pillar-tags {
    justify-content: flex-start;
  }
}

@media (max-width: 760px) {
  .service-grid {
    grid-template-columns: 1fr;
  }

  .service-meta-grid {
    grid-template-columns: 1fr;
  }

  .bsmit-overview-card h3 {
    font-size: clamp(28px, 10vw, 40px);
  }

  .data-table {
    min-width: 560px;
  }
}


/* Sprint v12 — BSMit mais direto */
.cards-zone.is-bsmit-catalog .section-line {
  display: none;
}

.cards-zone.is-bsmit-catalog .vertical-grid.is-bsmit-grid {
  margin-top: 8px;
}
