* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body.menu-open {
  overflow: hidden;
}

html {
  scroll-behavior: smooth;
  scrollbar-width: thin;
  scrollbar-color: var(--color-primary) #f5f5f5;
}

html::-webkit-scrollbar {
  width: 8px;
}

html::-webkit-scrollbar-track {
  background: #f5f5f5;
}

html::-webkit-scrollbar-thumb {
  background: var(--color-primary);
  border-radius: 4px;
}

body {
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", "Roboto", "Helvetica Neue", Arial, sans-serif;
  background: #fafafa;
  color: #1a1a1a;
  line-height: 1.6;
  overflow-x: hidden;
}

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

/* ===== HEADER ===== */
.header-moderno {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 1000;
  background: rgba(var(--color-primary-rgb), 0.95);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  transition: all 0.3s ease;
}

.header-moderno.scrolled {
  background: rgba(var(--color-primary-rgb), 0.98);
  box-shadow: 0 2px 20px rgba(0, 0, 0, 0.1);
}

.nav-moderno {
  padding: 1rem 0;
}

.nav-container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 2rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.nav-logo .logo-img {
  height: 40px;
  width: auto;
  transition: transform 0.3s ease;
}

.nav-logo .logo-img:hover {
  transform: scale(1.1);
}

.nav-menu {
  display: flex;
  list-style: none;
  margin: 0;
  padding: 0;
  gap: 2rem;
}

.nav-link {
  color: white;
  text-decoration: none;
  font-weight: 500;
  font-size: 0.95rem;
  transition: all 0.3s ease;
  position: relative;
  padding: 0.5rem 0;
}

.nav-link:hover {
  color: #f8f9fa;
}

.nav-link::after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 0;
  width: 0;
  height: 2px;
  background: #e5e5e5;
  transition: width 0.3s ease;
}

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

.btn-login {
  background: transparent;
  color: white;
  border: 2px solid #e5e5e5;
  padding: 0.5rem 1.5rem;
  border-radius: 6px;
  text-decoration: none;
  font-weight: 500;
  transition: all 0.3s ease;
}

.btn-portal {
  background: transparent;
  color: #f5a623;
  border: 2px solid #ffe8c5;
  padding: 0.5rem 1.5rem;
  border-radius: 6px;
  text-decoration: none;
  font-weight: 500;
  transition: all 0.3s ease;
}

.btn-login:hover {
  background: var(--color-primary);
  color: white;
  transform: translateY(-2px);
}

.btn-portal:hover {
  background: var(--color-primary);
  color: #f5a623;
  transform: translateY(-2px);
}

.nav-mobile-toggle {
  display: none;
  flex-direction: column;
  cursor: pointer;
  gap: 4px;
  background: none;
  border: none;
  padding: 0.5rem;
  z-index: 1001;
}

.nav-mobile-toggle span {
  width: 25px;
  height: 3px;
  background: white;
  transition: all 0.3s ease;
  transform-origin: center;
}

@media (max-width: 768px) {
  .nav-container {
    padding: 0 1rem;
  }

  .nav-menu {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100vh;
    background: rgba(var(--color-primary-rgb), 0.98);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    flex-direction: column;
    justify-content: center;
    align-items: center;
    padding: 2rem;
    gap: 2rem;
    transform: translateX(-100%);
    opacity: 0;
    visibility: hidden;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    z-index: 999;
  }

  .nav-menu.active {
    transform: translateX(0);
    opacity: 1;
    visibility: visible;
  }

  .nav-mobile-toggle {
    display: flex;
    position: relative;
    z-index: 1000;
  }

  .nav-mobile-toggle.active span:nth-child(1) {
    transform: rotate(45deg) translate(6px, 6px);
  }

  .nav-mobile-toggle.active span:nth-child(2) {
    opacity: 0;
    transform: translateX(-10px);
  }

  .nav-mobile-toggle.active span:nth-child(3) {
    transform: rotate(-45deg) translate(6px, -6px);
  }

  .nav-item {
    opacity: 0;
    transform: translateY(20px);
    transition: all 0.3s ease;
  }

  .nav-menu.active .nav-item {
    opacity: 1;
    transform: translateY(0);
  }

  .nav-menu.active .nav-item:nth-child(1) {
    transition-delay: 0.1s;
  }

  .nav-menu.active .nav-item:nth-child(2) {
    transition-delay: 0.2s;
  }

  .nav-menu.active .nav-item:nth-child(3) {
    transition-delay: 0.3s;
  }

  .nav-menu.active .nav-item:nth-child(4) {
    transition-delay: 0.4s;
  }

  .nav-link {
    font-size: 1.25rem;
    padding: 1rem 2rem;
    display: block;
    text-align: center;
    border-radius: 8px;
    transition: all 0.3s ease;
  }

  .nav-link:hover {
    background: rgba(255, 255, 255, 0.2);
    transform: translateX(10px);
  }

  .nav-link::after {
    display: none;
  }

  .nav-actions {
    margin-left: auto;
    gap: 10px;
    margin-right: 1rem;
  }

  .btn-login {
    padding: 0.5rem 1rem;
    font-size: 0.9rem;
  }

  .btn-portal {
    padding: 0.5rem 1rem;
    font-size: 0.9rem;
  }
}

