/* =========================================================
   UPRISE INTELECT - STYLE.CSS
   Versão final pronta para publicação
========================================================= */

/* =========================
   RESET
========================= */
*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: "Montserrat", sans-serif;
  background: #f4f6f8;
  color: #1f2933;
  overflow-x: hidden;
  line-height: 1.6;
}

body.menu-open {
  overflow: hidden;
}

img {
  max-width: 100%;
  display: block;
}

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

ul {
  margin: 0;
  padding-left: 1.2rem;
}

h1,
h2,
h3,
h4,
h5,
h6,
p,
a,
li,
span,
button,
input,
textarea,
label {
  font-family: "Montserrat", sans-serif;
  margin-top: 0;
}

/* =========================
   VARIÁVEIS
========================= */
:root {
  --container: 1200px;

  --bg-light: #f4f6f8;
  --bg-white: #ffffff;
  --bg-dark: #081525;
  --bg-navy: #10223d;

  --text: #1f2933;
  --text-soft: #5b6875;
  --white: #ffffff;

  --cyan: #06aac8;
  --cyan-strong: #0098ba;
  --cyan-dark: #007891;
  --lime: #ebebeb;
  --green-soft: #424242;
  --purple-gray: #a2a9bb;

  --shadow: 0 14px 34px rgba(0, 0, 0, 0.12);
  --shadow-soft: 0 8px 18px rgba(0, 0, 0, 0.08);

  --radius-sm: 10px;
  --radius-md: 18px;
  --radius-lg: 26px;

  --topbar-h: 72px;
}

/* =========================
   BASE
========================= */
.container {
  width: min(100% - 40px, var(--container));
  margin: 0 auto;
  position: relative;
  z-index: 2;
}

.section {
  position: relative;
  padding: 88px 0;
  overflow: hidden;
}

.bg-media {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.overlay {
  position: absolute;
  inset: 0;
  z-index: 1;
}

.overlay-blue {
  background: linear-gradient(
    90deg,
    rgba(17, 33, 61, 0.55) 0%,
    rgba(37, 54, 87, 0.34) 42%,
    rgba(25, 39, 68, 0.45) 100%
  );
}

.overlay-blue-heavy {
  background: linear-gradient(
    180deg,
    rgba(4, 18, 34, 0.5) 0%,
    rgba(4, 18, 34, 0.32) 45%,
    rgba(4, 18, 34, 0.6) 100%
  );
}

.overlay-warm {
  background: linear-gradient(
    180deg,
    rgba(255, 255, 255, 0.24) 0%,
    rgba(9, 22, 38, 0.22) 100%
  );
}

.overlay-soft {
  background: linear-gradient(
    180deg,
    rgba(20, 24, 40, 0.18) 0%,
    rgba(20, 24, 40, 0.34) 100%
  );
}

.hero,
.business-model,
.investor-section,
.thanks-section,
.services-section {
  color: var(--white);
}

.split-section,
.strategy-section,
.finance-section,
.alt-bg {
  background: var(--bg-light);
}

.center-title {
  text-align: center;
  font-weight: 800;
  font-size: clamp(2rem, 4vw, 3.4rem);
  line-height: 1;
  letter-spacing: -0.02em;
  color: var(--cyan-strong);
  margin-bottom: 28px;
  text-transform: uppercase;
}

/* =========================
   PRELOADER
========================= */
#preloader {
  position: fixed;
  inset: 0;
  background: radial-gradient(circle at center, #183154 0%, #081525 75%);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 18px;
  z-index: 9999;
  transition: opacity 0.4s ease, visibility 0.4s ease;
}

#preloader.hidden {
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
}

.loader-circle {
  width: 96px;
  height: 96px;
  border-radius: 50%;
  border: 2px solid rgba(255, 255, 255, 0.16);
  border-top-color: var(--cyan);
  border-right-color: rgba(255, 255, 255, 0.45);
  display: grid;
  place-items: center;
  animation: spin 1.15s linear infinite;
  position: relative;
  box-shadow: 0 0 22px rgba(6, 170, 200, 0.16);
}

