/* PDVI Landing — white / Zeon-like + floating nav */
:root {
  --bg: #f4f7f5;
  --bg-soft: #eef3ef;
  --surface: #ffffff;
  --text: #142018;
  --muted: #5c6b61;
  --line: rgba(20, 32, 24, 0.08);
  --accent: #1f7a45;
  --accent-2: #2f9e5b;
  --accent-soft: rgba(31, 122, 69, 0.1);
  --money: #8a7340;
  --danger: #c62828;
  --ok: #1f7a45;
  --shadow: 0 18px 50px rgba(18, 40, 28, 0.1);
  --shadow-sm: 0 8px 24px rgba(18, 40, 28, 0.08);
  --radius: 18px;
  --font: "Space Grotesk", "Bahnschrift", "Segoe UI Semibold", sans-serif;
  --max: 1140px;
  --nav-h: 72px;
}

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

html { scroll-behavior: auto; scroll-padding-top: 110px; }

body {
  margin: 0;
  font-family: var(--font);
  color: var(--text);
  background: var(--bg);
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

a {
  color: inherit;
  text-decoration: none;
}

img { max-width: 100%; display: block; }

.container {
  width: min(100% - 40px, var(--max));
  margin-inline: auto;
}

#topo,
#recursos,
#comparativo,
#planos,
#faq {
  scroll-margin-top: 110px;
}

.mobile-only { display: none !important; }
.desktop-only { display: flex; }

p.desktop-only,
.trust-row .desktop-only { display: inline-flex; }
p.mobile-only { display: none !important; }

/* Floating sticky header */
.topbar-wrap {
  position: sticky;
  top: 0;
  z-index: 60;
  padding: 12px 16px 0;
  pointer-events: none;
}

.topbar {
  pointer-events: auto;
  position: relative;
  width: min(1080px, 100%);
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 8px 10px 8px 12px;
  border-radius: 22px;
  background: rgba(255, 255, 255, 0.88);
  border: 1px solid rgba(20, 32, 24, 0.06);
  box-shadow: 0 12px 40px rgba(20, 40, 28, 0.12);
  backdrop-filter: blur(18px);
  -webkit-backdrop-filter: blur(18px);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  flex-shrink: 0;
  color: inherit;
  text-decoration: none;
}

.brand-logo {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 48px;
  height: 48px;
  border-radius: 15px;
  flex-shrink: 0;
  background: #0b120e;
  box-shadow: inset 0 0 0 1px rgba(57, 231, 95, 0.28);
}

.brand-logo img,
.brand-logo svg {
  width: 30px;
  height: 34px;
}

.brand-name {
  font-size: 17px;
  font-weight: 800;
  letter-spacing: -0.03em;
  color: var(--text);
}

.topbar-nav {
  display: flex;
  align-items: center;
  gap: 2px;
  flex-wrap: nowrap;
  justify-content: flex-end;
}

.nav-actions {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-left: 8px;
  padding-left: 8px;
  border-left: 1px solid var(--line);
}

.topbar-nav a.nav-link {
  color: var(--muted);
  font-size: 13px;
  font-weight: 600;
  padding: 9px 12px;
  border-radius: 999px;
  transition: color 0.15s, background 0.15s;
}

.topbar-nav a.nav-link:hover,
.topbar-nav a.nav-link.is-active {
  color: var(--accent);
  background: var(--accent-soft);
}

.menu-toggle {
  display: none;
  width: 44px;
  height: 44px;
  border-radius: 14px;
  border: 1px solid var(--line);
  background: #fff;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  gap: 5px;
  cursor: pointer;
  padding: 0;
}

.menu-toggle span {
  display: block;
  width: 18px;
  height: 2px;
  border-radius: 2px;
  background: var(--text);
  transition: transform 0.2s, opacity 0.2s;
}

body.nav-open .menu-toggle span:nth-child(1) {
  transform: translateY(7px) rotate(45deg);
}
body.nav-open .menu-toggle span:nth-child(2) { opacity: 0; }
body.nav-open .menu-toggle span:nth-child(3) {
  transform: translateY(-7px) rotate(-45deg);
}

.nav-backdrop {
  position: fixed;
  inset: 0;
  z-index: 55;
  background: rgba(10, 18, 12, 0.35);
  backdrop-filter: blur(2px);
}

