/* ==========================================================================
   MINISTÉRIO ACUTIS - DESIGN SYSTEM & STYLESHEET
   Inspirado em São Carlo Acutis | Juventude, Eucaristia e Evangelização
   ========================================================================== */

/* --------------------------------------------------------------------------
   1. CSS Custom Properties / Design Tokens
   -------------------------------------------------------------------------- */
:root {
  /* Color Palette - Light Theme Default */
  --primary: #DC3826;
  --primary-hover: #BF2D1E;
  --primary-light: #FEECEB;
  --primary-glow: rgba(220, 56, 38, 0.25);

  --secondary: #12213A;
  --secondary-hover: #0A1424;
  --secondary-light: #F0F4FA;

  --accent-gold: #EAA315;
  --accent-gold-light: #FEF7E8;
  --accent-gold-glow: rgba(234, 163, 21, 0.35);

  --bg-page: #F8F9FA;
  --bg-surface: #FFFFFF;
  --bg-surface-elevated: #FFFFFF;
  --bg-muted: #F1F4F9;
  --bg-card: #FFFFFF;

  --text-main: #1D2433;
  --text-muted: #5E697D;
  --text-subtle: #8F9CAE;
  --text-inverse: #FFFFFF;

  --border-color: #E2E8F0;
  --border-light: #EDF2F7;

  /* Typography */
  --font-display: 'Outfit', sans-serif;
  --font-body: 'Plus Jakarta Sans', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;

  /* Elevations / Shadows */
  --shadow-xs: 0 1px 2px rgba(0, 0, 0, 0.04);
  --shadow-sm: 0 2px 6px rgba(18, 33, 58, 0.06);
  --shadow-md: 0 8px 20px rgba(18, 33, 58, 0.08);
  --shadow-lg: 0 16px 36px rgba(18, 33, 58, 0.12);
  --shadow-xl: 0 24px 50px rgba(18, 33, 58, 0.16);
  --shadow-halo: 0 0 40px rgba(234, 163, 21, 0.45);

  /* Transitions & Radii */
  --radius-sm: 8px;
  --radius-md: 14px;
  --radius-lg: 20px;
  --radius-xl: 28px;
  --radius-full: 9999px;
  --transition: all 0.3s cubic-bezier(0.25, 0.8, 0.25, 1);
  --transition-bounce: all 0.4s cubic-bezier(0.34, 1.56, 0.64, 1);

  /* Containers & Layout */
  --container-max: 1200px;
  --header-height: 80px;
}

/* Dark Theme Variables */
[data-theme="dark"] {
  --primary: #FF4A38;
  --primary-hover: #E03525;
  --primary-light: rgba(255, 74, 56, 0.15);
  --primary-glow: rgba(255, 74, 56, 0.35);

  --secondary: #0B1320;
  --secondary-hover: #060B12;
  --secondary-light: #162238;

  --accent-gold: #F7B832;
  --accent-gold-light: rgba(247, 184, 50, 0.15);
  --accent-gold-glow: rgba(247, 184, 50, 0.4);

  --bg-page: #0B101B;
  --bg-surface: #121927;
  --bg-surface-elevated: #192235;
  --bg-muted: #172134;
  --bg-card: #131B2B;

  --text-main: #F1F5F9;
  --text-muted: #9BA8BC;
  --text-subtle: #64748B;
  --text-inverse: #0B101B;

  --border-color: #243046;
  --border-light: #1E293B;

  --shadow-sm: 0 2px 6px rgba(0, 0, 0, 0.3);
  --shadow-md: 0 8px 24px rgba(0, 0, 0, 0.45);
  --shadow-lg: 0 16px 40px rgba(0, 0, 0, 0.6);
  --shadow-xl: 0 24px 60px rgba(0, 0, 0, 0.7);
}

/* --------------------------------------------------------------------------
   2. Reset & Global Base
   -------------------------------------------------------------------------- */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: calc(var(--header-total-offset, 125px) + 20px);
  font-size: 16px;
  overflow-x: hidden;
  max-width: 100vw;
  width: 100%;
}

body {
  font-family: var(--font-body);
  background-color: var(--bg-page);
  color: var(--text-main);
  line-height: 1.6;
  overflow-x: hidden;
  max-width: 100vw;
  width: 100%;
  position: relative;
  padding-top: var(--header-total-offset, 125px);
  transition: background-color 0.35s ease, color 0.35s ease;
  -webkit-font-smoothing: antialiased;
}

h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-display);
  font-weight: 700;
  line-height: 1.25;
  color: var(--text-main);
}

p {
  margin-bottom: 1rem;
}

p:last-child {
  margin-bottom: 0;
}

a {
  color: var(--primary);
  text-decoration: none;
  transition: var(--transition);
}

a:hover {
  color: var(--primary-hover);
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

ul {
  list-style: none;
}

button, input, select, textarea {
  font-family: inherit;
  font-size: inherit;
}

/* --------------------------------------------------------------------------
   3. Layout Utilities
   -------------------------------------------------------------------------- */
.container {
  width: 100%;
  max-width: var(--container-max);
  margin: 0 auto;
  padding: 0 1.5rem;
}

.section {
  padding: 6rem 0;
  position: relative;
}

.text-center { text-align: center; }
.text-gold { color: var(--accent-gold) !important; }
.text-red { color: var(--primary) !important; }
.text-blue { color: #1A73E8 !important; }
.text-green { color: #10B981 !important; }
.text-pink { color: #E1306C !important; }

.text-gradient {
  background: linear-gradient(135deg, var(--primary) 0%, #F57C00 50%, var(--accent-gold) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  display: inline;
}

.section-badge-center {
  display: flex;
  justify-content: center;
  margin-bottom: 1rem;
}

.badge {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  background-color: var(--primary-light);
  color: var(--primary);
  font-size: 0.85rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  padding: 0.4rem 1.1rem;
  border-radius: var(--radius-full);
}

.badge.badge-accent {
  background-color: var(--accent-gold-light);
  color: #B27204;
}

[data-theme="dark"] .badge.badge-accent {
  color: var(--accent-gold);
}

.section-title {
  font-size: clamp(2rem, 3.5vw, 2.75rem);
  letter-spacing: -0.02em;
  margin-bottom: 1rem;
}

.section-subtitle {
  font-size: 1.15rem;
  color: var(--text-muted);
  max-width: 680px;
  margin: 0 auto 3.5rem auto;
}

/* --------------------------------------------------------------------------
   4. Buttons & UI Elements
   -------------------------------------------------------------------------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.6rem;
  padding: 0.75rem 1.5rem;
  font-size: 0.95rem;
  font-weight: 600;
  border-radius: var(--radius-full);
  cursor: pointer;
  border: 1px solid transparent;
  transition: var(--transition-bounce);
  text-decoration: none;
}

.btn:active {
  transform: scale(0.97);
}

.btn-sm {
  padding: 0.45rem 1rem;
  font-size: 0.85rem;
}

.btn-lg {
  padding: 0.95rem 2rem;
  font-size: 1.05rem;
}

.btn-block {
  width: 100%;
}

.btn-primary {
  background-color: var(--primary);
  color: #FFFFFF;
  box-shadow: 0 4px 14px var(--primary-glow);
}

.btn-primary:hover {
  background-color: var(--primary-hover);
  color: #FFFFFF;
  transform: translateY(-2px);
  box-shadow: 0 6px 20px var(--primary-glow);
}

.btn-secondary {
  background-color: var(--secondary);
  color: #FFFFFF;
}

.btn-secondary:hover {
  background-color: var(--secondary-hover);
  color: #FFFFFF;
  transform: translateY(-2px);
}

.btn-outline-primary {
  background-color: transparent;
  border-color: var(--primary);
  color: var(--primary);
}

.btn-outline-primary:hover {
  background-color: var(--primary);
  color: #FFFFFF;
  transform: translateY(-2px);
}

.btn-outline-white {
  background-color: rgba(255, 255, 255, 0.12);
  border-color: rgba(255, 255, 255, 0.3);
  color: #FFFFFF;
}

.btn-outline-white:hover {
  background-color: #FFFFFF;
  color: var(--secondary);
}

.btn-ghost {
  background-color: rgba(255, 255, 255, 0.6);
  backdrop-filter: blur(8px);
  border-color: var(--border-color);
  color: var(--text-main);
}

[data-theme="dark"] .btn-ghost {
  background-color: rgba(255, 255, 255, 0.05);
}

.btn-ghost:hover {
  background-color: var(--bg-surface-elevated);
  transform: translateY(-2px);
}

.btn-whatsapp {
  background-color: #25D366;
  color: #FFFFFF;
}

.btn-whatsapp:hover {
  background-color: #20BA5A;
  color: #FFFFFF;
}

/* --------------------------------------------------------------------------
   5. Fixed Top Header & Announcement Bar
   -------------------------------------------------------------------------- */
.fixed-top-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  width: 100%;
  z-index: 950;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.08);
  transition: transform 0.3s ease;
}

[data-theme="dark"] .fixed-top-header {
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.4);
}

.top-announcement-bar {
  background: linear-gradient(90deg, #101c30 0%, #1c2e4a 50%, #101c30 100%);
  color: rgba(255, 255, 255, 0.95);
  font-size: 0.82rem;
  padding: 0.45rem 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  position: relative;
  z-index: 101;
}

.announcement-inner {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 1.25rem;
  position: relative;
  flex-wrap: wrap;
}

.announcement-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  background: rgba(220, 56, 38, 0.2);
  border: 1px solid rgba(220, 56, 38, 0.4);
  color: #FFA59C;
  font-size: 0.72rem;
  font-weight: 700;
  text-transform: uppercase;
  padding: 0.15rem 0.65rem;
  border-radius: var(--radius-full);
  letter-spacing: 0.04em;
}

.announcement-text {
  margin: 0;
  font-weight: 400;
}

.announcement-text strong {
  font-weight: 600;
  color: #FFFFFF;
}

.announcement-actions {
  display: flex;
  align-items: center;
  gap: 1rem;
}

.announcement-link {
  color: var(--accent-gold);
  font-weight: 600;
  font-size: 0.8rem;
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  transition: transform 0.2s ease, color 0.2s ease;
}

.announcement-link:hover {
  color: #FFE194;
  transform: translateX(2px);
  text-decoration: none;
}

.announcement-close {
  background: none;
  border: none;
  color: rgba(255, 255, 255, 0.6);
  font-size: 1.1rem;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0;
  line-height: 1;
  transition: color 0.2s ease;
}

.announcement-close:hover {
  color: #FFFFFF;
}

/* --------------------------------------------------------------------------
   6. Header & Navigation (Ultra-Professional)
   -------------------------------------------------------------------------- */
.site-header {
  position: relative;
  width: 100%;
  z-index: 100;
  background-color: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(18px);
  -webkit-backdrop-filter: blur(18px);
  border-bottom: 1px solid var(--border-color);
  transition: all 0.3s cubic-bezier(0.25, 0.8, 0.25, 1);
}

[data-theme="dark"] .site-header {
  background-color: rgba(11, 16, 27, 0.95);
  border-bottom-color: rgba(255, 255, 255, 0.08);
}

.site-header.scrolled {
  box-shadow: 0 4px 20px rgba(18, 33, 58, 0.08);
}

[data-theme="dark"] .site-header.scrolled {
  box-shadow: 0 4px 24px rgba(0, 0, 0, 0.45);
}

.header-container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: var(--header-height);
  gap: 1.5rem;
}

/* Brand Link & Avatar */
.brand-link {
  display: flex;
  align-items: center;
  gap: 0.85rem;
  text-decoration: none;
  flex-shrink: 0;
}

.brand-badge {
  position: relative;
  width: 48px;
  height: 48px;
}

.brand-avatar {
  width: 100%;
  height: 100%;
  border-radius: 50%;
  object-fit: contain;
  padding: 3px;
  border: 2px solid var(--primary);
  background-color: #FFFFFF;
  position: relative;
  z-index: 2;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
  transition: transform 0.3s cubic-bezier(0.34, 1.56, 0.64, 1);
}

.brand-link:hover .brand-avatar {
  transform: scale(1.08);
}

.halo-glow {
  position: absolute;
  top: -4px;
  left: -4px;
  right: -4px;
  bottom: -4px;
  border-radius: 50%;
  background: radial-gradient(circle, var(--accent-gold) 0%, transparent 70%);
  opacity: 0.6;
  filter: blur(6px);
  z-index: 1;
  animation: haloPulse 3s infinite alternate ease-in-out;
}

@keyframes haloPulse {
  0% { transform: scale(1); opacity: 0.4; }
  100% { transform: scale(1.15); opacity: 0.85; }
}

.brand-text {
  display: flex;
  flex-direction: column;
}

.brand-eyebrow {
  font-size: 0.62rem;
  font-weight: 800;
  color: var(--accent-gold);
  letter-spacing: 0.12em;
  text-transform: uppercase;
  line-height: 1;
  margin-bottom: 2px;
}

.brand-title {
  font-family: var(--font-display);
  font-size: 1.28rem;
  font-weight: 500;
  color: var(--text-main);
  letter-spacing: -0.02em;
  line-height: 1.15;
}

.brand-title strong {
  font-weight: 800;
  color: var(--primary);
}

/* Desktop Nav List & Pill Links */
.nav-menu {
  display: flex;
  align-items: center;
}

.nav-list {
  display: flex;
  align-items: center;
  gap: 0.45rem;
  flex-wrap: nowrap;
}

.nav-item {
  position: relative;
  flex-shrink: 0;
}

.nav-link {
  font-size: 0.92rem;
  font-weight: 600;
  color: var(--text-muted);
  padding: 0.52rem 0.92rem;
  border-radius: var(--radius-full);
  position: relative;
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  white-space: nowrap !important;
  transition: all 0.2s cubic-bezier(0.25, 0.8, 0.25, 1);
  text-decoration: none;
}

.nav-link:hover, .nav-link.active {
  color: var(--primary);
  background-color: var(--primary-light);
}

[data-theme="dark"] .nav-link:hover, [data-theme="dark"] .nav-link.active {
  background-color: rgba(255, 74, 56, 0.12);
}

.nav-arrow {
  font-size: 0.65rem;
  transition: transform 0.25s ease;
  opacity: 0.7;
}

.has-dropdown:hover .nav-arrow {
  transform: rotate(180deg);
  opacity: 1;
  color: var(--primary);
}

/* Elegant Dropdown Menus */
.dropdown-menu {
  position: absolute;
  top: calc(100% + 8px);
  left: 50%;
  transform: translateX(-50%) translateY(8px);
  min-width: 295px;
  background-color: var(--bg-surface);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-lg);
  box-shadow: 0 16px 36px rgba(18, 33, 58, 0.12), 0 4px 12px rgba(18, 33, 58, 0.05);
  padding: 0.6rem;
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transition: opacity 0.22s ease, transform 0.22s cubic-bezier(0.16, 1, 0.3, 1), visibility 0.22s ease;
  z-index: 120;
}

