@import url('https://fonts.googleapis.com/css2?family=Cormorant+Garamond:ital,wght@0,300;0,600;1,300;1,600&family=Lato:wght@300;400;700;900&display=swap');

/* ── VARIÁVEIS ─────────────────────────────────────── */
:root {
  --teal:        #2E8A88;
  --teal-dark:   #0D3B3A;
  --teal-mid:    #1A5452;
  --silver:      #A8B4B3;
  --white:       #FFFFFF;
  --text:        #1A1A1A;
  --text-muted:  #6B7280;
  --bg-light:    #F8F9FA;
  --border:      #E8E8E8;

  --font-display: 'Cormorant Garamond', Georgia, serif;
  --font-body:    'Lato', system-ui, sans-serif;

  --z-nav:    100;
  --z-modal:  200;
  --z-skip:   999;

  --ease: cubic-bezier(0.4, 0, 0.2, 1);
  --transition: 300ms var(--ease);

  --teal-dark-rgb: 13, 59, 58;
  --teal-rgb:      46, 138, 136;
  --teal-deeper:   #0a2a2a;

  --overlay-light: rgba(0,0,0,0.3);
  --overlay-dark:  rgba(0,0,0,0.9);
}

/* ── RESET ─────────────────────────────────────────── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body { font-family: var(--font-body); color: var(--text); background: var(--white); line-height: 1.6; }
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
ul { list-style: none; }

/* ── SKIP LINK (a11y) ───────────────────────────────── */
.skip-link {
  position: absolute; top: -40px; left: 0;
  background: var(--teal); color: var(--white);
  padding: 8px 16px; z-index: var(--z-skip);
  transition: top var(--transition);
}
.skip-link:focus { top: 0; }

/* ── TIPOGRAFIA ─────────────────────────────────────── */
h1, h2, h3, h4 { font-family: var(--font-display); line-height: 1.1; }
h1 { font-size: clamp(2rem, 5vw, 3.5rem); font-weight: 300; }
h2 { font-size: clamp(1.6rem, 3vw, 2.4rem); font-weight: 600; }
h3 { font-size: clamp(1.1rem, 2vw, 1.4rem); font-weight: 600; }
p  { font-size: 1rem; line-height: 1.75; color: var(--text-muted); }

.eyebrow {
  font-family: var(--font-body);
  font-size: 0.7rem; font-weight: 700;
  letter-spacing: 0.35em; text-transform: uppercase;
  color: var(--silver);
}
.display-title em { color: var(--teal); font-style: italic; font-weight: 600; }

/* ── CONTAINER ──────────────────────────────────────── */
.container { max-width: 1200px; margin: 0 auto; padding: 0 1.5rem; }
.section { padding: 5rem 0; }
.section--dark { background: var(--teal-dark); color: var(--white); }
.section--light { background: var(--bg-light); }

/* ── BOTÕES ─────────────────────────────────────────── */
.btn {
  display: inline-flex; align-items: center; gap: 0.5rem;
  padding: 0.75rem 1.75rem;
  font-family: var(--font-body); font-size: 0.7rem;
  font-weight: 700; letter-spacing: 0.15em; text-transform: uppercase;
  border-radius: 2px; cursor: pointer;
  transition: var(--transition); border: 1.5px solid transparent;
}
.btn-primary { background: var(--teal); color: var(--white); }
.btn-primary:hover { background: var(--teal-mid); }
.btn-ghost { border-color: rgba(255,255,255,0.5); color: rgba(255,255,255,0.85); }
.btn-ghost:hover { border-color: var(--white); color: var(--white); }
.btn-outline { border-color: var(--teal-dark); color: var(--teal-dark); }
.btn-outline:hover { background: var(--teal-dark); color: var(--white); }

