.hero {
  --hero-bg: #3e3e3e;
  --hero-gold: #e8a825;

  position: relative;
  padding: calc(var(--space-20) + var(--header-h)) 0 var(--space-12);
  overflow: hidden;
  background: var(--hero-bg);
}

.hero__bg-video {
  position: absolute;
  inset: 0;
  z-index: 0;
  width: 100%;
  height: 100%;
  display: block;
  object-fit: cover;
  object-position: center;
  pointer-events: none;
}

.hero > .container {
  position: relative;
  z-index: 2;
}

.hero__inner {
  display: grid;
  gap: var(--space-8);
  justify-items: center;
  text-align: center;
  width: 100%;
  max-width: 100%;
  min-width: 0;
  box-sizing: border-box;
}

.hero__kicker.kicker {
  margin: 0 0 var(--space-5);
  font-size: var(--fs-19);
  letter-spacing: 0.14em;
  font-weight: var(--fw-semibold);
  color: var(--hero-gold);
}

.hero__title {
  margin: 0;
  max-width: 28ch;
  font-size: var(--fs-66);
  letter-spacing: -0.02em;
  line-height: 1.15;
  font-weight: var(--fw-bold);
  color: #fff;
}

/* Hero — negrito visível (reset anula peso em h1/span) */
.hero .hero__title,
.hero .hero__title strong,
.hero .hero__title .hero__title--accent {
  font-weight: var(--fw-bold) !important;
}

/* Tipografia — mobile */
@media (max-width: 859px) {
  .hero__title {
    font-size: clamp(2.25rem, 8.6vw, 3.25rem);
    line-height: 1.08;
    letter-spacing: -0.03em;
  }

  .hero__subhead {
    font-size: var(--fs-16);
    gap: var(--space-4);
  }

  .section__title {
    font-size: clamp(2rem, 7.4vw, 3rem);
    line-height: 1.08;
  }

  .section__lede {
    font-size: var(--fs-16);
    margin-bottom: var(--space-8);
  }

  .dim-heading {
    font-size: clamp(2rem, 7.4vw, 3rem);
    line-height: 1.08;
  }

  .dim-sub {
    font-size: var(--fs-16);
    margin-bottom: var(--space-10);
  }

  .dim-card__num {
    font-size: clamp(2.25rem, 9vw, 3.25rem);
  }

  .dim-card__lede {
    font-size: var(--fs-16);
    line-height: 1.55;
  }
}

.hero__title--accent {
  color: var(--hero-gold);
  font-weight: var(--fw-bold) !important;
}

.hero__subhead {
  display: grid;
  gap: var(--space-6);
  justify-items: center;
  max-width: 52ch;
  font-size: var(--fs-19);
}

.hero__subtitle {
  margin: 0;
  font-size: var(--fs-19);
  line-height: 1.55;
  color: #fff;
}

.hero__subhead .hero__subtitle {
  font-size: inherit;
}

.hero__subtitle--second {
  margin: 0;
  font-weight: var(--fw-bold) !important;
}

.hero__cta {
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-3);
  justify-content: center;
}

.hero__cta .btn--primary {
  gap: 0.4em;
  padding-inline: 16px 18px;
}

/* Mailto “Fale com nosso especialista”: sem borda #F8E71D dos demais .btn--primary */
.hero__cta > a.btn--primary {
  border: 0;
}

.hero__cta .btn--primary::before {
  content: "→";
  display: block;
  font-size: 1.28em;
  line-height: 1;
  font-weight: var(--fw-regular);
}

.hero__clients {
  margin-top: var(--space-12);
  padding-top: var(--space-8);
  width: 100%;
  max-width: 100%;
  min-width: 0;
  box-sizing: border-box;
}

.hero__clients-title {
  margin: 0 0 var(--space-5);
  letter-spacing: 0.12em;
  text-transform: uppercase;
  font-weight: var(--fw-semibold);
  font-size: var(--fs-16);
  color: color-mix(in srgb, var(--color-brand), white 10%);
}

/* Faixa de logos: ~20% maior + rolagem horizontal contínua (marquee) */
.hero .logo-row--marquee,
#industrias .logo-row--marquee {
  --logo-marquee-scale: 1.2;
  --logo-marquee-gap: calc(var(--space-3) * var(--logo-marquee-scale));
  /* Caixa única por logo (referência tipo Agroceres / Paranoá) */
  --logo-slot-w: calc(10.5rem * var(--logo-marquee-scale));
  --logo-slot-h: calc(2.75rem * var(--logo-marquee-scale));
  display: block;
  width: 100%;
  max-width: 100%;
  min-width: 0;
  position: relative;
  box-sizing: border-box;
}

/* Logos em hero__clients: espaço entre pill e bolinha (dot centralizado no gap; era 4px e colava ao logo) */
.hero__clients .logo-row--marquee:not(.logo-row--marquee-text) {
  --logo-marquee-gap: clamp(12px, 2vw, 22px);
}

.hero .logo-row__viewport,
#industrias .logo-row__viewport {
  overflow: hidden;
  overflow-x: clip;
  width: 100%;
  max-width: 100%;
  min-width: 0;
  box-sizing: border-box;
  mask-image: linear-gradient(
    90deg,
    transparent 0%,
    #000 5%,
    #000 95%,
    transparent 100%
  );
  -webkit-mask-image: linear-gradient(
    90deg,
    transparent 0%,
    #000 5%,
    #000 95%,
    transparent 100%
  );
}

.hero .logo-row__track,
#industrias .logo-row__track {
  display: flex;
  width: max-content;
  animation: logo-row-marquee 50s linear infinite;
  will-change: transform;
}

/* Marquee de texto (Indústrias): deslocamento em px calculado via JS (evita “buraco” no loop) */
#industrias .logo-row--marquee-text .logo-row__track {
  animation-name: logo-row-marquee-shift;
}

.hero .logo-row__track:hover,
#industrias .logo-row__track:hover {
  animation-play-state: paused;
}

@keyframes logo-row-marquee {
  from {
    transform: translateX(0);
  }

  to {
    transform: translateX(-50%);
  }
}

@keyframes logo-row-marquee-shift {
  from {
    transform: translateX(0);
  }

  to {
    transform: translateX(calc(-1 * var(--logo-marquee-shift, 50%)));
  }
}

.hero .logo-row__segment,
#industrias .logo-row__segment {
  display: flex;
  flex-direction: row;
  flex-wrap: nowrap;
  align-items: center;
  gap: var(--logo-marquee-gap);
  /* Sem padding: evita “buraco” na junção segmento + clone (faixa de logos) */
  padding-inline: 0;
  box-sizing: border-box;
}

/* Na faixa de texto, precisamos de espaçamento na borda do loop */
#industrias .logo-row--marquee-text .logo-row__segment {
  padding-inline: 0;
  /* cria um “respiro” na emenda (fim -> começo) sem abrir buraco */
  padding-right: var(--logo-marquee-gap);
}

/* Hero (logos): o gap só vale *dentro* de cada segmento; entre os dois blocos
   do track não há gap — equivale a padding-right (mantém translateX(-50%) alinhado). */
.hero .logo-row--marquee:not(.logo-row--marquee-text) .logo-row__segment {
  padding-right: var(--logo-marquee-gap);
}

/* A bolinha da junção do loop fica no HTML (último .logo-row__sep do segmento) */

.hero .logo-row--marquee .logo-pill,
#industrias .logo-row--marquee .logo-pill {
  flex: 0 0 var(--logo-slot-w);
  width: var(--logo-slot-w);
  min-width: var(--logo-slot-w);
  max-width: var(--logo-slot-w);
  height: var(--logo-slot-h);
  min-height: var(--logo-slot-h);
  max-height: var(--logo-slot-h);
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  background: var(--color-light-surface);
  border-color: rgba(255, 180, 0, 0.55);
  color: rgba(255, 255, 255, 0.86);
  padding: 0.2rem 0.45rem;
  box-sizing: border-box;
}

.hero .logo-row--marquee:not(.logo-row--marquee-text) .logo-pill::after,
#industrias .logo-row--marquee:not(.logo-row--marquee-text) .logo-pill::after {
  content: "";
  position: absolute;
  top: 50%;
  right: calc(var(--logo-marquee-gap) / -2);
  transform: translate(50%, -50%);
  width: 6px;
  height: 6px;
  border-radius: 999px;
  background: rgba(255, 180, 0, 0.85);
  pointer-events: none;
}

/* Não desenhar a bolinha depois do último item de cada segmento */
.hero .logo-row--marquee:not(.logo-row--marquee-text) .logo-row__segment > .logo-pill:last-child::after,
#industrias .logo-row--marquee:not(.logo-row--marquee-text) .logo-row__segment > .logo-pill:last-child::after {
  display: none;
}

.hero .logo-row--marquee .logo-pill__img,
#industrias .logo-row--marquee .logo-pill__img {
  display: block;
  width: auto;
  height: auto;
  max-width: 100%;
  max-height: 100%;
  object-fit: contain;
  object-position: center;
}

/* Logos dentro das caixas: menores e centralizadas */
.hero .logo-row--marquee .logo-pill__img,
#industrias .logo-row--marquee .logo-pill__img {
  max-width: 78%;
  max-height: 62%;
}

/* Indústrias: faixa com texto em pills (mesmo marquee, visual borda amarela + pontos) */
#industrias .logo-row--marquee-text {
  --logo-marquee-gap: var(--space-4);
}

#industrias .logo-row--marquee-text .logo-pill.logo-pill--text {
  flex: 0 0 auto;
  width: auto;
  min-width: 0;
  max-width: none;
  height: auto;
  min-height: 0;
  max-height: none;
  padding: 0.5rem 1.1rem;
  background: transparent;
  border: 1px solid color-mix(in srgb, var(--color-brand), transparent 18%);
  border-radius: 999px;
  color: rgba(255, 255, 255, 0.95);
  font-size: var(--fs-14);
  font-weight: var(--fw-medium);
  letter-spacing: 0.02em;
  white-space: nowrap;
  box-sizing: border-box;
}

#industrias .logo-row--marquee-text .logo-row__sep {
  flex: 0 0 auto;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--color-brand);
  align-self: center;
  opacity: 0.92;
}

@media (max-width: 859px) {
  #industrias .logo-row--marquee-text .logo-pill.logo-pill--text {
    font-size: var(--fs-12);
    padding: 0.4rem 0.85rem;
  }
}

@media (prefers-reduced-motion: reduce) {
  .hero .logo-row__track,
  #industrias .logo-row__track {
    animation: none;
    transform: none;
  }
}

/* === Diferenciais (2-col: photo | content) === */
.diff {
  --diff-content-pad-right: var(--page-pad);
  display: grid;
  grid-template-columns: 1fr;
  background: #f6b61b;
  color: var(--color-bg);
  position: relative;
  isolation: isolate;
  z-index: 2;
  overflow: visible;
}

.diff::before {
  content: "";
  position: absolute;
  inset: 0;
  /* Acima do vídeo/poster, abaixo do texto (.diff__body z-index: 2) */
  z-index: 1;
  pointer-events: none;
  background: linear-gradient(
    to right,
    rgba(246, 182, 27, 0.18) 0%,
    rgba(246, 182, 27, 0.38) 22%,
    rgba(246, 182, 27, 0.72) 44%,
    rgba(246, 182, 27, 0.94) 52%,
    #f6b61b 62%,
    #f6b61b 100%
  );
}

.diff__photo {
  /* static: .diff__video / .diff__poster usam .diff como containing block → cobrem toda a section (degradê ::before volta a aparecer por cima) */
  position: static;
  min-height: 340px;
  overflow: visible;
}

.diff__video {
  position: absolute;
  inset: 0;
  z-index: 0;
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center center;
  filter: saturate(1.05) contrast(1.05);
  pointer-events: none;
  transition: opacity var(--video-poster-fade) var(--video-poster-ease);
}

.diff__video.diff__video--fading {
  opacity: 0;
}

.diff__video.diff__video--hidden {
  display: none;
  opacity: 1;
}

/* Mesma camada base do vídeo; ordem no DOM define quem cobre; degradê (.diff::before z-index: 1) fica por cima dos dois */
.diff__poster {
  position: absolute;
  inset: 0;
  z-index: 0;
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center center;
  filter: saturate(1.05) contrast(1.05);
  pointer-events: none;
}

.diff__poster[hidden] {
  display: none !important;
}

.diff__oee {
  position: absolute;
  top: clamp(-1.25rem, -3vw, 0.5rem);
  left: var(--page-pad);
  z-index: 3;
  box-sizing: border-box;
  width: 152.39px;
  max-width: min(152.39px, calc(100% - var(--page-pad) * 2));
  height: 291.92px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 6px;
  background: rgba(255, 255, 255, 0.96);
  border-radius: 16px;
  padding: 20px 26px;
  box-shadow:
    0 16px 40px rgba(0, 0, 0, 0.22),
    0 8px 24px rgba(0, 0, 0, 0.14),
    0 2px 8px rgba(0, 0, 0, 0.08);
  text-align: center;
}

