/* ==========================================================================
   QUARTA CAPA - CLUBE DE LEITURA | ESTILOS PRINCIPAIS
   Inspirado no layout e estética do GEHISLIT (https://gehislit.com/)
   ========================================================================== */

:root {
  /* Cores Principais baseadas na Logo e Referência */
  --brand-black: #111111;
  --brand-dark: #18181a;
  --brand-burgundy: #7b181b;
  --brand-burgundy-hover: #5d1113;
  --brand-burgundy-light: #fbebee;
  --brand-burgundy-border: #f0c3c8;
  
  /* Fundos em camadas fiéis ao Gehislit */
  --bg-page: #f8f9fa;
  --bg-section-alt: #eceff3;
  --bg-card: #ffffff;
  --bg-header: rgba(248, 249, 250, 0.96);
  --bg-footer: #f1f3f5;
  --bg-dark-overlay: rgba(17, 17, 17, 0.78);
  
  /* Textos & Neutros */
  --text-main: #1d1e20;
  --text-muted: #56585e;
  --text-light: #727586;
  --text-inverse: #ffffff;
  --border-color: #dadce0;
  --border-light: #e9ecef;
  
  /* Tipografia */
  --font-sans: 'Inter', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
  --font-serif: 'Playfair Display', Georgia, serif;
  --font-body: 'Lato', sans-serif;
  
  /* Espaçamentos e Formas */
  --container-width: 1220px;
  --radius-sm: 6px;
  --radius-md: 12px;
  --radius-lg: 20px;
  --radius-pill: 9999px;
  --shadow-sm: 0 2px 8px rgba(0, 0, 0, 0.05);
  --shadow-md: 0 8px 24px rgba(0, 0, 0, 0.08);
  --shadow-lg: 0 16px 36px rgba(0, 0, 0, 0.12);
  --transition-normal: 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);
  color: var(--text-main);
  background-color: var(--bg-page);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

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

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

button, input, select, textarea {
  font-family: inherit;
  font-size: inherit;
}

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

/* ==========================================================================
   TIPOGRAFIA & TÍTULOS
   ========================================================================== */
h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-sans);
  color: var(--brand-black);
  font-weight: 700;
  line-height: 1.25;
}

h1 {
  font-size: clamp(2.2rem, 5vw, 3.6rem);
  letter-spacing: -0.03em;
}

h2 {
  font-size: clamp(1.8rem, 3.5vw, 2.6rem);
  letter-spacing: -0.02em;
}

h3 {
  font-size: clamp(1.4rem, 2.5vw, 1.9rem);
}

.section-header {
  text-align: center;
  margin-bottom: 48px;
}

.section-subtitle {
  font-family: var(--font-sans);
  font-size: 0.85rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 2px;
  color: var(--brand-burgundy);
  margin-bottom: 12px;
  display: inline-flex;
  align-items: center;
  gap: 12px;
}

.section-subtitle::before,
.section-subtitle::after {
  content: '';
  display: inline-block;
  width: 24px;
  height: 2px;
  background-color: var(--brand-burgundy);
}

.section-title {
  margin-bottom: 16px;
}

.section-lead {
  font-size: 1.15rem;
  color: var(--text-muted);
  max-width: 720px;
  margin: 0 auto;
}

/* ==========================================================================
   BOTÕES & AÇÕES
   ========================================================================== */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 14px 32px;
  border-radius: var(--radius-pill);
  font-family: var(--font-sans);
  font-size: 0.95rem;
  font-weight: 600;
  cursor: pointer;
  border: 2px solid transparent;
  transition: var(--transition-normal);
  text-align: center;
}

.btn-primary {
  background-color: var(--brand-black);
  color: var(--text-inverse);
}

.btn-primary:hover {
  background-color: var(--brand-burgundy);
  border-color: var(--brand-burgundy);
  transform: translateY(-2px);
  box-shadow: 0 6px 18px rgba(123, 24, 27, 0.25);
}

.btn-burgundy {
  background-color: var(--brand-burgundy);
  color: var(--text-inverse);
}

.btn-burgundy:hover {
  background-color: var(--brand-burgundy-hover);
  transform: translateY(-2px);
  box-shadow: 0 6px 18px rgba(123, 24, 27, 0.35);
}

.btn-outline {
  background-color: transparent;
  border-color: var(--brand-black);
  color: var(--brand-black);
}

.btn-outline:hover {
  background-color: var(--brand-black);
  color: var(--text-inverse);
  transform: translateY(-2px);
}

.btn-outline-white {
  background-color: transparent;
  border-color: rgba(255, 255, 255, 0.8);
  color: var(--text-inverse);
}

.btn-outline-white:hover {
  background-color: var(--text-inverse);
  color: var(--brand-black);
  border-color: var(--text-inverse);
}

.btn-sm {
  padding: 9px 20px;
  font-size: 0.85rem;
}

/* ==========================================================================
   HEADER / NAVBAR SUPERIOR
   ========================================================================== */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background-color: var(--bg-header);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--border-light);
  transition: var(--transition-normal);
}

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

.site-logo {
  display: flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
}

.logo-image {
  height: 52px;
  width: auto;
  object-fit: contain;
}

.nav-desktop {
  display: flex;
  align-items: center;
  gap: 22px;
}

.nav-link {
  font-family: var(--font-sans);
  font-size: 0.92rem;
  font-weight: 500;
  color: var(--text-main);
  padding: 8px 4px;
  position: relative;
  transition: color 0.2s ease;
}

.nav-link::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 0;
  height: 2px;
  background-color: var(--brand-burgundy);
  transition: width 0.25s ease;
}

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

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

.nav-actions {
  display: flex;
  align-items: center;
  gap: 14px;
}

.hamburger-btn {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
  padding: 8px;
  color: var(--brand-black);
}

.hamburger-btn svg {
  width: 28px;
  height: 28px;
}

