/* ===== RESET & BASE ===== */
*,
*::before,
*::after {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

:root {
  --bg: #faf8f5;
  --fg: #1a1a1a;
  --card: #ffffff;
  --primary: #1a5c2a;
  --primary-dark: #0f3a1a;
  --secondary: #8b1a1a;
  --accent: #c9a84c;
  --muted: #f0ebe3;
  --muted-fg: #5a5a5a;
  --border: #d4c9b8;
  --font-heading: 'Cinzel', serif;
  --font-body: 'Lora', serif;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: var(--font-body);
  color: var(--fg);
  background: var(--bg);
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}

img {
  display: block;
  max-width: 100%;
}

a {
  text-decoration: none;
  color: inherit;
}

button {
  font-family: inherit;
  cursor: pointer;
  border: none;
  background: none;
}

input,
select,
textarea {
  font-family: inherit;
}

/* Scrollbar */
::-webkit-scrollbar {
  width: 8px;
}

::-webkit-scrollbar-track {
  background: #f0ebe3;
}

::-webkit-scrollbar-thumb {
  background: #1a5c2a;
  border-radius: 4px;
}

::-webkit-scrollbar-thumb:hover {
  background: #154a22;
}

/* ===== UTILITIES ===== */
.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 1.25rem;
}

.container-sm {
  max-width: 800px;
  margin: 0 auto;
  padding: 0 1.25rem;
}

.gold-divider {
  width: 80px;
  height: 3px;
  margin: 0 auto;
  background: linear-gradient(90deg, transparent, var(--accent), transparent);
}

.section-cross {
  color: var(--accent);
  font-size: 1.8rem;
  text-align: center;
  margin-bottom: .75rem;
}

.section-title {
  font-family: var(--font-heading);
  font-weight: 700;
  color: var(--primary);
  font-size: clamp(1.75rem, 4vw, 2.5rem);
  text-align: center;
  margin-bottom: 1rem;
}

/* ===== KEYFRAMES ===== */
@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(60px)
  }

  to {
    opacity: 1;
    transform: translateY(0)
  }
}

@keyframes fadeInLeft {
  from {
    opacity: 0;
    transform: translateX(-60px)
  }

  to {
    opacity: 1;
    transform: translateX(0)
  }
}

@keyframes fadeInRight {
  from {
    opacity: 0;
    transform: translateX(60px)
  }

  to {
    opacity: 1;
    transform: translateX(0)
  }
}

@keyframes fadeIn {
  from {
    opacity: 0
  }

  to {
    opacity: 1
  }
}

@keyframes scaleIn {
  from {
    opacity: 0;
    transform: scale(.88)
  }

  to {
    opacity: 1;
    transform: scale(1)
  }
}

@keyframes float {

  0%,
  100% {
    transform: translateY(0)
  }

  50% {
    transform: translateY(-14px)
  }
}

@keyframes bounce {

  0%,
  100% {
    transform: translateY(0);
    opacity: 1
  }

  50% {
    transform: translateY(14px);
    opacity: .4
  }
}

@keyframes carouselScroll {
  0% {
    transform: translateX(0)
  }

  100% {
    transform: translateX(-50%)
  }
}

@keyframes pulseGlow {

  0%,
  100% {
    box-shadow: 0 0 10px rgba(201, 168, 76, .2)
  }

  50% {
    box-shadow: 0 0 30px rgba(201, 168, 76, .5)
  }
}

@keyframes shimmer {
  0% {
    background-position: -200% 0
  }

  100% {
    background-position: 200% 0
  }
}

@keyframes rotateIn {
  from {
    opacity: 0;
    transform: rotate(-8deg) scale(.9)
  }

  to {
    opacity: 1;
    transform: rotate(0) scale(1)
  }
}

@keyframes slideUp {
  from {
    opacity: 0;
    transform: translateY(100px)
  }

  to {
    opacity: 1;
    transform: translateY(0)
  }
}

@keyframes gentleFloat {

  0%,
  100% {
    transform: translateY(0) rotate(0deg)
  }

  25% {
    transform: translateY(-6px) rotate(.5deg)
  }

  75% {
    transform: translateY(6px) rotate(-.5deg)
  }
}

/* ===== SCROLL REVEAL ===== */
.reveal {
  opacity: 0;
  transform: translateY(60px);
  transition: all 1s cubic-bezier(.16, 1, .3, 1);
}

.reveal-left {
  opacity: 0;
  transform: translateX(-80px);
  transition: all 1s cubic-bezier(.16, 1, .3, 1);
}