.mobile-download-note {
  margin: 0 0 18px;
  padding: 14px 16px;
  border-radius: 16px;
  background: #fff;
  border: 1px solid var(--line);
  box-shadow: var(--shadow-sm);
  flex-direction: column;
  gap: 8px;
  align-items: flex-start;
}

.mobile-download-note strong {
  font-size: 14px;
  color: var(--accent);
}

.mobile-download-note p {
  margin: 0;
  color: var(--muted);
  font-size: 13px;
}

.btn {
  appearance: none;
  border: 1px solid var(--line);
  background: var(--surface);
  color: var(--text);
  border-radius: 999px;
  padding: 10px 16px;
  font-size: 13px;
  font-weight: 700;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  transition: background 0.15s, border-color 0.15s, color 0.15s, transform 0.12s, box-shadow 0.15s;
}

.btn:hover {
  border-color: rgba(31, 122, 69, 0.35);
  color: var(--accent);
  background: #f7fbf8;
}

.btn:active { transform: translateY(1px) scale(0.985); }

.btn-primary {
  background: linear-gradient(180deg, #2f9e5b, #1f7a45);
  color: #fff;
  border-color: transparent;
  box-shadow: 0 8px 20px rgba(31, 122, 69, 0.28);
}

.btn-primary:hover {
  background: linear-gradient(180deg, #35ad64, #21824a);
  color: #fff;
  box-shadow: 0 10px 24px rgba(31, 122, 69, 0.34);
}

.btn-lg { padding: 14px 22px; font-size: 15px; }

@media (max-width: 900px) {
  .menu-toggle { display: inline-flex; }

  .topbar {
    border-radius: 20px;
    padding: 8px 8px 8px 10px;
  }

  .topbar-nav {
    position: absolute;
    top: calc(100% + 10px);
    left: 0;
    right: 0;
    display: none;
    flex-direction: column;
    align-items: stretch;
    gap: 6px;
    padding: 14px;
    border-radius: 20px;
    background: rgba(255, 255, 255, 0.96);
    border: 1px solid var(--line);
    box-shadow: var(--shadow);
  }

  body.nav-open .topbar-nav { display: flex; }

  .nav-actions {
    margin: 8px 0 0;
    padding: 12px 0 0;
    border-left: 0;
    border-top: 1px solid var(--line);
    flex-direction: column;
    width: 100%;
  }

  .topbar-nav a.nav-link,
  .topbar-nav .btn {
    width: 100%;
    justify-content: center;
    text-align: center;
  }

  .topbar-nav a.nav-link {
    padding: 12px 14px;
    font-size: 15px;
  }

  .desktop-only { display: none !important; }
  .mobile-only { display: flex !important; }
  p.mobile-only { display: block !important; }
  p.desktop-only { display: none !important; }

  .brand-logo { width: 44px; height: 44px; }
  .brand-name { font-size: 16px; }
}

/* Hero */
.hero {
  padding: 28px 0 48px;
}

.hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(0, 0.95fr);
  gap: 28px 40px;
  align-items: center;
}

.hero-copy {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  min-width: 0;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--accent);
  background: var(--accent-soft);
  border-radius: 999px;
  padding: 6px 12px;
  margin: 0 0 16px;
}

.hero h1 {
  margin: 0 0 14px;
  font-size: clamp(32px, 5vw, 52px);
  line-height: 1.05;
  letter-spacing: -0.04em;
  font-weight: 800;
  max-width: 14ch;
}

.hero h1 em {
  font-style: normal;
  color: var(--accent);
}

.hero-bullets {
  list-style: none;
  margin: 0 0 14px;
  padding: 0;
  display: grid;
  gap: 8px;
}

.hero-bullets li {
  display: flex;
  gap: 10px;
  align-items: flex-start;
  font-size: 15px;
  font-weight: 600;
  color: var(--text);
}