/* Drawer Mobile */
.mobile-nav-drawer {
  position: fixed;
  top: 0;
  right: -100%;
  width: 320px;
  height: 100vh;
  background-color: var(--bg-card);
  box-shadow: -4px 0 24px rgba(0, 0, 0, 0.15);
  z-index: 200;
  display: flex;
  flex-direction: column;
  padding: 28px 24px;
  transition: right 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

.mobile-nav-drawer.open {
  right: 0;
}

.mobile-drawer-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 32px;
  padding-bottom: 16px;
  border-bottom: 1px solid var(--border-light);
}

.close-drawer-btn {
  background: none;
  border: none;
  font-size: 28px;
  cursor: pointer;
  color: var(--text-main);
}

.mobile-nav-links {
  display: flex;
  flex-direction: column;
  gap: 16px;
  margin-bottom: auto;
}

.mobile-nav-link {
  font-family: var(--font-sans);
  font-size: 1.1rem;
  font-weight: 600;
  color: var(--text-main);
  padding: 8px 0;
}

.mobile-nav-link.active,
.mobile-nav-link:hover {
  color: var(--brand-burgundy);
}

.drawer-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  background: rgba(0, 0, 0, 0.5);
  z-index: 190;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.3s ease, visibility 0.3s ease;
}

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

/* ==========================================================================
   TICKER / AVISO SUPERIOR
   ========================================================================== */
.alert-ticker {
  background-color: var(--brand-black);
  color: var(--text-inverse);
  padding: 10px 0;
  font-size: 0.88rem;
  font-family: var(--font-sans);
}

.ticker-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}

.ticker-badge {
  background-color: var(--brand-burgundy);
  color: #fff;
  padding: 3px 10px;
  border-radius: var(--radius-pill);
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.5px;
  text-transform: uppercase;
}

.ticker-text {
  flex: 1;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.ticker-link {
  color: #ffd8dc;
  text-decoration: underline;
  font-weight: 600;
}

/* ==========================================================================
   HERO BANNER (ESTÉTICA ATMOSFÉRICA GEHISLIT)
   ========================================================================== */
.hero-section {
  position: relative;
  min-height: 480px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(135deg, rgba(20, 22, 27, 0.88) 0%, rgba(38, 20, 24, 0.85) 100%),
              url('https://images.unsplash.com/photo-1507842229451-7f01be7ff6ab?q=80&w=1600&auto=format&fit=crop') center/cover no-repeat;
  color: var(--text-inverse);
  text-align: center;
  padding: 80px 20px;
}

.hero-content {
  max-width: 860px;
  margin: 0 auto;
}

.hero-tagline {
  display: inline-block;
  font-family: var(--font-sans);
  font-size: 0.95rem;
  font-weight: 700;
  letter-spacing: 3px;
  text-transform: uppercase;
  color: #f7a8b0;
  margin-bottom: 18px;
}

.hero-title {
  color: var(--text-inverse);
  margin-bottom: 20px;
  font-weight: 900;
}

.hero-italic-left {
  display: inline-block;
  font-style: italic;
  transform: skewX(22deg);
  transform-origin: center bottom;
}

.hero-motto {
  font-family: var(--font-body);
  font-size: 1.35rem;
  font-style: italic;
  font-weight: 400;
  color: rgba(255, 255, 255, 0.9);
  margin-bottom: 34px;
}

.hero-buttons {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 16px;
  flex-wrap: wrap;
}

/* ==========================================================================
   SEÇÕES GERAIS
   ========================================================================== */
.section {
  padding: 72px 0;
}

.section-alt {
  background-color: var(--bg-section-alt);
}

.section-white {
  background-color: var(--bg-card);
}

/* ==========================================================================
   DESTAQUE: BATE-PAPO COM AUTOR(A) / LEITURA DO CICLO
   ========================================================================== */
.feature-box {
  background-color: var(--bg-card);
  border-radius: var(--radius-lg);
  padding: 48px;
  box-shadow: var(--shadow-sm);
  border: 1px solid var(--border-light);
  text-align: center;
  margin-bottom: 48px;
}

.feature-box-title {
  font-size: 2.1rem;
  margin-bottom: 16px;
}

.feature-box-desc {
  max-width: 820px;
  margin: 0 auto 28px;
  font-size: 1.08rem;
  color: var(--text-muted);
}

/* Grid de Encontros */
.events-cards-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 28px;
  margin-top: 36px;
}

.event-card {
  background-color: var(--bg-card);
  border-radius: var(--radius-md);
  padding: 30px;
  border: 1px solid var(--border-light);
  box-shadow: var(--shadow-sm);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  transition: var(--transition-normal);
  position: relative;
  overflow: hidden;
}

.event-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 4px;
  background-color: var(--brand-burgundy);
  opacity: 0;
  transition: opacity 0.25s ease;
}

.event-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-md);
}

.event-card:hover::before {
  opacity: 1;
}

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

.event-date-badge {
  background-color: var(--brand-burgundy-light);
  color: var(--brand-burgundy);
  padding: 6px 14px;
  border-radius: var(--radius-pill);
  font-size: 0.85rem;
  font-weight: 700;
  font-family: var(--font-sans);
}

.event-status {
  font-size: 0.8rem;
  font-weight: 600;
  color: #2b8a3e;
  display: flex;
  align-items: center;
  gap: 6px;
}

.event-status::before {
  content: '';
  width: 8px;
  height: 8px;
  background-color: #2b8a3e;
  border-radius: 50%;
  display: inline-block;
}

.event-author-info {
  display: flex;
  align-items: center;
  gap: 16px;
  margin-bottom: 20px;
}

.author-avatar {
  width: 68px;
  height: 68px;
  border-radius: 50%;
  object-fit: cover;
  border: 2px solid var(--border-light);
  background-color: #eee;
}

.author-meta h4 {
  font-size: 1.15rem;
  margin-bottom: 4px;
}

.author-meta p {
  font-size: 0.88rem;
  color: var(--text-muted);
}