.plane {
  font-size: 1.7rem;
  color: #ffffff;
  display: inline-block;
  animation: plane-spin 1s ease-in-out infinite;
  transform-origin: center center;
  filter: drop-shadow(0 0 10px rgba(255, 255, 255, 0.25));
}

.loading-text {
  color: rgba(255, 255, 255, 0.94);
  letter-spacing: 0.12em;
  text-transform: uppercase;
  font-size: 0.82rem;
  font-weight: 700;
}

@keyframes spin {
  to {
    transform: rotate(360deg);
  }
}

@keyframes plane-spin {
  0% {
    transform: rotate(0deg) scale(1);
  }
  25% {
    transform: rotate(90deg) scale(1.08);
  }
  50% {
    transform: rotate(180deg) scale(1);
  }
  75% {
    transform: rotate(270deg) scale(1.08);
  }
  100% {
    transform: rotate(360deg) scale(1);
  }
}

/* =========================
   TOPBAR
========================= */
.topbar {
  position: fixed;
  inset: 0 0 auto 0;
  width: 100%;
  height: var(--topbar-h);
  z-index: 3000;
  background: rgba(7, 18, 33, 0.6);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.topbar-inner {
  min-height: var(--topbar-h);
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 18px;
}

.brand-wrap {
  display: flex;
  align-items: center;
  gap: 12px;
  min-width: 0;
}

.brand-logo {
  width: 54px;
  height: auto;
  object-fit: contain;
  flex-shrink: 0;
}

.brand-kicker {
  margin: 0;
  font-size: 0.95rem;
  font-weight: 700;
  color: #ffffff;
  text-shadow: 0 2px 8px rgba(0, 0, 0, 0.22);
  line-height: 1.15;
}

.main-nav {
  display: flex;
  align-items: center;
  gap: 18px;
}

.main-nav a {
  font-size: 0.9rem;
  font-weight: 700;
  color: rgba(255, 255, 255, 0.96);
  position: relative;
  transition: color 0.25s ease;
}

.main-nav a::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -5px;
  width: 0;
  height: 2px;
  background: var(--cyan);
  transition: width 0.25s ease;
}

.main-nav a:hover {
  color: #ffffff;
}

.main-nav a:hover::after {
  width: 100%;
}

.menu-toggle {
  display: none;
  width: 44px;
  height: 44px;
  border: 0;
  background: transparent;
  cursor: pointer;
  position: relative;
  padding: 0;
}

.menu-toggle span {
  position: absolute;
  left: 9px;
  width: 26px;
  height: 2px;
  background: #ffffff;
  transition: 0.28s ease;
}

.menu-toggle span:nth-child(1) {
  top: 14px;
}

.menu-toggle span:nth-child(2) {
  top: 21px;
}

.menu-toggle span:nth-child(3) {
  top: 28px;
}

.menu-toggle.active span:nth-child(1) {
  transform: rotate(45deg);
  top: 21px;
}

.menu-toggle.active span:nth-child(2) {
  opacity: 0;
}

.menu-toggle.active span:nth-child(3) {
  transform: rotate(-45deg);
  top: 21px;
}

/* =========================
   ELEMENTOS GERAIS
========================= */
.section-eyebrow {
  font-size: 0.88rem;
  font-weight: 800;
  letter-spacing: 0.03em;
  color: var(--cyan-strong);
  display: inline-block;
  margin-bottom: 10px;
  text-transform: uppercase;
}

.highlight-line {
  font-style: italic;
  font-weight: 700;
  color: var(--cyan-dark);
}

.content-narrow {
  max-width: 1050px;
}

.text-card {
  border-radius: var(--radius-md);
}

.text-card.light {
  background: rgba(255, 255, 255, 0.96);
  color: var(--text);
  box-shadow: var(--shadow-soft);
}

.text-card.dark-translucent {
  background: rgba(7, 18, 33, 0.5);
  color: #ffffff;
  backdrop-filter: blur(5px);
  box-shadow: var(--shadow-soft);
}

.text-card.light p,
.text-card.light li {
  color: #2d3640;
}

.text-card.dark-translucent p,
.text-card.dark-translucent li {
  color: rgba(255, 255, 255, 0.94);
}