.reveal-right {
  opacity: 0;
  transform: translateX(80px);
  transition: all 1s cubic-bezier(.16, 1, .3, 1);
}

.reveal-scale {
  opacity: 0;
  transform: scale(.85);
  transition: all 1s cubic-bezier(.16, 1, .3, 1);
}

.reveal-rotate {
  opacity: 0;
  transform: rotate(-5deg) scale(.9);
  transition: all 1.1s cubic-bezier(.16, 1, .3, 1);
}

.visible {
  opacity: 1 !important;
  transform: translate(0) scale(1) rotate(0deg) !important;
}

.delay-1 {
  transition-delay: .1s
}

.delay-2 {
  transition-delay: .2s
}

.delay-3 {
  transition-delay: .3s
}

.delay-4 {
  transition-delay: .4s
}

.delay-5 {
  transition-delay: .5s
}

.delay-6 {
  transition-delay: .6s
}

.delay-7 {
  transition-delay: .7s
}

.delay-8 {
  transition-delay: .8s
}

/* ===== NAVBAR ===== */
.navbar {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  padding: .9rem 0;
  background: #ffffff;
  transition: all .6s cubic-bezier(.16, 1, .3, 1);
  border-bottom: 2px solid var(--border);
  box-shadow: 0 2px 20px rgba(0, 0, 0, .08);
}

.navbar.scrolled {
  background: rgba(26, 92, 42, .15);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-bottom-color: rgba(201, 168, 76, .3);
  padding: .55rem 0;
  box-shadow: 0 4px 30px rgba(0, 0, 0, .15);
}

.navbar .inner {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 1.25rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.navbar .logo-link {
  display: flex;
  align-items: center;
  gap: .75rem;
  transition: transform .3s;
}

.navbar .logo-link:hover {
  transform: scale(1.04);
}

.navbar .logo-link img {
  height: 50px;
  width: auto;
  filter: drop-shadow(0 2px 6px rgba(0, 0, 0, .12));
  transition: all .5s;
}

.navbar.scrolled .logo-link img {
  height: 42px;
  filter: drop-shadow(0 2px 8px rgba(0, 0, 0, .3)) brightness(1.1);
}

.navbar .logo-text {
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: .85rem;
  color: var(--primary);
  letter-spacing: .03em;
  transition: color .5s;
}

.navbar.scrolled .logo-text {
  color: #fff;
  text-shadow: 0 1px 4px rgba(0, 0, 0, .3);
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 2rem;
  list-style: none;
}

.nav-links a {
  font-family: var(--font-heading);
  font-size: .78rem;
  font-weight: 600;
  color: var(--primary);
  letter-spacing: .05em;
  position: relative;
  transition: color .35s;
}

.nav-links a::after {
  content: '';
  position: absolute;
  bottom: -5px;
  left: 50%;
  width: 0;
  height: 2px;
  background: var(--accent);
  transition: all .35s;
  transform: translateX(-50%);
}

.nav-links a:hover {
  color: var(--accent);
}

.nav-links a:hover::after {
  width: 100%;
}

.nav-links a.active {
  color: var(--accent);
}

.nav-links a.active::after {
  width: 100%;
}

.navbar.scrolled .nav-links a {
  color: #fff;
}

.navbar.scrolled .nav-links a:hover,
.navbar.scrolled .nav-links a.active {
  color: var(--accent);
}

.hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  padding: 8px;
  cursor: pointer;
  z-index: 110;
}

.hamburger span {
  display: block;
  width: 26px;
  height: 2.5px;
  background: var(--primary);
  border-radius: 2px;
  transition: all .4s cubic-bezier(.68, -.55, .27, 1.55);
}

.navbar.scrolled .hamburger span {
  background: #fff;
}

.hamburger.open span:nth-child(1) {
  transform: translateY(7.5px) rotate(45deg);
}

.hamburger.open span:nth-child(2) {
  opacity: 0;
  transform: scaleX(0);
}

.hamburger.open span:nth-child(3) {
  transform: translateY(-7.5px) rotate(-45deg);
}

.mobile-menu {
  display: none;
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(15, 58, 26, .98);
  z-index: 99;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 2.5rem;
}

.mobile-menu.open {
  display: flex;
  animation: fadeIn .4s ease;
}

.mobile-menu a {
  font-family: var(--font-heading);
  color: #fff;
  font-size: 1.4rem;
  font-weight: 600;
  letter-spacing: .05em;
  transition: all .35s;
  opacity: 0;
  transform: translateY(20px);
}

.mobile-menu.open a {
  animation: fadeInUp .5s ease forwards;
}

.mobile-menu.open a:nth-child(1) {
  animation-delay: .1s
}

