/* ============================================================
   ControleAnsiedade — design system v2
   ============================================================ */

/* --- Variables (light) --- */
:root {
  --bg:          #fafaf8;
  --bg-alt:      #f3f2ef;
  --surface:     #ffffff;
  --surface-2:   #f7f6f3;
  --border:      #e8e6e1;
  --border-2:    #d4d2cb;
  --primary:     #5b21b6;
  --primary-h:   #4c1d95;
  --primary-l:   #ede9fe;
  --primary-m:   #c4b5fd;
  --accent:      #7c3aed;
  --text:        #1c1917;
  --text-2:      #44403c;
  --text-3:      #78716c;
  --text-4:      #a8a29e;
  --tag-bg:      #f5f3ff;
  --tag-fg:      #5b21b6;

  --font-body:   'Inter', system-ui, sans-serif;
  --font-head:   'Fraunces', Georgia, serif;
  --r:           12px;
  --r-lg:        20px;
  --max:         1120px;
  --max-article: 740px;
  --shadow:      0 1px 3px rgba(0,0,0,.06), 0 4px 16px rgba(0,0,0,.04);
  --shadow-h:    0 2px 8px rgba(0,0,0,.08), 0 8px 32px rgba(0,0,0,.08);
  --transition:  .18s ease;
}

/* --- Dark mode --- */
[data-theme="dark"] {
  --bg:        #0d0d12;
  --bg-alt:    #14141c;
  --surface:   #1a1a26;
  --surface-2: #20202e;
  --border:    #2a2a3c;
  --border-2:  #363650;
  --primary:   #a78bfa;
  --primary-h: #c4b5fd;
  --primary-l: #1e1533;
  --primary-m: #4c1d95;
  --accent:    #a78bfa;
  --text:      #f1f0ee;
  --text-2:    #c8c4be;
  --text-3:    #8b8680;
  --text-4:    #5c5752;
  --tag-bg:    #1e1533;
  --tag-fg:    #c4b5fd;
  --shadow:    0 1px 3px rgba(0,0,0,.3), 0 4px 16px rgba(0,0,0,.2);
  --shadow-h:  0 2px 8px rgba(0,0,0,.4), 0 8px 32px rgba(0,0,0,.3);
}

/* --- Reset --- */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; font-size: 16px; }
body {
  font-family: var(--font-body);
  background: var(--bg);
  color: var(--text);
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  transition: background var(--transition), color var(--transition);
}
img { max-width: 100%; display: block; }
a   { color: inherit; text-decoration: none; }

/* --- Google Fonts import (in head via link tag) --- */

/* --- Layout --- */
.container {
  max-width: var(--max);
  margin-inline: auto;
  padding-inline: 1.5rem;
}

/* ============================================================
   HEADER
   ============================================================ */
.site-header {
  position: sticky;
  top: 0;
  z-index: 200;
  background: color-mix(in srgb, var(--bg) 85%, transparent);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--border);
}
.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-block: .9rem;
  gap: 1rem;
}
.logo {
  display: flex;
  align-items: center;
  gap: .5rem;
  font-family: var(--font-head);
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--text);
  flex-shrink: 0;
}
.logo em { color: var(--primary); font-style: normal; }

.main-nav {
  display: flex;
  align-items: center;
  gap: 1.75rem;
  font-size: .875rem;
  font-weight: 500;
}
.main-nav a { color: var(--text-2); transition: color var(--transition); }
.main-nav a:hover { color: var(--primary); }

.nav-right { display: flex; align-items: center; gap: .75rem; }

/* theme toggle */
.theme-btn {
  width: 36px; height: 36px;
  border: 1px solid var(--border);
  border-radius: 50%;
  background: var(--surface);
  cursor: pointer;
  display: flex; align-items: center; justify-content: center;
  font-size: 1rem;
  transition: background var(--transition), border-color var(--transition);
  flex-shrink: 0;
}
.theme-btn:hover { border-color: var(--primary-m); background: var(--primary-l); }
.icon-moon { display: block; }
.icon-sun  { display: none; }
[data-theme="dark"] .icon-moon { display: none; }
[data-theme="dark"] .icon-sun  { display: block; }

