/* ═══════════════════════════════════════════════════════
   FONT
═══════════════════════════════════════════════════════ */
@font-face {
  font-family: 'Syne';
  src: url('brand assets/Fonte/Syne-VariableFont_wght.ttf') format('truetype');
  font-weight: 100 900;
  font-style: normal;
  font-display: swap;
}

/* ═══════════════════════════════════════════════════════
   TOKENS
═══════════════════════════════════════════════════════ */
:root {
  --dark: #171716;
  --dark-navy: #0d1b28;
  --light: #f2f2ee;
  --yellow: #ffcb00;
  --green: #1b9100;
  --green-dark: #24640b;
  --green-lime: #9bf621;
  --white: #ffffff;
  --muted: rgba(255, 255, 255, 0.72);
  --text-muted: rgba(73, 73, 73, 0.7);
  --blue: #0183ff;
  --blue-dark: #0863ba;

  --radius: 10px;
  --radius-lg: 20px;

  --max-w: 1588px;
  --pad-x: clamp(24px, 6vw, 140px);
}

/* ═══════════════════════════════════════════════════════
   RESET & BASE
═══════════════════════════════════════════════════════ */
*,
*::before,
*::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: 'Syne', sans-serif;
  background: var(--dark);
  color: var(--white);
  overflow-x: hidden;
}

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

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

ul {
  list-style: none;
}

.container {
  width: 100%;
  max-width: var(--max-w);
  margin-inline: auto;
  padding-inline: var(--pad-x);
}

/* ═══════════════════════════════════════════════════════
   BUTTONS
═══════════════════════════════════════════════════════ */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 18px 36px;
  border-radius: var(--radius);
  font-family: 'Syne', sans-serif;
  font-size: clamp(14px, 1.4vw, 20px);
  font-weight: 700;
  letter-spacing: 0.02em;
  text-transform: none;
  cursor: pointer;
  border: none;
  transition: background 0.2s, color 0.2s, opacity 0.2s, transform 0.15s;
  white-space: nowrap;
}

.btn:hover {
  opacity: 0.88;
  transform: translateY(-2px);
}

.btn-arrow {
  font-style: normal;
}

.btn-blue {
  background: linear-gradient(90deg, var(--blue) 0%, var(--blue-dark) 100%);
  border: none;
  color: var(--white);
}

.btn-blue:hover {
  background: var(--green-lime);
  color: var(--dark-navy);
  opacity: 1;
}

.btn-green {
  background: linear-gradient(90deg, var(--green-lime) 0%, #70ba0d 100%);
  border: 1px solid rgba(255, 255, 255, 0.2);
  color: var(--dark);
}

.btn-yellow {
  background: linear-gradient(90deg, #f4ff66 0%, #c9d251 100%);
  border: 1px solid rgba(255, 255, 255, 0.2);
  color: var(--dark);
}

.btn-sm {
  font-size: 14px;
  padding: 12px 24px;
}

/* ═══════════════════════════════════════════════════════
   SECTION TITLES
═══════════════════════════════════════════════════════ */
.section-title {
  font-weight: 700;
  line-height: 1.12;
  font-size: clamp(28px, 3.4vw, 52px);
  text-align: center;
  margin-bottom: clamp(40px, 5vw, 72px);
}

.section-title.light {
  color: var(--white);
}

.section-title.dark {
  color: var(--dark);
}

.section-sub {
  text-align: center;
  font-size: clamp(16px, 1.8vw, 28px);
  font-weight: 400;
  max-width: 780px;
  margin-inline: auto;
  margin-bottom: clamp(40px, 5vw, 64px);
  line-height: 1.5;
}

.section-sub.dark {
  color: var(--dark);
}

.section-sub.light {
  color: var(--muted);
}

/* ═══════════════════════════════════════════════════════
   HEADER / NAV
═══════════════════════════════════════════════════════ */
.site-header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 100;
  /* o glass effect fica no ::before — o header em si é transparente */
}

/* ══════════════════════════════════════════════════════
   LIQUID GLASS PILL
   Técnica: ultra-transparência + blur leve + saturate +
   borda crisp + inset rim light (top) + camada especular
   (::after) para brilho interno — inspirado iOS 26 / kevinbism
══════════════════════════════════════════════════════ */

/* — camada 1: base de vidro — */
.site-header::before {
  content: '';
  position: absolute;
  top: -40px;
  left: -5%;
  right: -5%;
  height: 158px;
  border-radius: 20px;

  /* tinta ultra-transparente */
  background: rgba(255, 255, 255, 0.06);

  /* frost sutil + boost de saturação */
  backdrop-filter: blur(6px) saturate(180%);
  -webkit-backdrop-filter: blur(6px) saturate(180%);

  /* borda crisp — visível mas não pesada */
  border: 1px solid rgba(255, 255, 255, 0.55);

  /* rim light no topo (o detalhe "Apple") + sombra ambiente */
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.45),
    0 8px 24px rgba(0, 0, 0, 0.18);

  z-index: -1;
  pointer-events: none;
  transition: background 0.35s, border-color 0.35s, box-shadow 0.35s;
}

