/* ═══════════════════════════════════════════════════════════════
   HUB PAGES — Estilos específicos por tela
   ═══════════════════════════════════════════════════════════════ */

/* ╔══════════════════════════════════════════════════════════════
   ║ /yoga — HUB PRINCIPAL
   ╚══════════════════════════════════════════════════════════════ */

.hub-home-hero {
  position: relative;
  padding: clamp(80px, 12vw, 160px) 0 clamp(60px, 10vw, 120px);
  background: var(--hub-grad-warm);
  overflow: hidden;
}
.hub-home-hero-grid {
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  gap: clamp(40px, 6vw, 80px);
  align-items: center;
}
@media (max-width: 1023px) {
  .hub-home-hero-grid { grid-template-columns: 1fr; }
}

.hub-home-hero-content > * + * { margin-top: var(--hub-sp-5); }
.hub-home-hero-content h1 {
  font-size: var(--hub-fs-hero);
  letter-spacing: var(--hub-ls-tighter);
  line-height: var(--hub-lh-tight);
  margin: 0;
}
.hub-home-hero-content h1 em {
  color: var(--hub-rose);
  font-style: normal;
  font-weight: var(--hub-fw-black);
  position: relative;
  display: inline-block;
}
.hub-home-hero-content h1 em::after {
  content: '';
  position: absolute;
  left: 0; right: 0; bottom: 0.05em;
  height: 0.18em;
  background: var(--hub-rose-tint);
  z-index: -1;
}

.hub-home-hero-image {
  position: relative;
  border-radius: var(--hub-radius-3xl);
  overflow: hidden;
  aspect-ratio: 4 / 5;
  background: var(--hub-ivory);
  box-shadow: var(--hub-shadow-2xl);
}
.hub-home-hero-image::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(
    180deg,
    transparent 60%,
    rgba(58, 44, 32, 0.3) 100%
  );
  pointer-events: none;
}
.hub-home-hero-image img {
  width: 100%; height: 100%;
  object-fit: cover;
}

/* Float pillar count tag sobre imagem */
.hub-home-hero-tag {
  position: absolute;
  bottom: var(--hub-sp-6);
  left: var(--hub-sp-6);
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  padding: var(--hub-sp-4) var(--hub-sp-5);
  border-radius: var(--hub-radius-lg);
  display: flex;
  align-items: center;
  gap: var(--hub-sp-3);
  z-index: 2;
}
.hub-home-hero-tag-num {
  font-family: var(--hub-font-display);
  font-size: var(--hub-fs-h2);
  font-weight: var(--hub-fw-black);
  color: var(--hub-rose);
  line-height: 1;
}
.hub-home-hero-tag-label {
  font-size: var(--hub-fs-tiny);
  font-weight: var(--hub-fw-semibold);
  text-transform: uppercase;
  letter-spacing: var(--hub-ls-wider);
  color: var(--hub-ink-mute);
  line-height: 1.3;
  max-width: 100px;
}

/* Section: split editorial sobre Yoga Integral */
.hub-home-philosophy {
  background: var(--hub-cream);
}
.hub-home-philosophy-img {
  border-radius: var(--hub-radius-2xl);
  overflow: hidden;
  aspect-ratio: 4 / 5;
}
.hub-home-philosophy-img img {
  width: 100%; height: 100%;
  object-fit: cover;
}

/* Reviews block (sliders) */
.hub-home-reviews {
  background: var(--hub-ivory);
}
.hub-home-reviews-aggregate {
  text-align: center;
  margin-bottom: var(--hub-sp-12);
}
.hub-home-reviews-rating {
  font-family: var(--hub-font-display);
  font-size: var(--hub-fs-display);
  font-weight: var(--hub-fw-black);
  color: var(--hub-ink);
  letter-spacing: var(--hub-ls-tighter);
  line-height: 1;
}
.hub-home-reviews-stars {
  color: var(--hub-star);
  font-size: 1.5rem;
  letter-spacing: 4px;
  margin: var(--hub-sp-3) 0;
}
.hub-home-reviews-count {
  font-size: var(--hub-fs-meta);
  color: var(--hub-ink-mute);
  text-transform: uppercase;
  letter-spacing: var(--hub-ls-wider);
  font-weight: var(--hub-fw-semibold);
}

