/* Careers heroSlot (host-owned). ASCII-only comments. Copy from Ume design. */

@import url("https://fonts.googleapis.com/css2?family=DM+Sans:wght@400;500;700&display=swap");
/* Block, not swap: the icon text is a ligature ("arrow_back", "work"). Swap paints those words until the font file arrives. */
@import url("https://fonts.googleapis.com/css2?family=Material+Symbols+Rounded:opsz,wght,FILL,GRAD@24,400,0,0&display=block");

/* Hide casca shell chrome on the public listings page so the design can own the top. */
body:has(.careers-hero) header {
  display: none;
}

body:has(.careers-hero) main {
  max-width: none !important;
  padding: 0 !important;
  background: #fff !important;
}

/* Casca heading is replaced by the design "Encontre a sua vaga" block. */
body:has(.careers-hero) main > h1 {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

/* Pad the casca filters + cards — same gutter as hero sections, continuous white. */
body:has(.careers-hero) main > h1 ~ *:not(.careers-hero-after-host) {
  max-width: 1200px;
  margin-left: auto;
  margin-right: auto;
  padding-left: clamp(24px, 6vw, 96px);
  padding-right: clamp(24px, 6vw, 96px);
  padding-bottom: clamp(56px, 7vw, 110px);
  background: #fff;
}

body:has(.careers-hero) main > .careers-hero-after-host {
  max-width: none;
  padding: 0;
  margin: 0;
}

#careers-listings {
  scroll-margin-top: 16px;
}

.careers-hero__listings-head {
  margin-bottom: 0;
}

/* Title sits tight above the casca list; process already has bottom padding. */
.careers-hero__section--listings {
  padding-top: 0;
  padding-bottom: clamp(28px, 4vw, 40px);
  background: #fff;
}

.careers-hero__listings-head h2 {
  margin: 16px 0 0;
  font-weight: 500;
  font-size: clamp(38px, 4.4vw, 64px);
  line-height: 1;
  letter-spacing: -0.03em;
}

.careers-hero {
  --ume-green: #09cf7c;
  --ume-green-hover: #06b86c;
  --ume-dark: #18181c;
  --ume-muted: rgba(24, 24, 28, 0.62);
  --ume-wash: #f4f3f2;
  font-family: "DM Sans", system-ui, sans-serif;
  color: var(--ume-dark);
  -webkit-font-smoothing: antialiased;
}

.careers-hero a {
  color: inherit;
  text-decoration: none;
}

.careers-hero__icon {
  font-family: "Material Symbols Rounded", sans-serif;
  font-weight: 400;
  font-style: normal;
  line-height: 1;
  letter-spacing: normal;
  text-transform: none;
  display: inline-block;
  white-space: nowrap;
  direction: ltr;
  font-size: 1.15em;
  font-variation-settings:
    "FILL" 0,
    "wght" 400,
    "GRAD" 0,
    "opsz" 24;
}

@keyframes careers-hero-marquee {
  from {
    transform: translateX(0);
  }
  to {
    transform: translateX(-50%);
  }
}

@keyframes careers-hero-float {
  0%,
  100% {
    transform: translate3d(0, 0, 0) scale(1);
  }
  50% {
    transform: translate3d(0, -18px, 0) scale(1.04);
  }
}

[data-ch-reveal] {
  opacity: 0;
  transform: translateY(22px);
  transition:
    opacity 640ms cubic-bezier(0.22, 1, 0.36, 1),
    transform 640ms cubic-bezier(0.22, 1, 0.36, 1);
}

[data-ch-reveal].careers-hero__in {
  opacity: 1;
  transform: none;
}

.careers-hero__inner {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 clamp(24px, 6vw, 96px);
}

.careers-hero__section {
  background: #fff;
  padding: clamp(72px, 9vw, 140px) 0;
}

.careers-hero__section--wash {
  background: var(--ume-wash);
}

.careers-hero__section--dark {
  background: var(--ume-dark);
  color: #fff;
}

.careers-hero__section--flush {
  padding-left: 0;
  padding-right: 0;
  overflow: hidden;
}