/* ── NAVBAR ─────────────────────────────────────────── */
.navbar {
  position: fixed; top: 0; left: 0; right: 0;
  z-index: var(--z-nav);
  padding: 1.25rem 0;
  transition: background var(--transition), padding var(--transition), backdrop-filter var(--transition);
}
.navbar.scrolled {
  background: rgba(var(--teal-dark-rgb), 0.92);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  padding: 0.75rem 0;
}
.navbar__inner {
  display: flex; align-items: center; justify-content: space-between;
}
.navbar__logo {
  display: flex; align-items: center; gap: 0.75rem;
  font-family: var(--font-display); font-size: 1.05rem; font-weight: 600;
  color: var(--white);
}
.navbar__cross {
  position: relative; width: 20px; height: 20px; flex-shrink: 0;
}
.navbar__cross::before {
  content: ''; position: absolute; left: 50%; top: 0;
  transform: translateX(-50%);
  width: 1.5px; height: 100%; background: var(--teal);
}
.navbar__cross::after {
  content: ''; position: absolute; top: 35%; left: 0;
  width: 100%; height: 1.5px; background: var(--teal);
}
.navbar__links {
  display: flex; align-items: center; gap: 2rem;
}
.navbar__link {
  font-size: 0.7rem; font-weight: 700;
  letter-spacing: 0.15em; text-transform: uppercase;
  color: rgba(255,255,255,0.7);
  transition: color var(--transition);
}
.navbar__link:hover, .navbar__link.active { color: var(--white); }
.navbar__live {
  display: inline-flex; align-items: center; gap: 0.4rem;
  background: var(--teal); color: var(--white);
  padding: 0.4rem 0.9rem; border-radius: 2px;
  font-size: 0.65rem; font-weight: 700; letter-spacing: 0.1em;
}
.navbar__live-dot {
  width: 6px; height: 6px; border-radius: 50%; background: #fff;
  animation: pulse 1.5s ease-in-out infinite;
}
@keyframes pulse { 0%,100%{opacity:1;transform:scale(1)} 50%{opacity:0.5;transform:scale(1.3)} }
.navbar__hamburger {
  display: none; flex-direction: column; gap: 5px; cursor: pointer; padding: 4px;
  background: none; border: none;
}
.navbar__hamburger span {
  display: block; width: 22px; height: 1.5px; background: var(--white);
  transition: var(--transition);
}
@media (max-width: 768px) {
  .navbar__links { display: none; position: absolute; top: 100%; left: 0; right: 0;
    flex-direction: column; gap: 0; background: var(--teal-dark); padding: 1rem 0; }
  .navbar__links.open { display: flex; }
  .navbar__link { padding: 0.75rem 1.5rem; width: 100%; }
  .navbar__hamburger { display: flex; }
}

/* ── PAGE HERO (páginas internas) ───────────────────── */
.page-hero {
  background: linear-gradient(160deg, var(--teal-dark) 0%, var(--teal-mid) 50%, var(--teal-deeper) 100%);
  padding: 8rem 0 4rem; text-align: center;
}
.page-hero .eyebrow { margin-bottom: 0.75rem; }
.page-hero h1 { color: var(--white); font-weight: 300; }
.page-hero h1 em { color: var(--teal); font-style: italic; font-weight: 600; }
.page-hero p { color: rgba(255,255,255,0.5); margin-top: 0.75rem; max-width: 480px; margin-inline: auto; }

/* ── CARDS ──────────────────────────────────────────── */
.cards-grid { display: grid; gap: 1.5rem; }
.cards-grid--3 { grid-template-columns: repeat(3, 1fr); }
.cards-grid--2 { grid-template-columns: repeat(2, 1fr); }
@media (max-width: 1024px) { .cards-grid--3 { grid-template-columns: repeat(2,1fr); } }
@media (max-width: 640px) { .cards-grid--3, .cards-grid--2 { grid-template-columns: 1fr; } }

.card {
  background: var(--white); border: 1px solid var(--border);
  border-radius: 4px; overflow: hidden;
  transition: box-shadow var(--transition), transform var(--transition);
}
.card:hover { box-shadow: 0 8px 32px rgba(var(--teal-rgb),0.12); transform: translateY(-2px); }
.card__image {
  height: 180px; background: linear-gradient(135deg, var(--teal-mid), var(--teal-dark));
  display: flex; align-items: center; justify-content: center; overflow: hidden;
}
.card__image img { width: 100%; height: 100%; object-fit: cover; }
.card__image-placeholder {
  display: flex; flex-direction: column; align-items: center; gap: 8px;
  opacity: 0.25; color: var(--white);
}
.card__image-placeholder svg { width: 32px; height: 32px; }
.card__image-placeholder span { font-size: 0.65rem; letter-spacing: 0.2em; text-transform: uppercase; }
.card__body { padding: 1.25rem; }
.card__tag {
  color: var(--teal); font-size: 0.65rem; font-weight: 700;
  letter-spacing: 0.2em; text-transform: uppercase; margin-bottom: 0.4rem;
}
.card__title { font-family: var(--font-display); color: var(--teal-dark); font-size: 1.05rem; font-weight: 600; margin-bottom: 0.4rem; }
.card__meta { color: var(--silver); font-size: 0.8rem; }

