:root {
  --navy: #061936;
  --navy-2: #0d2448;
  --ink: #101827;
  --muted: #4b5566;
  --blue: #2f6dae;
  --violet: #7436d8;
  --green: #4caf8a;
  --mint: #dff7eb;
  --paper: #ffffff;
  --soft: #eef8fb;
  --line: rgba(16, 24, 39, 0.16);
  --shadow: 0 22px 70px rgba(19, 32, 56, 0.16);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--ink);
  font-family: "Manrope", "Segoe UI", sans-serif;
  background: var(--paper);
}

img,
svg {
  display: block;
}

a {
  color: inherit;
  text-decoration: none;
}

.site-header {
  position: fixed;
  z-index: 30;
  top: 0;
  right: 0;
  left: 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  height: 74px;
  padding: 12px 42px;
  color: var(--paper);
  background: rgba(4, 19, 42, 0.74);
  border-bottom: 1px solid rgba(255, 255, 255, 0.14);
  backdrop-filter: blur(18px);
}

.brand,
.footer img {
  display: inline-flex;
  width: 142px;
  height: 42px;
  overflow: hidden;
  border-radius: 8px;
  background: var(--paper);
}

.brand img,
.footer img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.nav-links {
  display: flex;
  gap: 28px;
  font-size: 0.9rem;
  font-weight: 800;
}

.nav-links a {
  opacity: 0.78;
}

.nav-links a:hover {
  opacity: 1;
}

.header-cta,
.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  padding: 0 18px;
  border-radius: 8px;
  font-size: 0.92rem;
  font-weight: 900;
}

.header-cta {
  color: var(--navy);
  background: var(--paper);
}

.button.primary {
  color: var(--paper);
  background: linear-gradient(135deg, var(--blue), var(--violet));
  box-shadow: 0 18px 48px rgba(77, 60, 206, 0.28);
}

section {
  position: relative;
  overflow: hidden;
  isolation: isolate;
}

main > section + section {
  margin-top: -1px;
}

section > * {
  position: relative;
  z-index: 1;
}

.deck-dark,
.deck-light,
.deck-gradient,
.deck-white {
  min-height: 720px;
  padding: 108px 64px 82px;
}

.deck-dark {
  display: grid;
  align-items: end;
  justify-items: center;
  color: var(--paper);
  background:
    linear-gradient(0deg, rgba(4, 13, 31, 0.66), rgba(4, 13, 31, 0) 42%),
    url("assets/presentation/image1.png") center / cover no-repeat,
    #06152e;
}

.hero::after {
  content: "";
  position: absolute;
  z-index: 0;
  right: 0;
  bottom: 0;
  left: 0;
  height: 180px;
  background: linear-gradient(0deg, rgba(223, 247, 241, 0.96), rgba(223, 247, 241, 0));
  pointer-events: none;
}

.wave::before,
.wave::after {
  content: "";
  position: absolute;
  border: 1px solid rgba(91, 144, 255, 0.38);
  border-radius: 50%;
  pointer-events: none;
}

.hero-center {
  display: grid;
  justify-items: center;
  gap: 18px;
  text-align: center;
  padding-bottom: 6px;
}

.hero-center h1 {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
  white-space: nowrap;
}

.hero-center .button {
  margin-bottom: 4px;
  border: 1px solid rgba(255, 255, 255, 0.28);
}

.deck-light {
  background:
    linear-gradient(135deg, rgba(221, 247, 232, 0.9), rgba(219, 241, 255, 0.88) 58%, rgba(235, 226, 255, 0.86)),
    var(--soft);
}

.deck-light::before,
.deck-gradient::before,
.deck-white::before,
.final-cta::before {
  content: "";
  position: absolute;
  z-index: 0;
  top: 0;
  right: 0;
  left: 0;
  height: 140px;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.72), rgba(255, 255, 255, 0));
  pointer-events: none;
}

.market::before {
  background: linear-gradient(180deg, rgba(223, 247, 241, 0.96), rgba(223, 247, 241, 0));
}

.pain::before {
  background: linear-gradient(180deg, rgba(231, 245, 255, 0.94), rgba(231, 245, 255, 0));
}

.solution::before {
  background: linear-gradient(180deg, rgba(229, 224, 255, 0.68), rgba(229, 224, 255, 0));
}