.diff__oee-icon-img {
  display: block;
  width: 84px;
  max-width: 100%;
  height: auto;
  margin: 0;
  flex-shrink: 0;
}

.diff__oee-label {
  margin: 0;
  font-size: var(--fs-34);
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--color-brand);
  font-weight: var(--fw-semibold) !important;
  line-height: 1.1;
}

.diff__oee-value {
  margin: 0;
  font-size: var(--fs-54);
  font-weight: var(--fw-extrabold) !important;
  letter-spacing: -0.03em;
  line-height: 1;
  color: #f6b61b;
}

.diff__body {
  position: relative;
  z-index: 2;
  padding: 56px var(--diff-content-pad-right) clamp(4rem, 14vw, 7.5rem) var(--page-pad);
}

.diff__robot {
  position: absolute;
  right: var(--diff-content-pad-right);
  bottom: clamp(-6rem, -18vw, -3.5rem);
  width: min(224px, 36.4vw);
  max-width: 100%;
  height: auto;
  z-index: 4;
  pointer-events: none;
  object-fit: contain;
  object-position: bottom right;
}

.diff__kicker {
  margin: 0 0 16px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  font-weight: 600;
  font-size: var(--fs-19);
  color: var(--color-light-text);
}

.diff__title {
  margin: 0 0 20px;
  font-size: var(--fs-66);
  font-weight: var(--fw-bold) !important;
  line-height: 1.05;
  letter-spacing: -0.02em;
  color: rgba(255, 255, 255, 0.96);
}

/* Spans dentro do <strong>: o reset global força 400 em todo * */
.diff__title strong,
.diff__title .diff__title-line,
.diff__title .esg-diff__title-accent {
  font-weight: var(--fw-bold) !important;
}

.diff__title-line--muted {
  color: rgba(66, 65, 67, 0.75);
}

.diff__lede {
  margin: 0 0 32px;
  max-width: 48ch;
  font-size: var(--fs-19);
  line-height: 1.5;
  color: rgba(66, 65, 67, 0.72);
}

.diff__cards {
  display: grid;
  gap: 12px;
}

.diff__card {
  display: grid;
  grid-template-columns: max-content 1fr;
  gap: 40px;
  align-items: center;
  width: 100%;
  background: rgba(255, 255, 255, 0.96);
  border: 1px solid rgba(0, 0, 0, 0.06);
  border-radius: 16px;
  padding: 18px 20px;
  box-shadow: 0 12px 28px rgba(0, 0, 0, 0.14);
}

.diff__card-num {
  display: block;
  font-size: var(--fs-66);
  font-weight: var(--fw-extrabold) !important;
  color: #f6b61b;
  line-height: 1;
}

.diff__card-title {
  margin: 0 0 4px;
  font-size: var(--fs-19);
  font-weight: var(--fw-bold) !important;
  color: rgba(66, 65, 67, 0.85);
}

.diff__card-text {
  margin: 0;
  font-size: var(--fs-16);
  line-height: 1.4;
  color: rgba(66, 65, 67, 0.68);
}

/* Escala específica dos Diferenciais (-20%) */
#diferenciais {
  --diff-scale: 0.8;
}

#diferenciais .diff__photo {
  min-height: calc(340px * var(--diff-scale));
}

#diferenciais .diff__oee {
  top: clamp(-1rem, -2.4vw, 0.4rem);
  width: 121.91px;
  max-width: min(121.91px, calc(100% - var(--page-pad) * 2));
  height: 233.54px;
  gap: 5px;
  border-radius: 13px;
  padding: 16px 21px;
}

#diferenciais .diff__oee-icon-img {
  width: 67px;
}

#diferenciais .diff__oee-label {
  font-size: calc(var(--fs-34) * var(--diff-scale));
}

#diferenciais .diff__oee-value {
  font-size: calc(var(--fs-54) * var(--diff-scale));
}

#diferenciais .diff__body {
  padding: 45px var(--diff-content-pad-right) clamp(3.2rem, 11.2vw, 6rem) var(--page-pad);
}

#diferenciais .diff__robot {
  width: min(179px, 29.12vw);
  bottom: clamp(-4.8rem, -14.4vw, -2.8rem);
}

#diferenciais .diff__kicker {
  margin: 0 0 13px;
  font-size: var(--fs-19);
}

#diferenciais .diff__title {
  margin: 0 0 16px;
  font-size: var(--fs-66);
}

#diferenciais .diff__lede {
  margin: 0 0 26px;
  font-size: var(--fs-19);
}

#diferenciais .diff__cards {
  gap: 10px;
}

#diferenciais .diff__card {
  gap: 32px;
  border-radius: 13px;
  padding: 14px 16px;
  box-shadow: 0 10px 22px rgba(0, 0, 0, 0.14);
}

#diferenciais .diff__card-num {
  font-size: calc(var(--fs-66) * var(--diff-scale));
  font-weight: var(--fw-extrabold) !important;
}

#diferenciais .diff__card-title {
  margin: 0 0 3px;
  font-size: var(--fs-19);
  font-weight: var(--fw-bold) !important;
}

#diferenciais .diff__card-text {
  font-size: calc(var(--fs-16) * var(--diff-scale));
}

@media (min-width: 860px) {
  .diff {
    grid-template-columns: 1fr 1fr;
  }

  .diff__photo {
    min-height: 560px;
  }

  .diff {
    --diff-content-pad-right: clamp(56px, 6.8vw, 138px);
  }

  .diff__body.container {
    box-sizing: border-box;
    width: 70%;
    padding: 64px clamp(32px, 4.8vw, 96px) clamp(5rem, 12vw, 8rem) 20px;
  }

  .diff__robot {
    width: min(266px, 25.2vw);
    bottom: clamp(-7rem, -14vw, -4.5rem);
  }

  #diferenciais .diff__photo {
    min-height: 448px;
  }

  #diferenciais .diff {
    --diff-content-pad-right: clamp(45px, 5.44vw, 110px);
  }

  #diferenciais .diff__body.container {
    padding: 51px clamp(26px, 3.84vw, 77px) clamp(4rem, 9.6vw, 6.4rem) 16px;
  }

  #diferenciais .diff__robot {
    width: min(213px, 20.16vw);
    bottom: clamp(-5.6rem, -11.2vw, -3.6rem);
  }
}

.section {
  padding: var(--section-pad-y) 0;
}

.section--light {
  background: var(--color-light-bg);
  color: var(--color-light-text);
}

.section--differentials {
  background: #f6b61b;
  color: var(--color-bg);
  padding: 0;
  position: relative;
  overflow: hidden;
}

.section--differentials .container {
  padding-left: 0;
}

.differentials-bg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 52% 30%;
  filter: saturate(1.05) contrast(1.06);
  z-index: 0;
}

.section--differentials::before {
  content: "";
  position: absolute;
  inset: 0;
  background: rgba(246, 182, 27, 0.86);
  z-index: 1;
}

.section--differentials .container,
.section--differentials .differentials-layout {
  position: relative;
  z-index: 2;
}

.section--differentials .section__kicker {
  color: rgba(66, 65, 67, 0.65);
}

.section--differentials .section__lede {
  color: rgba(66, 65, 67, 0.72);
  margin-bottom: var(--space-8);
}

.section--differentials .section__title {
  font-size: var(--fs-66);
  letter-spacing: -0.02em;
  line-height: 1.05;
  margin-bottom: var(--space-6);
}

.differentials-title__light {
  display: block;
  color: rgba(255, 255, 255, 0.95);
  font-weight: 500;
}

.differentials-title__dark {
  display: block;
  color: rgba(66, 65, 67, 0.7);
  font-weight: 500;
}

.section--dark {
  background: var(--color-bg);
  color: var(--color-text);
}

/* Dimensões: tom de cinza próximo ao layout de referência (imagem 2) */
#dimensoes.section--dark {
  background: #333333;
  position: relative;
  z-index: 1;
}

.section--light .section__kicker {
  color: rgba(66, 65, 67, 0.55);
}

.section__title {
  margin: 0 0 var(--space-4);
  font-size: var(--fs-66);
  line-height: var(--lh-snug);
  letter-spacing: -0.02em;
}

.section__lede {
  margin: 0 0 var(--space-10);
  font-size: var(--fs-18);
  color: var(--color-light-muted);
}

.section--dark .section__lede {
  color: var(--color-text-muted);
}

.section__note {
  margin: 0 0 var(--space-10);
  color: var(--color-text-muted);
}

.feature-grid {
  display: grid;
  gap: var(--space-6);
  grid-template-columns: repeat(1, minmax(0, 1fr));
}

.feature {
  background: rgba(255, 255, 255, 0.72);
  border: 1px solid rgba(16, 18, 23, 0.12);
  border-radius: var(--radius-24);
  padding: var(--space-8);
  box-shadow: 0 16px 40px rgba(16, 18, 23, 0.08);
}

.feature__num {
  width: 44px;
  height: 44px;
  border-radius: 16px;
  display: grid;
  place-items: center;
  background: linear-gradient(145deg, var(--color-brand), var(--color-brand-2));
  color: var(--color-ink);
  font-weight: var(--fw-extrabold);
  margin-bottom: var(--space-4);
}

.feature__title {
  margin: 0 0 var(--space-3);
  font-size: var(--fs-66);
}

.feature__text {
  margin: 0;
  color: rgba(66, 65, 67, 0.78);
}

.feature__text-strong {
  display: block;
  margin-top: var(--space-3);
  font-weight: var(--fw-semibold);
  color: rgba(66, 65, 67, 0.9);
}

.differentials-layout {
  display: grid;
  gap: var(--space-10);
  align-items: start;
}

.differentials-layout__media {
  position: relative;
  border-radius: 0;
  overflow: hidden;
  box-shadow: none;
  background: transparent;
}

.differentials-layout__img {
  display: none;
}

.differentials-layout__content {
  min-width: 0;
}

.oee-card {
  background: rgba(16, 18, 23, 0.92);
  color: rgba(255, 255, 255, 0.92);
  border-radius: var(--radius-24);
  border: 1px solid rgba(16, 18, 23, 0.18);
  padding: var(--space-8);
  box-shadow: 0 18px 50px rgba(16, 18, 23, 0.14);
  width: fit-content;
}

.oee-card--badge {
  position: absolute;
  left: var(--space-6);
  top: var(--space-6);
  padding: var(--space-6);
  border-radius: 16px;
  box-shadow: 0 16px 40px rgba(0, 0, 0, 0.25);
  z-index: 2;
}

.section--differentials .oee-card {
  background: rgba(255, 255, 255, 0.96);
  border: 1px solid rgba(0, 0, 0, 0.08);
  color: rgba(66, 65, 67, 0.92);
}

.section--differentials .oee-card__kicker {
  color: rgba(66, 65, 67, 0.62);
}

.section--differentials .oee-card__value {
  color: #f6b61b;
}

.section--differentials .oee-card__kicker::before {
  content: "";
  display: block;
  width: 34px;
  height: 34px;
  margin: 0 auto var(--space-3);
  clip-path: polygon(25% 6%, 75% 6%, 100% 50%, 75% 94%, 25% 94%, 0% 50%);
  background: linear-gradient(145deg, rgba(246, 182, 27, 0.98), rgba(255, 216, 123, 0.88));
  border: 1px solid rgba(0, 0, 0, 0.06);
}

.oee-card__kicker {
  margin: 0 0 var(--space-2);
  font-size: var(--fs-12);
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.62);
  font-weight: var(--fw-semibold);
}

.oee-card__value {
  margin: 0;
  font-weight: var(--fw-extrabold);
  letter-spacing: -0.03em;
  font-size: clamp(var(--fs-32), 5vw, 4.25rem);
  line-height: 1;
  color: color-mix(in srgb, var(--color-brand), white 10%);
}

.feature-grid--stack {
  grid-template-columns: 1fr;
  gap: var(--space-4);
}

.feature-grid--stack .feature {
  position: relative;
  padding: var(--space-6) var(--space-6) var(--space-6) calc(var(--space-6) + 34px);
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.96);
  border: 1px solid rgba(0, 0, 0, 0.06);
  box-shadow: 0 14px 30px rgba(0, 0, 0, 0.16);
}

.feature-grid--stack .feature__num {
  position: absolute;
  left: 14px;
  top: 50%;
  transform: translateY(-50%);
  width: auto;
  height: auto;
  margin: 0;
  background: transparent;
  color: #f6b61b;
  font-size: 1.6rem;
  font-weight: var(--fw-extrabold);
}

