/* ================================================
   Timeline — página Sobre
   Tokens alinhados ao design system / home
   ================================================ */

.about-timeline {
  --about-ink-muted: #4a584a;
  --about-line: rgba(56, 75, 56, 0.22);
  --about-line-strong: rgba(56, 75, 56, 0.42);
  --about-ring: rgba(175, 223, 170, 0.55);
  --brand-primary: #384b38;
  --forest-300: #8fd084;
  --font-serif: "freight-big-pro", serif;
  --font-sans: "aktiv-grotesk", sans-serif;
  --font-label: "aktiv-grotesk", sans-serif;

  scroll-margin-top: clamp(5.5rem, 14vh, 7rem);
  position: relative;
  padding: clamp(3.5rem, 8vw, 6rem) 0 clamp(4rem, 10vw, 7rem);
  background: linear-gradient(180deg, #f6f8f5 0%, #eef3ec 42%, #e8efe5 100%);
  border-top: 1px solid rgba(56, 75, 56, 0.08);
  overflow: hidden;
}

.about-timeline::before {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background:
    radial-gradient(ellipse 70% 45% at 12% 18%, rgba(190, 232, 184, 0.22), transparent 55%),
    radial-gradient(ellipse 55% 40% at 88% 72%, rgba(229, 160, 122, 0.14), transparent 50%);
}

.about-timeline__inner {
  position: relative;
  z-index: 1;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 clamp(1.25rem, 4vw, 3rem);
}

/* ---- intro ---- */
.about-timeline__intro {
  max-width: 46rem;
  margin: 0 auto 3.25rem;
  text-align: center;
}

.about-timeline__eyebrow {
  font-family: var(--font-label);
  font-size: 0.68rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: rgba(56, 75, 56, 0.72);
  margin-bottom: 0.85rem;
}

.about-timeline__title {
  font-family: var(--font-serif);
  font-weight: 700;
  font-size: clamp(2rem, 4.2vw, 3.35rem);
  line-height: 1.06;
  letter-spacing: -0.02em;
  color: #192419;
  margin-bottom: 1rem;
}

.about-timeline__lede {
  font-family: var(--font-sans);
  font-size: 1.0625rem;
  line-height: 1.72;
  color: var(--about-ink-muted);
}

/* ================================================
   LISTA / TRILHO
   ================================================ */
.about-timeline__list {
  position: relative;
  list-style: none;
  margin: 0;
  padding: 1.25rem 0 0.5rem;
}

/* linha vertical contínua centrada na coluna do nó */
.about-timeline__list::before {
  content: "";
  position: absolute;
  top: 0;
  bottom: 0;
  left: 50%;
  width: 2px;
  transform: translateX(-50%);
  background: linear-gradient(
    180deg,
    transparent 0%,
    var(--about-line) 5%,
    var(--about-line-strong) 20%,
    var(--about-line-strong) 80%,
    var(--about-line) 95%,
    transparent 100%
  );
  border-radius: 2px;
  z-index: 0;
}

/* ================================================
   ITEM — grid de 3 colunas
   col 1          | col 2 (nó)       | col 3
   figura ou panel|  marker-wrap     | panel ou figura

   align-items: center → todos os filhos partilham
   o mesmo eixo vertical médio. O marker-wrap
   usa align-self: stretch + flex center para o
   ponto ficar ao meio e a linha passar por ele.
   ================================================ */
.about-timeline__item {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: minmax(0, 1fr) clamp(52px, 8vw, 72px) minmax(0, 1fr);
  gap: clamp(1rem, 2.5vw, 2rem);
  align-items: center;
  margin-bottom: clamp(2.5rem, 5vw, 3.75rem);
}

.about-timeline__item:last-child {
  margin-bottom: 0;
}

/* ---- nó (coluna central) ---- */
.about-timeline__marker-wrap {
  /* ocupa a altura total da linha e centra o ponto */
  align-self: stretch;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  position: relative;
  z-index: 1;
}

.about-timeline__marker {
  width: 18px;
  height: 18px;
  flex-shrink: 0;
  border-radius: 50%;
  background: linear-gradient(145deg, var(--forest-300), var(--brand-primary));
  box-shadow:
    0 0 0 6px rgba(255, 255, 255, 0.95),
    0 0 0 10px var(--about-ring),
    0 12px 28px rgba(13, 30, 12, 0.18);
  transform: scale(0.65);
  opacity: 0.65;
  transition: transform 0.55s cubic-bezier(0.16, 1, 0.3, 1), opacity 0.45s ease;
}

.about-timeline__item.is-visible .about-timeline__marker {
  transform: scale(1);
  opacity: 1;
}

.about-timeline__marker::after {
  content: "";
  position: absolute;
  inset: -4px;
  border-radius: 50%;
  border: 1px solid rgba(56, 75, 56, 0.2);
  opacity: 0.6;
}

/* ================================================
   FIGURA (cartão de imagem)
   ================================================ */
/* Entradas via GSAP (html.sobre-motion) — sem transition em opacity/transform */
html.sobre-motion .about-timeline__media,
html.sobre-motion .about-timeline__panel,
html.sobre-motion .about-timeline__marker {
  transition: box-shadow 0.3s ease;
}

.about-timeline__media {
  /* a figure já é filho direto do grid → align-self: center herdado */
  margin: 0;
  position: relative;
  border-radius: 14px;
  overflow: hidden;
  background: #fff;
  box-shadow: 0 22px 50px rgba(13, 30, 12, 0.1), 0 0 0 1px rgba(56, 75, 56, 0.08);
  aspect-ratio: 4 / 3;
  width: 100%;
  max-height: min(340px, 42vw);
  opacity: 0;
  transform: translateY(22px) translateX(-14px);
  transition:
    opacity 0.75s cubic-bezier(0.16, 1, 0.3, 1),
    transform 0.75s cubic-bezier(0.16, 1, 0.3, 1),
    box-shadow 0.3s ease;
}

/* itens pares: figura está na col 3 → entra da direita */
.about-timeline__item:nth-child(even) .about-timeline__media {
  transform: translateY(22px) translateX(14px);
}

.about-timeline__item.is-visible .about-timeline__media {
  opacity: 1;
  transform: translateY(0) translateX(0);
}

.about-timeline__media:hover {
  box-shadow: 0 28px 64px rgba(13, 30, 12, 0.14), 0 0 0 1px rgba(56, 75, 56, 0.12);
}

/* overlay escuro sutil */
.about-timeline__media::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 1;
  pointer-events: none;
  background: linear-gradient(160deg, transparent 40%, rgba(13, 30, 12, 0.18) 100%);
}