/* =========================
   BOTÃO/SETA
========================= */
.scroll-btn {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  border: 2px solid rgba(255, 255, 255, 0.9);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: #ffffff;
  font-size: 1.35rem;
  position: absolute;
  right: 20px;
  bottom: 20px;
  z-index: 3;
  background: rgba(255, 255, 255, 0.06);
  transition: transform 0.25s ease, background 0.25s ease;
}

.scroll-btn:hover {
  transform: translateY(2px);
  background: rgba(255, 255, 255, 0.14);
}

/* =========================
   HERO
========================= */
.hero {
  padding-top: 100px;
  min-height: 92vh;
}

.hero-content {
  min-height: calc(92vh - 100px);
  display: flex;
  align-items: center;
}

.hero::before {
  content: "";
  position: absolute;
  left: 28px;
  top: 20px;
  width: 280px;
  height: 340px;
  border: 1px solid rgba(255, 255, 255, 0.16);
  clip-path: polygon(0 25%, 50% 0, 100% 25%, 100% 85%, 50% 100%, 0 85%);
  z-index: 2;
}

.hero-text-grid {
  width: 100%;
  display: grid;
  grid-template-columns: 1.1fr 1fr 1fr;
  grid-template-rows: 1fr 1fr;
  align-items: center;
  gap: 18px 22px;
  position: relative;
  z-index: 3;
}

.service-block {
  max-width: 280px;
}

.service-block span {
  display: inline-block;
  margin-bottom: 8px;
  font-size: 0.76rem;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.95);
}

.service-block h2 {
  margin: 0;
  font-size: clamp(1.9rem, 3vw, 3rem);
  font-weight: 800;
  line-height: 0.95;
  color: #f6f7f8;
  text-shadow: 0 4px 12px rgba(0, 0, 0, 0.28);
}

.top-left,
.bottom-left {
  grid-column: 2;
  justify-self: center;
  text-align: left;
}

.top-right,
.bottom-right {
  grid-column: 3;
  justify-self: center;
  text-align: left;
}

.top-left {
  grid-row: 1;
}

.top-right {
  grid-row: 1;
}

.bottom-left {
  grid-row: 2;
}

.bottom-right {
  grid-row: 2;
}

/* =========================
   ABOUT
========================= */
.intro {
  min-height: auto;
  display: flex;
  align-items: center;
}

.intro-content {
  position: relative;
  z-index: 2;
}

.intro-content h1 {
  text-align: center;
  font-size: clamp(2.6rem, 5vw, 4.6rem);
  font-weight: 800;
  line-height: 0.98;
  color: #ffffff;
  margin-bottom: 34px;
  text-transform: uppercase;
  text-shadow: 0 5px 16px rgba(0, 0, 0, 0.2);
}

.text-card.light {
  padding: 30px 34px;
  max-width: 980px;
  margin: 0 auto;
}

.text-card.light p,
.text-card.light li {
  font-size: 1rem;
}

.text-card.light strong {
  color: var(--cyan-strong);
}

/* =========================
   SPLIT SECTIONS
========================= */
.split-layout {
  display: grid;
  grid-template-columns: 0.95fr 1.05fr;
  gap: 34px;
  align-items: center;
}

.split-copy {
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.split-copy h2 {
  font-size: clamp(2.4rem, 4vw, 4rem);
  font-weight: 800;
  line-height: 0.96;
  color: var(--cyan-strong);
  margin-bottom: 18px;
  text-transform: uppercase;
}

.split-copy p,
.split-copy li {
  color: #2f3a44;
  font-size: 1rem;
}

.split-copy ul {
  margin: 16px 0 18px;
}

.media-grid-3 {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  grid-template-rows: repeat(2, 220px);
  gap: 18px;
}

.media-grid-3 img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-soft);
}

.media-grid-3 .tall {
  grid-row: 1 / 3;
}

/* =========================
   SERVICES
========================= */
.services-section {
  min-height: auto;
}

.services-section .container {
  padding-top: 10px;
}

.services-section .center-title {
  color: var(--cyan-strong);
  margin-bottom: 24px;
}

.cards-grid.four-cols {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
  position: relative;
  z-index: 2;
}