[data-theme="dark"] .dropdown-menu {
  background-color: rgba(19, 27, 43, 0.95);
  box-shadow: 0 20px 45px rgba(0, 0, 0, 0.5);
  border-color: rgba(255, 255, 255, 0.08);
}

.has-dropdown:hover .dropdown-menu,
.has-dropdown:focus-within .dropdown-menu {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
  transform: translateX(-50%) translateY(0);
}

.dropdown-item {
  display: flex;
  align-items: center;
  gap: 0.85rem;
  padding: 0.7rem 0.85rem;
  border-radius: var(--radius-md);
  text-decoration: none;
  transition: background-color 0.2s ease, transform 0.2s ease;
}

.dropdown-item:hover {
  background-color: var(--bg-muted);
  transform: translateX(3px);
}

.dropdown-icon-box {
  width: 38px;
  height: 38px;
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1rem;
  flex-shrink: 0;
}

.dropdown-icon-box.bg-red { background-color: var(--primary-light); color: var(--primary); }
.dropdown-icon-box.bg-gold { background-color: var(--accent-gold-light); color: #B27204; }
[data-theme="dark"] .dropdown-icon-box.bg-gold { color: var(--accent-gold); }
.dropdown-icon-box.bg-navy { background-color: var(--secondary-light); color: #0284C7; }

.dropdown-text {
  display: flex;
  flex-direction: column;
}

.dropdown-title {
  font-size: 0.88rem;
  font-weight: 700;
  color: var(--text-main);
  margin-bottom: 2px;
}

.dropdown-desc {
  font-size: 0.74rem;
  color: var(--text-muted);
  line-height: 1.3;
}

/* Header Actions */
.header-actions {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  flex-shrink: 0;
}

/* Quick Action: Acender Vela Button */
.btn-quick-candle {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  padding: 0.45rem 0.9rem;
  border-radius: var(--radius-full);
  font-size: 0.82rem;
  font-weight: 700;
  background-color: var(--accent-gold-light);
  color: #B27204;
  border: 1px solid rgba(234, 163, 21, 0.3);
  text-decoration: none;
  transition: all 0.25s cubic-bezier(0.34, 1.56, 0.64, 1);
}

[data-theme="dark"] .btn-quick-candle {
  color: var(--accent-gold);
}

.btn-quick-candle:hover {
  transform: translateY(-2px);
  box-shadow: 0 4px 12px var(--accent-gold-glow);
  background-color: var(--accent-gold);
  color: #1A1303;
}

.btn-quick-candle:hover i {
  color: #1A1303 !important;
}

/* Theme Toggle Button */
.theme-toggle-btn {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background-color: var(--bg-muted);
  border: 1px solid var(--border-color);
  color: var(--text-main);
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1rem;
  transition: var(--transition-bounce);
}

.theme-toggle-btn:hover {
  background-color: var(--border-color);
  transform: rotate(20deg) scale(1.05);
}

.icon-sun { display: none; }
.icon-moon { display: block; }

[data-theme="dark"] .icon-sun { display: block; color: var(--accent-gold); }
[data-theme="dark"] .icon-moon { display: none; }

.btn-header {
  padding: 0.55rem 1.25rem;
  font-size: 0.88rem;
}

/* Mobile Menu Button */
.mobile-toggle-btn {
  display: none;
  flex-direction: column;
  justify-content: space-around;
  width: 40px;
  height: 40px;
  background: var(--bg-muted);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-sm);
  padding: 9px;
  cursor: pointer;
  transition: var(--transition);
}

.mobile-toggle-btn:hover {
  background-color: var(--border-color);
}

.hamburger-bar {
  width: 100%;
  height: 2px;
  background-color: var(--text-main);
  border-radius: 2px;
  transition: var(--transition);
}

/* Modern Mobile Drawer */
.mobile-drawer {
  position: fixed;
  top: 0;
  right: 0;
  width: 310px;
  max-width: 84vw;
  height: 100vh;
  height: 100dvh;
  background-color: var(--bg-surface);
  box-shadow: -4px 0 30px rgba(0, 0, 0, 0.28);
  z-index: 1000;
  display: flex;
  flex-direction: column;
  padding: 1.5rem 1.25rem;
  transform: translateX(105%);
  visibility: hidden;
  pointer-events: none;
  transition: transform 0.3s cubic-bezier(0.25, 0.8, 0.25, 1), visibility 0.3s ease;
  overflow-y: auto;
  -webkit-overflow-scrolling: touch;
}

.mobile-drawer.open {
  transform: translateX(0);
  visibility: visible;
  pointer-events: auto;
}

.mobile-drawer-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-bottom: 1rem;
  border-bottom: 1px solid var(--border-color);
  margin-bottom: 1.25rem;
}

.mobile-drawer-brand {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.mobile-brand-avatar {
  width: 38px;
  height: 38px;
  border-radius: 50%;
  border: 2px solid var(--primary);
  background-color: #FFFFFF;
  padding: 2px;
}

.mobile-drawer-close {
  background: none;
  border: none;
  font-size: 1.6rem;
  color: var(--text-muted);
  cursor: pointer;
  padding: 4px;
  line-height: 1;
}

.mobile-drawer-content {
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
  flex-grow: 1;
}

.mobile-nav-group {
  display: flex;
  flex-direction: column;
  gap: 0.35rem;
}

.mobile-group-title {
  font-size: 0.72rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--text-subtle);
  margin-bottom: 0.25rem;
  padding-left: 0.5rem;
}

.mobile-nav-list {
  display: flex;
  flex-direction: column;
  gap: 0.3rem;
}

.mobile-nav-link {
  display: flex;
  align-items: center;
  gap: 0.8rem;
  font-size: 0.95rem;
  font-weight: 600;
  color: var(--text-main);
  padding: 0.65rem 0.85rem;
  border-radius: var(--radius-md);
  transition: all 0.2s ease;
}

.mobile-nav-link:hover, .mobile-nav-link.active {
  background-color: var(--primary-light);
  color: var(--primary);
}

.mobile-drawer-footer {
  margin-top: 1.5rem;
  padding-top: 1.25rem;
  border-top: 1px solid var(--border-color);
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.mobile-drawer-socials {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 1.25rem;
  font-size: 1.3rem;
}

.mobile-drawer-socials a {
  color: var(--text-muted);
  transition: color 0.2s ease, transform 0.2s ease;
}

.mobile-drawer-socials a:hover {
  color: var(--primary);
  transform: scale(1.15);
}

.mobile-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  height: 100dvh;
  background-color: rgba(0, 0, 0, 0.6);
  backdrop-filter: blur(4px);
  -webkit-backdrop-filter: blur(4px);
  z-index: 999;
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transition: opacity 0.3s ease, visibility 0.3s ease;
}

.mobile-overlay.open {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
}

/* --------------------------------------------------------------------------
   7. Hero Section
   -------------------------------------------------------------------------- */
.hero-section {
  position: relative;
  min-height: calc(100vh - var(--header-height));
  display: flex;
  align-items: center;
  padding: 5rem 0 6.5rem 0;
  background: radial-gradient(circle at 10% 20%, rgba(220, 56, 38, 0.05) 0%, transparent 40%),
              radial-gradient(circle at 90% 70%, rgba(234, 163, 21, 0.06) 0%, transparent 45%);
}

[data-theme="dark"] .hero-section {
  background: radial-gradient(circle at 10% 20%, rgba(255, 74, 56, 0.08) 0%, transparent 45%),
              radial-gradient(circle at 90% 70%, rgba(247, 184, 50, 0.06) 0%, transparent 50%);
}

.hero-container {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: 3.5rem;
  align-items: center;
}

.hero-content {
  position: relative;
  z-index: 2;
}

.hero-badge {
  display: inline-flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.6rem;
  background-color: var(--bg-surface);
  border: 1px solid var(--border-color);
  padding: 0.45rem 1rem;
  border-radius: var(--radius-full);
  box-shadow: var(--shadow-sm);
  margin-bottom: 1.5rem;
  font-size: 0.85rem;
}

.badge-halo {
  color: var(--accent-gold);
  font-weight: 700;
}

.hero-badge .badge-text {
  color: var(--text-muted);
}

.hero-title {
  font-size: clamp(2.3rem, 4.5vw, 3.8rem);
  font-weight: 800;
  letter-spacing: -0.03em;
  margin-bottom: 1.5rem;
  line-height: 1.15;
}

.hero-description {
  font-size: 1.15rem;
  color: var(--text-muted);
  line-height: 1.7;
  margin-bottom: 2.25rem;
  max-width: 580px;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  margin-bottom: 3.25rem;
}

/* Hero Stats Strip */
.hero-stats {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.25rem;
  padding-top: 1.5rem;
  border-top: 1px solid var(--border-color);
}

.stat-card {
  display: flex;
  align-items: center;
  gap: 0.85rem;
}

.stat-icon {
  width: 44px;
  height: 44px;
  border-radius: var(--radius-md);
  background-color: var(--primary-light);
  color: var(--primary);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.2rem;
  flex-shrink: 0;
}

.stat-info {
  display: flex;
  flex-direction: column;
}

.stat-number {
  font-family: var(--font-display);
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--text-main);
  line-height: 1.2;
}

.stat-label {
  font-size: 0.78rem;
  color: var(--text-muted);
  font-weight: 500;
}

/* Hero Visual Graphic */
.hero-visual {
  position: relative;
  display: flex;
  justify-content: center;
}

