* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

:root {
  --bg-pale: #f0f4f0;
  --bg-light: #ffffff;
  --nu-purple: #820ad1;
  --nu-dark: #20003d;
  --nu-lilac: #a855f7;
  --nu-ultra: #4b0082;
}

html,
body {
  overflow-x: hidden;
}

body {
  background-color: #150d24;
  color: rgba(255, 255, 255, 0.9);
  font-family: "Poppins", sans-serif;
}

button {
  font-family: "Poppins", sans-serif;
}

header {
  width: 100%;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 32px 8%;
  position: absolute;
  z-index: 99;

  nav,
  .desktopNav,
  .headerActions {
    flex: 1;
  }

  nav,
  .desktopNav {
    min-width: 464px;
  }

  .logoLink {
    display: flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
  }

  ul {
    display: flex;
    list-style-type: none;
    gap: 40px;
    font-weight: 500;
    font-size: 1.05rem;
    cursor: pointer;
  }

  ul li a {
    color: inherit;
    text-decoration: none;
    display: inline-block;
  }

  ul li {
    transition: opacity 0.2s, transform 0.2s;
  }

  ul li:hover {
    opacity: 0.8;
    transform: translateY(-1px);
  }

  .logo {
    width: 76px;
    height: auto;
    object-fit: contain;
  }

  .headerActions {
    display: flex;
    justify-content: flex-end;
    gap: 24px;
  }

  .headerActions img {
    cursor: pointer;
    transition: transform 0.2s, opacity 0.2s;
  }

  .headerActions img:hover {
    transform: scale(1.1);
    opacity: 0.8;
  }
}

.menuHamburguer {
  display: none;
}

button {
  border: none;
  outline: none;
  cursor: pointer;
}

/* HERO SECTION / SLIDES */

.slides {
  width: 100%;
  height: 100vh;
  min-height: 700px;
  max-height: 1080px;
  overflow: hidden;
  display: flex;
  position: relative;
}

.slide {
  width: 100%;
  height: 100%;
  justify-content: space-between;
  align-items: center;
  display: flex;
  padding: 0 8% 5vh;
  gap: 4vw;
  position: absolute;
  top: 0;
  left: 0;
  clip-path: circle(0% at 85% 50%);
  opacity: 0;
  transition: clip-path 0s 1s, opacity 0s 1s;

  p {
    opacity: 0;
    transition: opacity 0.6s 0.8s;
  }

  .botaoPrimario {
    opacity: 0;
    transform: translateY(20px);
    transition: opacity 0.6s 1s, transform 0.6s 1s;
  }

  .imgNext {
    opacity: 0;
    transition: opacity 1s;
  }

  &.active {
    clip-path: circle(120% at 85% 50%);
    opacity: 1;
    transition: clip-path 1s 0s, opacity 0.1s 0s;
    z-index: 1;

    p {
      opacity: 1;
    }

    .botaoPrimario {
      opacity: 1;
      transform: translateY(0px);
    }

    .imgNext {
      opacity: 1;
    }
  }
}

/* ÁREA TEXTUAL DO HERO (ESQUERDA) */

.conteudo {
  flex: 0 1 540px;
  position: relative;
  margin: 0;
  z-index: 5;
  text-align: left;

  h2 {
    font-size: clamp(38px, 4.2vw, 62px);
    font-weight: 700;
    line-height: 1.12;
    letter-spacing: -0.025em;
    color: #ffffff;
  }

  p {
    width: 100%;
    max-width: 480px;
    margin-top: 18px;
    font-size: clamp(15px, 1.15vw, 18px);
    line-height: 1.6;
    color: rgba(255, 255, 255, 0.9);
  }
}

.tituloSlide h2 {
  overflow: hidden;
}

/* BOTÃO CTA NUBANK (Fundo branco, texto roxo, seta à direita, hover suave) */

.botaoPrimario {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  border-radius: 32px;
  padding: 15px 30px;
  font-size: 16px;
  font-weight: 600;
  background-color: #ffffff;
  color: #820ad1;
  border: none;
  margin-top: 36px;
  letter-spacing: -0.01em;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.22);
  cursor: pointer;
  transition: background-color 0.3s ease, transform 0.3s ease, box-shadow 0.3s ease, color 0.3s ease;

  .btnSeta {
    display: inline-block;
    transition: transform 0.25s ease;
  }

  &:hover {
    background-color: #f7f3fc;
    color: #6a07ab;
    transform: translateY(-3px);
    box-shadow: 0 12px 30px rgba(0, 0, 0, 0.3);

    .btnSeta {
      transform: translateX(4px);
    }
  }
}

/* CARTÕES NUBANK (DIREITA) */