/* cta pill */
.btn-nav {
  background: var(--primary) !important;
  color: #fff !important;
  padding: .45rem 1.1rem;
  border-radius: 2rem;
  font-size: .85rem;
  font-weight: 600;
  transition: background var(--transition) !important;
  white-space: nowrap;
}
.btn-nav:hover { background: var(--primary-h) !important; }

/* mobile */
.menu-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 4px;
}
.menu-toggle span {
  display: block; width: 22px; height: 2px;
  background: var(--text-2); border-radius: 2px;
  transition: background var(--transition);
}

@media (max-width: 700px) {
  .menu-toggle { display: flex; }
  .main-nav {
    position: absolute;
    top: 100%; left: 0; right: 0;
    background: var(--surface);
    flex-direction: column;
    align-items: flex-start;
    padding: 0 1.5rem;
    border-bottom: 1px solid var(--border);
    gap: 1.1rem;
    box-shadow: var(--shadow);
    /* smooth slide */
    max-height: 0;
    overflow: hidden;
    opacity: 0;
    transform: translateY(-6px);
    transition: max-height .3s ease, opacity .25s ease, transform .25s ease, padding .3s ease;
  }
  .main-nav.open {
    max-height: 320px;
    opacity: 1;
    transform: translateY(0);
    padding: 1rem 1.5rem 1.5rem;
  }
}

/* ============================================================
   BUTTONS
   ============================================================ */
.btn {
  display: inline-block;
  font-weight: 600;
  font-size: .95rem;
  padding: .75rem 1.75rem;
  border-radius: var(--r);
  transition: background var(--transition), border-color var(--transition), transform .1s;
  cursor: pointer;
  white-space: nowrap;
}
.btn:active { transform: scale(.98); }
.btn-primary { background: var(--primary); color: #fff; }
.btn-primary:hover { background: var(--primary-h); }
.btn-ghost {
  border: 1.5px solid var(--border-2);
  color: var(--text-2);
  background: transparent;
}
.btn-ghost:hover { border-color: var(--primary); color: var(--primary); }

/* ============================================================
   HERO
   ============================================================ */
.hero {
  padding: 5rem 1.5rem 4rem;
  overflow: hidden;
  position: relative;
}
.hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse 80% 60% at 50% -10%, var(--primary-l) 0%, transparent 70%);
  pointer-events: none;
}
[data-theme="dark"] .hero::before {
  background: radial-gradient(ellipse 80% 60% at 50% -10%, rgba(91,33,182,.25) 0%, transparent 70%);
}
.hero-inner {
  max-width: 820px;
  margin: 0 auto;
  text-align: center;
  position: relative;
}
.hero-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: .5rem;
  font-size: .8rem;
  font-weight: 600;
  letter-spacing: .07em;
  text-transform: uppercase;
  color: var(--primary);
  margin-bottom: 1.5rem;
}
.hero h1 {
  font-family: var(--font-head);
  font-size: clamp(2.2rem, 6vw, 3.6rem);
  font-weight: 700;
  color: var(--text);
  line-height: 1.15;
  margin-bottom: 1.25rem;
  letter-spacing: -.02em;
}
.hero h1 em { color: var(--primary); font-style: normal; }
.hero-lead {
  font-size: 1.1rem;
  color: var(--text-3);
  max-width: 580px;
  margin: 0 auto 2.5rem;
  line-height: 1.7;
}
.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  justify-content: center;
}

/* hero image */
.hero-image {
  margin: 3rem auto 0;
  max-width: 680px;
  border-radius: var(--r-lg);
  overflow: hidden;
  border: 1px solid var(--border);
  box-shadow: var(--shadow-h);
  aspect-ratio: 16/7;
  background: var(--surface-2);
}
.hero-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: var(--img-filter, none);
}
[data-theme="dark"] { --img-filter: brightness(.88) contrast(1.05); }

