/* ==========================================================================
   ESCOLA SABATINA ONLINE — DESIGN SYSTEM & ESTILOS PRINCIPAIS
   Identidade: Verde Lousa Floresta, Dourado Acolhedor, Branco Giz e Card Limpo
   ========================================================================== */

@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700&family=Outfit:wght@400;500;600;700;800&family=Caveat:wght@600;700&display=swap');

:root {
  --color-primary: #1b382b;         /* Verde lousa clássico */
  --color-primary-dark: #0f241a;    /* Verde escuro profundo */
  --color-primary-light: #2c5945;   /* Verde intermediário */
  --color-accent: #d4af37;          /* Dourado elegante */
  --color-accent-light: #f5e8b7;    /* Dourado suave */
  --color-chalk: #fdfbf7;           /* Branco giz suave */
  --color-bg-light: #f8faf9;        /* Fundo claro da página */
  --color-surface: #ffffff;         /* Superfície de cards */
  --color-border: #e2e8e5;          /* Borda neutra */
  --color-text: #1a2421;            /* Texto principal */
  --color-text-muted: #5c6b65;      /* Texto secundário */
  --font-heading: 'Outfit', sans-serif;
  --font-body: 'Inter', sans-serif;
  --font-chalk: 'Caveat', cursive;
  --radius-sm: 8px;
  --radius-md: 14px;
  --radius-lg: 20px;
  --radius-pill: 999px;
  --shadow-sm: 0 2px 8px rgba(15, 36, 26, 0.05);
  --shadow-md: 0 8px 24px rgba(15, 36, 26, 0.08);
  --shadow-lg: 0 16px 40px rgba(15, 36, 26, 0.12);
  --transition: all 0.25s cubic-bezier(0.16, 1, 0.3, 1);
}

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

html {
  scroll-behavior: smooth;
  font-size: 16px;
}

body {
  font-family: var(--font-body);
  background-color: var(--color-bg-light);
  color: var(--color-text);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

a {
  color: inherit;
  text-decoration: none;
  transition: var(--transition);
}

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

.container {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
}

/* Header & Barra Superior */
.top-notice-bar {
  background: var(--color-primary-dark);
  color: var(--color-accent);
  font-size: 0.85rem;
  font-weight: 500;
  padding: 8px 0;
  text-align: center;
  border-bottom: 1px solid rgba(212, 175, 55, 0.2);
}

.site-header {
  background: rgba(255, 255, 255, 0.96);
  backdrop-filter: blur(12px);
  position: sticky;
  top: 0;
  z-index: 1000;
  box-shadow: 0 2px 16px rgba(15, 36, 26, 0.06);
  border-bottom: 1px solid var(--color-border);
}

.header-container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 80px;
}

.logo-area {
  display: flex;
  align-items: center;
  gap: 14px;
}

.site-logo {
  height: 52px;
  width: auto;
}

.site-nav {
  display: flex;
  align-items: center;
  gap: 28px;
}

.nav-link {
  font-weight: 500;
  font-size: 0.95rem;
  color: var(--color-text);
  position: relative;
  padding: 6px 0;
}

.nav-link:hover, .nav-link.active {
  color: var(--color-primary);
}

.nav-link::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 0%;
  height: 2px;
  background: var(--color-accent);
  transition: var(--transition);
}

.nav-link:hover::after, .nav-link.active::after {
  width: 100%;
}

.btn-header-cta {
  background: var(--color-primary);
  color: #fff;
  padding: 10px 22px;
  border-radius: var(--radius-pill);
  font-weight: 600;
  font-size: 0.9rem;
  box-shadow: var(--shadow-sm);
  display: inline-flex;
  align-items: center;
  gap: 8px;
}

.btn-header-cta:hover {
  background: var(--color-primary-light);
  transform: translateY(-1px);
  box-shadow: var(--shadow-md);
}

.mobile-menu-btn {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
  padding: 8px;
}

/* HERO SECTION — O QUADRO NEGRO ACOLHEDOR */
.hero-section {
  background: linear-gradient(180deg, #12291f 0%, #1b382b 100%);
  color: var(--color-chalk);
  padding: 64px 0 80px;
  position: relative;
  overflow: hidden;
}

.hero-section::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image: radial-gradient(rgba(212, 175, 55, 0.08) 1px, transparent 0);
  background-size: 24px 24px;
  pointer-events: none;
}

.hero-grid {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: 48px;
  align-items: center;
  position: relative;
  z-index: 2;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(212, 175, 55, 0.15);
  border: 1px solid rgba(212, 175, 55, 0.35);
  color: var(--color-accent);
  padding: 6px 16px;
  border-radius: var(--radius-pill);
  font-size: 0.85rem;
  font-weight: 600;
  margin-bottom: 20px;
}

.hero-title {
  font-family: var(--font-heading);
  font-size: 2.85rem;
  font-weight: 800;
  line-height: 1.18;
  margin-bottom: 18px;
  color: #ffffff;
}

.hero-title span {
  color: var(--color-accent);
}

.hero-description {
  font-size: 1.12rem;
  color: rgba(253, 251, 247, 0.85);
  margin-bottom: 32px;
  line-height: 1.65;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
}

.btn-primary {
  background: var(--color-accent);
  color: #12291f;
  font-weight: 700;
  padding: 14px 28px;
  border-radius: var(--radius-pill);
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-size: 1rem;
  box-shadow: 0 4px 20px rgba(212, 175, 55, 0.35);
}

.btn-primary:hover {
  background: #e2c050;
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(212, 175, 55, 0.45);
}

.btn-secondary {
  background: rgba(255, 255, 255, 0.12);
  color: #ffffff;
  border: 1px solid rgba(255, 255, 255, 0.25);
  font-weight: 600;
  padding: 14px 26px;
  border-radius: var(--radius-pill);
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 1rem;
  backdrop-filter: blur(8px);
}