.pillars::before,
.business::before {
  background: linear-gradient(180deg, rgba(238, 249, 255, 0.88), rgba(251, 253, 255, 0));
}

.deck-white {
  background:
    radial-gradient(circle at 88% 12%, rgba(116, 54, 216, 0.12), transparent 28%),
    radial-gradient(circle at 12% 92%, rgba(76, 175, 138, 0.12), transparent 28%),
    #fbfdff;
}

.deck-gradient {
  background:
    linear-gradient(135deg, rgba(183, 231, 255, 0.92), rgba(232, 220, 255, 0.94)),
    #e7f5ff;
}

h1,
h2,
h3,
p {
  margin-top: 0;
}

h2 {
  margin-bottom: 28px;
  color: var(--ink);
  font-size: clamp(2rem, 4vw, 4rem);
  line-height: 1.08;
  letter-spacing: 0;
  font-weight: 900;
}

h3 {
  margin-bottom: 9px;
  font-size: 1.18rem;
  line-height: 1.18;
}

p {
  color: var(--muted);
  font-size: 1.05rem;
  line-height: 1.72;
}

.kicker {
  margin-bottom: 12px;
  color: var(--blue);
  font-size: 0.9rem;
  font-weight: 900;
  text-transform: uppercase;
}

.market {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  align-items: center;
  gap: 52px;
}

.market-copy {
  max-width: 760px;
}

.market-numbers {
  display: grid;
  gap: 34px;
  margin-top: 54px;
}

.market-numbers strong,
.projection strong {
  display: block;
  color: var(--ink);
  font-size: clamp(3rem, 7vw, 6rem);
  line-height: 0.95;
  font-weight: 900;
  text-shadow: 0 9px 16px rgba(16, 24, 39, 0.2);
}

.market-numbers span,
.projection small,
.projection span {
  display: block;
  max-width: 520px;
  margin-top: 12px;
  color: #111827;
  font-size: clamp(1.15rem, 2vw, 2rem);
  line-height: 1.2;
}

.projection {
  position: relative;
  padding: 42px;
}

.projection::before {
  content: "↗";
  position: absolute;
  top: -120px;
  right: -20px;
  color: rgba(255, 255, 255, 0.94);
  font-size: 18rem;
  line-height: 1;
  text-shadow: 0 12px 28px rgba(47, 109, 174, 0.22);
}

.projection > * {
  position: relative;
}

.projection span {
  margin: 0 0 18px;
  font-weight: 900;
}

.projection small {
  margin-top: 22px;
  font-size: 1.25rem;
}

.pain {
  text-align: center;
}

.pain h2 {
  color: var(--paper);
  text-shadow: 0 7px 16px rgba(16, 24, 39, 0.26);
}

.pain-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 36px;
  max-width: 1200px;
  margin: 72px auto 0;
}

.pain-grid article {
  min-height: 160px;
  display: grid;
  place-items: center;
  padding: 28px;
  border-top: 40px solid var(--violet);
  border-radius: 8px;
  color: #04070d;
  background: var(--paper);
  box-shadow: var(--shadow);
  font-size: clamp(1.35rem, 2.8vw, 2.35rem);
  line-height: 1.12;
  font-weight: 900;
}

.solution {
  display: grid;
  grid-template-columns: 0.95fr 1.05fr;
  align-items: center;
  gap: 56px;
}

.solution::after {
  content: "";
  position: absolute;
  z-index: 0;
  width: 740px;
  height: 740px;
  right: -240px;
  top: 42px;
  border: 3px solid rgba(47, 109, 174, 0.28);
  border-radius: 50%;
}

.solution-copy,
.product-window {
  position: relative;
  z-index: 1;
}

.solution-copy h2 {
  color: #151d3d;
}

.solution-copy p {
  max-width: 650px;
  color: #111827;
  font-size: 1.35rem;
}

.glow-note {
  max-width: 640px;
  margin-top: 54px;
  padding: 26px 30px;
  border-radius: 8px;
  color: #0c2a1d;
  background: rgba(224, 255, 237, 0.88);
  box-shadow: 0 0 42px rgba(76, 175, 138, 0.58);
  font-size: clamp(1.2rem, 2.2vw, 1.55rem);
  line-height: 1.32;
  font-weight: 900;
}