.hero-image-wrapper {
  position: relative;
  width: 100%;
  max-width: 440px;
  background: radial-gradient(circle at 50% 40%, rgba(234, 163, 21, 0.15) 0%, rgba(220, 56, 38, 0.05) 50%, var(--bg-surface) 95%);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-xl);
  padding: 2.5rem 2rem 4.5rem 2rem;
  box-shadow: var(--shadow-xl);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
}

.hero-main-logo {
  width: 100%;
  max-width: 340px;
  height: auto;
  border-radius: 0;
  box-shadow: none;
  border: none;
  filter: drop-shadow(0 14px 28px rgba(18, 33, 58, 0.16));
  position: relative;
  z-index: 2;
  transition: transform 0.4s ease, filter 0.4s ease;
}

.hero-main-logo:hover {
  transform: translateY(-4px) scale(1.03);
  filter: drop-shadow(0 18px 34px rgba(220, 56, 38, 0.25));
}

.hero-quote-card {
  position: absolute;
  bottom: -25px;
  left: 0;
  right: 0;
  background-color: var(--bg-surface);
  padding: 1.25rem 1.5rem;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-lg);
  border: 1px solid var(--border-color);
  z-index: 4;
}

.quote-icon {
  color: var(--accent-gold);
  font-size: 1.4rem;
  margin-bottom: 0.3rem;
}

.quote-text {
  font-family: var(--font-display);
  font-size: 1.05rem;
  font-weight: 600;
  color: var(--text-main);
  margin-bottom: 0.25rem;
}

.quote-author {
  font-size: 0.85rem;
  color: var(--primary);
  font-weight: 700;
}

.scroll-down-indicator {
  position: absolute;
  bottom: 1.5rem;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.3rem;
  font-size: 0.78rem;
  font-weight: 600;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 0.08em;
  animation: bounceDown 2s infinite ease-in-out;
}

@keyframes bounceDown {
  0%, 100% { transform: translate(-50%, 0); }
  50% { transform: translate(-50%, 8px); }
}

/* --------------------------------------------------------------------------
   8. Countdown Strip
   -------------------------------------------------------------------------- */
.countdown-strip {
  background: linear-gradient(135deg, var(--secondary) 0%, #1A2E4E 100%);
  color: #FFFFFF;
  padding: 2.25rem 0;
  box-shadow: var(--shadow-md);
  position: relative;
  z-index: 10;
}

.countdown-container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 2rem;
}

.countdown-header {
  display: flex;
  align-items: center;
  gap: 1.25rem;
}

.countdown-icon {
  width: 52px;
  height: 52px;
  border-radius: 50%;
  background-color: rgba(255, 255, 255, 0.1);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
  color: var(--accent-gold);
}

.countdown-titles h3 {
  color: #FFFFFF;
  font-size: 1.25rem;
  margin-bottom: 0.25rem;
}

.countdown-titles p {
  color: rgba(255, 255, 255, 0.75);
  font-size: 0.88rem;
}

.countdown-timer {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.timer-unit {
  background-color: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.15);
  backdrop-filter: blur(4px);
  padding: 0.6rem 0.9rem;
  border-radius: var(--radius-md);
  text-align: center;
  min-width: 65px;
}

.timer-value {
  display: block;
  font-family: var(--font-display);
  font-size: 1.8rem;
  font-weight: 800;
  line-height: 1;
  color: var(--accent-gold);
}

.timer-label {
  font-size: 0.68rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: rgba(255, 255, 255, 0.7);
  margin-top: 0.2rem;
  display: block;
}

.timer-separator {
  font-size: 1.5rem;
  font-weight: 700;
  color: rgba(255, 255, 255, 0.4);
}

.countdown-actions {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  flex-wrap: wrap;
}

/* --------------------------------------------------------------------------
   9. About Ministry Section
   -------------------------------------------------------------------------- */
.about-grid {
  display: grid;
  grid-template-columns: 1fr;
  max-width: 900px;
  margin: 0 auto;
  gap: 3.5rem;
  align-items: center;
}

.about-card-featured {
  background-color: var(--bg-surface);
  padding: 3rem;
  border-radius: var(--radius-xl);
  box-shadow: var(--shadow-md);
  border: 1px solid var(--border-color);
}

.about-tag {
  display: inline-block;
  color: var(--primary);
  font-weight: 700;
  font-size: 0.85rem;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  margin-bottom: 0.75rem;
}

.about-card-featured h3 {
  font-size: 1.7rem;
  margin-bottom: 1.5rem;
  line-height: 1.35;
}

.about-pillars {
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
  margin-top: 2rem;
}

.pillar-item {
  display: flex;
  align-items: flex-start;
  gap: 1rem;
}

.pillar-icon {
  width: 44px;
  height: 44px;
  border-radius: var(--radius-md);
  background-color: var(--primary-light);
  color: var(--primary);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.2rem;
  flex-shrink: 0;
  margin-top: 0.2rem;
}

.pillar-content h4 {
  font-size: 1.1rem;
  margin-bottom: 0.2rem;
}

.pillar-content p {
  font-size: 0.92rem;
  color: var(--text-muted);
}

.image-frame {
  position: relative;
}

.rounded-image {
  border-radius: var(--radius-xl);
  width: 100%;
  aspect-ratio: 2 / 3;
  object-fit: cover;
  object-position: center;
  object-fit: cover;
  box-shadow: var(--shadow-lg);
  border: 4px solid var(--bg-surface);
}

.image-caption-pill {
  position: absolute;
  bottom: 20px;
  right: 20px;
  background-color: rgba(18, 33, 58, 0.85);
  backdrop-filter: blur(8px);
  color: #FFFFFF;
  padding: 0.5rem 1rem;
  border-radius: var(--radius-full);
  font-size: 0.85rem;
  font-weight: 600;
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

/* --------------------------------------------------------------------------
   10. Carlo Acutis Special Section
   -------------------------------------------------------------------------- */
.carlo-section {
  background-color: var(--bg-surface);
}

.carlo-bio-card {
  display: grid;
  grid-template-columns: 0.85fr 1.15fr;
  gap: 3.5rem;
  align-items: center;
  margin-bottom: 4rem;
}

.carlo-avatar-container {
  position: relative;
}

.carlo-bio-img {
  width: 100%;
  border-radius: var(--radius-xl);
  box-shadow: var(--shadow-lg);
  border: 4px solid var(--bg-page);
}

.carlo-status-tag {
  position: absolute;
  bottom: 15px;
  left: 50%;
  transform: translateX(-50%);
  white-space: nowrap;
  background-color: var(--accent-gold);
  color: #1A1303;
  font-weight: 700;
  font-size: 0.85rem;
  padding: 0.4rem 1.1rem;
  border-radius: var(--radius-full);
  box-shadow: var(--shadow-md);
  display: flex;
  align-items: center;
  gap: 0.4rem;
}

.carlo-bio-text h3 {
  font-size: 1.85rem;
  margin-bottom: 1.25rem;
}

.carlo-bio-text p {
  color: var(--text-muted);
  font-size: 1.02rem;
  line-height: 1.7;
}

/* Quotes Carousel Box */
.quotes-box {
  background: linear-gradient(135deg, var(--bg-muted) 0%, var(--bg-page) 100%);
  border: 1px solid var(--border-color);
  padding: 1.75rem;
  border-radius: var(--radius-lg);
  margin-top: 2rem;
}

.quotes-box-header {
  font-size: 0.85rem;
  font-weight: 700;
  color: var(--primary);
  text-transform: uppercase;
  letter-spacing: 0.05em;
  margin-bottom: 1rem;
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.quotes-slider {
  position: relative;
  min-height: 90px;
}

.quote-slide {
  display: none;
  animation: fadeInQuote 0.4s ease;
}

.quote-slide.active {
  display: block;
}

@keyframes fadeInQuote {
  from { opacity: 0; transform: translateY(6px); }
  to { opacity: 1; transform: translateY(0); }
}

.quote-slide p {
  font-family: var(--font-display);
  font-size: 1.2rem;
  font-weight: 600;
  color: var(--text-main);
  font-style: italic;
  margin-bottom: 0.5rem;
}

.quote-slide span {
  font-size: 0.9rem;
  color: var(--primary);
  font-weight: 700;
}

.quotes-nav {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 0.75rem;
  margin-top: 1rem;
}

.quote-btn {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background-color: var(--bg-surface);
  border: 1px solid var(--border-color);
  color: var(--text-main);
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: var(--transition);
  font-size: 0.8rem;
}

.quote-btn:hover {
  background-color: var(--primary);
  color: #FFFFFF;
  border-color: var(--primary);
}

.quote-dots {
  display: flex;
  gap: 0.4rem;
}

.quote-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background-color: var(--border-color);
  cursor: pointer;
  transition: var(--transition);
}

.quote-dot.active {
  background-color: var(--primary);
  width: 20px;
  border-radius: var(--radius-full);
}

/* Timeline of Carlo */
.timeline-container {
  padding-top: 2rem;
  border-top: 1px solid var(--border-color);
}

.timeline-title {
  font-size: 1.7rem;
  margin-bottom: 3rem;
}

.timeline {
  position: relative;
  max-width: 900px;
  margin: 0 auto;
}

.timeline::after {
  content: '';
  position: absolute;
  width: 3px;
  background-color: var(--border-color);
  top: 0;
  bottom: 0;
  left: 50%;
  margin-left: -1.5px;
}

.timeline-item {
  padding: 10px 40px;
  position: relative;
  width: 50%;
}

.timeline-item.left { left: 0; text-align: right; }
.timeline-item.right { left: 50%; text-align: left; }

.timeline-dot {
  position: absolute;
  width: 18px;
  height: 18px;
  right: -9px;
  background-color: var(--primary);
  border: 4px solid var(--bg-surface);
  top: 18px;
  border-radius: 50%;
  z-index: 1;
  box-shadow: 0 0 0 3px var(--primary-light);
}

.timeline-item.right .timeline-dot {
  left: -9px;
}

.timeline-content {
  padding: 1.5rem;
  background-color: var(--bg-page);
  border-radius: var(--radius-lg);
  border: 1px solid var(--border-color);
  box-shadow: var(--shadow-sm);
  transition: var(--transition);
}

.timeline-content:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow-md);
  border-color: var(--primary);
}

.timeline-year {
  display: inline-block;
  font-size: 0.8rem;
  font-weight: 700;
  color: var(--primary);
  text-transform: uppercase;
  margin-bottom: 0.4rem;
}

.timeline-content h4 {
  font-size: 1.15rem;
  margin-bottom: 0.5rem;
}

.timeline-content p {
  font-size: 0.9rem;
  color: var(--text-muted);
}

/* --------------------------------------------------------------------------
   11. Eucharistic Miracles Catalog
   -------------------------------------------------------------------------- */
.miracles-section {
  background-color: var(--bg-page);
}

.miracle-filters {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 0.6rem;
  margin-bottom: 2.75rem;
}

.filter-tab {
  padding: 0.6rem 1.4rem;
  border-radius: var(--radius-full);
  border: 1px solid var(--border-color);
  background-color: var(--bg-surface);
  color: var(--text-muted);
  font-weight: 600;
  font-size: 0.9rem;
  cursor: pointer;
  transition: var(--transition);
}

.filter-tab:hover, .filter-tab.active {
  background-color: var(--primary);
  color: #FFFFFF;
  border-color: var(--primary);
  box-shadow: 0 4px 12px var(--primary-glow);
}

.miracles-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 1.75rem;
}

.miracle-card {
  background-color: var(--bg-surface);
  border-radius: var(--radius-lg);
  padding: 1.75rem;
  border: 1px solid var(--border-color);
  box-shadow: var(--shadow-sm);
  display: flex;
  flex-direction: column;
  transition: var(--transition);
}

.miracle-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-lg);
  border-color: var(--primary);
}

.miracle-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.5rem;
  margin-bottom: 0.9rem;
}

.miracle-loc {
  font-size: 0.8rem;
  font-weight: 600;
  color: var(--text-muted);
}

.miracle-badge {
  font-size: 0.72rem;
  font-weight: 700;
  text-transform: uppercase;
  background-color: var(--accent-gold-light);
  color: #B27204;
  padding: 0.2rem 0.6rem;
  border-radius: var(--radius-full);
}

[data-theme="dark"] .miracle-badge {
  color: var(--accent-gold);
}

.miracle-card h3 {
  font-size: 1.3rem;
  margin-bottom: 0.75rem;
}