.about-timeline__media > img {
  position: absolute;
  inset: 0;
  z-index: 0;
  width: 100%;
  height: 100%;
  margin: 0;
  object-fit: cover;
  display: block;
  filter: saturate(1.02) contrast(1.02);
}

/* ---- legenda ---- */
.about-timeline__media figcaption {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 2;
  padding: 0.65rem 1rem 0.75rem;
  font-family: var(--font-label);
  font-size: 0.58rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.88);
  background: linear-gradient(0deg, rgba(13, 30, 12, 0.75), transparent);
  pointer-events: none;
}

/* ================================================
   PAINEL DE TEXTO
   ================================================ */
.about-timeline__panel {
  position: relative;
  z-index: 1;
  padding: clamp(0.75rem, 2vw, 1.25rem) 0;
  opacity: 0;
  transform: translateY(18px);
  transition:
    opacity 0.7s cubic-bezier(0.16, 1, 0.3, 1) 0.08s,
    transform 0.7s cubic-bezier(0.16, 1, 0.3, 1) 0.08s;
}

.about-timeline__item.is-visible .about-timeline__panel {
  opacity: 1;
  transform: translateY(0);
}

/* itens ímpares: painel na col 3 → alinha à esquerda */
.about-timeline__item:nth-child(odd) .about-timeline__panel {
  text-align: left;
  padding-left: clamp(0.25rem, 2vw, 1rem);
}

/* itens pares: painel na col 1 → alinha à direita */
.about-timeline__item:nth-child(even) .about-timeline__panel {
  text-align: right;
  padding-right: clamp(0.25rem, 2vw, 1rem);
}

/* número decorativo na borda externa de cada painel */
.about-timeline__step-index {
  position: absolute;
  z-index: 0;
  top: -0.35rem;
  font-family: var(--font-serif);
  font-weight: 300;
  font-size: clamp(3rem, 9vw, 4.75rem);
  line-height: 1;
  letter-spacing: -0.04em;
  color: rgba(56, 75, 56, 0.07);
  pointer-events: none;
  user-select: none;
}