.btn-secondary:hover {
  background: rgba(255, 255, 255, 0.2);
  border-color: rgba(255, 255, 255, 0.4);
}

/* Moldura da Lousa do Quadro Negro */
.chalkboard-card {
  background: #11261c;
  border: 8px solid #4a3525;
  border-radius: var(--radius-lg);
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.4), inset 0 0 40px rgba(0, 0, 0, 0.6);
  padding: 28px;
  position: relative;
  overflow: hidden;
}

.chalkboard-badge {
  font-family: var(--font-chalk);
  font-size: 1.6rem;
  color: var(--color-accent);
  text-align: center;
  margin-bottom: 12px;
  letter-spacing: 0.5px;
}

.chalkboard-quote {
  font-family: var(--font-heading);
  font-size: 1.15rem;
  font-style: italic;
  line-height: 1.6;
  color: rgba(253, 251, 247, 0.95);
  text-align: center;
  margin-bottom: 16px;
}

.chalkboard-author {
  font-size: 0.85rem;
  color: var(--color-accent);
  text-align: right;
  font-weight: 600;
  letter-spacing: 0.5px;
}

/* TRILHAS POR FUNÇÃO */
.section-pathways {
  padding: 72px 0;
  background: #ffffff;
}

.section-header {
  text-align: center;
  max-width: 720px;
  margin: 0 auto 48px;
}

.section-subtitle {
  color: var(--color-accent);
  font-weight: 700;
  font-size: 0.85rem;
  text-transform: uppercase;
  letter-spacing: 1.5px;
  margin-bottom: 8px;
  display: block;
}

.section-title {
  font-family: var(--font-heading);
  font-size: 2.3rem;
  font-weight: 800;
  color: var(--color-primary-dark);
  line-height: 1.25;
  margin-bottom: 14px;
}

.section-desc {
  color: var(--color-text-muted);
  font-size: 1.05rem;
}

.pathways-grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 20px;
}

.pathway-card {
  background: var(--color-bg-light);
  border: 2px solid var(--color-border);
  border-radius: var(--radius-md);
  padding: 24px 18px;
  text-align: center;
  cursor: pointer;
  transition: var(--transition);
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.pathway-card:hover, .pathway-card.active {
  background: #ffffff;
  border-color: var(--color-accent);
  transform: translateY(-4px);
  box-shadow: var(--shadow-md);
}

.pathway-card.active {
  border-color: var(--color-primary);
  background: #f4f8f6;
}

.pathway-icon {
  width: 56px;
  height: 56px;
  border-radius: var(--radius-pill);
  background: rgba(27, 56, 43, 0.08);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.7rem;
  margin-bottom: 14px;
  transition: var(--transition);
}

.pathway-card:hover .pathway-icon, .pathway-card.active .pathway-icon {
  background: var(--color-primary);
  transform: scale(1.08);
}

.pathway-title {
  font-family: var(--font-heading);
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--color-primary-dark);
  margin-bottom: 6px;
}

.pathway-role-desc {
  font-size: 0.82rem;
  color: var(--color-text-muted);
  line-height: 1.4;
}

/* PLAYLIST DE VÍDEOS */
.section-videos {
  padding: 80px 0;
  background: linear-gradient(180deg, #f8faf9 0%, #eef3f0 100%);
  border-top: 1px solid var(--color-border);
  border-bottom: 1px solid var(--color-border);
}

.video-masterclass-layout {
  display: grid;
  grid-template-columns: 1.65fr 1fr;
  gap: 32px;
  background: #ffffff;
  border-radius: var(--radius-lg);
  padding: 24px;
  box-shadow: var(--shadow-md);
  border: 1px solid var(--color-border);
}

.video-screen {
  position: relative;
  width: 100%;
  aspect-ratio: 16 / 9;
  background: #000000;
  border-radius: var(--radius-md);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
}

.video-screen iframe {
  width: 100%;
  height: 100%;
  border: none;
}

.video-poster-overlay {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
}

.video-poster-overlay::after {
  content: '';
  position: absolute;
  inset: 0;
  background: rgba(15, 36, 26, 0.4);
  transition: var(--transition);
}

.video-poster-overlay:hover::after {
  background: rgba(15, 36, 26, 0.2);
}

.play-button-big {
  position: relative;
  z-index: 2;
  width: 72px;
  height: 72px;
  border-radius: 50%;
  background: var(--color-accent);
  color: #12291f;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 8px 30px rgba(0,0,0,0.4);
  transition: var(--transition);
}

.video-poster-overlay:hover .play-button-big {
  transform: scale(1.12);
  background: #fff;
}

.video-active-meta {
  margin-top: 18px;
}

.video-active-tag {
  font-size: 0.8rem;
  font-weight: 700;
  color: var(--color-accent);
  text-transform: uppercase;
  letter-spacing: 1px;
}

.video-active-title {
  font-family: var(--font-heading);
  font-size: 1.45rem;
  font-weight: 700;
  color: var(--color-primary-dark);
  margin: 4px 0 8px;
}

.video-active-instructor {
  font-size: 0.92rem;
  color: var(--color-text-muted);
}

.video-playlist-container {
  display: flex;
  flex-direction: column;
}

.playlist-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-bottom: 14px;
  border-bottom: 2px solid var(--color-border);
  margin-bottom: 12px;
}

.playlist-header h4 {
  font-family: var(--font-heading);
  font-size: 1.2rem;
  font-weight: 700;
  color: var(--color-primary-dark);
}

.playlist-count {
  background: var(--color-primary);
  color: #fff;
  padding: 3px 10px;
  border-radius: var(--radius-pill);
  font-size: 0.75rem;
  font-weight: 700;
}

.playlist-items-scroll {
  display: flex;
  flex-direction: column;
  gap: 10px;
  max-height: 440px;
  overflow-y: auto;
  padding-right: 6px;
}

