/* Viziodata Institutional — visual language aligned to industrial corporate portals */

:root {
  --primary: #004b8d;
  --primary-dark: #003a6e;
  --primary-soft: #e8f1f8;
  --accent: #faa634;
  --accent-hover: #e89420;
  --ink: #505354;
  --ink-strong: #2c2e2f;
  --muted: #6b6e6f;
  --surface: #ffffff;
  --surface-2: #f4f5f6;
  --white: #ffffff;
  --line: #d9dcde;
  --shadow: 0 8px 24px rgba(0, 0, 0, 0.08);
  --radius: 0;
  --max: 1140px;
  --font: "Barlow", "Segoe UI", "Helvetica Neue", Arial, sans-serif;
  --text-xs: 0.75rem;
  --text-sm: 0.875rem;
  --text-base: 1.05rem;
  --text-md: 1.15rem;
  --text-lg: 1.35rem;
  --text-h3: clamp(1.65rem, 2.6vw, 2.25rem);
  --text-h2: clamp(1.85rem, 3.2vw, 2.75rem);
  --text-h1: clamp(2.25rem, 4.2vw, 3.4rem);
  --leading-tight: 1.1;
  --leading-snug: 1.25;
  --leading-body: 1.55;
  --header-h: 100px;
  --topbar-h: 48px;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  overflow-x: clip;
}

body {
  margin: 0;
  font-family: var(--font);
  font-size: 21px;
  font-weight: 300;
  color: var(--ink);
  background: var(--surface);
  line-height: var(--leading-body);
  letter-spacing: normal;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: clip;
}

body.nav-open {
  overflow: hidden;
}

h1,
h2,
h3,
h4 {
  font-family: var(--font);
  font-weight: 400;
  line-height: var(--leading-tight);
  letter-spacing: normal;
  color: var(--ink-strong);
}

h1 {
  font-size: var(--text-h1);
  font-weight: 300;
}

h2 {
  font-size: var(--text-h2);
  font-weight: 400;
}

h3 {
  font-size: var(--text-h3);
  font-weight: 400;
  line-height: var(--leading-snug);
}

img {
  max-width: 100%;
  display: block;
}

a {
  color: inherit;
  text-decoration: none;
}

:focus-visible {
  outline: 2px solid var(--primary);
  outline-offset: 2px;
}

a:focus:not(:focus-visible),
button:focus:not(:focus-visible),
input:focus:not(:focus-visible),
select:focus:not(:focus-visible),
textarea:focus:not(:focus-visible) {
  outline: none;
}

ul {
  margin: 0;
  padding: 0;
  list-style: none;
}

.container {
  width: min(100% - 2.5rem, var(--max));
  margin-inline: auto;
}

/* —— Top bar (black utility) —— */
.topbar {
  background: #000;
  color: #bbbdbd;
  font-size: 12px;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.02em;
  min-height: var(--topbar-h);
}

.topbar-inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 1rem;
  padding: 0.65rem 0;
  flex-wrap: wrap;
}

.topbar a {
  color: #fff;
}

.topbar a:hover {
  color: var(--accent);
}

.topbar-left,
.topbar-right {
  display: flex;
  gap: 1.35rem;
  align-items: center;
  flex-wrap: wrap;
}

.topbar .accent {
  color: var(--accent);
  font-weight: 500;
}

.topbar .accent:hover {
  color: #ffc56a;
}

/* —— Header / Nav —— */
.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: #fff;
  border-bottom: 1px solid #e6e8ea;
  box-shadow: none;
}

.nav-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.25rem;
  min-height: var(--header-h);
  padding: 0.65rem 0;
}

.brand {
  display: flex;
  align-items: baseline;
  gap: 0.15rem;
  font-weight: 600;
  letter-spacing: -0.01em;
  font-size: 1.65rem;
  color: var(--primary);
  line-height: 1;
}

.brand span {
  color: var(--primary);
  font-weight: 600;
}

