.page-trabalhista {
  --wr-navy-950: #031928;
  --wr-navy-900: #051e2f;
  --wr-navy-800: #0a2d43;
  --wr-navy-700: #15435d;
  --wr-gold: #c59641;
  --wr-gold-light: #ecc784;
  --wr-gold-text: #94651e;
  --wr-white: #ffffff;
  --wr-cream: #f7f5f1;
  --wr-surface: #f4f6f8;
  --wr-text: #15232d;
  --wr-muted: #52636f;
  --wr-border: #d9e0e4;
  --wr-shadow-soft: 0 18px 48px rgba(3, 25, 40, 0.09);
  --wr-radius: 1rem;
  overflow-x: clip;
}

.page-trabalhista main > section[id],
.page-trabalhista footer {
  scroll-margin-top: calc(var(--sp-header-height) + 1rem);
}

.page-trabalhista .sp-section {
  padding-block: clamp(4rem, 8vw, 6.5rem);
}

.page-trabalhista h1 {
  font-size: clamp(2.35rem, 9.5vw, 3.75rem);
}

.page-trabalhista h2 {
  font-size: clamp(2rem, 7.5vw, 3rem);
}

.page-trabalhista h3 {
  font-size: clamp(1.45rem, 5vw, 1.8rem);
}

.page-trabalhista .sp-button--whatsapp {
  min-height: 3.25rem;
  padding: 0.875rem 1.25rem;
  border-radius: 0.65rem;
  font-family: var(--sp-font-body);
  font-weight: 800;
  line-height: 1.25;
  text-transform: uppercase;
}

.trab-header__inner {
  min-height: 4.75rem;
  transition: min-height var(--sp-transition);
}

.trab-header.is-scrolled .trab-header__inner {
  min-height: 4rem;
}

.trab-brand {
  width: 10.7rem;
}

.trab-header-cta {
  min-height: 2.75rem !important;
  padding: 0.6875rem 1.125rem !important;
  white-space: nowrap;
}

.trab-calculator-cta {
  min-height: 2.75rem;
  padding: 0.6875rem 1rem;
  gap: 0.5rem;
  border-color: var(--wr-gold-light);
  background: transparent;
  color: var(--wr-gold-light);
  white-space: nowrap;
}

.trab-calculator-cta:hover {
  border-color: var(--wr-cream);
  background: rgba(255, 255, 255, 0.08);
  color: var(--wr-cream);
}

.trab-calculator-cta svg {
  width: 1.05rem;
  height: 1.05rem;
  flex: 0 0 auto;
  fill: none;
  stroke: currentColor;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 1.7;
}

.trab-hero {
  min-height: 0;
  padding: calc(var(--sp-header-height) + 2.6rem) 0 4rem;
}

.trab-hero__grid {
  gap: 2.5rem;
}

.trab-hero__content h1 {
  max-width: 48rem;
}

.trab-hero__content .sp-hero__lead {
  max-width: 43rem;
  color: rgba(255, 255, 255, 0.82);
}

.trab-identification {
  margin-top: 1rem;
  color: rgba(255, 255, 255, 0.68);
  font-size: 0.875rem;
  line-height: 1.5;
}

.trab-hero__visual {
  width: min(100%, 22rem);
  margin: 0 auto;
}

.trab-hero__visual picture {
  position: relative;
  display: block;
  overflow: hidden;
  border: 1px solid var(--sp-color-border-dark);
  border-radius: var(--sp-radius-large);
  aspect-ratio: 3 / 4;
  box-shadow: var(--sp-shadow-strong);
}

.trab-hero__visual img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  border: 0;
  border-radius: 0;
  object-fit: cover;
  object-position: center 43%;
  box-shadow: none;
}

.trab-hero__visual figcaption {
  right: 0.75rem;
  bottom: 0.75rem;
  left: 0.75rem;
}

.trab-positioning {
  padding-block: clamp(2.5rem, 6vw, 4rem);
  border-bottom: 1px solid var(--wr-border);
  background: var(--wr-cream);
}

.trab-positioning__inner {
  display: grid;
  max-width: 62rem;
  gap: 1.25rem;
}

.trab-positioning__line {
  width: 3.5rem;
  height: 3px;
  margin-top: 0.65rem;
  background: var(--wr-gold);
}

.trab-positioning h2 {
  margin-bottom: 0.75rem;
  color: var(--wr-navy-900);
  font-size: clamp(1.8rem, 6.5vw, 2.55rem);
}

