/* dividi – main.css | Mobile-first, conversion-optimized */

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

html {
  -webkit-text-size-adjust: 100%;
  -webkit-tap-highlight-color: transparent;
  scroll-behavior: smooth;
}

@supports (padding: max(0px)) {
  html {
    padding-left: env(safe-area-inset-left);
    padding-right: env(safe-area-inset-right);
  }
}

/* ── Design tokens ─────────────────────────────────────── */
:root {
  --primary: #6d28d9;
  --primary-light: #7c3aed;
  --secondary: #a855f7;
  --secondary-light: #c084fc;

  --bg: #f5f3f9;
  --surface: rgba(255, 255, 255, 0.78);
  --surface-strong: rgba(255, 255, 255, 0.94);
  --surface-solid: #ffffff;
  --surface-subtle: #efedf4;
  --surface-dark: #15111d;
  --surface-dark-soft: #1c1726;

  --border: rgba(42, 23, 84, 0.08);
  --border-strong: rgba(42, 23, 84, 0.14);
  --border-accent: rgba(109, 40, 217, 0.14);

  --text: #181321;
  --text-muted: #554e63;
  --text-soft: #5a5168;
  --text-on-dark: #ffffff;
  --text-on-dark-muted: rgba(255, 255, 255, 0.78);
  --text-on-dark-soft: rgba(255, 255, 255, 0.58);

  --shadow-xs: 0 1px 2px rgba(15, 11, 24, 0.04);
  --shadow-sm: 0 8px 24px rgba(21, 17, 29, 0.06);
  --shadow-md: 0 18px 40px rgba(21, 17, 29, 0.08);
  --shadow-lg: 0 28px 72px rgba(21, 17, 29, 0.12);
  --shadow-xl: 0 36px 96px rgba(21, 17, 29, 0.16);

  --radius-xs: 12px;
  --radius-sm: 16px;
  --radius-md: 20px;
  --radius-lg: 28px;
  --radius-xl: 36px;
  --radius-pill: 999px;

  --max-width: 1200px;
  --section-px: clamp(1rem, 4vw, 2rem);
  --section-py: clamp(3.5rem, 8vw, 6rem);
  --header-height: 72px;
  --nav-inline-gap: 1.5rem;

  --ease-out: cubic-bezier(0.16, 1, 0.3, 1);
  --ease-in-out: cubic-bezier(0.87, 0, 0.13, 1);
  --duration-fast: 160ms;
  --duration-base: 240ms;
  --duration-slow: 400ms;

  --font-display: 'DM Sans', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  --font-body: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;

  --glass-highlight: inset 0 1px 0 0 rgba(255, 255, 255, 0.65);
}

/* ── Base ──────────────────────────────────────────────── */
body {
  font-family: var(--font-body);
  color: var(--text);
  line-height: 1.6;
  background-color: var(--bg);
  background-image:
    radial-gradient(circle at top center, rgba(124, 58, 237, 0.08), transparent 32%),
    linear-gradient(180deg, #faf9fc 0%, #f5f3f9 100%);
  min-height: 100vh;
}

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

a,
button {
  -webkit-tap-highlight-color: transparent;
}

@supports (content-visibility: auto) {
  .features-section,
  .showcase-section,
  .social-proof-section,
  .faq-section,
  .cta-section,
  .site-footer {
    content-visibility: auto;
  }

  .features-section {
    contain-intrinsic-size: auto 720px;
  }

  .showcase-section {
    contain-intrinsic-size: auto 2800px;
  }

  .social-proof-section {
    contain-intrinsic-size: auto 1200px;
  }

  .faq-section {
    contain-intrinsic-size: auto 920px;
  }

  .cta-section {
    contain-intrinsic-size: auto 480px;
  }

  .site-footer {
    contain-intrinsic-size: auto 560px;
  }
}

/* ── Skip link ─────────────────────────────────────────── */
.skip-link {
  position: absolute;
  left: -9999px;
  top: 0;
  z-index: 9999;
  padding: 0.75rem 1.25rem;
  background: var(--primary);
  color: white;
  border-radius: 0 0 var(--radius-xs) 0;
  font-weight: 700;
  text-decoration: none;
}
.skip-link:focus { left: 0; }

.site-toast {
  position: fixed;
  left: 50%;
  top: calc(env(safe-area-inset-top, 0px) + var(--header-height, 72px) + 0.5rem);
  bottom: auto;
  z-index: 10050;
  width: min(24rem, calc(100vw - 2 * var(--section-px)));
  max-width: calc(100vw - 2 * var(--section-px));
  padding: 0.82rem 1.1rem 0.85rem 1.05rem;
  border-radius: var(--radius-lg);
  background: var(--surface-strong);
  color: var(--text);
  font-size: 0.9rem;
  line-height: 1.5;
  text-align: center;
  border: 1px solid var(--border);
  border-left: 3px solid var(--primary);
  box-shadow:
    var(--glass-highlight),
    var(--shadow-md);
  backdrop-filter: blur(18px);
  -webkit-backdrop-filter: blur(18px);
  transform: translate3d(-50%, calc(-100% - 1.25rem), 0);
  opacity: 0;
  transition:
    transform var(--duration-base) var(--ease-out),
    opacity var(--duration-base) ease;
  -webkit-tap-highlight-color: transparent;
}

.site-toast.site-toast--dividi {
  display: flex;
  flex-direction: column;
  align-items: stretch;
  gap: 0;
  padding: 1rem 1.15rem 1.05rem;
  background:
    linear-gradient(155deg, rgba(250, 245, 255, 0.97) 0%, rgba(255, 255, 255, 0.98) 48%, rgba(253, 242, 248, 0.95) 100%);
  border: 1px solid rgba(109, 40, 217, 0.14);
  border-left: 4px solid var(--primary);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.9),
    0 4px 0 rgba(109, 40, 217, 0.06),
    0 16px 40px rgba(109, 40, 217, 0.12);
}

.site-toast.site-toast--visible {
  transform: translate3d(-50%, 0, 0);
  opacity: 1;
}

.site-toast__inner {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.4rem;
  text-align: center;
}

.site-toast--dividi .site-toast__inner {
  align-self: center;
  width: 100%;
}

.site-toast__line {
  margin: 0;
  max-width: 100%;
  font-weight: 600;
  letter-spacing: -0.01em;
  text-wrap: balance;
}

.site-toast--dividi .site-toast__line {
  font-family: var(--font-display);
  font-size: 0.95rem;
  color: var(--text);
}

.site-toast__line--muted {
  font-weight: 400;
  font-size: 0.875rem;
  color: var(--text-muted);
  letter-spacing: 0;
}

.site-toast--dividi .site-toast__line--muted {
  font-family: var(--font-body);
}

.site-toast__actions {
  margin-top: 0.85rem;
  padding-top: 0.75rem;
  border-top: 1px solid rgba(109, 40, 217, 0.1);
  display: flex;
  justify-content: center;
  width: 100%;
}

.site-toast__ok {
  min-height: 44px;
  min-width: 5.5rem;
  padding-left: 1.5rem;
  padding-right: 1.5rem;
}

@media (prefers-reduced-motion: reduce) {
  .site-toast {
    transition-duration: 0.01ms;
  }
}

a:focus-visible,
button:focus-visible,
.btn:focus-visible,
.nav-download-btn:focus-visible {
  outline: 2px solid var(--primary);
  outline-offset: 3px;
  border-radius: 10px;
}

/* ── Page wrapper ──────────────────────────────────────── */
.page-wrapper {
  position: relative;
  overflow: clip;
}

@media (min-width: 1024px) {
  .page-wrapper::before,
  .page-wrapper::after {
    content: '';
    position: fixed;
    border-radius: 50%;
    filter: blur(100px);
    pointer-events: none;
    z-index: -1;
    will-change: transform;
  }
  .page-wrapper::before {
    width: 420px;
    height: 420px;
    top: -160px;
    left: -180px;
    background: radial-gradient(circle, rgba(124, 58, 237, 0.08), transparent 80%);
    animation: floatOrb 22s infinite alternate var(--ease-in-out);
  }
  .page-wrapper::after {
    width: 520px;
    height: 520px;
    top: 10%;
    right: -220px;
    background: radial-gradient(circle, rgba(168, 85, 247, 0.08), transparent 80%);
    animation: floatOrb2 26s infinite alternate-reverse var(--ease-in-out);
  }
  @keyframes floatOrb {
    0% { transform: translate(0, 0) scale(1); }
    100% { transform: translate(80px, 120px) scale(1.08); }
  }
  @keyframes floatOrb2 {
    0% { transform: translate(0, 0) scale(1); }
    100% { transform: translate(-100px, 60px) scale(1.04); }
  }
}

/* ═══════════════════════════════════════════════════════
   HEADER
   ═══════════════════════════════════════════════════════ */
.site-header {
  position: sticky;
  top: 0;
  z-index: 1000;
  padding: max(0.75rem, env(safe-area-inset-top)) var(--section-px) 0.75rem;
  background: rgba(245, 243, 249, 0.82);
  border-bottom: 1px solid rgba(24, 19, 33, 0.06);
  backdrop-filter: blur(20px) saturate(150%);
  -webkit-backdrop-filter: blur(20px) saturate(150%);
  box-shadow: 0 1px 0 rgba(255, 255, 255, 0.5);
  transition:
    background var(--duration-base) var(--ease-out),
    border-color var(--duration-base) var(--ease-out),
    box-shadow var(--duration-base) var(--ease-out);
}
.site-header.scrolled {
  background: rgba(245, 243, 249, 0.94);
  border-bottom-color: rgba(24, 19, 33, 0.08);
  box-shadow:
    inset 0 -1px 0 rgba(255, 255, 255, 0.72),
    0 12px 32px rgba(21, 17, 29, 0.06);
}

.site-nav {
  max-width: var(--max-width);
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}

.logo-brand {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  text-decoration: none;
  color: inherit;
  transition: opacity var(--duration-fast) ease;
}
.logo-brand:hover { opacity: 0.8; }
.logo-brand img,
.logo-brand picture { border-radius: 8px; }

.logo-text {
  font-family: var(--font-display);
  font-size: 1.45rem;
  font-weight: 700;
  color: #271a46;
  letter-spacing: -0.02em;
}

.nav-right {
  display: flex;
  align-items: center;
  gap: var(--nav-inline-gap);
}

.nav-links {
  display: none;
  align-items: center;
  list-style: none;
  gap: var(--nav-inline-gap);
}
.nav-links a {
  text-decoration: none;
  color: var(--text-muted);
  font-size: 0.88rem;
  font-weight: 500;
  letter-spacing: -0.01em;
  transition: color var(--duration-fast) ease;
}
.nav-links a:hover { color: var(--primary); }

/* Language switcher */
.lang-switcher {
  display: inline-flex;
  align-items: center;
  flex-shrink: 0;
  gap: 2px;
  padding: 3px;
  border-radius: var(--radius-pill);
  border: 1px solid var(--border);
  background: rgba(255, 255, 255, 0.72);
  box-shadow: var(--shadow-xs);
}

.lang-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: none;
  background: transparent;
  color: var(--text-soft);
  border-radius: var(--radius-pill);
  padding: 0.35rem 0.65rem;
  min-width: 44px;
  min-height: 44px;
  cursor: pointer;
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  line-height: 1;
  transition:
    background var(--duration-fast) ease,
    color var(--duration-fast) ease,
    box-shadow var(--duration-fast) ease;
}
.lang-btn.active {
  color: var(--primary);
  background: #ffffff;
  box-shadow: 0 4px 10px rgba(21, 17, 29, 0.08);
}

.nav-download-btn {
  display: none;
}