.product-window {
  overflow: hidden;
  border-radius: 16px 0 0 16px;
  box-shadow: 0 28px 70px rgba(14, 31, 58, 0.24);
  opacity: 0;
  transform: translateX(34px) scale(0.985);
  transition: opacity 900ms cubic-bezier(0.22, 1, 0.36, 1), transform 900ms cubic-bezier(0.22, 1, 0.36, 1);
}

.product-window img {
  width: 100%;
  min-height: 470px;
  object-fit: cover;
  object-position: left center;
  transform: scale(1.035);
  transition: transform 1400ms cubic-bezier(0.22, 1, 0.36, 1);
}

.solution.is-visible .product-window {
  opacity: 1;
  transform: translateX(0) scale(1);
}

.solution.is-visible .product-window img {
  transform: scale(1);
}

.waste {
  padding: 0;
  background: #eef9ff;
}

.waste::before,
.waste::after {
  content: "";
  position: absolute;
  z-index: 2;
  right: 0;
  left: 0;
  height: 120px;
  pointer-events: none;
}

.waste::before {
  top: 0;
  background: linear-gradient(180deg, rgba(223, 247, 241, 0.96), rgba(223, 247, 241, 0));
}

.waste::after {
  bottom: 0;
  background: linear-gradient(0deg, rgba(251, 253, 255, 0.98), rgba(251, 253, 255, 0));
}

.waste img {
  width: 100%;
  height: auto;
  opacity: 0;
  transform: scale(1.025);
  transition: opacity 1000ms cubic-bezier(0.22, 1, 0.36, 1), transform 1400ms cubic-bezier(0.22, 1, 0.36, 1);
}

.waste.is-visible img {
  opacity: 1;
  transform: scale(1);
}

.pillars {
  min-height: 820px;
  padding-top: 94px;
}

.node-logo {
  display: grid;
  width: 138px;
  height: 138px;
  margin: 0 auto 44px;
  place-items: center;
  border-radius: 50%;
  background: var(--paper);
  box-shadow: 0 0 30px rgba(72, 72, 220, 0.45);
}

.node-logo img {
  width: 110px;
  height: 70px;
  object-fit: cover;
  border-radius: 8px;
}

.pillar-grid {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 30px 44px;
  max-width: 1220px;
  margin: 0 auto;
}

.pillar-grid article {
  position: relative;
  padding-top: 54px;
  text-align: center;
}

.pillar-grid article:nth-child(1),
.pillar-grid article:nth-child(3) {
  grid-column: span 2;
}

.pillar-grid article:nth-child(2),
.pillar-grid article:nth-child(5) {
  grid-column: span 2;
}

.pillar-grid article:nth-child(4) {
  grid-column: 3 / span 2;
}

.pillar-grid span {
  position: absolute;
  top: 0;
  left: 50%;
  transform: translateX(-50%);
  display: grid;
  width: 42px;
  height: 42px;
  place-items: center;
  color: var(--paper);
  border-radius: 50%;
  background: linear-gradient(135deg, var(--blue), var(--violet));
  font-weight: 900;
}

.pillar-grid p {
  margin-bottom: 0;
  color: #111827;
  font-size: 1rem;
}

.comparison h2 {
  text-align: center;
  color: #162143;
}

.compare-table {
  max-width: 1220px;
  margin: 64px auto 0;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.72);
  box-shadow: var(--shadow);
}

.row {
  display: grid;
  grid-template-columns: 1.15fr 0.95fr 1fr 1.45fr;
  align-items: center;
  min-height: 96px;
  border-bottom: 1px solid var(--line);
}

.row:last-child {
  border-bottom: 0;
}

.row > * {
  height: 100%;
  display: grid;
  align-items: center;
  padding: 20px 24px;
  border-right: 1px solid var(--line);
  font-size: clamp(1rem, 1.75vw, 1.5rem);
  line-height: 1.18;
  font-style: normal;
  text-align: center;
}

.row > *:last-child {
  border-right: 0;
  background: rgba(137, 169, 246, 0.22);
}

.row.head {
  min-height: 86px;
  font-weight: 900;
}

.row.head strong:last-child {
  background: rgba(125, 156, 238, 0.34);
}

.row span {
  font-weight: 700;
}

.bad {
  color: #df1111;
  font-size: 3.6rem;
}

.good {
  position: relative;
  padding-left: 66px;
  color: #101827;
  font-weight: 800;
  text-align: left;
}