.service-card {
  background: rgba(0, 154, 183, 0.9);
  border: 1px solid rgba(255, 255, 255, 0.92);
  border-radius: 18px;
  padding: 20px 16px;
  color: #ffffff;
  min-height: 320px;
  backdrop-filter: blur(3px);
  box-shadow: var(--shadow-soft);
}

.service-card h3 {
  font-size: 1rem;
  font-weight: 800;
  line-height: 1.15;
  color: #ffffff;
  margin-bottom: 12px;
  text-transform: uppercase;
}

.service-card p {
  color: rgba(255, 255, 255, 0.98);
  font-size: 0.9rem;
  line-height: 1.5;
}

.service-card strong {
  color: #ffffff;
}

/* =========================
   BUSINESS MODEL
========================= */
.business-model {
  min-height: auto;
}

.panel-wrap {
  display: flex;
  min-height: 420px;
  align-items: center;
}

.panel-wrap.right {
  justify-content: flex-end;
}

.info-panel {
  width: min(100%, 520px);
  border-radius: 20px;
  padding: 28px 30px;
  border: 1px solid rgba(17, 17, 17, 0.35);
  box-shadow: var(--shadow);
}

.green-panel {
  background: linear-gradient(90deg, #15a9c6 0%, #7ad35f 100%);
}

.info-panel h2 {
  font-size: clamp(2.2rem, 4vw, 3.4rem);
  font-weight: 800;
  line-height: 1;
  margin-bottom: 8px;
  color: #ffffff;
  text-transform: uppercase;
}

.info-panel .subtitle {
  color: rgba(255, 255, 255, 0.95);
  font-size: 0.98rem;
  margin-bottom: 16px;
}

.info-panel ul {
  margin: 0 0 18px;
}

.info-panel li {
  color: #ffffff;
  font-size: 0.98rem;
  margin-bottom: 6px;
}

.info-panel blockquote {
  margin: 16px 0 20px;
  padding: 0;
  border: 0;
  color: rgba(255, 255, 255, 0.95);
  font-style: italic;
  font-size: 1rem;
}

.info-panel h3 {
  font-size: clamp(1.8rem, 3vw, 2.7rem);
  font-weight: 800;
  line-height: 1;
  color: #ffffff;
  margin-bottom: 10px;
  text-transform: uppercase;
}

/* =========================
   STRATEGY
========================= */
.strategy-section {
  color: var(--text);
}

.strategy-layout {
  display: grid;
  grid-template-columns: 0.95fr 1.05fr;
  gap: 28px;
  align-items: start;
}

.strategy-copy h2 {
  font-size: clamp(2.4rem, 4vw, 4rem);
  font-weight: 800;
  line-height: 0.96;
  color: var(--cyan-strong);
  margin-bottom: 8px;
  text-transform: uppercase;
}

.strategy-copy h3 {
  font-size: clamp(1.3rem, 2vw, 2rem);
  color: #2a2f35;
  margin-bottom: 0;
  font-weight: 800;
}

.strategy-photo img {
  width: 100%;
  height: 280px;
  object-fit: cover;
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-soft);
}

