/* Arquitetura de Problemas — camada visual alinhada à home (styles.css) e à mentoria.
   Carregado depois do <style> inline da página: só sobrescreve tokens e componentes. */

:root {
  --orange: #ea2e00;
  --orange-dark: #c42600;
  --black: #080808;
  --paper: #f5f4ef;
  --white: #ffffff;
  --tile-1: #080808;
  --tile-2: #0f0f0f;
  --tile-3: #080808;
  --ink: #ffffff;
  --ink-2: rgba(255, 255, 255, 0.82);
  --dim: rgba(255, 255, 255, 0.6);
  --accent: #ea2e00;
  --accent2: #ff5a33;
  --line: rgba(255, 255, 255, 0.14);
  --sans: "DM Sans", system-ui, -apple-system, sans-serif;
  --display: "Manrope", "DM Sans", sans-serif;
  --max: 1300px; /* mesma coluna de conteúdo da home (styles.css --max) */
  --gutter: clamp(20px, 4vw, 64px);
  --wrap: calc(var(--max) + (2 * var(--gutter)));
  --nav-h: 96px;
}

body {
  background: var(--black);
  font-family: var(--sans);
  letter-spacing: -0.01em;
}

::selection {
  background: var(--orange);
  color: var(--white);
}

#scroll-progress {
  background: var(--orange);
}

/* ── Tipografia de títulos (Manrope, como na home) ── */
.hero__title,
.s-title,
.cta-title,
.quote-text,
.svc-title,
.fluxo-title,
.bloco-title,
.comp-card__dim,
.comp-cta__title,
.tab-scenario__title,
.tab-result__title,
.ind-title,
.aplic-title,
.fmt-title,
.editorial__text,
.faq-cta__q,
.hero__stat-val,
.tab-stat__n,
.ind-metric-n {
  font-family: var(--display);
}

.hero__title {
  font-size: clamp(40px, 4.2vw, 64px);
  font-weight: 700;
  letter-spacing: -0.06em;
  line-height: 0.92;
}

.s-title,
.cta-title {
  font-weight: 700;
  letter-spacing: -0.055em;
  line-height: 0.98;
}

.s-title {
  font-size: clamp(38px, 4.6vw, 68px);
}

.cta-title {
  font-size: clamp(44px, 6vw, 92px);
}

.t-eye,
.cta-eyebrow,
.testi-eyebrow {
  color: var(--accent2);
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.18em;
  text-transform: uppercase;
}

.hero__hook {
  color: var(--accent2);
  font-weight: 800;
  letter-spacing: 0.18em;
}

/* ── Botões: pílulas da home ── */
.btn,
.btn-ghost {
  padding: 0;
  border-radius: 999px;
  background: none;
}

.btn::before,
.btn::after,
.btn-inner::before {
  display: none;
}

.btn-inner {
  min-height: 50px;
  padding: 0 22px;
  border: 1px solid transparent;
  border-radius: 999px;
  background: var(--white);
  color: var(--black);
  font-family: var(--sans);
  font-size: 14px;
  font-weight: 700;
  transition: color 180ms ease, background-color 180ms ease, border-color 180ms ease;
}

.btn:hover .btn-inner {
  transform: none;
  background: var(--orange);
  color: var(--white);
}

.btn-ghost .btn-inner {
  background: var(--orange);
  color: var(--white);
}

.btn-ghost:hover .btn-inner {
  background: var(--white);
  color: var(--black);
}

.btn-sm .btn-inner {
  min-height: 40px;
  padding: 0 16px;
  font-size: 13px;
}

/* ── Largura: coluna de 1300px ── */
.wrap {
  max-width: var(--wrap);
}

.quote-wrap,
.editorial__card {
  max-width: var(--max);
}

/* ── Menu fixo da home ── */
.skip-link {
  position: fixed;
  left: 18px;
  top: 12px;
  z-index: 1000;
  transform: translateY(-150%);
  padding: 10px 14px;
  border-radius: 99px;
  background: var(--white);
  color: var(--black);
}

.skip-link:focus {
  transform: none;
}

.site-header {
  position: fixed;
  inset: 18px max(var(--gutter), calc((100% - var(--max)) / 2)) auto;
  z-index: 100;
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  min-height: 70px;
  padding: 10px 12px 10px 24px;
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 999px;
  background: rgba(7, 7, 7, 0.78);
  color: var(--white);
  backdrop-filter: blur(18px);
  -webkit-backdrop-filter: blur(18px);
  transition: background-color 220ms ease, border-color 220ms ease;
}