body {
  padding-top: 80px;
}

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

/* ===== PRESIDENTE HERO ===== */
.presidente-hero {
  background: linear-gradient(135deg, var(--color-primary-dark) 0%, var(--color-primary) 100%);
  padding: 2rem 0 4rem;
  color: white;
  position: relative;
  overflow: hidden;
}

.presidente-hero::before {
  content: "";
  position: absolute;
  top: -50%;
  right: -20%;
  width: 600px;
  height: 600px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.03);
  pointer-events: none;
}

.presidente-breadcrumb {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.875rem;
  margin-bottom: 2rem;
  opacity: 0.8;
}

.presidente-breadcrumb a {
  color: rgba(255, 255, 255, 0.8);
  text-decoration: none;
  transition: color var(--transition-fast);
}

.presidente-breadcrumb a:hover {
  color: white;
}

.presidente-breadcrumb .sep {
  color: rgba(255, 255, 255, 0.5);
}

.presidente-breadcrumb .current {
  color: white;
  font-weight: 600;
}

.hero-grid {
  display: grid;
  grid-template-columns: 320px 1fr;
  gap: 3rem;
  align-items: center;
}

.hero-portrait-wrap {
  position: relative;
}

.hero-portrait {
  width: 100%;
  aspect-ratio: 4 / 5;
  object-fit: cover;
  border-radius: 16px;
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
}

.hero-badge {
  position: absolute;
  bottom: -12px;
  left: 50%;
  transform: translateX(-50%);
  background: white;
  color: var(--color-primary-dark);
  padding: 0.5rem 1.25rem;
  border-radius: 50px;
  font-size: 0.8rem;
  font-weight: 700;
  white-space: nowrap;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.15);
  display: flex;
  align-items: center;
  gap: 0.4rem;
}

.hero-badge i {
  color: #f5a623;
  font-size: 0.75rem;
}