/* Mobile menu toggle */
.mobile-menu-toggle {
  display: flex;
  position: relative;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  border: none;
  background: transparent;
  color: var(--text);
  cursor: pointer;
  padding: 0;
  border-radius: var(--radius-xs);
  transition: background var(--duration-fast) ease;
}
.mobile-menu-toggle:hover { background: rgba(109, 40, 217, 0.06); }
.mobile-menu-toggle svg {
  position: absolute;
  width: 22px;
  height: 22px;
  transition:
    opacity var(--duration-fast) ease,
    transform var(--duration-base) var(--ease-out);
}
.mobile-menu-toggle .menu-icon-open { opacity: 1; transform: rotate(0deg) scale(1); }
.mobile-menu-toggle .menu-icon-close { opacity: 0; transform: rotate(-45deg) scale(0.7); }
.mobile-menu-toggle.active .menu-icon-open { opacity: 0; transform: rotate(45deg) scale(0.7); }
.mobile-menu-toggle.active .menu-icon-close { opacity: 1; transform: rotate(0deg) scale(1); }

/* Mobile menu drawer */
.mobile-menu {
  position: absolute;
  top: 100%;
  left: 0;
  right: 0;
  z-index: 999;
  display: flex;
  flex-direction: column;
  gap: 0.4rem;
  padding: 0.65rem 1.5rem 1.1rem;
  border-top: 1px solid var(--border);
  background: rgba(245, 243, 249, 0.98);
  backdrop-filter: blur(18px) saturate(140%);
  -webkit-backdrop-filter: blur(18px) saturate(140%);
  box-shadow: 0 20px 48px rgba(21, 17, 29, 0.08);
  opacity: 0;
  transform: translateY(-8px);
  pointer-events: none;
  transition:
    opacity 220ms ease,
    transform 260ms var(--ease-out);
}
.mobile-menu.open {
  opacity: 1;
  transform: translateY(0);
  pointer-events: auto;
}

.mobile-menu-links {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 0.15rem;
}
.mobile-menu-links a,
.mobile-menu-cta {
  opacity: 0;
  transform: translateX(-8px);
  transition:
    opacity 200ms ease,
    transform 200ms ease,
    background 140ms ease,
    color 140ms ease;
}
.mobile-menu.open .mobile-menu-links li:nth-child(1) a { opacity: 1; transform: none; transition-delay: 0.04s; }
.mobile-menu.open .mobile-menu-links li:nth-child(2) a { opacity: 1; transform: none; transition-delay: 0.08s; }
.mobile-menu.open .mobile-menu-links li:nth-child(3) a { opacity: 1; transform: none; transition-delay: 0.12s; }
.mobile-menu.open .mobile-menu-links li:nth-child(4) a { opacity: 1; transform: none; transition-delay: 0.16s; }
.mobile-menu.open .mobile-menu-links li:nth-child(5) a { opacity: 1; transform: none; transition-delay: 0.20s; }
.mobile-menu.open .mobile-menu-cta { opacity: 1; transform: none; transition-delay: 0.24s; }

.mobile-menu-links a {
  display: block;
  padding: 0.7rem 0.5rem;
  text-decoration: none;
  color: var(--text-muted);
  font-size: 0.97rem;
  font-weight: 600;
  border-radius: var(--radius-xs);
}
.mobile-menu-links a:hover { background: rgba(109, 40, 217, 0.05); color: var(--primary); }

.mobile-menu-cta {
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 0.85rem 1.2rem;
  border-radius: var(--radius-pill);
  background: var(--primary);
  color: white;
  text-decoration: none;
  font-weight: 600;
  font-size: 0.97rem;
  box-shadow: 0 10px 24px rgba(109, 40, 217, 0.2);
  margin-top: 0.2rem;
}

/* ═══════════════════════════════════════════════════════
   LAYOUT
   ═══════════════════════════════════════════════════════ */
main section {
  padding: 0 var(--section-px);
}

#features,
#showcase,
#social-proof,
#faq,
#download {
  scroll-margin-top: calc(var(--header-height) + 16px);
}

.hero-shell,
.features-grid,
.showcase-container,
.faq-grid,
.cta-shell,
.footer-inner,
.footer-bottom {
  max-width: var(--max-width);
  margin: 0 auto;
}

.section-heading {
  max-width: 680px;
  margin: 0 auto 2.5rem;
  text-align: center;
}

.section-eyebrow {
  display: inline-flex;
  width: max-content;
  max-width: 100%;
  align-items: center;
  gap: 0.5rem;
  padding: 0.42rem 0.9rem;
  border-radius: var(--radius-pill);
  background: rgba(109, 40, 217, 0.08);
  border: 1px solid rgba(109, 40, 217, 0.12);
  color: var(--primary);
  font-size: 0.76rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  margin-bottom: 0.9rem;
}

.section-title {
  font-family: var(--font-display);
  font-size: clamp(1.65rem, 4vw, 2.5rem);
  font-weight: 700;
  line-height: 1.05;
  letter-spacing: -0.03em;
  color: #1f172f;
  margin-bottom: 0.8rem;
  text-wrap: balance;
}

.section-subtitle {
  font-size: 1rem;
  line-height: 1.65;
  color: var(--text-muted);
}

/* ═══════════════════════════════════════════════════════
   BUTTONS
   ═══════════════════════════════════════════════════════ */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.55rem;
  min-height: 50px;
  padding: 0.82rem 1.35rem;
  border-radius: var(--radius-pill);
  text-decoration: none;
  font-weight: 600;
  font-size: 0.97rem;
  letter-spacing: -0.01em;
  border: 1px solid transparent;
  transition:
    transform var(--duration-fast) var(--ease-out),
    box-shadow var(--duration-fast) var(--ease-out),
    background var(--duration-fast) ease,
    border-color var(--duration-fast) ease;
  will-change: transform;
}
.btn .icon { width: 20px; height: 20px; flex-shrink: 0; }

.btn-primary {
  background: var(--primary);
  color: white;
  box-shadow: 0 10px 24px rgba(109, 40, 217, 0.22);
}
.btn-primary:hover {
  transform: translateY(-1px);
  box-shadow: 0 14px 28px rgba(109, 40, 217, 0.26);
}
.btn-primary:active {
  transform: translateY(0);
  box-shadow: 0 8px 16px rgba(109, 40, 217, 0.18);
}

.btn-secondary {
  background: rgba(255, 255, 255, 0.72);
  color: var(--text);
  border-color: rgba(24, 19, 33, 0.12);
  box-shadow: none;
}
.btn-secondary:hover {
  transform: translateY(-1px);
  background: rgba(255, 255, 255, 0.88);
  border-color: rgba(24, 19, 33, 0.18);
}
.btn-secondary:active { transform: translateY(0); }

.btn-store-light {
  background: white;
  color: #1e0d3a;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1), 0 12px 32px rgba(0, 0, 0, 0.12);
}
.btn-store-light:hover {
  transform: translateY(-2px) scale(1.02);
  box-shadow: 0 6px 16px rgba(0, 0, 0, 0.18), 0 20px 40px rgba(0, 0, 0, 0.16);
}
.btn-store-light:active {
  transform: translateY(1px) scale(0.96);
}

.btn-store-light-secondary {
  background: rgba(255, 255, 255, 0.15);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  color: white;
  border-color: rgba(255, 255, 255, 0.3);
}
.btn-store-light-secondary:hover {
  background: rgba(255, 255, 255, 0.25);
  transform: translateY(-2px) scale(1.02);
}
.btn-store-light-secondary:active { transform: translateY(1px) scale(0.96); }

/* ═══════════════════════════════════════════════════════
   HERO
   ═══════════════════════════════════════════════════════ */
.hero-section {
  padding-top: 1rem;
  padding-bottom: 0;
  background:
    radial-gradient(circle at 75% 20%, rgba(124, 58, 237, 0.18), transparent 18%),
    linear-gradient(180deg, #181222 0%, #15111d 100%);
  color: var(--text-on-dark);
}

.hero-shell {
  display: flex;
  flex-direction: column;
  gap: 2rem;
  padding: 2rem 0 3.5rem;
}

.hero-copy {
  text-align: center;
}

.hero-eyebrow {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 0.45rem 0.95rem;
  border-radius: var(--radius-pill);
  background: rgba(255, 255, 255, 0.12);
  border: 1px solid rgba(255, 255, 255, 0.22);
  color: #ffffff;
  font-size: 0.8125rem;
  font-weight: 600;
  letter-spacing: 0.04em;
  margin-bottom: 0.9rem;
}

.hero-copy h1 {
  font-family: var(--font-display);
  font-size: clamp(2.4rem, 9vw, 4.2rem);
  font-weight: 700;
  line-height: 0.94;
  letter-spacing: -0.04em;
  color: var(--text-on-dark);
  margin: 0 auto 1rem;
  max-width: 13ch;
}

.hero-title-highlight {
  color: #d5b8ff;
}

.hero-subtitle {
  font-size: 1rem;
  line-height: 1.6;
  color: var(--text-on-dark-muted);
  margin: 0 auto 1.4rem;
  max-width: 46ch;
}

.hero-ctas {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.85rem;
  max-width: 360px;
  margin: 0 auto;
}

.hero-visual {
  display: flex;
  justify-content: center;
}

.hero-device-stage {
  position: relative;
  width: min(100%, 280px);
  max-width: 320px;
  display: flex;
  justify-content: center;
  isolation: isolate;
}

.hero-device-glow {
  display: block;
  position: absolute;
  inset: auto 8% 8% 8%;
  height: 30%;
  border-radius: 50%;
  background: radial-gradient(ellipse at center, rgba(124, 58, 237, 0.6) 0%, rgba(168, 85, 247, 0.4) 35%, transparent 70%);
  filter: blur(50px);
  z-index: 0;
  transform: scaleY(0.5);
}

.hero-image-card-device {
  position: relative;
  z-index: 1;
  width: 100%;
  max-width: 100%;
  filter:
    drop-shadow(0 4px 12px rgba(0, 0, 0, 0.25))
    drop-shadow(0 20px 50px rgba(0, 0, 0, 0.3))
    drop-shadow(0 50px 100px rgba(0, 0, 0, 0.25))
    drop-shadow(0 0 80px rgba(124, 58, 237, 0.15));
  transition: transform 400ms var(--ease-out);
}

.hero-image-card-device:hover {
  transform: translateY(-4px) scale(1.01);
}

.hero-image-card-device-inner {
  overflow: hidden;
  border-radius: 36px;
  box-shadow:
    inset 0 2px 4px rgba(255, 255, 255, 0.1),
    inset 0 -2px 4px rgba(0, 0, 0, 0.1);
  background: transparent;
}

.hero-image-card-device-inner picture {
  display: block;
  line-height: 0;
}

.hero-image-card-device img {
  display: block;
  width: 100%;
  height: auto;
  max-width: 100%;
  border-radius: 0;
}

.hero-download-btn {
  width: auto;
  max-width: 240px;
}

.hero-secondary-btn {
  min-width: 220px;
  background: rgba(255, 255, 255, 0.04);
  border-color: rgba(255, 255, 255, 0.18);
  color: var(--text-on-dark);
}

.hero-secondary-btn:hover {
  background: rgba(255, 255, 255, 0.08);
  border-color: rgba(255, 255, 255, 0.24);
}

/* ═══════════════════════════════════════════════════════
   FEATURES
   ═══════════════════════════════════════════════════════ */
.features-section {
  padding-top: var(--section-py);
  padding-bottom: var(--section-py);
  background: var(--bg);
}

.features-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1rem;
}

