/* Barvello site — build 2026-08-16 */
:root {
  --gold: #e8cc72;
  --gold-dim: #b89a48;
  --gold-soft: rgba(232, 204, 114, 0.22);
  --tech: #4ea8d8;
  --tech-soft: rgba(78, 168, 216, 0.16);
  --bg: #1c1a18;
  --border: rgba(255, 255, 255, 0.16);
  --border-gold: rgba(232, 204, 114, 0.42);
  --text: #fffdf8;
  --muted: rgba(245, 240, 232, 0.88);
  --max: 1120px;
  /* Altura real medida via JS; fallback cobre o header compacto + safe-area */
  --site-header-h: calc(72px + env(safe-area-inset-top, 0px));
  /*
    Vidro incolor (padrão global dos cards):
    fill branco muito baixo + blur sem saturação, para não tingir de marrom/dourado/azul.
  */
  --glass-blur: blur(22px);
  --glass-fill: rgba(255, 255, 255, 0.04);
  --glass-inset: rgba(255, 255, 255, 0.035);
  --glass-fallback: rgba(10, 10, 12, 0.92);
  --glass-border: rgba(255, 255, 255, 0.15);
  --glass-highlight: inset 0 1px 0 rgba(255, 255, 255, 0.12);
  --glass-shadow: 0 8px 28px rgba(0, 0, 0, 0.14);
  --card: var(--glass-fill);
  --bg-elevated: var(--glass-fill);
  --text-shadow: 0 2px 12px rgba(0, 0, 0, 0.55), 0 1px 3px rgba(0, 0, 0, 0.4);
  --text-shadow-soft: 0 1px 8px rgba(0, 0, 0, 0.45);
}

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

html {
  scroll-behavior: smooth;
  overflow-x: hidden;
  overflow-x: clip;
}

html:has(.site-header) {
  scroll-padding-top: calc(var(--site-header-h) + 16px);
}

body {
  font-family: "Outfit", "Segoe UI", system-ui, -apple-system, sans-serif;
  color: var(--text);
  line-height: 1.65;
  min-height: 100vh;
  background-color: var(--bg);
  position: relative;
  overflow-x: clip;
}

/* Offset global: o header é fixed; o conteúdo começa abaixo da altura real */
body:has(.site-header) {
  padding-top: var(--site-header-h);
}

html:has(.site-header) [id] {
  scroll-margin-top: calc(var(--site-header-h) + 16px);
}

/* Fundo fixo ? v?deo paisagem (desktop) / retrato (mobile) com fallback em PNG */
.site-video-bg {
  position: fixed;
  inset: 0;
  z-index: -2;
  overflow: hidden;
  background-color: #1c1a18;
}

.site-video {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  pointer-events: none;
}

html.site-has-video body::before {
  visibility: hidden;
}

body::before {
  content: "";
  position: fixed;
  inset: 0;
  z-index: -2;
  background-color: #1c1a18;
  background-image: url("./images/bg-desktop.jpg");
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  /* N?O usar background-attachment: fixed ? o pseudo j? ? position:fixed.
     Com acelera??o de hardware desligada, "fixed" renderiza o fundo achatado/
     escuro (fazendo o vidro parecer opaco). Sem ele, o fundo aparece igual em
     qualquer m?quina. */
  filter: brightness(1.12) contrast(1.02);
}

body::after {
  content: "";
  position: fixed;
  inset: 0;
  z-index: -1;
  pointer-events: none;
  /* Overlay leve + brilho dourado que acompanha o scroll (--scroll-p) */
  background:
    radial-gradient(
      900px 420px at 50% calc(18% + var(--scroll-p, 0) * 40%),
      rgba(201, 168, 76, 0.05),
      transparent 60%
    ),
    linear-gradient(180deg, rgba(8, 8, 10, 0.02) 0%, rgba(8, 8, 10, 0.08) 50%, rgba(8, 8, 10, 0.18) 100%);
}

@media (max-width: 768px) {
  .site-video {
    object-position: center top;
  }

  body::before {
    background-image: url("./images/bg-mobile.jpg");
    background-position: center top;
    background-attachment: scroll;
  }

  body::after {
    background:
      radial-gradient(
        700px 360px at 50% calc(14% + var(--scroll-p, 0) * 36%),
        rgba(201, 168, 76, 0.04),
        transparent 58%
      ),
      linear-gradient(180deg, rgba(8, 8, 10, 0.03) 0%, rgba(8, 8, 10, 0.1) 45%, rgba(8, 8, 10, 0.2) 100%);
  }
}

a {
  color: var(--gold);
  text-decoration: none;
}

a:hover {
  text-decoration: underline;
}

h1,
h2,
h3,
.brand-name,
.section-head h2,
.cta-band h2 {
  text-shadow: var(--text-shadow);
}

p,
.lead,
.section-head p {
  text-shadow: var(--text-shadow-soft);
}

/* Vidro incolor — único padrão dos cards (sem tom marrom/dourado/azul) */
.glass-panel,
.card,
.feature-card,
.audience-card,
.pricing-card,
.legal-doc,
.toc,
.checkout-card,
.success-card,
.auth-card,
.ind-card,
.emb-card,
.emb-mobile,
.emb-row,
.cli-steps,
.dl-steps,
.calc-visual,
.calc-panel {
  background: var(--glass-fill);
  backdrop-filter: var(--glass-blur);
  -webkit-backdrop-filter: var(--glass-blur);
  border: 1px solid var(--glass-border);
  box-shadow: var(--glass-shadow), var(--glass-highlight);
}

.glass-panel {
  border-radius: 18px;
}

@supports not ((backdrop-filter: blur(2px)) or (-webkit-backdrop-filter: blur(2px))) {
  .glass-panel,
  .glass-panel-hero,
  .card,
  .feature-card,
  .audience-card,
  .pricing-card,
  .legal-doc,
  .toc,
  .checkout-card,
  .success-card,
  .auth-card,
  .ind-card,
  .emb-card,
  .emb-mobile,
  .emb-row,
  .cli-steps,
  .dl-steps,
  .site-header,
  .site-footer,
  .site-nav-links {
    background: var(--glass-fallback);
  }
}

.glass-panel-hero {
  padding: 40px 32px 44px;
}