.feature-grid--stack .feature__title {
  font-size: var(--fs-66);
  margin: 0 0 var(--space-2);
  color: rgba(66, 65, 67, 0.82);
}

.section--differentials .feature__text,
.section--differentials .feature__text-strong {
  color: rgba(66, 65, 67, 0.7);
}

.section--differentials .feature__text {
  font-size: var(--fs-12);
  line-height: 1.35;
}

.section--differentials .feature__text-strong {
  margin-top: var(--space-2);
  font-weight: var(--fw-medium);
}

/* === 5 Dimensões — heading === */
.dim-heading {
  text-align: center;
  font-size: var(--fs-66);
  font-weight: var(--fw-bold) !important;
  letter-spacing: -0.025em;
  line-height: 1.15;
  margin: 0 0 var(--space-4);
  color: #fff;
}

.dim-heading strong,
.dim-heading .dim-heading__accent {
  font-weight: var(--fw-bold) !important;
}

.dim-heading__accent {
  color: var(--color-brand);
}

.dim-sub {
  text-align: center;
  color: #fff;
  font-size: var(--fs-19);
  margin: 0 0 var(--space-12);
  margin-inline: auto;
}

/* === Dimension cards (2-col: text | image) === */
.dim-part {
  padding: var(--space-10) 0;
}

.dim-part:first-of-type {
  padding-top: 0;
}

.dim-part:last-of-type {
  padding-bottom: 0;
}

/* No bloco de dimensões (section--dark), sem padding interno extra em cada section */
#dimensoes.section--dark .dim-part {
  padding: 0;
}

/*
  Padrão 1 (default): texto esquerda (1.25fr) | imagem direita (0.75fr)
  Padrão 2 (reverse): imagem esquerda (0.75fr) | texto direita (1.25fr)
  O HTML sempre tem .dim-card__content antes de .dim-card__visual,
  então o padrão 2 usa grid-column + grid-row explícitos para trocar posição.
*/
@media (min-width: 860px) {
  .dim-part--reverse .dim-card {
    grid-template-columns: minmax(0, 0.75fr) minmax(0, 1.25fr);
  }

  .dim-part--reverse .dim-card__visual {
    grid-column: 1;
    grid-row: 1;
  }

  .dim-part--reverse .dim-card__content {
    grid-column: 2;
    grid-row: 1;
  }
}

.dim-stack {
  display: grid;
  gap: var(--space-8);
}

/* Dimensões: fundo escuro da section (#dimensoes), sem “card” branco — ref. layout escuro + hex amarelo */
.dim-card {
  display: block; /* mobile */
  background: transparent;
  color: rgba(255, 255, 255, 0.92);
  border: none;
  border-radius: 0;
  overflow: visible;
  box-shadow: none;
  /* garante que cada card não ultrapasse a largura disponível */
  min-width: 0;
  max-width: 100%;
}

/* espaçamento vertical no mobile (sem grid) */
.dim-card__content {
  margin-bottom: var(--space-6);
}

.dim-card__content {
  padding: var(--space-8) var(--space-8) var(--space-8);
  /* Coluna do número + gap = tag, título (2ª coluna), lede e início do texto dos bullets */
  --dim-num-col: clamp(2.4rem, 8.5vw, 4.25rem);
  --dim-heading-gap: var(--space-4);
  --dim-text-gutter: calc(var(--dim-num-col) + var(--dim-heading-gap));
  /* círculo do check: encostado à esquerda do texto, com folga (mais à direita que left: 0) */
  --dim-check-left: calc(var(--dim-text-gutter) - 18px - var(--space-3));
}

.dim-card__tag {
  margin: 0 0 var(--space-3);
  margin-left: var(--dim-text-gutter);
  font-size: var(--fs-19);
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--color-brand);
  font-weight: var(--fw-semibold);
}

/* todas as dimensões usam fs-19 no tag */
#dimensao-1 .dim-card__tag {
  font-size: inherit;
}

.dim-card__heading {
  display: grid;
  grid-template-columns: var(--dim-num-col) 1fr;
  column-gap: var(--dim-heading-gap);
  align-items: start;
  margin-bottom: var(--space-5);
}

.dim-card__num {
  display: block;
  width: var(--dim-num-col);
  font-size: var(--fs-66);
  font-weight: var(--fw-medium);
  line-height: 1;
  color: var(--color-brand);
  padding-top: 0.05em;
  text-align: end;
}

.dim-card__title {
  margin: 0;
  padding: 0;
  min-width: 0;
  font-size: 60px;
  line-height: 1.15;
  letter-spacing: -0.02em;
  font-weight: var(--fw-bold) !important;
  font-family: var(--font-sans);
  color: rgba(255, 255, 255, 0.96);
}

.dim-card__title strong,
.dim-card__title .dim-card__hl {
  font-weight: var(--fw-bold) !important;
}

/* Fallback: títulos sem #dimensao-* específico */
.dim-card__title strong {
  color: var(--color-brand);
}

/* Dimensão 1: branco + trechos em --color-brand */
#dimensao-1 .dim-card__title strong {
  color: rgba(255, 255, 255, 0.96);
}

#dimensao-1 .dim-card__title .dim-card__hl {
  color: var(--color-brand);
}

/* Dimensão 2: branco + destaque “gastou demais” em #eab026 (ref.) */
#dimensao-2 .dim-card__title strong {
  color: rgba(255, 255, 255, 0.96);
}

#dimensao-2 .dim-card__title .dim-card__hl {
  color: #eab026;
}

/* Dimensão 3: branco + destaques #f9b233 (ref.) */
#dimensao-3 .dim-card__title strong {
  color: rgba(255, 255, 255, 0.96);
}

#dimensao-3 .dim-card__title .dim-card__hl {
  color: #f9b233;
}

/* Dimensão 4: primeira frase branca; segunda em #ffb81c */
#dimensao-4 .dim-card__title strong {
  color: rgba(255, 255, 255, 0.96);
}

#dimensao-4 .dim-card__title .dim-card__hl {
  color: #ffb81c;
}

/* Dimensão 5: branco + “máquinas…” em #f6ae2d */
#dimensao-5 .dim-card__title strong {
  color: rgba(255, 255, 255, 0.96);
}

#dimensao-5 .dim-card__title .dim-card__hl {
  color: #f6ae2d;
}

.dim-card__hl {
  color: var(--color-brand);
  font-weight: var(--fw-bold) !important;
}

.dim-card__lede {
  margin: 0 0 var(--space-5);
  margin-left: var(--dim-text-gutter);
  color: var(--color-light-surface);
  font-size: var(--fs-19);
  line-height: 1.55;
  max-width: 48ch;
}

/* Lista: texto como o lede; só os checks deslocam à direita (--dim-check-left) */
.dim-card__checks {
  margin: 0;
  margin-left: 0;
  padding: 0;
  list-style: none;
  display: grid;
  gap: var(--space-2);
}

.dim-card__checks li {
  position: relative;
  padding-left: var(--dim-text-gutter);
  color: var(--color-light-surface);
  font-size: var(--fs-16);
  line-height: 1.5;
}

.dim-card__checks li::before {
  content: "";
  position: absolute;
  left: var(--dim-check-left);
  top: 2px;
  box-sizing: border-box;
  width: 18px;
  height: 18px;
  border-radius: 50%;
  background: transparent;
  border: 2px solid var(--color-brand);
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 12 12'%3E%3Cpath d='M2.5 6l2.5 2.5 4.5-5' stroke='%23ffb400' stroke-width='1.6' fill='none' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: center;
}

/* Visual / image column — apenas o asset (PNG), sem moldura nem extras */
.dim-card__visual {
  --dim-hex-w: 683.36px;
  --dim-hex-h: 768.78px;
  --dim-hex-border: 2px;
  --dim-hex-border-color: #f5b61b;
  position: relative;
  display: grid;
  place-items: center;
  /* mobile: cabe 100% da coluna; desktop: máximo real do SVG */
  width: min(100%, var(--dim-hex-w));
  aspect-ratio: calc(var(--dim-hex-w) / var(--dim-hex-h));
  box-sizing: border-box;
  margin-inline: auto;
  justify-self: center;
  padding: 0;
  background: transparent;
  /* badge pode "sair" levemente do container sem gerar scroll */
  overflow: visible;
}

.dim-card__visual::before {
  content: "";
  position: absolute;
  inset: 0;
  background: url("../assets/icons/base-videos.svg") center / contain no-repeat;
  z-index: 3;
  pointer-events: none;
}

#dimensao-2 .dim-card__visual::before,
#dimensao-4 .dim-card__visual::before {
  background-image: url("../assets/icons/base-videos-2.svg");
}

.dim-card__img-wrap {
  position: absolute;
  inset: 0;
  overflow: hidden;
  background: rgba(38, 43, 52, 0.46);
  -webkit-mask: url("../assets/icons/base-videos-inner-mask.svg") center / contain no-repeat;
  mask: url("../assets/icons/base-videos-inner-mask.svg") center / contain no-repeat;
  z-index: 1;
}

.dim-card__img-wrap::before {
  content: none;
}

#dimensao-2 .dim-card__img-wrap,
#dimensao-4 .dim-card__img-wrap {
  -webkit-mask-image: url("../assets/icons/base-videos-2-inner-mask.svg");
  mask-image: url("../assets/icons/base-videos-2-inner-mask.svg");
}

.dim-card__img-wrap::after {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(180deg, rgba(38, 43, 52, 0.4) 0%, rgba(38, 43, 52, 0.14) 48%, rgba(38, 43, 52, 0.48) 100%),
    rgba(70, 110, 138, 0.2);
  pointer-events: none;
  z-index: 2;
}

.dim-card__video {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: cover;
  object-position: center;
  position: relative;
  z-index: 1;
  transition: opacity var(--video-poster-fade) var(--video-poster-ease);
}

.dim-card__video.dim-card__video--fading {
  opacity: 0;
}

.dim-card__video.dim-card__video--hidden {
  display: none;
  opacity: 1;
}

.dim-card__poster {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  display: block;
  object-fit: cover;
  object-position: center;
  z-index: 1;
  pointer-events: none;
}

.dim-card__badge {
  position: absolute;
  left: 77.4%;
  top: 12.9%;
  transform: translate(-50%, -50%);
  /* escala relativa ao SVG pai para manter proporção em qualquer tamanho */
  width: clamp(42px, 12%, 84px);
  aspect-ratio: 1;
  background: transparent;
  clip-path: none;
  display: grid;
  place-items: center;
  box-shadow: none;
  z-index: 4;
}

#dimensao-2 .dim-card__badge,
#dimensao-4 .dim-card__badge {
  left: 22.2%;
  top: 13.2%;
}

.dim-card__badge-icon {
  display: block;
  width: min(84%, 4.125rem);
  height: auto;
  max-width: 100%;
  max-height: 100%;
  object-fit: contain;
  object-position: center;
}

#dimensao-1 .dim-card__badge-icon {
  width: min(100%, 4.65rem);
}

/* Dimensões — mobile: folga lateral para o hexágono + selo não serem cortados pelo viewport */
@media (max-width: 859px) {
  #dimensoes.section--dark,
  #dimensoes .container {
    min-width: 0;
    overflow-x: visible;
  }

  /* Depois da regra base (60px); mesmo padrão de .section__title / .hero__title no mobile */
  .dim-card__title {
    font-size: clamp(1.75rem, 7.2vw, 2.6rem);
    line-height: 1.08;
    letter-spacing: -0.03em;
  }

  .dim-card__visual {
    min-width: 0;
    width: 100%;
    /* ~20% menor que o tamanho “seguro” anterior — evita corte nas bordas no mobile */
    max-width: min(
      calc(var(--dim-hex-w) * 0.8),
      calc((100% - clamp(20px, 6vw, 40px)) * 0.8)
    );
    margin-inline: auto;
  }

  .dim-card__img-wrap {
    -webkit-mask-size: contain;
    mask-size: contain;
    -webkit-mask-position: center;
    mask-position: center;
  }

  .dim-card__visual::before {
    background-size: contain;
    background-position: center;
  }

  /*
   * Centro da área amarela nos SVG (viewBox ~684×769): ~77% / ~22% em x.
   * Valores “para dentro” antigos desciam o selo do amarelo no mobile.
   */
  .dim-card__badge {
    left: 77.2%;
    top: 13%;
    width: clamp(39px, 15vw, 78px);
  }

  #dimensao-2 .dim-card__badge,
  #dimensao-4 .dim-card__badge {
    left: 22.1%;
    top: 13.2%;
  }

  .dim-card__badge-icon {
    width: min(78%, 3.525rem);
  }

  #dimensao-1 .dim-card__badge-icon {
    width: min(90%, 3.975rem);
  }
}