.produtos {
  flex: 1;
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 2.2vw;
  z-index: 5;

  /* CARTÃO PRINCIPAL: SEMPRE VERTICAL (EM PÉ) */
  .primary-card {
    height: 33vw;
    max-height: 540px;
    width: auto;
    max-width: 25vw;
    aspect-ratio: 1072 / 1467;
    object-fit: contain;
    filter: drop-shadow(28px 42px 38px rgba(0, 0, 0, 0.48));
    transition: transform 0.4s ease, filter 0.4s ease;
    user-select: none;
    pointer-events: none;
  }

  /* CARTÃO SECUNDÁRIO / PRÓXIMO: SEMPRE HORIZONTAL (DEITADO) */
  .secondary-card {
    height: auto;
    width: 22vw;
    max-width: 340px;
    aspect-ratio: 1585 / 992;
    object-fit: contain;
    filter: drop-shadow(22px 34px 30px rgba(0, 0, 0, 0.4));
    scale: 0.84;
    opacity: 0.88;
    transition: all 0.35s ease;
    cursor: pointer;
    user-select: none;

    &:hover {
      transform: translateY(-6px) scale(0.87);
      opacity: 1;
      filter: drop-shadow(26px 40px 36px rgba(0, 0, 0, 0.55));
    }
  }
}

/* NAVEGAÇÃO DOS SLIDES */

.navSlides {
  position: absolute;
  left: 8%;
  bottom: 6vh;
  display: flex;
  align-items: center;
  gap: 24px;
  z-index: 9;

  .botoesNav {
    display: flex;
    gap: 12px;
  }

  button {
    background-color: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.2);
    width: 44px;
    height: 44px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: background-color 0.25s, transform 0.25s, border-color 0.25s;

    img {
      width: 14px;
      height: 14px;
    }

    &:hover {
      background-color: rgba(255, 255, 255, 0.25);
      border-color: rgba(255, 255, 255, 0.4);
      transform: translateY(-2px);
    }
  }

  .bullets {
    list-style-type: none;
    display: flex;
    gap: 8px;
    align-items: center;

    li {
      width: 24px;
      height: 8px;
      background-color: rgba(255, 255, 255, 0.4);
      border-radius: 12px;
      opacity: 0.8;
      cursor: pointer;
      transition: all 0.3s;

      &:hover {
        opacity: 1;
        background-color: rgba(255, 255, 255, 0.7);
      }

      &.active {
        width: 36px;
        background-color: rgba(255, 255, 255, 1);
        opacity: 1;
      }
    }
  }
}

.nuFundo {
  position: absolute;
  width: 55vw;
  mix-blend-mode: overlay;
  right: -14vw;
  bottom: -8vw;
  z-index: -1;
  opacity: 0.85;
  pointer-events: none;
}