.roadmap {
  grid-column: 1 / -1;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  background: linear-gradient(90deg, #19b7d1 0%, #81d2a2 50%, #ead75a 100%);
  margin-top: 10px;
  padding: 24px;
  gap: 20px;
  border-radius: 18px;
  box-shadow: var(--shadow-soft);
}

.roadmap h4 {
  font-size: 1.35rem;
  font-weight: 800;
  color: #5b5467;
  margin-bottom: 10px;
}

.roadmap li {
  font-size: 0.98rem;
  color: #242424;
  margin-bottom: 5px;
}

/* =========================
   FINANCE
========================= */
.finance-section {
  color: var(--text);
}

.finance-layout {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: 0;
  align-items: stretch;
  min-height: 520px;
  border-radius: 18px;
  overflow: hidden;
  box-shadow: var(--shadow-soft);
}

.finance-copy.gradient-box {
  background: linear-gradient(90deg, #18bfd8 0%, #ead95d 100%);
  padding: 44px 36px;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.finance-copy h2 {
  font-size: clamp(2.5rem, 4vw, 4rem);
  font-weight: 800;
  line-height: 0.96;
  color: #0090b8;
  text-transform: uppercase;
  margin-bottom: 14px;
  text-shadow: 5px 5px 0 rgba(0, 0, 0, 0.06);
}

.finance-copy h3 {
  font-size: clamp(1.4rem, 2.4vw, 2rem);
  color: #202020;
  margin-bottom: 18px;
  font-weight: 800;
}

.finance-copy p,
.finance-copy li {
  color: #1f1f1f;
  font-size: 1rem;
}

.finance-copy .note {
  margin-top: 12px;
  color: #202020;
  font-style: normal;
  font-weight: 700;
}

.finance-media {
  display: grid;
  grid-template-rows: 150px 1fr;
  min-height: 520px;
}

.finance-media .top-banner,
.finance-media .main-shot {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* =========================
   INVESTOR
========================= */
.investor-section {
  min-height: auto;
}

.investor-content {
  padding-top: 8px;
}

.investor-content h2 {
  font-size: clamp(2.5rem, 4vw, 4rem);
  font-weight: 800;
  line-height: 0.98;
  color: var(--cyan-strong);
  text-transform: uppercase;
  margin-bottom: 8px;
}

.investor-content .lead {
  font-size: clamp(1.05rem, 1.8vw, 1.45rem);
  color: #ffffff;
  font-weight: 700;
  margin-bottom: 28px;
}

.investor-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 24px;
  text-align: left;
}

.investor-grid .text-card {
  padding: 24px;
  border-radius: 18px;
}

.investor-grid h3 {
  color: #ffffff;
  font-size: 1.2rem;
  font-weight: 800;
  margin-bottom: 12px;
}

.investor-grid li,
.investor-grid p {
  color: rgba(255, 255, 255, 0.96);
  font-size: 0.98rem;
}

.quote {
  margin-top: 14px;
  font-style: italic;
}

/* =========================
   CONTACT / THANKS
========================= */
.thanks-section {
  min-height: auto;
}

.thanks-layout {
  min-height: 480px;
  display: grid;
  grid-template-columns: 180px 1fr 330px;
  align-items: center;
  gap: 22px;
}

.thanks-brand {
  align-self: start;
}

.thanks-logo {
  width: 110px;
}

.thanks-message {
  position: relative;
  text-align: center;
  z-index: 3;
}

.big-circle {
  width: min(48vw, 400px);
  aspect-ratio: 1 / 1;
  margin: 0 auto;
  border-radius: 50%;
  background: rgba(255, 208, 220, 0.2);
  position: relative;
  display: grid;
  place-items: center;
  font-size: 4rem;
  color: transparent;
}

.big-circle::before {
  content: "";
  position: absolute;
  inset: 22%;
  border-radius: 50%;
  background: rgba(17, 14, 34, 0.5);
}

.big-circle::after {
  content: "O";
  position: absolute;
  inset: 0;
  display: grid;
  place-items: center;
  color: rgba(0, 0, 0, 0.15);
  font-size: clamp(10rem, 26vw, 22rem);
  line-height: 1;
  font-weight: 800;
}

.thanks-message h2 {
  position: absolute;
  inset: 0;
  display: grid;
  place-items: center;
  margin: 0;
  font-size: clamp(1.8rem, 3.2vw, 3.4rem);
  font-weight: 800;
  color: var(--cyan-strong);
  text-transform: uppercase;
  z-index: 4;
}

.contact-card {
  background: transparent;
  border: 0;
  border-radius: 0;
  padding: 0;
  box-shadow: none;
  color: #ffffff;
  z-index: 3;
}

.visit {
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.92);
}

.contact-card h3 {
  font-size: clamp(2rem, 3vw, 3rem);
  font-weight: 800;
  line-height: 1;
  color: var(--cyan-strong);
  margin-bottom: 10px;
  text-transform: uppercase;
}

.contact-card p {
  color: rgba(255, 255, 255, 0.96);
  margin-bottom: 6px;
  letter-spacing: 0.01em;
  font-size: 0.96rem;
}

/* =========================
   REMOVE TAGS E URL BAR
========================= */
#about::after,
#opportunity::after,
#problem::after,
#services::after,
#business-model::after,
#strategy::after,
#finance::after,
#investor::after,
#contact::after,
#hero::after,
#about .container::after,
#problem .container::after,
#opportunity .container::after,
#business-model .container::after,
#strategy .container::after,
#finance .container::after,
#investor .container::after,
#contact .container::after,
#about .container::before,
#problem .container::before,
#opportunity .container::before,
#business-model .container::before,
#strategy .container::before,
#finance .container::before,
#investor .container::before,
#contact .container::before,
#hero .container::before {
  display: none !important;
  content: none !important;
}

/* =========================
   RESPONSIVIDADE
========================= */
@media (max-width: 1200px) {
  .main-nav {
    gap: 14px;
  }

  .main-nav a {
    font-size: 0.84rem;
  }

  .hero-text-grid {
    grid-template-columns: 1fr 1fr;
    grid-template-rows: auto auto;
    padding-top: 40px;
  }

  .top-left,
  .bottom-left,
  .top-right,
  .bottom-right {
    grid-column: auto;
    grid-row: auto;
    justify-self: start;
  }

  .split-layout,
  .strategy-layout,
  .finance-layout,
  .thanks-layout {
    grid-template-columns: 1fr;
  }

  .cards-grid.four-cols {
    grid-template-columns: repeat(2, 1fr);
  }

  .service-card {
    min-height: 280px;
  }

  .panel-wrap.right {
    justify-content: center;
  }

  .info-panel {
    width: 100%;
    max-width: 700px;
  }

  .thanks-layout {
    gap: 32px;
    text-align: center;
  }

  .thanks-brand {
    align-self: center;
  }

  .thanks-logo {
    margin: 0 auto;
  }

  .contact-card {
    max-width: 760px;
    margin: 0 auto;
  }
}

@media (max-width: 980px) {
  :root {
    --topbar-h: 66px;
  }

  .section {
    padding: 76px 0;
  }

  .menu-toggle {
    display: inline-block;
  }

  .main-nav {
    position: fixed;
    top: var(--topbar-h);
    right: -100%;
    width: min(320px, 86vw);
    height: calc(100vh - var(--topbar-h));
    background: rgba(10, 22, 40, 0.98);
    backdrop-filter: blur(8px);
    flex-direction: column;
    align-items: flex-start;
    padding: 22px;
    gap: 18px;
    transition: right 0.3s ease;
  }

  .main-nav.active {
    right: 0;
  }

  .hero {
    padding-top: 88px;
    min-height: auto;
  }

  .hero-content {
    min-height: 70vh;
  }

  .hero::before {
    display: none;
  }

  .hero-text-grid {
    grid-template-columns: 1fr;
    gap: 24px;
    min-height: auto;
    padding-top: 28px;
    padding-bottom: 70px;
  }

  .service-block {
    max-width: 100%;
  }

  .service-block h2 {
    font-size: clamp(2rem, 8vw, 2.8rem);
  }

  .brand-kicker {
    font-size: 0.82rem;
  }

  .split-layout {
    gap: 24px;
  }

  .media-grid-3 {
    grid-template-columns: 1fr;
    grid-template-rows: auto;
  }

  .media-grid-3 .tall {
    grid-row: auto;
    min-height: 300px;
  }

  .media-grid-3 img {
    min-height: 220px;
  }

  .cards-grid.four-cols,
  .roadmap,
  .investor-grid {
    grid-template-columns: 1fr;
  }

  .finance-media {
    grid-template-rows: 190px 300px;
    min-height: auto;
  }

  .scroll-btn {
    right: 16px;
    bottom: 16px;
  }
}

@media (max-width: 640px) {
  .container {
    width: min(100% - 22px, var(--container));
  }

  .section {
    padding: 66px 0;
  }

  .brand-logo {
    width: 46px;
  }

  .brand-kicker {
    font-size: 0.76rem;
    line-height: 1.15;
  }

  .split-copy h2,
  .strategy-copy h2,
  .finance-copy h2,
  .investor-content h2,
  .intro-content h1 {
    font-size: clamp(2rem, 11vw, 3rem);
  }

  .split-copy p,
  .split-copy li,
  .text-card.light p,
  .text-card.light li,
  .finance-copy p,
  .finance-copy li,
  .investor-grid li,
  .investor-grid p {
    font-size: 0.96rem;
  }

  .text-card.light {
    padding: 22px 18px;
  }

  .service-card {
    min-height: auto;
    padding: 18px 14px;
  }

  .info-panel {
    padding: 22px 18px;
  }

  .finance-copy.gradient-box {
    padding: 30px 20px;
  }

  .finance-media {
    grid-template-rows: 140px 230px;
  }

  .strategy-photo img {
    height: 220px;
  }

  .roadmap {
    padding: 20px 16px;
  }

  .roadmap h4 {
    font-size: 1.2rem;
  }

  .thanks-layout {
    grid-template-columns: 1fr;
    min-height: auto;
  }

  .big-circle {
    width: min(82vw, 320px);
  }

  .contact-card h3 {
    font-size: clamp(1.7rem, 10vw, 2.6rem);
  }

  .scroll-btn {
    width: 44px;
    height: 44px;
    font-size: 1.2rem;
  }
}

@media (max-width: 420px) {
  .main-nav {
    width: 100%;
  }

  .brand-wrap {
    gap: 10px;
  }

  .brand-kicker {
    max-width: 145px;
  }

  .split-copy h2,
  .strategy-copy h2,
  .finance-copy h2,
  .investor-content h2,
  .intro-content h1,
  .center-title {
    letter-spacing: 0;
  }

  .service-block span {
    font-size: 0.7rem;
  }

  .service-block h2 {
    font-size: 1.8rem;
  }

  .finance-copy h3,
  .strategy-copy h3 {
    font-size: 1.25rem;
  }
}


/* =========================================================
   JS ENHANCEMENTS
========================================================= */

/* Header ao scroll */
.topbar.scrolled {
  background: rgba(7, 18, 33, 0.88);
  backdrop-filter: blur(14px);
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.16);
}