.about-timeline__item:nth-child(odd) .about-timeline__step-index {
  right: 0.15rem;
  left: auto;
}

.about-timeline__item:nth-child(even) .about-timeline__step-index {
  left: 0.15rem;
  right: auto;
}

.about-timeline__chip,
.about-timeline__heading,
.about-timeline__text {
  position: relative;
  z-index: 1;
}

.about-timeline__chip {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  font-family: var(--font-label);
  font-size: 0.62rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--brand-primary);
  background: rgba(255, 255, 255, 0.82);
  border: 1px solid rgba(56, 75, 56, 0.14);
  border-radius: 999px;
  padding: 0.38rem 0.85rem;
  margin-bottom: 0.85rem;
  box-shadow: 0 4px 14px rgba(13, 30, 12, 0.05);
}

.about-timeline__chip iconify-icon {
  font-size: 0.95rem;
  opacity: 0.88;
}

.about-timeline__heading {
  font-family: var(--font-serif);
  font-weight: 700;
  font-size: clamp(1.45rem, 2.6vw, 2rem);
  line-height: 1.12;
  letter-spacing: -0.015em;
  color: #192419;
  margin-bottom: 0.75rem;
}

.about-timeline__text {
  font-family: var(--font-sans);
  font-size: 1rem;
  line-height: 1.68;
  color: var(--about-ink-muted);
  max-width: 38rem;
}

.about-timeline__item:nth-child(even) .about-timeline__text {
  margin-left: auto;
}

.about-timeline__text strong {
  color: #243524;
  font-weight: 600;
}

/* Valores → assets/about-values.css */

/* ================================================
   TRABALHE CONOSCO — vagas (GET JSON)
   ================================================ */
.about-careers {
  --brand-primary: #384b38;
  --brand-mint: #afdfaa;
  --ink: #0f160f;
  --ink-soft: rgba(245, 250, 244, 0.82);
  --font-serif: "freight-big-pro", serif;
  --font-sans: "aktiv-grotesk", sans-serif;
  --font-label: "aktiv-grotesk", sans-serif;

  position: relative;
  padding: clamp(3.5rem, 8vw, 5.75rem) 0 clamp(4rem, 10vw, 6.5rem);
  background:
    linear-gradient(155deg, #2d3f2d 0%, #384b38 38%, #2a382a 72%, #1e2a1e 100%);
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  overflow: hidden;
  color: var(--ink-soft);
}

.about-careers::before {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background:
    radial-gradient(ellipse 55% 48% at 12% 18%, rgba(175, 223, 170, 0.18), transparent 58%),
    radial-gradient(ellipse 45% 40% at 92% 88%, rgba(229, 160, 122, 0.1), transparent 52%),
    radial-gradient(ellipse 80% 35% at 50% 100%, rgba(0, 0, 0, 0.22), transparent 55%);
}

.about-careers__inner {
  position: relative;
  z-index: 1;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 clamp(1.25rem, 4vw, 3rem);
}

.about-careers__intro {
  max-width: 40rem;
  margin: 0 auto 2.75rem;
  text-align: center;
}

.about-careers__eyebrow {
  font-family: var(--font-label);
  font-size: 0.68rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: rgba(230, 244, 228, 0.78);
  margin: 0 0 0.85rem;
}

.about-careers__title {
  font-family: var(--font-serif);
  font-weight: 700;
  font-size: clamp(2rem, 4.2vw, 3.15rem);
  line-height: 1.06;
  letter-spacing: -0.02em;
  color: #f4faf3;
  margin: 0 0 1rem;
}

.about-careers__lede {
  font-family: var(--font-sans);
  font-size: 1.0625rem;
  line-height: 1.72;
  color: rgba(235, 244, 233, 0.78);
  margin: 0;
}

.about-careers__root {
  min-height: 8rem;
}

.about-careers__root--loading {
  text-align: center;
}

.about-careers__loading-msg {
  font-family: var(--font-sans);
  font-size: 0.95rem;
  color: rgba(235, 244, 233, 0.72);
  margin: 0 0 1.5rem;
}

.about-careers__skeleton {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 1.25rem;
  max-width: 880px;
  margin: 0 auto;
}

.about-careers__skeleton-card {
  height: 220px;
  border-radius: 18px;
  background: linear-gradient(
    100deg,
    rgba(255, 255, 255, 0.06) 0%,
    rgba(255, 255, 255, 0.12) 42%,
    rgba(255, 255, 255, 0.06) 88%
  );
  background-size: 200% 100%;
  animation: about-careers-shimmer 1.35s ease-in-out infinite;
  border: 1px solid rgba(255, 255, 255, 0.08);
}

@keyframes about-careers-shimmer {
  0% {
    background-position: 100% 0;
  }
  100% {
    background-position: -100% 0;
  }
}

@media (prefers-reduced-motion: reduce) {
  .about-careers__skeleton-card {
    animation: none;
    background: rgba(255, 255, 255, 0.08);
  }
}

.about-careers__grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(min(100%, 320px), 1fr));
  gap: clamp(1.25rem, 3vw, 1.75rem);
  align-items: stretch;
}

