:root {
  --bg: #ffffff;
  --bg-alt: #f4f7fb;
  --surface: rgba(255, 255, 255, 0.92);
  --surface-strong: rgba(255, 255, 255, 0.98);
  --card: rgba(255, 255, 255, 0.94);
  --text: #0f2330;
  --muted: #4b6475;
  --line: rgba(44, 91, 115, 0.18);
  --brand-a: #1d8ea3;
  --brand-b: #2e84c2;
  --brand-c: #5fd0d9;
  --brand-d: #1c3d58;
  --success: #5fd0d9;
  --shadow: 0 20px 44px rgba(18, 56, 78, 0.12);
  --radius-lg: 28px;
  --radius-md: 20px;
  --radius-sm: 14px;
  --content-width: min(1180px, calc(100vw - 32px));
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  min-width: 320px;
  background:
    radial-gradient(circle at top left, rgba(95, 208, 217, 0.14), transparent 32%),
    radial-gradient(circle at top right, rgba(46, 132, 194, 0.12), transparent 30%),
    linear-gradient(180deg, #ffffff 0%, #f7fafc 100%);
  color: var(--text);
  font-family: "Manrope", sans-serif;
}

body::before {
  content: "";
  position: fixed;
  inset: 0;
  z-index: -3;
  background-image:
    linear-gradient(rgba(15, 35, 48, 0.04) 1px, transparent 1px),
    linear-gradient(90deg, rgba(15, 35, 48, 0.04) 1px, transparent 1px);
  background-size: 38px 38px;
  mask-image: radial-gradient(circle at center, black 42%, transparent 90%);
}

.page-glow {
  position: fixed;
  z-index: -2;
  width: 28rem;
  height: 28rem;
  border-radius: 999px;
  filter: blur(90px);
  opacity: 0.35;
}

.page-glow--left {
  top: -6rem;
  left: -6rem;
  background: rgba(95, 208, 217, 0.35);
}

.page-glow--right {
  right: -8rem;
  top: 12rem;
  background: rgba(46, 132, 194, 0.26);
}

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

button,
input {
  font: inherit;
}

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

.site-header,
main,
.site-footer {
  width: var(--content-width);
  margin: 0 auto;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  margin-top: 18px;
  padding: 14px 18px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  background: rgba(255, 255, 255, 0.94);
  backdrop-filter: blur(18px);
  border: 1px solid var(--line);
  border-radius: 22px;
  box-shadow: var(--shadow);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 14px;
  min-width: 0;
}

.brand__icon {
  width: 56px;
  height: 56px;
  flex: 0 0 auto;
}

.brand__copy {
  display: inline-flex;
  flex-direction: column;
  gap: 2px;
  min-width: 0;
}

.brand__copy strong {
  font-family: "Space Grotesk", sans-serif;
  font-size: 1.22rem;
  line-height: 1;
  letter-spacing: 0.04em;
}

.brand__copy strong span {
  color: #47abe6;
}

.brand__copy small {
  color: var(--muted);
  font-size: 0.78rem;
  text-transform: uppercase;
  letter-spacing: 0.12em;
}

.site-nav {
  display: flex;
  align-items: center;
  gap: 20px;
  font-weight: 600;
  color: var(--muted);
}

.site-nav a {
  position: relative;
}

.nav-dropdown {
  position: relative;
}

.nav-dropdown__toggle {
  display: inline-flex;
  align-items: center;
  gap: 8px;
}

.nav-dropdown__toggle::before {
  content: "";
  display: inline-block;
  width: 0.5rem;
  height: 0.5rem;
  border-right: 2px solid currentColor;
  border-bottom: 2px solid currentColor;
  transform: rotate(45deg) translateY(-1px);
}

.nav-dropdown__menu {
  position: absolute;
  top: calc(100% + 14px);
  left: 0;
  min-width: 220px;
  padding: 12px;
  display: grid;
  gap: 8px;
  opacity: 0;
  pointer-events: none;
  transform: translateY(8px);
  transition:
    opacity 180ms ease,
    transform 180ms ease;
  background: rgba(7, 22, 29, 0.95);
  border: 1px solid var(--line);
  border-radius: 18px;
  box-shadow: var(--shadow);
}

.nav-dropdown__menu a {
  padding: 10px 12px;
  border-radius: 12px;
}

.nav-dropdown__menu a:hover,
.nav-dropdown__menu a:focus-visible {
  background: rgba(255, 255, 255, 0.05);
}

.nav-dropdown:hover .nav-dropdown__menu,
.nav-dropdown:focus-within .nav-dropdown__menu {
  opacity: 1;
  pointer-events: auto;
  transform: translateY(0);
}

.site-nav a::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -6px;
  width: 100%;
  height: 2px;
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 180ms ease;
  background: linear-gradient(90deg, var(--brand-c), var(--brand-b));
}

.site-nav a:hover::after,
.site-nav a:focus-visible::after {
  transform: scaleX(1);
}

.site-header__actions {
  display: flex;
  align-items: center;
  gap: 12px;
}

.button {
  border: 0;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 0.9rem 1.3rem;
  border-radius: 999px;
  font-weight: 800;
  transition:
    transform 180ms ease,
    box-shadow 180ms ease,
    background-color 180ms ease,
    opacity 180ms ease;
}

.button:hover,
.button:focus-visible {
  transform: translateY(-2px);
}

.button--primary {
  color: white;
  background: linear-gradient(135deg, var(--brand-a), var(--brand-b));
  box-shadow: 0 18px 34px rgba(29, 142, 163, 0.25);
}

.button--secondary {
  border: 1px solid rgba(95, 208, 217, 0.24);
  background: rgba(255, 255, 255, 0.03);
  color: var(--text);
}

.button--ghost {
  background: transparent;
  border: 1px solid var(--line);
  color: var(--text);
}

.button--hidden {
  display: none;
}

.button--large {
  padding: 1rem 1.5rem;
}

main {
  padding: 32px 0 100px;
}

section {
  position: relative;
}

.hero {
  min-height: calc(100vh - 140px);
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(320px, 0.9fr);
  gap: 28px;
  align-items: center;
  padding: 56px 0 32px;
}

.hero__copy {
  max-width: 680px;
}

.eyebrow {
  margin: 0 0 16px;
  color: var(--brand-c);
  font-weight: 800;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  font-size: 0.78rem;
}

.hero h1,
.reports-hero h1,
.section-heading h2,
.company h2,
.contact h2 {
  margin: 0;
  font-family: "Space Grotesk", sans-serif;
  font-weight: 700;
  line-height: 0.96;
  letter-spacing: -0.04em;
}

.hero h1 {
  font-size: clamp(3rem, 8vw, 5.75rem);
}

.hero__lead,
.section-heading p,
.company__story p,
.contact__intro p {
  color: var(--muted);
  font-size: 1.08rem;
  line-height: 1.75;
}

.reports-hero h1 {
  font-size: clamp(2.8rem, 7vw, 5rem);
}

.hero__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin: 28px 0 36px;
}

.hero-badges {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.hero-badges span {
  padding: 0.75rem 1rem;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(95, 208, 217, 0.16);
  color: var(--muted);
  font-weight: 700;
}

.hero__facts {
  margin: 0;
  padding: 0;
  list-style: none;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
}

.hero__facts li,
.hero-card,
.info-chip,
.simulator-form,
.simulator-panel,
.service-card,
.journey-grid article,
.company__facts article,
.testimonial-card,
.contact-card {
  border: 1px solid var(--line);
  box-shadow: var(--shadow);
}

.hero__facts li {
  padding: 18px;
  border-radius: var(--radius-md);
  background: rgba(255, 255, 255, 0.03);
}

.hero__facts strong {
  display: block;
  font-size: 1rem;
  margin-bottom: 8px;
}

.hero__facts span {
  color: var(--muted);
  line-height: 1.6;
}

.hero__spotlight {
  display: grid;
  gap: 18px;
}

.hero__spotlight--stacked {
  align-content: start;
}

.hero-card {
  position: relative;
  overflow: hidden;
  border-radius: var(--radius-lg);
}

.hero-card--brand {
  padding: 26px;
  background:
    radial-gradient(circle at top right, rgba(95, 208, 217, 0.16), transparent 40%),
    linear-gradient(145deg, rgba(11, 45, 56, 0.96), rgba(7, 24, 31, 0.94));
}

.hero-card--brand::after {
  content: "";
  position: absolute;
  right: -40px;
  bottom: -40px;
  width: 180px;
  height: 180px;
  border-radius: 42px;
  transform: rotate(18deg);
  background: linear-gradient(135deg, rgba(95, 208, 217, 0.22), rgba(46, 132, 194, 0.05));
}

.hero-card__label {
  margin: 0 0 8px;
  color: var(--brand-c);
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.14em;
  font-size: 0.76rem;
}

.hero-card h2 {
  margin: 0 0 10px;
  font-family: "Space Grotesk", sans-serif;
  font-size: clamp(1.9rem, 4vw, 2.8rem);
  line-height: 1.02;
}

.hero-card p {
  margin: 0;
  color: var(--muted);
  line-height: 1.7;
}

.hero-card--glass {
  padding: 24px;
  background: rgba(255, 255, 255, 0.04);
  backdrop-filter: blur(18px);
}

.hero-card__row,
.result-visual__header {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  align-items: center;
}

.hero-progress,
.stack-bar {
  position: relative;
  overflow: hidden;
  height: 12px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.08);
}

.hero-progress {
  margin: 18px 0 22px;
}

.hero-progress span,
.stack-bar span {
  display: block;
  height: 100%;
  border-radius: inherit;
}

.hero-progress span {
  background: linear-gradient(90deg, var(--brand-c), var(--brand-b));
}

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

.hero-mini-stats article {
  padding: 14px;
  border-radius: 16px;
  background: rgba(255, 255, 255, 0.04);
}

.hero-mini-stats strong {
  display: block;
  margin-bottom: 4px;
}

.hero-mini-stats span {
  color: var(--muted);
  font-size: 0.9rem;
}

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

.hero-highlight {
  padding: 18px;
  border-radius: 18px;
  border: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.04);
  box-shadow: var(--shadow);
}

.hero-highlight span {
  display: block;
  margin-bottom: 10px;
  color: var(--muted);
  font-size: 0.9rem;
}

.hero-highlight strong {
  display: block;
  font-size: 1rem;
  line-height: 1.4;
}

.credibility,
.services,
.mission,
.values,
.strengths,
.strategy,
.journey,
.company,
.testimonials,
.contact,
.reports-grid {
  padding-top: 64px;
}

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

.info-chip {
  padding: 18px 20px;
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.035);
}

.info-chip__title {
  display: block;
  color: var(--muted);
  margin-bottom: 8px;
  font-size: 0.88rem;
}

.info-chip strong {
  display: block;
  font-size: 1.05rem;
  margin-bottom: 4px;
}

.info-chip small {
  color: var(--brand-c);
}

.section-heading {
  display: grid;
  gap: 8px;
  margin-bottom: 30px;
  max-width: 760px;
}

.section-heading h2,
.company h2,
.contact h2 {
  font-size: clamp(2.1rem, 5vw, 3.5rem);
}

.simulator__layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(320px, 420px);
  gap: 22px;
}

.simulator-form,
.simulator-panel {
  padding: 24px;
  border-radius: var(--radius-lg);
  background: linear-gradient(180deg, rgba(10, 34, 42, 0.92), rgba(6, 22, 29, 0.98));
}

.field + .field {
  margin-top: 22px;
}

.field label {
  display: block;
  margin-bottom: 10px;
  font-weight: 700;
}

.field__value {
  margin-bottom: 12px;
  font-size: 1.15rem;
  font-weight: 800;
  color: var(--brand-c);
}

input[type="range"] {
  width: 100%;
  margin: 0 0 14px;
  accent-color: var(--brand-b);
}

input[type="number"] {
  width: 100%;
  border: 1px solid rgba(95, 208, 217, 0.18);
  border-radius: 16px;
  padding: 14px 16px;
  color: var(--text);
  background: rgba(255, 255, 255, 0.04);
}

.preset-list {
  margin-top: 20px;
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.preset {
  border: 1px solid rgba(95, 208, 217, 0.18);
  background: rgba(255, 255, 255, 0.03);
  color: var(--text);
  padding: 0.8rem 1rem;
  border-radius: 999px;
  font-weight: 700;
  cursor: pointer;
  transition: transform 180ms ease, background-color 180ms ease;
}

.preset:hover,
.preset:focus-visible {
  transform: translateY(-2px);
  background: rgba(95, 208, 217, 0.08);
}

.simulator-note {
  margin: 22px 0 0;
  padding: 14px 16px;
  border-radius: 16px;
  color: var(--muted);
  line-height: 1.65;
  background: rgba(255, 255, 255, 0.03);
}

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

.result-card {
  padding: 18px;
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.04);
}

.result-card span {
  display: block;
  color: var(--muted);
  margin-bottom: 10px;
}

.result-card strong {
  display: block;
  font-family: "Space Grotesk", sans-serif;
  font-size: 1.2rem;
  line-height: 1.2;
}

.result-visual {
  margin-top: 20px;
  padding: 18px;
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.03);
}

.result-visual__header {
  margin-bottom: 14px;
}

.stack-bar {
  margin-bottom: 14px;
}

.stack-bar__principal {
  background: linear-gradient(90deg, var(--brand-c), #4ec5d2);
}

.stack-bar__interest {
  position: absolute;
  right: 0;
  top: 0;
  background: linear-gradient(90deg, #1b4761, #2e84c2);
}

.legend {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  color: var(--muted);
}

.legend__dot {
  display: inline-block;
  width: 10px;
  height: 10px;
  border-radius: 999px;
  margin-right: 8px;
}

.legend__dot--principal {
  background: var(--brand-c);
}

.legend__dot--interest {
  background: var(--brand-b);
}

.simulator-panel__actions {
  margin-top: 20px;
  display: grid;
  gap: 12px;
}

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

.service-card,
.content-card,
.mini-card,
.document-card,
.testimonial-card,
.contact-card {
  padding: 24px;
  border-radius: var(--radius-lg);
  background: linear-gradient(180deg, rgba(11, 38, 47, 0.82), rgba(7, 24, 31, 0.95));
  border: 1px solid var(--line);
  box-shadow: var(--shadow);
}

.service-card__badge {
  display: inline-flex;
  margin-bottom: 16px;
  padding: 0.45rem 0.7rem;
  border-radius: 999px;
  background: rgba(95, 208, 217, 0.12);
  color: var(--brand-c);
  font-weight: 800;
  font-size: 0.8rem;
  letter-spacing: 0.05em;
  text-transform: uppercase;
}

.service-card h3,
.journey-grid h3 {
  margin: 0 0 10px;
  font-family: "Space Grotesk", sans-serif;
  font-size: 1.55rem;
}

.service-card p,
.journey-grid p,
.testimonial-card p,
.contact-card small {
  margin: 0;
  color: var(--muted);
  line-height: 1.7;
}

.service-card--accent {
  background:
    radial-gradient(circle at top right, rgba(95, 208, 217, 0.16), transparent 32%),
    linear-gradient(180deg, rgba(13, 43, 53, 0.92), rgba(7, 24, 31, 0.98));
}

.team-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 18px;
}

.team-card {
  overflow: hidden;
  border-radius: 24px;
  border: 1px solid var(--line);
  background: linear-gradient(180deg, rgba(11, 38, 47, 0.82), rgba(7, 24, 31, 0.95));
  box-shadow: var(--shadow);
}

.team-card__media {
  aspect-ratio: 4 / 4.4;
  overflow: hidden;
  background:
    radial-gradient(circle at top right, rgba(95, 208, 217, 0.18), transparent 35%),
    linear-gradient(180deg, rgba(18, 60, 74, 0.88), rgba(11, 34, 42, 0.94));
}

.team-card__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.team-card__body {
  padding: 18px;
}

.team-card__body strong {
  display: block;
  margin-bottom: 8px;
  font-size: 1.08rem;
}

.team-card__role {
  display: block;
  margin-bottom: 12px;
  color: var(--brand-c);
  font-weight: 700;
}

.team-card__body p {
  margin: 0;
  color: var(--muted);
  line-height: 1.7;
}

.mission-grid,
.strategy-layout,
.document-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px;
}

.overview-layout {
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(300px, 0.85fr);
  gap: 18px;
}

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

.summary-card {
  padding: 22px;
  border-radius: 22px;
  border: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.04);
  box-shadow: var(--shadow);
}

.summary-card span {
  display: block;
  margin-bottom: 10px;
  color: var(--muted);
  font-size: 0.9rem;
}

.summary-card strong {
  display: block;
  font-size: 1.02rem;
  line-height: 1.5;
}

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

.highlight-card {
  padding: 20px;
  border-radius: 22px;
  border: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.04);
  box-shadow: var(--shadow);
}

.highlight-card span {
  display: block;
  margin-bottom: 10px;
  color: var(--muted);
  font-size: 0.9rem;
}

.highlight-card strong {
  display: block;
  font-size: 1.02rem;
  line-height: 1.5;
}

.content-card--feature,
.document-card--accent {
  background:
    radial-gradient(circle at top right, rgba(95, 208, 217, 0.16), transparent 32%),
    linear-gradient(180deg, rgba(13, 43, 53, 0.92), rgba(7, 24, 31, 0.98));
}

.content-card h3,
.document-card h3 {
  margin: 0 0 12px;
  font-family: "Space Grotesk", sans-serif;
  font-size: 1.6rem;
}

.content-card p,
.document-card p {
  margin: 0;
  color: var(--muted);
  line-height: 1.75;
}

.content-card p + p,
.document-card p + p {
  margin-top: 14px;
}

.content-list {
  margin: 0;
  padding-left: 18px;
  color: var(--muted);
  line-height: 1.8;
}

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

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

.mini-card {
  display: flex;
  align-items: center;
  line-height: 1.7;
  font-weight: 700;
}

.reports-hero {
  padding-top: 48px;
}

