/* ==========================================================================
   Paróquia São José - Jaguapitã/PR
   Paleta extraída da logo: marrom terroso + verde-oliva + tons de creme
   Tipografia: Inter (sem serifa, bem legível)
   ========================================================================== */

:root {
  /* Cores da marca (logo) */
  --brown-900: #2C1B10;
  --brown-800: #3B2415;
  --brown-700: #4A2E1A;
  --brown-500: #6B4629;
  --olive-600: #7C9330;
  --olive-500: #93AC3C;
  --olive-100: #EEF1DD;
  --cream-50:  #FDFBF7;
  --cream-100: #FAF6EE;
  --cream-200: #F1EADA;

  --text-main:  #2A2018;
  --text-muted: #6B5F53;
  --white: #FFFFFF;

  --shadow-sm: 0 1px 3px rgba(43, 27, 16, 0.08);
  --shadow-md: 0 8px 24px rgba(43, 27, 16, 0.10);
  --shadow-lg: 0 20px 45px rgba(43, 27, 16, 0.16);

  --radius-sm: 8px;
  --radius-md: 14px;
  --radius-lg: 24px;

  --container-w: 1160px;

  --font-base: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
}

/* ---------------------------------------------------------------------- */
/* Reset básico                                                          */
/* ---------------------------------------------------------------------- */
*, *::before, *::after { box-sizing: border-box; }

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

body {
  margin: 0;
  font-family: var(--font-base);
  color: var(--text-main);
  background: var(--cream-50);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

img { max-width: 100%; display: block; }

a { color: inherit; text-decoration: none; }

ul { list-style: none; margin: 0; padding: 0; }

h1, h2, h3, h4 { margin: 0 0 0.5em; font-weight: 700; line-height: 1.2; letter-spacing: -0.01em; }

p { margin: 0 0 1em; color: var(--text-muted); }

button { font-family: inherit; cursor: pointer; }

.icon { width: 22px; height: 22px; flex-shrink: 0; }

/* ---------------------------------------------------------------------- */
/* Layout util                                                           */
/* ---------------------------------------------------------------------- */
.container {
  width: 100%;
  max-width: var(--container-w);
  margin: 0 auto;
  padding: 0 24px;
}

.section { padding: 96px 0; }
.section--tight { padding: 64px 0; }
.section--alt { background: var(--cream-100); }

.section-tag {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 0.8rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--olive-600);
  margin-bottom: 14px;
}

.section-tag::before {
  content: '';
  width: 22px;
  height: 2px;
  background: var(--olive-500);
  display: inline-block;
}

.section-header {
  max-width: 640px;
  margin-bottom: 48px;
}

.section-header h2 { font-size: clamp(1.7rem, 3vw, 2.4rem); color: var(--brown-800); }

.section-header p { font-size: 1.05rem; margin-bottom: 0; }

.section-header--center { margin-left: auto; margin-right: auto; text-align: center; }

/* ---------------------------------------------------------------------- */
/* Botões                                                                */
/* ---------------------------------------------------------------------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 14px 28px;
  border-radius: 999px;
  font-weight: 600;
  font-size: 0.95rem;
  border: 2px solid transparent;
  transition: transform 0.15s ease, box-shadow 0.15s ease, background 0.15s ease, color 0.15s ease;
  white-space: nowrap;
}

.btn:hover { transform: translateY(-2px); }

.btn-primary { background: var(--olive-600); color: var(--white); box-shadow: var(--shadow-sm); }
.btn-primary:hover { background: var(--olive-500); box-shadow: var(--shadow-md); }

.btn-outline { border-color: rgba(255,255,255,0.55); color: var(--white); }
.btn-outline:hover { background: rgba(255,255,255,0.12); }

.btn-secondary { background: var(--cream-100); color: var(--brown-800); border-color: var(--cream-200); }
.btn-secondary:hover { background: var(--cream-200); }

.btn-block { width: 100%; }

/* ---------------------------------------------------------------------- */
/* Header / navegação                                                    */
/* ---------------------------------------------------------------------- */
.site-header {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 100;
  background: rgba(253, 251, 247, 0.9);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid rgba(43, 27, 16, 0.06);
}

