/* =========================================================
   Dvoi — Landing Page Styles
   ========================================================= */

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

:root {
  --lav-50:  #F5F3FF;
  --lav-100: #EDE9FE;
  --lav-200: #DDD6FE;
  --lav-300: #C4B5FD;
  --lav-400: #A78BFA;
  --lav-500: #8B5CF6;
  --lav-600: #7C3AED;
  --lav-700: #6D28D9;
  --lav-800: #5B21B6;
  --rose:    #F472B6;
  --mint:    #34D399;
  --amber:   #FBBF24;
  --text:    #1E1B2E;
  --text-2:  #4A4565;
  --text-3:  #9B93B8;
  --white:   #FFFFFF;
  --bg:      #F8F7FF;
}

html { scroll-behavior: smooth; }
body {
  font-family: 'DM Sans', sans-serif;
  background: var(--bg);
  color: var(--text);
  line-height: 1.6;
  overflow-x: hidden;
}

/* ---------------------------------------------------------
   NAV
--------------------------------------------------------- */
nav {
  position: sticky; top: 0; z-index: 100;
  background: rgba(248,247,255,.9);
  backdrop-filter: blur(14px);
  border-bottom: 1px solid var(--lav-100);
  padding: 0 5vw;
  display: flex; align-items: center; justify-content: space-between;
  height: 64px;
}
.nav-logo { font-family: 'DM Serif Display', serif; font-size: 26px; color: var(--lav-600); }
.nav-links { display: flex; gap: 32px; align-items: center; }
.nav-links a { font-size: 14px; font-weight: 500; color: var(--text-2); text-decoration: none; transition: color .2s; }
.nav-links a:hover { color: var(--lav-600); }
.btn-nav {
  background: var(--lav-600); color: #fff; border: none; border-radius: 999px;
  padding: 10px 22px; font-size: 14px; font-weight: 600; cursor: pointer;
  font-family: 'DM Sans', sans-serif; text-decoration: none; display: inline-block;
  transition: background .2s;
}
.btn-nav:hover { background: var(--lav-700); }