.brand small {
  font-size: 0.68rem;
  font-weight: 500;
  color: var(--muted);
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.nav-links {
  display: flex;
  gap: 0.15rem 1.35rem;
  align-items: center;
  font-size: 15px;
  font-weight: 500;
  color: var(--ink);
}

.nav-links > a,
.nav-parent {
  padding: 0.4rem 0;
  color: inherit;
}

.nav-links a:hover,
.nav-parent:hover {
  color: var(--primary);
}

.nav-links a.is-active,
.nav-item.is-active > .nav-parent {
  color: var(--primary);
}

.nav-item {
  position: relative;
}

.nav-parent::after {
  content: "";
  display: inline-block;
  width: 0;
  height: 0;
  margin-left: 0.35rem;
  vertical-align: middle;
  border-left: 4px solid transparent;
  border-right: 4px solid transparent;
  border-top: 5px solid currentColor;
  opacity: 0.55;
}

.dropdown {
  display: none;
  position: absolute;
  top: calc(100% + 0.35rem);
  left: 50%;
  transform: translateX(-50%);
  min-width: 230px;
  padding: 0.4rem 0;
  background: var(--white);
  border: 1px solid #e6e8ea;
  border-radius: 0;
  box-shadow: var(--shadow);
  z-index: 60;
}

.dropdown a {
  display: block;
  padding: 0.55rem 1rem;
  border-radius: 0;
  color: var(--ink);
  font-size: 0.92rem;
  font-weight: 400;
  white-space: nowrap;
}

.dropdown a:hover {
  background: var(--primary-soft);
  color: var(--primary);
}

.nav-item:hover > .dropdown,
.nav-item:focus-within > .dropdown,
.nav-item.open > .dropdown {
  display: block;
}

.nav-cta {
  display: flex;
  gap: 0.55rem;
  flex-shrink: 0;
  align-items: center;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.4rem;
  padding: 0.8rem 1.05rem;
  border-radius: 0;
  font-weight: 500;
  font-size: 11px;
  letter-spacing: 1px;
  text-transform: uppercase;
  border: 1px solid transparent;
  cursor: pointer;
  transition: background 0.2s ease, color 0.2s ease, border-color 0.2s ease;
  line-height: 1.2;
  font-family: var(--font);
}

.btn-primary {
  background: var(--primary);
  color: #fff;
  border-color: var(--primary);
}

.btn-primary:hover {
  background: var(--primary-dark);
  border-color: var(--primary-dark);
  color: #fff;
}

.btn-ghost {
  background: transparent;
  border-color: var(--primary);
  color: var(--primary);
}

.btn-ghost:hover {
  background: var(--primary);
  color: #fff;
}

.btn-ghost-light {
  background: transparent;
  border-color: rgba(255, 255, 255, 0.85);
  color: #fff;
}

.btn-ghost-light:hover {
  background: #fff;
  color: var(--primary);
  border-color: #fff;
}

.btn-light {
  background: #fff;
  color: var(--primary);
  border-color: #fff;
}

.btn-light:hover {
  background: transparent;
  color: #fff;
  border-color: #fff;
}

.btn-accent {
  background: var(--primary);
  color: #fff;
  border-color: var(--primary);
}

.btn-accent:hover {
  background: var(--primary-dark);
  border-color: var(--primary-dark);
  color: #fff;
}

.btn-outline-light {
  background: transparent;
  border-color: #fff;
  color: #fff;
}

.menu-toggle {
  display: none;
  align-items: center;
  justify-content: center;
  gap: 0.45rem;
  background: none;
  border: 1px solid #d0d3d5;
  border-radius: 0;
  min-height: 44px;
  min-width: 44px;
  padding: 0.55rem 0.75rem;
  font: inherit;
  font-size: 12px;
  font-weight: 500;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  cursor: pointer;
  color: var(--ink-strong);
}

.menu-toggle-bars {
  display: inline-flex;
  flex-direction: column;
  justify-content: center;
  gap: 4px;
  width: 18px;
}

.menu-toggle-bars span {
  display: block;
  height: 2px;
  width: 100%;
  background: currentColor;
  transition: transform 0.2s ease, opacity 0.2s ease;
}

.site-header.open .menu-toggle-bars span:nth-child(1) {
  transform: translateY(6px) rotate(45deg);
}

.site-header.open .menu-toggle-bars span:nth-child(2) {
  opacity: 0;
}

.site-header.open .menu-toggle-bars span:nth-child(3) {
  transform: translateY(-6px) rotate(-45deg);
}

/* —— Page hero (inner + home product style) —— */
.page-hero,
.hero {
  position: relative;
  color: #fff;
  overflow: hidden;
  padding: 0;
  isolation: isolate;
  min-height: 400px;
  display: flex;
  align-items: center;
  background-color: var(--primary);
  background-image:
    linear-gradient(
      90deg,
      rgba(0, 30, 60, 0.72) 0%,
      rgba(0, 45, 90, 0.55) 42%,
      rgba(0, 55, 110, 0.35) 100%
    ),
    var(--page-hero-image, url("../images/platform/visao-geral.webp"));
  background-position: center;
  background-size: cover;
  background-repeat: no-repeat;
}

.page-hero::before,
.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 0;
  background: linear-gradient(180deg, rgba(0, 0, 0, 0.18) 0%, rgba(0, 0, 0, 0.28) 100%);
  pointer-events: none;
}

.page-hero-content,
.hero-content {
  position: relative;
  z-index: 1;
  padding: 3.25rem 0 3rem;
  max-width: 780px;
  width: 100%;
}

.page-hero h1,
.hero h1 {
  margin: 0 0 0.65rem;
  color: #fff;
  font-family: var(--font);
  font-size: clamp(2.4rem, 4.5vw, 3.4rem);
  line-height: 1.05;
  letter-spacing: normal;
  font-weight: 300;
  text-shadow: none;
}