.miracle-desc {
  font-size: 0.92rem;
  color: var(--text-muted);
  margin-bottom: 1.25rem;
  flex-grow: 1;
}

.miracle-science {
  background-color: var(--bg-muted);
  border-left: 3px solid var(--accent-gold);
  padding: 0.85rem;
  border-radius: 0 var(--radius-sm) var(--radius-sm) 0;
  font-size: 0.82rem;
  color: var(--text-main);
  margin-bottom: 1.25rem;
}

.btn-view-miracle {
  background: none;
  border: none;
  color: var(--primary);
  font-weight: 700;
  font-size: 0.9rem;
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  cursor: pointer;
  padding: 0;
}

.btn-view-miracle:hover {
  gap: 0.6rem;
  color: var(--primary-hover);
}

.carlo-miracles-note {
  margin-top: 3rem;
  display: flex;
  align-items: center;
  gap: 1.25rem;
  background-color: var(--bg-surface);
  border: 1px dashed var(--accent-gold);
  padding: 1.5rem;
  border-radius: var(--radius-md);
  font-size: 0.92rem;
  color: var(--text-muted);
  box-shadow: var(--shadow-xs);
}

.carlo-miracles-note .note-icon-lead {
  width: 50px;
  height: 50px;
  border-radius: 50%;
  background: var(--accent-gold-light);
  color: #B27204;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.4rem;
  flex-shrink: 0;
}

[data-theme="dark"] .carlo-miracles-note .note-icon-lead {
  background: rgba(234, 163, 21, 0.2);
  color: var(--accent-gold);
}

.carlo-miracles-note .note-body {
  line-height: 1.6;
}

/* --------------------------------------------------------------------------
   Canonical 4 Pillars of Catholic Miracles
   -------------------------------------------------------------------------- */
.canonical-pillars-bar {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 1.25rem;
  margin: 2.5rem 0 3.5rem;
}

.canonical-pillar-card {
  background: var(--bg-surface);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-md);
  padding: 1.35rem 1.2rem;
  display: flex;
  align-items: flex-start;
  gap: 1rem;
  box-shadow: var(--shadow-xs);
  transition: var(--transition);
}

.canonical-pillar-card:hover {
  transform: translateY(-3px);
  border-color: var(--accent-gold);
  box-shadow: var(--shadow-md);
}

.canonical-pillar-card .pillar-icon {
  width: 44px;
  height: 44px;
  border-radius: var(--radius-md);
  background: var(--bg-muted);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.25rem;
  flex-shrink: 0;
}

.canonical-pillar-card h4 {
  font-size: 0.98rem;
  font-weight: 700;
  margin-bottom: 0.3rem;
  color: var(--text-main);
}

.canonical-pillar-card p {
  font-size: 0.82rem;
  color: var(--text-muted);
  line-height: 1.45;
  margin: 0;
}

/* --------------------------------------------------------------------------
   Official Miracles Block (Carlo Acutis Beatification & Canonization)
   -------------------------------------------------------------------------- */
.official-miracles-block {
  margin-bottom: 0;
  padding: 2.75rem;
  background: linear-gradient(145deg, rgba(220, 56, 38, 0.03) 0%, rgba(234, 163, 21, 0.06) 100%);
  border: 1px solid rgba(234, 163, 21, 0.3);
  border-radius: var(--radius-xl);
  box-shadow: var(--shadow-md);
  position: relative;
  overflow: hidden;
}

[data-theme="dark"] .official-miracles-block {
  background: linear-gradient(145deg, rgba(220, 56, 38, 0.08) 0%, rgba(234, 163, 21, 0.08) 100%);
  border-color: rgba(234, 163, 21, 0.35);
}

.official-block-header {
  text-align: center;
  max-width: 780px;
  margin: 0 auto 2.5rem;
}

.official-block-header h3 {
  font-size: 1.85rem;
  margin: 0.75rem 0 0.5rem;
}

.official-block-header p {
  color: var(--text-muted);
  font-size: 0.98rem;
}

.official-miracles-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(340px, 1fr));
  gap: 2rem;
}

.official-miracle-card {
  background: var(--bg-surface);
  border-radius: var(--radius-lg);
  border: 1px solid var(--border-color);
  box-shadow: var(--shadow-sm);
  display: flex;
  flex-direction: column;
  position: relative;
  overflow: hidden;
  transition: var(--transition);
}

.official-miracle-card:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-xl);
}

.beatificacao-card:hover {
  border-color: #0E9F6E;
  box-shadow: 0 16px 36px rgba(14, 159, 110, 0.18);
}

.canonizacao-card:hover {
  border-color: var(--primary);
  box-shadow: 0 16px 36px var(--primary-glow);
}

.card-accent-ribbon {
  padding: 0.5rem 1.25rem;
  font-size: 0.78rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.ribbon-brazil {
  background: linear-gradient(90deg, #009c3b, #ffdf00);
  color: #08401a;
  font-weight: 800;
}

.ribbon-italy {
  background: linear-gradient(90deg, #DC3826, #EAA315);
  color: #ffffff;
}

.card-inner-pad {
  padding: 1.75rem;
  display: flex;
  flex-direction: column;
  flex-grow: 1;
}

.card-top-meta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.5rem;
  margin-bottom: 0.75rem;
  flex-wrap: wrap;
}

.meta-tag {
  font-size: 0.75rem;
  font-weight: 700;
  padding: 0.25rem 0.65rem;
  border-radius: var(--radius-full);
}

.tag-beatificacao {
  background: rgba(14, 159, 110, 0.12);
  color: #0E9F6E;
}

[data-theme="dark"] .tag-beatificacao {
  color: #31C48D;
  background: rgba(14, 159, 110, 0.25);
}

.tag-canonizacao {
  background: var(--primary-light);
  color: var(--primary);
}

[data-theme="dark"] .tag-canonizacao {
  background: rgba(220, 56, 38, 0.25);
  color: #FF786B;
}

.meta-date {
  font-size: 0.8rem;
  color: var(--text-subtle);
  font-weight: 600;
}

.official-card-title {
  font-size: 1.4rem;
  margin-bottom: 0.35rem;
  line-height: 1.3;
}

.official-card-location {
  font-size: 0.85rem;
  color: var(--text-muted);
  margin-bottom: 1.1rem;
  display: flex;
  align-items: center;
  gap: 0.4rem;
}

.official-card-quote {
  background: var(--bg-muted);
  border-left: 3px solid var(--accent-gold);
  padding: 0.85rem 1rem;
  border-radius: 0 var(--radius-sm) var(--radius-sm) 0;
  font-size: 0.88rem;
  color: var(--text-main);
  margin-bottom: 1.25rem;
  position: relative;
  line-height: 1.5;
}

.official-card-diagnosis {
  display: flex;
  flex-direction: column;
  gap: 0.65rem;
  margin-bottom: 1.5rem;
  flex-grow: 1;
}

.diag-item {
  font-size: 0.84rem;
  line-height: 1.45;
  background: rgba(0, 0, 0, 0.02);
  padding: 0.6rem 0.75rem;
  border-radius: var(--radius-sm);
  border: 1px solid var(--border-light);
}

[data-theme="dark"] .diag-item {
  background: rgba(255, 255, 255, 0.03);
  border-color: rgba(255, 255, 255, 0.06);
}

.diag-label {
  font-weight: 700;
  color: var(--text-main);
  display: block;
  margin-bottom: 0.15rem;
}

.diag-val {
  color: var(--text-muted);
}

.highlight-diag {
  background: rgba(234, 163, 21, 0.08);
  border-color: rgba(234, 163, 21, 0.3);
}

.highlight-diag .diag-label {
  color: #B27204;
}

[data-theme="dark"] .highlight-diag .diag-label {
  color: var(--accent-gold);
}

.btn-open-miracle {
  width: 100%;
  justify-content: center;
  padding: 0.85rem 1.25rem;
  font-size: 0.92rem;
  font-weight: 700;
  border-radius: var(--radius-md);
  margin-top: auto;
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
}


/* --------------------------------------------------------------------------
   13. Missões & Ações do Ministério Acutis
   -------------------------------------------------------------------------- */
.missoes-section {
  background-color: var(--bg-page);
}

.ceu-conecta-card {
  display: grid;
  grid-template-columns: 420px 1fr;
  gap: 3.5rem;
  background-color: var(--bg-surface);
  border-radius: var(--radius-xl);
  border: 1px solid var(--border-color);
  padding: 2.75rem;
  box-shadow: 0 16px 40px rgba(18, 33, 58, 0.08);
  margin-bottom: 3.5rem;
  align-items: center;
  transition: all 0.3s ease;
}

[data-theme="dark"] .ceu-conecta-card {
  background-color: rgba(19, 27, 43, 0.85);
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.5);
  border-color: rgba(255, 255, 255, 0.1);
}

.ceu-conecta-poster-side {
  position: relative;
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: 0 12px 30px rgba(0, 0, 0, 0.25);
  border: 1px solid rgba(255, 255, 255, 0.1);
}

.ceu-conecta-poster-img {
  width: 100%;
  aspect-ratio: 2 / 3;
  object-fit: cover;
  object-position: center;
  display: block;
  object-fit: cover;
  transition: transform 0.4s ease;
}

.ceu-conecta-card:hover .ceu-conecta-poster-img {
  transform: scale(1.02);
}

.ceu-conecta-info-side {
  display: flex;
  flex-direction: column;
}

.ceu-conecta-badges {
  display: flex;
  align-items: center;
  gap: 0.85rem;
  margin-bottom: 1.25rem;
  flex-wrap: wrap;
}

.status-badge-open {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  font-size: 0.82rem;
  font-weight: 700;
  text-transform: uppercase;
  color: #16A34A;
  background-color: rgba(22, 163, 74, 0.12);
  border: 1px solid rgba(22, 163, 74, 0.3);
  padding: 0.3rem 0.85rem;
  border-radius: var(--radius-full);
}

.badge-age-highlight {
  background-color: rgba(234, 163, 21, 0.15);
  border: 1px solid rgba(234, 163, 21, 0.4);
  color: #B27204;
  font-weight: 700;
}

[data-theme="dark"] .badge-age-highlight {
  background-color: rgba(247, 184, 50, 0.18);
  border-color: rgba(247, 184, 50, 0.4);
  color: #F7B832;
}

.ceu-conecta-name {
  font-family: var(--font-display);
  font-size: clamp(2rem, 3.2vw, 2.75rem);
  font-weight: 800;
  color: var(--text-main);
  letter-spacing: -0.02em;
  margin-bottom: 0.35rem;
  line-height: 1.15;
}

.ceu-conecta-quote {
  font-family: var(--font-display);
  font-size: 1.35rem;
  font-style: italic;
  color: #DC3826;
  font-weight: 600;
  margin-bottom: 1.25rem;
}

[data-theme="dark"] .ceu-conecta-quote {
  color: #FFA59C;
}

.ceu-conecta-description {
  font-size: 1.02rem;
  line-height: 1.65;
  color: var(--text-muted);
  margin-bottom: 1.5rem;
}

/* Destaque Exclusivo: Maiores de 15 Anos */
.ceu-conecta-alert {
  display: flex;
  align-items: flex-start;
  gap: 1rem;
  padding: 1.1rem 1.35rem;
  background: linear-gradient(135deg, rgba(234, 163, 21, 0.12) 0%, rgba(220, 56, 38, 0.08) 100%);
  border: 1px solid rgba(234, 163, 21, 0.35);
  border-left: 4px solid var(--accent-gold);
  border-radius: var(--radius-md);
  margin-bottom: 1.75rem;
}

[data-theme="dark"] .ceu-conecta-alert {
  background: linear-gradient(135deg, rgba(247, 184, 50, 0.12) 0%, rgba(255, 74, 56, 0.1) 100%);
  border-color: rgba(247, 184, 50, 0.35);
  border-left-color: var(--accent-gold);
}

.ceu-conecta-alert .alert-icon {
  font-size: 1.35rem;
  color: #B27204;
  flex-shrink: 0;
  margin-top: 2px;
}

[data-theme="dark"] .ceu-conecta-alert .alert-icon {
  color: var(--accent-gold);
}

.ceu-conecta-alert .alert-content {
  display: flex;
  flex-direction: column;
  gap: 0.25rem;
  font-size: 0.92rem;
  line-height: 1.5;
  color: var(--text-main);
}

.ceu-conecta-alert .alert-content strong {
  color: var(--text-main);
  font-weight: 700;
}

.ceu-conecta-details-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1.25rem;
  margin-bottom: 2.25rem;
}