/* CORES DINÂMICAS DOS 4 SLIDES NUBANK */
.slide:nth-child(1) {
  background: linear-gradient(100deg, #820ad1 2.57%, #4e0384 95.91%);
}

.slide:nth-child(2) {
  background: linear-gradient(100deg, #370066 2.57%, #140028 95.91%);
}

.slide:nth-child(3) {
  background: linear-gradient(100deg, #523773 2.57%, #221435 95.91%);
}

.slide:nth-child(4) {
  background: linear-gradient(100deg, #323342 2.57%, #181922 95.91%);
}

/* SEÇÃO 2 */

.secao2 {
  width: 100%;
  padding: 8% 8% 0;
  position: relative;
  z-index: 2;
  display: flex;
  flex-direction: column;
  gap: 4vw;
  background-color: #150d24;
}

.linhaVetorial {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
  z-index: 2;
}

.linhaVetorial svg {
  position: absolute;
  width: 100%;
  height: 100%;
  top: 0;
  left: 0;
  pointer-events: none;
  overflow: visible;
}

.marquee {
  position: relative;
  width: 100%;
  height: 30vw;
  overflow: hidden;
  position: absolute;
  top: -15vw;
  left: 0;
}

.marquee-inner {
  position: relative;
  width: 100%;
  height: 100%;
  display: grid;
  grid-template: 1fr / 1fr;
}

.marquee-bg-svg {
  color: #820ad1;
  grid-area: 1/1;
  z-index: 0;
}

.marquee-text-svg {
  z-index: 1;
  grid-area: 1/1;
}

.marquee-text-svg text {
  fill: var(--bg-light);
  letter-spacing: -0.03em;
  text-transform: uppercase;
  font-size: 5rem;
  font-weight: 700;
  font-family: "Poppins", sans-serif;
  user-select: none;
}

.marquee-inner svg {
  backface-visibility: hidden;
}

.marquee-overlay {
  z-index: -1;
  background-color: #150d24;
  clip-path: polygon(66% 40%, 100% 50%, 100% 100%, 0 100%, 0 50%);
  grid-area: 1/1;
  position: relative;
  bottom: 0px;
}

.etapa {
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  gap: 4vw;
  overflow: visible;

  img.lataEtapa {
    width: 16vw;
    max-width: 280px;
    height: auto;
    object-fit: contain;
    filter: drop-shadow(20px 30px 30px rgba(0, 0, 0, 0.45));

    &.cartao-h {
      width: 22vw;
      max-width: 340px;
    }

    &.cartao-v {
      width: 15vw;
      max-width: 260px;
    }
  }

  .card {
    display: flex;
    flex-direction: column;
    position: relative;
    width: 48%;
    max-width: 550px;
    border-radius: clamp(28px, 2.8vw, 42px);
    padding: clamp(26px, 2.6vw, 38px) clamp(30px, 3vw, 44px);
    box-shadow: 0 20px 48px rgba(0, 0, 0, 0.4);
    overflow: visible;
    z-index: 5;

    .iconeCard {
      width: clamp(50px, 4.4vw, 66px);
      height: auto;
      position: absolute;
      right: clamp(22px, 2.4vw, 38px);
      top: clamp(-20px, -1.8vw, -28px);
      filter: drop-shadow(0 8px 16px rgba(0, 0, 0, 0.35));
      margin-bottom: 0;
      z-index: 8;
    }

    .seta {
      position: absolute;
      width: clamp(36px, 3.2vw, 48px);
      height: auto;
      opacity: 0.55;
      filter: invert(1);
      z-index: 8;
    }

    h2 {
      font-size: clamp(30px, 3.2vw, 46px);
      font-weight: 700;
      color: #ffffff;
      line-height: 1.15;
      letter-spacing: -0.02em;
      margin-bottom: clamp(8px, 0.8vw, 12px);
      position: relative;
      z-index: 8;
    }

    p {
      font-size: clamp(14.5px, 1.1vw, 16.5px);
      color: rgba(255, 255, 255, 0.9);
      line-height: 1.55;
      max-width: 440px;
      position: relative;
      z-index: 8;
    }
  }

  &.laranja {
    z-index: 5;

    .card {
      background: linear-gradient(135deg, #820ad1 0%, #60049e 100%);
    }

    .seta {
      right: 20%;
      top: 32%;
      transform: rotate(40deg);
    }

    .lataEtapa {
      transform: rotate(15deg);
    }
  }

  &.azul {
    z-index: 6;
    position: relative;
    overflow: visible;

    .lataEtapa {
      position: relative;
      z-index: 7;
      transform: rotate(-8deg);
    }

    .card {
      /* CARD CASHBACK: MESMA PROPORÇÃO E PADRÃO VISUAL, COM ESTILO ULTRAVIOLETA PREMIUM */
      background: linear-gradient(
        135deg,
        rgba(35, 4, 62, 0.94) 0%,
        rgba(18, 1, 32, 0.98) 100%
      );
      backdrop-filter: blur(16px);
      -webkit-backdrop-filter: blur(16px);
      border: 1.5px solid rgba(168, 85, 247, 0.35);
      box-shadow: 0 20px 48px rgba(0, 0, 0, 0.5), inset 0 1px 0 rgba(255, 255, 255, 0.12);
      z-index: 7;

      .seta {
        right: 18%;
        top: 36%;
        transform: rotate(15deg);
      }
    }
  }

  &.verde {
    z-index: 5;

    .card {
      background: linear-gradient(135deg, #4d2375 0%, #290e44 100%);
    }

    .seta {
      right: 6%;
      top: 34%;
      transform: rotate(140deg) scaleY(1);
    }

    .lataEtapa {
      transform: rotate(25deg);
    }
  }
}

/* ========================================================
   SEÇÃO 3 — CTA EXPERIENCE & DEVELOPER SHOWCASE
   ======================================================== */
.secao3 {
  width: 100%;
  display: flex;
  flex-direction: column;
  background-color: rgba(255, 255, 255, 0);
  color: #11052c;
  position: relative;
  z-index: 2;
  align-items: center;
  overflow: hidden;
  box-sizing: border-box;
}

/* Showcase Container */
.showcase-cta-container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  width: 100%;
  max-width: 1380px;
  padding: 6vw 4vw 5vw;
  box-sizing: border-box;
  gap: 3vw;
  position: relative;
}

/* 1. LADO ESQUERDO: CARTÃO FLUTUANTE */
.card-flutuante-wrapper {
  width: 25%;
  display: flex;
  justify-content: center;
  align-items: center;
}

.card-nu-showcase {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.cartao-nu-img {
  width: clamp(140px, 14vw, 220px);
  height: auto;
  object-fit: contain;
  transform: rotate(-8deg);
  filter: drop-shadow(0 20px 35px rgba(130, 10, 209, 0.28)) drop-shadow(0 8px 16px rgba(0, 0, 0, 0.12));
  transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1), filter 0.4s ease;
  will-change: transform;
}

.card-nu-showcase:hover .cartao-nu-img {
  transform: rotate(-3deg) translateY(-8px) scale(1.04);
  filter: drop-shadow(0 28px 45px rgba(130, 10, 209, 0.38)) drop-shadow(0 12px 20px rgba(0, 0, 0, 0.15));
}

.card-nu-badge {
  position: absolute;
  bottom: -15px;
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(8px);
  border: 1px solid rgba(130, 10, 209, 0.18);
  border-radius: 999px;
  padding: 6px 14px;
  font-size: clamp(11px, 0.8vw, 13px);
  font-weight: 600;
  color: #820ad1;
  box-shadow: 0 8px 20px rgba(130, 10, 209, 0.12), 0 2px 6px rgba(0, 0, 0, 0.04);
  display: flex;
  align-items: center;
  gap: 6px;
  white-space: nowrap;
  pointer-events: none;
}

.pulse-dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: #820ad1;
  box-shadow: 0 0 8px #820ad1;
}

/* 2. CENTRO: CTA PRINCIPAL */
.conteudoSec3 {
  width: 50%;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  text-align: center;
  box-sizing: border-box;
}

.tag-cta-nu {
  display: inline-block;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 1.5px;
  color: #820ad1;
  background: rgba(130, 10, 209, 0.08);
  border: 1px solid rgba(130, 10, 209, 0.18);
  padding: 5px 14px;
  border-radius: 999px;
  margin-bottom: 16px;
  text-transform: uppercase;
}

.conteudoSec3 h2 {
  font-size: clamp(26px, 2.7vw, 44px);
  font-weight: 800;
  color: #11052c;
  line-height: 1.22;
  margin: 0;
  max-width: 640px;
  letter-spacing: -0.5px;
}

.subtituloSec3 {
  font-size: clamp(13.5px, 1.05vw, 16px);
  font-weight: 400;
  color: #555555;
  line-height: 1.55;
  margin: 16px 0 0;
  max-width: 520px;
}

.botaoSecao3 {
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  margin-top: 32px;
}

.seta-cta {
  width: clamp(45px, 4.5vw, 68px);
  position: absolute;
  left: -75px;
  top: -15px;
  transform: rotate(55deg);
  pointer-events: none;
  filter: drop-shadow(0 2px 4px rgba(0, 0, 0, 0.08));
}

.botaoSecao3 .botaoPrimario {
  background: linear-gradient(135deg, #820ad1 0%, #9a19f2 100%);
  color: #ffffff;
  border: none;
  font-weight: 700;
  padding: 16px 34px;
  font-size: clamp(14px, 1.05vw, 16px);
  letter-spacing: 0.5px;
  border-radius: 999px;
  box-shadow: 0 10px 28px rgba(130, 10, 209, 0.38), 0 4px 10px rgba(0, 0, 0, 0.06);
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

.botaoSecao3 .botaoPrimario:hover {
  transform: translateY(-3px) scale(1.02);
  box-shadow: 0 16px 36px rgba(130, 10, 209, 0.5), 0 6px 14px rgba(0, 0, 0, 0.1);
  background: linear-gradient(135deg, #7408bc 0%, #8e15e2 100%);
}

.btn-cta-icon {
  transition: transform 0.25s ease;
}

.botaoSecao3 .botaoPrimario:hover .btn-cta-icon {
  transform: translateX(4px);
}

.trust-badges {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 24px;
  margin-top: 28px;
  flex-wrap: wrap;
}

.trust-item {
  display: flex;
  align-items: center;
  gap: 7px;
  font-size: 12.5px;
  font-weight: 600;
  color: #666666;
}

/* 3. LADO DIREITO: FOTO DO KELVI — DEVELOPER SHOWCASE CARD */
.dev-showcase-wrapper {
  width: 25%;
  display: flex;
  justify-content: center;
  align-items: center;
}

.dev-card {
  background: #ffffff;
  border: 1.5px solid rgba(130, 10, 209, 0.16);
  border-radius: 24px;
  padding: 12px;
  box-shadow: 0 20px 45px -10px rgba(130, 10, 209, 0.2), 0 8px 24px rgba(0, 0, 0, 0.06);
  width: 100%;
  max-width: 260px;
  position: relative;
  transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
  box-sizing: border-box;
}

.dev-card:hover {
  transform: translateY(-8px);
  border-color: rgba(130, 10, 209, 0.35);
  box-shadow: 0 28px 55px -10px rgba(130, 10, 209, 0.3), 0 12px 30px rgba(0, 0, 0, 0.08);
}

.dev-badge-top {
  position: absolute;
  top: 20px;
  left: 20px;
  z-index: 3;
  background: rgba(17, 5, 44, 0.88);
  backdrop-filter: blur(8px);
  border: 1px solid rgba(255, 255, 255, 0.22);
  border-radius: 999px;
  padding: 5px 12px;
  font-size: 11px;
  font-weight: 600;
  color: #ffffff;
  display: flex;
  align-items: center;
  gap: 6px;
  pointer-events: none;
}

.dev-dot-pulse {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: #00e676;
  box-shadow: 0 0 10px #00e676;
}

.dev-img-wrapper {
  width: 100%;
  aspect-ratio: 3/3.7;
  border-radius: 16px;
  overflow: hidden;
  position: relative;
  background: #0e011a;
}

.dev-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 20%;
  display: block;
  transition: transform 0.6s cubic-bezier(0.16, 1, 0.3, 1);
}

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

.dev-img-gradient {
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 35%;
  background: linear-gradient(180deg, transparent 0%, rgba(17, 5, 44, 0.35) 100%);
  pointer-events: none;
}

.dev-card-footer {
  padding: 12px 6px 4px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 8px;
}

.dev-name {
  font-size: 14.5px;
  font-weight: 700;
  color: #11052c;
  margin: 0;
  line-height: 1.2;
}

.dev-role {
  font-size: 11px;
  font-weight: 500;
  color: #820ad1;
  margin: 2px 0 0;
}

.dev-socials {
  display: flex;
  align-items: center;
  gap: 6px;
}

.dev-social-link {
  width: 30px;
  height: 30px;
  border-radius: 8px;
  background: rgba(130, 10, 209, 0.08);
  color: #820ad1;
  display: flex;
  align-items: center;
  justify-content: center;
  text-decoration: none;
  transition: all 0.25s ease;
}

.dev-social-link:hover {
  background: #820ad1;
  color: #ffffff;
  transform: translateY(-2px);
}

/* ========================================================
   FOOTER INSTITUCIONAL MODERNO NUBANK & DEV
   ======================================================== */
.footer-moderno {
  width: 100%;
  background: linear-gradient(180deg, #120428 0%, #080112 100%);
  color: #ffffff;
  padding: 64px 4vw 32px;
  box-sizing: border-box;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  position: relative;
  z-index: 2;
}

.footer-inner {
  max-width: 1380px;
  margin: 0 auto;
  width: 100%;
}

.footer-grid {
  display: grid;
  grid-template-columns: 2.2fr 1fr 1fr 1.3fr;
  gap: 48px;
  margin-bottom: 56px;
}

.footer-col.col-brand {
  max-width: 380px;
}

.footer-logo {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 16px;
}

.nu-brand {
  background: #820ad1;
  color: #ffffff;
  font-size: 24px;
  font-weight: 800;
  padding: 3px 12px;
  border-radius: 8px;
  letter-spacing: -0.5px;
  display: inline-block;
}

.nu-tagline {
  font-size: 13px;
  font-weight: 600;
  color: rgba(255, 255, 255, 0.75);
}

.footer-desc {
  font-size: 13px;
  line-height: 1.65;
  color: rgba(255, 255, 255, 0.65);
  margin: 0 0 24px;
}

.footer-social-bar {
  display: flex;
  gap: 10px;
}

.social-icon-btn {
  width: 38px;
  height: 38px;
  border-radius: 10px;
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.1);
  color: #ffffff;
  display: flex;
  align-items: center;
  justify-content: center;
  text-decoration: none;
  transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

.social-icon-btn:hover {
  background: #820ad1;
  border-color: #820ad1;
  color: #ffffff;
  transform: translateY(-3px);
  box-shadow: 0 8px 20px rgba(130, 10, 209, 0.4);
}

.footer-title {
  font-size: 15px;
  font-weight: 700;
  color: #ffffff;
  margin: 0 0 18px;
  letter-spacing: 0.3px;
}

.footer-links {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.footer-links a {
  color: rgba(255, 255, 255, 0.65);
  text-decoration: none;
  font-size: 13.5px;
  transition: all 0.25s ease;
  display: inline-block;
}

.footer-links a:hover {
  color: #ffffff;
  transform: translateX(4px);
}

.highlight-dev {
  font-size: 14.5px;
  font-weight: 700;
  color: #ffffff;
  display: block;
}

.badge-dev-inline {
  display: inline-block;
  font-size: 11px;
  font-weight: 600;
  padding: 3px 9px;
  border-radius: 6px;
  background: rgba(130, 10, 209, 0.35);
  color: #ce93d8;
  border: 1px solid rgba(206, 147, 216, 0.3);
  margin-top: 4px;
}

.tech-item {
  font-size: 12.5px;
  color: rgba(255, 255, 255, 0.55);
}

.footer-bottom {
  padding-top: 28px;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 16px;
  font-size: 12.5px;
  color: rgba(255, 255, 255, 0.5);
}

.copyright-text strong {
  color: #ffffff;
}

.disclaimer-text {
  color: rgba(255, 255, 255, 0.45);
}

.back-to-top {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: rgba(255, 255, 255, 0.85);
  text-decoration: none;
  font-size: 12.5px;
  font-weight: 600;
  padding: 8px 16px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.12);
  transition: all 0.3s ease;
}

.back-to-top:hover {
  background: #820ad1;
  border-color: #820ad1;
  color: #ffffff;
  transform: translateY(-2px);
  box-shadow: 0 6px 18px rgba(130, 10, 209, 0.35);
}

/* ========================================================
   MENU MOBILE OVERLAY / DRAWER
   ======================================================== */
.menuMobileOverlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.65);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  z-index: 999;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.35s ease, visibility 0.35s ease;
}

.menuMobileOverlay.open {
  opacity: 1;
  visibility: visible;
}

.menuMobileDrawer {
  position: absolute;
  top: 0;
  right: 0;
  width: 84%;
  max-width: 340px;
  height: 100%;
  background: linear-gradient(180deg, #20003d 0%, #150d24 100%);
  border-left: 1px solid rgba(168, 85, 247, 0.25);
  display: flex;
  flex-direction: column;
  padding: 24px 20px;
  transform: translateX(100%);
  transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1);
  box-shadow: -12px 0 32px rgba(0, 0, 0, 0.6);
}

.menuMobileOverlay.open .menuMobileDrawer {
  transform: translateX(0);
}

.menuMobileHeader {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-bottom: 20px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.12);
}

.menuMobileHeader .logo {
  width: 48px;
  height: auto;
}

.menuMobileClose {
  background: transparent;
  border: none;
  color: #ffffff;
  cursor: pointer;
  padding: 6px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  transition: background-color 0.2s, transform 0.2s;
}

.menuMobileClose:hover {
  background-color: rgba(255, 255, 255, 0.12);
  transform: rotate(90deg);
}

.menuMobileNav {
  flex: 1;
  padding: 28px 0;
  overflow-y: auto;
}

.menuMobileNav ul {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 18px;
  padding: 0;
  margin: 0;
}

.menuMobileLink {
  color: rgba(255, 255, 255, 0.92);
  text-decoration: none;
  font-size: 19px;
  font-weight: 600;
  display: block;
  padding: 8px 0;
  letter-spacing: -0.01em;
  transition: color 0.2s, transform 0.2s;
}

.menuMobileLink:hover {
  color: #a855f7;
  transform: translateX(6px);
}

.menuMobileFooter {
  display: flex;
  flex-direction: column;
  gap: 18px;
  padding-top: 20px;
  border-top: 1px solid rgba(255, 255, 255, 0.12);
}

.menuMobileIcons {
  display: flex;
  gap: 20px;
}

.iconItem {
  display: flex;
  align-items: center;
  gap: 8px;
  color: rgba(255, 255, 255, 0.85);
  font-size: 14px;
  font-weight: 500;
  cursor: pointer;
}

.iconItem img {
  width: 18px;
  height: 18px;
}

.menuMobileCta {
  width: 100%;
  padding: 13px 20px;
  font-size: 15px;
  margin-top: 0;
  display: flex;
  align-items: center;
  justify-content: center;
}

/* ========================================================
   MEDIA QUERIES (RESPONSIVIDADE REAL E COMPLETA)
   ======================================================== */

/* 1. TABLET (768px a 1024px) */
@media screen and (max-width: 1024px) {
  header {
    padding: 24px 6%;
  }

  .slide {
    padding: 100px 6% 60px;
    gap: 3vw;
  }

  .conteudo {
    flex: 0 1 440px;

    h2 {
      font-size: clamp(30px, 4.2vw, 42px);
    }

    p {
      font-size: 15px;
    }
  }

  .produtos {
    gap: 2vw;

    .primary-card {
      height: 36vw;
      max-height: 420px;
      max-width: 28vw;
    }

    .secondary-card {
      width: 26vw;
      max-width: 280px;
      scale: 0.86;
    }
  }

  .navSlides {
    left: 6%;
    bottom: 4vh;
  }
}

/* 2. MOBILE GERAL & TABLET PORTRAIT (Até 820px) */
@media screen and (max-width: 820px) {
  /* 1. HEADER MOBILE */
  header {
    padding: 16px 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 99;

    nav,
    .desktopNav,
    div.headerActions,
    div:not(.menuMobileOverlay):not(.menuMobileDrawer):not(.menuMobileHeader):not(.menuMobileNav):not(.menuMobileFooter):not(.menuMobileIcons):not(.iconItem) {
      display: none;
    }

    .logo {
      width: 50px;
      height: auto;
      display: block;
    }

    .menuHamburguer {
      display: flex;
      align-items: center;
      justify-content: center;
      width: 32px;
      height: 32px;
      background: transparent;
      border: none;
      cursor: pointer;
      padding: 0;

      img {
        width: 26px;
        height: 26px;
      }
    }
  }

  /* 2. HERO SECTION / SLIDES MOBILE (Sem espaço vazio excessivo) */
  .slides {
    height: auto;
    min-height: 100svh;
    min-height: clamp(620px, 100svh, 820px);
    overflow: hidden;
    position: relative;
    display: flex;
  }

  .slide {
    flex-direction: column;
    justify-content: flex-start;
    align-items: flex-start;
    padding: 72px 20px 60px;
    gap: 0;
    width: 100%;
    height: 100%;
    position: absolute;
    top: 0;
    left: 0;

    .conteudo {
      width: 100%;
      max-width: 100%;
      margin: 0;
      flex: 0 0 auto;
      text-align: left;
      z-index: 5;

      h2 {
        font-size: clamp(26px, 7.2vw, 36px);
        line-height: 1.15;
        letter-spacing: -0.02em;
        word-break: break-word;
      }

      p {
        width: 100%;
        max-width: 100%;
        font-size: clamp(13px, 3.6vw, 15px);
        margin-top: 10px;
        line-height: 1.5;
        color: rgba(255, 255, 255, 0.9);
      }

      .botaoPrimario {
        margin-top: 14px;
        padding: 11px 22px;
        font-size: 14px;
        width: fit-content;
        border-radius: 32px;
        background-color: #ffffff;
        color: #820ad1;
        box-shadow: 0 6px 18px rgba(0, 0, 0, 0.22);
      }
    }

    /* 3. CARTÕES NUBANK (1 Vertical + 1 Horizontal Centralizados) */
    .produtos {
      flex: 1;
      width: 100%;
      margin-top: 14px;
      margin-bottom: 24px;
      display: flex;
      justify-content: center;
      align-items: center;
      gap: clamp(8px, 2.5vw, 16px);
      z-index: 5;

      /* Cartão Vertical (Em pé) */
      .primary-card {
        height: clamp(160px, 38vw, 215px);
        max-height: 220px;
        width: auto;
        max-width: 38vw;
        aspect-ratio: 1072 / 1467;
        object-fit: contain;
        filter: drop-shadow(16px 24px 26px rgba(0, 0, 0, 0.45));
      }

      /* Cartão Horizontal (Deitado) */
      .secondary-card {
        width: clamp(140px, 42vw, 225px);
        max-width: 46vw;
        height: auto;
        aspect-ratio: 1585 / 992;
        object-fit: contain;
        filter: drop-shadow(14px 20px 22px rgba(0, 0, 0, 0.38));
        scale: 0.92;

        &:hover {
          transform: none;
        }
      }
    }
  }

  /* 4. CONTROLES DO CARROSSEL HERO */
  .navSlides {
    position: absolute;
    bottom: 16px;
    left: 20px;
    right: 20px;
    width: calc(100% - 40px);
    display: flex;
    justify-content: space-between;
    align-items: center;
    z-index: 10;
    margin: 0;

    .bullets {
      display: flex;
      gap: 6px;
      align-items: center;
      list-style: none;

      li {
        width: 18px;
        height: 6px;
        background-color: rgba(255, 255, 255, 0.4);
        border-radius: 8px;
        transition: all 0.3s ease;

        &.active {
          width: 28px;
          background-color: #ffffff;
        }
      }
    }

    .botoesNav {
      display: flex;
      gap: 8px;

      button {
        width: 38px;
        height: 38px;
        background-color: rgba(255, 255, 255, 0.15);
        border: 1px solid rgba(255, 255, 255, 0.25);
        border-radius: 50%;
        display: flex;
        align-items: center;
        justify-content: center;

        img {
          width: 12px;
          height: 12px;
        }
      }
    }
  }

  .nuFundo {
    width: 80vw;
    right: -25vw;
    bottom: -10vw;
    opacity: 0.35;
  }

  /* 5. ELEMENTOS INFERIORES & FAIXA MARQUEE SEM CORTES OU SOBREPOSIÇÃO */
  .marquee {
    position: relative;
    top: 0;
    left: 0;
    height: clamp(80px, 20vw, 120px);
    margin-top: 0;
    margin-bottom: 20px;
    overflow: hidden;

    .marquee-text-svg text {
      font-size: clamp(1.8rem, 7.5vw, 3rem);
    }
  }

  .secao2 {
    padding: 40px 20px 0;
    gap: clamp(48px, 6vw, 72px);
    overflow-x: clip;
  }

  .etapa {
    gap: 16px;
    width: 100%;
    max-width: 600px;
    margin: 0 auto;
    justify-content: space-between;
  }

  .etapa .card {
    flex: 1 1 0%;
    min-width: 0;
    width: auto;
    max-width: none;
    padding: 20px 22px;
    border-radius: 22px;
    box-sizing: border-box;

    .iconeCard {
      width: 38px;
      top: -12px;
      right: 16px;
    }

    .seta {
      width: 30px;
    }

    h2 {
      font-size: clamp(22px, 5.5vw, 28px);
      margin-bottom: 6px;
    }

    p {
      font-size: clamp(12.5px, 3.2vw, 14px);
      line-height: 1.45;
    }
  }

  .etapa img.lataEtapa {
    flex-shrink: 0;

    &.cartao-h {
      width: 24vw;
      max-width: 130px;
    }
    &.cartao-v {
      width: 18vw;
      max-width: 105px;
    }
  }

  .linhaVetorial svg {
    top: 0;
    width: 100%;
    height: 100%;
    left: 0;
  }

  /* RESPONSIVIDADE SEÇÃO 3 & FOOTER MODERNO */
  .secao3 {
    padding: 0;
  }

  .showcase-cta-container {
    flex-direction: column;
    padding: 60px 20px 48px;
    gap: 40px;
  }

  .conteudoSec3 {
    width: 100%;
    order: 1;
    padding: 0;
  }

  .conteudoSec3 h2 {
    font-size: clamp(24px, 6vw, 34px);
    max-width: 100%;
  }

  .subtituloSec3 {
    font-size: 14px;
    max-width: 100%;
    margin-top: 12px;
  }

  .botaoSecao3 {
    margin-top: 24px;
    width: 100%;
  }

  .seta-cta {
    display: none;
  }

  .botaoSecao3 .botaoPrimario {
    width: 100%;
    max-width: 320px;
    justify-content: center;
    padding: 14px 28px;
    font-size: 14px;
  }

  .trust-badges {
    gap: 16px;
    margin-top: 20px;
  }

  .trust-item {
    font-size: 12px;
  }

  .card-flutuante-wrapper {
    width: 100%;
    order: 2;
    margin-top: 8px;
  }

  .cartao-nu-img {
    width: 170px;
  }

  .dev-showcase-wrapper {
    width: 100%;
    order: 3;
    margin-top: 12px;
  }

  .dev-card {
    max-width: 280px;
  }

  .footer-moderno {
    padding: 48px 20px 28px;
  }

  .footer-grid {
    grid-template-columns: 1fr;
    gap: 36px;
    margin-bottom: 40px;
  }

  .footer-col.col-brand {
    max-width: 100%;
  }

  .footer-bottom {
    flex-direction: column;
    text-align: center;
    gap: 14px;
    padding-top: 22px;
  }

  .back-to-top {
    margin-top: 8px;
  }
}

/* 3. MOBILE PADRÃO (376px a 430px) */
@media screen and (max-width: 430px) {
  header {
    padding: 16px 20px;

    .logo {
      width: 46px;
    }
  }

  .slide {
    padding: 68px 20px 58px;

    .conteudo {
      h2 {
        font-size: clamp(24px, 6.8vw, 30px);
      }

      p {
        font-size: 13.5px;
      }
    }

    .produtos {
      gap: 12px;

      .primary-card {
        height: clamp(150px, 38vw, 185px);
      }

      .secondary-card {
        width: clamp(130px, 42vw, 175px);
      }
    }
  }
}

/* 4. MOBILE PEQUENO (320px a 375px) */
@media screen and (max-width: 375px) {
  header {
    padding: 14px 16px;

    .logo {
      width: 42px;
    }

    .menuHamburguer {
      width: 28px;
      height: 28px;

      img {
        width: 24px;
        height: 24px;
      }
    }
  }

  .slide {
    padding: 62px 16px 54px;

    .conteudo {
      h2 {
        font-size: 23px;
        line-height: 1.15;
      }

      p {
        font-size: 12.5px;
        margin-top: 8px;
      }

      .botaoPrimario {
        margin-top: 12px;
        padding: 9px 18px;
        font-size: 13px;
      }
    }

    .produtos {
      margin-top: 10px;
      margin-bottom: 18px;
      gap: 8px;

      .primary-card {
        height: 140px;
        max-width: 36vw;
      }

      .secondary-card {
        width: 125px;
        max-width: 44vw;
      }
    }
  }

  .navSlides {
    left: 16px;
    right: 16px;
    width: calc(100% - 32px);
    bottom: 12px;

    .botoesNav button {
      width: 34px;
      height: 34px;
    }
  }

  .secao2 {
    padding: 32px 16px 0;
    gap: clamp(44px, 9vh, 64px);
    overflow-x: clip;
  }

  .etapa {
    gap: 12px;
    width: 100%;
    padding: 0 4px;
    justify-content: space-between;
    align-items: center;
    box-sizing: border-box;
    overflow: visible;
  }

  .etapa .card {
    flex: 1 1 0%;
    min-width: 0;
    width: auto;
    max-width: none;
    padding: 14px 16px;
    border-radius: 20px;
    box-sizing: border-box;

    .iconeCard {
      width: 26px;
      top: -8px;
      right: 12px;
    }

    h2 {
      font-size: 17px;
      margin-bottom: 3px;
    }

    p {
      font-size: 11px;
      line-height: 1.35;
    }
  }

  .etapa img.lataEtapa {
    flex-shrink: 0;

    &.cartao-h {
      width: 22vw;
      max-width: 82px;
    }
    &.cartao-v {
      width: 16vw;
      max-width: 60px;
    }
  }

  .etapa.laranja .lataEtapa {
    transform: rotate(6deg);
  }

  .etapa.azul .lataEtapa {
    transform: rotate(-6deg);
  }

  .etapa.verde .lataEtapa {
    transform: rotate(8deg);
  }

  .linhaVetorial svg {
    top: 0;
    width: 100%;
    height: 100%;
    left: 0;
  }
}
