/* ============================================================
   ThemePluginsBR — Design System
   ============================================================ */

/* ── Variáveis ─────────────────────────────────────────────── */
:root {
  --primary:        #6366f1;
  --primary-dark:   #4f46e5;
  --primary-light:  #eef2ff;
  --dark:           #0f1629;
  --dark-card:      #1a2340;
  --bg:             #f8f9fc;
  --bg-alt:         #f1f4f9;
  --white:          #ffffff;
  --text:           #1e2347;
  --muted:          #6b7280;
  --border:         #e5e7eb;
  --success:        #10b981;
  --success-dark:   #059669;
  --warning:        #f59e0b;
  --danger:         #ef4444;

  --radius-sm:  6px;
  --radius:     10px;
  --radius-lg:  16px;
  --radius-xl:  24px;

  --shadow-sm:  0 1px 3px rgba(0,0,0,.06), 0 1px 2px rgba(0,0,0,.04);
  --shadow:     0 4px 16px rgba(0,0,0,.08);
  --shadow-lg:  0 10px 40px rgba(0,0,0,.12);
  --shadow-xl:  0 20px 60px rgba(0,0,0,.16);

  --transition: .2s ease;
  --font:       'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
}

/* ── Reset ─────────────────────────────────────────────────── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  font-family: var(--font);
  font-size: 16px;
  line-height: 1.6;
  color: var(--text);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; height: auto; display: block; }
a { color: var(--primary); text-decoration: none; transition: color var(--transition); }
a:hover { color: var(--primary-dark); }
ul { list-style: none; }
input, button, select, textarea { font-family: inherit; }

/* ── Container ─────────────────────────────────────────────── */
.container {
  width: 100%;
  max-width: 1240px;
  margin: 0 auto;
  padding: 0 24px;
}
.container--narrow { max-width: 860px; }
.container--wide   { max-width: 1400px; }

/* ── Tipografia ─────────────────────────────────────────────── */
h1, h2, h3, h4, h5, h6 {
  font-weight: 700;
  line-height: 1.2;
  color: var(--text);
  letter-spacing: -.02em;
}
h1 { font-size: clamp(2rem, 5vw, 3.5rem); }
h2 { font-size: clamp(1.6rem, 3.5vw, 2.4rem); }
h3 { font-size: 1.35rem; }
h4 { font-size: 1.1rem; }
p  { line-height: 1.7; color: var(--muted); }

.section-label {
  display: inline-block;
  font-size: .75rem;
  font-weight: 600;
  letter-spacing: .1em;
  text-transform: uppercase;
  color: var(--primary);
  background: var(--primary-light);
  padding: 4px 12px;
  border-radius: 99px;
  margin-bottom: 16px;
}
.section-title { margin-bottom: 12px; }
.section-subtitle { font-size: 1.05rem; max-width: 540px; }
.section-header { margin-bottom: 48px; }
.section-header--center { text-align: center; }
.section-header--center .section-subtitle { margin: 0 auto; }

/* ── Botões ─────────────────────────────────────────────────── */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 12px 24px;
  border-radius: var(--radius);
  font-size: .9375rem;
  font-weight: 600;
  cursor: pointer;
  border: 2px solid transparent;
  transition: all var(--transition);
  white-space: nowrap;
  text-decoration: none;
  line-height: 1;
}
.btn--primary {
  background: var(--primary);
  color: #fff;
  border-color: var(--primary);
}
.btn--primary:hover {
  background: var(--primary-dark);
  border-color: var(--primary-dark);
  color: #fff;
  transform: translateY(-1px);
  box-shadow: 0 6px 20px rgba(99,102,241,.35);
}
.btn--outline {
  background: transparent;
  color: var(--text);
  border-color: var(--border);
}
.btn--outline:hover {
  border-color: var(--primary);
  color: var(--primary);
}
.btn--ghost {
  background: rgba(255,255,255,.1);
  color: #fff;
  border-color: rgba(255,255,255,.2);
}
.btn--ghost:hover {
  background: rgba(255,255,255,.2);
  color: #fff;
}
.btn--download {
  background: var(--success);
  color: #fff;
  border-color: var(--success);
}
.btn--download:hover {
  background: var(--success-dark);
  border-color: var(--success-dark);
  color: #fff;
  transform: translateY(-1px);
  box-shadow: 0 6px 20px rgba(16,185,129,.3);
}
.btn--lg { padding: 16px 32px; font-size: 1rem; border-radius: var(--radius-lg); }
.btn--sm { padding: 8px 16px; font-size: .85rem; }
.btn--full { width: 100%; justify-content: center; }