/* Link activo */
.main-nav a.active-link {
  color: #ffffff;
}

.main-nav a.active-link::after {
  width: 100%;
}

/* Barra de progresso */
.scroll-progress {
  position: fixed;
  top: 0;
  left: 0;
  height: 3px;
  width: 0;
  background: linear-gradient(90deg, #06aac8 0%, #6fd7c3 60%, #ffffff 100%);
  z-index: 4000;
  box-shadow: 0 0 10px rgba(6, 170, 200, 0.4);
}

/* Botão voltar ao topo */
.back-to-top {
  position: fixed;
  right: 20px;
  bottom: 20px;
  width: 46px;
  height: 46px;
  border: 0;
  border-radius: 50%;
  background: rgba(7, 18, 33, 0.88);
  color: #ffffff;
  font-size: 1.1rem;
  font-weight: 800;
  cursor: pointer;
  z-index: 3000;
  opacity: 0;
  visibility: hidden;
  transform: translateY(12px);
  transition: all 0.28s ease;
  box-shadow: 0 10px 20px rgba(0, 0, 0, 0.18);
}

.back-to-top.show {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.back-to-top:hover {
  background: #06aac8;
}

/* Reveal animation */
.reveal {
  opacity: 0;
  transform: translateY(34px);
  transition:
    opacity 0.7s ease,
    transform 0.7s ease;
  will-change: opacity, transform;
}

.reveal.revealed {
  opacity: 1;
  transform: translateY(0);
}

/* Ajuste para imagens com parallax */
.hero .bg-media,
.investor-section .bg-media,
.thanks-section .bg-media {
  will-change: transform;
  transition: transform 0.15s linear;
}

/* Cards com transição melhor */
.service-card {
  transition:
    transform 0.25s ease,
    box-shadow 0.25s ease,
    background 0.25s ease;
}

.service-card:hover {
  box-shadow: 0 18px 36px rgba(0, 0, 0, 0.16);
}

/* Mobile */
@media (max-width: 980px) {
  .back-to-top {
    right: 16px;
    bottom: 16px;
  }

  .scroll-progress {
    height: 3px;
  }
}