.page-hero .lead,
.hero p.lead,
.hero .tagline {
  margin: 0;
  color: #fff;
  font-size: clamp(1.05rem, 1.6vw, 1.35rem);
  font-weight: 300;
  line-height: 1.4;
  max-width: 42ch;
  opacity: 0.95;
}

.hero .tagline {
  margin-bottom: 0.85rem;
  font-size: clamp(1.15rem, 1.8vw, 1.45rem);
}

.hero p.lead {
  margin-top: 0.35rem;
  font-size: 1.05rem;
  max-width: 52ch;
  opacity: 0.9;
}

.page-hero-actions,
.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  margin-top: 1.5rem;
}

.page-hero-compact {
  min-height: 320px;
}

.page-hero-compact .page-hero-content {
  padding: 2.5rem 0;
}

.page-hero .eyebrow,
.hero .eyebrow {
  color: #fff;
  opacity: 0.9;
  font-weight: 500;
  letter-spacing: 0.12em;
}

/* —— Breadcrumb —— */
.breadcrumb {
  display: flex;
  align-items: center;
  gap: 0.55rem;
  flex-wrap: wrap;
  font-size: 12px;
  font-weight: 500;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.85);
  margin-bottom: 1.1rem;
}

.breadcrumb a {
  color: #fff;
  text-decoration: none;
  opacity: 0.9;
}

.breadcrumb a:hover {
  opacity: 1;
  text-decoration: underline;
  text-underline-offset: 0.2em;
}

.breadcrumb .sep {
  color: rgba(255, 255, 255, 0.55);
  opacity: 1;
}

.breadcrumb-current {
  color: #fff;
  font-weight: 500;
  opacity: 1;
}

/* —— Portal home cards —— */
.portal-strip {
  padding-top: 2.75rem !important;
  padding-bottom: 2.75rem !important;
  background: var(--surface-2);
  border: none;
}

.portal-nav-cards {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1rem;
  margin-top: 0;
  position: relative;
  z-index: 2;
}

.portal-card {
  background: var(--white);
  border: 1px solid #e6e8ea;
  border-radius: 0;
  padding: 1.5rem 1.35rem;
  box-shadow: none;
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.portal-card:hover {
  border-color: var(--primary);
  box-shadow: var(--shadow);
  transform: none;
}

.portal-card-kicker {
  display: block;
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--primary);
  margin-bottom: 0.55rem;
}

.portal-card h2 {
  margin: 0 0 0.45rem;
  font-size: 1.35rem;
  font-weight: 400;
  color: var(--ink-strong);
}

.portal-card p {
  margin: 0;
  color: var(--muted);
  font-size: 0.95rem;
  font-weight: 300;
}

.app-area-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.15rem;
}

.app-area-grid-lg {
  grid-template-columns: repeat(2, 1fr);
}

.app-area-card {
  background: var(--white);
  border: 1px solid #e6e8ea;
  border-radius: 0;
  padding: 1.5rem 1.4rem;
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
  display: grid;
  gap: 0.55rem;
}

.app-area-card:hover {
  border-color: var(--primary);
  box-shadow: var(--shadow);
  transform: none;
}

.app-area-icon {
  width: 2.5rem;
  height: 2.5rem;
  border-radius: 0;
  display: grid;
  place-items: center;
  background: var(--primary-soft);
  color: var(--primary);
  font-size: 1.15rem;
}

.app-area-icon .ui-icon,
.module-card .icon .ui-icon {
  display: block;
  flex-shrink: 0;
}

.app-area-card h2,
.app-area-card h3 {
  margin: 0;
  font-size: 1.35rem;
  font-weight: 400;
  color: var(--ink-strong);
}

.app-area-card p {
  margin: 0;
  color: var(--muted);
  font-size: 0.98rem;
  font-weight: 300;
}

.mini-module-list {
  display: flex;
  flex-wrap: wrap;
  gap: 0.4rem;
  margin: 0.35rem 0 0.25rem;
}

.mini-module-list li {
  font-size: 0.75rem;
  font-weight: 500;
  color: var(--ink);
  background: var(--surface-2);
  padding: 0.28rem 0.55rem;
  border-radius: 0;
  letter-spacing: 0.02em;
}

.text-link {
  font-weight: 500;
  font-size: 0.85rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--primary);
}

.section-cta {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  margin-top: 2rem;
}

.outcome-row,
.chip-link-row {
  display: flex;
  flex-wrap: wrap;
  gap: 0.65rem;
}

.outcome-chip,
.chip-link {
  display: inline-flex;
  align-items: center;
  padding: 0.55rem 0.9rem;
  border-radius: 0;
  background: var(--white);
  border: 1px solid #d9dcde;
  font-size: 0.9rem;
  font-weight: 400;
  color: var(--ink);
}

