/*
 * Grupo Unilabor — prévia visual isolada
 * A linguagem é editorial e quase monocromática; o azul institucional aparece
 * somente em ações, foco e indicadores de estado.
 */

:root {
  --brand: #0c6cf3;
  --brand-deep: #0755c9;
  --ink: #111214;
  --ink-soft: #27272c;
  --muted: #686873;
  --paper: #ffffff;
  --surface: #f7f8fa;
  --line: #e9e8eb;
  --night: #111214;
  --night-soft: #161719;
  --header-height: 5rem;
  --shell: 82.5rem;
  --gutter: 0.9375rem;
  --section-space: 5rem;
  --radius-control: 0.5rem;
  --radius-media: 1rem;
  --ease: cubic-bezier(0.22, 0.61, 0.36, 1);
  --duration-short: 180ms;
  --duration-medium: 420ms;
  --duration-reveal: 700ms;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  text-size-adjust: 100%;
}

body.biograph-theme {
  margin: 0;
  min-width: 20rem;
  overflow-x: clip;
  color: var(--ink-soft);
  background: var(--paper);
  font-family: "Manrope", "Segoe UI", Arial, sans-serif;
  font-size: 1rem;
  font-weight: 400;
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

body.biograph-theme.menu-open {
  overflow: hidden;
}

body.biograph-theme img,
body.biograph-theme picture,
body.biograph-theme video,
body.biograph-theme svg {
  display: block;
  max-width: 100%;
}

:where(body.biograph-theme img) {
  height: auto;
}

body.biograph-theme button,
body.biograph-theme input,
body.biograph-theme textarea,
body.biograph-theme select {
  font: inherit;
}

body.biograph-theme button,
body.biograph-theme a {
  -webkit-tap-highlight-color: transparent;
}

body.biograph-theme a {
  color: inherit;
  text-decoration: none;
}

body.biograph-theme p,
body.biograph-theme h1,
body.biograph-theme h2,
body.biograph-theme h3,
body.biograph-theme h4,
body.biograph-theme ul,
body.biograph-theme ol {
  margin-block: 0;
}

body.biograph-theme ul,
body.biograph-theme ol {
  padding: 0;
}

body.biograph-theme :where(a, button, input, textarea, select, summary):focus-visible {
  outline: 0.1875rem solid var(--brand);
  outline-offset: 0.1875rem;
}

::selection {
  color: var(--paper);
  background: var(--brand);
}

.shell {
  width: min(100%, calc(var(--shell) + (var(--gutter) * 2)));
  margin-inline: auto;
  padding-inline: var(--gutter);
}

.sr-only {
  position: absolute !important;
  width: 0.0625rem !important;
  height: 0.0625rem !important;
  padding: 0 !important;
  margin: -0.0625rem !important;
  overflow: hidden !important;
  clip: rect(0, 0, 0, 0) !important;
  white-space: nowrap !important;
  border: 0 !important;
}

.skip-link {
  position: fixed;
  z-index: 1000;
  top: 0.75rem;
  left: 0.75rem;
  padding: 0.75rem 1rem;
  border-radius: var(--radius-control);
  color: var(--paper);
  background: var(--brand-deep);
  font-size: 0.875rem;
  font-weight: 700;
  transform: translateY(calc(-100% - 1rem));
  transition: transform var(--duration-short) var(--ease);
}

.skip-link:focus {
  transform: translateY(0);
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  color: var(--muted);
  font-size: 0.6875rem;
  font-weight: 700;
  line-height: 1.4;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.eyebrow::before {
  width: 1.125rem;
  height: 0.125rem;
  background: currentColor;
  content: "";
}

.button {
  display: inline-flex;
  min-height: 2.625rem;
  align-items: center;
  justify-content: center;
  gap: 0.625rem;
  padding: 0.625rem 1rem;
  border: 0.0625rem solid transparent;
  border-radius: var(--radius-control);
  cursor: pointer;
  font-size: 0.875rem;
  font-weight: 700;
  line-height: 1.25rem;
  transition:
    color var(--duration-short) var(--ease),
    background-color var(--duration-short) var(--ease),
    border-color var(--duration-short) var(--ease);
}

.button::after {
  font-size: 1rem;
  line-height: 1;
  content: "↗";
  transition: transform var(--duration-short) var(--ease);
}

.button:hover::after {
  transform: translate(0.125rem, -0.125rem);
}

.button--primary {
  color: var(--paper);
  background: var(--brand);
  border-color: var(--brand);
}

.button--primary:hover {
  background: var(--brand-deep);
  border-color: var(--brand-deep);
}

.button--light {
  color: var(--ink);
  background: var(--paper);
  border-color: var(--paper);
}

.button--light:hover {
  background: var(--surface);
  border-color: var(--surface);
}

.button--ghost {
  color: currentColor;
  background: transparent;
  border-color: currentColor;
}

.button--ghost:hover {
  color: var(--ink);
  background: var(--paper);
  border-color: var(--paper);
}

.text-link {
  display: inline-flex;
  min-height: 2.625rem;
  align-items: center;
  gap: 0.5rem;
  color: var(--ink);
  font-size: 0.875rem;
  font-weight: 700;
}

.text-link::after {
  color: var(--brand);
  font-size: 1.125rem;
  content: "→";
  transition: transform var(--duration-short) var(--ease);
}

.text-link:hover::after {
  transform: translateX(0.25rem);
}

.section {
  position: relative;
  padding-block: var(--section-space);
}

.section-head {
  display: grid;
  gap: 1.25rem;
  margin-bottom: clamp(2.5rem, 8vw, 4.5rem);
}

.section-head :is(h1, h2),
.network__content h2,
.closing-cta__content h2 {
  max-width: 18ch;
  color: var(--ink-soft);
  font-size: clamp(2rem, 9vw, 2.5625rem);
  font-weight: 400;
  line-height: 1;
  letter-spacing: -0.02em;
  text-wrap: balance;
}

.section-head p {
  max-width: 40rem;
  color: var(--muted);
  font-size: 1rem;
  line-height: 1.5;
}

/* Cabeçalho */

.site-header {
  position: fixed;
  z-index: 100;
  inset: 0 0 auto;
  height: var(--header-height);
  color: var(--paper);
  transition:
    color var(--duration-medium) var(--ease),
    background-color var(--duration-medium) var(--ease),
    border-color var(--duration-medium) var(--ease),
    backdrop-filter var(--duration-medium) var(--ease);
}

.site-header::after {
  position: absolute;
  inset: auto 0 0;
  height: 0.0625rem;
  background: rgba(255, 255, 255, 0.18);
  content: "";
  transition: background-color var(--duration-medium) var(--ease);
}

.site-header.is-scrolled {
  color: var(--ink);
  background: rgba(255, 255, 255, 0.92);
  -webkit-backdrop-filter: blur(0.875rem);
  backdrop-filter: blur(0.875rem);
}

.site-header.is-scrolled::after {
  background: var(--line);
}

.header-inner {
  display: grid;
  width: min(100%, calc(var(--shell) + (var(--gutter) * 2)));
  height: 100%;
  margin-inline: auto;
  padding-inline: var(--gutter);
  grid-template-columns: minmax(0, 1fr) auto auto;
  align-items: center;
  gap: 0.5rem;
}

.brand {
  display: inline-flex;
  width: 12.5rem;
  min-height: 2.625rem;
  align-items: center;
  justify-self: start;
}

.brand img {
  width: auto;
  height: 3.25rem;
  max-width: 100%;
  max-height: none;
  object-fit: contain;
  object-position: left center;
}

.brand__logo--dark,
.brand__logo--color,
.brand-logo--dark,
[data-logo-dark] {
  display: none;
}

.site-header.is-scrolled .brand__logo--light,
.site-header.is-scrolled .brand-logo--light,
.site-header.is-scrolled [data-logo-light] {
  display: none;
}

.site-header.is-scrolled .brand__logo--dark,
.site-header.is-scrolled .brand__logo--color,
.site-header.is-scrolled .brand-logo--dark,
.site-header.is-scrolled [data-logo-dark] {
  display: block;
}

.desktop-nav {
  display: none;
}

.desktop-nav a {
  position: relative;
  display: inline-flex;
  min-height: 2.625rem;
  align-items: center;
  color: inherit;
  font-size: 0.75rem;
  font-weight: 600;
  white-space: nowrap;
}

.desktop-nav a::after {
  position: absolute;
  right: 0;
  bottom: 0.375rem;
  left: 0;
  height: 0.0625rem;
  background: currentColor;
  content: "";
  transform: scaleX(0);
  transform-origin: right;
  transition: transform var(--duration-short) var(--ease);
}

.desktop-nav a:hover::after,
.desktop-nav a[aria-current="page"]::after {
  transform: scaleX(1);
  transform-origin: left;
}

.header-actions {
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.header-actions .button {
  min-height: 2.375rem;
  padding: 0.5rem 0.75rem;
  font-size: 0.75rem;
}

.header-actions .button::after {
  display: none;
}

.site-header:not(.is-scrolled) .header-actions .button--ghost {
  color: var(--paper);
  border-color: rgba(255, 255, 255, 0.55);
}

.site-header.is-scrolled .header-actions .button--ghost {
  color: var(--ink);
  border-color: var(--line);
}

.site-header.is-scrolled .header-actions .button--ghost:hover {
  color: var(--paper);
  background: var(--ink);
  border-color: var(--ink);
}

.menu-toggle {
  position: relative;
  display: inline-grid;
  width: 2.625rem;
  height: 2.625rem;
  padding: 0;
  border: 0.0625rem solid rgba(255, 255, 255, 0.55);
  border-radius: 999px;
  color: currentColor;
  background: transparent;
  cursor: pointer;
  place-items: center;
  transition:
    color var(--duration-short) var(--ease),
    background-color var(--duration-short) var(--ease),
    border-color var(--duration-short) var(--ease);
}

.menu-toggle::before,
.menu-toggle::after {
  position: absolute;
  width: 1rem;
  height: 0.0625rem;
  background: currentColor;
  content: "";
  transition: transform var(--duration-short) var(--ease);
}

.menu-toggle::before {
  transform: translateY(-0.1875rem);
}

.menu-toggle::after {
  transform: translateY(0.1875rem);
}

.site-header.is-scrolled .menu-toggle {
  border-color: var(--line);
}

.menu-toggle:hover {
  color: var(--ink);
  background: var(--paper);
  border-color: var(--paper);
}

.site-header.is-scrolled .menu-toggle:hover {
  color: var(--paper);
  background: var(--ink);
  border-color: var(--ink);
}

/* Menu mobile */

.mobile-menu {
  position: fixed;
  z-index: 120;
  inset: 0;
  overflow-x: hidden;
  overflow-y: auto;
  color: var(--ink);
  background: var(--paper);
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transform: translateY(-0.75rem);
  transition:
    opacity var(--duration-medium) var(--ease),
    visibility 0s linear var(--duration-medium),
    transform var(--duration-medium) var(--ease);
}

.mobile-menu.is-open,
.mobile-menu[aria-hidden="false"] {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
  transform: translateY(0);
  transition-delay: 0s;
}

.mobile-menu__head {
  position: sticky;
  z-index: 2;
  top: 0;
  display: flex;
  min-height: var(--header-height);
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding-inline: var(--gutter);
  background: rgba(255, 255, 255, 0.96);
  border-bottom: 0.0625rem solid var(--line);
  -webkit-backdrop-filter: blur(0.75rem);
  backdrop-filter: blur(0.75rem);
}

.mobile-menu__head .brand {
  width: 12.5rem;
}

.mobile-menu__head .brand__logo--light {
  display: none;
}

.mobile-menu__head .brand__logo--color {
  display: block;
}

.mobile-menu__head [data-menu-close],
.mobile-menu__head button {
  display: inline-grid;
  width: 2.625rem;
  height: 2.625rem;
  padding: 0;
  border: 0.0625rem solid var(--line);
  border-radius: 999px;
  color: var(--ink);
  background: var(--paper);
  cursor: pointer;
  place-items: center;
}

.mobile-menu__actions {
  display: grid;
  padding: 1.5rem var(--gutter);
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0.625rem;
}

.mobile-menu__nav {
  display: grid;
  padding: 0 var(--gutter) 2rem;
}

.mobile-menu__nav a {
  display: flex;
  min-height: 3.5rem;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  border-bottom: 0.0625rem solid var(--line);
  color: var(--ink);
  font-size: clamp(1.25rem, 6vw, 1.75rem);
  font-weight: 400;
  line-height: 1.1;
  letter-spacing: -0.02em;
}

.mobile-menu__nav a::after {
  color: var(--brand);
  font-size: 1rem;
  content: "→";
}

.mobile-menu__meta {
  display: grid;
  padding: 2rem var(--gutter) 3rem;
  color: var(--muted);
  font-size: 0.8125rem;
  gap: 0.75rem;
}

.mobile-menu__meta a {
  width: fit-content;
  min-height: 2.625rem;
}

/* Hero */

.hero {
  position: relative;
  display: flex;
  min-height: max(45rem, 100svh);
  align-items: flex-end;
  overflow: hidden;
  isolation: isolate;
  color: var(--paper);
  background: var(--night);
}

.hero__media,
.hero__shade {
  position: absolute;
  inset: 0;
}

.hero__media {
  z-index: -2;
  overflow: hidden;
}

.hero__media > :where(img, picture, video),
.hero__media picture > img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 56% center;
}

.hero__shade {
  z-index: -1;
  background:
    linear-gradient(180deg, rgba(5, 9, 15, 0.46) 0%, rgba(5, 9, 15, 0.06) 32%, rgba(5, 9, 15, 0.8) 100%),
    linear-gradient(90deg, rgba(5, 9, 15, 0.36) 0%, transparent 72%);
}

.hero__content {
  display: grid;
  width: 100%;
  padding-block: calc(var(--header-height) + 2rem) 2.5rem;
  gap: 2.25rem;
}

.hero__copy {
  display: grid;
  max-width: 47rem;
  gap: 1.25rem;
}

.hero .eyebrow {
  color: rgba(255, 255, 255, 0.78);
}

.hero h1 {
  max-width: 15ch;
  color: var(--paper);
  font-size: clamp(2.5625rem, 11vw, 4.25rem);
  font-weight: 400;
  line-height: 0.95;
  letter-spacing: -0.02em;
  text-wrap: balance;
}

.hero__copy > p {
  max-width: 40rem;
  color: rgba(255, 255, 255, 0.86);
  font-size: 1.0625rem;
  line-height: 1.6;
}

.hero__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.625rem;
}

.hero__status {
  display: grid;
  padding-top: 1.25rem;
  border-top: 0.0625rem solid rgba(255, 255, 255, 0.28);
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1rem;
  color: rgba(255, 255, 255, 0.7);
  font-size: 0.6875rem;
  line-height: 1.4;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.hero__status > * {
  display: grid;
  gap: 0.25rem;
}

.hero__status strong {
  color: var(--paper);
  font-size: 0.8125rem;
  font-weight: 600;
  letter-spacing: 0;
  text-transform: none;
}

/* Método */

.method {
  --journey-heading-space: clamp(4rem, 6vw, 5.5rem);
  padding-top: var(--journey-heading-space);
  background: var(--paper);
}

.method .section-head {
  max-width: 58rem;
}

.journey {
  display: flex;
  margin-inline: calc(var(--gutter) * -1);
  padding-inline: var(--gutter);
  padding-bottom: 1rem;
  overflow-x: auto;
  overscroll-behavior-inline: contain;
  scroll-padding-inline: var(--gutter);
  scroll-snap-type: inline mandatory;
  scrollbar-width: thin;
  scrollbar-color: var(--brand) var(--line);
  gap: 0.75rem;
}

.journey-card {
  position: relative;
  display: grid;
  min-height: 18rem;
  flex: 0 0 min(83vw, 20rem);
  align-content: end;
  padding: 1.25rem;
  overflow: hidden;
  border: 0.0625rem solid var(--line);
  border-radius: var(--radius-media);
  background: var(--surface);
  scroll-snap-align: start;
  gap: 0.875rem;
}

.journey-card h3 {
  color: var(--ink);
  font-size: 1.375rem;
  font-weight: 500;
  line-height: 1.15;
  letter-spacing: -0.02em;
}

.journey-card p {
  color: var(--muted);
  font-size: 0.9375rem;
  line-height: 1.6;
}

/* Prova e métricas */

.proof {
  overflow: hidden;
  background: var(--surface);
}

.proof__quote {
  max-width: 60rem;
  margin-inline: auto;
  color: var(--ink);
  font-size: clamp(2rem, 8.4vw, 3.25rem);
  font-weight: 400;
  line-height: 1.08;
  letter-spacing: -0.025em;
  text-align: center;
  text-wrap: balance;
}

.proof__quote::before {
  display: block;
  width: 0.5rem;
  height: 0.5rem;
  margin: 0 auto 1.5rem;
  border-radius: 999px;
  background: var(--brand);
  content: "";
}

.metrics {
  display: grid;
  max-width: var(--shell);
  margin: clamp(3.5rem, 10vw, 6.5rem) auto 0;
  border-top: 0.0625rem solid var(--line);
}

.metric {
  display: grid;
  min-height: 11.5rem;
  align-content: center;
  padding-block: 1.75rem;
  border-bottom: 0.0625rem solid var(--line);
  text-align: center;
  gap: 0.625rem;
}

.metric :where(strong, .metric__value, .metric-value) {
  display: block;
  color: var(--ink);
  font-size: clamp(3.25rem, 15vw, 5.5rem);
  font-weight: 400;
  line-height: 0.95;
  letter-spacing: -0.04em;
}

.metric :where(p, span, .metric__label, .metric-label) {
  color: var(--muted);
  font-size: 0.875rem;
  line-height: 1.5;
}

/* Categorias de exames */

.exams {
  overflow: hidden;
  background: var(--paper);
}

.exams .section-head {
  max-width: 55rem;
}

.exam-showcase {
  display: grid;
  align-items: center;
  gap: 2.5rem;
}

.exam-orbit {
  position: relative;
  width: min(100%, 30rem);
  aspect-ratio: 1;
  margin-inline: auto;
  overflow: hidden;
  border-radius: 50%;
  background:
    radial-gradient(circle at 36% 30%, rgba(255, 255, 255, 0.22) 0 8%, transparent 9%),
    radial-gradient(circle at 68% 72%, rgba(12, 108, 243, 0.82) 0 12%, transparent 13%),
    linear-gradient(145deg, #2c3037, var(--night) 68%);
  isolation: isolate;
}

.exam-orbit::before,
.exam-orbit::after {
  position: absolute;
  border-radius: 50%;
  content: "";
  transition:
    translate var(--duration-medium) var(--ease),
    background-color var(--duration-medium) var(--ease);
}

.exam-orbit::before {
  width: 72%;
  aspect-ratio: 1;
  top: -12%;
  left: -8%;
  border: 0.0625rem solid rgba(255, 255, 255, 0.23);
  box-shadow:
    0 0 0 3.5rem rgba(255, 255, 255, 0.025),
    0 0 0 7rem rgba(255, 255, 255, 0.02);
}

.exam-orbit::after {
  width: 36%;
  aspect-ratio: 1;
  right: 8%;
  bottom: 10%;
  background: var(--brand);
  translate: 0 0;
}

.exam-orbit[data-active="1"]::after {
  translate: -70% -85%;
  background: #4e8ff0;
}

.exam-orbit[data-active="2"]::after {
  translate: -165% -112%;
  background: #2866bb;
}

.exam-orbit[data-active="3"]::after {
  translate: -178% 8%;
  background: #6087bd;
}

.exam-orbit[data-active="4"]::after {
  translate: -128% 88%;
  background: var(--brand-deep);
}

.exam-orbit[data-active="5"]::after {
  translate: -40% 105%;
  background: #4779be;
}

.exam-orbit[data-active="6"]::after {
  translate: 25% 55%;
  background: #7395c4;
}

.exam-orbit[data-active="7"]::after {
  translate: 18% -44%;
  background: #1759b5;
}

.exam-list {
  display: grid;
  border-top: 0.0625rem solid var(--line);
}

.exam-link {
  position: relative;
  display: flex;
  min-height: 4.4375rem;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  border-bottom: 0.0625rem solid var(--line);
  color: var(--ink-soft);
  font-size: 1rem;
  font-weight: 500;
  line-height: 1.3;
  transition:
    color var(--duration-short) var(--ease),
    padding var(--duration-short) var(--ease);
}

.exam-link::after {
  color: var(--muted);
  content: "↗";
  transition:
    color var(--duration-short) var(--ease),
    transform var(--duration-short) var(--ease);
}

.exam-link:hover,
.exam-link.is-active,
.exam-link[aria-current="true"] {
  padding-inline-start: 0.5rem;
  color: var(--brand);
}

.exam-link:hover::after,
.exam-link.is-active::after,
.exam-link[aria-current="true"]::after {
  color: var(--brand);
  transform: translate(0.125rem, -0.125rem);
}

/* Rede de unidades */

.network {
  position: relative;
  overflow: hidden;
  color: var(--paper);
  background: var(--night);
}

.network__media {
  position: relative;
  min-height: 27rem;
  overflow: hidden;
}

.network__media::after {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(17, 18, 20, 0.08), rgba(17, 18, 20, 0.72));
  content: "";
}

.network__media > :where(img, picture),
.network__media picture > img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}

.network__content {
  display: grid;
  width: min(100%, calc(var(--shell) + (var(--gutter) * 2)));
  margin-inline: auto;
  padding: var(--section-space) var(--gutter);
  gap: 2.5rem;
}

.network__content .eyebrow {
  color: rgba(255, 255, 255, 0.58);
}

.network__content h2 {
  color: var(--paper);
}

.network__content > p {
  max-width: 40rem;
  color: rgba(255, 255, 255, 0.68);
}

.network__cards {
  display: grid;
  border-top: 0.0625rem solid rgba(255, 255, 255, 0.17);
}

.network-card {
  display: grid;
  min-height: 10rem;
  align-content: space-between;
  padding-block: 1.5rem;
  border-bottom: 0.0625rem solid rgba(255, 255, 255, 0.17);
  gap: 2rem;
}

.network-card h3 {
  color: var(--paper);
  font-size: 1.375rem;
  font-weight: 400;
  line-height: 1.2;
}

.network-card p {
  color: rgba(255, 255, 255, 0.64);
  font-size: 0.875rem;
}

.network-card .text-link {
  color: var(--paper);
}

/* Soluções */

.solutions {
  background: var(--paper);
}

.solutions-grid {
  display: grid;
  gap: 0.75rem;
}

.solution-card {
  position: relative;
  display: grid;
  min-height: 25rem;
  align-content: space-between;
  padding: 1.5rem;
  overflow: hidden;
  border: 0.0625rem solid var(--line);
  border-radius: var(--radius-media);
  background: var(--surface);
  gap: 3rem;
  transition:
    color var(--duration-medium) var(--ease),
    background-color var(--duration-medium) var(--ease),
    border-color var(--duration-medium) var(--ease);
}

.solution-card::before {
  display: grid;
  width: 3rem;
  height: 3rem;
  border: 0.0625rem solid var(--line);
  border-radius: 999px;
  color: var(--brand);
  background: var(--paper);
  font-size: 1.125rem;
  content: "↗";
  place-items: center;
}

.solution-card:hover {
  color: var(--paper);
  background: var(--ink);
  border-color: var(--ink);
}

.solution-card > div,
.solution-card__body {
  display: grid;
  gap: 1rem;
}

.solution-card h3 {
  color: inherit;
  font-size: clamp(2rem, 8vw, 3rem);
  font-weight: 400;
  line-height: 1;
  letter-spacing: -0.025em;
}

.solution-card p {
  max-width: 32rem;
  color: var(--muted);
}

.solution-card:hover p {
  color: rgba(255, 255, 255, 0.7);
}

.solution-card .text-link {
  color: inherit;
}

/* Blog */

.blog-highlight {
  background: var(--surface);
}

.blog-grid {
  display: grid;
  gap: 2.5rem;
}

.post-card {
  display: grid;
  min-width: 0;
  align-content: start;
  color: var(--ink);
  gap: 0;
}

.post-card__media {
  position: relative;
  aspect-ratio: 1.45 / 1;
  overflow: hidden;
  border-radius: var(--radius-media);
  background: var(--line);
}

.post-card__media :where(img, picture),
.post-card__media picture > img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform var(--duration-medium) var(--ease);
}