.site-header {
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
  background: rgba(255, 255, 255, 0.05);
  backdrop-filter: var(--glass-blur);
  -webkit-backdrop-filter: var(--glass-blur);
  position: fixed;
  left: 0;
  right: 0;
  top: 0;
  z-index: 100;
  padding-top: env(safe-area-inset-top, 0px);
  box-shadow:
    0 8px 28px rgba(0, 0, 0, 0.2),
    inset 0 -1px 0 rgba(255, 255, 255, 0.08);
  transition:
    transform 0.38s cubic-bezier(0.4, 0, 0.2, 1),
    opacity 0.38s ease,
    background 0.28s ease,
    box-shadow 0.28s ease;
}

.site-header.is-scrolled {
  background: rgba(255, 255, 255, 0.07);
  box-shadow:
    0 10px 32px rgba(0, 0, 0, 0.22),
    inset 0 -1px 0 rgba(255, 255, 255, 0.1);
}

.site-header.is-hidden {
  transform: translateY(-110%);
  opacity: 0;
  pointer-events: none;
}

.site-header.is-nav-open {
  transform: none;
  opacity: 1;
  pointer-events: auto;
}

.site-header-inner {
  max-width: var(--max);
  margin: 0 auto;
  padding: 8px 18px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  flex-wrap: nowrap;
}

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

/* Logo empilhado: ?cone em cima + ?Barvello? embaixo (igual tela de login do app). */
.brand-wordmark {
  display: inline-flex;
  flex-direction: column;
  align-items: center;
  gap: 0;
  text-align: center;
}

.brand-logo-img {
  width: auto;
  height: 34px;
  object-fit: contain;
  display: block;
  border-radius: 0;
  /* letra B met?lica ? sombra leve sem fundo */
  filter: drop-shadow(0 2px 10px rgba(0, 0, 0, 0.45));
}

.brand-name {
  font-size: 0.62rem;
  font-weight: 800;
  letter-spacing: 0.28em;
  text-transform: uppercase;
  line-height: 1;
  margin-top: 5px;
  color: #c9a84c;
}

.hero-wordmark {
  display: inline-flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 0;
  margin-bottom: 12px;
}

.hero-wordmark .brand-logo-img {
  height: 88px;
  width: auto;
  border-radius: 0;
}

.hero-wordmark .brand-name {
  font-size: 0.95rem;
  letter-spacing: 0.42em;
  margin-top: 14px;
  color: #c9a84c;
}

.footer-brand .brand-logo-img {
  height: 40px;
}

.footer-brand .brand-name {
  font-size: 0.65rem;
  margin-top: 6px;
}

.hero-slogan {
  font-size: 0.95rem;
  color: var(--gold);
  letter-spacing: 0.12em;
  text-transform: uppercase;
  margin-bottom: 10px;
  text-shadow: var(--text-shadow-soft);
}

.brand:hover {
  text-decoration: none;
}

.brand-mark {
  width: 38px;
  height: 38px;
  border-radius: 11px;
  background: linear-gradient(135deg, var(--gold), var(--gold-dim));
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 800;
  color: #0a0a0a;
  font-size: 18px;
  box-shadow: 0 4px 20px rgba(201, 168, 76, 0.35);
}

.site-nav {
  display: flex;
  gap: 10px;
  flex-wrap: nowrap;
  font-size: 13px;
  align-items: center;
  position: static;
}

.site-nav-links {
  display: flex;
  align-items: center;
  gap: 14px;
  flex-wrap: nowrap;
  order: 1;
}

.site-nav .nav-cta,
.site-nav .play-badge {
  order: 2;
}

.site-nav .play-badge,
.site-nav .play-badge:hover,
.site-nav .play-badge.active {
  color: inherit;
  text-shadow: none;
}

.site-nav-toggle {
  display: none;
  order: 3;
  width: 44px;
  height: 44px;
  margin: 0;
  padding: 0;
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 10px;
  background: rgba(255, 255, 255, 0.06);
  color: var(--text);
  cursor: pointer;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  touch-action: manipulation;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.1);
}

.site-nav-toggle:hover,
.site-nav-toggle:focus-visible {
  border-color: rgba(232, 204, 114, 0.45);
  color: var(--gold);
  outline: none;
}

.site-nav-toggle:focus-visible {
  outline: 2px solid var(--gold);
  outline-offset: 2px;
}

.site-nav-toggle-bars,
.site-nav-toggle-bars::before,
.site-nav-toggle-bars::after {
  display: block;
  width: 16px;
  height: 1.5px;
  background: currentColor;
  border-radius: 2px;
  position: relative;
  transition: transform 0.22s ease, opacity 0.22s ease;
}

.site-nav-toggle-bars::before,
.site-nav-toggle-bars::after {
  content: "";
  position: absolute;
  left: 0;
}

.site-nav-toggle-bars::before { top: -5px; }
.site-nav-toggle-bars::after { top: 5px; }

.site-nav.is-open .site-nav-toggle-bars {
  background: transparent;
}
.site-nav.is-open .site-nav-toggle-bars::before {
  top: 0;
  transform: rotate(45deg);
}
.site-nav.is-open .site-nav-toggle-bars::after {
  top: 0;
  transform: rotate(-45deg);
}

.site-nav-scrim {
  display: none;
}

.site-nav a {
  color: var(--muted);
  text-decoration: none;
  transition: color 0.2s, background 0.2s, border-color 0.2s;
  text-shadow: var(--text-shadow-soft);
  white-space: nowrap;
}

.site-nav a:hover,
.site-nav a.active {
  color: var(--gold);
  text-decoration: none;
}

.site-nav .nav-cta {
  padding: 8px 16px;
  border-radius: 8px;
  background: var(--gold);
  color: #0a0a0a !important;
  font-weight: 700;
  text-shadow: none;
  box-shadow: 0 4px 16px rgba(201, 168, 76, 0.35);
}

.site-nav-divider {
  display: inline-block;
  width: 1px;
  height: 1.15em;
  background: rgba(255, 255, 255, 0.16);
  align-self: center;
  flex-shrink: 0;
}

.site-nav .nav-cta:hover {
  filter: brightness(1.08);
}