.chip-link:hover {
  border-color: var(--primary);
  color: var(--primary);
}

.case-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.15rem;
}

.case-grid-full {
  grid-template-columns: repeat(2, 1fr);
}

.case-card {
  background: var(--white);
  border: 1px solid #e6e8ea;
  border-radius: 0;
  overflow: hidden;
  display: grid;
  grid-template-rows: 180px 1fr;
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.case-card:hover {
  box-shadow: var(--shadow);
  border-color: var(--primary);
  transform: none;
}

.case-card-media img {
  width: 100%;
  height: 180px;
  object-fit: cover;
}

.case-card-body {
  padding: 1.25rem;
  display: grid;
  gap: 0.45rem;
  align-content: start;
}

.case-card-body h3 {
  margin: 0;
  font-size: 1.15rem;
  font-weight: 400;
  line-height: 1.3;
  color: var(--ink-strong);
}

.case-card-body p {
  margin: 0;
  color: var(--muted);
  font-size: 0.95rem;
  font-weight: 300;
}

.case-tag {
  display: inline-flex;
  width: fit-content;
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--primary);
}

.case-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 0.4rem;
}

.case-meta span {
  font-size: 0.75rem;
  font-weight: 500;
  color: var(--muted);
  background: var(--surface-2);
  padding: 0.2rem 0.5rem;
  border-radius: 0;
}

.case-detail-layout {
  display: grid;
  grid-template-columns: 1.4fr 0.7fr;
  gap: 2rem;
  align-items: start;
}

.case-detail-main h2 {
  margin: 0 0 0.75rem;
  font-size: 1.65rem;
  font-weight: 400;
}

.prose {
  color: var(--ink);
  font-size: 1.05rem;
  font-weight: 300;
  margin: 0 0 0.5rem;
}

.case-quote {
  margin: 2rem 0 0;
  padding: 1.25rem 1.4rem;
  border-left: 3px solid var(--primary);
  background: var(--surface-2);
  font-family: var(--font);
  font-size: 1.15rem;
  font-weight: 300;
  line-height: 1.55;
  color: var(--ink-strong);
}

.aside-card {
  background: var(--white);
  border: 1px solid #e6e8ea;
  border-radius: 0;
  padding: 1.25rem;
  margin-bottom: 1rem;
}

.aside-card h3 {
  margin: 0 0 0.75rem;
  font-size: 1rem;
  font-weight: 500;
}

.aside-list {
  display: grid;
  gap: 0.45rem;
  font-size: 0.95rem;
  color: var(--ink);
  font-weight: 300;
}

.industry-card {
  display: block;
}

.industry-card-tall {
  min-height: 240px;
}

.industry-grid-portal {
  grid-template-columns: repeat(3, 1fr);
}

/* —— Section commons —— */
section {
  padding: 4.25rem 0;
}

.section-head {
  max-width: 680px;
  margin-bottom: 2.25rem;
}

.section-head h2 {
  margin: 0 0 0.75rem;
  font-size: var(--text-h2);
  font-weight: 400;
  line-height: 1.15;
  color: var(--ink-strong);
}

.section-head p {
  margin: 0;
  color: var(--ink);
  font-size: var(--text-md);
  font-weight: 300;
  line-height: var(--leading-body);
}

.kicker {
  color: var(--primary);
  font-weight: 600;
  font-size: 0.78rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  margin-bottom: 0.65rem;
}

.eyebrow {
  display: inline-block;
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--primary);
  margin-bottom: 0.85rem;
}

/* —— Value split blocks —— */
.split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3.25rem;
  align-items: center;
}

.split.reverse {
  grid-template-columns: 1fr 1fr;
}

.split.reverse .split-copy {
  order: 2;
}

.split.reverse .split-media {
  order: 1;
}

.split-media {
  border-radius: 0;
  overflow: hidden;
  box-shadow: none;
  min-height: 280px;
  background: var(--surface-2);
}

.split-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  min-height: 280px;
}

.split-copy h3 {
  margin: 0 0 0.9rem;
  font-size: clamp(1.65rem, 2.6vw, 2.25rem);
  font-weight: 400;
  line-height: 1.2;
  color: var(--ink-strong);
}

.split-copy p {
  color: var(--ink);
  font-weight: 300;
  margin: 0 0 1.1rem;
  font-size: 1.05rem;
}

.check-list {
  display: grid;
  gap: 0.7rem;
}

.check-list li {
  position: relative;
  padding-left: 1.35rem;
  color: var(--ink);
  font-weight: 300;
  font-size: 1.02rem;
}

.check-list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.55rem;
  width: 0.55rem;
  height: 0.55rem;
  border-radius: 0;
  background: var(--primary);
  box-shadow: none;
}

