/* Vertical "Projetos" + item de menu e bloco da home.
   Reutiliza os tokens de styles-brand-refresh.css (--blue, --blue-dark, --text, --muted, --line, fontes).
   Classes com prefixo .pj- e .nav-split não afetam componentes existentes. */

:root {
  --pj-ink: #1a295e;
  --pj-accent: #496ef2;
  --pj-accent-text: #3451c7; /* azul com contraste AA para texto pequeno sobre branco */
  --pj-paper: #f6f7fb;
  --pj-rule: rgba(26, 41, 94, 0.14);
  --pj-rule-strong: rgba(26, 41, 94, 0.28);
  --pj-radius: 14px;
  --pj-danger: #b42318;
}

/* ---------- Menu: item "Projetos" (link + botão de submenu) ---------- */

.nav-split {
  position: relative;
  display: flex;
  align-items: center;
  gap: 0.2rem;
}

.nav-split__link {
  position: relative;
  display: inline-flex;
  align-items: center;
  min-height: 74px;
  color: rgba(29, 29, 33, 0.78);
  font-family: var(--font-heading);
  font-size: 0.87rem;
  font-weight: 600;
  letter-spacing: 0.04em;
  line-height: 1;
  text-transform: uppercase;
  white-space: nowrap;
}

.nav-split__link::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: 10px;
  height: 2px;
  background: linear-gradient(90deg, var(--blue-dark), var(--blue));
  opacity: 0;
  transform: scaleX(0);
  transition: transform 0.24s ease, opacity 0.24s ease;
}

.nav-split.is-active .nav-split__link::after,
.nav-split__link:hover::after {
  opacity: 1;
  transform: scaleX(1);
}

.nav-split__toggle {
  display: inline-grid;
  place-items: center;
  width: 2rem;
  height: 2rem;
  padding: 0;
  color: rgba(29, 29, 33, 0.78);
  background: transparent;
  border: 0;
  border-radius: 8px;
  cursor: pointer;
}

.nav-split__toggle:hover {
  background: rgba(26, 41, 94, 0.06);
}

.nav-split__toggle:focus-visible,
.nav-split__link:focus-visible,
.nav-split__menu a:focus-visible {
  outline: 2px solid var(--pj-accent);
  outline-offset: 3px;
  border-radius: 6px;
}

.nav-split.is-open .nav-dropdown__chevron {
  transform: rotate(180deg);
}

.nav-split__menu a[aria-current="page"] {
  color: var(--blue-dark);
  font-weight: 700;
}

.nav-split__overview {
  padding-bottom: 0.55rem;
  border-bottom: 1px solid var(--pj-rule);
  color: var(--blue-dark) !important;
  font-weight: 700;
}

.nav-split.is-open .nav-split__menu {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
  transform: translateX(-50%) translateY(0);
  transition-timing-function: ease, ease, step-start;
}

@media (min-width: 761px) {
  .nav-split:hover .nav-split__menu {
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
    transform: translateX(-50%) translateY(0);
    transition-timing-function: ease, ease, step-start;
  }

  .nav-split:hover .nav-dropdown__chevron {
    transform: rotate(180deg);
  }
}

/* Header com um item a mais: reduz espaçamentos apenas na faixa intermediária. */
@media (min-width: 761px) and (max-width: 1100px) {
  .site-nav {
    gap: 0.9rem;
  }

  .site-nav > a,
  .nav-dropdown summary,
  .nav-split__link {
    font-size: 0.78rem;
    letter-spacing: 0.02em;
  }

  .header-contact {
    margin-left: 0.6rem;
    padding-inline: 0.95rem;
  }
}

@media (min-width: 761px) and (max-width: 900px) {
  .site-header .brand img {
    width: 120px;
  }

  .site-header__inner {
    gap: 0.9rem;
  }

  .site-nav {
    gap: 0.7rem;
  }

  .header-contact {
    padding-inline: 0.8rem;
    font-size: 0.74rem;
  }

  .site-nav > a,
  .nav-dropdown summary,
  .nav-split__link {
    font-size: 0.72rem;
  }
}

@media (max-width: 760px) {
  .nav-split {
    flex-wrap: wrap;
    justify-content: space-between;
  }

  .nav-split__link {
    min-height: 2.75rem;
  }

  .nav-split__link::after {
    display: none;
  }

  .nav-split__toggle {
    width: 2.75rem;
    height: 2.75rem;
  }

  .nav-split__menu {
    display: none;
    flex-basis: 100%;
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
    transform: none;
  }

  .nav-split.is-open .nav-split__menu {
    display: grid;
    transform: none;
  }

  .nav-split__menu a {
    padding: 0.35rem 0;
  }
}

/* ---------- Rodapé com coluna "Projetos" ---------- */

@media (min-width: 1025px) {
  .footer-grid {
    grid-template-columns: 1.1fr 1fr 1fr 1fr;
  }
}

/* ---------- Tipografia e utilidades da vertical ---------- */

.pj-sr {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
  white-space: nowrap;
}

.page-projects main h1,
.page-projects main h2,
.page-projects main h3 {
  text-wrap: balance;
}

.pj-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 0.75rem;
  margin: 0 0 1rem;
  color: var(--pj-accent-text);
  font-family: var(--font-mono);
  font-size: 0.74rem;
  font-weight: 600;
  letter-spacing: 0.16em;
  line-height: 1.4;
  text-transform: uppercase;
}

.pj-eyebrow::before {
  content: "";
  width: 1.75rem;
  height: 1px;
  background: currentColor;
}

.pj-eyebrow__index {
  order: -1;
  padding: 0.2rem 0.45rem;
  color: #fff;
  background: var(--pj-ink);
  border-radius: 4px;
  letter-spacing: 0.08em;
}

.pj-eyebrow--light {
  color: #c9d4ff;
}

.page-projects main a:not(.button):not(.pj-related__link):not(.pj-discipline__media) {
  text-underline-offset: 0.2em;
}

.pj-prose a,
.pj-note a,
.pj-reference a,
.pj-card p a,
.pj-checklist a,
.pj-scope-notice a,
.pj-defs a {
  color: var(--blue-dark);
  font-weight: 600;
  text-decoration: underline;
  text-decoration-color: rgba(73, 110, 242, 0.55);
  text-decoration-thickness: 1px;
}