@media (max-width: 1100px) {
  .site-header-inner {
    padding: 6px 12px;
    gap: 8px;
  }

  .site-header .brand-logo-img {
    height: 28px;
  }

  .site-header .brand-name {
    font-size: 0.55rem;
    margin-top: 3px;
    letter-spacing: 0.22em;
  }

  .site-nav-toggle {
    display: inline-flex;
    order: 2;
  }

  .site-nav .nav-cta,
  .site-nav .play-badge {
    order: 1;
  }

  .site-nav .nav-cta {
    padding: 8px 12px;
    font-size: 12px;
  }

  .site-nav-divider {
    display: none;
  }

  .site-nav-links {
    display: none;
    position: fixed;
    top: var(--site-header-h);
    left: 10px;
    right: 10px;
    z-index: 120;
    order: 3;
    flex-direction: column;
    align-items: stretch;
    gap: 4px;
    padding: 10px;
    border-radius: 16px;
    border: 1px solid rgba(255, 255, 255, 0.16);
    background: rgba(12, 12, 14, 0.96);
    backdrop-filter: blur(18px);
    -webkit-backdrop-filter: blur(18px);
    box-shadow:
      0 18px 48px rgba(0, 0, 0, 0.55),
      inset 0 1px 0 rgba(255, 255, 255, 0.08);
    max-height: calc(100dvh - var(--site-header-h) - 16px);
    overflow-y: auto;
  }

  .site-nav.is-open .site-nav-links {
    display: flex;
  }

  .site-nav-links a {
    white-space: normal;
    padding: 12px 14px;
    min-height: 44px;
    display: flex;
    align-items: center;
    border-radius: 10px;
  }

  .site-nav-links a:hover,
  .site-nav-links a.active {
    background: rgba(232, 204, 114, 0.1);
  }

  .site-nav-links a:focus-visible {
    outline: 2px solid var(--gold);
    outline-offset: 0;
  }

  .site-nav-scrim {
    display: block;
    position: fixed;
    inset: 0;
    top: var(--site-header-h);
    z-index: 110;
    background: rgba(0, 0, 0, 0.62);
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.22s ease;
  }

  .site-nav.is-open + .site-nav-scrim,
  .site-header:has(.site-nav.is-open) .site-nav-scrim {
    opacity: 1;
    pointer-events: auto;
  }
}

body.nav-open {
  overflow: hidden;
}

@media (max-width: 360px) {
  .site-nav .nav-cta {
    padding: 8px 10px;
    font-size: 11px;
  }
}

/* Hero aberto ? 1? dobra: marca + frase + CTAs, sem card, fundo dominante */
.home-hero {
  position: relative;
  overflow: hidden;
  padding: 72px 20px 56px;
  text-align: center;
}

.home-hero-open {
  min-height: calc(100vh - var(--site-header-h));
  min-height: calc(100dvh - var(--site-header-h));
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 40px 24px 64px;
  text-align: center;
}