/* ============================================================
   STATS
   ============================================================ */
.stats-bar {
  background: var(--primary);
  padding: 2.5rem 1.5rem;
}
.stats-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1rem;
  text-align: center;
  color: #fff;
  max-width: var(--max);
  margin: 0 auto;
}
.stats-grid strong { display: block; font-size: 2.2rem; font-weight: 700; font-family: var(--font-head); }
.stats-grid span   { font-size: .8rem; opacity: .75; margin-top: .25rem; display: block; }

/* ============================================================
   SECTIONS
   ============================================================ */
.section { padding: 5rem 1.5rem; }
.section-alt { background: var(--bg-alt); }
.section-center { text-align: center; }

.section-label {
  font-size: .75rem;
  font-weight: 700;
  letter-spacing: .1em;
  text-transform: uppercase;
  color: var(--primary);
  margin-bottom: .75rem;
}
.section-title {
  font-family: var(--font-head);
  font-size: clamp(1.5rem, 3vw, 2rem);
  font-weight: 700;
  color: var(--text);
  letter-spacing: -.02em;
  margin-bottom: .6rem;
}
.section-sub {
  color: var(--text-3);
  font-size: 1rem;
  margin-bottom: 2.5rem;
  max-width: 560px;
}
.section-center .section-sub { margin-inline: auto; }

.section-header-row {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  margin-bottom: 2.5rem;
  gap: 1rem;
}
.link-more {
  font-size: .875rem;
  font-weight: 600;
  color: var(--primary);
  white-space: nowrap;
  flex-shrink: 0;
}
.link-more:hover { text-decoration: underline; }

/* ============================================================
   CARDS
   ============================================================ */
.card-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
  gap: 1.5rem;
}
.card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--r-lg);
  overflow: hidden;
  transition: box-shadow var(--transition), border-color var(--transition), transform .15s;
  display: flex;
  flex-direction: column;
}
.card:hover {
  box-shadow: var(--shadow-h);
  border-color: var(--primary-m);
  transform: translateY(-2px);
}
.card-image {
  aspect-ratio: 16/9;
  background: var(--surface-2);
  overflow: hidden;
  flex-shrink: 0;
}
.card-image img {
  width: 100%; height: 100%;
  object-fit: cover;
  transition: transform .4s ease;
  filter: var(--img-filter, none);
}
.card:hover .card-image img { transform: scale(1.04); }

.card-body { padding: 1.25rem 1.4rem 1.4rem; display: flex; flex-direction: column; flex: 1; }
.card-meta { display: flex; align-items: center; gap: .6rem; margin-bottom: .75rem; }
.card-title {
  font-family: var(--font-head);
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--text);
  line-height: 1.3;
  margin-bottom: .5rem;
  transition: color var(--transition);
}
.card:hover .card-title { color: var(--primary); }
.card-excerpt {
  font-size: .875rem;
  color: var(--text-3);
  line-height: 1.6;
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
  flex: 1;
}
.card-link {
  display: inline-block;
  margin-top: 1rem;
  font-size: .825rem;
  font-weight: 600;
  color: var(--primary);
  transition: color var(--transition);
}
.card:hover .card-link { color: var(--primary-h); }

/* ============================================================
   TAGS & BADGES
   ============================================================ */