.mobile-menu.open a:nth-child(2) {
  animation-delay: .2s
}

.mobile-menu.open a:nth-child(3) {
  animation-delay: .3s
}

.mobile-menu.open a:nth-child(4) {
  animation-delay: .4s
}

.mobile-menu.open a:nth-child(5) {
  animation-delay: .5s
}

.mobile-menu.open a:nth-child(6) {
  animation-delay: .6s
}

.mobile-menu.open a:nth-child(7) {
  animation-delay: .7s
}

.mobile-menu a:hover {
  color: var(--accent);
  transform: scale(1.08);
}

.mobile-menu .menu-cross {
  color: var(--accent);
  font-size: 2.5rem;
  opacity: 0;
  animation: fadeIn .6s .05s forwards;
}

@media(max-width:768px) {
  .nav-links {
    display: none;
  }

  .hamburger {
    display: flex;
  }

  .navbar .logo-text {
    display: none;
  }
}

/* ===== HERO ===== */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}

.hero-bg {
  position: absolute;
  inset: 0;
  background: url('https://hebbkx1anhila5yf.public.blob.vercel-storage.com/image-5F44UQeX0bss6xkLio6DwBZrdjuY26.png') center/cover no-repeat;
  filter: blur(5px) brightness(.4);
  transform: scale(1.15);
  transition: transform 8s ease-out;
}

.hero.loaded .hero-bg {
  transform: scale(1.05);
}

.hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(15, 58, 26, .3) 0%, rgba(0, 0, 0, .6) 100%);
}

.hero-particles {
  position: absolute;
  inset: 0;
  z-index: 1;
  pointer-events: none;
  overflow: hidden;
}

.particle {
  position: absolute;
  border-radius: 50%;
  background: rgba(201, 168, 76, .25);
  animation: gentleFloat 6s ease-in-out infinite;
}

.hero-content {
  position: relative;
  z-index: 2;
  text-align: center;
  padding: 1.5rem;
  max-width: 900px;
}

.hero-content .hero-subtitle {
  font-family: var(--font-heading);
  font-size: clamp(.8rem, 1.5vw, 1rem);
  color: var(--accent);
  letter-spacing: .25em;
  text-transform: uppercase;
  margin-bottom: 1.5rem;
  opacity: 0;
  animation: fadeInUp .9s .3s forwards;
}

.hero-content h1 {
  font-family: var(--font-heading);
  font-weight: 800;
  color: #fff;
  font-size: clamp(1.8rem, 5vw, 3.8rem);
  line-height: 1.2;
  margin-bottom: 1.25rem;
  text-shadow: 0 4px 30px rgba(0, 0, 0, .6);
  opacity: 0;
  animation: fadeInUp 1s .6s forwards;
}

.hero-content h1 span {
  color: var(--accent);
  display: inline-block;
}

.hero-content .hero-desc {
  color: rgba(255, 255, 255, .8);
  font-size: clamp(.95rem, 1.8vw, 1.2rem);
  margin-bottom: 2.5rem;
  max-width: 600px;
  margin-left: auto;
  margin-right: auto;
  line-height: 1.6;
  opacity: 0;
  animation: fadeInUp 1s .9s forwards;
}

.hero-cta {
  display: inline-flex;
  align-items: center;
  gap: .75rem;
  padding: 1rem 2.5rem;
  border-radius: 50px;
  background: linear-gradient(135deg, var(--accent), #d4b65c);
  color: var(--primary-dark);
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: .9rem;
  letter-spacing: .06em;
  box-shadow: 0 8px 30px rgba(201, 168, 76, .35);
  transition: all .35s;
  opacity: 0;
  animation: fadeInUp 1s 1.2s forwards;
}

.hero-cta:hover {
  transform: translateY(-3px) scale(1.03);
  box-shadow: 0 12px 40px rgba(201, 168, 76, .5);
}

.hero-scroll {
  position: absolute;
  bottom: 2rem;
  left: 50%;
  transform: translateX(-50%);
  z-index: 2;
  color: rgba(255, 255, 255, .6);
  opacity: 0;
  animation: fadeIn 1s 1.8s forwards;
}

.hero-scroll svg {
  animation: bounce 2.5s infinite;
}

.hero-scroll span {
  display: block;
  font-size: .7rem;
  font-family: var(--font-heading);
  letter-spacing: .15em;
  margin-bottom: .5rem;
  text-align: center;
}

/* ===== STATS BAR ===== */
.stats-bar {
  background: var(--primary);
  padding: 3rem 0;
  position: relative;
  overflow: hidden;
}

.stats-bar::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(201, 168, 76, .08) 0%, transparent 50%, rgba(201, 168, 76, .05) 100%);
}