.submenu-bar {
  margin-top: 28px;
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.submenu-bar a {
  padding: 0.85rem 1.1rem;
  border-radius: 999px;
  border: 1px solid rgba(95, 208, 217, 0.2);
  background: rgba(255, 255, 255, 0.04);
  font-weight: 800;
}

.document-grid {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.document-card__button {
  margin-top: 18px;
}

.journey-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 16px;
}

.journey-grid article {
  padding: 22px;
  border-radius: 22px;
  background: rgba(255, 255, 255, 0.03);
}

.journey-grid strong {
  display: inline-flex;
  margin-bottom: 16px;
  font-family: "Space Grotesk", sans-serif;
  font-size: 2.1rem;
  color: var(--brand-c);
}

.company {
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(280px, 0.9fr);
  gap: 24px;
  align-items: start;
}

.company__facts {
  display: grid;
  gap: 16px;
}

.company__facts article {
  padding: 20px;
  border-radius: 22px;
  background: rgba(255, 255, 255, 0.04);
}

.company__facts span,
.contact-card span,
.testimonial-card span {
  display: block;
  color: var(--muted);
  margin-bottom: 10px;
}

.company__facts strong,
.contact-card strong,
.testimonial-card strong {
  display: block;
  font-size: 1.1rem;
}

.testimonial-grid--compact {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.testimonial-card p {
  margin-bottom: 22px;
  font-size: 1.02rem;
}

.contact-grid {
  margin-top: 22px;
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

.contact-card {
  display: block;
  transition:
    transform 180ms ease,
    border-color 180ms ease,
    background-color 180ms ease;
}

.contact-card:hover,
.contact-card:focus-visible {
  transform: translateY(-3px);
  border-color: rgba(95, 208, 217, 0.28);
}

.site-footer {
  display: flex;
  justify-content: space-between;
  gap: 18px;
  padding-bottom: 120px;
  color: var(--muted);
}

.site-footer strong,
.site-footer span {
  display: block;
  margin-bottom: 8px;
  color: var(--text);
}

.floating-cta {
  position: fixed;
  left: 50%;
  bottom: 18px;
  transform: translateX(-50%);
  z-index: 18;
  display: none;
  gap: 10px;
  padding: 10px;
  border: 1px solid rgba(95, 208, 217, 0.18);
  border-radius: 999px;
  background: rgba(7, 22, 29, 0.84);
  backdrop-filter: blur(14px);
  box-shadow: var(--shadow);
}

.floating-cta a {
  padding: 0.8rem 1.1rem;
  border-radius: 999px;
  font-weight: 800;
}

.floating-cta a:first-child {
  background: linear-gradient(135deg, var(--brand-a), var(--brand-b));
}

.floating-cta a:last-child {
  background: rgba(255, 255, 255, 0.08);
}

.section-reveal {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 700ms ease, transform 700ms ease;
}

.section-reveal.is-visible {
  opacity: 1;
  transform: translateY(0);
}

@media (max-width: 1120px) {
  .site-header {
    flex-wrap: wrap;
    justify-content: center;
  }

  .hero,
  .simulator__layout,
  .company,
  .overview-layout {
    grid-template-columns: 1fr;
  }

  .service-grid,
  .team-grid,
  .company-summary-grid,
  .highlight-grid,
  .values-grid,
  .strength-grid,
  .mission-grid,
  .strategy-layout,
  .document-grid,
  .contact-grid,
  .credibility,
  .journey-grid,
  .testimonial-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .hero__facts {
    grid-template-columns: 1fr;
  }

  .hero-highlights {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 760px) {
  .site-header {
    padding: 14px;
    gap: 14px;
  }

  .site-nav {
    display: none;
  }

  .site-header__actions {
    width: 100%;
    justify-content: space-between;
  }

  main {
    padding-top: 14px;
  }

  .hero {
    min-height: auto;
    padding-top: 32px;
  }

  .hero h1 {
    font-size: clamp(2.6rem, 15vw, 4rem);
  }

  .hero__actions,
  .site-header__actions {
    flex-direction: column;
  }

  .site-header__actions .button,
  .hero__actions .button,
  .simulator-panel__actions .button {
    width: 100%;
  }

  .service-grid,
  .team-grid,
  .company-summary-grid,
  .highlight-grid,
  .values-grid,
  .strength-grid,
  .mission-grid,
  .strategy-layout,
  .document-grid,
  .contact-grid,
  .credibility,
  .journey-grid,
  .testimonial-grid,
  .result-grid {
    grid-template-columns: 1fr;
  }

  .site-footer {
    flex-direction: column;
    padding-bottom: 160px;
  }

  .floating-cta {
    display: inline-flex;
    width: calc(100vw - 24px);
    justify-content: center;
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  *,
  *::before,
  *::after {
    animation: none !important;
    transition: none !important;
  }
}

/* Home simplificada e rodape */
.services-home {
  padding-top: 64px;
}

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

.service-tile {
  padding: 24px;
  border-radius: 26px;
  border: 1px solid var(--line);
  background: linear-gradient(180deg, rgba(11, 38, 47, 0.82), rgba(7, 24, 31, 0.95));
  box-shadow: var(--shadow);
}

.service-tile h3 {
  margin: 0 0 10px;
  font-family: "Space Grotesk", sans-serif;
  font-size: 1.45rem;
}

.service-tile p {
  margin: 0;
  color: var(--muted);
  line-height: 1.75;
}

.site-footer--showcase {
  width: 100%;
  margin: 0;
  padding: 32px 0 120px;
  background:
    radial-gradient(circle at top left, rgba(95, 208, 217, 0.12), transparent 24%),
    linear-gradient(180deg, #07161d 0%, #041118 100%);
}

.footer-shell {
  width: var(--content-width);
  margin: 0 auto;
  padding: 28px;
  border-radius: 32px;
  border: 1px solid rgba(95, 208, 217, 0.14);
  background:
    linear-gradient(145deg, rgba(8, 31, 39, 0.95), rgba(4, 16, 23, 0.98)),
    linear-gradient(135deg, rgba(95, 208, 217, 0.04), rgba(46, 132, 194, 0.04));
  box-shadow: 0 30px 80px rgba(0, 0, 0, 0.32);
}

.footer-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(180px, 0.6fr) minmax(220px, 0.8fr);
  gap: 24px;
  align-items: start;
}

.footer-brand {
  display: flex;
  align-items: flex-start;
  gap: 16px;
}

.footer-brand img {
  flex: 0 0 auto;
}

.footer-brand strong,
.footer-links span,
.footer-contact span {
  display: block;
  margin-bottom: 10px;
  color: var(--text);
  font-size: 1.05rem;
}

.footer-brand p,
.footer-contact p,
.footer-note small {
  margin: 0;
  color: var(--muted);
  line-height: 1.7;
}

.footer-links,
.footer-contact {
  display: grid;
  gap: 10px;
}

.footer-links a,
.footer-contact a {
  color: var(--muted);
  transition: color 180ms ease;
}

.footer-links a:hover,
.footer-contact a:hover,
.footer-links a:focus-visible,
.footer-contact a:focus-visible {
  color: var(--brand-c);
}

.footer-share {
  margin-top: 6px;
  display: grid;
  gap: 8px;
}

.footer-share__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.footer-share__actions a,
.footer-share__copy {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 34px;
  padding: 0.42rem 0.75rem;
  border-radius: 999px;
  border: 1px solid rgba(95, 208, 217, 0.22);
  background: rgba(255, 255, 255, 0.06);
  color: #c9e8f2;
  font-size: 0.82rem;
  font-weight: 700;
  line-height: 1;
  cursor: pointer;
  transition:
    transform 180ms ease,
    border-color 180ms ease,
    background-color 180ms ease;
}

.footer-share__actions a:hover,
.footer-share__actions a:focus-visible,
.footer-share__copy:hover,
.footer-share__copy:focus-visible {
  transform: translateY(-1px);
  border-color: rgba(95, 208, 217, 0.52);
  background: rgba(95, 208, 217, 0.14);
  color: #eefbff;
}

.footer-share__status {
  min-height: 1.1em;
  color: #9fc3d0;
  font-size: 0.78rem;
  line-height: 1.3;
}

.footer-note {
  margin-top: 24px;
  padding-top: 18px;
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 10px 18px;
  border-top: 1px solid rgba(95, 208, 217, 0.12);
}

/* Institucional */
.institutional-hero {
  padding-top: 52px;
}

.institutional-chip {
  display: inline-flex;
  align-items: center;
  gap: 14px;
  margin-bottom: 18px;
  padding: 18px 22px;
  border-radius: 24px 24px 0 0;
  background: linear-gradient(180deg, #fff1f2, #fcebec);
  color: #18181b;
  font-family: "Space Grotesk", sans-serif;
  font-size: clamp(1.1rem, 3vw, 2rem);
  font-weight: 700;
}

.institutional-chip__icon {
  display: inline-flex;
  width: 44px;
  height: 44px;
  align-items: center;
  justify-content: center;
  border-radius: 12px;
  background: #18181b;
  color: #fff;
  font-size: 1.2rem;
}

.institutional-chip__arrow {
  font-size: 0.9em;
}

.institutional-panel {
  padding: 12px 0;
  border-radius: 30px;
  background: #fff;
  color: #1f2937;
  box-shadow: 0 30px 80px rgba(0, 0, 0, 0.28);
  overflow: hidden;
}

.institutional-group + .institutional-group {
  border-top: 1px solid #edf0f5;
}

.institutional-group h2 {
  margin: 0;
  padding: 28px 40px 18px;
  color: #1b7f92;
  font-family: "Space Grotesk", sans-serif;
  font-size: clamp(1.35rem, 3vw, 2.3rem);
  text-transform: uppercase;
}

.institutional-link {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  padding: 28px 40px;
  border-top: 1px solid #edf0f5;
  color: #222b3c;
  transition: background-color 180ms ease, transform 180ms ease;
}

.institutional-link:hover,
.institutional-link:focus-visible {
  background: #f8fbfd;
}

.institutional-link span {
  font-size: clamp(1.25rem, 3vw, 2.05rem);
  line-height: 1.2;
}

.institutional-link small {
  flex: 0 0 auto;
  padding: 0.7rem 1rem;
  border-radius: 999px;
  background: #f2f7fb;
  color: #285c8b;
  font-weight: 800;
}

@media (max-width: 1120px) {
  .services-home__grid,
  .footer-grid {
    grid-template-columns: 1fr;
  }
}

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

  .institutional-chip {
    width: 100%;
    justify-content: space-between;
  }

  .institutional-group h2,
  .institutional-link {
    padding-left: 22px;
    padding-right: 22px;
  }

  .institutional-link {
    flex-direction: column;
    align-items: flex-start;
  }

  .footer-shell {
    padding: 22px;
    border-radius: 26px;
  }

  .footer-note {
    flex-direction: column;
  }
}

/* Premium refresh */
:root {
  --paper: #f7f2eb;
  --paper-strong: #fffdf9;
  --paper-line: rgba(35, 53, 72, 0.1);
  --ink-dark: #202b39;
  --muted-dark: #667484;
  --warm: #2e84c2;
}

html {
  overflow-x: hidden;
}

body.page {
  background:
    radial-gradient(circle at top left, rgba(95, 208, 217, 0.14), transparent 30%),
    radial-gradient(circle at top right, rgba(46, 132, 194, 0.1), transparent 30%),
    linear-gradient(180deg, #ffffff 0%, #f7fafc 100%);
}

body.page::before {
  background-image:
    linear-gradient(rgba(15, 35, 48, 0.028) 1px, transparent 1px),
    linear-gradient(90deg, rgba(15, 35, 48, 0.028) 1px, transparent 1px);
  background-size: 44px 44px;
}

.site-header {
  margin-top: 22px;
  padding: 16px 20px;
  background: rgba(255, 255, 255, 0.94);
  border-color: rgba(44, 91, 115, 0.2);
}

.site-nav {
  gap: 26px;
}

.site-nav a {
  font-size: 0.98rem;
  letter-spacing: 0.01em;
}

.site-main {
  padding-top: 28px;
}

.hero--editorial {
  min-height: auto;
  grid-template-columns: minmax(0, 1.02fr) minmax(360px, 0.98fr);
  gap: 34px;
  align-items: start;
  padding: 52px 0 20px;
}

.hero__copy--editorial {
  max-width: 680px;
  padding-top: 16px;
}

.hero__copy--editorial h1,
.services-editorial__copy h3,
.section-heading h2,
.team-card__body strong,
.institutional-hero__copy h1,
.institutional-section-card__head h2,
.internal-area-card strong {
  text-wrap: balance;
}

.hero__copy--editorial h1 {
  font-size: clamp(3.3rem, 7vw, 6.1rem);
  line-height: 0.94;
  letter-spacing: -0.055em;
}

.hero__lead--editorial,
.services-editorial__copy p,
.service-tile--light p,
.simulator-shell .section-heading p,
.team-card__body p,
.testimonial-card--premium p,
.footer-brand p,
.footer-contact p,
.institutional-hero__lead,
.institutional-section-card__head p,
.institutional-entry p,
.internal-area-card p {
  text-align: justify;
  text-justify: inter-word;
  hyphens: auto;
}

.hero__lead--editorial {
  max-width: 610px;
  margin-top: 24px;
  font-size: 1.08rem;
}

.hero-inline-metrics {
  margin-top: 34px;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
}

.hero-inline-metrics__card {
  padding: 18px 18px 20px;
  border-radius: 24px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  background:
    linear-gradient(180deg, rgba(12, 34, 42, 0.96), rgba(7, 19, 26, 0.98));
  box-shadow: 0 22px 60px rgba(0, 0, 0, 0.24);
}

.hero-inline-metrics__card span {
  display: block;
  margin-bottom: 10px;
  color: var(--brand-c);
  font-size: 0.82rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.hero-inline-metrics__card strong {
  display: block;
  line-height: 1.45;
  font-size: 1rem;
}

.hero-stage {
  display: grid;
  gap: 18px;
}

.hero-stage__visual {
  position: relative;
  overflow: hidden;
  border-radius: 34px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  background: rgba(255, 255, 255, 0.03);
  box-shadow: 0 30px 80px rgba(0, 0, 0, 0.34);
}

.hero-stage__visual img {
  width: 100%;
  min-height: 100%;
  object-fit: cover;
}

.hero-stage__caption {
  position: absolute;
  left: 24px;
  right: 24px;
  bottom: 24px;
  padding: 20px 22px;
  border-radius: 22px;
  background: rgba(6, 21, 28, 0.74);
  backdrop-filter: blur(14px);
  border: 1px solid rgba(255, 255, 255, 0.08);
}

.hero-stage__caption span,
.services-editorial__tag,
.institutional-kicker,
.internal-area-card__tag {
  display: inline-flex;
  margin-bottom: 10px;
  padding: 0.42rem 0.72rem;
  border-radius: 999px;
  font-size: 0.76rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.hero-stage__caption span,
.services-editorial__tag {
  background: rgba(95, 208, 217, 0.12);
  color: var(--brand-c);
}

.hero-stage__caption strong {
  display: block;
  margin-bottom: 10px;
  font-family: "Space Grotesk", sans-serif;
  font-size: 1.8rem;
}

.hero-stage__caption p {
  margin: 0;
  color: var(--muted);
  line-height: 1.75;
}

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

.floating-panel {
  padding: 24px;
  border-radius: 28px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  background:
    linear-gradient(180deg, rgba(9, 29, 37, 0.98), rgba(5, 19, 25, 0.98));
  box-shadow: 0 22px 60px rgba(0, 0, 0, 0.22);
}

.floating-panel--accent {
  background:
    radial-gradient(circle at top right, rgba(216, 109, 101, 0.16), transparent 34%),
    linear-gradient(180deg, rgba(13, 42, 51, 0.98), rgba(7, 19, 25, 0.98));
}

.floating-panel span {
  display: block;
  margin-bottom: 12px;
  color: var(--brand-c);
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  font-size: 0.78rem;
}

.floating-panel strong {
  display: block;
  margin-bottom: 10px;
  font-size: 1.12rem;
  line-height: 1.45;
}

.floating-panel p {
  margin: 0;
  color: var(--muted);
  line-height: 1.7;
}

.section-heading--wide {
  max-width: 820px;
}

.section-heading--wide h2,
.institutional-hero__copy h1 {
  line-height: 0.98;
  letter-spacing: -0.04em;
}

.services-home--editorial,
.team--premium,
.testimonials--premium {
  padding-top: 76px;
}

.services-editorial {
  display: grid;
  gap: 22px;
}

.services-editorial__lead {
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(280px, 0.95fr);
  gap: 24px;
  align-items: center;
  padding: 28px;
  border-radius: 34px;
  border: 1px solid var(--paper-line);
  background: linear-gradient(135deg, var(--paper-strong), var(--paper));
  color: var(--ink-dark);
  box-shadow: 0 28px 80px rgba(0, 0, 0, 0.22);
}

.services-editorial__copy h3 {
  margin: 0 0 16px;
  font-family: "Space Grotesk", sans-serif;
  font-size: clamp(2rem, 4vw, 3.2rem);
  line-height: 1.02;
  color: #1f2a37;
}

.services-editorial__copy p {
  margin: 0;
  color: var(--muted-dark);
  line-height: 1.9;
}

.services-editorial__art {
  overflow: hidden;
  border-radius: 28px;
  background: linear-gradient(180deg, #edf4fa, #f8f4ee);
}

.services-editorial__art img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.services-home__grid {
  gap: 20px;
}

.service-tile--light {
  padding: 26px;
  border-radius: 28px;
  border: 1px solid var(--paper-line);
  background: linear-gradient(135deg, rgba(255, 253, 249, 0.98), rgba(245, 240, 233, 0.98));
  color: var(--ink-dark);
  box-shadow: 0 24px 60px rgba(0, 0, 0, 0.18);
}

.service-tile--light .service-card__badge {
  background: rgba(27, 139, 160, 0.12);
  color: #1b7f92;
}

.service-tile--light h3 {
  margin-bottom: 12px;
  color: #1f2a37;
}

.service-tile--light p {
  color: var(--muted-dark);
  line-height: 1.85;
}

.simulator--premium {
  padding-top: 76px;
}

.simulator-shell {
  padding: 30px;
  border-radius: 36px;
  border: 1px solid rgba(122, 198, 215, 0.12);
  background:
    radial-gradient(circle at top right, rgba(95, 208, 217, 0.08), transparent 28%),
    linear-gradient(180deg, rgba(9, 28, 35, 0.97), rgba(5, 18, 24, 0.99));
  box-shadow: 0 34px 90px rgba(0, 0, 0, 0.32);
}

.simulator-form--premium,
.simulator-panel--premium {
  background: linear-gradient(180deg, rgba(12, 37, 46, 0.94), rgba(8, 24, 31, 0.98));
}

.simulator-form--premium input[type="number"] {
  background: rgba(255, 255, 255, 0.05);
}

.simulator-panel--premium .result-card,
.simulator-panel--premium .result-visual,
.simulator-form--premium .simulator-note {
  background: rgba(255, 255, 255, 0.05);
}

.team-grid--premium {
  gap: 22px;
}

.team-card--premium {
  border-radius: 28px;
  background:
    linear-gradient(180deg, rgba(12, 35, 44, 0.98), rgba(5, 19, 25, 0.99));
  box-shadow: 0 26px 70px rgba(0, 0, 0, 0.26);
}

.team-card__media--premium {
  position: relative;
  aspect-ratio: 4 / 4.7;
  background:
    radial-gradient(circle at top left, rgba(95, 208, 217, 0.18), transparent 30%),
    linear-gradient(180deg, #143c4a, #0a212c);
}

.team-card__media--premium::after {
  content: "";
  position: absolute;
  inset: 14px;
  border-radius: 20px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  pointer-events: none;
}

.team-card__media--premium img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center top;
}

.team-card__media-label {
  position: absolute;
  left: 18px;
  bottom: 18px;
  padding: 0.55rem 0.9rem;
  border-radius: 999px;
  background: linear-gradient(135deg, var(--brand-a), var(--brand-b));
  color: #ffffff;
  border: 1px solid rgba(255, 255, 255, 0.26);
  font-size: 0.74rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  backdrop-filter: blur(10px);
}

.team-card__body {
  padding: 22px;
}

.team-card__body strong {
  margin-bottom: 10px;
  font-size: 1.14rem;
}

.team-card__role {
  margin-bottom: 14px;
  display: inline-flex;
  align-items: center;
  padding: 0.36rem 0.78rem;
  border-radius: 999px;
  background: linear-gradient(135deg, var(--brand-a), var(--brand-b));
  color: #ffffff;
  font-weight: 700;
  letter-spacing: 0.02em;
}

.team-card--premium .team-card__body strong {
  display: inline-block;
  max-width: 100%;
  width: 100%;
  box-sizing: border-box;
  margin: 0 0 12px;
  padding: 0.18rem 0.48rem;
  border-radius: 10px;
  border: 1px solid rgba(160, 231, 249, 0.48);
  background: linear-gradient(90deg, rgba(63, 157, 211, 0.26), rgba(63, 157, 211, 0.08));
  white-space: nowrap;
  overflow: hidden;
  text-overflow: clip;
  line-height: 1.14;
  font-size: clamp(0.86rem, 1.35vw, 1.22rem);
  font-weight: 800;
  letter-spacing: -0.015em;
  color: #ffffff;
  text-shadow: 0 1px 0 rgba(0, 0, 0, 0.26), 0 0 12px rgba(123, 222, 247, 0.34);
}

@media (max-width: 520px) {
  .team-card--premium .team-card__body strong {
    font-size: 0.82rem;
    letter-spacing: -0.02em;
  }
}

.team-card--premium .team-card__body p {
  color: #d6e6ef;
  text-align: left;
  text-justify: auto;
  hyphens: none;
  overflow-wrap: anywhere;
}

#equipa .team-grid {
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

@media (max-width: 1100px) {
  #equipa .team-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 640px) {
  #equipa .team-grid {
    grid-template-columns: 1fr;
  }
}

/* Kill switch: never show old team role badge from stale cached markup */
.team-card__role {
  display: none !important;
}

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

.testimonial-stage.is-carousel {
  position: relative;
}

.testimonial-stage.is-carousel .testimonial-card--premium[hidden] {
  display: none !important;
}

.testimonials-controls {
  margin: 14px auto 0;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 0.5rem 0.62rem;
  border-radius: 999px;
  border: 1px solid rgba(57, 129, 176, 0.22);
  background: rgba(255, 255, 255, 0.82);
}

.testimonials-controls__nav {
  width: 34px;
  height: 34px;
  border-radius: 999px;
  border: 1px solid rgba(57, 129, 176, 0.3);
  background: #ffffff;
  color: #3a6789;
  font-size: 1.3rem;
  line-height: 1;
  cursor: pointer;
  transition: transform 160ms ease, border-color 180ms ease, color 180ms ease;
}

.testimonials-controls__nav:hover,
.testimonials-controls__nav:focus-visible {
  transform: translateY(-1px);
  border-color: rgba(57, 129, 176, 0.45);
  color: #244d6a;
}

.testimonials-controls__dots {
  display: inline-flex;
  align-items: center;
  gap: 8px;
}

.testimonials-controls__dot {
  width: 8px;
  height: 8px;
  border-radius: 999px;
  border: none;
  padding: 0;
  cursor: pointer;
  background: rgba(66, 134, 177, 0.32);
  transition: transform 160ms ease, background 180ms ease;
}

.testimonials-controls__dot.is-active {
  background: #3f8fc6;
  transform: scale(1.35);
}

.testimonials-heading {
  max-width: 860px;
}

.testimonials-heading__kicker {
  display: inline-flex;
  align-items: center;
  padding: 0.42rem 0.92rem;
  border-radius: 999px;
  border: 1px solid rgba(46, 132, 194, 0.26);
  background: linear-gradient(135deg, rgba(46, 132, 194, 0.14), rgba(99, 187, 215, 0.08));
  color: #1f7288;
  font-size: 0.74rem;
  font-weight: 800;
  letter-spacing: 0.09em;
  text-transform: uppercase;
}

.testimonials-heading h2 {
  margin-top: 14px;
}

.testimonials-heading p {
  max-width: 72ch;
  color: #5d7284;
}

.testimonial-card--premium {
  position: relative;
  display: grid;
  grid-template-columns: 104px minmax(0, 1fr);
  align-items: start;
  gap: 20px;
  min-height: 100%;
  padding: 24px;
  border-radius: 28px;
  border: 1px solid rgba(29, 97, 116, 0.12);
  background:
    radial-gradient(circle at top left, rgba(46, 132, 194, 0.16), transparent 30%),
    linear-gradient(145deg, rgba(255, 253, 249, 0.99), rgba(245, 239, 232, 0.97));
  color: var(--ink-dark);
  overflow: hidden;
  transition: transform 180ms ease, box-shadow 220ms ease, border-color 220ms ease;
  box-shadow: 0 24px 60px rgba(0, 0, 0, 0.18);
}

.testimonial-card--premium::before {
  content: "";
  position: absolute;
  inset: 0 0 auto 0;
  height: 4px;
  background: linear-gradient(90deg, var(--brand-a), #5ec6d9, var(--brand-b));
  opacity: 0.92;
}

.testimonial-card--premium::after {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: inherit;
  pointer-events: none;
  background: linear-gradient(135deg, rgba(46, 132, 194, 0.08), transparent 40%);
}

.testimonial-card--premium:hover {
  transform: translateY(-4px);
  border-color: rgba(46, 132, 194, 0.3);
  box-shadow: 0 32px 68px rgba(5, 20, 31, 0.22);
}

.testimonial-card__media {
  position: relative;
  z-index: 1;
  width: 104px;
  min-width: 104px;
  aspect-ratio: 1;
  overflow: hidden;
  align-self: start;
  border-radius: 999px;
  border: 4px solid rgba(255, 255, 255, 0.96);
  background: linear-gradient(180deg, rgba(240, 248, 252, 0.96), rgba(223, 236, 244, 0.96));
  box-shadow:
    0 0 0 4px rgba(46, 132, 194, 0.16),
    0 18px 36px rgba(8, 21, 29, 0.12);
}

.testimonial-card__media img {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: cover;
  object-position: center 24%;
  transform: scale(1.06);
}

.testimonial-card__body {
  position: relative;
  z-index: 1;
  display: grid;
  align-content: start;
  gap: 12px;
}

.testimonial-card__quote-mark {
  position: absolute;
  top: -6px;
  right: 4px;
  font-family: "Space Grotesk", sans-serif;
  font-size: 3.2rem;
  line-height: 1;
  color: rgba(46, 132, 194, 0.18);
  pointer-events: none;
}

.testimonial-card--premium .testimonial-card__eyebrow {
  display: inline-flex;
  align-items: center;
  width: fit-content;
  padding: 0.5rem 0.8rem;
  border-radius: 999px;
  background: rgba(29, 97, 116, 0.08);
  color: #1d6174;
  font-size: 0.76rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.testimonial-card__rating {
  display: inline-flex;
  width: fit-content;
  padding: 0.26rem 0.55rem;
  border-radius: 999px;
  background: rgba(255, 189, 45, 0.14);
  color: #ad7a15;
  font-size: 0.8rem;
  font-weight: 800;
  letter-spacing: 0.08em;
}

.testimonial-card__meta {
  display: grid;
  gap: 5px;
  padding-top: 8px;
  border-top: 1px solid rgba(29, 97, 116, 0.12);
}

.testimonial-card--premium .testimonial-card__meta span {
  margin-bottom: 0;
  font-size: 0.92rem;
  font-weight: 600;
}

.testimonial-card--premium .testimonial-card__meta strong {
  font-size: 1.08rem;
  letter-spacing: -0.01em;
}

.testimonial-card--premium p {
  margin-bottom: 0;
  font-size: 1.03rem;
  line-height: 1.72;
}

.testimonial-card--premium p,
.testimonial-card--premium span {
  color: var(--muted-dark);
}

.testimonial-card--premium strong {
  color: #1d2734;
}

.site-footer--premium {
  display: block;
  width: 100%;
  margin: 0;
  padding: 34px 0 90px;
  background:
    radial-gradient(circle at top left, rgba(95, 208, 217, 0.1), transparent 22%),
    radial-gradient(circle at top right, rgba(216, 109, 101, 0.08), transparent 18%),
    linear-gradient(180deg, #07141b 0%, #030d12 100%);
}

.footer-shell--premium {
  width: var(--content-width);
  margin: 0 auto;
  padding: 28px;
  border-radius: 32px;
  border: 1px solid rgba(122, 198, 215, 0.14);
  background:
    radial-gradient(circle at top right, rgba(95, 208, 217, 0.08), transparent 24%),
    linear-gradient(145deg, rgba(7, 25, 32, 0.98), rgba(4, 15, 21, 0.99));
  box-shadow: 0 34px 90px rgba(0, 0, 0, 0.32);
}

.footer-grid--premium {
  grid-template-columns: minmax(0, 1.1fr) minmax(160px, 0.5fr) minmax(220px, 0.82fr);
  gap: 18px;
}

.footer-grid--premium > div {
  min-height: 100%;
  padding: 18px;
  border-radius: 22px;
  border: 1px solid rgba(122, 198, 215, 0.08);
  background: rgba(255, 255, 255, 0.025);
}

.footer-brand {
  gap: 14px;
}

.footer-brand strong,
.footer-links span,
.footer-contact span {
  font-family: "Space Grotesk", sans-serif;
  font-size: 1rem;
  letter-spacing: -0.01em;
}

.footer-links a,
.footer-contact a {
  display: inline-flex;
  width: fit-content;
  color: var(--muted);
}

.footer-contact a {
  padding: 0.42rem 0.68rem;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.06);
}

.footer-contact p {
  margin-top: 4px;
}

.site-footer--premium .footer-share__actions a,
.site-footer--premium .footer-share__copy {
  border-color: rgba(122, 198, 215, 0.3);
  background: rgba(9, 35, 46, 0.82);
  color: #d8ecf4;
}

.site-footer--premium .footer-share__actions a:hover,
.site-footer--premium .footer-share__actions a:focus-visible,
.site-footer--premium .footer-share__copy:hover,
.site-footer--premium .footer-share__copy:focus-visible {
  border-color: rgba(95, 208, 217, 0.56);
  background: rgba(38, 132, 167, 0.25);
  color: #ffffff;
}

.footer-note {
  margin-top: 18px;
  padding-top: 16px;
}

.institutional-hero--premium {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(320px, 0.88fr);
  gap: 28px;
  align-items: center;
  padding-top: 52px;
}

.institutional-hero__copy h1 {
  margin: 0;
  font-family: "Space Grotesk", sans-serif;
  font-size: clamp(2.45rem, 5vw, 4.3rem);
}

.institutional-hero__lead {
  max-width: 620px;
  margin: 24px 0 0;
  color: var(--muted);
  line-height: 1.82;
  font-size: 1.06rem;
}

.institutional-hero__visual {
  display: grid;
  gap: 18px;
  justify-items: end;
}

.institutional-chip--premium {
  margin-bottom: 0;
  padding: 16px 22px;
  border-radius: 24px;
  box-shadow: 0 18px 40px rgba(0, 0, 0, 0.18);
}

.institutional-chip--premium .institutional-chip__icon {
  width: 42px;
  height: 42px;
}

.institutional-stage {
  position: relative;
  overflow: hidden;
  width: 100%;
  border-radius: 34px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  background: rgba(255, 255, 255, 0.03);
  box-shadow: 0 30px 80px rgba(0, 0, 0, 0.3);
}

.institutional-stage img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.institutional-stage--events {
  display: grid;
  gap: 0;
  padding-bottom: 76px;
}

.institutional-events__viewport {
  overflow: hidden;
  border-radius: 34px;
}

.institutional-events__track {
  display: flex;
  width: 100%;
  transition: transform 720ms cubic-bezier(0.22, 0.61, 0.36, 1);
  will-change: transform;
  transform: translate3d(0, 0, 0);
  backface-visibility: hidden;
}

.institutional-events__slide {
  min-width: 100%;
  margin: 0;
  position: relative;
  aspect-ratio: 62 / 52;
  overflow: hidden;
  transform: translateZ(0);
}

.institutional-events__slide::after {
  content: "";
  position: absolute;
  inset: auto 0 0 0;
  height: 42%;
  background: linear-gradient(180deg, rgba(7, 21, 28, 0), rgba(7, 21, 28, 0.52));
  pointer-events: none;
}

.institutional-events__slide figcaption {
  position: absolute;
  left: 18px;
  right: 18px;
  bottom: 16px;
  z-index: 2;
  margin: 0;
  color: #eef8fc;
  font-size: 0.95rem;
  font-weight: 700;
  line-height: 1.4;
  text-shadow: 0 1px 12px rgba(0, 0, 0, 0.34);
}

.institutional-events__controls {
  position: absolute;
  left: 16px;
  right: 16px;
  bottom: 16px;
  z-index: 5;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
}

.institutional-events__nav {
  width: 38px;
  height: 38px;
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, 0.42);
  background: rgba(9, 27, 36, 0.58);
  color: #eaf7fc;
  font-size: 1.52rem;
  line-height: 1;
  cursor: pointer;
  transition: transform 160ms ease, background 180ms ease, border-color 180ms ease;
}

.institutional-events__nav:hover,
.institutional-events__nav:focus-visible {
  transform: translateY(-1px);
  background: rgba(9, 27, 36, 0.84);
  border-color: rgba(255, 255, 255, 0.66);
}

.institutional-events__dots {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 0.46rem 0.66rem;
  border-radius: 999px;
  background: rgba(8, 24, 32, 0.56);
  border: 1px solid rgba(255, 255, 255, 0.18);
  backdrop-filter: blur(8px);
}

.institutional-events__dot {
  width: 8px;
  height: 8px;
  border-radius: 999px;
  border: none;
  padding: 0;
  background: rgba(222, 241, 250, 0.56);
  cursor: pointer;
  transition: transform 160ms ease, background 180ms ease;
}

.institutional-events__dot.is-active {
  transform: scale(1.28);
  background: #7ee3f0;
}

.institutional-stage__tag {
  position: absolute;
  left: 20px;
  right: 20px;
  bottom: 20px;
}

.institutional-stage__tag span {
  display: inline-flex;
  padding: 0.72rem 1rem;
  border-radius: 999px;
  background: rgba(6, 21, 28, 0.74);
  color: #eff8fb;
  font-weight: 700;
  backdrop-filter: blur(12px);
}

.institutional-stage--events .institutional-stage__tag {
  top: 16px;
  left: 16px;
  right: auto;
  bottom: auto;
  z-index: 4;
}

/* Relatorios hero refresh */
.page--relatorios .institutional-hero--premium {
  grid-template-columns: minmax(0, 0.92fr) minmax(0, 1.08fr);
  align-items: stretch;
  gap: 24px;
  padding-top: 44px;
}

.page--relatorios .institutional-hero__copy {
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 16px;
  padding: 30px;
  border-radius: 30px;
  border: 1px solid var(--paper-line);
  background: linear-gradient(145deg, rgba(255, 255, 255, 0.93), rgba(238, 249, 255, 0.9));
  box-shadow: 0 24px 72px rgba(0, 0, 0, 0.14);
}

.page--relatorios .institutional-hero__copy h1 {
  margin: 0;
  font-size: clamp(2.1rem, 4.8vw, 3.6rem);
  line-height: 1.04;
  letter-spacing: -0.03em;
  color: #17354a;
}

.institutional-hero__highlights {
  margin: 0;
  padding: 0;
  list-style: none;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
}

.institutional-hero__highlights li {
  padding: 0.64rem 0.74rem;
  border-radius: 14px;
  border: 1px solid rgba(72, 145, 180, 0.22);
  background: rgba(255, 255, 255, 0.78);
  color: #2f4c61;
  font-weight: 600;
  font-size: 0.9rem;
  line-height: 1.35;
}

.institutional-hero__quicklinks {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.institutional-hero__quicklinks a {
  display: inline-flex;
  align-items: center;
  min-height: 38px;
  padding: 0.52rem 0.9rem;
  border-radius: 999px;
  border: 1px solid rgba(44, 91, 115, 0.18);
  background: rgba(255, 255, 255, 0.92);
  color: #284c61;
  font-weight: 700;
  font-size: 0.86rem;
  transition: transform 170ms ease, border-color 180ms ease, background 180ms ease;
}

.institutional-hero__quicklinks a:hover,
.institutional-hero__quicklinks a:focus-visible {
  transform: translateY(-1px);
  border-color: rgba(46, 132, 194, 0.34);
  background: rgba(255, 255, 255, 0.99);
}

.page--relatorios .institutional-hero__visual {
  justify-items: stretch;
  align-content: stretch;
}

.page--relatorios .institutional-stage--events {
  height: 100%;
  min-height: 440px;
}

.page--relatorios .institutional-events__viewport {
  height: 100%;
}

.page--relatorios .institutional-events__slide {
  height: 100%;
}

.page--relatorios .institutional-events__slide img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: brightness(1.08) saturate(1.03);
}

@media (max-width: 980px) {
  .page--relatorios .institutional-hero--premium {
    gap: 18px;
  }

  .institutional-hero__highlights {
    grid-template-columns: 1fr;
  }

  .page--relatorios .institutional-stage--events {
    min-height: 380px;
  }

  .institutional-events__slide figcaption {
    font-size: 0.88rem;
  }
}

.institutional-board {
  margin-top: 34px;
  padding: 28px;
  border-radius: 36px;
  border: 1px solid var(--paper-line);
  background: linear-gradient(135deg, var(--paper-strong), var(--paper));
  color: var(--ink-dark);
  box-shadow: 0 30px 90px rgba(0, 0, 0, 0.24);
}

.institutional-board__top {
  display: grid;
  gap: 18px;
  margin-bottom: 26px;
}

.institutional-subthemes {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.institutional-subthemes a {
  padding: 0.88rem 1.1rem;
  border-radius: 999px;
  border: 1px solid rgba(28, 61, 88, 0.12);
  background: rgba(255, 255, 255, 0.7);
  color: #2b3642;
  font-weight: 700;
  transition: transform 180ms ease, border-color 180ms ease;
}

.institutional-subthemes a:hover,
.institutional-subthemes a:focus-visible {
  transform: translateY(-2px);
  border-color: rgba(27, 139, 160, 0.34);
}

.institutional-board__note {
  margin: 0;
  color: var(--muted-dark);
  line-height: 1.8;
  text-align: justify;
}

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

.institutional-section-card {
  padding: 28px;
  border-radius: 30px;
  border: 1px solid rgba(28, 61, 88, 0.12);
  background: rgba(255, 255, 255, 0.78);
  box-shadow: 0 16px 46px rgba(26, 43, 58, 0.08);
}

.institutional-section-card--wide {
  grid-column: 1 / -1;
}

.page--relatorios #sobre {
  grid-column: 1 / -1;
}

.page--relatorios #sobre .institutional-profile {
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
}

.page--relatorios #sobre .institutional-profile__block:first-child {
  grid-column: 1 / -1;
}

.page--relatorios #sobre .institutional-entry-list {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

@media (max-width: 980px) {
  .page--relatorios #sobre .institutional-profile,
  .page--relatorios #sobre .institutional-entry-list {
    grid-template-columns: 1fr;
  }

  .page--relatorios #sobre .institutional-profile__block:first-child {
    grid-column: auto;
  }
}

.institutional-kicker {
  background: rgba(29, 142, 163, 0.14);
  color: #1b7f92;
}

.institutional-section-card__head h2 {
  margin: 0 0 12px;
  font-family: "Space Grotesk", sans-serif;
  font-size: clamp(1.55rem, 2.6vw, 2.2rem);
  line-height: 1.08;
  color: #1d2734;
}

.institutional-section-card__head p {
  margin: 0;
  color: var(--muted-dark);
  line-height: 1.82;
}

.institutional-entry-list {
  margin-top: 22px;
  display: grid;
  gap: 14px;
}

.institutional-profile {
  margin-top: 22px;
  display: grid;
  gap: 14px;
}

.institutional-profile__block {
  padding: 18px 20px;
  border-radius: 20px;
  background: rgba(248, 251, 253, 0.96);
  border: 1px solid rgba(28, 61, 88, 0.08);
}

.institutional-profile__block h3 {
  margin: 0 0 10px;
  font-family: "Space Grotesk", sans-serif;
  font-size: 1.06rem;
  color: #1c2734;
}

.institutional-profile__block p {
  margin: 0;
  color: var(--muted-dark);
  line-height: 1.72;
}

.institutional-profile__block ul {
  margin: 10px 0 0;
  padding-left: 20px;
  color: var(--muted-dark);
  line-height: 1.66;
}

.institutional-entry {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 16px;
  padding: 18px 20px;
  border-radius: 22px;
  background: rgba(248, 251, 253, 0.96);
  border: 1px solid rgba(28, 61, 88, 0.08);
}

.institutional-entry strong {
  display: block;
  margin-bottom: 8px;
  color: #1c2734;
  font-size: 1.02rem;
}

.institutional-entry p {
  margin: 0;
  color: var(--muted-dark);
  line-height: 1.72;
}

.institutional-entry--details {
  display: block;
}

.institutional-entry--summary {
  list-style: none;
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 16px;
  cursor: pointer;
}

.institutional-entry--summary::-webkit-details-marker {
  display: none;
}

.institutional-entry--summary .entry-pill--toggle {
  pointer-events: none;
  min-width: 90px;
}

.institutional-entry--details[open] .entry-pill--toggle {
  background: #ddeffc;
  color: #184a73;
}

.institutional-entry-archive {
  margin-top: 12px;
  padding-top: 12px;
  border-top: 1px dashed rgba(28, 61, 88, 0.18);
  display: grid;
  gap: 12px;
}

.entry-pill--sub {
  min-width: 0;
  padding: 0.58rem 0.82rem;
  font-size: 0.72rem;
  letter-spacing: 0.04em;
}

.entry-pill--sub.is-disabled {
  opacity: 0.72;
  border-style: dashed;
  background: #edf3f8;
  color: #5f7489;
  cursor: not-allowed;
}

.report-year-list {
  margin: 0;
  padding: 0;
  list-style: none;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 8px;
}

.report-year-list__item {
  border: 1px solid rgba(44, 91, 115, 0.14);
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.8);
  padding: 9px 10px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 12px;
}

.report-year-list__item span {
  color: #1d3c55;
  font-weight: 700;
  font-size: 0.92rem;
}

.report-year-list__item small {
  color: #577389;
  font-size: 0.78rem;
  font-weight: 700;
  white-space: nowrap;
}

.report-year-list__item.is-missing {
  background: rgba(239, 246, 252, 0.74);
  border-style: dashed;
}

.report-year-picker {
  display: grid;
  gap: 8px;
}

.report-year-picker__label {
  font-size: 0.82rem;
  font-weight: 800;
  color: #1d3c55;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.report-year-picker__controls {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  align-items: center;
}

.report-year-select {
  min-height: 42px;
  min-width: 220px;
  border: 1px solid rgba(44, 91, 115, 0.24);
  border-radius: 10px;
  background: #f7fbff;
  color: #1d3c55;
  font-weight: 700;
  padding: 0.45rem 0.7rem;
}

.report-year-select:focus {
  outline: none;
  border-color: rgba(63, 157, 211, 0.58);
  box-shadow: 0 0 0 3px rgba(63, 157, 211, 0.16);
}

.report-year-open.is-disabled {
  pointer-events: none;
  opacity: 0.72;
}

.entry-pill {
  flex: 0 0 auto;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 126px;
  padding: 0.72rem 0.95rem;
  border-radius: 999px;
  background: #eef5fb;
  color: #2f5d86;
  font-size: 0.76rem;
  font-weight: 800;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.internal-area-grid {
  margin-top: 22px;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
}

.internal-area-card {
  padding: 22px;
  border-radius: 24px;
  background: linear-gradient(145deg, #f6fbff, #f9f4ee);
  border: 1px solid rgba(28, 61, 88, 0.1);
}

.internal-area-card--admin {
  grid-column: span 2;
  background:
    radial-gradient(circle at top right, rgba(95, 208, 217, 0.14), transparent 32%),
    linear-gradient(145deg, #eef8fb, #f7f1ea);
}

.internal-area-card__tag {
  background: rgba(46, 132, 194, 0.12);
  color: #2d6da6;
}

.internal-area-card strong {
  display: block;
  margin-bottom: 10px;
  font-size: 1.18rem;
  color: #1d2734;
}

.internal-area-card p {
  margin: 0;
  color: var(--muted-dark);
  line-height: 1.78;
}

.floating-cta {
  display: none !important;
}

@media (max-width: 1120px) {
  .hero--editorial,
  .services-editorial__lead,
  .institutional-hero--premium {
    grid-template-columns: 1fr;
  }

  .hero-inline-metrics,
  .hero-stage__cards,
  .testimonial-stage,
  .institutional-sections,
  .internal-area-grid,
  .footer-grid--premium {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .internal-area-card--admin {
    grid-column: auto;
  }

  .institutional-hero__visual {
    justify-items: stretch;
  }
}

@media (max-width: 760px) {
  .site-header {
    padding: 14px;
  }

  .hero--editorial,
  .services-home--editorial,
  .simulator--premium,
  .team--premium,
  .testimonials--premium {
    padding-top: 42px;
  }

  .site-main {
    padding-top: 12px;
  }

  .hero__copy--editorial h1,
  .institutional-hero__copy h1 {
    font-size: clamp(2.6rem, 12vw, 4rem);
  }

  .hero-inline-metrics,
  .hero-stage__cards,
  .services-home__grid,
  .testimonial-stage,
  .institutional-sections,
  .internal-area-grid,
  .footer-grid--premium {
    grid-template-columns: 1fr;
  }

  .testimonial-card--premium {
    grid-template-columns: 84px minmax(0, 1fr);
    gap: 16px;
    padding: 18px;
  }

  .testimonial-card__quote-mark {
    top: -2px;
    right: 2px;
    font-size: 2.6rem;
  }

  .testimonial-card__rating {
    font-size: 0.73rem;
    letter-spacing: 0.06em;
  }

  .testimonial-card__media {
    width: 84px;
    min-width: 84px;
    border-radius: 999px;
  }

  .simulator-shell,
  .institutional-board,
  .footer-shell--premium,
  .services-editorial__lead {
    padding: 22px;
    border-radius: 28px;
  }

  .institutional-entry {
    flex-direction: column;
  }

  .institutional-entry--summary {
    flex-direction: column;
  }

  .institutional-entry--summary .entry-pill--toggle {
    align-self: flex-start;
  }

  .report-year-list {
    grid-template-columns: 1fr;
  }

  .institutional-entry-archive {
    gap: 10px;
  }

  .institutional-stage--events {
    padding-bottom: 62px;
  }

  .page--relatorios .institutional-hero__copy {
    padding: 22px;
    border-radius: 24px;
    gap: 14px;
  }

  .page--relatorios .institutional-hero__copy h1 {
    font-size: clamp(1.9rem, 8vw, 2.6rem);
    line-height: 1.08;
  }

  .institutional-hero__quicklinks {
    justify-content: center;
  }

  .page--relatorios .institutional-stage--events {
    min-height: 320px;
  }

  .institutional-events__controls {
    left: 12px;
    right: 12px;
    bottom: 12px;
  }

  .institutional-events__nav {
    width: 34px;
    height: 34px;
    font-size: 1.34rem;
  }

  .institutional-events__slide figcaption {
    left: 14px;
    right: 14px;
    bottom: 12px;
    font-size: 0.82rem;
    line-height: 1.35;
  }

  .institutional-stage--events .institutional-stage__tag {
    display: none;
  }

  .hero__lead--editorial,
  .services-editorial__copy p,
  .service-tile--light p,
  .simulator-shell .section-heading p,
  .team-card__body p,
  .testimonial-card--premium p,
  .footer-brand p,
  .footer-contact p,
  .institutional-hero__lead,
  .institutional-section-card__head p,
  .institutional-entry p,
  .institutional-board__note,
  .internal-area-card p {
    text-align: left;
  }
}

/* Home layout refresh */
.home-about,
.credit-showcase,
.services-catalog {
  padding-top: 52px;
}

.home-about__grid {
  display: grid;
  grid-template-columns: minmax(280px, 0.5fr) minmax(0, 1.12fr);
  gap: 26px;
  align-items: stretch;
}

.home-about__promo,
.home-about__main,
.credit-card {
  border-radius: 32px;
  box-shadow: 0 28px 74px rgba(0, 0, 0, 0.24);
}

.home-about__promo {
  padding: 30px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: 22px;
  min-height: 100%;
  border: 1px solid rgba(44, 91, 115, 0.14);
  background:
    radial-gradient(circle at top right, rgba(95, 208, 217, 0.18), transparent 34%),
    linear-gradient(180deg, rgba(248, 252, 255, 0.98), rgba(241, 248, 252, 0.99));
}

.home-about__promo-gallery {
  position: relative;
  margin-top: 2px;
  overflow: hidden;
  border-radius: 20px;
  border: 1px solid rgba(44, 91, 115, 0.18);
  background: rgba(12, 24, 34, 0.06);
  box-shadow: 0 12px 26px rgba(20, 47, 67, 0.14);
  aspect-ratio: 16 / 9;
}

.home-about__promo-slide {
  position: absolute;
  inset: 0;
  margin: 0;
  opacity: 0;
  transform: scale(1.02);
  transition: opacity 520ms ease, transform 920ms ease;
  pointer-events: none;
}

.home-about__promo-slide.is-active {
  opacity: 1;
  transform: scale(1);
  pointer-events: auto;
}

.home-about__promo-slide img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center center;
  filter: brightness(1.09) saturate(1.04);
}

.home-about__promo-slide figcaption {
  position: absolute;
  left: 16px;
  right: 16px;
  bottom: 16px;
  margin: 0;
  padding: 0.62rem 0.82rem;
  border-radius: 22px;
  background: rgba(7, 23, 34, 0.58);
  border: 1px solid rgba(255, 255, 255, 0.18);
  color: #f0f8fc;
  font-size: 0.76rem;
  font-weight: 700;
  line-height: 1.35;
  text-align: center;
  backdrop-filter: blur(8px);
}

.home-about__promo-dots {
  position: absolute;
  left: 50%;
  bottom: 8px;
  transform: translateX(-50%);
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 0.36rem 0.54rem;
  border-radius: 999px;
  background: rgba(7, 23, 34, 0.56);
  border: 1px solid rgba(255, 255, 255, 0.14);
  z-index: 3;
}

.home-about__promo-dot {
  width: 7px;
  height: 7px;
  border-radius: 999px;
  background: rgba(237, 247, 253, 0.6);
  border: none;
  padding: 0;
  cursor: pointer;
  transition: transform 170ms ease, background 170ms ease;
}

.home-about__promo-dot.is-active {
  transform: scale(1.25);
  background: #7ee3f0;
}

.home-about__label,
.credit-card__tag {
  display: inline-flex;
  width: fit-content;
  padding: 0.48rem 0.78rem;
  border-radius: 999px;
  font-size: 0.74rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.home-about__label {
  background: rgba(95, 208, 217, 0.12);
  color: var(--brand-c);
}

.home-about__promo h2 {
  margin: 0;
  font-family: "Space Grotesk", sans-serif;
  font-size: clamp(1.5rem, 2.5vw, 2rem);
  line-height: 1.12;
  letter-spacing: -0.03em;
}

.home-about__promo p {
  margin: 0;
  color: var(--muted);
  line-height: 1.76;
  text-align: justify;
  text-justify: inter-word;
  font-size: 0.98rem;
}

.home-about__promo-pills {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.home-about__promo-pills span {
  padding: 0.68rem 0.92rem;
  border-radius: 999px;
  background: rgba(95, 208, 217, 0.12);
  border: 1px solid rgba(44, 91, 115, 0.12);
  color: var(--text);
  font-weight: 700;
}

.home-about__main {
  display: grid;
  grid-template-columns: minmax(0, 0.94fr) minmax(340px, 0.9fr);
  gap: 28px;
  padding: 28px;
  border: 1px solid var(--paper-line);
  background: linear-gradient(135deg, rgba(255, 253, 249, 0.98), rgba(244, 238, 231, 0.98));
  color: var(--ink-dark);
  align-items: stretch;
}

.home-about__main-copy {
  padding: 10px 6px 10px 6px;
}

.home-about__main h1 {
  margin: 0;
  font-family: "Space Grotesk", sans-serif;
  font-size: clamp(1.95rem, 3.4vw, 2.8rem);
  line-height: 1.02;
  letter-spacing: -0.03em;
  color: #1b2532;
  max-width: 8.5ch;
}

.home-about__lead,
.credit-card__header p {
  text-align: justify;
  text-justify: inter-word;
  hyphens: auto;
}

.home-about__lead {
  margin: 18px 0 0;
  color: #5d6a78;
  line-height: 1.74;
  font-size: 1rem;
  max-width: 34rem;
}

.home-about__main-copy .eyebrow + .home-about__lead {
  margin-top: 10px;
}

.home-about__main .hero__actions {
  margin-bottom: 0;
}

.home-about__visual {
  display: flex;
  overflow: hidden;
  border-radius: 28px;
  background: linear-gradient(180deg, #edf3f8, #f8f4ed);
  min-height: 100%;
  min-width: 0;
  align-self: stretch;
}

.home-about__visual img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center center;
  filter: brightness(1.09) saturate(1.04);
}

.home-about__visual .home-about__promo-gallery {
  width: 100%;
  height: 100%;
  min-height: clamp(420px, 42vw, 560px);
  margin-top: 0;
  aspect-ratio: 0.92 / 1.08;
}

.credit-showcase__grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 22px;
  align-items: start;
}

.services-strip {
  display: grid;
  grid-template-columns: auto auto minmax(0, 1fr) auto;
  align-items: center;
  gap: 14px;
  margin-bottom: 20px;
  padding: 18px 20px;
  position: relative;
  overflow: hidden;
  border-radius: 26px;
  border: 1px solid rgba(44, 91, 115, 0.16);
  background:
    radial-gradient(circle at 8% 10%, rgba(64, 162, 207, 0.1), transparent 22%),
    radial-gradient(circle at 92% 90%, rgba(83, 198, 213, 0.08), transparent 24%),
    linear-gradient(180deg, rgba(255, 255, 255, 0.99), rgba(246, 250, 253, 0.98));
  box-shadow: 0 18px 42px rgba(17, 39, 56, 0.09);
}

.services-strip::before {
  content: "";
  position: absolute;
  inset: 0 0 auto 0;
  height: 3px;
  background: linear-gradient(90deg, rgba(52, 151, 198, 0.12), rgba(52, 151, 198, 0.42), rgba(52, 151, 198, 0.12));
  pointer-events: none;
}

.services-strip__label {
  font-family: "Space Grotesk", sans-serif;
  font-size: clamp(1.72rem, 3vw, 2.45rem);
  font-weight: 800;
  letter-spacing: -0.02em;
  color: #214d87;
  white-space: nowrap;
  padding-inline: 8px;
}

.services-strip__nav {
  width: 44px;
  height: 44px;
  border: 1px solid rgba(44, 91, 115, 0.2);
  border-radius: 999px;
  background: #f6fafd;
  color: #89a0c1;
  font-size: 2rem;
  line-height: 1;
  cursor: pointer;
  transition: transform 160ms ease, border-color 180ms ease, color 180ms ease, background 180ms ease;
}

.services-strip__nav:hover:not(:disabled),
.services-strip__nav:focus-visible:not(:disabled) {
  transform: translateY(-1px);
  border-color: rgba(44, 91, 115, 0.34);
  color: #4f7097;
  background: #ffffff;
}

.services-strip__nav:disabled {
  opacity: 0.42;
  cursor: default;
}

.services-strip__viewport {
  overflow-x: auto;
  scrollbar-width: none;
}

.services-strip__viewport::-webkit-scrollbar {
  display: none;
}

.services-strip__track {
  display: grid;
  grid-auto-flow: column;
  grid-auto-columns: minmax(210px, 1fr);
  gap: 12px;
  width: max-content;
  padding: 6px 2px;
}

.services-strip__item {
  min-height: 172px;
  padding: 14px 18px;
  position: relative;
  display: grid;
  justify-items: center;
  align-content: center;
  gap: 7px;
  text-align: center;
  border-radius: 18px;
  border: 1px solid rgba(44, 91, 115, 0.14);
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.96), rgba(248, 252, 255, 0.98));
  box-shadow: 0 10px 22px rgba(20, 47, 67, 0.08);
  transition: transform 170ms ease, box-shadow 190ms ease, border-color 190ms ease;
}

.services-strip__item::after {
  content: "";
  position: absolute;
  left: 18px;
  right: 18px;
  bottom: 8px;
  height: 2px;
  border-radius: 999px;
  background: linear-gradient(90deg, rgba(63, 157, 211, 0), rgba(63, 157, 211, 0.38), rgba(63, 157, 211, 0));
  pointer-events: none;
}

.services-strip__item:hover {
  transform: translateY(-3px);
  border-color: rgba(57, 124, 171, 0.28);
  box-shadow: 0 16px 30px rgba(20, 47, 67, 0.12);
}

.services-strip__item + .services-strip__item {
  border-left: none;
}

.services-strip__icon {
  width: 62px;
  height: 62px;
  border-radius: 20px;
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 1px solid rgba(77, 149, 194, 0.34);
  background:
    radial-gradient(circle at 28% 20%, rgba(255, 255, 255, 0.7), transparent 42%),
    linear-gradient(145deg, rgba(92, 166, 209, 0.2), rgba(92, 166, 209, 0.08));
  color: #3f75a1;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.62), 0 8px 16px rgba(40, 87, 120, 0.12);
  font-size: 1.08rem;
  font-weight: 800;
  letter-spacing: 0.04em;
}

.services-strip__icon svg {
  width: 32px;
  height: 32px;
}

.services-strip__type {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.24rem 0.52rem;
  border-radius: 999px;
  border: 1px solid rgba(97, 155, 196, 0.22);
  background: rgba(95, 178, 207, 0.08);
  font-size: 0.74rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: #51759a;
}

.services-strip__name {
  font-family: "Space Grotesk", sans-serif;
  font-size: clamp(1.02rem, 1.5vw, 1.45rem);
  line-height: 1.12;
  letter-spacing: -0.01em;
  font-weight: 800;
  color: #1e3f7d;
}

.services-strip__meta {
  display: block;
  max-width: 23ch;
  margin-top: 2px;
  font-size: 0.79rem;
  line-height: 1.4;
  color: #5f7695;
}

.section-heading--minimal {
  margin-bottom: 18px;
  max-width: none;
}

.section-heading--minimal h2 {
  font-size: clamp(1.45rem, 2.6vw, 2rem);
  line-height: 1.12;
  letter-spacing: -0.02em;
}

.credit-card {
  padding: 26px;
  border: 1px solid rgba(122, 198, 215, 0.12);
}

.credit-card--about {
  background:
    linear-gradient(180deg, rgba(249, 253, 255, 0.99), rgba(242, 248, 252, 0.99));
}

.credit-card--simulator {
  background:
    radial-gradient(circle at top right, rgba(95, 208, 217, 0.12), transparent 30%),
    linear-gradient(180deg, rgba(249, 253, 255, 0.99), rgba(242, 248, 252, 0.99));
}

.credit-card__tag {
  margin-bottom: 14px;
  background: rgba(95, 208, 217, 0.12);
  color: var(--brand-c);
}

.credit-card h3 {
  margin: 0 0 14px;
  font-family: "Space Grotesk", sans-serif;
  font-size: clamp(1.35rem, 2.4vw, 1.8rem);
  line-height: 1.08;
  letter-spacing: -0.025em;
}

.credit-card--about > p,
.credit-card__header p {
  margin: 0;
  color: var(--muted);
  line-height: 1.82;
}

.credit-card__list {
  margin-top: 22px;
  display: grid;
  gap: 14px;
}

.credit-card__list article {
  padding: 16px 18px;
  border-radius: 20px;
  border: 1px solid rgba(44, 91, 115, 0.12);
  background: rgba(255, 255, 255, 0.86);
}

.credit-card__list strong {
  display: block;
  margin-bottom: 8px;
  font-size: 1rem;
}

.credit-card__list span {
  display: block;
  color: var(--muted);
  line-height: 1.74;
}

.credit-card__visual {
  margin-top: 22px;
  overflow: hidden;
  border-radius: 24px;
  background: linear-gradient(180deg, rgba(232, 243, 250, 0.9), rgba(246, 251, 255, 0.86));
}

.credit-card__visual img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.credit-card__header {
  margin-bottom: 18px;
}

.credit-card__header--minimal {
  margin-bottom: 10px;
}

.simulator-mini-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-bottom: 16px;
}

.simulator-mini-meta span {
  padding: 0.7rem 0.95rem;
  border-radius: 999px;
  background: rgba(95, 208, 217, 0.1);
  border: 1px solid rgba(44, 91, 115, 0.12);
  color: var(--text);
  font-weight: 700;
}

.credit-card__simulator-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(280px, 0.84fr);
  gap: 18px;
}

.credit-card__simulator-layout .simulator-form,
.credit-card__simulator-layout .simulator-panel {
  height: 100%;
}

.page--home .section-heading h2 {
  font-size: clamp(1.85rem, 3.5vw, 2.55rem);
  line-height: 1.08;
  letter-spacing: -0.025em;
}

.testimonial-stage {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

@media (max-width: 1120px) {
  .home-about__grid,
  .home-about__main,
  .credit-showcase__grid,
  .credit-card__simulator-layout {
    grid-template-columns: 1fr;
  }

  .services-strip {
    grid-template-columns: 1fr auto auto;
    gap: 12px;
    padding: 16px;
  }

  .services-strip__label {
    grid-column: 1 / -1;
    padding-inline: 0;
  }

  .services-strip__viewport {
    grid-column: 1 / 2;
  }

  .services-strip__track {
    grid-auto-columns: minmax(190px, 72vw);
  }

  .services-strip__item {
    min-height: 160px;
    padding-inline: 14px;
  }

  .home-about__visual .home-about__promo-gallery {
    min-height: 280px;
    aspect-ratio: 16 / 9;
  }
}

@media (max-width: 760px) {
  .home-about,
  .credit-showcase,
  .services-catalog {
    padding-top: 40px;
  }

  .home-about__promo,
  .home-about__main,
  .credit-card {
    padding: 22px;
    border-radius: 28px;
  }

  .home-about__promo p,
  .home-about__lead,
  .simulator-mini-meta span {
    text-align: left;
  }

  .home-about__main h1,
  .credit-card h3 {
    font-size: clamp(2.1rem, 9vw, 3rem);
    max-width: none;
  }

  .home-about__promo h2,
  .page--home .section-heading h2,
  .section-heading--minimal h2 {
    font-size: clamp(1.7rem, 7vw, 2.35rem);
  }

  .services-strip {
    grid-template-columns: 1fr;
    gap: 10px;
  }

  .services-strip__nav {
    display: none;
  }

  .services-strip__viewport {
    grid-column: auto;
  }

  .services-strip__track {
    grid-auto-columns: minmax(180px, 80vw);
  }

  .services-strip__item {
    min-height: 154px;
    padding-inline: 12px;
  }
}

/* Solicitação de crédito (público) */
.credit-request {
  padding-top: 10px;
}

.credit-card--request {
  background:
    radial-gradient(circle at top right, rgba(95, 208, 217, 0.12), transparent 30%),
    linear-gradient(180deg, rgba(249, 253, 255, 0.99), rgba(242, 248, 252, 0.99));
  display: grid;
  gap: 18px;
}

.credit-request__steps {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 10px;
}

.credit-request__step-chip {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 42px;
  border-radius: 999px;
  border: 1px solid rgba(44, 91, 115, 0.15);
  background: rgba(255, 255, 255, 0.86);
  color: var(--muted);
  font-size: 0.82rem;
  font-weight: 700;
  text-align: center;
  padding: 0.45rem 0.7rem;
}

.credit-request__step-chip.is-active {
  background: linear-gradient(135deg, var(--brand-a), var(--brand-b));
  border-color: transparent;
  color: #ffffff;
}

.credit-request-form {
  display: grid;
  gap: 14px;
}

.credit-request-alert {
  border-radius: 12px;
  padding: 11px 13px;
  font-weight: 700;
  border: 1px solid transparent;
}

.credit-request-alert--error {
  background: rgba(214, 76, 88, 0.12);
  border-color: rgba(214, 76, 88, 0.3);
  color: #8f1f2a;
}

.credit-request-alert--success {
  background: rgba(52, 156, 110, 0.12);
  border-color: rgba(52, 156, 110, 0.28);
  color: #11643a;
}

.credit-honey {
  position: absolute !important;
  left: -9999px !important;
  opacity: 0 !important;
  pointer-events: none !important;
}

.credit-request-step {
  border: 1px solid rgba(44, 91, 115, 0.16);
  border-radius: 18px;
  padding: 18px;
  background: rgba(255, 255, 255, 0.86);
  display: none;
  min-width: 0;
}

.credit-request-step.is-active {
  display: grid;
  gap: 14px;
}

.credit-request-step legend {
  font-family: "Space Grotesk", sans-serif;
  font-weight: 700;
  padding: 0 8px;
  color: #173246;
}

.credit-request-grid {
  display: grid;
  gap: 12px;
}

.credit-request-grid--2 {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.credit-request-field {
  display: grid;
  gap: 8px;
  min-width: 0;
}

.credit-request-field span {
  color: #254458;
  font-size: 0.9rem;
  font-weight: 700;
}

.credit-request-field input,
.credit-request-field select,
.credit-request-field textarea {
  width: 100%;
  min-height: 46px;
  border-radius: 12px;
  border: 1px solid rgba(44, 91, 115, 0.24);
  background: #ffffff;
  color: #163247;
  padding: 0.72rem 0.8rem;
}

.credit-request-field input::placeholder,
.credit-request-field textarea::placeholder {
  color: #6a8192;
}

.credit-request-field textarea {
  min-height: 94px;
  resize: vertical;
}

.credit-request-field input:focus,
.credit-request-field select:focus,
.credit-request-field textarea:focus {
  outline: 2px solid rgba(46, 132, 194, 0.26);
  border-color: rgba(46, 132, 194, 0.52);
}

.credit-request-field small {
  color: #5d7688;
  font-size: 0.76rem;
}

.credit-request-field--wide {
  grid-column: 1 / -1;
}

.credit-request-summary {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 10px;
}

.credit-request-summary article {
  border: 1px solid rgba(44, 91, 115, 0.18);
  border-radius: 12px;
  background: linear-gradient(180deg, rgba(245, 251, 255, 0.95), rgba(238, 247, 252, 0.95));
  padding: 12px;
}

.credit-request-summary span {
  display: block;
  color: #4e6779;
  margin-bottom: 7px;
  font-size: 0.8rem;
}

.credit-request-summary strong {
  color: #163247;
  font-size: 1rem;
}

.credit-request-docs p {
  margin: 0;
  color: #4b6374;
}

.credit-request-review h3 {
  margin: 0 0 10px;
  font-family: "Space Grotesk", sans-serif;
  font-size: 1.08rem;
  color: #173246;
}

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

.credit-request-review__grid > div {
  border: 1px solid rgba(44, 91, 115, 0.18);
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.88);
  padding: 12px;
}

.credit-request-review__grid strong {
  display: block;
  margin-bottom: 6px;
  color: #173246;
}

.credit-request-review__grid p {
  margin: 0;
  color: #4b6374;
  line-height: 1.5;
}

.credit-request-check {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  color: #29465a;
  line-height: 1.45;
}

.credit-request-check input {
  margin-top: 2px;
  width: 16px;
  height: 16px;
  accent-color: var(--brand-b);
}

.credit-request-nav {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  justify-content: flex-end;
}

.credit-request-nav .button {
  min-width: 140px;
  justify-content: center;
}

.credit-request-success {
  border: 1px solid rgba(52, 156, 110, 0.28);
  background: rgba(52, 156, 110, 0.12);
  border-radius: 16px;
  padding: 16px;
}

.credit-request-success h3 {
  margin: 0 0 8px;
  color: #0f6c3b;
  font-size: 1.1rem;
}

.credit-request-success p {
  margin: 0;
  color: #1c5b3f;
  line-height: 1.6;
}

.products-public {
  display: grid;
  gap: 18px;
}

.products-context {
  border: 1px solid rgba(124, 186, 212, 0.3);
  border-radius: 16px;
  background: linear-gradient(180deg, rgba(244, 251, 255, 0.94), rgba(233, 246, 253, 0.96));
  padding: 14px 16px;
  display: grid;
  gap: 8px;
}

.products-context p {
  margin: 0;
  color: #2f4d62;
  line-height: 1.55;
}

.products-context strong {
  color: #173b58;
}

#produtos-requisitos[hidden] {
  display: none !important;
}

body.view-servicos #produtos-requisitos {
  display: grid !important;
}

#simulatorSection[hidden] {
  display: none !important;
}

body.view-home #simulatorSection {
  display: none !important;
}

body.view-servicos #simulatorSection {
  display: block !important;
}

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