.event-book-title {
  font-family: var(--font-serif);
  font-size: 1.25rem;
  margin-bottom: 12px;
  color: var(--brand-black);
}

.event-summary {
  font-size: 0.95rem;
  color: var(--text-muted);
  margin-bottom: 20px;
}

.event-mediators {
  font-size: 0.88rem;
  color: var(--text-light);
  padding-top: 14px;
  border-top: 1px solid var(--border-light);
  margin-bottom: 20px;
}

.event-card-soon {
  display: flex;
  align-items: center;
  justify-content: center;
  background-color: #fafbfc;
  border: 2px dashed var(--border-color);
  color: var(--text-light);
  text-align: center;
  padding: 48px 24px;
}

/* ==========================================================================
   SEMINÁRIO & CICLOS TEMÁTICOS (SYLLABUS / MÓDULOS)
   ========================================================================== */
.seminar-wrapper {
  background-color: var(--bg-card);
  border-radius: var(--radius-lg);
  padding: 40px;
  box-shadow: var(--shadow-sm);
  border: 1px solid var(--border-light);
}

.seminar-header {
  border-bottom: 1px solid var(--border-light);
  padding-bottom: 24px;
  margin-bottom: 32px;
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 20px;
}

.seminar-dates {
  font-family: var(--font-sans);
  font-weight: 700;
  color: var(--brand-burgundy);
  font-size: 1.1rem;
}

.seminar-list {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.seminar-item {
  display: grid;
  grid-template-columns: 60px 1fr auto;
  align-items: center;
  gap: 20px;
  padding: 20px;
  background-color: var(--bg-page);
  border-radius: var(--radius-md);
  border: 1px solid var(--border-light);
  transition: var(--transition-normal);
}

.seminar-item:hover {
  background-color: #ffffff;
  box-shadow: var(--shadow-sm);
  border-color: var(--brand-burgundy-border);
}

.seminar-num {
  font-family: var(--font-sans);
  font-size: 1.6rem;
  font-weight: 900;
  color: var(--brand-burgundy);
  text-align: center;
}

.seminar-info h4 {
  font-size: 1.15rem;
  margin-bottom: 6px;
}

.seminar-info p {
  font-size: 0.92rem;
  color: var(--text-muted);
}

/* ==========================================================================
   INSTAGRAM FEED / GALERIA DE LEITURAS
   ========================================================================== */
.instagram-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 18px;
}

.instagram-card {
  position: relative;
  aspect-ratio: 1 / 1;
  border-radius: var(--radius-md);
  overflow: hidden;
  cursor: pointer;
  box-shadow: var(--shadow-sm);
}

.instagram-card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.35s ease;
}

.instagram-overlay {
  position: absolute;
  inset: 0;
  background: rgba(17, 17, 17, 0.7);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  opacity: 0;
  transition: opacity 0.25s ease;
  color: #ffffff;
  padding: 18px;
  text-align: center;
}

.instagram-card:hover .instagram-overlay {
  opacity: 1;
}

.instagram-card:hover img {
  transform: scale(1.06);
}

.insta-stats {
  display: flex;
  align-items: center;
  gap: 16px;
  font-weight: 700;
  margin-bottom: 8px;
  font-size: 0.95rem;
}

.insta-caption {
  font-size: 0.8rem;
  line-height: 1.3;
}

/* ==========================================================================
   DEPOIMENTOS / TESTIMONIALS
   ========================================================================== */
.testimonials-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 28px;
}

.testimonial-card {
  background-color: var(--bg-card);
  padding: 32px;
  border-radius: var(--radius-md);
  border: 1px solid var(--border-light);
  box-shadow: var(--shadow-sm);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.stars {
  color: #f59f00;
  font-size: 1.25rem;
  margin-bottom: 16px;
  letter-spacing: 3px;
}

.testimonial-quote {
  font-size: 1rem;
  color: var(--text-main);
  line-height: 1.6;
  margin-bottom: 24px;
}

.testimonial-author {
  display: flex;
  align-items: center;
  gap: 14px;
  border-top: 1px solid var(--border-light);
  padding-top: 16px;
}

.testimonial-author-avatar {
  width: 46px;
  height: 46px;
  border-radius: 50%;
  background-color: #ddd;
  object-fit: cover;
}

.testimonial-author h5 {
  font-size: 0.98rem;
  margin-bottom: 2px;
}

.testimonial-author span {
  font-size: 0.85rem;
  color: var(--text-muted);
}

/* ==========================================================================
   PÁGINAS / VIEWS ESPECÍFICAS (ROUTER SPA)
   ========================================================================== */
.page-view {
  display: none;
}

.page-view.active {
  display: block;
  animation: fadeIn 0.3s ease;
}

@keyframes fadeIn {
  from { opacity: 0; transform: translateY(6px); }
  to { opacity: 1; transform: translateY(0); }
}

/* Banner de Cabeçalho Interno para Páginas */
.inner-page-banner {
  background: linear-gradient(135deg, #18181a 0%, #30161a 100%);
  color: var(--text-inverse);
  padding: 54px 0;
  text-align: center;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.inner-page-banner h1 {
  color: #fff;
  margin-bottom: 12px;
}

.inner-page-banner p {
  color: rgba(255, 255, 255, 0.8);
  font-size: 1.15rem;
  max-width: 680px;
  margin: 0 auto;
}

/* Página Sobre Nós */
.about-grid {
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  gap: 48px;
  align-items: center;
}

.about-text p {
  font-size: 1.05rem;
  color: var(--text-main);
  margin-bottom: 18px;
}

.about-stats {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  margin-top: 36px;
  padding-top: 24px;
  border-top: 1px solid var(--border-light);
}

.stat-item h3 {
  font-size: 2.2rem;
  color: var(--brand-burgundy);
  margin-bottom: 4px;
}

.stat-item p {
  font-size: 0.85rem;
  color: var(--text-muted);
  text-transform: uppercase;
  font-weight: 600;
}

/* Página Projetos */
.projects-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(340px, 1fr));
  gap: 32px;
}

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

.project-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-md);
}