.stats-grid {
  display: flex;
  justify-content: center;
  gap: 3rem;
  flex-wrap: wrap;
  position: relative;
  z-index: 1;
}

.stat-item {
  text-align: center;
  min-width: 140px;
}

.stat-number {
  font-family: var(--font-heading);
  font-weight: 900;
  font-size: clamp(2rem, 4vw, 3rem);
  color: var(--accent);
  line-height: 1;
  margin-bottom: .4rem;
}

.stat-label {
  color: rgba(255, 255, 255, .75);
  font-size: .85rem;
  letter-spacing: .04em;
}

.stat-divider {
  width: 1px;
  height: 60px;
  background: rgba(255, 255, 255, .15);
  align-self: center;
}

@media(max-width:600px) {
  .stat-divider {
    display: none;
  }

  .stats-grid {
    gap: 2rem;
  }
}

/* ===== SANTA LUZIA ===== */
.santa-section {
  padding: 6rem 0;
  background: var(--bg);
  position: relative;
}

.santa-section::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 200px;
  background: linear-gradient(to bottom, rgba(26, 92, 42, .03), transparent);
}

.santa-grid {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 3.5rem;
  margin-top: 3rem;
}

.santa-img-wrap {
  flex: 1 1 300px;
  display: flex;
  justify-content: center;
}

.santa-img-wrap .img-frame {
  position: relative;
  display: inline-block;
  width: 500px;
}

.santa-img-wrap .img-frame img {
  width: 100%;
  height: auto;
  display: block;
  border-radius: 1.25rem;
  position: relative;
  z-index: 1;
}

.santa-img-wrap .img-frame::before {
  content: '';
  position: absolute;
  inset: -10px;
  border-radius: 1.25rem;
  background: linear-gradient(135deg, rgba(26, 92, 42, .1), rgba(201, 168, 76, .1));
  transform: rotate(3deg);
  z-index: 0;
  transition: transform .6s;
}

.santa-img-wrap:hover .img-frame::before {
  transform: rotate(-2deg);
}

.santa-img-wrap img {
  position: relative;
  z-index: 1;
  width: 320px;
  border-radius: 1.25rem;
  box-shadow: 0 25px 70px rgba(26, 92, 42, .2);
  transition: transform .6s cubic-bezier(.16, 1, .3, 1);
}

.santa-img-wrap:hover img {
  transform: translateY(-8px);
}

.santa-text {
  flex: 1 1 400px;
}

.santa-text p {
  font-size: 1.05rem;
  line-height: 1.8;
  text-align: justify;
  color: var(--fg);
  margin-bottom: 1.5rem;
}

.santa-text .highlight-verse {
  padding: 1.25rem 1.5rem;
  border-left: 4px solid var(--accent);
  background: rgba(201, 168, 76, .06);
  border-radius: 0 .5rem .5rem 0;
  font-style: italic;
  color: var(--muted-fg);
  margin: 2rem 0;
}

/* ===== COMUNIDADES ===== */
.comunidades-section {
  padding: 6rem 0;
  background: var(--muted);
}

.comunidades-subtitle {
  text-align: center;
  color: var(--muted-fg);
  margin-top: 1rem;
  font-size: .95rem;
}

.carousel-wrapper {
  overflow: hidden;
  position: relative;
  margin-top: 3rem;
}

.carousel-wrapper::before,
.carousel-wrapper::after {
  content: '';
  position: absolute;
  top: 0;
  bottom: 0;
  width: 80px;
  z-index: 2;
  pointer-events: none;
}

.carousel-wrapper::before {
  left: 0;
  background: linear-gradient(to right, var(--muted), transparent);
}

.carousel-wrapper::after {
  right: 0;
  background: linear-gradient(to left, var(--muted), transparent);
}

.carousel-track {
  display: flex;
  gap: 1.5rem;
  width: max-content;
  animation: carouselScroll 70s linear infinite;
  padding: 1rem 0 1.5rem;
}

.carousel-track:hover,
.carousel-track.paused {
  animation-play-state: paused;
}

.community-card {
  min-width: 360px;
  max-width: 360px;
  border-radius: 1rem;
  overflow: hidden;
  background: var(--card);
  border: 1px solid var(--border);
  box-shadow: 0 4px 20px rgba(0, 0, 0, .06);
  transition: all .5s cubic-bezier(.16, 1, .3, 1);
  flex-shrink: 0;
  cursor: pointer;
}

.community-card:hover {
  transform: translateY(-10px);
  box-shadow: 0 25px 60px rgba(26, 92, 42, .16);
}