.ceu-detail-card {
  display: flex;
  align-items: center;
  gap: 0.85rem;
  padding: 1rem 1.25rem;
  background-color: var(--bg-muted);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-md);
}

.ceu-detail-card i {
  font-size: 1.35rem;
  flex-shrink: 0;
}

.ceu-detail-card div {
  display: flex;
  flex-direction: column;
}

.detail-label {
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: var(--text-subtle);
  font-weight: 600;
}

.ceu-detail-card strong {
  font-size: 0.95rem;
  color: var(--text-main);
  font-weight: 700;
}

.ceu-detail-card.highlight-card {
  border-color: rgba(234, 163, 21, 0.4);
  background-color: rgba(234, 163, 21, 0.08);
}

[data-theme="dark"] .ceu-detail-card.highlight-card {
  border-color: rgba(247, 184, 50, 0.35);
  background-color: rgba(247, 184, 50, 0.1);
}

/* Pricing Card for Retiro Céu Conecta */
.ceu-pricing-card {
  background: var(--bg-surface-elevated);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-lg);
  padding: 1.25rem 1.5rem;
  margin-bottom: 1.75rem;
  box-shadow: var(--shadow-sm);
}

[data-theme="dark"] .ceu-pricing-card {
  background: rgba(25, 34, 53, 0.6);
  border-color: rgba(255, 255, 255, 0.08);
}

.pricing-card-header {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.85rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: var(--text-muted);
  margin-bottom: 1rem;
}

.pricing-card-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1.15rem;
}

@media (max-width: 640px) {
  .pricing-card-grid {
    grid-template-columns: 1fr;
    gap: 0.85rem;
  }
}

.pricing-item {
  background: var(--bg-muted);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-md);
  padding: 1.1rem 1.25rem;
  display: flex;
  flex-direction: column;
  position: relative;
  transition: var(--transition);
}

.pricing-item:hover {
  border-color: var(--primary);
  transform: translateY(-2px);
}

.pricing-item.featured {
  background: linear-gradient(135deg, rgba(234, 163, 21, 0.09) 0%, rgba(220, 56, 38, 0.09) 100%);
  border-color: rgba(234, 163, 21, 0.5);
  box-shadow: 0 4px 14px rgba(234, 163, 21, 0.12);
}

[data-theme="dark"] .pricing-item.featured {
  background: linear-gradient(135deg, rgba(247, 184, 50, 0.12) 0%, rgba(255, 74, 56, 0.12) 100%);
  border-color: rgba(247, 184, 50, 0.4);
}

.pricing-item-badge {
  position: absolute;
  top: -10px;
  right: 14px;
  background: var(--accent-gold);
  color: #1A1303;
  font-size: 0.68rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  padding: 0.2rem 0.65rem;
  border-radius: var(--radius-full);
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.18);
}

.pricing-label {
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.06em;
  color: var(--text-subtle);
  margin-bottom: 0.35rem;
}

.pricing-value-wrap {
  display: flex;
  align-items: baseline;
  gap: 2px;
  margin-bottom: 0.35rem;
}

.pricing-currency {
  font-size: 0.95rem;
  font-weight: 700;
  color: var(--text-muted);
}

.pricing-num {
  font-family: var(--font-display);
  font-size: 2.1rem;
  font-weight: 800;
  color: var(--text-main);
  line-height: 1;
}

.pricing-decimals {
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--text-muted);
}

.pricing-info {
  font-size: 0.78rem;
  color: var(--text-muted);
  line-height: 1.35;
}

.contact-pricing-badge {
  display: flex;
  flex-direction: column;
  gap: 0.4rem;
  background: var(--bg-muted);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-md);
  padding: 0.75rem 1rem;
  margin-top: 0.75rem;
  font-size: 0.88rem;
  color: var(--text-main);
}

.ceu-conecta-cta-box {
  display: flex;
  align-items: center;
  gap: 1.25rem;
  flex-wrap: wrap;
}

.btn-inscricao-glow {
  box-shadow: 0 4px 18px rgba(220, 56, 38, 0.35);
  transition: all 0.3s cubic-bezier(0.25, 0.8, 0.25, 1);
}

.btn-inscricao-glow:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 26px rgba(220, 56, 38, 0.55);
}

.cta-note {
  font-size: 0.82rem;
  color: var(--text-subtle);
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
}

@media (max-width: 960px) {
  .ceu-conecta-card {
    grid-template-columns: 1fr;
    gap: 2rem;
    padding: 1.75rem;
  }

  .ceu-conecta-poster-side {
    max-width: 380px;
    margin: 0 auto;
  }

  .ceu-conecta-details-grid {
    grid-template-columns: 1fr;
  }
}

/* Mission Specific Google Drive Box */
.mission-drive-box {
  margin-top: 2rem;
  background-color: var(--bg-surface);
  border: 1px solid var(--border-color);
  border-left: 4px solid #1A73E8;
  border-radius: var(--radius-lg);
  padding: 1.35rem 1.5rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
  box-shadow: var(--shadow-sm);
}

.mission-drive-content {
  display: flex;
  align-items: flex-start;
  gap: 1.15rem;
  max-width: 580px;
}

.mission-drive-icon {
  width: 48px;
  height: 48px;
  border-radius: 12px;
  background: linear-gradient(135deg, rgba(66, 133, 244, 0.15), rgba(52, 168, 83, 0.15));
  color: #1A73E8;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.6rem;
  flex-shrink: 0;
  border: 1px solid rgba(66, 133, 244, 0.3);
}

[data-theme="dark"] .mission-drive-icon {
  color: #4285F4;
  background: rgba(66, 133, 244, 0.22);
  border-color: rgba(66, 133, 244, 0.4);
}

.mission-drive-text h4 {
  font-size: 1.05rem;
  font-weight: 700;
  margin-bottom: 0.35rem;
  color: var(--text-main);
}

.mission-drive-status {
  font-size: 0.88rem;
  color: var(--text-muted);
  line-height: 1.5;
  margin: 0;
}

.btn-mission-drive {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  background: #1A73E8;
  color: #FFFFFF;
  padding: 0.75rem 1.35rem;
  border-radius: var(--radius-full);
  font-size: 0.9rem;
  font-weight: 700;
  text-decoration: none;
  white-space: nowrap;
  transition: var(--transition-bounce);
  box-shadow: 0 4px 12px rgba(26, 115, 232, 0.25);
  flex-shrink: 0;
  border: none;
  cursor: pointer;
  font-family: inherit;
}

.btn-mission-drive:hover {
  background: #1557B0;
  color: #FFFFFF;
  transform: translateY(-2px);
  box-shadow: 0 6px 18px rgba(26, 115, 232, 0.38);
}

@media (max-width: 768px) {
  .mission-drive-box {
    flex-direction: column;
    align-items: stretch;
    gap: 1.25rem;
    padding: 1.25rem 1.15rem;
  }

  .mission-drive-content {
    flex-direction: column;
    align-items: center;
    text-align: center;
  }

  .btn-mission-drive {
    justify-content: center;
    width: 100%;
  }
}

/* --------------------------------------------------------------------------
   14. Galeria Oficial • Google Drive Cloud Hub
   -------------------------------------------------------------------------- */
.drive-gallery-section {
  background-color: var(--bg-surface);
}

.drive-main-card {
  background: linear-gradient(135deg, rgba(234, 163, 21, 0.08) 0%, rgba(220, 56, 38, 0.04) 50%, var(--bg-page) 100%);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-xl);
  padding: 2.75rem 2.5rem;
  box-shadow: var(--shadow-md);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 2.5rem;
  margin-bottom: 2.5rem;
  flex-wrap: wrap;
}

[data-theme="dark"] .drive-main-card {
  background: linear-gradient(135deg, rgba(247, 184, 50, 0.08) 0%, rgba(255, 74, 56, 0.06) 50%, var(--bg-card) 100%);
}

.drive-main-content {
  display: flex;
  align-items: flex-start;
  gap: 1.5rem;
  max-width: 680px;
}

.drive-icon-badge {
  width: 64px;
  height: 64px;
  border-radius: var(--radius-lg);
  background: linear-gradient(135deg, #4285F4 0%, #34A853 50%, #FBBC05 100%);
  color: #FFFFFF;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 2rem;
  box-shadow: 0 8px 20px rgba(66, 133, 244, 0.3);
  flex-shrink: 0;
}

.drive-main-text h3 {
  font-size: 1.6rem;
  margin-bottom: 0.5rem;
}

.drive-main-text p {
  color: var(--text-muted);
  font-size: 0.95rem;
  line-height: 1.6;
  margin-bottom: 1rem;
}

.drive-features-row {
  display: flex;
  flex-wrap: wrap;
  gap: 1.25rem;
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--text-main);
}

.drive-features-row span {
  display: flex;
  align-items: center;
  gap: 0.4rem;
}

.drive-main-cta {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.5rem;
  flex-shrink: 0;
}

.btn-drive-cta {
  background: linear-gradient(135deg, #1A73E8 0%, #1557B0 100%);
  color: #FFFFFF;
  padding: 1rem 2rem;
  font-size: 1.05rem;
  box-shadow: 0 6px 20px rgba(26, 115, 232, 0.35);
  text-decoration: none;
}

.btn-drive-cta:hover {
  background: linear-gradient(135deg, #1557B0 0%, #0D47A1 100%);
  color: #FFFFFF;
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(26, 115, 232, 0.45);
}

.drive-help-text {
  font-size: 0.78rem;
  color: var(--text-subtle);
}

/* Drive Folders Grid */
.drive-folders-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 1.5rem;
  margin-bottom: 2.5rem;
}

.drive-folder-card {
  background-color: var(--bg-page);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-lg);
  padding: 1.75rem;
  box-shadow: var(--shadow-sm);
  display: flex;
  flex-direction: column;
  transition: var(--transition);
}

.drive-folder-card:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-lg);
  border-color: var(--primary);
}

.folder-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 1rem;
}

.folder-icon {
  width: 44px;
  height: 44px;
  border-radius: var(--radius-md);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.25rem;
}