.products-card,
.requirements-card {
  border: 1px solid rgba(143, 206, 220, 0.26);
  border-radius: 16px;
  background: linear-gradient(180deg, rgba(10, 33, 41, 0.92), rgba(6, 24, 32, 0.96));
  padding: 14px;
}

.products-card--enhanced {
  display: grid;
  gap: 10px;
}

.products-card__head {
  display: grid;
  gap: 8px;
}

.products-card__icon {
  width: 46px;
  height: 46px;
  border-radius: 14px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 1px solid rgba(145, 213, 235, 0.4);
  background:
    radial-gradient(circle at top left, rgba(241, 252, 255, 0.36), transparent 48%),
    linear-gradient(145deg, rgba(120, 194, 224, 0.24), rgba(91, 145, 210, 0.22));
  color: #d4f3ff;
  box-shadow: 0 10px 18px rgba(8, 29, 42, 0.22);
}

.products-card__icon svg {
  width: 24px;
  height: 24px;
}

.products-card__badge {
  justify-self: start;
  display: inline-flex;
  align-items: center;
  padding: 0.26rem 0.62rem;
  border-radius: 999px;
  border: 1px solid rgba(140, 206, 224, 0.36);
  background: rgba(122, 199, 217, 0.14);
  color: #c2e9f4;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  font-size: 0.72rem;
  font-weight: 800;
}

