/* ============================================
   Igreja Caminho do Céu
   Paleta profissional: azul-marinho + branco + cinza grafite
   Tipografia moderna (Inter)
   ============================================ */

:root {
  --navy: #0d2548;
  --navy-dark: #081a33;
  --navy-soft: #133a68;
  --accent: #2f7fd4;
  --accent-light: #e8f1fb;
  --grafite: #3a4250;
  --grafite-soft: #5a6371;
  --branco: #ffffff;
  --cinza-fundo: #f4f6f9;
  --cinza-borda: #e1e6ed;
  --dourado: #c9a227;

  --font: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Helvetica, Arial, sans-serif;

  --radius: 16px;
  --radius-sm: 10px;
  --shadow-sm: 0 2px 10px rgba(13, 37, 72, 0.06);
  --shadow: 0 10px 30px rgba(13, 37, 72, 0.10);
  --shadow-lg: 0 20px 50px rgba(13, 37, 72, 0.16);

  --header-h: 76px;
  --container: 1180px;
}

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

html {
  -webkit-text-size-adjust: 100%;
  scroll-behavior: smooth;
  scroll-padding-top: calc(var(--header-h) + 12px);
}

body {
  margin: 0;
  font-family: var(--font);
  font-size: 1rem;
  line-height: 1.65;
  color: var(--grafite);
  background: var(--branco);
  padding-top: var(--header-h);
  overflow-x: hidden;
}

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

h1, h2, h3, h4 {
  color: var(--navy);
  line-height: 1.2;
  margin: 0 0 0.6em;
  letter-spacing: -0.02em;
  font-weight: 700;
}

h1 { font-size: clamp(2rem, 7vw, 3.75rem); }
h2 { font-size: clamp(1.6rem, 4.6vw, 2.5rem); }
h3 { font-size: clamp(1.15rem, 3vw, 1.35rem); }

p { margin: 0 0 1rem; }

a {
  color: var(--accent);
  text-decoration: none;
}

a:hover { text-decoration: underline; }

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

.container {
  width: 100%;
  max-width: var(--container);
  margin: 0 auto;
  padding-left: 1.25rem;
  padding-right: 1.25rem;
}

.section {
  padding: 3.5rem 0;
}

.section-alt {
  background: var(--cinza-fundo);
}

.skip-link {
  position: absolute;
  left: -9999px;
  top: 0;
  background: var(--navy);
  color: #fff;
  padding: 0.75rem 1rem;
  z-index: 2000;
}
.skip-link:focus {
  left: 0.5rem;
  top: 0.5rem;
  border-radius: 8px;
}

/* ---------- Botões ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.55rem;
  min-height: 48px;
  padding: 0.8rem 1.4rem;
  border-radius: 100px;
  font-weight: 600;
  font-size: 0.98rem;
  line-height: 1.2;
  text-align: center;
  transition: transform 0.18s ease, box-shadow 0.18s ease, background 0.18s ease;
  border: 2px solid transparent;
  cursor: pointer;
  text-decoration: none;
}

.btn:hover { text-decoration: none; }

.btn svg {
  flex-shrink: 0;
  display: block;
}

.btn-lg {
  min-height: 54px;
  padding: 1rem 1.75rem;
  font-size: 1.02rem;
}

.btn-wa {
  background: #25D366;
  color: #fff;
  box-shadow: 0 8px 22px rgba(37, 211, 102, 0.28);
}
.btn-wa:hover { background: #1fbb59; transform: translateY(-2px); }

.btn-primary {
  background: var(--navy);
  color: #fff;
  box-shadow: 0 8px 22px rgba(13, 37, 72, 0.22);
}
.btn-primary:hover { background: var(--navy-soft); transform: translateY(-2px); }

.btn-ghost {
  background: rgba(255, 255, 255, 0.08);
  color: #fff;
  border-color: rgba(255, 255, 255, 0.55);
}
.btn-ghost:hover {
  background: rgba(255, 255, 255, 0.18);
  transform: translateY(-2px);
}

/* ---------- Header ---------- */
.site-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  background: rgba(255, 255, 255, 0.96);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--cinza-borda);
  transition: box-shadow 0.25s ease;
}