.feature-card {
  padding: 1.65rem 1.5rem 1.55rem;
  background: var(--surface-solid);
  border: 1px solid rgba(24, 19, 33, 0.07);
  border-radius: 24px;
  box-shadow:
    0 1px 3px rgba(0, 0, 0, 0.035),
    0 10px 28px rgba(21, 17, 29, 0.06),
    inset 0 1px 0 0 rgba(255, 255, 255, 0.85);
  position: relative;
  overflow: hidden;
  isolation: isolate;
  transition:
    transform var(--duration-base) var(--ease-out),
    box-shadow var(--duration-base) var(--ease-out),
    border-color var(--duration-fast) ease;
}
.feature-card::before {
  content: '';
  position: absolute;
  inset: 0;
  pointer-events: none;
  border-radius: inherit;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.85) 0%, transparent 55%);
  z-index: -1;
}
.feature-card::after {
  content: '';
  position: absolute;
  top: 0;
  left: 1.5rem;
  right: 1.5rem;
  height: 2px;
  background: linear-gradient(90deg, rgba(109, 40, 217, 0.55), rgba(168, 85, 247, 0.35) 60%, transparent);
  border-radius: 2px;
  opacity: 0;
  transform: scaleX(0.6);
  transform-origin: left center;
  transition:
    opacity var(--duration-base) var(--ease-out),
    transform var(--duration-base) var(--ease-out);
}
.feature-card:hover {
  transform: translateY(-3px);
  box-shadow:
    0 4px 10px rgba(0, 0, 0, 0.04),
    0 18px 38px rgba(109, 40, 217, 0.1),
    inset 0 1px 0 0 rgba(255, 255, 255, 0.9);
  border-color: rgba(109, 40, 217, 0.2);
}
.feature-card:hover::after {
  opacity: 1;
  transform: scaleX(1);
}

.feature-card h3 {
  font-family: var(--font-display);
  font-size: 1.14rem;
  font-weight: 700;
  color: var(--text);
  letter-spacing: -0.015em;
  margin-bottom: 0.45rem;
}
.feature-card p {
  color: var(--text-muted);
  font-size: 0.95rem;
  line-height: 1.62;
  max-width: 40ch;
}

/* CTA contextual ao fim da seção features */
.features-cta {
  display: flex;
  justify-content: center;
  margin-top: 2.25rem;
}

.features-cta-link {
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
  padding: 0.7rem 1.1rem;
  border-radius: var(--radius-pill);
  background: rgba(109, 40, 217, 0.06);
  border: 1px solid rgba(109, 40, 217, 0.16);
  color: var(--primary);
  font-size: 0.92rem;
  font-weight: 600;
  text-decoration: none;
  letter-spacing: -0.005em;
  transition:
    background var(--duration-fast) ease,
    border-color var(--duration-fast) ease,
    transform var(--duration-base) var(--ease-out);
}

.features-cta-link svg {
  flex-shrink: 0;
  transition: transform var(--duration-base) var(--ease-out);
}

.features-cta-link:hover {
  background: rgba(109, 40, 217, 0.1);
  border-color: rgba(109, 40, 217, 0.28);
}

.features-cta-link:hover svg {
  transform: translateX(3px);
}

.features-cta-link:focus-visible {
  outline: 2px solid var(--primary);
  outline-offset: 3px;
}

/* ═══════════════════════════════════════════════════════
   SHOWCASE
   ═══════════════════════════════════════════════════════ */
.showcase-section {
  padding-top: var(--section-py);
  padding-bottom: var(--section-py);
  background:
    radial-gradient(circle at top center, rgba(124, 58, 237, 0.12), transparent 24%),
    linear-gradient(180deg, #17121f 0%, #120f19 100%);
  color: var(--text-on-dark);
}

.showcase-section .section-eyebrow {
  background: rgba(255, 255, 255, 0.08);
  border-color: rgba(255, 255, 255, 0.12);
  color: rgba(255, 255, 255, 0.82);
}

.showcase-section .section-title {
  color: var(--text-on-dark);
}

.showcase-section .section-subtitle {
  color: var(--text-on-dark-muted);
}

/* Modernized product proofs for home features/showcase */
.features-section .features-grid {
  max-width: var(--max-width);
  margin: 0 auto;
  grid-template-columns: 1fr;
  gap: 1rem;
}

.features-section .feature-card {
  display: flex;
  flex-direction: column;
  min-width: 0;
  gap: 1.05rem;
  padding: 1rem;
  border-radius: 24px;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.98), rgba(255, 255, 255, 0.9)),
    radial-gradient(circle at top right, rgba(192, 132, 252, 0.14), transparent 34%);
  border: 1px solid rgba(42, 23, 84, 0.08);
  box-shadow:
    0 14px 38px rgba(21, 17, 29, 0.07),
    inset 0 1px 0 rgba(255, 255, 255, 0.9);
}

.features-section .feature-card::before {
  background: radial-gradient(circle at top left, rgba(109, 40, 217, 0.08), transparent 38%);
}

.features-section .feature-card::after {
  left: 1rem;
  right: 1rem;
  opacity: 0.68;
  transform: none;
}

.features-section .feature-card:hover::after {
  transform: none;
}

.features-section .feature-card h3 {
  margin: 0;
  color: var(--text);
  font-size: 1.08rem;
  line-height: 1.24;
  letter-spacing: 0;
}

.features-section .feature-card p {
  margin: 0;
  max-width: none;
  color: var(--text-muted);
  font-size: 0.93rem;
  line-height: 1.6;
}

.features-section .feature-proof {
  min-width: 0;
  width: 100%;
}

.features-section .feature-proof__screen {
  display: flex;
  flex-direction: column;
  gap: 0.72rem;
  min-height: 172px;
  padding: 0.9rem;
  border-radius: 20px;
  background:
    radial-gradient(circle at top right, rgba(236, 72, 153, 0.1), transparent 34%),
    linear-gradient(145deg, rgba(250, 245, 255, 0.92), rgba(255, 255, 255, 0.98));
  border: 1px solid rgba(109, 40, 217, 0.1);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.9),
    0 8px 24px rgba(109, 40, 217, 0.08);
}

.features-section .feature-card--month .feature-proof__screen {
  background:
    radial-gradient(circle at top right, rgba(16, 185, 129, 0.09), transparent 34%),
    linear-gradient(145deg, rgba(255, 255, 255, 0.98), rgba(250, 245, 255, 0.9));
}

.features-section .feature-card--plan .feature-proof__screen {
  background:
    radial-gradient(circle at top right, rgba(245, 158, 11, 0.11), transparent 34%),
    linear-gradient(145deg, rgba(255, 255, 255, 0.98), rgba(250, 245, 255, 0.88));
}

.features-section .feature-card--routine .feature-proof__screen {
  background:
    radial-gradient(circle at top right, rgba(236, 72, 153, 0.11), transparent 34%),
    linear-gradient(145deg, rgba(255, 255, 255, 0.98), rgba(250, 245, 255, 0.9));
}

.features-section .feature-proof__row,
.features-section .feature-proof__amount-row,
.features-section .feature-proof__budget-line {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.6rem;
  min-width: 0;
}

.features-section .feature-proof__row--top {
  color: var(--text-soft);
  font-size: 0.72rem;
  font-weight: 700;
}

.features-section .feature-proof__amount-row span,
.features-section .feature-proof__budget-line span {
  color: var(--text-muted);
  font-size: 0.78rem;
  font-weight: 700;
}

.features-section .feature-proof__amount-row strong,
.features-section .feature-proof__budget-line strong,
.features-section .feature-proof__total {
  color: var(--text);
  font-family: var(--font-display);
  font-size: 1.25rem;
  font-weight: 800;
  line-height: 1.12;
  letter-spacing: 0;
  font-variant-numeric: tabular-nums;
}

.features-section .feature-proof__total {
  display: block;
  font-size: 1.45rem;
}

.features-section .feature-proof__chip,
.features-section .feature-proof__chips span {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  max-width: 100%;
  padding: 0.28rem 0.62rem;
  border-radius: var(--radius-pill);
  background: rgba(109, 40, 217, 0.08);
  color: var(--primary);
  border: 1px solid rgba(109, 40, 217, 0.12);
  font-size: 0.68rem;
  font-weight: 800;
  line-height: 1.2;
  white-space: normal;
}

.features-section .feature-proof__chip--paid,
.features-section .feature-proof__chip--healthy {
  background: rgba(16, 185, 129, 0.1);
  color: #047857;
  border-color: rgba(16, 185, 129, 0.18);
}

.features-section .feature-proof__chip--pending {
  background: rgba(245, 158, 11, 0.12);
  color: #b45309;
  border-color: rgba(245, 158, 11, 0.2);
}

.features-section .feature-proof__chips,
.features-section .feature-proof__people {
  display: flex;
  flex-wrap: wrap;
  gap: 0.45rem;
}

.features-section .feature-proof__people span,
.features-section .feature-proof__task-list span {
  display: flex;
  justify-content: space-between;
  gap: 0.7rem;
  min-width: 0;
  padding: 0.58rem 0.68rem;
  border-radius: 14px;
  background: rgba(255, 255, 255, 0.78);
  border: 1px solid rgba(42, 23, 84, 0.07);
}

.features-section .feature-proof__people span {
  flex: 1 1 7rem;
  flex-direction: column;
  gap: 0.1rem;
}

.features-section .feature-proof__people strong,
.features-section .feature-proof__task-list strong {
  min-width: 0;
  color: var(--text);
  font-size: 0.8rem;
  font-weight: 800;
  overflow-wrap: anywhere;
}

.features-section .feature-proof__people em,
.features-section .feature-proof__task-list em {
  color: var(--text-soft);
  font-size: 0.7rem;
  font-style: normal;
  font-weight: 700;
  overflow-wrap: anywhere;
}

.features-section .feature-proof__transfer,
.features-section .feature-proof__goal,
.features-section .feature-proof__note {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.6rem;
  min-width: 0;
  padding: 0.62rem 0.72rem;
  border-radius: 14px;
  background: rgba(109, 40, 217, 0.08);
  border: 1px solid rgba(109, 40, 217, 0.12);
}

.features-section .feature-proof__transfer span,
.features-section .feature-proof__goal span {
  color: var(--primary);
  font-size: 0.68rem;
  font-weight: 800;
}

.features-section .feature-proof__transfer strong,
.features-section .feature-proof__goal strong {
  color: var(--text);
  font-size: 0.78rem;
  font-weight: 800;
  text-align: right;
  overflow-wrap: anywhere;
}

.features-section .feature-proof__mini-bars,
.features-section .feature-proof__task-list {
  display: flex;
  flex-direction: column;
  gap: 0.45rem;
}

.features-section .feature-proof__mini-bars span {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: center;
  gap: 0.62rem;
}

.features-section .feature-proof__mini-bars i,
.features-section .feature-proof__progress,
.showcase-section .product-bars i {
  position: relative;
  display: block;
  height: 0.5rem;
  border-radius: var(--radius-pill);
  background: rgba(109, 40, 217, 0.09);
  overflow: hidden;
}

.features-section .feature-proof__mini-bars i::before,
.features-section .feature-proof__progress i,
.showcase-section .product-bars i::before {
  content: '';
  display: block;
  width: var(--bar-value, 50%);
  height: 100%;
  border-radius: inherit;
  background: linear-gradient(90deg, var(--primary), var(--secondary-light));
}

.features-section .feature-proof__progress i {
  background: linear-gradient(90deg, #f59e0b, #10b981);
}

.features-section .feature-proof__mini-bars em {
  color: var(--text-soft);
  font-size: 0.68rem;
  font-style: normal;
  font-weight: 700;
  white-space: nowrap;
}

.features-section .feature-proof__note {
  justify-content: center;
  color: #b45309;
  background: rgba(245, 158, 11, 0.12);
  border-color: rgba(245, 158, 11, 0.18);
  font-size: 0.72rem;
  font-weight: 800;
  text-align: center;
}

.features-section .feature-proof__note--divi {
  color: var(--primary);
  background: rgba(109, 40, 217, 0.08);
  border-color: rgba(109, 40, 217, 0.12);
}

.showcase-section .showcase-product-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1rem;
  width: min(100%, var(--max-width));
  margin: 0 auto;
}

.showcase-section .showcase-product {
  display: flex;
  flex-direction: column;
  min-width: 0;
  gap: 1.1rem;
  padding: 1.05rem;
  border-radius: 28px;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.98), rgba(255, 255, 255, 0.92)),
    radial-gradient(circle at top right, rgba(192, 132, 252, 0.12), transparent 36%);
  border: 1px solid rgba(255, 255, 255, 0.86);
  box-shadow:
    0 22px 58px rgba(0, 0, 0, 0.18),
    inset 0 1px 0 rgba(255, 255, 255, 0.92);
  overflow: hidden;
  position: relative;
}

