/* ============================================================
   MANUAL DE IDEIAS — Design System
   ============================================================ */

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

:root {
  /* Cores primárias */
  --violet-50: #f5f3ff;
  --violet-100: #ede9fe;
  --violet-200: #ddd6fe;
  --violet-500: #8b5cf6;
  --violet-600: #2b0967;
  --violet-700: #180031;

  /* Cores secundárias */
  --cyan-400: #22d3ee;
  --cyan-500: #ddd6fe;
  --cyan-600: #8b5cf6;

  /* Neutros */
  --slate-50: #f8fafc;
  --slate-100: #f1f5f9;
  --slate-200: #e2e8f0;
  --slate-300: #cbd5e1;
  --slate-400: #94a3b8;
  --slate-500: #64748b;
  --slate-600: #475569;
  --slate-700: #334155;
  --slate-800: #1e293b;
  --slate-900: #0f172a;

  /* Semânticas */
  --color-primary: var(--violet-500);
  --color-secondary: var(--cyan-500);
  --color-bg: var(--slate-50);
  --color-surface: #ffffff;
  --color-text: var(--slate-900);
  --color-muted: var(--slate-500);
  --color-border: var(--slate-200);

  /* Gradiente principal */
  --gradient-brand: linear-gradient(135deg, var(--violet-700), var(--cyan-600));
  --gradient-brand-hover: linear-gradient(
    135deg,
    var(--violet-700),
    var(--cyan-500)
  );

  /* Tipografia */
  --font-sans:
    "Poppins", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  --font-size-xs: 0.75rem; /* 12px */
  --font-size-sm: 0.875rem; /* 14px */
  --font-size-base: 1rem; /* 16px */
  --font-size-lg: 1.125rem; /* 18px */
  --font-size-xl: 1.25rem; /* 20px */
  --font-size-2xl: 1.5rem; /* 24px */
  --font-size-3xl: 1.875rem; /* 30px */
  --font-size-4xl: 2.25rem; /* 36px */
  --font-size-5xl: 3rem; /* 48px */
  --font-size-6xl: 3.75rem; /* 60px */

  /* Espaçamentos */
  --space-1: 0.25rem;
  --space-2: 0.5rem;
  --space-3: 0.75rem;
  --space-4: 1rem;
  --space-5: 1.25rem;
  --space-6: 1.5rem;
  --space-8: 2rem;
  --space-10: 2.5rem;
  --space-12: 3rem;
  --space-16: 4rem;
  --space-20: 5rem;
  --space-24: 6rem;

  /* Border radius */
  --radius-sm: 6px;
  --radius-md: 10px;
  --radius-lg: 12px;
  --radius-xl: 16px;
  --radius-2xl: 20px;
  --radius-3xl: 28px;
  --radius-full: 9999px;

  /* Sombras */
  --shadow-sm: 0 1px 3px rgba(0, 0, 0, 0.08);
  --shadow-md: 0 4px 12px rgba(0, 0, 0, 0.1);
  --shadow-lg: 0 10px 30px rgba(0, 0, 0, 0.12);
  --shadow-xl: 0 20px 50px rgba(0, 0, 0, 0.15);
  --shadow-brand: 0 8px 30px rgba(139, 92, 246, 0.3);
  --shadow-brand-hover: 0 12px 40px rgba(139, 92, 246, 0.45);

  /* Transições */
  --transition-fast: 150ms ease;
  --transition-normal: 250ms ease;
  --transition-slow: 350ms ease;
}

html {
  font-family: var(--font-sans);
  font-size: 16px;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  scroll-behavior: smooth;
}

body {
  background-color: var(--color-bg);
  color: var(--color-text);
  line-height: 1.6;
  min-height: 100vh;
}

a {
  color: var(--violet-600);
  text-decoration: none;
}
img {
  max-width: 100%;
  display: block;
}
button {
  cursor: pointer;
  font-family: inherit;
}

/* ── Tipografia Base ───────────────────────────────────────── */
h1 {
  font-size: clamp(1.75rem, 4vw, 2.5rem);
  font-weight: 800;
  line-height: 1.2;
  color: var(--slate-900);
}
h2 {
  font-size: clamp(1.25rem, 3vw, 1.75rem);
  font-weight: 700;
  line-height: 1.25;
  color: var(--slate-900);
}
h3 {
  font-size: clamp(1.1rem, 2.5vw, 1.35rem);
  font-weight: 600;
  line-height: 1.3;
  color: var(--slate-800);
}
h4 {
  font-size: var(--font-size-xl);
  font-weight: 600;
  line-height: 1.35;
  color: var(--slate-800);
}
h5 {
  font-size: var(--font-size-lg);
  font-weight: 600;
  line-height: 1.4;
  color: var(--slate-700);
}
p {
  line-height: 1.7;
  color: var(--slate-700);
}

/* ── Scrollbar ─────────────────────────────────────────────── */
::-webkit-scrollbar {
  width: 6px;
  height: 6px;
}
::-webkit-scrollbar-track {
  background: var(--slate-100);
}
::-webkit-scrollbar-thumb {
  background: var(--violet-500);
  border-radius: var(--radius-full);
}
::-webkit-scrollbar-thumb:hover {
  background: var(--violet-600);
}

/* ── Container ─────────────────────────────────────────────── */
.container {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 var(--space-4);
}
@media (min-width: 768px) {
  .container {
    padding: 0 var(--space-6);
  }
}
@media (min-width: 1280px) {
  .container {
    padding: 0 var(--space-8);
  }
}

/* ── Logo ──────────────────────────────────────────────────── */
.logo-icon {
  background: white;
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  flex-shrink: 0;
  transition:
    transform var(--transition-normal),
    box-shadow var(--transition-normal);
}
.logo-icon:hover {
  transform: scale(1.05);
  box-shadow: var(--shadow-brand-hover);
}
.logo-icon--sm {
  width: 32px;
  height: 32px;
  border-radius: var(--radius-md);
}
.logo-icon--lg {
  width: 64px;
  height: 64px;
  border-radius: var(--radius-2xl);
}
#logo {
  border-radius: var(--radius-sm);
}
/* ── Buttons ───────────────────────────────────────────────── */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: var(--space-2);
  padding: var(--space-3) var(--space-6);
  border-radius: var(--radius-xl);
  font-weight: 600;
  font-size: var(--font-size-base);
  border: none;
  outline: none;
  transition:
    transform var(--transition-fast),
    box-shadow var(--transition-fast),
    filter var(--transition-fast);
  cursor: pointer;
  white-space: nowrap;
  user-select: none;
}
.btn:hover {
  transform: translateY(-2px);
}
.btn:active {
  transform: translateY(0) scale(0.97);
}

