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

body.menu-open {
  overflow: hidden;
}

body {
  font-family:
    -apple-system, BlinkMacSystemFont, "Segoe UI", "Roboto", "Helvetica Neue",
    Arial, sans-serif;
  background: var(--background);
  color: var(--foreground);
  line-height: 1.6;
  overflow-x: hidden;
}

:root {
  --primary: var(--color-primary);
  --primary-light: var(--color-primary-light);
  --primary-dark: var(--color-primary-dark);
  --background: #fafafa;
  --foreground: #1a1a1a;
  --muted: #f0f0f0;
  --muted-foreground: #666666;
  --border: #e5e5e5;
  --shadow-sm: 0 1px 2px 0 rgba(0, 0, 0, 0.05);
  --shadow-md: 0 4px 6px -1px rgba(0, 0, 0, 0.1);
  --shadow-lg: 0 10px 15px -3px rgba(0, 0, 0, 0.1);
  --shadow-xl: 0 20px 25px -5px rgba(0, 0, 0, 0.1);
  --shadow-glow: 0 0 40px rgba(var(--color-primary-rgb), 0.3);
  --radius: 0.75rem;
  --transition-fast: 0.15s cubic-bezier(0.4, 0, 0.2, 1);
  --transition-base: 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  --transition-slow: 0.5s cubic-bezier(0.4, 0, 0.2, 1);
  --teal: #0f4c5c;
  --teal-dark: #0a2a30;
  --teal-light: #1a6b7a;
}

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

.hero-section {
  position: relative;
  min-height: 100vh;
  height: auto;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--teal-dark);
  cursor: default;
}

.hero-section a,
.hero-section button {
  cursor: pointer;
}

.hero-background {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 1;
  overflow: hidden;
}

.hero-bg-image {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  filter: brightness(0.3) contrast(1.1) saturate(0.8);
  transition: transform 20s ease-out;
  will-change: transform;
}

.hero-section:hover .hero-bg-image {
  transform: scale(1.05);
}

.hero-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(
    135deg,
    rgba(15, 76, 92, 0.75) 0%,
    rgba(10, 42, 48, 0.6) 50%,
    rgba(var(--color-primary-rgb), 0.2) 100%
  );
  z-index: 2;
}

.hero-content {
  position: relative;
  z-index: 10;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 3rem;
  padding: 3rem 2rem;
  max-width: 1200px;
  width: 100%;
  margin: 0 auto;
}

.hero-text {
  flex: 1;
  max-width: 600px;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.9);
  background: rgba(255, 255, 255, 0.1);
  border: 1px solid rgba(255, 255, 255, 0.15);
  padding: 0.5rem 1rem;
  border-radius: 50px;
  margin-bottom: 1.5rem;
  backdrop-filter: blur(10px);
  opacity: 0;
  animation: fadeInUp 0.6s ease-out 0.1s forwards;
}

.hero-badge i {
  font-size: 0.75rem;
  color: var(--primary-light);
}

.hero-title {
  font-size: clamp(2.5rem, 6vw, 4.5rem);
  font-weight: 700;
  margin-bottom: 1.5rem;
  line-height: 1.1;
  color: white;
  letter-spacing: -0.02em;
  opacity: 0;
  animation: fadeInUp 0.8s ease-out 0.3s forwards;
}

.hero-title .text-highlight {
  color: var(--primary-light);
  text-shadow: 0 2px 20px rgba(var(--color-primary-rgb), 0.4);
}

.hero-subtitle {
  font-size: clamp(1rem, 2vw, 1.2rem);
  color: rgba(255, 255, 255, 0.85);
  margin-bottom: 2rem;
  line-height: 1.7;
  opacity: 0;
  animation: fadeInUp 0.8s ease-out 0.5s forwards;
}

.hero-buttons {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  margin-bottom: 2rem;
  opacity: 0;
  animation: fadeInUp 0.8s ease-out 0.6s forwards;
}

.hero-stat {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  color: rgba(255, 255, 255, 0.7);
  font-size: 0.9rem;
  opacity: 0;
  animation: fadeInUp 0.8s ease-out 0.8s forwards;
}