.about-careers__card {
  position: relative;
  display: flex;
  flex-direction: column;
  margin: 0;
  border-radius: 20px;
  background: linear-gradient(165deg, rgba(255, 255, 255, 0.97) 0%, rgba(248, 251, 247, 0.98) 100%);
  border: 1px solid rgba(56, 75, 56, 0.1);
  box-shadow:
    0 4px 24px rgba(13, 30, 12, 0.12),
    0 28px 64px rgba(13, 30, 12, 0.1);
  overflow: hidden;
  transition: transform 0.28s ease, box-shadow 0.28s ease, border-color 0.28s ease;
}

.about-careers__card:hover {
  transform: translateY(-4px);
  border-color: rgba(56, 75, 56, 0.18);
  box-shadow:
    0 12px 36px rgba(56, 75, 56, 0.14),
    0 36px 72px rgba(13, 30, 12, 0.12);
}

@media (prefers-reduced-motion: reduce) {
  .about-careers__card {
    transition: none;
  }

  .about-careers__card:hover {
    transform: none;
  }
}

.about-careers__card-ribbon {
  display: flex;
  justify-content: flex-end;
  padding: 0.85rem 1.1rem 0;
}

.about-careers__card-badge {
  font-family: var(--font-label);
  font-size: 0.62rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--brand-primary);
  background: rgba(175, 223, 170, 0.45);
  border: 1px solid rgba(56, 75, 56, 0.15);
  padding: 0.35rem 0.65rem;
  border-radius: 999px;
}

.about-careers__card-body {
  flex: 1;
  padding: 0 1.35rem 1rem;
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  color: #243524;
}

.about-careers__card-title {
  font-family: var(--font-serif);
  font-weight: 700;
  font-size: clamp(1.35rem, 2.4vw, 1.65rem);
  line-height: 1.12;
  letter-spacing: -0.02em;
  color: #152015;
  margin: 0;
  padding-right: 0.25rem;
}

.about-careers__card-lead {
  font-family: var(--font-sans);
  font-size: 0.95rem;
  line-height: 1.62;
  color: #4a584a;
  margin: 0;
}

.about-careers__blocks {
  display: flex;
  flex-direction: column;
  gap: 0.85rem;
  margin-top: 0.35rem;
}

.about-careers__block {
  padding: 0.65rem 0 0;
  border-top: 1px solid rgba(56, 75, 56, 0.1);
}

.about-careers__block:first-of-type {
  border-top: none;
  padding-top: 0;
}

.about-careers__block-head {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  margin-bottom: 0.35rem;
}

.about-careers__block-icon {
  display: inline-flex;
  color: var(--brand-primary);
  font-size: 1.1rem;
  opacity: 0.88;
}

.about-careers__block-title {
  font-family: var(--font-label);
  font-size: 0.65rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: rgba(56, 75, 56, 0.75);
  margin: 0;
}

.about-careers__block-text {
  font-family: var(--font-sans);
  font-size: 0.875rem;
  line-height: 1.58;
  color: #3d4d3d;
  margin: 0;
}

.about-careers__card-footer {
  display: flex;
  justify-content: flex-end;
  padding: 0.85rem 1.35rem 1.1rem;
  margin-top: auto;
  border-top: 1px solid rgba(56, 75, 56, 0.08);
  background: linear-gradient(180deg, rgba(246, 249, 245, 0.5) 0%, rgba(255, 255, 255, 0.95) 100%);
}