.btn--primary {
  background: var(--gradient-brand);
  color: white;
  box-shadow: var(--shadow-brand);
}
.btn--primary:hover {
  box-shadow: var(--shadow-brand-hover);
  filter: brightness(1.05);
}

.btn--secondary {
  background: var(--slate-900);
  color: white;
  box-shadow: var(--shadow-md);
}
.btn--secondary:hover {
  background: var(--slate-800);
  box-shadow: var(--shadow-lg);
}

.btn--outline {
  background: transparent;
  color: var(--color-primary);
  border: 2px solid var(--color-primary);
}
.btn--outline:hover {
  background: var(--violet-50);
}

.btn--lg {
  padding: var(--space-4) var(--space-8);
  font-size: var(--font-size-lg);
  border-radius: var(--radius-2xl);
}

.btn--sm {
  padding: var(--space-2) var(--space-4);
  font-size: var(--font-size-sm);
}

/* ── Header ────────────────────────────────────────────────── */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(255, 255, 255, 0.85);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--color-border);
}

.site-header .container {
  height: 66px;
  display: flex;
  align-items: center;
  gap: var(--space-6);
}

.header-logo {
  display: flex;
  align-items: center;
  gap: var(--space-3);
  flex-shrink: 0;
}

.logo-text {
  font-size: var(--font-size-lg);
  font-weight: 600;
  color: var(--slate-900);
}
.logo-text strong {
  color: var(--violet-500);
}

.header-nav {
  display: flex;
  align-items: center;
  gap: var(--space-1);
  margin-left: auto;
}

.nav-link {
  display: inline-flex;
  align-items: center;
  gap: var(--space-2);
  padding: var(--space-2) var(--space-3);
  border-radius: var(--radius-md);
  font-size: var(--font-size-sm);
  font-weight: 500;
  color: var(--slate-600);
  transition:
    color var(--transition-fast),
    background var(--transition-fast);
}
.nav-link [data-lucide] {
  width: 15px;
  height: 15px;
  stroke-width: 2;
  flex-shrink: 0;
}
.nav-link:hover {
  color: var(--violet-500);
  background: var(--violet-50);
}
.nav-link.active {
  color: var(--violet-600);
  background: var(--violet-50);
  font-weight: 600;
}

.header-cta {
  margin-left: var(--space-4);
  padding: var(--space-2) var(--space-4);
  font-size: var(--font-size-sm);
}

@media (max-width: 640px) {
  .header-nav {
    display: none;
  }
  .header-cta {
    margin-left: auto;
  }
  .logo-text {
    font-size: var(--font-size-base);
  }
}

/* ── Cards ─────────────────────────────────────────────────── */
.card {
  background: var(--color-surface);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-2xl);
  padding: var(--space-8);
  box-shadow: var(--shadow-sm);
  transition:
    box-shadow var(--transition-normal),
    transform var(--transition-normal);
}
.card:hover {
  box-shadow: var(--shadow-lg);
  transform: translateY(-3px);
}

.card__icon {
  width: 52px;
  height: 52px;
  border-radius: var(--radius-xl);
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  font-size: 1.5rem;
  margin-bottom: var(--space-5);
}

.card__title {
  font-size: var(--font-size-xl);
  font-weight: 700;
  color: var(--slate-900);
  margin-bottom: var(--space-2);
}

.card__desc {
  font-size: var(--font-size-base);
  color: var(--slate-600);
  line-height: 1.65;
}

/* ── Badge (uso/categoria) ─────────────────────────────────── */
.badge {
  display: inline-flex;
  align-items: center;
  gap: var(--space-1);
  padding: var(--space-1) var(--space-3);
  border-radius: var(--radius-full);
  font-size: var(--font-size-xs);
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}
.badge--violet {
  background: var(--violet-100);
  color: var(--violet-700);
}
.badge--cyan {
  background: #cffafe;
  color: #0e7490;
}
.badge--green {
  background: #dcfce7;
  color: #15803d;
}

/* ── Gradientes de texto ───────────────────────────────────── */
.text-gradient {
  background: var(--gradient-brand);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

/* ── Section helpers ───────────────────────────────────────── */
.section {
  padding: var(--space-20) 0;
}
.section--sm {
  padding: var(--space-12) 0;
}
.section--lg {
  padding: var(--space-24) 0;
}

.section__label {
  display: inline-block;
  font-size: var(--font-size-sm);
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--violet-500);
  margin-bottom: var(--space-4);
}

.section__title {
  font-size: var(--font-size-3xl);
  font-weight: 800;
  color: var(--slate-900);
  line-height: 1.2;
  margin-bottom: var(--space-5);
}

.section__subtitle {
  font-size: var(--font-size-lg);
  color: var(--slate-600);
  max-width: 600px;
  margin: 0 auto;
  line-height: 1.7;
}

@media (min-width: 768px) {
  .section__title {
    font-size: var(--font-size-4xl);
  }
}

/* ── Grids ─────────────────────────────────────────────────── */
.grid-2 {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--space-6);
}
.grid-3 {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--space-6);
}

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

/* ── Hero ──────────────────────────────────────────────────── */
.hero {
  padding: var(--space-20) 0 var(--space-16);
  text-align: center;
  background: linear-gradient(
    160deg,
    var(--slate-50) 0%,
    white 50%,
    #ecfeff 100%
  );
  overflow: hidden;
}

.hero__eyebrow {
  display: inline-flex;
  align-items: center;
  gap: var(--space-2);
  padding: var(--space-2) var(--space-4);
  background: var(--violet-50);
  border: 1px solid var(--violet-200);
  border-radius: var(--radius-full);
  font-size: var(--font-size-sm);
  font-weight: 600;
  color: var(--violet-600);
  margin-bottom: var(--space-6);
}

.hero__icon {
  width: 80px;
  height: 80px;
  border-radius: var(--radius-2xl);
  background: var(--gradient-brand);
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  box-shadow: var(--shadow-brand);
  margin: 0 auto var(--space-8);
}

.hero__title {
  font-size: var(--font-size-5xl);
  font-weight: 900;
  color: var(--slate-900);
  line-height: 1.1;
  letter-spacing: -0.02em;
  margin-bottom: var(--space-6);
}

.hero__subtitle {
  font-size: var(--font-size-xl);
  color: var(--slate-600);
  max-width: 560px;
  margin: 0 auto var(--space-10);
  line-height: 1.7;
}

.hero__actions {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
  gap: var(--space-4);
  margin-bottom: var(--space-4);
}

.hero__note {
  font-size: var(--font-size-sm);
  color: var(--slate-400);
}

@media (min-width: 768px) {
  .hero__title {
    font-size: var(--font-size-6xl);
  }
  .hero__subtitle {
    font-size: var(--font-size-2xl);
  }
  .hero {
    padding: var(--space-24) 0 var(--space-20);
  }
}