.good::before {
  content: "✓";
  position: absolute;
  left: 24px;
  top: 50%;
  transform: translateY(-50%);
  display: grid;
  width: 32px;
  height: 32px;
  place-items: center;
  color: var(--paper);
  border-radius: 50%;
  background: #16b45f;
  font-size: 1.3rem;
}

.business {
  display: grid;
  grid-template-columns: 1fr 0.9fr;
  align-items: center;
  gap: 64px;
}

.business-copy {
  max-width: 620px;
}

.business-copy h2 {
  font-weight: 500;
}

.business::after {
  content: "↗";
  position: absolute;
  right: 12%;
  top: 18%;
  color: var(--violet);
  font-size: 15rem;
  font-weight: 900;
  opacity: 0.85;
  text-shadow: 0 0 30px rgba(116, 54, 216, 0.45);
}

.thesis {
  position: relative;
  z-index: 1;
  padding: 34px;
  border-radius: 8px;
  color: var(--paper);
  background: linear-gradient(90deg, var(--navy), var(--violet));
  box-shadow: var(--shadow);
  font-size: clamp(1.35rem, 2.6vw, 2rem);
  line-height: 1.32;
  font-weight: 800;
}

.vision {
  display: grid;
  place-items: center;
  text-align: center;
}

.vision h2 {
  font-size: clamp(2rem, 3.6vw, 3.2rem);
}

.vision blockquote {
  max-width: 1060px;
  margin: 30px 0 0;
  padding-top: 44px;
  border-top: 1px solid rgba(16, 24, 39, 0.18);
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(2rem, 4vw, 3.35rem);
  font-style: italic;
  font-weight: 700;
  line-height: 1.2;
}

.final-cta {
  min-height: 620px;
  display: grid;
  place-items: center;
  padding: 100px 42px 150px;
  text-align: center;
  background:
    linear-gradient(135deg, rgba(245, 249, 255, 0.96), rgba(229, 248, 251, 0.94)),
    var(--paper);
}

.final-cta h2 {
  max-width: 880px;
  margin-bottom: 34px;
  font-size: clamp(2.4rem, 5.6vw, 5.2rem);
}
/*
.wave::before,
.wave::after {
  width: 112vw;
  height: 260px;
  left: -6vw;
  bottom: -125px;
  border-color: transparent;
  border-top-color: rgba(6, 25, 54, 0.9);
  border-radius: 50% 50% 0 0;
  background: linear-gradient(90deg, rgba(6, 25, 54, 0.92), rgba(39, 130, 122, 0.82));
}*/

.wave::after {
  bottom: -150px;
  transform: rotate(-3deg);
  opacity: 0.8;
}

.footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 24px 42px;
  color: #5f6877;
  background: var(--paper);
}

.reveal {
  opacity: 0;
  transform: translateY(18px);
  transition: opacity 700ms ease, transform 700ms ease;
/*  
  transform: translateY(28px);
  transition: opacity 900ms cubic-bezier(0.22, 1, 0.36, 1), transform 900ms cubic-bezier(0.22, 1, 0.36, 1);
*/
}

.reveal.is-visible {
  opacity: 1;
  transform: translateY(0);
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  .reveal,
  .product-window,
  .product-window img,
  .waste img {
    transition: none;
    transform: none;
  }
}