.band {
  background: var(--white);
  border-block: none;
}

.band-dark {
  background: var(--primary);
  color: #fff;
  border: none;
}

.band-dark .section-head p,
.band-dark .split-copy p,
.band-dark .muted {
  color: rgba(255, 255, 255, 0.85);
}

.band-dark .check-list li {
  color: #fff;
}

.band-dark .check-list li::before {
  background: var(--accent);
}

.band-dark h2,
.band-dark h3 {
  color: #fff;
}

.band-dark .kicker {
  color: var(--accent);
}

.band-soft {
  background: var(--surface-2);
}

.band-blue {
  background: var(--primary);
  color: #fff;
}

.band-blue .section-head h2,
.band-blue .section-head p {
  color: #fff;
}

.band-blue .kicker {
  color: var(--accent);
}

/* —— Feature grid (modules) —— */
.module-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.15rem;
}

.module-card {
  background: var(--white);
  border: 1px solid #e6e8ea;
  border-radius: 0;
  padding: 1.4rem 1.3rem;
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.module-card:hover {
  border-color: var(--primary);
  box-shadow: var(--shadow);
  transform: none;
}

.module-card .icon {
  width: 2.4rem;
  height: 2.4rem;
  border-radius: 0;
  display: grid;
  place-items: center;
  font-size: 1.1rem;
  margin-bottom: 0.85rem;
  background: var(--primary-soft);
  color: var(--primary);
}

.ui-icon {
  stroke: currentColor;
}

.module-card.ops .icon,
.module-card.ai .icon,
.module-card.data .icon {
  background: var(--primary-soft);
  color: var(--primary);
}

.module-card h3 {
  margin: 0 0 0.45rem;
  font-size: 1.15rem;
  font-weight: 500;
}

.module-card p {
  margin: 0;
  color: var(--muted);
  font-size: 0.95rem;
  font-weight: 300;
}

.module-group {
  margin-bottom: 2.5rem;
}

.module-group h3 {
  margin: 0 0 1rem;
  font-size: 1.25rem;
  color: var(--ink-strong);
}

/* —— Benefits dual —— */
.dual {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.5rem;
}

.dual-card {
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: 0;
  padding: 1.75rem;
}

.dual-card h3 {
  margin: 0 0 0.7rem;
  font-size: 1.35rem;
  color: #fff;
}

.dual-card p {
  color: rgba(255, 255, 255, 0.8);
  margin: 0 0 1rem;
  font-weight: 300;
}

/* —— Industries —— */
.industry-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1rem;
}

.industry-card {
  position: relative;
  border-radius: 0;
  overflow: hidden;
  min-height: 200px;
  color: #fff;
  isolation: isolate;
}

.industry-card img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: -2;
}

.industry-card::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, transparent 25%, rgba(0, 30, 60, 0.88));
  z-index: -1;
}

.industry-card .body {
  position: absolute;
  inset: auto 0 0;
  padding: 1.25rem;
}

.industry-card h3 {
  margin: 0 0 0.25rem;
  font-size: 1.2rem;
  font-weight: 400;
  color: #fff;
}

.industry-card p {
  margin: 0;
  font-size: 0.9rem;
  font-weight: 300;
  color: rgba(255, 255, 255, 0.85);
}

.industry-card .text-link {
  color: #fff;
  margin-top: 0.5rem;
  display: inline-block;
}

/* —— How it works —— */
.steps {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1rem;
  counter-reset: step;
}

.step {
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: 0;
  padding: 1.4rem;
  position: relative;
}

.band .step,
.band-soft .step {
  background: var(--white);
  border: 1px solid #e6e8ea;
}

.step::before {
  counter-increment: step;
  content: "0" counter(step);
  display: block;
  font-weight: 600;
  color: var(--accent);
  font-size: 0.85rem;
  letter-spacing: 0.1em;
  margin-bottom: 0.7rem;
}

.band .step::before,
.band-soft .step::before {
  color: var(--primary);
}

.step h3 {
  margin: 0 0 0.45rem;
  font-size: 1.15rem;
  font-weight: 500;
  color: inherit;
}

.step p {
  margin: 0;
  color: inherit;
  opacity: 0.85;
  font-size: 0.95rem;
  font-weight: 300;
}

.band .step p,
.band-soft .step p {
  color: var(--muted);
  opacity: 1;
}

/* —— CTA / Contact (Novaspect dual pattern) —— */
.cta-panel {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0;
  align-items: stretch;
  background: transparent;
  border: none;
  border-radius: 0;
  overflow: visible;
  box-shadow: none;
}

.cta-copy {
  padding: 0 2.5rem 0 0;
  background: transparent;
}

.cta-copy h2 {
  margin: 0 0 0.85rem;
  font-size: clamp(1.75rem, 2.8vw, 2.35rem);
  font-weight: 400;
  line-height: 1.15;
  color: var(--ink-strong);
}