/* ── Badges ─────────────────────────────────────────────────── */
.badge {
  display: inline-block;
  padding: 3px 10px;
  border-radius: 99px;
  font-size: .72rem;
  font-weight: 700;
  letter-spacing: .04em;
  text-transform: uppercase;
}
.badge--free    { background: #dcfce7; color: #15803d; }
.badge--premium { background: #ede9fe; color: #6d28d9; }
.badge--sale    { background: #fef3c7; color: #92400e; }
.badge--new     { background: #dbeafe; color: #1d4ed8; }
.badge--sub     { background: var(--primary-light); color: var(--primary-dark); }

/* ── Navbar ─────────────────────────────────────────────────── */
.site-header {
  position: sticky;
  top: 0;
  z-index: 1000;
  background: var(--dark);
  /* backdrop-filter removido: criava stacking context que prendia position:fixed filhos */
  border-bottom: 1px solid rgba(255,255,255,.06);
}
.navbar {
  display: flex;
  align-items: center;
  gap: 32px;
  height: 68px;
}
.navbar__logo {
  flex-shrink: 0;
  text-decoration: none;
}
.navbar__logo-text {
  font-size: 1.25rem;
  font-weight: 800;
  color: #fff;
  letter-spacing: -.03em;
}
.navbar__logo-text span { color: var(--primary); }
.navbar__menu {
  display: flex;
  align-items: center;
  gap: 4px;
  flex: 1;
}
.navbar__menu a {
  color: rgba(255,255,255,.75);
  font-size: .9rem;
  font-weight: 500;
  padding: 6px 12px;
  border-radius: var(--radius-sm);
  transition: all var(--transition);
  text-decoration: none;
}
.navbar__menu a:hover,
.navbar__menu a.active {
  color: #fff;
  background: rgba(255,255,255,.08);
}
.navbar__search {
  flex: 1;
  max-width: 280px;
  position: relative;
}
.navbar__search input {
  width: 100%;
  background: rgba(255,255,255,.07);
  border: 1px solid rgba(255,255,255,.1);
  border-radius: var(--radius);
  padding: 9px 16px 9px 40px;
  color: #fff;
  font-size: .875rem;
  outline: none;
  transition: all var(--transition);
}
.navbar__search input::placeholder { color: rgba(255,255,255,.4); }
.navbar__search input:focus {
  background: rgba(255,255,255,.1);
  border-color: var(--primary);
}
.navbar__search-icon {
  position: absolute;
  left: 12px;
  top: 50%;
  transform: translateY(-50%);
  color: rgba(255,255,255,.4);
  pointer-events: none;
}
.navbar__actions {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-left: auto;
}
.navbar__cart {
  position: relative;
  color: rgba(255,255,255,.75);
  font-size: 1.1rem;
  padding: 6px;
  border-radius: var(--radius-sm);
  transition: color var(--transition);
  text-decoration: none;
}
.navbar__cart:hover { color: #fff; }
.navbar__cart-count {
  position: absolute;
  top: -2px;
  right: -4px;
  background: var(--primary);
  color: #fff;
  font-size: .65rem;
  font-weight: 700;
  min-width: 18px;
  height: 18px;
  border-radius: 99px;
  display: flex;
  align-items: center;
  justify-content: center;
  line-height: 1;
}
.navbar__account {
  font-size: .875rem;
  font-weight: 600;
  color: #fff;
  background: var(--primary);
  padding: 8px 18px;
  border-radius: var(--radius);
  text-decoration: none;
  transition: all var(--transition);
}
.navbar__account:hover {
  background: var(--primary-dark);
  color: #fff;
  transform: translateY(-1px);
}
.navbar__toggle {
  display: none;
  background: none;
  border: none;
  color: #fff;
  font-size: 1.5rem;
  cursor: pointer;
  padding: 4px;
  margin-left: auto;
}
/* Cabeçalho do drawer: oculto no desktop */
.navbar__drawer-head { display: none; }

/* ── Hero ───────────────────────────────────────────────────── */
.hero {
  background: var(--dark);
  padding: 100px 0 80px;
  position: relative;
  overflow: hidden;
}
.hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse 80% 60% at 20% 50%, rgba(99,102,241,.15) 0%, transparent 70%),
    radial-gradient(ellipse 60% 50% at 80% 50%, rgba(79,70,229,.1) 0%, transparent 70%);
  pointer-events: none;
}
.hero__grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 64px;
  align-items: center;
  position: relative;
  z-index: 1;
}
.hero__label {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(99,102,241,.15);
  border: 1px solid rgba(99,102,241,.3);
  color: #a5b4fc;
  font-size: .8rem;
  font-weight: 600;
  padding: 6px 14px;
  border-radius: 99px;
  margin-bottom: 24px;
  letter-spacing: .05em;
  text-transform: uppercase;
}
.hero__title {
  font-size: clamp(2.2rem, 4vw, 3.4rem);
  font-weight: 800;
  color: #fff;
  line-height: 1.1;
  margin-bottom: 20px;
  letter-spacing: -.03em;
}
.hero__title span { color: var(--primary); }
.hero__subtitle {
  font-size: 1.1rem;
  color: rgba(255,255,255,.65);
  line-height: 1.7;
  margin-bottom: 36px;
  max-width: 480px;
}
.hero__actions {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
}
.hero__visual {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}
.hero__card {
  background: rgba(255,255,255,.05);
  border: 1px solid rgba(255,255,255,.08);
  border-radius: var(--radius-lg);
  padding: 20px;
  transition: all var(--transition);
}
.hero__card:hover {
  background: rgba(255,255,255,.08);
  border-color: rgba(99,102,241,.4);
  transform: translateY(-3px);
}
.hero__card-icon {
  width: 44px;
  height: 44px;
  background: var(--primary);
  border-radius: var(--radius);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.2rem;
  margin-bottom: 12px;
}
.hero__card-name {
  font-size: .875rem;
  font-weight: 600;
  color: #fff;
  margin-bottom: 4px;
}
.hero__card-type {
  font-size: .75rem;
  color: rgba(255,255,255,.45);
}
.hero__card--wide {
  grid-column: 1 / -1;
  display: flex;
  align-items: center;
  gap: 16px;
}

/* ── Stats Bar ──────────────────────────────────────────────── */
.stats-bar {
  background: var(--white);
  border-bottom: 1px solid var(--border);
  padding: 28px 0;
}
.stats-bar__grid {
  display: flex;
  justify-content: center;
  gap: 0;
  flex-wrap: wrap;
}
.stats-bar__item {
  flex: 1;
  min-width: 150px;
  text-align: center;
  padding: 16px 32px;
  border-right: 1px solid var(--border);
}
.stats-bar__item:last-child { border-right: none; }
.stats-bar__number {
  font-size: 2rem;
  font-weight: 800;
  color: var(--primary);
  line-height: 1;
  margin-bottom: 4px;
  letter-spacing: -.03em;
}
.stats-bar__label {
  font-size: .8rem;
  color: var(--muted);
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: .06em;
}

/* ── Seções genéricas ───────────────────────────────────────── */
.section { padding: 80px 0; }
.section--alt { background: var(--bg-alt); }
.section--dark {
  background: var(--dark);
  color: #fff;
}
.section--dark h2,
.section--dark h3 { color: #fff; }
.section--dark p   { color: rgba(255,255,255,.6); }
.section--dark .section-label {
  background: rgba(99,102,241,.2);
  color: #a5b4fc;
}

/* ── Grid de produtos ───────────────────────────────────────── */
.products-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

/* ── Card de produto ────────────────────────────────────────── */
.product-card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  overflow: hidden;
  transition: all var(--transition);
  display: flex;
  flex-direction: column;
}
.product-card:hover {
  border-color: var(--primary);
  box-shadow: var(--shadow-lg);
  transform: translateY(-4px);
}
.product-card__thumb {
  position: relative;
  aspect-ratio: 16/9;
  background: var(--bg-alt);
  overflow: hidden;
}
.product-card__thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform .3s ease;
}
.product-card:hover .product-card__thumb img {
  transform: scale(1.04);
}
.product-card__thumb-placeholder {
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 3rem;
  background: linear-gradient(135deg, var(--primary-light), #ddd6fe);
}
.product-card__badge {
  position: absolute;
  top: 12px;
  left: 12px;
}
.product-card__body {
  padding: 20px;
  flex: 1;
  display: flex;
  flex-direction: column;
}
.product-card__cat {
  font-size: .72rem;
  font-weight: 600;
  color: var(--primary);
  text-transform: uppercase;
  letter-spacing: .08em;
  margin-bottom: 6px;
}
.product-card__title {
  font-size: 1rem;
  font-weight: 700;
  color: var(--text);
  margin-bottom: 8px;
  line-height: 1.3;
}
.product-card__title a { color: inherit; text-decoration: none; }
.product-card__title a:hover { color: var(--primary); }
.product-card__excerpt {
  font-size: .85rem;
  color: var(--muted);
  line-height: 1.5;
  margin-bottom: 16px;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  flex: 1;
}
.product-card__footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  border-top: 1px solid var(--border);
  padding-top: 16px;
  margin-top: auto;
}
.product-card__price {
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--text);
}
.product-card__price .price-free { color: var(--success); }
.product-card__price ins { text-decoration: none; }
.product-card__price del { color: var(--muted); font-size: .85rem; }

