:root{
  --bg:#061f46;
  --bg-2:#08295d;
  --bg-3:#041832;
  --gold:#d8ac45;
  --gold-2:#f0c768;
  --white:#f7f8fb;
  --muted:rgba(247,248,251,.76);
  --line:rgba(255,255,255,.1);
  --card:rgba(255,255,255,.05);
  --card-2:rgba(255,255,255,.08);
  --shadow:0 24px 80px rgba(0,0,0,.32);
  --radius-xl:30px;
  --radius-lg:24px;
  --radius-md:18px;
  --max:1180px;
}

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

body{
  margin:0;
  font-family:'Manrope',system-ui,-apple-system,BlinkMacSystemFont,'Segoe UI',sans-serif;
  color:var(--white);
  background:
    radial-gradient(circle at top left, rgba(216,172,69,.12), transparent 28%),
    radial-gradient(circle at top right, rgba(216,172,69,.08), transparent 20%),
    linear-gradient(180deg, var(--bg-3) 0%, var(--bg) 35%, #071a37 100%);
  line-height:1.55;
}

a{color:inherit;text-decoration:none}
img{display:block;max-width:100%}

.container{
  width:min(calc(100% - 32px), var(--max));
  margin:0 auto;
}

/* =========================
   HEADER
========================= */

.topbar{
  position:sticky;
  top:0;
  z-index:40;
  backdrop-filter:blur(16px);
  background:rgba(4,24,50,.68);
  border-bottom:1px solid rgba(255,255,255,.08);
}

.nav{
  min-height:78px;
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:16px;
}

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

.brand-mark{
  width:42px;
  height:42px;
  border-radius:14px;
  overflow:hidden;
  background:linear-gradient(180deg, rgba(216,172,69,.2), rgba(216,172,69,.06));
  border:1px solid rgba(216,172,69,.24);
  box-shadow:inset 0 1px 0 rgba(255,255,255,.06);
}

.brand-mark img{
  width:100%;
  height:100%;
  object-fit:cover;
}

.brand-title{
  margin:0;
  font-size:16px;
  font-weight:800;
  letter-spacing:.08em;
  text-transform:uppercase;
  white-space:nowrap;
}

.brand-subtitle{
  margin:2px 0 0;
  font-size:12px;
  letter-spacing:.18em;
  color:var(--muted);
  text-transform:uppercase;
}

.nav-links{
  display:flex;
  align-items:center;
  gap:12px;
  flex-wrap:wrap;
}

.nav-link{
  color:var(--muted);
  font-size:14px;
  font-weight:700;
}

.nav-link--store{
  color:var(--gold-2);
  border:1px solid rgba(216,172,69,.32);
  border-radius:999px;
  padding:5px 14px;
  font-size:13px;
  transition:.2s ease;
}

.nav-link--store:hover{
  background:rgba(216,172,69,.1);
}

.nav-sep{
  color:rgba(255,255,255,.2);
  font-size:14px;
  user-select:none;
}

/* =========================
   UI ELEMENTS
========================= */

.badge{
  display:inline-flex;
  align-items:center;
  gap:8px;
  padding:10px 14px;
  border-radius:999px;
  background:rgba(216,172,69,.12);
  border:1px solid rgba(216,172,69,.24);
  color:#f5d488;
  font-weight:800;
  font-size:14px;
}

.dot{
  width:8px;
  height:8px;
  border-radius:999px;
  background:var(--gold);
  box-shadow:0 0 0 5px rgba(216,172,69,.12);
}

.btn{
  display:inline-flex;
  align-items:center;
  justify-content:center;
  gap:10px;
  min-height:54px;
  padding:0 22px;
  border-radius:16px;
  border:1px solid transparent;
  font-weight:800;
  font-size:15px;
  transition:.2s ease;
  cursor:pointer;
}

.btn:hover{transform:translateY(-1px)}

.btn-primary{
  background:linear-gradient(180deg, var(--gold-2), var(--gold));
  color:#0b1730;
  box-shadow:0 14px 34px rgba(216,172,69,.26);
}

.btn-secondary{
  background:rgba(255,255,255,.05);
  border-color:rgba(255,255,255,.12);
  color:var(--white);
}

.gold{color:var(--gold-2)}
.small-note{font-size:14px;color:var(--muted)}
.kicker{
  font-size:12px;
  letter-spacing:.18em;
  text-transform:uppercase;
  color:#f5d488;
  margin:0 0 10px;
  font-weight:800;
}

/* =========================
   LAYOUT
========================= */

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

.section-title{
  margin:0 0 14px;
  font-size:clamp(30px,4vw,52px);
  line-height:1.05;
  font-weight:800;
  letter-spacing:-.03em;
}

.section-subtitle{
  margin:0;
  max-width:780px;
  font-size:18px;
  color:var(--muted);
}

.mini-grid,
.features-grid,
.gallery,
.placeholder-grid,
.two-col{
  display:grid;
  gap:18px;
}

/* =========================
   HERO
========================= */

.hero{
  padding:56px 0 38px;
}

.hero-grid{
  display:grid;
  grid-template-columns:1.04fr .96fr;
  align-items:center;
  gap:42px;
}

.hero-copy h1{
  margin:18px 0 18px;
  font-size:clamp(42px,6vw,76px);
  line-height:.95;
  letter-spacing:-.05em;
  font-weight:800;
}

.hero-copy p{
  margin:0;
  max-width:640px;
  font-size:20px;
  color:var(--muted);
}

.hero-actions{
  display:flex;
  flex-wrap:wrap;
  gap:14px;
  margin-top:30px;
}

.hero-notes{
  display:flex;
  flex-wrap:wrap;
  gap:14px 18px;
  margin-top:22px;
  color:var(--muted);
  font-size:14px;
  font-weight:700;
}

.hero-visual{
  position:relative;
  min-height:640px;
  display:grid;
  place-items:center;
}

.orb{
  position:absolute;
  width:460px;
  height:460px;
  border-radius:50%;
  background:radial-gradient(circle, rgba(216,172,69,.2) 0%, rgba(216,172,69,.05) 36%, transparent 68%);
  filter:blur(8px);
  opacity:.9;
}

.phone-stack{
  position:relative;
  width:min(100%, 520px);
  height:620px;
}

/* =========================
   PHONE MOCKUPS
   Refatorado para prints reais
========================= */

.phone{
  position:absolute;
  width:286px;
  aspect-ratio:9/19.5;
  border-radius:38px;
  background:linear-gradient(180deg, #09152d 0%, #13274f 100%);
  border:1px solid rgba(255,255,255,.08);
  box-shadow:var(--shadow);
  overflow:hidden;
}

/* remove notch fake para não parecer celular dentro de celular */
.phone::before{
  display:none;
}

.phone-screen{
  position:absolute;
  top:4px;
  right:4px;
  bottom:19px;
  left:4px;
  border-radius:36px;
  overflow:hidden;
  background:#08152d;
  border:2;
  display:flex;
  flex-direction:column;
}

.placeholder{
  flex:1;
  display:grid;
  place-items:center;
  text-align:center;
  padding:22px;
  background:
    radial-gradient(circle at top, rgba(216,172,69,.18), transparent 26%),
    linear-gradient(180deg, rgba(255,255,255,.03), rgba(255,255,255,.01));
}

.placeholder strong{
  display:block;
  font-size:18px;
  margin-bottom:8px;
}

.placeholder span{
  color:var(--muted);
  font-size:14px;
}

/* imagens reais do app */
.phone img,
.phone-screen img{
  width:100%;
  height:100%;
  object-fit:cover;
  object-position:center top;
  transform:scale(.99);
  transform-origin:center top;
  display:block;
}

.phone-a{
  left:20px;
  top:92px;
  transform:rotate(-10deg);
}

.phone-b{
  right:20px;
  top:20px;
  transform:rotate(7deg);
}

.phone-c{
  left:118px;
  bottom:10px;
  z-index:2;
}

.floating-card{
  position:absolute;
  right:0;
  bottom:26px;
  z-index:3;
  width:220px;
  border-radius:22px;
  background:rgba(8,25,53,.78);
  backdrop-filter:blur(14px);
  border:1px solid rgba(255,255,255,.1);
  padding:18px;
  box-shadow:var(--shadow);
}

.floating-label{
  font-size:12px;
  text-transform:uppercase;
  letter-spacing:.16em;
  color:var(--muted);
  margin-bottom:10px;
  display:block;
}

.floating-title{
  margin:0;
  font-size:28px;
  font-weight:800;
  line-height:1;
  color:var(--gold-2);
}

.floating-text{
  margin:8px 0 0;
  color:var(--muted);
  font-size:14px;
}

/* =========================
   CARDS / GRIDS
========================= */

.mini-grid{
  grid-template-columns:repeat(4,1fr);
  margin-top:30px;
}

.mini-card{
  padding:18px;
  background:rgba(255,255,255,.04);
  border:1px solid rgba(255,255,255,.08);
  border-radius:18px;
  text-align:center;
  color:var(--muted);
  font-size:14px;
  font-weight:700;
}

.features-grid{
  grid-template-columns:repeat(3,minmax(0,1fr));
  margin-top:36px;
}

.feature-card,
.card{
  background:linear-gradient(180deg, rgba(255,255,255,.06), rgba(255,255,255,.04));
  border:1px solid rgba(255,255,255,.08);
  border-radius:24px;
  padding:26px;
  box-shadow:inset 0 1px 0 rgba(255,255,255,.03);
}

.feature-icon{
  width:48px;
  height:48px;
  border-radius:14px;
  background:rgba(216,172,69,.12);
  border:1px solid rgba(216,172,69,.22);
  display:grid;
  place-items:center;
  color:var(--gold-2);
  font-size:20px;
  font-weight:800;
  margin-bottom:18px;
}

.feature-card h3,
.card h3{
  margin:0 0 10px;
  font-size:22px;
  line-height:1.08;
}

.feature-card p,
.card p,
.card li,
.legal p,
.legal li{
  margin:0;
  color:var(--muted);
  font-size:15px;
}

/* =========================
   SHOWCASE / CHECKLIST
========================= */

.showcase{
  display:grid;
  grid-template-columns:.95fr 1.05fr;
  gap:26px;
  align-items:center;
  margin-top:40px;
}

.check-list{
  display:grid;
  gap:14px;
  margin-top:20px;
}

.check-item{
  display:flex;
  gap:12px;
  align-items:flex-start;
  padding:14px 0;
  border-top:1px solid rgba(255,255,255,.08);
}

.check-item:first-child{
  border-top:0;
  padding-top:0;
}

.check{
  width:24px;
  height:24px;
  border-radius:999px;
  background:rgba(216,172,69,.14);
  border:1px solid rgba(216,172,69,.24);
  color:var(--gold-2);
  display:grid;
  place-items:center;
  font-size:14px;
  flex:0 0 auto;
  margin-top:2px;
}

/* =========================
   GALLERY
========================= */

.gallery-caption{
  margin-top:16px;
  text-align:center;
  font-weight:700;
  color:var(--muted);
  font-size:15px;
}

/* =========================
   CAROUSEL
========================= */

.carousel{
  display:flex;
  align-items:center;
  gap:20px;
  margin-top:40px;
}

.carousel-viewport{
  flex:1;
  overflow:hidden;
}

.carousel-track{
  display:flex;
  transition:transform .4s cubic-bezier(.4,0,.2,1);
  will-change:transform;
}

.carousel-slide{
  flex:0 0 100%;
  display:flex;
  flex-direction:column;
  align-items:center;
}

.carousel-slide .phone{
  position:relative;
  inset:auto;
  width:min(100%, 300px);
  transform:none;
  box-shadow:0 28px 72px rgba(0,0,0,.38);
}

.carousel-btn{
  flex-shrink:0;
  width:52px;
  height:52px;
  border-radius:50%;
  border:1px solid rgba(255,255,255,.14);
  background:rgba(255,255,255,.06);
  color:var(--white);
  font-size:36px;
  line-height:1;
  cursor:pointer;
  display:grid;
  place-items:center;
  transition:.2s ease;
  padding:0;
  user-select:none;
}

.carousel-btn:hover{
  background:rgba(255,255,255,.12);
  border-color:rgba(255,255,255,.22);
  transform:scale(1.06);
}

.carousel-dots{
  display:flex;
  justify-content:center;
  gap:8px;
  margin-top:24px;
}

.carousel-dot{
  width:8px;
  height:8px;
  border-radius:999px;
  background:rgba(255,255,255,.2);
  border:none;
  cursor:pointer;
  transition:.25s ease;
  padding:0;
}

.carousel-dot--active{
  width:22px;
  background:var(--gold);
}

/* =========================
   PLACEHOLDER / CTA
========================= */

.placeholder-grid{
  grid-template-columns:1fr 1fr;
  margin-top:36px;
}

.placeholder-card{
  min-height:180px;
  border-radius:24px;
  border:1px dashed rgba(216,172,69,.34);
  background:rgba(216,172,69,.04);
  padding:24px;
  color:#f5d488;
}

.placeholder-card h3{
  margin:0 0 10px;
  font-size:22px;
}

.placeholder-card p{
  margin:0;
  color:rgba(245,212,136,.82);
}

.cta-panel{
  margin-top:28px;
  padding:34px;
  border-radius:30px;
  background:
    radial-gradient(circle at top right, rgba(216,172,69,.18), transparent 20%),
    linear-gradient(135deg, rgba(255,255,255,.08), rgba(255,255,255,.04));
  border:1px solid rgba(255,255,255,.1);
  display:grid;
  grid-template-columns:1.1fr .9fr;
  gap:24px;
  align-items:center;
  box-shadow:var(--shadow);
}

.cta-panel h2{
  margin:0 0 12px;
  font-size:clamp(30px,4vw,48px);
  line-height:1.02;
}

.cta-panel p{
  margin:0;
  color:var(--muted);
  font-size:18px;
  max-width:620px;
}

.cta-actions{
  display:flex;
  flex-direction:column;
  align-items:flex-end;
  gap:14px;
}

/* =========================
   FOOTER
========================= */

footer{
  padding:26px 0 42px;
  color:var(--muted);
  font-size:14px;
}

.footer-inner{
  border-top:1px solid rgba(255,255,255,.08);
  padding-top:20px;
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:14px;
  flex-wrap:wrap;
}

.footer-links{
  display:flex;
  align-items:center;
  gap:10px;
  flex-wrap:wrap;
}

.footer-links a{
  text-decoration:underline;
  text-underline-offset:3px;
}

.footer-sep{
  color:rgba(255,255,255,.3);
  user-select:none;
}

/* =========================
   LEGAL PAGES
========================= */

.page-hero{
  padding:76px 0 24px;
}

.page-hero .section-title{
  max-width:900px;
}

.legal{
  padding:22px 0 80px;
}

.legal-grid{
  display:grid;
  grid-template-columns:280px 1fr;
  gap:22px;
  align-items:start;
}

.legal-nav,
.legal-content{
  border-radius:24px;
  background:linear-gradient(180deg, rgba(255,255,255,.06), rgba(255,255,255,.04));
  border:1px solid rgba(255,255,255,.08);
}

.legal-nav{
  padding:22px;
  position:sticky;
  top:98px;
}

.legal-nav a{
  display:block;
  padding:10px 12px;
  border-radius:14px;
  color:var(--muted);
  font-weight:700;
  font-size:14px;
}

.legal-nav a:hover{
  background:rgba(255,255,255,.05);
  color:var(--white);
}

.legal-content{
  padding:30px;
}

.legal h2{
  margin:0 0 10px;
  font-size:28px;
}

.legal section{
  padding:18px 0;
  border-top:1px solid rgba(255,255,255,.08);
}

.legal section:first-child{
  border-top:0;
  padding-top:0;
}

.legal ul{
  margin:10px 0 0;
  padding-left:20px;
}

.alert{
  padding:18px 20px;
  border-radius:18px;
  background:rgba(216,172,69,.10);
  border:1px solid rgba(216,172,69,.24);
  color:#f5d488;
}

/* =========================
   FORMS
========================= */

.form-grid{
  display:grid;
  grid-template-columns:1fr 1fr;
  gap:14px;
  margin-top:18px;
}

.field{
  display:flex;
  flex-direction:column;
  gap:8px;
}

.field label{
  font-size:14px;
  font-weight:700;
  color:var(--white);
}

.field input,
.field textarea,
.field select{
  width:100%;
  padding:14px 16px;
  border-radius:16px;
  border:1px solid rgba(255,255,255,.12);
  background:rgba(255,255,255,.04);
  color:var(--white);
  font:inherit;
  outline:none;
}

.field textarea{
  min-height:140px;
  resize:vertical;
}

.field.full{
  grid-column:1/-1;
}

.hint{
  font-size:13px;
  color:var(--muted);
}

.step-list{
  display:grid;
  gap:14px;
  margin-top:18px;
}

.step{
  display:flex;
  gap:14px;
  align-items:flex-start;
  padding:16px 0;
  border-top:1px solid rgba(255,255,255,.08);
}

.step:first-child{
  border-top:0;
  padding-top:0;
}

.step-num{
  width:34px;
  height:34px;
  border-radius:999px;
  display:grid;
  place-items:center;
  flex:0 0 auto;
  background:rgba(216,172,69,.12);
  border:1px solid rgba(216,172,69,.24);
  color:var(--gold-2);
  font-weight:800;
}

/* =========================
   RESPONSIVO
========================= */

@media (max-width:1080px){
  .hero-grid,
  .showcase,
  .cta-panel,
  .legal-grid{
    grid-template-columns:1fr;
  }

  .hero-visual{
    min-height:560px;
  }

  .cta-actions{
    align-items:flex-start;
  }

  .legal-nav{
    position:static;
  }
}

@media (max-width:860px){
  .features-grid,
  .mini-grid,
  .placeholder-grid,
  .gallery{
    grid-template-columns:1fr;
  }

  .hero-copy p{
    font-size:18px;
  }

  .hero-visual{
    min-height:700px;
  }

  .phone-stack{
    width:100%;
    height:680px;
  }

  .phone-a{
    left:0;
    top:110px;
  }

  .phone-b{
    right:0;
    top:10px;
  }

  .phone-c{
    left:50%;
    transform:translateX(-50%);
    bottom:0;
  }

  .floating-card{
    right:50%;
    transform:translateX(50%);
    bottom:-18px;
  }

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

@media (max-width:640px){
  .section,
  .page-hero,
  .legal{
    padding-top:68px;
  }

  .btn{
    width:100%;
  }

  .hero-actions{
    flex-direction:column;
  }

  .brand-subtitle{
    display:none;
  }

  .phone-stack{
    height:590px;
  }

  .phone{
    width:220px;
    border-radius:32px;
  }

  .phone-screen{
    border-radius:28px;
  }

  .phone-a{
    left:0;
    top:118px;
  }

  .phone-b{
    right:0;
    top:24px;
  }

  .phone-c{
    bottom:20px;
  }

  .floating-card{
    width:calc(100% - 32px);
    bottom:-24px;
  }
}

/* =========================
   TUTORIAL
========================= */

.tutorial-grid{
  display:grid;
  grid-template-columns:repeat(5,1fr);
  gap:24px;
  margin-top:48px;
}

.tutorial-card{
  display:flex;
  flex-direction:column;
  gap:14px;
}

.tutorial-video{
  position:relative;
  width:100%;
  padding-bottom:177.78%;
  border-radius:var(--radius-md);
  overflow:hidden;
  background:var(--card);
  border:1px solid var(--line);
}

.tutorial-video iframe{
  position:absolute;
  inset:0;
  width:100%;
  height:100%;
  border:0;
}

.tutorial-video--wip{
  display:flex;
  align-items:center;
  justify-content:center;
}

.tutorial-wip-badge{
  position:absolute;
  top:50%;
  left:50%;
  transform:translate(-50%,-50%);
  font-size:13px;
  font-weight:700;
  letter-spacing:.08em;
  text-transform:uppercase;
  color:var(--muted);
  border:1px solid var(--line);
  border-radius:999px;
  padding:6px 16px;
  white-space:nowrap;
}

.tutorial-card--wip .tutorial-video{
  opacity:0.45;
}

.tutorial-card-title{
  margin:0;
  font-size:14px;
  font-weight:600;
  text-align:center;
  color:var(--white);
}

.tutorial-card--wip .tutorial-card-title{
  color:var(--muted);
}

@media(max-width:1080px){
  .tutorial-grid{grid-template-columns:repeat(3,1fr);}
}

@media(max-width:640px){
  .tutorial-grid{grid-template-columns:repeat(2,1fr);gap:16px;}
}