.hero-stat i {
  color: var(--primary-light);
}
.hero-stat strong {
  color: white;
  font-size: 1.1rem;
}

/* Hero Cultos Card */
.hero-cultos-card {
  flex: 0 0 360px;
  background: rgba(255, 255, 255, 0.08);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 16px;
  padding: 2rem;
  color: white;
}

.cultos-card-title {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 1.1rem;
  font-weight: 600;
  margin-bottom: 1.5rem;
  padding-bottom: 1rem;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.cultos-card-title i {
  color: var(--primary-light);
}

.cultos-list {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  margin-bottom: 1.5rem;
}

.culto-item {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0.75rem 1rem;
  background: rgba(255, 255, 255, 0.05);
  border-radius: 10px;
  border: 1px solid rgba(255, 255, 255, 0.06);
  transition: background var(--transition-fast);
}

.culto-item:hover {
  background: rgba(255, 255, 255, 0.1);
}

.culto-dia {
  font-size: 0.85rem;
  font-weight: 600;
  color: rgba(255, 255, 255, 0.9);
  min-width: 100px;
}

.culto-nome {
  font-size: 0.85rem;
  color: rgba(255, 255, 255, 0.7);
  flex: 1;
  text-align: center;
}

.culto-horario {
  font-size: 0.9rem;
  font-weight: 700;
  color: var(--primary-light);
  min-width: 50px;
  text-align: right;
}

.btn-como-chegar {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  width: 100%;
  padding: 0.75rem;
  background: rgba(255, 255, 255, 0.1);
  border: 1px solid rgba(255, 255, 255, 0.15);
  border-radius: 10px;
  color: white;
  text-decoration: none;
  font-weight: 500;
  font-size: 0.9rem;
  transition: all var(--transition-base);
}

.btn-como-chegar:hover {
  background: rgba(255, 255, 255, 0.2);
  color: white;
  transform: translateY(-2px);
}

/* ============================= BUTTONS ============================= */

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 0.875rem 1.75rem;
  font-size: 0.95rem;
  font-weight: 600;
  border-radius: var(--radius);
  text-decoration: none;
  border: none;
  cursor: pointer;
  transition: all var(--transition-base);
  white-space: nowrap;
  position: relative;
  overflow: hidden;
}

.btn-primary {
  background: var(--primary);
  color: white;
  box-shadow: 0 4px 14px rgba(var(--color-primary-rgb), 0.25);
}

.btn-primary:hover {
  background: var(--primary-dark);
  box-shadow: 0 6px 20px rgba(var(--color-primary-rgb), 0.35);
  transform: translateY(-2px);
  color: white;
}

.btn-outline-hero {
  background: rgba(255, 255, 255, 0.1);
  color: white;
  border: 2px solid rgba(255, 255, 255, 0.3);
  backdrop-filter: blur(10px);
}

.btn-outline-hero:hover {
  background: rgba(255, 255, 255, 0.2);
  border-color: rgba(255, 255, 255, 0.5);
  color: white;
  transform: translateY(-2px);
}

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

.btn-outline-section:hover {
  background: rgba(var(--color-primary-rgb), 0.1);
  color: var(--primary);
  transform: translateY(-2px);
}

.btn-contribuir {
  background: white;
  color: var(--teal);
  font-weight: 700;
  box-shadow: 0 4px 14px rgba(0, 0, 0, 0.15);
}

.btn-contribuir:hover {
  background: #f0f0f0;
  color: var(--teal-dark);
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.2);
}

/* ============================= SCROLL INDICATOR ============================= */

.scroll-indicator {
  position: absolute;
  bottom: 2rem;
  left: 50%;
  transform: translateX(-50%);
  animation: float 3s ease-in-out infinite;
  z-index: 10;
}

.scroll-indicator-dot {
  width: 24px;
  height: 40px;
  border: 2px solid rgba(255, 255, 255, 0.4);
  border-radius: 20px;
  display: flex;
  justify-content: center;
  padding-top: 6px;
  background: rgba(255, 255, 255, 0.05);
}

.scroll-indicator-dot::before {
  content: "";
  width: 4px;
  height: 12px;
  background: rgba(255, 255, 255, 0.6);
  border-radius: 2px;
  animation: scrollBounce 2s ease-in-out infinite;
}