.playlist-item {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 10px;
  border-radius: var(--radius-sm);
  background: var(--color-bg-light);
  border: 1px solid transparent;
  cursor: pointer;
  transition: var(--transition);
}

.playlist-item:hover {
  background: #f0f5f2;
}

.playlist-item.active {
  background: #e7f0eb;
  border-color: var(--color-primary-light);
}

.playlist-item-thumb {
  position: relative;
  width: 90px;
  height: 54px;
  border-radius: 6px;
  overflow: hidden;
  flex-shrink: 0;
}

.playlist-item-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.playlist-item-duration {
  position: absolute;
  bottom: 3px;
  right: 4px;
  background: rgba(0, 0, 0, 0.8);
  color: #fff;
  font-size: 0.65rem;
  padding: 1px 4px;
  border-radius: 3px;
  font-weight: 600;
}

.playlist-item-title {
  font-size: 0.88rem;
  font-weight: 600;
  color: var(--color-text);
  line-height: 1.3;
  margin-bottom: 3px;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.playlist-item.active .playlist-item-title {
  color: var(--color-primary);
}

.playlist-item-author {
  font-size: 0.75rem;
  color: var(--color-text-muted);
}

/* ACERVO DE MATERIAIS & BUSCA LIVRE */
.section-materials {
  padding: 80px 0;
  background: #ffffff;
}

.search-filter-box {
  background: var(--color-bg-light);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-lg);
  padding: 24px;
  margin-bottom: 40px;
  box-shadow: var(--shadow-sm);
}

.search-input-group {
  position: relative;
  margin-bottom: 20px;
}

.search-icon {
  position: absolute;
  left: 18px;
  top: 50%;
  transform: translateY(-50%);
  color: var(--color-text-muted);
  width: 20px;
  height: 20px;
}

.search-input {
  width: 100%;
  padding: 16px 20px 16px 52px;
  font-size: 1.05rem;
  font-family: var(--font-body);
  border: 2px solid var(--color-border);
  border-radius: var(--radius-pill);
  background: #ffffff;
  outline: none;
  transition: var(--transition);
}

.search-input:focus {
  border-color: var(--color-primary);
  box-shadow: 0 0 0 4px rgba(27, 56, 43, 0.1);
}

.format-tags-wrapper {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 10px;
}

.format-tag-label {
  font-size: 0.85rem;
  font-weight: 700;
  color: var(--color-text-muted);
  margin-right: 6px;
}

.format-tag {
  background: #ffffff;
  border: 1px solid var(--color-border);
  padding: 8px 18px;
  border-radius: var(--radius-pill);
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--color-text);
  cursor: pointer;
  transition: var(--transition);
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

.format-tag:hover {
  background: #f0f5f2;
  border-color: var(--color-accent);
}

.format-tag.active {
  background: var(--color-primary);
  color: #ffffff;
  border-color: var(--color-primary);
}

.materials-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
}

.material-card {
  background: #ffffff;
  border: 1px solid var(--color-border);
  border-radius: var(--radius-md);
  padding: 24px;
  box-shadow: var(--shadow-sm);
  display: flex;
  flex-direction: column;
  transition: var(--transition);
  position: relative;
}

.material-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-md);
  border-color: var(--color-accent);
}

.material-card-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 14px;
}

.badge-format {
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
  padding: 4px 10px;
  border-radius: var(--radius-pill);
  background: rgba(212, 175, 55, 0.15);
  color: #8c731f;
  letter-spacing: 0.5px;
}

.material-role-tag {
  font-size: 0.8rem;
  font-weight: 600;
  color: var(--color-primary);
}

.material-title {
  font-family: var(--font-heading);
  font-size: 1.22rem;
  font-weight: 700;
  line-height: 1.35;
  color: var(--color-primary-dark);
  margin-bottom: 10px;
}

.material-desc {
  font-size: 0.92rem;
  color: var(--color-text-muted);
  line-height: 1.55;
  margin-bottom: 20px;
  flex-grow: 1;
}

.material-meta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  border-top: 1px solid var(--color-border);
  padding-top: 14px;
  font-size: 0.8rem;
  color: var(--color-text-muted);
  margin-bottom: 16px;
}

.btn-card-action {
  background: var(--color-bg-light);
  color: var(--color-primary-dark);
  border: 1px solid var(--color-border);
  padding: 10px 18px;
  border-radius: var(--radius-pill);
  font-weight: 600;
  font-size: 0.88rem;
  text-align: center;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
}

.btn-card-action:hover {
  background: var(--color-primary);
  color: #ffffff;
  border-color: var(--color-primary);
}

/* BANNER DA LOJA & BLOG */
.section-store-banner {
  padding: 60px 0;
  background: linear-gradient(135deg, #12291f 0%, #1b382b 100%);
  color: #ffffff;
  border-radius: var(--radius-lg);
  margin: 40px auto;
  position: relative;
  overflow: hidden;
}

.store-banner-grid {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  gap: 40px;
  align-items: center;
}

.store-banner-title {
  font-family: var(--font-heading);
  font-size: 2.2rem;
  font-weight: 800;
  margin-bottom: 14px;
  line-height: 1.2;
}

.store-banner-title span {
  color: var(--color-accent);
}

.store-banner-text {
  font-size: 1.05rem;
  color: rgba(255, 255, 255, 0.85);
  margin-bottom: 28px;
  line-height: 1.6;
}

.store-features-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin-bottom: 32px;
}

.store-features-list li {
  display: flex;
  align-items: center;
  gap: 10px;
  font-weight: 500;
  font-size: 0.95rem;
}

.store-card-preview {
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: var(--radius-md);
  padding: 30px;
  text-align: center;
  backdrop-filter: blur(10px);
}

.store-card-preview h4 {
  font-family: var(--font-heading);
  font-size: 1.4rem;
  color: var(--color-accent);
  margin-bottom: 8px;
}