.card__title {
  margin: 0 0 var(--space-3);
  font-size: var(--fs-66);
}

.card__text {
  margin: 0;
  color: rgba(255, 255, 255, 0.78);
}

.robot-grid {
  display: grid;
  gap: var(--space-6);
  grid-template-columns: repeat(1, minmax(0, 1fr));
}

.robot {
  background: rgba(255, 255, 255, 0.72);
  border: 1px solid rgba(16, 18, 23, 0.12);
  border-radius: var(--radius-24);
  padding: var(--space-8);
}

.robot__title {
  margin: 0 0 var(--space-3);
  font-size: var(--fs-39);
  font-weight: var(--fw-bold) !important;
}

.robot__text {
  margin: 0;
  color: rgba(66, 65, 67, 0.78);
}

.robot-grid--dark .robot__text {
  color: rgba(255, 255, 255, 0.78);
}

.robot--dark {
  background: rgba(255, 255, 255, 0.06);
  border-color: rgba(255, 255, 255, 0.10);
  box-shadow: var(--shadow-1);
}

#robos {
  background: #eceff3;
  color: var(--color-bg);
}

#robos .section__title {
  margin: 0 auto var(--space-3);
  text-align: center;
  font-size: var(--fs-66);
  line-height: 1.08;
  letter-spacing: -0.03em;
  color: var(--color-bg);
  font-weight: var(--fw-bold) !important;
}

#robos .section__title strong,
#robos .section__title strong span {
  font-weight: var(--fw-bold) !important;
}

#robos .robos-title__accent {
  color: #f6b61b;
}

#robos .section__lede {
  text-align: center;
  color: rgba(66, 65, 67, 0.78);
  font-size: clamp(0.94rem, 1.05vw, 1.05rem);
  line-height: 1.45;
  margin-inline: auto;
}

#robos .robot-grid {
  gap: var(--space-6);
}

#robos .robot--dark {
  background: rgba(243, 244, 246, 0.98);
  border: 1px solid rgba(255, 255, 255, 0.78);
  border-radius: 36px;
  padding: 22px 22px var(--space-6);
  box-shadow:
    0 16px 30px rgba(26, 30, 36, 0.24),
    0 2px 0 rgba(255, 255, 255, 0.66) inset;
}

#robos .robot__media {
  margin-bottom: var(--space-4);
  display: grid;
  place-items: center;
}

#robos .robot__img {
  display: block;
  width: min(72%, 215px);
  height: auto;
  object-fit: contain;
  object-position: center;
}

#robos .robot__img--extrator {
  filter: saturate(0.88) contrast(0.96);
}

#robos .robot__img--inteligente {
  filter: saturate(1.1) contrast(1.02) brightness(1.03);
}

#robos .robot__title {
  margin: 0 0 var(--space-2);
  color: #f4b01a;
  font-size: var(--fs-39);
  font-weight: var(--fw-bold) !important;
  line-height: 1.08;
  letter-spacing: -0.01em;
  padding-left: 28px;
}

#robos .robot__text,
#robos .robot-grid--dark .robot__text {
  margin-bottom: var(--space-3);
  padding-left: 28px;
  color: rgba(66, 65, 67, 0.88);
  font-size: clamp(1rem, 1.05vw, 1.08rem);
  line-height: 1.42;
}

#robos .bullets {
  margin: 0;
  padding: 0;
  list-style: none;
  display: grid;
  gap: 10px;
}

#robos .bullets li {
  position: relative;
  padding-left: 28px;
  color: rgba(66, 65, 67, 0.86);
  font-size: 0.97rem;
  line-height: 1.45;
}

#robos .bullets.bullets--dark li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 2px;
  box-sizing: border-box;
  width: 18px;
  height: 18px;
  border-radius: 50%;
  background: transparent;
  border: 2px solid var(--color-brand);
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 12 12'%3E%3Cpath d='M2.5 6l2.5 2.5 4.5-5' stroke='%23ffb400' stroke-width='1.6' fill='none' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: center;
}

#robos .robos-cycle {
  margin: var(--space-16) auto 0;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 18px;
  color: rgba(66, 65, 67, 0.72);
  font-size: 0.93rem;
  font-weight: var(--fw-bold) !important;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  white-space: nowrap;
}

#robos .robos-cycle span {
  font-weight: var(--fw-bold) !important;
}

#robos .robos-cycle::before,
#robos .robos-cycle::after {
  content: "";
  display: block;
  flex: 1 1 140px;
  min-width: 80px;
  border-top: 1px solid rgba(244, 176, 26, 0.42);
}

.section--paranoa {
  position: relative;
  /* Mesmo esquema que .diff: isolate + camadas; acima de #dimensoes na junção */
  isolation: isolate;
  z-index: 10;
  /* overflow-x:hidden quebra overflow-y:visible e recorta o robô (translateY negativo). Igual .diff: visible */
  overflow: visible;
  background: transparent;
  color: var(--color-bg);
}

/* Robô na junção dimensões/Paranoá — como .diff__robot: acima do gradiente (::after z1) e do conteúdo (z2) */
.paranoa__seam-robot {
  position: absolute;
  left: max(var(--page-pad), 16px);
  top: 0;
  z-index: 5;
  width: clamp(104px, 17vw, 168px);
  max-width: 100%;
  height: auto;
  pointer-events: none;
  transform: translateY(-42%);
  filter: drop-shadow(0 14px 28px rgba(0, 0, 0, 0.32));
  object-fit: contain;
  object-position: bottom left;
}

@media (max-width: 859px) {
  .paranoa__seam-robot {
    width: clamp(88px, 26vw, 132px);
    transform: translateY(-38%);
    left: max(var(--page-pad), 12px);
  }
}

.section--paranoa::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 1;
  pointer-events: none;
  background: linear-gradient(
    90deg,
    rgba(252, 183, 19, 0.96) 0%,
    rgba(252, 183, 19, 0.88) 34%,
    rgba(252, 183, 19, 0.58) 62%,
    rgba(14, 15, 17, 0.18) 100%
  );
}

.paranoa__bg-video {
  position: absolute;
  inset: 0;
  z-index: 0;
  width: 100%;
  height: 100%;
  display: block;
  object-fit: cover;
  object-position: center;
  pointer-events: none;
  filter: saturate(0.95) contrast(1.03);
  transition: opacity var(--video-poster-fade) var(--video-poster-ease);
}

.paranoa__bg-video.paranoa__bg-video--fading {
  opacity: 0;
}

.paranoa__bg-video.paranoa__bg-video--hidden {
  display: none;
  opacity: 1;
}

/* Poster após o fim do vídeo de fundo (mesmo enquadramento que .paranoa__bg-video) */
.paranoa__bg-poster {
  position: absolute;
  inset: 0;
  z-index: 0;
  width: 100%;
  height: 100%;
  display: block;
  object-fit: cover;
  object-position: center;
  pointer-events: none;
  filter: saturate(0.95) contrast(1.03);
}

.section--paranoa > .container.paranoa {
  position: relative;
  z-index: 2;
}

.paranoa {
  display: grid;
  gap: var(--space-6);
  grid-template-columns: 1fr;
  align-items: start;
}

.paranoa__copy {
  max-width: 68ch;
}

.paranoa__kicker {
  margin: 0 0 var(--space-4);
  letter-spacing: 0.12em;
  text-transform: uppercase;
  font-size: var(--fs-19);
  color: rgba(66, 65, 67, 0.88);
}

.paranoa__title {
  margin: 0 0 var(--space-6);
  font-size: var(--fs-66);
  line-height: 1.08;
  letter-spacing: -0.03em;
  color: rgba(255, 255, 255, 0.78);
  font-weight: var(--fw-bold) !important;
}

.paranoa__title strong,
.paranoa__title .paranoa__title-strong,
.paranoa__title .paranoa__title-muted {
  font-weight: var(--fw-bold) !important;
}

.paranoa__title-strong {
  color: #ffffff;
}

.paranoa__title-muted {
  color: var(--color-bg);
}

.paranoa__text {
  margin: 0 0 var(--space-4);
  font-size: var(--fs-19);
  line-height: 1.45;
  color: rgba(66, 65, 67, 0.92);
  max-width: 58ch;
}

.paranoa__quote {
  margin: var(--space-8) 0 0;
  padding: 0 0 0 var(--space-4);
  border-left: 4px solid rgba(255, 255, 255, 0.92);
  max-width: 58ch;
}

.paranoa__quote-text {
  margin: 0;
  font-size: var(--fs-16);
  line-height: 1.35;
  color: rgba(66, 65, 67, 0.92);
}

.paranoa__aside {
  display: grid;
  gap: var(--space-4);
  min-width: 0;
  width: 100%;
  align-content: start;
}

/*
 * Mesmo modelo da cópia: padding 12px + área 16:9 interna (não 16:9 no retângulo externo).
 * Grid + ::before define a altura; vídeo/poster empilhados na mesma célula (fade + display:none).
 */
.paranoa__media {
  position: relative;
  z-index: 0;
  width: 100%;
  min-width: 0;
  padding: 12px;
  box-sizing: border-box;
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  isolation: isolate;
}

.paranoa__media::before {
  content: "";
  grid-column: 1;
  grid-row: 1;
  width: 100%;
  min-width: 0;
  aspect-ratio: 16 / 9;
  pointer-events: none;
}

.paranoa__media-img {
  grid-column: 1;
  grid-row: 1;
  place-self: stretch;
  z-index: 0;
  width: 100%;
  min-width: 0;
  min-height: 0;
  height: 100%;
  border-radius: 20px;
  object-fit: cover;
  object-position: center;
  display: block;
}

.paranoa__media-video {
  grid-column: 1;
  grid-row: 1;
  place-self: stretch;
  z-index: 1;
  width: 100%;
  min-width: 0;
  min-height: 0;
  height: 100%;
  display: block;
  border-radius: 20px;
  object-fit: cover;
  object-position: center;
  transition: opacity var(--video-poster-fade) var(--video-poster-ease);
}

.paranoa__media-video.paranoa__media-video--fading {
  opacity: 0;
}

.paranoa__media-video.paranoa__media-video--hidden {
  display: none;
  opacity: 1;
}

/* Poster após o fim do vídeo — mesma célula que o vídeo, atrás (z-index) */
.paranoa__media-poster {
  grid-column: 1;
  grid-row: 1;
  place-self: stretch;
  z-index: 0;
  width: 100%;
  min-width: 0;
  min-height: 0;
  height: 100%;
  display: block;
  border-radius: 20px;
  object-fit: cover;
  object-position: center;
}

.paranoa__stats {
  position: relative;
  z-index: 2;
  display: grid;
  gap: var(--space-4);
  grid-template-columns: repeat(2, minmax(0, 1fr));
  width: 100%;
  min-width: 0;
  box-sizing: border-box;
  /* Mesmo recorte horizontal que o padding da mídia — bordas dos cards alinhadas à foto */
  padding-inline: 12px;
}

.paranoa-stat {
  width: 100%;
  min-width: 0;
  box-sizing: border-box;
  container-type: inline-size;
  background: rgba(255, 255, 255, 0.96);
  border: 1px solid rgba(16, 18, 23, 0.08);
  border-radius: 24px;
  padding: 14px 12px;
  display: grid;
  grid-template-columns: 32px minmax(0, 1fr);
  grid-template-rows: auto auto;
  column-gap: 10px;
  align-content: start;
  box-shadow: 0 12px 28px rgba(0, 0, 0, 0.12);
}

.paranoa-stat--accent .paranoa-stat__value {
  color: #f4a300;
}

.paranoa-stat__value {
  grid-column: 2;
  grid-row: 1;
  min-width: 0;
  max-width: 100%;
  overflow-wrap: anywhere;
  word-break: break-word;
  font-size: var(--fs-26);
  line-height: 1.12;
  letter-spacing: -0.025em;
  color: #f4a300;
  font-weight: var(--fw-bold) !important;
}

.paranoa-stat__label {
  grid-column: 2;
  grid-row: 2;
  margin-top: 6px;
  min-width: 0;
  max-width: 100%;
  overflow-wrap: break-word;
  font-size: var(--fs-16);
  line-height: 1.35;
  color: rgba(66, 65, 67, 0.84);
}

.paranoa-stat__icon {
  grid-column: 1;
  grid-row: 1 / span 2;
  width: 32px;
  height: 32px;
  align-self: center;
  justify-self: start;
  display: block;
}