.pj-prose a:hover,
.pj-note a:hover,
.pj-reference a:hover,
.pj-card p a:hover,
.pj-checklist a:hover,
.pj-scope-notice a:hover {
  text-decoration-color: currentColor;
}

.page-projects main :focus-visible {
  outline: 2px solid var(--pj-accent);
  outline-offset: 3px;
}

/* ---------- Breadcrumb ---------- */

.pj-breadcrumb ol {
  display: flex;
  flex-wrap: wrap;
  gap: 0.35rem 0.6rem;
  margin: 0 0 2rem;
  padding: 0;
  list-style: none;
  font-family: var(--font-mono);
  font-size: 0.76rem;
  letter-spacing: 0.06em;
}

.pj-breadcrumb li {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  color: var(--muted);
}

.pj-breadcrumb li + li::before {
  content: "/";
  color: var(--pj-rule-strong);
}

.pj-breadcrumb a {
  color: var(--blue-dark);
  text-decoration: underline;
  text-decoration-color: transparent;
}

.pj-breadcrumb a:hover {
  text-decoration-color: currentColor;
}

.pj-breadcrumb [aria-current="page"] {
  color: var(--text);
  font-weight: 600;
}

/* FAQ */
.pj-faq {
  border-bottom: 1px solid var(--pj-rule);
}

.pj-faq__item {
  border-top: 1px solid var(--pj-rule);
}

.pj-faq__item summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
  min-height: 3.5rem;
  padding: 1.15rem 0;
  list-style: none;
  cursor: pointer;
}

.pj-faq__item summary::-webkit-details-marker {
  display: none;
}

.pj-faq__item summary h3 {
  margin: 0;
  font-size: 1.1rem;
  font-weight: 600;
  line-height: 1.4;
  letter-spacing: -0.01em;
}

.pj-faq__item summary:hover h3 {
  color: var(--blue-dark);
}

.pj-faq__sign {
  position: relative;
  flex: 0 0 auto;
  width: 2rem;
  height: 2rem;
  border: 1px solid var(--pj-rule-strong);
  border-radius: 50%;
}

.pj-faq__sign::before,
.pj-faq__sign::after {
  content: "";
  position: absolute;
  top: 50%;
  left: 50%;
  width: 0.7rem;
  height: 1.5px;
  background: var(--pj-ink);
  transform: translate(-50%, -50%);
  transition: transform 0.2s ease;
}

.pj-faq__sign::after {
  transform: translate(-50%, -50%) rotate(90deg);
}

.pj-faq__item[open] .pj-faq__sign::after {
  transform: translate(-50%, -50%) rotate(0deg);
}

.pj-faq__answer {
  padding: 0 3.5rem 1.4rem 0;
}

.pj-faq__answer p {
  max-width: 68ch;
}

/* ---------- CTA final + formulário ---------- */

.pj-final {
  position: relative;
  padding: clamp(3.5rem, 7vw, 6rem) 0;
  color: #fff;
  background:
    linear-gradient(rgba(255, 255, 255, 0.04) 1px, transparent 1px) 0 0 / 32px 32px,
    linear-gradient(90deg, rgba(255, 255, 255, 0.04) 1px, transparent 1px) 0 0 / 32px 32px,
    #14214c;
}

.pj-final__grid {
  display: grid;
  grid-template-columns: minmax(0, 0.95fr) minmax(0, 1.1fr);
  gap: clamp(2rem, 5vw, 4.5rem);
  align-items: start;
}

.pj-final__copy h2 {
  color: #fff;
  font-size: clamp(1.8rem, 3vw, 2.6rem);
  font-weight: 700;
  line-height: 1.1;
  letter-spacing: -0.03em;
}

.pj-final__copy > p {
  max-width: 34rem;
  margin-top: 1.1rem;
  color: rgba(255, 255, 255, 0.84);
  font-size: 1.04rem;
}

.pj-final__button {
  margin-top: 1.75rem;
  background: #fff !important;
  color: var(--pj-ink) !important;
  box-shadow: none !important;
}

.pj-final__button::after {
  background: linear-gradient(135deg, transparent 50%, rgba(73, 110, 242, 0.35) 50%) !important;
}

.pj-final__facts {
  display: grid;
  gap: 0;
  max-width: 30rem;
  margin: 2.25rem 0 0;
  padding: 0;
  list-style: none;
  border-top: 1px solid rgba(255, 255, 255, 0.16);
}

.pj-final__facts li {
  display: grid;
  grid-template-columns: 7rem minmax(0, 1fr);
  gap: 1rem;
  padding: 0.8rem 0;
  color: rgba(255, 255, 255, 0.92);
  font-size: 0.95rem;
  line-height: 1.5;
  border-bottom: 1px solid rgba(255, 255, 255, 0.16);
}

.pj-final__facts span {
  color: #b8c6ff;
  font-family: var(--font-mono);
  font-size: 0.7rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  padding-top: 0.2rem;
}

.pj-final :focus-visible {
  outline-color: #9db2ff;
}

.pj-form {
  padding: clamp(1.4rem, 3vw, 2.1rem);
  color: var(--text);
  background: #fff;
  border-radius: 16px;
  box-shadow: 0 30px 70px rgba(4, 10, 30, 0.35);
}

.pj-form .pj-form__title {
  font-size: 0.78rem;
}

.pj-form__required-hint {
  margin-bottom: 1.25rem;
  font-size: 0.88rem;
}

.pj-form__grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1rem 1.1rem;
}

.pj-field {
  display: grid;
  align-content: start;
  gap: 0.4rem;
}

.pj-field--wide {
  grid-column: 1 / -1;
}

.pj-field label {
  color: var(--text);
  font-size: 0.92rem;
  font-weight: 600;
}

.pj-field__req {
  color: var(--pj-danger);
}

.pj-field__opt {
  color: var(--muted);
  font-size: 0.82rem;
  font-weight: 400;
}

.pj-field__hint {
  margin: 0;
  font-size: 0.84rem;
  line-height: 1.45;
}