.showcase-section .showcase-product::before {
  content: '';
  position: absolute;
  inset: 0;
  pointer-events: none;
  border-radius: inherit;
  background: radial-gradient(circle at top left, rgba(109, 40, 217, 0.08), transparent 36%);
}

.showcase-section .showcase-product__copy,
.showcase-section .showcase-product__mock {
  position: relative;
  z-index: 1;
  min-width: 0;
}

.showcase-section .showcase-product__copy {
  display: flex;
  flex-direction: column;
  gap: 0.55rem;
}

.showcase-section .showcase-product__eyebrow {
  align-self: flex-start;
  padding: 0.25rem 0.65rem;
  border-radius: var(--radius-pill);
  background: rgba(109, 40, 217, 0.08);
  border: 1px solid rgba(109, 40, 217, 0.13);
  color: var(--primary);
  font-size: 0.68rem;
  font-weight: 800;
  line-height: 1.2;
}

.showcase-section .showcase-product h3 {
  margin: 0;
  color: var(--text);
  font-family: var(--font-display);
  font-size: 1.22rem;
  font-weight: 800;
  line-height: 1.18;
  letter-spacing: 0;
}

.showcase-section .showcase-product p {
  margin: 0;
  color: var(--text-muted);
  font-size: 0.94rem;
  line-height: 1.6;
}

.showcase-section .product-screen {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  min-width: 0;
  width: 100%;
  padding: 0.9rem;
  border-radius: 22px;
  background:
    radial-gradient(circle at 100% 0%, rgba(236, 72, 153, 0.11), transparent 32%),
    linear-gradient(145deg, #ffffff, #faf5ff);
  border: 1px solid rgba(109, 40, 217, 0.1);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.94),
    0 12px 30px rgba(109, 40, 217, 0.1);
}

.showcase-section .product-screen__header,
.showcase-section .product-status-row,
.showcase-section .product-people-row,
.showcase-section .product-action-grid,
.showcase-section .product-budget-summary,
.showcase-section .product-routine-grid {
  display: grid;
  gap: 0.55rem;
  min-width: 0;
}

.showcase-section .product-screen__header {
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: center;
  color: var(--text-soft);
  font-size: 0.72rem;
  font-weight: 800;
}

.showcase-section .product-screen__header > span:first-child {
  overflow-wrap: anywhere;
}

.showcase-section .product-total-card,
.showcase-section .product-expense-card,
.showcase-section .product-transfer-card,
.showcase-section .product-goal-pill,
.showcase-section .product-divi-note,
.showcase-section .product-draft-card {
  display: flex;
  flex-direction: column;
  min-width: 0;
  gap: 0.22rem;
  padding: 0.78rem;
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.82);
  border: 1px solid rgba(42, 23, 84, 0.07);
}

.showcase-section .product-total-card span,
.showcase-section .product-expense-card span,
.showcase-section .product-transfer-card span,
.showcase-section .product-goal-pill span,
.showcase-section .product-divi-note span,
.showcase-section .product-draft-card span,
.showcase-section .product-budget-summary em,
.showcase-section .product-bars em,
.showcase-section .product-routine-grid strong {
  color: var(--text-soft);
  font-size: 0.7rem;
  font-style: normal;
  font-weight: 800;
  line-height: 1.25;
}

.showcase-section .product-total-card strong,
.showcase-section .product-expense-card strong,
.showcase-section .product-transfer-card strong,
.showcase-section .product-goal-pill strong,
.showcase-section .product-divi-note strong,
.showcase-section .product-draft-card strong,
.showcase-section .product-budget-summary strong {
  color: var(--text);
  font-family: var(--font-display);
  font-size: 1.1rem;
  font-weight: 800;
  line-height: 1.16;
  letter-spacing: 0;
  overflow-wrap: anywhere;
  font-variant-numeric: tabular-nums;
}

.showcase-section .product-total-card > strong {
  font-size: 1.68rem;
}

.showcase-section .product-status-row {
  grid-template-columns: 1fr;
  margin-top: 0.34rem;
}

.showcase-section .product-chip {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  max-width: 100%;
  padding: 0.28rem 0.62rem;
  border-radius: var(--radius-pill);
  background: rgba(109, 40, 217, 0.08);
  border: 1px solid rgba(109, 40, 217, 0.12);
  color: var(--primary);
  font-size: 0.68rem;
  font-style: normal;
  font-weight: 800;
  line-height: 1.2;
  white-space: normal;
}

.showcase-section .product-chip--paid,
.showcase-section .product-chip--healthy {
  background: rgba(16, 185, 129, 0.1);
  border-color: rgba(16, 185, 129, 0.18);
  color: #047857;
}

.showcase-section .product-chip--pending {
  background: rgba(245, 158, 11, 0.12);
  border-color: rgba(245, 158, 11, 0.2);
  color: #b45309;
}

.showcase-section .product-people-row,
.showcase-section .product-action-grid,
.showcase-section .product-budget-summary,
.showcase-section .product-routine-grid {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.showcase-section .product-people-row span,
.showcase-section .product-action-grid span,
.showcase-section .product-routine-grid span {
  display: flex;
  flex-direction: column;
  gap: 0.08rem;
  min-width: 0;
  padding: 0.62rem 0.68rem;
  border-radius: 15px;
  background: rgba(255, 255, 255, 0.74);
  border: 1px solid rgba(42, 23, 84, 0.07);
}

.showcase-section .product-action-grid span {
  align-items: center;
  color: var(--primary);
  font-size: 0.74rem;
  font-weight: 800;
  text-align: center;
}

.showcase-section .product-people-row strong {
  color: var(--text);
  font-size: 0.82rem;
  font-weight: 800;
  overflow-wrap: anywhere;
}

.showcase-section .product-people-row em,
.showcase-section .product-routine-grid em,
.showcase-section .product-draft-card em,
.showcase-section .product-expense-card em {
  color: var(--text-soft);
  font-size: 0.68rem;
  font-style: normal;
  font-weight: 700;
  overflow-wrap: anywhere;
}

.showcase-section .product-split-list {
  display: flex;
  flex-direction: column;
  gap: 0.48rem;
}

.showcase-section .product-split-list span {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: center;
  gap: 0.6rem;
  min-width: 0;
  padding: 0.62rem 0.68rem;
  border-radius: 15px;
  background: rgba(255, 255, 255, 0.74);
  border: 1px solid rgba(42, 23, 84, 0.07);
}

.showcase-section .product-split-list strong {
  color: var(--text);
  font-size: 0.78rem;
  font-weight: 800;
  overflow-wrap: anywhere;
}

.showcase-section .product-budget-summary span {
  display: flex;
  flex-direction: column;
  gap: 0.08rem;
  min-width: 0;
  padding: 0.68rem;
  border-radius: 15px;
  background: rgba(255, 255, 255, 0.74);
  border: 1px solid rgba(42, 23, 84, 0.07);
}

.showcase-section .product-bars {
  display: flex;
  flex-direction: column;
  gap: 0.58rem;
}

.showcase-section .product-bars span {
  display: grid;
  grid-template-columns: minmax(4.2rem, 0.55fr) minmax(0, 1fr) auto;
  align-items: center;
  gap: 0.58rem;
  min-width: 0;
}

.showcase-section .product-bars strong {
  color: var(--text);
  font-size: 0.72rem;
  font-weight: 800;
  font-variant-numeric: tabular-nums;
}

.showcase-section .product-goal-pill {
  background: rgba(16, 185, 129, 0.09);
  border-color: rgba(16, 185, 129, 0.16);
}

.showcase-section .product-divi-note {
  background:
    radial-gradient(circle at top right, rgba(236, 72, 153, 0.14), transparent 42%),
    linear-gradient(145deg, rgba(109, 40, 217, 0.1), rgba(255, 255, 255, 0.82));
}

.showcase-section .product-divi-note span {
  color: var(--primary);
}

.showcase-section .product-draft-card {
  border-left: 3px solid var(--primary);
}

/* ═══════════════════════════════════════════════════════
   EDITORIAL LINKS
   ═══════════════════════════════════════════════════════ */
.home-blog-section {
  padding-top: var(--section-py);
  padding-bottom: var(--section-py);
  background:
    radial-gradient(circle at 15% 20%, rgba(236, 72, 153, 0.08), transparent 30%),
    linear-gradient(180deg, #fbfaff 0%, #f6f3fb 100%);
}

.home-blog-inner,
.related-reading-inner {
  max-width: var(--max-width);
  margin: 0 auto;
}

.home-blog-heading {
  margin-bottom: clamp(1.75rem, 4vw, 2.5rem);
}

.home-blog-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1rem;
  align-items: stretch;
}

.home-blog-card {
  position: relative;
  display: grid;
  min-height: 100%;
  overflow: hidden;
  color: inherit;
  text-decoration: none;
  background: rgba(255, 255, 255, 0.92);
  border: 1px solid rgba(42, 23, 84, 0.08);
  border-radius: var(--radius-lg);
  box-shadow:
    var(--glass-highlight),
    0 18px 44px rgba(21, 17, 29, 0.07);
  transition:
    border-color var(--duration-base) var(--ease-out),
    box-shadow var(--duration-base) var(--ease-out),
    transform var(--duration-base) var(--ease-out);
}

.home-blog-card:hover {
  transform: translateY(-3px);
  border-color: rgba(109, 40, 217, 0.2);
  box-shadow:
    var(--glass-highlight),
    0 24px 60px rgba(109, 40, 217, 0.12);
}

.home-blog-card--cta {
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 1rem;
  padding: clamp(1.15rem, 2vw, 1.35rem);
  background:
    linear-gradient(145deg, rgba(109, 40, 217, 0.09), rgba(236, 72, 153, 0.06)),
    rgba(255, 255, 255, 0.92);
  border-color: rgba(109, 40, 217, 0.14);
}

.home-blog-card__cta-eyebrow,
.home-blog-card__cta-link {
  color: var(--primary);
  font-size: 0.74rem;
  font-weight: 800;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.home-blog-card__cta-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 3.25rem;
  height: 3.25rem;
  color: var(--primary);
  background: #ffffff;
  border: 1px solid rgba(109, 40, 217, 0.14);
  border-radius: 18px;
  box-shadow: var(--shadow-xs);
}

.home-blog-card--cta h3 {
  font-size: clamp(1.18rem, 1.8vw, 1.5rem);
}

.home-blog-card__cta-link {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  margin-top: 0.35rem;
}

.home-blog-card__media {
  margin: 0;
  aspect-ratio: 16 / 10;
  overflow: hidden;
  background: #f1edf8;
}

.home-blog-card__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.home-blog-card__body {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  padding: clamp(1rem, 2vw, 1.25rem);
}

.home-blog-card__meta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem;
  color: var(--primary);
  font-size: 0.74rem;
  font-weight: 800;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.home-blog-card h3,
.related-reading-card h3 {
  margin: 0;
  font-family: var(--font-display);
  color: var(--text);
  line-height: 1.16;
  text-wrap: balance;
}

.home-blog-card h3 {
  font-size: clamp(1.05rem, 1.6vw, 1.3rem);
}

.home-blog-card p,
.related-reading-card p {
  margin: 0;
  color: var(--text-muted);
  font-size: 0.93rem;
  line-height: 1.6;
}

.home-blog-card time {
  margin-top: auto;
  color: var(--text-soft);
  font-size: 0.82rem;
  font-weight: 650;
}

.related-reading-section {
  padding-top: calc(var(--section-py) * 0.72);
  padding-bottom: calc(var(--section-py) * 0.88);
  background: linear-gradient(180deg, #f6f3fb 0%, #f5f3f9 100%);
}

.related-reading-inner {
  display: grid;
  grid-template-columns: minmax(0, 0.82fr) minmax(0, 1.18fr);
  gap: clamp(1.25rem, 4vw, 2.5rem);
  align-items: start;
}

.related-reading-header {
  max-width: 28rem;
}

.related-reading-header h2 {
  margin: 0.55rem 0 0.85rem;
  font-family: var(--font-display);
  font-size: clamp(1.45rem, 3vw, 2.15rem);
  line-height: 1.08;
  color: var(--text);
  text-wrap: balance;
}

.related-reading-header p:not(.section-eyebrow) {
  margin: 0;
  color: var(--text-muted);
  line-height: 1.65;
}

.related-reading-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0.85rem;
}

.related-reading-card {
  display: flex;
  flex-direction: column;
  gap: 0.7rem;
  min-height: 100%;
  padding: 1.1rem;
  color: inherit;
  text-decoration: none;
  background: rgba(255, 255, 255, 0.92);
  border: 1px solid rgba(42, 23, 84, 0.08);
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-xs);
  transition:
    border-color var(--duration-base) var(--ease-out),
    box-shadow var(--duration-base) var(--ease-out),
    transform var(--duration-base) var(--ease-out);
}