/* ── How it works ───────────────────────────────────────────── */
.how-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 32px;
}
.how-item {
  text-align: center;
  padding: 40px 24px;
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  position: relative;
  transition: all var(--transition);
}
.how-item:hover {
  border-color: var(--primary);
  box-shadow: var(--shadow);
  transform: translateY(-3px);
}
.how-item__step {
  position: absolute;
  top: -16px;
  left: 50%;
  transform: translateX(-50%);
  background: var(--primary);
  color: #fff;
  width: 32px;
  height: 32px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: .8rem;
  font-weight: 700;
}
.how-item__icon {
  font-size: 2.5rem;
  margin-bottom: 20px;
}
.how-item h3 { margin-bottom: 10px; font-size: 1.1rem; }

/* ── Planos ─────────────────────────────────────────────────── */
.plans-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  align-items: start;
}
.plan-card {
  background: var(--white);
  border: 2px solid var(--border);
  border-radius: var(--radius-xl);
  padding: 36px 32px;
  position: relative;
  transition: all var(--transition);
}
.plan-card:hover {
  border-color: var(--primary);
  box-shadow: var(--shadow-lg);
}
.plan-card--featured {
  border-color: var(--primary);
  background: var(--dark);
  color: #fff;
  transform: scale(1.04);
}
.plan-card--featured h2,
.plan-card--featured h3,
.plan-card--featured p { color: #fff; }
.plan-card--featured p { color: rgba(255,255,255,.65); }
.plan-badge {
  position: absolute;
  top: -14px;
  left: 50%;
  transform: translateX(-50%);
  background: var(--primary);
  color: #fff;
  font-size: .75rem;
  font-weight: 700;
  padding: 5px 16px;
  border-radius: 99px;
  white-space: nowrap;
  letter-spacing: .05em;
  text-transform: uppercase;
}
.plan-card__name {
  font-size: .8rem;
  font-weight: 700;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: var(--primary);
  margin-bottom: 12px;
}
.plan-card--featured .plan-card__name { color: #a5b4fc; }
.plan-card__price {
  font-size: 3rem;
  font-weight: 800;
  color: var(--text);
  line-height: 1;
  letter-spacing: -.04em;
  margin-bottom: 4px;
}
.plan-card--featured .plan-card__price { color: #fff; }
.plan-card__price sup { font-size: 1.2rem; vertical-align: super; }
.plan-card__period {
  font-size: .85rem;
  color: var(--muted);
  margin-bottom: 24px;
}
.plan-card__divider {
  border: none;
  border-top: 1px solid var(--border);
  margin: 24px 0;
}
.plan-card--featured .plan-card__divider { border-color: rgba(255,255,255,.1); }
.plan-features { display: flex; flex-direction: column; gap: 12px; margin-bottom: 28px; }
.plan-feature {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  font-size: .9rem;
  color: var(--text);
}
.plan-card--featured .plan-feature { color: rgba(255,255,255,.85); }
.plan-feature__check {
  color: var(--success);
  font-size: 1rem;
  flex-shrink: 0;
  margin-top: 1px;
}

/* ── Categorias ─────────────────────────────────────────────── */
.cat-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
}
.cat-card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius-xl);
  padding: 40px;
  display: flex;
  align-items: center;
  gap: 28px;
  transition: all var(--transition);
  text-decoration: none;
}
.cat-card:hover {
  border-color: var(--primary);
  box-shadow: var(--shadow-lg);
  transform: translateY(-3px);
}
.cat-card__icon {
  width: 72px;
  height: 72px;
  border-radius: var(--radius-lg);
  background: var(--primary-light);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 2rem;
  flex-shrink: 0;
}
.cat-card__title {
  font-size: 1.3rem;
  font-weight: 700;
  color: var(--text);
  margin-bottom: 4px;
}
.cat-card__count {
  font-size: .875rem;
  color: var(--muted);
}
.cat-card__arrow {
  margin-left: auto;
  color: var(--muted);
  font-size: 1.4rem;
  transition: transform var(--transition);
}
.cat-card:hover .cat-card__arrow {
  transform: translateX(4px);
  color: var(--primary);
}