/* FOOTER */
.site-footer {
  background: #0f241a;
  color: #ffffff;
  padding: 64px 0 28px;
  border-top: 1px solid rgba(212, 175, 55, 0.2);
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr 1fr;
  gap: 40px;
  margin-bottom: 48px;
}

.footer-brand p {
  color: rgba(255, 255, 255, 0.7);
  font-size: 0.92rem;
  margin-top: 14px;
  line-height: 1.6;
}

.footer-heading {
  font-family: var(--font-heading);
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--color-accent);
  margin-bottom: 18px;
}

.footer-links {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.footer-links a {
  color: rgba(255, 255, 255, 0.75);
  font-size: 0.9rem;
}

.footer-links a:hover {
  color: #ffffff;
  padding-left: 4px;
}

.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  padding-top: 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: 0.85rem;
  color: rgba(255, 255, 255, 0.6);
}

/* RESPONSIVIDADE */
@media (max-width: 1024px) {
  .hero-grid {
    grid-template-columns: 1fr;
    text-align: center;
  }
  .hero-actions {
    justify-content: center;
  }
  .pathways-grid {
    grid-template-columns: repeat(3, 1fr);
  }
  .video-masterclass-layout {
    grid-template-columns: 1fr;
  }
  .materials-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .store-banner-grid {
    grid-template-columns: 1fr;
  }
  .footer-grid {
    grid-template-columns: 1fr 1fr;
  }
}

@media (max-width: 768px) {
  .site-nav {
    display: none;
  }
  .mobile-menu-btn {
    display: block;
  }
  .hero-title {
    font-size: 2.2rem;
  }
  .pathways-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .materials-grid {
    grid-template-columns: 1fr;
  }
  .footer-grid {
    grid-template-columns: 1fr;
  }
  .footer-bottom {
    flex-direction: column;
    gap: 12px;
    text-align: center;
  }
}

/* ==========================================================================
   QUADRO NEGRO ORIGINAL & SEÇÕES NATIVAS (BLOG & LOJA)
   ========================================================================== */

/* Moldura do Quadro Negro Oficial */
.original-chalkboard-frame {
  position: relative;
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.45), 0 0 0 1px rgba(255, 255, 255, 0.1);
  transition: var(--transition);
}

.original-chalkboard-frame:hover {
  transform: translateY(-4px) scale(1.01);
  box-shadow: 0 24px 60px rgba(0, 0, 0, 0.55);
}

.chalkboard-official-img {
  width: 100%;
  height: auto;
  display: block;
  border-radius: var(--radius-lg);
}

/* SEÇÃO NATIVA DO BLOG */
.section-blog-native {
  padding: 80px 0;
  background: #ffffff;
  border-top: 1px solid var(--color-border);
}

.blog-cards-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
}

.blog-card {
  background: var(--color-bg-light);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-md);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  transition: var(--transition);
}

.blog-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-md);
  border-color: var(--color-accent);
}

.blog-card-thumb {
  position: relative;
  width: 100%;
  aspect-ratio: 16 / 10;
  overflow: hidden;
  background: #e2e8e5;
}

.blog-card-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: var(--transition);
}

.blog-card:hover .blog-card-thumb img {
  transform: scale(1.04);
}

.blog-card-category {
  position: absolute;
  top: 12px;
  left: 12px;
  background: var(--color-primary);
  color: #ffffff;
  padding: 4px 12px;
  border-radius: var(--radius-pill);
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.blog-card-content {
  padding: 24px;
  display: flex;
  flex-direction: column;
  flex-grow: 1;
}

.blog-card-title {
  font-family: var(--font-heading);
  font-size: 1.18rem;
  font-weight: 700;
  color: var(--color-primary-dark);
  line-height: 1.35;
  margin-bottom: 10px;
}

.blog-card-excerpt {
  font-size: 0.92rem;
  color: var(--color-text-muted);
  line-height: 1.55;
  margin-bottom: 20px;
  flex-grow: 1;
}

.blog-read-link {
  font-weight: 600;
  font-size: 0.9rem;
  color: var(--color-primary);
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

.blog-read-link:hover {
  color: var(--color-accent);
  padding-left: 4px;
}

/* SEÇÃO NATIVA DA LOJA DE LIVROS */
.section-store-native {
  padding: 80px 0;
  background: linear-gradient(180deg, #f8faf9 0%, #eef3f0 100%);
  border-top: 1px solid var(--color-border);
}

.store-products-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
}

.product-card {
  background: #ffffff;
  border: 1px solid var(--color-border);
  border-radius: var(--radius-md);
  padding: 26px 20px;
  display: flex;
  flex-direction: column;
  text-align: center;
  align-items: center;
  position: relative;
  transition: var(--transition);
}

.product-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-md);
  border-color: var(--color-accent);
}

.product-badge {
  position: absolute;
  top: 14px;
  right: 14px;
  background: rgba(212, 175, 55, 0.2);
  color: #8c731f;
  font-size: 0.72rem;
  font-weight: 700;
  text-transform: uppercase;
  padding: 3px 10px;
  border-radius: var(--radius-pill);
}

.product-icon {
  font-size: 2.5rem;
  margin-bottom: 14px;
}

.product-title {
  font-family: var(--font-heading);
  font-size: 1.15rem;
  font-weight: 700;
  color: var(--color-primary-dark);
  line-height: 1.3;
  margin-bottom: 6px;
}

.product-edition {
  font-size: 0.8rem;
  color: var(--color-accent);
  font-weight: 600;
  margin-bottom: 12px;
}

.product-desc {
  font-size: 0.88rem;
  color: var(--color-text-muted);
  line-height: 1.5;
  margin-bottom: 22px;
  flex-grow: 1;
}

.btn-product-buy {
  width: 100%;
  background: var(--color-primary);
  color: #ffffff;
  padding: 10px 18px;
  border-radius: var(--radius-pill);
  font-weight: 600;
  font-size: 0.88rem;
  transition: var(--transition);
}

