/* ========================================
   Caminho de São Benedito 2026
   ======================================== */

@import url('https://fonts.googleapis.com/css2?family=Playfair+Display:wght@400;600;700;800&family=Inter:wght@300;400;500;600;700&family=Cinzel:wght@400;600;700&display=swap');

:root {
  --gold: #C8A35F;
  --gold-light: #E8D5A3;
  --gold-dark: #8B6914;
  --brown: #5C3A1E;
  --brown-light: #8B6544;
  --brown-dark: #3A2210;
  --cream: #FFF8EC;
  --cream-dark: #F0E4CF;
  --green: #4A7C59;
  --green-dark: #2D5A3A;
  --white: #FFFFFF;
  --black: #1A1A1A;
  --gray: #6B7280;
  --gray-light: #F3F4F6;
  --red: #DC2626;
  --success: #16A34A;
  --shadow: 0 4px 30px rgba(0, 0, 0, 0.1);
  --shadow-lg: 0 10px 40px rgba(0, 0, 0, 0.15);
  --radius: 16px;
  --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

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

html {
  scroll-behavior: smooth;
  scroll-padding-top: 80px;
}

body {
  font-family: 'Inter', sans-serif;
  background: var(--cream);
  color: var(--black);
  line-height: 1.7;
  overflow-x: hidden;
}

/* ---- NAVBAR ---- */
.navbar {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 1000;
  background: rgba(58, 34, 16, 0.92);
  backdrop-filter: blur(20px);
  border-bottom: 1px solid rgba(200, 163, 95, 0.3);
  transition: var(--transition);
}

.navbar.scrolled {
  background: rgba(58, 34, 16, 0.98);
  box-shadow: var(--shadow);
}

.navbar-inner {
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 12px 24px;
}

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

.navbar-logo img {
  height: 60px;
  border-radius: 50%;
}

.navbar-logo span {
  font-family: 'Cinzel', serif;
  font-size: 0.95rem;
  font-weight: 700;
  color: var(--gold);
  letter-spacing: 1px;
  line-height: 1.2;
}

.nav-links {
  display: flex;
  gap: 8px;
  list-style: none;
}

.nav-links a {
  color: var(--cream);
  text-decoration: none;
  font-size: 0.9rem;
  font-weight: 500;
  padding: 8px 16px;
  border-radius: 8px;
  transition: var(--transition);
}

.nav-links a:hover {
  background: rgba(200, 163, 95, 0.2);
  color: var(--gold);
}

.nav-cta {
  background: linear-gradient(135deg, var(--gold), var(--gold-dark)) !important;
  color: var(--brown-dark) !important;
  font-weight: 700 !important;
}

.nav-cta:hover {
  transform: translateY(-2px);
  box-shadow: 0 4px 15px rgba(200, 163, 95, 0.4);
}

.nav-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  cursor: pointer;
  padding: 8px;
}

.nav-toggle span {
  width: 25px;
  height: 2px;
  background: var(--gold);
  transition: var(--transition);
  border-radius: 2px;
}

/* ---- HERO ---- */
.hero {
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  overflow: hidden;
  background: linear-gradient(rgba(0, 0, 0, 0.6), rgba(0, 0, 0, 0.4)), url('../img/hero_bg.png') center/cover no-repeat;
}

.hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background: rgba(58, 34, 16, 0.4);
  z-index: 1;
}

.hero-content {
  position: relative;
  z-index: 2;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 60px;
  max-width: 1200px;
  width: 100%;
  padding: 120px 24px 80px;
}

.hero-logo-container {
  flex: 0 0 auto;
}

.hero-text-container {
  flex: 1;
  text-align: left;
}

.hero-logo {
  width: 540px;
  height: 540px;
  border-radius: 50%;
  border: 12px solid var(--gold);
  box-shadow: 0 0 120px rgba(200, 163, 95, 0.6);
  object-fit: cover;
  animation: logoFloat 4s ease-in-out infinite;
}

@keyframes logoFloat {

  0%,
  100% {
    transform: translateY(0);
  }

  50% {
    transform: translateY(-10px);
  }
}