/* ── Loja (archive) ─────────────────────────────────────────── */
.shop-layout {
  display: grid;
  grid-template-columns: 260px 1fr;
  gap: 32px;
  align-items: start;
}
.shop-sidebar {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 24px;
  position: sticky;
  top: 88px;
}
.shop-sidebar__title {
  font-size: .8rem;
  font-weight: 700;
  letter-spacing: .1em;
  text-transform: uppercase;
  color: var(--muted);
  margin-bottom: 16px;
}
.shop-filter { margin-bottom: 28px; }
.shop-filter a {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 8px 10px;
  border-radius: var(--radius-sm);
  font-size: .875rem;
  color: var(--text);
  text-decoration: none;
  transition: all var(--transition);
}
.shop-filter a:hover,
.shop-filter a.current { background: var(--primary-light); color: var(--primary); }
.shop-filter a .count {
  font-size: .75rem;
  color: var(--muted);
  background: var(--bg-alt);
  padding: 2px 8px;
  border-radius: 99px;
}
.shop-main { min-width: 0; }
.shop-toolbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 24px;
  gap: 16px;
  flex-wrap: wrap;
}
.shop-toolbar__count { font-size: .875rem; color: var(--muted); }
.shop-toolbar__sort select {
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  padding: 8px 12px;
  font-size: .875rem;
  background: var(--white);
  outline: none;
  cursor: pointer;
}