.hero-info {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.hero-kicker {
  font-size: 0.8rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 2px;
  opacity: 0.7;
}

.hero-title {
  font-size: clamp(1.5rem, 3vw, 2.25rem);
  font-weight: 700;
  line-height: 1.3;
  font-style: italic;
}

.hero-name {
  font-size: 1.15rem;
  font-weight: 500;
  opacity: 0.9;
}

.hero-nick {
  opacity: 0.7;
  font-weight: 400;
}

.hero-stats {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0.75rem;
  margin-top: 0.5rem;
}

.stat-card {
  background: rgba(255, 255, 255, 0.1);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border: 1px solid rgba(255, 255, 255, 0.15);
  border-radius: 12px;
  padding: 1rem 0.75rem;
  text-align: center;
  transition: background var(--transition-fast);
}

.stat-card:hover {
  background: rgba(255, 255, 255, 0.18);
}

.stat-card strong {
  display: block;
  font-size: 1.5rem;
  font-weight: 800;
  line-height: 1.2;
}

.stat-card span {
  font-size: 0.7rem;
  opacity: 0.75;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

/* ===== LEAD + AUDIO ===== */
.presidente-lead {
  margin-top: -2rem;
  position: relative;
  z-index: 2;
  padding-bottom: 2rem;
}

.lead-card {
  background: white;
  border-radius: 16px;
  padding: 2rem;
  box-shadow: var(--shadow-lg);
  border: 1px solid var(--border);
  max-width: 800px;
}

.lead-greeting {
  font-size: 1.2rem;
  margin-bottom: 1.25rem;
  color: var(--foreground);
}

.lead-greeting strong {
  color: var(--color-primary);
}

.audio-card {
  display: flex;
  align-items: center;
  gap: 1rem;
  background: linear-gradient(135deg, var(--color-primary-dark), var(--color-primary));
  border-radius: 12px;
  padding: 1rem 1.5rem;
  color: white;
}

.audio-icon {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.15);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.25rem;
  flex-shrink: 0;
}

.audio-info {
  flex: 1;
  display: flex;
  flex-direction: column;
}

.audio-label {
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 1px;
  opacity: 0.75;
}

.audio-title {
  font-weight: 600;
  font-size: 0.95rem;
}

.audio-play-btn {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: white;
  color: var(--color-primary);
  border: none;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.25rem;
  flex-shrink: 0;
  transition:
    transform var(--transition-fast),
    box-shadow var(--transition-fast);
}

.audio-play-btn:hover {
  transform: scale(1.1);
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
}

/* ===== ARTICLE GRID ===== */
.presidente-article {
  padding: 3rem 0 4rem;
}

.article-grid {
  display: grid;
  grid-template-columns: 1fr 280px;
  gap: 3rem;
  align-items: start;
}

/* ===== ARTICLE BODY ===== */
.article-body {
  font-size: 1.1rem;
  line-height: 1.85;
  color: var(--foreground);
}

.article-section {
  margin-bottom: 2.5rem;
  scroll-margin-top: 100px;
}

.capitular::first-letter {
  font-size: 3.5rem;
  font-weight: 700;
  color: var(--color-primary);
  float: left;
  line-height: 1;
  margin-right: 0.5rem;
  margin-top: 0.1rem;
}

.article-subtitle {
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--foreground);
  margin-bottom: 1rem;
  padding-left: 1rem;
  position: relative;
}

.article-subtitle::before {
  content: "";
  position: absolute;
  left: 0;
  top: 50%;
  transform: translateY(-50%);
  width: 3px;
  height: 24px;
  background: var(--color-primary);
  border-radius: 2px;
}

/* ===== VERSE CARD ===== */
.verse-card {
  background: linear-gradient(135deg, var(--color-primary-dark), var(--color-primary));
  color: white;
  border-radius: 16px;
  padding: 2.5rem 2rem 1.5rem;
  margin: 2rem 0;
  position: relative;
  overflow: hidden;
}

.verse-quote-mark {
  position: absolute;
  top: -10px;
  left: 20px;
  font-size: 120px;
  font-family: Georgia, serif;
  color: rgba(255, 255, 255, 0.08);
  line-height: 1;
  pointer-events: none;
}

.verse-card blockquote {
  margin: 0;
  position: relative;
  z-index: 1;
}

.verse-card blockquote p {
  font-size: 1.15rem;
  font-style: italic;
  line-height: 1.7;
  margin: 0;
}

.verse-footer {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-top: 1.25rem;
  padding-top: 1rem;
  border-top: 1px solid rgba(255, 255, 255, 0.2);
  position: relative;
  z-index: 1;
}

.verse-ref {
  font-weight: 700;
  font-size: 0.95rem;
  font-style: normal;
}

.verse-copy-btn {
  background: rgba(255, 255, 255, 0.15);
  color: white;
  border: 1px solid rgba(255, 255, 255, 0.25);
  padding: 0.4rem 1rem;
  border-radius: 50px;
  font-size: 0.8rem;
  cursor: pointer;
  display: flex;
  align-items: center;
  gap: 0.4rem;
  transition: background var(--transition-fast);
}

.verse-copy-btn:hover {
  background: rgba(255, 255, 255, 0.25);
}