.cta-copy p {
  color: var(--ink);
  font-weight: 300;
  margin: 0 0 1.25rem;
  font-size: 1.05rem;
}

.contact-meta {
  display: grid;
  gap: 0.5rem;
  font-size: 0.98rem;
  color: var(--ink);
  font-weight: 300;
}

.contact-meta a {
  color: var(--primary);
  font-weight: 500;
}

.cta-form {
  padding: 2rem 2.15rem;
  background: var(--white);
  color: var(--ink);
  border: 1px solid #e6e8ea;
}

.cta-form h3 {
  margin: 0 0 1.2rem;
  color: var(--ink-strong);
  font-size: 1.35rem;
  font-weight: 400;
}

.form-grid {
  display: grid;
  gap: 0.9rem;
}

.cta-form label {
  display: grid;
  gap: 0.35rem;
  font-size: 0.8rem;
  font-weight: 500;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--ink);
}

.cta-form input,
.cta-form select,
.cta-form textarea,
.form-grid input,
.form-grid select,
.form-grid textarea {
  width: 100%;
  border: 1px solid #cfd3d5;
  background: #fff;
  color: var(--ink-strong);
  border-radius: 0;
  padding: 0.75rem 0.85rem;
  font: inherit;
  font-size: 1rem;
  font-weight: 300;
  text-transform: none;
  letter-spacing: normal;
}

.cta-form input:hover,
.cta-form select:hover,
.cta-form textarea:hover {
  border-color: var(--primary);
}

.cta-form input::placeholder,
.cta-form textarea::placeholder {
  color: #9a9d9e;
}

.cta-form input:focus,
.cta-form select:focus,
.cta-form textarea:focus {
  outline: 2px solid rgba(0, 75, 141, 0.35);
  border-color: var(--primary);
}

.cta-form textarea {
  min-height: 110px;
  resize: vertical;
}

.cta-form select option {
  color: var(--ink-strong);
  background: #fff;
}

.form-msg {
  margin-top: 0.85rem;
  font-size: 0.95rem;
  min-height: 1.2em;
  text-transform: none;
  letter-spacing: normal;
  font-weight: 400;
}

.form-msg.ok {
  color: #1f7a4d;
}

.form-msg.err {
  color: #b42318;
}

/* Expert dual on soft band */
.band-soft .cta-panel {
  gap: 2.5rem;
}

/* —— Resources —— */
.resource-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.15rem;
}

.resource-card {
  border-radius: 0;
  overflow: hidden;
  background: var(--white);
  border: none;
  display: grid;
  grid-template-rows: 180px 1fr;
  transition: box-shadow 0.2s ease;
}

.resource-card:hover {
  box-shadow: 0 12px 28px rgba(0, 0, 0, 0.18);
}

.resource-card img {
  width: 100%;
  height: 180px;
  object-fit: cover;
}

.resource-card .body {
  padding: 1.25rem;
}

.resource-card h3 {
  margin: 0 0 0.4rem;
  font-size: 1.15rem;
  font-weight: 500;
  color: var(--ink-strong);
}

.resource-card p {
  margin: 0;
  color: var(--muted);
  font-size: 0.95rem;
  font-weight: 300;
}

/* —— Footer —— */
.site-footer {
  background: #101010;
  color: #c8c9ca;
  padding: 3.75rem 0 1.5rem;
  font-size: 0.95rem;
  font-weight: 300;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.35fr 1fr 1fr 1fr;
  gap: 2rem;
  margin-bottom: 2.5rem;
}

.site-footer .footer-heading {
  color: #fff;
  margin: 0 0 1rem;
  font-size: 0.85rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.site-footer a {
  color: #c8c9ca;
}

.site-footer a:hover {
  color: var(--accent);
}

.site-footer ul {
  display: grid;
  gap: 0.55rem;
  font-size: 0.92rem;
}

.footer-brand {
  font-size: 1.35rem;
  font-weight: 600;
  letter-spacing: -0.01em;
  color: #fff;
  margin-bottom: 0.7rem;
}

.footer-brand span {
  color: #9ec5e8;
  font-weight: 500;
}

.site-footer p {
  color: #9a9b9c;
  line-height: 1.6;
  margin: 0 0 0.75rem;
  font-size: 0.95rem;
}

.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.12);
  padding-top: 1.25rem;
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  flex-wrap: wrap;
  font-size: 0.82rem;
  color: #8a8b8c;
}

/* —— Motion —— */
@media (prefers-reduced-motion: no-preference) {
  .reveal {
    opacity: 0;
    transform: translateY(16px);
    transition: opacity 0.55s ease, transform 0.55s ease;
  }

  .reveal.visible {
    opacity: 1;
    transform: none;
  }

  .page-hero-content,
  .hero-content {
    animation: rise 0.75s ease both;
  }

  @keyframes rise {
    from {
      opacity: 0;
      transform: translateY(18px);
    }
    to {
      opacity: 1;
      transform: none;
    }
  }
}

