/* =========================================================
   REDUZ CARD — Design System
   Cores extraídas da identidade oficial (logo do app):
   Rosa/Magenta #FC0281 -> Roxo #A21FD6 -> Índigo #3220BB
   ========================================================= */

:root {
  --pink: #fc0281;
  --magenta: #a21fd6;
  --indigo: #3220bb;
  --indigo-dark: #1c1152;
  --night: #0d0722;

  --grad-brand: linear-gradient(120deg, var(--pink) 0%, var(--magenta) 55%, var(--indigo) 100%);
  --grad-brand-soft: linear-gradient(120deg, rgba(252, 2, 129, .12), rgba(50, 32, 187, .12));
  --grad-hero: radial-gradient(120% 140% at 15% 0%, #4a2fd6 0%, #2413a3 32%, #150a5e 62%, #0d0722 100%);
  --grad-banner: linear-gradient(115deg, #ff0a86 0%, #b21fd6 45%, #3220bb 100%);

  --ink: #1a1330;
  --ink-soft: #57506f;
  --bg: #fbfaff;
  --bg-alt: #f3f0fb;
  --white: #ffffff;
  --line: #e7e2f5;

  --shadow-sm: 0 2px 10px rgba(30, 12, 80, .08);
  --shadow-md: 0 12px 30px rgba(35, 12, 90, .12);
  --shadow-lg: 0 24px 60px rgba(20, 8, 70, .22);
  --shadow-glow: 0 14px 34px rgba(252, 2, 129, .35);

  --radius-sm: 12px;
  --radius-md: 20px;
  --radius-lg: 28px;
  --radius-pill: 999px;

  --header-h: 78px;
  --ff: 'Segoe UI', Inter, Roboto, -apple-system, BlinkMacSystemFont, 'Helvetica Neue', Arial, sans-serif;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }

body {
  margin: 0;
  font-family: var(--ff);
  color: var(--ink);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
ul { list-style: none; margin: 0; padding: 0; }

.container {
  width: 100%;
  max-width: 1180px;
  margin: 0 auto;
  padding: 0 24px;
}

h1, h2, h3 { line-height: 1.15; margin: 0 0 16px; font-weight: 800; letter-spacing: -0.02em; }
h2 { font-size: clamp(1.8rem, 3.4vw, 2.6rem); }
h3 { font-size: 1.15rem; }
p { line-height: 1.65; color: var(--ink-soft); margin: 0 0 14px; }

.grad-text {
  background: var(--grad-brand);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.section { padding: 96px 0; }
@media (max-width: 700px) { .section { padding: 64px 0; } }

.section-head { text-align: center; max-width: 640px; margin: 0 auto 52px; }
.section-head p { margin-top: 8px; }

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: .82rem;
  font-weight: 700;
  letter-spacing: .04em;
  padding: 7px 16px;
  border-radius: var(--radius-pill);
  background: rgba(255, 255, 255, .12);
  color: #fff;
  margin-bottom: 18px;
}
.eyebrow-dark {
  background: var(--grad-brand-soft);
  color: var(--magenta);
  border: 1px solid rgba(162, 31, 214, .18);
}

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  font-weight: 700;
  font-family: inherit;
  border: none;
  cursor: pointer;
  border-radius: var(--radius-pill);
  transition: transform .18s ease, box-shadow .18s ease, filter .18s ease;
  white-space: nowrap;
}
.btn-icon { font-size: 1.1em; line-height: 1; }

.btn-primary {
  background: var(--grad-brand);
  color: #fff;
  box-shadow: var(--shadow-glow);
}
.btn-primary:hover { transform: translateY(-3px); filter: brightness(1.06); box-shadow: 0 20px 44px rgba(252, 2, 129, .42); }
.btn-primary:active { transform: translateY(-1px); }

.btn-white {
  background: #fff;
  color: var(--indigo);
  box-shadow: 0 14px 34px rgba(0, 0, 0, .22);
}
.btn-white:hover { transform: translateY(-3px); box-shadow: 0 20px 44px rgba(0, 0, 0, .28); }

.btn-sm { padding: 10px 20px; font-size: .88rem; }
.btn-lg { padding: 18px 34px; font-size: 1.05rem; }
.btn-xl { padding: 22px 46px; font-size: 1.2rem; }

@media (max-width: 480px) {
  .btn-lg { width: 100%; padding: 17px 24px; }
  .btn-xl { width: 100%; padding: 19px 24px; font-size: 1.08rem; }
}

.center-cta { text-align: center; margin-top: 56px; }

/* =========================================================
   HEADER
   ========================================================= */
.site-header {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 500;
  height: var(--header-h);
  display: flex;
  align-items: center;
  background: rgba(251, 250, 255, .78);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border-bottom: 1px solid transparent;
  transition: box-shadow .25s ease, border-color .25s ease, background .25s ease;
}
.site-header.scrolled {
  background: rgba(251, 250, 255, .95);
  border-color: var(--line);
  box-shadow: var(--shadow-sm);
}

.header-inner { display: flex; align-items: center; justify-content: space-between; gap: 20px; }

.brand { display: flex; align-items: center; }
.brand-logo { height: 42px; width: auto; }

.main-nav { display: flex; align-items: center; gap: 30px; }
.nav-link {
  font-size: .95rem;
  font-weight: 600;
  color: var(--ink);
  position: relative;
  padding: 6px 2px;
}
.nav-link::after {
  content: '';
  position: absolute;
  left: 0; bottom: -2px;
  width: 0; height: 2px;
  background: var(--grad-brand);
  transition: width .2s ease;
  border-radius: 2px;
}
.nav-link:hover::after { width: 100%; }

.header-actions { display: flex; align-items: center; gap: 14px; }
.header-cta { flex-shrink: 0; }

.nav-toggle {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 40px; height: 40px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 0;
}
.nav-toggle span {
  display: block;
  height: 2.5px;
  width: 100%;
  background: var(--ink);
  border-radius: 2px;
  transition: transform .25s ease, opacity .25s ease;
}
.nav-toggle.open span:nth-child(1) { transform: translateY(7.5px) rotate(45deg); }
.nav-toggle.open span:nth-child(2) { opacity: 0; }
.nav-toggle.open span:nth-child(3) { transform: translateY(-7.5px) rotate(-45deg); }

.nav-overlay {
  position: fixed; inset: 0;
  background: rgba(13, 7, 34, .5);
  opacity: 0; visibility: hidden;
  transition: opacity .25s ease, visibility .25s ease;
  z-index: 490;
}
.nav-overlay.open { opacity: 1; visibility: visible; }

@media (max-width: 900px) {
  .main-nav {
    position: fixed;
    top: 0; right: 0;
    height: 100vh;
    width: min(320px, 82vw);
    background: #fff;
    flex-direction: column;
    align-items: flex-start;
    justify-content: flex-start;
    gap: 6px;
    padding: 100px 30px 30px;
    box-shadow: -20px 0 50px rgba(20, 8, 70, .18);
    transform: translateX(100%);
    transition: transform .3s ease;
    z-index: 495;
  }
  .main-nav.open { transform: translateX(0); }
  .main-nav .nav-link { width: 100%; padding: 14px 0; border-bottom: 1px solid var(--line); font-size: 1.05rem; }
  .header-cta { display: none; }
  .nav-toggle { display: flex; }
}

/* =========================================================
   HERO
   ========================================================= */
.hero {
  position: relative;
  padding: calc(var(--header-h) + 64px) 0 90px;
  background: var(--grad-hero);
  overflow: hidden;
}
.hero-bg {
  position: absolute; inset: 0;
  background-image:
    radial-gradient(600px 500px at 90% 10%, rgba(252, 2, 129, .35), transparent 60%),
    radial-gradient(500px 400px at 100% 90%, rgba(162, 31, 214, .28), transparent 60%);
  pointer-events: none;
}
.hero-inner {
  position: relative;
  display: grid;
  grid-template-columns: 1.05fr .95fr;
  gap: 50px;
  align-items: center;
}

.hero-copy h1 { color: #fff; font-size: clamp(2.1rem, 4.6vw, 3.4rem); }
.hero-sub { color: rgba(255, 255, 255, .82); font-size: 1.08rem; max-width: 540px; }
.hero-microcopy { color: rgba(255, 255, 255, .6); font-size: .88rem; margin: 14px 0 0; }

.hero-trust {
  display: flex;
  flex-wrap: wrap;
  gap: 12px 22px;
  margin-top: 34px;
}
.trust-item {
  display: flex;
  align-items: center;
  gap: 8px;
  color: rgba(255, 255, 255, .85);
  font-size: .88rem;
  font-weight: 600;
}

/* ---- phone mockup ---- */
.hero-visual { position: relative; display: flex; justify-content: center; }
.phone-mock { position: relative; width: min(320px, 78vw); }

.phone-frame {
  position: relative;
  background: #120a33;
  border-radius: 44px;
  padding: 14px;
  box-shadow: var(--shadow-lg), 0 0 0 1px rgba(255, 255, 255, .06) inset;
  animation: float 5s ease-in-out infinite;
}
.phone-notch {
  position: absolute;
  top: 14px; left: 50%;
  transform: translateX(-50%);
  width: 90px; height: 22px;
  background: #120a33;
  border-radius: 0 0 16px 16px;
  z-index: 2;
}
.phone-screen {
  position: relative;
  background: linear-gradient(180deg, #ffffff 0%, #f6f3ff 100%);
  border-radius: 32px;
  padding: 34px 18px 22px;
  min-height: 500px;
  overflow: hidden;
}

.app-topbar { display: flex; align-items: center; justify-content: space-between; margin-bottom: 18px; }
.app-logo-sm { height: 26px; width: auto; }
.app-bell { font-size: 1.2rem; }

.app-hello { font-size: .92rem; font-weight: 700; color: var(--ink); margin-bottom: 14px; }

.app-balance-card {
  background: var(--grad-brand);
  border-radius: var(--radius-md);
  padding: 18px;
  display: flex;
  flex-direction: column;
  gap: 6px;
  color: #fff;
  margin-bottom: 18px;
  box-shadow: 0 10px 24px rgba(252, 2, 129, .28);
}
.app-balance-label { font-size: .74rem; opacity: .85; font-weight: 600; text-transform: uppercase; letter-spacing: .04em; }
.app-balance-value { font-size: 1.15rem; font-weight: 800; }

.app-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 8px; margin-bottom: 18px; }
.app-tile {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 14px;
  padding: 10px 4px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 6px;
  font-size: .62rem;
  font-weight: 700;
  color: var(--ink-soft);
}
.app-tile span { font-size: 1.15rem; }

.app-list-item {
  display: flex;
  align-items: center;
  gap: 10px;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 14px;
  padding: 12px 14px;
  font-size: .78rem;
  font-weight: 600;
  color: var(--ink);
  margin-bottom: 8px;
}
.app-list-item span { font-size: 1.05rem; }

.float-chip {
  position: absolute;
  background: #fff;
  color: var(--indigo);
  font-weight: 700;
  font-size: .78rem;
  padding: 10px 16px;
  border-radius: var(--radius-pill);
  box-shadow: var(--shadow-md);
  animation: float 5s ease-in-out infinite;
}
.chip-1 { top: 12%; left: -8%; animation-delay: .4s; }
.chip-2 { bottom: 14%; right: -10%; animation-delay: 1s; }

@keyframes float {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-14px); }
}

@media (max-width: 900px) {
  .hero-inner { grid-template-columns: 1fr; text-align: center; }
  .hero-sub { margin-left: auto; margin-right: auto; }
  .hero-trust { justify-content: center; }
  .hero-visual { margin-top: 20px; }
  .chip-1, .chip-2 { display: none; }
}

/* =========================================================
   ABOUT / CONHEÇA
   ========================================================= */
.about-inner { max-width: 720px; margin: 0 auto; text-align: center; }
.about-badge {
  display: inline-block;
  font-size: .8rem;
  font-weight: 700;
  color: var(--magenta);
  background: var(--grad-brand-soft);
  padding: 7px 16px;
  border-radius: var(--radius-pill);
  margin-bottom: 18px;
}
.about h2 { font-size: clamp(1.7rem, 3.2vw, 2.3rem); }
.about-highlight {
  font-weight: 800;
  font-size: 1.15rem;
  color: var(--ink);
  margin-top: 20px;
}

/* =========================================================
   BENEFÍCIOS
   ========================================================= */
.beneficios { background: var(--bg-alt); }

.cards-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 26px;
}
@media (max-width: 900px) { .cards-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 560px) { .cards-grid { grid-template-columns: 1fr; } }