.trab-positioning p {
  max-width: 48rem;
  margin: 0;
  color: var(--wr-muted);
  font-size: clamp(1rem, 2vw, 1.125rem);
}

.trab-situations,
.trab-proofs {
  background: var(--wr-surface);
}

.trab-primary-grid {
  display: grid;
  gap: 1.25rem;
}

.trab-primary-card {
  position: relative;
  display: flex;
  min-width: 0;
  min-height: 100%;
  padding: clamp(1.5rem, 5vw, 2rem);
  overflow: hidden;
  flex-direction: column;
  border: 1px solid var(--wr-border);
  border-radius: var(--wr-radius);
  background: var(--wr-white);
  box-shadow: var(--wr-shadow-soft);
  transition: border-color var(--sp-transition), transform var(--sp-transition), box-shadow var(--sp-transition);
}

.trab-primary-card::before {
  position: absolute;
  top: 0;
  left: 0;
  width: 4.5rem;
  height: 3px;
  background: var(--wr-gold);
  content: "";
}

.trab-card-icon {
  display: grid;
  width: 3rem;
  height: 3rem;
  margin-bottom: 1.25rem;
  border: 1px solid rgba(197, 150, 65, 0.38);
  border-radius: 0.8rem;
  place-items: center;
  background: var(--wr-cream);
  color: var(--wr-gold-text);
}

.trab-card-icon svg {
  width: 1.55rem;
  height: 1.55rem;
  fill: none;
  stroke: currentColor;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 1.7;
}

.trab-primary-card h3 {
  color: var(--wr-navy-800);
}

.trab-primary-card p {
  margin: 0;
  color: var(--wr-muted);
  font-size: 1rem;
  line-height: 1.7;
}

.trab-calculator-entry {
  margin-top: auto;
  padding-top: 1.25rem;
}

.trab-calculator-entry > strong {
  display: block;
  color: var(--wr-navy-900);
  font-size: 0.98rem;
  line-height: 1.4;
}

.trab-calculator-entry > p {
  margin-top: 0.4rem;
  font-size: 0.9rem;
  line-height: 1.55;
}

.trab-calculator-entry__button {
  width: 100%;
  min-height: 2.8rem;
  margin-top: 0.85rem;
  padding: 0.65rem 0.9rem;
  border-color: var(--wr-gold);
  background: var(--wr-cream);
  color: var(--wr-navy-900);
  font-size: 0.78rem;
}

.trab-calculator-entry__button:hover {
  border-color: var(--wr-navy-800);
  background: var(--wr-navy-800);
  color: var(--wr-white);
}

.trab-primary-card[data-mobile-order="1"] { order: 1; }
.trab-primary-card[data-mobile-order="2"] { order: 2; }
.trab-primary-card[data-mobile-order="3"] { order: 3; }
.trab-primary-card[data-mobile-order="4"] { order: 4; }
.trab-primary-card[data-mobile-order="5"] { order: 5; }
.trab-primary-card[data-mobile-order="6"] { order: 6; }

.trab-pregnancy {
  display: grid;
  margin-top: 1.5rem;
  padding: clamp(1.5rem, 5vw, 2.4rem);
  gap: 1.5rem;
  border: 1px solid rgba(197, 150, 65, 0.55);
  border-left: 4px solid var(--wr-gold);
  border-radius: var(--wr-radius);
  background: var(--wr-cream);
}

.trab-pregnancy h3 {
  color: var(--wr-navy-900);
  font-size: clamp(1.8rem, 6vw, 2.45rem);
}

.trab-pregnancy p:not(.sp-eyebrow) {
  max-width: 48rem;
  margin-bottom: 0;
  color: var(--wr-muted);
}

.trab-pregnancy .sp-button {
  align-self: center;
}

.trab-exit {
  position: relative;
  overflow: hidden;
  background:
    radial-gradient(circle at 85% 5%, rgba(236, 199, 132, 0.12), transparent 24rem),
    var(--wr-navy-900);
  color: var(--wr-white);
}

.trab-exit__grid {
  display: grid;
  gap: clamp(2rem, 7vw, 4.75rem);
}

.trab-exit h2 {
  max-width: 44rem;
}

.trab-exit__copy > p:not(.sp-eyebrow) {
  max-width: 45rem;
  color: rgba(255, 255, 255, 0.77);
}

.trab-exit__aside {
  display: grid;
  gap: 1rem;
}

.trab-decision-panel {
  position: relative;
  padding: 1.5rem;
  border: 1px solid rgba(236, 199, 132, 0.28);
  border-radius: var(--wr-radius);
  background: rgba(255, 255, 255, 0.055);
}