.project-image {
  height: 200px;
  object-fit: cover;
  width: 100%;
}

.project-body {
  padding: 28px;
  flex: 1;
  display: flex;
  flex-direction: column;
}

.project-badge {
  align-self: flex-start;
  background-color: var(--brand-burgundy-light);
  color: var(--brand-burgundy);
  padding: 4px 12px;
  border-radius: var(--radius-pill);
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
  margin-bottom: 14px;
}

.project-body h3 {
  font-size: 1.35rem;
  margin-bottom: 12px;
}

.project-body p {
  font-size: 0.95rem;
  color: var(--text-muted);
  margin-bottom: 24px;
  flex: 1;
}

/* Página Publicações & Ensaios */
.filter-bar {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  flex-wrap: wrap;
  margin-bottom: 40px;
}

.filter-btn {
  background-color: var(--bg-card);
  border: 1px solid var(--border-color);
  color: var(--text-main);
  padding: 8px 20px;
  border-radius: var(--radius-pill);
  font-size: 0.9rem;
  font-weight: 600;
  cursor: pointer;
  transition: var(--transition-normal);
}

.filter-btn:hover,
.filter-btn.active {
  background-color: var(--brand-black);
  color: #fff;
  border-color: var(--brand-black);
}

.publications-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(340px, 1fr));
  gap: 28px;
}

.article-card {
  background-color: var(--bg-card);
  border-radius: var(--radius-md);
  border: 1px solid var(--border-light);
  padding: 28px;
  box-shadow: var(--shadow-sm);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  transition: var(--transition-normal);
}

.article-card:hover {
  border-color: var(--brand-burgundy-border);
  box-shadow: var(--shadow-md);
}

.article-meta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: 0.85rem;
  color: var(--text-light);
  margin-bottom: 14px;
}

.article-tag {
  background: var(--brand-burgundy-light);
  color: var(--brand-burgundy);
  padding: 2px 10px;
  border-radius: var(--radius-pill);
  font-weight: 700;
}

.article-card h3 {
  font-family: var(--font-serif);
  font-size: 1.35rem;
  margin-bottom: 12px;
  line-height: 1.35;
}

.article-card p {
  font-size: 0.95rem;
  color: var(--text-muted);
  margin-bottom: 20px;
}

.article-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-top: 16px;
  border-top: 1px solid var(--border-light);
}

/* Membros & Equipe */
.members-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 28px;
}

.member-card {
  background-color: var(--bg-card);
  border-radius: var(--radius-md);
  padding: 28px 24px;
  text-align: center;
  border: 1px solid var(--border-light);
  box-shadow: var(--shadow-sm);
  transition: var(--transition-normal);
}

.member-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-md);
}

.member-avatar {
  width: 110px;
  height: 110px;
  border-radius: 50%;
  margin: 0 auto 18px;
  object-fit: cover;
  border: 3px solid var(--border-light);
}

.member-card h4 {
  font-size: 1.15rem;
  margin-bottom: 4px;
}

.member-role {
  font-size: 0.85rem;
  color: var(--brand-burgundy);
  font-weight: 700;
  text-transform: uppercase;
  margin-bottom: 12px;
}

.member-bio {
  font-size: 0.9rem;
  color: var(--text-muted);
  margin-bottom: 18px;
}

/* Página Contato & FAQ */
.contact-layout {
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  gap: 48px;
}

.contact-card, .info-card {
  background-color: var(--bg-card);
  border-radius: var(--radius-md);
  padding: 36px;
  border: 1px solid var(--border-light);
  box-shadow: var(--shadow-sm);
}

.form-group {
  margin-bottom: 20px;
}

.form-label {
  display: block;
  font-size: 0.9rem;
  font-weight: 600;
  margin-bottom: 8px;
  color: var(--text-main);
}

.form-input, .form-textarea, .form-select {
  width: 100%;
  padding: 12px 16px;
  border-radius: var(--radius-sm);
  border: 1px solid var(--border-color);
  background-color: #fff;
  transition: var(--transition-normal);
}

.form-input:focus, .form-textarea:focus, .form-select:focus {
  outline: none;
  border-color: var(--brand-burgundy);
  box-shadow: 0 0 0 3px rgba(123, 24, 27, 0.15);
}

.info-item {
  display: flex;
  gap: 16px;
  margin-bottom: 24px;
}