/* ── Use Cases grid ────────────────────────────────────────── */
.use-case-item {
  padding: var(--space-4) var(--space-5);
  border-radius: var(--radius-2xl);
  background: linear-gradient(135deg, var(--violet-50), #ecfeff);
  border: 1px solid var(--violet-100);
  font-size: var(--font-size-base);
  font-weight: 500;
  color: var(--slate-700);
  display: flex;
  align-items: center;
  gap: var(--space-3);
  transition:
    transform var(--transition-fast),
    box-shadow var(--transition-fast);
}
.use-case-item:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow-md);
}

/* ── Footer ────────────────────────────────────────────────── */
.site-footer {
  background: var(--violet-700);
  color: var(--slate-400);
  padding: var(--space-16) 0 var(--space-8);
  margin-top: var(--space-20);
}

.footer-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--space-10);
  margin-bottom: var(--space-12);
}
@media (min-width: 640px) {
  .footer-grid {
    grid-template-columns: 2fr 1fr 1fr;
  }
}

.footer-logo {
  display: flex;
  align-items: center;
  gap: var(--space-3);
  color: white;
  font-size: var(--font-size-lg);
  font-weight: 600;
  margin-bottom: var(--space-4);
}
.footer-logo strong {
  color: var(--violet-500);
}
.footer-logo .logo-icon {
  background: var(--gradient-brand);
}

.footer-tagline {
  font-size: var(--font-size-sm);
  color: var(--slate-500);
  max-width: 280px;
  line-height: 1.7;
}

.footer-links h4 {
  font-size: var(--font-size-sm);
  font-weight: 700;
  color: white;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  margin-bottom: var(--space-4);
}

.footer-links ul {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: var(--space-3);
}
.footer-links a {
  font-size: var(--font-size-sm);
  color: var(--slate-400);
  transition: color var(--transition-fast);
}
.footer-links a:hover {
  color: var(--violet-400);
}

.footer-bottom {
  border-top: 1px solid var(--slate-800);
  padding-top: var(--space-8);
  font-size: var(--font-size-sm);
  color: var(--slate-600);
  text-align: center;
}

/* ── 404 Page ──────────────────────────────────────────────── */
.error-main {
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: calc(100vh - 66px);
  padding: var(--space-12) 0;
}

.error-content {
  text-align: center;
  max-width: 480px;
  margin: 0 auto;
}

.error-icon {
  display: flex;
  justify-content: center;
  margin-bottom: var(--space-8);
}

.error-waveform {
  display: flex;
  align-items: flex-end;
  gap: 5px;
  height: 56px;
}

.error-waveform span {
  display: block;
  width: 8px;
  border-radius: 4px;
  background: var(--gradient-brand);
  animation: wave-idle 1.4s ease-in-out infinite;
}
.error-waveform span:nth-child(1) {
  height: 20px;
  animation-delay: 0s;
}
.error-waveform span:nth-child(2) {
  height: 40px;
  animation-delay: 0.2s;
}
.error-waveform span:nth-child(3) {
  height: 56px;
  animation-delay: 0.4s;
}
.error-waveform span:nth-child(4) {
  height: 32px;
  animation-delay: 0.6s;
}
.error-waveform span:nth-child(5) {
  height: 16px;
  animation-delay: 0.8s;
}

@keyframes wave-idle {
  0%,
  100% {
    transform: scaleY(0.5);
    opacity: 0.6;
  }
  50% {
    transform: scaleY(1);
    opacity: 1;
  }
}

.error-code {
  font-size: 96px;
  font-weight: 900;
  line-height: 1;
  background: var(--gradient-brand);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  margin-bottom: var(--space-3);
}

.error-title {
  font-size: var(--font-size-2xl);
  font-weight: 700;
  color: var(--slate-900);
  margin-bottom: var(--space-4);
}

.error-desc {
  font-size: var(--font-size-base);
  color: var(--slate-500);
  line-height: 1.7;
  margin-bottom: var(--space-8);
}

.error-actions {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: var(--space-4);
}

/* ── CTA Section ───────────────────────────────────────────── */
.cta-section {
  background: linear-gradient(135deg, var(--violet-500), var(--cyan-500));
  border-radius: var(--radius-3xl);
  padding: var(--space-16) var(--space-8);
  text-align: center;
  color: white;
  margin: 0 var(--space-4);
}

.cta-section h2 {
  font-size: var(--font-size-3xl);
  font-weight: 800;
  margin-bottom: var(--space-4);
}

.cta-section p {
  font-size: var(--font-size-lg);
  opacity: 0.9;
  max-width: 480px;
  margin: 0 auto var(--space-8);
}

.cta-section .btn--primary {
  background: white;
  color: var(--violet-600);
  box-shadow: 0 8px 30px rgba(0, 0, 0, 0.2);
}

/* ── Utilities ─────────────────────────────────────────────── */
.text-center {
  text-align: center;
}
.text-left {
  text-align: left;
}
.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  border: 0;
}