.hero-institutional {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  max-width: 600px;
  margin-bottom: 24px;
  color: var(--gold-light);
  font-family: 'Cinzel', serif;
  font-size: 0.75rem;
  letter-spacing: 1px;
  font-weight: 600;
  border-bottom: 1px solid rgba(200, 163, 95, 0.3);
  padding-bottom: 12px;
}

.inst-right {
  display: flex;
  flex-direction: column;
  text-align: right;
}

.hero-badge {
  display: inline-block;
  background: rgba(200, 163, 95, 0.2);
  border: 1px solid rgba(200, 163, 95, 0.4);
  border-radius: 50px;
  padding: 8px 24px;
  color: var(--gold-light);
  font-size: 0.85rem;
  font-weight: 600;
  letter-spacing: 2px;
  text-transform: uppercase;
  margin-bottom: 20px;
}

.hero h1 {
  font-family: 'Playfair Display', serif;
  font-size: clamp(2.5rem, 6vw, 4.5rem);
  font-weight: 800;
  color: var(--white);
  line-height: 1.1;
  margin-bottom: 16px;
}

.hero h1 .gold {
  color: var(--gold);
}

.hero-subtitle {
  font-size: clamp(1rem, 2.5vw, 1.3rem);
  color: rgba(255, 255, 255, 0.8);
  margin-bottom: 12px;
  font-weight: 300;
}

.hero-date {
  font-family: 'Cinzel', serif;
  font-size: 1.4rem;
  color: var(--gold);
  font-weight: 700;
  margin-bottom: 32px;
  letter-spacing: 2px;
}

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

.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 14px 32px;
  border-radius: 12px;
  font-size: 1rem;
  font-weight: 600;
  text-decoration: none;
  cursor: pointer;
  border: none;
  transition: var(--transition);
}

.btn-primary {
  background: linear-gradient(135deg, var(--gold), var(--gold-dark));
  color: var(--brown-dark);
  box-shadow: 0 4px 20px rgba(200, 163, 95, 0.4);
}

.btn-primary:hover {
  transform: translateY(-3px);
  box-shadow: 0 8px 30px rgba(200, 163, 95, 0.5);
}

.btn-outline {
  background: transparent;
  color: var(--white);
  border: 2px solid rgba(255, 255, 255, 0.3);
}

.btn-outline:hover {
  border-color: var(--gold);
  color: var(--gold);
  background: rgba(200, 163, 95, 0.1);
}

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

.btn-outline-brown:hover {
  background: var(--brown-dark);
  color: var(--gold);
}

.hero-stats {
  display: flex;
  gap: 40px;
  justify-content: flex-start;
  margin-top: 48px;
  padding-top: 32px;
  border-top: 1px solid rgba(255, 255, 255, 0.2);
}

.stat-item {
  text-align: center;
}

.stat-number {
  font-family: 'Playfair Display', serif;
  font-size: 2.2rem;
  font-weight: 800;
  color: var(--gold);
}

.stat-label {
  font-size: 0.85rem;
  color: rgba(255, 255, 255, 0.6);
  text-transform: uppercase;
  letter-spacing: 1px;
}

.scroll-indicator {
  position: absolute;
  bottom: 30px;
  left: 50%;
  transform: translateX(-50%);
  animation: bounce 2s infinite;
}

.scroll-indicator span {
  display: block;
  width: 24px;
  height: 24px;
  border-right: 2px solid var(--gold);
  border-bottom: 2px solid var(--gold);
  transform: rotate(45deg);
}

@keyframes bounce {

  0%,
  100% {
    transform: translateX(-50%) translateY(0);
  }

  50% {
    transform: translateX(-50%) translateY(10px);
  }
}

/* ---- SECTIONS ---- */
.section {
  padding: 100px 24px;
}

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

.section-badge {
  display: inline-block;
  background: linear-gradient(135deg, rgba(200, 163, 95, 0.15), rgba(200, 163, 95, 0.05));
  border: 1px solid rgba(200, 163, 95, 0.3);
  border-radius: 50px;
  padding: 6px 20px;
  font-size: 0.8rem;
  font-weight: 600;
  color: var(--gold-dark);
  text-transform: uppercase;
  letter-spacing: 2px;
  margin-bottom: 16px;
}