/* — camada 2: highlight especular interno (brilho de refração) — */
.site-header::after {
  content: '';
  position: absolute;
  top: -40px;
  left: -5%;
  right: -5%;
  height: 158px;
  border-radius: 20px;

  background: rgba(255, 255, 255, 0.04);

  /* linhas internas de luz: borda inferior + lateral */
  box-shadow:
    inset -10px -8px 0px -11px rgba(255, 255, 255, 0.95),
    inset 0px -9px 0px -8px rgba(255, 255, 255, 0.95);

  opacity: 0.65;
  filter: blur(1px) brightness(115%);
  z-index: -1;
  pointer-events: none;
}

/* — estado scrolled: escurece o vidro sobre seções claras — */
.site-header.scrolled::before {
  background: rgba(13, 27, 40, 0.55);
  border-color: rgba(255, 255, 255, 0.2);
  backdrop-filter: blur(16px) saturate(200%);
  -webkit-backdrop-filter: blur(16px) saturate(200%);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.2),
    0 8px 24px rgba(0, 0, 0, 0.45);
}

/* — hover: navbar toda fica dark navy — */
.site-header:hover::before {
  background: var(--dark-navy);
  border-color: rgba(255, 255, 255, 0.15);
}

.nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  /* altura visível do pill: 158px - 40px de offset = 118px */
  height: 118px;
  gap: 24px;
}

.nav-logo img {
  height: clamp(48px, 5.5vw, 72px);
  width: auto;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: clamp(24px, 3vw, 56px);
}

.nav-links>li>a {
  font-size: clamp(15px, 1.35vw, 26px);
  font-weight: 700;
  color: var(--white);
  transition: color 0.2s;
  display: flex;
  align-items: center;
  gap: 6px;
  white-space: nowrap;
}

.nav-links>li>a:hover {
  color: var(--yellow);
}

.chevron {
  font-size: 13px;
}

/* dropdown — espelha o design Figma: dark navy, sem radius, texto centralizado */
.has-dropdown {
  position: relative;
}

.dropdown {
  position: absolute;
  top: 100%;
  left: 50%;
  background: var(--dark-navy);
  border: 1px solid rgba(255, 255, 255, 0.15);
  min-width: 210px;
  opacity: 0;
  pointer-events: none;
  transform: translateX(-50%) translateY(-8px);
  transition: opacity 0.2s, transform 0.2s;
  overflow: hidden;
}

.has-dropdown:hover .dropdown,
.has-dropdown:focus-within .dropdown {
  opacity: 1;
  pointer-events: auto;
  transform: translateX(-50%) translateY(0);
}

.dropdown li a {
  display: block;
  padding: 14px 20px;
  font-size: clamp(13px, 1.05vw, 20px);
  font-weight: 400;
  color: var(--white);
  text-align: center;
  border-bottom: 1px solid rgba(255, 255, 255, 0.15);
  transition: background 0.15s;
}

.dropdown li:last-child a {
  border-bottom: none;
}

.dropdown li a:hover {
  background: rgba(255, 255, 255, 0.06);
}

.nav-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 4px;
}

.nav-toggle span {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--white);
  border-radius: 2px;
  transition: transform 0.25s ease, opacity 0.2s ease;
}

/* hamburger → X */
.nav-toggle.is-open span:nth-child(1) {
  transform: translateY(7px) rotate(45deg);
}

.nav-toggle.is-open span:nth-child(2) {
  opacity: 0;
  transform: scaleX(0);
}

.nav-toggle.is-open span:nth-child(3) {
  transform: translateY(-7px) rotate(-45deg);
}

/* ═══════════════════════════════════════════════════════
   HERO
═══════════════════════════════════════════════════════ */
.hero {
  position: relative;
  min-height: 100svh;
  display: flex;
  align-items: center;
  /* padding-top = altura visível do pill (118px) */
  padding-top: 118px;
  overflow: hidden;
  background: var(--dark-navy);
}

/* ── Hero background:
   No Figma o container da imagem está em top:-300px, então a foto
   começa 300px ACIMA da viewport — âncora no topo, corta em baixo.
   Usamos top:-15% + height:130% para replicar esse deslocamento para cima. ── */
.hero-bg-img {
  position: absolute;
  top: -20%;
  left: 0;
  width: 200%;
  height: 150%;
  object-fit: cover;
  object-position: center top;
  z-index: 0;
  pointer-events: none;
  transform: scale(1.3);
  transform-origin: top center;
}

.hero-overlay {
  position: absolute;
  inset: 0;
  background: rgba(13, 27, 40, 0.62);
  z-index: 1;
  pointer-events: none;
}

.hero-mascote {
  position: absolute;
  right: clamp(20px, 5vw, 120px);
  bottom: 0;
  height: clamp(260px, 38vh, 520px);
  width: auto;
  z-index: 3;
  pointer-events: none;
  object-fit: contain;
}

.hero-content {
  position: relative;
  z-index: 2;
  text-align: center;
  padding-block: clamp(60px, 8vh, 120px);
  margin-inline: auto;
}