.about-careers__card-cta {
  width: auto;
  max-width: 100%;
  justify-content: center;
  gap: 0.32rem;
  padding: 0.5rem 1.15rem;
  font-size: 0.68rem;
  font-weight: 600;
  letter-spacing: 0.09em;
  box-shadow: 0 3px 12px rgba(56, 75, 56, 0.14);
}

.about-careers__card-cta:hover {
  transform: translateY(-1px);
}

.about-careers__card-cta iconify-icon {
  font-size: 0.88rem;
}

.about-careers__empty {
  max-width: 36rem;
  margin: 0 auto;
  text-align: center;
  padding: clamp(1.5rem, 4vw, 2.25rem);
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.12);
}

.about-careers__empty--error {
  border-color: rgba(255, 200, 180, 0.35);
  background: rgba(40, 22, 18, 0.25);
}

.about-careers__empty-text {
  font-family: var(--font-sans);
  font-size: 1rem;
  line-height: 1.65;
  color: rgba(245, 250, 244, 0.88);
  margin: 0 0 1.25rem;
}

.about-careers__empty-cta {
  margin: 0 auto;
}

/* Card compacto: resumo + abrir modal */
.about-careers__card--interactive {
  cursor: pointer;
}

.about-careers__card--interactive:focus-visible {
  outline: 2px solid rgba(175, 223, 170, 0.95);
  outline-offset: 3px;
}

.about-careers__card-lead--preview {
  display: -webkit-box;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 4;
  overflow: hidden;
  white-space: normal;
}

.about-careers__card-hint {
  font-family: var(--font-sans);
  font-size: 0.78rem;
  line-height: 1.45;
  color: rgba(56, 75, 56, 0.68);
  margin: 0;
  padding-top: 0.2rem;
}

/* Modal — detalhe completo da vaga */
.about-careers-modal {
  position: fixed;
  inset: 0;
  z-index: 600;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: clamp(1rem, 4vw, 2rem);
  box-sizing: border-box;
}

.about-careers-modal[hidden] {
  display: none !important;
}

.about-careers-modal__backdrop {
  position: absolute;
  inset: 0;
  background: rgba(10, 18, 10, 0.62);
  cursor: pointer;
}

.about-careers-modal__dialog {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: 1fr auto auto;
  grid-template-rows: auto minmax(0, 1fr) auto;
  column-gap: 0.65rem;
  row-gap: 0;
  width: min(42rem, 100%);
  max-height: min(90vh, 44rem);
  overflow: hidden;
  margin: auto;
  padding: clamp(1rem, 2.5vw, 1.35rem) clamp(1.15rem, 3vw, 1.75rem) clamp(1.15rem, 3vw, 1.5rem);
  border-radius: 22px;
  background:
    radial-gradient(ellipse 90% 55% at 100% 0%, rgba(175, 223, 170, 0.22), transparent 55%),
    linear-gradient(168deg, #ffffff 0%, #f6faf5 48%, #eef4ec 100%);
  border: 1px solid rgba(56, 75, 56, 0.14);
  box-shadow:
    0 4px 24px rgba(13, 30, 12, 0.14),
    0 32px 80px rgba(13, 30, 12, 0.18);
  color: #243524;
}

.about-careers-modal__header {
  grid-column: 1 / -1;
  grid-row: 1;
  flex-shrink: 0;
  display: flex;
  justify-content: flex-end;
  align-items: center;
  margin: 0 0 0.35rem;
}

.about-careers-modal__scroll {
  grid-column: 1 / -1;
  grid-row: 2;
  min-height: 0;
  overflow: auto;
  overscroll-behavior: contain;
  -webkit-overflow-scrolling: touch;
  padding-right: 0.15rem;
}

.about-careers-modal__close {
  flex-shrink: 0;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 2.75rem;
  min-height: 2.75rem;
  padding: 0;
  border: none;
  border-radius: 999px;
  background: rgba(56, 75, 56, 0.1);
  color: #152015;
  line-height: 1;
  cursor: pointer;
  transition: background 0.2s ease, color 0.2s ease, box-shadow 0.2s ease;
  box-shadow: 0 1px 0 rgba(255, 255, 255, 0.65) inset;
}

.about-careers-modal__close iconify-icon {
  font-size: 1.35rem;
  display: block;
}

.about-careers-modal__close:hover {
  background: rgba(56, 75, 56, 0.16);
  color: #0f160f;
}

.about-careers-modal__close:focus-visible {
  outline: 2px solid rgba(56, 75, 56, 0.55);
  outline-offset: 2px;
}

.about-careers-modal__hero {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-start;
  justify-content: space-between;
  gap: 0.65rem 1rem;
  margin-bottom: 0.85rem;
  padding-bottom: 0.85rem;
  border-bottom: 1px solid rgba(56, 75, 56, 0.1);
}

.about-careers-modal__title {
  flex: 1 1 12rem;
  min-width: 0;
  font-family: var(--font-serif);
  font-weight: 700;
  font-size: clamp(1.45rem, 3.2vw, 1.9rem);
  line-height: 1.12;
  letter-spacing: -0.022em;
  color: #101a10;
  margin: 0;
  padding: 0.1rem 0 0;
}

.about-careers-modal__status {
  flex-shrink: 0;
  font-family: var(--font-label);
  font-size: 0.62rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--brand-primary);
  background: linear-gradient(135deg, rgba(175, 223, 170, 0.55) 0%, rgba(190, 232, 184, 0.35) 100%);
  border: 1px solid rgba(56, 75, 56, 0.18);
  padding: 0.4rem 0.75rem;
  border-radius: 999px;
  margin-top: 0.15rem;
}

