/* ============================================================
   NuvemPro — Site institucional
   Paleta: amarelo/dourado (marca) + dark navy + branco
   ============================================================ */

:root {
  /* Marca NuvemPro — cores oficiais do manual (#FECE0B) */
  --brand:        #FECE0B;   /* Nuvempro Yellow — destaque/ação */
  --brand-dark:   #B8860B;   /* tom legível p/ textos de acento (eyebrow, links) */
  --brand-soft:   #FFF6D0;

  /* Neutros */
  --ink:          #1A1A1A;   /* Night Black oficial */
  --ink-2:        #2A2A2A;
  --text:         #2A2F3A;
  --muted:        #6B7280;
  --line:         #E7E9EE;
  --bg:           #FFFFFF;
  --bg-soft:      #F7F8FA;
  --bg-dark:      #0E1116;

  /* Sotaques por app */
  --recupera:     #25D366;
  --recupera-dk:  #128C7E;
  --metrica:      #2563EB;
  --metrica-dk:   #1E3A8A;
  --oferta:       #E8553B;
  --oferta-dk:    #C2402B;
  --oferta-soft:  #FDEAE5;
  --steal:        #F0356E;
  --steal-dk:     #C81E5B;
  --steal-soft:   #FDE3EC;

  --radius:       16px;
  --radius-sm:    10px;
  --shadow:       0 10px 30px rgba(14,17,22,.08);
  --shadow-lg:    0 24px 60px rgba(14,17,22,.16);
  --maxw:         1140px;
  --font: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
}