.products-card h3,
.requirements-card h3 {
  margin: 0 0 10px;
  font-size: 1.02rem;
  color: #dff3f9;
}

.products-card__tagline,
.products-card p,
.requirements-card p {
  margin: 0;
  color: #c2d9e4;
  line-height: 1.5;
}

.products-card ul,
.requirements-card ul {
  margin: 0;
  padding-left: 18px;
  display: grid;
  gap: 6px;
}

.products-card li,
.requirements-card li {
  color: #b9d5e0;
}

.products-card__guarantees {
  margin-top: 10px;
  border-top: 1px dashed rgba(143, 206, 220, 0.28);
  padding-top: 10px;
}

.products-card__guarantees strong {
  color: #dff3f9;
}

.products-card__ideal {
  margin: 2px 0 0;
  color: #cbe2eb;
}

.products-card__ideal strong {
  color: #e6f8ff;
}

.products-card__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.products-card__cta {
  justify-self: start;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.6rem 1rem;
  border-radius: 999px;
  border: 1px solid rgba(124, 198, 226, 0.36);
  background: linear-gradient(135deg, #2f9ed6, #4c84cc);
  color: #f3fbff;
  text-decoration: none;
  font-weight: 800;
  transition: transform 160ms ease, box-shadow 180ms ease, filter 180ms ease;
}

.products-card__cta:hover,
.products-card__cta:focus-visible {
  transform: translateY(-1px);
  box-shadow: 0 10px 18px rgba(39, 116, 165, 0.26);
  filter: brightness(1.05);
}

.products-card__cta--ghost {
  background: rgba(255, 255, 255, 0.12);
  border-color: rgba(166, 220, 239, 0.48);
  color: #ddf4fb;
  box-shadow: none;
}

.products-card__cta--ghost:hover,
.products-card__cta--ghost:focus-visible {
  background: rgba(255, 255, 255, 0.2);
  filter: none;
  box-shadow: 0 8px 14px rgba(9, 34, 48, 0.2);
}

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

@media (max-width: 1120px) {
  .credit-request__steps,
  .credit-request-summary,
  .credit-request-grid--2,
  .credit-request-review__grid {
    grid-template-columns: 1fr;
  }

  .products-public__grid,
  .products-public__requirements {
    grid-template-columns: 1fr;
  }
}

/* Painel interno: Admin / RH / Contabilidade */
.panel-grid {
  display: grid;
  gap: 24px;
  padding-top: 24px;
}

.panel-toolbar {
  display: grid;
  gap: 12px;
}

.panel-session--toolbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
}

.panel-session--toolbar .panel-session__identity {
  min-width: 220px;
}

.panel-session--toolbar .panel-session__identity p {
  margin: 0;
}