/* Glossário preview */
.hub-home-gloss-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: var(--hub-sp-3);
}
@media (max-width: 1023px) {
  .hub-home-gloss-grid { grid-template-columns: repeat(3, 1fr); }
}
@media (max-width: 639px) {
  .hub-home-gloss-grid { grid-template-columns: repeat(2, 1fr); }
}

.hub-gloss-pill {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: var(--hub-sp-3);
  padding: var(--hub-sp-4) var(--hub-sp-5);
  background: white;
  border: 1px solid var(--hub-border-faint);
  border-radius: var(--hub-radius-md);
  text-decoration: none;
  color: var(--hub-ink);
  font-family: var(--hub-font-serif);
  font-style: italic;
  font-size: var(--hub-fs-body);
  background-image: none;
  transition: all var(--hub-dur-fast) var(--hub-ease-out);
}
.hub-gloss-pill:hover {
  background: var(--hub-rose);
  color: white;
  border-color: var(--hub-rose);
  background-image: none;
  transform: translateY(-2px);
  box-shadow: var(--hub-shadow-sm);
}
.hub-gloss-pill-letter {
  font-family: var(--hub-font-display);
  font-size: 0.7rem;
  font-style: normal;
  text-transform: uppercase;
  letter-spacing: var(--hub-ls-wider);
  color: var(--hub-ink-mute);
  font-weight: var(--hub-fw-bold);
}
.hub-gloss-pill:hover .hub-gloss-pill-letter {
  color: rgba(255, 255, 255, 0.7);
}

/* ╔══════════════════════════════════════════════════════════════
   ║ /yoga/asanas (e listagens em geral)
   ╚══════════════════════════════════════════════════════════════ */

.hub-list-hero {
  padding: clamp(72px, 10vw, 120px) 0 var(--hub-sp-12);
  background: var(--hub-grad-warm);
  text-align: center;
}
.hub-list-hero h1 {
  font-size: var(--hub-fs-hero);
}
.hub-list-hero p {
  max-width: 540px;
  margin: var(--hub-sp-4) auto 0;
  font-size: var(--hub-fs-body-lg);
  color: var(--hub-ink-soft);
}

.hub-filter-bar {
  position: sticky;
  top: 64px;
  z-index: var(--hub-z-overlay);
  background: rgba(253, 248, 245, 0.95);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  padding: var(--hub-sp-4) 0;
  border-bottom: 1px solid var(--hub-border-faint);
  margin-bottom: var(--hub-sp-12);
}
.hub-filter-bar-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: var(--hub-sp-4);
}
.hub-filter-chips {
  display: flex;
  flex-wrap: wrap;
  gap: var(--hub-sp-2);
}
.hub-filter-count {
  font-size: var(--hub-fs-small);
  color: var(--hub-ink-mute);
  font-weight: var(--hub-fw-medium);
}
.hub-filter-count strong {
  color: var(--hub-ink);
  font-weight: var(--hub-fw-bold);
}

.hub-listing-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--hub-sp-6);
}
@media (max-width: 1023px) {
  .hub-listing-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 639px) {
  .hub-listing-grid { grid-template-columns: 1fr; }
}

/* ╔══════════════════════════════════════════════════════════════
   ║ /yoga/mantras
   ╚══════════════════════════════════════════════════════════════ */

.hub-mantras-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--hub-sp-8);
  max-width: var(--hub-container-base);
  margin: 0 auto;
}

.hub-mantra-block {
  background: var(--hub-grad-warm);
  border-radius: var(--hub-radius-2xl);
  padding: clamp(40px, 6vw, 72px);
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--hub-sp-8);
  align-items: center;
  border: 1px solid var(--hub-border-faint);
  transition: all var(--hub-dur-base) var(--hub-ease-out);
}
.hub-mantra-block:hover {
  box-shadow: var(--hub-shadow-lg);
  transform: translateY(-4px);
}
@media (max-width: 767px) {
  .hub-mantra-block { grid-template-columns: 1fr; text-align: center; }
}