.related-reading-card:hover {
  transform: translateY(-2px);
  border-color: rgba(109, 40, 217, 0.2);
  box-shadow: 0 18px 40px rgba(109, 40, 217, 0.1);
}

.related-reading-card__pillar {
  color: var(--primary);
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.related-reading-card h3 {
  font-size: 1.02rem;
}

.related-reading-card p {
  font-size: 0.88rem;
}

/* ═══════════════════════════════════════════════════════
   SOCIAL PROOF
   ═══════════════════════════════════════════════════════ */
.social-proof-section {
  position: relative;
  padding-top: var(--section-py);
  padding-bottom: var(--section-py);
  background: linear-gradient(180deg, #f6f3fb 0%, #efeaf7 100%);
  overflow: hidden;
}

.social-proof-section::before {
  content: '';
  position: absolute;
  top: -30%;
  left: 50%;
  width: min(900px, 110%);
  height: 520px;
  transform: translateX(-50%);
  background: radial-gradient(
    ellipse at center,
    rgba(124, 58, 237, 0.14) 0%,
    rgba(124, 58, 237, 0.05) 42%,
    transparent 70%
  );
  pointer-events: none;
  z-index: 0;
}

.social-proof-section > * {
  position: relative;
  z-index: 1;
}

.social-proof-rating {
  display: flex;
  align-items: center;
  gap: 0.85rem;
  margin: -0.25rem auto 2.25rem;
  padding: 0.55rem 1rem 0.55rem 0.65rem;
  border-radius: var(--radius-pill);
  background: var(--surface-solid);
  border: 1px solid rgba(24, 19, 33, 0.08);
  box-shadow:
    0 1px 3px rgba(24, 19, 33, 0.04),
    0 14px 30px rgba(109, 40, 217, 0.08);
  width: fit-content;
  max-width: calc(100% - 2 * var(--section-px));
}

.social-proof-rating-left {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.25rem 0.6rem;
  border-radius: var(--radius-pill);
  background: linear-gradient(
    135deg,
    rgba(124, 58, 237, 0.12),
    rgba(236, 72, 153, 0.1)
  );
}

.social-proof-rating-score {
  font-family: var(--font-display);
  font-size: 1.15rem;
  font-weight: 800;
  color: var(--primary);
  line-height: 1;
}

.social-proof-rating-stars {
  display: inline-flex;
  gap: 0.1rem;
  color: var(--primary);
}

.social-proof-rating-stars svg {
  width: 15px;
  height: 15px;
  fill: currentColor;
}

.social-proof-rating-divider {
  width: 1px;
  height: 18px;
  background: rgba(24, 19, 33, 0.12);
}

.social-proof-rating-label {
  font-size: 0.82rem;
  color: var(--text-muted);
  font-weight: 600;
  letter-spacing: 0.005em;
}

/* Wall of marquee testimonials */

.testimonials-wall {
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 1rem;
  width: calc(100% + 2 * var(--section-px));
  margin-left: calc(-1 * var(--section-px));
  margin-right: calc(-1 * var(--section-px));
  padding: 0;
  overflow: hidden;
  mask-image: linear-gradient(
    90deg,
    transparent 0,
    #000 10%,
    #000 90%,
    transparent 100%
  );
  -webkit-mask-image: linear-gradient(
    90deg,
    transparent 0,
    #000 10%,
    #000 90%,
    transparent 100%
  );
}

.testimonials-wall-row {
  display: flex;
  width: 100%;
  overflow: hidden;
}

.testimonials-wall-track {
  display: flex;
  gap: 1rem;
  flex-shrink: 0;
  width: max-content;
  padding: 0.25rem 0;
  animation-name: testimonials-marquee;
  animation-duration: 55s;
  animation-timing-function: linear;
  animation-iteration-count: infinite;
  will-change: transform;
}

.testimonials-wall-row--reverse .testimonials-wall-track {
  animation-duration: 68s;
  animation-direction: reverse;
}

@keyframes testimonials-marquee {
  from {
    transform: translate3d(0, 0, 0);
  }
  to {
    transform: translate3d(calc(-50% - 0.5rem), 0, 0);
  }
}

.testimonials-wall:hover .testimonials-wall-track,
.testimonials-wall:focus-within .testimonials-wall-track {
  animation-play-state: paused;
}

@media (prefers-reduced-motion: reduce) {
  .testimonials-wall-track {
    animation: none;
    transform: none;
  }

  .testimonials-wall {
    overflow-x: auto;
    scrollbar-width: none;
  }

  .testimonials-wall::-webkit-scrollbar {
    display: none;
  }
}

/* Testimonial cards — calm, premium, consistent */

.testimonial-card {
  position: relative;
  flex-shrink: 0;
  width: 340px;
  min-height: 220px;
  padding: 1.5rem 1.55rem 1.25rem;
  background: #ffffff;
  border: 1px solid rgba(24, 19, 33, 0.07);
  border-radius: 20px;
  box-shadow:
    0 1px 2px rgba(24, 19, 33, 0.04),
    0 8px 22px rgba(24, 19, 33, 0.05);
  display: flex;
  flex-direction: column;
  gap: 0.85rem;
  transition:
    border-color var(--duration-base) var(--ease-out),
    box-shadow var(--duration-base) var(--ease-out),
    transform var(--duration-base) var(--ease-out);
}

/* Aspa decorativa sutil no canto superior esquerdo */
.testimonial-card::before {
  content: '\201C';
  position: absolute;
  top: 0.35rem;
  right: 1.1rem;
  font-family: Georgia, 'Times New Roman', serif;
  font-size: 3.5rem;
  line-height: 1;
  color: rgba(109, 40, 217, 0.12);
  pointer-events: none;
  user-select: none;
}

.testimonial-card:hover {
  border-color: rgba(109, 40, 217, 0.22);
  box-shadow:
    0 2px 4px rgba(24, 19, 33, 0.04),
    0 16px 36px rgba(109, 40, 217, 0.12);
  transform: translateY(-2px);
}

.testimonial-card[data-clone='true'] {
  pointer-events: none;
}

.testimonial-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem;
}

.testimonial-author-info {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  min-width: 0;
}

.testimonial-author-name {
  font-size: 0.9rem;
  font-weight: 700;
  color: var(--text);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.testimonial-avatar {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  object-fit: cover;
  flex-shrink: 0;
  border: 1px solid rgba(24, 19, 33, 0.06);
}

.testimonial-avatar--icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  box-sizing: border-box;
  background: rgba(109, 40, 217, 0.12);
  color: #7c3aed;
}

.testimonial-avatar--icon svg {
  width: 18px;
  height: 18px;
  flex-shrink: 0;
}

.testimonial-stars {
  display: inline-flex;
  gap: 0.1rem;
  color: var(--primary);
  flex-shrink: 0;
}

.testimonial-stars svg {
  width: 14px;
  height: 14px;
  fill: currentColor;
}

.testimonial-card blockquote {
  margin: 0;
  font-size: 0.92rem;
  line-height: 1.6;
  color: #2d2839;
  font-weight: 500;
  font-style: normal;
  flex: 1 0 auto;
}

.testimonial-source {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  margin-top: auto;
  padding-top: 0.85rem;
  border-top: 1px solid rgba(24, 19, 33, 0.06);
  font-size: 0.72rem;
  color: var(--text-soft);
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.06em;
}

.testimonial-source::before {
  content: '';
  width: 14px;
  height: 14px;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='%237a728d'%3E%3Cpath d='M12 .587l3.668 7.568L24 9.423l-6 5.847 1.42 8.243L12 19.771l-7.42 3.742L6 15.27 0 9.423l8.332-1.268z'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-size: contain;
  flex-shrink: 0;
  opacity: 0.55;
}

/* Footer CTA */

.social-proof-footer {
  max-width: 40rem;
  margin: 2.5rem auto 0;
  padding: 0 1rem;
  text-align: center;
  font-size: 0.95rem;
  line-height: 1.6;
  color: var(--text-muted);
}

.social-proof-footer-link {
  color: var(--primary);
  font-weight: 700;
  text-decoration: underline;
  text-decoration-thickness: 1px;
  text-underline-offset: 0.22em;
  transition: color var(--duration-base) var(--ease-out);
}

.social-proof-footer-link:hover {
  color: var(--primary-hover, var(--secondary));
}

.social-proof-footer-plain {
  color: inherit;
}

/* ═══════════════════════════════════════════════════════
   FAQ
   ═══════════════════════════════════════════════════════ */
.faq-section {
  padding-top: var(--section-py);
  padding-bottom: var(--section-py);
  background: var(--bg);
}

.faq-grid {
  max-width: 680px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 0.65rem;
}

.faq-item {
  position: relative;
  background: rgba(255, 255, 255, 0.94);
  border: 1px solid rgba(24, 19, 33, 0.07);
  border-radius: 18px;
  overflow: hidden;
  box-shadow: 0 1px 2px rgba(21, 17, 29, 0.03);
  transition:
    background var(--duration-base) ease,
    box-shadow var(--duration-base) ease,
    border-color var(--duration-base) ease;
}
.faq-item:hover {
  border-color: rgba(109, 40, 217, 0.18);
  box-shadow: 0 6px 18px rgba(21, 17, 29, 0.06);
}
.faq-item[open] {
  background: #ffffff;
  border-color: rgba(109, 40, 217, 0.22);
  box-shadow:
    0 12px 32px rgba(109, 40, 217, 0.1),
    0 1px 3px rgba(21, 17, 29, 0.04);
}
.faq-item[open]::before {
  content: '';
  position: absolute;
  left: 0;
  top: 14px;
  bottom: 14px;
  width: 3px;
  border-radius: 0 3px 3px 0;
  background: linear-gradient(180deg, var(--primary), var(--secondary-light));
}

.faq-item summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 1.15rem 1.35rem;
  font-weight: 700;
  font-size: 1rem;
  letter-spacing: -0.01em;
  color: var(--text);
  cursor: pointer;
  list-style: none;
  user-select: none;
  transition: color var(--duration-fast) ease;
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary::after {
  content: '';
  display: block;
  width: 30px;
  height: 30px;
  border-radius: 50%;
  flex-shrink: 0;
  border: 1px solid rgba(109, 40, 217, 0.14);
  background-color: rgba(109, 40, 217, 0.09);
  background-image:
    linear-gradient(var(--primary), var(--primary)),
    linear-gradient(var(--primary), var(--primary));
  background-size: 12px 2px, 2px 12px;
  background-position: center, center;
  background-repeat: no-repeat;
  transition:
    background-color var(--duration-base) ease,
    border-color var(--duration-base) ease;
}
.faq-item summary:hover::after {
  background-color: rgba(109, 40, 217, 0.14);
  border-color: rgba(109, 40, 217, 0.22);
}
.faq-item[open] summary::after {
  background-color: var(--primary);
  border-color: var(--primary);
  background-image: linear-gradient(#ffffff, #ffffff);
  background-size: 12px 2px;
  background-position: center;
  background-repeat: no-repeat;
}
.faq-item summary:hover { color: var(--primary); }

.faq-answer {
  display: grid;
  grid-template-rows: 0fr;
  transition: grid-template-rows var(--duration-slow) var(--ease-out);
}
.faq-item[open] .faq-answer { grid-template-rows: 1fr; }
.faq-answer-inner { overflow: hidden; }
.faq-answer-inner p {
  padding: 0 1.35rem 1.25rem;
  color: var(--text-muted);
  line-height: 1.72;
  font-size: 0.95rem;
}

/* ═══════════════════════════════════════════════════════
   CTA FINAL
   ═══════════════════════════════════════════════════════ */
.cta-section {
  padding-top: 2rem;
  padding-bottom: var(--section-py);
}

.cta-shell {
  max-width: var(--max-width);
  margin: 0 auto;
  position: relative;
  overflow: hidden;
  padding: 3rem 1.5rem;
  border-radius: var(--radius-xl);
  background:
    radial-gradient(circle at top right, rgba(124, 58, 237, 0.2), transparent 28%),
    linear-gradient(145deg, #17121f 0%, #20172d 100%);
  box-shadow: var(--shadow-xl);
  border: 1px solid rgba(255, 255, 255, 0.08);
  text-align: center;
}
.cta-shell::before {
  content: '';
  position: absolute;
  width: 380px;
  height: 380px;
  right: -100px;
  top: -160px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(255, 255, 255, 0.15), transparent 68%);
  pointer-events: none;
}
.cta-shell::after {
  content: '';
  position: absolute;
  width: 280px;
  height: 280px;
  left: -100px;
  bottom: -160px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(255, 255, 255, 0.08), transparent 70%);
  pointer-events: none;
}

.cta-copy {
  position: relative;
  z-index: 1;
  margin-bottom: 1.5rem;
}
.cta-copy .section-eyebrow {
  background: rgba(255, 255, 255, 0.08);
  border-color: rgba(255, 255, 255, 0.12);
  color: rgba(255, 255, 255, 0.84);
  margin-bottom: 1.4rem;
}
.cta-copy h2 {
  font-family: var(--font-display);
  font-size: clamp(1.6rem, 5vw, 2.6rem);
  font-weight: 800;
  line-height: 1.08;
  letter-spacing: -0.03em;
  color: white;
  margin-bottom: 0.8rem;
  max-width: 22ch;
  margin-left: auto;
  margin-right: auto;
}
.cta-copy p {
  color: rgba(255, 255, 255, 0.75);
  font-size: 0.95rem;
  line-height: 1.65;
  max-width: 46ch;
  margin: 0 auto;
}

.cta-actions {
  position: relative;
  z-index: 1;
  display: flex;
  justify-content: center;
  margin: 0 auto 1.25rem;
}

.btn-cta-download {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.55rem;
  min-height: 56px;
  padding: 1rem 2.5rem;
  border-radius: var(--radius-pill);
  background: var(--primary);
  color: white;
  text-decoration: none;
  font-weight: 800;
  font-size: 1.05rem;
  letter-spacing: -0.01em;
  border: 1px solid transparent;
  box-shadow: 0 14px 32px rgba(109, 40, 217, 0.22);
  transition:
    transform var(--duration-fast) var(--ease-out),
    box-shadow var(--duration-fast) var(--ease-out);
}
.btn-cta-download:hover {
  transform: translateY(-1px);
  box-shadow: 0 18px 36px rgba(109, 40, 217, 0.28);
}
.btn-cta-download:active {
  transform: translateY(0);
}

.cta-trust-badges {
  position: relative;
  z-index: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 1.5rem;
  margin-bottom: 1rem;
}
.cta-trust-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  color: rgba(255, 255, 255, 0.7);
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}
.cta-trust-badge svg {
  width: 16px;
  height: 16px;
  opacity: 0.8;
}