.btn-product-buy:hover {
  background: var(--color-accent);
  color: #12291f;
  transform: translateY(-2px);
}

@media (max-width: 1024px) {
  .blog-cards-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .store-products-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 768px) {
  .blog-cards-grid {
    grid-template-columns: 1fr;
  }
  .store-products-grid {
    grid-template-columns: 1fr;
  }
}

/* ==========================================================================
   PERSONALIZAÇÃO DE CORES E MOVIMENTO ÚNICO POR TRILHA & FORMATO
   ========================================================================== */

/* Cores específicas para cada Trilha de Liderança */
.pathway-card[data-role="Diretor"] {
  --role-color: #d4af37;
  --role-bg: rgba(212, 175, 55, 0.08);
}
.pathway-card[data-role="Professor"] {
  --role-color: #2563eb;
  --role-bg: rgba(37, 99, 235, 0.08);
}
.pathway-card[data-role="Secretário"] {
  --role-color: #059669;
  --role-bg: rgba(5, 150, 105, 0.08);
}
.pathway-card[data-role="PG"] {
  --role-color: #ea580c;
  --role-bg: rgba(234, 88, 12, 0.08);
}
.pathway-card[data-role="Unidade"] {
  --role-color: #7c3aed;
  --role-bg: rgba(124, 58, 237, 0.08);
}

.pathway-card {
  position: relative;
  overflow: hidden;
  border: 2px solid var(--color-border);
  transition: transform 0.28s cubic-bezier(0.34, 1.56, 0.64, 1), box-shadow 0.28s ease, border-color 0.28s ease;
}

.pathway-card .pathway-icon {
  background: var(--role-bg);
  color: var(--role-color);
  transition: transform 0.3s cubic-bezier(0.34, 1.56, 0.64, 1), background 0.3s ease;
}

.pathway-card:hover {
  border-color: var(--role-color);
  transform: translateY(-8px) scale(1.02);
  box-shadow: 0 16px 36px rgba(0, 0, 0, 0.12);
}

.pathway-card:hover .pathway-icon {
  transform: scale(1.18) rotate(4deg);
  background: var(--role-color);
  color: #ffffff;
}

.pathway-card.active {
  border-color: var(--role-color);
  background: var(--role-bg);
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.08);
}

/* Badges com cores distintas por formato de material */
.badge-format[data-fmt="Manual"] {
  background: rgba(37, 99, 235, 0.12);
  color: #1d4ed8;
}
.badge-format[data-fmt="Modelo"] {
  background: rgba(5, 150, 105, 0.12);
  color: #047857;
}
.badge-format[data-fmt="Guia"] {
  background: rgba(212, 175, 55, 0.18);
  color: #8c731f;
}
.badge-format[data-fmt="Checklist"] {
  background: rgba(234, 88, 12, 0.12);
  color: #c2410c;
}
.badge-format[data-fmt="E-book"] {
  background: rgba(124, 58, 237, 0.12);
  color: #6d28d9;
}
.badge-format[data-fmt="Tutorial"] {
  background: rgba(225, 29, 72, 0.12);
  color: #be123c;
}
.badge-format[data-fmt="Audiolivro"] {
  background: rgba(13, 148, 136, 0.12);
  color: #0f766e;
}

/* Logo no Rodapé Limpo e Visível */
.footer-logo-container {
  display: inline-block;
  background: #ffffff;
  padding: 8px 16px;
  border-radius: var(--radius-sm);
  margin-bottom: 16px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
}

.footer-logo-container img {
  height: 48px;
  width: auto;
  display: block;
}

/* Estilos para Páginas Dedicadas (Loja & Blog) */
.page-hero-inner {
  background: linear-gradient(180deg, #12291f 0%, #1b382b 100%);
  color: #ffffff;
  padding: 56px 0;
  text-align: center;
}
.page-hero-title {
  font-family: var(--font-heading);
  font-size: 2.6rem;
  font-weight: 800;
  margin-bottom: 12px;
}
.page-hero-title span {
  color: var(--color-accent);
}
.page-hero-subtitle {
  font-size: 1.1rem;
  color: rgba(255, 255, 255, 0.85);
  max-width: 640px;
  margin: 0 auto;
}

/* Vitrine de Produtos da Loja */
.store-grid-full {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 32px;
  padding: 60px 0;
}

.store-product-card-v2 {
  background: #ffffff;
  border: 1px solid var(--color-border);
  border-radius: var(--radius-md);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  transition: var(--transition);
  box-shadow: var(--shadow-sm);
}

.store-product-card-v2:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-md);
  border-color: var(--color-accent);
}

.store-product-img-wrap {
  width: 100%;
  height: 260px;
  background: #f1f5f3;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 20px;
  position: relative;
}

.store-product-img-wrap img {
  max-height: 100%;
  width: auto;
  object-fit: contain;
  transition: transform 0.3s ease;
}

.store-product-card-v2:hover .store-product-img-wrap img {
  transform: scale(1.06);
}

.store-product-details {
  padding: 24px;
  display: flex;
  flex-direction: column;
  flex-grow: 1;
}

.store-product-name {
  font-family: var(--font-heading);
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--color-primary-dark);
  margin-bottom: 8px;
  line-height: 1.3;
}

.store-product-price {
  font-size: 1.45rem;
  font-weight: 800;
  color: var(--color-primary);
  margin-bottom: 14px;
}

.store-product-price small {
  font-size: 0.85rem;
  font-weight: 500;
  color: var(--color-text-muted);
}

.btn-buy-whatsapp {
  background: #25d366;
  color: #ffffff;
  font-weight: 700;
  font-size: 0.92rem;
  padding: 12px 20px;
  border-radius: var(--radius-pill);
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  box-shadow: 0 4px 14px rgba(37, 211, 102, 0.3);
  margin-top: auto;
}

.btn-buy-whatsapp:hover {
  background: #1ebc59;
  transform: translateY(-2px);
  box-shadow: 0 6px 18px rgba(37, 211, 102, 0.4);
}