.careers-hero__section h2 {
  margin: 16px 0 0;
  font-weight: 500;
  font-size: clamp(38px, 4.4vw, 64px);
  line-height: 1;
  letter-spacing: -0.03em;
  text-wrap: pretty;
}

.careers-hero__section-head {
  max-width: 640px;
  margin-bottom: 48px;
}

.careers-hero__eyebrow {
  display: inline-block;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--ume-green);
  border: 1px solid rgba(9, 207, 124, 0.32);
  background: rgba(9, 207, 124, 0.1);
  padding: 7px 14px;
  border-radius: 9999px;
}

.careers-hero__eyebrow--on-light {
  border-color: transparent;
  background: transparent;
  padding: 0;
}

.careers-hero__lead {
  margin: 22px 0 0;
  max-width: 480px;
  font-size: 18px;
  line-height: 1.55;
  color: var(--ume-muted);
}

.careers-hero__lead--on-dark {
  color: rgba(255, 255, 255, 0.62);
}

.careers-hero__btn-primary {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  background: var(--ume-green);
  color: #0b0f0d;
  font-weight: 700;
  font-size: 16px;
  padding: 15px 28px;
  border-radius: 9999px;
  transition: background 200ms cubic-bezier(0.22, 1, 0.36, 1);
}

.careers-hero__btn-primary:hover {
  background: var(--ume-green-hover);
}

.careers-hero__btn-primary--sm {
  padding: 11px 22px;
  font-size: 15px;
}

.careers-hero__btn-ghost {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.16);
  color: #fff;
  font-weight: 700;
  font-size: 16px;
  padding: 15px 28px;
  border-radius: 9999px;
  transition: background 200ms cubic-bezier(0.22, 1, 0.36, 1);
}

.careers-hero__btn-ghost:hover {
  background: rgba(255, 255, 255, 0.12);
}

.careers-hero__top {
  position: relative;
  overflow: hidden;
  background: var(--ume-dark);
  color: #fff;
}

.careers-hero__orb {
  position: absolute;
  border-radius: 9999px;
  pointer-events: none;
  animation: careers-hero-float 14s ease-in-out infinite;
}

.careers-hero__orb--a {
  top: -220px;
  right: -120px;
  width: 660px;
  height: 660px;
  background: radial-gradient(circle at 40% 40%, rgba(9, 207, 124, 0.22), rgba(9, 207, 124, 0) 62%);
}

.careers-hero__orb--b {
  bottom: -260px;
  left: -160px;
  width: 520px;
  height: 520px;
  background: radial-gradient(
    circle at 50% 50%,
    rgba(133, 215, 91, 0.14),
    rgba(133, 215, 91, 0) 65%
  );
  animation-duration: 18s;
}

.careers-hero__nav {
  position: relative;
  z-index: 1;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 32px;
  max-width: 1200px;
  margin: 0 auto;
  padding: 22px clamp(24px, 6vw, 96px);
}

.careers-hero__brand img {
  height: 24px;
  width: auto;
  display: block;
}

.careers-hero__nav-links {
  display: flex;
  align-items: center;
  gap: 30px;
  flex-wrap: wrap;
  justify-content: flex-end;
}

.careers-hero__nav-links > a:not(.careers-hero__btn-primary) {
  font-size: 14px;
  font-weight: 500;
  color: rgba(255, 255, 255, 0.7);
}

.careers-hero__nav-links > a:not(.careers-hero__btn-primary):hover {
  color: #fff;
}

.careers-hero__intro {
  position: relative;
  z-index: 1;
  max-width: 1200px;
  margin: 0 auto;
  padding: clamp(48px, 6vw, 92px) clamp(24px, 6vw, 96px) clamp(56px, 6vw, 96px);
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: clamp(32px, 5vw, 64px);
  align-items: center;
}

.careers-hero__intro-copy h1 {
  margin: 24px 0 0;
  font-weight: 500;
  font-size: clamp(44px, 5.6vw, 88px);
  line-height: 0.95;
  letter-spacing: -0.035em;
  text-wrap: pretty;
}