.site-header.is-scrolled {
  background: rgba(7, 7, 7, 0.94);
  border-color: rgba(255, 255, 255, 0.24);
}

.brand {
  display: inline-flex;
  align-items: center;
  width: fit-content;
}

.brand img,
.footer__brand img {
  width: 116px;
  height: auto;
  filter: brightness(0) invert(1);
}

.desktop-nav {
  display: flex;
  align-items: center;
  gap: clamp(16px, 2vw, 34px);
  font-size: 14px;
}

.desktop-nav a {
  color: rgba(255, 255, 255, 0.72);
  transition: color 180ms ease;
}

.desktop-nav a:hover {
  color: var(--white);
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 18px;
  width: fit-content;
  min-height: 50px;
  padding: 0 22px;
  border: 1px solid transparent;
  border-radius: 999px;
  font-family: var(--sans);
  font-size: 14px;
  font-weight: 700;
  line-height: 1;
  transition: color 180ms ease, background-color 180ms ease;
}

.button span {
  font-size: 17px;
}

.button--header {
  justify-self: end;
  min-height: 48px;
  background: var(--orange);
  color: var(--white);
}

.button--header:hover {
  background: var(--white);
  color: var(--black);
}

.menu-button {
  display: none;
  align-items: center;
  justify-content: center;
  width: 48px;
  height: 48px;
  padding: 0;
  border: 0;
  background: transparent;
  color: var(--white);
  cursor: pointer;
}

.menu-button[aria-expanded="true"] {
  color: var(--orange);
}

.menu-button svg {
  width: 22px;
  height: 22px;
  overflow: visible;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.8;
  stroke-linecap: round;
}

.menu-button path {
  transform-box: fill-box;
  transform-origin: center;
  transition: transform 180ms ease;
}

.menu-button[aria-expanded="true"] path:first-child {
  transform: translateY(5px) rotate(45deg);
}

.menu-button[aria-expanded="true"] path:last-child {
  transform: translateY(-5px) rotate(-45deg);
}

.mobile-menu {
  position: fixed;
  inset: 0;
  z-index: 90;
  display: none;
  flex-direction: column;
  gap: 8px;
  padding: 112px var(--gutter) 42px;
  overflow-y: auto;
  background: var(--black);
  color: var(--white);
  visibility: hidden;
  opacity: 0;
  pointer-events: none;
  transform: translateY(-12px);
  transition: opacity 200ms ease, visibility 200ms ease, transform 200ms ease;
}

.mobile-menu.is-open {
  visibility: visible;
  opacity: 1;
  pointer-events: auto;
  transform: none;
}

.mobile-menu a {
  padding: 9px 0;
  border-bottom: 1px solid var(--line);
  font-family: var(--display);
  font-size: clamp(30px, 8vw, 48px);
  font-weight: 700;
}

.mobile-menu a:hover {
  color: var(--orange);
}

body.menu-open {
  overflow: hidden;
}

/* ── Hero ── */
.hero__left,
.hero__stat {
  background: var(--black);
}

.hero__right {
  background: var(--black);
}

.hero__right::after {
  background:
    linear-gradient(to right, rgba(8, 8, 8, 0.72) 0%, transparent 55%),
    linear-gradient(to top, rgba(8, 8, 8, 0.65) 0%, transparent 40%);
}

.hero__photo {
  bottom: 0;
  height: 108%;
  filter: saturate(0) contrast(1.04);
  transform: scaleX(-1); /* foto espelhada: olhar voltado para o texto */
}

/* A foto não invade mais a faixa laranja abaixo do hero */
.hero__right {
  clip-path: inset(-120px -5% 0 0);
}

.hero {
  min-height: auto;
}

#inicio {
  padding-bottom: 0;
}

.hero__stat-val {
  color: var(--orange);
}

.hero__insight {
  border-radius: 24px;
}

/* ── Faixa de palavras: laranja como o marquee da home ── */
.mq-wrap {
  border: 0;
  background: var(--orange) !important;
}

.mq-wrap::before,
.mq-wrap::after {
  display: none;
}

.mq-item {
  border-right-color: rgba(255, 255, 255, 0.28);
}

.mq-word {
  color: var(--white);
  font-family: var(--display);
  font-size: clamp(18px, 2vw, 26px);
  font-weight: 700;
  letter-spacing: -0.03em;
  text-transform: none;
}

.mq-dot {
  background: var(--white);
}

/* ── Cartões: cantos e contornos da home ── */
.svc-card,
.stats-item,
.bloco-card,
.comp-card,
.ind-card,
.aplic-card,
.testi-card,
.fmt-card,
.tab-scenario,
.faq-list,
.faq-cta,
.comp-cta {
  border-radius: var(--radius-md, 24px);
}

