:root {
  --black: #020509;
  --navy: #071b31;
  --navy-2: #061325;
  --blue: #48b6f2;
  --blue-bright: #50bcf6;
  --text: #f5f7fb;
  --muted: #a9b6c5;
  --border: rgba(70, 172, 231, 0.28);
  --card: rgba(8, 19, 31, 0.62);
  --max: 1216px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--text);
  background: var(--black);
  font-family: ui-sans-serif, system-ui, -apple-system, "Segoe UI", sans-serif;
}

body,
a,
button {
  -webkit-font-smoothing: antialiased;
}

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

p,
h1,
h2,
h3,
figure {
  margin: 0;
}

.header {
  align-items: center;
  background: transparent;
  display: flex;
  height: 160px;
  justify-content: space-between;
  left: 0;
  padding: 16px 32px;
  position: fixed;
  right: 0;
  top: 0;
  transition: background 240ms ease, height 240ms ease, backdrop-filter 240ms ease;
  z-index: 20;
}

.header.scrolled {
  backdrop-filter: blur(14px);
  background: rgba(0, 0, 0, 0.82);
}

.brand img {
  display: block;
  height: auto;
  width: 346px;
}

.brand,
.header nav {
  flex-shrink: 0;
}

.button {
  align-items: center;
  border-radius: 10px;
  display: inline-flex;
  font-size: 17px;
  font-weight: 700;
  height: 70px;
  justify-content: center;
  min-width: 278px;
  transition: transform 180ms ease, box-shadow 180ms ease;
  white-space: nowrap;
}

.button:hover {
  transform: translateY(-2px);
}

.button-primary {
  background: var(--blue-bright);
  color: #03101b;
}

.button-primary:hover {
  box-shadow: 0 14px 34px rgba(72, 182, 242, 0.27);
}

.button-outline {
  border: 2px solid rgba(70, 184, 242, 0.65);
}

.header-button {
  font-size: 16px;
  height: 49px;
  min-width: 161px;
}

.cover-image,
.solution-image,
.cta-image {
  height: 100%;
  left: 0;
  object-fit: cover;
  position: absolute;
  top: 0;
  width: 100%;
}

.hero {
  align-items: center;
  display: flex;
  height: 720px;
  justify-content: center;
  overflow: hidden;
  position: relative;
}

.hero .cover-image {
  object-position: center 47%;
}

.hero-shade {
  background:
    radial-gradient(circle at 50% 56%, rgba(22, 90, 126, 0.21), transparent 37%),
    linear-gradient(0deg, rgba(0, 4, 8, 0.98), rgba(0, 4, 8, 0.37) 48%, rgba(0, 0, 0, 0.58));
  inset: 0;
  position: absolute;
}

.hero-content {
  max-width: 1152px;
  position: relative;
  text-align: center;
  width: calc(100% - 128px);
}

.eyebrow {
  color: var(--blue);
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.19em;
  margin-bottom: 24px;
  text-transform: uppercase;
}

.eyebrow::before {
  background: linear-gradient(90deg, transparent, var(--blue), transparent);
  content: "";
  display: block;
  height: 3px;
  margin: 0 0 28px;
  width: 52px;
}

.eyebrow.pill {
  border: 1px solid rgba(81, 187, 244, 0.4);
  border-radius: 999px;
  display: inline-flex;
  margin-bottom: 42px;
  padding: 15px 25px;
}

.eyebrow.pill::before {
  display: none;
}

.hero h1 {
  font-size: clamp(62px, 7.5vw, 96px);
  letter-spacing: normal;
  line-height: 1.25;
}

h1 span,
h2 span {
  color: var(--blue);
}

.hero-copy {
  color: #e2e7ed;
  font-size: 22px;
  font-weight: 500;
  line-height: 1.7;
  margin: 35px auto 43px;
  max-width: 700px;
}

.hero-actions {
  display: flex;
  gap: 23px;
  justify-content: center;
}