.hero-headline {
  font-size: clamp(32px, 4.8vw, 72px);
  font-weight: 700;
  line-height: 1.1;
  color: var(--white);
  margin-bottom: 28px;
}

.hero-sub {
  font-size: clamp(16px, 1.8vw, 28px);
  font-weight: 300;
  line-height: 1.55;
  color: var(--white);
  max-width: 700px;
  margin-inline: auto;
  margin-bottom: 48px;
}

.hero-btn {
  font-size: clamp(14px, 1.3vw, 20px);
  padding: 20px 48px;
}

/* ═══════════════════════════════════════════════════════
   SERVICES INTRO
═══════════════════════════════════════════════════════ */
.services-intro {
  background: var(--dark);
  padding-block: clamp(40px, 5vw, 80px);
}

.section-tagline {
  font-size: clamp(20px, 2.8vw, 42px);
  font-weight: 700;
  line-height: 1.2;
  text-align: center;
  color: var(--white);
  max-width: 1100px;
  margin-inline: auto;
}

/* ═══════════════════════════════════════════════════════
   SERVICE CARDS
═══════════════════════════════════════════════════════ */
.service-cards {
  background: var(--dark);
  padding-bottom: clamp(60px, 7vw, 120px);
}

.cards-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
}

.service-card {
  position: relative;
  border-radius: var(--radius);
  overflow: hidden;
  cursor: pointer;
  display: block;
}

.service-card::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(0, 0, 0, 0.25) 0%, transparent 45%);
  z-index: 1;
}

.service-card:hover .card-img-wrap img {
  transform: scale(1.04);
}

.card-img-wrap {
  aspect-ratio: 3/4;
  overflow: hidden;
}

.card-img-wrap img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.4s ease;
}

/* ── Hover overlay — Figma: rgba(13,27,40,0.52) + blur(4px) ── */
.card-hover {
  position: absolute;
  inset: 0;
  z-index: 3;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  padding: clamp(18px, 2vw, 28px) clamp(16px, 1.8vw, 24px);

  background: rgba(13, 27, 40, 0.52);
  backdrop-filter: blur(4px);
  -webkit-backdrop-filter: blur(4px);
  border-radius: var(--radius);

  opacity: 0;
  pointer-events: none;
  transition: opacity 0.3s ease;
}

.service-card:hover .card-hover {
  opacity: 1;
  pointer-events: auto;
}

/* label some ao surgir o hover */
.service-card:hover .card-label {
  opacity: 0;
  transition: opacity 0.2s ease;
}

.card-hover-text {
  font-size: clamp(13px, 1.1vw, 22px);
  font-weight: 400;
  color: var(--white);
  line-height: 1.55;
  text-align: justify;
  flex: 1;
  margin: 0;
}

.card-hover-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  margin-top: 16px;
  padding: 16px 12px;
  min-height: clamp(56px, 5.5vw, 84px);

  background: linear-gradient(90deg, var(--blue) 0%, var(--blue-dark) 100%);
  border: 1px solid rgba(255, 255, 255, 0.75);
  border-radius: var(--radius);
  color: var(--white);
  font-family: 'Syne', sans-serif;
  font-size: clamp(12px, 0.95vw, 18px);
  font-weight: 700;
  line-height: 1.3;
  transition: opacity 0.2s;
}

.card-hover-btn:hover {
  opacity: 0.85;
}

.card-label {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  /* altura fixa = todos os blocos iguais, igual ao Figma (≈100px) */
  height: 100px;
  padding: 0 16px;
  display: flex;
  align-items: center;
  justify-content: center;

  font-size: clamp(16px, 1.56vw, 30px);
  /* Figma: Syne Bold 30 */
  font-weight: 700;
  color: var(--white);
  text-align: center;
  z-index: 2;
  line-height: 1.2;

  /* Liquid glass */
  background: rgba(255, 255, 255, 0.06);
  backdrop-filter: blur(6px) saturate(180%);
  -webkit-backdrop-filter: blur(6px) saturate(180%);
  border-top: 1px solid rgba(255, 255, 255, 0.2);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.15);
  border-radius: 0 0 var(--radius) var(--radius);
}

/* ═══════════════════════════════════════════════════════
   BENEFITS
═══════════════════════════════════════════════════════ */
.benefits {
  background: var(--light);
  padding-block: clamp(60px, 8vw, 120px);
}

.benefits-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
}

.benefit-card {
  background: var(--light);
  border: 1px solid var(--light);
  border-radius: var(--radius);
  /* Figma: 560×327 → min-height proporcional */
  min-height: clamp(200px, 17vw, 327px);
  padding: clamp(24px, 2.5vw, 40px) clamp(24px, 2.5vw, 40px);
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  box-shadow: 0 4px 40px 5px rgba(110, 172, 26, 0.22);
  position: relative;
  overflow: hidden;
  transition:
    background 0.35s ease,
    border-color 0.35s ease,
    box-shadow 0.35s ease;
}

.benefit-card.highlighted {
  border-color: var(--green-lime);
  box-shadow: 0 4px 40px 5px rgba(110, 172, 26, 0.4);
}