.site-header.scrolled {
  box-shadow: 0 6px 24px rgba(13, 37, 72, 0.10);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  min-height: var(--header-h);
  padding-top: 0.5rem;
  padding-bottom: 0.5rem;
}

.brand {
  display: inline-flex;
  align-items: center;
  flex-shrink: 0;
}

.brand-logo {
  width: auto;
  height: 52px;
  max-width: 190px;
  object-fit: contain;
}

.nav-toggle {
  display: inline-flex;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 46px;
  height: 46px;
  padding: 0;
  border: 1px solid var(--cinza-borda);
  border-radius: 10px;
  background: #fff;
  cursor: pointer;
}

.nav-toggle-bar {
  display: block;
  width: 22px;
  height: 2px;
  margin: 0 auto;
  background: var(--navy);
  border-radius: 2px;
  transition: transform 0.25s ease, opacity 0.2s ease;
}

.nav-toggle[aria-expanded="true"] .nav-toggle-bar:nth-child(1) {
  transform: translateY(7px) rotate(45deg);
}
.nav-toggle[aria-expanded="true"] .nav-toggle-bar:nth-child(2) {
  opacity: 0;
}
.nav-toggle[aria-expanded="true"] .nav-toggle-bar:nth-child(3) {
  transform: translateY(-7px) rotate(-45deg);
}

.main-nav {
  position: absolute;
  top: 100%;
  left: 0;
  right: 0;
  background: #fff;
  border-bottom: 1px solid var(--cinza-borda);
  box-shadow: 0 16px 30px rgba(13, 37, 72, 0.10);
  padding: 0.5rem 1.25rem 1.25rem;
  display: none;
}

.main-nav.open { display: block; }

.main-nav ul {
  display: flex;
  flex-direction: column;
  gap: 0.15rem;
  padding: 0.5rem 0;
}

.main-nav ul a {
  display: flex;
  align-items: center;
  min-height: 46px;
  padding: 0.5rem 0.25rem;
  color: var(--navy);
  font-weight: 500;
  font-size: 1rem;
  border-bottom: 1px solid var(--cinza-borda);
  text-decoration: none;
}

.main-nav ul a:hover,
.main-nav ul a:focus {
  color: var(--accent);
}

.nav-wa {
  width: 100%;
  margin-top: 0.9rem;
}

@media (min-width: 900px) {
  :root { --header-h: 84px; }

  .nav-toggle { display: none; }

  .main-nav {
    position: static;
    display: flex !important;
    align-items: center;
    gap: 1.75rem;
    background: transparent;
    border: 0;
    box-shadow: none;
    padding: 0;
    width: auto;
  }

  .main-nav ul {
    flex-direction: row;
    gap: 1.6rem;
    padding: 0;
  }

  .main-nav ul a {
    min-height: 44px;
    padding: 0.35rem 0;
    border-bottom: 2px solid transparent;
    font-size: 0.96rem;
  }

  .main-nav ul a:hover { border-bottom-color: var(--accent); }

  .nav-wa {
    width: auto;
    margin-top: 0;
    font-size: 0.92rem;
    padding: 0.7rem 1.2rem;
    min-height: 46px;
  }

  .brand-logo { height: 58px; max-width: 220px; }
}

/* ---------- Hero ---------- */
.hero {
  position: relative;
  overflow: hidden;
  background: var(--navy-dark);
  color: #fff;
  padding: 3rem 0 3.25rem;
  min-height: 70vh;
  display: flex;
  align-items: center;
}

.hero-bg {
  position: absolute;
  inset: 0;
  z-index: 0;
}

.hero-bg img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.55;
}

.hero-bg::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(160deg, rgba(8, 26, 51, 0.92) 0%, rgba(13, 37, 72, 0.82) 55%, rgba(13, 37, 72, 0.92) 100%);
}

.hero-inner {
  position: relative;
  z-index: 2;
  text-align: center;
  max-width: 860px;
}