.pj-field input,
.pj-field select,
.pj-field textarea {
  width: 100%;
  min-height: 3rem;
  padding: 0.75rem 0.9rem;
  color: var(--text);
  font: inherit;
  font-size: 1rem;
  background: #fff;
  border: 1px solid #c3cada;
  border-radius: 10px;
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.pj-field textarea {
  min-height: 8rem;
  resize: vertical;
}

.pj-field input:focus-visible,
.pj-field select:focus-visible,
.pj-field textarea:focus-visible {
  outline: none;
  border-color: var(--pj-ink);
  box-shadow: 0 0 0 3px rgba(73, 110, 242, 0.35);
}

.pj-field.is-invalid input,
.pj-field.is-invalid select,
.pj-field.is-invalid textarea {
  border-color: var(--pj-danger);
  box-shadow: 0 0 0 1px var(--pj-danger);
}

.pj-field__error {
  min-height: 0;
  margin: 0;
  color: var(--pj-danger);
  font-size: 0.85rem;
  font-weight: 600;
  line-height: 1.4;
}

.pj-field__error:empty {
  display: none;
}

.pj-form__privacy {
  margin-top: 1.25rem;
  font-size: 0.85rem;
  line-height: 1.55;
}

.pj-form__privacy a,
.pj-form__status a {
  color: var(--blue-dark);
  font-weight: 600;
  text-decoration: underline;
}

.pj-form__actions {
  margin-top: 1.25rem;
}

.pj-form__actions .button {
  width: 100%;
  min-height: 3.2rem;
  cursor: pointer;
}

.pj-form__status {
  margin-top: 0.9rem;
  color: var(--text);
  font-size: 0.92rem;
}

.pj-form__status:empty {
  display: none;
}

/* ---------- Home: bloco "Outras soluções em engenharia" ---------- */

.pj-teaser {
  border-top: 1px solid var(--pj-rule);
}

.pj-teaser__grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: clamp(2rem, 5vw, 4.5rem);
  align-items: center;
}

.pj-teaser__copy h2 {
  max-width: 18ch;
  font-size: clamp(1.9rem, 3.2vw, 2.75rem);
  line-height: 1.08;
}

.pj-teaser__copy p {
  max-width: 34rem;
  margin: 1.1rem 0 1.6rem;
}

.pj-teaser__list {
  display: flex;
  flex-wrap: wrap;
  gap: 0.6rem;
  margin: 0;
  padding: 0;
  list-style: none;
}

@media (max-width: 760px) {
  .pj-teaser__grid { grid-template-columns: 1fr; }
  .pj-teaser__list { display: none; }
}

/* ---------- Link contextual em páginas existentes ---------- */

.pj-crosslink {
  padding: 2.5rem 0 0;
  background: #fff;
}

.pj-crosslink__inner {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 1rem 2rem;
  padding: 1.4rem 1.75rem;
  background: var(--pj-paper);
  border: 1px solid var(--pj-rule);
  border-left: 3px solid var(--pj-ink);
  border-radius: var(--pj-radius);
}

.pj-crosslink__inner p {
  flex: 1 1 26rem;
  max-width: 62ch;
  color: var(--text);
}


/* =====================================================================
   Redesign v2 da vertical Projetos (.px-)
   Navy da marca (--blue-dark #1a295e) como cor estrutural, fotografia
   tratada em P&B com tom navy, tipografia editorial (Space Grotesk / IBM Plex).
   ===================================================================== */

:root {
  --px-navy: #1a295e;
  --px-navy-deep: #111b40;
  --px-ink: #1c2531;
  --px-support: #2852a0;
  --px-paper: #f5f6f8;
  --px-rule: rgba(26, 41, 94, 0.16);
  --px-rule-light: rgba(255, 255, 255, 0.2);
  --px-on-navy: rgba(255, 255, 255, 0.84);
  --px-kicker-light: #b7c4f4;
}

.page-projects main {
  background: #fff;
}

.page-projects main p {
  font-size: 1.0625rem;
}

/* ---------- Elementos base ---------- */

.px-kicker {
  display: flex;
  align-items: center;
  gap: 0.85rem;
  margin: 0 0 1.25rem;
  color: var(--px-support);
  font-family: var(--font-mono);
  font-size: 0.78rem !important;
  font-weight: 600;
  letter-spacing: 0.18em;
  line-height: 1.4;
  text-transform: uppercase;
}

.px-kicker::before {
  content: "";
  flex: 0 0 2.25rem;
  height: 1px;
  background: currentColor;
}

.px-kicker--light {
  color: var(--px-kicker-light);
}

.px-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.75rem;
  min-height: 3.25rem;
  padding: 0.85rem 1.5rem;
  border: 1px solid transparent;
  border-radius: 2px;
  font-family: var(--font-heading);
  font-size: 0.92rem;
  font-weight: 600;
  letter-spacing: 0.05em;
  line-height: 1.2;
  text-align: center;
  text-transform: uppercase;
  transition: background-color 0.2s ease, color 0.2s ease, border-color 0.2s ease;
}

.px-btn > span[aria-hidden="true"] {
  transition: transform 0.2s ease;
}

.px-btn:hover > span[aria-hidden="true"] {
  transform: translateX(3px);
}

.px-btn .icon {
  width: 1rem;
  height: 1rem;
  font-size: 1rem;
}

.px-btn--light {
  color: var(--px-navy-deep);
  background: #fff;
}

.px-btn--light:hover {
  background: #e4e9fa;
}

.px-btn--ghost {
  color: #fff;
  border-color: rgba(255, 255, 255, 0.55);
}

.px-btn--ghost:hover {
  border-color: #fff;
  background: rgba(255, 255, 255, 0.08);
}

.px-btn--navy {
  color: #fff;
  background: var(--px-navy);
}

.px-btn--navy:hover {
  background: #243a82;
}

.px-btn--outline {
  color: var(--px-navy);
  border-color: var(--px-navy);
}

.px-btn--outline:hover {
  background: rgba(26, 41, 94, 0.06);
}