/* Ajustes de Tamanho do Logotipo e Elementos do Topo */
.header-container {
  height: 94px;
}

.site-logo {
  height: 72px;
  width: auto;
  transition: transform 0.2s ease;
}

.site-logo:hover {
  transform: scale(1.03);
}

.footer-logo-container img {
  height: 70px;
  width: auto;
}

/* Barra de Ações do Topo: Pesquisa & Login */
.header-actions-group {
  display: flex;
  align-items: center;
  gap: 14px;
}

.header-search-box {
  position: relative;
  display: flex;
  align-items: center;
}

.header-search-input {
  width: 180px;
  padding: 8px 14px 8px 34px;
  font-size: 0.85rem;
  border: 1.5px solid var(--color-border);
  border-radius: var(--radius-pill);
  outline: none;
  background: var(--color-bg-light);
  transition: var(--transition);
}

.header-search-input:focus {
  width: 230px;
  border-color: var(--color-primary);
  background: #ffffff;
  box-shadow: 0 0 0 3px rgba(27, 56, 43, 0.1);
}

.header-search-icon {
  position: absolute;
  left: 11px;
  color: var(--color-text-muted);
  width: 16px;
  height: 16px;
  pointer-events: none;
}

.btn-header-login {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 0.88rem;
  font-weight: 600;
  color: var(--color-primary-dark);
  padding: 8px 16px;
  border: 1.5px solid var(--color-border);
  border-radius: var(--radius-pill);
  background: #ffffff;
  transition: var(--transition);
}

.btn-header-login:hover {
  border-color: var(--color-primary);
  color: var(--color-primary);
  background: var(--color-bg-light);
  transform: translateY(-1px);
}

/* ==========================================================================
   BOTÃO VOLTAR AO TOPO (TO TOP) — RESPONSIVO E SEGURO
   ========================================================================== */
.btn-to-top {
  position: fixed;
  bottom: 30px;
  right: 30px;
  width: 50px;
  height: 50px;
  border-radius: 50%;
  background: var(--color-primary);
  border: 2px solid var(--color-accent);
  color: #ffffff;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 8px 24px rgba(15, 36, 26, 0.3);
  cursor: pointer;
  z-index: 99999;
  opacity: 0;
  visibility: hidden;
  transform: translateY(20px) scale(0.9);
  transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
  touch-action: manipulation;
  -webkit-tap-highlight-color: transparent;
  outline: none;
}

.btn-to-top.visible {
  opacity: 1;
  visibility: visible;
  transform: translateY(0) scale(1);
}

.btn-to-top:hover {
  background: var(--color-accent);
  color: var(--color-primary-dark);
  transform: translateY(-4px) scale(1.08);
  box-shadow: 0 12px 28px rgba(212, 175, 55, 0.45);
}

.btn-to-top:active {
  transform: scale(0.92);
}

@media (max-width: 768px) {
  .btn-to-top {
    bottom: calc(20px + env(safe-area-inset-bottom, 0px));
    right: 18px;
    width: 46px;
    height: 46px;
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.35);
  }
}

/* ==========================================================================
   MENU HAMBÚRGUER & DRAWER MOBILE NATIVO
   ========================================================================== */
.mobile-menu-btn {
  display: none;
  background: #ffffff;
  border: 1.5px solid var(--color-border);
  border-radius: var(--radius-sm);
  width: 44px;
  height: 44px;
  padding: 0;
  cursor: pointer;
  align-items: center;
  justify-content: center;
  transition: var(--transition);
  z-index: 1002;
  box-shadow: var(--shadow-sm);
  outline: none;
  -webkit-tap-highlight-color: transparent;
}

.mobile-menu-btn:hover,
.mobile-menu-btn:focus {
  border-color: var(--color-primary);
  background: var(--color-bg-light);
}

.hamburger-box {
  width: 22px;
  height: 16px;
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
}

.hamburger-inner,
.hamburger-inner::before,
.hamburger-inner::after {
  width: 22px;
  height: 2.2px;
  background-color: var(--color-primary-dark);
  border-radius: 2px;
  position: absolute;
  transition: transform 0.25s cubic-bezier(0.16, 1, 0.3, 1),
              top 0.25s cubic-bezier(0.16, 1, 0.3, 1),
              opacity 0.2s ease,
              background-color 0.2s ease;
}

.hamburger-inner {
  top: 7px;
  display: block;
}

.hamburger-inner::before {
  content: '';
  top: -7px;
  left: 0;
}

.hamburger-inner::after {
  content: '';
  top: 7px;
  left: 0;
}

/* Estado Ativo: Animação suave para "X" */
.mobile-menu-btn.active .hamburger-inner {
  background-color: transparent;
}

.mobile-menu-btn.active .hamburger-inner::before {
  top: 0;
  transform: rotate(45deg);
  background-color: var(--color-primary);
}

.mobile-menu-btn.active .hamburger-inner::after {
  top: 0;
  transform: rotate(-45deg);
  background-color: var(--color-primary);
}

/* Backdrop Overlay do Drawer */
.mobile-drawer-overlay {
  position: fixed;
  inset: 0;
  background: rgba(15, 36, 26, 0.65);
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
  z-index: 10000;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.3s cubic-bezier(0.16, 1, 0.3, 1), visibility 0.3s ease;
}

.mobile-drawer-overlay.active {
  opacity: 1;
  visibility: visible;
}

/* Gaveta Deslizante (Drawer) */
.mobile-drawer {
  position: fixed;
  top: 0;
  right: 0;
  bottom: 0;
  width: 85%;
  max-width: 360px;
  background: #ffffff;
  z-index: 10001;
  box-shadow: -8px 0 32px rgba(15, 36, 26, 0.25);
  display: flex;
  flex-direction: column;
  transform: translateX(100%);
  transition: transform 0.35s cubic-bezier(0.16, 1, 0.3, 1);
  overflow-y: auto;
  -webkit-overflow-scrolling: touch;
}