/* ============================= SECTIONS ============================= */

.section {
  padding: 6rem 1rem;
}
.section-muted {
  background: rgba(230, 247, 250, 0.3);
}

.section-header {
  text-align: center;
  max-width: 800px;
  margin: 0 auto 4rem;
}

.section-label {
  display: inline-block;
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--primary);
  margin-bottom: 0.75rem;
}

.section-label-light {
  color: rgba(255, 255, 255, 0.7);
}

.section-title {
  font-size: clamp(2rem, 5vw, 3rem);
  font-weight: 700;
  margin-bottom: 1rem;
  line-height: 1.2;
}

.section-subtitle {
  font-size: clamp(1rem, 2.5vw, 1.15rem);
  color: var(--muted-foreground);
}

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

/* ============================= IDENTITY CARDS ============================= */

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

.identity-card {
  position: relative;
  background: white;
  border-radius: var(--radius);
  padding: 2.5rem 2rem 2rem;
  border: 1px solid var(--border);
  text-align: center;
  overflow: hidden;
  transition: all var(--transition-base);
}

.identity-card:hover {
  border-color: var(--primary);
  box-shadow: var(--shadow-xl);
  transform: translateY(-5px);
}

.identity-number {
  position: absolute;
  top: -10px;
  right: 10px;
  font-size: 6rem;
  font-weight: 800;
  color: rgba(var(--color-primary-rgb), 0.06);
  line-height: 1;
  pointer-events: none;
  user-select: none;
}

.identity-title {
  font-size: 1.35rem;
  font-weight: 700;
  margin-bottom: 0.75rem;
  position: relative;
}

.identity-description {
  color: var(--muted-foreground);
  margin-bottom: 1.5rem;
  line-height: 1.6;
  font-size: 0.95rem;
  position: relative;
}

.scripture-pill {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  background: rgba(var(--color-primary-rgb), 0.08);
  color: var(--primary);
  padding: 0.4rem 1rem;
  border-radius: 50px;
  font-size: 0.85rem;
  font-weight: 500;
  text-decoration: none;
  border: 1px solid rgba(var(--color-primary-rgb), 0.15);
  transition: all var(--transition-base);
  position: relative;
}

.scripture-pill:hover {
  background: var(--primary);
  color: white;
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(var(--color-primary-rgb), 0.25);
}

.scripture-pill i {
  font-size: 0.75rem;
}

/* ============================= PRESIDENT ============================= */

.presidente-grid {
  display: grid;
  grid-template-columns: 1fr 1.2fr;
  gap: 4rem;
  align-items: center;
  max-width: 1200px;
  margin: 0 auto;
}

.presidente-image-wrapper {
  position: relative;
}

.presidente-image {
  width: 100%;
  border-radius: var(--radius);
  box-shadow: var(--shadow-xl);
  aspect-ratio: 3/4;
  object-fit: cover;
}

.presidente-content .section-label {
  margin-bottom: 0.5rem;
}

.presidente-content .section-title {
  font-size: clamp(1.75rem, 4vw, 2.5rem);
  margin-bottom: 1.5rem;
}

.presidente-message {
  font-style: italic;
  font-size: 1.15rem;
  color: #333;
  border-left: 4px solid var(--primary);
  padding-left: 1.25rem;
  margin: 0 0 2rem;
  line-height: 1.7;
}

.presidente-author {
  display: flex;
  align-items: center;
  gap: 1rem;
  margin-bottom: 2rem;
}

.presidente-avatar {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  object-fit: cover;
  border: 2px solid var(--primary);
}

.presidente-author-info {
  display: flex;
  flex-direction: column;
}

.presidente-author-info strong {
  font-size: 0.95rem;
  color: var(--foreground);
}

.presidente-author-info span {
  font-size: 0.85rem;
  color: var(--primary);
}

.presidente-buttons {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
}

/* ============================= EVENTS ============================= */

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

.evento-card {
  display: flex;
  gap: 1.25rem;
  background: white;
  border-radius: var(--radius);
  padding: 1.5rem;
  border: 1px solid var(--border);
  transition: all var(--transition-base);
}