.section-title {
  font-family: 'Playfair Display', serif;
  font-size: clamp(2rem, 4vw, 3rem);
  font-weight: 700;
  color: var(--brown-dark);
  margin-bottom: 16px;
}

.section-subtitle {
  font-size: 1.1rem;
  color: var(--gray);
  max-width: 600px;
  margin: 0 auto;
}

.container {
  max-width: 1200px;
  margin: 0 auto;
}

/* ---- ABOUT ---- */
.about-bg {
  background: var(--white);
}

.about-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
}

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

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

.about-image-decoration {
  position: absolute;
  top: -20px;
  left: -20px;
  right: 20px;
  bottom: 20px;
  border: 3px solid var(--gold);
  border-radius: var(--radius);
  z-index: -1;
}

.about-text h3 {
  font-family: 'Playfair Display', serif;
  font-size: 1.8rem;
  color: var(--brown-dark);
  margin-bottom: 20px;
}

.about-text p {
  color: var(--gray);
  margin-bottom: 16px;
  font-size: 1rem;
}

.about-features {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
  margin-top: 24px;
}

.feature-card {
  background: var(--cream);
  padding: 20px;
  border-radius: 12px;
  border: 1px solid var(--cream-dark);
  transition: var(--transition);
}

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

.feature-icon {
  font-size: 1.8rem;
  margin-bottom: 8px;
}

.feature-title {
  font-weight: 600;
  font-size: 0.95rem;
  color: var(--brown);
}

/* ---- TIMELINE ---- */
.timeline-bg {
  background: linear-gradient(180deg, var(--brown-dark), var(--brown));
}

.timeline-bg .section-title,
.timeline-bg .section-subtitle {
  color: var(--white);
}

.timeline-bg .section-badge {
  color: var(--gold-light);
}

.timeline {
  position: relative;
  max-width: 800px;
  margin: 0 auto;
  padding: 20px 0;
}

.timeline::before {
  content: '';
  position: absolute;
  left: 50%;
  top: 0;
  bottom: 0;
  width: 3px;
  background: linear-gradient(180deg, var(--gold), var(--gold-dark));
  transform: translateX(-50%);
}

.timeline-item {
  display: flex;
  gap: 40px;
  margin-bottom: 40px;
  position: relative;
  align-items: center;
}

.timeline-item:nth-child(even) {
  flex-direction: row-reverse;
}

.timeline-dot {
  position: absolute;
  left: 50%;
  transform: translateX(-50%);
  width: 20px;
  height: 20px;
  border-radius: 50%;
  background: var(--gold);
  border: 4px solid var(--brown-dark);
  z-index: 2;
}

.timeline-content {
  flex: 1;
  background: rgba(255, 255, 255, 0.08);
  backdrop-filter: blur(10px);
  border: 1px solid rgba(200, 163, 95, 0.2);
  border-radius: var(--radius);
  padding: 24px;
  transition: var(--transition);
}

.timeline-content:hover {
  background: rgba(255, 255, 255, 0.12);
  transform: translateY(-4px);
}

.timeline-time {
  font-family: 'Cinzel', serif;
  font-size: 0.85rem;
  color: var(--gold);
  font-weight: 700;
  letter-spacing: 1px;
  margin-bottom: 8px;
}

.timeline-content h4 {
  color: var(--white);
  font-size: 1.1rem;
  margin-bottom: 6px;
}

.timeline-content p {
  color: rgba(255, 255, 255, 0.7);
  font-size: 0.9rem;
}

/* ---- GALLERY ---- */
.gallery-carousel-wrapper {
  position: relative;
  max-width: 1000px;
  margin: 0 auto;
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow-lg);
  border: 4px solid var(--white);
}

.gallery-carousel {
  display: flex;
  transition: transform 0.6s cubic-bezier(0.4, 0, 0.2, 1);
}

.carousel-item {
  flex: 0 0 100%;
  position: relative;
  aspect-ratio: 16/9;
}