.site-header .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 84px;
}

.brand { display: flex; align-items: center; gap: 12px; }
.brand img { height: 52px; width: auto; }
.brand-text { display: flex; flex-direction: column; line-height: 1.15; }
.brand-text strong { font-size: 1.05rem; color: var(--brown-800); }
.brand-text span { font-size: 0.78rem; color: var(--text-muted); font-weight: 500; }

.main-nav ul { display: flex; align-items: center; gap: 4px; }

.main-nav a {
  display: inline-block;
  padding: 10px 16px;
  border-radius: 999px;
  font-weight: 500;
  font-size: 0.94rem;
  color: var(--brown-700);
  transition: background 0.15s ease, color 0.15s ease;
}

.main-nav a:hover { background: var(--olive-100); color: var(--olive-600); }

.nav-cta { margin-left: 8px; }

.nav-toggle {
  display: none;
  background: transparent;
  border: none;
  padding: 8px;
  color: var(--brown-800);
}

.nav-toggle .icon { width: 26px; height: 26px; }
.nav-toggle .icon-close { display: none; }

/* ---------------------------------------------------------------------- */
/* Hero                                                                  */
/* ---------------------------------------------------------------------- */
.hero {
  position: relative;
  margin-top: 84px;
  padding: 120px 0 140px;
  background:
    linear-gradient(160deg, rgba(44, 27, 16, 0.88) 0%, rgba(74, 46, 26, 0.78) 45%, rgba(124, 147, 48, 0.55) 100%),
    linear-gradient(120deg, #4A2E1A, #6B4629);
  color: var(--white);
  overflow: hidden;
}

.hero::after {
  content: '';
  position: absolute;
  inset: 0;
  background-image: radial-gradient(circle at 15% 20%, rgba(255,255,255,0.08), transparent 40%),
                     radial-gradient(circle at 85% 80%, rgba(255,255,255,0.06), transparent 45%);
  pointer-events: none;
}

.hero .container { position: relative; z-index: 1; }

.hero-content { max-width: 680px; }

.hero-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 16px;
  border-radius: 999px;
  background: rgba(255,255,255,0.14);
  font-size: 0.82rem;
  font-weight: 600;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  margin-bottom: 24px;
}

.hero h1 {
  font-size: clamp(2.2rem, 5vw, 3.4rem);
  margin-bottom: 20px;
}

.hero p {
  color: rgba(255,255,255,0.86);
  font-size: 1.15rem;
  max-width: 560px;
  margin-bottom: 36px;
}

.hero-actions { display: flex; gap: 14px; flex-wrap: wrap; }

.hero-stats {
  display: grid;
  grid-template-columns: repeat(3, auto);
  gap: 40px;
  margin-top: 64px;
  padding-top: 32px;
  border-top: 1px solid rgba(255,255,255,0.18);
  max-width: 560px;
}

.hero-stats strong { display: block; font-size: 1.6rem; }
.hero-stats span { font-size: 0.85rem; color: rgba(255,255,255,0.7); }

/* ---------------------------------------------------------------------- */
/* Sobre                                                                 */
/* ---------------------------------------------------------------------- */
.about-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 64px;
  align-items: center;
}

.about-media {
  position: relative;
  border-radius: var(--radius-lg);
  overflow: hidden;
  aspect-ratio: 4 / 3.4;
  background: linear-gradient(150deg, var(--olive-100), var(--cream-200));
  box-shadow: var(--shadow-md);
  display: flex;
  align-items: center;
  justify-content: center;
}

.about-media img { width: 100%; height: 100%; object-fit: cover; }

.about-media-placeholder {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 12px;
  color: var(--olive-600);
  padding: 32px;
  text-align: center;
}

.about-media-placeholder .icon { width: 44px; height: 44px; }
.about-media-placeholder span { font-size: 0.85rem; color: var(--text-muted); }

.about-text p { font-size: 1.02rem; }

.about-list { display: grid; gap: 18px; margin-top: 28px; }

.about-list li {
  display: flex;
  align-items: flex-start;
  gap: 14px;
}