.community-card.featured {
  background: var(--primary);
  border: 2px solid var(--accent);
}

.card-header {
  padding: 1.25rem;
  background: linear-gradient(135deg, #f8f6f0, #f0ebe3);
  border-bottom: 1px solid var(--border);
}

.community-card.featured .card-header {
  background: linear-gradient(135deg, #1a5c2a, #2a7a3a);
  border-bottom: 2px solid var(--accent);
}

.card-header-inner {
  display: flex;
  align-items: flex-start;
  gap: .75rem;
}

.card-cross {
  color: var(--primary);
  flex-shrink: 0;
  margin-top: 2px;
}

.community-card.featured .card-cross {
  color: var(--accent);
}

.card-cross svg {
  width: 20px;
  height: 28px;
}

.card-name {
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: .9rem;
  color: var(--primary);
  margin-bottom: .25rem;
}

.community-card.featured .card-name {
  color: #fff;
}

.card-address {
  display: flex;
  align-items: flex-start;
  gap: .35rem;
  font-size: .75rem;
  color: var(--muted-fg);
  line-height: 1.4;
}

.community-card.featured .card-address {
  color: rgba(255, 255, 255, .7);
}

.card-address svg {
  width: 14px;
  height: 14px;
  flex-shrink: 0;
  margin-top: 1px;
}

.card-badge {
  display: inline-block;
  margin-top: .75rem;
  padding: .3rem .75rem;
  border-radius: 20px;
  font-size: .7rem;
  font-weight: 700;
  background: var(--accent);
  color: #1a1a1a;
  animation: pulseGlow 3s infinite;
}

.card-body {
  padding: 1.25rem;
  max-height: 160px;
  overflow: hidden;
  transition: max-height .65s cubic-bezier(.16, 1, .3, 1);
}

.community-card.expanded .card-body {
  max-height: 700px;
}

.card-body-label {
  font-size: .7rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .08em;
  color: var(--muted-fg);
  margin-bottom: .75rem;
}

.community-card.featured .card-body-label {
  color: rgba(255, 255, 255, .5);
}

.schedule-day {
  font-size: .85rem;
  font-weight: 700;
  color: var(--secondary);
  margin-bottom: .3rem;
  margin-top: .65rem;
}

.community-card.featured .schedule-day {
  color: var(--accent);
}

.schedule-item {
  font-size: .83rem;
  color: var(--fg);
  padding-left: 10px;
  margin-bottom: .2rem;
  border-left: 2px solid var(--primary);
}

.community-card.featured .schedule-item {
  color: rgba(255, 255, 255, .9);
  border-left-color: var(--accent);
}

.card-extra {
  margin-top: .75rem;
  padding: .75rem;
  border-radius: .5rem;
  font-size: .82rem;
  background: rgba(26, 92, 42, .05);
  color: var(--primary);
  border: 1px solid rgba(26, 92, 42, .1);
}

.community-card.featured .card-extra {
  background: rgba(201, 168, 76, .12);
  color: var(--accent);
  border-color: rgba(201, 168, 76, .25);
}

.card-footer {
  padding: .6rem 1.25rem 1rem;
  text-align: center;
  font-size: .72rem;
  color: var(--muted-fg);
  font-weight: 600;
  transition: color .3s;
}

.community-card.featured .card-footer {
  color: rgba(255, 255, 255, .5);
}

.community-card:hover .card-footer {
  color: var(--primary);
}

.community-card.featured:hover .card-footer {
  color: var(--accent);
}

.secretaria-box {
  margin-top: 4rem;
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: 1rem;
  padding: 2.5rem;
  max-width: 850px;
  margin-left: auto;
  margin-right: auto;
  box-shadow: 0 8px 35px rgba(0, 0, 0, .06);
  position: relative;
  overflow: hidden;
}

.secretaria-box::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 4px;
  background: linear-gradient(90deg, var(--primary), var(--accent), var(--primary));
}

.secretaria-box h3 {
  font-family: var(--font-heading);
  font-weight: 700;
  color: var(--primary);
  font-size: 1.2rem;
  text-align: center;
  margin-bottom: 1rem;
}

.secretaria-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2rem;
  margin-top: 1.5rem;
  font-size: .9rem;
}

.secretaria-grid .label {
  font-weight: 700;
  color: var(--secondary);
  margin-bottom: .4rem;
}

@media(max-width:600px) {
  .secretaria-grid {
    grid-template-columns: 1fr;
  }
}

/* ===== DOE ===== */
.doe-section {
  padding: 6rem 0;
  background: var(--bg);
  position: relative;
  overflow: hidden;
}