.carousel-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.carousel-caption {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  padding: 40px 20px 20px;
  background: linear-gradient(transparent, rgba(0, 0, 0, 0.8));
  color: var(--white);
  text-align: center;
}

.caption-icon {
  font-size: 2.5rem;
  margin-bottom: 8px;
}

.carousel-caption p {
  font-size: 1.1rem;
  font-weight: 600;
  text-shadow: 0 2px 4px rgba(0, 0, 0, 0.5);
}

.carousel-control {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  background: rgba(255, 255, 255, 0.2);
  backdrop-filter: blur(10px);
  border: 1px solid rgba(255, 255, 255, 0.3);
  color: var(--white);
  width: 50px;
  height: 50px;
  border-radius: 50%;
  font-size: 1.5rem;
  cursor: pointer;
  transition: var(--transition);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 10;
}

.carousel-control:hover {
  background: var(--gold);
  color: var(--brown-dark);
}

.carousel-control.prev {
  left: 20px;
}

.carousel-control.next {
  right: 20px;
}

.carousel-indicators {
  position: absolute;
  bottom: 15px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  gap: 10px;
  z-index: 10;
}

.indicator {
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.4);
  cursor: pointer;
  transition: var(--transition);
}

.indicator.active {
  background: var(--gold);
  width: 30px;
  border-radius: 10px;
}

/* ---- FOOTER INST ---- */
.footer-institutional {
  margin: 16px 0;
  font-family: 'Cinzel', serif;
  font-size: 0.85rem;
  color: var(--gold);
  line-height: 1.6;
  border-left: 2px solid var(--gold);
  padding-left: 16px;
}

/* ---- INSCRIPTION FORM ---- */
.inscription-bg {
  background: linear-gradient(170deg, var(--cream) 0%, var(--cream-dark) 100%);
}

.form-container {
  max-width: 700px;
  margin: 0 auto;
  background: var(--white);
  border-radius: var(--radius);
  box-shadow: var(--shadow-lg);
  padding: 48px;
  position: relative;
  border: 1px solid rgba(200, 163, 95, 0.2);
}

.form-container::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 4px;
  background: linear-gradient(90deg, var(--gold), var(--brown), var(--gold));
  border-radius: var(--radius) var(--radius) 0 0;
}

.form-price-badge {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  background: linear-gradient(135deg, rgba(200, 163, 95, 0.1), rgba(200, 163, 95, 0.05));
  border: 2px solid var(--gold);
  border-radius: 12px;
  padding: 16px 24px;
  margin-bottom: 32px;
  text-align: center;
}

.form-price-badge .price {
  font-family: 'Playfair Display', serif;
  font-size: 2rem;
  font-weight: 800;
  color: var(--gold-dark);
}

.form-price-badge .price-label {
  font-size: 0.9rem;
  color: var(--gray);
}

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

.form-group label {
  display: block;
  font-weight: 600;
  font-size: 0.9rem;
  color: var(--brown);
  margin-bottom: 6px;
}

.form-group label .required {
  color: var(--red);
}

.form-control {
  width: 100%;
  padding: 14px 16px;
  border: 2px solid var(--cream-dark);
  border-radius: 10px;
  font-size: 1rem;
  font-family: 'Inter', sans-serif;
  transition: var(--transition);
  background: var(--cream);
}

.form-control:focus {
  outline: none;
  border-color: var(--gold);
  box-shadow: 0 0 0 4px rgba(200, 163, 95, 0.1);
  background: var(--white);
}

.form-control::placeholder {
  color: #aaa;
}

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}

.checkbox-group {
  display: flex;
  gap: 12px;
  align-items: flex-start;
  padding: 16px;
  background: var(--cream);
  border-radius: 10px;
  margin-bottom: 16px;
  border: 1px solid var(--cream-dark);
}

.checkbox-group input[type="checkbox"] {
  width: 20px;
  height: 20px;
  margin-top: 2px;
  accent-color: var(--gold-dark);
  flex-shrink: 0;
  cursor: pointer;
}

.checkbox-group label {
  font-size: 0.85rem;
  color: var(--gray);
  line-height: 1.5;
  cursor: pointer;
  font-weight: 400 !important;
}