@media (max-width: 859px) {
  .paranoa__aside {
    gap: var(--space-6);
  }

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

  .paranoa-stat {
    aspect-ratio: unset;
    padding: 8px 12px 10px;
    column-gap: 12px;
    row-gap: 4px;
    grid-template-columns: 44px minmax(0, 1fr);
    grid-template-rows: auto auto;
    align-items: start;
    align-content: start;
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.1);
  }

  .paranoa-stat__value {
    grid-column: 2;
    grid-row: 1;
    line-height: 1.12;
    align-self: start;
    min-width: 0;
  }

  .paranoa-stat__label {
    grid-column: 2;
    grid-row: 2;
    margin-top: 0;
    min-width: 0;
  }

  .paranoa-stat__icon {
    grid-column: 1;
    grid-row: 1 / span 2;
    width: 32px;
    height: 32px;
    justify-self: center;
    align-self: center;
  }
}

.case-grid {
  display: grid;
  gap: var(--space-6);
  grid-template-columns: repeat(1, minmax(0, 1fr));
}

.case {
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.10);
  border-radius: var(--radius-24);
  padding: var(--space-8);
}

.case__title {
  margin: 0 0 var(--space-3);
  font-size: var(--fs-66);
}

.case__text {
  margin: 0 0 var(--space-6);
  color: rgba(255, 255, 255, 0.78);
}

.contact {
  display: grid;
  gap: var(--space-10);
  grid-template-columns: 1fr;
  align-items: start;
}

.cta {
  display: grid;
  gap: var(--space-10);
  grid-template-columns: 1fr;
  align-items: start;
}

.metric-row {
  margin-top: var(--space-8);
  display: grid;
  gap: var(--space-4);
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.metric-grid {
  margin-top: var(--space-6);
  display: grid;
  gap: var(--space-4);
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.metric--dark {
  background: rgba(255, 255, 255, 0.92);
}

.metric {
  background: rgba(255, 255, 255, 0.72);
  border: 2px solid #f8e71d;
  border-radius: var(--radius-24);
  padding: var(--space-5);
}

.metric--accent {
  background: color-mix(in srgb, var(--color-brand), white 72%);
  border: 2px solid #f8e71d;
}

.metric__value {
  font-size: clamp(var(--fs-20), 2.4vw, var(--fs-32));
  font-weight: var(--fw-extrabold) !important;
  color: rgba(66, 65, 67, 0.95);
}

.metric__label {
  margin-top: var(--space-2);
  font-size: var(--fs-14);
  color: rgba(66, 65, 67, 0.72);
}

.form--cta {
  box-shadow: 0 18px 50px rgba(16, 18, 23, 0.14);
}

.form--cta .field__honeypot {
  position: absolute;
  left: -9999px;
  width: 1px;
  height: 1px;
  margin: 0;
  padding: 0;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

#diagnostico.section--diagnostico {
  padding: var(--section-pad-y) 0;
}

#diagnostico {
  background: transparent;
  color: inherit;
  position: relative;
  isolation: auto;
  overflow: visible;
}

#diagnostico::before {
  content: none;
  position: absolute;
  inset: 0;
  z-index: 1;
  pointer-events: none;
  background: linear-gradient(
    to right,
    rgba(32, 34, 40, 0.72) 0%,
    rgba(48, 50, 58, 0.6) 35%,
    rgba(66, 68, 76, 0.66) 100%
  );
}

.diagnostico__bg-video {
  position: absolute;
  inset: 0;
  z-index: 0;
  width: 100%;
  height: 100%;
  display: block;
  object-fit: cover;
  object-position: center;
  pointer-events: none;
  filter: saturate(0.95) contrast(1.03);
}

#diagnostico > .container {
  position: relative;
  z-index: 2;
}

#diagnostico .cta {
  gap: var(--space-8);
}

#diagnostico .cta__visual {
  display: grid;
  place-items: center;
}

#diagnostico .cta__visual-img {
  width: min(100%, 620px);
  height: auto;
  display: block;
}

#diagnostico .cta__visual-hex {
  --cta-hex-fill: rgba(38, 43, 52, 0.58);
  --cta-hex-line: #f5b61b;
  position: relative;
  margin: 0;
  width: min(100%, 560px);
  aspect-ratio: 1.16 / 1;
  display: grid;
  place-items: center;
  filter: drop-shadow(0 18px 36px rgba(0, 0, 0, 0.34));
}

#diagnostico .cta__visual-hex::before {
  content: "";
  position: absolute;
  inset: 0;
  background: var(--cta-hex-line);
  clip-path: polygon(50% 0%, 100% 25%, 100% 75%, 50% 100%, 0% 75%, 0% 25%);
}

#diagnostico .cta__visual-hex-inner {
  position: absolute;
  inset: 3px;
  overflow: hidden;
  clip-path: polygon(50% 0%, 100% 25%, 100% 75%, 50% 100%, 0% 75%, 0% 25%);
  background: var(--cta-hex-fill);
}

#diagnostico .cta__visual-hex-inner::after {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background:
    linear-gradient(180deg, rgba(38, 43, 52, 0.32) 0%, rgba(38, 43, 52, 0.06) 48%, rgba(38, 43, 52, 0.4) 100%),
    rgba(70, 110, 138, 0.18);
}

#diagnostico .cta__visual-hex-video {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: cover;
  object-position: center;
  filter: saturate(0.9) contrast(1.02);
}

#diagnostico .cta__visual-hex-badge {
  position: absolute;
  top: 5%;
  right: 10%;
  width: clamp(68px, 7.2vw, 94px);
  aspect-ratio: 1;
  background: var(--cta-hex-line);
  clip-path: polygon(25% 6%, 75% 6%, 100% 50%, 75% 94%, 25% 94%, 0% 50%);
  display: grid;
  place-items: center;
  box-shadow: 0 10px 22px rgba(0, 0, 0, 0.28);
}

#diagnostico .cta__visual-hex-badge-icon {
  width: 56%;
  height: 56%;
  object-fit: contain;
  display: block;
}

#diagnostico .cta__content {
  display: grid;
  gap: var(--space-4);
}

#diagnostico .section__kicker {
  margin-bottom: var(--space-2);
  letter-spacing: 0.1em;
  font-size: var(--fs-19);
  color: #f5b61b;
}

#diagnostico .section__title {
  margin: 0 0 var(--space-4);
  max-width: 12ch;
  color: #fff;
  font-size: var(--fs-66);
  line-height: 1.04;
  letter-spacing: -0.02em;
  font-weight: var(--fw-bold) !important;
}

#diagnostico .section__title strong,
#diagnostico .section__title .cta-title__accent {
  font-weight: var(--fw-bold) !important;
}

#diagnostico .cta-title__accent {
  color: #ffbe1a;
  font-weight: var(--fw-bold) !important;
}

#diagnostico .section__lede {
  margin: 0;
  max-width: 44ch;
  color: #fff;
  font-size: var(--fs-19);
  line-height: 1.35;
}

#diagnostico .form {
  background: transparent;
  border: 0;
  border-radius: 0;
  box-shadow: none;
  padding: 0;
  margin-top: var(--space-2);
  gap: 10px;
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

#diagnostico .field {
  position: relative;
}

#diagnostico .field__label {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  border: 0;
}

#diagnostico .form.form--cta .field__input,
#diagnostico .form.form--cta select.field__input {
  height: 42px;
  border-radius: 10px;
  border: 1px solid rgba(255, 255, 255, 0.18);
  background: #f1f1f2;
  color: rgba(66, 65, 67, 0.88);
  font-size: 0.88rem;
  padding: 10px 12px;
}

#diagnostico .field__input::placeholder {
  color: rgba(66, 65, 67, 0.82);
}

#diagnostico .field__select {
  appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='14' height='14' viewBox='0 0 14 14'%3E%3Cpath d='M3 5.5l4 4 4-4' stroke='%23767a83' stroke-width='1.5' fill='none' stroke-linecap='round'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: calc(100% - 10px) 50%;
  padding-right: 32px;
}

#diagnostico .form__actions {
  grid-column: 1 / -1;
  margin-top: 0;
  gap: 0.5rem;
}

#diagnostico .form.form--cta .btn.btn--primary {
  border-radius: 12px;
  height: 40px;
  padding: 0 14px;
  font-size: 0.82rem;
  font-weight: var(--fw-medium);
  gap: 6px;
  box-shadow: 0 4px 14px rgba(0, 0, 0, 0.22);
}

/* DOM: ::before → span → ::after | visual: texto → logo → chevron */
#diagnostico .form.form--cta .btn.btn--primary .form-cta-submit__label {
  order: 1;
}

#diagnostico .form.form--cta .btn.btn--primary::before {
  order: 2;
  content: "";
  display: block;
  width: 22px;
  height: 24px;
  flex-shrink: 0;
  background: url("../assets/icons/daw.svg") center / contain no-repeat;
}

#diagnostico .form.form--cta .btn.btn--primary::after {
  order: 3;
  content: "›";
  display: block;
  font-size: 1.15rem;
  line-height: 1;
  font-weight: var(--fw-regular);
}

/* Feedback do formulário (JS: .form__hint--sending | --success | --error) */
#diagnostico .form__hint:empty {
  display: none;
}

#diagnostico .form__actions .form__hint:not(:empty) {
  flex-basis: 100%;
  width: 100%;
}

#diagnostico .form__hint:not(:empty) {
  display: block;
  margin-top: 0;
  padding: 0.65rem 0.85rem;
  border-radius: 10px;
  font-size: 0.88rem;
  line-height: 1.45;
  font-weight: var(--fw-medium);
  border: 1px solid transparent;
}

#diagnostico .form__hint--sending:not(:empty) {
  background: rgba(255, 255, 255, 0.14);
  color: rgba(255, 255, 255, 0.92);
  border-color: rgba(255, 255, 255, 0.22);
}

#diagnostico .form__hint--success:not(:empty) {
  background: rgba(46, 125, 70, 0.22);
  color: rgba(245, 250, 246, 0.98);
  border-color: rgba(129, 199, 132, 0.55);
}

#diagnostico .form__hint--error:not(:empty) {
  background: rgba(183, 28, 28, 0.16);
  color: rgba(255, 235, 235, 0.96);
  border-color: rgba(239, 154, 154, 0.45);
}

#diagnostico .metric-row {
  margin-top: var(--space-2);
  display: grid;
  gap: 10px;
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

#diagnostico .metric,
#diagnostico .metric--accent {
  display: flex;
  align-items: center;
  gap: 12px;
  min-height: 78px;
  padding: 12px 14px;
  border-radius: 16px;
  background: #f7b90e;
  border: 2px solid #f8e71d;
  box-shadow: 0 10px 18px rgba(12, 14, 18, 0.28);
}

#diagnostico .metric__icon {
  width: 36px;
  height: 36px;
  flex: 0 0 36px;
  display: grid;
  place-items: center;
}

#diagnostico .metric__icon-img {
  width: 100%;
  height: 100%;
  max-width: 36px;
  max-height: 36px;
  object-fit: contain;
  object-position: center;
  display: block;
}

#diagnostico .metric__value {
  font-size: clamp(2rem, 2.3vw, 2.6rem);
  line-height: 0.95;
  font-weight: var(--fw-bold) !important;
  color: #fffef8;
  letter-spacing: -0.02em;
}

#diagnostico .metric__label {
  margin-top: 4px;
  color: rgba(66, 65, 67, 0.92);
  font-size: 0.83rem;
  line-height: 1.15;
}

.section--diagnostico-strip {
  padding: 0; 
}

.section--diagnostico-strip .cta-impact-strip {
  margin-top: 0;
  background: #eceef0;
  border-top: 1px solid rgba(0, 0, 0, 0.08);
  border-bottom: 1px solid rgba(0, 0, 0, 0.08);
  padding: 20px 0;
}

/* Mais largura útil para 6 colunas (o --page-pad desktop é muito alto no restante do site) */
.section--diagnostico-strip .cta-impact-strip .container {
  max-width: 100%;
  padding-inline: clamp(12px, 2.6vw, 40px);
}

.section--diagnostico-strip .cta-impact-strip__grid {
  display: grid;
  grid-template-columns: repeat(6, minmax(0, 1fr));
}

.section--diagnostico-strip .cta-impact-strip__item {
  text-align: center;
  padding: 12px 10px;
  border-left: 1px solid rgba(16, 18, 23, 0.16);
  min-width: 0;
}

.section--diagnostico-strip .cta-impact-strip__item:first-child {
  border-left: 0;
}

.section--diagnostico-strip .cta-impact-strip__value {
  color: #d8a413;
  font-size: clamp(1.22rem, 1.35vw, 1.72rem);
  line-height: 1.05;
  letter-spacing: -0.03em;
  font-weight: var(--fw-bold) !important;
}

.section--diagnostico-strip .cta-impact-strip__label {
  margin-top: 6px;
  color: rgba(66, 65, 67, 0.78);
  font-size: 0.96rem;
  line-height: 1.25;
}