/* ── Animations ────────────────────────────────────────────── */
@keyframes fade-in-up {
  from {
    opacity: 0;
    transform: translateY(24px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.animate-in {
  animation: fade-in-up 0.6s ease both;
}
.animate-in--delay-1 {
  animation-delay: 0.1s;
}
.animate-in--delay-2 {
  animation-delay: 0.2s;
}
.animate-in--delay-3 {
  animation-delay: 0.3s;
}

/* ============================================================
   LANDING PAGE — index.php
   ============================================================ */

/* ── Hero ──────────────────────────────────────────────────── */
.hero {
  position: relative;
  overflow: hidden;
  background: linear-gradient(160deg, #f5f3ff 0%, #ffffff 45%, #ecfeff 100%);
  padding: var(--space-20) 0 var(--space-24);
}

.hero__inner {
  max-width: 760px;
  margin: 0 auto;
  text-align: center;
  position: relative;
  z-index: 2;
}

.hero__eyebrow {
  display: inline-flex;
  align-items: center;
  gap: var(--space-2);
  padding: var(--space-2) var(--space-5);
  background: white;
  border: 1.5px solid var(--violet-200);
  border-radius: var(--radius-full);
  font-size: var(--font-size-sm);
  font-weight: 600;
  color: var(--violet-600);
  margin-bottom: var(--space-6);
  box-shadow: var(--shadow-sm);
}

.eyebrow-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--violet-500);
  animation: pulse-dot 2s ease-in-out infinite;
}

@keyframes pulse-dot {
  0%,
  100% {
    opacity: 1;
    transform: scale(1);
  }
  50% {
    opacity: 0.6;
    transform: scale(0.8);
  }
}

.hero__icon {
  width: 88px;
  height: 88px;
  border-radius: var(--radius-2xl);
  background: var(--gradient-brand);
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  box-shadow: var(--shadow-brand);
  margin: 0 auto var(--space-8);
  transition:
    transform var(--transition-normal),
    box-shadow var(--transition-normal);
}
.hero__icon:hover {
  transform: scale(1.06) rotate(-3deg);
  box-shadow: var(--shadow-brand-hover);
}

.hero__title {
  font-size: clamp(2.2rem, 5vw, 3.75rem);
  font-weight: 900;
  color: var(--slate-900);
  line-height: 1.1;
  letter-spacing: -0.03em;
  margin-bottom: var(--space-6);
}

.hero__subtitle {
  font-size: clamp(1.05rem, 2vw, 1.25rem);
  color: var(--slate-600);
  max-width: 580px;
  margin: 0 auto var(--space-10);
  line-height: 1.75;
}
.hero__subtitle strong {
  color: var(--slate-900);
}

.hero__actions {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
  gap: var(--space-4);
  margin-bottom: var(--space-5);
}

/* ── Hero Note com ícones Lucide ───────────────────────────── */
.hero__note {
  display: inline-flex;
  align-items: center;
  flex-wrap: wrap;
  justify-content: center;
  gap: var(--space-3);
  font-size: var(--font-size-sm);
  color: var(--slate-400);
  letter-spacing: 0.01em;
}
.hero__note [data-lucide] {
  width: 13px;
  height: 13px;
  stroke: var(--violet-400);
  stroke-width: 2.5;
  flex-shrink: 0;
}

/* ── Soon features com Lucide ────────────────────────────── */
.soon-features li {
  display: flex;
  align-items: center;
  gap: var(--space-3);
  font-size: var(--font-size-sm);
  color: var(--slate-700);
  font-weight: 500;
}
.soon-features li [data-lucide] {
  width: 16px;
  height: 16px;
  stroke: var(--violet-500);
  stroke-width: 2;
  flex-shrink: 0;
}

/* Waveform decorativa no hero */
.hero__waveform {
  display: flex;
  align-items: flex-end;
  justify-content: center;
  gap: 4px;
  height: 64px;
  margin-top: var(--space-16);
  opacity: 0.18;
}

.hero__waveform span {
  display: block;
  width: 6px;
  border-radius: 3px;
  background: var(--gradient-brand);
  animation: wave-hero 1.8s ease-in-out infinite;
  animation-delay: calc(var(--i) * 0.07s);
}

/* Alturas aleatórias via pattern */
.hero__waveform span:nth-child(odd) {
  height: 24px;
}
.hero__waveform span:nth-child(even) {
  height: 40px;
}
.hero__waveform span:nth-child(3n) {
  height: 56px;
}
.hero__waveform span:nth-child(5n) {
  height: 32px;
}
.hero__waveform span:nth-child(7n) {
  height: 64px;
}

@keyframes wave-hero {
  0%,
  100% {
    transform: scaleY(0.4);
  }
  50% {
    transform: scaleY(1);
  }
}

/* ── Sounds Preview ─────────────────────────────────────────── */
.sounds-preview {
  background: var(--slate-50);
}

.section-header {
  margin-bottom: var(--space-12);
}

.sounds-grid {
  display: grid;
  grid-template-columns: repeat(1, 1fr);
  gap: var(--space-3);
}

@media (min-width: 640px) {
  .sounds-grid {
    grid-template-columns: repeat(3, 1fr);
    gap: var(--space-4);
  }
}
@media (min-width: 1024px) {
  .sounds-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

.sound-card {
  display: flex;
  align-items: center;
  gap: var(--space-3);
  padding: var(--space-4);
  background: white;
  border: 1px solid var(--color-border);
  border-radius: var(--radius-xl);
  box-shadow: var(--shadow-sm);
  transition:
    transform var(--transition-normal),
    box-shadow var(--transition-normal),
    border-color var(--transition-fast);
  cursor: pointer;
  flex-wrap: wrap;
}
.sound-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-lg);
  border-color: var(--violet-200);
}
.sound-card:hover .sound-card__arrow {
  color: var(--violet-500);
  transform: translateX(3px);
}

.sound-card__icon {
  width: 48px;
  height: 48px;
  border-radius: var(--radius-lg);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}
.sound-card__svg {
  width: 24px;
  height: 24px;
  stroke: white;
  stroke-width: 2;
  flex-shrink: 0;
}

.sound-card__info {
  flex: 1;
  min-width: 0;
}
.sound-card__name {
  font-size: var(--font-size-sm);
  font-weight: 700;
  color: var(--slate-900);
  margin-bottom: 2px;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.sound-card__desc {
  font-size: var(--font-size-xs);
  color: var(--slate-500);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.sound-card__arrow {
  color: var(--slate-300);
  flex-shrink: 0;
  transition:
    color var(--transition-fast),
    transform var(--transition-fast);
}

/* ── Features ──────────────────────────────────────────────── */
.features-section {
  background: white;
}

.features-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--space-5);
}
@media (min-width: 640px) {
  .features-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}
@media (min-width: 1024px) {
  .features-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

.feature-card {
  padding: var(--space-8);
  border-radius: var(--radius-2xl);
  border: 1px solid var(--color-border);
  background: var(--slate-50);
  transition:
    transform var(--transition-normal),
    box-shadow var(--transition-normal),
    background var(--transition-fast);
}
.feature-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-lg);
  background: white;
}

.feature-card__icon {
  width: 52px;
  height: 52px;
  border-radius: var(--radius-xl);
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  margin-bottom: var(--space-5);
}

.feature-card h3 {
  font-size: var(--font-size-lg);
  font-weight: 700;
  color: var(--slate-900);
  margin-bottom: var(--space-2);
}
.feature-card p {
  font-size: var(--font-size-sm);
  color: var(--slate-600);
  line-height: 1.7;
}

/* ── Use Cases ─────────────────────────────────────────────── */
.use-cases-section {
  background: linear-gradient(160deg, #f5f3ff 0%, #ecfeff 100%);
}

.use-cases-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--space-4);
}
@media (min-width: 480px) {
  .use-cases-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}
@media (min-width: 1024px) {
  .use-cases-grid {
    grid-template-columns: repeat(4, 1fr);
  }
}

.use-case-card {
  display: flex;
  align-items: flex-start;
  gap: var(--space-4);
  padding: var(--space-5) var(--space-6);
  background: rgba(255, 255, 255, 0.7);
  backdrop-filter: blur(8px);
  border: 1px solid rgba(139, 92, 246, 0.15);
  border-radius: var(--radius-2xl);
  transition:
    transform var(--transition-fast),
    box-shadow var(--transition-fast),
    background var(--transition-fast);
}
.use-case-card:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow-md);
  background: rgba(255, 255, 255, 0.95);
}