.cta-legal {
  position: relative;
  z-index: 1;
  margin-top: 0.5rem;
  font-size: 0.84rem;
}
.cta-legal a {
  color: rgba(255, 255, 255, 0.55);
  text-decoration: none;
  transition: color var(--duration-fast) ease;
}
.cta-legal a:hover {
  color: white;
  text-decoration: underline;
  text-underline-offset: 0.2em;
}

/* ═══════════════════════════════════════════════════════
   FOOTER
   ═══════════════════════════════════════════════════════ */
.site-footer {
  background: #f2f0f6;
  color: var(--text);
  padding: 3rem var(--section-px) 1.5rem;
  border-top: 1px solid rgba(24, 19, 33, 0.08);
}

.footer-inner {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2rem;
  margin-bottom: 2rem;
}

.footer-brand { max-width: 340px; }
.footer-brand .logo-text { color: #3d2170; }
.footer-tagline {
  color: var(--text-soft);
  margin-top: 0.65rem;
  font-size: 0.88rem;
  line-height: 1.5;
}

.footer-col {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}
.footer-col-title {
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--text-soft);
  margin-bottom: 0.15rem;
}
.footer-col a {
  text-decoration: none;
  color: var(--text-muted);
  font-size: 0.88rem;
  transition: color var(--duration-fast) ease;
}
.footer-col a:hover { color: var(--primary); }

.footer-bottom {
  padding-top: 1.5rem;
  border-top: 1px solid rgba(24, 19, 33, 0.08);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.75rem;
  text-align: center;
}
.footer-disclaimer {
  margin: 0;
  max-width: min(32rem, 100%);
  padding-inline: 0.5rem;
  color: var(--text-soft);
  font-size: 0.8125rem;
  line-height: 1.55;
  font-weight: 400;
  letter-spacing: 0.01em;
  text-wrap: balance;
}
.footer-copyright {
  color: var(--text-soft);
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.footer-social {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}
.footer-social-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  border: 1px solid rgba(24, 19, 33, 0.08);
  background: rgba(255, 255, 255, 0.9);
  color: var(--text-muted);
  transition:
    background var(--duration-fast) ease,
    color var(--duration-fast) ease,
    border-color var(--duration-fast) ease;
}
.footer-social-icon:hover {
  background: rgba(109, 40, 217, 0.08);
  color: var(--primary);
  border-color: rgba(109, 40, 217, 0.18);
}
.footer-social-icon svg { width: 18px; height: 18px; }

/* ═══════════════════════════════════════════════════════
   BACK TO TOP
   ═══════════════════════════════════════════════════════ */
.back-to-top {
  position: fixed;
  bottom: 2rem;
  right: 2rem;
  z-index: 990;
  display: none;
  align-items: center;
  justify-content: center;
  width: 46px;
  height: 46px;
  border-radius: 50%;
  border: 1px solid var(--border);
  background: var(--surface-strong);
  color: var(--primary);
  cursor: pointer;
  box-shadow: var(--shadow-md);
  opacity: 0;
  visibility: hidden;
  transform: translateY(10px);
  transition:
    opacity var(--duration-base) ease,
    visibility var(--duration-base) ease,
    transform var(--duration-base) var(--ease-out),
    background var(--duration-fast) ease;
}
.back-to-top.visible { opacity: 1; visibility: visible; transform: translateY(0); }
.back-to-top:hover { background: var(--surface-solid); box-shadow: var(--shadow-lg); }
.back-to-top svg { width: 18px; height: 18px; }

/* ═══════════════════════════════════════════════════════
   REVEAL ANIMATION
   ═══════════════════════════════════════════════════════ */

/* Elementos sempre visíveis por padrão */
.reveal {
  opacity: 1;
  transform: translateY(0);
}

/* Animação suave quando JS adiciona a classe active */
.reveal.animate-on-scroll {
  opacity: 0;
  transform: translateY(16px);
  transition:
    opacity 480ms var(--ease-out),
    transform 480ms var(--ease-out);
  will-change: opacity, transform;
}

.reveal.animate-on-scroll.active {
  opacity: 1;
  transform: translateY(0);
}

/* Stagger nos feature cards para entrada cinematográfica */
.features-grid .feature-card.reveal.animate-on-scroll:nth-child(1) { transition-delay: 0ms; }
.features-grid .feature-card.reveal.animate-on-scroll:nth-child(2) { transition-delay: 90ms; }
.features-grid .feature-card.reveal.animate-on-scroll:nth-child(3) { transition-delay: 180ms; }
.features-grid .feature-card.reveal.animate-on-scroll:nth-child(4) { transition-delay: 270ms; }

/* Reduced motion - desabilitar animações */
@media (prefers-reduced-motion: reduce) {
  .reveal,
  .reveal.animate-on-scroll,
  .reveal.animate-on-scroll.active {
    opacity: 1 !important;
    transform: none !important;
    transition: none !important;
    animation: none !important;
  }
}

/* ═══════════════════════════════════════════════════════
   PRICING PAGE
   ═══════════════════════════════════════════════════════ */
.pricing-hero-section {
  padding: clamp(3.25rem, 8vw, 5.5rem) var(--section-px) 2.25rem;
  text-align: center;
}

.pricing-hero-inner {
  max-width: 840px;
  margin: 0 auto;
  text-align: center;
}

.pricing-hero-inner h1 {
  font-family: var(--font-display);
  font-size: clamp(1.8rem, 6vw, 3rem);
  font-weight: 700;
  line-height: 1.04;
  letter-spacing: -0.035em;
  color: #1f172f;
  margin: 0.65rem auto 1rem;
  max-width: 100%;
  text-align: center;
  text-wrap: balance;
}

.pricing-hero-title-line {
  color: #1f172f;
  display: inline;
}

.pricing-hero-brand {
  color: #1f172f;
  display: inline;
  font-weight: 800;
}

.pricing-hero-price-lead {
  font-weight: 800;
}

.pricing-title-highlight {
  display: inline;
  background: linear-gradient(135deg, var(--primary), var(--secondary-light));
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}

.pricing-hero-subtitle {
  margin-left: auto;
  margin-right: auto;
  text-align: center;
  text-wrap: balance;
}

.pricing-hero-inner p:not(.section-eyebrow) {
  color: var(--text-muted);
  font-size: 1.05rem;
  line-height: 1.72;
  margin: 0;
}

.pricing-hero-section .reveal,
.pricing-section .reveal {
  opacity: 1;
  transform: none;
  transition: none;
  animation: none;
  will-change: auto;
}

.pricing-section {
  padding: 0 var(--section-px) var(--section-py);
}

.pricing-grid {
  max-width: 800px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.25rem;
}

@media (min-width: 640px) {
  .pricing-grid { grid-template-columns: repeat(2, 1fr); }
}

.pricing-card {
  padding: 2rem;
  background: rgba(255, 255, 255, 0.94);
  border: 1px solid rgba(24, 19, 33, 0.08);
  border-radius: 24px;
  box-shadow: var(--shadow-sm);
  display: flex;
  flex-direction: column;
  position: relative;
  overflow: hidden;
  transition:
    transform var(--duration-base) var(--ease-out),
    box-shadow var(--duration-base) var(--ease-out);
}

.pricing-card::before {
  content: '';
  position: absolute;
  inset: 0;
  pointer-events: none;
  box-shadow: none;
  border-radius: inherit;
}

.pricing-card:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow-md);
}

.pricing-card-featured {
  border-color: rgba(109, 40, 217, 0.18);
  background: linear-gradient(160deg, rgba(109, 40, 217, 0.07), rgba(192, 132, 252, 0.05));
}

.pricing-card-featured::after {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: linear-gradient(90deg, var(--primary-light), var(--secondary-light));
}

.pricing-badge {
  display: inline-flex;
  align-self: flex-start;
  padding: 0.3rem 0.75rem;
  border-radius: var(--radius-pill);
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  margin-bottom: 0.75rem;
}

.pricing-badge-free {
  background: rgba(34, 197, 94, 0.1);
  color: #16a34a;
}

.pricing-badge-premium {
  background: linear-gradient(135deg, rgba(109, 40, 217, 0.1), rgba(192, 132, 252, 0.08));
  color: var(--primary);
}

.pricing-name {
  font-family: var(--font-display);
  font-size: 1.35rem;
  font-weight: 700;
  color: var(--text);
  letter-spacing: -0.02em;
  margin-bottom: 0.35rem;
}

.pricing-name-premium {
  display: flex;
  align-items: baseline;
  gap: 0.35rem;
  flex-wrap: wrap;
}

.pricing-name-highlight {
  background: linear-gradient(135deg, var(--primary), var(--secondary));
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}