.careers-hero__intro-copy > p {
  margin: 26px 0 0;
  max-width: 560px;
  font-size: 20px;
  line-height: 1.5;
  color: rgba(255, 255, 255, 0.68);
}

.careers-hero__ctas {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 34px;
}

.careers-hero__blobs {
  display: flex;
  justify-content: center;
  align-items: center;
  min-height: 280px;
  animation: careers-hero-float 12s ease-in-out infinite;
}

.careers-hero__blobs span {
  border-radius: 9999px;
  mix-blend-mode: screen;
}

.careers-hero__blobs span:nth-child(1) {
  width: 150px;
  height: 150px;
  background: #85d75b;
}

.careers-hero__blobs span:nth-child(2) {
  width: 196px;
  height: 150px;
  background: #14b24b;
  margin-left: -36px;
}

.careers-hero__blobs span:nth-child(3) {
  width: 196px;
  height: 150px;
  background: #02792b;
  margin-left: -36px;
}

.careers-hero__stats {
  position: relative;
  z-index: 1;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  max-width: 1200px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  padding: 0 clamp(24px, 6vw, 96px);
}

.careers-hero__stat {
  padding: 30px 24px 34px;
}

.careers-hero__stat:not(:first-child) {
  border-left: 1px solid rgba(255, 255, 255, 0.1);
}

.careers-hero__stat:first-child {
  padding-left: 0;
}

.careers-hero__stat:last-child {
  padding-right: 0;
}

.careers-hero__stat strong {
  display: block;
  font-weight: 500;
  font-size: 40px;
  line-height: 1;
  letter-spacing: -0.03em;
  color: var(--ume-green);
}

.careers-hero__stat span {
  display: block;
  margin-top: 10px;
  font-size: 14px;
  line-height: 20px;
  color: rgba(255, 255, 255, 0.58);
}

.careers-hero__investors {
  background: #fff;
  border-bottom: 1px solid rgba(24, 24, 28, 0.07);
  padding: 44px 0 48px;
  overflow: hidden;
}

.careers-hero__investors > p {
  margin: 0 0 30px;
  text-align: center;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--ume-dark);
}

.careers-hero__marquee {
  display: flex;
  width: max-content;
  animation: careers-hero-marquee 42s linear infinite;
}

.careers-hero__marquee:hover {
  animation-play-state: paused;
}

.careers-hero__marquee--fast {
  animation-duration: 30s;
  margin-top: 52px;
}

.careers-hero__marquee-group,
.careers-hero__team-group {
  display: flex;
  align-items: center;
  gap: 72px;
  padding-right: 72px;
}

.careers-hero__team-group {
  gap: 20px;
  padding-right: 20px;
  align-items: stretch;
}

.careers-hero__investor-logo {
  width: auto;
  max-width: 160px;
  height: auto;
  object-fit: contain;
  opacity: 0.9;
  flex-shrink: 0;
}

.careers-hero__investor-logo:hover {
  opacity: 1;
}

.careers-hero__cultura {
  display: grid;
  grid-template-columns: 1fr 0.9fr;
  gap: clamp(32px, 6vw, 80px);
  align-items: start;
}

.careers-hero__pager {
  display: flex;
  gap: 10px;
  margin-top: 34px;
}

.careers-hero__pager button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 46px;
  height: 46px;
  border-radius: 9999px;
  border: 1px solid rgba(24, 24, 28, 0.14);
  background: #fff;
  color: var(--ume-dark);
  cursor: pointer;
}

.careers-hero__pager button:hover {
  background: rgba(24, 24, 28, 0.05);
}

.careers-hero__values-window {
  overflow: hidden;
  position: relative;
}

.careers-hero__values-track {
  display: flex;
  gap: 20px;
  transition: transform 420ms cubic-bezier(0.22, 1, 0.36, 1);
}

.careers-hero__value-card {
  flex: 0 0 300px;
  min-height: 300px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  padding: 28px;
  border-radius: 24px;
  border: 1px solid rgba(24, 24, 28, 0.1);
  background: #fafafa;
}