/* ── Hover: fundo azul, textos e ícone brancos ── */
.benefit-card:hover {
  background: linear-gradient(135deg, var(--blue) 0%, var(--blue-dark) 100%);
  border-color: rgba(255, 255, 255, 0.25);
  box-shadow: 0 8px 40px rgba(1, 131, 255, 0.45);
}

.benefit-card:hover h3 {
  color: var(--white);
}

.benefit-card:hover p {
  color: rgba(255, 255, 255, 0.85);
}

.benefit-card:hover .benefit-icon img {
  filter: brightness(0) invert(1);
}

.benefit-card:hover .benefit-card-bg img {
  opacity: 0;
}

.benefit-card-bg {
  position: absolute;
  inset: 0;
  z-index: 0;
  pointer-events: none;
}

.benefit-card-bg img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.06;
}

.benefit-icon {
  /* Figma: 94×94 */
  width: clamp(56px, 4.9vw, 94px);
  height: clamp(56px, 4.9vw, 94px);
  margin-bottom: clamp(16px, 1.8vw, 28px);
  position: relative;
  z-index: 1;
  flex-shrink: 0;
}

.benefit-icon img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  transition: filter 0.35s ease;
}

.benefit-card h3 {
  /* Figma: Syne Bold 34 */
  font-size: clamp(18px, 1.77vw, 34px);
  font-weight: 700;
  color: var(--dark);
  margin-bottom: clamp(8px, 0.8vw, 14px);
  position: relative;
  z-index: 1;
  transition: color 0.35s ease;
}

.benefit-card p {
  /* Figma: Syne Regular 30, opacity 63% */
  font-size: clamp(14px, 1.56vw, 30px);
  font-weight: 400;
  color: rgba(73, 73, 73, 0.63);
  line-height: 1.5;
  position: relative;
  z-index: 1;
  transition: color 0.35s ease;
}

/* ═══════════════════════════════════════════════════════
   PATHS (CTA SPLIT)
═══════════════════════════════════════════════════════ */
.paths {
  background: var(--dark-navy);
  padding-block: clamp(60px, 8vw, 120px);
}

.paths .section-title {
  max-width: 1200px;
  margin-inline: auto;
}

.paths-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
}

.path-card {
  position: relative;
  border-radius: var(--radius);
  overflow: hidden;
  display: block;
  cursor: pointer;
  min-height: 360px;
  transition: filter 0.4s ease, opacity 0.4s ease, box-shadow 0.4s ease;
}

/* ── inativo: dessaturado + escurecido ── */
.path-card:not(.path-active) {
  filter: saturate(0.18) brightness(0.65);
  opacity: 0.75;
}

.path-card:not(.path-active):hover {
  filter: saturate(0.4) brightness(0.8);
  opacity: 0.9;
}

/* ── ativo: vibrante + glow verde ── */
.path-card.path-active {
  filter: saturate(1) brightness(1);
  opacity: 1;
  box-shadow: 0 0 0 3px var(--green-lime), 0 8px 32px rgba(155, 246, 33, 0.3);
}

.path-card:hover .path-card-img img {
  transform: scale(1.05);
}

.path-card-img {
  position: absolute;
  inset: 0;
}

.path-card-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.4s ease;
}

.path-card-img::after {
  content: '';
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.12);
}

.path-card-overlay {
  position: relative;
  z-index: 1;
  height: 100%;
  min-height: 360px;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: clamp(24px, 3vw, 48px);
}

.path-icon {
  width: 80px;
  height: 80px;
  margin-bottom: 20px;
}

.path-icon img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  mix-blend-mode: overlay;
}

.path-card-overlay h3 {
  font-size: clamp(28px, 3.2vw, 52px);
  font-weight: 700;
  line-height: 1.1;
  color: var(--white);
  text-transform: capitalize;
}

/* ═══════════════════════════════════════════════════════
   STEPS (HOW IT WORKS)
═══════════════════════════════════════════════════════ */
.steps {
  background: var(--dark-navy);
  padding-block: clamp(60px, 8vw, 120px);
}

/* linha vertical central — preta, igual ao Figma */
.steps .container {
  position: relative;
}

.steps .container::before {
  content: '';
  position: absolute;
  left: 50%;
  top: 0;
  bottom: 0;
  width: 6px;
  transform: translateX(-50%);
  background: #000;
  pointer-events: none;
  z-index: 0;
}

/* ── duas versões dos steps — consumidor / investidor ── */
.steps-set {
  transition: opacity 0.4s ease;
}

.steps-consumer {
  display: block;
  opacity: 1;
}

.steps-investor {
  display: none;
  opacity: 0;
}

/* ativo quando o card Investidor está em hover */
#passos.show-investor .steps-consumer {
  display: none;
  opacity: 0;
}

#passos.show-investor .steps-investor {
  display: block;
  opacity: 1;
}

/* grid: [balão | nó | label]  — ordem DOM define qual lado */
.step {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  gap: clamp(20px, 2.5vw, 48px);
  margin-bottom: clamp(48px, 6vw, 88px);
  position: relative;
  z-index: 1;
}