.section {
  margin: 0 auto;
  max-width: var(--max);
  position: relative;
}

.problems {
  display: grid;
  gap: 64px;
  grid-template-columns: 1fr 1fr;
  min-height: 1104px;
  padding: 128px 0;
}

.problems h2,
.integration h2 {
  font-size: 60px;
  letter-spacing: -0.065em;
  line-height: 1.24;
  margin-bottom: 45px;
}

.issue-grid {
  display: grid;
  gap: 18px;
}

.issue-card {
  align-items: center;
  background: rgba(255, 255, 255, 0.035);
  border: 1px solid rgba(143, 166, 188, 0.19);
  border-radius: 16px;
  display: flex;
  gap: 18px;
  min-height: 116px;
  padding: 20px 24px;
}

.icon {
  align-items: center;
  background: rgba(63, 172, 232, 0.1);
  border: 1px solid rgba(72, 182, 242, 0.35);
  border-radius: 12px;
  color: var(--blue);
  display: flex;
  flex: 0 0 48px;
  font-weight: 700;
  height: 48px;
  justify-content: center;
}

.issue-card h3 {
  font-size: 20px;
  margin-bottom: 9px;
}

.issue-card p,
.lead,
.flow p,
.feature-cards p {
  color: var(--muted);
  font-size: 16px;
  line-height: 1.55;
}

.problems-media {
  border-radius: 16px;
  height: 848px;
  overflow: hidden;
}

.problems-media img {
  height: 100%;
  object-fit: cover;
  object-position: center;
  width: 100%;
}

.section-grid {
  background-color: var(--navy-2);
  background-image:
    linear-gradient(rgba(65, 117, 162, 0.1) 1px, transparent 1px),
    linear-gradient(90deg, rgba(65, 117, 162, 0.1) 1px, transparent 1px);
  background-size: 64px 64px;
  overflow: hidden;
  position: relative;
}

.solution {
  height: 996px;
}

.solution-image {
  opacity: 0.13;
}

.solution-shade {
  background: linear-gradient(180deg, rgba(2, 5, 9, 0.98), rgba(7, 27, 49, 0.92));
  inset: 0;
  position: absolute;
}

.solution-content {
  margin: auto;
  max-width: 1024px;
  padding-top: 115px;
  position: relative;
  text-align: center;
}

.centered::before {
  margin-left: auto;
  margin-right: auto;
}

.solution h2,
.features h2 {
  font-size: 60px;
  letter-spacing: -0.06em;
  line-height: 1.25;
}

.flow {
  align-items: center;
  display: grid;
  gap: 24px;
  grid-template-columns: 1fr 42px 1fr 42px 1fr;
  margin: 68px auto;
}

.flow article {
  background: rgba(13, 29, 46, 0.72);
  border: 1px solid var(--border);
  border-radius: 16px;
  min-height: 198px;
  padding: 27px 15px;
}

.flow strong {
  align-items: center;
  background: rgba(59, 173, 232, 0.11);
  border: 1px solid var(--border);
  border-radius: 50%;
  color: var(--blue);
  display: inline-flex;
  font-size: 27px;
  height: 52px;
  justify-content: center;
  margin-bottom: 17px;
  width: 52px;
}

.flow h3 {
  font-size: 19px;
  margin-bottom: 9px;
}

.flow i {
  background: linear-gradient(90deg, var(--blue), rgba(72, 182, 242, 0.15));
  display: block;
  height: 2px;
  position: relative;
}

.flow i::after {
  border-right: 2px solid var(--blue);
  border-top: 2px solid var(--blue);
  content: "";
  height: 7px;
  position: absolute;
  right: 0;
  top: -4px;
  transform: rotate(45deg);
  width: 7px;
}

.stats {
  display: grid;
  gap: 30px;
  grid-template-columns: repeat(3, 1fr);
}

.stats div {
  background: rgba(11, 28, 45, 0.6);
  border: 1px solid rgba(72, 182, 242, 0.18);
  border-radius: 16px;
  padding: 31px;
}