.home-hero-open-inner {
  position: relative;
  z-index: 1;
  max-width: 560px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.hero-wordmark-open {
  margin-bottom: 18px;
}

.hero-wordmark-open .brand-logo-img {
  width: auto;
  height: clamp(110px, 22vw, 154px);
  filter: drop-shadow(0 6px 28px rgba(0, 0, 0, 0.55))
    drop-shadow(0 0 24px rgba(232, 204, 114, 0.18));
}

.hero-wordmark-open .brand-name {
  font-size: clamp(18px, 3.2vw, 26px);
  letter-spacing: 0.28em;
  margin-top: 10px;
  color: #c9a84c;
  font-weight: 800;
}

.home-hero-open h1 {
  font-size: clamp(26px, 4.5vw, 38px);
  font-weight: 700;
  line-height: 1.2;
  max-width: 16ch;
  margin: 0 auto 12px;
}

.lead-open {
  font-size: clamp(15px, 2.2vw, 18px);
  color: var(--muted);
  max-width: 28ch;
  margin: 0 auto 28px;
  line-height: 1.45;
}

.home-hero-open .hero-actions {
  justify-content: center;
  margin-bottom: 16px;
}

.hero-textlink-open {
  display: inline-block;
  margin-top: 4px;
  font-size: 14px;
  transition: opacity 0.55s ease, transform 0.55s ease;
}

/* Idle: fundo+v?deo em destaque; mini-hero no canto superior */
.home-hero-open.is-idle .home-hero-open-inner {
  position: fixed;
  top: 76px;
  left: 20px;
  right: auto;
  bottom: auto;
  max-width: none;
  align-items: flex-start;
  z-index: 90;
  transform: scale(0.42);
  transform-origin: top left;
  pointer-events: none;
}

.home-hero-open.is-idle h1,
.home-hero-open.is-idle .lead-open,
.home-hero-open.is-idle .hero-actions,
.home-hero-open.is-idle .hero-textlink-open {
  opacity: 0;
  max-height: 0;
  margin: 0;
  padding: 0;
  overflow: hidden;
  pointer-events: none;
  transform: translateY(-8px);
}

.home-hero-open.is-idle .hero-wordmark-open {
  margin-bottom: 0;
}

.home-hero-open .home-hero-open-inner,
.home-hero-open h1,
.home-hero-open .lead-open,
.home-hero-open .hero-actions,
.home-hero-open .hero-textlink-open {
  /* Sumi?o mais ?gil */
  transition:
    opacity 0.7s ease,
    transform 0.75s cubic-bezier(0.4, 0, 0.2, 1),
    max-height 0.6s ease,
    margin 0.6s ease;
}

/* Reaparecimento mais lento (s? quando o usu?rio move mouse/teclado) */
body.hero-is-waking .home-hero-open .home-hero-open-inner,
body.hero-is-waking .home-hero-open h1,
body.hero-is-waking .home-hero-open .lead-open,
body.hero-is-waking .home-hero-open .hero-actions,
body.hero-is-waking .home-hero-open .hero-textlink-open {
  transition:
    opacity 1.45s ease,
    transform 1.55s cubic-bezier(0.22, 1, 0.36, 1),
    max-height 1.2s ease,
    margin 1.2s ease;
}

body.hero-is-idle .home-hero-open {
  min-height: 100dvh;
}

@media (max-width: 960px) {
  .home-hero-open.is-idle .home-hero-open-inner {
    top: 68px;
    left: 14px;
    transform: scale(0.36);
  }
}

.home-hero-inner {
  position: relative;
  z-index: 1;
  max-width: 760px;
  margin: 0 auto;
}

/* Showcase abaixo da dobra (scroll) */
.home-showcase-section {
  padding: 8px 20px 48px;
}

.home-showcase-panel {
  max-width: var(--max);
  margin: 0 auto;
  padding: 28px 22px 32px;
}

.showcase-eyebrow {
  color: var(--gold);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  margin: 0 0 16px;
  text-align: center;
}

.home-showcase-panel .app-showcase {
  max-width: none;
  margin: 0;
  padding: 0;
}

.home-showcase-panel .showcase-layout {
  grid-template-columns: minmax(0, 1fr) minmax(220px, 0.85fr);
  gap: 28px 36px;
  align-items: center;
}

.home-showcase-panel .showcase-stage {
  min-height: 360px;
}

.home-showcase-panel .showcase-caption {
  text-align: left;
}

.home-showcase-panel .showcase-caption h3 {
  font-size: clamp(18px, 2.5vw, 22px);
  margin: 8px 0 8px;
}

.home-showcase-panel .showcase-caption p {
  font-size: 14px;
  margin-bottom: 14px;
}

.home-showcase-panel .showcase-dots {
  margin-bottom: 0;
}

@media (max-width: 960px) {
  .home-hero-open {
    min-height: 92vh;
    min-height: 92dvh;
    padding: 96px 20px 48px;
  }

  .hero-wordmark-open .brand-logo-img {
    height: 112px;
  }

  .home-showcase-panel {
    padding: 24px 18px 28px;
  }

  .home-showcase-panel .showcase-layout {
    grid-template-columns: 1fr;
    gap: 24px;
  }

  .home-showcase-panel .showcase-caption {
    text-align: center;
  }

  .home-showcase-panel .showcase-dots {
    justify-content: center;
  }
}

.hero-eyebrow {
  color: var(--gold);
  font-size: 12px;
  letter-spacing: 4px;
  font-weight: 700;
  margin-bottom: 16px;
  text-shadow: var(--text-shadow);
}

.home-hero h1 {
  font-size: clamp(32px, 6vw, 52px);
  line-height: 1.1;
  font-weight: 800;
  margin-bottom: 20px;
  letter-spacing: -0.02em;
}

.home-hero .lead {
  color: var(--muted);
  font-size: clamp(16px, 2.5vw, 19px);
  max-width: 580px;
  margin: 0 auto 32px;
  line-height: 1.7;
}

.play-badge {
  display: inline-block;
  line-height: 0;
  text-decoration: none !important;
  border-radius: 8px;
  flex-shrink: 0;
  transition: transform 0.18s ease, filter 0.18s ease;
}

.play-badge img {
  display: block;
  height: 52px;
  width: auto;
  max-width: min(100%, 215px);
}

.play-badge--nav img,
.play-badge.play-badge--nav img {
  height: 36px;
  max-width: 148px;
}

.play-badge--compact img {
  height: 44px;
  max-width: 186px;
}

@media (hover: hover) and (pointer: fine) {
  .play-badge:hover {
    filter: brightness(1.06);
    transform: translateY(-1px);
  }
}

.play-badge:active {
  transform: translateY(0) scale(0.98);
}

.play-badge:focus-visible {
  outline: 2px solid var(--gold);
  outline-offset: 3px;
}

@media (max-width: 360px) {
  .play-badge img {
    height: 44px;
  }
  .play-badge--nav img,
  .play-badge.play-badge--nav img {
    height: 32px;
    max-width: 132px;
  }
}

.hero-actions {
  display: flex;
  gap: 12px;
  justify-content: center;
  flex-wrap: wrap;
  margin-bottom: 40px;
  align-items: center;
}

.hero-actions.hero-actions-secondary {
  margin-top: -28px;
  margin-bottom: 32px;
}

.hero-textlink {
  color: var(--gold, #c9a84c);
  font-weight: 600;
  font-size: 14px;
  text-decoration: none;
}

.hero-textlink:hover {
  text-decoration: underline;
}

.btn {
  display: inline-block;
  padding: 14px 26px;
  border-radius: 10px;
  font-weight: 700;
  font-size: 14px;
  text-decoration: none;
  border: 1px solid transparent;
  transition: transform 0.2s, filter 0.2s, box-shadow 0.2s, outline-offset 0.15s, border-color 0.2s;
  cursor: pointer;
  position: relative;
  overflow: hidden;
}

.btn:hover {
  text-decoration: none;
}

@media (hover: hover) and (pointer: fine) {
  .btn:hover {
    transform: translateY(-1px);
  }
}

.btn:active {
  transform: translateY(0) scale(0.98);
}

.btn:focus-visible {
  outline: 2px solid var(--gold);
  outline-offset: 3px;
}

.btn:disabled,
.btn[aria-disabled="true"] {
  opacity: 0.55;
  cursor: not-allowed;
  transform: none;
  pointer-events: none;
}

.skip-link {
  position: absolute;
  left: -9999px;
  top: 0;
  z-index: 200;
  padding: 10px 14px;
  background: #0a0a0a;
  color: var(--gold);
  border: 1px solid var(--gold);
  border-radius: 8px;
  font-weight: 700;
  text-decoration: none;
}
.skip-link:focus {
  left: 12px;
  top: 12px;
}

.btn-primary {
  background: linear-gradient(135deg, #e4c76a, #c9a84c);
  color: #0a0a0a;
  box-shadow: 0 8px 28px rgba(201, 168, 76, 0.35);
}

.btn-primary::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(120deg, transparent 35%, rgba(255, 255, 255, 0.28) 50%, transparent 65%);
  transform: translateX(-130%);
  pointer-events: none;
}

@media (hover: hover) and (pointer: fine) {
  .btn-primary:hover {
    filter: brightness(1.04);
    box-shadow: 0 10px 32px rgba(201, 168, 76, 0.42);
  }
  .btn-primary:hover::after {
    transform: translateX(130%);
    transition: transform 0.55s ease;
  }
}

.btn-secondary {
  border-color: var(--border);
  color: var(--text);
  background: rgba(255, 255, 255, 0.06);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  text-shadow: var(--text-shadow-soft);
}

.hero-badges {
  display: flex;
  gap: 10px;
  justify-content: center;
  flex-wrap: wrap;
}

.hero-badge {
  font-size: 12px;
  color: var(--muted);
  padding: 8px 14px;
  border-radius: 999px;
  border: 1px solid var(--border);
  background: var(--glass-fill);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  text-shadow: var(--text-shadow-soft);
}

.hero-badge strong {
  color: var(--gold);
}

/* Stats strip */
.stats-strip {
  max-width: var(--max);
  margin: -28px auto 0;
  padding: 0 20px;
  position: relative;
  z-index: 2;
}

.stats-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1px;
  background: var(--border);
  border: 1px solid var(--border);
  border-radius: 16px;
  overflow: hidden;
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.45);
  backdrop-filter: var(--glass-blur);
  -webkit-backdrop-filter: var(--glass-blur);
}

.stat-item {
  background: var(--glass-fill);
  backdrop-filter: var(--glass-blur);
  -webkit-backdrop-filter: var(--glass-blur);
  padding: 14px 12px;
  text-align: center;
}

.stat-item b {
  display: block;
  font-size: 18px;
  color: var(--gold);
  margin-bottom: 4px;
  text-shadow: var(--text-shadow);
}