.evento-card:hover {
  border-color: var(--primary);
  box-shadow: var(--shadow-lg);
  transform: translateY(-3px);
}

.evento-date {
  flex-shrink: 0;
  width: 64px;
  height: 72px;
  background: var(--teal);
  border-radius: 12px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  color: white;
}

.evento-dia {
  font-size: 1.5rem;
  font-weight: 700;
  line-height: 1;
}

.evento-mes {
  font-size: 0.7rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  margin-top: 2px;
}

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

.evento-info h3 {
  font-size: 1.05rem;
  font-weight: 700;
  margin-bottom: 0.35rem;
  line-height: 1.3;
}

.evento-info p {
  font-size: 0.85rem;
  color: var(--muted-foreground);
  margin-bottom: 0.5rem;
  line-height: 1.5;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.evento-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  font-size: 0.8rem;
  color: var(--muted-foreground);
  margin-bottom: 0.5rem;
}

.evento-meta span {
  display: flex;
  align-items: center;
  gap: 0.3rem;
}

.evento-meta i {
  color: var(--primary);
  font-size: 0.85rem;
}

.btn-evento-inscricao {
  display: inline-flex;
  align-items: center;
  gap: 0.3rem;
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--primary);
  text-decoration: none;
  transition: all var(--transition-base);
}

.btn-evento-inscricao:hover {
  color: var(--primary-dark);
  gap: 0.5rem;
}

/* ============================= CONTRIBUTION / PIX ============================= */

.section-contribuicao {
  background: linear-gradient(135deg, var(--teal-dark) 0%, var(--teal) 100%);
  color: white;
  padding: 6rem 1rem;
}

.contribuicao-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: center;
  max-width: 1200px;
  margin: 0 auto;
}

.contribuicao-title {
  color: white;
}

.contribuicao-text {
  font-size: 1.05rem;
  color: rgba(255, 255, 255, 0.8);
  line-height: 1.7;
  margin-bottom: 2rem;
}

.contribuicao-buttons {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
}

.pix-card {
  background: rgba(255, 255, 255, 0.08);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 16px;
  overflow: hidden;
}

.pix-card-header {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  padding: 1.25rem 1.5rem;
  background: rgba(255, 255, 255, 0.05);
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  font-weight: 600;
  font-size: 1rem;
}

.pix-card-header i {
  font-size: 1.2rem;
  color: var(--primary-light);
}

.pix-card-body {
  padding: 1.5rem;
}

.pix-item {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 0.75rem 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
}

.pix-item:last-child {
  border-bottom: none;
}

.pix-label {
  font-size: 0.85rem;
  color: rgba(255, 255, 255, 0.6);
}

.pix-value {
  font-size: 0.9rem;
  font-weight: 600;
  color: white;
}

.btn-copy-pix {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  width: calc(100% - 3rem);
  margin: 0 1.5rem 1.5rem;
  padding: 0.875rem;
  background: var(--primary);
  color: white;
  border: none;
  border-radius: 10px;
  font-weight: 600;
  font-size: 0.95rem;
  cursor: pointer;
  transition: all var(--transition-base);
}

.btn-copy-pix:hover:not(:disabled) {
  background: var(--primary-dark);
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(var(--color-primary-rgb), 0.4);
}

.btn-copy-pix:disabled {
  opacity: 0.5;
  cursor: not-allowed;
}

.pix-value.placeholder {
  color: rgba(255, 255, 255, 0.4);
  font-style: italic;
}

.btn-copy-pix.copied {
  background: #10b981;
}

/* ============================= EMPRESAS GRID ============================= */

.empresas-toolbar {
  max-width: 1200px;
  margin: 0 auto 2rem;
}

.empresas-search-wrapper {
  position: relative;
  margin-bottom: 1rem;
}

.empresas-search-wrapper i {
  position: absolute;
  left: 1rem;
  top: 50%;
  transform: translateY(-50%);
  color: var(--muted-foreground);
  font-size: 1rem;
}

.empresas-search {
  width: 100%;
  padding: 0.875rem 1rem 0.875rem 2.75rem;
  border: 2px solid var(--border);
  border-radius: var(--radius);
  font-size: 0.95rem;
  background: white;
  transition: all var(--transition-base);
  outline: none;
}