.about-list .icon-wrap {
  flex-shrink: 0;
  width: 40px; height: 40px;
  border-radius: 12px;
  background: var(--olive-100);
  color: var(--olive-600);
  display: flex; align-items: center; justify-content: center;
}

.about-list strong { display: block; color: var(--brown-800); margin-bottom: 2px; }
.about-list span { color: var(--text-muted); font-size: 0.92rem; }

/* ---------------------------------------------------------------------- */
/* Horários de missa                                                     */
/* ---------------------------------------------------------------------- */
.schedule-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}

.schedule-card {
  background: var(--white);
  border-radius: var(--radius-md);
  padding: 28px 24px;
  box-shadow: var(--shadow-sm);
  border: 1px solid var(--cream-200);
  transition: transform 0.15s ease, box-shadow 0.15s ease;
}

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

.schedule-card .icon-wrap {
  width: 44px; height: 44px;
  border-radius: 12px;
  background: var(--olive-100);
  color: var(--olive-600);
  display: flex; align-items: center; justify-content: center;
  margin-bottom: 18px;
}

.schedule-card h3 { font-size: 1.05rem; color: var(--brown-800); margin-bottom: 12px; }

.schedule-card ul { display: grid; gap: 8px; }

.schedule-card li {
  display: flex;
  justify-content: space-between;
  font-size: 0.92rem;
  padding-bottom: 8px;
  border-bottom: 1px dashed var(--cream-200);
  color: var(--text-muted);
}

.schedule-card li:last-child { border-bottom: none; padding-bottom: 0; }
.schedule-card li strong { color: var(--brown-700); font-weight: 600; }

.schedule-note {
  margin-top: 28px;
  display: flex;
  gap: 10px;
  align-items: flex-start;
  font-size: 0.88rem;
  color: var(--text-muted);
  background: var(--cream-100);
  border-radius: var(--radius-sm);
  padding: 14px 16px;
}

.schedule-note .icon { width: 18px; height: 18px; margin-top: 2px; color: var(--olive-600); }

/* ---------------------------------------------------------------------- */
/* Galeria (preview)                                                     */
/* ---------------------------------------------------------------------- */
.gallery-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  grid-auto-rows: 160px;
  gap: 14px;
}

.gallery-grid a { grid-column: span 1; grid-row: span 1; }
.gallery-grid a:first-child { grid-column: span 2; grid-row: span 2; }

.gallery-item {
  position: relative;
  border-radius: var(--radius-md);
  overflow: hidden;
  height: 100%;
  background: linear-gradient(150deg, var(--brown-500), var(--brown-700));
  display: flex;
  align-items: flex-end;
  color: var(--white);
}

.gallery-item img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }

.gallery-item span {
  position: relative;
  z-index: 1;
  padding: 14px;
  font-size: 0.85rem;
  font-weight: 600;
}

.gallery-item::before {
  content: '';
  position: absolute; inset: 0;
  background: linear-gradient(180deg, transparent 40%, rgba(0,0,0,0.55));
  z-index: 0;
}

.gallery-footer { margin-top: 32px; text-align: center; }

/* ---------------------------------------------------------------------- */
/* Pedido de oração                                                      */
/* ---------------------------------------------------------------------- */
.prayer-section {
  background: linear-gradient(165deg, var(--brown-800), var(--brown-700) 60%, var(--olive-600));
  color: var(--white);
  border-radius: var(--radius-lg);
  overflow: hidden;
  display: grid;
  grid-template-columns: 1fr 1fr;
}

.prayer-info { padding: 64px; }
.prayer-info .section-tag { color: var(--olive-100); }
.prayer-info .section-tag::before { background: rgba(255,255,255,0.6); }
.prayer-info h2 { color: var(--white); font-size: clamp(1.6rem, 2.6vw, 2.2rem); }
.prayer-info p { color: rgba(255,255,255,0.82); }

.prayer-points { display: grid; gap: 16px; margin-top: 32px; }
.prayer-points li { display: flex; gap: 12px; align-items: flex-start; font-size: 0.92rem; color: rgba(255,255,255,0.85); }
.prayer-points .icon { width: 18px; height: 18px; margin-top: 3px; color: var(--olive-100); flex-shrink: 0; }