.verse-copy-btn.copied {
  background: rgba(255, 255, 255, 0.3);
}

/* ===== SIGNATURE ===== */
.article-signature {
  margin-top: 3rem;
  padding-top: 2rem;
  border-top: 2px solid var(--border);
}

.signature-content {
  display: flex;
  align-items: center;
  gap: 1.5rem;
}

.signature-handwritten {
  font-size: 2.5rem;
  font-family: "Georgia", "Times New Roman", serif;
  font-style: italic;
  color: var(--color-primary);
  opacity: 0.7;
  line-height: 1;
}

.signature-meta {
  display: flex;
  flex-direction: column;
  gap: 0.15rem;
}

.signature-meta strong {
  color: var(--color-primary);
  font-size: 1.05rem;
}

.signature-meta span {
  font-size: 0.85rem;
  color: var(--muted-foreground);
}

.signature-motto {
  font-style: italic;
  opacity: 0.8;
}

/* ===== ARTICLE ACTIONS ===== */
.article-actions {
  margin-top: 2rem;
  display: flex;
  gap: 0.75rem;
  flex-wrap: wrap;
}

.action-btn {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.6rem 1.5rem;
  border-radius: 50px;
  font-size: 0.9rem;
  font-weight: 500;
  cursor: pointer;
  transition: all var(--transition-fast);
  text-decoration: none;
}

.action-btn-outline {
  background: transparent;
  color: var(--color-primary);
  border: 1.5px solid var(--color-primary);
}

.action-btn-outline:hover {
  background: var(--color-primary);
  color: white;
}

/* ===== SIDEBAR ===== */
.article-sidebar {
  position: sticky;
  top: 96px;
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
}

.sidebar-card {
  background: white;
  border-radius: 12px;
  padding: 1.25rem;
  border: 1px solid var(--border);
  box-shadow: var(--shadow-sm);
}

.sidebar-title {
  font-size: 0.9rem;
  font-weight: 700;
  color: var(--foreground);
  margin-bottom: 1rem;
  display: flex;
  align-items: center;
}

.sidebar-title i {
  color: var(--color-primary);
}

/* Bio */
.bio-row {
  padding: 0.6rem 0;
  border-bottom: 1px solid #f0f0f0;
}

.bio-row:last-child {
  border-bottom: none;
}

.bio-label {
  display: block;
  font-size: 0.7rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  color: var(--color-primary);
  margin-bottom: 0.15rem;
}

.bio-value {
  font-size: 0.85rem;
  color: var(--foreground);
}

/* TOC */
.toc-nav {
  display: flex;
  flex-direction: column;
  gap: 0.25rem;
}

.toc-link {
  display: block;
  padding: 0.4rem 0.75rem;
  font-size: 0.85rem;
  color: var(--muted-foreground);
  text-decoration: none;
  border-left: 2px solid transparent;
  border-radius: 0 4px 4px 0;
  transition: all var(--transition-fast);
}

.toc-link:hover {
  color: var(--color-primary);
  background: var(--teal-light);
}

.toc-link.active {
  color: var(--color-primary);
  border-left-color: var(--color-primary);
  background: var(--teal-light);
  font-weight: 600;
}

/* Sidebar actions */
.sidebar-action-btn {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  width: 100%;
  padding: 0.65rem 1rem;
  border-radius: 8px;
  font-size: 0.85rem;
  font-weight: 600;
  text-decoration: none;
  transition: all var(--transition-fast);
  margin-bottom: 0.5rem;
}

.sidebar-action-btn:last-child {
  margin-bottom: 0;
}

.sidebar-btn-whatsapp {
  background: #25d366;
  color: white;
}

.sidebar-btn-whatsapp:hover {
  background: #1da855;
  color: white;
  transform: translateY(-1px);
}

.sidebar-btn-schedule {
  background: var(--color-primary);
  color: white;
}

.sidebar-btn-schedule:hover {
  background: var(--color-primary-dark);
  color: white;
  transform: translateY(-1px);
}

/* ===== CTA BAR ===== */
.presidente-cta {
  background: linear-gradient(135deg, var(--color-primary-dark), var(--color-primary));
  padding: 3rem 0;
  color: white;
}