.careers-hero__value-card > span {
  font-weight: 500;
  font-size: 34px;
  letter-spacing: -0.03em;
  color: var(--ume-green);
}

.careers-hero__value-card h3 {
  margin: 0;
  font-weight: 700;
  font-size: 24px;
  letter-spacing: -0.01em;
}

.careers-hero__value-card p {
  margin: 12px 0 0;
  font-size: 16px;
  line-height: 1.5;
  color: var(--ume-muted);
}

.careers-hero__work-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 20px;
}

.careers-hero__work-card {
  background: #fff;
  border: 1px solid rgba(24, 24, 28, 0.08);
  border-radius: 24px;
  padding: 32px;
  transition: transform 320ms cubic-bezier(0.22, 1, 0.36, 1);
}

.careers-hero__work-card:hover {
  transform: translateY(-6px);
}

.careers-hero__work-card .careers-hero__icon {
  font-size: 28px;
  color: var(--ume-green);
}

.careers-hero__work-card h3 {
  margin: 20px 0 0;
  font-weight: 700;
  font-size: 24px;
  letter-spacing: -0.01em;
}

.careers-hero__work-card p {
  margin: 12px 0 0;
  font-size: 16px;
  line-height: 1.55;
  color: var(--ume-muted);
}

.careers-hero__team-card {
  flex: 0 0 236px;
  border-radius: 20px;
  overflow: hidden;
  background: var(--ume-wash);
  border: 1px solid rgba(24, 24, 28, 0.08);
  position: relative;
}

.careers-hero__team-card img {
  display: block;
  width: 100%;
  height: 312px;
  object-fit: cover;
  object-position: top center;
}

.careers-hero__team-meta {
  position: absolute;
  left: 12px;
  right: 12px;
  bottom: 12px;
  background: #fff;
  border-radius: 12px;
  padding: 12px 14px;
  border-left: 3px solid var(--ume-green);
}

.careers-hero__team-meta strong {
  display: block;
  font-size: 15px;
}

.careers-hero__team-meta span {
  font-size: 13px;
  color: rgba(24, 24, 28, 0.55);
}

.careers-hero__team-cta {
  flex: 0 0 236px;
  height: 312px;
  border-radius: 20px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 24px;
  background: linear-gradient(150deg, #09cf7c, #02792b);
  color: #0b0f0d;
}

.careers-hero__team-cta .careers-hero__icon {
  font-size: 26px;
}

.careers-hero__team-cta p {
  margin: 14px 0 0;
  font-weight: 700;
  font-size: 22px;
  line-height: 1.15;
  letter-spacing: -0.01em;
}

.careers-hero__benefits {
  display: grid;
  grid-template-columns: 1fr 1.1fr;
  gap: clamp(32px, 6vw, 80px);
  align-items: start;
}

.careers-hero__benefit-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(230px, 1fr));
  gap: 1px;
  background: rgba(255, 255, 255, 0.12);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 20px;
  overflow: hidden;
}

.careers-hero__benefit {
  background: var(--ume-dark);
  padding: 26px 24px 28px;
}

.careers-hero__benefit .careers-hero__icon {
  font-size: 24px;
  color: var(--ume-green);
}

.careers-hero__benefit strong {
  display: block;
  margin-top: 14px;
  font-size: 17px;
}

.careers-hero__benefit span {
  display: block;
  margin-top: 6px;
  font-size: 14px;
  line-height: 20px;
  color: rgba(255, 255, 255, 0.55);
}

.careers-hero__offices {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
  margin-top: 44px;
}

.careers-hero__office {
  border-radius: 24px;
  overflow: hidden;
  border: 1px solid rgba(24, 24, 28, 0.08);
}

.careers-hero__office img {
  display: block;
  width: 100%;
  height: 340px;
  object-fit: cover;
}

.careers-hero__office div {
  padding: 24px 26px 28px;
}

.careers-hero__office strong {
  display: block;
  font-size: 22px;
  letter-spacing: -0.01em;
}