.post-card__body {
  display: grid;
  padding-top: 1.25rem;
  gap: 0.75rem;
}

.post-card :where(.post-card__meta, time, .category, .post-category) {
  color: var(--muted);
  font-size: 0.75rem;
  font-weight: 600;
  line-height: 1.5;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.post-card h3 {
  color: var(--ink);
  font-size: 1.375rem;
  font-weight: 500;
  line-height: 1.2;
  letter-spacing: -0.02em;
  text-wrap: balance;
}

.post-card__body > p {
  display: -webkit-box;
  overflow: hidden;
  color: var(--muted);
  font-size: 0.9375rem;
  line-height: 1.6;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 3;
}

.post-card .text-link {
  margin-top: 0.25rem;
}

.post-card:hover .post-card__media img,
.post-card:focus-within .post-card__media img {
  transform: scale(1.025);
}

/* FAQ */

.faq {
  background: var(--paper);
}

.faq .section-head {
  max-width: 58rem;
  margin-inline: auto;
  grid-template-columns: minmax(0, 1fr);
  justify-items: center;
  text-align: center;
}

.faq .section-head :is(h1, h2),
.faq .section-head > p {
  margin-inline: auto;
}

.faq .section-head .eyebrow {
  justify-self: center;
}

.faq-list {
  max-width: 50rem;
  margin-inline: auto;
  border-top: 0.0625rem solid var(--line);
}

.faq-item {
  border-bottom: 0.0625rem solid var(--line);
}

.faq-question {
  position: relative;
  display: grid;
  width: 100%;
  min-height: 4.875rem;
  align-items: center;
  padding: 1.25rem 3rem 1.25rem 0;
  border: 0;
  color: var(--ink);
  background: transparent;
  cursor: pointer;
  font-size: 1rem;
  font-weight: 600;
  line-height: 1.4;
  text-align: left;
}

.faq-question::before,
.faq-question::after {
  position: absolute;
  top: 50%;
  right: 0.375rem;
  width: 1rem;
  height: 0.0625rem;
  background: currentColor;
  content: "";
  transition: transform var(--duration-short) var(--ease);
}

.faq-question::after {
  transform: rotate(90deg);
}

.faq-question[aria-expanded="true"]::after,
.faq-item.is-open .faq-question::after {
  transform: rotate(0);
}

.faq-answer {
  overflow: hidden;
  color: var(--muted);
}

.faq-answer:not([hidden]) {
  padding: 0 2.5rem 1.5rem 0;
  animation: faq-in var(--duration-medium) var(--ease);
}

.faq-answer p + p {
  margin-top: 0.75rem;
}

.no-js .faq-answer[hidden] {
  display: block;
  padding: 0 2.5rem 1.5rem 0;
}

@keyframes faq-in {
  from {
    opacity: 0;
    transform: translateY(-0.375rem);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* CTA final */

.closing-cta {
  position: relative;
  display: flex;
  min-height: min(50rem, 92svh);
  align-items: flex-end;
  overflow: hidden;
  isolation: isolate;
  color: var(--paper);
  background: var(--night);
}

.closing-cta__media,
.closing-cta__shade {
  position: absolute;
  inset: 0;
}

.closing-cta__media {
  z-index: -2;
}

.closing-cta__media > :where(img, picture),
.closing-cta__media picture > img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}

.closing-cta__shade {
  z-index: -1;
  background:
    linear-gradient(180deg, rgba(8, 12, 18, 0.15), rgba(8, 12, 18, 0.82)),
    linear-gradient(90deg, rgba(8, 12, 18, 0.45), transparent);
}

.closing-cta__content {
  display: grid;
  width: min(100%, calc(var(--shell) + (var(--gutter) * 2)));
  margin-inline: auto;
  padding: var(--section-space) var(--gutter);
  gap: 1.5rem;
}

.closing-cta__content h2 {
  max-width: 16ch;
  color: var(--paper);
  font-size: clamp(2.5625rem, 11vw, 4.25rem);
  line-height: 0.95;
}

.closing-cta__content p {
  max-width: 38rem;
  color: rgba(255, 255, 255, 0.78);
  font-size: 1.0625rem;
}

.closing-cta__content .hero__actions,
.closing-cta__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.625rem;
}

/* Rodapé */

.site-footer {
  color: var(--ink-soft);
  background: var(--paper);
}

.footer-grid {
  display: grid;
  padding-block: 4.5rem 2.5rem;
  gap: 3rem;
}

.footer-brand {
  display: grid;
  max-width: 26rem;
  align-content: start;
  gap: 1.25rem;
}

.footer-brand img {
  width: 10rem;
}

.footer-brand p {
  color: var(--muted);
  font-size: 0.875rem;
}

.footer-links {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 2.5rem 1rem;
}

.footer-links > * {
  display: grid;
  align-content: start;
  gap: 0.625rem;
}

.footer-links h2,
.footer-links h3,
.footer-links strong {
  margin-bottom: 0.25rem;
  color: var(--muted);
  font-size: 0.6875rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.footer-links a {
  display: inline-flex;
  width: fit-content;
  min-height: 2.625rem;
  align-items: center;
  color: var(--ink);
  font-size: 0.875rem;
  font-weight: 500;
}

.footer-links a:hover {
  color: var(--brand);
}

.footer-meta {
  display: flex;
  flex-direction: column;
  padding-block: 1.5rem 2rem;
  border-top: 0.0625rem solid var(--line);
  color: var(--muted);
  font-size: 0.75rem;
  gap: 0.75rem;
}

.footer-meta a:hover {
  color: var(--brand);
}

/* Entradas progressivas: sem JS, tudo permanece visível. */

.js .reveal {
  opacity: 0;
  transform: translateY(1.5rem);
  transition:
    opacity var(--duration-reveal) var(--ease),
    transform var(--duration-reveal) var(--ease);
}

.js .reveal.is-visible,
.js .reveal[data-reveal].is-visible {
  opacity: 1;
  transform: translateY(0);
}

/* Tablet */

@media (min-width: 43.75rem) {
  :root {
    --gutter: 1.875rem;
    --section-space: 6.875rem;
  }

  .section-head {
    grid-template-columns: minmax(0, 1.4fr) minmax(16rem, 0.6fr);
    align-items: end;
  }

  .section-head .eyebrow {
    grid-column: 1 / -1;
  }

  .section-head :is(h1, h2) {
    font-size: clamp(2.5rem, 6vw, 3.25rem);
  }

  .section-head > p {
    justify-self: end;
  }

  .hero__content {
    padding-bottom: 3.75rem;
  }

  .hero__copy > p {
    font-size: 1.125rem;
    line-height: 1.55;
  }

  .hero__status {
    max-width: 46rem;
  }

  .journey-card {
    flex-basis: min(46vw, 23rem);
  }

  .metrics {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .metric {
    min-height: 15rem;
    padding-inline: 1.5rem;
    border-right: 0.0625rem solid var(--line);
  }

  .metric:last-child {
    border-right: 0;
  }

  .metric :where(strong, .metric__value, .metric-value) {
    font-size: clamp(4.5rem, 10vw, 6rem);
  }

  .exam-showcase {
    grid-template-columns: minmax(18rem, 0.82fr) minmax(0, 1.18fr);
    gap: clamp(3rem, 8vw, 6rem);
  }

  .exam-link {
    min-height: 4.75rem;
    font-size: 1.125rem;
  }

  .network__content {
    padding-block: 6.875rem;
  }

  .network__cards {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .network-card {
    padding: 1.75rem;
    border-right: 0.0625rem solid rgba(255, 255, 255, 0.17);
  }

  .network-card:last-child {
    border-right: 0;
  }

  .solutions-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .solution-card {
    min-height: 32rem;
    padding: 2rem;
  }

  .blog-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 2.5rem 1.25rem;
  }

  .blog-grid .post-card:first-child {
    grid-column: 1 / -1;
  }

  .blog-grid .post-card:first-child .post-card__media {
    aspect-ratio: 2 / 1;
  }

  .closing-cta__content {
    padding-block: 6.875rem;
  }

  .footer-grid {
    grid-template-columns: minmax(15rem, 0.8fr) minmax(0, 1.2fr);
    gap: 4rem;
  }

  .footer-links {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .footer-meta {
    flex-direction: row;
    align-items: center;
    justify-content: space-between;
  }
}

/* Desktop */

@media (min-width: 64rem) {
  :root {
    --section-space: 9.375rem;
  }

  .section-head :is(h1, h2),
  .network__content h2 {
    font-size: clamp(2.5rem, 3.7vw, 3.25rem);
  }

  .hero h1,
  .closing-cta__content h2 {
    font-size: clamp(3.25rem, 4.8vw, 4.25rem);
  }

  .hero__media > :where(img, picture, video),
  .hero__media picture > img {
    object-position: center;
  }

  .hero__content {
    grid-template-columns: minmax(0, 1.55fr) minmax(22rem, 0.45fr);
    align-items: end;
    padding-bottom: 3.125rem;
  }

  .hero__copy {
    grid-column: 1;
  }

  .hero__status {
    grid-column: 2;
    align-self: end;
  }

  .journey {
    display: grid;
    margin-inline: 0;
    padding: 0;
    overflow: visible;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 0.75rem;
  }

  .journey-card {
    min-height: 31rem;
  }

  .proof__quote {
    font-size: clamp(2.75rem, 3.7vw, 3.25rem);
  }

  .network__media {
    min-height: clamp(34rem, 55vw, 48rem);
  }

  .network__content {
    grid-template-columns: minmax(0, 0.95fr) minmax(26rem, 1.05fr);
    align-items: start;
    padding-block: 7.5rem 9.375rem;
    gap: 5rem;
  }

  .network__content > :where(.eyebrow, h2, p) {
    grid-column: 1;
  }

  .network__cards {
    grid-column: 2;
    grid-row: 1 / span 4;
  }

  .solution-card {
    min-height: 38rem;
    padding: 2.5rem;
  }

  .blog-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 1.25rem;
  }

  .blog-grid .post-card:first-child {
    grid-column: auto;
  }

  .blog-grid .post-card:first-child .post-card__media {
    aspect-ratio: 1.45 / 1;
  }

  .faq .section-head {
    margin-inline: auto;
    text-align: center;
  }

  .faq .section-head :is(h1, h2),
  .faq .section-head > p {
    margin-inline: auto;
  }

  .faq .section-head .eyebrow {
    justify-self: center;
  }

  .closing-cta__content {
    padding-block: 9.375rem 5rem;
  }
}

/* O menu textual só aparece quando há espaço real para as oito rotas. */

@media (min-width: 73.75rem) {
  .header-inner {
    grid-template-columns: auto minmax(0, 1fr) auto;
    gap: clamp(1rem, 2.3vw, 2.5rem);
  }

  .brand {
    width: 13.75rem;
  }

  .brand img {
    height: 3.5rem;
  }

  .desktop-nav {
    display: flex;
    min-width: 0;
    align-items: center;
    justify-content: center;
    gap: clamp(0.625rem, 1.25vw, 1.25rem);
  }

  .menu-toggle {
    display: none;
  }
}

@media (min-width: 80rem) {
  :root {
    --gutter: 3.75rem;
  }

  .desktop-nav a {
    font-size: 0.8125rem;
  }

  .solutions-grid {
    gap: 1.25rem;
  }

  .blog-grid {
    gap: 1.5rem;
  }
}

/* Preferências de movimento e contraste */

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  *,
  *::before,
  *::after {
    scroll-behavior: auto !important;
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
    transition-delay: 0ms !important;
  }

  .js .reveal {
    opacity: 1;
    transform: none;
  }

  .post-card:hover .post-card__media img,
  .post-card:focus-within .post-card__media img,
  .button:hover::after,
  .text-link:hover::after,
  .exam-link:hover::after {
    transform: none;
  }
}

@media (forced-colors: active) {
  .button,
  .menu-toggle,
  .solution-card,
  .journey-card {
    border-color: ButtonText;
  }

  .eyebrow::before,
  .faq-question::before,
  .faq-question::after {
    background: currentColor;
  }
}

/* Integração com a marcação final */

body.biograph-theme ul,
body.biograph-theme ol {
  list-style: none;
}

.button::after,
.text-link::after,
.mobile-menu__nav a::after,
.exam-link::after,
.journey-card::before,
.journey-card::after {
  content: none;
}

.button > [aria-hidden="true"],
.text-link > [aria-hidden="true"],
.mobile-menu__nav a > span:last-child {
  transition: transform var(--duration-short) var(--ease);
}

.button:hover > [aria-hidden="true"] {
  transform: translate(0.125rem, -0.125rem);
}

.text-link:hover > [aria-hidden="true"],
.mobile-menu__nav a:hover > span:last-child {
  transform: translateX(0.25rem);
}

.mobile-menu__body .mobile-menu__actions,
.mobile-menu__body .mobile-menu__nav,
.mobile-menu__body .mobile-menu__meta {
  padding-inline: 0;
}

.menu-toggle--close::before {
  transform: rotate(45deg);
}

.menu-toggle--close::after {
  transform: rotate(-45deg);
}

.section-head > div,
.network__content > header {
  display: grid;
  align-content: end;
  gap: 1rem;
}


.proof > .shell > .eyebrow {
  display: flex;
  width: fit-content;
  margin: 0 auto 1.5rem;
}

.metric > span:last-child {
  color: var(--brand);
  font-size: 1.25rem;
}

.exam-link > span:last-child {
  color: var(--muted);
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.08em;
}

.exam-link:hover > span:last-child,
.exam-link.is-active > span:last-child {
  color: var(--brand);
}

.network__media > :where(img, picture),
.network__media picture > img {
  position: absolute;
  inset: 0;
}

.network__content header > p {
  max-width: 40rem;
  color: rgba(255, 255, 255, 0.68);
}

.network-card strong {
  color: var(--paper);
  font-size: 1.375rem;
  font-weight: 400;
  line-height: 1.2;
}

.network-card > span:last-child {
  color: var(--brand);
  font-size: 1.125rem;
}

.solution-card__links {
  display: grid;
  align-content: start;
  gap: 0.25rem;
}

.site-footer {
  color: var(--paper);
  background: var(--night);
}

.footer-brand p,
.footer-contact,
.footer-contact address,
.footer-contact p {
  color: rgba(255, 255, 255, 0.62);
}

.footer-contact address {
  font-style: normal;
}

.footer-brand__social {
  display: flex;
  flex-wrap: wrap;
  gap: 0.25rem 1rem;
}

.footer-brand__social a {
  display: inline-flex;
  min-height: 2.625rem;
  align-items: center;
  color: rgba(255, 255, 255, 0.75);
  font-size: 0.8125rem;
}

.footer-links {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  align-content: start;
  gap: 0.625rem;
}

.footer-links h2,
.footer-links h3,
.footer-links strong {
  color: rgba(255, 255, 255, 0.5);
}

.footer-links a {
  color: var(--paper);
}

.footer-links a:hover,
.footer-brand__social a:hover {
  color: #78aef9;
}

.footer-meta {
  border-top-color: rgba(255, 255, 255, 0.16);
  color: rgba(255, 255, 255, 0.52);
}

.footer-meta > div {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem 1.25rem;
}

@media (min-width: 64rem) {
  .footer-grid {
    grid-template-columns:
      minmax(15rem, 1.25fr)
      minmax(8rem, 0.65fr)
      minmax(11rem, 0.85fr)
      minmax(10rem, 0.8fr);
    gap: clamp(2rem, 4vw, 4.5rem);
  }
}

@media (prefers-reduced-motion: reduce) {
  .button:hover > [aria-hidden="true"],
  .text-link:hover > [aria-hidden="true"],
  .mobile-menu__nav a:hover > span:last-child {
    transform: none;
  }
}

/* QA specificity fixes */
body.biograph-theme .site-header .brand__logo--color {
  display: none;
}

body.biograph-theme .site-header.is-scrolled .brand__logo--light {
  display: none;
}

body.biograph-theme .site-header.is-scrolled .brand__logo--color {
  display: block;
}

body.biograph-theme .mobile-menu__head .brand__logo--color {
  display: block;
}

body.biograph-theme a.button--primary,
body.biograph-theme button.button--primary {
  color: var(--paper);
}

body.biograph-theme a.button--light,
body.biograph-theme button.button--light {
  color: var(--ink);
}

body.biograph-theme a.button--ghost,
body.biograph-theme button.button--ghost {
  color: currentColor;
}
/* QA mobile carousel */
.journey {
  overflow-y: hidden;
  scrollbar-width: none;
  -ms-overflow-style: none;
}

.journey::-webkit-scrollbar {
  display: none;
  width: 0;
  height: 0;
}

/* Cabeçalho claro nas páginas internas; a home mantém a versão sobre a foto. */
body.biograph-theme:not(.page-home) .site-header {
  color: var(--ink);
  background: rgba(255, 255, 255, 0.94);
  -webkit-backdrop-filter: blur(0.875rem);
  backdrop-filter: blur(0.875rem);
}

body.biograph-theme:not(.page-home) .site-header::after {
  background: var(--line);
}

body.biograph-theme:not(.page-home) .site-header .brand__logo--light {
  display: none;
}

body.biograph-theme:not(.page-home) .site-header .brand__logo--color {
  display: block;
}

body.biograph-theme:not(.page-home) .site-header .menu-toggle {
  color: var(--ink);
  border-color: var(--line);
  background: var(--paper);
}

body.biograph-theme:not(.page-home) .site-header .header-results {
  color: var(--paper);
  background: var(--brand);
  border-color: var(--brand);
}

body.biograph-theme:not(.page-home) .site-header .header-results:hover {
  color: var(--paper);
  background: var(--brand-deep);
  border-color: var(--brand-deep);
}

/* Jornada: cabeçalho alinhado e cards com imagem editorial. */
.method .section-head {
  max-width: 52rem;
  margin-bottom: var(--journey-heading-space);
  margin-inline: auto;
  grid-template-columns: minmax(0, 1fr);
  align-items: start;
  justify-items: center;
  gap: 1.5rem;
  text-align: center;
}

.method .section-head > div {
  justify-self: center;
  justify-items: center;
}

.method .section-head > div:last-child {
  max-width: 40rem;
}

.method .section-head h2,
.method .section-head p {
  margin-inline: auto;
}

.method .section-head .text-link {
  margin-top: 0.25rem;
}

.journey-card {
  min-height: 26rem;
  align-content: stretch;
  grid-template-rows: minmax(11.5rem, 1fr) auto;
  gap: 1.25rem;
}

.journey-card__media {
  min-width: 0;
  min-height: 11.5rem;
  overflow: hidden;
  border-radius: calc(var(--radius-media) - 0.375rem);
  background: #e8edf4;
}

.journey-card__media img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 420ms cubic-bezier(0.2, 0.75, 0.25, 1);
}

.journey-card__content {
  display: grid;
  align-content: start;
  gap: 0.75rem;
}

@media (min-width: 64rem) {
  .journey-card {
    min-height: 31rem;
    grid-template-rows: minmax(17rem, 1fr) auto;
  }

  .journey-card__media {
    min-height: 17rem;
  }
}

@media (hover: hover) and (pointer: fine) {
  .journey-card:hover .journey-card__media img {
    transform: scale(1.025);
  }
}

@media (prefers-reduced-motion: reduce) {
  .journey-card__media img {
    transition: none;
  }

  .journey-card:hover .journey-card__media img {
    transform: none;
  }
}

/* Navegação hierárquica: mantém os submenus editáveis do CMS. */
.desktop-nav__list {
  display: flex;
  min-width: 0;
  align-items: center;
  justify-content: center;
  gap: inherit;
}

.desktop-nav__item {
  position: relative;
}

.desktop-nav__link {
  gap: 0.3125rem;
}

.desktop-nav__chevron {
  display: inline-block;
  font-size: 0.875rem;
  line-height: 1;
  transition: transform var(--duration-short) var(--ease);
}

.desktop-nav__submenu {
  position: absolute;
  z-index: 20;
  top: calc(100% + 0.5rem);
  left: 50%;
  display: grid;
  width: max-content;
  min-width: 17rem;
  max-width: min(24rem, calc(100vw - 2rem));
  padding: 0.625rem;
  border: 0.0625rem solid var(--line);
  border-radius: 1rem;
  visibility: hidden;
  color: var(--ink);
  background: rgba(255, 255, 255, 0.98);
  box-shadow: 0 1rem 3rem rgba(15, 30, 51, 0.14);
  opacity: 0;
  transform: translate(-50%, -0.5rem);
  transition:
    opacity var(--duration-short) var(--ease),
    transform var(--duration-short) var(--ease),
    visibility var(--duration-short) step-end;
}

.desktop-nav__item:first-child .desktop-nav__submenu {
  left: 0;
  transform: translate(0, -0.5rem);
}

.desktop-nav__submenu::before {
  position: absolute;
  right: 0;
  bottom: 100%;
  left: 0;
  height: 0.75rem;
  content: "";
}

.desktop-nav__item:hover > .desktop-nav__submenu,
.desktop-nav__item:focus-within > .desktop-nav__submenu {
  visibility: visible;
  opacity: 1;
  transform: translate(-50%, 0);
  transition:
    opacity var(--duration-short) var(--ease),
    transform var(--duration-short) var(--ease),
    visibility 0s step-start;
}

.desktop-nav__item:first-child:hover > .desktop-nav__submenu,
.desktop-nav__item:first-child:focus-within > .desktop-nav__submenu {
  transform: translate(0, 0);
}

.desktop-nav__item:hover > .desktop-nav__link .desktop-nav__chevron,
.desktop-nav__item:focus-within > .desktop-nav__link .desktop-nav__chevron {
  transform: rotate(180deg);
}

.desktop-nav__submenu a {
  display: flex;
  min-height: 2.5rem;
  padding: 0.625rem 0.75rem;
  border-radius: 0.625rem;
  color: var(--ink);
  font-size: 0.8125rem;
  line-height: 1.35;
  white-space: normal;
}

.desktop-nav__submenu a::after {
  display: none;
}

.desktop-nav__submenu a:hover,
.desktop-nav__submenu a:focus-visible,
.desktop-nav__submenu a[aria-current="page"] {
  color: var(--brand);
  background: var(--surface);
}

.desktop-nav__submenu-group {
  padding-block: 0.25rem;
}

.desktop-nav__submenu-group > a {
  color: var(--brand);
  font-weight: 700;
}

.desktop-nav__submenu-nested {
  display: grid;
  padding: 0 0.5rem 0.375rem 0.75rem;
  grid-template-columns: minmax(0, 1fr);
  gap: 0.125rem;
}

.desktop-nav__submenu-nested a {
  min-height: 2.25rem;
  padding: 0.5rem;
  color: var(--muted);
  font-size: 0.75rem;
}

.mobile-menu__group {
  border-bottom: 0.0625rem solid var(--line);
}

.mobile-menu__group > summary {
  display: flex;
  min-height: 3.5rem;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  color: var(--ink);
  font-size: clamp(1.25rem, 6vw, 1.75rem);
  font-weight: 400;
  line-height: 1.1;
  letter-spacing: -0.02em;
  cursor: pointer;
  list-style: none;
}

.mobile-menu__group > summary::-webkit-details-marker {
  display: none;
}

.mobile-menu__chevron {
  color: var(--brand);
  font-size: 1.25rem;
  font-weight: 400;
  transition: transform var(--duration-short) var(--ease);
}

.mobile-menu__group[open] > summary .mobile-menu__chevron {
  transform: rotate(45deg);
}

.mobile-menu__children {
  display: grid;
  padding: 0.25rem 0 1rem 1rem;
}

.mobile-menu__nav .mobile-menu__children > a {
  min-height: 2.75rem;
  font-size: 0.9375rem;
  font-weight: 600;
  letter-spacing: 0;
}

.mobile-menu__nav .mobile-menu__overview {
  color: var(--brand);
}

.mobile-menu__nav .mobile-menu__child--section {
  margin-top: 0.375rem;
  color: var(--ink);
}

.mobile-menu__grandchildren {
  display: grid;
  padding: 0.25rem 0 0.5rem 1rem;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0.125rem 0.75rem;
}

.mobile-menu__nav .mobile-menu__grandchildren a {
  min-height: 2.25rem;
  align-items: center;
  border-bottom: 0;
  color: var(--muted);
  font-size: 0.8125rem;
  font-weight: 500;
  letter-spacing: 0;
}

.mobile-menu__nav a[aria-current="page"],
.mobile-menu__group[open] > summary {
  color: var(--brand);
}

@media (max-width: 30rem) {
  .mobile-menu__grandchildren {
    grid-template-columns: minmax(0, 1fr);
  }
}

/* Refinamento global — os microrótulos em caixa alta com tracinho eram
   puramente decorativos. Os campos permanecem editáveis no CMS, mas não
   disputam atenção com os títulos e o conteúdo principal. */
body.biograph-theme :is(.eyebrow, .ubx-eyebrow) {
  display: none !important;
}

.post-card :where(.post-card__meta, .post-card__meta time) {
  font-weight: 500;
  letter-spacing: 0;
  text-transform: none;
}

/* O CTA final funciona como uma faixa editorial compacta. Antes ele ocupava
   quase uma tela inteira e deixava uma grande área morta antes do rodapé. */
.closing-cta {
  min-height: clamp(28rem, 58svh, 38rem);
  align-items: center;
}

.closing-cta__content,
body.biograph-theme .closing-cta__content {
  padding-block: clamp(4.5rem, 8vw, 7rem);
}

/* Jornada da home: o respiro entre o hero e o cabeçalho acompanha
   exatamente a distância entre o texto introdutório e os cards. */
.page-section--jornada {
  --journey-heading-space: clamp(3.5rem, 6.67vw, 6rem);
}

.page-section--jornada .method.section {
  padding-top: var(--journey-heading-space);
}

.page-section--jornada .method .section-head {
  margin-bottom: var(--journey-heading-space);
}

/* Hero principal: CTAs editoriais com leitura nitida sobre a fotografia. */
body.biograph-theme.page-home .page-section--hero > .hero .hero__actions {
  align-items: stretch;
  gap: 0.75rem;
}

body.biograph-theme.page-home .page-section--hero > .hero .hero__actions .button {
  min-height: 3.5rem;
  max-width: 100%;
  justify-content: space-between;
  gap: 1.5rem;
  padding: 0.5625rem 0.5625rem 0.5625rem 1.125rem;
  border-radius: 0.875rem;
  font-size: 0.875rem;
  letter-spacing: -0.01em;
  text-align: left;
  box-shadow: 0 0.75rem 2.25rem rgba(4, 10, 19, 0.18);
  backdrop-filter: blur(0.875rem);
  -webkit-backdrop-filter: blur(0.875rem);
  transition:
    color var(--duration-short) var(--ease),
    background-color var(--duration-short) var(--ease),
    border-color var(--duration-short) var(--ease),
    box-shadow var(--duration-short) var(--ease),
    transform var(--duration-short) var(--ease);
}

body.biograph-theme.page-home .page-section--hero > .hero .hero__actions .button::after {
  display: grid;
  width: 2.375rem;
  height: 2.375rem;
  flex: 0 0 2.375rem;
  place-items: center;
  border: 0.0625rem solid transparent;
  border-radius: 50%;
  font-size: 1rem;
  font-weight: 500;
  line-height: 1;
  content: "\2197";
  transition:
    color var(--duration-short) var(--ease),
    background-color var(--duration-short) var(--ease),
    border-color var(--duration-short) var(--ease),
    transform var(--duration-short) var(--ease);
}

body.biograph-theme.page-home .page-section--hero > .hero .hero__actions .button.button--primary {
  min-inline-size: 18.75rem;
  color: #10141b;
  background: rgba(255, 255, 255, 0.96);
  border-color: rgba(255, 255, 255, 0.96);
}

body.biograph-theme.page-home .page-section--hero > .hero .hero__actions .button.button--primary::after {
  color: #fff;
  background: var(--brand);
  border-color: var(--brand);
}

body.biograph-theme.page-home .page-section--hero > .hero .hero__actions .button.button--light {
  min-inline-size: 13rem;
  color: #fff;
  background: rgba(7, 13, 23, 0.52);
  border-color: rgba(255, 255, 255, 0.42);
}

body.biograph-theme.page-home .page-section--hero > .hero .hero__actions .button.button--light::after {
  color: #fff;
  background: rgba(255, 255, 255, 0.08);
  border-color: rgba(255, 255, 255, 0.34);
}

body.biograph-theme.page-home .page-section--hero > .hero .hero__actions .button:focus-visible {
  outline: 0.1875rem solid #fff;
  outline-offset: 0.1875rem;
}

@media (hover: hover) and (pointer: fine) {
  body.biograph-theme.page-home .page-section--hero > .hero .hero__actions .button:hover {
    transform: translateY(-0.125rem);
  }

  body.biograph-theme.page-home .page-section--hero > .hero .hero__actions .button.button--primary:hover {
    color: #10141b;
    background: #fff;
    border-color: #fff;
    box-shadow: 0 1rem 2.75rem rgba(4, 10, 19, 0.26);
  }

  body.biograph-theme.page-home .page-section--hero > .hero .hero__actions .button.button--primary:hover::after {
    background: var(--brand-deep);
    border-color: var(--brand-deep);
    transform: translate(0.125rem, -0.125rem);
  }

  body.biograph-theme.page-home .page-section--hero > .hero .hero__actions .button.button--light:hover {
    color: #fff;
    background: rgba(7, 13, 23, 0.76);
    border-color: rgba(255, 255, 255, 0.72);
    box-shadow: 0 1rem 2.75rem rgba(4, 10, 19, 0.28);
  }

  body.biograph-theme.page-home .page-section--hero > .hero .hero__actions .button.button--light:hover::after {
    color: #10141b;
    background: #fff;
    border-color: #fff;
    transform: translate(0.125rem, -0.125rem);
  }
}

@media (max-width: 36rem) {
  body.biograph-theme.page-home .page-section--hero > .hero .hero__actions {
    display: grid;
    width: min(100%, 28rem);
    grid-template-columns: minmax(0, 1fr);
  }

  body.biograph-theme.page-home .page-section--hero > .hero .hero__actions .button {
    width: 100%;
    min-inline-size: 0;
  }
}

@media (prefers-reduced-motion: reduce) {
  body.biograph-theme.page-home .page-section--hero > .hero .hero__actions .button,
  body.biograph-theme.page-home .page-section--hero > .hero .hero__actions .button::after {
    transition: none;
  }

  body.biograph-theme.page-home .page-section--hero > .hero .hero__actions .button:hover,
  body.biograph-theme.page-home .page-section--hero > .hero .hero__actions .button:hover::after {
    transform: none;
  }
}

/* Hero principal — ações editoriais divididas, sem movimento artificial. */
body.biograph-theme.page-home .page-section--hero > .hero .hero__actions {
  display: grid;
  width: min(100%, 23rem);
  grid-template-columns: minmax(0, 1fr);
  gap: 0.75rem;
}

body.biograph-theme.page-home .page-section--hero > .hero .hero__actions .hero-cta {
  display: grid;
  width: 100%;
  min-width: 0;
  min-height: 3.75rem;
  max-width: 100%;
  padding: 0;
  overflow: hidden;
  grid-template-columns: minmax(0, 1fr) 3.5rem;
  gap: 0;
  border: 0.0625rem solid transparent;
  border-radius: 0.875rem;
  font-size: 0.875rem;
  font-weight: 700;
  line-height: 1.3;
  letter-spacing: -0.01em;
  text-align: left;
  box-shadow: none;
  backdrop-filter: none;
  -webkit-backdrop-filter: none;
  transform: none;
  transition:
    color var(--duration-short) var(--ease),
    background-color var(--duration-short) var(--ease),
    border-color var(--duration-short) var(--ease);
}

body.biograph-theme.page-home .page-section--hero > .hero .hero__actions .hero-cta::after {
  display: none;
  content: none;
}

body.biograph-theme.page-home .page-section--hero > .hero .hero__actions .hero-cta__label {
  display: flex;
  min-width: 0;
  align-items: center;
  padding: 0.875rem 1rem;
}

body.biograph-theme.page-home .page-section--hero > .hero .hero__actions .hero-cta__end {
  display: grid;
  align-self: stretch;
  place-items: center;
  border-left: 0.0625rem solid transparent;
  transform: none;
  transition:
    color var(--duration-short) var(--ease),
    background-color var(--duration-short) var(--ease),
    border-color var(--duration-short) var(--ease);
}

body.biograph-theme.page-home .page-section--hero > .hero .hero__actions .hero-cta__end svg {
  width: 1.125rem;
  height: 1.125rem;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.6;
  stroke-linecap: round;
  stroke-linejoin: round;
}

body.biograph-theme.page-home .page-section--hero > .hero .hero__actions .hero-cta--booking {
  color: var(--ink);
  background: var(--paper);
  border-color: var(--paper);
}

body.biograph-theme.page-home .page-section--hero > .hero .hero__actions .hero-cta--booking .hero-cta__end {
  color: var(--paper);
  background: var(--brand);
  border-left-color: var(--brand);
}

body.biograph-theme.page-home .page-section--hero > .hero .hero__actions .hero-cta--results {
  color: var(--paper);
  background: rgba(17, 18, 20, 0.66);
  border-color: rgba(255, 255, 255, 0.52);
}

body.biograph-theme.page-home .page-section--hero > .hero .hero__actions .hero-cta--results .hero-cta__end {
  color: var(--paper);
  background: rgba(255, 255, 255, 0.1);
  border-left-color: rgba(255, 255, 255, 0.28);
}

body.biograph-theme.page-home .page-section--hero > .hero .hero__actions .hero-cta:hover,
body.biograph-theme.page-home .page-section--hero > .hero .hero__actions .hero-cta:focus-visible,
body.biograph-theme.page-home .page-section--hero > .hero .hero__actions .hero-cta:active,
body.biograph-theme.page-home .page-section--hero > .hero .hero__actions .hero-cta:hover > .hero-cta__end,
body.biograph-theme.page-home .page-section--hero > .hero .hero__actions .hero-cta:focus-visible > .hero-cta__end,
body.biograph-theme.page-home .page-section--hero > .hero .hero__actions .hero-cta:active > .hero-cta__end {
  box-shadow: none;
  transform: none;
}

body.biograph-theme.page-home .page-section--hero > .hero .hero__actions .hero-cta:focus-visible {
  outline: 0.1875rem solid var(--paper);
  outline-offset: 0.25rem;
}

@media (hover: hover) and (pointer: fine) {
  body.biograph-theme.page-home .page-section--hero > .hero .hero__actions .hero-cta--booking:hover {
    color: var(--ink);
    background: #edf5ff;
    border-color: #edf5ff;
  }

  body.biograph-theme.page-home .page-section--hero > .hero .hero__actions .hero-cta--booking:hover .hero-cta__end {
    color: var(--paper);
    background: var(--brand-deep);
    border-left-color: var(--brand-deep);
  }

  body.biograph-theme.page-home .page-section--hero > .hero .hero__actions .hero-cta--results:hover {
    color: var(--ink);
    background: var(--paper);
    border-color: var(--paper);
  }

  body.biograph-theme.page-home .page-section--hero > .hero .hero__actions .hero-cta--results:hover .hero-cta__end {
    color: var(--paper);
    background: var(--brand);
    border-left-color: var(--brand);
  }
}

@media (min-width: 43.75rem) {
  body.biograph-theme.page-home .page-section--hero > .hero .hero__actions {
    display: flex;
    width: auto;
    flex-wrap: wrap;
  }

  body.biograph-theme.page-home .page-section--hero > .hero .hero__actions .hero-cta--booking {
    width: auto;
    min-inline-size: 18.5rem;
  }

  body.biograph-theme.page-home .page-section--hero > .hero .hero__actions .hero-cta--results {
    width: auto;
    min-inline-size: 12.5rem;
  }
}

@media (forced-colors: active) {
  body.biograph-theme.page-home .page-section--hero > .hero .hero__actions .hero-cta,
  body.biograph-theme.page-home .page-section--hero > .hero .hero__actions .hero-cta__end {
    border-color: ButtonText;
  }
}

@media (prefers-reduced-motion: reduce) {
  body.biograph-theme.page-home .page-section--hero > .hero .hero__actions .hero-cta,
  body.biograph-theme.page-home .page-section--hero > .hero .hero__actions .hero-cta__end {
    transition: none;
  }
}

/* Estrutura segura quando o hero com mídia também for usado fora da home. */
body.biograph-theme .hero .hero__actions .hero-cta {
  display: grid;
  padding: 0;
  overflow: hidden;
  grid-template-columns: minmax(0, 1fr) 3.5rem;
  gap: 0;
  transform: none;
}

body.biograph-theme .hero .hero__actions .hero-cta::after {
  display: none;
  content: none;
}

body.biograph-theme .hero .hero__actions .hero-cta__label {
  display: flex;
  min-width: 0;
  align-items: center;
  padding: 0.875rem 1rem;
}

body.biograph-theme .hero .hero__actions .hero-cta__end {
  display: grid;
  align-self: stretch;
  place-items: center;
  border-left: 0.0625rem solid transparent;
  transform: none;
}

body.biograph-theme .hero .hero__actions .hero-cta__end svg {
  width: 1.125rem;
  height: 1.125rem;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.6;
  stroke-linecap: round;
  stroke-linejoin: round;
}

body.biograph-theme .hero .hero__actions .button.hero-cta--booking {
  color: var(--ink);
  background: var(--paper);
  border-color: var(--paper);
}

body.biograph-theme .hero .hero__actions .button.hero-cta--results {
  color: var(--paper);
  background: rgba(17, 18, 20, 0.66);
  border-color: rgba(255, 255, 255, 0.52);
}

body.biograph-theme .hero .hero__actions .hero-cta:hover,
body.biograph-theme .hero .hero__actions .hero-cta:hover > .hero-cta__end,
body.biograph-theme .hero .hero__actions .hero-cta:focus-visible > .hero-cta__end,
body.biograph-theme .hero .hero__actions .hero-cta:active > .hero-cta__end {
  transform: none;
}

@media (hover: hover) and (pointer: fine) {
  body.biograph-theme.page-home .page-section--hero > .hero .hero__actions .button.hero-cta--booking:hover {
    color: var(--ink);
    background: #edf5ff;
    border-color: #edf5ff;
    box-shadow: none;
  }

  body.biograph-theme.page-home .page-section--hero > .hero .hero__actions .button.hero-cta--booking:hover .hero-cta__end {
    color: var(--paper);
    background: var(--brand-deep);
    border-left-color: var(--brand-deep);
  }

  body.biograph-theme.page-home .page-section--hero > .hero .hero__actions .button.hero-cta--results:hover {
    color: var(--ink);
    background: var(--paper);
    border-color: var(--paper);
    box-shadow: none;
  }

  body.biograph-theme.page-home .page-section--hero > .hero .hero__actions .button.hero-cta--results:hover .hero-cta__end {
    color: var(--paper);
    background: var(--brand);
    border-left-color: var(--brand);
  }
}

@media (min-width: 43.75rem) {
  body.biograph-theme.page-home .page-section--hero > .hero .hero__actions .button.hero-cta--booking {
    min-inline-size: 18.5rem;
  }

  body.biograph-theme.page-home .page-section--hero > .hero .hero__actions .button.hero-cta--results {
    min-inline-size: 12.5rem;
  }
}

/* Estados normais com especificidade suficiente para substituir o protótipo anterior. */
body.biograph-theme.page-home .page-section--hero > .hero .hero__actions .button.hero-cta--booking {
  color: var(--ink);
  background: var(--paper);
  border-color: var(--paper);
}

body.biograph-theme.page-home .page-section--hero > .hero .hero__actions .button.hero-cta--results {
  color: var(--paper);
  background: rgba(17, 18, 20, 0.66);
  border-color: rgba(255, 255, 255, 0.52);
}

body.biograph-theme .hero .hero__actions .button.hero-cta--booking .hero-cta__end {
  color: var(--paper);
  background: var(--brand);
  border-left-color: var(--brand);
}

body.biograph-theme .hero .hero__actions .button.hero-cta--results .hero-cta__end {
  color: var(--paper);
  background: rgba(255, 255, 255, 0.1);
  border-left-color: rgba(255, 255, 255, 0.28);
}

/* Ações principais transferidas do Hero para o cabeçalho. */
.header-hero-actions { display: none; align-items: stretch; gap: 0.5rem; }
.header-hero-cta { display: grid; min-height: 2.5rem; overflow: hidden; grid-template-columns: minmax(0, 1fr) 2.5rem; align-items: stretch; border: 0.0625rem solid transparent; border-radius: 0.625rem; font-size: 0.6875rem; font-weight: 700; line-height: 1.15; white-space: nowrap; }
.header-hero-cta > span:first-child { display: flex; align-items: center; padding: 0.5rem 0.75rem; }
.header-hero-cta__icon { display: grid; place-items: center; border-left: 0.0625rem solid transparent; }
.header-hero-cta__icon svg { width: 1rem; height: 1rem; fill: none; stroke: currentColor; stroke-width: 1.6; stroke-linecap: round; stroke-linejoin: round; }
body.biograph-theme .header-hero-cta--booking { color: var(--ink); background: var(--paper); border-color: var(--paper); }
body.biograph-theme .header-hero-cta--booking .header-hero-cta__icon { color: var(--paper); background: var(--brand); border-left-color: var(--brand); }
body.biograph-theme .header-hero-cta--results { color: var(--paper); background: rgba(17, 18, 20, 0.58); border-color: rgba(255, 255, 255, 0.52); }
.header-hero-cta--results .header-hero-cta__icon { border-left-color: rgba(255, 255, 255, 0.28); }
body.biograph-theme .site-header.is-scrolled .header-hero-cta--results { color: var(--ink); background: var(--paper); border-color: var(--line); }
@media (min-width: 73.75rem) { .header-hero-actions { display: flex; } }
@media (min-width: 90rem) {
  .header-hero-actions { transform: translateX(min(7vw, calc((100vw - var(--shell)) / 2 - var(--gutter)))); }
  .header-hero-cta { min-height: 2.625rem; grid-template-columns: minmax(0, 1fr) 2.625rem; font-size: 0.75rem; }
  .header-hero-cta > span:first-child { padding-inline: 0.875rem; }
}
/* WhatsApp à esquerda no CTA de agendamento. */
.header-hero-cta.header-hero-cta--booking { grid-template-columns: minmax(0, 1fr); }
.header-hero-cta--booking .header-hero-cta__label { display: flex; align-items: center; gap: 0.5rem; padding: 0.5rem 0.75rem; }
.header-hero-cta__whatsapp { width: 1.125rem; height: 1.125rem; flex: 0 0 auto; fill: none; stroke: #20a95a; stroke-width: 1.6; stroke-linecap: round; stroke-linejoin: round; }
.header-hero-cta__whatsapp path + path { fill: #20a95a; stroke: none; }
/* Home: faixa de números compacta. */
body.biograph-theme.page-home .page-section--pilares .ubx-section { padding-block: clamp(1.5rem, 3vw, 2.5rem); }
body.biograph-theme.page-home .page-section--pilares .ubx-section-heading { margin-bottom: 1.25rem; }
body.biograph-theme.page-home .page-section--pilares .ubx-section-heading__title { max-width: none; font-size: clamp(1.75rem, 3vw, 2.5rem); line-height: 1.05; white-space: nowrap; }
body.biograph-theme.page-home .page-section--pilares .ubx-metric { min-height: 8.25rem; padding: 1rem 1.25rem; gap: 0.3rem; align-content: center; }
body.biograph-theme.page-home .page-section--pilares .ubx-metric > span[aria-hidden="true"] svg { width: 1.375rem; height: 1.375rem; }
body.biograph-theme.page-home .page-section--pilares .ubx-metric__value { font-size: clamp(2.5rem, 4.5vw, 3.75rem); line-height: 0.9; }
body.biograph-theme.page-home .page-section--pilares .ubx-metric__label { font-size: 0.8125rem; }
body.biograph-theme.page-home .page-section--pilares .ubx-metric__copy { font-size: 0.6875rem; line-height: 1.35; }
body.biograph-theme.page-home .page-section--pilares .text-link { margin-top: 0.2rem; font-size: 0.6875rem; }
@media (max-width: 43.74rem) {
  body.biograph-theme.page-home .page-section--pilares .ubx-section-heading__title { white-space: normal; }
  body.biograph-theme.page-home .page-section--pilares .ubx-metric { min-height: 7rem; }
}
/* Home: números e mapa formam um único bloco visual. */
body.biograph-theme.page-home .page-section--pilares + .page-section--unidades_mapa { margin-top: 0; background: var(--surface); }
body.biograph-theme.page-home .page-section--pilares + .page-section--unidades_mapa .unit-finder { padding-top: 0.75rem; }
body.biograph-theme.page-home .page-section--pilares + .page-section--unidades_mapa .unit-finder__heading { margin-bottom: clamp(1.5rem, 3vw, 2.5rem); padding-top: 0; border-top: 0; }
/* Home: remove o respiro entre métricas e mapa. */
body.biograph-theme.page-home .page-section--pilares .ubx-section { padding-bottom: 0; }
body.biograph-theme.page-home .page-section--unidades_mapa .unit-finder.section { padding-block: 2.5rem; }
body.biograph-theme.page-home .page-section--unidades_mapa .unit-finder__heading { margin-top: 0; margin-bottom: 1.25rem; }
/* Dropdown: hierarquia clara entre subcategoria e sub-subcategoria. */
.desktop-nav__submenu-group > a {
  min-height: 2.25rem;
  margin: 0.125rem 0.125rem 0.25rem;
  padding: 0.5rem 0.625rem;
  color: var(--brand);
  background: rgba(12, 108, 243, 0.07);
  font-size: 0.6875rem;
  font-weight: 800;
  letter-spacing: 0.045em;
  text-transform: uppercase;
}
.desktop-nav__submenu-nested {
  margin: 0 0.5rem 0.5rem 0.875rem;
  padding: 0 0 0 0.75rem;
  border-left: 0.125rem solid rgba(12, 108, 243, 0.18);
}
.desktop-nav__submenu-nested a {
  position: relative;
  min-height: 2.125rem;
  padding: 0.4375rem 0.5rem 0.4375rem 0.875rem;
  color: var(--ink-soft);
}
.desktop-nav__submenu-nested a::before {
  position: absolute;
  top: 50%;
  left: 0.125rem;
  width: 0.25rem;
  height: 0.25rem;
  border-radius: 50%;
  background: var(--brand);
  content: "";
  opacity: 0.55;
  transform: translateY(-50%);
}
.desktop-nav__submenu-nested a:hover::before,
.desktop-nav__submenu-nested a:focus-visible::before,
.desktop-nav__submenu-nested a[aria-current="page"]::before { opacity: 1; }
/* Ritmo vertical unificado entre seções em todo o site. */
body.biograph-theme { --section-space: clamp(4rem, 6.67vw, 6rem); }
/* Contato: fotografia vertical no lugar do aviso sem formulário. */
body.biograph-theme.page-contato .contact-team-photo {
  position: relative;
  width: 100%;
  min-height: 28rem;
  height: 100%;
  margin: 0;
  overflow: hidden;
  aspect-ratio: 4 / 5;
  border: 0.0625rem solid var(--line);
  border-radius: var(--radius-media);
  background: var(--surface);
}
body.biograph-theme.page-contato .contact-team-photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 56% center;
}
@media (max-width: 63.99rem) {
  body.biograph-theme.page-contato .contact-team-photo { min-height: 22rem; max-height: 36rem; aspect-ratio: 4 / 3; }
}
/* Ações dentro de cards com aparência inequívoca de botão. */
body.biograph-theme :is(.ubx-card, .network-card, .solution-card, .post-card, .journey-card, .service-card, .ubx-service-card, .ubx-product-card) .text-link {
  width: fit-content;
  min-height: 2.5rem;
  margin-top: 0.375rem;
  padding: 0.5625rem 0.875rem;
  border: 0.0625rem solid rgba(12, 108, 243, 0.42);
  border-radius: 0.625rem;
  color: var(--brand);
  background: rgba(12, 108, 243, 0.08);
  font-size: 0.75rem;
  line-height: 1.2;
  transition: color var(--duration-short) var(--ease), background-color var(--duration-short) var(--ease), border-color var(--duration-short) var(--ease);
}
body.biograph-theme :is(.ubx-card, .network-card, .solution-card, .post-card, .journey-card, .service-card, .ubx-service-card, .ubx-product-card) .text-link::after { color: currentColor; font-size: 1rem; }
@media (hover: hover) and (pointer: fine) {
  body.biograph-theme :is(.ubx-card, .network-card, .solution-card, .post-card, .journey-card, .service-card, .ubx-service-card, .ubx-product-card) .text-link:hover {
    color: var(--paper);
    background: var(--brand);
    border-color: var(--brand);
  }
}
body.biograph-theme :is(.network-card, .solution-card) .text-link {
  color: var(--paper);
  background: rgba(255, 255, 255, 0.1);
  border-color: rgba(255, 255, 255, 0.42);
}
/* CTA de agendamento: contorno consistente no cabeçalho e na faixa final. */
body.biograph-theme .header-hero-cta--booking { border-color: rgba(17, 18, 20, 0.16); }
body.biograph-theme .site-header:not(.is-scrolled) .header-hero-cta--booking { border-color: rgba(255, 255, 255, 0.68); }
body.biograph-theme:not(.page-home) .site-header .header-hero-cta--booking,
body.biograph-theme .site-header.is-scrolled .header-hero-cta--booking { border-color: var(--line); }
body.biograph-theme .closing-cta__booking {
  width: fit-content;
  min-height: 2.75rem;
  border-color: rgba(255, 255, 255, 0.72);
  border-radius: 0.625rem;
}
body.biograph-theme .closing-cta__booking .header-hero-cta__label { padding: 0.625rem 1rem; }
/* Cabeçalho: ações com fundo cinza suave para maior definição. */
body.biograph-theme .site-header .header-hero-cta--booking,
body.biograph-theme .site-header .header-hero-cta--results {
  background: #f1f3f5;
  border-color: #d9dde3;
}
body.biograph-theme .site-header .header-hero-cta--booking { color: var(--ink); }
body.biograph-theme .site-header .header-hero-cta--results { color: var(--ink); }
@media (hover: hover) and (pointer: fine) {
  body.biograph-theme .site-header .header-hero-cta--booking:hover,
  body.biograph-theme .site-header .header-hero-cta--results:hover {
    background: #e7eaee;
    border-color: #cbd0d7;
  }
}
/* Cabeçalho: segundo nível de contraste dos botões. */
body.biograph-theme .site-header .header-hero-cta--booking,
body.biograph-theme .site-header .header-hero-cta--results {
  background: #e2e5e9;
  border-color: #c8cdd4;
}
@media (hover: hover) and (pointer: fine) {
  body.biograph-theme .site-header .header-hero-cta--booking:hover,
  body.biograph-theme .site-header .header-hero-cta--results:hover {
    background: #d3d7dd;
    border-color: #b9c0c9;
  }
}
/* Cabeçalho rolado: mantém os dois CTAs no mesmo sistema visual. */
body.biograph-theme .site-header.is-scrolled .header-hero-cta--booking,
body.biograph-theme .site-header.is-scrolled .header-hero-cta--results {
  color: var(--ink);
  background: #e2e5e9;
  border-color: #c8cdd4;
}
body.biograph-theme .site-header .header-hero-cta {
  transition: color 240ms var(--ease), background-color 240ms var(--ease), border-color 240ms var(--ease);
}
@media (hover: hover) and (pointer: fine) {
  body.biograph-theme .site-header.is-scrolled .header-hero-cta--booking:hover,
  body.biograph-theme .site-header.is-scrolled .header-hero-cta--results:hover {
    color: var(--ink);
    background: #d3d7dd;
    border-color: #b9c0c9;
  }
}
/* Métricas Home: respiro vertical simétrico ao redor do título. */
body.biograph-theme.page-home .page-section--pilares .ubx-section {
  padding-top: 0;
  padding-bottom: 0;
}
body.biograph-theme.page-home .page-section--pilares .ubx-section-heading {
  display: flex;
  min-height: clamp(6rem, 8vw, 6.5rem);
  margin: 0;
  padding-block: clamp(1.5rem, 2.25vw, 2rem);
  align-items: center;
  justify-content: center;
}
body.biograph-theme.page-home .page-section--pilares .ubx-section-heading > div {
  display: flex;
  align-items: center;
  justify-content: center;
}
body.biograph-theme.page-home .page-section--pilares .ubx-section-heading__title {
  margin: 0;
}
/* Resultados: restaura a divisória vertical antes da seta. */
body.biograph-theme .site-header .header-hero-cta--results .header-hero-cta__icon {
  border-left: 0.0625rem solid rgba(17, 18, 20, 0.38);
}
body.biograph-theme .site-header:not(.is-scrolled) .header-hero-cta--results .header-hero-cta__icon {
  border-left-color: rgba(17, 18, 20, 0.38);
}
/* Dropdown: seta SVG gira no próprio eixo sem alterar posição. */
body.biograph-theme .desktop-nav__chevron {
  display: inline-grid;
  width: 0.875rem;
  height: 0.875rem;
  flex: 0 0 0.875rem;
  place-items: center;
  overflow: visible;
  line-height: 0;
  transform: none !important;
}
body.biograph-theme .desktop-nav__chevron svg {
  display: block;
  width: 0.75rem;
  height: 0.75rem;
  overflow: visible;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.5;
  stroke-linecap: round;
  stroke-linejoin: round;
  transform: rotate(0deg);
  transform-box: view-box;
  transform-origin: 50% 50%;
  transition: transform 180ms var(--ease);
  will-change: transform;
}
body.biograph-theme .desktop-nav__item:hover > .desktop-nav__link .desktop-nav__chevron svg,
body.biograph-theme .desktop-nav__item:focus-within > .desktop-nav__link .desktop-nav__chevron svg {
  transform: rotate(180deg);
}
@media (prefers-reduced-motion: reduce) {
  body.biograph-theme .desktop-nav__chevron svg { transition: none; }
}

/* Hero da home: assinatura institucional na antiga area dos botoes. */
body.biograph-theme .hero__trust-copy { display: none; }
body.biograph-theme.page-home .page-section--hero .hero__copy {
  justify-items: start;
}
body.biograph-theme.page-home .page-section--hero .hero__trust-copy {
  display: block;
  max-width: none;
  margin: 0;
  color: #fff;
  font-family: "Manrope", "Segoe UI", Arial, sans-serif;
  font-size: clamp(3rem, 4.2vw, 4rem);
  font-weight: 800;
  line-height: 1.16;
  letter-spacing: 0;
  word-spacing: 0.11em;
  text-shadow: 0 0.08rem 0.8rem rgba(0, 0, 0, 0.26);
}
body.biograph-theme.page-home .page-section--hero .hero__trust-copy > span {
  display: block;
  white-space: nowrap;
}
@media (max-width: 46rem) {
  body.biograph-theme.page-home .page-section--hero .hero__trust-copy {
    max-width: none;
    font-size: clamp(1.65rem, 6.8vw, 1.95rem);
    line-height: 1.18;
    word-spacing: 0.065em;
  }
}
/* Hero da home: hierarquia tipografica inspirada na referencia. */
body.biograph-theme.page-home .page-section--hero .hero__trust-copy > span {
  word-spacing: normal;
}
body.biograph-theme.page-home .page-section--hero .hero__trust-copy > span:first-child {
  margin-bottom: 0.18em;
  font-size: clamp(2.35rem, 3.35vw, 3.2rem);
  font-weight: 400;
  line-height: 1.05;
  letter-spacing: -0.025em;
}
body.biograph-theme.page-home .page-section--hero .hero__trust-copy > span:last-child {
  font-size: clamp(2.7rem, 3.9vw, 3.75rem);
  font-weight: 800;
  line-height: 1;
  letter-spacing: 0.005em;
  text-transform: uppercase;
}
@media (max-width: 46rem) {
  body.biograph-theme.page-home .page-section--hero .hero__trust-copy > span:first-child {
    margin-bottom: 0.22em;
    font-size: clamp(1.5rem, 6.25vw, 1.8rem);
  }
  body.biograph-theme.page-home .page-section--hero .hero__trust-copy > span:last-child {
    font-size: clamp(1.55rem, 6.5vw, 1.88rem);
    letter-spacing: 0;
  }
}
/* Hero da home: assinatura centralizada no centro util do banner. */
body.biograph-theme.page-home .page-section--hero .hero__content {
  grid-template-columns: 1fr;
  place-items: center;
  padding-block: var(--header-height) 0;
}
body.biograph-theme.page-home .page-section--hero .hero__copy {
  grid-column: 1;
  width: 100%;
  max-width: none;
  justify-items: center;
  text-align: center;
}body.biograph-theme.page-home .page-section--hero .hero {
  align-items: stretch;
}body.biograph-theme.page-home .page-section--hero .hero__content {
  padding-block: 0;
}body.biograph-theme.page-home .page-section--hero .hero__copy > h1:has(br:only-child) {
  display: none;
}/* Home: respiro entre a faixa verde de métricas e a seção de unidades. */
body.biograph-theme.page-home .page-section--pilares .ubx-section {
  padding-bottom: clamp(2.5rem, 3.5vw, 3.5rem);
}