.svc-img-wrap {
  border-radius: 23px 23px 0 0;
}

.fluxo-img,
.editorial__card {
  border-radius: 34px;
}

.quote-wrap {
  border-radius: 34px;
}

.quote-corner {
  display: none;
}

.stats-item,
.bloco-card,
.ind-card {
  border-top-width: 1px;
  border-top-color: var(--line);
}

.fmt-card.is-featured .fmt-cta {
  color: var(--white);
  box-shadow: none;
}

.fmt-card.is-featured .fmt-cta:hover {
  background: var(--white);
  color: var(--black);
  box-shadow: none;
}

.fmt-cta,
.comp-cta .btn-inner {
  border-radius: 999px;
}

/* ── Seções claras (papel), alternando como na home ── */
.is-light {
  --ink: #111111;
  --ink-2: #3f3b37;
  --dim: #6f6a64;
  --line: rgba(17, 17, 17, 0.12);
  --accent2: #ea2e00;
  background: var(--paper) !important;
  color: var(--ink);
}

.is-light .svc-card,
.is-light .comp-card,
.is-light .aplic-card,
.is-light .faq-list,
.is-light .faq-btn,
.is-light .faq-inner,
.is-light .faq-cta,
.is-light .f-acc,
.is-light .tab-scenario {
  background: var(--white);
}

.is-light .svc-card:hover,
.is-light .comp-card:hover,
.is-light .aplic-card:hover,
.is-light .faq-btn:hover,
.is-light .faq-item.is-open .faq-btn {
  background: var(--white);
}

.is-light .fluxo-dot {
  background: var(--paper);
}

.is-light .comp-cta {
  background: var(--white);
  border-color: var(--line);
}

.is-light .btn-inner {
  border-color: rgba(17, 17, 17, 0.16);
}

.is-light .aplic-icon,
.is-light .comp-card__icon {
  background: #fff0eb;
  border-color: #ffcfc3;
}

/* ── Rodapé da home ── */
.footer {
  padding: 70px var(--gutter) 26px;
  background: var(--black);
  color: var(--white);
  border-top: 1px solid var(--line);
}

.footer__main {
  display: grid;
  grid-template-columns: 0.6fr 1fr auto;
  gap: 60px;
  align-items: start;
  max-width: var(--max);
  margin: 0 auto 80px;
}

.footer__brand {
  width: fit-content;
}

.footer__main p {
  max-width: 560px;
  margin: 0;
  color: rgba(255, 255, 255, 0.56);
}

.footer__links {
  display: flex;
  gap: 24px;
  font-size: 14px;
}

.footer__links a:hover {
  color: var(--orange);
}

.footer__meta {
  display: flex;
  justify-content: space-between;
  max-width: var(--max);
  margin: 0 auto;
  padding-top: 24px;
  border-top: 1px solid var(--line);
  color: rgba(255, 255, 255, 0.44);
  font-size: 12px;
}

@media (max-width: 1100px) {
  .desktop-nav,
  .button--header {
    display: none;
  }

  .site-header {
    grid-template-columns: 1fr auto;
  }

  .menu-button,
  .mobile-menu {
    display: flex;
  }
}

@media (max-width: 760px) {
  :root {
    --nav-h: 80px;
  }

  .site-header {
    inset: 10px 12px auto;
    min-height: 62px;
    padding: 7px 7px 7px 18px;
  }

  .brand img {
    width: 100px;
  }

  .footer__main {
    grid-template-columns: 1fr;
    gap: 30px;
  }

  .footer__meta {
    flex-direction: column;
    gap: 6px;
  }
}

/* Comparativo: "sem o método" em cinza, "com o método" em destaque */
.comp-card__row--neg {
  color: var(--dim);
}

.comp-card__row--neg .comp-card__badge {
  color: #b3aca5;
}

.comp-card__row--pos {
  color: var(--ink);
  font-weight: 600;
}

.comp-card__row--pos .comp-card__badge {
  color: var(--orange);
}

/* Na página do método, os pares são distinções conceituais — não certo versus errado. */
#comparativo .comp-card__row--neg,
#comparativo .comp-card__row--pos {
  color: var(--ink-2);
  font-weight: 500;
}

#comparativo .comp-card__row--neg .comp-card__badge,
#comparativo .comp-card__row--pos .comp-card__badge {
  color: var(--orange);
}

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

#exemplos .tab-stat__n {
  white-space: nowrap;
  font-size: clamp(22px, 2.25vw, 31px);
}