/* ---------------------------------------------------------
   HERO
--------------------------------------------------------- */
.hero-section {
  background: linear-gradient(-45deg, #F5F3FF, #EDE9FE, #DDD6FE, #F5F3FF);
  background-size: 400% 400%;
  animation: gradientShift 10s ease infinite;
  padding-bottom: 0;
}
.hero {
  padding: 80px 5vw 0; display: grid; grid-template-columns: 1fr 1fr;
  gap: 48px; align-items: end; max-width: 1200px; margin: 0 auto;
}
.hero-text    { padding-bottom: 64px; animation: fadeUp .6s ease both; }
.hero-visual  { display: flex; justify-content: center; align-items: flex-end; animation: fadeUp .7s .12s ease both; }

.eyebrow {
  display: inline-flex; align-items: center; gap: 8px;
  background: var(--lav-100); color: var(--lav-700);
  font-size: 12px; font-weight: 600; letter-spacing: .8px; text-transform: uppercase;
  padding: 6px 14px; border-radius: 999px; margin-bottom: 24px;
  border: 1px solid var(--lav-200);
}
.eyebrow span { width: 6px; height: 6px; border-radius: 50%; background: var(--lav-500); }

h1 {
  font-family: 'DM Serif Display', serif;
  font-size: clamp(36px, 4.5vw, 56px);
  line-height: 1.1; color: var(--text);
  margin-bottom: 20px; letter-spacing: -1px;
}
h1 em { color: var(--lav-500); font-style: italic; }

.hero-sub { font-size: 18px; color: var(--text-2); line-height: 1.65; max-width: 440px; margin-bottom: 36px; }
.hero-actions { display: flex; gap: 12px; flex-wrap: wrap; align-items: center; }

.btn-primary {
  background: var(--lav-600); color: #fff !important; border: none; border-radius: 999px;
  padding: 16px 32px; font-size: 16px; font-weight: 600; cursor: pointer;
  font-family: 'DM Sans', sans-serif; text-decoration: none; display: inline-block;
  transition: all .2s;
}
.btn-primary:hover { background: var(--lav-700); transform: translateY(-1px); }

.btn-ghost {
  background: transparent; color: var(--text-2); border: 1.5px solid var(--lav-200);
  border-radius: 999px; padding: 15px 28px; font-size: 15px; font-weight: 500;
  cursor: pointer; font-family: 'DM Sans', sans-serif; text-decoration: none;
  display: inline-block; transition: all .2s;
}
.btn-ghost:hover { border-color: var(--lav-400); color: var(--lav-600); }
.hero-note { font-size: 13px; color: var(--text-3); margin-top: 16px; }

/* ---------------------------------------------------------
   PHONE MOCKUP
--------------------------------------------------------- */
.hero-mockup {
  width: 100%;
  max-width: 420px;
  height: auto;
  object-fit: contain;
  align-self: flex-end;
  animation: fadeUp .7s .12s ease both, float 4s ease-in-out 1s infinite;
  filter: drop-shadow(0 32px 60px rgba(124,58,237,.18));
}

.phone-frame {
  width: 272px;
  background: var(--lav-50);
  border-radius: 44px;
  border: 6px solid var(--lav-200);
  overflow: hidden;
  box-shadow: 0 48px 80px rgba(124,58,237,.14), 0 8px 24px rgba(124,58,237,.08);
}
.phone-notch { width: 88px; height: 24px; background: var(--lav-100); border-radius: 0 0 16px 16px; margin: 0 auto; }
.phone-screen { padding: 12px 14px 24px; }

.app-header {
  background: linear-gradient(135deg, var(--lav-600), var(--lav-400));
  border-radius: 20px; padding: 18px 16px 16px; margin-bottom: 18px;
  position: relative; overflow: hidden;
}
.app-header::after {
  content: ''; position: absolute; right: -12px; top: -12px;
  width: 80px; height: 80px; border-radius: 50%; border: 2px solid rgba(255,255,255,.2);
}
.app-header::before {
  content: ''; position: absolute; right: 12px; top: 12px;
  width: 48px; height: 48px; border-radius: 50%; background: rgba(255,255,255,.1);
}
.app-label { font-size: 9px; color: rgba(255,255,255,.65); letter-spacing: .8px; text-transform: uppercase; margin-bottom: 3px; }
.app-pair  { font-size: 15px; font-weight: 700; color: #fff; margin-bottom: 2px; }
.app-sub   { font-size: 10px; color: rgba(255,255,255,.75); }

.app-sec-title { font-size: 13px; font-weight: 600; color: var(--text); margin-bottom: 3px; }
.app-sec-sub   { font-size: 9px; color: var(--text-3); margin-bottom: 10px; }

.app-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; }
.app-card { background: var(--white); border-radius: 14px; padding: 11px 10px; border: 1px solid var(--lav-100); }
.app-ico {
  width: 32px; height: 32px; border-radius: 9px; background: var(--lav-50);
  display: flex; align-items: center; justify-content: center;
  font-size: 15px; margin-bottom: 7px; border: 1px solid var(--lav-100);
}
.app-card-name { font-size: 11px; font-weight: 600; color: var(--text); }
.app-card-desc { font-size: 9px; color: var(--text-3); margin-top: 1px; }

.app-balance {
  margin-top: 10px; background: var(--lav-100); border-radius: 12px;
  padding: 10px 12px; display: flex; justify-content: space-between; align-items: center;
  border: 1px solid var(--lav-200);
}
.app-balance .bal-label { font-size: 9px; color: var(--text-3); }
.app-balance .bal-val   { font-size: 13px; font-weight: 700; color: var(--lav-700); }
.app-settle {
  font-size: 9px; font-weight: 600; color: var(--lav-600);
  background: var(--white); padding: 4px 9px; border-radius: 999px; border: 1px solid var(--lav-200);
}
.app-bottom-nav {
  display: flex; justify-content: space-around;
  padding: 10px 0 0; border-top: 1px solid var(--lav-100); margin-top: 12px;
}
.app-bottom-nav span { font-size: 18px; }

/* ---------------------------------------------------------
   WAVE
--------------------------------------------------------- */
.wave { overflow: hidden; line-height: 0; }
.wave svg { display: block; width: 100%; }

/* ---------------------------------------------------------
   SECTIONS — SHARED
--------------------------------------------------------- */
.section-header { text-align: center; margin-bottom: 56px; }
.section-tag {
  display: inline-block; background: var(--lav-50); color: var(--lav-700);
  font-size: 12px; font-weight: 600; letter-spacing: .6px; text-transform: uppercase;
  padding: 5px 14px; border-radius: 999px; margin-bottom: 16px; border: 1px solid var(--lav-200);
}
h2 {
  font-family: 'DM Serif Display', serif;
  font-size: clamp(28px, 3.5vw, 44px);
  line-height: 1.15; letter-spacing: -.5px; color: var(--text); margin-bottom: 14px;
}
h2 em { color: var(--lav-500); font-style: italic; }
.section-sub { font-size: 17px; color: var(--text-2); max-width: 500px; margin: 0 auto; }

/* ---------------------------------------------------------
   PHOTO SHOWCASE
--------------------------------------------------------- */
.photo-showcase {
  background: var(--white);
  padding: 72px 5vw;
}
.photo-grid {
  max-width: 1100px; margin: 0 auto;
  display: grid; grid-template-columns: 1fr 1fr;
  gap: 20px; align-items: stretch;
}
.photo-main {
  position: relative; border-radius: 20px; overflow: hidden;
  background: #EDE8DF;
  min-height: 420px; display: flex; align-items: flex-end;
}
.photo-main img {
  position: absolute; inset: 0; width: 100%; height: 100%;
  object-fit: cover; display: block;
}
.photo-label {
  position: relative; z-index: 1;
  font-size: 10px; font-weight: 600; letter-spacing: 1.2px;
  text-transform: uppercase; color: #6b5f4e;
  background: rgba(237,232,223,.85);
  padding: 7px 14px; margin: 16px;
  border-radius: 6px; backdrop-filter: blur(4px);
}
.photo-side {
  display: flex; flex-direction: column; gap: 20px;
}
.photo-detail-card {
  flex: 1; border-radius: 20px;
  background: #F2E8E5;
  min-height: 180px;
  overflow: hidden;
  position: relative;
}
.photo-detail-card img {
  position: absolute; inset: 0;
  width: 100%; height: 100%;
  object-fit: cover; display: block;
}
.photo-detail-card .photo-label {
  position: static; background: transparent;
  color: #8a6055; backdrop-filter: none;
  margin: 0; padding: 0;
}
.photo-balance-card {
  border-radius: 20px; background: #1A1A2E;
  padding: 28px 28px 22px; color: #fff;
  display: flex; flex-direction: column; gap: 6px;
}
.pbc-eyebrow {
  font-size: 10px; font-weight: 600; letter-spacing: 1.4px;
  text-transform: uppercase; color: rgba(255,255,255,.5);
  margin-bottom: 4px;
}
.pbc-amount {
  font-family: 'DM Serif Display', serif;
  font-size: 42px; line-height: 1; color: #fff;
}
.pbc-amount span { color: var(--rose); }
.pbc-desc { font-size: 14px; color: rgba(255,255,255,.65); }
.pbc-divider { border: none; border-top: 1px solid rgba(255,255,255,.12); margin: 12px 0 8px; }
.pbc-action {
  font-size: 14px; color: rgba(255,255,255,.55);
  display: flex; justify-content: space-between; align-items: center;
  cursor: pointer;
}
.pbc-action:hover { color: #fff; }

@media (max-width: 768px) {
  .photo-grid { grid-template-columns: 1fr; }
  .photo-main { min-height: 280px; }
}

/* ---------------------------------------------------------
   FEATURES
--------------------------------------------------------- */
.features-section { background: var(--white); padding: 80px 5vw; }
.features-grid { display: grid; grid-template-columns: repeat(3,1fr); gap: 20px; max-width: 1100px; margin: 0 auto; }

.feature-card {
  background: var(--bg); border: 1px solid var(--lav-100);
  border-radius: 28px; padding: 32px 26px;
  transition: transform .25s, box-shadow .25s;
  animation: fadeUp .5s ease both;
}
.feature-card:nth-child(2) { animation-delay: .1s; }
.feature-card:nth-child(3) { animation-delay: .2s; }
.feature-card:hover { transform: translateY(-5px); box-shadow: 0 16px 48px rgba(124,58,237,.1); }

.feat-icon {
  width: 54px; height: 54px; border-radius: 16px; background: var(--lav-100);
  display: flex; align-items: center; justify-content: center;
  font-size: 26px; margin-bottom: 20px; border: 1px solid var(--lav-200);
}
.feature-card h3 { font-family: 'DM Serif Display', serif; font-size: 21px; color: var(--text); margin-bottom: 10px; }
.feature-card p  { font-size: 14px; color: var(--text-2); line-height: 1.65; }
.feat-list { list-style: none; margin-top: 14px; display: flex; flex-direction: column; gap: 7px; }
.feat-list li { font-size: 13px; color: var(--text-2); display: flex; align-items: center; gap: 8px; }
.feat-list li::before { content: ''; width: 6px; height: 6px; border-radius: 50%; background: var(--lav-400); flex-shrink: 0; }

/* ---------------------------------------------------------
   HOW IT WORKS
--------------------------------------------------------- */
.how-section { background: var(--bg); padding: 80px 5vw; }
.how-inner { max-width: 1100px; margin: 0 auto; }
.steps { display: grid; grid-template-columns: repeat(3,1fr); gap: 32px; margin-top: 52px; }
.step { text-align: center; }
.step-num {
  width: 50px; height: 50px; border-radius: 50%;
  background: var(--lav-600); color: #fff;
  font-size: 20px; font-weight: 700;
  display: flex; align-items: center; justify-content: center;
  margin: 0 auto 16px; font-family: 'DM Serif Display', serif;
}
.step h4 { font-size: 17px; font-weight: 600; color: var(--text); margin-bottom: 8px; }
.step p   { font-size: 14px; color: var(--text-2); }

/* ---------------------------------------------------------
   PROOF / TESTIMONIALS
--------------------------------------------------------- */
.proof-section {
  background: var(--lav-50); padding: 80px 5vw;
  border-top: 1px solid var(--lav-100); border-bottom: 1px solid var(--lav-100);
}
.proof-inner { max-width: 1100px; margin: 0 auto; }
.proof-grid { display: grid; grid-template-columns: repeat(3,1fr); gap: 20px; margin-top: 52px; }
.proof-card { background: var(--white); border: 1px solid var(--lav-200); border-radius: 20px; padding: 24px 22px; }
.proof-stars { color: var(--lav-400); font-size: 14px; margin-bottom: 10px; letter-spacing: 2px; }
.proof-card p { font-size: 14px; color: var(--text-2); line-height: 1.6; font-style: italic; margin-bottom: 14px; }
.proof-name { font-size: 13px; font-weight: 600; color: var(--text); }
.proof-tag  { font-size: 12px; color: var(--text-3); }

/* ---------------------------------------------------------
   CTA
--------------------------------------------------------- */
.cta-wrap { padding: 80px 5vw; }
.cta-box {
  background: linear-gradient(135deg, var(--lav-600), var(--lav-400));
  border-radius: 40px; padding: 72px 5vw; text-align: center;
  position: relative; overflow: hidden; max-width: 1100px; margin: 0 auto;
}
.cta-box::before {
  content: ''; position: absolute; top: -60px; right: -60px;
  width: 260px; height: 260px; border-radius: 50%; background: rgba(255,255,255,.07);
}
.cta-box::after {
  content: ''; position: absolute; bottom: -80px; left: -40px;
  width: 320px; height: 320px; border-radius: 50%; background: rgba(255,255,255,.05);
}
.cta-box h2 { color: #fff; font-size: clamp(28px, 4vw, 42px); margin-bottom: 14px; }
.cta-box p  { color: rgba(255,255,255,.8); font-size: 17px; max-width: 460px; margin: 0 auto 36px; }
.btn-white {
  background: #fff; color: var(--lav-700); border: none; border-radius: 999px;
  padding: 16px 36px; font-size: 16px; font-weight: 700; cursor: pointer;
  font-family: 'DM Sans', sans-serif; text-decoration: none; display: inline-block;
  position: relative; z-index: 1; transition: all .2s;
}
.btn-white:hover { transform: translateY(-2px); box-shadow: 0 10px 28px rgba(0,0,0,.15); }
.cta-note { color: rgba(255,255,255,.6); font-size: 13px; margin-top: 14px; position: relative; z-index: 1; }

/* ---------------------------------------------------------
   FOOTER
--------------------------------------------------------- */
footer { background: var(--white); border-top: 1px solid var(--lav-100); padding: 44px 5vw 32px; }
.footer-inner { max-width: 1100px; margin: 0 auto; display: flex; justify-content: space-between; flex-wrap: wrap; gap: 32px; }
.footer-logo { font-family: 'DM Serif Display', serif; font-size: 28px; color: var(--lav-600); margin-bottom: 6px; }
.footer-brand p { font-size: 13px; color: var(--text-3); max-width: 220px; }
.footer-col h5 { font-size: 12px; font-weight: 600; color: var(--text); text-transform: uppercase; letter-spacing: .6px; margin-bottom: 12px; }
.footer-col a  { display: block; font-size: 14px; color: var(--text-3); text-decoration: none; margin-bottom: 8px; }
.footer-col a:hover { color: var(--lav-600); }
.footer-copy { max-width: 1100px; margin: 28px auto 0; font-size: 12px; color: var(--text-3); border-top: 1px solid var(--lav-100); padding-top: 20px; }

/* ---------------------------------------------------------
   RESPONSIVE
--------------------------------------------------------- */
@media (max-width: 900px) {
  .features-grid, .steps, .proof-grid { grid-template-columns: 1fr; }
}
@media (max-width: 768px) {
  .hero { grid-template-columns: 1fr; padding-top: 48px; }
  .hero-visual { display: none; }
  .nav-links a { display: none; }
  .footer-inner { flex-direction: column; }
}

/* ---------------------------------------------------------
   ANIMATIONS
--------------------------------------------------------- */
@keyframes fadeUp {
  from { opacity: 0; transform: translateY(28px); }
  to   { opacity: 1; transform: translateY(0); }
}

@keyframes gradientShift {
  0%   { background-position: 0% 50%; }
  50%  { background-position: 100% 50%; }
  100% { background-position: 0% 50%; }
}

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

/* Scroll reveal — elementos ficam invisíveis até entrar na viewport */
.reveal {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity .6s ease, transform .6s ease;
}
.reveal.visible {
  opacity: 1;
  transform: translateY(0);
}