.info-icon {
  width: 44px;
  height: 44px;
  background-color: var(--brand-burgundy-light);
  color: var(--brand-burgundy);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.faq-item {
  border-bottom: 1px solid var(--border-light);
  padding: 18px 0;
}

.faq-question {
  display: flex;
  justify-content: space-between;
  align-items: center;
  cursor: pointer;
  font-weight: 600;
  font-size: 1.05rem;
}

.faq-answer {
  padding-top: 12px;
  color: var(--text-muted);
  font-size: 0.95rem;
  display: none;
}

.faq-item.open .faq-answer {
  display: block;
}

/* ==========================================================================
   CALL TO ACTION BANNER (COMUNIDADE & WHATSAPP)
   ========================================================================== */
.cta-banner {
  background: linear-gradient(135deg, #18181a 0%, #4a1518 100%);
  color: #fff;
  border-radius: var(--radius-lg);
  padding: 56px 40px;
  text-align: center;
  margin: 40px 0;
}

.cta-banner h2 {
  color: #fff;
  margin-bottom: 14px;
}

.cta-banner p {
  color: rgba(255, 255, 255, 0.85);
  font-size: 1.15rem;
  max-width: 620px;
  margin: 0 auto 30px;
}

/* ==========================================================================
   FOOTER (RÉPLICA DO FORMATO GEHISLIT)
   ========================================================================== */
.site-footer {
  background-color: var(--bg-footer);
  border-top: 1px solid var(--border-color);
  padding: 60px 0 32px;
  color: var(--text-main);
}

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

.footer-brand .footer-logo {
  height: 48px;
  margin-bottom: 16px;
}

.footer-brand p {
  color: var(--text-muted);
  font-size: 0.92rem;
  line-height: 1.5;
  margin-bottom: 18px;
}

.footer-col h5 {
  font-size: 1.05rem;
  margin-bottom: 18px;
  color: var(--brand-black);
}

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

.footer-link {
  font-size: 0.92rem;
  color: var(--text-muted);
  transition: color 0.2s ease;
}

.footer-link:hover {
  color: var(--brand-burgundy);
}

.footer-contact p {
  font-size: 0.92rem;
  color: var(--text-muted);
  margin-bottom: 10px;
}

.footer-social-links {
  display: flex;
  gap: 12px;
  margin-top: 16px;
}

.social-circle-btn {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background-color: #ffffff;
  border: 1px solid var(--border-color);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--text-main);
  transition: var(--transition-normal);
}

.social-circle-btn:hover {
  background-color: var(--brand-burgundy);
  color: #fff;
  border-color: var(--brand-burgundy);
  transform: translateY(-2px);
}

.footer-bottom {
  border-top: 1px solid var(--border-color);
  padding-top: 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: 0.88rem;
  color: var(--text-light);
  flex-wrap: wrap;
  gap: 12px;
}

/* ==========================================================================
   WHATSAPP FLOATING BUBBLE (IDÊNTICO AO GEHISLIT)
   ========================================================================== */
.whatsapp-bubble {
  position: fixed;
  bottom: 28px;
  right: 24px;
  z-index: 150;
  width: 58px;
  height: 58px;
  border-radius: 50%;
  background-color: #25d366;
  color: #ffffff;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.22);
  transition: var(--transition-normal);
  cursor: pointer;
}

.whatsapp-bubble:hover {
  transform: scale(1.1);
  box-shadow: 0 6px 20px rgba(37, 211, 102, 0.4);
}

.whatsapp-bubble svg {
  width: 32px;
  height: 32px;
  fill: currentColor;
}

/* ==========================================================================
   MODAL DE INSCRIÇÃO & LEITURA
   ========================================================================== */
.modal-backdrop {
  position: fixed;
  inset: 0;
  background-color: rgba(0, 0, 0, 0.65);
  backdrop-filter: blur(4px);
  z-index: 300;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 20px;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.25s ease, visibility 0.25s ease;
}

.modal-backdrop.open {
  opacity: 1;
  visibility: visible;
}

.modal-container {
  background-color: #ffffff;
  border-radius: var(--radius-lg);
  max-width: 600px;
  width: 100%;
  max-height: 90vh;
  overflow-y: auto;
  box-shadow: var(--shadow-lg);
  position: relative;
  transform: scale(0.95);
  transition: transform 0.25s cubic-bezier(0.16, 1, 0.3, 1);
  padding: 36px;
}

.modal-backdrop.open .modal-container {
  transform: scale(1);
}

.modal-close-btn {
  position: absolute;
  top: 20px;
  right: 20px;
  background: none;
  border: none;
  font-size: 26px;
  cursor: pointer;
  color: var(--text-light);
  line-height: 1;
}

.modal-close-btn:hover {
  color: var(--brand-black);
}

.modal-header {
  margin-bottom: 24px;
}

.modal-title {
  font-size: 1.6rem;
  margin-bottom: 8px;
}

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

/* Toast feedback */
.toast-msg {
  position: fixed;
  bottom: 24px;
  left: 50%;
  transform: translateX(-50%) translateY(100px);
  background-color: #1b365d;
  color: #fff;
  padding: 14px 28px;
  border-radius: var(--radius-pill);
  box-shadow: var(--shadow-md);
  font-weight: 600;
  z-index: 400;
  opacity: 0;
  transition: transform 0.3s ease, opacity 0.3s ease;
}

.toast-msg.show {
  transform: translateX(-50%) translateY(0);
  opacity: 1;
}

/* ==========================================================================
   RESPONSIVIDADE (TABLET & MOBILE)
   ========================================================================== */
@media (max-width: 1024px) {
  .nav-desktop {
    display: none;
  }
  
  .hamburger-btn {
    display: block;
  }
  
  .footer-top {
    grid-template-columns: 1fr 1fr;
    gap: 32px;
  }
  
  .about-grid, .contact-layout {
    grid-template-columns: 1fr;
    gap: 36px;
  }
  
  .instagram-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 640px) {
  .site-header .header-inner {
    height: 74px;
  }
  
  .nav-actions .btn {
    display: none;
  }
  
  .logo-image {
    height: 42px;
  }
  
  .hero-section {
    min-height: 420px;
    padding: 60px 16px;
  }
  
  .feature-box {
    padding: 24px 18px;
  }
  
  .seminar-wrapper {
    padding: 24px 16px;
  }
  
  .seminar-item {
    grid-template-columns: 1fr;
    text-align: center;
  }
  
  .seminar-num {
    margin: 0 auto;
  }
  
  .footer-top {
    grid-template-columns: 1fr;
    gap: 28px;
  }
  
  .footer-bottom {
    flex-direction: column;
    text-align: center;
    gap: 8px;
  }
}


/* ==========================================================================
   ABAS DE ENCONTROS E ATAS
   ========================================================================== */
.eventos-tabs-nav {
  display: flex;
  justify-content: center;
  gap: 12px;
  margin-bottom: 36px;
  flex-wrap: wrap;
}

.eventos-tab-btn {
  padding: 12px 28px;
  border-radius: var(--radius-pill);
  border: 1px solid var(--border-color);
  background: var(--bg-card);
  font-family: var(--font-sans);
  font-size: 0.95rem;
  font-weight: 600;
  color: var(--text-muted);
  cursor: pointer;
  transition: var(--transition-normal);
  display: inline-flex;
  align-items: center;
  gap: 8px;
}

.eventos-tab-btn:hover {
  border-color: var(--brand-burgundy);
  color: var(--brand-burgundy);
}

.eventos-tab-btn.active {
  background-color: var(--brand-burgundy);
  border-color: var(--brand-burgundy);
  color: #ffffff;
  box-shadow: 0 4px 14px rgba(123, 24, 27, 0.25);
}


/* ==========================================================================
   ESTILOS: PLATAFORMA +IFMG & CURSOS LIVRES RECOMENDADOS
   ========================================================================== */
.ifmg-featured-card {
  background: #ffffff;
  border: 1px solid var(--border-light);
  border-top: 4px solid var(--brand-burgundy);
  border-radius: var(--radius-md);
  padding: 36px 32px;
  box-shadow: var(--shadow-sm);
  margin-bottom: 48px;
}

.ifmg-badge-tag {
  display: inline-block;
  background: var(--brand-burgundy-light);
  color: var(--brand-burgundy);
  font-size: 0.8rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.8px;
  padding: 4px 14px;
  border-radius: var(--radius-pill);
  margin-bottom: 14px;
}

.ifmg-title {
  font-family: var(--font-serif);
  font-size: 1.85rem;
  color: var(--text-main);
  margin-bottom: 8px;
  line-height: 1.3;
}

.ifmg-subtitle {
  font-size: 0.98rem;
  color: var(--text-muted);
  line-height: 1.7;
  max-width: 900px;
}

/* Box de Aviso e Isenção +IFMG */
.ifmg-disclaimer-box {
  background: #fffbeb;
  border: 1px solid #fde68a;
  border-left: 4px solid #d97706;
  border-radius: var(--radius-sm);
  padding: 18px 22px;
  margin: 24px 0 32px;
  display: flex;
  gap: 16px;
  align-items: flex-start;
}

.ifmg-disclaimer-icon {
  color: #d97706;
  flex-shrink: 0;
  margin-top: 2px;
}

.ifmg-disclaimer-text {
  font-size: 0.92rem;
  color: #92400e;
  line-height: 1.65;
}

/* Grade de Subcards de Temas +IFMG */
.ifmg-themes-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 20px;
}