.stats strong {
  color: var(--blue);
  display: block;
  font-size: 47px;
  margin-bottom: 13px;
}

.stats small {
  color: #b5bdc8;
  font-size: 16px;
}

.integration {
  display: grid;
  gap: 64px;
  grid-template-columns: 1fr 1fr;
  max-width: none;
  min-height: 998px;
  padding: 124px max(calc((100vw - var(--max)) / 2), 32px);
  background: var(--navy);
}

.integration-media {
  border-radius: 16px;
  height: 680px;
  overflow: hidden;
  position: relative;
}

.integration-media img {
  height: 100%;
  object-fit: cover;
  object-position: center 53%;
  width: 100%;
}

.integration-media figcaption {
  align-items: center;
  background: rgba(0, 4, 9, 0.94);
  border: 1px solid var(--border);
  border-radius: 15px;
  bottom: 33px;
  display: grid;
  grid-template-columns: 54px auto;
  left: 33px;
  padding: 19px 23px;
  position: absolute;
  width: 260px;
}

.bolt {
  align-items: center;
  background: #10233a;
  border-radius: 50%;
  color: var(--blue);
  display: flex;
  font-size: 30px;
  grid-row: span 2;
  height: 47px;
  justify-content: center;
  width: 47px;
}

.integration-media small {
  color: var(--muted);
}

.integration-copy {
  padding-top: 94px;
}

.integration-copy .lead {
  font-size: 18px;
  margin-bottom: 42px;
  max-width: 470px;
}

.compatibility {
  color: #91a1b1;
  font-size: 14px;
  font-weight: 700;
  letter-spacing: 0.04em;
  margin-bottom: 23px;
  text-transform: uppercase;
}

.systems {
  list-style: none;
  margin: 0 0 52px;
  padding: 0;
}

.systems li {
  align-items: center;
  display: flex;
  font-size: 17px;
  gap: 16px;
  margin-bottom: 21px;
}

.systems li::before {
  align-items: center;
  border: 1px solid rgba(72, 182, 242, 0.45);
  border-radius: 50%;
  color: var(--blue);
  content: "✓";
  display: inline-flex;
  height: 32px;
  justify-content: center;
  width: 32px;
}

.connection {
  border: 1px solid var(--border);
  border-radius: 13px;
  color: #bbc5cf;
  display: inline-block;
  padding: 18px 31px;
}

.impact {
  background: var(--black);
  padding: 0 32px 62px;
}

.impact-frame {
  height: 588px;
  margin: 0 auto;
  max-width: 1024px;
  overflow: hidden;
  position: relative;
}

.impact-frame img {
  height: 100%;
  object-fit: cover;
  width: 100%;
}

.impact-shade {
  background: rgba(1, 8, 14, 0.63);
  inset: 0;
  position: absolute;
}

.impact-copy {
  align-items: center;
  display: flex;
  flex-direction: column;
  inset: 0;
  justify-content: center;
  position: absolute;
  text-align: center;
}

.impact-copy h2 {
  font-size: 58px;
  line-height: 1.25;
}

.impact-copy p {
  color: #e0e7ee;
  font-size: 25px;
  margin: 35px 0 53px;
}

.qualities {
  background: rgba(9, 18, 27, 0.74);
  border: 1px solid rgba(72, 182, 242, 0.22);
  border-radius: 50px;
  display: flex;
  gap: 54px;
  padding: 25px 46px;
}

.qualities span {
  font-size: 17px;
  font-weight: 600;
}

.features {
  min-height: 1060px;
  padding: 130px 32px 112px;
  text-align: center;
}

.features-inner {
  margin: 0 auto;
  max-width: 1024px;
}

.centered-copy {
  font-size: 19px;
  margin: 31px auto 67px;
}

.feature-cards {
  display: grid;
  gap: 28px;
  grid-template-columns: repeat(3, 1fr);
}