/* ---------- Reset ---------- */
* { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  font-family: var(--font);
  color: var(--text);
  background: var(--bg);
  line-height: 1.6;
  font-size: 17px;
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
ul { list-style: none; }

/* ---------- Layout helpers ---------- */
.container { max-width: var(--maxw); margin: 0 auto; padding: 0 24px; }
.section { padding: 88px 0; }
.section-sm { padding: 56px 0; }
.bg-soft { background: var(--bg-soft); }
.bg-dark { background: var(--bg-dark); color: #fff; }
.center { text-align: center; }
.eyebrow {
  display: inline-block;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: .08em;
  text-transform: uppercase;
  color: var(--brand-dark);
  margin-bottom: 14px;
}
.bg-dark .eyebrow { color: var(--brand); }

code {
  font-family: ui-monospace, "SF Mono", "Cascadia Code", Menlo, Consolas, monospace;
  font-size: .86em;
  background: var(--bg-soft);
  border: 1px solid var(--line);
  border-radius: 6px;
  padding: 1px 6px;
  color: var(--accent-dk, var(--ink-2));
  white-space: nowrap;
}

h1, h2, h3 { color: var(--ink); line-height: 1.15; letter-spacing: -.02em; font-weight: 800; }
.bg-dark h1, .bg-dark h2, .bg-dark h3 { color: #fff; }
h1 { font-size: clamp(2.1rem, 5vw, 3.4rem); }
h2 { font-size: clamp(1.7rem, 3.5vw, 2.5rem); }
h3 { font-size: 1.25rem; }
.lead { font-size: 1.15rem; color: var(--muted); max-width: 620px; }
.center .lead { margin-left: auto; margin-right: auto; }
.bg-dark .lead { color: rgba(255,255,255,.7); }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; gap: 8px;
  font-weight: 700; font-size: 1rem;
  padding: 14px 26px; border-radius: 999px;
  cursor: pointer; border: 2px solid transparent;
  transition: transform .15s ease, box-shadow .15s ease, background .15s ease;
  white-space: nowrap;
}
.btn:hover { transform: translateY(-2px); }
.btn-primary { background: var(--brand); color: var(--ink); box-shadow: 0 8px 20px rgba(254,206,11,.38); }
.btn-primary:hover { background: var(--brand-dark); }
.btn-dark { background: var(--ink); color: #fff; }
.btn-dark:hover { background: var(--ink-2); }
.btn-ghost { background: transparent; border-color: var(--line); color: var(--ink); }
.bg-dark .btn-ghost { border-color: rgba(255,255,255,.25); color: #fff; }
.btn-ghost:hover { border-color: var(--brand); }
.btn-lg { padding: 16px 34px; font-size: 1.05rem; }
.btn svg { width: 18px; height: 18px; }

/* ---------- Header ---------- */
.site-header {
  position: sticky; top: 0; z-index: 50;
  background: rgba(255,255,255,.85);
  backdrop-filter: saturate(180%) blur(12px);
  border-bottom: 1px solid var(--line);
}
.nav { display: flex; align-items: center; justify-content: space-between; height: 72px; }
.brand { display: flex; align-items: center; gap: 9px; font-weight: 800; font-size: 1.4rem; letter-spacing: -.02em; color: var(--ink); }
.brand .logo-mark { display: grid; place-items: center; }
.brand .logo-mark img { width: auto; height: 30px; display: block; }
.brand .wordmark { font-weight: 800; }
.nav-links { display: flex; align-items: center; gap: 30px; }
.nav-links a { font-weight: 600; color: var(--text); font-size: .98rem; transition: color .15s; }
.nav-links a:hover { color: var(--brand-dark); }
.nav-actions { display: flex; align-items: center; gap: 14px; }
.nav-toggle { display: none; background: none; border: 0; cursor: pointer; padding: 6px; }
.nav-toggle svg { width: 26px; height: 26px; }
.lang-switch { display: flex; align-items: center; gap: 2px; }
.lang-switch a { font-size: .8rem; font-weight: 700; color: var(--muted); padding: 6px 8px; border-radius: 7px; letter-spacing: .03em; transition: color .15s, background .15s; }
.lang-switch a:hover { color: var(--ink); }
.lang-switch a.active { color: var(--ink); background: var(--bg-soft); }

/* ---------- Hero (home) ---------- */
.hero { position: relative; overflow: hidden; padding: 96px 0 80px; }
.hero::before {
  content: ""; position: absolute; inset: 0;
  background:
    radial-gradient(60% 60% at 85% 0%, rgba(255,196,0,.18), transparent 60%),
    radial-gradient(50% 50% at 0% 100%, rgba(255,196,0,.10), transparent 60%);
  z-index: -1;
}
.hero-grid { display: grid; grid-template-columns: 1.1fr .9fr; gap: 48px; align-items: center; }

/* Hero centrado (home) */
.hero-centered { text-align: center; padding: 104px 0 92px; }
.hero-inner { max-width: 880px; margin: 0 auto; }
.hero-mark { width: 60px; height: auto; display: block; margin: 0 auto 24px; }
.hero-centered h1 { margin-bottom: 22px; }
.hero-centered .lead { max-width: 680px; margin: 0 auto 32px; }
.hero-centered .hero-cta { justify-content: center; }
.hero-centered .hero-trust { justify-content: center; margin-top: 30px; }
.hero h1 { margin-bottom: 20px; }
.hero .lead { margin-bottom: 30px; }
.hero-cta { display: flex; gap: 14px; flex-wrap: wrap; }
.hero-trust { margin-top: 26px; display: flex; gap: 22px; flex-wrap: wrap; color: var(--muted); font-size: .92rem; }
.hero-trust b { color: var(--ink); }

.hero-card-stack { display: grid; gap: 16px; }
.mini-app {
  display: flex; align-items: center; gap: 14px;
  background: #fff; border: 1px solid var(--line); border-left: 4px solid var(--accent, var(--brand));
  border-radius: var(--radius); padding: 18px 22px;
  box-shadow: var(--shadow); transition: transform .2s ease, box-shadow .2s ease;
}
.mini-app:hover { transform: translateY(-4px); box-shadow: var(--shadow-lg); }
.mini-app .ic { display: none; }
.mini-app h4 { font-size: 1rem; color: var(--ink); font-weight: 800; }
.mini-app p { font-size: .88rem; color: var(--muted); }

/* ---------- App cards grid (home) ---------- */
.container-full { max-width: none; padding-left: clamp(24px, 4vw, 72px); padding-right: clamp(24px, 4vw, 72px); }
.apps-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(360px, 1fr)); gap: 26px; margin-top: 48px; align-items: stretch; }
.app-card {
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius);
  padding: 0; display: flex; flex-direction: column;
  transition: transform .2s ease, box-shadow .2s ease, border-color .2s;
  position: relative; overflow: hidden;
}
.app-card::before {
  content: ""; position: absolute; top: 0; left: 0; right: 0; height: 4px; z-index: 2;
  background: var(--ink);
}
.app-card:hover { transform: translateY(-5px); box-shadow: var(--shadow-lg); border-color: transparent; }
.app-card-media { width: 100%; aspect-ratio: 16 / 9; overflow: hidden; border-bottom: 1px solid var(--line); background: var(--bg-soft); }
.app-card-media img { width: 100%; height: 100%; object-fit: cover; object-position: center; transition: transform .4s ease; }
.app-card:hover .app-card-media img { transform: scale(1.03); }
.app-card-body { padding: 26px 28px 26px; display: flex; flex-direction: column; flex: 1; }
.app-card .ic { display: none; }            /* sem ícone no card */
.app-card h3 { margin-bottom: 8px; }
.app-card .tag { font-size: .8rem; font-weight: 700; color: var(--ink); text-transform: uppercase; letter-spacing: .05em; margin-bottom: 12px; }
.app-card p { color: var(--muted); margin-bottom: 22px; flex: 1; }
.app-card .card-foot { display: flex; align-items: center; justify-content: space-between; gap: 12px; }
.app-card .price-mini { font-weight: 800; color: var(--ink); font-size: .95rem; }
.app-card .price-mini small { color: var(--muted); font-weight: 600; }
.app-link {
  display: inline-flex; align-items: center; gap: 6px;
  font-weight: 700; color: var(--ink);
}
.app-link svg { width: 16px; height: 16px; transition: transform .15s; }
.app-card:hover .app-link svg { transform: translateX(4px); }

/* ---------- Feature columns ---------- */
.cols { display: grid; gap: 28px; }
.cols-3 { grid-template-columns: repeat(3, 1fr); }
.cols-2 { grid-template-columns: repeat(2, 1fr); }
.feature { padding: 26px 28px; border-radius: var(--radius); background: #fff; border: 1px solid var(--line); border-top: 3px solid var(--accent, var(--brand)); }
.bg-soft .feature { background: #fff; }
.feature .fic { display: none; }            /* ícones decorativos removidos — visual mais editorial */

/* Fluxo numerado (sequência de passos, sem ícones) */
.flow-grid { counter-reset: flow; }
.flow-grid .feature { counter-increment: flow; }
.flow-grid .feature h3 { display: flex; align-items: center; gap: 10px; }
.flow-grid .feature h3::before {
  content: counter(flow); flex: 0 0 auto;
  width: 28px; height: 28px; border-radius: 50%;
  background: var(--accent, var(--brand)); color: #fff;
  font-size: .88rem; font-weight: 800; display: grid; place-items: center;
}
.feature h3 { font-size: 1.15rem; margin-bottom: 8px; }
.feature p { color: var(--muted); font-size: .98rem; }

/* ---------- About stats (lista vertical, seção Sobre) ---------- */
.about-stats { display: grid; gap: 2px; }
.about-stats li { display: flex; align-items: baseline; gap: 18px; padding: 18px 0; border-top: 1px solid var(--line); }
.about-stats li:last-child { border-bottom: 1px solid var(--line); }
.about-stats .v { flex: 0 0 38%; font-size: 1.15rem; font-weight: 800; color: var(--ink); letter-spacing: -.01em; line-height: 1.25; }
.about-stats p { flex: 1; color: var(--muted); font-size: .96rem; }
@media (max-width: 520px) {
  .about-stats li { flex-direction: column; gap: 4px; }
  .about-stats .v { flex: none; }
}

/* ---------- Steps ---------- */
.steps { display: grid; grid-template-columns: repeat(4, 1fr); gap: 22px; counter-reset: step; }
.step { position: relative; padding: 28px 22px; background: #fff; border: 1px solid var(--line); border-radius: var(--radius); }
.step .num {
  counter-increment: step;
  width: 40px; height: 40px; border-radius: 50%;
  background: var(--accent, var(--brand)); color: #fff;
  display: grid; place-items: center; font-weight: 800; margin-bottom: 16px;
}
.step .num::before { content: counter(step); }
.step h3 { font-size: 1.05rem; margin-bottom: 6px; }
.step p { color: var(--muted); font-size: .92rem; }

/* ---------- Pricing ---------- */
.pricing { display: grid; gap: 26px; justify-content: center; }
.pricing-3 { grid-template-columns: repeat(3, minmax(0, 1fr)); max-width: 1040px; margin-left: auto; margin-right: auto; align-items: stretch; }
.pricing-3 .price-card { max-width: none; padding: 36px 28px; }
.pricing-2 { grid-template-columns: repeat(2, minmax(0, 1fr)); max-width: 800px; margin-left: auto; margin-right: auto; align-items: stretch; }
.pricing-2 .price-card { max-width: none; padding: 38px 34px; }
.price-card {
  background: #fff; border: 2px solid var(--line); border-radius: var(--radius);
  padding: 40px; max-width: 420px; width: 100%; text-align: center; box-shadow: var(--shadow);
  display: flex; flex-direction: column;
}
.price-card .price-list { flex: 1 0 auto; }
.price-card > a.btn { margin-top: auto; }
.price-card.featured { border-color: var(--accent, var(--brand)); position: relative; }
.price-card .badge {
  position: absolute; top: -14px; left: 50%; transform: translateX(-50%);
  background: var(--accent, var(--brand)); color: #fff; font-size: .78rem; font-weight: 700;
  padding: 6px 16px; border-radius: 999px; letter-spacing: .03em;
}
.price-card .plan-name { font-weight: 800; color: var(--ink); font-size: 1.3rem; margin-bottom: 6px; }
.price-card .amount { font-size: 3rem; font-weight: 800; color: var(--ink); letter-spacing: -.03em; }
.price-card .amount small { font-size: 1rem; font-weight: 600; color: var(--muted); }
.price-card .free { font-size: 2.4rem; }
.price-card .plan-note { color: var(--muted); margin: 6px 0 24px; }
.price-list { text-align: left; margin: 24px 0 30px; display: grid; gap: 12px; }
.price-list li { display: flex; gap: 10px; align-items: flex-start; color: var(--text); }
.price-list li svg { width: 20px; height: 20px; color: var(--accent, var(--brand-dark)); flex: 0 0 auto; margin-top: 2px; }

/* ---------- FAQ ---------- */
.faq { max-width: 760px; margin: 0 auto; }
.faq-item { border-bottom: 1px solid var(--line); }
.faq-q {
  width: 100%; text-align: left; background: none; border: 0; cursor: pointer;
  padding: 22px 0; font-size: 1.1rem; font-weight: 700; color: var(--ink);
  display: flex; justify-content: space-between; align-items: center; gap: 16px;
}
.faq-q svg { width: 22px; height: 22px; color: var(--brand-dark); flex: 0 0 auto; transition: transform .2s; }
.faq-item.open .faq-q svg { transform: rotate(45deg); }
.faq-a { max-height: 0; overflow: hidden; transition: max-height .3s ease; }
.faq-a p { padding: 0 0 22px; color: var(--muted); }

/* ---------- CTA band ---------- */
.cta-band { background: var(--ink); border-radius: 24px; padding: 60px; text-align: center; position: relative; overflow: hidden; }
.cta-band::before {
  content: ""; position: absolute; inset: 0;
  background: radial-gradient(50% 100% at 50% 0%, rgba(255,196,0,.22), transparent 70%);
}
.cta-band > * { position: relative; }
.cta-band h2 { color: #fff; margin-bottom: 14px; }
.cta-band p { color: rgba(255,255,255,.72); margin-bottom: 28px; }

/* ---------- App detail hero ---------- */
.app-hero { padding: 80px 0; position: relative; overflow: hidden; }
.app-hero::before {
  content: ""; position: absolute; inset: 0; z-index: -1;
  background: radial-gradient(60% 70% at 80% 10%, var(--accent-soft, rgba(255,196,0,.16)), transparent 60%);
}
.app-hero-grid { display: grid; grid-template-columns: 1fr; gap: 30px; max-width: 760px; }
.app-badge {
  display: inline-flex; align-items: center; gap: 10px;
  background: #fff; border: 1px solid var(--line); border-radius: 999px;
  padding: 8px 16px 8px 8px; font-weight: 700; color: var(--ink); width: fit-content;
}
.app-badge .ic { width: 34px; height: 34px; border-radius: 9px; display: grid; place-items: center; }
.app-badge .ic svg { width: 20px; height: 20px; color: #fff; }
.app-hero h1 { margin-bottom: 4px; }
.app-hero .cta-row { display: flex; gap: 14px; flex-wrap: wrap; margin-top: 8px; }
.breadcrumb { font-size: .9rem; color: var(--muted); margin-bottom: 24px; }
.breadcrumb a:hover { color: var(--brand-dark); }

/* highlight stats */
.stats { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.stat { text-align: center; padding: 28px; }
.stat .big { font-size: 2.4rem; font-weight: 800; color: var(--accent, var(--brand-dark)); letter-spacing: -.02em; }
.stat p { color: var(--muted); }

/* checklist (two-col) — sem ícones de check; acento tipográfico à esquerda */
.checklist { display: grid; grid-template-columns: repeat(2, 1fr); gap: 24px 36px; }
.checklist li { padding-left: 18px; border-left: 2px solid var(--accent, var(--brand-dark)); }
.checklist li svg { display: none; }
.checklist li b { color: var(--ink); display: block; font-size: 1.02rem; margin-bottom: 3px; }
.checklist li span { color: var(--muted); font-size: .95rem; }

/* ---------- Carousel ---------- */
.carousel { max-width: 940px; margin: 44px auto 0; position: relative; }
.carousel-viewport { overflow: hidden; border-radius: 18px; box-shadow: var(--shadow-lg); background: #0b0d11; }
.carousel-track { display: flex; transition: transform .5s cubic-bezier(.4, 0, .2, 1); }
.carousel-slide { min-width: 100%; }
.carousel-slide img { width: 100%; height: auto; display: block; }
.carousel-btn {
  position: absolute; top: 50%; transform: translateY(-50%);
  width: 46px; height: 46px; border-radius: 50%;
  background: rgba(255,255,255,.92); border: 0; cursor: pointer;
  display: grid; place-items: center; box-shadow: 0 6px 18px rgba(0,0,0,.25);
  transition: transform .15s ease, background .15s ease; z-index: 3;
}
.carousel-btn:hover { transform: translateY(-50%) scale(1.08); background: #fff; }
.carousel-btn svg { width: 22px; height: 22px; color: var(--ink); }
.carousel-btn.prev { left: -22px; }
.carousel-btn.next { right: -22px; }
.carousel-caption { text-align: center; color: rgba(255,255,255,.78); margin-top: 20px; font-size: 1rem; min-height: 1.5em; padding: 0 12px; }
.carousel-dots { display: flex; justify-content: center; gap: 9px; margin-top: 18px; }
.carousel-dot { width: 9px; height: 9px; border-radius: 50%; background: rgba(255,255,255,.28); border: 0; padding: 0; cursor: pointer; transition: all .2s ease; }
.carousel-dot.active { background: var(--brand); width: 24px; border-radius: 5px; }

/* ---------- Páginas legais (Termos / Privacidade) ---------- */
.legal-head { padding: 64px 0 8px; }
.legal-head h1 { font-size: clamp(2rem, 4vw, 2.8rem); margin-bottom: 10px; }
.legal-meta { color: var(--muted); font-size: .95rem; }
.prose { max-width: 760px; margin: 0 auto; }
.prose h2 { font-size: 1.35rem; margin: 40px 0 12px; }
.prose h3 { font-size: 1.08rem; margin: 24px 0 8px; }
.prose p { color: var(--text); margin-bottom: 14px; }
.prose ul { margin: 0 0 16px; }
.prose li { position: relative; padding-left: 20px; margin-bottom: 9px; color: var(--text); }
.prose li::before { content: ""; position: absolute; left: 3px; top: 10px; width: 6px; height: 6px; border-radius: 50%; background: var(--brand); }
.prose a { color: var(--brand-dark); font-weight: 600; }
.prose a:hover { text-decoration: underline; }
.prose .callout { background: var(--bg-soft); border: 1px solid var(--line); border-left: 3px solid var(--brand); border-radius: var(--radius-sm); padding: 16px 20px; margin: 22px 0; color: var(--muted); font-size: .95rem; }

/* ---------- Footer ---------- */
.site-footer { background: var(--ink); color: rgba(255,255,255,.72); padding: 64px 0 32px; }
.footer-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1fr; gap: 36px; margin-bottom: 44px; }
.site-footer .brand { color: #fff; margin-bottom: 16px; }
.site-footer p { font-size: .95rem; max-width: 300px; }
.footer-col h4 { color: #fff; font-size: .95rem; margin-bottom: 16px; text-transform: uppercase; letter-spacing: .05em; font-weight: 700; }
.footer-col a { display: block; padding: 6px 0; color: rgba(255,255,255,.7); font-size: .95rem; transition: color .15s; }
.footer-col a:hover { color: var(--brand); }
.footer-bottom { border-top: 1px solid rgba(255,255,255,.12); padding-top: 26px; display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap; font-size: .88rem; }

/* ---------- Reveal animation ---------- */
.reveal { opacity: 0; transform: translateY(24px); transition: opacity .6s ease, transform .6s ease; }
.reveal.in { opacity: 1; transform: none; }

/* ---------- Responsive ---------- */
@media (max-width: 940px) {
  .hero-grid { grid-template-columns: 1fr; }
  .cols-3, .cols-2, .steps, .stats, .checklist, .pricing-3, .pricing-2 { grid-template-columns: 1fr; }
  .carousel-btn.prev { left: 10px; }
  .carousel-btn.next { right: 10px; }
  .carousel-btn { width: 40px; height: 40px; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .steps { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 720px) {
  .nav-links, .nav-actions .btn { display: none; }   /* no mobile: só logo + menu */
  .nav-toggle { display: block; }
  .nav.open .nav-links {
    display: flex; flex-direction: column; position: absolute; top: 72px; left: 0; right: 0;
    background: #fff; border-bottom: 1px solid var(--line); padding: 20px 24px; gap: 16px;
  }
  .section { padding: 60px 0; }
  .cta-band { padding: 40px 24px; }
  .footer-grid { grid-template-columns: 1fr; }
  .apps-grid { grid-template-columns: 1fr; }
  /* Hero: traz o conteúdo mais pra cima no mobile */
  .hero, .hero-centered { padding: 36px 0 48px; }
  .hero-mark { width: 52px; margin-bottom: 16px; }
  .hero-centered h1 { font-size: 2rem; }
  .hero-centered .lead { margin-bottom: 24px; }
  /* Hero das páginas de detalhe: menos espaço no topo */
  .app-hero { padding: 28px 0 40px; }
  .breadcrumb { margin-bottom: 18px; }
  /* "Como funciona": carousel com touch swipe no mobile */
  .steps {
    display: flex; overflow-x: auto; scroll-snap-type: x mandatory;
    gap: 14px; padding-bottom: 14px; margin-top: 36px !important;
    -webkit-overflow-scrolling: touch; scrollbar-width: none;
  }
  .steps::-webkit-scrollbar { display: none; }
  .steps .step { flex: 0 0 80%; scroll-snap-align: center; }
}