/* —— Responsive —— */
@media (max-width: 1100px) {
  .portal-nav-cards {
    grid-template-columns: 1fr 1fr;
  }

  body {
    font-size: 18px;
  }
}

@media (max-width: 980px) {
  :root {
    --header-h: 72px;
  }

  .container {
    width: min(100% - 2rem, var(--max));
  }

  .split,
  .split.reverse,
  .dual,
  .cta-panel,
  .module-grid,
  .industry-grid,
  .industry-grid-portal,
  .steps,
  .resource-grid,
  .footer-grid,
  .app-area-grid,
  .app-area-grid-lg,
  .case-grid,
  .case-grid-full,
  .case-detail-layout {
    grid-template-columns: 1fr 1fr;
  }

  .split {
    gap: 2rem;
  }

  .split.reverse .split-copy,
  .split.reverse .split-media {
    order: unset;
  }

  .cta-copy {
    padding: 0;
  }

  .nav-inner {
    flex-wrap: wrap;
    min-height: var(--header-h);
    padding: 0.5rem 0;
    gap: 0.75rem;
  }

  .brand {
    font-size: 1.45rem;
  }

  .nav-links,
  .nav-cta {
    display: none;
  }

  .menu-toggle {
    display: inline-flex;
    margin-left: auto;
  }

  .site-header.open {
    max-height: calc(100dvh - var(--topbar-h));
    overflow-y: auto;
  }

  .site-header.open .nav-links,
  .site-header.open .nav-cta {
    display: flex;
    flex-direction: column;
    align-items: stretch;
    width: 100%;
    gap: 0;
  }

  .site-header.open .nav-links {
    padding: 0.35rem 0 0.75rem;
    border-top: 1px solid #e6e8ea;
  }

  .site-header.open .nav-links > a,
  .site-header.open .nav-parent {
    display: flex;
    align-items: center;
    justify-content: space-between;
    width: 100%;
    min-height: 48px;
    padding: 0.7rem 0;
    font-size: 1rem;
    font-weight: 500;
    border-bottom: 1px solid #eef0f1;
  }

  .site-header.open .nav-item {
    width: 100%;
  }

  .site-header.open .dropdown {
    position: static;
    transform: none;
    display: none;
    box-shadow: none;
    border: none;
    border-radius: 0;
    padding: 0 0 0.5rem 0.85rem;
    min-width: 0;
    background: var(--surface-2);
  }

  .site-header.open .nav-item.open > .dropdown {
    display: grid;
    gap: 0;
  }

  .site-header.open .dropdown a {
    white-space: normal;
    min-height: 44px;
    display: flex;
    align-items: center;
    padding: 0.65rem 0.75rem;
    border-bottom: 1px solid #e6e8ea;
    font-size: 0.95rem;
  }

  .site-header.open .dropdown a:last-child {
    border-bottom: none;
  }

  .site-header.open .nav-cta {
    padding: 0.85rem 0 1rem;
    gap: 0.65rem;
    border-top: 1px solid #e6e8ea;
  }

  .site-header.open .nav-cta .btn {
    width: 100%;
    min-height: 48px;
    font-size: 12px;
  }

  .page-hero h1,
  .hero h1 {
    font-size: clamp(2rem, 7vw, 2.75rem);
  }

  .hero-actions .btn,
  .page-hero-actions .btn,
  .section-cta .btn {
    min-height: 48px;
  }
}

@media (max-width: 768px) {
  .split,
  .dual,
  .cta-panel,
  .module-grid,
  .industry-grid,
  .industry-grid-portal,
  .steps,
  .resource-grid,
  .footer-grid,
  .portal-nav-cards,
  .app-area-grid,
  .app-area-grid-lg,
  .case-grid,
  .case-grid-full,
  .case-detail-layout {
    grid-template-columns: 1fr;
  }

  .band-soft .cta-panel {
    gap: 1.5rem;
  }

  .split-media,
  .split-media img {
    min-height: 220px;
  }

  .footer-bottom {
    flex-direction: column;
    align-items: flex-start;
  }
}