/* ── VIDEO CARD ─────────────────────────────────────── */
.video-card { background: var(--teal-dark); border-radius: 4px; overflow: hidden; cursor: pointer; }
.video-card:hover .video-card__play { transform: scale(1.1); }
.video-card__thumb {
  height: 160px; position: relative; overflow: hidden;
  background: linear-gradient(135deg, var(--teal-mid), var(--teal-deeper));
  display: flex; align-items: center; justify-content: center;
}
.video-card__thumb img { width: 100%; height: 100%; object-fit: cover; }
.video-card__play {
  position: absolute;
  width: 44px; height: 44px; border-radius: 50%;
  border: 2px solid rgba(255,255,255,0.6);
  display: flex; align-items: center; justify-content: center;
  transition: var(--transition); background: rgba(var(--teal-rgb),0.4);
}
.video-card__play::after {
  content: ''; border-left: 14px solid rgba(255,255,255,0.9);
  border-top: 8px solid transparent; border-bottom: 8px solid transparent;
  margin-left: 3px;
}
.video-card__body { padding: 0.9rem 1rem; }
.video-card__title { font-family: var(--font-display); color: var(--white); font-size: 0.95rem; font-weight: 600; margin-bottom: 0.25rem; }
.video-card__sub { color: rgba(255,255,255,0.4); font-size: 0.75rem; }

/* ── MINISTER CARD ──────────────────────────────────── */
.min-card {
  background: var(--white); border: 1px solid var(--border);
  border-left: 3px solid var(--teal); border-radius: 4px; padding: 1.25rem;
  transition: box-shadow var(--transition);
}
.min-card:hover { box-shadow: 0 4px 20px rgba(var(--teal-rgb),0.1); }
.min-card__icon {
  width: 36px; height: 36px; background: rgba(var(--teal-rgb),0.1);
  border-radius: 6px; display: flex; align-items: center; justify-content: center;
  margin-bottom: 0.75rem;
}
.min-card__icon svg { width: 18px; height: 18px; stroke: var(--teal); fill: none; stroke-width: 2; }
.min-card__title { font-family: var(--font-display); color: var(--teal-dark); font-size: 1.05rem; font-weight: 600; margin-bottom: 0.4rem; }
.min-card__desc { color: var(--text-muted); font-size: 0.875rem; line-height: 1.65; }

/* ── QUOTE BAND ─────────────────────────────────────── */
.quote-band {
  background: linear-gradient(135deg, var(--teal-dark), var(--teal-mid));
  padding: 4rem 0; text-align: center;
}
.quote-band__mark {
  font-family: var(--font-display); color: var(--teal);
  font-size: 5rem; line-height: 0.5; margin-bottom: 1.25rem;
}
.quote-band__text {
  font-family: var(--font-display); color: var(--white);
  font-size: clamp(1.2rem, 2.5vw, 1.75rem); font-style: italic;
  font-weight: 300; line-height: 1.45; max-width: 600px; margin: 0 auto 0.75rem;
}
.quote-band__ref { color: var(--silver); font-size: 0.7rem; letter-spacing: 0.3em; }

/* ── CTA BAND ───────────────────────────────────────── */
.cta-band {
  background: var(--teal); padding: 2.5rem 0;
}
.cta-band .container {
  display: flex; align-items: center; justify-content: space-between;
  flex-wrap: wrap; gap: 1rem;
}
.cta-band__text { font-family: var(--font-display); color: var(--white); font-size: 1.5rem; font-weight: 600; }
.cta-band .btn { background: var(--white); color: var(--teal); border-color: var(--white); }
.cta-band .btn:hover { background: var(--bg-light); }