.hub-mantra-script {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: var(--hub-sp-3);
  padding: var(--hub-sp-6);
  background: white;
  border-radius: var(--hub-radius-xl);
  border: 1px solid var(--hub-rose-tint-2);
}
.hub-mantra-script-deva {
  font-family: var(--hub-font-sans-skr);
  font-size: clamp(2.5rem, 5vw, 4rem);
  color: var(--hub-rose-deep);
  line-height: 1;
  font-weight: var(--hub-fw-medium);
}
.hub-mantra-script-translit {
  font-family: var(--hub-font-serif);
  font-style: italic;
  font-size: var(--hub-fs-h4);
  color: var(--hub-ink-soft);
  letter-spacing: var(--hub-ls-wide);
}
.hub-mantra-script-listen {
  margin-top: var(--hub-sp-2);
}

.hub-mantra-meaning {
  display: flex;
  flex-direction: column;
  gap: var(--hub-sp-3);
}
.hub-mantra-meaning-title {
  font-family: var(--hub-font-display);
  font-size: var(--hub-fs-h3);
  color: var(--hub-ink);
  font-weight: var(--hub-fw-bold);
  letter-spacing: var(--hub-ls-tight);
  margin: 0;
}
.hub-mantra-meaning-text {
  font-size: var(--hub-fs-body);
  color: var(--hub-ink-soft);
  line-height: var(--hub-lh-loose);
}

/* ╔══════════════════════════════════════════════════════════════
   ║ /yoga/conceitos (zigue-zague editorial)
   ╚══════════════════════════════════════════════════════════════ */

.hub-concepts-list > * + * {
  margin-top: clamp(80px, 10vw, 160px);
}

.hub-concept-block {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--hub-sp-12);
  align-items: center;
}
.hub-concept-block:nth-child(even) {
  direction: rtl;
}
.hub-concept-block:nth-child(even) > * { direction: ltr; }

@media (max-width: 767px) {
  .hub-concept-block,
  .hub-concept-block:nth-child(even) {
    grid-template-columns: 1fr;
    direction: ltr;
    gap: var(--hub-sp-6);
  }
}

.hub-concept-content > * + * { margin-top: var(--hub-sp-4); }
.hub-concept-num-large {
  font-family: var(--hub-font-display);
  font-size: 7rem;
  font-weight: var(--hub-fw-black);
  color: var(--hub-rose-tint-2);
  line-height: 0.85;
  letter-spacing: var(--hub-ls-tighter);
  margin-bottom: var(--hub-sp-4);
}
.hub-concept-title {
  font-family: var(--hub-font-display);
  font-size: var(--hub-fs-h1);
  font-weight: var(--hub-fw-bold);
  color: var(--hub-ink);
  letter-spacing: var(--hub-ls-tight);
  line-height: var(--hub-lh-tight);
  margin: 0;
}
.hub-concept-text {
  font-size: var(--hub-fs-body-lg);
  color: var(--hub-ink-soft);
  line-height: var(--hub-lh-loose);
}

.hub-concept-image {
  border-radius: var(--hub-radius-2xl);
  overflow: hidden;
  aspect-ratio: 4 / 5;
  background: var(--hub-ivory);
}
.hub-concept-image-fallback {
  width: 100%; height: 100%;
  background: linear-gradient(135deg, var(--hub-cream-2), var(--hub-rose-tint));
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--hub-font-serif);
  font-style: italic;
  font-size: 5rem;
  color: var(--hub-rose-soft);
}

/* ╔══════════════════════════════════════════════════════════════
   ║ /yoga/artigo/{slug} — DETALHE
   ╚══════════════════════════════════════════════════════════════ */

.hub-article-hero {
  padding: var(--hub-sp-16) 0 var(--hub-sp-12);
  background: var(--hub-cream);
  text-align: left;
}
.hub-article-hero-inner {
  max-width: var(--hub-container-narrow);
  margin: 0 auto;
}
.hub-article-hero h1 {
  font-size: var(--hub-fs-hero);
  margin: var(--hub-sp-4) 0 var(--hub-sp-6);
}
.hub-article-hero-meta {
  display: flex;
  align-items: center;
  gap: var(--hub-sp-4);
  flex-wrap: wrap;
  font-size: var(--hub-fs-meta);
  color: var(--hub-ink-mute);
  font-weight: var(--hub-fw-medium);
  text-transform: uppercase;
  letter-spacing: var(--hub-ls-wider);
}
.hub-article-hero-meta > * { display: inline-flex; align-items: center; gap: var(--hub-sp-2); }
.hub-article-hero-meta-dot {
  width: 4px; height: 4px;
  background: var(--hub-rose);
  border-radius: 50%;
}