.about-careers-modal__intro {
  margin: 0 0 1.05rem;
  padding: 0 0 1.05rem;
  border: none;
  border-radius: 0;
  background: transparent;
  box-shadow: none;
  border-bottom: 1px solid rgba(56, 75, 56, 0.12);
}

.about-careers-modal__intro[hidden] {
  display: none !important;
}

.about-careers-modal__intro-kicker {
  font-family: var(--font-label);
  font-size: 0.62rem;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: rgba(56, 75, 56, 0.58);
  margin: 0 0 0.5rem;
}

.about-careers-modal__lead {
  font-family: var(--font-sans);
  font-size: 1.03rem;
  line-height: 1.72;
  font-weight: 400;
  color: #2a382a;
  margin: 0;
  max-width: 38rem;
}

.about-careers-modal__lead[hidden] {
  display: none !important;
}

.about-careers-modal__sections-head {
  margin: 0 0 0.35rem;
}

.about-careers-modal__sections-head[hidden] {
  display: none !important;
}

.about-careers-modal__sections-kicker {
  font-family: var(--font-label);
  font-size: 0.62rem;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: rgba(56, 75, 56, 0.5);
  margin: 0;
  padding: 0.35rem 0 0.65rem;
  border-bottom: 1px solid rgba(56, 75, 56, 0.1);
}

.about-careers-modal__sections {
  display: flex;
  flex-direction: column;
  gap: 0;
}

.about-careers-modal__section {
  --sec-accent: var(--brand-primary);
  margin: 0;
  padding: 1rem 0 0.15rem;
  border: none;
  border-radius: 0;
  background: none;
  box-shadow: none;
}

.about-careers-modal__section + .about-careers-modal__section {
  margin-top: 0.15rem;
  padding-top: 1.05rem;
  border-top: 1px solid rgba(56, 75, 56, 0.1);
}

.about-careers-modal__section[data-section="do"] {
  --sec-accent: #3a7a34;
}

.about-careers-modal__section[data-section="seek"] {
  --sec-accent: #384b38;
}

.about-careers-modal__section[data-section="diff"] {
  --sec-accent: #ad5024;
}

.about-careers-modal__section-head {
  margin: 0 0 0.5rem;
}

.about-careers-modal__section-title {
  font-family: var(--font-serif);
  font-weight: 700;
  font-size: clamp(1.08rem, 2.2vw, 1.22rem);
  line-height: 1.22;
  letter-spacing: -0.02em;
  color: #121a12;
  margin: 0;
  padding: 0 0 0.4rem;
  width: fit-content;
  max-width: 100%;
  border-bottom: 2px solid var(--sec-accent);
  text-transform: none;
}

.about-careers-modal__section-text {
  font-family: var(--font-sans);
  font-size: 0.94rem;
  line-height: 1.68;
  color: #334433;
  margin: 0;
  max-width: 38rem;
}

.about-careers-modal__dialog > .about-careers-modal__cancel {
  grid-column: 2;
  grid-row: 3;
  margin-top: 1rem;
  align-self: end;
  justify-self: end;
}