#formatos button.fmt-cta {
  appearance: none;
  font: inherit;
}

@media (max-width: 900px) {
  #blocos .conduct-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 600px) {
  #blocos .conduct-grid {
    grid-template-columns: 1fr;
  }

  #exemplos .tab-stat {
    align-items: flex-start;
    flex-direction: column;
  }
}

.aplic-tag,
.fmt-badge {
  width: fit-content;
}

.cta-inner {
  max-width: 980px;
}

.cta-title {
  font-size: clamp(40px, 5.2vw, 80px);
}

/* Decorações (círculos do CTA) não podem gerar rolagem lateral */
html,
body {
  overflow-x: clip;
}

#contato {
  overflow: hidden;
}

/* Transições suaves nos cartões, como na home */
.svc-card,
.comp-card,
.aplic-card,
.fmt-card,
.bloco-card,
.stats-item,
.ind-card,
.testi-card {
  transition:
    background-color 240ms ease,
    border-color 240ms ease,
    transform 320ms cubic-bezier(0.16, 1, 0.3, 1),
    box-shadow 320ms ease;
}

.is-light .svc-card:hover,
.is-light .comp-card:hover,
.is-light .aplic-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 18px 45px rgba(43, 31, 23, 0.08);
  border-color: rgba(234, 46, 0, 0.28);
}

@media (prefers-reduced-motion: reduce) {
  .mq-track {
    animation: none;
  }

  .is-light .svc-card:hover,
  .is-light .comp-card:hover,
  .is-light .aplic-card:hover {
    transform: none;
  }
}


/* ── Faixa de marcas (substitui os números do topo) ── */
.brands {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  align-items: center;
  gap: clamp(24px, 4vw, 64px);
  padding: 38px max(var(--gutter), calc((100% - var(--max)) / 2));
  background: #151515;
  color: var(--white);
}

.brands__label {
  max-width: 150px;
  margin: 0;
  color: rgba(255, 255, 255, 0.55);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.12em;
  line-height: 1.5;
  text-transform: uppercase;
}

.brands__viewport {
  display: flex;
  overflow: hidden;
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent);
  mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent);
}

.brands__track {
  display: flex;
  flex-shrink: 0;
  align-items: center;
  gap: clamp(48px, 5vw, 80px);
  margin: 0;
  padding: 0 clamp(24px, 2.5vw, 40px);
  list-style: none;
  animation: brands 36s linear infinite;
}

.brands__viewport:hover .brands__track {
  animation-play-state: paused;
}

.brands__logo {
  display: flex;
  align-items: center;
  height: 52px;
}

.brands__logo img {
  width: auto;
  height: 34px;
  max-width: 150px;
  object-fit: contain;
  filter: brightness(0) invert(1);
  opacity: 0.62;
  transition: opacity 240ms ease;
}

.brands__logo--sq img {
  height: 52px;
}

.brands__logo--tall img {
  height: 46px;
  max-width: 180px;
}

.brands__logo--wide img {
  height: 26px;
  max-width: 180px;
}

.brands__logo img:hover {
  opacity: 1;
}

@keyframes brands {
  to { transform: translateX(-100%); }
}

@media (max-width: 760px) {
  .brands {
    grid-template-columns: 1fr;
    gap: 18px;
    padding-block: 30px;
  }

  .brands__label {
    max-width: none;
  }
}

@media (prefers-reduced-motion: reduce) {
  .brands__viewport {
    flex-wrap: wrap;
  }

  .brands__track {
    flex-wrap: wrap;
    animation: none;
  }

  .brands__track[aria-hidden="true"] {
    display: none;
  }
}

/* Desfoque progressivo nas bordas da faixa de marcas: camadas empilhadas,
   cada uma com blur maior e uma máscara deslocada em direção à borda. */
.brands__viewport {
  position: relative;
}

.brands__blur {
  position: absolute;
  top: 0;
  bottom: 0;
  z-index: 1;
  width: clamp(80px, 12vw, 200px);
  pointer-events: none;
}

.brands__blur--left { left: 0; }
.brands__blur--right { right: 0; }

.brands__blur i {
  position: absolute;
  inset: 0;
  -webkit-mask-image: var(--m);
  mask-image: var(--m);
  -webkit-backdrop-filter: blur(var(--b));
  backdrop-filter: blur(var(--b));
}

