/* ==========================================================================
   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;
  scroll-padding-top: 142px;
  font-size: 16px;
  overflow-x: clip;
  max-width: 100vw;
  width: 100%;
}

@media (max-width: 768px) {
  html {
    scroll-padding-top: 128px;
  }
}

@media (max-width: 600px) {
  html {
    scroll-padding-top: 118px;
  }
}

body {
  font-family: var(--font-body);
  background-color: var(--color-bg-light);
  color: var(--color-text);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  overflow-x: clip;
  max-width: 100vw;
  width: 100%;
  position: relative;
  padding-top: 132px;
}

@media (max-width: 768px) {
  body {
    padding-top: 118px;
  }
}

@media (max-width: 600px) {
  body {
    padding-top: 108px;
  }
}

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;
}

/* Container de Cabeçalho Fixo Unificado (Desktop, Tablet e Mobile) */
.header-fixed-wrap {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  width: 100%;
  z-index: 1000;
  box-shadow: 0 4px 20px rgba(15, 36, 26, 0.08);
}

.top-notice-bar {
  background: var(--color-primary-dark);
  color: var(--color-accent);
  padding: 8px 16px;
  text-align: center;
  border-bottom: 1px solid rgba(212, 175, 55, 0.25);
  font-size: 0.85rem;
  font-weight: 500;
  line-height: 1.4;
  box-sizing: border-box;
}

@media (max-width: 768px) {
  .top-notice-bar {
    font-size: 0.78rem;
    padding: 7px 12px;
    line-height: 1.35;
  }
}

@media (max-width: 480px) {
  .top-notice-bar {
    font-size: 0.72rem;
    padding: 6px 10px;
    line-height: 1.3;
  }
}

.site-header {
  background: rgba(255, 255, 255, 0.98);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  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(4, 1fr);
  gap: 20px;
  max-width: 1080px;
  margin: 0 auto;
  justify-content: center;
}

.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;
  justify-content: 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;
  text-align: center;
}

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

/* 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);
}

/* ==========================================================================
   SELETOR DE TEMAS & ASSUNTOS (ORGANIZAÇÃO MODERNA DO ACERVO)
   ========================================================================== */
.theme-tabs-container {
  margin-top: 18px;
  padding-top: 18px;
  border-top: 1px dashed var(--color-border);
}

.theme-tabs-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 12px;
}

.theme-tabs-label {
  font-size: 0.88rem;
  font-weight: 700;
  color: var(--color-primary-dark);
  display: flex;
  align-items: center;
  gap: 6px;
}

.theme-tabs-scroll {
  display: flex;
  align-items: center;
  gap: 10px;
  overflow-x: auto;
  padding-bottom: 8px;
  scrollbar-width: thin;
  -webkit-overflow-scrolling: touch;
}

.theme-tabs-scroll::-webkit-scrollbar {
  height: 4px;
}

.theme-tabs-scroll::-webkit-scrollbar-thumb {
  background: var(--color-border);
  border-radius: 4px;
}

.theme-tab-btn {
  background: #ffffff;
  border: 1.5px solid var(--color-border);
  padding: 8px 16px;
  border-radius: var(--radius-pill);
  font-size: 0.88rem;
  font-weight: 600;
  color: var(--color-text);
  cursor: pointer;
  transition: var(--transition);
  display: inline-flex;
  align-items: center;
  gap: 8px;
  white-space: nowrap;
  flex-shrink: 0;
  box-shadow: 0 1px 4px rgba(15, 36, 26, 0.04);
}

.theme-tab-btn:hover {
  background: #f0fdf4;
  border-color: var(--color-primary-light);
  color: var(--color-primary);
  transform: translateY(-1px);
}

.theme-tab-btn.active {
  background: linear-gradient(135deg, var(--color-primary-dark), var(--color-primary));
  color: #ffffff;
  border-color: var(--color-primary-dark);
  box-shadow: 0 4px 14px rgba(27, 56, 43, 0.25);
}