.tag {
  display: inline-block;
  font-size: .7rem;
  font-weight: 700;
  letter-spacing: .04em;
  text-transform: uppercase;
  padding: .25rem .65rem;
  border-radius: 2rem;
  background: var(--tag-bg);
  color: var(--tag-fg);
}
.tag-pr-tica, .tag-prática { background: #dbeafe; color: #1e40af; }
.tag-espiritual             { background: #fef3c7; color: #92400e; }
.tag-testemunho             { background: #fce7f3; color: #9d174d; }
.tag-ci-ncia, .tag-ciência  { background: #dcfce7; color: #166534; }
[data-theme="dark"] .tag-pr-tica, [data-theme="dark"] .tag-prática { background: #1e3a5f; color: #93c5fd; }
[data-theme="dark"] .tag-espiritual { background: #3b2810; color: #fcd34d; }
[data-theme="dark"] .tag-testemunho { background: #3b1a28; color: #f9a8d4; }
[data-theme="dark"] .tag-ci-ncia, [data-theme="dark"] .tag-ciência  { background: #14301f; color: #86efac; }

.read-time { font-size: .75rem; color: var(--text-4); }

/* ============================================================
   FILTER BAR
   ============================================================ */
.filter-bar { display: flex; flex-wrap: wrap; gap: .5rem; margin-bottom: 2.5rem; }
.filter-btn {
  padding: .4rem 1rem;
  border: 1.5px solid var(--border);
  border-radius: 2rem;
  font-size: .825rem;
  font-weight: 500;
  color: var(--text-3);
  background: var(--surface);
  cursor: pointer;
  transition: all var(--transition);
}
.filter-btn:hover { border-color: var(--primary-m); color: var(--primary); }
.filter-btn.active { background: var(--primary); color: #fff; border-color: var(--primary); }

/* ============================================================
   HOTMART CTA
   ============================================================ */
.hotmart-cta {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 1.5rem;
  background: linear-gradient(135deg, var(--primary-l) 0%, var(--bg-alt) 100%);
  border: 1px solid var(--primary-m);
  border-radius: var(--r-lg);
  padding: 1.75rem;
  margin: 2.5rem 0;
}
[data-theme="dark"] .hotmart-cta {
  background: linear-gradient(135deg, var(--primary-l) 0%, var(--surface) 100%);
}
.hotmart-icon { font-size: 2.75rem; flex-shrink: 0; }
.hotmart-body { flex: 1; min-width: 180px; }
.hotmart-body h3 { font-family: var(--font-head); font-size: 1.1rem; color: var(--text); margin-bottom: .35rem; }
.hotmart-body p  { font-size: .875rem; color: var(--text-2); line-height: 1.6; }
.hotmart-cta .btn { flex-shrink: 0; }
.hotmart-note { font-size: .72rem; color: var(--text-4); margin-top: .4rem; }

/* ============================================================
   ARTICLE PAGE
   ============================================================ */
.page-top { padding-top: 3.5rem; padding-bottom: 5rem; }
.article-wrap { max-width: var(--max-article); margin: 0 auto; }

.breadcrumb {
  display: flex;
  flex-wrap: wrap;
  gap: .35rem;
  align-items: center;
  font-size: .8rem;
  color: var(--text-4);
  margin-bottom: 2.5rem;
}
.breadcrumb a { transition: color var(--transition); }
.breadcrumb a:hover { color: var(--primary); }
.breadcrumb span { color: var(--text-3); }

.article-hero-img {
  width: 100%;
  aspect-ratio: 16/7;
  object-fit: cover;
  border-radius: var(--r-lg);
  margin-bottom: 2.5rem;
  border: 1px solid var(--border);
  background: var(--surface-2);
  filter: var(--img-filter, none);
}

.article-meta { display: flex; flex-wrap: wrap; gap: .75rem; align-items: center; margin-bottom: 1rem; }

.article-header h1 {
  font-family: var(--font-head);
  font-size: clamp(1.75rem, 4vw, 2.4rem);
  font-weight: 700;
  color: var(--text);
  line-height: 1.2;
  letter-spacing: -.02em;
  margin-bottom: .9rem;
}
.article-excerpt {
  font-size: 1.1rem;
  color: var(--text-3);
  line-height: 1.65;
  margin-bottom: 2rem;
  padding-bottom: 2rem;
  border-bottom: 1px solid var(--border);
}

/* prose */
.prose h2 {
  font-family: var(--font-head);
  font-size: 1.45rem;
  font-weight: 700;
  color: var(--text);
  margin: 2.75rem 0 .75rem;
  padding-left: 1rem;
  border-left: 3px solid var(--primary);
  letter-spacing: -.01em;
}
.prose h3 {
  font-size: 1.1rem;
  font-weight: 600;
  color: var(--text);
  margin: 2rem 0 .6rem;
}
.prose p  { color: var(--text-2); line-height: 1.8; margin-bottom: 1.3rem; font-size: 1.02rem; }
.prose ul, .prose ol { padding-left: 1.5rem; margin-bottom: 1.3rem; }
.prose li { color: var(--text-2); line-height: 1.75; margin-bottom: .45rem; font-size: 1.02rem; }
.prose blockquote {
  border-left: 3px solid var(--primary-m);
  background: var(--primary-l);
  padding: 1.1rem 1.4rem;
  margin: 2rem 0;
  border-radius: 0 var(--r) var(--r) 0;
  font-style: italic;
  color: var(--text-2);
  font-size: 1.05rem;
  line-height: 1.7;
}
.prose a { color: var(--primary); text-decoration: underline; text-decoration-color: var(--primary-m); }
.prose a:hover { text-decoration-color: var(--primary); }
.prose strong { font-weight: 600; color: var(--text); }
.prose hr { border: none; border-top: 1px solid var(--border); margin: 2.5rem 0; }
.prose table { width: 100%; border-collapse: collapse; margin-bottom: 1.5rem; font-size: .9rem; }
.prose th, .prose td { border: 1px solid var(--border); padding: .6rem .9rem; text-align: left; color: var(--text-2); }
.prose th { background: var(--surface-2); font-weight: 600; color: var(--text); }
.prose code { background: var(--surface-2); border: 1px solid var(--border); padding: .15rem .4rem; border-radius: 4px; font-size: .87em; }

/* related */
.related { margin-top: 3.5rem; padding-top: 2.5rem; border-top: 1px solid var(--border); }
.related h2 { font-family: var(--font-head); font-size: 1.2rem; margin-bottom: 1.25rem; }
.related-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(210px, 1fr)); gap: 1rem; }
.related-card {
  display: block;
  padding: 1rem;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--r);
  transition: border-color var(--transition), box-shadow var(--transition);
}
.related-card:hover { border-color: var(--primary-m); box-shadow: var(--shadow); }
.related-card .tag { display: block; margin-bottom: .5rem; }
.related-card strong { font-size: .875rem; color: var(--text); line-height: 1.4; display: block; }
.related-card:hover strong { color: var(--primary); }

/* ============================================================
   PILLARS / WHY SECTION
   ============================================================ */
.pillars-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
  gap: 1.5rem;
  max-width: 820px;
  margin: 0 auto;
}
.pillar {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--r-lg);
  padding: 1.75rem;
  transition: border-color var(--transition);
}
.pillar:hover { border-color: var(--primary-m); }
.pillar-icon { font-size: 2rem; margin-bottom: .75rem; }
.pillar h3 { font-size: .95rem; font-weight: 700; margin-bottom: .4rem; color: var(--text); }
.pillar p  { font-size: .85rem; color: var(--text-3); line-height: 1.6; }

/* ============================================================
   FOOTER
   ============================================================ */
.site-footer {
  background: var(--bg-alt);
  border-top: 1px solid var(--border);
  margin-top: 5rem;
}
.footer-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
  gap: 2.5rem;
  padding: 3.5rem 1.5rem 2rem;
  max-width: var(--max);
  margin: 0 auto;
}
.site-footer h3 { font-family: var(--font-head); font-size: 1.05rem; color: var(--text); margin-bottom: .75rem; }
.site-footer h4 { font-size: .875rem; font-weight: 600; color: var(--text); margin-bottom: .75rem; }
.site-footer p  { font-size: .85rem; color: var(--text-3); line-height: 1.65; }
.site-footer ul { list-style: none; }
.site-footer li { margin-bottom: .5rem; }
.site-footer a  { font-size: .85rem; color: var(--text-3); transition: color var(--transition); }
.site-footer a:hover { color: var(--primary); }
.footer-verse { font-style: italic; color: var(--text-4) !important; font-size: .8rem !important; margin-top: 1rem; }
.footer-disclaimer { font-size: .75rem !important; color: var(--text-4) !important; margin-top: 1rem; }
.footer-bottom {
  border-top: 1px solid var(--border);
  padding: 1.25rem 1.5rem;
  text-align: center;
  font-size: .78rem;
  color: var(--text-4);
}

/* ============================================================
   UTILITY
   ============================================================ */
.page-listing { padding: 3.5rem 0 5rem; }
@media (max-width: 640px) {
  .stats-grid strong { font-size: 1.6rem; }
  .hotmart-cta { flex-direction: column; }
  .section-header-row { flex-direction: column; align-items: flex-start; }
  .hero { padding: 3.5rem 1.25rem 3rem; }
}

/* ============================================================
   MID-ARTICLE PRODUCT CARD
   ============================================================ */
.mid-article-product {
  display: flex;
  align-items: center;
  gap: 1rem;
  background: var(--surface);
  border: 1px solid var(--border);
  border-left: 3px solid var(--primary);
  border-radius: var(--r);
  padding: .9rem 1.1rem;
  margin: 2.5rem 0;
  box-shadow: var(--shadow);
}
.mid-product-img {
  flex-shrink: 0;
  width: 90px;
  height: 60px;
  border-radius: 6px;
  overflow: hidden;
  background: var(--surface-2);
}
.mid-product-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.mid-product-body {
  flex: 1;
  min-width: 0;
}
.mid-product-label {
  font-size: .68rem;
  font-weight: 700;
  letter-spacing: .07em;
  text-transform: uppercase;
  color: var(--primary);
  margin-bottom: .2rem;
}
.mid-product-name {
  font-size: .88rem;
  font-weight: 600;
  color: var(--text);
  line-height: 1.35;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.mid-product-instructor {
  font-size: .75rem;
  color: var(--text-4);
  margin-top: .15rem;
}
.btn-sm {
  font-size: .8rem;
  padding: .45rem .9rem;
  white-space: nowrap;
  flex-shrink: 0;
}
@media (max-width: 500px) {
  .mid-article-product { flex-wrap: wrap; }
  .mid-product-img { width: 100%; height: 100px; }
}

/* ============================================================
   COOKIE BANNER
   ============================================================ */
.cookie-banner {
  position: fixed;
  bottom: 1.25rem;
  left: 50%;
  transform: translateX(-50%);
  width: calc(100% - 2rem);
  max-width: 560px;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--r-lg);
  box-shadow: var(--shadow-h);
  padding: 1rem 1.25rem;
  display: flex;
  align-items: center;
  gap: 1rem;
  z-index: 999;
  flex-wrap: wrap;
}
.cookie-banner p {
  flex: 1;
  font-size: .82rem;
  color: var(--text-2);
  line-height: 1.5;
  margin: 0;
}
.cookie-banner a { color: var(--primary); text-decoration: underline; }

/* ============================================================
   FOOTER CREDIT
   ============================================================ */
.footer-bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: .5rem;
}
.footer-credit {
  font-size: .75rem;
  color: var(--text-4);
}
.footer-credit a {
  color: var(--text-4);
  text-decoration: underline;
  text-underline-offset: 2px;
}
.footer-credit a:hover { color: var(--primary); }

/* ============================================================
   LOJA
   ============================================================ */
.loja-hero {
  max-width: 680px;
  margin-bottom: 2.5rem;
}
.loja-disclaimer {
  display: inline-flex;
  align-items: center;
  gap: .4rem;
  font-size: .78rem;
  color: var(--text-4);
  margin-top: .75rem;
  padding: .45rem .75rem;
  background: var(--surface-2);
  border: 1px solid var(--border);
  border-radius: 99px;
}

.loja-section { margin-top: 3rem; }
.loja-section-title {
  font-family: var(--font-head);
  font-size: 1.2rem;
  font-weight: 700;
  color: var(--text);
  margin-bottom: 1.25rem;
  display: flex;
  align-items: center;
  gap: .6rem;
}
.loja-badge-top {
  font-family: var(--font-body);
  font-size: .7rem;
  font-weight: 700;
  letter-spacing: .06em;
  text-transform: uppercase;
  background: var(--primary);
  color: #fff;
  padding: .2rem .55rem;
  border-radius: 99px;
}

/* Highlight grid — 2 columns desktop */
.loja-highlight-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1.25rem;
}

/* Regular grid — 2 columns desktop */
.loja-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1rem;
}