.px-btn:focus-visible,
.px-link-arrow:focus-visible,
.px-hero__index a:focus-visible,
.px-card:focus-within {
  outline: 3px solid #6f8cf5;
  outline-offset: 3px;
}

.px-link-arrow {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  min-height: 2.75rem;
  color: var(--px-navy);
  font-family: var(--font-heading);
  font-weight: 600;
  letter-spacing: 0.01em;
  border-bottom: 1px solid currentColor;
}

.px-link-arrow span {
  transition: transform 0.2s ease;
}

.px-link-arrow:hover span {
  transform: translateX(3px);
}

.px-link-arrow--light {
  color: #fff;
}

/* Fotografia: P&B com tom navy, para unificar o acervo e manter a sobriedade. */
.px-hero__media img,
.px-hero__frame img,
.px-card__media img,
.px-figure__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: grayscale(1) contrast(1.06);
}

.px-hero__frame,
.px-card__media,
.px-figure__media {
  position: relative;
  overflow: hidden;
  background: var(--px-navy);
}

.px-hero__frame::after,
.px-card__media::after,
.px-figure__media::after {
  content: "";
  position: absolute;
  inset: 0;
  background: var(--px-navy);
  mix-blend-mode: multiply;
  opacity: 0.28;
  pointer-events: none;
  transition: opacity 0.3s ease;
}

/* ---------- Hero ---------- */

.px-hero {
  position: relative;
  overflow: hidden;
}

.px-hero h1 {
  font-size: clamp(2.6rem, 4.6vw, 4.5rem);
  font-weight: 700;
  line-height: 1.02;
  letter-spacing: -0.035em;
}

.px-hero__lead {
  max-width: 36rem;
  margin-top: 1.5rem;
  font-family: var(--font-heading);
  font-size: clamp(1.12rem, 1.5vw, 1.3rem) !important;
  font-weight: 400;
  line-height: 1.5;
}

.px-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  margin-top: 2.25rem;
}

/* Hero escuro (página principal e variante "overlay") */
.px-hero--hub,
.px-hero--overlay {
  display: flex;
  flex-direction: column;
  justify-content: center;
  min-height: clamp(600px, 80vh, 720px);
  color: #fff;
  background: var(--px-navy-deep);
}

.px-hero--hub .px-hero__media,
.px-hero--overlay .px-hero__media {
  position: absolute;
  inset: 0 0 0 auto;
  width: 58%;
}

.px-hero--overlay .px-hero__media {
  width: 100%;
}

.px-hero--hub .px-hero__media::after,
.px-hero--overlay .px-hero__media::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, var(--px-navy-deep) 0%, rgba(17, 27, 64, 0.72) 32%, rgba(17, 27, 64, 0.2) 100%);
}

.px-hero--overlay .px-hero__media::after {
  background: linear-gradient(90deg, rgba(17, 27, 64, 0.96) 0%, rgba(17, 27, 64, 0.82) 45%, rgba(17, 27, 64, 0.45) 100%);
}

.px-hero--hub .px-hero__media img,
.px-hero--overlay .px-hero__media img {
  opacity: 0.85;
}

.px-hero--hub .px-hero__inner,
.px-hero--overlay .px-hero__inner {
  position: relative;
  z-index: 1;
  padding: clamp(2.5rem, 6vw, 4.5rem) 0 clamp(3.25rem, 5vw, 4rem);
}

.px-hero--hub .px-hero__copy,
.px-hero--overlay .px-hero__copy {
  max-width: 41rem;
}

.px-hero--hub h1,
.px-hero--overlay h1 {
  color: #fff;
}

.px-hero--hub .px-hero__lead,
.px-hero--overlay .px-hero__lead {
  color: var(--px-on-navy);
}

.px-hero__index {
  margin-top: clamp(2.5rem, 6vw, 4.5rem);
}

.px-hero__index ol {
  display: grid;
  grid-template-columns: repeat(6, minmax(0, 1fr));
  gap: 1rem;
  margin: 0;
  padding: 0;
  list-style: none;
}

.px-hero__index a {
  display: grid;
  gap: 0.4rem;
  min-height: 100%;
  padding: 0.95rem 0 0.4rem;
  color: #fff;
  font-family: var(--font-heading);
  font-size: 0.95rem;
  font-weight: 500;
  line-height: 1.3;
  border-top: 1px solid rgba(255, 255, 255, 0.3);
  transition: border-color 0.2s ease;
}

.px-hero__index a span {
  color: var(--px-kicker-light);
  font-family: var(--font-mono);
  font-size: 0.74rem;
  letter-spacing: 0.14em;
}

.px-hero__index a:hover {
  border-top-color: #fff;
}

.px-hero__fig {
  position: absolute;
  right: clamp(1rem, 3vw, 2.5rem);
  bottom: 1.1rem;
  z-index: 1;
  margin: 0;
  color: rgba(255, 255, 255, 0.7);
  font-family: var(--font-mono);
  font-size: 0.7rem !important;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

/* Hero claro com fotografia ao lado ("split" e "split-reverse") */
.px-hero--split,
.px-hero--split-reverse {
  padding: clamp(2.25rem, 5vw, 4rem) 0 clamp(3rem, 6vw, 5rem);
  border-bottom: 1px solid var(--px-rule);
}

.px-hero--split .px-hero__inner,
.px-hero--split-reverse .px-hero__inner {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr);
  gap: clamp(2rem, 5vw, 4.5rem);
  align-items: center;
}

.px-hero--split-reverse .px-hero__copy {
  order: 2;
}

.px-hero--split h1,
.px-hero--split-reverse h1 {
  color: var(--px-ink);
}

.px-hero--split .px-hero__lead,
.px-hero--split-reverse .px-hero__lead {
  color: var(--px-ink);
}

.px-hero__photo {
  margin: 0;
}

.px-hero__frame {
  aspect-ratio: 5 / 4;
}

.px-hero__photo figcaption,
.px-figure figcaption {
  display: flex;
  flex-wrap: wrap;
  gap: 0.35rem 0.85rem;
  margin-top: 0.8rem;
  padding-top: 0.7rem;
  color: var(--muted);
  font-family: var(--font-mono);
  font-size: 0.72rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  border-top: 1px solid var(--px-ink);
}