.ifmg-theme-card {
  background: var(--bg-page);
  border: 1px solid var(--border-light);
  border-radius: var(--radius-sm);
  padding: 22px 20px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  transition: var(--transition-normal);
}

.ifmg-theme-card:hover {
  transform: translateY(-3px);
  border-color: var(--brand-burgundy-border);
  box-shadow: var(--shadow-sm);
}

.ifmg-theme-card-all {
  background: #fbf7f8;
  border-color: var(--brand-burgundy-border);
}

.ifmg-theme-tag {
  display: inline-block;
  font-size: 0.78rem;
  font-weight: 700;
  color: var(--brand-burgundy);
  background: #fff;
  border: 1px solid var(--border-color);
  padding: 3px 10px;
  border-radius: var(--radius-pill);
  margin-bottom: 12px;
}

.ifmg-theme-tag-all {
  background: var(--brand-burgundy);
  color: #fff;
  border-color: var(--brand-burgundy);
}

.ifmg-theme-card h4 {
  font-size: 1.1rem;
  color: var(--text-main);
  margin-bottom: 8px;
  font-weight: 700;
}

.ifmg-theme-card p {
  font-size: 0.88rem;
  color: var(--text-muted);
  line-height: 1.6;
  margin-bottom: 20px;
}

.ifmg-theme-btn {
  width: 100%;
  text-align: center;
  font-size: 0.85rem;
}

/* Outras Plataformas Recomendadas */
.platforms-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 28px;
}

.platform-card {
  background: #ffffff;
  border: 1px solid var(--border-light);
  border-radius: var(--radius-md);
  padding: 28px 24px;
  box-shadow: var(--shadow-sm);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  transition: var(--transition-normal);
}

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

.platform-header-meta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 14px;
  flex-wrap: wrap;
  gap: 8px;
}

.platform-badge {
  background: var(--brand-burgundy-light);
  color: var(--brand-burgundy);
  font-size: 0.8rem;
  font-weight: 700;
  padding: 3px 10px;
  border-radius: var(--radius-pill);
}

.platform-free-tag {
  font-size: 0.78rem;
  font-weight: 700;
  color: #15803d;
  background: #dcfce7;
  padding: 3px 10px;
  border-radius: var(--radius-pill);
}

.platform-title {
  font-family: var(--font-serif);
  font-size: 1.35rem;
  color: var(--text-main);
  margin-bottom: 4px;
}

.platform-subtext {
  font-size: 0.85rem;
  color: var(--text-light);
  margin-bottom: 14px;
}

.platform-desc {
  font-size: 0.92rem;
  color: var(--text-muted);
  line-height: 1.7;
  margin-bottom: 20px;
}

.bdb-guidance-box {
  background: var(--bg-page);
  border: 1px solid var(--border-light);
  border-left: 3px solid var(--brand-burgundy);
  border-radius: var(--radius-sm);
  padding: 14px 16px;
  margin-bottom: 22px;
}

.platform-footer {
  margin-top: auto;
  padding-top: 16px;
  border-top: 1px solid var(--border-light);
}

/* ==========================================================================
   ESTILOS: MEMBROS COM AVATAR NEUTRO
   ========================================================================== */
.members-cards-container {
  display: flex;
  flex-direction: column;
  gap: 28px;
}

.member-profile-card {
  background: #ffffff;
  border: 1px solid var(--border-light);
  border-radius: var(--radius-md);
  padding: 32px 28px;
  display: grid;
  grid-template-columns: 220px 1fr;
  gap: 32px;
  box-shadow: var(--shadow-sm);
  align-items: center;
  transition: var(--transition-normal);
}

.member-profile-card:hover {
  box-shadow: var(--shadow-md);
  border-color: var(--brand-burgundy-border);
}