.pricing-desc {
  color: var(--text-muted);
  font-size: 0.88rem;
  line-height: 1.6;
  margin-bottom: 1.25rem;
}

.pricing-price {
  font-family: var(--font-display);
  font-size: 2.2rem;
  font-weight: 700;
  color: var(--text);
  letter-spacing: -0.03em;
  margin-bottom: 0.15rem;
  line-height: 1.1;
}

.pricing-price-period {
  font-size: 0.45em;
  font-weight: 600;
  color: var(--text-soft);
  vertical-align: baseline;
}

.pricing-period {
  font-size: 0.82rem;
  color: var(--text-soft);
  margin-bottom: 1.25rem;
}

.pricing-features {
  list-style: none;
  padding: 0;
  margin: 0 0 1.5rem;
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
  flex: 1;
}

.pricing-features li {
  display: flex;
  align-items: flex-start;
  gap: 0.5rem;
  font-size: 0.88rem;
  color: var(--text-muted);
  line-height: 1.5;
}

.pricing-features li::before {
  content: '';
  display: block;
  width: 18px;
  height: 18px;
  flex-shrink: 0;
  margin-top: 2px;
  border-radius: 50%;
  background: rgba(34, 197, 94, 0.12);
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 20 20' fill='%2316a34a'%3E%3Cpath d='M16.707 5.293a1 1 0 010 1.414l-8 8a1 1 0 01-1.414 0l-4-4a1 1 0 011.414-1.414L8 12.586l7.293-7.293a1 1 0 011.414 0z'/%3E%3C/svg%3E");
  background-size: 12px 12px;
  background-position: center;
  background-repeat: no-repeat;
}

.pricing-features li.feature-limit::before {
  background-color: rgba(245, 158, 11, 0.12);
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 20 20' fill='%23d97706'%3E%3Cpath d='M10 18a8 8 0 100-16 8 8 0 000 16zm1-12a1 1 0 10-2 0v4a1 1 0 00.293.707l2.828 2.829a1 1 0 101.415-1.415L11 9.586V6z'/%3E%3C/svg%3E");
}

.pricing-feature-pair-text {
  display: flex;
  flex-direction: column;
  gap: 0.35rem;
  align-items: flex-start;
  text-align: left;
}

.pricing-feature-pair-note {
  display: block;
  font-size: 0.78rem;
  line-height: 1.45;
  color: var(--text-soft);
  font-weight: 500;
}

.pricing-cta {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  min-height: 48px;
  padding: 0.75rem 1.25rem;
  border-radius: var(--radius-pill);
  text-decoration: none;
  font-weight: 700;
  font-size: 0.92rem;
  letter-spacing: -0.01em;
  transition:
    transform var(--duration-fast) var(--ease-out),
    box-shadow var(--duration-fast) var(--ease-out);
}

.pricing-cta:hover {
  transform: translateY(-1px);
}

.pricing-cta-free {
  background: rgba(255, 255, 255, 0.92);
  color: var(--primary);
  border: 1px solid rgba(24, 19, 33, 0.12);
  box-shadow: var(--shadow-sm);
}

.pricing-cta-free:hover {
  box-shadow: var(--shadow-md);
}

.pricing-cta-premium {
  background: var(--primary);
  color: white;
  border: 1px solid transparent;
  box-shadow: 0 10px 24px rgba(109, 40, 217, 0.2);
}

.pricing-cta-premium:hover {
  box-shadow: 0 14px 30px rgba(109, 40, 217, 0.24);
}

.pricing-transition {
  max-width: 840px;
  margin: 2.75rem auto 0;
  padding: 2rem 1.75rem;
  text-align: center;
  background: rgba(255, 255, 255, 0.94);
  border: 1px solid rgba(24, 19, 33, 0.09);
  border-radius: 24px;
  box-shadow: var(--shadow-sm);
}

.pricing-transition h2,
.pricing-value-header h2 {
  font-family: var(--font-display);
  font-size: clamp(1.4rem, 3.4vw, 2.15rem);
  line-height: 1.15;
  letter-spacing: -0.03em;
  color: #1f172f;
  margin: 0.65rem 0 0.85rem;
  text-wrap: balance;
}

.pricing-transition p:last-child,
.pricing-value-header p:last-child {
  margin: 0;
  color: var(--text-muted);
  font-size: 0.96rem;
  line-height: 1.75;
}

.pricing-detail-grid,
.pricing-value-grid {
  max-width: 1000px;
  margin: 2rem auto 0;
  display: grid;
  grid-template-columns: 1fr;
  align-items: stretch;
  gap: 1.25rem;
}

@media (min-width: 700px) {
  .pricing-detail-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .pricing-value-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

.pricing-detail-card {
  height: 100%;
  padding: 1.45rem 1.5rem;
  background: rgba(255, 255, 255, 0.96);
  border: 1px solid rgba(24, 19, 33, 0.09);
  border-radius: 22px;
  box-shadow: var(--shadow-sm);
  display: flex;
  flex-direction: column;
}

.pricing-detail-card h3 {
  font-family: var(--font-display);
  margin: 0 0 0.65rem;
  font-size: 1.02rem;
  font-weight: 700;
  line-height: 1.28;
  color: #1f172f;
  letter-spacing: -0.02em;
}

.pricing-detail-card p {
  margin: 0;
  flex: 1;
  color: var(--text-muted);
  font-size: 0.9rem;
  line-height: 1.65;
}

.pricing-value-section {
  max-width: 1000px;
  margin: 3rem auto 0;
}

.pricing-value-header {
  max-width: 760px;
  margin: 0 auto 1.5rem;
  text-align: center;
}

.pricing-value-card {
  height: 100%;
  padding: 1.35rem 1.4rem;
  overflow: hidden;
  background: rgba(255, 255, 255, 0.96);
  border: 1px solid rgba(24, 19, 33, 0.09);
  border-radius: 22px;
  box-shadow: var(--shadow-sm);
  display: flex;
  flex-direction: column;
}

.pricing-value-kicker {
  display: inline-flex;
  align-self: flex-start;
  margin: 0 0 0.65rem;
  padding: 0;
  background: transparent;
  border: none;
  color: var(--primary);
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.05em;
  text-transform: uppercase;
}

.pricing-value-title {
  display: block;
  margin: 0 0 0.5rem;
  padding: 0;
  font-family: var(--font-display);
  font-size: 1.02rem;
  font-weight: 700;
  line-height: 1.32;
  color: #1f172f;
  letter-spacing: -0.02em;
}

.pricing-value-card p {
  margin: 0;
  padding: 0;
  flex: 1;
  color: var(--text-muted);
  font-size: 0.9rem;
  line-height: 1.65;
}

.pricing-value-cta {
  display: flex;
  justify-content: center;
  margin-top: 2rem;
  padding: 0 0.25rem;
}

.pricing-value-cta .pricing-value-cta-btn {
  width: auto;
  max-width: min(100%, 22rem);
  min-width: min(100%, 12.5rem);
  padding-left: 1.5rem;
  padding-right: 1.5rem;
}

.pricing-note {
  text-align: center;
  max-width: 800px;
  margin: 2.25rem auto 0;
  padding: 0 0.25rem;
  color: var(--text-muted);
  font-size: 0.84rem;
  line-height: 1.6;
  text-wrap: pretty;
}

.pricing-note-line {
  display: block;
}

.pricing-note-line + .pricing-note-line {
  margin-top: 0.35em;
}

/* ── Reduced motion ────────────────────────────────────── */
@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
    scroll-behavior: auto !important;
  }
  .reveal { opacity: 1; transform: none; }
}

/* ═══════════════════════════════════════════════════════
   RESPONSIVE — Tablet (768px+)
   ═══════════════════════════════════════════════════════ */
@media (min-width: 768px) {
  :root { --header-height: 76px; }

  .features-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 1.25rem;
  }

  .cta-shell {
    padding: 3.5rem 3rem;
  }

  .footer-inner {
    grid-template-columns: 1.5fr repeat(4, auto);
    gap: 3rem;
  }

  .hero-ctas {
    max-width: none;
    align-items: center;
  }

  /* Hero melhorado para tablet */
  .hero-shell {
    gap: 2.5rem;
    padding: 2rem 0 3rem;
  }

  .hero-device-stage {
    width: min(100%, 300px);
    max-width: 340px;
  }

  .hero-copy h1 {
    max-width: 16ch;
  }
}

/* ═══════════════════════════════════════════════════════
   RESPONSIVE — iPad/Tablet Grande (820px - 1023px)
   ═══════════════════════════════════════════════════════ */
@media (min-width: 820px) and (max-width: 1023px) {
  :root { --header-height: 72px; }

  .hero-section {
    padding-top: 0.5rem;
  }

  .hero-shell {
    display: grid;
    grid-template-columns: 1fr 0.75fr;
    gap: 1.5rem;
    align-items: center;
    min-height: auto;
    padding: 1.5rem 0 2.5rem;
  }

  .hero-copy {
    text-align: left;
    max-width: none;
  }

  .hero-copy h1 {
    margin-left: 0;
    margin-right: 0;
    font-size: clamp(2rem, 4vw, 2.6rem);
    max-width: 14ch;
  }

  .hero-subtitle {
    margin-left: 0;
    margin-right: 0;
    font-size: 0.95rem;
    max-width: 38ch;
  }

  .hero-ctas {
    margin: 0;
    align-items: flex-start;
    flex-direction: column;
    gap: 0.75rem;
  }

  .features-grid {
    gap: 1rem;
  }
}

@media (max-width: 1023px) {
  .home-blog-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

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

  .related-reading-header {
    max-width: 44rem;
  }
}

/* ═══════════════════════════════════════════════════════
   RESPONSIVE — Desktop (1024px+)
   ═══════════════════════════════════════════════════════ */
@media (min-width: 1024px) {
  :root { --header-height: 80px; }

  .features-grid {
    gap: 1.5rem;
  }

  .nav-links { display: flex; }
  .nav-download-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 38px;
    padding: 0.55rem 1.2rem;
    white-space: nowrap;
    border-radius: var(--radius-pill);
    background: var(--primary);
    color: white;
    text-decoration: none;
    font-size: 0.85rem;
    font-weight: 600;
    letter-spacing: -0.01em;
    box-shadow: 0 10px 24px rgba(109, 40, 217, 0.18);
    transition:
      transform var(--duration-fast) var(--ease-out),
      box-shadow var(--duration-fast) var(--ease-out);
  }
  .nav-download-btn:hover {
    transform: translateY(-1px);
    box-shadow: 0 14px 28px rgba(109, 40, 217, 0.22);
  }
  .nav-download-btn:active { transform: translateY(0); }

  .mobile-menu-toggle { display: none; }
  .mobile-menu { display: none !important; }

  /* Hero desktop refinements */
  .hero-section { padding-top: 1rem; }
  .hero-shell {
    display: grid;
    grid-template-columns: minmax(0, 1.1fr) minmax(300px, 0.9fr);
    gap: clamp(3rem, 5vw, 5rem);
    align-items: center;
    min-height: min(calc(100vh - var(--header-height)), 880px);
    min-height: min(calc(100dvh - var(--header-height)), 880px);
    padding: 2rem 0 3rem;
  }
  .hero-copy {
    text-align: left;
    max-width: 36rem;
  }
  .hero-copy h1 {
    margin-left: 0;
    margin-right: 0;
    max-width: 15ch;
    font-size: clamp(2.8rem, 4.5vw, 4rem);
  }
  .hero-subtitle {
    margin-left: 0;
    margin-right: 0;
    font-size: 1.05rem;
    max-width: 42ch;
  }
  .hero-ctas {
    margin: 0;
    align-items: flex-start;
    flex-direction: row;
    gap: 1rem;
    max-width: none;
  }
  .hero-download-btn {
    max-width: none;
    min-width: 180px;
  }
  .hero-secondary-btn {
    min-width: 180px;
  }

  .cta-shell {
    padding: 4rem 3.5rem;
  }

  .back-to-top { display: flex; }

  main { padding-bottom: 0; }
  body { margin-bottom: 0; }
}