.panel-session--toolbar .hero__actions {
  margin: 0;
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.panel-session--toolbar .button {
  min-height: 40px;
}

.panel-dashboard-card {
  padding: 22px;
}

.panel-dashboard {
  display: grid;
  gap: 16px;
}

.panel-dashboard__head h2 {
  margin: 0;
  font-family: "Space Grotesk", sans-serif;
  font-size: clamp(1.35rem, 2vw, 1.9rem);
  line-height: 1.15;
}

.panel-dashboard__head p {
  margin: 8px 0 0;
}

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

.panel-dashboard__stat {
  border: 1px solid var(--line);
  border-radius: 14px;
  padding: 14px;
  background: rgba(255, 255, 255, 0.03);
}

.panel-dashboard__stat span {
  display: block;
  margin-bottom: 6px;
  font-size: 0.82rem;
  color: var(--muted);
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.panel-dashboard__stat strong {
  font-size: 1.2rem;
}

.panel-module-nav {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  padding: 8px;
  border-radius: 14px;
  border: 1px solid var(--line);
}

.panel-module-nav__btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 1px solid rgba(95, 208, 217, 0.22);
  background: rgba(255, 255, 255, 0.04);
  color: var(--text);
  border-radius: 999px;
  padding: 0.65rem 1rem;
  font-weight: 700;
  cursor: pointer;
  transition: all 180ms ease;
}

.panel-module-nav__btn:hover,
.panel-module-nav__btn:focus-visible {
  transform: translateY(-1px);
  border-color: rgba(95, 208, 217, 0.45);
}

.panel-module-nav__btn.is-active {
  background: linear-gradient(135deg, var(--brand-a), var(--brand-b));
  color: #fff;
  border-color: transparent;
}

.panel-module {
  display: none;
}

.panel-module.panel-module--active {
  display: block;
}

.panel-subtitle {
  margin: 10px 0 8px;
  font-family: "Space Grotesk", sans-serif;
  font-size: clamp(1.15rem, 1.5vw, 1.42rem);
  line-height: 1.2;
}

.panel-divider {
  border: 0;
  border-top: 1px solid var(--line);
  margin: 24px 0;
}

.panel-subsection {
  display: grid;
  gap: 14px;
  margin-top: 2px;
}

.panel-subsection + .panel-subsection {
  margin-top: 14px;
}

.panel-subsection__head p {
  margin: 6px 0 0;
}

.panel-table-action {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 1px solid rgba(29, 61, 88, 0.2);
  border-radius: 10px;
  min-height: 34px;
  padding: 0.35rem 0.7rem;
  background: #fff;
  color: #1c3a56;
  font-size: 0.78rem;
  font-weight: 700;
  cursor: pointer;
}

.panel-table-action + .panel-table-action {
  margin-left: 6px;
}

.panel-table-action--primary {
  background: linear-gradient(135deg, #1f6fa7, #28a9c5);
  color: #fff;
  border-color: transparent;
}

.panel-table-action--danger {
  background: linear-gradient(135deg, #8f1f2f, #d43b57);
  color: #fff;
  border-color: transparent;
}

.panel-table-actions-inline {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 6px;
}

.panel-table-actions-inline select {
  min-height: 34px;
  min-width: 130px;
  border-radius: 10px;
  border: 1px solid rgba(29, 61, 88, 0.22);
  background: #ffffff;
  color: #1c3a56;
  font-size: 0.78rem;
  font-weight: 700;
  padding: 0.3rem 0.45rem;
}

.panel-modal-open {
  overflow: hidden;
}

.panel-modal {
  position: fixed;
  inset: 0;
  z-index: 220;
  display: grid;
  place-items: center;
  padding: 22px;
}

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

.panel-modal__backdrop {
  position: absolute;
  inset: 0;
  background: rgba(3, 11, 20, 0.68);
  backdrop-filter: blur(3px);
}

.panel-modal__dialog {
  position: relative;
  width: min(920px, 100%);
  max-height: calc(100vh - 44px);
  border-radius: 16px;
  border: 1px solid rgba(29, 61, 88, 0.22);
  background: #f9fdff;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  box-shadow: 0 26px 54px rgba(10, 33, 41, 0.32);
}

.panel-modal__header {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 12px;
  padding: 16px 16px 12px;
  border-bottom: 1px solid rgba(29, 61, 88, 0.16);
}

.panel-modal__header h3 {
  margin: 4px 0 0;
  font-size: 1.14rem;
}

.panel-modal__content {
  overflow: auto;
  padding: 14px 16px 16px;
  display: grid;
  gap: 12px;
}

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

.panel-modal-card {
  border: 1px solid rgba(29, 61, 88, 0.16);
  background: #ffffff;
  border-radius: 12px;
  padding: 10px;
  display: grid;
  gap: 6px;
}

.panel-modal-card span {
  font-size: 0.72rem;
  letter-spacing: 0.03em;
  text-transform: uppercase;
  color: #5e7387;
  font-weight: 700;
}

.panel-modal-card strong {
  color: #1c3a56;
}

.panel-modal-section {
  border: 1px solid rgba(29, 61, 88, 0.14);
  background: #ffffff;
  border-radius: 12px;
  padding: 10px;
  display: grid;
  gap: 8px;
}

.panel-modal-section h4 {
  margin: 0;
  font-size: 0.98rem;
  color: #1c3a56;
}

.panel-modal-section p {
  margin: 0;
}

.panel-modal-list {
  margin: 0;
  padding-left: 18px;
  display: grid;
  gap: 6px;
}

.panel-modal-list a {
  color: #1f7fb2;
}

.panel-modal-empty {
  list-style: none;
  color: #61798f;
  margin-left: -18px;
}

.panel-form {
  display: grid;
  gap: 14px;
  margin-top: 8px;
}

.panel-form label {
  display: grid;
  gap: 8px;
  color: #41596d;
  font-size: 0.9rem;
  font-weight: 700;
}

.panel-form input,
.panel-form select,
.panel-form textarea {
  width: 100%;
  min-height: 46px;
  border-radius: 12px;
  border: 1px solid rgba(29, 61, 88, 0.22);
  background: #ffffff;
  color: #16283b;
  padding: 0.72rem 0.8rem;
}

.panel-form input::placeholder,
.panel-form textarea::placeholder {
  color: #7e90a2;
}

.panel-form input:focus,
.panel-form select:focus,
.panel-form textarea:focus {
  outline: 2px solid rgba(46, 132, 194, 0.24);
  border-color: rgba(46, 132, 194, 0.6);
}

.panel-form__grid {
  display: grid;
  gap: 12px;
}

.panel-form__grid--2 {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.panel-form__grid--3 {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.panel-form__grid--4 {
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

.panel-form__grid--5 {
  grid-template-columns: repeat(5, minmax(0, 1fr));
}

.panel-table-wrap {
  margin-top: 16px;
  overflow-x: auto;
  border: 1px solid var(--line);
  border-radius: 14px;
}

.panel-table-wrap--compact {
  max-height: 460px;
  overflow: auto;
}

.panel-table-wrap.is-collapsed {
  display: none;
}

.panel-collapsible.is-collapsed {
  display: none;
}

.panel-inline-filters {
  margin-top: 12px;
  display: flex;
  flex-wrap: wrap;
  align-items: flex-end;
  gap: 10px;
}

.panel-inline-filters--tight {
  margin-top: 10px;
  margin-bottom: 2px;
}

.panel-bulk-actions {
  margin-top: 12px;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 10px 14px;
}

.panel-bulk-actions__count {
  font-size: 0.84rem;
  font-weight: 700;
  color: #486176;
}

.panel-bulk-actions__buttons {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.panel-bulk-actions__delete {
  border-color: rgba(190, 63, 63, 0.35);
  color: #7d1f1f;
}

.panel-table-col-select {
  width: 42px;
  text-align: center !important;
}

.panel-table-select-all {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 100%;
}

.panel-table-select-all input,
.panel-row-select {
  width: 16px;
  height: 16px;
  accent-color: #1f6fa7;
}

.panel-inline-filters__item {
  display: grid;
  gap: 6px;
  font-size: 0.84rem;
  font-weight: 700;
  color: #41596d;
}

.panel-inline-filters__item select {
  min-height: 40px;
  border-radius: 10px;
  border: 1px solid rgba(29, 61, 88, 0.22);
  background: #ffffff;
  color: #16283b;
  padding: 0.5rem 0.65rem;
}

.panel-inline-filters__item--check {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  border: 1px solid rgba(29, 61, 88, 0.18);
  border-radius: 10px;
  background: rgba(255, 255, 255, 0.82);
  padding: 0.5rem 0.65rem;
}

.panel-inline-filters__item--check input {
  width: 16px;
  height: 16px;
  accent-color: #1f6fa7;
}

.muted-inline {
  color: #7e90a2;
  font-size: 0.74rem;
}

.panel-table {
  width: 100%;
  border-collapse: collapse;
  min-width: 700px;
}

.panel-table th,
.panel-table td {
  text-align: left;
  padding: 12px 14px;
  border-bottom: 1px solid rgba(29, 61, 88, 0.1);
}

.panel-table th {
  font-size: 0.82rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: #617283;
  background: rgba(242, 247, 252, 0.8);
}

.panel-table td {
  color: #1a2f43;
}

.panel-table td code {
  color: #1f4064;
  font-weight: 700;
}

.panel-kpis {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
  margin-top: 16px;
}

.panel-kpis article {
  border: 1px solid rgba(29, 61, 88, 0.14);
  border-radius: 14px;
  padding: 14px;
  background: linear-gradient(180deg, #ffffff, #f5f9fd);
}

.panel-kpis span {
  display: block;
  color: #617587;
  margin-bottom: 8px;
  font-size: 0.85rem;
}

.panel-kpis strong {
  font-size: 1.15rem;
  color: #16314c;
}

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

  .panel-form__grid--2,
  .panel-form__grid--3,
  .panel-form__grid--4,
  .panel-form__grid--5,
  .panel-kpis {
    grid-template-columns: 1fr;
  }

  .panel-table {
    min-width: 620px;
  }
}

/* Auth do painel */
.panel-auth-card {
  margin-top: 16px;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.94), rgba(247, 251, 255, 0.96));
  border: 1px solid rgba(46, 132, 194, 0.18);
  box-shadow: 0 22px 54px rgba(7, 25, 37, 0.1);
}

.panel-auth-card .institutional-section-card__head {
  margin-bottom: 18px;
}

.panel-auth-card .institutional-section-card__head h2 {
  color: #16273a;
  font-size: clamp(1.65rem, 2.5vw, 2.25rem);
  letter-spacing: -0.02em;
}

.panel-auth-card .institutional-section-card__head p {
  color: #55697b;
  text-align: left;
}

.panel-auth-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.4fr) minmax(260px, 0.9fr);
  gap: 20px;
  align-items: start;
}

.panel-auth-card .panel-form {
  margin-top: 0;
  padding: 18px;
  border-radius: 18px;
  border: 1px solid rgba(29, 61, 88, 0.13);
  background: linear-gradient(180deg, #ffffff, #f9fcff);
}

.panel-auth-card .hero__actions {
  margin-top: 4px;
}

.panel-auth-card .button--primary {
  min-width: 140px;
  justify-content: center;
}

.panel-session {
  border: 1px dashed rgba(29, 61, 88, 0.24);
  border-radius: 18px;
  padding: 18px;
  background: linear-gradient(180deg, #f6faff, #eef5fb);
}

.panel-session strong {
  display: block;
  margin-bottom: 8px;
  font-size: 1rem;
  color: #193047;
}

.panel-session p {
  margin: 0;
  color: #5d7284;
  line-height: 1.55;
}

.panel-alert {
  margin-top: 12px;
  margin-bottom: 14px;
  border-radius: 14px;
  padding: 12px 15px;
  font-weight: 700;
}

.panel-alert--inline {
  margin-top: 0;
  margin-bottom: 0;
}

.panel-alert--error {
  background: rgba(214, 76, 88, 0.11);
  border: 1px solid rgba(214, 76, 88, 0.28);
  color: #7a1822;
}

.panel-alert--success {
  background: rgba(52, 156, 110, 0.14);
  border: 1px solid rgba(52, 156, 110, 0.32);
  color: #16553c;
}

.panel-alert--warning {
  background: rgba(240, 180, 41, 0.18);
  border: 1px solid rgba(240, 180, 41, 0.34);
  color: #6b4d00;
}

.hint-text {
  margin-top: 6px;
  padding: 10px 12px;
  border-radius: 12px;
  border: 1px solid rgba(46, 132, 194, 0.2);
  background: rgba(46, 132, 194, 0.08);
  color: #4f6578;
  font-size: 0.88rem;
  line-height: 1.45;
}

.hint-text strong {
  color: #1f3d5f;
}

@media (max-width: 980px) {
  .panel-auth-grid {
    grid-template-columns: 1fr;
  }
}

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

  .panel-module-nav {
    padding: 0;
    border: 0;
  }

  .panel-module-nav__btn {
    width: 100%;
    justify-content: center;
  }

  .panel-auth-card .panel-form,
  .panel-session {
    padding: 14px;
  }

  .panel-session--toolbar {
    flex-direction: column;
    align-items: stretch;
  }

  .panel-session--toolbar .hero__actions .button {
    width: 100%;
    justify-content: center;
  }
}

/* Painel interno: tema escuro (evita fundo branco) */
.page--panel {
  background:
    radial-gradient(circle at 10% -10%, rgba(95, 208, 217, 0.2), transparent 34%),
    radial-gradient(circle at 95% 0%, rgba(46, 132, 194, 0.22), transparent 30%),
    linear-gradient(180deg, #0b2230 0%, #0a1d29 44%, #091824 100%);
}

.page--panel::before {
  opacity: 0.6;
}

.page--panel .page-glow--left {
  opacity: 0.28;
}

.page--panel .page-glow--right {
  opacity: 0.22;
}

.page--panel .institutional-hero {
  margin-bottom: 8px;
}

.page--panel.panel-auth-only .institutional-hero,
.page--panel.panel-auth-only #panelModules {
  display: none !important;
}

.page--panel.panel-auth-only .site-nav,
.page--panel.panel-auth-only .site-header__actions {
  display: none;
}

.page--panel.panel-auth-only .site-header {
  justify-content: flex-start;
}

.page--panel.panel-auth-only .site-main {
  padding-top: 52px;
}

.page--panel.panel-authenticated .institutional-hero,
.page--panel.panel-authenticated #authSection {
  display: none !important;
}

.page--panel.panel-authenticated .site-main {
  padding-top: 22px;
}

.page--panel .institutional-section-card {
  border: 1px solid rgba(143, 206, 220, 0.28);
  background: linear-gradient(180deg, rgba(14, 42, 54, 0.94), rgba(10, 31, 42, 0.96));
  box-shadow: 0 24px 60px rgba(0, 0, 0, 0.22);
}

.page--panel .institutional-section-card__head h2 {
  color: #e9f4f8;
}

.page--panel .institutional-section-card__head p {
  color: #b9ced7;
  text-align: left;
}

.page--panel .institutional-kicker {
  background: rgba(95, 208, 217, 0.22);
  color: #d4f6fb;
}

.page--panel .button {
  color: #ffffff;
}

.page--panel .button--primary {
  color: #ffffff;
}

.page--panel .button--secondary {
  background: linear-gradient(135deg, rgba(38, 122, 170, 0.58), rgba(41, 163, 193, 0.46));
  border: 1px solid rgba(143, 206, 220, 0.36);
  color: #ffffff;
}

.page--panel .button--ghost {
  background: rgba(14, 42, 54, 0.78);
  border: 1px solid rgba(143, 206, 220, 0.34);
  color: #ffffff;
}

.page--panel .button:disabled,
.page--panel .button[disabled] {
  color: rgba(241, 250, 255, 0.9);
  background: rgba(23, 59, 78, 0.66);
  border-color: rgba(143, 206, 220, 0.24);
  opacity: 0.62;
  box-shadow: none;
}

.page--panel .panel-form label {
  color: #d5e9f1;
}

.page--panel .panel-form input,
.page--panel .panel-form select,
.page--panel .panel-form textarea {
  border: 1px solid rgba(143, 206, 220, 0.3);
  background: rgba(16, 44, 57, 0.9);
  color: #f0fbff;
}

.page--panel .panel-form input::placeholder,
.page--panel .panel-form textarea::placeholder {
  color: #a9c8d4;
}

.page--panel .panel-form input:focus,
.page--panel .panel-form select:focus,
.page--panel .panel-form textarea:focus {
  outline: 2px solid rgba(95, 208, 217, 0.28);
  border-color: rgba(95, 208, 217, 0.58);
}

.page--panel .panel-table-wrap {
  border: 1px solid rgba(143, 206, 220, 0.22);
  background: rgba(12, 36, 49, 0.78);
}

.page--panel .panel-table th,
.page--panel .panel-table td {
  border-bottom: 1px solid rgba(143, 206, 220, 0.14);
}

.page--panel .panel-table th {
  color: #c8e3ec;
  background: rgba(23, 61, 76, 0.74);
}

.page--panel .panel-table td {
  color: #f0f9fd;
}

.page--panel .panel-table td code {
  color: #9fe6ee;
}

.page--panel .panel-dashboard__stat {
  border: 1px solid rgba(143, 206, 220, 0.24);
  background: linear-gradient(180deg, rgba(10, 33, 41, 0.88), rgba(6, 24, 32, 0.92));
}

.page--panel .panel-dashboard__stat span {
  color: #9ebfcb;
}

.page--panel .panel-dashboard__stat strong {
  color: #e8f4f8;
}

.page--panel .panel-dashboard__head h2 {
  color: #e9f4f8;
}

.page--panel .panel-dashboard__head p {
  color: #c4dbe5;
}

.page--panel .panel-module-nav {
  border: 1px solid rgba(143, 206, 220, 0.22);
  background: rgba(10, 31, 42, 0.68);
  position: sticky;
  top: 92px;
  z-index: 12;
  backdrop-filter: blur(8px);
}

.page--panel .panel-module-nav__btn {
  border-color: rgba(143, 206, 220, 0.25);
  background: rgba(16, 44, 57, 0.88);
  color: #eef9fd;
  min-height: 44px;
  letter-spacing: 0.01em;
}

.page--panel .panel-module-nav__btn:hover,
.page--panel .panel-module-nav__btn:focus-visible {
  border-color: rgba(95, 208, 217, 0.55);
}

.page--panel .panel-kpis article {
  border: 1px solid rgba(143, 206, 220, 0.24);
  background: linear-gradient(180deg, rgba(10, 33, 41, 0.88), rgba(6, 24, 32, 0.92));
}

.page--panel .panel-kpis span {
  color: #9ebfcb;
}

.page--panel .panel-kpis strong {
  color: #e8f4f8;
}

.page--panel .panel-divider {
  border-top-color: rgba(143, 206, 220, 0.24);
}

.page--panel .panel-table-action {
  border-color: rgba(143, 206, 220, 0.3);
  background: rgba(16, 44, 57, 0.88);
  color: #f0fbff;
}

.page--panel .panel-table-action--primary {
  background: linear-gradient(135deg, #226c99, #29a3c1);
  border-color: transparent;
  color: #ffffff;
}

.page--panel .panel-table-action--danger {
  background: linear-gradient(135deg, #8f1f2f, #d43b57);
  border-color: transparent;
  color: #ffffff;
}

.page--panel .panel-table-actions-inline select {
  border-color: rgba(143, 206, 220, 0.3);
  background: rgba(16, 44, 57, 0.88);
  color: #f0fbff;
}

.page--panel .panel-modal__dialog {
  border-color: rgba(143, 206, 220, 0.32);
  background: linear-gradient(180deg, rgba(10, 33, 41, 0.96), rgba(6, 24, 32, 0.98));
}

.page--panel .panel-modal__header {
  border-bottom-color: rgba(143, 206, 220, 0.2);
}

.page--panel .panel-modal__header h3 {
  color: #e4f3f8;
}

.page--panel .panel-modal-card,
.page--panel .panel-modal-section {
  border-color: rgba(143, 206, 220, 0.22);
  background: rgba(8, 30, 38, 0.78);
}

.page--panel .panel-modal-card span {
  color: #9ec0cc;
}

.page--panel .panel-modal-card strong,
.page--panel .panel-modal-section h4,
.page--panel .panel-modal-section p,
.page--panel .panel-modal-list {
  color: #e2f2f8;
}

.page--panel .panel-modal-list a {
  color: #8fd7e8;
}

.page--panel .panel-modal-empty {
  color: #9ebfcc;
}

.page--panel .panel-inline-filters__item {
  color: #9fbfcb;
}

.page--panel .panel-inline-filters__item select {
  border-color: rgba(143, 206, 220, 0.3);
  background: rgba(8, 30, 38, 0.78);
  color: #d8ecf4;
}

.page--panel .panel-inline-filters__item--check {
  border-color: rgba(143, 206, 220, 0.3);
  background: rgba(8, 30, 38, 0.78);
  color: #d8ecf4;
}

.page--panel .panel-bulk-actions__count {
  color: #9fbfcb;
}

.page--panel .panel-bulk-actions__delete {
  border-color: rgba(241, 114, 114, 0.48);
  color: #ffd0d0;
}

.page--panel .muted-inline {
  color: #8fb0bc;
}

.page--panel .panel-auth-card {
  border-color: rgba(95, 208, 217, 0.28);
  background: linear-gradient(180deg, rgba(10, 33, 41, 0.95), rgba(6, 24, 32, 0.98));
  max-width: 980px;
  margin-left: auto;
  margin-right: auto;
}

.page--panel.panel-auth-only .panel-auth-card {
  max-width: 560px;
  margin-top: clamp(16px, 6vh, 72px);
}

.page--panel.panel-auth-only .panel-auth-grid {
  grid-template-columns: 1fr;
}

.page--panel .panel-auth-card .panel-form {
  border: 1px solid rgba(143, 206, 220, 0.2);
  background: linear-gradient(180deg, rgba(8, 30, 38, 0.88), rgba(5, 21, 29, 0.92));
  padding: 20px;
  border-radius: 20px;
}

.page--panel .panel-session {
  border: 1px dashed rgba(143, 206, 220, 0.32);
  background: linear-gradient(180deg, rgba(8, 30, 38, 0.85), rgba(5, 20, 27, 0.92));
}

.page--panel .panel-toolbar {
  position: sticky;
  top: 74px;
  z-index: 15;
}

.page--panel .panel-auth-card:not(.panel-auth-card--logged) .panel-auth-grid {
  grid-template-columns: 1fr;
}

.page--panel .panel-auth-card:not(.panel-auth-card--logged) .panel-form {
  max-width: 760px;
  width: 100%;
  margin-left: auto;
  margin-right: auto;
}

.page--panel .panel-auth-card:not(.panel-auth-card--logged) .hero__actions {
  justify-content: flex-start;
}

.page--panel .panel-auth-card .institutional-section-card__head {
  margin-bottom: 14px;
}

.page--panel .panel-auth-card .institutional-section-card__head h2 {
  font-size: clamp(1.7rem, 2.3vw, 2.2rem);
  line-height: 1.12;
}

.page--panel .panel-auth-card .institutional-section-card__head p {
  font-size: 1rem;
  line-height: 1.6;
}

.page--panel .panel-session strong {
  color: #e8f4f8;
}

.page--panel .panel-session p {
  color: #a9c2cd;
}

.page--panel .hint-text {
  border: 1px solid rgba(95, 208, 217, 0.26);
  background: rgba(95, 208, 217, 0.12);
  color: #b6e4ea;
}

.page--panel .hint-text strong {
  color: #e1f7fb;
}

.page--panel .panel-alert--error {
  background: rgba(214, 76, 88, 0.17);
  border-color: rgba(214, 76, 88, 0.34);
  color: #ffd6db;
}

.page--panel .panel-alert--success {
  background: rgba(52, 156, 110, 0.18);
  border-color: rgba(52, 156, 110, 0.36);
  color: #d7ffe9;
}

.page--panel .panel-alert--warning {
  background: rgba(240, 180, 41, 0.2);
  border-color: rgba(240, 180, 41, 0.42);
  color: #ffe9b1;
}

.panel-dashboard__stats--extended {
  margin-top: 8px;
}

.panel-dashboard-charts {
  margin-top: 18px;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
}

.panel-chart-card {
  background: rgba(249, 252, 255, 0.95);
  border: 1px solid rgba(21, 75, 114, 0.14);
  border-radius: 16px;
  padding: 14px;
}

.panel-chart-card h3 {
  margin: 0 0 10px;
  font-size: 0.98rem;
  color: #174b74;
}

.mini-bars {
  display: grid;
  gap: 8px;
}

.mini-bars__row {
  display: grid;
  grid-template-columns: minmax(78px, 110px) 1fr auto;
  align-items: center;
  gap: 10px;
}

.mini-bars__label {
  font-size: 0.78rem;
  color: #4a6175;
}

.mini-bars__track {
  height: 10px;
  border-radius: 999px;
  background: rgba(38, 112, 159, 0.12);
  overflow: hidden;
}

.mini-bars__fill {
  height: 100%;
  border-radius: 999px;
  background: linear-gradient(90deg, #2c79b3, #45b9c8);
}

.mini-bars__value {
  font-size: 0.74rem;
  font-weight: 700;
  color: #1f3f5a;
}

.status-pill {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 72px;
  padding: 0.26rem 0.54rem;
  border-radius: 999px;
  font-size: 0.68rem;
  font-weight: 800;
  letter-spacing: 0.03em;
  text-transform: uppercase;
}

.status-pill--ok {
  background: rgba(50, 163, 101, 0.14);
  color: #0f6c3b;
}

.status-pill--erro {
  background: rgba(189, 53, 69, 0.14);
  color: #9f1221;
}

.status-pill--atencao {
  background: rgba(210, 137, 35, 0.16);
  color: #7b4f00;
}

@media (max-width: 980px) {
  .panel-dashboard-charts {
    grid-template-columns: 1fr;
  }

  .mini-bars__row {
    grid-template-columns: minmax(70px, 96px) 1fr auto;
  }

  .panel-modal-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 720px) {
  .panel-modal {
    padding: 10px;
  }

  .panel-modal__dialog {
    max-height: calc(100vh - 20px);
    border-radius: 12px;
  }

  .panel-modal__header {
    flex-direction: column;
    align-items: flex-start;
  }

  .panel-modal-grid {
    grid-template-columns: 1fr;
  }
}

/* Accessibility contrast pass for light theme */
:root {
  --brand-c: #1c8b99;
  --muted: #4b6374;
}

.site-nav {
  color: #2f4a5f;
}

.site-nav a,
.nav-dropdown__toggle {
  color: #2f4a5f;
}

.nav-dropdown__menu {
  background: rgba(255, 255, 255, 0.98);
  border: 1px solid rgba(44, 91, 115, 0.18);
}

.nav-dropdown__menu a {
  color: #173246;
}

.nav-dropdown__menu a:hover,
.nav-dropdown__menu a:focus-visible {
  background: rgba(46, 132, 194, 0.12);
}

.home-about__promo,
.credit-card--about,
.credit-card--simulator,
.credit-card--request,
.hero-card--brand,
.hero-card--glass {
  background: linear-gradient(180deg, rgba(249, 253, 255, 0.99), rgba(242, 248, 252, 0.99));
}

.home-about__promo,
.credit-card,
.hero-card,
.hero__facts li,
.hero-mini-stats article,
.hero-highlight,
.simulator-form,
.simulator-panel {
  border-color: rgba(44, 91, 115, 0.15);
  box-shadow: 0 18px 38px rgba(18, 56, 78, 0.11);
}

.home-about__promo h2,
.home-about__main h1,
.hero-card h2,
.credit-card h3,
.hero h1,
.section-heading h2 {
  color: #162d3d;
}

.home-about__promo p,
.home-about__lead,
.credit-card__header p,
.credit-card__list span,
.hero-card p,
.hero__facts span,
.hero-mini-stats span,
.hero-highlight span,
.section-heading p {
  color: #4b6374;
}

.eyebrow,
.home-about__label,
.credit-card__tag,
.hero-card__label {
  color: #1c8b99;
}

.home-about__promo-pills span,
.simulator-mini-meta span,
.credit-request__step-chip,
.credit-card__list article {
  background: rgba(255, 255, 255, 0.88);
  border-color: rgba(44, 91, 115, 0.14);
  color: #274457;
}

.home-about__promo .button--secondary,
.credit-card .button--secondary {
  background: rgba(46, 132, 194, 0.08);
  border-color: rgba(44, 91, 115, 0.18);
  color: #1f3f5a;
}

/* Footer + simulator visibility hotfix */
.site-footer--premium .footer-brand strong,
.site-footer--premium .footer-links span,
.site-footer--premium .footer-contact span,
.site-footer--premium .footer-brand p,
.site-footer--premium .footer-contact p,
.site-footer--premium .footer-note small {
  color: #f4f9ff;
}

.site-footer--premium .footer-links a,
.site-footer--premium .footer-contact a {
  color: #ffffff;
}

.site-footer--premium .footer-links a:hover,
.site-footer--premium .footer-contact a:hover,
.site-footer--premium .footer-links a:focus-visible,
.site-footer--premium .footer-contact a:focus-visible {
  color: #9be7f0;
}

.simulator-shell {
  background:
    radial-gradient(circle at top right, rgba(95, 208, 217, 0.16), transparent 32%),
    linear-gradient(180deg, rgba(248, 253, 255, 0.99), rgba(241, 248, 252, 0.99));
  border: 1px solid rgba(44, 91, 115, 0.14);
  box-shadow: 0 24px 56px rgba(18, 56, 78, 0.14);
}

.simulator-form,
.simulator-panel,
.simulator-form--premium,
.simulator-panel--premium {
  background: rgba(255, 255, 255, 0.94);
  border: 1px solid rgba(44, 91, 115, 0.14);
  box-shadow: 0 14px 30px rgba(18, 56, 78, 0.1);
}

.simulator-shell .section-heading h2,
.simulator-form .field label,
.simulator-panel strong,
.result-card strong,
.result-visual__header strong,
.legend {
  color: #163247;
}

.simulator-shell .section-heading p,
.simulator-note,
.result-card span,
.legend span {
  color: #4b6374;
}

.simulator-form input[type="number"],
.simulator-form--premium input[type="number"] {
  background: #ffffff;
  color: #163247;
  border-color: rgba(44, 91, 115, 0.2);
}

.result-card,
.result-visual,
.simulator-form .simulator-note,
.simulator-form--premium .simulator-note,
.simulator-panel--premium .result-card,
.simulator-panel--premium .result-visual {
  background: rgba(245, 251, 255, 0.9);
  border: 1px solid rgba(44, 91, 115, 0.14);
}

/* Simulator visual upgrade */
.simulator-heading {
  max-width: 880px;
}

.simulator-heading__kicker {
  display: inline-flex;
  align-items: center;
  padding: 0.42rem 0.9rem;
  border-radius: 999px;
  border: 1px solid rgba(63, 157, 211, 0.24);
  background: linear-gradient(135deg, rgba(63, 157, 211, 0.16), rgba(73, 197, 210, 0.1));
  color: #1f7694;
  font-size: 0.73rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.simulator-heading h2 {
  margin-top: 12px;
}

.simulator-heading p {
  max-width: 64ch;
}

.credit-card--simulator {
  position: relative;
  overflow: hidden;
  border: 1px solid rgba(44, 91, 115, 0.16);
  background:
    radial-gradient(circle at 8% 10%, rgba(67, 169, 210, 0.14), transparent 28%),
    radial-gradient(circle at 92% 8%, rgba(94, 207, 216, 0.12), transparent 24%),
    linear-gradient(180deg, rgba(252, 255, 255, 0.99), rgba(242, 248, 252, 0.99));
  box-shadow: 0 24px 56px rgba(18, 56, 78, 0.14);
}

.credit-card--simulator::before {
  content: "";
  position: absolute;
  inset: 0 0 auto 0;
  height: 3px;
  background: linear-gradient(90deg, rgba(63, 157, 211, 0.12), rgba(63, 157, 211, 0.5), rgba(63, 157, 211, 0.12));
  pointer-events: none;
}

.credit-card--simulator .simulator-mini-meta {
  margin-bottom: 18px;
}

.credit-card--simulator .simulator-mini-meta span {
  background: rgba(255, 255, 255, 0.93);
  border-color: rgba(52, 117, 161, 0.2);
  color: #244359;
  box-shadow: 0 8px 16px rgba(20, 47, 67, 0.06);
}

.credit-card--simulator .simulator-form--premium,
.credit-card--simulator .simulator-panel--premium {
  background: rgba(255, 255, 255, 0.95);
  border: 1px solid rgba(44, 91, 115, 0.16);
  box-shadow: 0 14px 30px rgba(18, 56, 78, 0.11);
}

.credit-card--simulator .result-card {
  background: rgba(250, 254, 255, 0.98);
  border-color: rgba(44, 91, 115, 0.16);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.78);
}

.credit-card--simulator .result-card strong {
  color: #16425d;
}

.credit-card--simulator .result-card span {
  color: #5e7384;
}

@media (max-width: 760px) {
  .simulator-heading__kicker {
    font-size: 0.68rem;
    letter-spacing: 0.06em;
  }

  .credit-card--simulator .simulator-mini-meta span {
    width: fit-content;
  }
}

/* Home cards + produtos visual upgrade */
.home-about__promo,
.home-about__main {
  position: relative;
  overflow: hidden;
  border: 1px solid rgba(44, 91, 115, 0.18);
  box-shadow: 0 22px 50px rgba(18, 56, 78, 0.12);
  transition: transform 190ms ease, box-shadow 220ms ease, border-color 220ms ease;
}

.home-about__promo::before,
.home-about__main::before {
  content: "";
  position: absolute;
  inset: 0 0 auto 0;
  height: 3px;
  background: linear-gradient(90deg, rgba(63, 157, 211, 0.14), rgba(63, 157, 211, 0.56), rgba(63, 157, 211, 0.14));
  pointer-events: none;
}

.home-about__promo::after {
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at 8% 18%, rgba(63, 157, 211, 0.16), transparent 36%),
    radial-gradient(circle at 88% 88%, rgba(88, 207, 214, 0.12), transparent 30%);
  pointer-events: none;
}

.home-about__promo:hover,
.home-about__main:hover {
  transform: translateY(-2px);
  border-color: rgba(44, 91, 115, 0.24);
  box-shadow: 0 28px 58px rgba(18, 56, 78, 0.16);
}

.home-about__label {
  padding: 0.44rem 0.88rem;
  border-radius: 999px;
  border: 1px solid rgba(63, 157, 211, 0.22);
  background: linear-gradient(135deg, rgba(63, 157, 211, 0.16), rgba(73, 197, 210, 0.1));
  color: #1f7694;
  font-size: 0.74rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.home-about__promo h2 {
  color: #173446;
}

.home-about__promo-pills span {
  background: rgba(255, 255, 255, 0.88);
  border-color: rgba(44, 91, 115, 0.18);
  color: #28465a;
  box-shadow: 0 7px 14px rgba(20, 47, 67, 0.07);
}

.home-about__main {
  background:
    radial-gradient(circle at 95% 12%, rgba(82, 199, 214, 0.12), transparent 28%),
    radial-gradient(circle at 12% 85%, rgba(67, 169, 210, 0.1), transparent 26%),
    linear-gradient(135deg, rgba(255, 253, 249, 0.99), rgba(244, 238, 231, 0.99));
}

.home-about__main-copy .eyebrow {
  display: inline-flex;
  align-items: center;
  margin-bottom: 10px;
  padding: 0.42rem 0.86rem;
  border-radius: 999px;
  border: 1px solid rgba(63, 157, 211, 0.22);
  background: linear-gradient(135deg, rgba(63, 157, 211, 0.13), rgba(73, 197, 210, 0.08));
  color: #1f7694;
  font-size: 0.73rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.home-about__visual {
  border: 1px solid rgba(44, 91, 115, 0.16);
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.38);
}

.products-heading {
  max-width: 900px;
}

.products-heading__kicker {
  display: inline-flex;
  align-items: center;
  padding: 0.42rem 0.9rem;
  border-radius: 999px;
  border: 1px solid rgba(63, 157, 211, 0.24);
  background: linear-gradient(135deg, rgba(63, 157, 211, 0.16), rgba(73, 197, 210, 0.1));
  color: #1f7694;
  font-size: 0.73rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.products-heading h2 {
  margin-top: 12px;
}

.products-heading p {
  max-width: 72ch;
}

.products-public {
  position: relative;
  overflow: hidden;
  margin-top: 2px;
  padding: 22px;
  border-radius: 24px;
  border: 1px solid rgba(44, 91, 115, 0.16);
  background:
    radial-gradient(circle at 8% 12%, rgba(67, 169, 210, 0.1), transparent 28%),
    radial-gradient(circle at 92% 88%, rgba(94, 207, 216, 0.08), transparent 24%),
    linear-gradient(180deg, rgba(252, 255, 255, 0.99), rgba(244, 250, 253, 0.98));
  box-shadow: 0 20px 46px rgba(18, 56, 78, 0.11);
}

.products-public::before {
  content: "";
  position: absolute;
  inset: 0 0 auto 0;
  height: 3px;
  background: linear-gradient(90deg, rgba(63, 157, 211, 0.14), rgba(63, 157, 211, 0.48), rgba(63, 157, 211, 0.14));
  pointer-events: none;
}

.products-card,
.requirements-card {
  position: relative;
  overflow: hidden;
  border-radius: 18px;
  border: 1px solid rgba(143, 206, 220, 0.3);
  background:
    radial-gradient(circle at 92% 12%, rgba(75, 169, 216, 0.2), transparent 34%),
    linear-gradient(180deg, rgba(11, 35, 45, 0.94), rgba(6, 24, 32, 0.97));
  padding: 16px;
  transition: transform 170ms ease, box-shadow 190ms ease, border-color 190ms ease;
}

.products-card::before,
.requirements-card::before {
  content: "";
  position: absolute;
  inset: 0 0 auto 0;
  height: 2px;
  background: linear-gradient(90deg, rgba(143, 206, 220, 0.12), rgba(143, 206, 220, 0.52), rgba(143, 206, 220, 0.12));
  pointer-events: none;
}

.products-card:hover,
.requirements-card:hover {
  transform: translateY(-2px);
  border-color: rgba(143, 206, 220, 0.44);
  box-shadow: 0 16px 28px rgba(5, 20, 31, 0.24);
}

.products-card h3,
.requirements-card h3 {
  font-size: 1.08rem;
  line-height: 1.2;
  margin-bottom: 12px;
}

.products-card ul,
.requirements-card ul {
  gap: 7px;
}

.products-card li,
.requirements-card li {
  line-height: 1.45;
}

.products-card li::marker,
.requirements-card li::marker {
  color: #88c4dd;
}

.products-card li strong {
  color: #e8f7fc;
}

@media (max-width: 760px) {
  .products-public {
    padding: 16px;
    border-radius: 20px;
  }

  .products-heading__kicker {
    font-size: 0.68rem;
    letter-spacing: 0.06em;
  }

  .products-card,
  .requirements-card {
    padding: 13px;
  }
}

/* Relatorios cards upgrade (scoped) */
.page--relatorios .institutional-board {
  position: relative;
  overflow: hidden;
  border: 1px solid rgba(44, 91, 115, 0.18);
  background:
    radial-gradient(circle at 8% 10%, rgba(67, 169, 210, 0.12), transparent 28%),
    radial-gradient(circle at 92% 90%, rgba(94, 207, 216, 0.08), transparent 24%),
    linear-gradient(135deg, rgba(255, 253, 249, 0.99), rgba(244, 238, 231, 0.99));
  box-shadow: 0 26px 62px rgba(18, 56, 78, 0.14);
}

.page--relatorios .institutional-board::before {
  content: "";
  position: absolute;
  inset: 0 0 auto 0;
  height: 3px;
  background: linear-gradient(90deg, rgba(63, 157, 211, 0.14), rgba(63, 157, 211, 0.56), rgba(63, 157, 211, 0.14));
  pointer-events: none;
}

.page--relatorios .institutional-subthemes a {
  border-color: rgba(44, 91, 115, 0.18);
  background: rgba(255, 255, 255, 0.9);
  box-shadow: 0 8px 16px rgba(20, 47, 67, 0.06);
}

.page--relatorios .institutional-subthemes a:hover,
.page--relatorios .institutional-subthemes a:focus-visible {
  transform: translateY(-2px);
  border-color: rgba(63, 157, 211, 0.36);
  background: #ffffff;
}

.page--relatorios .institutional-section-card {
  position: relative;
  overflow: hidden;
  border-radius: 28px;
  border: 1px solid rgba(44, 91, 115, 0.18);
  background:
    radial-gradient(circle at 90% 12%, rgba(63, 157, 211, 0.14), transparent 32%),
    linear-gradient(180deg, rgba(255, 255, 255, 0.96), rgba(247, 251, 254, 0.98));
  box-shadow: 0 18px 42px rgba(18, 56, 78, 0.1);
  transition: transform 180ms ease, box-shadow 220ms ease, border-color 220ms ease;
}

.page--relatorios .institutional-section-card::before {
  content: "";
  position: absolute;
  inset: 0 0 auto 0;
  height: 3px;
  background: linear-gradient(90deg, rgba(63, 157, 211, 0.14), rgba(63, 157, 211, 0.52), rgba(63, 157, 211, 0.14));
  pointer-events: none;
}

.page--relatorios .institutional-section-card:hover {
  transform: translateY(-2px);
  border-color: rgba(44, 91, 115, 0.24);
  box-shadow: 0 24px 52px rgba(18, 56, 78, 0.14);
}

.page--relatorios .institutional-kicker {
  display: inline-flex;
  align-items: center;
  padding: 0.42rem 0.88rem;
  border-radius: 999px;
  border: 1px solid rgba(63, 157, 211, 0.22);
  background: linear-gradient(135deg, rgba(63, 157, 211, 0.16), rgba(73, 197, 210, 0.09));
  color: #1f7694;
  font-size: 0.73rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.page--relatorios .institutional-section-card__head h2 {
  margin-top: 12px;
}

.page--relatorios .institutional-profile__block {
  position: relative;
  border: 1px solid rgba(44, 91, 115, 0.14);
  border-radius: 18px;
  background:
    radial-gradient(circle at 95% 5%, rgba(63, 157, 211, 0.1), transparent 30%),
    rgba(250, 253, 255, 0.96);
  box-shadow: 0 10px 22px rgba(20, 47, 67, 0.06);
}

.page--relatorios .institutional-profile__block h3 {
  color: #173446;
}

.page--relatorios .institutional-profile__block ul li::marker {
  color: #4ea3c8;
}

.page--relatorios .institutional-entry {
  border: 1px solid rgba(44, 91, 115, 0.14);
  border-radius: 18px;
  background:
    radial-gradient(circle at 92% 12%, rgba(63, 157, 211, 0.08), transparent 34%),
    rgba(251, 254, 255, 0.98);
  box-shadow: 0 10px 22px rgba(20, 47, 67, 0.06);
  transition: transform 170ms ease, border-color 190ms ease, box-shadow 190ms ease;
}

.page--relatorios .institutional-entry:hover {
  transform: translateY(-2px);
  border-color: rgba(63, 157, 211, 0.32);
  box-shadow: 0 16px 30px rgba(20, 47, 67, 0.1);
}

.page--relatorios .institutional-entry strong {
  color: #19394f;
}

.page--relatorios .entry-pill {
  border: 1px solid rgba(63, 157, 211, 0.24);
  background: linear-gradient(135deg, rgba(63, 157, 211, 0.14), rgba(73, 197, 210, 0.1));
  color: #1f5f84;
  box-shadow: 0 8px 16px rgba(20, 47, 67, 0.08);
  transition: transform 170ms ease, border-color 190ms ease, background 190ms ease;
}

.page--relatorios .entry-pill:hover,
.page--relatorios .entry-pill:focus-visible {
  transform: translateY(-1px);
  border-color: rgba(63, 157, 211, 0.38);
  background: linear-gradient(135deg, rgba(63, 157, 211, 0.2), rgba(73, 197, 210, 0.14));
}

@media (max-width: 760px) {
  .page--relatorios .institutional-board {
    padding: 18px;
    border-radius: 24px;
  }

  .page--relatorios .institutional-section-card {
    padding: 20px;
    border-radius: 22px;
  }

  .page--relatorios .institutional-profile__block,
  .page--relatorios .institutional-entry {
    padding: 14px;
    border-radius: 14px;
  }
}

/* Mobile navigation + testimonial fixes */
.site-nav-overlay {
  position: fixed;
  inset: 0;
  z-index: 120;
  border: 0;
  background: rgba(5, 16, 24, 0.4);
  backdrop-filter: blur(4px);
  opacity: 0;
  pointer-events: none;
  transition: opacity 220ms ease;
}

body.has-mobile-nav-open .site-nav-overlay {
  opacity: 1;
  pointer-events: auto;
}

.site-nav-toggle {
  display: none;
  width: 52px;
  height: 52px;
  padding: 0;
  border: 1px solid rgba(46, 132, 194, 0.34);
  border-radius: 16px;
  background:
    radial-gradient(circle at top right, rgba(73, 197, 210, 0.22), transparent 56%),
    linear-gradient(145deg, rgba(255, 255, 255, 0.98), rgba(238, 248, 252, 0.98));
  align-items: center;
  justify-content: center;
  flex-direction: column;
  gap: 3px;
  cursor: pointer;
  box-shadow:
    0 12px 22px rgba(17, 62, 88, 0.14),
    inset 0 1px 0 rgba(255, 255, 255, 0.85);
  transition: transform 180ms ease, box-shadow 220ms ease, border-color 220ms ease;
}

.site-nav-toggle::after {
  content: "Menu";
  display: block;
  margin-top: 1px;
  font-size: 0.5rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: #245973;
  line-height: 1;
}

.site-header.is-nav-open .site-nav-toggle::after {
  content: "Fechar";
}

.site-nav-toggle:hover,
.site-nav-toggle:focus-visible {
  transform: translateY(-1px);
  border-color: rgba(46, 132, 194, 0.55);
  box-shadow: 0 16px 28px rgba(17, 62, 88, 0.2);
}

.site-nav-toggle span {
  display: block;
  width: 18px;
  height: 2px;
  border-radius: 2px;
  background: #23516a;
  transition: transform 190ms ease, opacity 160ms ease, width 190ms ease;
}

.site-header.is-nav-open .site-nav-toggle span:nth-child(1) {
  transform: translateY(5px) rotate(45deg);
  width: 19px;
}

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

.site-header.is-nav-open .site-nav-toggle span:nth-child(3) {
  transform: translateY(-5px) rotate(-45deg);
  width: 19px;
}

@media (max-width: 900px) {
  body.has-mobile-nav-open {
    overflow: hidden;
  }

  .site-header {
    position: sticky;
    top: max(10px, env(safe-area-inset-top));
    z-index: 140;
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
    align-items: center;
    gap: 10px;
    overflow: visible;
  }

  .brand {
    min-width: 0;
  }

  .brand__icon {
    width: 48px;
    height: 48px;
  }

  .brand__copy strong {
    font-size: 1.04rem;
    line-height: 1.1;
  }

  .brand__copy small {
    font-size: 0.7rem;
    letter-spacing: 0.08em;
  }

  .site-nav {
    display: flex;
    grid-column: 1 / -1;
    order: 3;
    width: 100%;
    flex-wrap: wrap;
    gap: 8px;
    align-items: stretch;
    justify-content: flex-start;
  }

  .site-nav a {
    display: block;
    padding: 11px 12px;
    border-radius: 12px;
  }

  .site-nav a::after {
    display: none;
  }

  .site-nav a:hover,
  .site-nav a:focus-visible {
    background: rgba(46, 132, 194, 0.1);
  }

  .site-nav-toggle {
    display: none;
  }

  .has-mobile-nav-js .site-nav-toggle {
    display: inline-flex;
    grid-column: 2;
    grid-row: 1;
    justify-self: end;
    z-index: 142;
  }

  .has-mobile-nav-js .site-nav {
    max-height: 0;
    opacity: 0;
    overflow: hidden;
    pointer-events: none;
    transform: translateY(-10px);
    padding: 0 12px;
    margin-top: 0;
    border: 1px solid transparent;
    border-radius: 16px;
    background: rgba(255, 255, 255, 0.985);
    box-shadow: 0 16px 34px rgba(17, 62, 88, 0.14);
    flex-direction: column;
    gap: 6px;
    transition:
      max-height 240ms ease,
      opacity 190ms ease,
      transform 210ms ease,
      padding 200ms ease,
      margin-top 200ms ease,
      border-color 200ms ease;
  }

  .has-mobile-nav-js .site-header.is-nav-open .site-nav {
    position: fixed;
    left: 12px;
    right: 12px;
    top: calc(env(safe-area-inset-top) + 86px);
    max-height: min(70vh, 420px);
    opacity: 1;
    pointer-events: auto;
    transform: translateY(0);
    overflow-y: auto;
    padding: 12px;
    margin-top: 0;
    border-color: rgba(44, 91, 115, 0.2);
    z-index: 145;
  }

  .has-mobile-nav-js .site-header__actions {
    display: none !important;
    grid-column: 1 / -1;
    order: 4;
    width: 100%;
  }

  .has-mobile-nav-js .site-header.is-nav-open .site-header__actions {
    display: flex !important;
    flex-direction: column;
    margin-top: 4px;
    gap: 8px;
  }

  .has-mobile-nav-js .site-header.is-nav-open .site-header__actions .button {
    width: 100%;
  }
}

@media (max-width: 980px) {
  .testimonials--premium .testimonial-stage {
    grid-template-columns: 1fr !important;
    gap: 14px;
  }

  .testimonials--premium .testimonial-stage.is-carousel {
    min-height: 348px;
  }

  .testimonials--premium .testimonials-controls {
    display: inline-flex;
  }

  .testimonials--premium .testimonial-card--premium {
    grid-template-columns: minmax(0, 1fr) !important;
    gap: 12px;
    padding: 16px;
    border-radius: 20px;
    align-items: start;
  }

  .testimonials--premium .testimonial-card__media {
    width: 74px;
    min-width: 74px;
    margin-bottom: 4px;
  }

  .testimonials--premium .testimonial-card__body {
    gap: 10px;
  }

  .testimonials--premium .testimonial-card__quote-mark {
    font-size: 2.1rem;
    top: -7px;
    right: 2px;
  }

  .testimonials--premium .testimonial-card__eyebrow {
    font-size: 0.69rem;
    letter-spacing: 0.045em;
    white-space: normal;
    line-height: 1.25;
  }

  .testimonials--premium .testimonial-card--premium p {
    margin: 0;
    font-size: 0.99rem;
    line-height: 1.58;
    text-align: left !important;
    text-justify: auto !important;
    hyphens: none !important;
    word-break: normal !important;
    overflow-wrap: break-word;
    text-wrap: pretty;
  }

  .testimonials--premium .testimonial-card__meta {
    margin-top: 2px;
    padding-top: 9px;
    border-top: 1px solid rgba(28, 80, 106, 0.14);
  }

  .testimonials--premium .testimonial-card__meta strong {
    font-size: 1.02rem;
  }
}

@media (max-width: 560px) {
  .testimonials--premium .testimonial-card--premium {
    padding: 14px;
    border-radius: 18px;
  }

  .testimonials--premium .testimonials-controls {
    margin-top: 10px;
    padding: 0.42rem 0.52rem;
    gap: 8px;
  }

  .testimonials--premium .testimonials-controls__nav {
    width: 30px;
    height: 30px;
    font-size: 1.1rem;
  }

  .testimonials--premium .testimonial-card__media {
    width: 66px;
    min-width: 66px;
  }

  .testimonials--premium .testimonial-card--premium p {
    font-size: 0.96rem;
    line-height: 1.5;
  }
}

/* Step 2: Typography + contrast refinement */
:root {
  --text-strong: #132d3f;
  --text-body: #3f596d;
  --text-muted-2: #556f82;
  --text-on-dark: #eaf5fb;
  --text-on-dark-soft: #c7deea;
}

body {
  text-rendering: optimizeLegibility;
  -webkit-font-smoothing: antialiased;
}

.site-nav a,
.nav-dropdown__toggle {
  color: #26465a;
  font-weight: 700;
}

.nav-dropdown__menu a {
  color: #173448;
  font-weight: 600;
}

.section-heading h2,
.page--home .section-heading h2,
.section-heading--minimal h2,
.home-about__promo h2,
.home-about__main h1,
.products-heading h2,
.institutional-hero__copy h1,
.institutional-section-card__head h2,
.credit-card--request .section-heading h2 {
  color: var(--text-strong);
  line-height: 1.1;
  letter-spacing: -0.022em;
}

.section-heading p,
.home-about__promo p,
.home-about__lead,
.home-about__main-copy p,
.simulator-heading p,
.simulator-shell .section-heading p,
.simulator-note,
.credit-request-docs p,
.credit-request-check,
.institutional-hero__lead,
.institutional-board__note,
.institutional-section-card__head p,
.institutional-profile__block p,
.institutional-entry p {
  color: var(--text-body);
  line-height: 1.7;
}

.home-about__label,
.home-about__main-copy .eyebrow,
.products-heading__kicker,
.testimonials-heading__kicker,
.institutional-kicker {
  color: #1d6f8c;
  border-color: rgba(44, 117, 150, 0.26);
}

.simulator-form .field label,
.simulator-form--premium .field label,
.simulator-panel strong,
.result-card strong,
.result-visual__header strong,
.legend {
  color: #153247;
  font-weight: 800;
}

.simulator-form input[type="number"],
.simulator-form--premium input[type="number"] {
  color: #173449;
  font-weight: 700;
}

.simulator-form input[type="number"]::placeholder,
.simulator-form--premium input[type="number"]::placeholder {
  color: #678194;
}

.result-card span,
.legend span,
.field__value,
.simulator-mini-meta span {
  color: #436076;
}

.products-card,
.requirements-card {
  color: var(--text-on-dark);
}

.products-card h3,
.requirements-card h3,
.products-card strong,
.requirements-card strong {
  color: #f5fbff;
}

.products-card li,
.requirements-card li,
.products-card p,
.requirements-card p {
  color: var(--text-on-dark-soft);
  line-height: 1.55;
}

.products-card li::marker,
.requirements-card li::marker {
  color: #a7d8ea;
}

.testimonial-card--premium p {
  color: #28485d;
  line-height: 1.62;
}

.testimonial-card--premium .testimonial-card__meta span {
  color: #5a7587;
}

.testimonial-card--premium .testimonial-card__meta strong {
  color: #1a3448;
}

.testimonial-card__rating {
  color: #7f6513;
}

.site-footer--premium .footer-brand p,
.site-footer--premium .footer-contact p,
.site-footer--premium .footer-note small {
  color: #eef8ff;
}

.site-footer--premium .footer-links a,
.site-footer--premium .footer-contact a {
  color: #ffffff;
  font-weight: 600;
}

@media (max-width: 760px) {
  .section-heading h2,
  .page--home .section-heading h2,
  .section-heading--minimal h2,
  .products-heading h2 {
    font-size: clamp(1.9rem, 8vw, 2.35rem);
  }

  .section-heading p,
  .home-about__promo p,
  .home-about__lead,
  .simulator-shell .section-heading p,
  .testimonial-card--premium p,
  .institutional-section-card__head p,
  .institutional-entry p {
    font-size: 1rem;
    line-height: 1.62;
  }
}

/* Step 3: Navigation + architecture */
.site-nav a.is-active,
.footer-links a.is-active {
  color: #173e59;
  font-weight: 800;
}

.site-nav a.is-active::after {
  transform: scaleX(1);
}

.services-jump {
  margin: 14px 0 18px;
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  align-items: center;
  gap: 8px;
  padding: 10px;
  border-radius: 16px;
  border: 1px solid rgba(52, 114, 155, 0.2);
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.94), rgba(244, 250, 254, 0.96));
  box-shadow: 0 12px 24px rgba(17, 62, 88, 0.08);
}

.services-jump a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 38px;
  padding: 0.52rem 0.9rem;
  border-radius: 999px;
  border: 1px solid rgba(44, 91, 115, 0.18);
  background: rgba(255, 255, 255, 0.86);
  color: #284c61;
  font-weight: 700;
  font-size: 0.86rem;
  transition: transform 170ms ease, border-color 180ms ease, background 180ms ease;
}

.services-jump a + a {
  position: relative;
}

.services-jump a + a::before {
  content: "";
  position: absolute;
  left: -6px;
  top: 50%;
  width: 1px;
  height: 22px;
  transform: translateY(-50%);
  background: rgba(63, 140, 186, 0.24);
}

.services-jump a:hover,
.services-jump a:focus-visible {
  transform: translateY(-1px);
  border-color: rgba(46, 132, 194, 0.34);
  background: rgba(255, 255, 255, 0.98);
}

.services-strip__cta-row {
  margin: 2px 0 12px;
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  justify-content: center;
}

.services-strip__cta-row .button {
  min-height: 42px;
}

@media (max-width: 760px) {
  .services-jump {
    gap: 8px;
    margin: 12px 0 16px;
    justify-content: center;
    padding: 8px;
  }

  .services-jump a {
    min-height: 34px;
    padding: 0.45rem 0.76rem;
    font-size: 0.8rem;
  }

  .services-jump a + a::before {
    display: none;
  }

  .services-strip__cta-row {
    margin-top: 0;
    gap: 8px;
  }

  .services-strip__cta-row .button {
    width: 100%;
    justify-content: center;
  }

  .home-about__promo-gallery {
    border-radius: 16px;
    aspect-ratio: 4 / 3;
  }

  .home-about__promo-slide figcaption {
    left: 8px;
    right: 8px;
    bottom: 8px;
    font-size: 0.7rem;
    padding: 0.36rem 0.54rem;
  }
}

/* Step 4: Performance + render stability */
.page--home #home.section-reveal,
.page--relatorios .institutional-hero.section-reveal,
.page--relatorios .institutional-board.section-reveal {
  opacity: 1;
  transform: none;
}

@supports (content-visibility: auto) {
  .page--home .credit-showcase.section-reveal,
  .page--home .testimonials.section-reveal {
    content-visibility: auto;
    contain-intrinsic-size: 1px 980px;
  }
}

.page--relatorios .institutional-board.section-reveal {
  content-visibility: visible;
  contain-intrinsic-size: auto;
}

/* Step 5: Kicker band alignment */
.simulator-heading,
.products-heading,
.testimonials-heading {
  margin-inline: auto;
  text-align: center;
}

.simulator-heading__kicker,
.products-heading__kicker,
.testimonials-heading__kicker {
  display: flex;
  align-items: center;
  justify-content: center;
  width: min(100%, 760px);
  margin: 0 auto 12px;
  text-align: center;
}

.simulator-heading p,
.products-heading p,
.testimonials-heading p {
  margin-inline: auto;
}

@media (max-width: 760px) {
  .simulator-heading__kicker,
  .products-heading__kicker,
  .testimonials-heading__kicker {
    width: 100%;
    margin-bottom: 10px;
  }
}

/* Step 6: Brand polish + stronger social proof */
.site-header {
  position: sticky;
}

.site-header::after {
  content: "";
  position: absolute;
  left: 18px;
  right: 18px;
  bottom: 8px;
  height: 2px;
  border-radius: 999px;
  background: linear-gradient(
    90deg,
    rgba(54, 165, 209, 0),
    rgba(54, 165, 209, 0.42),
    rgba(74, 191, 212, 0.22),
    rgba(54, 165, 209, 0)
  );
  pointer-events: none;
}

.brand__icon {
  border-radius: 16px;
  border: 1px solid rgba(63, 157, 211, 0.22);
  background: linear-gradient(140deg, rgba(245, 252, 255, 0.98), rgba(232, 245, 252, 0.95));
  box-shadow: 0 10px 18px rgba(24, 76, 106, 0.14);
  padding: 6px;
}

.brand__copy strong {
  color: #193851;
  letter-spacing: 0.015em;
}

.brand__copy small {
  color: #4a667d;
}

.services-strip__icon {
  border-color: rgba(65, 149, 196, 0.44);
  background:
    radial-gradient(circle at 28% 20%, rgba(255, 255, 255, 0.9), transparent 42%),
    linear-gradient(145deg, rgba(96, 178, 215, 0.3), rgba(80, 130, 199, 0.12));
  color: #2e6d9a;
}

.services-strip__item {
  border-color: rgba(57, 123, 168, 0.2);
}

.services-strip__name {
  color: #1f3f77;
}

.testimonials-trust {
  margin: 12px auto 0;
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 8px;
}

.testimonials-trust span {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 34px;
  padding: 0.4rem 0.78rem;
  border-radius: 999px;
  border: 1px solid rgba(63, 157, 211, 0.24);
  background: rgba(255, 255, 255, 0.74);
  color: #2b5676;
  font-size: 0.78rem;
  font-weight: 700;
}

.testimonial-card__trust {
  display: inline-flex;
  align-items: center;
  width: fit-content;
  padding: 0.24rem 0.62rem;
  border-radius: 999px;
  border: 1px solid rgba(73, 164, 200, 0.28);
  background: rgba(73, 164, 200, 0.09);
  color: #2c617f;
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.04em;
}

@media (max-width: 900px) {
  .site-header::after {
    left: 12px;
    right: 12px;
    bottom: 6px;
  }

  .brand__icon {
    border-radius: 14px;
    padding: 5px;
  }
}

@media (max-width: 760px) {
  .testimonials-trust {
    gap: 6px;
    margin-top: 10px;
  }

  .testimonials-trust span {
    min-height: 30px;
    font-size: 0.72rem;
    padding: 0.34rem 0.66rem;
  }

  .testimonial-card__trust {
    font-size: 0.7rem;
  }
}

/* Relatorios mobile/tablet flow: gallery first + single column */
@media (max-width: 980px) {
  .page--relatorios .institutional-hero--premium {
    grid-template-columns: 1fr;
    gap: 16px;
  }

  .page--relatorios .institutional-hero__visual {
    order: -1;
  }

  .page--relatorios .institutional-hero__copy {
    order: 1;
  }

  .page--relatorios .institutional-sections {
    grid-template-columns: 1fr;
  }

  .page--relatorios #sobre,
  .page--relatorios #equipa,
  .page--relatorios #legal,
  .page--relatorios #relatorios,
  .page--relatorios .institutional-section-card--wide {
    grid-column: auto;
  }
}



/* Services top overview */
.home-about__lead--rich {
  max-width: none;
}

.services-marquee {
  margin-top: 6px;
}

.services-marquee__viewport {
  overflow: hidden;
  width: 100%;
}

.services-marquee__track {
  display: flex;
  align-items: stretch;
  gap: 16px;
  width: max-content;
  animation: servicesMarquee 42s linear infinite;
  will-change: transform;
}

.services-marquee:hover .services-marquee__track {
  animation-play-state: paused;
}

.services-marquee__card {
  width: min(320px, 78vw);
  padding: 18px 18px 16px;
  border-radius: 22px;
  border: 1px solid rgba(44, 91, 115, 0.14);
  background: rgba(255, 255, 255, 0.92);
  box-shadow: 0 14px 26px rgba(18, 56, 78, 0.08);
}

.services-marquee__card--mini {
  border-color: rgba(44, 91, 115, 0.18);
}

.services-marquee__card--mais {
  border-color: rgba(43, 142, 199, 0.26);
  box-shadow: 0 16px 30px rgba(43, 142, 199, 0.12);
}

.services-marquee__tag {
  display: inline-flex;
  align-items: center;
  padding: 0.35rem 0.72rem;
  border-radius: 999px;
  background: rgba(43, 142, 199, 0.1);
  color: #18769a;
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.services-marquee__card h3 {
  margin: 12px 0 8px;
  color: #173446;
  font-size: 1.02rem;
}

.services-marquee__card p {
  margin: 0;
  color: #56697a;
  line-height: 1.58;
  font-size: 0.96rem;
}

.services-marquee__card ul {
  margin: 12px 0 0;
  padding-left: 18px;
  color: #2f4354;
  display: grid;
  gap: 8px;
}

body.view-servicos .home-about {
  padding-block: 18px 12px;
}

body.view-servicos .home-about__grid {
  grid-template-columns: 1fr;
}

body.view-servicos .home-about__promo,
body.view-servicos .home-about__visual,
body.view-servicos .home-about__promo-gallery,
body.view-servicos .home-about__promo-slide,
body.view-servicos .home-about__promo-dots,
body.view-servicos #homePromoText,
body.view-servicos #homePromoPills,
body.view-servicos .hero__actions {
  display: none !important;
}

body.view-servicos .home-about__main {
  grid-template-columns: 1fr;
  padding: 20px 22px;
  min-height: auto;
}

body.view-servicos .home-about__main-copy {
  padding: 0;
}

body.view-servicos .home-about__main-copy .eyebrow {
  margin-bottom: 12px;
}

/* Serviços route compact slider */
body.view-servicos .services-strip {
  grid-template-columns: minmax(0, 1fr);
  padding: 14px 16px;
  margin-bottom: 12px;
}

body.view-servicos .services-strip__label,
body.view-servicos .services-strip__nav,
body.view-servicos .services-strip__cta-row,
body.view-servicos .services-jump {
  display: none !important;
}

body.view-servicos .services-strip__viewport {
  overflow: hidden;
}

body.view-servicos .services-strip__track {
  gap: 10px;
  padding: 2px 0;
}

body.view-servicos .services-strip__item {
  min-height: 132px;
  padding: 12px 14px;
}

@keyframes servicesMarquee {
  from { transform: translateX(0); }
  to { transform: translateX(calc(-50% - 8px)); }
}

@media (max-width: 768px) {
  .services-marquee__card {
    width: min(280px, 84vw);
    padding: 16px;
    border-radius: 18px;
  }

  body.view-servicos .home-about__main {
    padding: 18px 16px;
  }
}


/* Footer menu premium polish v20260504 */
.site-footer--premium .footer-links {
  display: grid;
  gap: 12px;
  align-content: start;
}

.site-footer--premium .footer-links span {
  display: inline-flex;
  align-items: center;
  width: fit-content;
  min-height: 30px;
  padding: 0 12px;
  border-radius: 999px;
  background: rgba(122, 198, 215, 0.12);
  border: 1px solid rgba(122, 198, 215, 0.18);
  color: #f4fbff;
  letter-spacing: 0.02em;
}

.site-footer--premium .footer-links a {
  position: relative;
  display: flex;
  align-items: center;
  min-height: 48px;
  width: 100%;
  padding: 0 16px 0 44px;
  border-radius: 16px;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.055), rgba(255, 255, 255, 0.02));
  border: 1px solid rgba(122, 198, 215, 0.12);
  color: #ffffff;
  font-weight: 700;
  letter-spacing: 0.01em;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.03);
  transition: transform 180ms ease, border-color 180ms ease, background 180ms ease, box-shadow 180ms ease;
}

.site-footer--premium .footer-links a::before {
  content: "";
  position: absolute;
  left: 16px;
  top: 50%;
  width: 10px;
  height: 10px;
  border-radius: 999px;
  transform: translateY(-50%);
  background: linear-gradient(180deg, #7ac6d7, #4da8bf);
  box-shadow: 0 0 0 5px rgba(122, 198, 215, 0.12);
}

.site-footer--premium .footer-links a:hover,
.site-footer--premium .footer-links a:focus-visible {
  transform: translateY(-1px);
  border-color: rgba(122, 198, 215, 0.34);
  background: linear-gradient(180deg, rgba(25, 76, 98, 0.42), rgba(10, 34, 45, 0.34));
  box-shadow: 0 16px 24px rgba(0, 0, 0, 0.18);
}

.site-footer--premium .footer-links a.is-active {
  color: #08151b;
  background: linear-gradient(135deg, #7ac6d7, #d8f2f7);
  border-color: rgba(122, 198, 215, 0.42);
  box-shadow: 0 14px 26px rgba(122, 198, 215, 0.22);
}

.site-footer--premium .footer-links a.is-active::before {
  background: linear-gradient(180deg, #0d3f4e, #112733);
  box-shadow: 0 0 0 5px rgba(13, 63, 78, 0.12);
}

@media (max-width: 760px) {
  .site-footer--premium .footer-links {
    gap: 10px;
  }

  .site-footer--premium .footer-links a {
    min-height: 46px;
    padding: 0 14px 0 40px;
    border-radius: 14px;
    font-size: 0.95rem;
  }

  .site-footer--premium .footer-links a::before {
    left: 14px;
    width: 9px;
    height: 9px;
  }
}


/* Footer compact professional refinement v20260504b */
.site-footer--premium {
  padding: 26px 0 70px;
}

.site-footer--premium .footer-shell--premium {
  padding: 22px;
  border-radius: 28px;
}

.site-footer--premium .footer-grid--premium {
  grid-template-columns: minmax(0, 1fr) minmax(150px, 0.46fr) minmax(210px, 0.72fr);
  gap: 14px;
}

.site-footer--premium .footer-grid--premium > div {
  padding: 14px;
  border-radius: 18px;
}

.site-footer--premium .footer-brand {
  gap: 12px;
}

.site-footer--premium .footer-brand img {
  width: 52px;
  height: 52px;
}

.site-footer--premium .footer-brand p,
.site-footer--premium .footer-contact p,
.site-footer--premium .footer-note small {
  font-size: 0.9rem;
  line-height: 1.55;
}

.site-footer--premium .footer-links {
  gap: 9px;
}

.site-footer--premium .footer-links a {
  min-height: 42px;
  padding: 0 14px 0 38px;
  border-radius: 14px;
  font-size: 0.92rem;
}

.site-footer--premium .footer-links a::before {
  left: 14px;
  width: 8px;
  height: 8px;
}

.site-footer--premium .footer-links a.is-active {
  color: #ffffff;
  background: linear-gradient(180deg, rgba(25, 76, 98, 0.54), rgba(10, 34, 45, 0.44));
  border-color: rgba(122, 198, 215, 0.34);
  box-shadow: 0 12px 22px rgba(0, 0, 0, 0.16);
}

.site-footer--premium .footer-links a.is-active::before {
  background: linear-gradient(180deg, #7ac6d7, #d8f2f7);
  box-shadow: 0 0 0 4px rgba(122, 198, 215, 0.14);
}

.site-footer--premium .footer-contact {
  gap: 10px;
}

.site-footer--premium .footer-contact a {
  width: 100%;
  justify-content: flex-start;
  min-height: 40px;
  padding: 0 12px;
  border-radius: 12px;
  font-size: 0.9rem;
}

.site-footer--premium .footer-share {
  gap: 8px;
}

.site-footer--premium .footer-share__actions {
  gap: 8px;
}

.site-footer--premium .footer-share__actions a,
.site-footer--premium .footer-share__copy {
  min-height: 38px;
  padding: 0 12px;
  border-radius: 12px;
  font-size: 0.82rem;
}

.site-footer--premium .footer-note {
  margin-top: 14px;
  padding-top: 12px;
  gap: 6px;
}

@media (max-width: 760px) {
  .site-footer--premium {
    padding: 22px 0 58px;
  }

  .site-footer--premium .footer-shell--premium {
    padding: 18px;
    border-radius: 24px;
  }

  .site-footer--premium .footer-grid--premium > div {
    padding: 13px;
    border-radius: 16px;
  }

  .site-footer--premium .footer-links a,
  .site-footer--premium .footer-contact a {
    min-height: 40px;
    font-size: 0.88rem;
  }

  .site-footer--premium .footer-share__actions {
    flex-wrap: wrap;
  }
}


/* Footer redesign: cleaner two-column system v20260504c */
.site-footer--premium .footer-grid--premium {
  grid-template-columns: minmax(0, 1.08fr) minmax(280px, 0.92fr);
  align-items: start;
}

.site-footer--premium .footer-stack {
  display: grid;
  gap: 14px;
  min-height: 100%;
}

.site-footer--premium .footer-stack .footer-brand,
.site-footer--premium .footer-stack .footer-links,
.site-footer--premium .footer-contact {
  min-height: auto;
}

.site-footer--premium .footer-links,
.site-footer--premium .footer-contact {
  display: grid;
  gap: 10px;
  align-content: start;
}

.site-footer--premium .footer-contact__chips {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.site-footer--premium .footer-contact > a,
.site-footer--premium .footer-contact__chips a {
  width: fit-content;
}

.site-footer--premium .footer-contact p {
  margin: 0;
}

.site-footer--premium .footer-contact p strong {
  color: #f6fbff;
  font-size: 0.92rem;
}

.site-footer--premium .footer-share {
  margin-top: 4px;
}

.site-footer--premium .footer-share__actions {
  gap: 8px;
}

.site-footer--premium .footer-share__actions a,
.site-footer--premium .footer-share__copy {
  min-height: 36px;
  border-radius: 999px;
}

.site-footer--premium .footer-note {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 14px;
}

@media (max-width: 900px) {
  .site-footer--premium .footer-grid--premium {
    grid-template-columns: 1fr;
  }

  .site-footer--premium .footer-note {
    flex-direction: column;
    align-items: flex-start;
  }
}


/* Header premium polish v20260504 */
.site-header {
  padding: 14px 18px;
  border-radius: 30px;
  border: 1px solid rgba(91, 176, 210, 0.18);
  background:
    radial-gradient(circle at top right, rgba(108, 199, 217, 0.12), transparent 28%),
    linear-gradient(180deg, rgba(255, 255, 255, 0.96), rgba(244, 250, 253, 0.94));
  box-shadow: 0 20px 44px rgba(17, 62, 88, 0.12);
  backdrop-filter: blur(12px);
}

.site-header::before {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: inherit;
  pointer-events: none;
  box-shadow: inset 0 1px 0 rgba(255,255,255,0.72);
}

.brand {
  gap: 12px;
}

.brand__copy strong {
  font-size: 1.02rem;
}

.brand__copy small {
  font-size: 0.72rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.site-nav {
  gap: 10px;
}

.site-nav a {
  min-height: 42px;
  padding: 0 12px;
  border-radius: 999px;
  color: #25455a;
  font-weight: 700;
  letter-spacing: 0.01em;
  transition: background 180ms ease, color 180ms ease, transform 180ms ease, box-shadow 180ms ease;
}

.site-nav a:hover,
.site-nav a:focus-visible {
  color: #16384b;
  background: rgba(68, 164, 194, 0.1);
  box-shadow: inset 0 0 0 1px rgba(68, 164, 194, 0.14);
}

.site-nav a.is-active,
.site-nav a[aria-current='page'] {
  color: #083548;
  background: linear-gradient(180deg, rgba(122, 198, 215, 0.22), rgba(122, 198, 215, 0.08));
  box-shadow: inset 0 0 0 1px rgba(122, 198, 215, 0.24);
}

.site-header__actions {
  gap: 10px;
}

.site-header__actions .button {
  min-height: 44px;
  border-radius: 999px;
  padding-inline: 18px;
}

.site-nav-toggle {
  width: 48px;
  height: 48px;
  border-radius: 15px;
  background:
    radial-gradient(circle at top right, rgba(84, 190, 211, 0.18), transparent 52%),
    linear-gradient(145deg, rgba(255, 255, 255, 0.98), rgba(235, 246, 251, 0.96));
  box-shadow: 0 14px 28px rgba(17, 62, 88, 0.16), inset 0 1px 0 rgba(255,255,255,0.88);
}

.site-nav-toggle::after {
  color: #2a6583;
}

@media (max-width: 900px) {
  .site-header {
    padding: 12px 14px;
    border-radius: 24px;
  }

  .brand {
    gap: 10px;
  }

  .brand__icon {
    width: 46px;
    height: 46px;
  }

  .brand__copy strong {
    font-size: 0.98rem;
  }

  .has-mobile-nav-js .site-nav {
    border-radius: 22px;
    background:
      radial-gradient(circle at top right, rgba(84, 190, 211, 0.14), transparent 28%),
      linear-gradient(180deg, rgba(255, 255, 255, 0.995), rgba(242, 249, 252, 0.985));
    box-shadow: 0 22px 42px rgba(17, 62, 88, 0.16);
  }

  .has-mobile-nav-js .site-nav a {
    min-height: 46px;
    padding: 0 14px;
    border-radius: 14px;
    font-weight: 700;
  }

  .has-mobile-nav-js .site-header__actions .button {
    min-height: 46px;
  }
}


/* Panel readability polish v20260504 */
.page--panel .panel-subtitle {
  color: #f4fbff;
}

.page--panel .panel-subsection__head p {
  color: #d2e6ee;
}

.page--panel .panel-module-nav__btn {
  color: #eaf7fb;
}

.page--panel .panel-module-nav__btn.is-active {
  color: #08212b;
  background: linear-gradient(135deg, #7ac6d7, #d7f0f6);
  border-color: rgba(122, 198, 215, 0.5);
  box-shadow: 0 10px 20px rgba(122, 198, 215, 0.16);
}

.page--panel .panel-module-nav__btn:hover,
.page--panel .panel-module-nav__btn:focus-visible {
  color: #ffffff;
}

.page--panel .panel-form__help,
.page--panel .muted-inline,
.page--panel .panel-table-empty,
.page--panel .panel-empty-note {
  color: #c7dde6;
}


/* Panel isolation header v20260504 */
.page--panel .panel-header {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr) auto;
  align-items: center;
  gap: 18px;
}

.page--panel .panel-brand {
  pointer-events: none;
}

.page--panel .panel-nav {
  justify-content: center;
}

.page--panel .panel-nav a {
  min-height: 40px;
  padding: 0 12px;
  border-radius: 999px;
  background: rgba(255,255,255,0.04);
  border: 1px solid rgba(143, 206, 220, 0.14);
  color: #e8f5fa;
  font-weight: 700;
}

.page--panel .panel-nav a:hover,
.page--panel .panel-nav a:focus-visible {
  background: rgba(122, 198, 215, 0.14);
  color: #ffffff;
}

.page--panel .panel-header__actions {
  justify-content: flex-end;
}

.page--panel .panel-header__badge {
  display: inline-flex;
  align-items: center;
  min-height: 38px;
  padding: 0 14px;
  border-radius: 999px;
  background: rgba(122, 198, 215, 0.12);
  border: 1px solid rgba(122, 198, 215, 0.18);
  color: #f1fbff;
  font-size: 0.82rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

@media (max-width: 980px) {
  .page--panel .panel-header {
    grid-template-columns: 1fr;
    gap: 12px;
  }

  .page--panel .panel-brand {
    pointer-events: none;
    justify-self: start;
  }

  .page--panel .panel-nav {
    width: 100%;
    justify-content: flex-start;
    overflow-x: auto;
    padding-bottom: 2px;
  }

  .page--panel .panel-header__actions {
    justify-content: flex-start;
  }
}

@media (max-width: 760px) {
  .page--panel .panel-nav {
    display: flex;
    flex-wrap: nowrap;
    gap: 8px;
  }

  .page--panel .panel-nav a {
    white-space: nowrap;
  }
}


/* Panel corporate visual refinement v20260504 */
.page--panel {
  background:
    radial-gradient(circle at top left, rgba(95, 208, 217, 0.14), transparent 24%),
    radial-gradient(circle at top right, rgba(67, 130, 191, 0.1), transparent 22%),
    linear-gradient(180deg, #06131a 0%, #071922 48%, #08141c 100%);
}

.page--panel .page-glow--left {
  background: radial-gradient(circle, rgba(95, 208, 217, 0.18), transparent 62%);
}

.page--panel .page-glow--right {
  background: radial-gradient(circle, rgba(64, 127, 189, 0.14), transparent 60%);
}

.page--panel .site-main {
  gap: 22px;
}

.page--panel .institutional-hero {
  padding: 22px 24px;
  border-radius: 28px;
  border: 1px solid rgba(143, 206, 220, 0.18);
  background:
    radial-gradient(circle at top right, rgba(95, 208, 217, 0.1), transparent 26%),
    linear-gradient(180deg, rgba(10, 31, 39, 0.92), rgba(7, 22, 29, 0.95));
  box-shadow: 0 28px 60px rgba(0, 0, 0, 0.28);
}

.page--panel .institutional-hero__copy {
  max-width: 720px;
}

.page--panel .institutional-hero__copy h1 {
  color: #f2fbff;
  letter-spacing: -0.03em;
}

.page--panel .institutional-hero__lead {
  color: #c6dce5;
}

.page--panel .panel-grid {
  gap: 18px;
}

.page--panel .institutional-section-card {
  border-radius: 24px;
}

.page--panel .panel-toolbar {
  padding: 12px;
  border-radius: 20px;
  border: 1px solid rgba(143, 206, 220, 0.16);
  background: rgba(5, 20, 27, 0.54);
  box-shadow: 0 18px 40px rgba(0, 0, 0, 0.18);
}

.page--panel .panel-session {
  border-radius: 18px;
}

.page--panel .panel-dashboard-card,
.page--panel .panel-module {
  box-shadow: 0 22px 54px rgba(0, 0, 0, 0.22);
}

.page--panel .panel-dashboard__stat,
.page--panel .panel-kpis article,
.page--panel .panel-chart-card,
.page--panel .panel-modal-card,
.page--panel .panel-modal-section {
  border-radius: 18px;
}

.page--panel .panel-form {
  border-radius: 18px;
}

.page--panel .panel-form input,
.page--panel .panel-form select,
.page--panel .panel-form textarea {
  border-radius: 14px;
}

.page--panel .panel-table-wrap {
  border-radius: 18px;
  overflow: hidden;
}

.page--panel .panel-table th {
  background: rgba(10, 31, 39, 0.96);
}

.page--panel .panel-table td {
  background: rgba(7, 22, 29, 0.88);
}

@media (max-width: 900px) {
  .page--panel .institutional-hero {
    padding: 18px 18px;
    border-radius: 24px;
  }

  .page--panel .panel-toolbar {
    padding: 10px;
    border-radius: 18px;
  }
}


/* Panel mobile refinement v20260504 */
@media (max-width: 760px) {
  .page--panel .site-header {
    padding: 10px 12px;
    border-radius: 20px;
  }

  .page--panel .panel-header {
    gap: 10px;
  }

  .page--panel .panel-brand {
    gap: 8px;
  }

  .page--panel .brand__icon {
    width: 42px;
    height: 42px;
  }

  .page--panel .brand__copy strong {
    font-size: 0.92rem;
  }

  .page--panel .brand__copy small {
    font-size: 0.64rem;
  }

  .page--panel .panel-header__badge {
    min-height: 34px;
    padding: 0 12px;
    font-size: 0.72rem;
  }

  .page--panel .institutional-hero {
    padding: 16px 14px;
    border-radius: 20px;
  }

  .page--panel .institutional-hero__copy h1 {
    font-size: clamp(1.85rem, 10vw, 2.55rem);
    line-height: 0.98;
  }

  .page--panel .institutional-hero__lead {
    font-size: 0.96rem;
    line-height: 1.6;
  }

  .page--panel .panel-grid {
    gap: 14px;
  }

  .page--panel .panel-toolbar {
    padding: 8px;
    border-radius: 16px;
  }

  .page--panel .panel-session,
  .page--panel .panel-auth-card .panel-form,
  .page--panel .panel-form {
    padding: 14px;
    border-radius: 16px;
  }

  .page--panel .institutional-section-card {
    border-radius: 18px;
  }

  .page--panel .panel-dashboard-card,
  .page--panel .panel-module {
    box-shadow: 0 16px 38px rgba(0, 0, 0, 0.2);
  }

  .page--panel .panel-dashboard__head h2,
  .page--panel .institutional-section-card__head h2 {
    font-size: 1.6rem;
    line-height: 1.04;
  }

  .page--panel .panel-dashboard__head p,
  .page--panel .institutional-section-card__head p,
  .page--panel .panel-subsection__head p {
    font-size: 0.95rem;
    line-height: 1.58;
  }

  .page--panel .panel-module-nav {
    padding: 4px;
    border-radius: 16px;
    overflow-x: auto;
    flex-wrap: nowrap;
    gap: 8px;
  }

  .page--panel .panel-module-nav__btn {
    width: auto;
    min-width: max-content;
    min-height: 40px;
    padding: 0 12px;
    justify-content: center;
    white-space: nowrap;
    border-radius: 12px;
    font-size: 0.82rem;
  }

  .page--panel .panel-form__grid,
  .page--panel .panel-form__grid--2,
  .page--panel .panel-form__grid--3,
  .page--panel .panel-form__grid--4,
  .page--panel .panel-form__grid--5 {
    grid-template-columns: 1fr !important;
    gap: 12px;
  }

  .page--panel .panel-form input,
  .page--panel .panel-form select,
  .page--panel .panel-form textarea {
    min-height: 46px;
    font-size: 0.95rem;
  }

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

  .page--panel .panel-table-wrap {
    border-radius: 16px;
  }

  .page--panel .panel-table {
    min-width: 860px;
  }

  .page--panel .panel-table th,
  .page--panel .panel-table td {
    font-size: 0.84rem;
  }

  .page--panel .panel-table-action {
    min-height: 34px;
    font-size: 0.8rem;
  }

  .page--panel .panel-chart-card,
  .page--panel .panel-modal-card,
  .page--panel .panel-modal-section {
    border-radius: 16px;
    padding: 12px;
  }
}


/* RH + Contabilidade module polish v20260504 */
.page--panel #mod-hr,
.page--panel #mod-contabilidade {
  position: relative;
  overflow: hidden;
}

.page--panel #mod-hr::before,
.page--panel #mod-contabilidade::before {
  content: "";
  position: absolute;
  inset: 0 auto 0 0;
  width: 4px;
  border-radius: 999px;
  opacity: 0.88;
}

.page--panel #mod-hr::before {
  background: linear-gradient(180deg, #7ac6d7, #42b6c9, #1f7aa2);
}

.page--panel #mod-contabilidade::before {
  background: linear-gradient(180deg, #ffd36a, #e7ae24, #b97c00);
}

.page--panel #mod-hr .institutional-section-card__head,
.page--panel #mod-contabilidade .institutional-section-card__head {
  padding-left: 8px;
}

.page--panel #mod-hr .institutional-kicker,
.page--panel #mod-contabilidade .institutional-kicker {
  box-shadow: inset 0 1px 0 rgba(255,255,255,0.12);
}

.page--panel #mod-hr .panel-subsection,
.page--panel #mod-contabilidade .panel-subsection {
  padding: 16px;
  border-radius: 18px;
  border: 1px solid rgba(143, 206, 220, 0.12);
  background: linear-gradient(180deg, rgba(255,255,255,0.03), rgba(255,255,255,0.015));
}

.page--panel #mod-contabilidade .panel-subsection {
  border-color: rgba(226, 184, 72, 0.16);
  background: linear-gradient(180deg, rgba(226,184,72,0.05), rgba(255,255,255,0.012));
}

.page--panel #mod-hr .panel-subsection__head,
.page--panel #mod-contabilidade .panel-subsection__head {
  padding-bottom: 6px;
  border-bottom: 1px solid rgba(143, 206, 220, 0.1);
}

.page--panel #mod-contabilidade .panel-subsection__head {
  border-bottom-color: rgba(226, 184, 72, 0.14);
}

.page--panel #mod-hr .panel-subtitle,
.page--panel #mod-contabilidade .panel-subtitle {
  color: #f4fbff;
  font-size: clamp(1.1rem, 1.45vw, 1.34rem);
}

.page--panel #mod-hr .panel-form,
.page--panel #mod-contabilidade .panel-form {
  background: linear-gradient(180deg, rgba(6, 25, 34, 0.92), rgba(4, 19, 26, 0.96));
  border: 1px solid rgba(143, 206, 220, 0.16);
  box-shadow: inset 0 1px 0 rgba(255,255,255,0.03);
}

.page--panel #mod-contabilidade .panel-form {
  border-color: rgba(226, 184, 72, 0.18);
}