.trab-decision-panel > span {
  display: inline-block;
  margin-bottom: 0.8rem;
  color: var(--wr-gold-light);
  font-family: var(--sp-font-heading);
  font-size: 1.25rem;
  font-weight: 700;
}

.trab-decision-panel h3 {
  color: var(--wr-white);
}

.trab-decision-panel p {
  margin: 0;
  color: rgba(255, 255, 255, 0.72);
}

.trab-decision-cta {
  width: 100%;
  margin-top: 0.4rem;
}

.trab-secondary {
  background: var(--wr-white);
}

.trab-secondary-grid {
  display: grid;
  gap: 0;
  border-top: 1px solid var(--wr-border);
}

.trab-secondary-grid article {
  display: grid;
  min-width: 0;
  padding: 1.5rem 0;
  grid-template-columns: 2.4rem minmax(0, 1fr);
  gap: 1rem;
  border-bottom: 1px solid var(--wr-border);
}

.trab-secondary-grid article > span {
  color: var(--wr-gold-text);
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.12em;
}

.trab-secondary-grid h3 {
  margin-bottom: 0.45rem;
  color: var(--wr-navy-800);
  font-family: var(--sp-font-body);
  font-size: 1.05rem;
  line-height: 1.45;
}

.trab-secondary-grid p {
  margin: 0;
  color: var(--wr-muted);
  font-size: 0.95rem;
}

.trab-secondary-contact {
  margin-top: 2rem;
  color: var(--wr-muted);
}

.trab-secondary-contact a {
  color: var(--wr-navy-800);
  font-weight: 800;
}

.trab-proof-grid {
  display: grid;
  gap: 1.25rem;
}

.trab-proof-grid article {
  position: relative;
  min-width: 0;
  padding: 1.75rem;
  border: 1px solid var(--wr-border);
  border-radius: var(--wr-radius);
  background: var(--wr-white);
}

.trab-proof-number {
  margin-bottom: 1rem;
  color: var(--wr-gold-text);
  font-family: var(--sp-font-heading);
  font-size: 1.45rem;
  font-weight: 700;
}

.trab-proof-grid h3 {
  color: var(--wr-navy-800);
}

.trab-proof-grid ul {
  display: grid;
  margin: 0;
  padding: 0;
  gap: 0.55rem;
  color: var(--wr-muted);
  list-style: none;
}

.trab-proof-grid li {
  position: relative;
  padding-left: 1.25rem;
}

.trab-proof-grid li::before {
  position: absolute;
  top: 0.68em;
  left: 0;
  width: 0.4rem;
  height: 0.4rem;
  border-radius: 50%;
  background: var(--wr-gold);
  content: "";
}

.trab-proof-note {
  max-width: 58rem;
  margin: 2rem 0 0;
  padding: 1.25rem 1.4rem;
  border-left: 3px solid var(--wr-gold);
  background: rgba(255, 255, 255, 0.72);
  color: var(--wr-muted);
}

.trab-process {
  background: var(--wr-white);
}

.trab-process-list {
  display: grid;
  margin: 0;
  padding: 0;
  gap: 1.75rem;
  list-style: none;
}

.trab-process-list li {
  position: relative;
  display: grid;
  min-width: 0;
  grid-template-columns: 3.2rem minmax(0, 1fr);
  gap: 1rem;
}

.trab-process-list li:not(:last-child)::after {
  position: absolute;
  top: 2.6rem;
  bottom: -1.35rem;
  left: 1.15rem;
  width: 1px;
  background: rgba(197, 150, 65, 0.55);
  content: "";
}

.trab-process-list li > span {
  display: grid;
  width: 2.35rem;
  height: 2.35rem;
  border: 1px solid var(--wr-gold);
  border-radius: 50%;
  place-items: center;
  background: var(--wr-cream);
  color: var(--wr-gold-text);
  font-size: 0.75rem;
  font-weight: 800;
}

.trab-process-list h3 {
  color: var(--wr-navy-800);
}

.trab-process-list p {
  margin: 0;
  color: var(--wr-muted);
}

.trab-process-cta {
  display: flex;
  justify-content: center;
  margin-top: 2.25rem;
}

.trab-about {
  border-top: 1px solid var(--wr-border);
  background: var(--wr-cream);
}

.trab-about__grid {
  display: grid;
  gap: clamp(2rem, 7vw, 5rem);
}