@media (max-width: 680px) {
  :root {
    --header-h: 64px;
    --topbar-h: 40px;
  }

  body {
    font-size: 16.5px;
  }

  .container {
    width: min(100% - 1.5rem, var(--max));
  }

  .topbar {
    font-size: 11px;
  }

  .topbar-inner {
    padding: 0.4rem 0;
    gap: 0.45rem;
    flex-wrap: nowrap;
  }

  .topbar-left {
    gap: 0.75rem;
    min-width: 0;
    flex: 1;
  }

  .topbar-left .accent {
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
    max-width: 100%;
  }

  .topbar-left .topbar-extra,
  .topbar-right {
    display: none;
  }

  .menu-toggle-text {
    display: none;
  }

  .page-hero,
  .hero {
    min-height: 280px;
    background-image:
      linear-gradient(
        180deg,
        rgba(0, 30, 60, 0.78) 0%,
        rgba(0, 40, 80, 0.72) 100%
      ),
      var(--page-hero-image, url("../images/platform/visao-geral.webp"));
  }

  .page-hero-compact {
    min-height: 240px;
  }

  .page-hero-content,
  .hero-content {
    padding: 2rem 0 1.85rem;
    max-width: 100%;
  }

  .page-hero h1,
  .hero h1 {
    font-size: clamp(1.85rem, 9vw, 2.35rem);
  }

  .page-hero .lead,
  .hero p.lead,
  .hero .tagline {
    max-width: none;
    font-size: 1.05rem;
  }

  .hero p.lead {
    font-size: 0.98rem;
  }

  .hero-actions,
  .page-hero-actions {
    flex-direction: column;
    align-items: stretch;
  }

  .hero-actions .btn,
  .page-hero-actions .btn {
    width: 100%;
  }

  .breadcrumb {
    font-size: 11px;
    gap: 0.4rem;
    margin-bottom: 0.85rem;
  }

  .section-head {
    margin-bottom: 1.5rem;
  }

  .section-head p,
  .split-copy p,
  .prose,
  .cta-copy p {
    font-size: 1rem;
  }

  .split-copy h3 {
    font-size: clamp(1.45rem, 6vw, 1.85rem);
  }

  section {
    padding: 2.75rem 0;
  }

  .cta-form {
    padding: 1.25rem;
  }

  .cta-form input,
  .cta-form select,
  .cta-form textarea,
  .form-grid input,
  .form-grid select,
  .form-grid textarea {
    font-size: 16px;
    min-height: 48px;
    padding: 0.8rem 0.85rem;
  }

  .cta-form textarea {
    min-height: 120px;
  }

  .cta-form .btn,
  .form-grid .btn {
    width: 100%;
    min-height: 48px;
  }

  .case-card {
    grid-template-rows: 160px 1fr;
  }

  .case-card-media img,
  .resource-card img {
    height: 160px;
  }

  .resource-card {
    grid-template-rows: 160px 1fr;
  }

  .industry-card,
  .industry-card-tall {
    min-height: 200px;
  }

  .site-footer {
    padding: 2.75rem 0 1.25rem;
  }

  .footer-grid {
    gap: 1.75rem;
  }
}

@media (max-width: 390px) {
  .container {
    width: min(100% - 1.25rem, var(--max));
  }

  .brand {
    font-size: 1.3rem;
  }

  .brand small {
    font-size: 0.58rem;
  }

  .topbar-left .accent {
    font-size: 10px;
  }
}

/* —— AEO / SEO / a11y —— */
.skip-link {
  position: absolute;
  left: -9999px;
  top: 0;
  z-index: 10000;
  padding: 0.65rem 1rem;
  background: var(--primary);
  color: #fff;
  font-weight: 600;
  text-decoration: none;
}

.skip-link:focus {
  left: 1rem;
  top: 1rem;
}

.answer-box {
  max-width: 48rem;
  padding: 1.75rem 0;
}

.answer-box .answer-text {
  font-size: var(--text-md);
  line-height: var(--leading-body);
  color: var(--ink-strong);
  margin: 0.75rem 0 0;
}

.faq-list {
  display: grid;
  gap: 0.75rem;
  max-width: 48rem;
}

.faq-item {
  border: 1px solid var(--line);
  background: var(--surface);
}

.faq-item summary {
  cursor: pointer;
  list-style: none;
  padding: 1rem 1.15rem;
  font-weight: 600;
  color: var(--ink-strong);
  font-size: var(--text-base);
}

.faq-item summary::-webkit-details-marker {
  display: none;
}

.faq-item summary::after {
  content: "+";
  float: right;
  color: var(--primary);
  font-weight: 700;
}

.faq-item[open] summary::after {
  content: "–";
}

.faq-answer {
  padding: 0 1.15rem 1.15rem;
}

.faq-answer p {
  margin: 0;
  color: var(--ink);
  line-height: var(--leading-body);
}

.footer-entity {
  margin-top: 1rem;
  font-size: var(--text-sm);
  color: var(--muted);
}

.faq-band .section-head {
  margin-bottom: 1.5rem;
}

@media (max-width: 680px) {
  .answer-box {
    padding: 0.25rem 0;
  }

  .answer-box h2 {
    font-size: clamp(1.35rem, 6vw, 1.75rem);
  }

  .faq-item summary {
    padding: 0.95rem 1rem;
    font-size: 1rem;
    line-height: 1.35;
  }

  .faq-answer {
    padding: 0 1rem 1rem;
  }
}