.btn-submit {
  width: 100%;
  padding: 16px;
  font-size: 1.1rem;
  background: linear-gradient(135deg, var(--gold), var(--gold-dark));
  color: var(--brown-dark);
  border: none;
  border-radius: 12px;
  font-weight: 700;
  cursor: pointer;
  transition: var(--transition);
  font-family: 'Inter', sans-serif;
  letter-spacing: 0.5px;
}

.btn-submit:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 30px rgba(200, 163, 95, 0.4);
}

.btn-submit:disabled {
  opacity: 0.6;
  cursor: not-allowed;
  transform: none;
}

.form-message {
  padding: 14px 20px;
  border-radius: 10px;
  margin-bottom: 20px;
  font-size: 0.9rem;
  display: none;
}

.form-message.success {
  display: block;
  background: #ECFDF5;
  color: #065F46;
  border: 1px solid #A7F3D0;
}

.form-message.error {
  display: block;
  background: #FEF2F2;
  color: #991B1B;
  border: 1px solid #FECACA;
}

/* ---- CHAPEL ---- */
.chapel-bg {
  background: linear-gradient(135deg, var(--green-dark) 0%, var(--green) 100%);
  position: relative;
}

.chapel-bg .section-title,
.chapel-bg .section-subtitle {
  color: var(--white);
}

.chapel-bg .section-badge {
  color: var(--gold-light);
  border-color: rgba(200, 163, 95, 0.4);
  background: rgba(200, 163, 95, 0.15);
}

.chapel-card {
  max-width: 800px;
  margin: 0 auto;
  background: rgba(255, 255, 255, 0.1);
  backdrop-filter: blur(20px);
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: var(--radius);
  padding: 48px;
  text-align: center;
}

.chapel-card p {
  color: rgba(255, 255, 255, 0.85);
  font-size: 1.1rem;
  margin-bottom: 24px;
  line-height: 1.8;
}

.chapel-card .btn-primary {
  font-size: 1.1rem;
  padding: 16px 40px;
}

/* ---- FOOTER ---- */
.footer {
  background: var(--brown-dark);
  color: rgba(255, 255, 255, 0.7);
  padding: 60px 24px 24px;
  position: relative;
}

.footer::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: linear-gradient(90deg, var(--gold), var(--brown), var(--gold));
}

.footer-grid {
  max-width: 1200px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 2fr 1fr 1fr;
  gap: 40px;
  margin-bottom: 40px;
}

.footer-brand {
  display: flex;
  align-items: center;
  gap: 16px;
  margin-bottom: 16px;
}

.footer-brand img {
  height: 60px;
  border-radius: 50%;
}

.footer-brand h3 {
  font-family: 'Cinzel', serif;
  color: var(--gold);
  font-size: 1.2rem;
}

.footer p {
  font-size: 0.9rem;
  line-height: 1.7;
}

.footer h4 {
  color: var(--gold);
  font-family: 'Cinzel', serif;
  margin-bottom: 16px;
  font-size: 1rem;
}

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

.footer-links li {
  margin-bottom: 8px;
}

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

.footer-links a:hover {
  color: var(--gold);
}

.footer-bottom {
  padding-top: 30px;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 20px;
  font-size: 0.85rem;
}

.footer-bottom p {
  color: rgba(255, 255, 255, 0.6);
  margin: 0;
}

.developer-credit {
  display: flex;
  align-items: center;
  gap: 10px;
  color: rgba(255, 255, 255, 0.8);
}

.developer-credit img {
  height: 32px;
  filter: brightness(0) invert(1);
  opacity: 0.8;
  transition: var(--transition);
}

.developer-credit:hover img {
  opacity: 1;
  transform: scale(1.05);
}

@media (max-width: 768px) {
  .footer-bottom {
    flex-direction: column;
    text-align: center;
    justify-content: center;
  }
}

/* ---- LOADING ---- */
.loading-overlay {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.6);
  backdrop-filter: blur(4px);
  z-index: 9999;
  display: none;
  align-items: center;
  justify-content: center;
}