.trab-about__visual {
  width: min(100%, 31rem);
  margin: 0;
}

.trab-about__visual picture {
  position: relative;
  display: block;
  overflow: hidden;
  border-radius: var(--sp-radius-large);
  aspect-ratio: 3 / 4;
  box-shadow: var(--wr-shadow-soft);
}

.trab-about__visual img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 35%;
}

.trab-about__copy {
  align-self: center;
}

.trab-about__credential {
  margin: -0.25rem 0 1.5rem;
  color: var(--wr-gold-text);
  font-weight: 800;
}

.trab-about__copy > p:not(.sp-eyebrow):not(.trab-about__credential) {
  max-width: 46rem;
  color: var(--wr-muted);
}

.trab-faq {
  background: var(--wr-cream);
}

.trab-faq__grid {
  display: grid;
  gap: clamp(2rem, 7vw, 5rem);
}

.trab-faq__intro > p:last-child {
  max-width: 36rem;
  color: var(--wr-muted);
}

.trab-faq__list {
  display: grid;
  gap: 0.8rem;
}

.trab-faq__item {
  overflow: hidden;
  border: 1px solid var(--wr-border);
  border-radius: 0.85rem;
  background: var(--wr-white);
}

.trab-faq__item h3 {
  margin: 0;
  font-family: var(--sp-font-body);
}

.trab-faq__item button {
  display: grid;
  width: 100%;
  min-height: 3.5rem;
  padding: 1.05rem 1.1rem;
  align-items: center;
  grid-template-columns: minmax(0, 1fr) 1.5rem;
  gap: 1rem;
  border: 0;
  background: transparent;
  color: var(--wr-navy-800);
  cursor: pointer;
  font-family: var(--sp-font-body);
  font-size: 1rem;
  font-weight: 750;
  line-height: 1.45;
  text-align: left;
}

.trab-faq__item button span {
  color: var(--wr-gold-text);
  font-family: var(--sp-font-heading);
  font-size: 1.55rem;
  text-align: center;
  transition: transform var(--sp-transition);
}

.trab-faq__item button[aria-expanded="true"] span {
  transform: rotate(45deg);
}

.trab-faq__answer {
  padding: 0 1.1rem 1.15rem;
}

.trab-faq__answer p {
  margin: 0;
  padding-top: 1rem;
  border-top: 1px solid var(--wr-border);
  color: var(--wr-muted);
  font-size: 0.95rem;
}

.trab-final-cta {
  position: relative;
  overflow: hidden;
  background:
    radial-gradient(circle at 75% 0%, rgba(236, 199, 132, 0.14), transparent 26rem),
    var(--wr-navy-900);
  color: var(--wr-white);
}

.trab-final-cta__inner {
  max-width: 51rem;
  margin-inline: auto;
  text-align: center;
}

.trab-final-cta__inner > p:not(.sp-eyebrow):not(.trab-final-cta__microcopy) {
  margin: 0 auto 1.75rem;
  color: rgba(255, 255, 255, 0.78);
  font-size: var(--sp-text-lead);
}

.trab-final-cta__microcopy {
  margin-top: 1rem;
  color: rgba(255, 255, 255, 0.6);
  font-size: 0.84rem;
}

.trab-footer__grid {
  grid-template-columns: 1fr;
}

.page-trabalhista .sp-footer__data h2 {
  font-size: 0.8125rem;
  line-height: 1.4;
  overflow-wrap: anywhere;
}

.trab-mobile-cta[hidden] {
  display: none !important;
}

.trab-mobile-cta {
  position: fixed;
  z-index: 430;
  right: 0;
  bottom: 0;
  left: 0;
  padding: 0.65rem 1rem calc(0.65rem + env(safe-area-inset-bottom));
  border-top: 1px solid rgba(236, 199, 132, 0.25);
  background: rgba(3, 25, 40, 0.98);
  box-shadow: 0 -10px 28px rgba(0, 0, 0, 0.22);
}

.trab-mobile-cta .sp-button {
  width: 100%;
}

.trab-consent-pending .trab-mobile-cta,
.sp-consent-open .trab-mobile-cta {
  display: none !important;
}

.no-js .trab-faq__answer[hidden] {
  display: block;
}

@media (hover: hover) and (pointer: fine) {
  .trab-primary-card:hover {
    border-color: rgba(197, 150, 65, 0.62);
    box-shadow: 0 24px 56px rgba(3, 25, 40, 0.12);
    transform: translateY(-3px);
  }
}