.benefit-card {
  background: #fff;
  border-radius: var(--radius-lg);
  padding: 32px 26px;
  border: 1px solid var(--line);
  transition: transform .22s ease, box-shadow .22s ease, border-color .22s ease;
}
.benefit-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-md);
  border-color: transparent;
}
.benefit-icon {
  width: 58px; height: 58px;
  display: flex; align-items: center; justify-content: center;
  font-size: 1.7rem;
  border-radius: 16px;
  background: var(--grad-brand-soft);
  margin-bottom: 18px;
}
.benefit-card h3 { margin-bottom: 8px; }
.benefit-card p { margin: 0; font-size: .93rem; }

/* =========================================================
   COMO FUNCIONA
   ========================================================= */
.steps {
  display: flex;
  align-items: flex-start;
  justify-content: center;
  gap: 0;
}
.step {
  flex: 1;
  max-width: 300px;
  text-align: center;
  padding: 0 16px;
}
.step-number {
  width: 34px; height: 34px;
  margin: 0 auto 14px;
  border-radius: 50%;
  background: var(--grad-brand);
  color: #fff;
  font-weight: 800;
  font-size: .95rem;
  display: flex; align-items: center; justify-content: center;
  box-shadow: var(--shadow-glow);
}
.step-icon { font-size: 2.4rem; margin-bottom: 10px; }
.step h3 { margin-bottom: 8px; }
.step p { font-size: .92rem; }