.page--panel #mod-hr .panel-kpis article,
.page--panel #mod-contabilidade .panel-kpis article {
  border-radius: 18px;
  min-height: 108px;
}

.page--panel #mod-contabilidade .panel-kpis article {
  border-color: rgba(226, 184, 72, 0.2);
  background: linear-gradient(180deg, rgba(51, 37, 10, 0.52), rgba(18, 16, 7, 0.88));
}

.page--panel #mod-contabilidade .panel-kpis span {
  color: #f1d98d;
}

.page--panel #mod-contabilidade .panel-kpis strong {
  color: #fff4d1;
}

.page--panel #mod-hr .panel-table-wrap,
.page--panel #mod-contabilidade .panel-table-wrap {
  border: 1px solid rgba(143, 206, 220, 0.12);
  background: rgba(4, 17, 23, 0.58);
}

.page--panel #mod-contabilidade .panel-table-wrap {
  border-color: rgba(226, 184, 72, 0.14);
}

.page--panel #mod-hr .panel-table th,
.page--panel #mod-contabilidade .panel-table th {
  position: sticky;
  top: 0;
  z-index: 1;
}

.page--panel #mod-hr .panel-inline-filters,
.page--panel #mod-contabilidade .panel-inline-filters,
.page--panel #mod-contabilidade .panel-bulk-actions {
  padding: 10px 12px;
  border-radius: 16px;
  border: 1px solid rgba(143, 206, 220, 0.12);
  background: rgba(7, 24, 32, 0.66);
}