@media (min-width: 721px) {
  .section--diagnostico-strip .cta-impact-strip__value {
    white-space: nowrap;
  }
}

@media (max-width: 720px) {
  #diagnostico .form {
    grid-template-columns: 1fr;
  }

  #diagnostico .metric-row {
    grid-template-columns: 1fr;
  }

  .section--diagnostico-strip .cta-impact-strip__grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 14px 12px;
    row-gap: 16px;
    min-width: 0;
    padding-inline: 2px;
  }

  .section--diagnostico-strip .cta-impact-strip__item {
    border-left: 0;
    border: 1px solid rgba(16, 18, 23, 0.12);
    border-radius: 10px;
    background: rgba(255, 255, 255, 0.42);
    min-width: 0;
    box-sizing: border-box;
  }

  .section--diagnostico-strip .cta-impact-strip__value {
    white-space: normal;
  }
}

.cta {
  display: grid;
  gap: var(--space-10);
  grid-template-columns: 1fr;
  align-items: start;
}

.metric-row {
  margin-top: var(--space-8);
  display: grid;
  gap: var(--space-4);
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.metric {
  background: rgba(255, 255, 255, 0.72);
  border: 2px solid #f8e71d;
  border-radius: var(--radius-24);
  padding: var(--space-5);
}

.metric--accent {
  background: color-mix(in srgb, var(--color-brand), white 72%);
  border: 2px solid #f8e71d;
}

.metric__value {
  font-size: clamp(var(--fs-20), 2.4vw, var(--fs-32));
  font-weight: var(--fw-extrabold) !important;
  color: rgba(66, 65, 67, 0.95);
}

.metric__label {
  margin-top: var(--space-2);
  font-size: var(--fs-14);
  color: rgba(66, 65, 67, 0.72);
}

.form--cta {
  box-shadow: 0 18px 50px rgba(16, 18, 23, 0.14);
}

.form--cta .field__honeypot {
  position: absolute;
  left: -9999px;
  width: 1px;
  height: 1px;
  margin: 0;
  padding: 0;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.award-grid {
  display: grid;
  gap: var(--space-16);
  grid-template-columns: repeat(1, minmax(0, 1fr));
  margin-top: var(--space-10);
}

#premios .section__kicker {
  text-align: center;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--color-brand);
  font-weight: var(--fw-semibold);
}

#premios .award {
  display: flex;
  align-items: center;
  gap: var(--space-10);
  background: transparent;
  border: 0;
  border-radius: 0;
  padding: var(--space-3) 0;
  box-shadow: none;
}

#premios .award__hex {
  flex: 0 0 auto;
  width: clamp(100px, 12vw, 140px);
  aspect-ratio: 1 / 1.12;
  position: relative;
  clip-path: polygon(50% 0%, 100% 25%, 100% 75%, 50% 100%, 0% 75%, 0% 25%);
  overflow: hidden;
  background: #2f3036;
  filter:
    drop-shadow(0 0 0 1.5px #e8a317)
    drop-shadow(0 10px 22px rgba(0, 0, 0, 0.35));
}

#premios .award__hex-img {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: contain;
  object-position: center;
}

#premios .award__body {
  min-width: 0;
}

#premios .award__title {
  margin: 0 0 6px;
  font-size: 21px;
  font-weight: var(--fw-semibold);
  color: rgba(255, 255, 255, 0.96);
  line-height: 1.25;
}

#premios .award__meta {
  margin: 0 0 8px;
  font-size: 0.9rem;
  line-height: 1.3;
  color: rgba(255, 255, 255, 0.84);
}

#premios .award__meta:empty {
  display: none;
}

#premios .award__rank {
  margin: 0;
  font-size: 1rem;
  font-weight: var(--fw-semibold);
  color: #f4b01a;
}

.premios-after {
  display: flex;
  justify-content: center;
  margin-top: var(--space-12);
  padding-top: var(--space-10);
  border-top: 1px solid rgba(255, 255, 255, 0.12);
}

.premios-after__logo {
  height: 22px;
  width: auto;
  display: block;
  opacity: 0.9;
}

@media (max-width: 720px) {
  #premios .award {
    flex-direction: column;
    align-items: center;
    gap: var(--space-4);
  }

  #premios .award__body {
    text-align: center;
    width: 100%;
  }
}

/* Fases — hero-4 + overlay amarelo (fiel ao layout) */
#fases {
  --fases-ink: #424143;
  --fases-ink-muted: rgba(66, 65, 67, 0.88);
  position: relative;
  overflow: hidden;
  isolation: isolate;
  /* Abaixo de #depoimentos na junção para o robô 3 ficar por cima da faixa amarela */
  z-index: 1;
  background: #ffc107 url("../assets/img/hero-4.png") center / cover no-repeat;
  color: var(--fases-ink-muted);
}

#fases::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  background: linear-gradient(
    100deg,
    rgba(255, 193, 7, 0.82) 0%,
    rgba(255, 184, 0, 0.78) 42%,
    rgba(255, 193, 7, 0.52) 72%,
    rgba(255, 200, 40, 0.38) 100%
  );
}

#fases > .container {
  position: relative;
  z-index: 1;
}

#fases .section__kicker {
  color: var(--fases-ink-muted);
  letter-spacing: 0.1em;
  text-transform: uppercase;
  font-weight: var(--fw-semibold);
  font-size: var(--fs-19);
  padding-left: 30px;
}

#fases .fases-title {
  margin-bottom: var(--space-4);
  max-width: 18ch;
  font-size: var(--fs-66);
  line-height: 1.05;
  letter-spacing: -0.03em;
  padding-left: 30px;
  font-weight: var(--fw-bold) !important;
}

#fases .fases-title strong,
#fases .fases-title .fases-title__light,
#fases .fases-title .fases-title__dark {
  font-weight: var(--fw-bold) !important;
}

#fases .fases-title__light {
  display: block;
  color: #fff;
  font-weight: var(--fw-bold) !important;
  text-shadow: 0 1px 18px rgba(0, 0, 0, 0.12);
}

#fases .fases-title__dark {
  display: block;
  margin-top: 0.12em;
  color: var(--fases-ink);
  font-weight: var(--fw-bold) !important;
}

#fases .fases-sub,
#fases .fases-body {
  color: var(--fases-ink-muted);
  max-width: 52ch;
  font-size: var(--fs-19);
  line-height: 1.45;
  padding-left: 30px;
}

#fases .fases-sub {
  margin: 0 0 var(--space-3);
  font-weight: var(--fw-semibold);
}

#fases .fases-body {
  margin: 0 0 var(--space-6);
  font-weight: var(--fw-regular);
}

#fases .fases-list {
  margin: 0;
  padding: 0;
  list-style: none;
  display: grid;
  gap: var(--space-3);
  max-width: 52ch;
}

#fases .fases-list li {
  position: relative;
  padding-left: 30px;
  color: var(--fases-ink-muted);
  font-size: var(--fs-19);
  line-height: 1.45;
}

#fases .fases-list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 3px;
  width: 18px;
  height: 18px;
  border-radius: 50%;
  box-sizing: border-box;
  background: transparent;
  border: 2px solid rgba(255, 255, 255, 0.95);
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 12 12'%3E%3Cpath d='M2.5 6l2.5 2.5 4.5-5' stroke='%23ffffff' stroke-width='1.65' fill='none' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: center;
}

.phase-grid {
  display: grid;
  gap: var(--space-6);
  grid-template-columns: repeat(1, minmax(0, 1fr));
  margin-top: var(--space-10);
}

.phase {
  background: rgba(255, 255, 255, 0.72);
  border: 1px solid rgba(16, 18, 23, 0.12);
  border-radius: var(--radius-24);
  padding: var(--space-8);
}

.phase__title {
  margin: 0 0 var(--space-4);
  font-size: var(--fs-14);
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: rgba(66, 65, 67, 0.7);
}

.testimonial-grid {
  display: grid;
  gap: var(--space-6);
  grid-template-columns: repeat(1, minmax(0, 1fr));
  margin-top: var(--space-10);
}

.testimonial {
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.10);
  border-radius: var(--radius-24);
  padding: var(--space-8);
}

.testimonial__role {
  margin: 0 0 var(--space-4);
  color: rgba(255, 255, 255, 0.62);
  font-size: var(--fs-14);
}

.testimonial__text {
  margin: 0 0 var(--space-6);
  color: rgba(255, 255, 255, 0.86);
  font-size: var(--fs-18);
  line-height: var(--lh-body);
}

.testimonial__name {
  margin: 0;
  font-weight: var(--fw-bold) !important;
  color: rgba(255, 255, 255, 0.82);
}

/* Depoimentos — layout referência (cards claros + título bicolor + setas) */
#depoimentos {
  position: relative;
  /* Mesmo esquema que .diff: isolate + camadas; acima de #fases na junção */
  isolation: isolate;
  z-index: 10;
  /* overflow-x:hidden recorta o robô na junção com #fases (translateY negativo) */
  overflow: visible;
  background: var(--color-bg);
}

/* Como .diff__body: conteúdo abaixo do robô na pilha */
#depoimentos > .container {
  position: relative;
  z-index: 2;
}

/* Robô na junção fases/depoimentos — como .diff__robot: acima do conteúdo da seção */
.depoimentos__seam-robot {
  position: absolute;
  left: 72%;
  top: 0;
  z-index: 5;
  width: clamp(120px, 22vw, 200px);
  max-width: 100%;
  height: auto;
  pointer-events: none;
  transform: translate(-50%, -44%);
  filter: drop-shadow(0 16px 32px rgba(0, 0, 0, 0.38));
  object-fit: contain;
  object-position: bottom center;
}

@media (max-width: 859px) {
  .depoimentos__seam-robot {
    left: 62%;
    width: clamp(100px, 36vw, 160px);
    transform: translate(-50%, -40%);
  }
}

/* Mesmo padrão de #industrias / #recursos: quebra fluida; uma linha só em telas largas */
#depoimentos .depoimentos-title.hero__title {
  text-align: center;
  margin-inline: auto;
  margin-bottom: var(--space-4);
  max-width: 100%;
  min-width: 0;
  width: 100%;
  box-sizing: border-box;
  white-space: normal;
  overflow-wrap: break-word;
  line-height: 1.12;
  font-size: clamp(1.125rem, 3.8vw + 0.65rem, 3.25rem);
  color: #fff;
  font-weight: var(--fw-bold) !important;
}

#depoimentos .depoimentos-title strong,
#depoimentos .depoimentos-title span {
  font-weight: var(--fw-bold) !important;
}

#depoimentos .depoimentos-title strong {
  white-space: inherit;
}

#depoimentos .depoimentos-title .hero__title--accent {
  color: var(--color-brand);
  font-weight: var(--fw-bold) !important;
}

#depoimentos .depoimentos__lede {
  text-align: center;
  margin-inline: auto;
  margin-bottom: 0;
  max-width: 100%;
  min-width: 0;
  box-sizing: border-box;
  padding-inline: 0;
  overflow-wrap: break-word;
  color: rgba(255, 255, 255, 0.82);
  font-size: var(--fs-19);
  font-weight: var(--fw-regular);
  line-height: 1.45;
}

@media (min-width: 1400px) {
  #depoimentos .depoimentos-title.hero__title {
    white-space: nowrap;
    max-width: none;
    line-height: 1.15;
    font-size: var(--fs-66);
  }
}

#depoimentos .testimonial-shell {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr) auto;
  align-items: center;
  gap: var(--space-4);
  margin-top: var(--space-10);
  min-width: 0;
}

#depoimentos .testimonial-viewport {
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  scroll-behavior: smooth;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: none;
  -ms-overflow-style: none;
}

#depoimentos .testimonial-viewport::-webkit-scrollbar {
  display: none;
}

#depoimentos .testimonial-grid--carousel {
  --testimonial-card-h: 22rem;
  display: flex;
  flex-direction: row;
  flex-wrap: nowrap;
  gap: var(--space-6);
  margin-top: 0;
}

#depoimentos .testimonial-grid--carousel > .testimonial {
  --testimonial-card-w: calc((100% - 2 * var(--space-6)) / 3);
  flex: 0 0 var(--testimonial-card-w);
  width: var(--testimonial-card-w);
  min-width: 0;
  max-width: var(--testimonial-card-w);
  height: var(--testimonial-card-h);
  min-height: var(--testimonial-card-h);
  max-height: var(--testimonial-card-h);
}

#depoimentos .testimonial {
  background: #f5f5f5;
  border: 1px solid rgba(0, 0, 0, 0.06);
  border-radius: var(--radius-24);
  padding: var(--space-6);
  box-shadow: 0 12px 28px rgba(0, 0, 0, 0.14);
  scroll-snap-align: start;
  display: flex;
  flex-direction: column;
  align-items: stretch;
  gap: var(--space-3);
  overflow: hidden;
  text-align: left;
  box-sizing: border-box;
}