.brands__blur--left i:nth-child(1) { --b: 0px; --m: linear-gradient(270deg, transparent 0.0%, #000 11.11%, #000 22.22%, transparent 33.33%); }
.brands__blur--left i:nth-child(2) { --b: 1px; --m: linear-gradient(270deg, transparent 11.11%, #000 22.22%, #000 33.33%, transparent 44.44%); }
.brands__blur--left i:nth-child(3) { --b: 2px; --m: linear-gradient(270deg, transparent 22.22%, #000 33.33%, #000 44.44%, transparent 55.56%); }
.brands__blur--left i:nth-child(4) { --b: 3px; --m: linear-gradient(270deg, transparent 33.33%, #000 44.44%, #000 55.56%, transparent 66.67%); }
.brands__blur--left i:nth-child(5) { --b: 4px; --m: linear-gradient(270deg, transparent 44.44%, #000 55.56%, #000 66.67%, transparent 77.78%); }
.brands__blur--left i:nth-child(6) { --b: 5px; --m: linear-gradient(270deg, transparent 55.56%, #000 66.67%, #000 77.78%, transparent 88.89%); }
.brands__blur--left i:nth-child(7) { --b: 6px; --m: linear-gradient(270deg, transparent 66.67%, #000 77.78%, #000 88.89%, transparent 100.0%); }
.brands__blur--left i:nth-child(8) { --b: 7px; --m: linear-gradient(270deg, transparent 77.78%, #000 88.89%, #000 100.0%, transparent 111.11%); }
.brands__blur--right i:nth-child(1) { --b: 0px; --m: linear-gradient(90deg, transparent 0.0%, #000 11.11%, #000 22.22%, transparent 33.33%); }
.brands__blur--right i:nth-child(2) { --b: 1px; --m: linear-gradient(90deg, transparent 11.11%, #000 22.22%, #000 33.33%, transparent 44.44%); }
.brands__blur--right i:nth-child(3) { --b: 2px; --m: linear-gradient(90deg, transparent 22.22%, #000 33.33%, #000 44.44%, transparent 55.56%); }
.brands__blur--right i:nth-child(4) { --b: 3px; --m: linear-gradient(90deg, transparent 33.33%, #000 44.44%, #000 55.56%, transparent 66.67%); }
.brands__blur--right i:nth-child(5) { --b: 4px; --m: linear-gradient(90deg, transparent 44.44%, #000 55.56%, #000 66.67%, transparent 77.78%); }
.brands__blur--right i:nth-child(6) { --b: 5px; --m: linear-gradient(90deg, transparent 55.56%, #000 66.67%, #000 77.78%, transparent 88.89%); }
.brands__blur--right i:nth-child(7) { --b: 6px; --m: linear-gradient(90deg, transparent 66.67%, #000 77.78%, #000 88.89%, transparent 100.0%); }
.brands__blur--right i:nth-child(8) { --b: 7px; --m: linear-gradient(90deg, transparent 77.78%, #000 88.89%, #000 100.0%, transparent 111.11%); }

/* Faixa de marcas no celular: logos menores e desfoque mais estreito nas bordas */
@media (max-width: 760px) {
  .brands__track { gap: 36px; padding: 0 18px; }
  .brands__blur { width: 44px; }
  .brands__logo { height: 40px; }
  .brands__logo img { height: 26px; max-width: 120px; }
  .brands__logo--sq img { height: 40px; }
  .brands__logo--tall img { height: 36px; max-width: 140px; }
  .brands__logo--wide img { height: 20px; max-width: 140px; }
}

/* ── Experiência guiada: apresentação do Gem ── */
.hero__ctas button.btn,
.cta-btns button.btn {
  appearance: none;
  font: inherit;
}

.challenge-dialog-open {
  overflow: hidden;
}

.challenge-dialog {
  width: min(1040px, calc(100vw - 32px));
  max-width: none;
  max-height: calc(100dvh - 32px);
  padding: 0;
  border: 0;
  overflow: visible;
  background: transparent;
  color: var(--white);
}

.challenge-dialog::backdrop {
  background: rgba(0, 0, 0, 0.78);
  -webkit-backdrop-filter: blur(14px) saturate(70%);
  backdrop-filter: blur(14px) saturate(70%);
}

.challenge-dialog__shell {
  position: relative;
  display: grid;
  grid-template-columns: minmax(250px, 0.78fr) minmax(0, 1.72fr);
  max-height: calc(100dvh - 32px);
  overflow: auto;
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: 28px;
  background: #11110f;
  box-shadow: 0 34px 100px rgba(0, 0, 0, 0.62), 0 0 0 1px rgba(234, 46, 0, 0.08);
  animation: challenge-dialog-in 420ms cubic-bezier(0.16, 1, 0.3, 1) both;
}

.challenge-dialog__close {
  position: absolute;
  top: 20px;
  right: 20px;
  z-index: 2;
  display: grid;
  width: 42px;
  height: 42px;
  place-items: center;
  padding: 0;
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: 50%;
  background: rgba(17, 17, 15, 0.74);
  color: var(--white);
  cursor: pointer;
  transition: background-color 180ms ease, border-color 180ms ease, transform 180ms ease;
}

.challenge-dialog__close:hover {
  border-color: rgba(255, 255, 255, 0.32);
  background: #242420;
  transform: rotate(4deg);
}

.challenge-dialog__close svg {
  width: 17px;
  fill: none;
  stroke: currentColor;
  stroke-linecap: round;
  stroke-width: 1.7;
}

.challenge-dialog__aside {
  position: relative;
  display: flex;
  min-height: 100%;
  flex-direction: column;
  justify-content: space-between;
  padding: 34px 30px;
  overflow: hidden;
  border-right: 1px solid rgba(255, 255, 255, 0.12);
  background:
    radial-gradient(circle at 15% 83%, rgba(234, 46, 0, 0.36), transparent 34%),
    linear-gradient(155deg, #23231f 0%, #11110f 68%);
}

.challenge-dialog__aside::after {
  position: absolute;
  right: -74px;
  bottom: 56px;
  width: 190px;
  height: 190px;
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 50%;
  content: '';
}

.challenge-dialog__edition,
.challenge-dialog__aside-note {
  position: relative;
  z-index: 1;
  color: rgba(255, 255, 255, 0.55);
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.15em;
  text-transform: uppercase;
}

.challenge-dialog__aside-copy {
  position: relative;
  z-index: 1;
  display: grid;
  gap: 16px;
}

.challenge-dialog__mark {
  display: grid;
  width: 62px;
  height: 62px;
  place-items: center;
  border-radius: 19px 19px 19px 4px;
  background: var(--orange);
  color: var(--white);
  font-family: var(--display);
  font-size: 20px;
  font-weight: 800;
  letter-spacing: -0.06em;
}

.challenge-dialog__aside-copy p {
  color: var(--white);
  font-family: var(--display);
  font-size: clamp(25px, 3vw, 39px);
  font-weight: 700;
  letter-spacing: -0.055em;
  line-height: 0.98;
}

.challenge-dialog__content {
  padding: clamp(44px, 5vw, 68px);
}

.challenge-dialog__eyebrow {
  margin: 0 54px 12px 0;
  color: var(--accent2);
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.challenge-dialog__content h2 {
  max-width: none;
  margin: 0;
  color: var(--white);
  font-family: var(--display);
  font-size: clamp(36px, 5vw, 64px);
  font-weight: 700;
  letter-spacing: -0.065em;
  line-height: 0.94;
  text-wrap: balance;
}

.challenge-dialog__lead {
  max-width: 60ch;
  margin: 22px 0 30px;
  color: rgba(255, 255, 255, 0.72);
  font-size: 16px;
  line-height: 1.62;
  text-wrap: pretty;
}

.challenge-dialog__steps {
  display: grid;
  margin: 0;
  padding: 0;
  border-top: 1px solid rgba(255, 255, 255, 0.12);
  list-style: none;
}

.challenge-dialog__steps li {
  display: grid;
  grid-template-columns: 34px 1fr;
  gap: 14px;
  padding: 15px 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.12);
}

.challenge-dialog__steps li > span {
  padding-top: 2px;
  color: var(--accent2);
  font-family: ui-monospace, SFMono-Regular, Menlo, monospace;
  font-size: 11px;
  font-variant-numeric: tabular-nums;
}

.challenge-dialog__steps strong {
  display: block;
  margin-bottom: 3px;
  color: var(--white);
  font-size: 14px;
  font-weight: 700;
}

.challenge-dialog__steps p {
  margin: 0;
  color: rgba(255, 255, 255, 0.58);
  font-size: 13px;
  line-height: 1.5;
}

.challenge-dialog__scope {
  display: grid;
  grid-template-columns: minmax(130px, 0.6fr) minmax(0, 1.4fr);
  gap: 18px;
  margin-top: 22px;
  padding: 18px;
  border-left: 2px solid var(--orange);
  background: rgba(234, 46, 0, 0.08);
}

.challenge-dialog__scope strong {
  color: var(--white);
  font-size: 12px;
  line-height: 1.45;
}

.challenge-dialog__scope p {
  margin: 0;
  color: rgba(255, 255, 255, 0.62);
  font-size: 12px;
  line-height: 1.55;
}

.challenge-dialog__privacy {
  display: flex;
  gap: 9px;
  margin: 18px 0 0;
  color: rgba(255, 255, 255, 0.48);
  font-size: 11px;
  line-height: 1.5;
}

.challenge-dialog__privacy span {
  padding-top: 1px;
  color: var(--accent2);
  font-size: 8px;
}

.challenge-dialog__actions {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 12px;
  margin-top: 26px;
}

.challenge-dialog__later,
.challenge-dialog__start {
  min-height: 48px;
  border-radius: 999px;
  font-family: var(--sans);
  font-size: 13px;
  font-weight: 700;
  cursor: pointer;
  transition: background-color 180ms ease, color 180ms ease, border-color 180ms ease, transform 180ms ease;
}

.challenge-dialog__later {
  padding: 0 16px;
  border: 1px solid transparent;
  background: transparent;
  color: rgba(255, 255, 255, 0.58);
}

.challenge-dialog__later:hover {
  color: var(--white);
}

.challenge-dialog__start {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 9px;
  padding: 0 20px;
  border: 1px solid var(--orange);
  background: var(--orange);
  color: var(--white);
}

.challenge-dialog__start:hover {
  border-color: var(--white);
  background: var(--white);
  color: var(--black);
  transform: translateY(-2px);
}

.challenge-dialog__start svg {
  width: 16px;
  fill: none;
  stroke: currentColor;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 1.6;
}

.challenge-dialog button:focus-visible,
.challenge-dialog a:focus-visible,
[data-challenge-open]:focus-visible {
  outline: 3px solid rgba(255, 90, 51, 0.62);
  outline-offset: 3px;
}

@keyframes challenge-dialog-in {
  from { opacity: 0; transform: translateY(18px) scale(0.985); }
  to { opacity: 1; transform: translateY(0) scale(1); }
}

@media (max-width: 720px) {
  .challenge-dialog {
    width: min(100% - 20px, 620px);
    max-height: calc(100dvh - 20px);
  }

  .challenge-dialog__shell {
    grid-template-columns: 1fr;
    max-height: calc(100dvh - 20px);
    border-radius: 22px;
  }

  .challenge-dialog__aside {
    min-height: 150px;
    padding: 24px;
    border-right: 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.12);
  }

  .challenge-dialog__aside-copy {
    grid-template-columns: auto 1fr;
    align-items: end;
    margin-top: 24px;
  }

  .challenge-dialog__mark {
    width: 48px;
    height: 48px;
    border-radius: 15px 15px 15px 4px;
    font-size: 17px;
  }

  .challenge-dialog__aside-copy p {
    font-size: 28px;
  }

  .challenge-dialog__aside-note {
    display: none;
  }

  .challenge-dialog__content {
    padding: 34px 24px 28px;
  }

  .challenge-dialog__content h2 {
    font-size: clamp(35px, 11vw, 49px);
  }

  .challenge-dialog__scope {
    grid-template-columns: 1fr;
    gap: 7px;
  }

  .challenge-dialog__actions {
    align-items: stretch;
    flex-direction: column-reverse;
  }

  .challenge-dialog__later,
  .challenge-dialog__start {
    width: 100%;
  }
}

@media (prefers-reduced-motion: reduce) {
  .challenge-dialog__shell {
    animation: none;
  }

  .challenge-dialog__close,
  .challenge-dialog__start {
    transition: none;
  }
}

/* ── Topo na coluna de 1300px, como na home ──
   Texto, números e foto alinhados à mesma coluna do cabeçalho e das demais seções. */
#inicio {
  padding-inline: max(var(--gutter), calc((100% - var(--max)) / 2));
}

.hero {
  max-width: var(--max);
}

.hero__left {
  padding-left: 0;
}

.hero__stats-row {
  margin-left: 0;
}

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

.hero__right {
  clip-path: inset(-120px 0 0 0);
}

/* ── Página enxuta: fases, pontos de partida, aprofundamento ── */
.ap-start { margin-top: clamp(32px, 4vw, 48px); }
.ap-start__label,
.ap-chips__label {
  margin: 0 0 12px;
  color: var(--orange);
  font-size: 11px;
  font-weight: 800;
  letter-spacing: .14em;
  text-transform: uppercase;
}
.ap-chips { display: flex; flex-wrap: wrap; gap: 8px; }
.ap-chips--apl { margin-top: 22px; align-items: center; }
.ap-chips--apl .ap-chips__label { margin: 0 6px 0 0; }
.ap-chip {
  display: inline-flex;
  align-items: center;
  min-height: 34px;
  padding: 0 14px;
  border: 1px solid currentColor;
  border-radius: 999px;
  font-size: 13px;
  font-weight: 600;
  opacity: .78;
}

.ap-phases {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 14px;
  align-items: start;
}
.ap-phase {
  border-radius: 24px;
  background: var(--white);
  color: #111;
  box-shadow: 0 1px 2px rgba(17,17,17,.04), 0 14px 34px rgba(17,17,17,.06);
  overflow: hidden;
}
.ap-phase summary {
  display: grid;
  gap: 6px;
  padding: 24px 24px 22px;
  list-style: none;
  cursor: pointer;
}
.ap-phase summary::-webkit-details-marker { display: none; }
.ap-phase__n { color: var(--orange); font-size: 12px; font-weight: 800; letter-spacing: .12em; text-transform: uppercase; }
.ap-phase__t { font-family: var(--display); font-size: clamp(22px, 2vw, 28px); font-weight: 700; letter-spacing: -.04em; line-height: 1.05; }
.ap-phase__d { color: #5b5752; font-size: 14px; line-height: 1.5; }
.ap-phase__steps { margin-top: 8px; color: #111; font-size: 12px; font-weight: 700; }
.ap-phase__steps::after { content: " +"; color: var(--orange); }
.ap-phase[open] .ap-phase__steps::after { content: " –"; }
.ap-phase ul { display: grid; gap: 0; margin: 0; padding: 0 24px 22px; list-style: none; }
.ap-phase li { display: grid; gap: 4px; padding: 14px 0; border-top: 1px solid rgba(17,17,17,.1); }
.ap-phase li strong { font-family: var(--display); font-size: 15px; letter-spacing: -.02em; }
.ap-phase li span { color: #5b5752; font-size: 13.5px; line-height: 1.55; }

.ap-cycle {
  margin: clamp(28px, 3vw, 40px) 0 0;
  font-size: 15px;
  font-weight: 600;
  line-height: 1.7;
}
.ap-cycle span[aria-hidden] { color: var(--orange); }
.ap-cycle__label {
  margin-right: 10px;
  color: var(--orange);
  font-size: 11px;
  font-weight: 800;
  letter-spacing: .14em;
  text-transform: uppercase;
}

.ap-deep { margin-top: clamp(28px, 3vw, 40px); border-top: 1px solid rgba(17,17,17,.12); }
.ap-deep summary {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 20px;
  padding: 22px 0;
  font-family: var(--display);
  font-size: clamp(18px, 1.6vw, 22px);
  font-weight: 700;
  letter-spacing: -.03em;
  list-style: none;
  cursor: pointer;
}
.ap-deep summary::-webkit-details-marker { display: none; }
.ap-deep summary span { color: var(--orange); font-size: 24px; transition: transform .3s ease; }
.ap-deep[open] summary span { transform: rotate(45deg); }
.ap-deep__intro { max-width: 70ch; margin: 0 0 22px; color: #5b5752; font-size: 15px; }

@media (max-width: 1100px) {
  .ap-phases { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 640px) {
  .ap-phases { grid-template-columns: 1fr; }
}

/* Formatos: dois formatos + a análise guiada como ferramenta comum aos dois */
.fmt-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.ap-tool {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 28px;
  margin-top: clamp(14px, 1.4vw, 18px);
  padding: clamp(24px, 2.6vw, 34px);
  border: 1px solid rgba(255, 255, 255, .14);
  border-radius: 24px;
  background: rgba(255, 255, 255, .04);
}
.ap-tool__label {
  margin: 0 0 8px;
  color: var(--orange);
  font-size: 11px;
  font-weight: 800;
  letter-spacing: .14em;
  text-transform: uppercase;
}
.ap-tool__title {
  margin: 0;
  font-family: var(--display);
  font-size: clamp(22px, 2vw, 28px);
  font-weight: 700;
  letter-spacing: -.04em;
}
.ap-tool__body {
  max-width: 70ch;
  margin: 8px 0 0;
  color: var(--dim);
  font-size: 15px;
  line-height: 1.6;
}
.ap-tool .btn { flex-shrink: 0; }
@media (max-width: 900px) {
  .fmt-grid { grid-template-columns: 1fr; }
  .ap-tool { flex-direction: column; align-items: flex-start; }
}

/* Distinções agora dentro de "Para aprofundar": mesmas cores neutras de antes */
.ap-deep .comp-card__row--neg,
.ap-deep .comp-card__row--pos {
  color: var(--ink-2);
  font-weight: 500;
}

.ap-deep .comp-card__row--neg .comp-card__badge,
.ap-deep .comp-card__row--pos .comp-card__badge {
  color: var(--orange);
}