.loading-overlay.active {
  display: flex;
}

.spinner {
  width: 50px;
  height: 50px;
  border: 4px solid rgba(200, 163, 95, 0.3);
  border-top-color: var(--gold);
  border-radius: 50%;
  animation: spin 0.8s linear infinite;
}

@keyframes spin {
  to {
    transform: rotate(360deg);
  }
}

/* ---- PIX MODAL ---- */
.modal-overlay {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.6);
  backdrop-filter: blur(6px);
  z-index: 9998;
  display: none;
  align-items: center;
  justify-content: center;
  padding: 24px;
}

.modal-overlay.active {
  display: flex;
}

.modal {
  background: var(--white);
  border-radius: var(--radius);
  max-width: 500px;
  width: 100%;
  padding: 40px;
  box-shadow: var(--shadow-lg);
  text-align: center;
  position: relative;
  animation: modalIn 0.3s ease;
}

@keyframes modalIn {
  from {
    transform: scale(0.9);
    opacity: 0;
  }

  to {
    transform: scale(1);
    opacity: 1;
  }
}

.modal-close {
  position: absolute;
  top: 16px;
  right: 16px;
  width: 32px;
  height: 32px;
  border-radius: 50%;
  border: none;
  background: var(--cream);
  cursor: pointer;
  font-size: 1.2rem;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: var(--transition);
}

.modal-close:hover {
  background: var(--cream-dark);
}

.modal h3 {
  font-family: 'Playfair Display', serif;
  font-size: 1.5rem;
  color: var(--brown-dark);
  margin-bottom: 8px;
}

.modal p {
  color: var(--gray);
  margin-bottom: 20px;
}

.qrcode-container {
  background: var(--white);
  border: 2px solid var(--cream-dark);
  border-radius: 12px;
  padding: 20px;
  margin-bottom: 20px;
  display: inline-block;
}

.qrcode-container img {
  max-width: 250px;
}

.pix-copy-container {
  background: var(--cream);
  border-radius: 10px;
  padding: 16px;
  margin-bottom: 20px;
}

.pix-copy-container label {
  font-size: 0.85rem;
  color: var(--gray);
  font-weight: 600;
  display: block;
  margin-bottom: 8px;
}

.pix-copy-field {
  display: flex;
  gap: 8px;
}

.pix-copy-field input {
  flex: 1;
  padding: 10px;
  border: 1px solid var(--cream-dark);
  border-radius: 8px;
  font-size: 0.85rem;
  background: var(--white);
}

.pix-copy-field button {
  padding: 10px 16px;
  background: var(--gold);
  color: var(--brown-dark);
  border: none;
  border-radius: 8px;
  font-weight: 600;
  cursor: pointer;
  transition: var(--transition);
  white-space: nowrap;
}

.pix-copy-field button:hover {
  background: var(--gold-dark);
  color: var(--white);
}

.btn-verificar {
  width: 100%;
  padding: 12px;
  background: var(--white);
  color: var(--brown);
  border: 2px solid var(--gold);
  border-radius: 8px;
  font-weight: 600;
  cursor: pointer;
  transition: var(--transition);
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
}

.btn-verificar:hover {
  background: var(--gold);
  color: var(--brown-dark);
}

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

/* ---- RESPONSIVE ---- */
@media (max-width: 968px) {
  .about-grid {
    grid-template-columns: 1fr;
    gap: 40px;
  }

  .footer-grid {
    grid-template-columns: 1fr;
    gap: 24px;
  }

  .timeline::before {
    left: 20px;
  }

  .timeline-dot {
    left: 20px;
  }

  .timeline-item,
  .timeline-item:nth-child(even) {
    flex-direction: row;
    padding-left: 50px;
  }

  .timeline-content {
    flex: 1;
  }
}