.hero-bullets li::before {
  content: "";
  width: 18px;
  height: 18px;
  margin-top: 2px;
  flex-shrink: 0;
  border-radius: 50%;
  background:
    linear-gradient(180deg, #2f9e5b, #1f7a45)
    center / 100% 100% no-repeat;
  box-shadow: inset 0 0 0 4px #fff, 0 0 0 1px rgba(31,122,69,0.25);
}

.hero-lead {
  margin: 0 0 22px;
  color: var(--muted);
  font-size: 16px;
  max-width: 42ch;
}

.hero-cta {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-bottom: 18px;
}

.trust-row {
  display: flex;
  flex-wrap: wrap;
  gap: 14px 22px;
  color: var(--muted);
  font-size: 13px;
  font-weight: 600;
}

.trust-row span {
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

.trust-row i {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--accent-2);
  display: inline-block;
}

/* Product stage */
.hero-stage {
  position: relative;
  min-height: 0;
  padding: 28px 18px 36px 24px;
  perspective: 1200px;
}

.ui-window {
  position: relative;
  z-index: 2;
  width: 100%;
  max-width: 520px;
  margin-inline: auto;
  background: #101612;
  color: #eef2ef;
  border-radius: 20px;
  border: 1px solid rgba(143, 184, 154, 0.22);
  box-shadow: var(--shadow);
  overflow: hidden;
  transform: rotateY(-6deg) rotateX(4deg);
  animation: floatMain 7s ease-in-out infinite;
}

@keyframes floatMain {
  0%, 100% { transform: rotateY(-6deg) rotateX(4deg) translateY(0); }
  50% { transform: rotateY(-4deg) rotateX(2deg) translateY(-10px); }
}

.ui-top {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 12px 14px;
  background: rgba(255,255,255,0.03);
  border-bottom: 1px solid rgba(255,255,255,0.06);
  font-size: 12px;
  color: #8fb89a;
  font-weight: 700;
  letter-spacing: 0.04em;
}

.dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #5c9e6e;
  opacity: 0.7;
}

.ui-body {
  display: grid;
  grid-template-columns: 1.4fr 0.8fr;
  gap: 10px;
  padding: 12px;
  min-height: 0;
}

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

.ui-line {
  display: flex;
  justify-content: space-between;
  gap: 10px;
  padding: 12px;
  border-radius: 12px;
  background: rgba(255,255,255,0.03);
  border: 1px solid rgba(255,255,255,0.05);
  font-size: 13px;
}

.ui-line strong { color: #dfc98a; font-variant-numeric: tabular-nums; }

.ui-side {
  border-radius: 14px;
  background: rgba(203, 181, 110, 0.08);
  border: 1px solid rgba(203, 181, 110, 0.18);
  padding: 14px;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
}

.ui-side .lbl {
  font-size: 10px;
  letter-spacing: 1.4px;
  text-transform: uppercase;
  color: #cbb56e;
  font-weight: 700;
}

.ui-side .val {
  font-size: 28px;
  font-weight: 800;
  letter-spacing: -0.03em;
  color: #dfc98a;
  margin-top: 6px;
}

.ui-side .btn-fake {
  margin-top: 14px;
  text-align: center;
  padding: 10px;
  border-radius: 12px;
  background: linear-gradient(180deg, #5c9e6e, #3d6b4c);
  font-size: 13px;
  font-weight: 700;
}

.float-card {
  position: absolute;
  z-index: 3;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 16px;
  padding: 14px 16px;
  box-shadow: var(--shadow-sm);
  width: min(210px, 46vw);
  animation: wobble 5.5s ease-in-out infinite;
}

.float-card.fiado {
  top: 8px;
  right: 0;
  animation-delay: 0.4s;
}

.float-card.stock {
  bottom: 8px;
  left: 0;
  animation-delay: 1.1s;
}

.float-card .kicker {
  font-size: 10px;
  font-weight: 800;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 4px;
}

.float-card strong {
  display: block;
  font-size: 18px;
  letter-spacing: -0.02em;
}

.float-card span {
  color: var(--muted);
  font-size: 12px;
}

@keyframes wobble {
  0%, 100% { transform: rotate(-2.5deg) translateY(0); }
  50% { transform: rotate(2.8deg) translateY(-8px); }
}

@media (max-width: 960px) {
  .hero { padding: 20px 0 36px; }
  .hero-grid { grid-template-columns: 1fr; gap: 20px; }
  .hero-stage { padding: 20px 8px 28px; margin-top: 4px; }
  .ui-window { transform: none; animation: floatMainSoft 6s ease-in-out infinite; }
  @keyframes floatMainSoft {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-8px); }
  }
  .float-card.fiado { right: 4px; top: 4px; }
  .float-card.stock { left: 4px; bottom: 4px; }
}