.stat-item span {
  font-size: 12px;
  color: var(--muted);
  line-height: 1.4;
  text-shadow: var(--text-shadow-soft);
}

/* Sections */
.site-section {
  max-width: var(--max);
  margin: 0 auto;
  padding: 52px 20px;
}

.section-head {
  text-align: center;
  max-width: 580px;
  margin: 0 auto 28px;
}

.section-head h2 {
  font-size: clamp(24px, 4vw, 32px);
  margin-bottom: 12px;
  font-weight: 800;
}

.section-head p {
  color: var(--muted);
  font-size: 16px;
}

.section-label {
  color: var(--gold);
  font-size: 11px;
  letter-spacing: 3px;
  font-weight: 700;
  margin-bottom: 10px;
  text-shadow: var(--text-shadow);
}

/* Features */
.features-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 12px;
}

.feature-card {
  border-radius: 14px;
  padding: 18px 16px;
  transition: border-color 0.28s, transform 0.28s, box-shadow 0.28s;
}

@media (hover: hover) and (pointer: fine) {
  .feature-card:hover {
    border-color: var(--border-gold);
    transform: translateY(-4px);
    box-shadow:
      0 14px 36px rgba(0, 0, 0, 0.38),
      0 0 0 1px rgba(228, 199, 106, 0.18),
      0 0 24px rgba(78, 168, 216, 0.08);
  }
}

.feature-icon {
  font-size: 24px;
  margin-bottom: 10px;
  filter: drop-shadow(0 2px 4px rgba(0, 0, 0, 0.5));
}

.feature-card h3 {
  font-size: 15px;
  margin-bottom: 6px;
  color: var(--text);
  text-shadow: var(--text-shadow-soft);
}

.feature-card p {
  font-size: 13px;
  color: var(--muted);
  line-height: 1.6;
}

.about-copy {
  max-width: var(--max);
  margin: 0 auto 28px;
  padding: 28px 26px 30px;
}

.about-copy p {
  font-size: clamp(15px, 1.7vw, 17px);
  line-height: 1.75;
  color: var(--muted);
  margin-bottom: 18px;
}

.about-copy p:last-child {
  margin-bottom: 0;
}

.about-copy strong {
  color: var(--text);
  font-weight: 700;
}

.about-copy-closing {
  color: var(--gold) !important;
  font-weight: 600;
  font-size: clamp(16px, 1.9vw, 18px) !important;
}

.feature-card-text {
  padding-top: 22px;
}

.features-grid-text {
  margin-top: 8px;
}

/* Audience split */
.audience-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
}

.audience-card {
  border-radius: 16px;
  padding: 22px 18px;
  transition: transform 0.28s ease, border-color 0.28s ease, box-shadow 0.28s ease;
}

@media (hover: hover) and (pointer: fine) {
  .audience-card:hover {
    transform: translateY(-4px);
    border-color: rgba(232, 204, 114, 0.32);
    box-shadow:
      0 14px 36px rgba(0, 0, 0, 0.35),
      0 0 0 1px rgba(228, 199, 106, 0.12);
  }
}

.audience-card h3 {
  font-size: 20px;
  color: var(--gold);
  margin-bottom: 12px;
  text-shadow: var(--text-shadow);
}

.audience-card p {
  color: var(--muted);
  font-size: 15px;
  margin-bottom: 16px;
}

.audience-card ul {
  list-style: none;
  margin-bottom: 20px;
}

.audience-card li {
  font-size: 14px;
  color: rgba(245, 240, 230, 0.9);
  padding: 6px 0 6px 22px;
  position: relative;
  text-shadow: var(--text-shadow-soft);
}

.audience-card li::before {
  content: "";
  position: absolute;
  left: 2px;
  top: 0.72em;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--gold);
  box-shadow: 0 0 0 1px rgba(201, 168, 76, 0.35);
}

/* CTA band */
.cta-band {
  background: var(--glass-fill);
  backdrop-filter: var(--glass-blur);
  -webkit-backdrop-filter: var(--glass-blur);
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
  padding: 44px 20px;
  text-align: center;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.04);
}

.cta-band-inner {
  max-width: 720px;
  margin: 0 auto;
}

.cta-band h2 {
  font-size: clamp(24px, 4vw, 34px);
  margin-bottom: 14px;
  font-weight: 800;
}

.cta-band p {
  color: var(--muted);
  font-size: 16px;
  margin-bottom: 28px;
}

.cta-highlight {
  color: var(--gold);
  font-weight: 700;
}

/* Pricing */
.pricing-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 12px;
  align-items: stretch;
}

.pricing-card {
  border-radius: 14px;
  padding: 22px 18px;
  display: flex;
  flex-direction: column;
  transition:
    background 0.45s ease,
    border-color 0.45s ease,
    box-shadow 0.45s ease,
    transform 0.35s ease;
}

@media (hover: hover) and (pointer: fine) {
  .pricing-card:hover {
    background: rgba(255, 255, 255, 0.07);
    border-color: rgba(232, 204, 114, 0.32);
    box-shadow:
      0 12px 36px rgba(0, 0, 0, 0.38),
      0 0 0 1px rgba(228, 199, 106, 0.14),
      0 0 22px rgba(78, 168, 216, 0.07);
    transform: translateY(-4px);
  }
}

.pricing-card:hover .pricing-note,
.pricing-card:hover .pricing-features li,
.pricing-card:hover .pricing-roi {
  color: rgba(236, 236, 240, 0.92);
}

@media (prefers-reduced-motion: reduce) {
  .pricing-card {
    transition: none;
  }
  .pricing-card:hover {
    transform: none;
  }
}

.pricing-tier {
  font-size: 13px;
  color: var(--gold);
  font-weight: 700;
  letter-spacing: 1px;
  margin-bottom: 8px;
  text-shadow: var(--text-shadow-soft);
}

.pricing-price {
  font-size: 32px;
  font-weight: 800;
  margin-bottom: 4px;
  text-shadow: var(--text-shadow);
}

.pricing-price span {
  font-size: 14px;
  color: var(--muted);
  font-weight: 500;
}

.pricing-note {
  font-size: 13px;
  color: var(--muted);
  margin-bottom: 18px;
  min-height: 2.6em;
}

.pricing-features {
  list-style: none;
  flex: 1;
  margin-bottom: 20px;
}

.pricing-features li {
  font-size: 13px;
  color: rgba(245, 240, 230, 0.88);
  padding: 5px 0 5px 18px;
  position: relative;
  text-shadow: var(--text-shadow-soft);
}