/* ── Produto single ─────────────────────────────────────────── */
.product-single {
  display: grid;
  grid-template-columns: 1fr 340px;
  gap: 40px;
  align-items: start;
}
.product-single__main { min-width: 0; }
.product-single__header {
  display: flex;
  align-items: flex-start;
  gap: 20px;
  margin-bottom: 28px;
}
.product-single__icon {
  width: 80px;
  height: 80px;
  border-radius: var(--radius-lg);
  background: var(--primary-light);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 2.5rem;
  flex-shrink: 0;
  overflow: hidden;
}
.product-single__icon img { width: 100%; height: 100%; object-fit: cover; }
.product-single__meta { flex: 1; }
.product-single__cat {
  font-size: .75rem;
  font-weight: 600;
  color: var(--primary);
  text-transform: uppercase;
  letter-spacing: .08em;
  margin-bottom: 6px;
}
.product-single__title {
  font-size: 1.8rem;
  margin-bottom: 10px;
}
.product-single__tags { display: flex; gap: 8px; flex-wrap: wrap; }
.product-single__tag {
  font-size: .75rem;
  color: var(--muted);
  background: var(--bg-alt);
  padding: 3px 10px;
  border-radius: 99px;
  border: 1px solid var(--border);
}

/* Tabs do produto */
.product-tabs {
  border-bottom: 2px solid var(--border);
  display: flex;
  gap: 0;
  margin-bottom: 32px;
}
.product-tab {
  padding: 12px 20px;
  font-size: .9rem;
  font-weight: 600;
  color: var(--muted);
  cursor: pointer;
  border-bottom: 2px solid transparent;
  margin-bottom: -2px;
  transition: all var(--transition);
  background: none;
  border-top: none;
  border-left: none;
  border-right: none;
}
.product-tab:hover { color: var(--text); }
.product-tab.active { color: var(--primary); border-bottom-color: var(--primary); }
.product-tab-content { display: none; }
.product-tab-content.active { display: block; }
.product-tab-content p { color: var(--muted); margin-bottom: 16px; }