@media (max-width: 768px) {
  .nav-links {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: rgba(58, 34, 16, 0.98);
    flex-direction: column;
    padding: 16px;
  }

  .nav-links.active {
    display: flex;
  }

  .nav-toggle {
    display: flex;
  }

  .hero-content {
    flex-direction: column;
    text-align: center;
    gap: 32px;
  }

  .hero-text-container {
    text-align: center;
  }

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

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

  .hero-logo {
    width: 250px;
    height: 250px;
  }

  .hero-institutional {
    flex-direction: column;
    align-items: center;
    text-align: center;
    gap: 8px;
  }

  .inst-right {
    text-align: center;
  }

  .hero h1 {
    font-size: 2.2rem;
  }
}
@media (max-width: 768px) {
  .form-container {
    padding: 24px 16px;
  }
  .form-row {
    grid-template-columns: 1fr;
    gap: 0;
  }
}

/* ---- CONSULTATION RESULTS ---- */
.consult-card {
  display: grid;
  gap: 12px;
  text-align: left;
}
.consult-item {
  display: flex;
  justify-content: space-between;
  padding-bottom: 8px;
  border-bottom: 1px solid var(--cream-dark);
}
.consult-label {
  font-weight: 600;
  color: var(--brown);
  font-size: 0.9rem;
}
.consult-value {
  color: var(--brown-dark);
  font-weight: 700;
  font-size: 0.9rem;
}

@media (max-width: 480px) {
  .consult-item {
    flex-direction: column;
    gap: 4px;
  }
}

/* ---- CHAPEL GALLERY & LIGHTBOX ---- */
.chapel-gallery {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
  gap: 15px;
  margin: 25px 0;
}

.gallery-thumb {
  position: relative;
  border-radius: 12px;
  overflow: hidden;
  cursor: pointer;
  aspect-ratio: 1/1;
  box-shadow: var(--shadow);
  transition: var(--transition);
  border: 3px solid var(--white);
}

.gallery-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: var(--transition);
}

.thumb-overlay {
  position: absolute;
  inset: 0;
  background: rgba(58, 34, 16, 0.7);
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  transition: var(--transition);
}

.thumb-overlay span {
  color: var(--gold);
  font-weight: 600;
  font-size: 0.85rem;
  transform: translateY(10px);
  transition: var(--transition);
}

.gallery-thumb:hover {
  transform: scale(1.02);
  border-color: var(--gold);
}

.gallery-thumb:hover img {
  transform: scale(1.1);
}

.gallery-thumb:hover .thumb-overlay {
  opacity: 1;
}

.gallery-thumb:hover .thumb-overlay span {
  transform: translateY(0);
}

/* Lightbox */
.lightbox {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.95);
  z-index: 2000;
  display: none;
  align-items: center;
  justify-content: center;
  padding: 40px;
  backdrop-filter: blur(10px);
}

.lightbox.active {
  display: flex;
}

.lightbox-content {
  max-width: 90%;
  max-height: 90%;
  position: relative;
}

.lightbox-content img {
  max-width: 100%;
  max-height: 90vh;
  border-radius: 8px;
  box-shadow: 0 0 50px rgba(0,0,0,0.5);
  border: 4px solid rgba(255,255,255,0.1);
}

.lightbox-close {
  position: absolute;
  top: 30px;
  right: 30px;
  background: none;
  border: none;
  color: var(--white);
  font-size: 2rem;
  cursor: pointer;
  z-index: 2010;
  transition: var(--transition);
}

.lightbox-close:hover {
  color: var(--gold);
  transform: rotate(90deg);
}

.lightbox-nav {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  background: rgba(255, 255, 255, 0.1);
  border: 1px solid rgba(255, 255, 255, 0.2);
  color: var(--white);
  width: 60px;
  height: 60px;
  border-radius: 50%;
  font-size: 1.5rem;
  cursor: pointer;
  transition: var(--transition);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 2010;
}

.lightbox-nav:hover {
  background: var(--gold);
  color: var(--brown-dark);
}

.lightbox-nav.prev { left: 30px; }
.lightbox-nav.next { right: 30px; }

@media (max-width: 768px) {
  .lightbox-nav {
    width: 45px;
    height: 45px;
    font-size: 1.2rem;
  }
  .lightbox-nav.prev { left: 10px; }
  .lightbox-nav.next { right: 10px; }
  .lightbox-close { top: 15px; right: 15px; }
}