.step-connector {
  flex: 0 0 60px;
  height: 2px;
  background: linear-gradient(90deg, var(--pink), var(--indigo));
  margin-top: 17px;
  border-radius: 2px;
  opacity: .5;
}

@media (max-width: 800px) {
  .steps { flex-direction: column; align-items: center; gap: 40px; }
  .step { max-width: 380px; }
  .step-connector { display: none; }
}

/* =========================================================
   BANNER CTA
   ========================================================= */
.banner-cta {
  position: relative;
  background: var(--grad-banner);
  padding: 80px 0;
  text-align: center;
  overflow: hidden;
}
.banner-cta::before {
  content: '';
  position: absolute; inset: 0;
  background: radial-gradient(700px 300px at 50% -20%, rgba(255, 255, 255, .18), transparent 60%);
}
.banner-inner { position: relative; max-width: 640px; margin: 0 auto; }
.banner-cta h2 { color: #fff; font-size: clamp(1.7rem, 3.4vw, 2.4rem); }
.banner-cta p { color: rgba(255, 255, 255, .88); margin-bottom: 30px; }

/* =========================================================
   SEGURANÇA
   ========================================================= */
.seguranca-inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
}
.seguranca-copy h2 { font-size: clamp(1.7rem, 3.2vw, 2.3rem); }