.theme-tab-badge {
  background: rgba(15, 36, 26, 0.08);
  color: var(--color-primary-dark);
  font-size: 0.72rem;
  font-weight: 700;
  padding: 2px 7px;
  border-radius: 10px;
  transition: var(--transition);
}

.theme-tab-btn.active .theme-tab-badge {
  background: rgba(212, 175, 55, 0.25);
  color: var(--color-accent-light);
}

/* Badge de Tema no Card */
.badge-theme {
  font-size: 0.75rem;
  font-weight: 700;
  padding: 3px 9px;
  border-radius: var(--radius-pill);
  background: rgba(27, 56, 43, 0.08);
  color: var(--color-primary-dark);
  display: inline-flex;
  align-items: center;
  gap: 4px;
}

/* Botão Carregar Mais Materiais (Controle de Altura no Mobile) */
.materials-load-more-wrap {
  grid-column: 1 / -1;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
  padding: 28px 0 12px;
}

.btn-load-more {
  background: #ffffff;
  color: var(--color-primary-dark);
  border: 2px solid var(--color-primary);
  padding: 13px 28px;
  border-radius: var(--radius-pill);
  font-size: 0.95rem;
  font-weight: 700;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  box-shadow: var(--shadow-sm);
  transition: var(--transition);
  outline: none;
}

.btn-load-more:hover {
  background: var(--color-primary);
  color: #ffffff;
  transform: translateY(-2px);
  box-shadow: var(--shadow-md);
}

.btn-load-more:active {
  transform: scale(0.97);
}

.load-more-counter {
  font-size: 0.82rem;
  color: var(--color-text-muted);
  font-weight: 500;
}

.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(2, 1fr);
    max-width: 640px;
    margin: 0 auto;
  }
  .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);
    max-width: 640px;
    margin: 0 auto;
  }
  .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 */
.hero-chalkboard-wrap {
  position: relative;
  z-index: 5;
}

.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: transform 0.35s cubic-bezier(0.25, 1, 0.5, 1), box-shadow 0.35s ease;
}

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

/* Efeito de Zoom Acentuado no Desktop para Leitura da Lousa */
@media (min-width: 992px) and (hover: hover) {
  .hero-section {
    overflow: visible;
  }

  .hero-chalkboard-wrap:hover {
    z-index: 100;
  }

  .original-chalkboard-frame {
    cursor: zoom-in;
    transform-origin: 80% 45%;
    will-change: transform, box-shadow;
  }

  .original-chalkboard-frame:hover {
    transform: scale(1.75);
    box-shadow: 0 35px 85px rgba(0, 0, 0, 0.85), 0 0 0 2px rgba(212, 175, 55, 0.45);
    z-index: 100;
  }
}

/* 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: 70px;
  right: 1.25rem;
  width: 46px;
  height: 46px;
  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(58px + env(safe-area-inset-bottom, 0px));
    right: 0.75rem;
    width: 42px;
    height: 42px;
    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%);
  visibility: hidden;
  pointer-events: none;
  transition: transform 0.35s cubic-bezier(0.16, 1, 0.3, 1), visibility 0.35s ease;
  overflow-y: auto;
  -webkit-overflow-scrolling: touch;
}

.mobile-drawer.active {
  transform: translateX(0);
  visibility: visible;
  pointer-events: auto;
}

/* 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;
  }
}

/* Proteção Estrita contra Deslocamento Horizontal no Mobile */
@media (max-width: 768px) {
  .reveal-left,
  .reveal-right {
    transform: translateY(22px);
  }
  .reveal-left.revealed,
  .reveal-right.revealed {
    transform: translateY(0) scale(1);
  }
}

/* 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;
  }
}

/* ==========================================================================
   PÁGINAS NATIVAS DE ARTIGOS DO BLOG (LEITURA ERGONÔMICA & ELEGANTE)
   ========================================================================== */
.article-page-container {
  max-width: 860px;
  margin: 0 auto;
  padding: 48px 20px 80px;
}

.article-breadcrumbs {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 8px;
  font-size: 0.9rem;
  color: #64748b;
  margin-bottom: 24px;
}