.page--panel #mod-contabilidade .panel-inline-filters,
.page--panel #mod-contabilidade .panel-bulk-actions {
  border-color: rgba(226, 184, 72, 0.16);
  background: rgba(28, 21, 8, 0.42);
}

.page--panel #mod-hr .hint-text,
.page--panel #mod-contabilidade .hint-text {
  margin-top: 2px;
}

@media (max-width: 760px) {
  .page--panel #mod-hr .panel-subsection,
  .page--panel #mod-contabilidade .panel-subsection {
    padding: 12px;
    border-radius: 16px;
  }

  .page--panel #mod-hr .panel-kpis article,
  .page--panel #mod-contabilidade .panel-kpis article {
    min-height: 92px;
  }
}


/* Panel mobile stabilization v20260505 */
@media (max-width: 760px) {
  .page--panel {
    overflow-x: hidden;
  }

  .page--panel .site-main {
    width: min(100% - 12px, 100%);
    margin: 0 auto;
    gap: 12px;
  }

  .page--panel .site-header {
    top: max(6px, env(safe-area-inset-top));
    padding: 10px;
    border-radius: 18px;
  }

  .page--panel .panel-header {
    gap: 8px;
  }

  .page--panel .panel-brand {
    min-width: 0;
  }

  .page--panel .brand__copy {
    min-width: 0;
  }

  .page--panel .brand__copy strong,
  .page--panel .brand__copy small {
    display: block;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
  }

  .page--panel .panel-nav {
    padding-bottom: 4px;
    margin-inline: -2px;
    scrollbar-width: none;
  }

  .page--panel .panel-nav::-webkit-scrollbar,
  .page--panel .panel-module-nav::-webkit-scrollbar {
    display: none;
  }

  .page--panel .panel-nav a {
    min-height: 36px;
    padding: 0 10px;
    font-size: 0.76rem;
    border-radius: 999px;
  }

  .page--panel .panel-header__badge {
    min-height: 30px;
    padding: 0 10px;
    font-size: 0.66rem;
  }

  .page--panel .institutional-hero {
    padding: 14px 12px;
    border-radius: 18px;
  }

  .page--panel .institutional-hero__copy h1 {
    font-size: clamp(1.6rem, 9vw, 2.15rem);
    line-height: 1.02;
  }

  .page--panel .institutional-kicker {
    min-height: 30px;
    padding: 0 10px;
    font-size: 0.68rem;
  }

  .page--panel .institutional-section-card__head,
  .page--panel .panel-subsection__head {
    gap: 6px;
  }

  .page--panel .panel-dashboard__head h2,
  .page--panel .institutional-section-card__head h2 {
    font-size: 1.35rem;
    line-height: 1.08;
  }

  .page--panel .panel-dashboard__head p,
  .page--panel .institutional-section-card__head p,
  .page--panel .panel-subsection__head p,
  .page--panel .hint-text {
    font-size: 0.9rem;
    line-height: 1.55;
  }

  .page--panel .panel-toolbar,
  .page--panel .panel-session,
  .page--panel .panel-auth-card .panel-form,
  .page--panel .panel-form,
  .page--panel .panel-subsection {
    padding: 12px;
    border-radius: 14px;
  }

  .page--panel .panel-dashboard__stats,
  .page--panel .panel-kpis,
  .page--panel .panel-dashboard__stats--extended,
  .page--panel .panel-dashboard-charts {
    grid-template-columns: 1fr;
    gap: 10px;
  }

  .page--panel .panel-dashboard__stat,
  .page--panel .panel-kpis article,
  .page--panel .panel-chart-card {
    min-height: auto;
    padding: 12px;
    border-radius: 14px;
  }

  .page--panel .panel-dashboard__stat strong,
  .page--panel .panel-kpis strong {
    font-size: 1.25rem;
  }

  .page--panel .hero__actions {
    display: grid;
    grid-template-columns: 1fr;
    gap: 8px;
  }

  .page--panel .hero__actions .button,
  .page--panel .panel-bulk-actions__buttons .button {
    width: 100%;
    justify-content: center;
  }

  .page--panel .panel-module-nav {
    padding: 6px;
    gap: 6px;
    border-radius: 14px;
    overflow-x: auto;
    scrollbar-width: none;
  }

  .page--panel .panel-module-nav__btn {
    min-height: 38px;
    padding: 0 10px;
    font-size: 0.76rem;
    border-radius: 10px;
  }

  .page--panel .panel-form label {
    gap: 6px;
    font-size: 0.9rem;
  }

  .page--panel .panel-form input,
  .page--panel .panel-form select,
  .page--panel .panel-form textarea {
    min-height: 44px;
    padding: 0 12px;
    font-size: 0.92rem;
  }

  .page--panel .panel-form textarea {
    padding-top: 12px;
    min-height: 110px;
  }

  .page--panel .panel-inline-filters,
  .page--panel .panel-bulk-actions {
    padding: 10px;
    border-radius: 14px;
  }

  .page--panel .panel-inline-filters {
    display: grid;
    grid-template-columns: 1fr;
    gap: 8px;
  }

  .page--panel .panel-inline-filters__item,
  .page--panel .panel-inline-filters__item--check {
    width: 100%;
  }

  .page--panel .panel-bulk-actions__buttons {
    display: grid;
    grid-template-columns: 1fr;
    gap: 8px;
  }

  .page--panel .panel-table-wrap {
    margin-inline: -2px;
    border-radius: 14px;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
  }

  .page--panel .panel-table {
    min-width: 760px;
  }

  .page--panel .panel-table th,
  .page--panel .panel-table td {
    padding: 10px 9px;
    font-size: 0.8rem;
    white-space: nowrap;
  }

  .page--panel .panel-table-action {
    min-height: 32px;
    padding: 0.3rem 0.58rem;
    font-size: 0.76rem;
  }
}