.mobile-drawer.active {
  transform: translateX(0);
}

/* Cabeçalho do Drawer */
.mobile-drawer-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 18px 20px;
  border-bottom: 1px solid var(--color-border);
  background: var(--color-bg-light);
}

.mobile-drawer-logo img {
  height: 44px;
  width: auto;
}

.mobile-drawer-close {
  background: none;
  border: none;
  cursor: pointer;
  color: var(--color-text-muted);
  width: 36px;
  height: 36px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: var(--transition);
  outline: none;
}

.mobile-drawer-close:hover {
  background: rgba(0, 0, 0, 0.05);
  color: var(--color-primary);
}

/* Busca Integrada no Drawer */
.mobile-drawer-search {
  padding: 16px 20px;
  position: relative;
  border-bottom: 1px solid var(--color-border);
}

.drawer-search-icon {
  position: absolute;
  left: 32px;
  top: 50%;
  transform: translateY(-50%);
  width: 18px;
  height: 18px;
  color: var(--color-text-muted);
  pointer-events: none;
}

.drawer-search-input {
  width: 100%;
  padding: 10px 14px 10px 38px;
  font-size: 0.9rem;
  border: 1.5px solid var(--color-border);
  border-radius: var(--radius-pill);
  outline: none;
  background: var(--color-bg-light);
  transition: var(--transition);
}

.drawer-search-input:focus {
  border-color: var(--color-primary);
  background: #ffffff;
  box-shadow: 0 0 0 3px rgba(27, 56, 43, 0.1);
}

/* Navegação do Drawer */
.mobile-drawer-nav {
  display: flex;
  flex-direction: column;
  padding: 12px 10px;
  gap: 4px;
  flex: 1;
}

.drawer-nav-item {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 12px 16px;
  font-size: 0.95rem;
  font-weight: 500;
  color: var(--color-text);
  border-radius: var(--radius-sm);
  transition: var(--transition);
}

.drawer-nav-item .drawer-icon {
  font-size: 1.15rem;
  width: 24px;
  text-align: center;
}

.drawer-nav-item:hover,
.drawer-nav-item.active {
  background: rgba(27, 56, 43, 0.08);
  color: var(--color-primary);
  font-weight: 600;
}

.drawer-nav-item:active {
  transform: scale(0.98);
}

/* Botões de Ação no Drawer */
.mobile-drawer-actions {
  padding: 18px 20px;
  display: flex;
  flex-direction: column;
  gap: 10px;
  border-top: 1px solid var(--color-border);
  background: var(--color-bg-light);
}

.btn-drawer-login {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 12px;
  border-radius: var(--radius-pill);
  background: var(--color-primary);
  color: #ffffff;
  font-weight: 600;
  font-size: 0.92rem;
  box-shadow: var(--shadow-sm);
  transition: var(--transition);
  text-decoration: none;
}

.btn-drawer-login:hover {
  background: var(--color-primary-light);
  color: #ffffff;
}

.btn-drawer-whatsapp {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 12px;
  border-radius: var(--radius-pill);
  background: #25d366;
  color: #ffffff;
  font-weight: 600;
  font-size: 0.92rem;
  box-shadow: var(--shadow-sm);
  transition: var(--transition);
  text-decoration: none;
}

.btn-drawer-whatsapp:hover {
  background: #20ba5a;
  color: #ffffff;
}

/* Rodapé do Drawer */
.mobile-drawer-footer {
  padding: 14px 20px;
  text-align: center;
  border-top: 1px solid var(--color-border);
  font-size: 0.75rem;
  color: var(--color-text-muted);
}

.mobile-drawer-footer .drawer-subtext {
  font-family: var(--font-chalk);
  font-size: 0.95rem;
  color: var(--color-accent);
  margin-top: 4px;
}

/* Regras Responsivas para Header em Tablet e Mobile */
@media (max-width: 991px) {
  .site-nav {
    display: none !important;
  }
  .mobile-menu-btn {
    display: flex;
  }
  .header-actions-group .header-search-box {
    display: none;
  }
  .header-actions-group .btn-header-login {
    padding: 7px 12px;
    font-size: 0.82rem;
  }
  .header-actions-group .btn-header-cta {
    padding: 7px 12px;
    font-size: 0.82rem;
  }
}

@media (max-width: 600px) {
  .header-container {
    height: 70px;
  }
  .site-logo {
    height: 42px;
  }
  .header-actions-group .btn-header-login {
    display: none; /* Mantido em destaque no menu hambúrguer */
  }
}

.site-nav .nav-link {
  font-weight: 500;
  font-size: 0.92rem;
  white-space: nowrap;
  padding: 6px 4px;
}

.site-nav .nav-link.active {
  color: var(--color-primary);
  font-weight: 700;
}

/* ========================================================
   EFEITOS E ANIMAÇÕES DE ENTRADA (SCROLL REVEAL & MOTION)
======================================================== */

.reveal-left,
.reveal-right,
.reveal-up,
.reveal-down,
.reveal-zoom {
  opacity: 0;
  transition-property: opacity, transform;
  transition-duration: 0.85s;
  transition-timing-function: cubic-bezier(0.16, 1, 0.3, 1);
  will-change: transform, opacity;
}

/* Da esquerda para a direita */
.reveal-left {
  transform: translateX(-60px);
}

/* Da direita para a esquerda */
.reveal-right {
  transform: translateX(60px);
}

/* De baixo para cima */
.reveal-up {
  transform: translateY(45px);
}

/* De cima para baixo */
.reveal-down {
  transform: translateY(-45px);
}

/* Zoom suave */
.reveal-zoom {
  transform: scale(0.92);
}

/* Estado ativo quando entra na tela */
.reveal-left.revealed,
.reveal-right.revealed,
.reveal-up.revealed,
.reveal-down.revealed,
.reveal-zoom.revealed {
  opacity: 1;
  transform: translate(0, 0) scale(1);
}