.px-hero__photo figcaption span,
.px-figure figcaption span {
  color: var(--px-ink);
  font-weight: 600;
}

/* Breadcrumb sobre fundo escuro */
.pj-breadcrumb--light li,
.pj-breadcrumb--light li + li::before {
  color: rgba(255, 255, 255, 0.6);
}

.pj-breadcrumb--light a {
  color: rgba(255, 255, 255, 0.85);
}

.pj-breadcrumb--light [aria-current="page"] {
  color: #fff;
}

/* ---------- Faixas de seção ---------- */

.px-band {
  padding: clamp(4rem, 8vw, 7rem) 0;
  background: #fff;
}

.px-band--paper {
  background: var(--px-paper);
}

.px-band--navy {
  color: #fff;
  background: var(--px-navy-deep);
}

.px-head {
  max-width: 50rem;
  margin-bottom: clamp(2.25rem, 4vw, 3.5rem);
}

.px-head h2 {
  max-width: 24ch;
  color: var(--px-ink);
  font-size: clamp(2rem, 3.5vw, 3.1rem);
  font-weight: 700;
  line-height: 1.06;
  letter-spacing: -0.03em;
}

.px-head--wide {
  max-width: none;
}

.px-head--wide h2 {
  max-width: 28ch;
}

.px-head__lead {
  max-width: 60ch;
  margin-top: 1.25rem;
  font-size: 1.12rem !important;
}

.px-head--light h2 {
  color: #fff;
}

.px-head--light .px-head__lead {
  color: var(--px-on-navy);
}

.px-note {
  max-width: 72ch;
  margin-top: 2rem;
  padding-left: 1.1rem;
  color: var(--px-ink);
  border-left: 2px solid var(--px-navy);
}

.px-after {
  max-width: 72ch;
  margin-top: 2.5rem;
}

.px-prose p {
  max-width: 68ch;
  line-height: 1.78;
}

.px-prose p + p {
  margin-top: 1.15rem;
}

.px-prose--wide p:first-child {
  color: var(--px-ink);
  font-family: var(--font-heading);
  font-size: clamp(1.25rem, 2vw, 1.55rem) !important;
  line-height: 1.5;
  letter-spacing: -0.01em;
}

.px-prose--light p {
  color: var(--px-on-navy);
}

.px-prose a,
.px-note a,
.px-reference a,
.px-tile p a,
.px-register a,
.px-scope-notice a,
.px-table a {
  color: var(--px-navy);
  font-weight: 600;
  text-decoration: underline;
  text-decoration-thickness: 1px;
  text-underline-offset: 0.2em;
}

.px-prose--light a {
  color: #fff;
}

.px-reference {
  max-width: 72ch;
  margin-top: 2.5rem;
  padding: 1.25rem 1.5rem;
  background: #fff;
  border: 1px solid var(--px-rule);
  border-left: 3px solid var(--px-support);
}

.px-band--paper .px-reference {
  background: #fff;
}

.px-reference__title,
.px-aside__title,
.px-context__label,
.px-deliverables__title {
  margin: 0 0 0.6rem;
  color: var(--px-navy);
  font-family: var(--font-mono);
  font-size: 0.76rem !important;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.px-reference p:not(.px-reference__title) {
  font-size: 1rem;
}

.px-inline-cta {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 1rem 2rem;
  margin-top: clamp(2.5rem, 4vw, 3.5rem);
  padding: 1.4rem 0 0;
  border-top: 1px solid var(--px-rule);
}

.px-inline-cta p {
  max-width: 46ch;
  color: var(--px-ink);
}

.px-band--navy .px-inline-cta {
  border-top-color: var(--px-rule-light);
}

.px-band--navy .px-inline-cta p {
  color: var(--px-on-navy);
}

.px-band--navy .px-inline-cta .px-link-arrow {
  color: #fff;
}

/* ---------- Página principal: especialidades ---------- */

.px-cards {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: clamp(1.25rem, 2vw, 1.75rem);
  margin: 0;
  padding: 0;
  list-style: none;
}

.px-card {
  position: relative;
  display: flex;
  flex-direction: column;
  background: #fff;
  border: 1px solid var(--px-rule);
  transition: border-color 0.25s ease, box-shadow 0.25s ease;
}

.px-card__media {
  aspect-ratio: 4 / 3;
}

.px-card__media img {
  transition: transform 0.5s ease, filter 0.4s ease;
}

.px-card:hover {
  border-color: var(--px-navy);
  box-shadow: 0 24px 48px rgba(17, 27, 64, 0.12);
}

.px-card:hover .px-card__media img {
  transform: scale(1.03);
  filter: grayscale(0.35) contrast(1.04);
}

.px-card:hover .px-card__media::after {
  opacity: 0.12;
}

.px-card__body {
  display: flex;
  flex: 1;
  flex-direction: column;
  gap: 0.85rem;
  padding: clamp(1.5rem, 2.2vw, 2rem);
}

.px-card__n {
  color: var(--px-support);
  font-family: var(--font-mono);
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.14em;
}

.px-card h3 {
  font-size: clamp(1.35rem, 1.8vw, 1.6rem);
  font-weight: 700;
  line-height: 1.15;
  letter-spacing: -0.02em;
}

.px-card__link {
  color: var(--px-ink);
}

.px-card__link::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 1;
}

.px-card__link:focus-visible {
  outline: none;
}

.px-card p {
  flex: 1;
  font-size: 1rem !important;
  line-height: 1.65;
}

.px-card__more {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  align-self: flex-start;
  margin-top: 0.4rem;
  padding-bottom: 0.2rem;
  color: var(--px-navy);
  font-family: var(--font-heading);
  font-size: 0.95rem;
  font-weight: 600;
  border-bottom: 1px solid currentColor;
}

.px-card__more span {
  transition: transform 0.2s ease;
}

.px-card:hover .px-card__more span {
  transform: translateX(3px);
}

.px-midcta {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem 3rem;
  margin-top: clamp(2.5rem, 5vw, 4rem);
  padding: clamp(1.75rem, 3vw, 2.5rem);
  background: var(--px-paper);
  border-left: 4px solid var(--px-navy);
}