.eyebrow {
  display: inline-block;
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: #9dc4f0;
  background: rgba(255, 255, 255, 0.10);
  border: 1px solid rgba(255, 255, 255, 0.22);
  padding: 0.42rem 0.95rem;
  border-radius: 100px;
  margin: 0 0 1.15rem;
}

.eyebrow-dark {
  color: var(--accent);
  background: var(--accent-light);
  border-color: #cfe3f7;
}

.hero h1 {
  color: #fff;
  margin-bottom: 0.45em;
  text-shadow: 0 2px 24px rgba(0, 0, 0, 0.25);
}

.hero-sub {
  font-size: clamp(1rem, 2.6vw, 1.2rem);
  color: rgba(255, 255, 255, 0.90);
  max-width: 620px;
  margin: 0 auto 1.75rem;
}

.hero-actions {
  display: flex;
  flex-direction: column;
  gap: 0.85rem;
  align-items: stretch;
  max-width: 420px;
  margin: 0 auto 2rem;
}

.hero-facts {
  display: flex;
  flex-direction: column;
  gap: 0.7rem;
  align-items: center;
  font-size: 0.95rem;
  color: rgba(255, 255, 255, 0.90);
}

.hero-facts li {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
}

.hero-facts svg {
  flex-shrink: 0;
  color: #9dc4f0;
}

@media (min-width: 700px) {
  .hero { padding: 5rem 0 5.5rem; min-height: 78vh; }
  .hero-actions {
    flex-direction: row;
    justify-content: center;
    max-width: none;
  }
  .hero-facts {
    flex-direction: row;
    justify-content: center;
    gap: 2rem;
  }
}

/* ---------- Cabeçalho de seção ---------- */
.section-head {
  max-width: 680px;
  margin: 0 auto 2.25rem;
  text-align: center;
}

.section-head h2 { margin-bottom: 0.5rem; }

.section-sub {
  color: var(--grafite-soft);
  font-size: 1.02rem;
  margin: 0;
}

/* ---------- Sobre ---------- */
.sobre-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2rem;
  align-items: center;
}

.sobre-text p { color: var(--grafite-soft); }

.check-list {
  display: grid;
  gap: 0.8rem;
  margin-top: 1.5rem;
}

.check-list li {
  display: flex;
  align-items: flex-start;
  gap: 0.7rem;
  font-weight: 500;
  color: var(--navy);
}

.check-list svg {
  flex-shrink: 0;
  color: #1f9d55;
  margin-top: 3px;
}

.sobre-media { position: relative; }

.img-rounded {
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  width: 100%;
  object-fit: cover;
}

.pastor-card {
  margin: 0;
  background: #fff;
  border-radius: var(--radius-sm);
  box-shadow: var(--shadow);
  padding: 0.9rem 1.25rem;
  border-left: 4px solid var(--accent);
  margin-top: -2rem;
  margin-left: 1rem;
  margin-right: 1rem;
  position: relative;
  z-index: 2;
}

.pastor-card figcaption {
  display: flex;
  flex-direction: column;
  gap: 0.1rem;
}

.pastor-card strong {
  color: var(--navy);
  font-size: 1rem;
}

.pastor-card span {
  color: var(--grafite-soft);
  font-size: 0.87rem;
}

@media (min-width: 900px) {
  .sobre-grid {
    grid-template-columns: 1fr 1fr;
    gap: 3.5rem;
  }
  .pastor-card { margin-top: -2.5rem; margin-left: -2rem; margin-right: 2rem; }
}

/* ---------- Cultos ---------- */
.cultos-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.5rem;
}

.culto-card {
  background: #fff;
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  border: 1px solid var(--cinza-borda);
  display: flex;
  flex-direction: column;
  transition: transform 0.22s ease, box-shadow 0.22s ease;
}

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

.culto-img img {
  width: 100%;
  height: 200px;
  object-fit: cover;
}

.culto-body {
  padding: 1.5rem;
  display: flex;
  flex-direction: column;
  flex: 1;
}

.culto-tag {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  align-self: flex-start;
  background: var(--accent-light);
  color: var(--navy);
  font-size: 0.78rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  padding: 0.35rem 0.75rem;
  border-radius: 100px;
  margin-bottom: 0.9rem;
}