.prayer-form-wrap { background: var(--cream-50); padding: 56px; }

.form-alert {
  display: flex;
  gap: 10px;
  align-items: flex-start;
  padding: 14px 16px;
  border-radius: var(--radius-sm);
  font-size: 0.9rem;
  margin-bottom: 20px;
}

.form-alert .icon { width: 18px; height: 18px; margin-top: 1px; flex-shrink: 0; }

.form-alert--success { background: var(--olive-100); color: #3E5417; }
.form-alert--error { background: #FBE7E2; color: #7A2E1B; }

.form-field { margin-bottom: 18px; }

.form-field label {
  display: block;
  font-size: 0.86rem;
  font-weight: 600;
  color: var(--brown-800);
  margin-bottom: 8px;
}

.form-field .optional { font-weight: 400; color: var(--text-muted); }

.form-field input[type="text"],
.form-field textarea {
  width: 100%;
  padding: 13px 16px;
  border-radius: var(--radius-sm);
  border: 1.5px solid var(--cream-200);
  background: var(--white);
  font-family: inherit;
  font-size: 0.96rem;
  color: var(--text-main);
  transition: border-color 0.15s ease, box-shadow 0.15s ease;
}

.form-field input[type="text"]:focus,
.form-field textarea:focus {
  outline: none;
  border-color: var(--olive-500);
  box-shadow: 0 0 0 4px rgba(147, 172, 60, 0.16);
}

.form-field textarea { resize: vertical; min-height: 130px; }

.form-hint { font-size: 0.78rem; color: var(--text-muted); margin-top: 6px; text-align: right; }

.form-honeypot { position: absolute; left: -9999px; opacity: 0; height: 0; overflow: hidden; }

.form-privacy {
  display: flex;
  gap: 8px;
  font-size: 0.8rem;
  color: var(--text-muted);
  margin-top: 16px;
}

.form-privacy .icon { width: 16px; height: 16px; margin-top: 1px; color: var(--olive-600); flex-shrink: 0; }

/* ---------------------------------------------------------------------- */
/* Localização                                                           */
/* ---------------------------------------------------------------------- */
.location-grid {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: 40px;
  align-items: stretch;
}

.location-card {
  background: var(--white);
  border-radius: var(--radius-lg);
  padding: 40px;
  box-shadow: var(--shadow-sm);
  border: 1px solid var(--cream-200);
}

.location-item { display: flex; gap: 16px; margin-bottom: 24px; }
.location-item:last-child { margin-bottom: 0; }

.location-item .icon-wrap {
  width: 44px; height: 44px;
  border-radius: 12px;
  background: var(--olive-100);
  color: var(--olive-600);
  display: flex; align-items: center; justify-content: center;
  flex-shrink: 0;
}

.location-item strong { display: block; color: var(--brown-800); margin-bottom: 4px; }
.location-item span, .location-item a { color: var(--text-muted); font-size: 0.94rem; }
.location-item a:hover { color: var(--olive-600); }

.map-frame {
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  border: 1px solid var(--cream-200);
  min-height: 380px;
}

.map-frame iframe { width: 100%; height: 100%; min-height: 380px; border: 0; }

/* ---------------------------------------------------------------------- */
/* Contato                                                                */
/* ---------------------------------------------------------------------- */
.contact-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}

.contact-card {
  background: var(--white);
  border-radius: var(--radius-md);
  padding: 28px;
  text-align: center;
  border: 1px solid var(--cream-200);
  box-shadow: var(--shadow-sm);
  transition: transform 0.15s ease, box-shadow 0.15s ease;
}

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

.contact-card .icon-wrap {
  width: 52px; height: 52px;
  border-radius: 14px;
  background: var(--olive-100);
  color: var(--olive-600);
  display: flex; align-items: center; justify-content: center;
  margin: 0 auto 16px;
}

.contact-card h3 { font-size: 1rem; color: var(--brown-800); margin-bottom: 6px; }
.contact-card p { margin-bottom: 0; font-size: 0.92rem; }
.contact-card a { color: var(--olive-600); font-weight: 600; }

/* ---------------------------------------------------------------------- */
/* Footer                                                                */
/* ---------------------------------------------------------------------- */
.site-footer {
  background: var(--brown-900);
  color: rgba(255,255,255,0.75);
  padding: 64px 0 28px;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr;
  gap: 48px;
  padding-bottom: 40px;
  border-bottom: 1px solid rgba(255,255,255,0.1);
}

.footer-brand { display: flex; gap: 12px; align-items: center; margin-bottom: 16px; }
.footer-brand img { height: 46px; }
.footer-brand strong { color: var(--white); font-size: 1.05rem; display: block; }
.footer-brand span { font-size: 0.8rem; color: rgba(255,255,255,0.55); }

.footer-col h4 {
  color: var(--white);
  font-size: 0.85rem;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  margin-bottom: 18px;
}

.footer-col ul { display: grid; gap: 12px; }
.footer-col a { font-size: 0.92rem; color: rgba(255,255,255,0.72); transition: color 0.15s ease; }
.footer-col a:hover { color: var(--olive-500); }

.footer-social { display: flex; gap: 10px; margin-top: 18px; }
.footer-social a {
  width: 38px; height: 38px;
  border-radius: 50%;
  background: rgba(255,255,255,0.08);
  display: flex; align-items: center; justify-content: center;
  color: var(--white);
}
.footer-social a:hover { background: var(--olive-600); }
.footer-social .icon { width: 18px; height: 18px; }

.footer-bottom {
  padding-top: 24px;
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 10px;
  font-size: 0.82rem;
  color: rgba(255,255,255,0.5);
}

/* ---------------------------------------------------------------------- */
/* Animação de entrada ao rolar                                          */
/* ---------------------------------------------------------------------- */
[data-reveal] {
  opacity: 0;
  transform: translateY(18px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}

[data-reveal].is-visible { opacity: 1; transform: translateY(0); }

.site-header.is-scrolled { box-shadow: var(--shadow-sm); }

/* ---------------------------------------------------------------------- */
/* Responsivo                                                             */
/* ---------------------------------------------------------------------- */
@media (max-width: 960px) {
  .about-grid,
  .location-grid,
  .prayer-section { grid-template-columns: 1fr; }

  .prayer-info { padding: 48px 40px; }
  .prayer-form-wrap { padding: 40px; }

  .schedule-grid,
  .contact-grid { grid-template-columns: 1fr 1fr; }

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

  .gallery-grid { grid-template-columns: repeat(3, 1fr); grid-auto-rows: 140px; }
}

@media (max-width: 720px) {
  .main-nav { position: fixed; top: 84px; left: 0; right: 0; bottom: 0; background: var(--cream-50); padding: 24px; transform: translateY(-12px); opacity: 0; pointer-events: none; transition: opacity 0.2s ease, transform 0.2s ease; overflow-y: auto; }
  .main-nav.is-open { opacity: 1; transform: translateY(0); pointer-events: auto; }
  .main-nav ul { flex-direction: column; align-items: stretch; gap: 4px; }
  .main-nav a { padding: 16px; font-size: 1.05rem; }
  .nav-cta { margin-left: 0; margin-top: 12px; }
  .nav-cta .btn { width: 100%; }
  .nav-toggle { display: inline-flex; }
  .nav-toggle.is-active .icon-menu { display: none; }
  .nav-toggle.is-active .icon-close { display: block; }

  .hero { padding: 88px 0 96px; }
  .hero-stats { grid-template-columns: 1fr 1fr; row-gap: 24px; }

  .section { padding: 64px 0; }

  .schedule-grid, .contact-grid { grid-template-columns: 1fr; }
  .gallery-grid { grid-template-columns: repeat(2, 1fr); grid-auto-rows: 130px; }
  .gallery-grid a:first-child { grid-column: span 2; grid-row: span 1; }

  .footer-grid { grid-template-columns: 1fr; }
  .footer-bottom { flex-direction: column; }

  .prayer-info, .prayer-form-wrap { padding: 32px 24px; }
}