/* ═══════════════════════════════════════════════════════
   RESPONSIVE — Mobile adjustments (< 768px)
   ═══════════════════════════════════════════════════════ */
@media (max-width: 767px) {
  body { margin-bottom: 85px; }

  main { padding-bottom: 1rem; }

  /* Hero mobile refinements */
  .hero-section {
    padding-top: 1.25rem;
  }

  .hero-shell {
    gap: 1.5rem;
    padding: 1.75rem 0 2.5rem;
  }

  .hero-copy h1 {
    font-size: clamp(2.2rem, 9vw, 2.8rem);
    max-width: 14ch;
  }

  .hero-ctas {
    max-width: 320px;
  }

  /* Features section mobile */
  .features-section {
    padding-top: calc(var(--section-py) * 0.8);
    padding-bottom: calc(var(--section-py) * 0.8);
  }

  .features-grid {
    gap: 0.75rem;
  }

  .feature-card {
    padding: 1.25rem;
  }

  /* Showcase section mobile */
  .showcase-section {
    padding-top: calc(var(--section-py) * 0.8);
    padding-bottom: calc(var(--section-py) * 0.8);
  }

  /* Editorial links mobile */
  .home-blog-section,
  .related-reading-section {
    padding-top: calc(var(--section-py) * 0.8);
    padding-bottom: calc(var(--section-py) * 0.8);
  }

  .home-blog-grid,
  .related-reading-grid {
    grid-template-columns: 1fr;
  }

  .home-blog-card {
    border-radius: 24px;
  }

  .home-blog-card__body,
  .related-reading-card {
    padding: 1rem;
  }

  .home-blog-card__meta {
    font-size: 0.68rem;
  }

  .related-reading-header h2 {
    font-size: clamp(1.35rem, 7vw, 1.8rem);
  }

  /* Social proof mobile */
  .social-proof-section {
    padding-top: calc(var(--section-py) * 0.8);
    padding-bottom: calc(var(--section-py) * 0.8);
  }

  .social-proof-rating {
    gap: 0.7rem;
    padding: 0.5rem 0.9rem 0.5rem 0.55rem;
  }

  .social-proof-rating-left {
    gap: 0.4rem;
    padding: 0.2rem 0.5rem;
  }

  .social-proof-rating-score {
    font-size: 1rem;
  }

  .social-proof-rating-stars svg {
    width: 13px;
    height: 13px;
  }

  .social-proof-rating-label {
    font-size: 0.78rem;
  }

  .testimonials-wall {
    gap: 0.85rem;
    mask-image: linear-gradient(
      90deg,
      transparent 0,
      #000 5%,
      #000 95%,
      transparent 100%
    );
    -webkit-mask-image: linear-gradient(
      90deg,
      transparent 0,
      #000 5%,
      #000 95%,
      transparent 100%
    );
  }

  .testimonials-wall-track {
    gap: 0.75rem;
    animation-duration: 45s;
  }

  .testimonials-wall-row--reverse .testimonials-wall-track {
    animation-duration: 55s;
  }

  .testimonial-card {
    width: 280px;
    min-height: 200px;
    padding: 1.25rem 1.3rem 1.1rem;
    border-radius: 18px;
    gap: 0.7rem;
  }
  .testimonial-card::before {
    font-size: 2.8rem;
    top: 0.25rem;
    right: 0.95rem;
  }

  .testimonial-card blockquote {
    font-size: 0.88rem;
    line-height: 1.55;
  }

  .testimonial-avatar {
    width: 32px;
    height: 32px;
  }

  .testimonial-author-name {
    font-size: 0.85rem;
  }

  .social-proof-footer {
    margin-top: 2rem;
    font-size: 0.9rem;
  }

  /* FAQ mobile */
  .faq-section {
    padding-top: calc(var(--section-py) * 0.8);
    padding-bottom: calc(var(--section-py) * 0.8);
  }

  .faq-item summary {
    padding: 1rem 1.25rem;
    font-size: 0.95rem;
  }

  .faq-answer-inner p {
    padding: 0 1.25rem 1rem;
    font-size: 0.9rem;
  }

  /* CTA mobile */
  .cta-section {
    padding-top: 1.5rem;
    padding-bottom: calc(var(--section-py) * 0.8);
  }

  .cta-shell {
    padding: 2.5rem 1.25rem;
    margin: 0 0.5rem;
    border-radius: 24px;
  }

  /* Pricing page mobile */
  .pricing-hero-inner {
    max-width: 100%;
    padding: 0;
  }

  .pricing-hero-inner h1 {
    font-size: clamp(2rem, 8vw, 2.5rem);
    max-width: 100%;
  }

  .pricing-hero-subtitle {
    max-width: 100%;
    font-size: 1rem;
  }

  .pricing-hero-inner .pricing-hero-eyebrow.section-eyebrow {
    flex-direction: column;
    gap: 0.12rem;
    align-items: center;
    text-align: center;
  }

  .pricing-hero-eyebrow-line {
    display: block;
    line-height: 1.25;
    text-align: center;
  }

  /* Footer mobile */
  .site-footer {
    padding-left: 1rem;
    padding-right: 1rem;
  }

  .footer-inner {
    text-align: center;
    gap: 1.5rem;
  }
  .footer-brand {
    margin: 0 auto;
  }
  .footer-col { align-items: center; }

  /* Typography adjustments */
  .section-title {
    font-size: clamp(1.5rem, 5.5vw, 2rem);
  }

  .section-subtitle {
    font-size: 0.95rem;
  }
}

/* Sumário (TOC) das páginas legais — usado em /termos e /terms */
.legal-toc {
    width: 100%;
    max-width: 32rem;
    margin: 0 auto 3rem;
    padding: 0 1.5rem;
    box-sizing: border-box;
}

.legal-toc-details {
    background: var(--surface-solid, #ffffff);
    border: 1px solid var(--border, rgba(42, 23, 84, 0.08));
    border-radius: var(--radius-sm, 16px);
    box-shadow: var(--shadow-sm, 0 8px 24px rgba(21, 17, 29, 0.06));
    padding: 1rem 1.25rem;
}

.legal-toc-summary {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 0.75rem;
    cursor: pointer;
    list-style: none;
    color: var(--text, #181321);
    font-weight: 600;
    font-size: 1rem;
    line-height: 1.4;
    user-select: none;
}

.legal-toc-summary::-webkit-details-marker {
    display: none;
}

.legal-toc-summary-label {
    flex: 1;
}

.legal-toc-summary-icon {
    width: 1.25rem;
    height: 1.25rem;
    flex-shrink: 0;
    color: var(--text-muted, #554e63);
    transition: transform 0.2s ease;
}

.legal-toc-details[open] .legal-toc-summary-icon {
    transform: rotate(180deg);
}

.legal-toc-list {
    list-style: none;
    margin: 1rem 0 0;
    padding: 0;
    display: flex;
    flex-direction: column;
    gap: 1.25rem;
}

.legal-toc-section {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.legal-toc-section-link {
    color: var(--text, #181321);
    font-weight: 600;
    font-size: 0.95rem;
    text-decoration: none;
    line-height: 1.4;
}

.legal-toc-section-link:hover,
.legal-toc-section-link:focus-visible {
    color: var(--primary, #6d28d9);
}

.legal-toc-sublist {
    list-style: none;
    margin: 0;
    padding-left: 1rem;
    border-left: 2px solid var(--border, rgba(42, 23, 84, 0.08));
    display: flex;
    flex-direction: column;
    gap: 0.4rem;
}

.legal-toc-sublist li {
    margin: 0;
}

.legal-toc-sublist a {
    color: var(--text-muted, #554e63);
    text-decoration: none;
    font-size: 0.9rem;
    line-height: 1.45;
    display: inline-block;
    transition: color 0.15s ease;
}

.legal-toc-sublist a:hover,
.legal-toc-sublist a:focus-visible {
    color: var(--primary, #6d28d9);
}

/* Compensa header sticky ao saltar para uma âncora dentro das páginas legais */
.legal-card h2[id],
.legal-card h3[id] {
    scroll-margin-top: 80px;
}

@media (max-width: 640px) {
    .legal-toc {
        padding: 0 1rem;
        margin-bottom: 2rem;
    }

    .legal-toc-details {
        padding: 0.875rem 1rem;
    }

    .legal-toc-summary {
        font-size: 0.95rem;
    }

    .legal-toc-section-link {
        font-size: 0.9rem;
    }

    .legal-toc-sublist a {
        font-size: 0.85rem;
    }
}

@media (max-width: 360px) {
  .features-section .feature-card,
  .showcase-section .showcase-product {
    padding: 0.85rem;
    border-radius: 22px;
  }

  .features-section .feature-proof__screen,
  .showcase-section .product-screen {
    padding: 0.72rem;
    border-radius: 18px;
  }

  .features-section .feature-proof__screen {
    min-height: 158px;
  }

  .features-section .feature-proof__amount-row,
  .features-section .feature-proof__budget-line,
  .features-section .feature-proof__transfer,
  .features-section .feature-proof__goal {
    align-items: flex-start;
    flex-direction: column;
  }

  .features-section .feature-proof__transfer strong,
  .features-section .feature-proof__goal strong {
    text-align: left;
  }

  .showcase-section .product-screen__header,
  .showcase-section .product-people-row,
  .showcase-section .product-action-grid,
  .showcase-section .product-budget-summary,
  .showcase-section .product-routine-grid,
  .showcase-section .product-split-list span {
    grid-template-columns: 1fr;
  }

  .showcase-section .product-bars span {
    grid-template-columns: 1fr;
    gap: 0.3rem;
  }

  .showcase-section .product-chip {
    justify-self: start;
  }
}

@media (min-width: 480px) {
  .showcase-section .product-status-row {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (min-width: 768px) {
  .features-section .features-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 1.25rem;
  }

  .features-section .feature-card {
    padding: 1.1rem;
  }

  .features-section .feature-proof__screen {
    min-height: 188px;
  }

  .showcase-section .showcase-product-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 1.15rem;
  }

  .showcase-section .showcase-product--anchor {
    grid-column: 1 / -1;
    display: grid;
    grid-template-columns: minmax(0, 0.92fr) minmax(0, 1.08fr);
    align-items: center;
    gap: 1.25rem;
  }

  .showcase-section .showcase-product {
    padding: 1.25rem;
  }
}

@media (min-width: 1024px) {
  .features-section .features-grid {
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 1.25rem;
  }

  .features-section .feature-card {
    padding: 1rem;
  }

  .features-section .feature-proof__screen {
    min-height: 202px;
  }

  .showcase-section .showcase-product-grid {
    grid-template-columns: repeat(12, minmax(0, 1fr));
    gap: 1.25rem;
  }

  .showcase-section .showcase-product--anchor {
    grid-column: 1 / -1;
    grid-template-columns: minmax(0, 0.78fr) minmax(0, 1.22fr);
    padding: 1.55rem;
  }

  .showcase-section .showcase-product:not(.showcase-product--anchor) {
    grid-column: span 4;
    padding: 1.18rem;
  }

  .showcase-section .showcase-product--anchor h3 {
    font-size: 1.72rem;
  }

  .showcase-section .showcase-product--anchor p {
    max-width: 42ch;
  }

  .showcase-section .showcase-product--anchor .product-screen {
    min-height: 340px;
    justify-content: center;
    padding: 1.1rem;
  }

  .showcase-section .product-total-card > strong {
    font-size: 1.9rem;
  }
}

/* Acessibilidade: foco visível */
:where(a, button, [role="button"], summary, .lang-btn, .nav-download-btn, .pricing-cta, .about-cta-button, .btn, .feature-cta-link, .mobile-menu-toggle, .back-to-top, input, select, textarea):focus-visible {
    outline: 2px solid var(--primary, #6D28D9);
    outline-offset: 3px;
    border-radius: inherit;
}
/* Foco visível sobre fundos escuros (dark hero / CTA section) */
.cta-section :where(a, button):focus-visible,
.hero-device-stage :where(a, button):focus-visible {
    outline-color: #FFFFFF;
}