/* ── FOOTER ─────────────────────────────────────────── */
.footer { background: var(--teal-dark); padding: 3.5rem 0 0; }
.footer__grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 2.5rem; padding-bottom: 2.5rem; }
@media (max-width: 768px) { .footer__grid { grid-template-columns: 1fr; } }
.footer__col-title { color: var(--teal); font-size: 0.65rem; font-weight: 700; letter-spacing: 0.25em; text-transform: uppercase; margin-bottom: 1rem; }
.footer__item { color: rgba(255,255,255,0.4); font-size: 0.85rem; margin-bottom: 0.4rem; }
.footer__item a { transition: color var(--transition); }
.footer__item a:hover { color: rgba(255,255,255,0.8); }
.footer__bottom {
  background: var(--overlay-light); padding: 1rem 0;
}
.footer__bottom .container { display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: 0.5rem; }
.footer__copy { color: rgba(255,255,255,0.2); font-size: 0.75rem; }

/* ── SECTION HEADER ─────────────────────────────────── */
.section-header { margin-bottom: 2.5rem; }
.section-header .eyebrow { margin-bottom: 0.5rem; }
.section-header h2 { color: var(--teal-dark); }
.section-header h2 em { color: var(--teal); font-style: italic; font-weight: 300; }
.section-header--center { text-align: center; }
.section--dark .section-header h2 { color: var(--white); }

/* ── EVENTO ITEM ─────────────────────────────────────── */
.event-item {
  display: flex; align-items: center; gap: 1rem;
  padding: 1rem 1.25rem; background: var(--bg-light);
  border-radius: 4px; border-left: 3px solid var(--teal);
  transition: box-shadow var(--transition);
}
.event-item:hover { box-shadow: 0 4px 16px rgba(var(--teal-rgb),0.1); }
.event-item__date { text-align: center; min-width: 44px; }
.event-item__day { font-family: var(--font-display); color: var(--teal); font-size: 1.5rem; font-weight: 600; line-height: 1; }
.event-item__month { color: var(--silver); font-size: 0.65rem; letter-spacing: 0.1em; text-transform: uppercase; }
.event-item__content { flex: 1; }
.event-item__title { font-family: var(--font-display); color: var(--teal-dark); font-size: 1rem; font-weight: 600; }
.event-item__meta { color: var(--silver); font-size: 0.8rem; margin-top: 0.2rem; }
.badge-live {
  background: var(--teal); color: var(--white);
  font-size: 0.6rem; font-weight: 700; padding: 0.25rem 0.6rem;
  border-radius: 2px; letter-spacing: 0.1em; white-space: nowrap;
}

/* ── PASTOR CARD ─────────────────────────────────────── */
.pastor-card { background: var(--white); border: 1px solid var(--border); border-radius: 4px; overflow: hidden; text-align: center; }
.pastor-card__photo {
  height: 100px; background: linear-gradient(135deg, var(--teal), var(--teal-dark));
  display: flex; align-items: center; justify-content: center;
}
.pastor-card__avatar {
  width: 56px; height: 56px; border-radius: 50%;
  border: 2px solid rgba(255,255,255,0.3); overflow: hidden;
  display: flex; align-items: center; justify-content: center;
  background: rgba(255,255,255,0.1);
}
.pastor-card__avatar img { width: 100%; height: 100%; object-fit: cover; }
.pastor-card__avatar svg { width: 24px; height: 24px; stroke: rgba(255,255,255,0.6); fill: none; stroke-width: 1.5; }
.pastor-card__body { padding: 1rem 0.75rem; }
.pastor-card__name { font-family: var(--font-display); color: var(--teal-dark); font-size: 1.05rem; font-weight: 600; }
.pastor-card__role { color: var(--teal); font-size: 0.65rem; font-weight: 700; letter-spacing: 0.2em; text-transform: uppercase; margin: 0.25rem 0 0.5rem; }
.pastor-card__bio { color: var(--text-muted); font-size: 0.8rem; line-height: 1.55; }