.culto-body h3 { margin-bottom: 0.5rem; }

.culto-body p {
  color: var(--grafite-soft);
  font-size: 0.96rem;
}

.culto-hora {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  margin-top: auto;
  margin-bottom: 0;
  padding-top: 0.9rem;
  border-top: 1px solid var(--cinza-borda);
  color: var(--navy) !important;
  font-weight: 700;
  font-size: 1.02rem !important;
}

.culto-hora svg { color: var(--accent); flex-shrink: 0; }

.culto-card-info {
  background: linear-gradient(155deg, var(--navy) 0%, var(--navy-soft) 100%);
  border-color: transparent;
}

.culto-card-info h3 { color: #fff; }

.culto-card-info p { color: rgba(255, 255, 255, 0.85); }

.culto-card-info .culto-tag {
  background: rgba(255, 255, 255, 0.14);
  color: #fff;
}

.link-arrow {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  min-height: 44px;
  margin-top: auto;
  color: #fff;
  font-weight: 600;
  border-bottom: 1px solid rgba(255, 255, 255, 0.4);
  align-self: flex-start;
}

.link-arrow:hover { text-decoration: none; color: #9dc4f0; }
.link-arrow svg { transition: transform 0.2s ease; }
.link-arrow:hover svg { transform: translateX(4px); }

@media (min-width: 900px) {
  .cultos-grid {
    grid-template-columns: repeat(3, 1fr);
    gap: 1.75rem;
  }
  .culto-img img { height: 220px; }
}

/* ---------- Diferenciais ---------- */
.dif-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.25rem;
}

.dif-card {
  background: #fff;
  border: 1px solid var(--cinza-borda);
  border-radius: var(--radius);
  padding: 1.75rem 1.5rem;
  box-shadow: var(--shadow-sm);
  transition: transform 0.22s ease, box-shadow 0.22s ease, border-color 0.22s ease;
}

.dif-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow);
  border-color: #cfe3f7;
}

.dif-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 54px;
  height: 54px;
  border-radius: 14px;
  background: var(--accent-light);
  color: var(--navy);
  margin-bottom: 1.1rem;
}

.dif-card h3 { margin-bottom: 0.45rem; }

.dif-card p {
  color: var(--grafite-soft);
  font-size: 0.96rem;
  margin: 0;
}

@media (min-width: 900px) {
  .dif-grid { grid-template-columns: repeat(3, 1fr); gap: 1.75rem; }
}

/* ---------- Comunidade ---------- */
.comunidade-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2rem;
  align-items: center;
}

.comunidade-text p { color: var(--grafite-soft); }

.comunidade-text .btn { margin-top: 0.75rem; }

@media (min-width: 900px) {
  .comunidade-grid {
    grid-template-columns: 1fr 1fr;
    gap: 3.5rem;
  }
}

/* ---------- FAQ ---------- */
.faq-list {
  max-width: 820px;
  margin: 0 auto;
  display: grid;
  gap: 0.85rem;
}

.faq-item {
  background: #fff;
  border: 1px solid var(--cinza-borda);
  border-radius: var(--radius-sm);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
}

.faq-q {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  width: 100%;
  min-height: 60px;
  padding: 1.05rem 1.25rem;
  background: none;
  border: 0;
  text-align: left;
  font-family: inherit;
  font-size: 1rem;
  font-weight: 600;
  color: var(--navy);
  cursor: pointer;
}

.faq-q svg {
  flex-shrink: 0;
  color: var(--accent);
  transition: transform 0.25s ease;
}

.faq-q[aria-expanded="true"] svg { transform: rotate(180deg); }

.faq-a {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.3s ease;
}

.faq-a p {
  margin: 0;
  padding: 0 1.25rem 1.15rem;
  color: var(--grafite-soft);
  font-size: 0.96rem;
}

.faq-item.open .faq-a { max-height: 320px; }