.cta-content {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 2rem;
}

.cta-text h3 {
  font-size: 1.5rem;
  font-weight: 700;
  margin-bottom: 0.25rem;
}

.cta-text p {
  font-size: 0.95rem;
  opacity: 0.85;
  margin: 0;
}

.cta-buttons {
  display: flex;
  gap: 0.75rem;
  flex-shrink: 0;
}

.cta-btn {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.75rem 1.5rem;
  border-radius: 50px;
  font-size: 0.9rem;
  font-weight: 600;
  text-decoration: none;
  transition: all var(--transition-fast);
  white-space: nowrap;
}

.cta-btn-whatsapp {
  background: #25d366;
  color: white;
}

.cta-btn-whatsapp:hover {
  background: #1da855;
  color: white;
  transform: translateY(-2px);
  box-shadow: 0 8px 25px rgba(37, 211, 102, 0.4);
}

.cta-btn-schedule {
  background: white;
  color: var(--color-primary-dark);
}

.cta-btn-schedule:hover {
  background: #f0f0f0;
  color: var(--color-primary-dark);
  transform: translateY(-2px);
  box-shadow: 0 8px 25px rgba(255, 255, 255, 0.3);
}

/* ===== TOAST ===== */
.toast-notification {
  position: fixed;
  bottom: 2rem;
  left: 50%;
  transform: translateX(-50%) translateY(100px);
  background: var(--foreground);
  color: white;
  padding: 0.75rem 1.5rem;
  border-radius: 50px;
  font-size: 0.85rem;
  font-weight: 500;
  z-index: 9999;
  opacity: 0;
  transition: all 0.3s ease;
  pointer-events: none;
  box-shadow: var(--shadow-xl);
}

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

/* ===== ORGANOGRAMA (kept for shared JS) ===== */
.organograma-moderno {
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", "Roboto", "Helvetica Neue", Arial, sans-serif;
  padding: 20px 0;
}

.organograma-section {
  margin-bottom: 40px;
}

.organograma-section .section-title {
  color: var(--primary);
  font-weight: bold;
  text-align: center;
  margin-bottom: 30px;
  padding: 15px;
  background-color: rgba(var(--color-primary-rgb), 0.1);
  border-radius: var(--radius);
  font-size: 1.5rem;
}

.section-content {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 25px;
  padding: 20px;
  width: 100%;
}

.member-card-public,
.ministerio-card-public,
.rede-card-public {
  background-color: white;
  border: 2px solid var(--primary);
  border-radius: var(--radius);
  padding: 20px;
  text-align: center;
  box-shadow: var(--shadow-md);
  transition: all var(--transition-base);
  height: 100%;
  width: 280px;
}

.member-card-public:hover,
.ministerio-card-public:hover,
.rede-card-public:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-xl);
  border-color: var(--primary-dark);
}

.photo-container-public {
  width: 100px;
  height: 100px;
  margin: 0 auto 15px;
  border-radius: 50%;
  background-color: #f0f0f0;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  border: 3px solid var(--primary);
}

.member-photo-public {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.member-icon-public {
  font-size: 48px;
  color: var(--primary);
}

.member-name-public {
  font-weight: bold;
  margin-bottom: 8px;
  color: var(--foreground);
  font-size: 1.1rem;
}

.member-role-public,
.ministerio-name-public,
.rede-name-public {
  color: var(--primary);
  font-size: 0.95rem;
  font-weight: 500;
}

.ministerio-card-public {
  position: relative;
}

.ministerio-logo-container-public {
  position: absolute;
  top: -20px;
  right: -20px;
  width: 60px;
  height: 60px;
  background-color: white;
  border-radius: 50%;
  border: 3px solid var(--primary);
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  box-shadow: var(--shadow-md);
}

.ministerio-logo-public {
  width: 80%;
  height: 80%;
  object-fit: contain;
}

.ministerio-icon-public {
  font-size: 30px;
  color: var(--primary);
}

.ministerio-name-public,
.rede-name-public {
  font-weight: 600;
  margin: 8px 0;
  color: var(--foreground);
}

/* ===== FLOATING ACTIONS ===== */
.floating-actions {
  position: fixed;
  right: 1rem;
  bottom: 1rem;
  z-index: 1000;
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  transition: all var(--transition-base);
}

.floating-actions.hidden {
  transform: translateX(150%);
  opacity: 0;
}

.floating-btn {
  width: 56px;
  height: 56px;
  border-radius: 50%;
  border: none;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: var(--shadow-xl);
  transition: all var(--transition-base);
  text-decoration: none;
}

.floating-btn:hover {
  transform: scale(1.1);
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.2);
}