/* Sidebar do produto */
.product-sidebar {
  position: sticky;
  top: 88px;
}
.product-sidebar__card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 28px;
}
.product-sidebar__price {
  font-size: 2rem;
  font-weight: 800;
  color: var(--text);
  margin-bottom: 20px;
  letter-spacing: -.03em;
}
.product-sidebar__price .price-free { color: var(--success); }
.product-sidebar__actions { display: flex; flex-direction: column; gap: 10px; margin-bottom: 24px; }
.product-sidebar__info { display: flex; flex-direction: column; gap: 12px; }
.product-info-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: .85rem;
  padding-bottom: 12px;
  border-bottom: 1px solid var(--border);
}
.product-info-row:last-child { border-bottom: none; padding-bottom: 0; }
.product-info-row__label { color: var(--muted); }
.product-info-row__value { font-weight: 600; color: var(--text); }
.product-sidebar__subscribe {
  text-align: center;
  padding-top: 20px;
  border-top: 1px solid var(--border);
  margin-top: 20px;
  font-size: .85rem;
  color: var(--muted);
}
.product-sidebar__subscribe a { color: var(--primary); font-weight: 600; }

/* ── Biblioteca ─────────────────────────────────────────────── */
.biblioteca-header {
  background: var(--dark);
  padding: 60px 0 48px;
  margin-bottom: 48px;
}
.biblioteca-header h1 { color: #fff; }
.biblioteca-header p   { color: rgba(255,255,255,.6); }
.biblioteca-filters {
  display: flex;
  gap: 8px;
  margin-bottom: 32px;
  flex-wrap: wrap;
}
.biblioteca-filter {
  padding: 8px 18px;
  border-radius: 99px;
  font-size: .875rem;
  font-weight: 600;
  border: 1px solid var(--border);
  background: var(--white);
  color: var(--muted);
  cursor: pointer;
  transition: all var(--transition);
}
.biblioteca-filter:hover,
.biblioteca-filter.active {
  background: var(--primary);
  color: #fff;
  border-color: var(--primary);
}
.biblioteca-search {
  position: relative;
  max-width: 400px;
  margin-bottom: 32px;
}
.biblioteca-search input {
  width: 100%;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 10px 16px 10px 44px;
  font-size: .9rem;
  outline: none;
  background: var(--white);
  transition: border-color var(--transition);
}
.biblioteca-search input:focus { border-color: var(--primary); }
.biblioteca-search__icon {
  position: absolute;
  left: 14px;
  top: 50%;
  transform: translateY(-50%);
  color: var(--muted);
}
.biblioteca-empty {
  text-align: center;
  padding: 80px 24px;
}
.biblioteca-empty__icon { font-size: 4rem; margin-bottom: 16px; }
.biblioteca-empty h3 { margin-bottom: 8px; }
.biblioteca-empty .btn { margin-top: 24px; }

/* ── Footer ─────────────────────────────────────────────────── */
.site-footer {
  background: var(--dark);
  color: rgba(255,255,255,.7);
  padding: 64px 0 0;
}
.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 40px;
  margin-bottom: 48px;
}
.footer-brand__logo {
  font-size: 1.25rem;
  font-weight: 800;
  color: #fff;
  letter-spacing: -.03em;
  margin-bottom: 14px;
}
.footer-brand__logo span { color: var(--primary); }
.footer-brand p {
  font-size: .875rem;
  line-height: 1.7;
  color: rgba(255,255,255,.5);
  margin-bottom: 20px;
}
.footer-socials {
  display: flex;
  gap: 12px;
}
.footer-social {
  width: 38px;
  height: 38px;
  background: rgba(255,255,255,.07);
  border-radius: var(--radius-sm);
  display: flex;
  align-items: center;
  justify-content: center;
  color: rgba(255,255,255,.5);
  text-decoration: none;
  font-size: 1rem;
  transition: all var(--transition);
}
.footer-social:hover {
  background: var(--primary);
  color: #fff;
}
.footer-col h4 {
  font-size: .8rem;
  font-weight: 700;
  letter-spacing: .1em;
  text-transform: uppercase;
  color: rgba(255,255,255,.4);
  margin-bottom: 16px;
}
.footer-col ul { display: flex; flex-direction: column; gap: 10px; }
.footer-col a {
  font-size: .875rem;
  color: rgba(255,255,255,.55);
  text-decoration: none;
  transition: color var(--transition);
}
.footer-col a:hover { color: #fff; }
.footer-bottom {
  border-top: 1px solid rgba(255,255,255,.06);
  padding: 20px 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  flex-wrap: wrap;
}
.footer-bottom p {
  font-size: .8rem;
  color: rgba(255,255,255,.35);
  margin: 0;
}
.footer-bottom a { color: rgba(255,255,255,.5); text-decoration: none; }
.footer-bottom a:hover { color: #fff; }

/* ── Alertas / Notices ──────────────────────────────────────── */
.notice {
  padding: 16px 20px;
  border-radius: var(--radius);
  font-size: .9rem;
  margin-bottom: 20px;
  border-left: 4px solid;
}
.notice--info    { background: #eff6ff; border-color: #3b82f6; color: #1d4ed8; }
.notice--success { background: #f0fdf4; border-color: var(--success); color: #166534; }
.notice--warning { background: #fffbeb; border-color: var(--warning); color: #92400e; }

/* ── Paginação ──────────────────────────────────────────────── */
.pagination {
  display: flex;
  justify-content: center;
  gap: 6px;
  margin-top: 48px;
}
.pagination a,
.pagination span {
  width: 40px;
  height: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: var(--radius-sm);
  font-size: .875rem;
  font-weight: 600;
  border: 1px solid var(--border);
  background: var(--white);
  color: var(--text);
  text-decoration: none;
  transition: all var(--transition);
}
.pagination a:hover,
.pagination span.current {
  background: var(--primary);
  color: #fff;
  border-color: var(--primary);
}

/* ── Utilities ──────────────────────────────────────────────── */
.text-center { text-align: center; }
.text-muted   { color: var(--muted); }
.mt-8  { margin-top: 8px; }
.mt-16 { margin-top: 16px; }
.mt-24 { margin-top: 24px; }
.mt-32 { margin-top: 32px; }
.mb-8  { margin-bottom: 8px; }
.mb-16 { margin-bottom: 16px; }
.mb-24 { margin-bottom: 24px; }
.mb-48 { margin-bottom: 48px; }
.flex   { display: flex; }
.flex-center { display: flex; align-items: center; justify-content: center; }
.gap-8  { gap: 8px; }
.gap-16 { gap: 16px; }
.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0,0,0,0);
  border: 0;
}

/* ── Responsivo ─────────────────────────────────────────────── */
@media (max-width: 1024px) {
  .hero__grid       { grid-template-columns: 1fr; gap: 40px; }
  .hero__visual     { display: none; }
  .products-grid    { grid-template-columns: repeat(2, 1fr); }
  .plans-grid       { grid-template-columns: 1fr; }
  .plan-card--featured { transform: none; }
  .footer-grid      { grid-template-columns: 1fr 1fr; }
  .product-single   { grid-template-columns: 1fr; }
  .product-sidebar  { position: static; }
  .shop-layout      { grid-template-columns: 1fr; }
  .shop-sidebar     { position: static; }
}
/* ── Overlay do menu mobile ─────────────────────────────────── */
.navbar__overlay {
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,.55);
  z-index: 1040;
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transition: opacity .3s ease, visibility .3s ease;
}
.navbar__overlay.open {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
}

@media (max-width: 768px) {
  /* Drawer lateral */
  .navbar__menu {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 4px;
    position: fixed;
    top: 0;
    right: 0;
    bottom: 0;
    width: 280px;
    background: var(--dark-card);
    padding: 80px 20px 40px;
    z-index: 1050;
    transform: translateX(100%);
    transition: transform .3s cubic-bezier(.4,0,.2,1);
    box-shadow: -8px 0 40px rgba(0,0,0,.5);
    overflow-y: auto;
  }
  .navbar__menu.open {
    transform: translateX(0);
  }
  .navbar__menu li { width: 100%; }
  .navbar__menu a {
    display: block;
    padding: 12px 16px;
    font-size: 1rem;
    border-radius: var(--radius);
    width: 100%;
    color: rgba(255,255,255,.8);
  }
  .navbar__menu a:hover,
  .navbar__menu a.active {
    background: rgba(255,255,255,.08);
    color: #fff;
  }
  /* Cabeçalho dentro do drawer (logo + botão X) */
  .navbar__drawer-head {
    display: flex !important;
    align-items: center;
    justify-content: space-between;
    width: 100%;
    padding-bottom: 20px;
    margin-bottom: 8px;
    border-bottom: 1px solid rgba(255,255,255,.1);
    list-style: none;
  }
  .navbar__drawer-logo {
    font-size: 1.1rem;
    font-weight: 800;
    color: #fff;
    letter-spacing: -.03em;
  }
  .navbar__drawer-logo span { color: var(--primary); }
  .navbar__drawer-close {
    background: rgba(255,255,255,.1);
    border: none;
    color: #fff;
    width: 36px;
    height: 36px;
    border-radius: 50%;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: background .2s ease;
    flex-shrink: 0;
  }
  .navbar__drawer-close:hover { background: rgba(255,255,255,.2); }
  /* Toggle: só hamburger */
  .navbar__toggle { display: flex; align-items: center; justify-content: center; }

  .navbar__search   { display: none; }
  .hero             { padding: 60px 0 48px; }
  .products-grid    { grid-template-columns: 1fr; }
  .how-grid         { grid-template-columns: 1fr; }
  .cat-grid         { grid-template-columns: 1fr; }
  .stats-bar__item  { min-width: calc(50% - 1px); }
  .footer-grid      { grid-template-columns: 1fr; }
  .section          { padding: 56px 0; }
}
@media (max-width: 480px) {
  .hero__actions    { flex-direction: column; }
  .hero__actions .btn { width: 100%; justify-content: center; }
  .plans-grid       { gap: 16px; }
  .plan-card        { padding: 28px 20px; }
}
@media (max-width: 480px) {
  .hero__actions    { flex-direction: column; }
  .hero__actions .btn { width: 100%; justify-content: center; }
  .plans-grid       { gap: 16px; }
  .plan-card        { padding: 28px 20px; }
}