#depoimentos .testimonial__name {
  flex-shrink: 0;
  margin: 0;
  padding: 0;
  width: 100%;
  font-size: var(--fs-32);
  font-weight: var(--fw-bold) !important;
  color: var(--color-brand);
}

#depoimentos .testimonial__role {
  margin: 0;
  padding: 0;
  width: 100%;
  color: rgba(66, 65, 67, 0.55);
  font-size: var(--fs-16);
  line-height: 1.35;
  flex-shrink: 0;
}

#depoimentos .testimonial__quote {
  flex: 1 1 auto;
  min-height: 0;
  width: 100%;
  display: flex;
  flex-direction: column;
  align-items: stretch;
  gap: 4px;
  overflow: hidden;
}

#depoimentos .testimonial__text {
  margin: 0;
  width: 100%;
  min-width: 0;
  color: rgba(66, 65, 67, 0.82);
  font-size: var(--fs-20);
  line-height: 1.45;
  text-align: left;
}

#depoimentos .testimonial__text--preview {
  flex: 1 1 0;
  align-self: stretch;
  min-height: 0;
  width: 100%;
  min-width: 0;
  display: block;
  overflow: hidden;
  overflow-wrap: break-word;
  word-break: break-word;
}

#depoimentos .testimonial__more {
  flex-shrink: 0;
  align-self: flex-start;
  margin: 0;
  margin-top: auto;
  padding: 0;
  border: 0;
  background: none;
  font: inherit;
  font-size: var(--fs-14);
  font-weight: var(--fw-semibold);
  color: var(--color-brand);
  cursor: pointer;
  text-decoration: underline;
  text-underline-offset: 3px;
}

#depoimentos .testimonial__more:hover {
  color: color-mix(in srgb, var(--color-brand), #000 12%);
}

#depoimentos .testimonial__more:focus-visible {
  outline: 2px solid var(--color-brand);
  outline-offset: 2px;
  border-radius: var(--radius-8);
}

/* Modal “Ver mais” — mesmo visual do card de depoimento */
.modal__panel.modal__panel--testimonial {
  width: min(560px, calc(100% - 2 * var(--space-6)));
  background: transparent;
  border: 0;
  box-shadow: none;
  overflow: visible;
}

.modal__panel--testimonial .modal__testimonial-body {
  padding: 0;
}

.modal__panel--testimonial .testimonial--modal {
  margin: 0;
  background: #f5f5f5;
  border: 1px solid rgba(0, 0, 0, 0.06);
  border-radius: var(--radius-24);
  padding: var(--space-6);
  box-shadow: 0 12px 28px rgba(0, 0, 0, 0.14);
  display: flex;
  flex-direction: column;
  align-items: stretch;
  gap: var(--space-3);
  overflow-x: hidden;
  overflow-y: auto;
  text-align: left;
  box-sizing: border-box;
  max-height: min(78vh, 880px);
}

.modal__panel--testimonial .testimonial--modal .testimonial__name {
  flex-shrink: 0;
  margin: 0;
  padding: 0;
  width: 100%;
  font-size: var(--fs-32);
  font-weight: var(--fw-bold) !important;
  color: var(--color-brand);
}

.modal__panel--testimonial .testimonial--modal .testimonial__role {
  margin: 0;
  padding: 0;
  width: 100%;
  color: rgba(66, 65, 67, 0.55);
  font-size: var(--fs-16);
  line-height: 1.35;
  flex-shrink: 0;
}

.modal__panel--testimonial .testimonial--modal .testimonial__quote {
  flex: 1 1 auto;
  min-height: 0;
  width: 100%;
  display: flex;
  flex-direction: column;
  align-items: stretch;
  gap: 4px;
}

.modal__panel--testimonial .testimonial--modal .testimonial__text {
  margin: 0;
  width: 100%;
  min-width: 0;
  color: rgba(66, 65, 67, 0.82);
  font-size: var(--fs-20);
  line-height: 1.45;
  text-align: left;
}

.modal__panel--testimonial .modal__close {
  color: var(--color-bg);
  background: rgba(255, 255, 255, 0.96);
  border: 1px solid rgba(0, 0, 0, 0.08);
  box-shadow: 0 4px 14px rgba(0, 0, 0, 0.08);
}

.modal__panel--testimonial .modal__close:hover {
  background: #ffffff;
}

#depoimentos .testimonial-nav {
  appearance: none;
  border: 0;
  background: transparent;
  color: var(--color-brand);
  font-size: 2.25rem;
  line-height: 1;
  width: 44px;
  height: 44px;
  cursor: pointer;
  padding: 0;
  border-radius: var(--radius-12);
  display: grid;
  place-items: center;
  transition: background var(--dur-2) var(--ease);
}

#depoimentos .testimonial-nav:hover {
  background: rgba(255, 255, 255, 0.08);
}

#depoimentos .testimonial-nav:focus-visible {
  outline: 2px solid var(--color-brand);
  outline-offset: 2px;
}

@media (max-width: 859px) {
  /* Viewport entre as setas: min-width 0 evita estouro no grid; slide = 100% da área útil (não vw) */
  #depoimentos .testimonial-viewport {
    min-width: 0;
  }

  #depoimentos .testimonial-grid--carousel {
    gap: var(--space-4);
    --testimonial-card-h: 22rem;
    min-width: 0;
  }

  #depoimentos .testimonial-grid--carousel > .testimonial {
    --testimonial-card-w: 100%;
    flex: 0 0 100%;
    width: 100%;
    min-width: 0;
    max-width: 100%;
    height: var(--testimonial-card-h);
    min-height: var(--testimonial-card-h);
    max-height: var(--testimonial-card-h);
  }
}

.chip-row {
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-3);
  margin-top: var(--space-8);
}

.chip {
  padding: 10px 12px;
  border-radius: 999px;
  background: rgba(16, 18, 23, 0.06);
  border: 1px solid rgba(16, 18, 23, 0.12);
  color: rgba(66, 65, 67, 0.82);
  font-weight: var(--fw-semibold);
  font-size: var(--fs-14);
}

.resource-grid {
  display: grid;
  gap: var(--space-6);
  grid-template-columns: repeat(1, minmax(0, 1fr));
  margin-top: var(--space-10);
}

.resource {
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.10);
  border-radius: var(--radius-24);
  padding: var(--space-8);
}

.resource__title {
  margin: 0 0 var(--space-3);
  font-size: var(--fs-19);
  font-weight: var(--fw-bold) !important;
  text-align: left;
}

.resource__text {
  margin: 0;
  color: rgba(255, 255, 255, 0.78);
  text-align: left;
}

/* Indústrias — tipografia + faixa de clientes; quebra fluida até telas largas (tablet landscape >1200px ainda quebrava com nowrap) */
#industrias .industrias-title.hero__title {
  max-width: 100%;
  min-width: 0;
  width: 100%;
  margin-inline: auto;
  box-sizing: border-box;
  white-space: normal;
  overflow-wrap: break-word;
  line-height: 1.12;
  font-size: clamp(1.125rem, 3.8vw + 0.65rem, 3.25rem);
  font-weight: var(--fw-bold) !important;
}

#industrias .industrias-title strong,
#industrias .industrias-title .hero__title--accent {
  font-weight: var(--fw-bold) !important;
}

#industrias .industrias-title strong {
  white-space: inherit;
}

#industrias .industrias-title .hero__title--accent {
  color: var(--color-brand);
}

#industrias .industrias__lede.hero__subtitle {
  max-width: 100%;
  width: 100%;
  min-width: 0;
  box-sizing: border-box;
  padding-inline: 0;
  overflow-wrap: break-word;
}

@media (min-width: 1400px) {
  #industrias .industrias-title.hero__title {
    white-space: nowrap;
    max-width: none;
    line-height: 1.15;
    font-size: var(--fs-66);
  }
}

/* Recursos — fundo cinza #424143 (--color-bg), cards amarelo sólido */
#recursos {
  background: var(--color-bg);
}

#recursos .recursos-title.hero__title,
#recursos .recursos-title strong,
#recursos .recursos-title .hero__title--accent {
  font-weight: var(--fw-bold) !important;
}

/* Sobrescreve .hero__title { max-width: 28ch } — em tablet o título ficava espremido/cortado */
#recursos .recursos-title.hero__title {
  max-width: 100%;
  min-width: 0;
  width: 100%;
  box-sizing: border-box;
  white-space: normal;
  overflow-wrap: break-word;
  line-height: 1.12;
  font-size: clamp(1.125rem, 3.8vw + 0.65rem, 3.25rem);
}

#recursos .recursos-title strong {
  white-space: inherit;
}

#recursos .recursos-title .hero__title--accent {
  color: var(--color-brand);
}

#recursos .recursos__lede.hero__subtitle {
  max-width: 100%;
  min-width: 0;
  box-sizing: border-box;
  overflow-wrap: break-word;
}

@media (min-width: 1400px) {
  #recursos .recursos-title.hero__title {
    white-space: nowrap;
    max-width: none;
    line-height: 1.15;
    font-size: var(--fs-66);
  }
}

#recursos .resource-grid--brand {
  margin-top: var(--space-10);
  gap: var(--space-5);
}

#recursos .resource--brand {
  display: flex;
  flex-direction: row;
  align-items: flex-start;
  gap: var(--space-6);
  background: #ffb800;
  border: 2px solid #f8e71d;
  border-radius: 28px;
  padding: clamp(1.75rem, 3vw, 2.5rem);
  box-shadow: 8px 10px 28px rgba(0, 0, 0, 0.28);
}

#recursos .resource__icon {
  flex-shrink: 0;
  color: #fff;
  display: grid;
  place-items: start center;
  line-height: 0;
}

#recursos .resource__icon-img {
  display: block;
  width: 44px;
  height: 44px;
  object-fit: contain;
}

#recursos .resource__body {
  min-width: 0;
}

#recursos .resource--brand .resource__title {
  margin: 0 0 var(--space-3);
  color: #fff;
  font-size: var(--fs-34);
  font-weight: var(--fw-bold) !important;
  line-height: 1.2;
}

#recursos .resource--brand .resource__text {
  margin: 0;
  color: var(--color-bg);
  font-size: var(--fs-16);
  font-weight: var(--fw-regular);
  line-height: 1.45;
  opacity: 1;
}

@media (min-width: 860px) {
  #recursos .resource-grid--brand {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

/* FAQ — fundo amarelo, título bicolor, barras pill (referência) */
#faq {
  background: #ffc107;
  color: var(--color-bg);
}

#faq .faq-section {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
}

#faq .faq-heading {
  margin: 0 0 var(--space-4);
  font-size: var(--fs-66);
  font-weight: var(--fw-bold) !important;
  line-height: 1.12;
  letter-spacing: -0.02em;
}

#faq .faq-heading strong,
#faq .faq-heading__dark,
#faq .faq-heading__light {
  font-weight: var(--fw-bold) !important;
}

#faq .faq-heading__dark {
  display: block;
  color: var(--color-bg);
}

#faq .faq-heading__light {
  display: block;
  margin-top: 0.15em;
  color: #fff;
}

#faq .faq-intro {
  margin: 0 0 var(--space-10);
  font-size: var(--fs-16);
  line-height: 1.45;
  color: var(--color-bg);
  text-align: center;
}

#faq .faq {
  width: 100%;
  max-width: 920px;
  margin-top: 0;
  display: flex;
  flex-direction: column;
  gap: var(--space-4);
  border: 0;
  border-radius: 0;
  overflow: visible;
  background: transparent;
}

#faq .faq__block {
  width: 100%;
  text-align: left;
}

#faq .faq__item {
  width: 100%;
  box-sizing: border-box;
  border: 0;
  padding: 15px clamp(1.25rem, 4vw, 1.875rem);
  border-radius: 999px;
  background: #f5f5f5;
  color: rgba(66, 65, 67, 0.92);
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: var(--space-5);
  font-weight: var(--fw-semibold);
  font-size: var(--fs-16);
  line-height: 1.35;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
  transition: box-shadow var(--dur-2) var(--ease), background var(--dur-2) var(--ease);
}

#faq .faq__item:hover {
  box-shadow: 0 6px 14px rgba(0, 0, 0, 0.12);
}

#faq .faq__item:focus-visible {
  outline: 2px solid var(--color-bg);
  outline-offset: 3px;
}

#faq .faq__q {
  text-align: left;
  flex: 1;
  min-width: 0;
}

#faq .faq__chevron {
  flex-shrink: 0;
  width: 10px;
  height: 10px;
  border-right: 2px solid rgba(66, 65, 67, 0.35);
  border-bottom: 2px solid rgba(66, 65, 67, 0.35);
  transform: rotate(45deg) translateY(-2px);
  transition: transform var(--dur-2) var(--ease);
}