.step:last-child {
  margin-bottom: 0;
}

/* ── balão verde — Figma: 597×312px, fonte 30px ── */
.step-bubble {
  background: var(--green-lime);
  border-radius: var(--radius);
  padding: clamp(18px, 1.6vw, 28px) clamp(20px, 1.8vw, 32px);
  position: relative;
  /* Figma: 597px → 31vw */
  width: clamp(260px, 31vw, 597px);
  /* Figma: 312px → força proporção ~597:312 ≈ 1.9:1 */
  min-height: clamp(140px, 16.25vw, 312px);
  font-size: clamp(14px, 1.56vw, 30px);
  font-weight: 400;
  color: var(--dark-navy);
  line-height: 1.55;
  text-align: justify;
  display: flex;
  align-items: center;
}

.step-bubble p {
  margin: 0;
  width: 100%;
}

/* balão à ESQUERDA do nó → empurra para a direita (contra o nó) */
.bubble-r {
  margin-left: auto;
}

/* balão à DIREITA do nó → empurra para a esquerda (contra o nó) */
.bubble-l {
  margin-right: auto;
}

/* seta apontando para a DIREITA (balão à esquerda do nó) */
.bubble-r::after {
  content: '';
  position: absolute;
  right: -16px;
  top: 50%;
  transform: translateY(-50%);
  border: 16px solid transparent;
  border-left: 16px solid var(--green-lime);
  border-right: 0;
}

/* seta apontando para a ESQUERDA (balão à direita do nó) */
.bubble-l::before {
  content: '';
  position: absolute;
  left: -16px;
  top: 50%;
  transform: translateY(-50%);
  border: 16px solid transparent;
  border-right: 16px solid var(--green-lime);
  border-left: 0;
}

/* ── nó central — bola escura 87×87 + raio centrado ── */
.step-node {
  position: relative;
  /* Figma: 87×87 */
  width: clamp(70px, 4.53vw, 87px);
  height: clamp(70px, 4.53vw, 87px);
  border-radius: 50%;
  background: #060e17;
  /* círculo escuro, mais escuro que o fundo da seção */
  flex-shrink: 0;
  z-index: 2;
  display: flex;
  align-items: center;
  justify-content: center;
}

.step-node-glow {
  display: none;
}

.step-node-icon {
  width: 58%;
  height: 58%;
  object-fit: contain;
  position: relative;
  z-index: 1;
}

/* ── bloco de label + título ── */
.step-meta {
  display: flex;
  flex-direction: column;
  gap: 6px;
  max-width: 460px;
}

/* quando o label fica à esquerda do nó → alinha à direita */
.step-meta-end {
  text-align: right;
  margin-left: auto;
}

.step-ordinal {
  font-size: clamp(16px, 1.88vw, 36px);
  font-weight: 700;
  color: var(--white);
  text-transform: uppercase;
  line-height: 1;
  margin: 0;
}

.ord-big {
  font-size: clamp(22px, 2.35vw, 45px);
  color: var(--green-lime);
}

.step-title {
  font-size: clamp(18px, 1.88vw, 36px);
  font-weight: 700;
  color: var(--white);
  line-height: 1.2;
  margin: 0;
}

/* ═══════════════════════════════════════════════════════
   CALCULATOR
═══════════════════════════════════════════════════════ */
.calculator-section {
  background: var(--dark-navy);
  padding-block: clamp(60px, 8vw, 120px);
}

.calculator-section .section-title {
  font-size: clamp(20px, 2.6vw, 42px);
}

/* ── Calculadora (código externo, fonte adaptada para Syne) ── */
.dr-calculator-container {
  background: #070e17;
  border-radius: 12px;
  padding: clamp(28px, 3.5vw, 56px) clamp(28px, 4vw, 64px);
  max-width: 1200px;
  margin-inline: auto;
  font-family: 'Syne', sans-serif;
  color: #ffffff;
}

.dr-calc-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 20px;
}

.dr-calc-header label {
  font-size: clamp(15px, 1.4vw, 24px);
  color: #ffffff;
  font-weight: 500;
}

#billDisplay {
  font-weight: 700;
  font-size: clamp(20px, 2vw, 34px);
  color: #a3ff12;
  letter-spacing: 0.5px;
}

input[type=range]#billSlider {
  -webkit-appearance: none;
  appearance: none;
  width: 100%;
  margin: 20px 0 45px 0;
  background: transparent;
  --pct: 50%;
}

input[type=range]#billSlider::-webkit-slider-runnable-track {
  width: 100%;
  height: 6px;
  background: linear-gradient(to right, var(--blue) 0%, var(--blue) var(--pct), #1a2433 var(--pct), #1a2433 100%);
  border-radius: 4px;
}

input[type=range]#billSlider::-webkit-slider-thumb {
  -webkit-appearance: none;
  height: 22px;
  width: 22px;
  border-radius: 50%;
  background: var(--blue);
  cursor: pointer;
  margin-top: -8px;
  box-shadow: 0 0 15px rgba(1, 131, 255, 0.5);
  border: none;
}