.careers-hero__office span {
  display: block;
  margin-top: 6px;
  font-size: 14px;
  color: rgba(24, 24, 28, 0.55);
}

.careers-hero__process {
  display: grid;
  grid-template-columns: 1fr 0.85fr;
  gap: clamp(32px, 6vw, 72px);
  align-items: start;
}

.careers-hero__steps {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
}

.careers-hero__step {
  cursor: pointer;
  display: grid;
  grid-template-columns: 56px 1fr;
  gap: 8px;
  width: 100%;
  text-align: left;
  padding: 18px 0 18px 20px;
  border: none;
  border-left: 3px solid transparent;
  background: transparent;
  color: rgba(24, 24, 28, 0.38);
  font: inherit;
}

.careers-hero__step--active {
  border-left-color: var(--ume-green);
  color: var(--ume-dark);
}

.careers-hero__step-num,
.careers-hero__step-body strong {
  font-weight: 700;
  font-size: 26px;
  letter-spacing: -0.02em;
  line-height: 1.15;
}

.careers-hero__step-body p {
  margin: 12px 0 0;
  max-width: 460px;
  font-size: 16px;
  line-height: 1.55;
  color: rgba(24, 24, 28, 0.6);
  font-weight: 400;
}

.careers-hero__steps > .careers-hero__btn-primary {
  margin-top: 32px;
}

.careers-hero__process-photo {
  border-radius: 24px;
  overflow: hidden;
  border: 1px solid rgba(24, 24, 28, 0.08);
  background: #fff;
}

.careers-hero__process-photo img {
  display: block;
  width: 100%;
  height: 520px;
  object-fit: cover;
}

.careers-hero__listings-head {
  margin-bottom: 0;
}

.careers-hero__talent {
  margin-top: 24px;
  border-radius: 24px;
  padding: clamp(36px, 5vw, 64px);
  background: linear-gradient(120deg, #18181c 0%, #18181c 55%, #02792b 100%);
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 32px;
  flex-wrap: wrap;
}

.careers-hero__talent h3 {
  margin: 0;
  font-weight: 500;
  font-size: clamp(28px, 3.2vw, 44px);
  line-height: 1.05;
  letter-spacing: -0.03em;
}

.careers-hero__talent p {
  margin: 14px 0 0;
  max-width: 520px;
  font-size: 17px;
  line-height: 1.55;
  color: rgba(255, 255, 255, 0.68);
}

.careers-hero__footer {
  background: #fff;
  border-top: 1px solid rgba(24, 24, 28, 0.1);
  padding: 40px 0;
}

.careers-hero__footer-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  flex-wrap: wrap;
}

.careers-hero__footer-brand {
  display: flex;
  align-items: center;
  gap: 14px;
}

.careers-hero__footer-brand img {
  height: 20px;
  width: auto;
}

.careers-hero__footer-brand span,
.careers-hero__footer-links a {
  font-size: 13px;
  color: rgba(24, 24, 28, 0.45);
}

.careers-hero__footer-links {
  display: flex;
  align-items: center;
  gap: 24px;
}

.careers-hero__footer-links a:hover {
  color: var(--ume-dark);
}

@media (max-width: 960px) {
  .careers-hero__intro,
  .careers-hero__cultura,
  .careers-hero__benefits,
  .careers-hero__process,
  .careers-hero__offices,
  .careers-hero__stats {
    grid-template-columns: 1fr;
  }

  .careers-hero__blobs {
    display: none;
  }

  .careers-hero__stat:not(:first-child) {
    border-left: none;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
  }

  .careers-hero__nav-links > a:not(.careers-hero__btn-primary) {
    display: none;
  }

  .careers-hero__process-photo img {
    height: 320px;
  }
}

@media (prefers-reduced-motion: reduce) {
  .careers-hero__marquee,
  .careers-hero__orb,
  .careers-hero__blobs,
  [data-ch-reveal] {
    animation: none;
    transition: none;
  }

  [data-ch-reveal] {
    opacity: 1;
    transform: none;
  }
}