@media (max-width: 560px) {
  .page--panel .site-main {
    width: min(100% - 10px, 100%);
  }

  .page--panel .site-header {
    padding: 9px;
    border-radius: 16px;
  }

  .page--panel .brand__icon {
    width: 38px;
    height: 38px;
  }

  .page--panel .brand__copy strong {
    font-size: 0.86rem;
  }

  .page--panel .brand__copy small {
    font-size: 0.58rem;
  }

  .page--panel .panel-nav a,
  .page--panel .panel-module-nav__btn {
    font-size: 0.72rem;
  }

  .page--panel .institutional-hero {
    padding: 12px 10px;
  }

  .page--panel .institutional-hero__copy h1 {
    font-size: clamp(1.45rem, 8.5vw, 1.95rem);
  }

  .page--panel .panel-toolbar,
  .page--panel .panel-session,
  .page--panel .panel-auth-card .panel-form,
  .page--panel .panel-form,
  .page--panel .panel-subsection,
  .page--panel .panel-chart-card {
    padding: 10px;
    border-radius: 12px;
  }

  .page--panel .panel-table {
    min-width: 680px;
  }
}


/* Panel mobile right-edge form containment fix v20260505b */
@media (max-width: 760px) {
  .page--panel .institutional-section-card,
  .page--panel .panel-toolbar,
  .page--panel .panel-session,
  .page--panel .panel-form,
  .page--panel .panel-subsection,
  .page--panel .panel-dashboard__stat,
  .page--panel .panel-kpis article,
  .page--panel .panel-chart-card {
    max-width: 100%;
    box-sizing: border-box;
    overflow: hidden;
  }

  .page--panel .hero__actions,
  .page--panel .panel-session--toolbar .hero__actions,
  .page--panel .panel-bulk-actions__buttons {
    width: 100%;
    max-width: 100%;
    min-width: 0;
    box-sizing: border-box;
  }

  .page--panel .hero__actions .button,
  .page--panel .panel-session--toolbar .hero__actions .button,
  .page--panel .panel-bulk-actions__buttons .button {
    width: 100%;
    max-width: 100%;
    min-width: 0;
    box-sizing: border-box;
    padding-inline: 12px;
  }

  .page--panel .panel-session__identity,
  .page--panel .panel-dashboard__head,
  .page--panel .institutional-section-card__head,
  .page--panel .panel-subsection__head {
    min-width: 0;
  }
}


/* Panel settings form mobile fix v20260505c */
@media (max-width: 760px) {
  .page--panel #mod-config .panel-form__grid--5,
  .page--panel #mod-config .panel-form__grid--4,
  .page--panel #mod-config .panel-form__grid--3,
  .page--panel #mod-config .panel-form__grid--2,
  .page--panel #mod-config .panel-form__grid {
    grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
    gap: 10px !important;
  }

  .page--panel #mod-config .panel-form label {
    min-width: 0;
  }

  .page--panel #mod-config .panel-form input,
  .page--panel #mod-config .panel-form select,
  .page--panel #mod-config .panel-form textarea,
  .page--panel #mod-config .panel-form button,
  .page--panel #mod-config .panel-form input[type="file"] {
    width: 100%;
    min-width: 0;
    max-width: 100%;
    box-sizing: border-box;
  }

  .page--panel #mod-config .panel-form input,
  .page--panel #mod-config .panel-form textarea {
    overflow: hidden;
    text-overflow: ellipsis;
  }
}

@media (max-width: 560px) {
  .page--panel #mod-config .panel-form__grid--5,
  .page--panel #mod-config .panel-form__grid--4,
  .page--panel #mod-config .panel-form__grid--3,
  .page--panel #mod-config .panel-form__grid--2,
  .page--panel #mod-config .panel-form__grid {
    grid-template-columns: 1fr !important;
  }
}


/* Panel settings breathing fix v20260505d */
@media (max-width: 760px) {
  .page--panel #mod-config .panel-subsection {
    gap: 14px;
  }

  .page--panel #mod-config .panel-form {
    gap: 14px;
  }

  .page--panel #mod-config .panel-form__grid--5,
  .page--panel #mod-config .panel-form__grid--4,
  .page--panel #mod-config .panel-form__grid--3,
  .page--panel #mod-config .panel-form__grid--2,
  .page--panel #mod-config .panel-form__grid {
    grid-template-columns: 1fr !important;
    gap: 14px !important;
  }

  .page--panel #mod-config .panel-form label {
    display: grid;
    gap: 7px;
    align-content: start;
    font-size: 0.9rem;
    line-height: 1.45;
  }

  .page--panel #mod-config .panel-form input,
  .page--panel #mod-config .panel-form select,
  .page--panel #mod-config .panel-form textarea,
  .page--panel #mod-config .panel-form button,
  .page--panel #mod-config .panel-form input[type="file"] {
    min-height: 46px;
  }

  .page--panel #mod-config .panel-form textarea {
    min-height: 120px;
    padding-top: 12px;
  }

  .page--panel #mod-config .hero__actions {
    display: grid;
    grid-template-columns: 1fr;
    gap: 8px;
  }

  .page--panel #mod-config .hero__actions .button {
    width: 100%;
    max-width: 100%;
  }
}


/* Panel config-only breathing polish v20260505e */
@media (max-width: 760px) {
  .page--panel #mod-config .institutional-section-card__head {
    margin-bottom: 4px;
  }

  .page--panel #mod-config .institutional-section-card__head h2 {
    line-height: 1.08;
  }

  .page--panel #mod-config .institutional-section-card__head p,
  .page--panel #mod-config .panel-subsection__head p {
    max-width: 34ch;
  }

  .page--panel #mod-config .panel-subsection {
    padding: 14px;
    margin-top: 6px;
  }

  .page--panel #mod-config .panel-subsection + .panel-subsection {
    margin-top: 18px;
  }

  .page--panel #mod-config .panel-subsection__head {
    padding-bottom: 8px;
  }

  .page--panel #mod-config .panel-form {
    padding: 14px;
  }

  .page--panel #mod-config .panel-form label {
    padding-bottom: 2px;
  }

  .page--panel #mod-config .panel-form input,
  .page--panel #mod-config .panel-form select,
  .page--panel #mod-config .panel-form textarea,
  .page--panel #mod-config .panel-form input[type="file"] {
    border-radius: 14px;
  }
}


/* Panel config first-column stability fix v20260505f */
@media (max-width: 980px) {
  .page--panel #mod-config .panel-form__grid--5,
  .page--panel #mod-config .panel-form__grid--4,
  .page--panel #mod-config .panel-form__grid--3,
  .page--panel #mod-config .panel-form__grid--2,
  .page--panel #mod-config .panel-form__grid {
    grid-template-columns: 1fr !important;
    align-items: start !important;
    grid-auto-rows: auto !important;
    gap: 14px !important;
  }

  .page--panel #mod-config .panel-form label,
  .page--panel #mod-config .panel-form label[style] {
    grid-column: auto !important;
    display: grid !important;
    gap: 7px !important;
    min-width: 0 !important;
    align-content: start !important;
    white-space: normal !important;
    word-break: break-word !important;
    overflow-wrap: anywhere !important;
  }

  .page--panel #mod-config .panel-form input,
  .page--panel #mod-config .panel-form select,
  .page--panel #mod-config .panel-form textarea,
  .page--panel #mod-config .panel-form input[type="file"] {
    width: 100% !important;
    max-width: 100% !important;
    min-width: 0 !important;
  }
}


/* Panel header contrast fix v20260505g */
.page--panel .panel-header {
  background: linear-gradient(180deg, rgba(11, 33, 43, 0.92), rgba(8, 24, 32, 0.95));
  border: 1px solid rgba(143, 206, 220, 0.18);
  box-shadow: 0 18px 40px rgba(0, 0, 0, 0.22);
}

.page--panel .panel-brand .brand__copy strong {
  color: #f1fbff;
}

.page--panel .panel-brand .brand__copy small {
  color: #b8d2de;
}

.page--panel .panel-nav a {
  background: rgba(255,255,255,0.06);
  border-color: rgba(143, 206, 220, 0.16);
  color: #eefaff;
}

.page--panel .panel-nav a:hover,
.page--panel .panel-nav a:focus-visible {
  background: rgba(122, 198, 215, 0.18);
  color: #ffffff;
}

.page--panel .panel-header__badge {
  background: rgba(122, 198, 215, 0.16);
  border-color: rgba(122, 198, 215, 0.24);
  color: #f3fcff;
}


/* Panel top nav centering v20260505h */
.page--panel .panel-nav {
  justify-content: center;
}

@media (max-width: 980px) {
  .page--panel .panel-nav {
    justify-content: center;
  }
}

@media (max-width: 760px) {
  .page--panel .panel-nav {
    justify-content: center;
    overflow-x: auto;
    padding-inline: 8px;
  }
}