@media (max-width: 1020px) {
  .site-header {
    padding: 12px 22px;
  }

  .nav-links {
    display: none;
  }

  .deck-dark,
  .deck-light,
  .deck-gradient,
  .deck-white {
    min-height: auto;
    padding: 96px 24px 70px;
  }

  .market,
  .solution,
  .business {
    grid-template-columns: 1fr;
  }

  .projection::before,
  .business::after {
    display: none;
  }

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

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

  .pillar-grid article,
  .pillar-grid article:nth-child(1),
  .pillar-grid article:nth-child(2),
  .pillar-grid article:nth-child(3),
  .pillar-grid article:nth-child(4),
  .pillar-grid article:nth-child(5) {
    grid-column: auto;
  }

  .compare-table {
    border-radius: 8px;
  }

  .row.head {
    display: none;
  }

  .row,
  .row:not(.head) {
    grid-template-columns: 1fr;
    min-height: auto;
  }

  .row:not(.head) {
    margin: 14px;
    overflow: hidden;
    border: 1px solid rgba(16, 24, 39, 0.12);
    border-radius: 8px;
    background: rgba(255, 255, 255, 0.72);
    box-shadow: 0 16px 34px rgba(19, 32, 56, 0.08);
  }

  .row:not(.head) > * {
    min-height: 0;
    border-right: 0;
    border-bottom: 1px solid var(--line);
  }

  .row:not(.head) > *:last-child {
    border-bottom: 0;
  }

  .row:not(.head) > span:first-child {
    justify-items: start;
    padding: 18px 18px;
    color: var(--paper);
    background: linear-gradient(135deg, var(--navy), var(--blue));
    font-size: 1.05rem;
    text-align: left;
  }

  .row:not(.head) > b,
  .row:not(.head) > em {
    position: relative;
    grid-template-columns: minmax(118px, 0.42fr) 1fr;
    justify-items: start;
    gap: 14px;
    padding: 16px 18px;
    font-size: 0.98rem;
    text-align: left;
  }

  .row:not(.head) > b::before,
  .row:not(.head) > em::before {
    color: #536172;
    font-size: 0.76rem;
    font-weight: 900;
    letter-spacing: 0;
    text-transform: uppercase;
  }

  .row:not(.head) > *:nth-child(2)::before {
    content: "Gestão manual";
  }

  .row:not(.head) > *:nth-child(3)::before {
    content: "ERP genérico";
  }

  .row:not(.head) > *:nth-child(4)::before {
    content: "Oncora";
  }

  .bad {
    color: #df1111;
    font-size: 1.5rem;
    font-weight: 900;
  }

  .good {
    padding-left: 18px;
    background: rgba(137, 169, 246, 0.22);
  }

  .good::before {
    position: static;
    transform: none;
    display: block;
    width: auto;
    height: auto;
    color: #536172;
    border-radius: 0;
    background: transparent;
    font-size: 0.76rem;
  }
}

@media (max-width: 640px) {
  .site-header {
    height: 66px;
    padding: 10px 16px;
  }

  .brand,
  .footer img {
    width: 122px;
    height: 36px;
  }

  .header-cta {
    min-height: 38px;
    padding: 0 13px;
    font-size: 0.82rem;
  }

  .deck-dark,
  .deck-light,
  .deck-gradient,
  .deck-white {
    padding: 86px 18px 56px;
  }

  .hero.deck-dark {
    min-height: 88svh;
    align-items: center;
    padding: 96px 18px 72px;
    background:
      linear-gradient(0deg, rgba(4, 13, 31, 0.82), rgba(4, 13, 31, 0.18) 58%, rgba(4, 13, 31, 0.32)),
      url("assets/presentation/image1.png") center / auto 100% no-repeat,
      #06152e;
  }

  .hero::after {
    height: 96px;
  }

  .hero-center {
    align-self: end;
    width: 100%;
    padding-bottom: 0;
  }

  .hero-center h1 {
    position: static;
    width: min(100%, 380px);
    height: auto;
    overflow: visible;
    clip: auto;
    white-space: normal;
    color: var(--paper);
    font-size: clamp(2rem, 10vw, 3rem);
    line-height: 1.02;
    font-weight: 900;
    text-shadow: 0 8px 24px rgba(0, 0, 0, 0.38);
  }

  .hero-center .button {
    width: min(100%, 320px);
  }

  .market-numbers strong,
  .projection strong {
    font-size: 3rem;
  }

  .pain-grid {
    gap: 22px;
    margin-top: 42px;
  }

  .pain-grid article {
    min-height: 128px;
    border-top-width: 28px;
  }

  .solution-copy p {
    font-size: 1.05rem;
  }

  .product-window img {
    min-height: 330px;
  }

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

  .comparison {
    padding-right: 12px;
    padding-left: 12px;
  }

  .comparison h2 {
    padding: 0 6px;
    font-size: clamp(1.9rem, 8vw, 2.45rem);
    text-align: left;
  }

  .compare-table {
    margin-top: 34px;
    border: 0;
    background: transparent;
    box-shadow: none;
  }

  .row:not(.head) {
    margin: 0 0 16px;
  }

  .vision blockquote {
    font-size: 1.8rem;
  }

  .final-cta {
    min-height: 520px;
    padding: 82px 18px 128px;
  }

  .button {
    width: 100%;
  }

  .footer {
    padding: 22px 18px;
  }
}