.empresas-search:focus {
  border-color: var(--primary);
  box-shadow: 0 0 0 3px rgba(var(--color-primary-rgb), 0.1);
}

.empresas-chips {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
}

.chip {
  padding: 0.4rem 1rem;
  border: 1px solid var(--border);
  border-radius: 50px;
  background: white;
  color: var(--muted-foreground);
  font-size: 0.85rem;
  font-weight: 500;
  cursor: pointer;
  transition: all var(--transition-base);
  white-space: nowrap;
}

.chip:hover {
  border-color: var(--primary);
  color: var(--primary);
}

.chip.active {
  background: var(--primary);
  color: white;
  border-color: var(--primary);
}

.empresas-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.5rem;
  max-width: 1200px;
  margin: 0 auto;
}

.empresa-card {
  background: white;
  border-radius: var(--radius);
  padding: 1.5rem;
  border: 1px solid var(--border);
  display: flex;
  flex-direction: column;
  transition: all var(--transition-base);
}

.empresa-card:hover {
  border-color: var(--primary);
  box-shadow: var(--shadow-lg);
  transform: translateY(-3px);
}

.empresa-extra {
  display: none;
}
.empresas-grid.show-all .empresa-extra {
  display: flex;
}
.empresas-grid.filtering .empresa-extra {
  display: flex;
}
.empresas-grid.filtering .empresa-card.filtered-out {
  display: none !important;
}

.empresa-logo {
  width: 64px;
  height: 64px;
  border-radius: 50%;
  object-fit: contain;
  border: 2px solid var(--border);
  padding: 4px;
  background: white;
  margin-bottom: 1rem;
}

.empresa-badge {
  display: inline-block;
  font-size: 0.7rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: var(--primary);
  background: rgba(var(--color-primary-rgb), 0.08);
  padding: 0.25rem 0.75rem;
  border-radius: 50px;
  margin-bottom: 0.75rem;
  align-self: flex-start;
}

.empresa-card h3 {
  font-size: 1rem;
  font-weight: 700;
  margin-bottom: 0.5rem;
  line-height: 1.3;
}

.empresa-card p {
  font-size: 0.85rem;
  color: var(--muted-foreground);
  line-height: 1.5;
  flex-grow: 1;
  margin-bottom: 1rem;
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.empresa-actions {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  padding-top: 0.75rem;
  border-top: 1px solid var(--border);
}

.empresa-action-btn {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--muted-foreground);
  border: 1px solid var(--border);
  text-decoration: none;
  transition: all var(--transition-base);
  flex-shrink: 0;
}

.empresa-action-btn:hover {
  border-color: var(--primary);
  color: var(--primary);
  background: rgba(var(--color-primary-rgb), 0.05);
}

.empresa-action-whatsapp:hover {
  border-color: #25d366;
  color: #25d366;
  background: rgba(37, 211, 102, 0.05);
}

.empresa-ver-detalhes {
  display: inline-flex;
  align-items: center;
  gap: 0.3rem;
  margin-left: auto;
  font-size: 0.8rem;
  font-weight: 600;
  color: var(--primary);
  background: none;
  border: none;
  cursor: pointer;
  transition: all var(--transition-base);
  white-space: nowrap;
}

.empresa-ver-detalhes:hover {
  color: var(--primary-dark);
  gap: 0.5rem;
}

.empresas-ver-mais-container {
  text-align: center;
  margin-top: 2rem;
}

.empresas-empty {
  text-align: center;
  padding: 3rem 1rem;
  color: var(--muted-foreground);
}

.empresas-empty i {
  font-size: 2.5rem;
  margin-bottom: 1rem;
  display: block;
  opacity: 0.4;
}

.empresas-empty p {
  font-size: 1.05rem;
}

/* ============================= INSTAGRAM ============================= */

.instagram-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
  max-width: 1000px;
  margin: 0 auto;
}

.instagram-post {
  position: relative;
  aspect-ratio: 1;
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow-lg);
  transition: all var(--transition-base);
}