.floating-btn-whatsapp {
  background: #25d366;
  animation: pulse-whatsapp 2s ease-in-out infinite;
}

.floating-btn-instagram {
  background: linear-gradient(135deg, #833ab4 0%, #fd1d1d 50%, #f77737 100%);
  animation: pulse-instagram 2.5s ease-in-out infinite;
}

.floating-btn-youtube {
  background: #ff0000;
  animation: pulse-youtube 3s ease-in-out infinite;
}

@keyframes pulse-whatsapp {
  0%,
  100% {
    box-shadow: 0 8px 25px rgba(37, 211, 102, 0.4);
  }
  50% {
    box-shadow: 0 8px 35px rgba(37, 211, 102, 0.6);
  }
}

@keyframes pulse-instagram {
  0%,
  100% {
    box-shadow: 0 8px 25px rgba(131, 58, 180, 0.4);
  }
  50% {
    box-shadow: 0 8px 35px rgba(131, 58, 180, 0.6);
  }
}

@keyframes pulse-youtube {
  0%,
  100% {
    box-shadow: 0 8px 25px rgba(253, 29, 29, 0.4);
  }
  50% {
    box-shadow: 0 8px 35px rgba(253, 29, 29, 0.6);
  }
}

.floating-btn svg {
  width: 24px;
  height: 24px;
  color: white;
}

/* ===== BACK TO TOP ===== */
.back-to-top {
  position: fixed;
  bottom: 1rem;
  left: 1rem;
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: var(--primary);
  color: white;
  border: none;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: var(--shadow-xl);
  transition: all var(--transition-base);
  opacity: 0;
  visibility: hidden;
  z-index: 999;
  text-decoration: none;
}

.back-to-top.show {
  opacity: 1;
  visibility: visible;
}

.back-to-top:hover {
  background: var(--primary-dark);
  transform: translateY(-2px);
  box-shadow: var(--shadow-glow);
}

.back-to-top svg {
  width: 20px;
  height: 20px;
}

/* ===== FOOTER ===== */
.footer {
  background: var(--foreground);
  color: var(--background);
  padding: 4rem 1rem 2rem;
}

.footer-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 3rem;
  max-width: 1200px;
  margin: 0 auto 3rem;
}

.footer-title {
  font-size: 1.5rem;
  font-weight: 700;
  margin-bottom: 1rem;
}

.footer-text {
  color: rgba(255, 255, 255, 0.7);
  margin-bottom: 1.5rem;
}

.footer-social {
  display: flex;
  gap: 1rem;
}

.footer-social-btn {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.1);
  display: flex;
  align-items: center;
  justify-content: center;
  text-decoration: none;
  color: white;
  transition: background var(--transition-base);
}

.footer-social-btn:hover {
  background: rgba(255, 255, 255, 0.2);
}

.footer-links {
  list-style: none;
}

.footer-links li {
  margin-bottom: 0.75rem;
}

.footer-links a {
  color: rgba(255, 255, 255, 0.7);
  text-decoration: none;
  transition: color var(--transition-base);
}

.footer-links a:hover {
  color: white;
}

.footer-contact {
  list-style: none;
}

.footer-contact li {
  display: flex;
  align-items: start;
  gap: 0.75rem;
  margin-bottom: 1rem;
  color: rgba(255, 255, 255, 0.7);
}

.footer-contact svg {
  width: 20px;
  height: 20px;
  flex-shrink: 0;
  margin-top: 0.125rem;
}