.folder-icon.bg-red { background-color: var(--primary-light); color: var(--primary); }
.folder-icon.bg-gold { background-color: var(--accent-gold-light); color: #B27204; }
[data-theme="dark"] .folder-icon.bg-gold { color: var(--accent-gold); }
.folder-icon.bg-navy { background-color: var(--secondary-light); color: #0284C7; }

.folder-tag {
  font-size: 0.72rem;
  font-weight: 700;
  text-transform: uppercase;
  padding: 0.2rem 0.6rem;
  border-radius: var(--radius-full);
  background-color: var(--bg-surface);
  color: var(--text-muted);
  border: 1px solid var(--border-color);
}

.drive-folder-card h4 {
  font-size: 1.2rem;
  margin-bottom: 0.4rem;
}

.drive-folder-card p {
  font-size: 0.88rem;
  color: var(--text-muted);
  line-height: 1.5;
  margin-bottom: 1.25rem;
  flex-grow: 1;
}

.folder-meta {
  font-size: 0.78rem;
  color: var(--text-subtle);
  margin-bottom: 1rem;
  display: flex;
  align-items: center;
  gap: 0.4rem;
}

.btn-folder-link {
  display: inline-flex;
  align-items: center;
  justify-content: space-between;
  padding: 0.6rem 1rem;
  border-radius: var(--radius-md);
  background-color: var(--bg-surface);
  border: 1px solid var(--border-color);
  color: var(--text-main);
  font-weight: 600;
  font-size: 0.85rem;
  text-decoration: none;
  transition: var(--transition);
}

.btn-folder-link:hover {
  background-color: var(--primary);
  color: #FFFFFF;
  border-color: var(--primary);
}

/* Contribute Box */
.drive-contribute-box {
  background: var(--bg-page);
  border: 1px dashed var(--border-color);
  border-radius: var(--radius-lg);
  padding: 1.75rem 2rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 2rem;
  flex-wrap: wrap;
}

.contribute-icon {
  font-size: 2rem;
  flex-shrink: 0;
}

.contribute-text {
  flex-grow: 1;
  max-width: 650px;
}

.contribute-text h4 {
  font-size: 1.1rem;
  margin-bottom: 0.3rem;
}

.contribute-text p {
  font-size: 0.9rem;
  color: var(--text-muted);
  margin: 0;
}

/* --------------------------------------------------------------------------
   15. Mural de Oração & Vela Virtual
   -------------------------------------------------------------------------- */
.prayer-wall-section {
  background-color: var(--bg-page);
}

.prayer-wall-wrapper {
  display: grid;
  grid-template-columns: 0.85fr 1.15fr;
  gap: 3rem;
  align-items: center;
  margin-bottom: 4rem;
}

/* Candle Component */
.candle-box {
  background: radial-gradient(circle at 50% 30%, rgba(234, 163, 21, 0.15) 0%, var(--bg-surface) 70%);
  border: 1px solid var(--border-color);
  padding: 2.5rem;
  border-radius: var(--radius-xl);
  text-align: center;
  box-shadow: var(--shadow-md);
}

.candle-scene {
  height: 220px;
  display: flex;
  align-items: flex-end;
  justify-content: center;
  margin-bottom: 1.5rem;
}

.candle-container {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  cursor: pointer;
}

.flame-wrapper {
  position: relative;
  width: 24px;
  height: 45px;
  margin-bottom: 2px;
  transition: opacity 0.4s ease, transform 0.4s ease;
}

.flame-wrapper.off {
  opacity: 0;
  transform: scale(0.2);
}

.flame {
  position: absolute;
  width: 100%;
  height: 100%;
  border-radius: 50% 50% 20% 20% / 60% 60% 40% 40%;
  background: linear-gradient(to bottom, #FFFFFF 0%, #FFEE55 35%, #FF7700 85%, #FF2200 100%);
  box-shadow: 0 0 25px 8px rgba(255, 170, 0, 0.7);
  animation: flicker 1.8s infinite alternate ease-in-out;
}

.flame-glow {
  position: absolute;
  top: -15px;
  left: -20px;
  right: -20px;
  bottom: -15px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(255, 200, 50, 0.45) 0%, transparent 70%);
  filter: blur(8px);
  animation: flameGlow 2.5s infinite alternate ease-in-out;
}

@keyframes flicker {
  0% { transform: scale(1) rotate(-1deg); }
  25% { transform: scale(1.05) rotate(2deg); }
  50% { transform: scale(0.96) rotate(-2deg); }
  75% { transform: scale(1.03) rotate(1deg); }
  100% { transform: scale(1) rotate(0deg); }
}

@keyframes flameGlow {
  0% { opacity: 0.5; transform: scale(0.95); }
  100% { opacity: 0.9; transform: scale(1.15); }
}

.wick {
  width: 4px;
  height: 14px;
  background-color: #222222;
  border-radius: 2px;
}

.wax {
  width: 60px;
  height: 120px;
  background: linear-gradient(135deg, #FFFDF8 0%, #F5EADB 100%);
  border-radius: 12px 12px 4px 4px;
  box-shadow: inset -4px 0 8px rgba(0, 0, 0, 0.08), inset 4px 0 8px rgba(255, 255, 255, 0.8), 0 8px 16px rgba(0, 0, 0, 0.1);
  display: flex;
  align-items: center;
  justify-content: center;
  border: 1px solid rgba(0, 0, 0, 0.05);
}

[data-theme="dark"] .wax {
  background: linear-gradient(135deg, #E6DAC8 0%, #C4B59D 100%);
}

.wax-cross {
  color: var(--accent-gold);
  font-size: 1.4rem;
  opacity: 0.8;
}

.candle-base {
  width: 100px;
  height: 14px;
  background: radial-gradient(ellipse at center, #D4AF37 0%, #996515 100%);
  border-radius: 50%;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
}

.candle-status h4 {
  font-size: 1.15rem;
  margin-bottom: 0.3rem;
}

.candle-status p {
  font-size: 0.85rem;
  color: var(--text-muted);
  margin-bottom: 1.25rem;
}

.candles-counter-card {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  background-color: var(--bg-surface);
  border: 1px solid var(--border-color);
  padding: 0.45rem 1rem;
  border-radius: var(--radius-full);
  font-size: 0.85rem;
  font-weight: 600;
}

.candles-counter-card span#total-candles-count {
  font-weight: 800;
  color: var(--primary);
  font-size: 1.05rem;
}

/* Prayer Form */
.prayer-form-card {
  background-color: var(--bg-surface);
  padding: 2.5rem;
  border-radius: var(--radius-xl);
  border: 1px solid var(--border-color);
  box-shadow: var(--shadow-md);
}

.prayer-form-card h3 {
  font-size: 1.5rem;
  margin-bottom: 0.3rem;
  display: flex;
  align-items: center;
  gap: 0.6rem;
}

.form-desc {
  font-size: 0.9rem;
  color: var(--text-muted);
  margin-bottom: 1.5rem;
}

.form-group {
  margin-bottom: 1.25rem;
  position: relative;
}

.form-group label {
  display: block;
  font-size: 0.88rem;
  font-weight: 600;
  margin-bottom: 0.4rem;
  color: var(--text-main);
}

.form-control {
  width: 100%;
  padding: 0.75rem 1rem;
  border: 1px solid var(--border-color);
  background-color: var(--bg-page);
  color: var(--text-main);
  border-radius: var(--radius-md);
  transition: var(--transition);
  outline: none;
}

.form-control:focus {
  border-color: var(--primary);
  box-shadow: 0 0 0 3px var(--primary-light);
  background-color: var(--bg-surface);
}

.char-count {
  position: absolute;
  right: 0.8rem;
  bottom: 0.6rem;
  font-size: 0.72rem;
  color: var(--text-subtle);
}

/* Live Prayer Cards Feed */
.prayer-feed-container {
  border-top: 1px solid var(--border-color);
  padding-top: 3rem;
}

.feed-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 1.75rem;
  flex-wrap: wrap;
  gap: 1rem;
}

.badge-live-feed {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  font-size: 0.82rem;
  font-weight: 600;
  color: #10B981;
}

.prayer-cards-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 1.25rem;
}

.prayer-card {
  background-color: var(--bg-surface);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-md);
  padding: 1.25rem;
  box-shadow: var(--shadow-xs);
  display: flex;
  flex-direction: column;
  transition: var(--transition);
}

.prayer-card:hover {
  box-shadow: var(--shadow-sm);
  border-color: var(--primary);
}

.prayer-card-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 0.6rem;
}

.prayer-author {
  font-size: 0.92rem;
  font-weight: 700;
  color: var(--text-main);
}

.prayer-category-pill {
  font-size: 0.72rem;
  font-weight: 600;
  padding: 0.15rem 0.6rem;
  border-radius: var(--radius-full);
  background-color: var(--bg-muted);
  color: var(--text-muted);
}

.prayer-card-body {
  font-size: 0.9rem;
  color: var(--text-muted);
  margin-bottom: 1rem;
  flex-grow: 1;
  font-style: italic;
}

.prayer-card-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  border-top: 1px solid var(--border-light);
  padding-top: 0.75rem;
  font-size: 0.78rem;
  color: var(--text-subtle);
}

.btn-pray-heart {
  background: none;
  border: 1px solid var(--border-color);
  border-radius: var(--radius-full);
  padding: 0.25rem 0.75rem;
  color: var(--primary);
  font-size: 0.78rem;
  font-weight: 600;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  transition: var(--transition-bounce);
}

.btn-pray-heart:hover {
  background-color: var(--primary-light);
  transform: scale(1.05);
}

/* --------------------------------------------------------------------------
   16. Devocional Section
   -------------------------------------------------------------------------- */
.devocional-section {
  background: linear-gradient(135deg, var(--secondary) 0%, #172B4B 100%);
  color: #FFFFFF;
}

.devocional-card {
  max-width: 820px;
  margin: 0 auto;
  text-align: center;
}

.devocional-icon {
  font-size: 2.2rem;
  color: var(--accent-gold);
  margin-bottom: 1.25rem;
}

.devocional-card h3 {
  color: #FFFFFF;
  font-size: 1.85rem;
  margin-bottom: 1.5rem;
}

.devocional-prayer {
  font-family: var(--font-display);
  font-size: 1.25rem;
  line-height: 1.7;
  font-style: italic;
  color: rgba(255, 255, 255, 0.92);
  margin-bottom: 1.5rem;
}

.devocional-credo {
  display: block;
  font-size: 0.88rem;
  font-weight: 600;
  color: var(--accent-gold);
  text-transform: uppercase;
  letter-spacing: 0.08em;
  margin-bottom: 1.5rem;
}

/* --------------------------------------------------------------------------
   17. Inscrição / Fazer Parte
   -------------------------------------------------------------------------- */
.join-section {
  background-color: var(--bg-surface);
}

.join-form-wrapper {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: 3.5rem;
  background-color: var(--bg-page);
  border-radius: var(--radius-xl);
  border: 1px solid var(--border-color);
  padding: 3rem;
  box-shadow: var(--shadow-lg);
}

.join-info-side {
  display: flex;
  flex-direction: column;
}

.join-badge-logo {
  width: 90px;
  height: 90px;
  border-radius: 50%;
  overflow: hidden;
  border: 3px solid var(--primary);
  margin-bottom: 1.5rem;
  box-shadow: var(--shadow-sm);
  background-color: #FFFFFF;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 6px;
}

.join-badge-logo img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.join-info-side h3 {
  font-size: 1.8rem;
  margin-bottom: 0.75rem;
}

.join-info-side p {
  color: var(--text-muted);
  font-size: 0.98rem;
  margin-bottom: 1.75rem;
}

.join-perks {
  display: flex;
  flex-direction: column;
  gap: 0.85rem;
  margin-bottom: 2rem;
}

.perk-item {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  font-size: 0.95rem;
  font-weight: 600;
  color: var(--text-main);
}

.join-whatsapp-quick {
  margin-top: auto;
  padding-top: 1.5rem;
  border-top: 1px solid var(--border-color);
}

.join-whatsapp-quick p {
  font-size: 0.85rem;
  margin-bottom: 0.75rem;
}

.join-form-side {
  background-color: var(--bg-surface);
  padding: 2.25rem;
  border-radius: var(--radius-lg);
  border: 1px solid var(--border-color);
  box-shadow: var(--shadow-sm);
}

.join-form-side h3 {
  font-size: 1.45rem;
  margin-bottom: 0.25rem;
}

.form-instruction {
  font-size: 0.88rem;
  color: var(--text-muted);
  margin-bottom: 1.5rem;
}

.form-row {
  display: flex;
  gap: 1rem;
}

.col-12 { flex: 0 0 100%; }
.col-6 { flex: 1; }

/* --------------------------------------------------------------------------
   18. Contato & Redes Sociais Oficiais
   -------------------------------------------------------------------------- */
.contact-section {
  background-color: var(--bg-page);
  position: relative;
}

.contact-channels-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 2rem;
  max-width: 980px;
  margin: 0 auto 2.5rem auto;
}

.channel-card {
  background: var(--bg-surface);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-xl);
  padding: 2.75rem 2rem 2.25rem 2rem;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  box-shadow: var(--shadow-md);
  transition: var(--transition-bounce);
  position: relative;
  overflow: hidden;
}

.channel-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 5px;
  background: var(--border-color);
  transition: var(--transition);
}