.px-midcta > div {
  flex: 1 1 30rem;
}

.px-midcta h3 {
  font-size: clamp(1.35rem, 2vw, 1.7rem);
  line-height: 1.2;
}

.px-midcta p {
  max-width: 60ch;
  margin-top: 0.6rem;
}

/* ---------- Faixa navy: diferencial diagnóstico ---------- */

.px-diagnostic__grid {
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(0, 1fr);
  gap: clamp(2.5rem, 6vw, 6rem);
  align-items: center;
}

.px-diagnostic .px-head {
  margin-bottom: 1.5rem;
}

.px-diagnostic__text {
  max-width: 56ch;
  color: var(--px-on-navy);
  font-size: 1.15rem !important;
  line-height: 1.7;
}

.px-points {
  margin: 2rem 0 0;
  padding: 0;
  list-style: none;
  border-top: 1px solid var(--px-rule-light);
}

.px-points li {
  position: relative;
  padding: 1rem 0 1rem 2rem;
  color: #fff;
  line-height: 1.55;
  border-bottom: 1px solid var(--px-rule-light);
}

.px-points li::before {
  content: "";
  position: absolute;
  left: 0.15rem;
  top: 1.45rem;
  width: 0.8rem;
  height: 0.42rem;
  border-left: 2px solid var(--px-kicker-light);
  border-bottom: 2px solid var(--px-kicker-light);
  transform: rotate(-45deg);
}

.px-diagnostic__links {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem 2rem;
  margin: 2rem 0 0;
  padding: 0;
  list-style: none;
}

.px-diagnostic__figures {
  display: grid;
  grid-template-columns: minmax(0, 1.25fr) minmax(0, 0.85fr);
  gap: 1.25rem;
  align-items: start;
}

.px-figure {
  margin: 0;
}

.px-figure--a .px-figure__media {
  aspect-ratio: 4 / 3;
}

.px-figure--b {
  margin-top: 5rem;
}

.px-figure--b .px-figure__media {
  aspect-ratio: 3 / 4;
}

.px-band--navy .px-figure figcaption {
  color: rgba(255, 255, 255, 0.7);
  border-top-color: rgba(255, 255, 255, 0.45);
}

.px-band--navy .px-figure figcaption span {
  color: #fff;
}

/* ---------- Processo + entregáveis ---------- */

.px-process {
  display: grid;
  grid-template-columns: minmax(0, 2fr) minmax(0, 0.95fr);
  gap: clamp(2rem, 5vw, 4.5rem);
  align-items: start;
}

.px-steps {
  display: grid;
  gap: clamp(1.5rem, 3vw, 2.5rem);
  margin: 0;
  padding: 0;
  list-style: none;
}

.px-steps--3 {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.px-steps--4 {
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

.px-step {
  display: grid;
  align-content: start;
  gap: 0.85rem;
  padding-top: 1.5rem;
  border-top: 2px solid var(--px-navy);
}

.px-step__n {
  color: var(--px-navy);
  font-family: var(--font-heading);
  font-size: clamp(2.4rem, 3.5vw, 3.2rem);
  font-weight: 300;
  line-height: 1;
  letter-spacing: -0.04em;
}

.px-step h3 {
  font-size: 1.3rem;
  line-height: 1.25;
  letter-spacing: -0.015em;
}

.px-step p {
  font-size: 1rem !important;
}

.px-deliverables {
  padding: clamp(1.75rem, 3vw, 2.25rem);
  color: #fff;
  background: var(--px-navy);
}

.px-deliverables .px-deliverables__title {
  color: var(--px-kicker-light);
}

.px-deliverables ul {
  margin: 1rem 0 0;
  padding: 0;
  list-style: none;
}

.px-deliverables li {
  padding: 0.85rem 0;
  color: #fff;
  font-size: 1rem;
  line-height: 1.45;
  border-top: 1px solid var(--px-rule-light);
}

.px-deliverables__note {
  margin-top: 1.25rem;
  color: var(--px-kicker-light) !important;
  font-family: var(--font-mono);
  font-size: 0.74rem !important;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

/* ---------- Páginas de especialidade: contexto ---------- */

.px-context {
  padding-block: clamp(3.5rem, 7vw, 6rem);
}

.px-context__grid {
  display: grid;
  grid-template-columns: minmax(0, 1.55fr) minmax(0, 0.85fr);
  gap: clamp(2rem, 6vw, 6rem);
  align-items: start;
}

.px-context__big {
  max-width: 40ch;
  margin-bottom: 1.5rem;
  color: var(--px-ink) !important;
  font-family: var(--font-heading);
  font-size: clamp(1.35rem, 2.2vw, 1.75rem) !important;
  line-height: 1.45;
  letter-spacing: -0.015em;
}

.px-context__lead > p:not(.px-context__big):not(.px-scope-notice) {
  max-width: 64ch;
}

.px-scope-notice {
  max-width: 64ch;
  margin-top: 1.75rem;
  padding: 1.15rem 1.35rem;
  color: var(--px-ink) !important;
  background: var(--px-paper);
  border-left: 3px solid var(--px-navy);
}

.px-context__aside {
  padding: clamp(1.5rem, 2.5vw, 2rem);
  background: var(--px-paper);
}

.px-context__aside ul,
.px-context__toc {
  margin: 0 0 1.75rem;
  padding: 0;
  list-style: none;
}

.px-context__aside ul li {
  position: relative;
  padding: 0.7rem 0 0.7rem 1.4rem;
  color: var(--px-ink);
  line-height: 1.45;
  border-top: 1px solid var(--px-rule);
}

.px-context__aside ul li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 1.35rem;
  width: 0.6rem;
  height: 1px;
  background: var(--px-navy);
}

.px-context__toc {
  margin-bottom: 0;
  counter-reset: px-toc;
}

.px-context__toc li {
  counter-increment: px-toc;
  border-top: 1px solid var(--px-rule);
}

.px-context__toc a {
  display: flex;
  gap: 0.75rem;
  padding: 0.6rem 0;
  color: var(--px-ink);
  font-size: 0.97rem;
  line-height: 1.4;
}

.px-context__toc a::before {
  content: counter(px-toc, decimal-leading-zero);
  padding-top: 0.12rem;
  color: var(--px-support);
  font-family: var(--font-mono);
  font-size: 0.74rem;
}

.px-context__toc a:hover {
  color: var(--px-navy);
  text-decoration: underline;
}

/* ---------- Componentes de conteúdo ---------- */

/* Lista de escopo / aplicações em duas colunas, numerada */
.px-register {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  column-gap: clamp(2rem, 4vw, 3.5rem);
  margin: 0;
  padding: 0;
  list-style: none;
}

.px-register li {
  display: grid;
  grid-template-columns: 2.5rem minmax(0, 1fr);
  gap: 0.75rem;
  padding: 1.25rem 0;
  color: var(--px-ink);
  font-size: 1.08rem;
  line-height: 1.55;
  border-top: 1px solid var(--px-rule);
}

.px-register__n {
  padding-top: 0.2rem;
  color: var(--px-support);
  font-family: var(--font-mono);
  font-size: 0.8rem;
  font-weight: 600;
}

/* Blocos editoriais (aplicações / sistemas) */
.px-tiles {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 16rem), 1fr));
  gap: clamp(2rem, 4vw, 3rem) clamp(1.5rem, 4vw, 3.5rem);
}