.feature-cards article {
  background: rgba(9, 21, 35, 0.62);
  border: 1px solid var(--border);
  border-radius: 16px;
  min-height: 247px;
  padding: 38px 27px;
  text-align: left;
}

.feature-cards span {
  color: var(--blue);
  display: block;
  font-size: 31px;
  margin-bottom: 29px;
}

.feature-cards h3 {
  font-size: 20px;
  margin-bottom: 16px;
}

.brazil {
  border: 1px solid var(--border);
  border-radius: 50px;
  color: #adb9c6;
  display: inline-block;
  margin-top: 72px;
  padding: 21px 42px;
}

.cta {
  height: 1304px;
  overflow: hidden;
  position: relative;
}

.cta-image {
  filter: blur(8px);
  inset: -32px;
  height: calc(100% + 64px);
  width: calc(100% + 64px);
}

.cta-shade {
  background: rgba(3, 12, 20, 0.8);
  inset: 0;
  position: absolute;
}

.cta-content {
  align-items: center;
  display: flex;
  flex-direction: column;
  height: 100%;
  justify-content: center;
  padding-top: 34px;
  position: relative;
  text-align: center;
}

.cta-content h2 {
  font-size: 78px;
  letter-spacing: -0.025em;
  line-height: 1.22;
}

.cta-content .lead {
  color: #dce5ee;
  font-size: 20px;
  margin: 37px 0 45px;
}

.button.large {
  gap: 18px;
  min-width: 326px;
}

.button.large span {
  font-size: 25px;
}

.contacts {
  display: flex;
  gap: 40px;
  margin-top: 67px;
}

.contacts a {
  color: var(--muted);
}

.footer-copy {
  bottom: 37px;
  color: #68788a;
  position: absolute;
}

.reveal {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity 680ms ease, transform 680ms ease;
}

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

@media (max-width: 900px) {
  .header {
    height: 86px;
    padding: 14px 18px;
  }

  .brand img {
    width: 165px;
  }

  .header-button {
    font-size: 13px;
    height: 43px;
    min-width: 117px;
  }

  .header nav,
  .header .header-button {
    height: 43px;
    min-width: 117px;
    width: 117px;
  }

  .hero {
    height: auto;
    min-height: 760px;
  }

  .hero-content {
    margin-top: 76px;
    width: calc(100% - 36px);
  }

  .eyebrow.pill {
    margin-bottom: 28px;
  }

  .hero h1 {
    font-size: clamp(39px, 12vw, 58px);
    line-height: 1.15;
  }

  .hero-copy {
    font-size: 16px;
    line-height: 1.6;
    margin: 25px auto 32px;
  }

  .hero-actions {
    flex-direction: column;
  }

  .button {
    height: 57px;
    min-width: 100%;
  }

  .problems,
  .integration {
    display: flex;
    flex-direction: column;
    gap: 42px;
    min-height: 0;
    padding: 72px 20px;
  }

  .problems h2,
  .integration h2,
  .solution h2,
  .features h2 {
    font-size: clamp(35px, 10vw, 46px);
  }

  .problems-media {
    height: 520px;
  }

  .solution {
    height: auto;
    min-height: 1080px;
  }

  .solution-content {
    padding: 72px 20px;
  }

  .flow,
  .stats,
  .feature-cards {
    display: flex;
    flex-direction: column;
  }

  .flow {
    margin: 45px 0;
  }

  .flow article,
  .stats div {
    width: 100%;
  }

  .flow i {
    height: 32px;
    width: 2px;
  }

  .integration-media {
    height: 535px;
  }

  .integration-copy {
    padding-top: 0;
  }

  .impact {
    padding: 0 20px 48px;
  }

  .impact-frame {
    height: 540px;
  }

  .impact-copy {
    padding: 22px;
  }

  .impact-copy h2 {
    font-size: 37px;
  }

  .impact-copy p {
    font-size: 17px;
    margin: 25px 0 32px;
  }

  .qualities {
    align-items: center;
    flex-direction: column;
    gap: 18px;
    padding: 20px;
  }

  .features {
    min-height: 0;
    padding: 75px 20px;
  }

  .feature-cards article {
    min-height: 0;
  }

  .cta {
    height: 890px;
  }

  .cta-content {
    padding: 70px 20px 40px;
  }

  .cta-content h2 {
    font-size: clamp(43px, 12vw, 56px);
  }

  .contacts {
    align-items: center;
    flex-direction: column;
    gap: 16px;
    margin-top: 45px;
  }
}