.about-careers-modal__dialog > .about-careers-modal__cta {
  grid-column: 3;
  grid-row: 3;
  margin-top: 1rem;
  align-self: end;
  justify-self: end;
}

@media (max-width: 520px) {
  .about-careers-modal__dialog {
    grid-template-columns: 1fr;
    grid-template-rows: auto minmax(0, 1fr) auto auto;
    column-gap: 0;
  }

  .about-careers-modal__dialog > .about-careers-modal__cancel,
  .about-careers-modal__dialog > .about-careers-modal__cta {
    grid-column: 1;
    justify-self: stretch;
    width: 100%;
    max-width: none;
    box-sizing: border-box;
  }

  .about-careers-modal__dialog > .about-careers-modal__cancel {
    grid-row: 3;
    margin-top: 1rem;
  }

  .about-careers-modal__dialog > .about-careers-modal__cta {
    grid-row: 4;
    margin-top: 0;
  }
}

.about-careers-modal__cancel {
  cursor: pointer;
  background: transparent;
  color: var(--brand-primary);
  border: 1.5px solid var(--brand-primary);
  box-shadow: none;
  width: auto;
  max-width: 100%;
  justify-content: center;
  padding: 0.5rem 1.15rem;
  font-size: 0.68rem;
  font-weight: 600;
  letter-spacing: 0.09em;
  transition: transform 0.25s ease, background-color 0.25s ease, color 0.25s ease,
    border-color 0.25s ease;
}

.about-careers-modal__cancel:hover {
  background: var(--brand-primary);
  color: #fff;
  border-color: var(--brand-primary);
  transform: translateY(-1px);
}

.about-careers-modal__cancel:focus-visible {
  outline: 2px solid var(--brand-primary);
  outline-offset: 2px;
}

@media (prefers-reduced-motion: reduce) {
  .about-careers-modal__cancel:hover,
  .about-careers-modal__cta:hover {
    transform: none;
  }
}

.about-careers-modal__cta {
  width: auto;
  max-width: 100%;
  justify-content: center;
  gap: 0.32rem;
  padding: 0.5rem 1.15rem;
  font-size: 0.68rem;
  font-weight: 600;
  letter-spacing: 0.09em;
  box-shadow: 0 3px 12px rgba(56, 75, 56, 0.18);
}

.about-careers-modal__cta:hover {
  transform: translateY(-1px);
}

.about-careers-modal__cta iconify-icon {
  font-size: 0.88rem;
}

/* ================================================
   RESPONSIVO — ≤900px
   Trilho à esquerda; empilha imagem → texto
   ================================================ */
@media (max-width: 900px) {
  .about-timeline__list::before {
    left: 14px;
    transform: none;
  }

  .about-timeline__item {
    grid-template-columns: 36px minmax(0, 1fr);
    grid-template-rows: auto auto;
    gap: 0.85rem 1.15rem;
    align-items: start;
  }

  /* marker ocupa as duas linhas, centralizado */
  .about-timeline__marker-wrap {
    grid-column: 1;
    grid-row: 1 / span 2;
    justify-content: flex-start;
    align-items: center;
    padding-left: 5px;
  }

  /* figura sempre na linha 1, painel na linha 2 */
  .about-timeline__item .about-timeline__media {
    grid-column: 2;
    grid-row: 1;
    max-height: 240px;
    aspect-ratio: 16 / 10;
    transform: translateY(16px) !important;
  }

  .about-timeline__item.is-visible .about-timeline__media {
    transform: translateY(0) !important;
  }

  .about-timeline__item .about-timeline__panel {
    grid-column: 2;
    grid-row: 2;
    text-align: left !important;
    padding-left: 0 !important;
    padding-right: 0 !important;
  }

  .about-timeline__item:nth-child(even) .about-timeline__text {
    margin-left: 0;
  }

  .about-timeline__step-index {
    font-size: clamp(2.4rem, 14vw, 3.25rem);
  }
}

/* ================================================
   PREFERS-REDUCED-MOTION
   ================================================ */
@media (prefers-reduced-motion: reduce) {
  .about-timeline__media,
  .about-timeline__panel {
    transition: none;
    opacity: 1;
    transform: none !important;
  }

  .about-timeline__marker {
    transition: none;
    transform: none;
    opacity: 1;
  }
}