input[type=range]#billSlider::-moz-range-track {
  width: 100%;
  height: 6px;
  background: #1a2433;
  border-radius: 4px;
}

input[type=range]#billSlider::-moz-range-progress {
  height: 6px;
  background: var(--blue);
  border-radius: 4px;
}

input[type=range]#billSlider::-moz-range-thumb {
  height: 22px;
  width: 22px;
  border-radius: 50%;
  background: var(--blue);
  cursor: pointer;
  box-shadow: 0 0 15px rgba(1, 131, 255, 0.5);
  border: none;
}

.dr-years-section label {
  display: block;
  font-size: clamp(15px, 1.4vw, 24px);
  color: #ffffff;
  font-weight: 500;
  margin-bottom: 15px;
}

.dr-years-buttons {
  display: flex;
  gap: 15px;
  width: 100%;
}

.dr-year-btn {
  flex: 1;
  padding: clamp(12px, 1.2vw, 20px) 0;
  background: transparent;
  border: 1px solid #1b2635;
  border-radius: 8px;
  cursor: pointer;
  font-size: clamp(14px, 1.3vw, 22px);
  font-weight: 600;
  font-family: 'Syne', sans-serif;
  color: #ffffff;
  transition: all 0.3s ease;
}

.dr-year-btn:hover {
  background: rgba(255, 255, 255, 0.05);
}

.dr-year-btn.active {
  border-color: #a3ff12;
  background: #a3ff12;
  color: #000000;
}

.dr-result-section {
  margin-top: 40px;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.dr-result-section span {
  font-size: clamp(15px, 1.4vw, 24px);
  color: #ffffff;
  font-weight: 500;
}

#savingsDisplay {
  font-size: clamp(24px, 2.8vw, 48px);
  font-weight: 700;
  color: #ffffff;
  letter-spacing: 1px;
}

/* ═══════════════════════════════════════════════════════
   PATTERN TEXTURE (cubo isométrico) — compartilhado
   entre app-section e ecosystem
═══════════════════════════════════════════════════════ */
.app-section,
.ecosystem {
  position: relative;
}

.app-section::before,
.ecosystem::before {
  content: '';
  position: absolute;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  background-image: url("brand assets/pattern/Rectangle 46.webp");
  background-repeat: repeat;
  background-size: auto;
}

/* garante que o conteúdo fique acima da textura */
.app-section .container,
.ecosystem .container {
  position: relative;
  z-index: 1;
}

/* ═══════════════════════════════════════════════════════
   APP SECTION
═══════════════════════════════════════════════════════ */
.app-section {
  background: var(--light);
  padding-block: clamp(60px, 8vw, 120px);
}

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

/* dois blocos separados empilhados com gap entre eles */
.app-card {
  display: flex;
  flex-direction: column;
  gap: 0;
}

/* bloco 1 — imagem com título sobreposto */
.app-card-img {
  position: relative;
  z-index: 0;
  aspect-ratio: 1 / 1;
  overflow: hidden;
  border-radius: var(--radius);
  background: var(--dark-navy);
  flex-shrink: 0;
}

.app-card-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  opacity: 0.5;
  transition: opacity 0.3s, transform 0.4s ease;
}

.app-card:hover .app-card-img img {
  opacity: 0.65;
  transform: scale(1.03);
}

.app-card-overlay {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  padding-inline: clamp(20px, 2.5vw, 36px);
  padding-top: clamp(20px, 2.5vw, 40px);
  padding-bottom: calc(clamp(80px, 1vw, 140px) + clamp(20px, 2.5vw, 40px));
  background: linear-gradient(to top, rgba(0, 0, 0, 0.75) 0%, transparent 60%);
}

.app-card-overlay h3 {
  font-size: clamp(18px, 2.2vw, 42px);
  font-weight: 700;
  line-height: 1.1;
  color: var(--white);
}

/* bloco 2 — desc sobreposto ao bottom da imagem, mais estreito */
.app-card-desc {
  position: relative;
  z-index: 1;
  margin-top: clamp(-80px, -9vw, -140px);
  margin-inline: clamp(12px, 1.5vw, 24px);
  padding: clamp(18px, 1.8vw, 28px) clamp(20px, 2vw, 32px);
  background: var(--light);
  border: 1px solid var(--green-lime);
  border-radius: var(--radius);
  box-shadow: 0 4px 40px 6px rgba(155, 246, 33, 0.35);
}

.app-card-desc p {
  font-size: clamp(15px, 1.25vw, 24px);
  font-weight: 400;
  color: rgba(73, 73, 73, 0.8);
  line-height: 1.65;
  text-align: justify;
  margin: 0;
}

/* ═══════════════════════════════════════════════════════
   ENVIRONMENT
═══════════════════════════════════════════════════════ */
.environment {
  background: var(--dark-navy);
  padding-block: clamp(60px, 8vw, 120px);
}

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

.env-card {
  position: relative;
  border-radius: var(--radius);
  overflow: hidden;
}

.env-card img {
  width: 100%;
  /* Figma: 514×673 ≈ 3/4 */
  aspect-ratio: 3/4;
  object-fit: cover;
  display: block;
  transition: transform 0.4s ease;
}