.seguranca-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 18px;
}
.seguranca-item {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  padding: 26px 18px;
  text-align: center;
  font-weight: 700;
  font-size: .9rem;
  color: var(--ink);
  box-shadow: var(--shadow-sm);
}
.seguranca-icon {
  font-size: 1.8rem;
  margin-bottom: 10px;
}

@media (max-width: 800px) {
  .seguranca-inner { grid-template-columns: 1fr; gap: 34px; text-align: center; }
}

/* =========================================================
   SUPORTE
   ========================================================= */
.suporte { background: var(--bg-alt); }
.suporte-inner { max-width: 560px; margin: 0 auto; text-align: center; }
.suporte-actions { margin: 26px 0 18px; }
.suporte-email { font-size: .95rem; font-weight: 600; }
.suporte-email a { color: var(--magenta); text-decoration: underline; }

/* =========================================================
   CHAMADA FINAL
   ========================================================= */
.final-cta {
  position: relative;
  background: var(--grad-hero);
  text-align: center;
  overflow: hidden;
}
.final-bg {
  position: absolute; inset: 0;
  background-image: radial-gradient(650px 400px at 50% 100%, rgba(252, 2, 129, .28), transparent 60%);
  pointer-events: none;
}
.final-inner { position: relative; max-width: 620px; margin: 0 auto; }
.final-logo { height: 56px; width: auto; margin: 0 auto 22px; filter: drop-shadow(0 8px 20px rgba(0, 0, 0, .3)); }
.final-cta h2 { color: #fff; font-size: clamp(1.8rem, 3.6vw, 2.5rem); }
.final-cta p { color: rgba(255, 255, 255, .82); margin-bottom: 32px; }
.final-microcopy { color: rgba(255, 255, 255, .55); font-size: .85rem; margin-top: 16px; margin-bottom: 0; }

/* =========================================================
   FOOTER
   ========================================================= */
.site-footer { background: var(--night); color: rgba(255, 255, 255, .7); padding: 56px 0 0; }
.footer-inner {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: flex-start;
  gap: 30px;
  padding-bottom: 40px;
  border-bottom: 1px solid rgba(255, 255, 255, .1);
}
.footer-brand { max-width: 280px; }
.footer-logo { height: 34px; width: auto; margin-bottom: 12px; filter: brightness(0) invert(1); opacity: .9; }
.footer-brand p { color: rgba(255, 255, 255, .55); font-size: .88rem; margin: 0; }

.footer-links {
  display: flex;
  flex-wrap: wrap;
  gap: 14px 28px;
  font-size: .9rem;
  font-weight: 600;
}
.footer-links a { color: rgba(255, 255, 255, .75); transition: color .2s ease; }
.footer-links a:hover { color: #fff; }

.footer-bottom {
  text-align: center;
  padding: 22px 0 100px;
  font-size: .8rem;
  color: rgba(255, 255, 255, .4);
}
@media (min-width: 701px) { .footer-bottom { padding-bottom: 26px; } }

/* =========================================================
   STICKY MOBILE DOWNLOAD BAR + FAB SUPORTE
   ========================================================= */
.sticky-download {
  display: none;
  position: fixed;
  left: 16px; right: 16px; bottom: 16px;
  z-index: 480;
  background: var(--grad-brand);
  color: #fff;
  font-weight: 800;
  font-size: 1rem;
  text-align: center;
  padding: 16px;
  border-radius: var(--radius-pill);
  box-shadow: var(--shadow-glow);
  align-items: center;
  justify-content: center;
  gap: 10px;
}
@media (max-width: 700px) {
  .sticky-download { display: flex; }
  body { padding-bottom: 74px; }
}

/* =========================================================
   REVEAL ON SCROLL
   ========================================================= */
.reveal { opacity: 0; transform: translateY(24px); transition: opacity .7s ease, transform .7s ease; }
.reveal.in-view { opacity: 1; transform: translateY(0); }

@media (prefers-reduced-motion: reduce) {
  .reveal { opacity: 1; transform: none; transition: none; }
  .phone-frame, .float-chip { animation: none; }
  html { scroll-behavior: auto; }
}