.member-avatar-col {
  text-align: center;
}

.neutral-avatar-box {
  width: 120px;
  height: 120px;
  border-radius: 50%;
  background: #f4efe9;
  border: 2px dashed #bba998;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 14px;
  color: #857262;
  transition: var(--transition-normal);
}

.member-profile-card:hover .neutral-avatar-box {
  border-color: var(--brand-burgundy);
  color: var(--brand-burgundy);
  background: #fbebee;
}

.member-avatar-img {
  width: 120px;
  height: 120px;
  border-radius: 50%;
  object-fit: cover;
  display: block;
  margin: 0 auto 14px;
  border: 3px solid var(--brand-burgundy);
  box-shadow: 0 4px 14px rgba(123, 24, 27, 0.16);
  transition: var(--transition-normal);
}

.member-profile-card:hover .member-avatar-img {
  transform: scale(1.03);
  box-shadow: 0 6px 18px rgba(123, 24, 27, 0.25);
  border-color: var(--brand-burgundy-hover);
}

.member-name {
  font-size: 1.25rem;
  margin-bottom: 4px;
  color: var(--text-main);
  font-family: var(--font-sans);
  font-weight: 700;
}

.member-role-badge {
  font-size: 0.82rem;
  font-weight: 700;
  color: var(--brand-burgundy);
  text-transform: uppercase;
  letter-spacing: 0.5px;
  margin-bottom: 8px;
}

.member-instagram-link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 0.85rem;
  color: var(--text-muted);
  text-decoration: none;
  background: var(--bg-page);
  padding: 4px 12px;
  border-radius: var(--radius-pill);
  border: 1px solid var(--border-light);
  transition: var(--transition-normal);
}

.member-instagram-link:hover {
  color: var(--brand-burgundy);
  border-color: var(--brand-burgundy);
  background: #fff;
}

.member-tag-placeholder {
  display: inline-block;
  font-size: 0.82rem;
  color: var(--text-light);
  background: var(--bg-page);
  padding: 4px 12px;
  border-radius: var(--radius-pill);
  border: 1px solid var(--border-light);
}

.member-content-col {
  display: flex;
  flex-direction: column;
}

.member-section-heading {
  font-size: 1.05rem;
  margin-bottom: 10px;
  color: var(--text-main);
  border-bottom: 2px solid var(--brand-burgundy-light);
  padding-bottom: 6px;
  font-weight: 700;
}

.member-bio-text {
  font-size: 0.95rem;
  color: var(--text-muted);
  line-height: 1.8;
  margin-bottom: 16px;
}

.member-areas-box {
  font-size: 0.9rem;
  color: var(--text-main);
  background: var(--bg-page);
  border-left: 3px solid var(--brand-burgundy);
  padding: 10px 14px;
  border-radius: var(--radius-sm);
  line-height: 1.6;
}

@media (max-width: 768px) {
  .member-profile-card {
    grid-template-columns: 1fr;
    text-align: center;
    gap: 20px;
  }
  
  .member-avatar-col {
    border-bottom: 1px solid var(--border-light);
    padding-bottom: 16px;
  }
}