.doe-section::before {
  content: '';
  position: absolute;
  top: -100px;
  right: -100px;
  width: 400px;
  height: 400px;
  border-radius: 50%;
  background: rgba(26, 92, 42, .03);
}

.doe-subtitle {
  text-align: center;
  color: var(--muted-fg);
  margin-top: 1rem;
  font-size: .95rem;
  max-width: 500px;
  margin-left: auto;
  margin-right: auto;
  line-height: 1.6;
}

.pix-box {
  max-width: 600px;
  margin: 3rem auto 0;
  border-radius: 1.25rem;
  padding: 3rem 2.5rem;
  background: linear-gradient(135deg, #1a5c2a, #0f3a1a);
  border: 2px solid var(--accent);
  box-shadow: 0 25px 70px rgba(26, 92, 42, .3);
  text-align: center;
  color: #fff;
  position: relative;
  overflow: hidden;
}

.pix-box::before {
  content: '';
  position: absolute;
  top: -50%;
  right: -50%;
  width: 100%;
  height: 100%;
  border-radius: 50%;
  background: rgba(201, 168, 76, .06);
}

.pix-box .pix-icon {
  font-size: 3.5rem;
  margin-bottom: 1rem;
  position: relative;
}

.pix-box h3 {
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 1.5rem;
  color: var(--accent);
  margin-bottom: 1.5rem;
  position: relative;
}

.pix-info-card {
  background: rgba(255, 255, 255, .08);
  border: 1px solid rgba(201, 168, 76, .25);
  border-radius: .75rem;
  padding: 1.25rem;
  margin-bottom: 1rem;
  position: relative;
  transition: all .35s;
}

.pix-info-card:hover {
  background: rgba(255, 255, 255, .12);
  transform: translateY(-2px);
}

.pix-info-card .label {
  font-size: .78rem;
  color: rgba(255, 255, 255, .55);
  margin-bottom: .3rem;
}

.pix-info-card .value {
  font-weight: 700;
  font-size: 1.15rem;
  letter-spacing: .04em;
}

.pix-info-card .sub {
  font-size: .85rem;
  color: rgba(255, 255, 255, .65);
  margin-top: .25rem;
}

.pix-copy-btn {
  display: inline-flex;
  align-items: center;
  gap: .5rem;
  margin-top: .5rem;
  padding: .4rem .8rem;
  border-radius: 20px;
  font-size: .72rem;
  font-weight: 600;
  background: rgba(201, 168, 76, .2);
  color: var(--accent);
  border: 1px solid rgba(201, 168, 76, .3);
  cursor: pointer;
  transition: all .3s;
}

.pix-copy-btn:hover {
  background: rgba(201, 168, 76, .35);
}

.pix-copy-btn.copied {
  background: rgba(201, 168, 76, .5);
  color: #fff;
}

.pix-quote {
  margin-top: 2rem;
  font-size: .82rem;
  font-style: italic;
  color: rgba(255, 255, 255, .45);
  position: relative;
  line-height: 1.6;
}

/* ===== CONTATO ===== */
.contato-section {
  padding: 6rem 0;
  background: var(--muted);
}

.form-box {
  max-width: 600px;
  margin: 3rem auto 0;
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: 1.25rem;
  padding: 3rem;
  box-shadow: 0 10px 40px rgba(0, 0, 0, .06);
  position: relative;
  overflow: hidden;
}

.form-box::before {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 4px;
  background: linear-gradient(90deg, var(--primary), var(--accent), var(--primary));
}

.form-box label {
  display: block;
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: .85rem;
  color: var(--primary);
  margin-bottom: .5rem;
}

.form-box input,
.form-box select,
.form-box textarea {
  width: 100%;
  padding: .9rem 1.1rem;
  border-radius: .6rem;
  font-size: .9rem;
  border: 2px solid var(--border);
  background: var(--bg);
  color: var(--fg);
  transition: all .35s;
  outline: none;
}

.form-box input:focus,
.form-box select:focus,
.form-box textarea:focus {
  border-color: var(--primary);
  box-shadow: 0 0 0 4px rgba(26, 92, 42, .1);
  background: #fff;
}

.form-box textarea {
  resize: vertical;
  min-height: 100px;
}

.form-group {
  margin-bottom: 1.5rem;
}

.form-group .char-count {
  text-align: right;
  font-size: .72rem;
  color: var(--muted-fg);
  margin-top: .3rem;
}

.btn-whatsapp {
  width: 100%;
  padding: 1.1rem;
  border-radius: .6rem;
  border: none;
  background: linear-gradient(135deg, #1a5c2a, #25a244);
  color: #fff;
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 1rem;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: .75rem;
  cursor: pointer;
  transition: all .35s;
  box-shadow: 0 6px 25px rgba(26, 92, 42, .3);
  letter-spacing: .03em;
}

.btn-whatsapp:hover {
  transform: translateY(-2px);
  box-shadow: 0 10px 35px rgba(26, 92, 42, .4);
}

.btn-whatsapp:active {
  transform: scale(.98);
}

.btn-whatsapp:disabled {
  opacity: .5;
  cursor: not-allowed;
  transform: none;
}

.form-note {
  margin-top: 1.25rem;
  text-align: center;
  font-size: .75rem;
  color: var(--muted-fg);
}

.form-success {
  display: none;
  text-align: center;
  padding: 2rem;
}

.form-success.show {
  display: block;
  animation: scaleIn .5s ease;
}

.form-success .check {
  font-size: 3rem;
  color: var(--primary);
  margin-bottom: 1rem;
}

.form-success p {
  color: var(--muted-fg);
  font-size: .95rem;
}

/* ===== PADROEIRA ===== */
.padroeira-section {
  padding: 6rem 0;
  background: var(--bg);
  overflow: hidden;
}

.padroeira-grid {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 3.5rem;
}

.padroeira-img {
  flex: 1 1 350px;
}

.padroeira-img .img-wrap {
  position: relative;
  border-radius: 1.25rem;
  overflow: hidden;
  box-shadow: 0 25px 70px rgba(0, 0, 0, .14);
}

.padroeira-img img {
  width: 100%;
  max-height: 520px;
  object-fit: cover;
  transition: transform 8s ease;
}

.padroeira-img:hover img {
  transform: scale(1.05);
}

.padroeira-img .overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(26, 92, 42, .4), transparent);
}

