/* Home V4 experimental — escopo isolado */
.home-v4-page {
  --v4-amber: #e2ad45;
  --v4-amber-soft: #f4d58d;
  --v4-sand: #f3f0e8;
  --v4-paper: #f7f8f6;
  --v4-line: rgba(14, 46, 58, .14);
  background: var(--v2-deep);
}
.home-v4-page main { overflow: hidden; }
.home-v4-page .home-v4-section { position: relative; padding-block: clamp(84px, 8vw, 118px); }
.home-v4-page h1,
.home-v4-page h2,
.home-v4-page h3,
.home-v4-page p { text-wrap: pretty; }
.home-v4-page h2 { margin: 0; font-weight: 630; letter-spacing: -.05em; line-height: 1.04; text-wrap: balance; }
.home-v4-page .v2-eyebrow { margin-bottom: 18px; }
.home-v4-page .v2-button { min-height: 54px; }
.home-v4-page .home-v4-diagnostic-cta { line-height: 1.25; text-align: center; }
.home-v4-page section[id] { scroll-margin-top: 96px; }

/* Hero */
.home-v4-hero {
  position: relative;
  isolation: isolate;
  min-height: min(790px, 100svh);
  display: grid;
  align-items: center;
  overflow: hidden;
  background:
    radial-gradient(circle at 82% 24%, rgba(18, 179, 173, .18), transparent 30%),
    radial-gradient(circle at 15% 100%, rgba(226, 173, 69, .08), transparent 25%),
    linear-gradient(145deg, #0e2e3a, #071f29 72%);
}
.home-v4-hero__grid {
  position: absolute;
  inset: 0;
  z-index: -1;
  opacity: .09;
  background-image:
    linear-gradient(rgba(238, 243, 245, .16) 1px, transparent 1px),
    linear-gradient(90deg, rgba(238, 243, 245, .16) 1px, transparent 1px);
  background-size: 68px 68px;
  mask-image: linear-gradient(90deg, transparent 3%, #000 58%, #000);
}
.home-v4-hero__layout {
  display: grid;
  grid-template-columns: minmax(0, 1.06fr) minmax(420px, .94fr);
  align-items: center;
  gap: clamp(32px, 4vw, 60px);
  padding-block: 126px 56px;
}
.home-v4-hero__content { max-width: 700px; }
.home-v4-hero h1 {
  margin: 0;
  max-width: 690px;
  color: #fff;
  font-size: clamp(2.75rem, 4.25vw, 4.45rem);
  font-weight: 650;
  letter-spacing: -.055em;
  line-height: 1.015;
  text-wrap: balance;
}
.home-v4-hero h1 span { color: var(--v2-bright); }
.home-v4-hero__tension {
  max-width: 650px;
  margin: 24px 0 0;
  padding-left: 20px;
  border-left: 3px solid var(--v4-amber);
  color: #fff;
  font-size: clamp(1.08rem, 1.45vw, 1.34rem);
  font-weight: 630;
  line-height: 1.42;
}
.home-v4-hero__promise {
  max-width: 630px;
  margin: 19px 0 0;
  color: rgba(238, 243, 245, .75);
  font-size: .98rem;
  line-height: 1.7;
}
.home-v4-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 28px; }
.home-v4-hero__visual {
  position: relative;
  min-width: 0;
  padding: 52px 18px 72px;
}
.home-v4-hero__visual::before {
  content: "";
  position: absolute;
  inset: 18px 0 38px;
  border: 1px solid rgba(18, 179, 173, .18);
  border-radius: 26px;
  background: linear-gradient(145deg, rgba(238, 243, 245, .055), rgba(238, 243, 245, .015));
  box-shadow: 0 30px 80px rgba(0, 0, 0, .25);
}
.home-v4-hero__visual-label {
  position: absolute;
  top: 0;
  left: 28px;
  z-index: 3;
  margin: 0;
  color: var(--v4-amber-soft);
  font-size: .66rem;
  font-weight: 800;
  letter-spacing: .14em;
  text-transform: uppercase;
}
.home-v4-hero__dashboard { position: relative; z-index: 1; transform: translateX(-2%); }
.home-v4-hero__dashboard img { display: block; width: 108%; max-width: none; height: auto; filter: drop-shadow(0 28px 36px rgba(0, 0, 0, .34)); }
.home-v4-hero__signals {
  position: absolute;
  z-index: 3;
  right: 4px;
  bottom: 30px;
  display: grid;
  grid-template-columns: repeat(2, auto);
  gap: 7px;
  margin: 0;
  padding: 0;
  list-style: none;
}
.home-v4-hero__signals li {
  padding: 8px 11px;
  border: 1px solid rgba(18, 179, 173, .38);
  border-radius: 999px;
  color: #eef3f5;
  background: rgba(7, 31, 41, .9);
  font-size: .65rem;
  font-weight: 700;
  letter-spacing: .03em;
}
.home-v4-hero__plan {
  position: absolute;
  z-index: 2;
  left: 2px;
  bottom: 4px;
  display: grid;
  grid-template-columns: 60px 1fr;
  align-items: center;
  gap: 10px;
  width: 205px;
  padding: 10px;
  border: 1px solid rgba(226, 173, 69, .3);
  border-radius: 14px;
  color: #fff;
  background: rgba(7, 31, 41, .94);
  box-shadow: 0 18px 35px rgba(0, 0, 0, .3);
}
.home-v4-hero__plan img { width: 60px; height: 72px; object-fit: cover; object-position: top; border-radius: 6px; }
.home-v4-hero__plan span { font-size: .69rem; font-weight: 700; line-height: 1.35; }

/* Âncora científica */
.home-v4-research { color: var(--v2-ink); background: var(--v4-paper); }
.home-v4-research__layout {
  display: grid;
  grid-template-columns: minmax(0, 1.08fr) minmax(330px, .72fr);
  gap: 34px clamp(50px, 7vw, 104px);
  align-items: start;
}
.home-v4-research__header h2 { max-width: 760px; font-size: clamp(2.45rem, 4vw, 4.2rem); color: var(--v2-deep); }
.home-v4-research__editorial {
  grid-column: 2;
  grid-row: 1 / span 2;
  margin: 0;
  padding: clamp(28px, 4vw, 48px);
  border: 1px solid var(--v4-line);
  border-radius: 24px;
  background:
    linear-gradient(135deg, rgba(226, 173, 69, .11), transparent 52%),
    #fff;
  box-shadow: 0 24px 70px rgba(14, 46, 58, .08);
}
.home-v4-research__signature { padding-bottom: 28px; border-bottom: 1px solid var(--v4-line); }
.home-v4-research__signature span,
.home-v4-research__signature cite { display: block; }
.home-v4-research__signature span { color: var(--v2-deep); font-size: clamp(1.55rem, 2.5vw, 2.35rem); font-weight: 700; letter-spacing: -.04em; }
.home-v4-research__signature cite { margin-top: 6px; color: var(--v2-teal); font-size: .76rem; font-style: normal; font-weight: 800; letter-spacing: .12em; text-transform: uppercase; }
.home-v4-research__editorial blockquote { margin: 34px 0 18px; color: var(--v2-deep); font-size: clamp(1.45rem, 2.4vw, 2.25rem); font-weight: 620; letter-spacing: -.035em; line-height: 1.25; }
.home-v4-research__editorial figcaption { color: #60737a; font-size: .86rem; line-height: 1.55; }
.home-v4-research__copy { max-width: 730px; }
.home-v4-research__copy > p { margin: 0; color: #526a72; font-size: 1.03rem; line-height: 1.8; }
.home-v4-research__conclusion { margin-top: 22px !important; padding-left: 20px; border-left: 3px solid var(--v4-amber); color: var(--v2-deep) !important; font-weight: 590; }
.home-v4-research__conclusion span { display: block; color: var(--v2-teal); font-size: .7rem; font-weight: 800; letter-spacing: .1em; text-transform: uppercase; }
.home-v4-research__scale { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 10px; margin: 28px 0 0; }
.home-v4-research__scale div { padding: 18px 14px; border-top: 2px solid rgba(11, 122, 120, .45); background: #fff; }
.home-v4-research__scale dt { color: var(--v2-deep); font-size: 1rem; font-weight: 750; }
.home-v4-research__scale dd { margin: 5px 0 0; color: #6b7e84; font-size: .73rem; line-height: 1.4; }
.home-v4-research__bridge {
  margin-top: clamp(56px, 7vw, 88px);
  padding-top: 30px;
  border-top: 1px solid var(--v4-line);
  color: var(--v2-deep);
  font-size: clamp(1.55rem, 2.6vw, 2.55rem);
  font-weight: 620;
  letter-spacing: -.035em;
}

/* Lacuna */
.home-v4-gap { color: var(--v2-ink); background: var(--v4-sand); }
.home-v4-gap__header { display: grid; grid-template-columns: .7fr 1.3fr; gap: 48px; align-items: end; }
.home-v4-gap__header h2 { max-width: 880px; font-size: clamp(2.4rem, 4vw, 4rem); color: var(--v2-deep); }
.home-v4-equation {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto minmax(0, 1fr);
  align-items: stretch;
  gap: clamp(20px, 3vw, 38px);
  margin-top: 54px;
}
.home-v4-equation article { padding: clamp(28px, 4vw, 44px); border: 1px solid rgba(14, 46, 58, .12); border-radius: 20px; background: rgba(255, 255, 255, .7); }
.home-v4-equation article span { color: var(--v2-teal); font-size: .7rem; font-weight: 800; letter-spacing: .13em; text-transform: uppercase; }
.home-v4-equation h3 { margin: 20px 0 0; color: var(--v2-deep); font-size: clamp(1.4rem, 2.2vw, 2.1rem); font-weight: 620; letter-spacing: -.035em; line-height: 1.25; }
.home-v4-equation > strong { align-self: center; color: var(--v4-amber); font-size: clamp(3.6rem, 7vw, 6.8rem); font-weight: 500; line-height: 1; }
.home-v4-gap__closing { display: grid; grid-template-columns: 1fr 1fr; gap: 36px; margin-top: 36px; padding-top: 30px; border-top: 1px solid rgba(14, 46, 58, .15); }
.home-v4-gap__closing p,
.home-v4-gap__closing strong { margin: 0; line-height: 1.65; }
.home-v4-gap__closing p { color: #5d7076; }
.home-v4-gap__closing strong { color: var(--v2-deep); font-size: 1.08rem; font-weight: 680; }

/* Framework */
.home-v4-framework {
  color: #eef3f5;
  background:
    radial-gradient(circle at 85% 15%, rgba(18, 179, 173, .12), transparent 28%),
    #0b2732;
}
.home-v4-framework__header { display: grid; grid-template-columns: 1.2fr .8fr; gap: clamp(42px, 7vw, 100px); align-items: end; }
.home-v4-framework__header h2 { max-width: 820px; color: #fff; font-size: clamp(2.5rem, 4.25vw, 4.35rem); }
.home-v4-framework__header h2 span { color: var(--v2-bright); }
.home-v4-framework__header > p { margin: 0; color: rgba(238, 243, 245, .74); font-size: 1rem; line-height: 1.75; }
.home-v4-engineering {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  margin: 62px 0 0;
  padding: 0;
  border: 1px solid rgba(238, 243, 245, .12);
  border-radius: 22px;
  list-style: none;
  overflow: hidden;
  background: rgba(238, 243, 245, .025);
}
.home-v4-engineering li { position: relative; min-width: 0; padding: 34px 24px 30px; border-right: 1px solid rgba(238, 243, 245, .1); }
.home-v4-engineering li:last-child { border-right: 0; background: linear-gradient(145deg, rgba(18, 179, 173, .18), rgba(226, 173, 69, .07)); }
.home-v4-engineering li:not(:last-child)::after { content: "→"; position: absolute; z-index: 2; top: 50%; right: -10px; color: var(--v4-amber); font-size: 1rem; transform: translateY(-50%); }
.home-v4-engineering strong,
.home-v4-engineering span { display: block; }
.home-v4-engineering strong { color: #fff; font-size: clamp(2.5rem, 4vw, 4.2rem); font-weight: 650; letter-spacing: -.055em; line-height: 1; }
.home-v4-engineering span { margin-top: 12px; color: var(--v2-bright); font-size: .65rem; font-weight: 800; letter-spacing: .13em; text-transform: uppercase; }
.home-v4-framework__authority { display: grid; grid-template-columns: 1fr 1fr auto; gap: 30px; align-items: center; margin-top: 34px; }
.home-v4-framework__authority p { margin: 0; color: rgba(238, 243, 245, .72); font-size: .9rem; line-height: 1.65; }
.home-v4-framework__authority .v2-button { max-width: 300px; }

/* Aplicação */
.home-v4-application { color: var(--v2-ink); background: var(--v4-paper); }
.home-v4-application__header { display: grid; grid-template-columns: .55fr 1.45fr; gap: 48px; align-items: start; }
.home-v4-application__header h2 { max-width: 880px; color: var(--v2-deep); font-size: clamp(2.5rem, 4.25vw, 4.45rem); }
.home-v4-application__header h2 span { color: var(--v2-teal); }
.home-v4-interpretation {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 40px minmax(0, 1.08fr) 40px minmax(0, 1fr);
  align-items: center;
  gap: 12px;
  margin-top: 54px;
}
.home-v4-interpretation article { min-height: 280px; display: flex; flex-direction: column; justify-content: center; padding: 34px; border: 1px solid var(--v4-line); border-radius: 22px; background: #fff; }
.home-v4-interpretation article > p { margin: 0 0 24px; color: var(--v2-deep); font-size: 1rem; font-weight: 780; letter-spacing: .08em; text-transform: uppercase; }
.home-v4-interpretation ul { display: flex; flex-wrap: wrap; gap: 8px; margin: 0; padding: 0; list-style: none; }
.home-v4-interpretation li { padding: 7px 10px; border-radius: 999px; color: #526a72; background: #eef3f3; font-size: .72rem; font-weight: 650; }
.home-v4-interpretation__core { position: relative; color: #eef3f5; border-color: rgba(18, 179, 173, .45) !important; background: var(--v2-deep) !important; box-shadow: 0 24px 55px rgba(14, 46, 58, .16); }
.home-v4-interpretation__core img { width: 54px; height: 54px; margin-bottom: 22px; filter: brightness(0) invert(1); opacity: .9; }
.home-v4-interpretation__core > p { color: #fff !important; }
.home-v4-interpretation__core li { color: #d9f5f3; background: rgba(18, 179, 173, .14); }
.home-v4-interpretation__arrow { color: var(--v4-amber); font-size: 2.1rem; text-align: center; }
.home-v4-results-strip { display: flex; align-items: center; justify-content: center; gap: 16px; margin-top: 28px; padding: 19px 24px; border-radius: 14px; color: var(--v2-deep); background: #e8eeee; }
.home-v4-results-strip span { font-size: .72rem; font-weight: 800; letter-spacing: .09em; text-transform: uppercase; }
.home-v4-results-strip i { width: 4px; height: 4px; border-radius: 50%; background: var(--v4-amber); }
.home-v4-application__support { max-width: 850px; margin: 34px auto 0; color: #566d74; font-size: 1rem; line-height: 1.75; text-align: center; }
.home-v4-downlink { display: flex; justify-content: center; gap: 10px; margin-top: 24px; color: var(--v2-teal); font-size: .8rem; font-weight: 800; letter-spacing: .08em; text-transform: uppercase; }
.home-v4-downlink:hover { color: var(--v2-deep); }

/* Diagnóstico */
.home-v4-diagnostic { color: var(--v2-ink); background: linear-gradient(180deg, #eaf0f0, #f7f8f6); }
.home-v4-diagnostic__header { display: grid; grid-template-columns: 1.15fr .85fr; gap: clamp(44px, 7vw, 96px); align-items: end; }
.home-v4-diagnostic__header h2 { max-width: 760px; color: var(--v2-deep); font-size: clamp(2.5rem, 4.2vw, 4.25rem); }
.home-v4-diagnostic__header > div:last-child > p:last-child { margin: 14px 0 0; color: #5b7077; line-height: 1.7; }
.home-v4-diagnostic__name { margin: 0; color: var(--v2-teal); font-size: 1.2rem; font-weight: 720; line-height: 1.35; }
.home-v4-diagnostic__functions { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 1px; margin: 52px 0 0; padding: 1px; border-radius: 20px; overflow: hidden; list-style: none; background: rgba(14, 46, 58, .12); }
.home-v4-diagnostic__functions li { padding: 28px; background: rgba(255, 255, 255, .93); }
.home-v4-diagnostic__functions span { color: var(--v4-amber); font-size: .7rem; font-weight: 800; letter-spacing: .1em; }
.home-v4-diagnostic__functions h3 { margin: 16px 0 0; color: var(--v2-deep); font-size: 1rem; font-weight: 760; letter-spacing: -.015em; line-height: 1.28; text-transform: uppercase; }
.home-v4-diagnostic__functions p { margin: 13px 0 0; color: #667b81; font-size: .82rem; line-height: 1.58; }
.home-v4-deliverables { display: grid; grid-template-columns: 1.5fr .65fr .65fr; gap: 16px; align-items: stretch; margin-top: 24px; }
.home-v4-deliverables figure { position: relative; min-width: 0; margin: 0; padding: 18px; border: 1px solid rgba(14, 46, 58, .1); border-radius: 20px; overflow: hidden; background: #fff; }
.home-v4-deliverables img { display: block; width: 100%; height: 230px; object-fit: contain; }
.home-v4-deliverables__dashboard img { height: 260px; }
.home-v4-deliverables__plan img { object-position: top; }
.home-v4-deliverables figcaption { display: grid; gap: 5px; padding: 14px 6px 4px; }
.home-v4-deliverables figcaption strong { color: var(--v2-deep); font-size: .9rem; }
.home-v4-deliverables figcaption span { color: #687c82; font-size: .73rem; line-height: 1.45; }
.home-v4-diagnostic__value { display: grid; grid-template-columns: 1fr auto; gap: 36px; align-items: center; margin-top: 28px; padding: 34px; border-radius: 20px; color: #eef3f5; background: var(--v2-deep); }
.home-v4-diagnostic__value > p { margin: 0; font-size: clamp(1.5rem, 2.5vw, 2.35rem); font-weight: 560; letter-spacing: -.035em; line-height: 1.25; }
.home-v4-diagnostic__value > p strong { color: var(--v2-bright); }
.home-v4-diagnostic__value > div { display: grid; justify-items: end; gap: 10px; }
.home-v4-diagnostic__value small { color: rgba(238, 243, 245, .64); font-size: .7rem; }

/* Caminhos */
.home-v4-paths { color: #eef3f5; background: #0b2732; }
.home-v4-paths__header { display: grid; grid-template-columns: .6fr 1.4fr; gap: 48px; align-items: end; }
.home-v4-paths__header h2 { max-width: 850px; color: #fff; font-size: clamp(2.4rem, 4vw, 4.05rem); }
.home-v4-paths__grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 18px; margin-top: 48px; }
.home-v4-paths__grid article { position: relative; min-height: 340px; display: flex; flex-direction: column; align-items: flex-start; padding: clamp(30px, 4vw, 48px); border: 1px solid rgba(238, 243, 245, .12); border-radius: 22px; background: linear-gradient(145deg, rgba(238, 243, 245, .055), rgba(238, 243, 245, .018)); }
.home-v4-paths__grid article img { width: 42px; height: 42px; margin-bottom: 28px; filter: brightness(0) invert(1); opacity: .8; }
.home-v4-paths__grid article > p { margin: 0; color: var(--v2-bright); font-size: .68rem; font-weight: 800; letter-spacing: .12em; text-transform: uppercase; }
.home-v4-paths__grid h3 { max-width: 480px; margin: 15px 0 0; color: #fff; font-size: clamp(1.65rem, 2.6vw, 2.45rem); font-weight: 620; letter-spacing: -.04em; line-height: 1.15; }
.home-v4-paths__grid article > div { max-width: 520px; margin-top: 18px; color: rgba(238, 243, 245, .7); font-size: .92rem; line-height: 1.65; }
.home-v4-paths__grid article > a { margin-top: auto; padding-top: 28px; color: var(--v4-amber-soft); font-size: .82rem; font-weight: 750; }
.home-v4-paths__closing { margin: 38px 0 0; color: rgba(238, 243, 245, .64); font-size: clamp(1.45rem, 2.6vw, 2.5rem); line-height: 1.3; text-align: center; }
.home-v4-paths__closing strong { color: #fff; font-weight: 630; }

/* Autoridade */
.home-v4-authority { color: var(--v2-ink); background: var(--v4-paper); }
.home-v4-authority__header { display: grid; grid-template-columns: 1.15fr .85fr; gap: clamp(44px, 7vw, 96px); align-items: end; }
.home-v4-authority__header h2 { color: var(--v2-deep); font-size: clamp(2.4rem, 4vw, 4rem); }
.home-v4-authority__header h2 span { color: var(--v2-teal); }
.home-v4-authority__header > div:last-child p { margin: 0; color: #5a7077; line-height: 1.72; }
.home-v4-authority__header > div:last-child a { display: inline-flex; margin-top: 22px; color: var(--v2-teal); font-size: .84rem; font-weight: 750; }
.home-v4-authority__metrics { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 1px; margin: 52px 0 0; padding: 1px; border-radius: 20px; overflow: hidden; background: rgba(14, 46, 58, .12); }
.home-v4-authority__metrics div { min-height: 190px; padding: 32px 26px; background: #fff; }
.home-v4-authority__metrics dt { color: var(--v2-deep); font-size: clamp(2.25rem, 3.7vw, 3.7rem); font-weight: 650; letter-spacing: -.055em; line-height: 1; }
.home-v4-authority__metrics div:nth-child(3) dt { color: var(--v2-teal); }
.home-v4-authority__metrics div:nth-child(4) dt { color: #a97718; }
.home-v4-authority__metrics dd { margin: 17px 0 0; color: #60757b; font-size: .8rem; line-height: 1.5; }

/* CTA final */
.home-v4-final {
  color: #eef3f5;
  background:
    radial-gradient(circle at 82% 18%, rgba(226, 173, 69, .1), transparent 27%),
    radial-gradient(circle at 18% 90%, rgba(18, 179, 173, .12), transparent 30%),
    var(--v2-deep);
}
.home-v4-final__layout { display: grid; grid-template-columns: 1.25fr .75fr; gap: clamp(48px, 8vw, 112px); align-items: center; }
.home-v4-final h2 { max-width: 800px; color: #fff; font-size: clamp(2.6rem, 4.4vw, 4.6rem); }
.home-v4-final__layout > div:first-child > p:last-child { max-width: 700px; margin: 24px 0 0; color: rgba(238, 243, 245, .7); font-size: 1rem; line-height: 1.7; }
.home-v4-final__actions { display: grid; gap: 12px; }
.home-v4-final__actions > span { margin-bottom: 6px; color: var(--v4-amber-soft); font-size: .7rem; font-weight: 800; letter-spacing: .11em; text-transform: uppercase; }
.home-v4-final__actions .v2-button { width: 100%; }

@media (max-width: 1120px) {
  .home-v4-hero { min-height: auto; }
  .home-v4-hero__layout { grid-template-columns: minmax(0, 1.04fr) minmax(390px, .96fr); gap: 24px; }
  .home-v4-hero h1 { font-size: clamp(2.55rem, 4vw, 3.3rem); }
  .home-v4-framework__authority { grid-template-columns: 1fr 1fr; }
  .home-v4-framework__authority .v2-button { grid-column: 1 / -1; max-width: 370px; }
}

@media (max-width: 900px) {
  .home-v4-hero__layout,
  .home-v4-research__layout,
  .home-v4-gap__header,
  .home-v4-framework__header,
  .home-v4-application__header,
  .home-v4-diagnostic__header,
  .home-v4-paths__header,
  .home-v4-authority__header,
  .home-v4-final__layout { grid-template-columns: 1fr; }
  .home-v4-hero__layout { gap: 38px; padding-block: 116px 64px; }
  .home-v4-hero__content { max-width: 760px; }
  .home-v4-hero h1 { max-width: 760px; font-size: clamp(2.8rem, 7.5vw, 4.5rem); }
  .home-v4-hero__visual { width: min(100%, 780px); justify-self: center; }
  .home-v4-research__editorial { grid-column: auto; grid-row: auto; }
  .home-v4-research__copy { max-width: none; }
  .home-v4-engineering { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .home-v4-engineering li { border-bottom: 1px solid rgba(238, 243, 245, .1); }
  .home-v4-engineering li:nth-child(3) { border-right: 0; }
  .home-v4-engineering li:not(:last-child)::after { display: none; }
  .home-v4-engineering li:nth-child(4),
  .home-v4-engineering li:nth-child(5) { border-bottom: 0; }
  .home-v4-interpretation { grid-template-columns: 1fr; gap: 10px; }
  .home-v4-interpretation article { min-height: auto; }
  .home-v4-interpretation__arrow { transform: rotate(90deg); }
  .home-v4-diagnostic__functions { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .home-v4-deliverables { grid-template-columns: 1fr 1fr; }
  .home-v4-deliverables__dashboard { grid-column: 1 / -1; }
  .home-v4-diagnostic__value { grid-template-columns: 1fr; }
  .home-v4-diagnostic__value > div { justify-items: start; }
  .home-v4-paths__grid { grid-template-columns: 1fr; }
  .home-v4-authority__metrics { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

@media (max-width: 640px) {
  .home-v4-page .home-v4-section { padding-block: 72px; }
  .home-v4-page h2 { letter-spacing: -.04em; }
  .home-v4-hero__layout { padding-block: 104px 50px; }
  .home-v4-hero h1 { font-size: clamp(2.22rem, 10vw, 3rem); }
  .home-v4-hero__tension { padding-left: 15px; font-size: 1.03rem; }
  .home-v4-actions { display: grid; }
  .home-v4-actions .v2-button { width: 100%; }
  .home-v4-hero__visual { display: grid; padding: 36px 0 0; }
  .home-v4-hero__visual::before { inset: 22px -12px 60px; }
  .home-v4-hero__visual-label { position: static; margin-bottom: 8px; }
  .home-v4-hero__dashboard { margin-inline: -7%; transform: none; }
  .home-v4-hero__dashboard img { width: 114%; }
  .home-v4-hero__signals { position: static; grid-template-columns: repeat(2, 1fr); margin-top: -4px; }
  .home-v4-hero__signals li { text-align: center; }
  .home-v4-hero__plan { position: static; width: 100%; margin-top: 10px; }
  .home-v4-research__header h2,
  .home-v4-gap__header h2,
  .home-v4-framework__header h2,
  .home-v4-application__header h2,
  .home-v4-diagnostic__header h2,
  .home-v4-paths__header h2,
  .home-v4-authority__header h2,
  .home-v4-final h2 { font-size: clamp(2.1rem, 9.7vw, 2.8rem); }
  .home-v4-research__scale { grid-template-columns: 1fr; }
  .home-v4-research__bridge { font-size: 1.45rem; }
  .home-v4-equation { grid-template-columns: 1fr; }
  .home-v4-equation > strong { font-size: 4rem; text-align: center; transform: rotate(90deg); }
  .home-v4-gap__closing { grid-template-columns: 1fr; gap: 18px; }
  .home-v4-engineering { grid-template-columns: 1fr; }
  .home-v4-engineering li { display: grid; grid-template-columns: 120px 1fr; align-items: center; border-right: 0; border-bottom: 1px solid rgba(238, 243, 245, .1) !important; }
  .home-v4-engineering li:last-child { border-bottom: 0 !important; }
  .home-v4-engineering span { margin-top: 0; }
  .home-v4-framework__authority { grid-template-columns: 1fr; }
  .home-v4-framework__authority .v2-button { grid-column: auto; width: 100%; }
  .home-v4-results-strip { flex-wrap: wrap; gap: 10px; }
  .home-v4-results-strip i { display: none; }
  .home-v4-results-strip span { flex: 1 1 44%; text-align: center; }
  .home-v4-diagnostic__functions,
  .home-v4-deliverables,
  .home-v4-authority__metrics { grid-template-columns: 1fr; }
  .home-v4-deliverables__dashboard { grid-column: auto; }
  .home-v4-deliverables img,
  .home-v4-deliverables__dashboard img { height: 230px; }
  .home-v4-diagnostic__value { padding: 26px 22px; }
  .home-v4-diagnostic__value .v2-button { width: 100%; }
  .home-v4-diagnostic__value small { text-align: left; }
  .home-v4-paths__grid article { min-height: 330px; }
  .home-v4-authority__metrics div { min-height: 150px; }
  .home-v4-final__actions .v2-button { min-height: 58px; }
}

@media (prefers-reduced-motion: reduce) {
  .home-v4-page *,
  .home-v4-page *::before,
  .home-v4-page *::after { scroll-behavior: auto !important; transition-duration: .01ms !important; }
}

/* Home V4.1 — refinamento cirúrgico */
.home-v4-hero__layout {
  grid-template-columns: minmax(0, .88fr) minmax(500px, 1.12fr);
  gap: clamp(18px, 2.4vw, 38px);
}
.home-v4-hero__content { max-width: 620px; }
.home-v4-hero h1 { max-width: 610px; font-size: clamp(3rem, 4.35vw, 4.65rem); }
.home-v4-hero__visual { min-height: 540px; padding: 42px 0 116px; }
.home-v4-hero__visual::before { inset: 18px -28px 48px; }
.home-v4-hero__dashboard { transform: translateX(-6%); }
.home-v4-hero__dashboard img { width: 124%; }
.home-v4-hero__signals {
  right: 20px;
  bottom: 52px;
  grid-template-columns: repeat(3, auto);
}
.home-v4-hero__signals li { padding: 9px 13px; }
.home-v4-hero__plan {
  left: auto;
  right: -18px;
  bottom: 0;
  grid-template-columns: 126px minmax(0, 1fr);
  gap: 14px;
  width: 330px;
  padding: 13px;
  transform: rotate(-2.5deg);
}
.home-v4-hero__plan img {
  width: 126px;
  height: 168px;
  object-fit: contain;
  object-position: center;
  border-radius: 7px;
}
.home-v4-hero__plan span { font-size: .78rem; line-height: 1.45; }

.home-v4-research__signature p {
  max-width: 330px;
  margin: 12px 0 14px;
  color: #65777d;
  font-size: .82rem;
  line-height: 1.55;
}
.home-v4-research__copy > p + p:not(.home-v4-research__conclusion) { margin-top: 14px; }
.home-v4-research__scale div { min-height: 118px; padding: 20px 16px; }
.home-v4-research__scale div:first-child { border-top-color: var(--v4-amber); }
.home-v4-research__scale dt {
  color: var(--v2-deep);
  font-size: clamp(1.35rem, 2vw, 1.85rem);
  font-weight: 760;
  letter-spacing: -.035em;
}
.home-v4-research__scale div:nth-child(2) dt { color: var(--v2-teal); }
.home-v4-research__scale div:nth-child(3) dt { color: #a97718; }
.home-v4-research__scale dd { font-size: .78rem; }
.home-v4-research__note {
  margin-top: 18px !important;
  color: #708187 !important;
  font-size: .76rem !important;
  line-height: 1.55 !important;
}

.home-v4-gap__thesis {
  width: min(34%, 390px);
  margin: 12px 0 -18px;
  color: #5e7076;
  font-size: clamp(1.25rem, 2vw, 1.8rem);
  font-weight: 560;
  letter-spacing: -.025em;
  line-height: 1.32;
}
.home-v4-gap__thesis strong { color: var(--v2-teal); font-weight: 700; }
.home-v4-equation { margin-top: 38px; }

.home-v4-framework__header {
  grid-template-columns: minmax(0, 1.25fr) minmax(290px, .55fr);
  align-items: center;
}
.home-v4-framework__intro {
  max-width: 760px;
  margin: 28px 0 0;
  color: rgba(238, 243, 245, .74);
  font-size: 1rem;
  line-height: 1.75;
}
.home-v4-framework__asset {
  position: relative;
  display: grid;
  justify-items: center;
  margin: -18px 0 -44px;
}
.home-v4-framework__asset::before {
  content: "";
  position: absolute;
  inset: 18% 5% 12%;
  z-index: 0;
  border-radius: 50%;
  background: rgba(18, 179, 173, .13);
  filter: blur(38px);
}
.home-v4-framework__asset img {
  position: relative;
  z-index: 1;
  display: block;
  width: min(100%, 320px);
  max-height: 410px;
  object-fit: contain;
  filter: drop-shadow(0 28px 34px rgba(0, 0, 0, .32));
}
.home-v4-framework__asset figcaption {
  position: relative;
  z-index: 1;
  max-width: 300px;
  margin-top: 8px;
  color: rgba(238, 243, 245, .58);
  font-size: .72rem;
  line-height: 1.5;
  text-align: center;
}
.home-v4-engineering { margin-top: 48px; }
.home-v4-engineering span { font-size: .76rem; letter-spacing: .115em; }

.home-v4-interpretation__input ul { position: relative; min-height: 104px; align-content: center; }
.home-v4-interpretation__input li:nth-child(1) { transform: translateY(-8px); }
.home-v4-interpretation__input li:nth-child(2) { transform: translateY(10px); }
.home-v4-interpretation__input li:nth-child(3) { transform: translateY(-2px); }
.home-v4-interpretation__input li:nth-child(4) { transform: translateY(12px); }
.home-v4-interpretation__input li:nth-child(5) { transform: translateY(1px); }
.home-v4-interpretation__output ul { display: grid; grid-template-columns: 1fr; gap: 8px; }
.home-v4-interpretation__output li { text-align: center; }

.home-v4-diagnostic__header {
  grid-template-columns: 1fr 1fr;
  align-items: center;
}
.home-v4-diagnostic__header > div:last-child {
  padding: clamp(24px, 3vw, 38px);
  border-left: 3px solid var(--v2-teal);
  background: rgba(255, 255, 255, .56);
}
.home-v4-diagnostic__badge {
  display: inline-flex;
  padding: 7px 11px;
  border: 1px solid rgba(11, 122, 120, .22);
  border-radius: 999px;
  color: var(--v2-teal);
  background: rgba(18, 179, 173, .08);
  font-size: .65rem;
  font-weight: 800;
  letter-spacing: .1em;
  text-transform: uppercase;
}
.home-v4-diagnostic__name {
  margin-top: 18px;
  color: var(--v2-deep);
  font-size: clamp(1.65rem, 2.7vw, 2.65rem);
  font-weight: 680;
  letter-spacing: -.04em;
  line-height: 1.08;
}
.home-v4-diagnostic__name strong {
  display: block;
  margin-top: 7px;
  color: var(--v2-teal);
  font-size: .58em;
  font-weight: 800;
  letter-spacing: .12em;
  text-transform: uppercase;
}
.home-v4-diagnostic__header > div:last-child > p:last-child { font-size: 1rem; }

.home-v4-paths__header {
  grid-template-columns: .42fr 1.58fr;
  gap: 32px;
}
.home-v4-paths__grid { margin-top: 34px; gap: 22px; }
.home-v4-paths__grid article {
  min-height: 390px;
  overflow: hidden;
}
.home-v4-paths__grid article:first-child {
  background: linear-gradient(145deg, rgba(18, 179, 173, .15), rgba(238, 243, 245, .018) 72%);
}
.home-v4-paths__grid article:last-child {
  background: linear-gradient(145deg, rgba(226, 173, 69, .09), rgba(238, 243, 245, .018) 72%);
}
.home-v4-paths__grid article img {
  position: absolute;
  top: 38px;
  right: 40px;
  width: 54px;
  height: 54px;
  margin: 0;
  opacity: .68;
}
.home-v4-paths__number {
  display: block;
  margin-bottom: 24px;
  color: var(--v4-amber-soft);
  font-size: .67rem;
  font-weight: 800;
  letter-spacing: .14em;
  text-transform: uppercase;
}
.home-v4-paths__grid article > p {
  max-width: calc(100% - 72px);
  color: #fff;
  font-size: clamp(1.8rem, 3vw, 2.8rem);
  font-weight: 720;
  letter-spacing: -.045em;
  line-height: 1;
}
.home-v4-paths__grid h3 {
  margin-top: 22px;
  color: var(--v2-bright);
  font-size: clamp(1.35rem, 2vw, 1.8rem);
}
.home-v4-paths__grid article > div { font-size: 1rem; }
.home-v4-paths__closing { margin-top: 30px; }

.home-v4-authority__header > div:last-child p {
  max-width: 590px;
  font-size: 1.04rem;
  line-height: 1.76;
}

@media (max-width: 1120px) {
  .home-v4-hero__layout { grid-template-columns: minmax(0, .92fr) minmax(430px, 1.08fr); }
  .home-v4-hero__visual { min-height: 500px; }
  .home-v4-hero__plan { right: -6px; width: 285px; grid-template-columns: 108px 1fr; }
  .home-v4-hero__plan img { width: 108px; height: 144px; }
  .home-v4-framework__header { grid-template-columns: minmax(0, 1fr) 270px; }
  .home-v4-framework__asset img { max-height: 350px; }
}

@media (max-width: 900px) {
  .home-v4-hero__layout,
  .home-v4-framework__header { grid-template-columns: 1fr; }
  .home-v4-hero__content { max-width: 760px; }
  .home-v4-hero__visual { width: min(100%, 790px); min-height: 570px; }
  .home-v4-hero__dashboard { transform: none; }
  .home-v4-hero__dashboard img { width: 112%; margin-left: -6%; }
  .home-v4-framework__asset { margin: 12px 0 -20px; }
  .home-v4-framework__asset img { width: min(100%, 300px); max-height: 390px; }
  .home-v4-gap__thesis { width: 100%; margin: 24px 0 0; }
  .home-v4-diagnostic__header { grid-template-columns: 1fr; }
  .home-v4-diagnostic__header > div:last-child { border-top: 3px solid var(--v2-teal); border-left: 0; }
}

@media (max-width: 640px) {
  .home-v4-hero__visual { min-height: auto; padding-bottom: 0; }
  .home-v4-hero__dashboard img { width: 118%; margin-left: -9%; }
  .home-v4-hero__signals { grid-template-columns: 1fr; }
  .home-v4-hero__plan {
    position: relative;
    right: auto;
    bottom: auto;
    grid-template-columns: 112px 1fr;
    width: 100%;
    margin-top: 12px;
    transform: none;
  }
  .home-v4-hero__plan img { width: 112px; height: 150px; }
  .home-v4-research__scale div { min-height: auto; }
  .home-v4-framework__asset { margin-bottom: -8px; }
  .home-v4-framework__asset img { max-height: 330px; }
  .home-v4-interpretation__input li { transform: none !important; }
  .home-v4-interpretation__input ul { min-height: auto; }
  .home-v4-diagnostic__header > div:last-child { padding: 24px 20px; }
  .home-v4-paths__grid article { min-height: 360px; }
  .home-v4-paths__grid article img { top: 30px; right: 28px; width: 46px; height: 46px; }
  .home-v4-paths__grid article > p { max-width: calc(100% - 60px); font-size: 1.9rem; }
}


/* Home V4.2 — spacing, fluxo visual e alinhamento */
.home-v4-hero__visual { padding-bottom: 96px; }
.home-v4-hero__plan {
  right: 0;
  bottom: 58px;
  display: block;
  width: 210px;
  padding: 8px;
  border-color: rgba(226, 173, 69, .24);
  background: rgba(7, 31, 41, .82);
}
.home-v4-hero__plan img {
  display: block;
  width: 100%;
  height: auto;
  object-fit: contain;
}
.home-v4-hero__caption {
  position: absolute;
  right: 0;
  bottom: 0;
  z-index: 4;
  width: calc(100% - 10px);
  margin: 0;
  padding-top: 14px;
  border-top: 1px solid rgba(238, 243, 245, .16);
  color: rgba(238, 243, 245, .76);
  font-size: .8rem;
  font-weight: 650;
  line-height: 1.5;
  text-align: right;
}

.home-v4-gap__header { align-items: start; }
.home-v4-gap__header > div { align-self: stretch; }
.home-v4-gap__thesis {
  width: 100%;
  margin: 26px 0 0;
  padding-top: 24px;
  border-top: 1px solid rgba(14, 46, 58, .15);
}
.home-v4-equation { margin-top: 46px; }

.home-v4-application__visual {
  position: relative;
  margin: 52px 0 0;
  border: 1px solid rgba(14, 46, 58, .14);
  border-radius: 24px;
  overflow: hidden;
  background: var(--v2-deep);
  box-shadow: 0 28px 70px rgba(14, 46, 58, .15);
}
.home-v4-application__visual img {
  display: block;
  width: 100%;
  height: auto;
  aspect-ratio: 1672 / 941;
  object-fit: cover;
}
.home-v4-application__visual figcaption {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 14px;
  margin: 0;
  padding: 18px 24px;
  color: rgba(238, 243, 245, .78);
  background: #0b2732;
  font-size: .74rem;
  font-weight: 730;
  letter-spacing: .055em;
  text-align: center;
  text-transform: uppercase;
}
.home-v4-application__visual figcaption strong { color: var(--v2-bright); }
.home-v4-application__visual figcaption i { color: var(--v4-amber); font-size: 1.05rem; font-style: normal; }
.home-v4-results-strip { margin-top: 16px; }
.home-v4-application__support { max-width: 720px; margin-top: 26px; }

.home-v4-diagnostic__functions li {
  display: grid;
  grid-template-rows: auto minmax(3.8rem, auto) 1fr;
  align-content: start;
  padding: 30px;
}
.home-v4-diagnostic__functions span {
  color: var(--v4-amber);
  font-size: clamp(1.75rem, 2.7vw, 2.5rem);
  font-weight: 680;
  letter-spacing: -.04em;
  line-height: 1;
}
.home-v4-diagnostic__functions h3 {
  align-self: start;
  margin-top: 22px;
  font-size: 1rem;
  line-height: 1.3;
}
.home-v4-diagnostic__functions p {
  align-self: start;
  margin-top: 16px;
}

.home-v4-paths__grid { margin-top: 28px; }
.home-v4-paths__grid article {
  height: 100%;
  min-height: 390px;
  padding: clamp(32px, 4vw, 48px);
}
.home-v4-paths__grid article > p {
  max-width: calc(100% - 62px);
  font-size: clamp(1.55rem, 2.75vw, 2.65rem);
  line-height: 1.04;
  white-space: nowrap;
}
.home-v4-paths__grid article > p span { white-space: nowrap; }
.home-v4-paths__grid h3 { color: var(--v2-bright); }
.home-v4-paths__grid article > a { align-self: flex-start; }

.home-v4-authority__metrics div {
  display: flex;
  min-height: 220px;
  flex-direction: column;
  padding: 32px 26px;
}
.home-v4-authority__metrics dt {
  display: grid;
  grid-template-rows: minmax(58px, auto) 20px;
  align-content: start;
  gap: 13px;
  color: inherit;
  font-size: inherit;
  line-height: 1;
}
.home-v4-authority__metrics dt strong {
  display: block;
  color: var(--v2-deep);
  font-size: clamp(2.25rem, 3.7vw, 3.7rem);
  font-weight: 650;
  letter-spacing: -.055em;
  line-height: 1;
  white-space: nowrap;
}
.home-v4-authority__metrics dt span {
  display: block;
  color: var(--v2-teal);
  font-size: .7rem;
  font-weight: 820;
  letter-spacing: .13em;
  line-height: 1;
  text-transform: uppercase;
}
.home-v4-authority__metrics div:nth-child(3) dt strong { color: var(--v2-teal); }
.home-v4-authority__metrics div:nth-child(4) dt strong { color: #a97718; }
.home-v4-authority__metrics dd {
  min-height: 3.8em;
  margin-top: 20px;
}

@media (max-width: 1120px) {
  .home-v4-hero__plan { width: 190px; }
  .home-v4-paths__grid article > p { font-size: clamp(1.5rem, 2.45vw, 2.15rem); }
}

@media (max-width: 900px) {
  .home-v4-hero__visual { padding-bottom: 104px; }
  .home-v4-hero__plan { right: 8px; bottom: 62px; width: 210px; }
  .home-v4-gap__header { grid-template-columns: 1fr; }
  .home-v4-gap__thesis { max-width: 440px; }
  .home-v4-application__visual { margin-top: 40px; }
  .home-v4-application__visual figcaption { flex-wrap: wrap; }
  .home-v4-authority__metrics div { min-height: 195px; }
}

@media (max-width: 640px) {
  .home-v4-hero__visual { padding-bottom: 0; }
  .home-v4-hero__plan {
    position: relative;
    right: auto;
    bottom: auto;
    width: min(72%, 230px);
    margin: -12px 0 0 auto;
    padding: 7px;
  }
  .home-v4-hero__caption {
    position: static;
    width: 100%;
    margin-top: 18px;
    padding-top: 14px;
    text-align: left;
  }
  .home-v4-application__visual { margin-inline: -12px; border-radius: 18px; }
  .home-v4-application__visual img { min-height: 250px; object-position: center; }
  .home-v4-application__visual figcaption {
    display: grid;
    grid-template-columns: 1fr;
    gap: 7px;
    padding: 18px;
  }
  .home-v4-application__visual figcaption i { transform: rotate(90deg); }
  .home-v4-diagnostic__functions li {
    grid-template-rows: auto auto auto;
    min-height: 250px;
  }
  .home-v4-diagnostic__functions span { font-size: 2.35rem; }
  .home-v4-paths__grid article > p {
    max-width: calc(100% - 50px);
    font-size: clamp(1.42rem, 7vw, 1.8rem);
  }
  .home-v4-authority__metrics div { min-height: 180px; }
  .home-v4-authority__metrics dt { grid-template-rows: auto 20px; }
  .home-v4-authority__metrics dd { min-height: 0; }
}

.home-v4-paths__grid article > p { white-space: normal; }
.home-v4-paths__grid article > p span { white-space: nowrap; }