/* ===== Calendario 2027 + Modal de livro ===== */
.cal-hint{font-size:.9rem;color:var(--text-muted);margin:0 0 1rem}
.cal-list{display:flex;flex-direction:column;gap:.9rem}
.cal-item{display:grid;grid-template-columns:110px 1fr auto;gap:1.25rem;align-items:center;background:#fff;border:1px solid var(--border-light);border-radius:var(--radius-lg);padding:1rem 1.25rem;box-shadow:var(--shadow-sm);transition:transform .2s,box-shadow .2s,border-color .2s}
.cal-item--book{cursor:pointer}
.cal-item--book:hover,.cal-item--book:focus-visible{transform:translateY(-2px);box-shadow:var(--shadow-md);border-color:var(--brand-burgundy-border);outline:none}
.cal-date{display:flex;flex-direction:column;align-items:center;justify-content:center;text-align:center;color:var(--brand-burgundy)}
.cal-day{font-family:var(--font-serif);font-size:2rem;font-weight:700;line-height:1}
.cal-month{font-size:.75rem;text-transform:uppercase;letter-spacing:.08em;margin-top:.25rem}
.cal-main{display:flex;gap:1rem;align-items:center;min-width:0}
.cal-thumb{width:64px;height:96px;object-fit:cover;border-radius:4px;box-shadow:var(--shadow-md);flex-shrink:0;background:#eee}
.cal-thumb--icon{display:flex;align-items:center;justify-content:center;background:var(--brand-burgundy-light);color:var(--brand-burgundy);font-size:1.8rem;box-shadow:none}
.cal-text{min-width:0}
.cal-tags{display:flex;gap:.4rem;flex-wrap:wrap;margin-bottom:.35rem}
.cal-tag{font-size:.7rem;padding:.15rem .55rem;border-radius:999px;border:1px solid var(--brand-burgundy-border);color:var(--brand-burgundy);background:var(--brand-burgundy-light)}
.cal-tag--solid{background:var(--brand-burgundy);color:#fff;border-color:var(--brand-burgundy)}
.cal-title{font-family:var(--font-serif);font-size:1.15rem;margin:0;color:var(--text-main)}
.cal-author{margin:.1rem 0 0;color:var(--text-muted);font-size:.9rem}
.cal-meta{margin:.35rem 0 0;font-size:.8rem;color:var(--text-muted)}
.cal-event-note{margin:.35rem 0 0;font-size:.82rem;color:var(--brand-burgundy);font-weight:600}
.cal-more{font-size:.8rem;color:var(--brand-burgundy);font-weight:600}
.cal-actions{display:flex;flex-direction:column;gap:.5rem;align-items:flex-end}
.event-mediator-photo{width:28px;height:28px;border-radius:50%;object-fit:cover}
.event-card[data-book]{cursor:pointer}

.book-modal-backdrop{position:fixed;inset:0;z-index:400;display:flex;align-items:center;justify-content:center;padding:1.5rem;background:rgba(24,14,16,.45);-webkit-backdrop-filter:blur(14px) saturate(.85);backdrop-filter:blur(14px) saturate(.85);opacity:0;visibility:hidden;transition:opacity .25s,visibility .25s}
.book-modal-backdrop.open{opacity:1;visibility:visible}
.book-modal{position:relative;display:grid;grid-template-columns:280px 1fr;gap:2rem;width:100%;max-width:900px;max-height:90vh;overflow-y:auto;background:#fff;border-radius:var(--radius-lg);padding:2rem;box-shadow:var(--shadow-lg);transform:translateY(12px) scale(.98);transition:transform .25s}
.book-modal-backdrop.open .book-modal{transform:none}
.book-modal-cover{width:100%;border-radius:6px;box-shadow:var(--shadow-lg);align-self:start}
.book-modal-info{min-width:0}
.book-modal-tags{display:flex;gap:.4rem;flex-wrap:wrap;margin-bottom:.75rem}
.book-modal-tag{font-size:.72rem;padding:.2rem .6rem;border-radius:999px;border:1px solid var(--brand-burgundy-border);color:var(--brand-burgundy);background:var(--brand-burgundy-light)}
.book-modal-info h2{font-family:var(--font-serif);margin:0;font-size:1.7rem;color:var(--text-main)}
.book-modal-author{margin:.25rem 0 1rem;color:var(--text-muted)}
.book-modal-label{font-size:.72rem;text-transform:uppercase;letter-spacing:.08em;color:var(--brand-burgundy);font-weight:700;margin:0 0 .35rem}
.book-modal-synopsis{line-height:1.65;color:var(--text-main);margin:0 0 1.25rem}
.book-modal-mediator{display:flex;align-items:center;gap:.75rem;padding-top:1rem;border-top:1px solid var(--border-light)}
.book-modal-mediator img{width:48px;height:48px;border-radius:50%;object-fit:cover}
.book-modal-mediator-label{display:block;font-size:.72rem;color:var(--text-muted)}
.book-modal-event{margin-top:1rem;padding:.75rem 1rem;border-radius:var(--radius-md);background:var(--brand-burgundy-light);color:var(--brand-burgundy);font-weight:600;font-size:.9rem}
.book-modal-close{position:absolute;top:.75rem;right:.75rem;width:36px;height:36px;border:none;border-radius:50%;background:#f3f0f0;font-size:1.4rem;line-height:1;cursor:pointer;color:var(--text-main)}
.book-modal-close:hover{background:var(--brand-burgundy);color:#fff}
@media (max-width:768px){
  .cal-item{grid-template-columns:1fr;gap:.6rem}
  .cal-date{flex-direction:row;gap:.5rem;justify-content:flex-start}
  .cal-actions{align-items:flex-start}
  .book-modal{grid-template-columns:1fr;padding:1.25rem;gap:1rem}
  .book-modal-cover{max-width:180px;margin:0 auto}
}


/* ===== Botão Link Mapa Jefi's Cafeteria & Modal de Mapa ===== */
.link-map-btn {
  background: none;
  border: none;
  padding: 0;
  margin: 0;
  font: inherit;
  color: var(--brand-burgundy);
  text-decoration: underline;
  cursor: pointer;
  display: inline;
  font-weight: 700;
  transition: color var(--transition-fast);
}
.link-map-btn:hover {
  color: var(--brand-burgundy-dark);
}
.map-modal-card {
  position: relative;
  width: 100%;
  max-width: 680px;
  background: #fff;
  border-radius: var(--radius-lg);
  padding: 1.75rem;
  box-shadow: var(--shadow-lg);
  transform: translateY(12px) scale(.98);
  transition: transform .25s;
}
.book-modal-backdrop.open .map-modal-card {
  transform: none;
}
.map-iframe-container {
  width: 100%;
  border-radius: 8px;
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  background: #eee;
}
@media (max-width: 768px) {
  .map-modal-card {
    padding: 1.25rem;
  }
  .map-iframe-container iframe {
    height: 320px;
  }
}

/* ===== Modal de Publicação do Instagram ===== */
.instagram-card[data-open-insta-post] {
  cursor: pointer;
}
.insta-modal-card {
  position: relative;
  width: 100%;
  max-width: 540px;
  background: #fff;
  border-radius: var(--radius-lg);
  padding: 1.5rem;
  box-shadow: var(--shadow-lg);
  transform: translateY(12px) scale(.98);
  transition: transform .25s;
  max-height: 92vh;
  overflow-y: auto;
}
.book-modal-backdrop.open .insta-modal-card {
  transform: none;
}
.insta-iframe-container {
  width: 100%;
  display: flex;
  justify-content: center;
  background: #fff;
  border-radius: 8px;
  overflow: hidden;
}
@media (max-width: 768px) {
  .insta-modal-card {
    padding: 1rem;
    max-width: 95vw;
  }
  .insta-iframe-container iframe {
    height: 520px;
  }
}

/* ===== Blocos vazios para futuras publicações do Instagram ===== */
.instagram-card--empty {
  aspect-ratio: 1 / 1;
  border-radius: var(--radius-md);
  border: 2px dashed var(--border-light);
  background-color: #faf8f8;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 20px;
  color: var(--text-light);
  transition: var(--transition-normal);
  user-select: none;
}
.instagram-card--empty:hover {
  border-color: var(--brand-burgundy-border);
  background-color: var(--bg-card);
}
.instagram-card--empty .empty-icon {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: #f0ecec;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 10px;
  color: var(--brand-burgundy);
}
.instagram-card--empty h5 {
  font-size: 0.95rem;
  font-weight: 700;
  margin: 0 0 4px;
  color: var(--text-main);
}
.instagram-card--empty p {
  font-size: 0.8rem;
  color: var(--text-muted);
  margin: 0;
}