/* Movimento sobre o layout original. Os estilos finais mantêm as posições de origem. */
@media (prefers-reduced-motion: no-preference) {
  .hero .cover-image {
    animation: hero-image-arrive 1900ms cubic-bezier(0.22, 1, 0.36, 1) both;
  }

  .hero-content .eyebrow,
  .hero-content h1,
  .hero-content .hero-copy,
  .hero-content .hero-actions {
    animation: hero-copy-arrive 850ms cubic-bezier(0.22, 1, 0.36, 1) both;
  }

  .hero-content .eyebrow { animation-delay: 150ms; }
  .hero-content h1 { animation-delay: 280ms; }
  .hero-content .hero-copy { animation-delay: 430ms; }
  .hero-content .hero-actions { animation-delay: 560ms; }

  .reveal {
    transition-duration: 850ms;
    transition-timing-function: cubic-bezier(0.22, 1, 0.36, 1);
  }

  .issue-card,
  .flow article,
  .stats div,
  .feature-cards article {
    opacity: 0;
    transform: translateY(16px);
    transition: opacity 650ms ease, transform 750ms cubic-bezier(0.22, 1, 0.36, 1);
  }

  .reveal.is-visible .issue-card,
  .reveal.is-visible .flow article,
  .reveal.is-visible .stats div,
  .reveal.is-visible .feature-cards article {
    opacity: 1;
    transform: translateY(0);
  }

  .reveal.is-visible .issue-card:nth-child(2),
  .reveal.is-visible .flow article:nth-of-type(2),
  .reveal.is-visible .stats div:nth-child(2),
  .reveal.is-visible .feature-cards article:nth-child(2) { transition-delay: 85ms; }

  .reveal.is-visible .issue-card:nth-child(3),
  .reveal.is-visible .flow article:nth-of-type(3),
  .reveal.is-visible .stats div:nth-child(3),
  .reveal.is-visible .feature-cards article:nth-child(3) { transition-delay: 170ms; }

  .reveal.is-visible .issue-card:nth-child(4) { transition-delay: 255ms; }

  .problems-media img,
  .integration-media img,
  .impact-frame img {
    transform: scale(1.035);
    transition: transform 1200ms cubic-bezier(0.22, 1, 0.36, 1);
  }

  .problems-media.is-visible img,
  .integration-media.is-visible img,
  .impact-frame.is-visible img { transform: scale(1); }

  .button {
    transition: transform 220ms cubic-bezier(0.22, 1, 0.36, 1),
      box-shadow 220ms ease, filter 220ms ease;
  }

  .button:hover { filter: brightness(1.06); }
  .button:active { transform: translateY(0) scale(0.985); }
}

@media (max-width: 640px) {
  .hero .cover-image { object-position: 100% center; }
  .impact-frame img { object-position: 80% center; }
  .hero h1,
  .hero-copy { text-shadow: 0 2px 18px rgba(0, 0, 0, 0.82); }
}

@keyframes hero-image-arrive {
  from { opacity: 0.62; transform: scale(1.055); }
  to { opacity: 1; transform: scale(1); }
}

@keyframes hero-copy-arrive {
  from { opacity: 0; transform: translateY(18px); }
  to { opacity: 1; transform: translateY(0); }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
  .reveal,
  .issue-card,
  .flow article,
  .stats div,
  .feature-cards article {
    opacity: 1;
    transform: none;
  }
}