.env-card:hover img {
  transform: scale(1.04);
}

/* título — sem overlay, sem text-shadow */
.env-card-label {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: flex-start;
  justify-content: flex-start;
  padding: clamp(24px, 3.5vw, 56px) clamp(20px, 3vw, 48px);
  background: transparent;
  transition: opacity 0.3s ease;
  z-index: 1;
}

.env-card-label h3 {
  font-size: clamp(24px, 2.86vw, 55px);
  font-weight: 700;
  color: var(--white);
  text-align: left;
  line-height: 1.1;
}

/* título some no hover */
.env-card:hover .env-card-label {
  opacity: 0;
}

/* ── Hover — Figma: rgba(13,27,40,0.58) + blur(5px) + texto 34px ── */
.env-card-hover {
  position: absolute;
  inset: 0;
  z-index: 2;
  display: flex;
  align-items: flex-start;
  padding: clamp(24px, 3.5vw, 56px) clamp(20px, 3vw, 48px);

  background: rgba(13, 27, 40, 0.58);
  backdrop-filter: blur(5px);
  -webkit-backdrop-filter: blur(5px);
  border-radius: var(--radius);

  opacity: 0;
  pointer-events: none;
  transition: opacity 0.35s ease;
}

.env-card:hover .env-card-hover {
  opacity: 1;
  pointer-events: auto;
}

.env-card-hover p {
  font-size: clamp(14px, 1.77vw, 34px);
  font-weight: 400;
  color: var(--white);
  line-height: 1.55;
  text-align: justify;
  margin: 0;
}

/* ═══════════════════════════════════════════════════════
   ECOSYSTEM
═══════════════════════════════════════════════════════ */
.ecosystem {
  background: var(--light);
  padding-block: clamp(60px, 8vw, 120px);
}

.ecosystem-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(40px, 6vw, 100px);
  align-items: center;
}

.ecosystem-text .section-title {
  text-align: left;
  margin-bottom: 28px;
}

.ecosystem-text p {
  font-size: clamp(15px, 1.5vw, 24px);
  color: var(--text-muted);
  line-height: 1.65;
  margin-bottom: 20px;
}

.ecosystem-text .btn {
  margin-top: 16px;
}

.ecosystem-image img {
  width: 100%;
  aspect-ratio: 1/1;
  object-fit: cover;
  object-position: center bottom;
  border-radius: var(--radius-lg);
}

/* ═══════════════════════════════════════════════════════
   FINAL CTA
═══════════════════════════════════════════════════════ */
.final-cta {
  position: relative;
  overflow: visible;
  background:
    radial-gradient(ellipse at 10% 90%, rgba(27, 145, 0, 0.15) 0%, transparent 60%),
    var(--dark-navy);
  padding-top: clamp(80px, 10vw, 160px);
  /* padding-bottom calibrado para que o logo (70vw) ultrapasse 25% do seu tamanho abaixo da seção */
  padding-bottom: clamp(150px, 0vw, 420px);
}

.final-cta-logo {
  position: absolute;
  left: 0;
  top: -100px;
  transform: translateX(-55%);
  width: clamp(750px, 70vw, 1150px);
  height: auto;
  object-fit: contain;
  pointer-events: none;
  opacity: 0.95;
  clip-path: inset(10.2% 14.1%);
}

.final-cta-headline {
  font-size: clamp(28px, 4vw, 64px);
  font-weight: 700;
  line-height: 1.15;
  text-align: center;
  color: var(--white);
  max-width: 1100px;
  margin-inline: auto;
  margin-bottom: clamp(40px, 5vw, 64px);
}

.final-cta-buttons {
  display: flex;
  justify-content: center;
  gap: 20px;
  flex-wrap: wrap;
}

.final-cta-buttons .btn:hover {
  background: var(--blue);
  color: var(--white);
  opacity: 1;
}

/* ═══════════════════════════════════════════════════════
   FOOTER
═══════════════════════════════════════════════════════ */
.site-footer {
  background: var(--green-lime);
  padding-block: clamp(40px, 5vw, 80px);
}

.footer-inner {
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: clamp(24px, 4vw, 80px);
}

.footer-logo img {
  height: clamp(56px, 7vw, 100px);
  width: auto;
}

.footer-contact h4 {
  font-size: clamp(16px, 1.6vw, 26px);
  font-weight: 700;
  color: var(--dark);
  margin-bottom: 10px;
}

.footer-phone {
  display: block;
  font-size: clamp(18px, 2vw, 30px);
  font-weight: 600;
  color: var(--dark);
  margin-bottom: 8px;
  text-decoration: underline;
  text-underline-offset: 4px;
}

.footer-contact address {
  font-style: normal;
  font-size: clamp(13px, 1.3vw, 20px);
  color: var(--dark);
}

.footer-contact-item {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-top: 12px;
}

.footer-contact-icon {
  width: clamp(36px, 2.3vw, 44px);
  height: clamp(36px, 2.3vw, 44px);
  flex-shrink: 0;
}