.instagram-post:hover {
  box-shadow: var(--shadow-xl);
  transform: translateY(-5px);
}

.instagram-post img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.instagram-overlay {
  position: absolute;
  inset: 0;
  background: rgba(26, 26, 26, 0.6);
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  transition: opacity var(--transition-base);
}

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

.instagram-icon-bi {
  font-size: 2.5rem;
  color: white;
}

/* ============================= FLOATING ACTIONS ============================= */

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

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

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

.floating-btn:hover {
  transform: scale(1.15) rotate(5deg);
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.25);
}

.floating-btn:active {
  transform: scale(1.05) rotate(0deg);
}

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

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

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

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

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

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

.floating-btn svg {
  width: 24px;
  height: 24px;
  color: white;
  position: relative;
  z-index: 1;
  transition: transform var(--transition-base);
}

.floating-btn:hover svg {
  transform: scale(1.1);
}

/* ============================= BACK TO TOP ============================= */

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

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

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

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

/* ============================= MODAL ============================= */

.modal {
  z-index: 1060;
}
.modal-backdrop {
  z-index: 1050;
}

/* ===== Modal Empresa (Padronizado) ===== */
.modal-empresa {
  border: none;
  border-radius: 16px;
  overflow: hidden;
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.15);
}

.modal-empresa-header {
  background: linear-gradient(
    135deg,
    var(--color-primary),
    var(--color-primary-dark, #005f70)
  );
  color: #fff;
  padding: 1.25rem 1.5rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.modal-empresa-title {
  font-size: 1.15rem;
  font-weight: 700;
  margin: 0;
}

.modal-empresa-close {
  background: rgba(255, 255, 255, 0.15);
  border: none;
  color: #fff;
  width: 32px;
  height: 32px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: background 0.2s;
  flex-shrink: 0;
}

.modal-empresa-close:hover {
  background: rgba(255, 255, 255, 0.3);
}

.modal-empresa-close i {
  font-size: 0.85rem;
}

.modal-empresa-body {
  padding: 1.5rem;
}

.modal-empresa-avatar {
  text-align: center;
  padding-bottom: 1.25rem;
  margin-bottom: 1.25rem;
  border-bottom: 1px solid #e9ecef;
}

.modal-empresa-logo {
  width: 88px;
  height: 88px;
  border-radius: 50%;
  object-fit: cover;
  border: 3px solid var(--color-primary);
  margin: 0 auto 0.75rem;
  display: block;
}

.modal-empresa-name {
  font-size: 1.1rem;
  font-weight: 700;
  color: #1a1a1a;
  margin: 0;
}

.modal-empresa-info {
  display: flex;
  flex-direction: column;
  gap: 0;
}

.modal-empresa-row {
  display: flex;
  align-items: center;
  gap: 0.85rem;
  padding: 0.7rem 0;
  border-bottom: 1px solid rgba(0, 0, 0, 0.05);
}

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

.modal-empresa-icon {
  width: 36px;
  height: 36px;
  border-radius: 8px;
  background: rgba(0, 123, 255, 0.1);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.modal-empresa-icon i {
  font-size: 1rem;
  color: #007bff;
}

.modal-empresa-icon-whatsapp {
  background: rgba(37, 211, 102, 0.1);
}

.modal-empresa-icon-whatsapp i {
  color: #25d366;
}

.modal-empresa-icon-instagram {
  background: rgba(228, 64, 95, 0.1);
}

.modal-empresa-icon-instagram i {
  color: #e4405f;
}

.modal-empresa-data {
  display: flex;
  flex-direction: column;
  min-width: 0;
}

.modal-empresa-label {
  font-size: 0.7rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  color: #999;
  line-height: 1;
  margin-bottom: 2px;
}

.modal-empresa-value {
  font-size: 0.9rem;
  font-weight: 500;
  color: #1a1a1a;
}

.modal-empresa-link {
  color: var(--color-primary);
  text-decoration: none;
  transition: color 0.2s;
  word-break: break-all;
}

.modal-empresa-link:hover {
  color: var(--color-primary-dark, #005f70);
  text-decoration: underline;
}

/* ============================= ANIMATIONS ============================= */

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

@keyframes float {
  0%,
  100% {
    transform: translateY(0) translateX(-50%);
  }
  50% {
    transform: translateY(-10px) translateX(-50%);
  }
}

@keyframes scrollBounce {
  0%,
  100% {
    transform: translateY(0);
    opacity: 1;
  }
  50% {
    transform: translateY(6px);
    opacity: 0.3;
  }
}

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

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

/* ============================= UTILITY ============================= */

.text-center {
  text-align: center;
}
.mb-4 {
  margin-bottom: 1rem;
}
.mt-3 {
  margin-top: 0.75rem;
}

.loading-screen {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background-color: rgba(255, 255, 255, 0.8);
  z-index: 1050;
  display: flex;
  justify-content: center;
  align-items: center;
}

.logo-pulsing {
  animation: pulse-logo 1.5s ease-in-out infinite;
  width: 150px;
}

@keyframes pulse-logo {
  0% {
    transform: scale(1);
  }
  50% {
    transform: scale(1.1);
  }
  100% {
    transform: scale(1);
  }
}

.vw-plugin-top-wrapper {
  z-index: 1060;
}

/* ============================= RESPONSIVE ============================= */

@media (max-width: 1199px) {
  .empresas-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

@media (max-width: 991px) {
  .hero-content {
    flex-direction: column;
    text-align: center;
    padding: calc(72px + 1.5rem) 1.5rem 3rem;
  }

  .hero-text {
    max-width: 100%;
  }

  .hero-buttons {
    justify-content: center;
  }

  .hero-stat {
    justify-content: center;
  }

  .hero-cultos-card {
    flex: 0 0 auto;
    width: 100%;
    max-width: 420px;
  }

  .presidente-grid {
    grid-template-columns: 1fr;
    gap: 2rem;
  }

  .presidente-image {
    max-width: 400px;
    margin: 0 auto;
    display: block;
  }

  .presidente-content {
    text-align: center;
  }
  .presidente-message {
    text-align: left;
  }

  .presidente-author {
    justify-content: center;
  }

  .presidente-buttons {
    justify-content: center;
  }

  .contribuicao-grid {
    grid-template-columns: 1fr;
    gap: 2.5rem;
    text-align: center;
  }

  .contribuicao-buttons {
    justify-content: center;
  }
  .pix-card {
    max-width: 450px;
    margin: 0 auto;
  }

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

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

@media (max-width: 767px) {
  .hero-content {
    padding: calc(58px + 1.5rem) 1rem 3.5rem;
    gap: 2rem;
  }

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

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

  .hero-buttons .btn {
    width: 100%;
  }

  .culto-dia {
    min-width: 80px;
    font-size: 0.78rem;
  }
  .culto-nome {
    font-size: 0.78rem;
  }

  .section {
    padding: 4rem 1rem;
  }

  .identity-grid {
    grid-template-columns: 1fr;
  }
  .eventos-grid {
    grid-template-columns: 1fr;
  }

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

  .floating-actions {
    right: 0.75rem;
    bottom: 0.75rem;
  }
  .floating-btn {
    width: 48px;
    height: 48px;
  }

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

  .footer-logo-right {
    justify-content: center;
  }
  .footer-mtco-logo-small {
    height: 18px;
  }

  .modal-empresa-body {
    padding: 1.25rem;
  }

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

@media (max-width: 575px) {
  .empresas-grid {
    grid-template-columns: 1fr;
  }

  .empresas-chips {
    overflow-x: auto;
    flex-wrap: nowrap;
    padding-bottom: 0.5rem;
  }
  .chip {
    flex-shrink: 0;
  }
}

@media (max-width: 479px) {
  .hero-title {
    font-size: 2rem;
  }
  .section-title {
    font-size: 1.75rem;
  }

  .identity-card {
    padding: 2rem 1.5rem 1.5rem;
  }

  .btn {
    padding: 0.75rem 1.25rem;
    font-size: 0.9rem;
  }

  .footer-copyright-text {
    font-size: 0.8rem;
  }
  .footer-mtco-logo-small {
    height: 16px;
  }

  .modal-empresa-logo {
    width: 72px;
    height: 72px;
  }
}