.use-case-card__icon {
  width: 40px;
  height: 40px;
  border-radius: var(--radius-lg);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  margin-top: 2px;
}
.use-case-card__icon [data-lucide] {
  width: 20px;
  height: 20px;
  stroke: white;
  stroke-width: 2;
}
.use-case-card h3 {
  font-size: var(--font-size-base);
  font-weight: 700;
  color: var(--slate-900);
  margin-bottom: var(--space-1);
}
.use-case-card p {
  font-size: var(--font-size-sm);
  color: var(--slate-600);
  line-height: 1.6;
}

/* ── How It Works ──────────────────────────────────────────── */
.how-section {
  background: white;
}

.how-steps {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
  gap: var(--space-6);
  max-width: 860px;
  margin: 0 auto;
}

.how-step {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: var(--space-4);
  max-width: 220px;
}

.how-step__number {
  width: 56px;
  height: 56px;
  border-radius: 50%;
  background: var(--gradient-brand);
  color: white;
  font-size: var(--font-size-xl);
  font-weight: 900;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: var(--shadow-brand);
  flex-shrink: 0;
}

.how-step__content h3 {
  font-size: var(--font-size-base);
  font-weight: 700;
  color: var(--slate-900);
  margin-bottom: var(--space-1);
}
.how-step__content p {
  font-size: var(--font-size-sm);
  color: var(--slate-500);
  line-height: 1.6;
}

.how-step__divider {
  font-size: 1.5rem;
  color: var(--slate-300);
  font-weight: 300;
  flex-shrink: 0;
}
@media (max-width: 640px) {
  .how-step__divider {
    display: none;
  }
}

/* ── CTA Final ─────────────────────────────────────────────── */
.cta-final-section {
  background: var(--slate-50);
  padding-bottom: var(--space-24);
  padding-top: var(--space-20);
}

.cta-final-box {
  background: var(--gradient-brand);
  border-radius: var(--radius-3xl);
  padding: var(--space-16) var(--space-8);
  text-align: center;
  box-shadow: var(--shadow-brand);
  position: relative;
  overflow: hidden;
}

.cta-final-box::before {
  content: "";
  position: absolute;
  inset: 0;
  background: url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%23ffffff' fill-opacity='0.06'%3E%3Cpath d='M36 34v-4h-2v4h-4v2h4v4h2v-4h4v-2h-4zm0-30V0h-2v4h-4v2h4v4h2V6h4V4h-4zM6 34v-4H4v4H0v2h4v4h2v-4h4v-2H6zM6 4V0H4v4H0v2h4v4h2V6h4V4H6z'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
  pointer-events: none;
}

.cta-final-box__icon {
  width: 80px;
  height: 80px;
  border-radius: var(--radius-2xl);
  background: rgba(255, 255, 255, 0.2);
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto var(--space-6);
  backdrop-filter: blur(8px);
}

.cta-final-box h2 {
  font-size: clamp(1.75rem, 3vw, 2.5rem);
  font-weight: 800;
  margin-bottom: var(--space-4);
  color: white;
}
.cta-final-box p {
  font-size: var(--font-size-lg);
  opacity: 0.88;
  margin: 0 auto var(--space-8);
  line-height: 1.6;
  color: white;
}

.btn--white {
  background: white;
  color: var(--violet-600);
  box-shadow: 0 8px 30px rgba(0, 0, 0, 0.2);
}
.btn--white:hover {
  background: var(--violet-50);
  box-shadow: 0 12px 40px rgba(0, 0, 0, 0.25);
}

/* ============================================================
   HUB — Estilos Globais do Hub
   ============================================================ */

/* ── Nav "em breve" ────────────────────────────────────────── */
.nav-link--soon {
  opacity: 0.55;
  pointer-events: none;
  cursor: default;
  position: relative;
}

.nav-link--soon::after {
  content: "em breve";
  position: absolute;
  top: -6px;
  right: -4px;
  font-size: 9px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: var(--violet-500);
  background: var(--violet-50);
  border: 1px solid var(--violet-200);
  border-radius: 999px;
  padding: 1px 5px;
  white-space: nowrap;
}

/* ── Footer badge ──────────────────────────────────────────── */
.footer-badge {
  display: inline-block;
  font-size: 10px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: var(--violet-400);
  background: rgba(139, 92, 246, 0.1);
  border-radius: 999px;
  padding: 1px 6px;
  margin-left: 4px;
  vertical-align: middle;
}

/* ── Breadcrumb ─────────────────────────────────────────────── */
.breadcrumb {
  display: flex;
  align-items: center;
  gap: var(--space-2);
  font-size: var(--font-size-sm);
  color: var(--slate-500);
  margin-bottom: var(--space-6);
  flex-wrap: wrap;
}
.breadcrumb a {
  color: var(--violet-500);
  transition: color var(--transition-fast);
}
.breadcrumb a:hover {
  color: var(--violet-700);
}
.breadcrumb span[aria-hidden] {
  color: var(--slate-300);
}

/* ============================================================
   HUB HOMEPAGE — index.php
   ============================================================ */

/* ── Hub Hero ───────────────────────────────────────────────── */
.page-hub {
  background: var(--slate-50);
}

.hub-hero {
  padding: var(--space-16) 0 var(--space-24);
  background: linear-gradient(160deg, #f5f3ff 0%, #ffffff 50%, #ecfeff 100%);
  text-align: center;
}

.hub-hero__inner {
  max-width: 800px;
  margin: 0 auto;
}

.hub-hero__eyebrow {
  display: inline-flex;
  align-items: center;
  gap: var(--space-2);
  padding: var(--space-2) var(--space-5);
  background: white;
  border: 1.5px solid var(--violet-200);
  border-radius: var(--radius-full);
  font-size: var(--font-size-sm);
  font-weight: 600;
  color: var(--violet-600);
  margin-bottom: var(--space-6);
  box-shadow: var(--shadow-sm);
}

.hub-hero__title {
  font-size: clamp(2.5rem, 5vw, 4rem);
  font-weight: 900;
  color: var(--slate-900);
  line-height: 1.1;
  letter-spacing: -0.03em;
  margin-bottom: var(--space-5);
}
.hub-hero__title strong {
  color: var(--violet-600);
}
.hub-hero__subtitle {
  font-size: clamp(1rem, 2vw, 1.2rem);
  color: var(--slate-600);
  line-height: 1.75;
  margin-bottom: var(--space-6);
}
.hub-hero__subtitle strong {
  color: var(--slate-900);
}

/* ── Hub Products Grid ──────────────────────────────────────── */
.hub-products-section {
  background: var(--slate-50);
}

.hub-products-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--space-5);
}
@media (min-width: 640px) {
  .hub-products-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}