.hub-related {
  background: var(--hub-ivory);
}

/* ╔══════════════════════════════════════════════════════════════
   ║ /yoga/glossario
   ╚══════════════════════════════════════════════════════════════ */

.hub-gloss-section {
  margin-bottom: var(--hub-sp-16);
}
.hub-gloss-letter {
  font-family: var(--hub-font-display);
  font-size: var(--hub-fs-display);
  font-weight: var(--hub-fw-black);
  color: var(--hub-rose);
  letter-spacing: var(--hub-ls-tighter);
  line-height: 1;
  margin-bottom: var(--hub-sp-6);
  padding-bottom: var(--hub-sp-3);
  border-bottom: 2px solid var(--hub-rose-tint-2);
}

.hub-gloss-terms {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--hub-sp-4);
}
@media (max-width: 1023px) { .hub-gloss-terms { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 639px)  { .hub-gloss-terms { grid-template-columns: 1fr; } }

.hub-gloss-term {
  padding: var(--hub-sp-5);
  background: white;
  border-radius: var(--hub-radius-lg);
  border: 1px solid var(--hub-border-faint);
  display: flex;
  flex-direction: column;
  gap: var(--hub-sp-2);
  transition: all var(--hub-dur-fast) var(--hub-ease-out);
}
.hub-gloss-term:hover {
  border-color: var(--hub-rose);
  box-shadow: var(--hub-shadow-sm);
}
.hub-gloss-term-name {
  font-family: var(--hub-font-display);
  font-size: var(--hub-fs-h4);
  font-weight: var(--hub-fw-bold);
  color: var(--hub-ink);
  letter-spacing: var(--hub-ls-tight);
}
.hub-gloss-term-desc {
  font-size: var(--hub-fs-small);
  color: var(--hub-ink-soft);
  line-height: var(--hub-lh-base);
  margin: 0;
}
.hub-gloss-term-link {
  margin-top: var(--hub-sp-2);
  font-size: var(--hub-fs-meta);
  font-weight: var(--hub-fw-semibold);
  color: var(--hub-rose);
  text-transform: uppercase;
  letter-spacing: var(--hub-ls-wider);
  text-decoration: none;
  background: transparent;
}
.hub-gloss-term-link:hover { background: transparent; }

.hub-gloss-empty {
  display: none;
  text-align: center;
  padding: var(--hub-sp-16);
  color: var(--hub-ink-mute);
}

/* ╔══════════════════════════════════════════════════════════════
   ║ /yoga/faq
   ╚══════════════════════════════════════════════════════════════ */

.hub-faq-categories {
  display: flex;
  flex-wrap: wrap;
  gap: var(--hub-sp-2);
  justify-content: center;
  margin-bottom: var(--hub-sp-12);
}

.hub-faq-group {
  margin-bottom: var(--hub-sp-12);
}
.hub-faq-group-title {
  font-family: var(--hub-font-display);
  font-size: var(--hub-fs-meta);
  font-weight: var(--hub-fw-bold);
  text-transform: uppercase;
  letter-spacing: var(--hub-ls-wider);
  color: var(--hub-rose);
  margin-bottom: var(--hub-sp-4);
  padding-bottom: var(--hub-sp-3);
  border-bottom: 1px solid var(--hub-rose-tint-2);
}
.hub-faq-list {
  display: flex;
  flex-direction: column;
  gap: var(--hub-sp-3);
}

/* ╔══════════════════════════════════════════════════════════════
   ║ /yoga/avaliacoes
   ╚══════════════════════════════════════════════════════════════ */

.hub-reviews-aggregate {
  text-align: center;
  padding: var(--hub-sp-16) var(--hub-sp-6);
  background: var(--hub-grad-warm);
  border-radius: var(--hub-radius-3xl);
  margin-bottom: var(--hub-sp-16);
}
.hub-reviews-aggregate-rating {
  font-family: var(--hub-font-display);
  font-size: 6rem;
  font-weight: var(--hub-fw-black);
  color: var(--hub-ink);
  letter-spacing: var(--hub-ls-tighter);
  line-height: 1;
}
.hub-reviews-aggregate-stars {
  color: var(--hub-star);
  font-size: 2rem;
  letter-spacing: 6px;
  margin: var(--hub-sp-4) 0;
}
.hub-reviews-aggregate-meta {
  font-size: var(--hub-fs-body);
  color: var(--hub-ink-mute);
}

.hub-reviews-grid {
  columns: 3;
  column-gap: var(--hub-sp-6);
}
@media (max-width: 1023px) { .hub-reviews-grid { columns: 2; } }
@media (max-width: 639px)  { .hub-reviews-grid { columns: 1; } }
.hub-reviews-grid > * {
  break-inside: avoid;
  margin-bottom: var(--hub-sp-6);
  display: flex;
}

/* ╔══════════════════════════════════════════════════════════════
   ║ /yoga/buscar
   ╚══════════════════════════════════════════════════════════════ */

.hub-search-hero {
  padding: var(--hub-sp-20) var(--hub-sp-6) var(--hub-sp-12);
  background: var(--hub-cream);
  text-align: center;
}
.hub-search-hero h1 {
  font-size: var(--hub-fs-h1);
  margin-bottom: var(--hub-sp-6);
}
.hub-search-input--large {
  padding: var(--hub-sp-6) var(--hub-sp-8) var(--hub-sp-6) calc(var(--hub-sp-8) + 28px);
  font-size: var(--hub-fs-h4);
  border-radius: var(--hub-radius-2xl);
}
.hub-search-icon--large {
  left: var(--hub-sp-7);
  width: 22px; height: 22px;
}

.hub-search-results-group {
  margin-bottom: var(--hub-sp-12);
}
.hub-search-results-group-title {
  font-family: var(--hub-font-display);
  font-size: var(--hub-fs-meta);
  font-weight: var(--hub-fw-bold);
  text-transform: uppercase;
  letter-spacing: var(--hub-ls-wider);
  color: var(--hub-rose);
  margin-bottom: var(--hub-sp-4);
  padding-bottom: var(--hub-sp-3);
  border-bottom: 1px solid var(--hub-rose-tint-2);
}

.hub-search-result {
  display: flex;
  gap: var(--hub-sp-6);
  padding: var(--hub-sp-5);
  background: white;
  border-radius: var(--hub-radius-lg);
  border: 1px solid var(--hub-border-faint);
  margin-bottom: var(--hub-sp-3);
  text-decoration: none;
  color: inherit;
  transition: all var(--hub-dur-fast) var(--hub-ease-out);
  background-image: none;
}
.hub-search-result:hover {
  border-color: var(--hub-rose);
  box-shadow: var(--hub-shadow-sm);
  background-image: none;
}
.hub-search-result-thumb {
  width: 80px; height: 80px;
  border-radius: var(--hub-radius-md);
  background: var(--hub-ivory);
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--hub-font-display);
  font-weight: var(--hub-fw-bold);
  font-size: 2rem;
  color: var(--hub-rose);
}
.hub-search-result-body {
  flex: 1;
  min-width: 0;
}
.hub-search-result-meta {
  font-size: var(--hub-fs-tiny);
  text-transform: uppercase;
  letter-spacing: var(--hub-ls-wider);
  color: var(--hub-rose);
  font-weight: var(--hub-fw-bold);
  margin-bottom: var(--hub-sp-1);
}
.hub-search-result-title {
  font-family: var(--hub-font-display);
  font-size: var(--hub-fs-h4);
  font-weight: var(--hub-fw-semibold);
  color: var(--hub-ink);
  margin: 0 0 var(--hub-sp-2);
  letter-spacing: var(--hub-ls-tight);
}
.hub-search-result-snippet {
  font-size: var(--hub-fs-small);
  color: var(--hub-ink-soft);
  line-height: var(--hub-lh-base);
  margin: 0;
}
.hub-search-result-snippet mark {
  background: var(--hub-rose-tint-2);
  color: var(--hub-ink);
  padding: 0 0.2em;
  border-radius: 2px;
}