/* Product card base */
.product-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--r-lg);
  box-shadow: var(--shadow);
  display: flex;
  flex-direction: column;
  transition: box-shadow var(--transition), transform var(--transition), border-color var(--transition);
  overflow: hidden;
}
.product-card:hover {
  box-shadow: var(--shadow-h);
  transform: translateY(-2px);
  border-color: var(--primary-m);
}
.product-card--highlight {
  border-color: var(--primary-m);
  background: linear-gradient(160deg, var(--surface) 60%, var(--primary-l) 100%);
}
[data-theme="dark"] .product-card--highlight {
  background: linear-gradient(160deg, var(--surface) 60%, var(--primary-l) 100%);
}

.product-card__img {
  width: 100%;
  aspect-ratio: 16/7;
  overflow: hidden;
  border-radius: var(--r-lg) var(--r-lg) 0 0;
  background: var(--surface-2);
}
.product-card__img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform .4s ease;
}
.product-card:hover .product-card__img img {
  transform: scale(1.04);
}

.product-card__top {
  padding: 1.4rem 1.4rem 0;
  flex: 1;
}
.product-card__bottom {
  padding: 1rem 1.4rem 1.4rem;
}

.product-meta-row {
  display: flex;
  align-items: center;
  gap: .6rem;
  margin-bottom: .75rem;
  flex-wrap: wrap;
}
.product-rating {
  display: inline-flex;
  align-items: center;
  gap: .25rem;
  font-size: .78rem;
  font-weight: 600;
  color: var(--text-2);
}