/* Sections */
section:not(.hero) { padding: 64px 0; }

.section-label {
  color: var(--accent);
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  margin: 0 0 10px;
}

.section-title {
  margin: 0 0 12px;
  font-size: clamp(26px, 3.6vw, 40px);
  font-weight: 800;
  letter-spacing: -0.03em;
  line-height: 1.12;
  max-width: 18ch;
}

.section-lead {
  margin: 0 0 36px;
  color: var(--muted);
  max-width: 54ch;
  font-size: 16px;
}

.pain {
  background: var(--surface);
  border-block: 1px solid var(--line);
}

.pain-grid,
.card-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
}

.card {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 22px;
  box-shadow: var(--shadow-sm);
  transition: transform 0.25s ease, box-shadow 0.25s ease;
  animation: cardTilt 6s ease-in-out infinite;
}

.card:nth-child(2) { animation-delay: 0.8s; }
.card:nth-child(3) { animation-delay: 1.6s; }

.card:hover {
  transform: translateY(-6px) rotate(0deg);
  box-shadow: var(--shadow);
  animation-play-state: paused;
}

@keyframes cardTilt {
  0%, 100% { transform: rotate(-0.8deg); }
  50% { transform: rotate(0.9deg) translateY(-4px); }
}

.card h3 {
  margin: 0 0 8px;
  font-size: 18px;
}

.card p {
  margin: 0;
  color: var(--muted);
  font-size: 14px;
}

@media (max-width: 800px) {
  .pain-grid,
  .card-grid { grid-template-columns: 1fr; }
  .card { animation: none; }
}

.feature-band {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 36px;
  align-items: center;
  padding: 48px 0;
  border-bottom: 1px solid var(--line);
}

.feature-band.reverse { grid-template-columns: 0.9fr 1.1fr; }
.feature-band.reverse .feature-visual { order: -1; }

.feature-band h3 {
  margin: 0 0 10px;
  font-size: clamp(22px, 2.8vw, 30px);
  letter-spacing: -0.02em;
}

.feature-band p { margin: 0 0 14px; color: var(--muted); }

.feature-list {
  margin: 0;
  padding: 0;
  list-style: none;
  display: grid;
  gap: 8px;
}

.feature-list li {
  position: relative;
  padding-left: 18px;
  font-size: 14px;
  font-weight: 600;
}

.feature-list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.55em;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--accent);
}

.feature-visual {
  border-radius: 20px;
  border: 1px solid var(--line);
  background: var(--surface);
  min-height: 220px;
  padding: 20px;
  box-shadow: var(--shadow-sm);
  animation: cardTilt 7s ease-in-out infinite;
}

.mock-row {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  padding: 12px 14px;
  border-radius: 12px;
  background: var(--bg-soft);
  border: 1px solid var(--line);
  margin-bottom: 8px;
  font-size: 13px;
  font-weight: 600;
}

.mock-row strong { color: var(--accent); font-variant-numeric: tabular-nums; }

.mock-total {
  margin-top: 14px;
  padding-top: 12px;
  border-top: 1px solid var(--line);
}

.mock-total .lbl {
  font-size: 10px;
  letter-spacing: 1.4px;
  text-transform: uppercase;
  color: var(--money);
  font-weight: 800;
}

.mock-total .val {
  font-size: 28px;
  font-weight: 800;
  letter-spacing: -0.03em;
  color: var(--text);
}

@media (max-width: 860px) {
  .feature-band,
  .feature-band.reverse { grid-template-columns: 1fr; }
  .feature-band.reverse .feature-visual { order: 0; }
  .feature-visual { animation: none; }
}

.compare-wrap { overflow-x: auto; }

.compare {
  width: 100%;
  border-collapse: collapse;
  min-width: 640px;
  font-size: 14px;
  background: var(--surface);
  border-radius: 16px;
  overflow: hidden;
  box-shadow: var(--shadow-sm);
}