/* Delays escalonados para efeito em cascata */
.delay-100 { transition-delay: 0.1s; }
.delay-150 { transition-delay: 0.15s; }
.delay-200 { transition-delay: 0.2s; }
.delay-250 { transition-delay: 0.25s; }
.delay-300 { transition-delay: 0.3s; }
.delay-350 { transition-delay: 0.35s; }
.delay-400 { transition-delay: 0.4s; }
.delay-500 { transition-delay: 0.5s; }

/* Acessibilidade para movimento reduzido */
@media (prefers-reduced-motion: reduce) {
  .reveal-left,
  .reveal-right,
  .reveal-up,
  .reveal-down,
  .reveal-zoom {
    opacity: 1 !important;
    transform: none !important;
    transition: none !important;
  }
}

/* Animação suave para renderização de cards do acervo */
.material-card {
  animation: cardFadeIn 0.45s cubic-bezier(0.16, 1, 0.3, 1) both;
}

@keyframes cardFadeIn {
  from {
    opacity: 0;
    transform: translateY(18px) scale(0.97);
  }
  to {
    opacity: 1;
    transform: translateY(0) scale(1);
  }
}

/* ========================================================
   ÁREA DE MEMBROS & PORTAL DO LÍDER
======================================================== */

.members-section-wrapper {
  padding: 50px 0 80px 0;
  background: #f8fafc;
  min-height: 70vh;
}

.auth-container-card {
  max-width: 520px;
  margin: -40px auto 40px auto;
  background: #ffffff;
  border-radius: 16px;
  box-shadow: 0 12px 36px rgba(0, 0, 0, 0.08);
  border: 1px solid #e2e8f0;
  overflow: hidden;
}

.auth-tabs-header {
  display: flex;
  background: #f1f5f9;
  border-bottom: 1px solid #e2e8f0;
}

.auth-tab-btn {
  flex: 1;
  padding: 18px 20px;
  font-family: inherit;
  font-size: 1rem;
  font-weight: 700;
  border: none;
  background: transparent;
  color: #64748b;
  cursor: pointer;
  transition: all 0.25s ease;
  text-align: center;
}

.auth-tab-btn.active {
  background: #ffffff;
  color: var(--color-primary-dark);
  border-bottom: 3px solid var(--color-accent);
}

.auth-tab-btn:hover:not(.active) {
  color: var(--color-primary);
  background: #e2e8f0;
}

.auth-body-content {
  padding: 36px;
}

.auth-form-title {
  font-size: 1.5rem;
  font-weight: 800;
  color: var(--color-primary-dark);
  margin-bottom: 8px;
}

.auth-form-desc {
  font-size: 0.95rem;
  color: #64748b;
  margin-bottom: 24px;
}

/* Painel do Membro Logado */
.dashboard-container {
  max-width: 1080px;
  margin: -40px auto 60px auto;
  background: #ffffff;
  border-radius: 16px;
  box-shadow: 0 12px 36px rgba(0, 0, 0, 0.08);
  border: 1px solid #e2e8f0;
  overflow: hidden;
}

.dashboard-header-bar {
  background: linear-gradient(135deg, var(--color-primary-dark), #102a1d);
  color: #ffffff;
  padding: 36px 40px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 20px;
}

.user-profile-info {
  display: flex;
  align-items: center;
  gap: 20px;
}

.user-avatar-circle {
  width: 64px;
  height: 64px;
  border-radius: 50%;
  background: var(--color-accent);
  color: var(--color-primary-dark);
  font-size: 1.8rem;
  font-weight: 800;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 12px rgba(0,0,0,0.2);
}

.user-name-title {
  font-size: 1.5rem;
  font-weight: 800;
  color: #ffffff;
  margin-bottom: 4px;
}

.user-role-badge {
  display: inline-block;
  padding: 4px 12px;
  background: rgba(255, 255, 255, 0.2);
  border-radius: 20px;
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--color-accent);
}

.btn-logout {
  background: rgba(255, 255, 255, 0.12);
  border: 1px solid rgba(255, 255, 255, 0.3);
  color: #ffffff;
  padding: 10px 20px;
  border-radius: 8px;
  cursor: pointer;
  font-weight: 600;
  transition: all 0.2s ease;
}

.btn-logout:hover {
  background: #ef4444;
  border-color: #ef4444;
}

.dashboard-nav-tabs {
  display: flex;
  background: #f8fafc;
  border-bottom: 1px solid #e2e8f0;
  overflow-x: auto;
}

.dash-tab-btn {
  padding: 16px 24px;
  background: none;
  border: none;
  font-family: inherit;
  font-size: 0.95rem;
  font-weight: 600;
  color: #64748b;
  cursor: pointer;
  white-space: nowrap;
  border-bottom: 3px solid transparent;
  transition: all 0.2s ease;
}

.dash-tab-btn.active {
  color: var(--color-primary);
  border-bottom-color: var(--color-primary);
  background: #ffffff;
}

.dashboard-tab-content {
  padding: 36px 40px;
}

.quick-stats-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 20px;
  margin-bottom: 36px;
}

.stat-metric-card {
  background: #f8fafc;
  border: 1px solid #e2e8f0;
  border-radius: 12px;
  padding: 24px;
  display: flex;
  align-items: center;
  gap: 16px;
}

.stat-icon {
  font-size: 2rem;
}

.stat-num {
  font-size: 1.6rem;
  font-weight: 800;
  color: var(--color-primary-dark);
}

.stat-label {
  font-size: 0.85rem;
  color: #64748b;
  font-weight: 500;
}

@media (max-width: 768px) {
  .dashboard-header-bar {
    padding: 24px;
    flex-direction: column;
    align-items: flex-start;
  }
  .dashboard-tab-content {
    padding: 24px;
  }
}