@media (min-width: 1024px) {
  .hub-products-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

/* ── Product Card ───────────────────────────────────────────── */
.hub-product-card {
  position: relative;
  border-radius: var(--radius-3xl);
  overflow: hidden;
  background: white;
  border: 2px solid var(--color-border);
  box-shadow: var(--shadow-sm);
  min-height: 280px;
  display: flex;
  flex-direction: column;
  transition:
    transform var(--transition-normal),
    box-shadow var(--transition-normal),
    border-color var(--transition-fast);
  text-decoration: none;
}

.hub-product-card:hover:not(.hub-product-card--soon) {
  transform: translateY(-6px);
  box-shadow: var(--shadow-xl);
  border-color: transparent;
}
.hub-product-card:hover:not(.hub-product-card--soon) .hub-product-card__bg {
  opacity: 1;
}
.hub-product-card:hover:not(.hub-product-card--soon) .hub-product-card__name,
.hub-product-card:hover:not(.hub-product-card--soon) .hub-product-card__tagline,
.hub-product-card:hover:not(.hub-product-card--soon) .hub-product-card__desc,
.hub-product-card:hover:not(.hub-product-card--soon) .hub-product-card__cta {
  color: white;
}
.hub-product-card:hover:not(.hub-product-card--soon)
  .hub-product-card__icon-wrap {
  background: rgba(255, 255, 255, 0.2);
  transform: scale(1.08);
}
.hub-product-card:hover:not(.hub-product-card--soon) .hub-product-card__icon {
  stroke: white;
}

/* Card "em breve" */
.hub-product-card--soon {
  opacity: 0.72;
  cursor: default;
  pointer-events: none;
}
.hub-product-card--soon .hub-product-card__bg {
  opacity: 0.08;
}

/* Fundo gradiente */
.hub-product-card__bg {
  position: absolute;
  inset: 0;
  background: linear-gradient(145deg, var(--color-from), var(--color-to));
  opacity: 0;
  transition: opacity var(--transition-normal);
  z-index: 0;
}

/* Badge de status */
.hub-product-card__badge {
  position: absolute;
  top: var(--space-4);
  right: var(--space-4);
  font-size: var(--font-size-xs);
  font-weight: 700;
  padding: var(--space-1) var(--space-3);
  border-radius: var(--radius-full);
  z-index: 2;
}
.hub-product-card__badge--live {
  background: #dcfce7;
  color: #15803d;
  border: 1px solid #bbf7d0;
}
.hub-product-card__badge--soon {
  background: var(--violet-50);
  color: var(--violet-600);
  border: 1px solid var(--violet-200);
}

/* Conteúdo */
.hub-product-card__content {
  position: relative;
  z-index: 1;
  padding: var(--space-8);
  display: flex;
  flex-direction: column;
  flex: 1;
  gap: var(--space-2);
}

.hub-product-card__icon-wrap {
  width: 56px;
  height: 56px;
  border-radius: var(--radius-xl);
  background: var(--slate-100);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: var(--space-3);
  transition:
    background var(--transition-normal),
    transform var(--transition-normal);
  flex-shrink: 0;
}
.hub-product-card__icon {
  width: 28px;
  height: 28px;
  stroke: var(--slate-600);
  stroke-width: 1.75;
  transition: stroke var(--transition-fast);
}

.hub-product-card__name {
  font-size: var(--font-size-xl);
  font-weight: 800;
  color: var(--slate-900);
  transition: color var(--transition-fast);
}

.hub-product-card__tagline {
  font-size: var(--font-size-sm);
  font-weight: 600;
  color: var(--violet-500);
  text-transform: uppercase;
  letter-spacing: 0.06em;
  transition: color var(--transition-fast);
}
.hub-product-card:hover:not(.hub-product-card--soon)
  .hub-product-card__tagline {
  color: rgba(255, 255, 255, 0.8);
}

.hub-product-card__desc {
  font-size: var(--font-size-sm);
  color: var(--slate-600);
  line-height: 1.65;
  flex: 1;
  transition: color var(--transition-fast);
}

.hub-product-card__cta {
  display: inline-flex;
  align-items: center;
  gap: var(--space-1);
  font-size: var(--font-size-sm);
  font-weight: 700;
  color: var(--violet-600);
  margin-top: var(--space-3);
  transition:
    color var(--transition-fast),
    gap var(--transition-fast);
}
.hub-product-card:hover:not(.hub-product-card--soon) .hub-product-card__cta {
  gap: var(--space-2);
}

/* ============================================================
   "EM BREVE" PAGE — o-que-assistir/, lancamentos-jogos/
   ============================================================ */

.page-soon {
  background: var(--slate-50);
}

.soon-main {
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: calc(100vh - 66px);
  padding: var(--space-12) 0;
}

.soon-content {
  text-align: center;
  max-width: 520px;
  margin: 0 auto;
}

.soon-icon-hero {
  width: 96px;
  height: 96px;
  border-radius: var(--radius-3xl);
  background: linear-gradient(135deg, var(--violet-500), var(--cyan-500));
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto var(--space-6);
  box-shadow: var(--shadow-brand);
  animation: float 3s ease-in-out infinite;
}
.soon-icon-hero [data-lucide] {
  width: 48px;
  height: 48px;
  stroke: white;
  stroke-width: 1.5;
}

@keyframes float {
  0%,
  100% {
    transform: translateY(0);
  }
  50% {
    transform: translateY(-10px);
  }
}

.soon-badge {
  display: inline-flex;
  align-items: center;
  gap: var(--space-2);
  padding: var(--space-2) var(--space-5);
  background: var(--violet-50);
  border: 1.5px solid var(--violet-200);
  border-radius: var(--radius-full);
  font-size: var(--font-size-sm);
  font-weight: 700;
  color: var(--violet-600);
  margin-bottom: var(--space-5);
  text-transform: uppercase;
  letter-spacing: 0.06em;
}

.soon-title {
  font-size: var(--font-size-4xl);
  font-weight: 900;
  color: var(--slate-900);
  letter-spacing: -0.02em;
  margin-bottom: var(--space-2);
}

.soon-subtitle {
  font-size: var(--font-size-lg);
  font-weight: 600;
  color: var(--violet-500);
  text-transform: uppercase;
  letter-spacing: 0.06em;
  margin-bottom: var(--space-5);
}

.soon-desc {
  font-size: var(--font-size-base);
  color: var(--slate-600);
  line-height: 1.75;
  margin-bottom: var(--space-6);
}

.soon-features {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: var(--space-3);
  margin-bottom: var(--space-8);
  text-align: left;
  background: white;
  border: 1px solid var(--color-border);
  border-radius: var(--radius-2xl);
  padding: var(--space-6);
  box-shadow: var(--shadow-sm);
}

.soon-features li {
  font-size: var(--font-size-sm);
  color: var(--slate-700);
  font-weight: 500;
}

.soon-actions {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: var(--space-4);
}

/* ============================================================
   ARTIGO / CONTEÚDO SEO
   ============================================================ */

.page-artigo {
  background: var(--slate-50, #f8fafc);
}

.artigo-main {
  padding: var(--space-8) 0 var(--space-16);
}

.artigo-content {
  max-width: 980px;
  margin: 0 auto;
}

.artigo-content h1 {
  font-size: clamp(1.75rem, 4vw, 2.5rem);
  font-weight: 800;
  line-height: 1.2;
  color: var(--slate-900, #0f172a);
  margin-bottom: var(--space-6);
}

.artigo-content h2 {
  margin-top: var(--space-10);
  margin-bottom: var(--space-4);
}
.artigo-content h3 {
  margin-top: var(--space-8);
  margin-bottom: var(--space-3);
}
.artigo-content h4,
.artigo-content h5 {
  margin-top: var(--space-6);
  margin-bottom: var(--space-2);
}
.artigo-content p {
  margin-bottom: var(--space-4);
}
.artigo-content ul,
.artigo-content ol {
  margin-bottom: var(--space-4);
  padding-left: var(--space-6);
}
.artigo-content li {
  margin-bottom: var(--space-2);
  line-height: 1.7;
}
.artigo-content strong {
  font-weight: 600;
  color: var(--slate-900);
}

.artigo-intro {
  font-size: var(--font-size-lg, 1.125rem);
  line-height: 1.75;
  color: var(--slate-600, #475569);
  margin-bottom: var(--space-8);
}

.artigo-intro p {
  margin-bottom: var(--space-4);
}

.artigo-player-cta {
  display: flex;
  justify-content: center;
  margin: var(--space-8) 0;
}

.artigo-player-cta .btn {
  display: inline-flex;
  align-items: center;
  gap: var(--space-2);
  font-size: var(--font-size-base, 1rem);
  padding: var(--space-3) var(--space-6);
}

.artigo-player-cta .btn [data-lucide] {
  width: 20px;
  height: 20px;
}

.artigo-body {
  line-height: 1.8;
  color: var(--slate-700, #334155);
}

.artigo-body h2 {
  font-size: clamp(1.25rem, 3vw, 1.75rem);
  font-weight: 700;
  color: var(--slate-900, #0f172a);
  margin-top: var(--space-10);
  margin-bottom: var(--space-4);
}

.artigo-body h3 {
  font-size: clamp(1.1rem, 2.5vw, 1.35rem);
  font-weight: 600;
  color: var(--slate-800, #1e293b);
  margin-top: var(--space-8);
  margin-bottom: var(--space-3);
}

.artigo-body p {
  margin-bottom: var(--space-4);
}

.artigo-body ul,
.artigo-body ol {
  margin-bottom: var(--space-4);
  padding-left: var(--space-6);
}

.artigo-body li {
  margin-bottom: var(--space-2);
}

.artigo-body strong {
  color: var(--slate-900, #0f172a);
  font-weight: 600;
}

/* FAQ Section */
.faq-section {
  max-width: 720px;
  margin: var(--space-12) auto 0;
  padding-top: var(--space-8);
  border-top: 1px solid var(--color-border, #e2e8f0);
}

.faq-section h2 {
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--slate-900, #0f172a);
  margin-bottom: var(--space-6);
}

.faq-list {
  display: flex;
  flex-direction: column;
  gap: var(--space-3);
}

.faq-item {
  background: white;
  border: 1px solid var(--color-border, #e2e8f0);
  border-radius: var(--radius-xl, 12px);
  overflow: hidden;
  transition: box-shadow 250ms ease;
}

.faq-item[open] {
  box-shadow: var(--shadow-md, 0 4px 6px -1px rgba(0, 0, 0, 0.1));
}

.faq-question {
  display: flex;
  align-items: center;
  padding: var(--space-4) var(--space-5);
  font-weight: 600;
  color: var(--slate-800, #1e293b);
  cursor: pointer;
  list-style: none;
}

.faq-question::-webkit-details-marker {
  display: none;
}

.faq-question::after {
  content: "+";
  margin-left: auto;
  font-size: 1.25rem;
  font-weight: 400;
  color: var(--slate-400, #94a3b8);
  transition: transform 200ms ease;
}

.faq-item[open] .faq-question::after {
  content: "−";
}

.faq-answer {
  padding: 0 var(--space-5) var(--space-4);
  color: var(--slate-600, #475569);
  line-height: 1.7;
}

.faq-answer p {
  margin: 0;
}

/* Related Links */
.related-section {
  max-width: 720px;
  margin: var(--space-10) auto 0;
  padding-top: var(--space-6);
  border-top: 1px solid var(--color-border, #e2e8f0);
}

.related-section h2 {
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--slate-900, #0f172a);
  margin-bottom: var(--space-4);
}

.related-links {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: var(--space-3);
}

.related-links a {
  display: block;
  padding: var(--space-3) var(--space-4);
  background: white;
  border: 1px solid var(--color-border, #e2e8f0);
  border-radius: var(--radius-lg, 8px);
  color: var(--violet-600, #7c3aed);
  font-weight: 500;
  text-decoration: none;
  transition:
    border-color 200ms ease,
    box-shadow 200ms ease;
}

.related-links a:hover {
  border-color: var(--violet-300, #c4b5fd);
  box-shadow: var(--shadow-sm, 0 1px 2px rgba(0, 0, 0, 0.05));
}

/* Back Link */
.artigo-back-link {
  max-width: 720px;
  margin: var(--space-10) auto 0;
  text-align: center;
}

.artigo-back-link a {
  display: inline-flex;
  align-items: center;
  gap: var(--space-2);
  color: var(--slate-500, #64748b);
  font-weight: 500;
  text-decoration: none;
  transition: color 200ms ease;
}

.artigo-back-link a:hover {
  color: var(--violet-600, #7c3aed);
}

.artigo-back-link [data-lucide] {
  width: 16px;
  height: 16px;
}

/* Pillar and Embed styles */
.guia-nav {
  margin: 0 0 var(--space-5);
  padding: var(--space-3) var(--space-4);
  background: var(--violet-50);
  border: 1px solid var(--violet-200);
  border-radius: var(--radius-lg);
}

.guia-nav p {
  margin: 0;
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-2);
  align-items: center;
}

.guia-nav a {
  display: inline-flex;
  align-items: center;
  padding: 0.2rem 0.5rem;
  border-radius: var(--radius-full);
  color: var(--violet-700);
  background: #fff;
  border: 1px solid var(--violet-200);
  transition:
    background var(--transition-fast),
    border-color var(--transition-fast);
  font-size: initial;
}

.guia-nav a:hover {
  background: var(--violet-100);
  border-color: var(--violet-500);
}

.embed-player {
  margin: var(--space-4) 0 var(--space-8);
  padding: var(--space-5);
  background: #fff;
  border: 1px solid var(--color-border);
  border-radius: var(--radius-2xl);
  box-shadow: var(--shadow-sm);
}

.embed-player__header h2 {
  font-size: clamp(1.1rem, 2.4vw, 1.4rem);
  margin-bottom: var(--space-2);
}

.embed-player__header p {
  color: var(--slate-600);
  margin-bottom: var(--space-4);
}

.embed-player__controls {
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-3);
  margin-bottom: var(--space-4);
}

.embed-player__grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(190px, 1fr));
  gap: var(--space-3);
}

.embed-sound-card {
  border: 1px solid var(--color-border);
  border-radius: var(--radius-lg);
  padding: var(--space-3);
  background: var(--slate-50);
}

.embed-sound-card__toggle {
  width: 100%;
  border: 1px solid var(--violet-200);
  border-radius: var(--radius-md);
  background: #fff;
  color: var(--slate-800);
  font-weight: 600;
  padding: var(--space-2) var(--space-3);
}

.embed-sound-card__toggle.is-active,
.embed-sound-card__toggle[aria-pressed="true"] {
  border-color: var(--violet-500);
  color: var(--violet-700);
  background: var(--violet-50);
}

.embed-sound-card__volume {
  margin-top: var(--space-3);
  display: grid;
  grid-template-columns: 1fr auto;
  gap: var(--space-2);
  align-items: center;
}

.embed-sound-card__volume label {
  grid-column: 1 / -1;
  font-size: var(--font-size-sm);
  color: var(--slate-600);
}

.embed-sound-card__volume input[type="range"] {
  width: 100%;
}

.embed-sound-card__value {
  min-width: 2ch;
  text-align: right;
  font-weight: 700;
  color: var(--slate-700);
}

#perfil,
#comparacao {
  margin-top: var(--space-8);
}

#perfil table,
#comparacao table {
  width: 100%;
  border-collapse: collapse;
  border: 1px solid var(--color-border);
  border-radius: var(--radius-lg);
  overflow: hidden;
  background: #fff;
}

#perfil th,
#perfil td,
#comparacao th,
#comparacao td {
  text-align: left;
  padding: var(--space-3);
  border-bottom: 1px solid var(--color-border);
}

#perfil thead th,
#comparacao thead th {
  background: var(--slate-100);
  color: var(--slate-800);
  font-weight: 700;
}

#perfil tbody tr:nth-child(even),
#comparacao tbody tr:nth-child(even) {
  background: var(--slate-50);
}

.safety-block {
  max-width: 720px;
  margin: var(--space-10) auto 0;
  padding: var(--space-5);
  border-radius: var(--radius-xl);
  border: 1px solid var(--violet-300);
  background: var(--violet-100);
}

.safety-block__header {
  display: flex;
  align-items: center;
  gap: var(--space-2);
  margin-bottom: var(--space-3);
}

.safety-block__header h2 {
  font-size: 1.15rem;
  margin: 0;
  color: var(--violet-700);
  font-size: var(--font-size-2xl);
}

.safety-block [data-lucide] {
  width: 18px;
  height: 18px;
  color: var(--violet-500);
}

.safety-block ul {
  margin: 0;
  padding-left: 1.1rem;
  color: var(--violet-700);
  margin: 25px 0;
  line-height: 1rem;
  font-size: 1.1rem;
}
.safety-block__footer {
  margin-top: var(--space-4);
}
.safety-block li + li {
  margin-top: var(--space-2);
}
.safety-block__footer p {
  font-size: var(--font-size-sm);
  color: var(--violet-600);
  line-height: 1.2;
  margin-bottom: 15px;
  text-align: justify;
}
@media (max-width: 768px) {
  .embed-player {
    padding: var(--space-4);
  }

  #perfil,
  #comparacao {
    overflow-x: auto;
  }

  #perfil table,
  #comparacao table {
    min-width: 640px;
  }
}
a.link {
  color: var(--violet-500);
}
a.link::before {
  content: "🠖 ";
  margin-right: 4px;
  color: var(--violet-500);
}

/* ── btn--ghost (complemento do design system) ─────────────── */
.btn--ghost {
  background: transparent;
  color: var(--slate-700);
  border: 2px solid var(--slate-300);
}
.btn--ghost:hover {
  background: var(--slate-100);
  border-color: var(--slate-400);
}

/* ── Stats grid (Seção 5C — Prova Social) ──────────────────── */
.stats-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: var(--space-8);
  text-align: center;
  padding: var(--space-12) 0 0;
  border-top: 1px solid var(--color-border);
}
@media (min-width: 768px) {
  .stats-grid {
    grid-template-columns: repeat(4, 1fr);
  }
}
.stat-item__number {
  font-size: clamp(2rem, 5vw, 3rem);
  font-weight: 900;
  background: var(--gradient-brand);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  line-height: 1;
  margin-bottom: var(--space-2);
}
.stat-item__desc {
  font-size: var(--font-size-sm);
  color: var(--slate-500);
  font-weight: 500;
  line-height: 1.4;
}

.section-brand {
  position: relative;
  overflow: hidden;
  background: var(--gradient-brand);
}
.section-brand:before {
  content: "";
  position: absolute; /* Fixa em relação à .section-brand */
  inset: 0; /* Ocupa 100% da altura e largura da section */
  background-image: url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%23ffffff' fill-opacity='0.06'%3E%3Cpath d='M36 34v-4h-2v4h-4v2h4v4h2v-4h4v-2h-4zm0-30V0h-2v4h-4v2h4v4h2V6h4V4h-4zM6 34v-4H4v4H0v2h4v4h2v-4h4v-2H6zM6 4V0H4v4H0v2h4v4h2V6h4V4H6z'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
  background-repeat: repeat;
  pointer-events: none; /* Permite clicar no conteúdo abaixo dele */
  z-index: 1; /* Fica atrás do conteúdo */
}
.section-brand h2,
.section-brand .section__subtitle {
  color: white !important;
}

.section-brand-slate {
  background: var(--slate-200);
}

.hub-hero__btns {
  display: flex;
  gap: 12px;
  flex-direction: row;
  justify-content: center;
}

@media (max-width: 768px) {
  .hub-hero__btns {
    display: flex;
    gap: 12px;
    flex-direction: column;
    justify-content: center;
  }
}