#faq .faq__item[aria-expanded="true"] .faq__chevron {
  transform: rotate(-135deg) translateY(2px);
}

#faq .faq__panel {
  margin-top: var(--space-3);
  padding: var(--space-5) clamp(1.25rem, 4vw, 1.875rem);
  border-radius: var(--radius-24);
  background: rgba(255, 255, 255, 0.92);
  color: rgba(66, 65, 67, 0.85);
  font-size: var(--fs-16);
  line-height: 1.5;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.06);
}

#faq .faq__panel[hidden] {
  display: none;
}

#faq .faq__panel:not([hidden]) {
  display: block;
}

/* ESG — hero-5 como fundo da seção inteira (estrutura / cards iguais a Diferenciais) */
.diff.esg-diff {
  grid-template-columns: 1fr;
  background: #e8e8e8;
  color: var(--color-bg);
  --esg-scale: 0.8;
}

.esg-diff__video {
  position: absolute;
  inset: 0;
  z-index: 0;
  width: 100%;
  height: 100%;
  display: block;
  object-fit: cover;
  object-position: center;
  pointer-events: none;
  filter: saturate(1.02) contrast(1.02);
  transition: opacity var(--video-poster-fade) var(--video-poster-ease);
}

.esg-diff__video.esg-diff__video--fading {
  opacity: 0;
}

.esg-diff__video.esg-diff__video--hidden {
  display: none;
  opacity: 1;
}

/* Poster após o fim do vídeo (mesmo enquadramento que .esg-diff__video) */
.esg-diff__poster {
  position: absolute;
  inset: 0;
  z-index: 0;
  width: 100%;
  height: 100%;
  display: block;
  object-fit: cover;
  object-position: center;
  pointer-events: none;
  filter: saturate(1.02) contrast(1.02);
}

.diff.esg-diff::before {
  background: linear-gradient(
    to left,
    rgba(255, 255, 255, 0.12) 0%,
    rgba(255, 255, 255, 0.24) 34%,
    rgba(255, 255, 255, 0.52) 46%,
    rgba(255, 255, 255, 0.9) 52%,
    #ffffff 58%,
    #ffffff 100%
  );
}

.esg-diff .diff__body.container {
  width: 100%;
  margin-inline: auto;
  padding-inline: var(--page-pad);
  padding-block: 45px;
  position: relative;
  z-index: 2;
}

.esg-diff .diff__kicker {
  margin: 0 0 13px;
  font-size: var(--fs-19);
}

.esg-diff .diff__title {
  margin: 0 0 16px;
}

.esg-diff .diff__lede {
  margin: 0 0 26px;
  font-size: var(--fs-19);
}

.esg-diff .diff__cards {
  gap: 10px;
}

.esg-diff .diff__card {
  display: block;
  position: relative;
  border-radius: 13px;
  padding: 14px 16px 14px 72px;
  box-shadow: 0 10px 22px rgba(0, 0, 0, 0.14);
  width: 100%;
  max-width: none;
  justify-self: stretch;
  box-sizing: border-box;
}

.esg-diff .diff__card-icon {
  position: absolute;
  left: -45px; /* centro do ícone alinhado ao início do card */
  top: 50%;
  transform: translateY(-50%);
  width: 90px;
  height: 90px;
  display: block;
  object-fit: contain;
  filter: drop-shadow(0 10px 18px rgba(0, 0, 0, 0.16));
}

.esg-diff .diff__card-num {
  font-size: calc(var(--fs-66) * var(--esg-scale));
  font-weight: var(--fw-extrabold) !important;
}

.esg-diff .diff__card-title {
  margin: 0 0 3px;
  font-size: var(--fs-19);
  font-weight: var(--fw-bold) !important;
}

.esg-diff .diff__card-text {
  font-size: calc(var(--fs-16) * var(--esg-scale));
}

@media (min-width: 860px) {
  .diff.esg-diff {
    grid-template-columns: 1fr;
  }

  .esg-diff .diff__body.container {
    width: 100%;
    padding-inline: var(--page-pad);
    padding-block: 51px;
  }
}

@media (max-width: 859px) {
  .esg-diff .diff__body.container {
    width: 100%;
    /* Ícone do card usa left: -45px; precisa de folga extra à esquerda para não cortar na viewport */
    padding-right: var(--page-pad);
    padding-left: calc(var(--page-pad) + 40px);
  }
}

.esg-diff .esg-diff__intro {
  width: 100%;
}

.esg-diff .diff__cards {
  width: 100%;
}

@media (min-width: 860px) {
  .esg-diff .esg-diff__intro {
    width: min(52%, 680px);
  }

  .esg-diff .diff__cards {
    width: min(50%, 620px);
  }
}

.esg-diff .diff__title {
  color: rgba(66, 65, 67, 0.92);
}

.esg-diff .diff__title .esg-diff__title-accent {
  color: #f6b61b;
}

.esg-diff .diff__footer {
  margin-top: 32px;
  padding-top: 24px;
  border-top: 1px solid rgba(17, 17, 17, 0.14);
}

.esg-diff .diff__footer-title {
  margin: 0;
  font-size: var(--fs-66);
  font-weight: 600;
  letter-spacing: -0.02em;
  line-height: 1.3;
  color: rgba(66, 65, 67, 0.88);
}

.footer-tagline {
  margin-top: var(--space-12);
  padding-top: var(--space-10);
  border-top: 1px solid rgba(255, 255, 255, 0.10);
}

.footer-tagline__title {
  margin: 0;
  font-size: var(--fs-66);
  letter-spacing: -0.02em;
  line-height: var(--lh-snug);
  color: rgba(255, 255, 255, 0.9);
}

.form {
  background: rgba(255, 255, 255, 0.72);
  border: 1px solid rgba(16, 18, 23, 0.12);
  border-radius: var(--radius-24);
  padding: var(--space-8);
  display: grid;
  gap: var(--space-5);
  grid-template-columns: 1fr;
}

.form__actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: var(--space-4);
}

.form__hint {
  margin: 0;
  color: rgba(66, 65, 67, 0.7);
  font-size: var(--fs-14);
}

.site-footer {
  --site-footer-fg: #4d4d4d;
  --site-footer-bg: #eeeeee;
  --site-footer-rule: rgba(66, 65, 67, 0.22);

  height: 300px;
  min-height: 300px;
  box-sizing: border-box;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  background: var(--site-footer-bg);
  color: var(--site-footer-fg);
  border-top: none;
  padding: 3rem 0 1.75rem;
  overflow-y: auto;
  font-family: var(--font-sans);
}

@media (max-width: 859px) {
  .site-footer {
    height: auto;
    min-height: 401px;
  }
}

.site-footer__top {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--space-8);
  align-items: start;
}

.site-footer__brand {
  display: grid;
  gap: var(--space-5);
  max-width: 38rem;
}

.site-footer__logo {
  margin: 0;
  line-height: 0;
}

.site-footer__logo-img {
  display: block;
  width: auto;
  max-width: min(100%, 280px);
  height: auto;
}

.site-footer__desc {
  margin: 0;
  max-width: 46ch;
  font-size: var(--fs-14);
  line-height: 1.55;
  color: var(--site-footer-fg);
}

.site-footer__address {
  margin: 0;
  font-style: normal;
  font-size: var(--fs-14);
  line-height: 1.55;
  color: var(--site-footer-fg);
}

.site-footer__bottom {
  margin-top: 0;
  padding-top: 1.125rem;
  border-top: 1px solid var(--site-footer-rule);
  display: grid;
  gap: var(--space-4);
  grid-template-columns: 1fr;
  align-items: center;
}

.site-footer__bottom-item {
  margin: 0;
  font-size: var(--fs-14);
  line-height: 1.35;
  color: var(--site-footer-fg);
  text-align: center;
}

.site-footer__bottom-item:first-child {
  text-align: center;
}

.site-footer__bottom-item--dev {
  display: flex;
  justify-content: center;
}

.site-footer__dev-line {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  flex-wrap: wrap;
  justify-content: flex-end;
}

.site-footer__dev-link {
  display: inline-flex;
  align-items: center;
  line-height: 0;
  text-decoration: none;
  color: inherit;
}

.site-footer__dev-link:focus-visible {
  outline: 2px solid color-mix(in srgb, var(--color-brand), white 25%);
  outline-offset: 3px;
  border-radius: 4px;
}

.site-footer__dev-logo {
  height: 32px;
  width: auto;
  max-width: min(200px, 52vw);
  display: block;
  object-fit: contain;
  margin-inline: 0.15rem 0;
}

.site-footer__dev-logo--nywera {
  height: calc(25.6px * 0.9 * 0.9);
}

.site-footer__dev-pipe {
  margin-left: 0.15rem;
  color: var(--site-footer-fg);
  font-weight: var(--fw-regular);
}

@media (min-width: 860px) {
  .site-footer__top {
    grid-template-columns: auto auto minmax(0, 1fr);
    gap: clamp(2rem, 5vw, 4.5rem);
    align-items: start;
  }

  .site-footer__address {
    text-align: left;
    max-width: 26ch;
  }

  .site-footer__bottom {
    grid-template-columns: 1fr auto 1fr;
    gap: var(--space-6);
    padding-top: 1rem;
  }

  .site-footer__bottom-item {
    text-align: inherit;
  }

  .site-footer__bottom-item:first-child {
    text-align: left;
  }

  .site-footer__bottom-item:nth-child(2) {
    justify-self: center;
    text-align: center;
  }

  .site-footer__bottom-item--dev {
    justify-self: end;
    justify-content: flex-end;
  }
}

@media (min-width: 860px) {
  /* minmax(0, fr): evita min-content automático do grid — sem isso texto e hex sobrepõem no tablet */
  .dim-card {
    display: grid; /* web */
    grid-template-columns: minmax(0, 1.25fr) minmax(0, 0.75fr);
    gap: clamp(var(--space-4), 2.5vw, var(--space-8));
    align-items: start;
  }

  .dim-card__content {
    min-width: 0;
  }

  .dim-card__visual {
    min-width: 0;
  }

  .dim-part .dim-card__tag {
    font-size: var(--fs-19);
  }

  .dim-part .dim-card__num {
    font-size: var(--fs-66);
  }

  .dim-part .dim-card__title {
    font-size: 60px;
    line-height: 1.05;
    letter-spacing: -0.02em;
    overflow-wrap: break-word;
  }

  .dim-part .dim-card__lede {
    font-size: var(--fs-19);
    max-width: 52ch;
  }

  .dim-part .dim-card__checks li {
    font-size: var(--fs-16);
  }

  .dim-card__content {
    padding: var(--space-12) var(--space-10);
  }

  .dim-card__visual {
    min-height: 420px;
    justify-items: center;
    width: 100%;
    max-width: min(100%, 560px);
    padding: 0;
  }
}

/* Tablet / laptop estreito: título 60px ainda compete com a coluna do hex — reduz fluido até ~1200px */
@media (min-width: 860px) and (max-width: 1200px) {
  .dim-part .dim-card__title {
    font-size: clamp(1.75rem, 2.2vw + 1.35rem, 3.75rem);
    line-height: 1.08;
  }
}

@media (min-width: 860px) {
  .differentials-layout {
    grid-template-columns: 1.15fr 0.85fr;
    align-items: stretch;
    min-height: 520px;
  }

  .differentials-layout__img {
    aspect-ratio: auto;
    height: 100%;
    object-position: 12% 34%;
  }

  .section--differentials .differentials-layout__content {
    padding-block: 64px;
  }

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

  #robos .robot-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: var(--space-4);
  }

  .paranoa {
    grid-template-columns: 1.05fr 0.95fr;
    align-items: start;
    min-height: 760px;
  }

  .paranoa__copy {
    padding-top: 24px;
  }

  .paranoa__aside {
    padding-top: 32px;
  }

  .metric-row {
    grid-template-columns: repeat(4, minmax(0, 1fr));
  }

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

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

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

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

  .resource-grid {
    grid-template-columns: repeat(4, minmax(0, 1fr));
  }

  .cta {
    grid-template-columns: 1.1fr 0.9fr;
  }

  #diagnostico .cta {
    grid-template-columns: minmax(380px, 1.05fr) minmax(360px, 0.95fr);
    align-items: center;
    gap: var(--space-8);
  }

  #diagnostico .cta__visual {
    grid-column: 1;
    align-self: center;
  }

  #diagnostico .cta__content {
    grid-column: 2;
  }

  #diagnostico .section__title {
    font-size: var(--fs-66);
  }

  .form {
    grid-template-columns: 1fr 1fr;
  }
}