.pricing-features li::before {
  content: "";
  position: absolute;
  left: 1px;
  top: 0.65em;
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: var(--gold);
}

.pricing-footnote {
  text-align: center;
  margin-top: 24px;
  font-size: 14px;
  color: var(--muted);
  text-shadow: var(--text-shadow-soft);
}

/* Legacy cards / hero (other pages) */
.hero {
  max-width: var(--max);
  margin: 0 auto;
  padding: 56px 24px 32px;
  text-align: center;
}

.hero h1 {
  font-size: clamp(28px, 5vw, 40px);
  line-height: 1.15;
  margin-bottom: 16px;
}

.hero p {
  color: var(--muted);
  font-size: 17px;
  max-width: 540px;
  margin: 0 auto 28px;
}

.cards {
  max-width: var(--max);
  margin: 0 auto;
  padding: 0 24px 56px;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 16px;
}

.card {
  border-radius: 14px;
  padding: 22px;
}

.card h2 {
  font-size: 17px;
  color: var(--gold);
  margin-bottom: 8px;
  text-shadow: var(--text-shadow-soft);
}

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

/* Legal pages */
main {
  max-width: 720px;
  margin: 0 auto;
  padding: 28px 20px 64px;
}

.legal-doc {
  border-radius: 20px;
  padding: 28px 22px;
  overflow-wrap: break-word;
  word-wrap: break-word;
}

.legal-doc h1 {
  font-size: 28px;
  margin-bottom: 8px;
}

.legal-meta {
  color: var(--muted);
  font-size: 14px;
  margin-bottom: 32px;
  padding-bottom: 24px;
  border-bottom: 1px solid var(--border);
}

.legal-doc h2 {
  font-size: 18px;
  margin: 28px 0 10px;
  color: var(--gold);
}

.legal-doc h3 {
  font-size: 15px;
  margin: 18px 0 8px;
  text-shadow: var(--text-shadow-soft);
}

.legal-doc p,
.legal-doc li {
  color: rgba(245, 240, 230, 0.92);
  font-size: 15px;
  margin-bottom: 12px;
  text-shadow: var(--text-shadow-soft);
}

.legal-doc ul,
.legal-doc ol {
  padding-left: 22px;
  margin-bottom: 16px;
}

.legal-doc li {
  margin-bottom: 8px;
}

.legal-doc strong {
  color: var(--text);
}

.toc {
  border-radius: 12px;
  padding: 18px 20px;
  margin-bottom: 32px;
}

.toc-title {
  font-size: 12px;
  letter-spacing: 1.5px;
  color: var(--muted);
  font-weight: 700;
  margin-bottom: 10px;
}

.toc ol {
  margin: 0;
  padding-left: 20px;
}

.toc a {
  font-size: 14px;
}

/* Footer */
.site-footer {
  border-top: 1px solid var(--border);
  padding: 48px 24px 32px;
  background: var(--glass-fill);
  backdrop-filter: var(--glass-blur);
  -webkit-backdrop-filter: var(--glass-blur);
}

.footer-inner {
  max-width: var(--max);
  margin: 0 auto;
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 32px;
}

.footer-brand p {
  color: var(--muted);
  font-size: 14px;
  margin-top: 12px;
  max-width: 280px;
  line-height: 1.6;
  text-shadow: var(--text-shadow-soft);
}

.footer-col h4 {
  font-size: 12px;
  letter-spacing: 2px;
  color: var(--gold);
  margin-bottom: 14px;
  font-weight: 700;
  text-shadow: var(--text-shadow-soft);
}

.footer-col ul {
  list-style: none;
}

.footer-col li {
  margin-bottom: 8px;
}

.footer-col a {
  color: var(--muted);
  font-size: 14px;
  text-decoration: none;
  text-shadow: var(--text-shadow-soft);
}

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

.footer-bottom {
  max-width: var(--max);
  margin: 32px auto 0;
  padding-top: 24px;
  border-top: 1px solid var(--border);
  text-align: center;
  color: var(--muted);
  font-size: 13px;
  text-shadow: var(--text-shadow-soft);
}

.footer-credit {
  max-width: var(--max);
  margin: 28px auto 0;
  padding: 20px 16px 4px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 14px;
  flex-wrap: wrap;
}

.footer-credit-label {
  color: var(--muted);
  font-size: 14px;
  letter-spacing: 0.3px;
  text-shadow: var(--text-shadow-soft);
  white-space: nowrap;
}

.footer-credit-brand {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  text-decoration: none;
  opacity: 0.96;
  transition: opacity 0.2s ease, transform 0.2s ease;
  padding: 6px 10px;
  border-radius: 10px;
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.1);
}

.footer-credit-brand:hover {
  opacity: 1;
  transform: translateY(-1px);
}

.footer-credit-logo {
  display: block;
  height: 52px;
  width: auto;
  max-width: min(280px, 72vw);
  object-fit: contain;
}

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

@media (max-width: 900px) {
  .features-grid,
  .pricing-grid {
    grid-template-columns: 1fr 1fr;
  }

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

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

  .footer-inner {
    grid-template-columns: 1fr 1fr;
  }
}

@media (max-width: 600px) {
  .glass-panel-hero {
    padding: 28px 20px 32px;
  }

  .features-grid,
  .pricing-grid,
  .stats-grid {
    grid-template-columns: 1fr;
  }

  .footer-inner {
    grid-template-columns: 1fr;
  }

  .footer-credit {
    flex-direction: column;
    gap: 12px;
    padding: 22px 12px 8px;
    margin-top: 24px;
  }

  .footer-credit-label {
    font-size: 13px;
  }

  .footer-credit-brand {
    width: min(100%, 320px);
    padding: 10px 14px;
  }

  .footer-credit-logo {
    height: 48px;
    max-width: min(300px, 88vw);
    margin: 0 auto;
  }

  .site-footer {
    padding-bottom: 28px;
  }
}

/* App showcase carousel */
.app-showcase-section {
  padding-top: 24px;
}

.app-showcase {
  max-width: var(--max);
  margin: 0 auto;
  padding: 28px 24px 32px;
}

.showcase-layout {
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(260px, 0.95fr);
  gap: 32px;
  align-items: center;
}

.showcase-stage {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 420px;
}

.showcase-track {
  position: relative;
  width: min(100%, 280px);
  aspect-ratio: 390 / 844;
}

.showcase-slide {
  position: absolute;
  inset: 0;
  opacity: 0;
  transform: translateX(12px) scale(0.96);
  transition: opacity 0.45s ease, transform 0.45s ease;
  pointer-events: none;
}