.product-card__name {
  font-family: var(--font-head);
  font-size: 1.08rem;
  font-weight: 700;
  color: var(--text);
  line-height: 1.3;
  margin-bottom: .5rem;
}
.product-card--highlight .product-card__name {
  font-size: 1.2rem;
}

.product-card__instructor {
  font-size: .8rem;
  color: var(--text-3);
  margin-bottom: .65rem;
  line-height: 1.4;
}
.product-card__cred {
  font-weight: 400;
  color: var(--text-4);
}

.product-card__desc {
  font-size: .875rem;
  color: var(--text-2);
  line-height: 1.65;
  margin-bottom: .9rem;
}

.product-card__benefits {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: .4rem;
  margin-bottom: 1rem;
}
.product-card__benefits li {
  display: flex;
  align-items: flex-start;
  gap: .4rem;
  font-size: .82rem;
  color: var(--text-3);
  line-height: 1.5;
}
.product-card__benefits li svg {
  flex-shrink: 0;
  color: var(--primary);
  margin-top: .15em;
}
.product-card__benefits--compact li {
  font-size: .8rem;
}

.product-price {
  display: flex;
  align-items: baseline;
  gap: .5rem;
  margin-bottom: .75rem;
}
.product-price__original {
  font-size: .8rem;
  color: var(--text-4);
  text-decoration: line-through;
}
.product-price__current {
  font-size: 1.15rem;
  font-weight: 700;
  color: var(--primary);
}

.btn-full { width: 100%; justify-content: center; }

@media (max-width: 640px) {
  .loja-highlight-grid,
  .loja-grid { grid-template-columns: 1fr; }
}