.padroeira-text {
  flex: 1 1 350px;
}

.padroeira-text h2 {
  font-family: var(--font-heading);
  font-weight: 700;
  color: var(--primary);
  font-size: clamp(1.5rem, 3.5vw, 2.25rem);
  line-height: 1.3;
  margin-bottom: 1.5rem;
}

.padroeira-text h2 span {
  color: var(--secondary);
}

.padroeira-text .quote {
  font-size: 1.05rem;
  line-height: 1.75;
  font-style: italic;
  color: var(--muted-fg);
  margin-bottom: 1.5rem;
}

.padroeira-text .festa {
  display: inline-flex;
  align-items: center;
  gap: .5rem;
  font-size: .9rem;
  color: var(--accent);
  font-weight: 600;
  padding: .6rem 1.2rem;
  border-radius: 50px;
  background: rgba(201, 168, 76, .1);
  border: 1px solid rgba(201, 168, 76, .25);
}

/* ===== HORARIOS RAPIDOS ===== */
.horarios-section {
  padding: 5rem 0;
  background: var(--primary-dark);
  color: #fff;
  position: relative;
  overflow: hidden;
}

.horarios-section::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at 20% 50%, rgba(201, 168, 76, .08), transparent 50%);
}

.horarios-title {
  font-family: var(--font-heading);
  font-weight: 700;
  color: var(--accent);
  font-size: clamp(1.5rem, 3vw, 2rem);
  text-align: center;
  margin-bottom: .75rem;
}

.horarios-sub {
  text-align: center;
  color: rgba(255, 255, 255, .5);
  font-size: .9rem;
  margin-bottom: 3rem;
}

.horarios-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 1.5rem;
  position: relative;
  z-index: 1;
}

.horario-card {
  background: rgba(255, 255, 255, .06);
  border: 1px solid rgba(255, 255, 255, .1);
  border-radius: 1rem;
  padding: 1.75rem;
  text-align: center;
  transition: all .45s cubic-bezier(.16, 1, .3, 1);
}

.horario-card:hover {
  background: rgba(255, 255, 255, .1);
  transform: translateY(-6px);
  border-color: rgba(201, 168, 76, .3);
}

.horario-card .h-icon {
  font-size: 2rem;
  margin-bottom: .75rem;
}

.horario-card h4 {
  font-family: var(--font-heading);
  font-weight: 700;
  color: var(--accent);
  font-size: .95rem;
  margin-bottom: .75rem;
}

.horario-card p {
  font-size: .85rem;
  color: rgba(255, 255, 255, .7);
  line-height: 1.6;
}

/* ===== REDES SOCIAIS ===== */
.redes-section {
  padding: 4rem 0;
  background: var(--primary);
  text-align: center;
}