.showcase-slide.active {
  opacity: 1;
  transform: translateX(0) scale(1);
  pointer-events: auto;
}

.phone-shell {
  width: 100%;
  height: 100%;
  padding: 10px;
  border-radius: 36px;
  background: linear-gradient(145deg, #3a3632 0%, #1a1816 55%, #0d0c0b 100%);
  box-shadow:
    0 24px 60px rgba(0, 0, 0, 0.55),
    0 0 0 1px rgba(255, 255, 255, 0.08),
    inset 0 1px 0 rgba(255, 255, 255, 0.12);
}

.phone-bezel {
  position: relative;
  width: 100%;
  height: 100%;
  border-radius: 28px;
  overflow: hidden;
  background: #0a0a0a;
  border: 2px solid rgba(255, 255, 255, 0.06);
}

.phone-notch {
  position: absolute;
  top: 8px;
  left: 50%;
  transform: translateX(-50%);
  width: 34%;
  height: 22px;
  background: #0a0a0a;
  border-radius: 0 0 14px 14px;
  z-index: 2;
  box-shadow: 0 1px 0 rgba(255, 255, 255, 0.04);
}

.phone-bezel img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: top center;
}

.showcase-nav {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  z-index: 3;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  border: 1px solid var(--border-gold);
  background: rgba(255, 255, 255, 0.08);
  color: var(--gold);
  font-size: 26px;
  line-height: 1;
  cursor: pointer;
  backdrop-filter: blur(8px);
  transition: background 0.2s, transform 0.2s;
}

.showcase-nav:hover {
  background: rgba(232, 204, 114, 0.18);
}

.showcase-nav-prev {
  left: 0;
}

.showcase-nav-next {
  right: 0;
}

.showcase-caption h3 {
  font-size: clamp(22px, 3vw, 28px);
  margin: 10px 0 12px;
  line-height: 1.2;
}

.showcase-caption p {
  color: var(--muted);
  font-size: 16px;
  line-height: 1.65;
  margin-bottom: 18px;
}

.showcase-tag {
  display: inline-block;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  padding: 4px 10px;
  border-radius: 999px;
}

.showcase-tag.tag-pro {
  background: rgba(232, 204, 114, 0.18);
  color: var(--gold);
  border: 1px solid var(--border-gold);
}

.showcase-tag.tag-client {
  background: rgba(59, 130, 246, 0.15);
  color: #93c5fd;
  border: 1px solid rgba(147, 197, 253, 0.35);
}

.showcase-dots {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 20px;
}

.showcase-dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  border: 0;
  padding: 0;
  background: rgba(255, 255, 255, 0.22);
  cursor: pointer;
  transition: transform 0.2s, background 0.2s;
}

.showcase-dot.active {
  background: var(--gold);
  transform: scale(1.15);
}

.showcase-cta {
  display: inline-block;
}

.showcase-zoom-trigger {
  cursor: zoom-in;
  outline: none;
  transition: box-shadow 0.2s, transform 0.2s;
}

.showcase-zoom-trigger:hover {
  box-shadow: 0 0 0 2px rgba(232, 204, 114, 0.45);
}

.showcase-zoom-trigger:focus-visible {
  box-shadow: 0 0 0 3px rgba(232, 204, 114, 0.65);
}

.showcase-zoom-hint {
  font-size: 12px;
  color: rgba(245, 240, 232, 0.65);
  margin-top: 4px;
}

.showcase-zoom-hint kbd {
  display: inline-block;
  padding: 1px 6px;
  border-radius: 4px;
  border: 1px solid rgba(255, 255, 255, 0.18);
  background: rgba(0, 0, 0, 0.25);
  font-size: 11px;
  font-family: inherit;
}

body.showcase-lightbox-open {
  overflow: hidden;
}

.showcase-lightbox[hidden] {
  display: none !important;
}

.showcase-lightbox {
  position: fixed;
  inset: 0;
  z-index: 1000;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 16px;
}

.showcase-lightbox-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.72);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
}

.showcase-lightbox-panel {
  position: relative;
  z-index: 1;
  width: min(100%, 520px);
  max-height: calc(100vh - 32px);
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.showcase-lightbox-close {
  position: absolute;
  top: -6px;
  right: -6px;
  z-index: 3;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  border: 1px solid rgba(255, 255, 255, 0.2);
  background: rgba(255, 255, 255, 0.1);
  color: #fff;
  font-size: 26px;
  line-height: 1;
  cursor: pointer;
}

.showcase-lightbox-nav {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  z-index: 3;
  width: 44px;
  height: 56px;
  border: 1px solid rgba(255, 255, 255, 0.22);
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.08);
  color: #fff;
  font-size: 28px;
  line-height: 1;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
}

.showcase-lightbox-nav:hover {
  background: rgba(232, 204, 114, 0.28);
  border-color: rgba(232, 204, 114, 0.55);
}

.showcase-lightbox-prev {
  left: -54px;
}

.showcase-lightbox-next {
  right: -54px;
}

@media (max-width: 640px) {
  .showcase-lightbox-prev {
    left: 4px;
  }
  .showcase-lightbox-next {
    right: 4px;
  }
  .showcase-lightbox-nav {
    width: 38px;
    height: 48px;
    font-size: 24px;
  }
}

.showcase-lightbox-toolbar {
  display: flex;
  justify-content: center;
  gap: 8px;
}

.showcase-lightbox-toolbar button {
  min-width: 44px;
  height: 36px;
  padding: 0 12px;
  border-radius: 8px;
  border: 1px solid rgba(255, 255, 255, 0.18);
  background: rgba(255, 255, 255, 0.08);
  color: var(--gold);
  font-weight: 700;
  cursor: pointer;
}

.showcase-lightbox-stage {
  flex: 1;
  min-height: 0;
  max-height: calc(100vh - 140px);
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  border-radius: 16px;
  border: 1px solid rgba(255, 255, 255, 0.12);
  background: rgba(0, 0, 0, 0.45);
  touch-action: none;
}

.showcase-lightbox-stage.is-dragging {
  cursor: grabbing;
}

.showcase-lightbox-img {
  max-width: 100%;
  max-height: calc(100vh - 140px);
  width: auto;
  height: auto;
  object-fit: contain;
  transform-origin: center center;
  transition: transform 0.08s ease-out;
  user-select: none;
}

.showcase-lightbox-caption {
  text-align: center;
  font-size: 14px;
  color: var(--muted);
  text-shadow: var(--text-shadow-soft);
}