.footer-social h4 {
  font-size: clamp(16px, 1.6vw, 26px);
  font-weight: 700;
  color: var(--dark);
  margin-bottom: 16px;
}

.social-icons {
  display: flex;
  gap: 16px;
  align-items: center;
}

.social-icons a {
  width: 48px;
  height: 48px;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: transform 0.2s;
}

.social-icons a:hover {
  transform: scale(1.15);
}

.social-icons img,
.social-icons svg {
  width: 44px;
  height: 44px;
  object-fit: contain;
}

/* ═══════════════════════════════════════════════════════
   RESPONSIVE
═══════════════════════════════════════════════════════ */
@media (max-width: 1024px) {
  .cards-grid {
    grid-template-columns: repeat(2, 1fr);
  }

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

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

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

  .ecosystem-image {
    order: -1;
  }

  .ecosystem-image img {
    max-width: 480px;
    margin-inline: auto;
  }

  .ecosystem-text .section-title {
    text-align: center;
  }

  .ecosystem-text p {
    text-align: center;
  }

  .ecosystem-text .btn {
    display: block;
    width: fit-content;
    margin-inline: auto;
  }

  /* steps: empilha em coluna única no tablet */
  .step {
    grid-template-columns: auto 1fr;
    grid-template-rows: auto auto;
    gap: 16px;
  }

  .step-bubble {
    grid-column: 1 / -1;
  }

  .step-bubble::after,
  .step-bubble::before {
    display: none;
  }

  .step-meta-end {
    text-align: left;
    margin-left: 0;
  }

  .footer-inner {
    grid-template-columns: 1fr 1fr;
  }

  .footer-logo {
    grid-column: 1 / -1;
  }
}

@media (max-width: 768px) {
  .nav-links {
    display: none;
  }

  .nav-toggle {
    display: flex;
  }

  .nav-links.open {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    position: fixed;
    inset: 118px 0 0 0;
    background: var(--dark-navy);
    padding: 40px 24px;
    gap: 28px;
    z-index: 99;
    overflow-y: auto;
  }

  .nav-links.open>li>a {
    font-size: 20px;
  }

  /* dropdown fechado por padrão no mobile */
  .nav-links.open .dropdown {
    position: static;
    opacity: 0;
    max-height: 0;
    overflow: hidden;
    pointer-events: none;
    transform: none;
    background: rgba(255, 255, 255, 0.05);
    margin-top: 0;
    transition: max-height 0.3s ease, opacity 0.2s ease, margin-top 0.3s ease;
  }

  /* abre quando tem classe mob-open */
  .nav-links.open .has-dropdown.mob-open .dropdown {
    opacity: 1;
    max-height: 200px;
    pointer-events: auto;
    margin-top: 8px;
  }

  /* gira o chevron quando aberto */
  .has-dropdown.mob-open .chevron {
    display: inline-block;
    transform: rotate(180deg);
  }

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

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

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

  .app-cards {
    grid-template-columns: 1fr;
  }

  .env-cards {
    grid-template-columns: 1fr;
  }

  .footer-inner {
    grid-template-columns: 1fr;
    text-align: center;
  }

  .footer-logo {
    grid-column: auto;
    margin-inline: auto;
  }

  .social-icons {
    justify-content: center;
  }

  .calc-row {
    flex-direction: column;
    align-items: flex-start;
  }

  .calc-value {
    min-width: auto;
    text-align: left;
  }

  /* calculator: impede quebra de linha no label */
  .dr-calc-header label {
    white-space: nowrap;
    font-size: 13px;
  }

  /* steps: coluna única, ordem fixa meta → bubble, sem node */
  .step {
    display: flex;
    flex-direction: column;
    gap: 12px;
  }

  .step-node {
    display: none;
  }

  .step-meta,
  .step-meta-end {
    order: 1;
    text-align: left;
    margin-left: 0;
  }

  .step-bubble {
    order: 2;
    width: 100%;
    margin: 0;
    min-height: unset;
  }

  .step-bubble::after,
  .step-bubble::before {
    display: none;
  }

  /* final-cta: esconde logo decorativo */
  .final-cta-logo {
    display: none;
  }
}

@media (max-width: 480px) {
  .cards-grid {
    grid-template-columns: 1fr;
  }

  .hero-mascote {
    display: none;
  }

  .hero-btn {
    padding: 14px 24px;
    font-size: 14px;
    width: 100%;
    justify-content: center;
  }

  .final-cta-buttons {
    flex-direction: column;
    align-items: center;
  }
}

/* ═══════════════════════════════════════════════════════
   FLOATING WHATSAPP BUTTON
═══════════════════════════════════════════════════════ */
.wa-float {
  position: fixed;
  bottom: 32px;
  right: 32px;
  z-index: 999;
  width: 60px;
  height: 60px;
  border-radius: 50%;
  background: #25d366;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 24px rgba(37, 211, 102, 0.55);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.wa-float:hover {
  transform: translateY(-4px) scale(1.08);
  box-shadow: 0 8px 32px rgba(37, 211, 102, 0.7);
}

.wa-float i {
  font-size: 30px;
  color: #fff;
  line-height: 60px;
}