.px-tiles--2 {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.px-tile {
  display: grid;
  align-content: start;
  gap: 0.85rem;
  padding-top: 1.5rem;
  border-top: 2px solid var(--px-navy);
}

.px-tile__n {
  color: var(--px-support);
  font-family: var(--font-mono);
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.12em;
}

.px-tile h3 {
  font-size: clamp(1.3rem, 1.9vw, 1.6rem);
  line-height: 1.2;
  letter-spacing: -0.02em;
}

/* Tabela de definições (situações, medidas) */
.px-table {
  margin: 0;
  border-bottom: 1px solid var(--px-rule);
}

.px-table__row {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.6fr);
  gap: 2rem;
  padding: 1.4rem 0;
  border-top: 1px solid var(--px-rule);
}

.px-table dt {
  color: var(--px-ink);
  font-family: var(--font-heading);
  font-size: 1.25rem;
  font-weight: 600;
  line-height: 1.3;
  letter-spacing: -0.01em;
}

.px-table dd {
  margin: 0;
  color: var(--muted);
  font-size: 1.05rem;
  line-height: 1.7;
}

/* Comparativos */
.px-compare {
  display: grid;
  gap: clamp(1.25rem, 3vw, 2rem);
}

.px-compare--duo,
.px-compare--2 {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.px-compare--3 {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.px-compare--4 {
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

.px-compare__item {
  display: grid;
  align-content: start;
  gap: 0.75rem;
  padding: clamp(1.5rem, 2.5vw, 2rem);
  background: #fff;
  border: 1px solid var(--px-rule);
  border-top: 4px solid var(--px-navy);
}

.px-band:not(.px-band--paper) .px-compare__item {
  background: var(--px-paper);
}

.px-compare__n {
  color: var(--px-support);
  font-family: var(--font-mono);
  font-size: 0.85rem;
  font-weight: 600;
}

.px-compare__item h3 {
  font-size: 1.3rem;
  line-height: 1.25;
}

.px-compare--duo .px-compare__item h3 {
  font-size: clamp(1.5rem, 2.4vw, 2rem);
}

/* Lista de documentos */
.px-doclist {
  border-bottom: 1px solid var(--px-ink);
}

.px-doclist__head,
.px-doclist__row {
  display: grid;
  grid-template-columns: 5.5rem minmax(0, 1fr) 10rem;
  gap: 1.5rem;
  align-items: baseline;
}

.px-doclist__head {
  padding: 0 0 0.75rem;
  color: var(--muted);
  font-family: var(--font-mono);
  font-size: 0.74rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  border-bottom: 1px solid var(--px-ink);
}

.px-doclist__row {
  padding: 1.1rem 0;
  color: var(--px-ink);
  font-size: 1.08rem;
  border-top: 1px solid var(--px-rule);
}

.px-doclist__row:first-of-type {
  border-top: 0;
}

.px-doclist__code {
  color: var(--px-support);
  font-family: var(--font-mono);
  font-size: 0.85rem;
  font-weight: 600;
}

.px-doclist__cond {
  color: var(--muted);
  font-family: var(--font-mono);
  font-size: 0.74rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

/* Faixa navy de particularidades */
.px-feature {
  display: grid;
  grid-template-columns: minmax(0, 1.25fr) minmax(0, 0.9fr);
  gap: clamp(2.5rem, 6vw, 6rem);
  align-items: start;
}

.px-feature__side {
  display: grid;
  gap: 1.75rem;
}

.px-feature .px-figure__media {
  aspect-ratio: 16 / 10;
}

.px-aside {
  padding: clamp(1.5rem, 2.5vw, 2rem);
  border: 1px solid var(--px-rule-light);
}

.px-aside__tag {
  display: inline-block;
  margin-bottom: 1rem;
  padding: 0.3rem 0.6rem;
  color: var(--px-navy-deep);
  background: var(--px-kicker-light);
  font-family: var(--font-mono);
  font-size: 0.7rem !important;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.px-band--navy .px-aside__title {
  color: var(--px-kicker-light);
}

.px-aside p:not(.px-aside__title):not(.px-aside__tag) {
  color: var(--px-on-navy);
  font-size: 1rem !important;
}

.px-aside ul {
  margin: 0.5rem 0 0;
  padding: 0;
  list-style: none;
}

.px-aside li {
  position: relative;
  padding: 0.75rem 0 0.75rem 1.4rem;
  color: #fff;
  line-height: 1.45;
  border-top: 1px solid var(--px-rule-light);
}

.px-aside li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 1.4rem;
  width: 0.6rem;
  height: 1px;
  background: var(--px-kicker-light);
}

/* ---------- FAQ ---------- */

.px-faq-layout {
  display: grid;
  grid-template-columns: minmax(0, 0.85fr) minmax(0, 1.5fr);
  gap: clamp(2rem, 6vw, 6rem);
  align-items: start;
}

.px-faq-layout .px-head {
  margin-bottom: 1.25rem;
}

.px-faq-aside {
  max-width: 30ch;
}

.px-faq-aside a {
  color: var(--px-navy);
  font-weight: 600;
  text-decoration: underline;
}

.pj-faq__item summary h3 {
  font-size: 1.15rem !important;
  font-weight: 600;
  color: var(--px-ink);
}

.pj-faq__item summary {
  min-height: 4rem;
  padding: 1.35rem 0;
}

@media (min-width: 1025px) {
  .px-faq-layout__intro {
    position: sticky;
    top: 7.5rem;
  }
}

/* ---------- Relacionados ---------- */

.px-related {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 16rem), 1fr));
  gap: 1rem;
  margin: 0;
  padding: 0;
  list-style: none;
}

.px-related__link {
  position: relative;
  display: grid;
  gap: 0.5rem;
  height: 100%;
  padding: 1.5rem 3rem 1.5rem 1.5rem;
  background: #fff;
  border: 1px solid var(--px-rule);
  transition: border-color 0.2s ease;
}

.px-related__link:hover {
  border-color: var(--px-navy);
}

.px-related__label {
  color: var(--px-ink);
  font-family: var(--font-heading);
  font-size: 1.12rem;
  font-weight: 600;
  line-height: 1.3;
}

.px-related__text {
  color: var(--muted);
  font-size: 0.98rem;
  line-height: 1.55;
}

.px-related__arrow {
  position: absolute;
  top: 1.45rem;
  right: 1.35rem;
  color: var(--px-navy);
}

.px-siblings {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 1rem 1.5rem;
  margin-top: clamp(2.5rem, 4vw, 3.5rem);
  padding-top: 1.75rem;
  border-top: 1px solid var(--px-rule);
}

.px-siblings p {
  margin: 0;
  color: var(--px-navy);
  font-family: var(--font-mono);
  font-size: 0.76rem !important;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.px-siblings ul {
  display: flex;
  flex-wrap: wrap;
  gap: 0.6rem;
  margin: 0;
  padding: 0;
  list-style: none;
}

.px-siblings a {
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
  min-height: 2.75rem;
  padding: 0.45rem 1rem;
  color: var(--px-ink);
  font-size: 0.95rem;
  background: #fff;
  border: 1px solid var(--px-rule);
}

.px-siblings a span {
  color: var(--px-support);
  font-family: var(--font-mono);
  font-size: 0.74rem;
}

.px-siblings a:hover {
  border-color: var(--px-navy);
}

/* CTA final (ajustes da v2) */
.pj-final {
  background: var(--px-navy-deep) !important;
}

.pj-final__facts a {
  color: #fff;
  text-decoration: underline;
  text-underline-offset: 0.2em;
}

.pj-final__copy > p {
  font-size: 1.12rem !important;
}

/* ---------- Responsivo ---------- */

@media (max-width: 1024px) {
  .px-hero--hub .px-hero__media {
    width: 100%;
  }

  .px-hero--hub .px-hero__media::after {
    background: linear-gradient(180deg, rgba(17, 27, 64, 0.7) 0%, rgba(17, 27, 64, 0.92) 70%, var(--px-navy-deep) 100%);
  }

  .px-hero__index ol {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .px-hero--split .px-hero__inner,
  .px-hero--split-reverse .px-hero__inner,
  .px-diagnostic__grid,
  .px-process,
  .px-context__grid,
  .px-feature,
  .px-faq-layout,
  .pj-final__grid {
    grid-template-columns: minmax(0, 1fr);
  }

  .px-hero--split-reverse .px-hero__copy {
    order: 0;
  }

  .px-hero__frame {
    aspect-ratio: 16 / 10;
  }

  .px-cards {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .px-steps--4,
  .px-compare--4 {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .px-diagnostic__figures {
    max-width: 40rem;
  }
}

@media (max-width: 760px) {
  .page-projects main p {
    font-size: 1rem;
  }

  .px-hero--hub,
  .px-hero--overlay {
    min-height: 0;
  }

  .px-hero h1 {
    font-size: clamp(2.05rem, 8.6vw, 2.75rem);
  }

  .px-hero__fig {
    position: static;
    padding: 0 1rem 1.25rem;
  }

  .px-hero__index ol {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 0 1rem;
  }

  .px-actions .px-btn {
    width: 100%;
  }

  .px-cards,
  .px-steps--3,
  .px-steps--4,
  .px-register,
  .px-tiles--2,
  .px-compare--duo,
  .px-compare--2,
  .px-compare--3,
  .px-compare--4,
  .pj-form__grid {
    grid-template-columns: minmax(0, 1fr);
  }

  .px-table__row {
    grid-template-columns: minmax(0, 1fr);
    gap: 0.4rem;
  }

  .px-doclist__head {
    display: none;
  }

  .px-doclist__row {
    grid-template-columns: 3.5rem minmax(0, 1fr);
    gap: 0.35rem 1rem;
  }

  .px-doclist__cond {
    grid-column: 2;
  }

  .px-figure--b {
    margin-top: 2.5rem;
  }

  .px-midcta .px-btn {
    width: 100%;
  }

  .pj-final__facts li {
    grid-template-columns: minmax(0, 1fr);
    gap: 0.25rem;
  }

  .pj-faq__answer {
    padding-right: 0;
  }

  .px-head h2 {
    font-size: clamp(1.75rem, 7vw, 2.2rem);
  }
}

@media (prefers-reduced-motion: reduce) {
  .px-card,
  .px-card__media img,
  .px-btn > span,
  .px-link-arrow span,
  .px-card__more span {
    transition: none !important;
  }

  .px-card:hover .px-card__media img {
    transform: none;
  }
}

/* Cabeçalho em telas muito estreitas (≤360px): evita rolagem horizontal em todo o site. */
@media (max-width: 360px) {
  .site-header__inner {
    gap: 0.5rem;
  }

  .site-header .brand img {
    width: 112px;
  }

  .header-contact {
    padding-inline: 0.75rem;
    font-size: 0.74rem;
  }
}