@media (max-width: 900px) {
  .showcase-layout {
    grid-template-columns: 1fr;
    gap: 24px;
  }

  .showcase-caption {
    text-align: center;
  }

  .showcase-dots {
    justify-content: center;
  }

  .showcase-stage {
    min-height: 360px;
  }

  .showcase-nav-prev {
    left: 4px;
  }

  .showcase-nav-next {
    right: 4px;
  }
}

@media (max-width: 600px) {
  .showcase-track {
    width: min(72vw, 260px);
  }

  .showcase-nav {
    width: 36px;
    height: 36px;
    font-size: 22px;
  }
}

/* ??? Home: story animada dos 3 gr?ficos Lucre mais ??? */
.lucre-story-section {
  padding-top: 8px;
}
.lucre-story-panel {
  max-width: 980px;
  margin: 0 auto;
  padding: 22px 18px 20px;
}
.lucre-story-steps {
  list-style: none;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 8px;
  margin: 0 0 14px;
  padding: 0;
}
.lucre-story-steps li {
  margin: 0;
  padding: 8px 8px 10px;
  border-radius: 10px;
  border: 1px solid rgba(255, 255, 255, 0.1);
  background: rgba(255, 255, 255, 0.03);
  font-size: 12px;
  font-weight: 700;
  color: var(--muted);
  text-align: center;
  line-height: 1.3;
  transition: border-color 0.3s ease, color 0.3s ease, background 0.3s ease, box-shadow 0.3s ease;
}
.lucre-story-steps li b {
  display: block;
  font-size: 10px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  margin-bottom: 2px;
  color: rgba(245, 240, 232, 0.55);
}
.lucre-story-steps li.is-active {
  color: var(--text);
  border-color: rgba(232, 204, 114, 0.45);
  background: rgba(232, 204, 114, 0.08);
  box-shadow: 0 0 18px rgba(78, 168, 216, 0.12);
}
.lucre-story-steps li.is-active b {
  color: var(--gold);
}
.lucre-story-status {
  min-height: 22px;
  margin: 0 0 10px;
  font-size: 14px;
  font-weight: 700;
  color: var(--gold);
  letter-spacing: 0.01em;
}
.lucre-story-legend {
  display: flex;
  flex-wrap: wrap;
  gap: 10px 14px;
  margin: 0 0 12px;
  font-size: 12px;
  color: var(--muted);
}
.lucre-story-legend span {
  display: inline-flex;
  align-items: center;
  gap: 6px;
}
.lucre-story-legend i {
  width: 13px;
  height: 13px;
  border-radius: 3px;
  display: inline-block;
}
.lucre-story-chart-wrap {
  position: relative;
  width: 100%;
  height: min(480px, 62vw);
  min-height: 300px;
  border-radius: 14px;
  border: 1px solid rgba(78, 168, 216, 0.16);
  background: var(--glass-inset);
  padding: 8px;
  transition: border-color 0.4s ease, box-shadow 0.4s ease;
}
.lucre-story-chart-wrap.is-phase-gaps {
  border-color: rgba(239, 68, 68, 0.35);
}
.lucre-story-chart-wrap.is-phase-fit {
  border-color: rgba(122, 158, 58, 0.45);
  box-shadow: 0 0 28px rgba(78, 168, 216, 0.12);
}
.lucre-story-chart-wrap.is-mobile {
  height: min(52vh, 440px);
  min-height: 280px;
  max-width: 400px;
  margin: 0 auto;
}
.lucre-story-chart-wrap canvas {
  width: 100% !important;
  height: 100% !important;
}
.lucre-story-chart-wrap[data-loading="1"] {
  position: relative;
}
.lucre-story-skel {
  position: absolute;
  inset: 12px;
  border-radius: 14px;
  background: linear-gradient(
    90deg,
    rgba(255, 255, 255, 0.05),
    rgba(255, 255, 255, 0.12),
    rgba(255, 255, 255, 0.05)
  );
  background-size: 200% 100%;
  animation: lucreSkel 1.25s ease-in-out infinite;
}
@keyframes lucreSkel {
  0% { background-position: 100% 0; }
  100% { background-position: -100% 0; }
}
.lucre-story-cta {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  align-items: center;
  margin-top: 14px;
}
.lucre-story-cta .hint {
  font-size: 12px;
  color: var(--muted);
}

@media (max-width: 768px) {
  .lucre-story-panel { padding: 18px 14px 16px; }
  .lucre-story-steps {
    gap: 6px;
  }
  .lucre-story-steps li {
    font-size: 11px;
    padding: 7px 4px 8px;
  }
  .lucre-story-chart-wrap {
    height: min(68vh, 560px);
    min-height: 420px;
  }
}

/* Acessibilidade: reduzir movimento sem remover conte?do */
@media (prefers-reduced-motion: reduce) {
  .btn,
  .btn:hover,
  .btn:active,
  .feature-card,
  .feature-card:hover,
  .showcase-nav,
  .site-nav a,
  .brand,
  .btn-primary::after {
    transition: none !important;
    transform: none !important;
  }
  .btn-primary::after {
    display: none !important;
  }
  .site-header {
    transition: none !important;
  }
  .lucre-story-skel,
  .emb-skel-row {
    animation: none !important;
    background: rgba(255, 255, 255, 0.08);
  }
  .reveal-on-scroll,
  .reveal-child {
    opacity: 1 !important;
    transform: none !important;
    filter: none !important;
    transition: none !important;
  }
}

/* Scroll reveal + aparição dos cards — fade + translação vertical sutil */
.reveal-on-scroll {
  opacity: 0;
  transform: translate3d(0, 18px, 0);
  transition:
    opacity 0.6s cubic-bezier(0.22, 1, 0.36, 1),
    transform 0.6s cubic-bezier(0.22, 1, 0.36, 1);
}
.reveal-on-scroll.is-revealed {
  opacity: 1;
  transform: none;
}
.reveal-child {
  opacity: 0;
  transform: translate3d(0, 14px, 0) scale(0.985);
  transition:
    opacity 0.55s cubic-bezier(0.22, 1, 0.36, 1),
    transform 0.55s cubic-bezier(0.22, 1, 0.36, 1);
  transition-delay: var(--reveal-delay, 0ms);
}
.reveal-child.is-revealed {
  opacity: 1;
  transform: none;
}

@media (hover: hover) and (pointer: fine) {
  .reveal-child.is-revealed:hover {
    transform: translateY(-4px);
    transition: transform 0.25s ease;
  }
}