.article-breadcrumbs a {
  color: var(--color-primary, #0f3d2e);
  text-decoration: none;
  font-weight: 600;
  transition: var(--transition);
}

.article-breadcrumbs a:hover {
  color: var(--color-accent, #d4af37);
  text-decoration: underline;
}

.article-header {
  margin-bottom: 32px;
}

.article-category-badge {
  display: inline-block;
  padding: 6px 14px;
  border-radius: 20px;
  font-size: 0.8rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: #ffffff;
  margin-bottom: 16px;
}

.article-title {
  font-size: clamp(2rem, 4.2vw, 2.75rem);
  font-weight: 800;
  line-height: 1.25;
  color: var(--color-primary-dark, #0b2e22);
  margin-bottom: 20px;
  letter-spacing: -0.02em;
}

.article-meta {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 16px;
  font-size: 0.9rem;
  color: #64748b;
  padding-bottom: 20px;
  border-bottom: 1px solid #e2e8f0;
}

.article-meta-item {
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

.article-featured-wrap {
  margin: 32px 0 44px;
  border-radius: 16px;
  overflow: hidden;
  box-shadow: 0 12px 30px rgba(0, 0, 0, 0.08);
  background: #f1f5f9;
}

.article-featured-wrap img {
  width: 100%;
  height: auto;
  max-height: 480px;
  object-fit: cover;
  display: block;
}

/* Corpo do Artigo */
.article-body {
  font-size: 1.125rem;
  line-height: 1.85;
  color: #1e293b;
}

.article-body p {
  margin-bottom: 1.5rem;
}

.article-body h2 {
  font-size: 1.65rem;
  font-weight: 800;
  color: var(--color-primary, #0f3d2e);
  margin: 2.2rem 0 1rem;
  line-height: 1.35;
  border-left: 4px solid var(--color-accent, #d4af37);
  padding-left: 14px;
}

.article-body h3 {
  font-size: 1.35rem;
  font-weight: 700;
  color: #1e293b;
  margin: 1.8rem 0 0.8rem;
  line-height: 1.4;
}

.article-body h4 {
  font-size: 1.15rem;
  font-weight: 700;
  color: #334155;
  margin: 1.4rem 0 0.6rem;
}

.article-body blockquote {
  margin: 1.8rem 0;
  padding: 18px 24px;
  background: rgba(15, 61, 46, 0.04);
  border-left: 4px solid var(--color-accent, #d4af37);
  border-radius: 0 12px 12px 0;
  font-style: italic;
  color: #0f3d2e;
  font-size: 1.08rem;
  line-height: 1.75;
}

.article-body blockquote p:last-child {
  margin-bottom: 0;
}

.article-body ul,
.article-body ol {
  margin: 1.2rem 0 1.6rem 24px;
  padding-left: 10px;
}

.article-body li {
  margin-bottom: 0.6rem;
}

.article-body strong,
.article-body b {
  color: #0b2e22;
  font-weight: 700;
}

.article-body a {
  color: var(--color-primary, #0f3d2e);
  text-decoration: underline;
  font-weight: 600;
}

.article-body a:hover {
  color: var(--color-accent, #d4af37);
}

/* Call to Action no Final do Artigo */
.article-cta-box {
  margin-top: 50px;
  padding: 36px;
  border-radius: 16px;
  background: linear-gradient(135deg, #0f3d2e 0%, #154c3a 100%);
  color: #ffffff;
  box-shadow: 0 12px 30px rgba(15, 61, 46, 0.2);
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.article-cta-box h3 {
  font-size: 1.5rem;
  font-weight: 800;
  color: #ffffff;
  margin: 0;
}

.article-cta-box p {
  font-size: 1rem;
  line-height: 1.6;
  color: #e2e8f0;
  margin: 0;
}

.article-cta-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 10px;
}

.article-share-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 16px;
  margin-top: 40px;
  padding: 20px 0;
  border-top: 1px solid #e2e8f0;
  border-bottom: 1px solid #e2e8f0;
}

.article-share-links {
  display: flex;
  align-items: center;
  gap: 10px;
}

.btn-share {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 8px 16px;
  border-radius: 8px;
  font-size: 0.88rem;
  font-weight: 600;
  text-decoration: none;
  transition: var(--transition);
}

.btn-share-whatsapp {
  background: #25d366;
  color: #ffffff;
}

.btn-share-whatsapp:hover {
  background: #20ba59;
  transform: translateY(-2px);
}

.btn-back-blog {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 8px 16px;
  border-radius: 8px;
  font-size: 0.88rem;
  font-weight: 600;
  background: #f1f5f9;
  color: #334155;
  text-decoration: none;
  transition: var(--transition);
}

.btn-back-blog:hover {
  background: #e2e8f0;
  color: #0f3d2e;
}

/* Posts Relacionados */
.related-posts-section {
  margin-top: 60px;
}

.related-posts-title {
  font-size: 1.4rem;
  font-weight: 800;
  color: var(--color-primary-dark, #0b2e22);
  margin-bottom: 24px;
}

.related-posts-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 24px;
}

@media (max-width: 640px) {
  .related-posts-grid {
    grid-template-columns: 1fr;
  }
  .article-cta-box {
    padding: 24px;
  }
}

/* ==========================================================================
   WIDGET COMUNIDADE EM TEMPO REAL — LIVE TRAFFIC FEED MODERNO
   ========================================================================== */
.live-community-section {
  padding: 48px 0 28px;
  background: linear-gradient(180deg, var(--color-bg-light) 0%, #edf4f0 100%);
  border-top: 1px solid var(--color-border);
}

.live-community-card {
  background: var(--color-surface);
  border: 1px solid rgba(44, 89, 69, 0.15);
  border-radius: var(--radius-lg);
  padding: 32px 28px 22px;
  box-shadow: var(--shadow-sm);
  position: relative;
  overflow: hidden;
}

.live-community-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 4px;
  background: linear-gradient(90deg, var(--color-primary), var(--color-accent), var(--color-primary-light));
}

.live-community-header {
  margin-bottom: 24px;
}

.live-status-pill {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 5px 12px;
  border-radius: var(--radius-pill);
  background: rgba(37, 211, 102, 0.12);
  color: #1a8a43;
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.5px;
  text-transform: uppercase;
  margin-bottom: 12px;
}

.live-pulse-dot {
  width: 8px;
  height: 8px;
  background-color: #25d366;
  border-radius: 50%;
  position: relative;
}

.live-pulse-dot::after {
  content: '';
  position: absolute;
  top: -2px;
  left: -2px;
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background-color: rgba(37, 211, 102, 0.6);
  animation: livePulse 2s infinite ease-out;
}

@keyframes livePulse {
  0% { transform: scale(0.8); opacity: 1; }
  100% { transform: scale(2.4); opacity: 0; }
}

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

.live-community-title span {
  color: var(--color-primary-light);
}

.live-community-subtitle {
  font-size: 0.95rem;
  color: var(--color-text-muted);
}

/* Feed Grid */
.live-feed-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 16px;
  margin-bottom: 22px;
}

.live-feed-item {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  padding: 14px 16px;
  background: #fbfdfc;
  border: 1px solid #e2ebe6;
  border-radius: var(--radius-md);
  transition: var(--transition);
  position: relative;
}

.live-feed-item:hover {
  transform: translateY(-2px);
  border-color: var(--color-accent);
  box-shadow: 0 6px 18px rgba(15, 36, 26, 0.08);
  background: #ffffff;
}

.live-feed-flag {
  font-size: 1.65rem;
  line-height: 1;
  flex-shrink: 0;
  padding-top: 2px;
}

.live-feed-info {
  flex: 1;
  min-width: 0;
}

.live-feed-location {
  font-size: 0.92rem;
  font-weight: 700;
  color: var(--color-primary-dark);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  margin-bottom: 4px;
}

.live-feed-loc-text {
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  min-width: 0;
}

.live-feed-time {
  font-size: 0.75rem;
  font-weight: 500;
  color: #8c9e97;
  white-space: nowrap;
}

.live-feed-page {
  font-size: 0.82rem;
  color: var(--color-text-muted);
  line-height: 1.35;
  display: -webkit-box;
  -webkit-line-clamp: 1;
  -webkit-box-orient: vertical;
  overflow: hidden;
  text-overflow: ellipsis;
}

.live-community-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 12px;
  padding-top: 16px;
  border-top: 1px solid #edf2ef;
  font-size: 0.85rem;
  color: var(--color-text-muted);
}

.live-cities-counter strong {
  color: var(--color-primary);
}

.live-privacy-notice {
  font-size: 0.78rem;
  color: #8c9e97;
  display: flex;
  align-items: center;
  gap: 5px;
}

@media (max-width: 640px) {
  .live-community-card {
    padding: 22px 16px 18px;
  }
  .live-community-title {
    font-size: 1.25rem;
  }
  .live-feed-grid {
    grid-template-columns: 1fr;
  }
}

/* ==========================================================================
   SISTEMA DE CONSENTIMENTO LGPD & COOKIES (PADRÃO OFICIAL ALLOGIC)
   ========================================================================== */
.cookie-consent {
  position: fixed;
  inset: auto 1rem 1rem;
  z-index: 10000;
}

.cookie-consent[hidden],
.cookie-consent__manage[hidden] {
  display: none !important;
}

.cookie-consent__content {
  max-width: 72rem;
  margin: 0 auto;
  padding: 16px 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  border: 1px solid #d1d5db;
  border-radius: 10px;
  background: #ffffff;
  color: #1e293b;
  box-shadow: 0 10px 25px -5px rgba(0, 0, 0, 0.1), 0 8px 10px -6px rgba(0, 0, 0, 0.1);
  font-family: inherit;
}

.cookie-consent__text {
  max-width: 50rem;
}

.cookie-consent__title {
  margin: 0 0 6px 0;
  font-weight: 700;
  font-size: 1rem;
  color: #0f241a;
}

.cookie-consent__text p:last-child {
  margin: 0;
  font-size: 0.88rem;
  line-height: 1.5;
  color: #475569;
}

.cookie-consent__text a {
  color: #091a33;
  text-decoration: underline;
  margin-left: 4px;
  font-weight: 600;
}

.cookie-consent__actions {
  display: flex;
  flex-shrink: 0;
  gap: 10px;
  align-items: center;
}

.cookie-consent__actions button {
  padding: 8px 20px;
  border: 1px solid #091a33;
  border-radius: 6px;
  background: #ffffff;
  color: #091a33;
  font-size: 0.88rem;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.2s ease;
  font-family: inherit;
}

.cookie-consent__actions button:hover {
  background: #f1f5f9;
}

.cookie-consent__actions button[data-cookie-consent-accept] {
  background-color: #d4af37;
  color: #ffffff;
  border-color: #d4af37;
  box-shadow: 0 2px 8px rgba(212, 175, 55, 0.35);
}

.cookie-consent__actions button[data-cookie-consent-accept]:hover {
  background-color: #b59122;
  border-color: #b59122;
  color: #ffffff;
}

.cookie-consent__manage {
  position: fixed;
  right: 1.25rem;
  bottom: 1.25rem;
  z-index: 9999;
  padding: 7px 16px;
  border: 1px solid #d1d5db;
  border-radius: 6px;
  background: #ffffff;
  color: #374151;
  font-size: 0.85rem;
  font-weight: 500;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.08);
  cursor: pointer;
  font-family: inherit;
  transition: all 0.2s ease;
}

.cookie-consent__manage:hover {
  background: #f9fafb;
  border-color: #9ca3af;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.12);
}

@media (max-width: 768px) {
  .cookie-consent {
    inset: auto 0.75rem 0.75rem;
  }
  .cookie-consent__content {
    flex-direction: column;
    align-items: stretch;
    padding: 16px;
    gap: 14px;
  }
  .cookie-consent__actions {
    justify-content: flex-end;
  }
  .cookie-consent__manage {
    right: 0.75rem;
    bottom: 0.75rem;
    padding: 6px 12px;
    font-size: 0.8rem;
  }
}