/* ── MODAL LIGHTBOX ─────────────────────────────────── */
.modal {
  position: fixed; inset: 0; z-index: var(--z-modal);
  background: var(--overlay-dark);
  display: flex;
  align-items: center; justify-content: center; padding: 1rem;
  visibility: hidden; opacity: 0; pointer-events: none;
  transition: opacity var(--transition), visibility var(--transition);
}
.modal.open {
  visibility: visible; opacity: 1; pointer-events: auto;
}
.modal__inner { width: 100%; max-width: 860px; position: relative; }
.modal__close {
  position: absolute; top: -2.5rem; right: 0;
  color: rgba(255,255,255,0.7); font-size: 1.5rem; cursor: pointer;
  background: none; border: none; padding: 0.25rem; line-height: 1;
}
.modal__close:hover { color: var(--white); }
.modal__video { position: relative; padding-bottom: 56.25%; height: 0; }
.modal__video iframe { position: absolute; inset: 0; width: 100%; height: 100%; }

/* ── INFO BOX ───────────────────────────────────────── */
.info-box {
  display: flex; align-items: flex-start; gap: 0.75rem;
  padding: 1rem; background: var(--bg-light); border-radius: 4px;
}
.info-box__icon {
  width: 32px; height: 32px; flex-shrink: 0;
  background: rgba(var(--teal-rgb),0.1); border-radius: 4px;
  display: flex; align-items: center; justify-content: center;
}
.info-box__icon svg { width: 16px; height: 16px; stroke: var(--teal); fill: none; stroke-width: 2; }
.info-box__label { font-size: 0.75rem; font-weight: 700; color: var(--teal-dark); margin-bottom: 0.2rem; }
.info-box__value { font-size: 0.85rem; color: var(--text-muted); }

/* ── STAT ITEM ──────────────────────────────────────── */
.stat__number { font-family: var(--font-display); color: var(--teal); font-size: 1.5rem; font-weight: 600; }
.stat__label { color: rgba(255,255,255,0.35); font-size: 0.6rem; letter-spacing: 0.3em; text-transform: uppercase; }

/* ── FILTROS PILLS ──────────────────────────────────── */
.filter-pills { display: flex; gap: 0.5rem; flex-wrap: wrap; margin-bottom: 1.5rem; }
.filter-pill {
  padding: 0.3rem 0.9rem; border-radius: 20px; border: 1px solid var(--border);
  font-size: 0.75rem; font-weight: 700; cursor: pointer;
  transition: var(--transition); background: var(--white); color: var(--text-muted);
}
.filter-pill.active, .filter-pill:hover { background: var(--teal); color: var(--white); border-color: var(--teal); }

/* ── MAP PLACEHOLDER ────────────────────────────────── */
.map-placeholder {
  height: 300px; background: #e8f4f4;
  border: 1px dashed var(--teal); border-radius: 6px;
  display: flex; align-items: center; justify-content: center;
  margin-top: 2rem; overflow: hidden;
}
.map-placeholder iframe { width: 100%; height: 100%; border: none; }

/* ── HERO ───────────────────────────────────────────── */
.hero {
  min-height: 100vh; position: relative; overflow: hidden;
  background: linear-gradient(160deg, var(--teal-dark) 0%, var(--teal-mid) 50%, var(--teal-deeper) 100%);
  display: flex; flex-direction: column; justify-content: flex-end;
}
.hero__bg {
  position: absolute; inset: -20%;
  background-size: cover; background-position: center;
  will-change: transform;
}
.hero__content {
  position: relative; z-index: 2;
  text-align: center; padding: 10rem 1rem 0;
  flex: 1; display: flex; flex-direction: column; justify-content: center; align-items: center;
}
.hero__stats {
  background: var(--overlay-light); padding: 1.25rem 0;
  border-top: 1px solid rgba(255,255,255,0.07);
  position: relative; z-index: 2;
}
.hero__stats-inner {
  display: flex; justify-content: center; gap: 3rem; flex-wrap: wrap;
}

/* ── RESPONSIVE SPLIT ───────────────────────────────── */
.responsive-split { display: grid; grid-template-columns: 1fr 1fr; gap: 3rem; align-items: start; }
@media (max-width: 768px) { .responsive-split { grid-template-columns: 1fr; } }

/* ── FOCUS VISIBLE (a11y) ───────────────────────────── */
.video-card:focus-visible,
.filter-pill:focus-visible,
.card:focus-visible,
.event-item:focus-visible,
.min-card:focus-visible,
.pastor-card:focus-visible,
.navbar__link:focus-visible,
.btn:focus-visible {
  outline: 2px solid var(--teal);
  outline-offset: 2px;
}