/* ---------- CTA final ---------- */
.cta-final {
  background: linear-gradient(150deg, var(--navy) 0%, var(--navy-soft) 60%, #17457a 100%);
  color: #fff;
  padding: 3.75rem 0;
  scroll-margin-top: calc(var(--header-h) + 12px);
}

.cta-final-inner {
  text-align: center;
  max-width: 720px;
}

.cta-final h2 {
  color: #fff;
  margin-bottom: 0.65rem;
}

.cta-final p {
  color: rgba(255, 255, 255, 0.88);
  font-size: 1.05rem;
  margin-bottom: 1.75rem;
}

.cta-info {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  margin-top: 2rem;
  font-size: 0.95rem;
  color: rgba(255, 255, 255, 0.90);
}

.cta-info li {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.55rem;
  text-align: left;
}

.cta-info svg { flex-shrink: 0; color: #9dc4f0; }

@media (min-width: 700px) {
  .cta-info { flex-direction: row; justify-content: center; gap: 2rem; }
}

/* ---------- Footer ---------- */
.site-footer {
  background: var(--navy-dark);
  color: rgba(255, 255, 255, 0.72);
  padding: 3rem 0 1.5rem;
  font-size: 0.94rem;
}

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

.footer-logo {
  height: 58px;
  width: auto;
  max-width: 200px;
  object-fit: contain;
  background: #fff;
  border-radius: 10px;
  padding: 0.4rem 0.6rem;
  margin-bottom: 1rem;
}

.footer-brand p {
  color: rgba(255, 255, 255, 0.68);
  max-width: 340px;
  margin: 0;
}

.footer-col h3 {
  color: #fff;
  font-size: 0.86rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  margin-bottom: 1rem;
}

.footer-col ul {
  display: grid;
  gap: 0.55rem;
}

.footer-col a {
  color: rgba(255, 255, 255, 0.78);
  display: inline-flex;
  align-items: center;
  min-height: 32px;
}

.footer-col a:hover { color: #fff; }

.footer-contact li {
  display: flex;
  align-items: flex-start;
  gap: 0.6rem;
  margin-bottom: 0.75rem;
}

.footer-contact svg { flex-shrink: 0; margin-top: 4px; color: #9dc4f0; }

.footer-social {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
  margin-top: 1.15rem;
}

.footer-social a {
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
  min-height: 44px;
  color: rgba(255, 255, 255, 0.85);
  font-weight: 500;
}

.footer-social a:hover { color: #fff; text-decoration: none; }

.footer-social svg { flex-shrink: 0; }

.footer-bottom {
  margin-top: 2.5rem;
  padding-top: 1.5rem;
  border-top: 1px solid rgba(255, 255, 255, 0.12);
  display: flex;
  flex-direction: column;
  gap: 0.4rem;
  font-size: 0.85rem;
  color: rgba(255, 255, 255, 0.55);
  text-align: center;
}

.footer-bottom p { margin: 0; }

@media (min-width: 800px) {
  .footer-grid { grid-template-columns: 1.4fr 0.8fr 1fr; gap: 2.5rem; }
  .footer-bottom { flex-direction: row; justify-content: space-between; text-align: left; }
}

/* ---------- WhatsApp flutuante ---------- */
.wa-float {
  position: fixed;
  right: 1rem;
  bottom: 1rem;
  z-index: 1200;
  width: 58px;
  height: 58px;
  border-radius: 50%;
  background: #25D366;
  color: #fff;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 10px 26px rgba(37, 211, 102, 0.42);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.wa-float:hover {
  transform: scale(1.07);
  box-shadow: 0 14px 32px rgba(37, 211, 102, 0.5);
}

.wa-float svg {
  display: block;
  fill: currentColor;
}

@media (min-width: 900px) {
  .wa-float { right: 1.75rem; bottom: 1.75rem; width: 62px; height: 62px; }
}

/* ---------- Acessibilidade / preferências ---------- */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *,
  *::before,
  *::after {
    animation-duration: 0.001ms !important;
    transition-duration: 0.001ms !important;
  }
}

/* wa-icon-align */
.nav-wa,.btn-wa{display:inline-flex;align-items:center;gap:.4rem}
.nav-wa svg,.btn-wa svg{display:block;width:18px;height:18px;flex:none}
@media (min-width:1024px){.nav-wa{margin-top:0}}