.redes-section h3 {
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 1.5rem;
  color: var(--accent);
  margin-bottom: .5rem;
}

.redes-section .sub {
  color: rgba(255, 255, 255, .6);
  font-size: .9rem;
  margin-bottom: 2rem;
}

.redes-links {
  display: flex;
  justify-content: center;
  gap: 1.25rem;
  flex-wrap: wrap;
}

.redes-links a {
  display: flex;
  align-items: center;
  gap: .6rem;
  padding: .85rem 1.75rem;
  border-radius: 50px;
  background: rgba(255, 255, 255, .08);
  border: 1px solid rgba(255, 255, 255, .18);
  color: #fff;
  font-size: .9rem;
  font-weight: 500;
  transition: all .4s cubic-bezier(.16, 1, .3, 1);
}

.redes-links a:hover {
  background: rgba(255, 255, 255, .2);
  transform: translateY(-4px) scale(1.04);
  box-shadow: 0 10px 30px rgba(0, 0, 0, .2);
}

.redes-links a svg {
  width: 22px;
  height: 22px;
}

/* ===== BACK TO TOP ===== */
.back-to-top {
  position: fixed;
  bottom: 2rem;
  right: 2rem;
  z-index: 90;
  width: 50px;
  height: 50px;
  border-radius: 50%;
  background: var(--primary);
  color: #fff;
  border: 2px solid var(--accent);
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 20px rgba(26, 92, 42, .35);
  opacity: 0;
  visibility: hidden;
  transform: translateY(20px);
  transition: all .45s cubic-bezier(.16, 1, .3, 1);
  cursor: pointer;
}

.back-to-top.show {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.back-to-top:hover {
  transform: translateY(-4px) scale(1.1);
  box-shadow: 0 8px 30px rgba(26, 92, 42, .5);
}

/* ===== SCROLL PROGRESS BAR ===== */
.scroll-progress {
  position: fixed;
  top: 0;
  left: 0;
  height: 3px;
  background: linear-gradient(90deg, var(--accent), var(--primary));
  z-index: 200;
  width: 0;
  transition: width .1s linear;
}

/* ===== FOOTER ===== */
footer {
  padding: 2.5rem 0 1.5rem;
  background: var(--primary-dark);
  border-top: 3px solid var(--accent);
  text-align: center;
}

footer img {
  height: 60px;
  margin: 0 auto 1.25rem;
  filter: drop-shadow(0 2px 6px rgba(0, 0, 0, .3));
  transition: transform .4s;
}

footer img:hover {
  transform: scale(1.06);
}

footer .rights {
  font-family: var(--font-heading);
  font-size: .82rem;
  color: rgba(255, 255, 255, .8);
  margin-bottom: .4rem;
  letter-spacing: .03em;
}

footer .dev {
  font-size: .75rem;
  color: rgba(255, 255, 255, .4);
}

footer .dev a {
  color: var(--accent);
  text-decoration: underline;
  transition: all .3s;
}

footer .dev a:hover {
  color: #fff;
}

/* ===== RESPONSIVE ===== */
@media(max-width:600px) {
  .santa-img-wrap img {
    width: 260px;
  }

  .community-card {
    min-width: 300px;
    max-width: 300px;
  }

  .pix-box {
    padding: 2rem 1.25rem;
  }

  .form-box {
    padding: 2rem 1.25rem;
  }

  .secretaria-box {
    padding: 1.5rem;
  }

  .redes-links a span.rede-label {
    display: none;
  }

  .stats-grid {
    gap: 1.5rem;
  }

  .stat-item {
    min-width: 120px;
  }

  .horarios-grid {
    grid-template-columns: 1fr 1fr;
  }

  .hero-cta {
    padding: .85rem 2rem;
    font-size: .82rem;
  }
} 

@media(max-width:400px) {
  .horarios-grid {
    grid-template-columns: 1fr;
  }
}

/* Media Query para Celulares */
@media (max-width: 768px) {

  /* Ajusta as grades para uma única coluna */
  .santa-grid,
  .stats-grid,
  .horarios-grid,
  .secretaria-grid,
  .padroeira-grid {
    display: flex;
    flex-direction: column;
    gap: 2rem;
    padding: 0 20px;
  }

  /* Faz a imagem da Santa ocupar a largura certa */
  .santa-img-wrap .img-frame {
    width: 100%;
    max-width: 300px;
    /* Menor no celular para não sumir o texto */
    margin: 0 auto;
  }

  /* Ajusta o tamanho dos títulos para não estourarem a tela */
  h1 {
    font-size: 1.8rem !important;
  }

  .section-title {
    font-size: 1.5rem !important;
  }
}