.compare th,
.compare td {
  text-align: left;
  padding: 14px 16px;
  border-bottom: 1px solid var(--line);
}

.compare th {
  background: var(--bg-soft);
  color: var(--muted);
  font-size: 12px;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  font-weight: 800;
}

.compare td:nth-child(2) { color: #8a4a4a; }
.compare td:nth-child(3) {
  color: var(--accent);
  font-weight: 700;
  background: rgba(31, 122, 69, 0.05);
}

.plans {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 14px;
}

.plan {
  appearance: none;
  text-align: left;
  width: 100%;
  border-radius: 20px;
  border: 1px solid var(--line);
  background: var(--surface);
  color: var(--text);
  padding: 24px 20px;
  cursor: pointer;
  transition: border-color 0.15s, transform 0.2s, box-shadow 0.2s;
  display: flex;
  flex-direction: column;
  gap: 8px;
  font: inherit;
  box-shadow: var(--shadow-sm);
  animation: cardTilt 6.5s ease-in-out infinite;
  text-decoration: none;
}

.plan:nth-child(2) { animation-delay: 0.5s; }
.plan:nth-child(3) { animation-delay: 1s; }

.plan:hover {
  transform: translateY(-6px);
  border-color: rgba(31, 122, 69, 0.35);
  box-shadow: var(--shadow);
  animation-play-state: paused;
}

.plan.is-featured {
  border-color: rgba(31, 122, 69, 0.45);
  background:
    linear-gradient(180deg, rgba(31, 122, 69, 0.08), transparent 42%),
    var(--surface);
}

.plan-badge {
  align-self: flex-start;
  font-size: 10px;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--accent);
  background: var(--accent-soft);
  border-radius: 999px;
  padding: 4px 10px;
}

.plan h3 { margin: 4px 0 0; font-size: 20px; }
.plan .price {
  font-size: 34px;
  font-weight: 800;
  letter-spacing: -0.04em;
  margin: 8px 0 0;
  font-variant-numeric: tabular-nums;
}
.plan .price small {
  font-size: 14px;
  font-weight: 600;
  color: var(--muted);
}
.plan .meta { color: var(--muted); font-size: 13px; margin: 0; }
.plan .save {
  color: var(--accent);
  font-size: 13px;
  font-weight: 700;
  margin: 0;
}

@media (max-width: 900px) {
  .plans { grid-template-columns: 1fr; }
  .plan { animation: none; }
}

.seo-block {
  background: var(--surface);
  border-block: 1px solid var(--line);
}

.seo-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 22px;
}

.seo-grid article {
  padding: 18px;
  border-radius: 16px;
  background: var(--bg);
  border: 1px solid var(--line);
}

.seo-grid h3 { margin: 0 0 8px; font-size: 17px; }
.seo-grid p { margin: 0; color: var(--muted); font-size: 14px; }

@media (max-width: 760px) {
  .seo-grid { grid-template-columns: 1fr; }
}

.faq details {
  border: 1px solid var(--line);
  border-radius: 14px;
  padding: 14px 16px;
  margin-bottom: 8px;
  background: var(--surface);
}

.faq summary {
  cursor: pointer;
  font-weight: 700;
  list-style: none;
}

.faq summary::-webkit-details-marker { display: none; }
.faq details p { color: var(--muted); font-size: 14px; margin: 10px 0 0; }

.final-cta {
  text-align: center;
  padding: 84px 0 100px;
}

.final-cta h2 {
  margin: 0 auto 12px;
  font-size: clamp(28px, 4vw, 42px);
  letter-spacing: -0.03em;
  max-width: 16ch;
}

.final-cta p {
  margin: 0 auto 24px;
  color: var(--muted);
  max-width: 44ch;
}

.final-cta .hero-cta { justify-content: center; }

.footer {
  border-top: 1px solid var(--line);
  padding: 28px 0 40px;
  color: var(--muted);
  font-size: 12px;
  background: var(--surface);
}

.footer-inner {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 16px;
}

.footer a:hover { color: var(--accent); }

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0,0,0,0);
  border: 0;
}

@media (prefers-reduced-motion: reduce) {
  .ui-window,
  .float-card,
  .card,
  .plan,
  .feature-visual { animation: none !important; }
  html { scroll-behavior: auto; }
}