@media (min-width: 30rem) {
  .trab-positioning__inner {
    grid-template-columns: 4rem minmax(0, 1fr);
  }
}

@media (min-width: 42rem) {
  .trab-primary-grid,
  .trab-proof-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .trab-primary-card {
    order: initial !important;
  }

  .trab-pregnancy {
    grid-template-columns: minmax(0, 1fr) auto;
    align-items: center;
  }

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

  .trab-secondary-grid article:nth-child(odd) {
    padding-right: 1.75rem;
    border-right: 1px solid var(--wr-border);
  }

  .trab-secondary-grid article:nth-child(even) {
    padding-left: 1.75rem;
  }

  .trab-proof-grid article:last-child {
    grid-column: 1 / -1;
  }

  .trab-footer__grid {
    grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  }
}

@media (min-width: 64rem) {
  :root {
    --sp-header-height: 4.875rem;
  }

  .trab-header__inner {
    min-height: 4.875rem;
  }

  .trab-header.is-scrolled .trab-header__inner {
    min-height: 4rem;
  }

  .trab-nav {
    gap: clamp(0.5rem, 1vw, 1rem);
  }

  .trab-nav > a:not(.sp-button) {
    font-size: 0.8rem;
  }

  .trab-hero {
    min-height: 45rem;
    padding: calc(var(--sp-header-height) + 3rem) 0 4.5rem;
  }

  .trab-hero__grid {
    grid-template-columns: minmax(0, 1.18fr) minmax(22rem, 0.82fr);
    gap: clamp(2.75rem, 5vw, 4.75rem);
  }

  .trab-hero__visual {
    width: 100%;
    max-width: 27rem;
    justify-self: end;
  }

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

  .trab-proof-grid article:last-child {
    grid-column: auto;
  }

  .trab-exit__grid {
    grid-template-columns: minmax(0, 1.42fr) minmax(20rem, 0.95fr);
    align-items: start;
  }

  .trab-process-list {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 0;
  }

  .trab-process-list li {
    padding: 0 2rem;
    grid-template-columns: 1fr;
    gap: 1rem;
  }

  .trab-process-list li:first-child {
    padding-left: 0;
  }

  .trab-process-list li:last-child {
    padding-right: 0;
  }

  .trab-process-list li:not(:last-child)::after {
    top: 1.16rem;
    right: 0;
    bottom: auto;
    left: 2.35rem;
    width: calc(100% - 2.35rem);
    height: 1px;
  }

  .trab-process-list li > span {
    position: relative;
    z-index: 1;
  }

  .trab-about__grid {
    grid-template-columns: minmax(20rem, 0.76fr) minmax(0, 1.08fr);
    align-items: center;
  }

  .trab-faq__grid {
    grid-template-columns: minmax(18rem, 0.8fr) minmax(0, 1.2fr);
    align-items: start;
  }

  .trab-faq__intro {
    position: sticky;
    top: calc(var(--sp-header-height) + 2rem);
  }

  .trab-mobile-cta {
    display: none !important;
  }

  .trab-footer__grid {
    grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.05fr) minmax(0, 0.9fr);
  }
}

@media (min-width: 75rem) {
  .trab-hero__content h1 {
    font-size: 3.75rem;
  }
}

@media (max-width: 63.999rem) {
  .sp-js .page-trabalhista .trab-nav.is-open {
    min-height: calc(100dvh - var(--sp-header-height));
    background: var(--wr-navy-950);
  }

  .sp-js .trab-nav .trab-calculator-cta {
    order: 1;
    margin-top: 1rem;
  }

  .sp-js .trab-nav .trab-header-cta {
    order: 2;
    margin-top: 0.35rem;
  }

  .no-js .trab-header {
    position: static;
  }

  .no-js .trab-header__inner {
    padding-block: 1rem;
    align-items: flex-start;
    flex-direction: column;
  }

  .no-js .trab-nav {
    width: 100%;
    align-items: stretch;
    flex-direction: column;
  }

  .no-js .trab-nav > a {
    padding: 0.75rem;
  }

  .no-js .trab-hero {
    padding-top: 3rem;
  }
}

@media (max-width: 29.999rem) {
  .trab-brand {
    width: 9.3rem;
  }

  .trab-pregnancy .sp-button,
  .trab-process-cta .sp-button,
  .trab-final-cta .sp-button {
    width: 100%;
  }
}

@media (prefers-reduced-motion: reduce) {
  .trab-primary-card:hover,
  .trab-faq__item button span {
    transform: none;
  }
}