.channel-card.channel-instagram::before {
  background: linear-gradient(90deg, #f09433, #e6683c, #dc2743, #cc2366, #bc1888);
}

.channel-card.channel-whatsapp::before {
  background: linear-gradient(90deg, #25D366, #128C7E);
}

.channel-card:hover {
  transform: translateY(-8px);
  box-shadow: var(--shadow-xl);
}

.channel-card.channel-instagram:hover {
  border-color: #E1306C;
  box-shadow: 0 16px 36px rgba(225, 48, 108, 0.18);
}

.channel-card.channel-whatsapp:hover {
  border-color: #25D366;
  box-shadow: 0 16px 36px rgba(37, 211, 102, 0.18);
}

.channel-card-header {
  margin-bottom: 1.25rem;
}

.channel-pill {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  padding: 0.35rem 0.95rem;
  border-radius: var(--radius-full);
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.instagram-pill {
  background-color: #FEE7F0;
  color: #E1306C;
}

[data-theme="dark"] .instagram-pill {
  background-color: rgba(225, 48, 108, 0.18);
  color: #FF5A8D;
}

.whatsapp-pill {
  background-color: #E6F8ED;
  color: #128C7E;
}

[data-theme="dark"] .whatsapp-pill {
  background-color: rgba(37, 211, 102, 0.18);
  color: #25D366;
}

.channel-icon-wrap {
  width: 78px;
  height: 78px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 2.3rem;
  margin-bottom: 1.25rem;
  box-shadow: var(--shadow-md);
  transition: var(--transition-bounce);
}

.channel-card:hover .channel-icon-wrap {
  transform: scale(1.1) rotate(5deg);
}

.instagram-icon-wrap {
  background: linear-gradient(135deg, #833ab4, #fd1d1d, #fcb045);
  color: #FFFFFF;
}

.whatsapp-icon-wrap {
  background: linear-gradient(135deg, #25D366, #128C7E);
  color: #FFFFFF;
}

.channel-content {
  flex: 1;
  margin-bottom: 1.75rem;
  width: 100%;
}

.channel-title {
  font-size: 1.45rem;
  font-weight: 800;
  margin-bottom: 0.45rem;
  color: var(--text-main);
}

.channel-badge-tag {
  display: inline-block;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1.05rem;
  padding: 0.3rem 0.85rem;
  border-radius: var(--radius-sm);
  background-color: var(--bg-muted);
  color: var(--text-main);
  margin-bottom: 0.85rem;
  border: 1px dashed var(--border-color);
}

.channel-desc {
  font-size: 0.94rem;
  color: var(--text-muted);
  line-height: 1.6;
  max-width: 380px;
  margin: 0 auto;
}

.channel-action {
  width: 100%;
}

.btn-channel {
  width: 100%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.6rem;
  padding: 0.9rem 1.5rem;
  border-radius: var(--radius-full);
  font-size: 0.95rem;
  font-weight: 700;
  text-decoration: none;
  transition: var(--transition-bounce);
  box-shadow: var(--shadow-sm);
}

.btn-channel:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow-md);
}

.btn-instagram {
  background: linear-gradient(135deg, #833ab4, #fd1d1d, #fcb045);
  color: #FFFFFF;
}

.btn-instagram:hover {
  filter: brightness(1.08);
  color: #FFFFFF;
}

.btn-whatsapp-direct {
  background: #25D366;
  color: #FFFFFF;
}

.btn-whatsapp-direct:hover {
  background: #20BA5A;
  color: #FFFFFF;
}

/* Notice Box for dynamic/itinerant meetings */
.contact-notice-box {
  max-width: 980px;
  margin: 0 auto;
  background: var(--bg-surface);
  border: 1px solid var(--border-color);
  border-left: 4px solid var(--accent-gold);
  border-radius: var(--radius-lg);
  padding: 1.5rem 1.75rem;
  display: flex;
  align-items: center;
  gap: 1.5rem;
  box-shadow: var(--shadow-xs);
}

.notice-box-icon {
  width: 52px;
  height: 52px;
  border-radius: 50%;
  background-color: var(--accent-gold-light);
  color: var(--accent-gold);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
  flex-shrink: 0;
}

[data-theme="dark"] .notice-box-icon {
  background-color: rgba(234, 163, 21, 0.18);
  color: #F7B832;
}

.notice-box-body h4 {
  font-size: 1.08rem;
  font-weight: 700;
  margin-bottom: 0.35rem;
  color: var(--text-main);
}

.notice-box-body p {
  font-size: 0.92rem;
  color: var(--text-muted);
  line-height: 1.55;
  margin: 0;
}

@media (max-width: 768px) {
  .contact-channels-grid {
    grid-template-columns: 1fr;
    gap: 1.5rem;
  }

  .channel-card {
    padding: 2rem 1.5rem 1.75rem 1.5rem;
  }

  .contact-notice-box {
    flex-direction: column;
    text-align: center;
    padding: 1.35rem;
    gap: 1rem;
  }
}


/* --------------------------------------------------------------------------
   19. Footer
   -------------------------------------------------------------------------- */
.site-footer {
  background-color: var(--secondary-hover);
  color: #FFFFFF;
  padding: 5rem 0 2rem 0;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
}

.footer-container {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr 1.25fr;
  gap: 3rem;
  margin-bottom: 3.5rem;
}

.footer-logo {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  margin-bottom: 1rem;
}

.footer-avatar {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  border: 2px solid var(--primary);
  background-color: #FFFFFF;
  object-fit: contain;
  padding: 4px;
}

.footer-brand-title {
  font-family: var(--font-display);
  font-size: 1.25rem;
  color: #FFFFFF;
}

.footer-brand-title strong {
  color: var(--primary);
}

.footer-tagline {
  font-style: italic;
  color: var(--accent-gold);
  font-size: 0.95rem;
  margin-bottom: 1rem;
}

.footer-bio {
  color: rgba(255, 255, 255, 0.65);
  font-size: 0.88rem;
  line-height: 1.6;
}

.footer-col h4 {
  color: #FFFFFF;
  font-size: 1.1rem;
  margin-bottom: 1.25rem;
  position: relative;
  padding-bottom: 0.5rem;
}

.footer-col h4::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 30px;
  height: 2px;
  background-color: var(--primary);
}

.footer-col ul {
  display: flex;
  flex-direction: column;
  gap: 0.6rem;
}

.footer-col ul li a {
  color: rgba(255, 255, 255, 0.7);
  font-size: 0.9rem;
  transition: var(--transition);
}

.footer-col ul li a:hover {
  color: #FFFFFF;
  padding-left: 4px;
}

.footer-quote {
  font-family: var(--font-display);
  font-size: 0.95rem;
  color: rgba(255, 255, 255, 0.85);
  font-style: italic;
  margin-bottom: 1.25rem;
  border-left: 2px solid var(--accent-gold);
  padding-left: 0.85rem;
}

.footer-liturgy-badge {
  font-size: 0.82rem;
  color: rgba(255, 255, 255, 0.6);
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  padding-top: 2rem;
}

.footer-bottom-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: 0.85rem;
  color: rgba(255, 255, 255, 0.5);
}

.btn-back-to-top {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background-color: rgba(255, 255, 255, 0.1);
  color: #FFFFFF;
  border: 1px solid rgba(255, 255, 255, 0.15);
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: var(--transition-bounce);
}

.btn-back-to-top:hover {
  background-color: var(--primary);
  transform: translateY(-4px);
}

/* --------------------------------------------------------------------------
   20. Modals & Lightbox
   -------------------------------------------------------------------------- */
/* Gallery Lightbox */
.lightbox-modal {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 999;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  visibility: hidden;
  transition: var(--transition);
}

.lightbox-modal.open {
  opacity: 1;
  visibility: visible;
}

.lightbox-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.88);
  backdrop-filter: blur(6px);
}

.lightbox-dialog {
  position: relative;
  z-index: 2;
  max-width: 90vw;
  max-height: 90vh;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.lightbox-close {
  position: absolute;
  top: -48px;
  right: 0;
  background: var(--bg-surface-elevated);
  border: 1px solid rgba(255, 255, 255, 0.25);
  border-radius: 50%;
  width: 40px;
  height: 40px;
  color: #FFFFFF;
  font-size: 1.1rem;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.2s ease;
  line-height: 1;
}

.lightbox-close:hover {
  background-color: var(--primary);
  border-color: var(--primary);
  transform: scale(1.1);
}

.lightbox-img {
  max-width: 100%;
  max-height: 80vh;
  border-radius: var(--radius-md);
  box-shadow: 0 10px 40px rgba(0, 0, 0, 0.8);
}

.lightbox-caption {
  color: #FFFFFF;
  font-size: 1rem;
  margin-top: 1rem;
  font-weight: 500;
  text-align: center;
}

/* Miracle Modal */
.miracle-modal {
  position: fixed;
  inset: 0;
  width: 100vw;
  height: 100vh;
  height: 100dvh;
  z-index: 1100;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 1.25rem;
  box-sizing: border-box;
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transition: opacity 0.3s cubic-bezier(0.25, 0.8, 0.25, 1), visibility 0.3s ease;
}

.miracle-modal.open {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
}

.miracle-modal-overlay {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.78);
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
}

.miracle-modal-dialog {
  position: relative;
  z-index: 2;
  background-color: var(--bg-surface);
  border-radius: var(--radius-xl);
  max-width: 760px;
  width: 100%;
  max-height: 88vh;
  max-height: 88dvh;
  overflow-y: auto;
  -webkit-overflow-scrolling: touch;
  padding: 2.25rem 2rem;
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.45);
  border: 1px solid var(--border-color);
  box-sizing: border-box;
  transform: scale(0.96);
  transition: transform 0.3s cubic-bezier(0.34, 1.56, 0.64, 1);
}

.miracle-modal.open .miracle-modal-dialog {
  transform: scale(1);
}

/* Sticky close bar and centered close button */
.miracle-modal-sticky-bar {
  position: sticky;
  top: 0;
  z-index: 100;
  display: flex;
  justify-content: flex-end;
  pointer-events: none;
  height: 0;
  margin-top: -0.5rem;
}

.miracle-modal-close {
  position: relative;
  pointer-events: auto;
  top: -0.5rem;
  right: -0.5rem;
  background: var(--bg-surface-elevated);
  border: 1px solid var(--border-color);
  width: 38px;
  height: 38px;
  min-width: 38px;
  min-height: 38px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--text-main);
  cursor: pointer;
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.28);
  transition: all 0.2s cubic-bezier(0.25, 0.8, 0.25, 1);
  padding: 0;
  line-height: 1;
}

.miracle-modal-close i {
  font-size: 0.95rem;
  display: flex;
  align-items: center;
  justify-content: center;
  line-height: 1;
}

.miracle-modal-close:hover {
  color: var(--primary);
  border-color: var(--primary);
  transform: scale(1.1);
  box-shadow: 0 6px 20px rgba(220, 56, 38, 0.35);
}

.miracle-modal-header h3 {
  font-size: 1.65rem;
  margin-bottom: 0.5rem;
  line-height: 1.3;
}

.miracle-modal-header .location-tag {
  color: var(--primary);
  font-size: 0.88rem;
  font-weight: 700;
  display: block;
  margin-bottom: 1.25rem;
}

.miracle-modal-body p {
  color: var(--text-muted);
  font-size: 0.98rem;
  line-height: 1.7;
  margin-bottom: 0.85rem;
}

/* Dossier Modal Interior Elements */
.dossier-header-badge {
  display: flex;
  flex-wrap: wrap;
  gap: 0.6rem;
  margin-bottom: 1.75rem;
}

.dossier-pill {
  font-size: 0.78rem;
  font-weight: 700;
  padding: 0.35rem 0.85rem;
  border-radius: var(--radius-full);
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
}

.pill-brazil {
  background: rgba(14, 159, 110, 0.15);
  color: #0E9F6E;
  border: 1px solid rgba(14, 159, 110, 0.3);
}

[data-theme="dark"] .pill-brazil {
  background: rgba(14, 159, 110, 0.3);
  color: #31C48D;
}

.pill-italy {
  background: rgba(220, 56, 38, 0.12);
  color: var(--primary);
  border: 1px solid rgba(220, 56, 38, 0.25);
}

[data-theme="dark"] .pill-italy {
  background: rgba(220, 56, 38, 0.25);
  color: #FF786B;
}

.pill-vatican {
  background: rgba(234, 163, 21, 0.15);
  color: #B27204;
  border: 1px solid rgba(234, 163, 21, 0.35);
}

[data-theme="dark"] .pill-vatican {
  color: var(--accent-gold);
  background: rgba(234, 163, 21, 0.25);
}

.dossier-section {
  margin-bottom: 1.75rem;
  padding-bottom: 1.5rem;
  border-bottom: 1px solid var(--border-light);
}

.dossier-section:last-child {
  border-bottom: none;
  margin-bottom: 0;
  padding-bottom: 0;
}

.dossier-section h4 {
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--text-main);
  margin-bottom: 0.75rem;
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.dossier-list {
  margin: 0.85rem 0 0.85rem 1.35rem;
  padding: 0;
  line-height: 1.75;
  color: var(--text-muted);
  font-size: 0.94rem;
}