.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.2);
  padding-top: 2rem;
  text-align: center;
  color: rgba(255, 255, 255, 0.6);
}

.footer-bottom-content {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 1rem;
}

.footer-copyright-text {
  margin: 0;
  color: rgba(255, 255, 255, 0.7);
  font-size: 0.9rem;
  line-height: 1.4;
}

.footer-logo-right {
  display: flex;
  align-items: center;
}

.footer-mtco-logo-small {
  height: 20px;
  width: auto;
  display: block;
  opacity: 0.8;
  transition: opacity 0.3s ease;
}

.footer-mtco-logo-small:hover {
  opacity: 1;
}

.mtco-link {
  text-decoration: none;
  display: flex;
  align-items: center;
  transition: transform 0.3s ease;
}

.mtco-link:hover {
  transform: scale(1.05);
}

/* ===== ANIMATIONS ===== */
@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(30px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.scroll-reveal {
  opacity: 0;
  transform: translateY(50px);
  transition: all 0.8s cubic-bezier(0.4, 0, 0.2, 1);
}

.scroll-reveal.revealed {
  opacity: 1;
  transform: translateY(0);
}

/* ===== UTILITY ===== */
.text-center {
  text-align: center;
}

.text-primary {
  color: var(--primary) !important;
}

.visually-hidden {
  position: absolute !important;
  width: 1px !important;
  height: 1px !important;
  padding: 0 !important;
  margin: -1px !important;
  overflow: hidden !important;
  clip: rect(0, 0, 0, 0) !important;
  white-space: nowrap !important;
  border: 0 !important;
}

/* ===== VLIBRAS ===== */
.vw-plugin-top-wrapper {
  z-index: 10000;
}

/* ===== RESPONSIVE ===== */
@media (max-width: 991px) {
  .hero-grid {
    grid-template-columns: 240px 1fr;
    gap: 2rem;
  }

  .hero-stats {
    grid-template-columns: repeat(2, 1fr);
  }

  .article-grid {
    grid-template-columns: 1fr;
  }

  .article-sidebar {
    position: static;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
    gap: 1rem;
  }
}

@media (max-width: 768px) {
  .hero-grid {
    grid-template-columns: 1fr;
    text-align: center;
  }

  .hero-portrait-wrap {
    max-width: 280px;
    margin: 0 auto;
  }

  .hero-info {
    align-items: center;
  }

  .hero-stats {
    grid-template-columns: repeat(2, 1fr);
    width: 100%;
  }

  .lead-card {
    padding: 1.5rem;
  }

  .audio-card {
    padding: 0.875rem 1rem;
  }

  .verse-card {
    padding: 2rem 1.5rem 1.25rem;
  }

  .verse-quote-mark {
    font-size: 80px;
  }

  .cta-content {
    flex-direction: column;
    text-align: center;
  }

  .cta-buttons {
    flex-direction: column;
    width: 100%;
  }

  .cta-btn {
    justify-content: center;
  }

  .signature-content {
    flex-direction: column;
    text-align: center;
  }

  .article-sidebar {
    grid-template-columns: 1fr;
  }

  .footer-bottom-content {
    flex-direction: column;
    text-align: center;
    gap: 1rem;
  }

  .footer-logo-right {
    justify-content: center;
  }

  .vw-plugin-top-wrapper {
    bottom: 70px !important;
  }
}

@media (max-width: 480px) {
  .presidente-hero {
    padding: 1.5rem 0 3rem;
  }

  .hero-title {
    font-size: 1.25rem;
  }

  .hero-portrait-wrap {
    max-width: 220px;
  }

  .stat-card {
    padding: 0.75rem 0.5rem;
  }

  .stat-card strong {
    font-size: 1.25rem;
  }

  .article-body {
    font-size: 1rem;
  }

  .capitular::first-letter {
    font-size: 2.75rem;
  }

  .verse-card {
    padding: 1.5rem 1rem 1rem;
  }

  .verse-card blockquote p {
    font-size: 1rem;
  }

  .verse-footer {
    flex-direction: column;
    gap: 0.75rem;
    align-items: flex-start;
  }

  .signature-handwritten {
    font-size: 2rem;
  }
}