.dossier-list li {
  margin-bottom: 0.5rem;
}

.dossier-quote-box {
  background: var(--bg-muted);
  border-left: 4px solid var(--accent-gold);
  padding: 1rem 1.25rem;
  border-radius: 0 var(--radius-md) var(--radius-md) 0;
  margin: 1.1rem 0;
  font-size: 0.94rem;
  line-height: 1.65;
  color: var(--text-main);
}

.miracle-modal-footer {
  margin-top: 2rem;
  display: flex;
  justify-content: flex-end;
}

/* Drive Notice Modal */
.drive-notice-modal {
  position: fixed;
  inset: 0;
  width: 100vw;
  height: 100vh;
  height: 100dvh;
  z-index: 1100;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 1.25rem;
  box-sizing: border-box;
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transition: opacity 0.3s cubic-bezier(0.25, 0.8, 0.25, 1), visibility 0.3s ease;
}

.drive-notice-modal.open {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
}

.drive-notice-overlay {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.78);
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
}

.drive-notice-dialog {
  position: relative;
  z-index: 2;
  background-color: var(--bg-surface);
  border-radius: var(--radius-xl);
  max-width: 560px;
  width: 100%;
  max-height: 90vh;
  max-height: 90dvh;
  overflow-y: auto;
  -webkit-overflow-scrolling: touch;
  padding: 2.25rem 2rem;
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.45);
  border: 1px solid var(--border-color);
  box-sizing: border-box;
  transform: scale(0.96);
  transition: transform 0.3s cubic-bezier(0.34, 1.56, 0.64, 1);
}

.drive-notice-modal.open .drive-notice-dialog {
  transform: scale(1);
}

.drive-notice-sticky-bar {
  position: sticky;
  top: 0;
  z-index: 100;
  display: flex;
  justify-content: flex-end;
  pointer-events: none;
  height: 0;
  margin-top: -0.5rem;
}

.drive-notice-close {
  position: relative;
  pointer-events: auto;
  top: -0.5rem;
  right: -0.5rem;
  background: var(--bg-surface-elevated);
  border: 1px solid var(--border-color);
  width: 38px;
  height: 38px;
  min-width: 38px;
  min-height: 38px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--text-main);
  cursor: pointer;
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.28);
  transition: all 0.2s cubic-bezier(0.25, 0.8, 0.25, 1);
  padding: 0;
  line-height: 1;
}

.drive-notice-close:hover {
  color: var(--primary);
  border-color: var(--primary);
  transform: scale(1.1);
  box-shadow: 0 6px 20px rgba(220, 56, 38, 0.35);
}

.drive-modal-header {
  text-align: center;
  margin-bottom: 1.5rem;
}

.drive-modal-icon-badge {
  width: 68px;
  height: 68px;
  border-radius: 20px;
  background: linear-gradient(135deg, rgba(26, 115, 232, 0.16) 0%, rgba(15, 157, 88, 0.16) 50%, rgba(244, 180, 0, 0.16) 100%);
  border: 1.5px solid rgba(26, 115, 232, 0.3);
  color: #1A73E8;
  font-size: 2.1rem;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 1.15rem auto;
  box-shadow: 0 8px 24px rgba(26, 115, 232, 0.18);
}

.drive-modal-tags {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.6rem;
  flex-wrap: wrap;
  margin-bottom: 0.85rem;
}

.status-badge-pending {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  font-size: 0.82rem;
  font-weight: 700;
  text-transform: uppercase;
  color: #D97706;
  background-color: rgba(217, 119, 6, 0.12);
  border: 1px solid rgba(217, 119, 6, 0.35);
  padding: 0.3rem 0.85rem;
  border-radius: var(--radius-full);
}

[data-theme="dark"] .status-badge-pending {
  color: #FBBF24;
  background-color: rgba(251, 191, 36, 0.16);
  border-color: rgba(251, 191, 36, 0.4);
}

.drive-modal-title {
  font-family: var(--font-display);
  font-size: 1.45rem;
  font-weight: 800;
  color: var(--text-main);
  margin-bottom: 0.35rem;
  line-height: 1.3;
}

.drive-modal-subtitle {
  color: var(--text-muted);
  font-size: 0.9rem;
  margin-bottom: 0;
}

.drive-modal-highlight-box {
  display: flex;
  align-items: flex-start;
  gap: 1rem;
  background: linear-gradient(135deg, rgba(26, 115, 232, 0.08) 0%, rgba(234, 163, 21, 0.08) 100%);
  border: 1px solid rgba(26, 115, 232, 0.22);
  border-left: 4px solid #1A73E8;
  padding: 1.15rem 1.25rem;
  border-radius: var(--radius-md);
  margin-bottom: 1.35rem;
  text-align: left;
}

.drive-modal-highlight-box .highlight-icon {
  font-size: 1.35rem;
  color: #1A73E8;
  flex-shrink: 0;
  margin-top: 0.15rem;
}

.drive-modal-highlight-box .highlight-text {
  font-size: 0.93rem;
  line-height: 1.55;
  color: var(--text-main);
}

.drive-modal-features {
  display: flex;
  flex-direction: column;
  gap: 0.85rem;
  margin-bottom: 1.75rem;
}

.drive-feat-item {
  display: flex;
  align-items: flex-start;
  gap: 0.85rem;
  padding: 0.85rem 1rem;
  border-radius: var(--radius-md);
  background: var(--bg-muted);
  border: 1px solid var(--border-light);
  text-align: left;
}

[data-theme="dark"] .drive-feat-item {
  background: var(--bg-surface-elevated);
  border-color: var(--border-color);
}

.drive-feat-icon {
  width: 36px;
  height: 36px;
  border-radius: 10px;
  background: var(--bg-surface);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.05rem;
  flex-shrink: 0;
  box-shadow: var(--shadow-xs);
  border: 1px solid var(--border-color);
}

.drive-feat-text h5 {
  font-size: 0.92rem;
  font-weight: 700;
  color: var(--text-main);
  margin-bottom: 0.2rem;
}

.drive-feat-text p {
  font-size: 0.84rem;
  color: var(--text-muted);
  line-height: 1.45;
  margin: 0;
}

.drive-modal-footer {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.85rem;
  flex-wrap: wrap;
  padding-top: 1.25rem;
  border-top: 1px solid var(--border-color);
}

.btn-drive-modal-ok {
  background: #1A73E8;
  color: #FFFFFF;
  border: none;
  cursor: pointer;
  padding: 0.75rem 1.5rem;
  border-radius: var(--radius-full);
  font-weight: 700;
  font-size: 0.92rem;
  font-family: inherit;
  transition: var(--transition-bounce);
  box-shadow: 0 4px 12px rgba(26, 115, 232, 0.3);
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
}

.btn-drive-modal-ok:hover {
  background: #1557B0;
  color: #FFFFFF;
  transform: translateY(-2px);
  box-shadow: 0 6px 18px rgba(26, 115, 232, 0.4);
}

.btn-drive-modal-ghost {
  background: transparent;
  color: var(--text-muted);
  border: 1px solid var(--border-color);
  padding: 0.7rem 1.2rem;
  border-radius: var(--radius-full);
  font-weight: 600;
  font-size: 0.85rem;
  text-decoration: none;
  transition: var(--transition);
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
}

.btn-drive-modal-ghost:hover {
  color: var(--text-main);
  border-color: var(--text-muted);
  background: var(--bg-muted);
}

/* --------------------------------------------------------------------------
   21. Toast Notification & Floating Widget
   -------------------------------------------------------------------------- */
.toast-container {
  position: fixed;
  bottom: 25px;
  right: 25px;
  z-index: 1000;
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.toast {
  background-color: var(--secondary);
  color: #FFFFFF;
  padding: 1rem 1.4rem;
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-lg);
  display: flex;
  align-items: center;
  gap: 0.75rem;
  font-size: 0.92rem;
  animation: slideToastIn 0.3s ease;
  border-left: 4px solid var(--accent-gold);
}

.toast.toast-success {
  border-left-color: #10B981;
}

@keyframes slideToastIn {
  from { transform: translateX(100%); opacity: 0; }
  to { transform: translateX(0); opacity: 1; }
}

/* --------------------------------------------------------------------------
   22. Responsive Breakpoints
   -------------------------------------------------------------------------- */
@media (max-width: 1024px) {
  .nav-menu { display: none; }
  .mobile-toggle-btn { display: flex; }

  .hero-container {
    grid-template-columns: 1fr;
    gap: 3rem;
    text-align: center;
  }

  .hero-description {
    margin: 0 auto 2rem auto;
  }

  .hero-actions {
    justify-content: center;
  }

  .hero-stats {
    max-width: 600px;
    margin: 0 auto;
  }

  .hero-visual {
    margin-top: 1rem;
    margin-bottom: 3.5rem;
  }

  .about-grid, .carlo-bio-card, .contact-grid {
    grid-template-columns: 1fr;
    gap: 2.5rem;
  }

  .footer-container {
    grid-template-columns: 1fr 1fr;
  }
}

@media (max-width: 868px) {
  .btn-header { display: none; }

  .event-card {
    grid-template-columns: 1fr;
    text-align: center;
  }

  .event-date-badge {
    margin: 0 auto;
  }

  .event-meta {
    justify-content: center;
  }

  .event-action {
    justify-self: center;
  }

  .prayer-wall-wrapper {
    grid-template-columns: 1fr;
  }

  .timeline::after {
    left: 20px;
  }

  .timeline-item {
    width: 100%;
    padding-left: 50px;
    padding-right: 10px;
    text-align: left;
  }

  .timeline-item.right {
    left: 0;
  }

  .timeline-dot, .timeline-item.right .timeline-dot {
    left: 11px;
  }
}

@media (max-width: 640px) {
  .section {
    padding: 4rem 0;
  }

  .form-row {
    flex-direction: column;
  }

  .footer-container {
    grid-template-columns: 1fr;
  }

  .countdown-container {
    justify-content: center;
    text-align: center;
  }

  .countdown-header {
    flex-direction: column;
  }

  .hero-stats {
    grid-template-columns: 1fr;
  }

  .hero-section {
    padding-top: 3.5rem;
    padding-bottom: 7.5rem;
  }

  .hero-visual {
    margin-bottom: 3.5rem;
  }

  .hero-quote-card {
    position: static;
    margin-top: 1.5rem;
  }

  .scroll-down-indicator {
    bottom: 1.75rem;
  }

  .miracle-modal {
    padding: 0.65rem;
  }

  .miracle-modal-dialog {
    width: 100%;
    max-width: 100%;
    max-height: 90vh;
    max-height: 90dvh;
    padding: 1.35rem 1rem;
    border-radius: var(--radius-lg);
  }

  .miracle-modal-header h3 {
    font-size: 1.2rem;
    padding-right: 2.2rem;
    line-height: 1.35;
  }

  .miracle-modal-sticky-bar {
    top: 0;
    margin-top: -0.25rem;
  }

  .miracle-modal-close {
    top: -0.25rem;
    right: 0;
    width: 36px;
    height: 36px;
    min-width: 36px;
    min-height: 36px;
  }

  .dossier-header-badge {
    gap: 0.4rem;
  }

  .dossier-pill {
    font-size: 0.72rem;
    padding: 0.25rem 0.6rem;
  }

  .toast-container {
    bottom: 15px;
    right: 15px;
    left: 15px;
  }
}

/* --------------------------------------------------------------------------
   Retiros Anteriores
   -------------------------------------------------------------------------- */
.retiros-grid {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 2rem;
  margin: 2.5rem auto 0;
}

.retiro-card {
  width: 340px;
  max-width: 100%;
  background-color: var(--bg-card);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-xl);
  overflow: hidden;
  box-shadow: var(--shadow-md);
  display: flex;
  flex-direction: column;
  transition: var(--transition);
}

.retiro-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-lg);
}

.retiro-card-img {
  width: 100%;
  aspect-ratio: 2 / 3;
  object-fit: cover;
  object-position: center;
  display: block;
}

.retiro-card-body {
  padding: 1.5rem;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 0.75rem;
  flex: 1;
}

.retiro-card-body .btn {
  margin-top: auto;
}

.retiro-card-date {
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--accent-gold);
}

.retiro-card-title {
  font-family: var(--font-display);
  font-size: 1.2rem;
  line-height: 1.3;
  color: var(--text-main);
}
