@import url('https://fonts.googleapis.com/css2?family=Roboto:wght@300;400;500;700;900&family=Lato:wght@300;400;700;900&family=Lobster&display=swap');

:root {
  --red:      #e43f3f;
  --red-dark: #b31919;
  --black:    #232323;
  --dark:     #111111;
  --white:    #ffffff;
  --gray:     #6b6b6b;
  --gray-light: #f5f5f5;
  --border:   #e0e0e0;
  --font-body: 'Roboto', sans-serif;
  --font-alt:  'Lato', sans-serif;
  --font-display: 'Lobster', cursive;
  --radius: 4px;
  --shadow: 0 2px 12px rgba(0,0,0,.1);
  --shadow-lg: 0 6px 30px rgba(0,0,0,.18);
  --nav-height: 88px;
}

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body { font-family: var(--font-body); color: var(--black); background: var(--white); line-height: 1.6; font-size: 16px; }
img { max-width: 100%; display: block; }
a { color: var(--red); text-decoration: none; transition: color .2s; }
a:hover { color: var(--red-dark); }
h1,h2,h3,h4,h5 { line-height: 1.3; font-weight: 700; }

/* ── WHATSAPP FLUTUANTE ─────────────────────────────── */
.whatsapp-float {
  position: fixed;
  width: 60px; height: 60px;
  bottom: 40px; right: 40px;
  background: #25d366;
  color: #fff;
  border-radius: 50px;
  text-align: center;
  font-size: 30px;
  box-shadow: 1px 1px 8px rgba(0,0,0,.25);
  z-index: 1000;
  display: flex; align-items: center; justify-content: center;
  transition: transform .2s, box-shadow .2s;
}
.whatsapp-float:hover { color: #fff; transform: scale(1.08); box-shadow: 2px 4px 16px rgba(0,0,0,.3); }

/* ── NAVBAR ─────────────────────────────────────────── */
.site-header { position: sticky; top: 0; z-index: 200; background: var(--white); box-shadow: 0 2px 8px rgba(0,0,0,.1); overflow: visible; }
.nav-wrap { display: flex; align-items: center; justify-content: space-between; padding: 0 40px; height: var(--nav-height); max-width: 1400px; margin: 0 auto; overflow: visible; }
.nav-logo img { height: 5rem; max-width: 220px; object-fit: contain; }
.nav-links { display: flex; align-items: center; gap: 4px; overflow: visible; }
.nav-links a { font-family: var(--font-alt); font-size: .9rem; font-weight: 400; color: var(--black); padding: 8px 14px; border-radius: var(--radius); white-space: nowrap; transition: color .2s; }
.nav-links a:hover { color: var(--red); }
.nav-links a.active { color: var(--red); }
.nav-btn-live { display: inline-flex; align-items: center; gap: 6px; background: var(--white); border: 2px solid var(--black); color: var(--black) !important; padding: 7px 16px !important; border-radius: var(--radius); font-weight: 700 !important; font-size: .85rem !important; transition: all .2s !important; }
.nav-btn-live:hover { background: var(--black) !important; color: var(--white) !important; }
.hamburger { display: none; flex-direction: column; justify-content: center; gap: 5px; cursor: pointer; background: none; border: none; padding: 8px; min-width: 40px; min-height: 40px; }
.hamburger span { display: block; width: 26px; height: 2.5px; background: var(--black); border-radius: 2px; transition: all .3s; pointer-events: none; }
.mobile-nav { display: none; background: var(--white); border-top: 2px solid var(--border); overflow-y: auto; max-height: 80vh; }
.mobile-nav.open { display: block; }
.mobile-nav a { display: block; padding: 14px 20px; font-size: 1rem; color: var(--black); border-bottom: 1px solid var(--border); font-weight: 500; text-decoration: none; }
.mobile-nav a:last-child { border-bottom: none; }
.mobile-nav a:active { background: var(--gray-light); color: var(--red); }
.mobile-nav div { padding: 10px 20px 4px; font-size: .72rem; font-weight: 700; text-transform: uppercase; letter-spacing: .08em; color: var(--gray); background: var(--gray-light); }

/* ── HERO CAROUSEL ──────────────────────────────────── */
.hero-carousel { position: relative; width: 100%; overflow: hidden; }
.hero-slide { display: none; position: relative; }
.hero-slide.active { display: block; }
.hero-slide img { width: 100%; height: 85vh; object-fit: cover; }
.hero-overlay { position: absolute; inset: 0; background: rgba(0,0,0,.52); }
.hero-caption {
  position: absolute; inset: 0;
  display: flex; flex-direction: column;
  align-items: center; justify-content: center;
  text-align: center; padding: 0 20px;
  animation: fadeUp .6s ease both;
}
.hero-caption h2 { font-size: clamp(1.8rem, 4.5vw, 3.2rem); color: var(--white); margin-bottom: 16px; font-weight: 900; line-height: 1.2; text-shadow: 0 2px 8px rgba(0,0,0,.4); }
.hero-caption p { font-size: clamp(.9rem, 1.8vw, 1.15rem); color: rgba(255,255,255,.88); max-width: 700px; line-height: 1.7; }
.carousel-indicators { position: absolute; bottom: 20px; left: 50%; transform: translateX(-50%); display: flex; gap: 8px; }
.carousel-dot { width: 10px; height: 10px; border-radius: 50%; background: rgba(255,255,255,.5); border: none; cursor: pointer; transition: background .2s; }
.carousel-dot.active { background: var(--white); }
.carousel-ctrl { position: absolute; top: 50%; transform: translateY(-50%); background: rgba(255,255,255,.15); border: 2px solid rgba(255,255,255,.5); color: var(--white); width: 46px; height: 46px; border-radius: 50%; display: flex; align-items: center; justify-content: center; cursor: pointer; font-size: 1.3rem; transition: background .2s; }
.carousel-ctrl:hover { background: rgba(255,255,255,.3); }
.carousel-ctrl.prev { left: 20px; }
.carousel-ctrl.next { right: 20px; }

/* ── SEÇÕES GERAIS ──────────────────────────────────── */
section { padding: 70px 40px; }
.container { max-width: 1200px; margin: 0 auto; }
.section-title { font-size: clamp(1.6rem, 3vw, 2.2rem); color: var(--black); margin-bottom: 10px; text-align: center; }
.section-sub { font-size: 1rem; color: var(--gray); text-align: center; margin-bottom: 40px; max-width: 620px; margin-left: auto; margin-right: auto; }

/* ── ÍCONES RÁPIDOS (pós-hero) ──────────────────────── */
.quick-icons { background: var(--gray-light); padding: 40px 40px; border-bottom: 1px solid var(--border); }
.quick-icons .container { display: grid; grid-template-columns: repeat(auto-fit, minmax(160px,1fr)); gap: 20px; }
.qi-item { text-align: center; padding: 20px; background: var(--white); border-radius: var(--radius); border: 1px solid var(--border); transition: box-shadow .2s, transform .2s; cursor: pointer; }
.qi-item:hover { box-shadow: var(--shadow); transform: translateY(-3px); }
.qi-item .qi-icon { font-size: 3.5rem; margin-bottom: 12px; display: block; }
.qi-item h4 { font-size: .85rem; font-weight: 700; color: var(--black); letter-spacing: .05em; text-transform: uppercase; }

/* ── VERSÍCULO DESTAQUE ─────────────────────────────── */
.verse-section { background: var(--black); padding: 48px 40px; text-align: center; }
.verse-section blockquote { font-family: var(--font-display); font-size: clamp(1.3rem, 2.5vw, 2rem); color: var(--white); line-height: 1.6; max-width: 800px; margin: 0 auto; }
.verse-section cite { display: block; margin-top: 14px; font-family: var(--font-alt); font-style: italic; font-size: 1rem; color: rgba(255,255,255,.6); font-size: .95rem; }

/* ── NOTÍCIAS / CARDS ───────────────────────────────── */
.news-section { background: var(--white); }
.news-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(300px, 1fr)); gap: 28px; }
.news-card { border: 1px solid var(--border); border-radius: var(--radius); overflow: hidden; display: flex; flex-direction: column; transition: box-shadow .25s, transform .25s; }
.news-card:hover { box-shadow: var(--shadow-lg); transform: translateY(-4px); }
.news-card-img { height: 200px; overflow: hidden; background: var(--gray-light); }
.news-card-img img { width: 100%; height: 100%; object-fit: cover; transition: transform .35s; }
.news-card:hover .news-card-img img { transform: scale(1.04); }
.news-card-body { padding: 20px; flex: 1; display: flex; flex-direction: column; }
.news-card-body h5 { font-size: 1.05rem; font-weight: 700; color: var(--black); margin-bottom: 10px; line-height: 1.4; }
.news-card-body p { font-size: .9rem; color: var(--gray); flex: 1; line-height: 1.7; margin-bottom: 16px; display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; }
.news-card-footer { padding: 0 20px 20px; }

/* ── BOTÕES ─────────────────────────────────────────── */
.btn { display: inline-flex; align-items: center; gap: 7px; padding: 10px 22px; border-radius: var(--radius); font-family: var(--font-body); font-size: .9rem; font-weight: 700; border: 2px solid transparent; cursor: pointer; transition: all .2s; text-decoration: none; line-height: 1.4; }
.btn-red { background: var(--red); color: var(--white); border-color: var(--red); }
.btn-red:hover { background: var(--red-dark); border-color: var(--red-dark); color: var(--white); }
.btn-outline-red { background: transparent; color: var(--red); border-color: var(--red); }
.btn-outline-red:hover { background: var(--red); color: var(--white); }
.btn-black { background: var(--black); color: var(--white); border-color: var(--black); }
.btn-black:hover { background: #444; border-color: #444; color: var(--white); }
.btn-white { background: var(--white); color: var(--black); border-color: var(--white); }
.btn-white:hover { background: transparent; color: var(--white); }
.btn-sm { padding: 7px 16px; font-size: .82rem; }

/* ── PALAVRA DO DIA / VÍDEO ─────────────────────────── */
.video-section { background: var(--gray-light); }
.video-section .container { display: grid; grid-template-columns: 1fr 1fr; gap: 48px; align-items: center; }
.video-embed { border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow-lg); aspect-ratio: 16/9; }
.video-embed iframe { width: 100%; height: 100%; border: 0; display: block; }
.video-text h2 { font-family: var(--font-display); font-size: 2.2rem; color: var(--black); margin-bottom: 16px; }
.video-text p { color: var(--gray); font-size: .95rem; line-height: 1.8; margin-bottom: 20px; }

/* ── TESTEMUNHOS ────────────────────────────────────── */
.testimonials-section { background: var(--white); }
.testimonials-slider { position: relative; overflow: hidden; }
.testimonials-track { display: flex; transition: transform .5s ease; }
.testimonial-slide { min-width: 100%; padding: 0 20px; text-align: center; }
.testimonial-img { width: 120px; height: 120px; border-radius: 50%; object-fit: cover; margin: 0 auto 20px; border: 4px solid var(--red); }
.testimonial-text { font-size: 1rem; color: var(--gray); line-height: 1.8; max-width: 700px; margin: 0 auto 20px; font-style: italic; }
.testimonial-name { font-weight: 700; font-size: 1.05rem; color: var(--black); }
.testimonial-church { font-size: .85rem; color: var(--gray); text-transform: uppercase; letter-spacing: .07em; }
.slider-arrows { display: flex; justify-content: center; gap: 12px; margin-top: 28px; }
.slider-arrows button { width: 40px; height: 40px; border-radius: 50%; border: 2px solid var(--border); background: var(--white); cursor: pointer; font-size: 1rem; transition: all .2s; display: flex; align-items: center; justify-content: center; }
.slider-arrows button:hover { border-color: var(--red); color: var(--red); }

/* ── GALERIA ────────────────────────────────────────── */
.gallery-section { background: var(--black); }
.gallery-section .section-title { color: var(--white); }
.gallery-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(300px, 1fr)); gap: 4px; }
.gallery-item { position: relative; aspect-ratio: 4/3; overflow: hidden; cursor: pointer; }
.gallery-item img { width: 100%; height: 100%; object-fit: cover; transition: transform .35s; }
.gallery-item:hover img { transform: scale(1.08); }
.gallery-overlay { position: absolute; inset: 0; background: rgba(0,0,0,.45); display: flex; align-items: center; justify-content: center; opacity: 0; transition: opacity .3s; }
.gallery-overlay span { color: var(--white); font-size: 2rem; }
.gallery-item:hover .gallery-overlay { opacity: 1; }

/* ── CONTATO ────────────────────────────────────────── */
.contact-section { background: var(--white); }
.contact-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 48px; }
.contact-info { display: flex; flex-direction: column; gap: 20px; }
.contact-item { display: flex; gap: 14px; align-items: flex-start; }
.contact-icon { width: 46px; height: 46px; border-radius: 50%; background: var(--red); color: var(--white); display: flex; align-items: center; justify-content: center; font-size: 1.2rem; flex-shrink: 0; }
.contact-label { font-size: .75rem; font-weight: 700; text-transform: uppercase; letter-spacing: .08em; color: var(--gray); margin-bottom: 3px; }
.contact-val { font-weight: 600; color: var(--black); font-size: .95rem; }
.contact-val a { color: var(--black); }
.contact-val a:hover { color: var(--red); }
.map-wrap { border-radius: var(--radius); overflow: hidden; border: 1px solid var(--border); }
.map-wrap iframe { width: 100%; height: 300px; border: 0; display: block; }
.contact-form input, .contact-form textarea, .contact-form select { width: 100%; padding: 12px 16px; border: 1.5px solid var(--border); border-radius: var(--radius); font-family: var(--font-body); font-size: .9rem; color: var(--black); background: var(--white); outline: none; transition: border-color .2s; margin-bottom: 14px; }
.contact-form input:focus, .contact-form textarea:focus { border-color: var(--red); }
.contact-form textarea { min-height: 130px; resize: vertical; }

/* ── REDES SOCIAIS ──────────────────────────────────── */
.social-section { background: var(--black); padding: 60px 40px; text-align: center; }
.social-section h2 { color: var(--white); font-size: 2rem; margin-bottom: 28px; }
.social-icons { display: flex; justify-content: center; gap: 16px; flex-wrap: wrap; }
.social-btn { width: 54px; height: 54px; border-radius: 50%; display: flex; align-items: center; justify-content: center; font-size: 1.4rem; color: var(--white); transition: transform .2s, opacity .2s; }
.social-btn:hover { transform: scale(1.12); opacity: .85; color: var(--white); }
.soc-fb { background: #1877f2; }
.soc-ig { background: linear-gradient(45deg, #f09433,#e6683c,#dc2743,#cc2366,#bc1888); }
.soc-yt { background: #ff0000; }
.soc-wa { background: #25d366; }

/* ── FOOTER ─────────────────────────────────────────── */
.site-footer { background: var(--dark); color: rgba(255,255,255,.65); padding: 60px 40px 24px; }
.footer-grid { display: grid; grid-template-columns: 2fr 1fr 1fr 1fr; gap: 40px; max-width: 1200px; margin: 0 auto 40px; }
.footer-logo img { height: 3.2rem; margin-bottom: 16px; filter: brightness(0) invert(1); }
.footer-about { font-size: .87rem; line-height: 1.8; }
.footer-soc { display: flex; gap: 10px; margin-top: 16px; flex-wrap: wrap; }
.footer-soc a { color: rgba(255,255,255,.5); font-size: 1.2rem; transition: color .2s; }
.footer-soc a:hover { color: var(--red); }
.footer-col h5 { color: var(--white); font-size: .9rem; font-weight: 700; text-transform: uppercase; letter-spacing: .07em; margin-bottom: 16px; border-bottom: 2px solid var(--red); padding-bottom: 8px; display: inline-block; }
.footer-col ul { list-style: none; }
.footer-col ul li { margin-bottom: 9px; }
.footer-col ul a { color: rgba(255,255,255,.55); font-size: .87rem; transition: color .2s; }
.footer-col ul a:hover { color: var(--red); padding-left: 4px; }
.footer-bottom { border-top: 1px solid rgba(255,255,255,.08); padding-top: 20px; text-align: center; font-size: .78rem; color: rgba(255,255,255,.35); max-width: 1200px; margin: 0 auto; }
.footer-bottom a { color: rgba(255,255,255,.4); }
.footer-bottom a:hover { color: var(--red); }

/* ── ALERTAS ────────────────────────────────────────── */
.alert { padding: 13px 18px; border-radius: var(--radius); margin-bottom: 18px; font-size: .9rem; font-weight: 600; }
.alert-success { background: #d1fae5; color: #065f46; border: 1px solid #a7f3d0; }
.alert-danger  { background: #fee2e2; color: #991b1b; border: 1px solid #fca5a5; }

/* ── PÁGINAS INTERNAS (sobre, sermões, etc.) ────────── */
.page-hero { background: var(--black); padding: 60px 40px; text-align: center; position: relative; overflow: hidden; }
.page-hero::after { content: ''; position: absolute; inset: 0; background: url('') center/cover; opacity: .15; }
.page-hero h1 { color: var(--white); font-size: clamp(1.8rem, 4vw, 2.8rem); position: relative; z-index: 1; }
.page-hero p  { color: rgba(255,255,255,.65); margin-top: 10px; position: relative; z-index: 1; }
.breadcrumb { display: flex; justify-content: center; gap: 8px; margin-top: 14px; font-size: .82rem; color: rgba(255,255,255,.45); position: relative; z-index: 1; }
.breadcrumb a { color: var(--red); }
.breadcrumb span { color: rgba(255,255,255,.3); }

/* ── ANIMAÇÕES ──────────────────────────────────────── */
@keyframes fadeUp { from { opacity: 0; transform: translateY(20px); } to { opacity: 1; transform: translateY(0); } }


/* ═══════════════════════════════════════════════════
   RESPONSIVIDADE COMPLETA — Tablet e Mobile
   1200 | 992 | 768 | 576 | 400
═══════════════════════════════════════════════════ */

@media (max-width: 1200px) {
  .container { padding: 0 24px; }
  .footer-grid { grid-template-columns: 1.5fr 1fr 1fr 1fr; gap: 28px; }
}

@media (max-width: 992px) {
  .nav-links { display: none !important; }
  .nav-dropdown-wrap { display: none !important; }
  .hamburger { display: flex !important; }
  .nav-wrap { padding: 0 16px; height: 68px; }
  section { padding: 56px 24px; }
  .quick-icons { padding: 32px 24px; }
  .quick-icons .container { grid-template-columns: repeat(3,1fr); gap: 12px; }
  .sobre-grid { grid-template-columns: 1fr; gap: 32px; }
  .video-section .container { grid-template-columns: 1fr; gap: 32px; }
  .contact-grid { grid-template-columns: 1fr; gap: 32px; }
  .footer-grid { grid-template-columns: 1fr 1fr; gap: 28px; }
  .site-footer { padding: 48px 24px 20px; }
  .news-grid { grid-template-columns: repeat(2,1fr); }
}

@media (max-width: 768px) {
  :root { --nav-height: 64px; }
  section { padding: 48px 16px; }

  /* Hero */
  .hero-slide img { height: 60vh; min-height: 320px; }
  .hero-caption { padding: 0 16px; }
  .hero-caption h2 { font-size: clamp(1.3rem,6vw,2rem); }
  .hero-caption p { font-size: .88rem; }
  .hero-btns { flex-direction: column; align-items: center; }
  .btn-hero { width: 100%; max-width: 280px; justify-content: center; font-size: .9rem; padding: 11px 20px; }
  .carousel-ctrl { width: 34px; height: 34px; font-size: .9rem; }
  .carousel-ctrl.prev { left: 8px; }
  .carousel-ctrl.next { right: 8px; }

  /* Horários */
  .horarios-wrap { flex-wrap: wrap; }
  .horario-item { min-width: 50%; border-right: none; border-bottom: 1px solid rgba(255,255,255,.2); padding: 14px; }
  .horario-item:nth-child(odd) { border-right: 1px solid rgba(255,255,255,.2); }
  .horario-hora { font-size: 1.2rem; }

  /* Ícones rápidos */
  .quick-icons .container { grid-template-columns: repeat(3,1fr); gap: 8px; }
  .qi-item { padding: 12px 6px; }
  .qi-item .qi-icon { font-size: 2rem; margin-bottom: 6px; }
  .qi-item h4 { font-size: .72rem; }

  /* Cards */
  .news-grid { grid-template-columns: 1fr; }
  .news-card-img { height: 200px; }

  /* Galeria */
  .gallery-grid { grid-template-columns: repeat(2,1fr); gap: 4px; }

  /* Testemunhos */
  .testimonial-img { width: 90px; height: 90px; }
  .testimonial-text { font-size: .9rem; }

  /* Contato — evita zoom no iOS ao focar input */
  .contact-form input,
  .contact-form textarea,
  .contact-form select { font-size: 16px; }

  /* Social */
  .social-section { padding: 48px 16px; }
  .social-btn { width: 48px; height: 48px; font-size: 1.2rem; }

  /* Footer */
  .footer-grid { grid-template-columns: 1fr; gap: 24px; }
  .site-footer { padding: 40px 16px 16px; }
  .footer-bottom { flex-direction: column; gap: 8px; }

  /* Page hero */
  .page-hero { padding: 50px 16px; }
  .page-hero h1 { font-size: clamp(1.4rem,6vw,2rem); }
  .breadcrumb { flex-wrap: wrap; justify-content: center; font-size: .73rem; }

  /* Dropdown desabilitado — usa hamburger */
  .nav-dropdown-menu { display: none !important; }

  /* Grids inline com estilo fixo */
  .contact-grid,
  .video-section .container { grid-template-columns: 1fr !important; }
}

@media (max-width: 576px) {
  /* Hero */
  .hero-slide img { height: 52vh; min-height: 260px; }
  .hero-caption h2 { font-size: 1.25rem; }

  /* Horários — coluna única */
  .horario-item { min-width: 100%; border-right: none !important; }

  /* Ícones — 2 colunas */
  .quick-icons .container { grid-template-columns: repeat(2,1fr); }

  /* Galeria — 1 coluna */
  .gallery-grid { grid-template-columns: 1fr; }

  /* Versículo */
  .verse-section { padding: 36px 16px; }
  .verse-section blockquote { font-size: 1.05rem; }

  /* Social menor */
  .social-btn { width: 44px; height: 44px; font-size: 1rem; }
}

@media (max-width: 400px) {
  section { padding: 36px 12px; }
  .page-hero { padding: 36px 12px; }
  .hero-slide img { height: 46vh; min-height: 240px; }
  .hero-caption h2 { font-size: 1.1rem; }
  .quick-icons .container { grid-template-columns: repeat(2,1fr); gap: 6px; }
  .qi-item { padding: 10px 4px; }
  .qi-item .qi-icon { font-size: 1.6rem; }
  .qi-item h4 { font-size: .65rem; }
}

/* Touch — remove hover animations */
@media (hover: none) {
  .news-card:hover { transform: none; box-shadow: var(--shadow); }
  .gallery-item:hover img { transform: none; }
  .gallery-item:hover .gallery-overlay { opacity: 1; }
}

/* Swipe no carousel */
.hero-carousel { touch-action: pan-y; }
.testimonials-track { touch-action: pan-y; }

/* ── RESPONSIVIDADE DE PÁGINAS INTERNAS ────────────── */
/* Corrige padding de sections com estilo inline em todas as páginas */
@media (max-width: 768px) {
  /* Sobre, Sermões, Eventos, Galeria, Vídeos, Contato, Ministério */
  section[style*="padding:60px 40px"],
  section[style*="padding:70px 40px"],
  section[style*="padding:80px 40px"],
  section[style*="padding:90px 40px"] {
    padding: 44px 16px !important;
  }
  /* Container interno */
  .container { padding: 0 4px; }

  /* Grids de 2 colunas → 1 coluna */
  div[style*="grid-template-columns:1fr 1fr"],
  div[style*="grid-template-columns:2fr 1fr"],
  div[style*="grid-template-columns:1fr 2fr"],
  div[style*="grid-template-columns:1.2fr 1fr"],
  div[style*="grid-template-columns:2fr 1fr;"] {
    grid-template-columns: 1fr !important;
  }

  /* Destaque de notícias (grid com imagem) */
  a[style*="grid-template-columns:1fr 1fr"] {
    grid-template-columns: 1fr !important;
  }

  /* Sobre page grids */
  div[style*="display:grid;grid-template-columns:1fr 1fr"] {
    grid-template-columns: 1fr !important;
  }

  /* Videos destaque */
  div[style*="grid-template-columns:1.2fr"] {
    grid-template-columns: 1fr !important;
  }

  /* Ministerio sidebar */
  div[style*="position:sticky"] {
    position: static !important;
  }

  /* Galeria page grids */
  div[style*="grid-template-columns:repeat(auto-fill,minmax(240px"] {
    grid-template-columns: repeat(2,1fr) !important;
    gap: 10px !important;
  }
  div[style*="grid-template-columns:repeat(auto-fill,minmax(200px"] {
    grid-template-columns: repeat(2,1fr) !important;
    gap: 8px !important;
  }
  div[style*="grid-template-columns:repeat(auto-fill,minmax(260px"] {
    grid-template-columns: repeat(2,1fr) !important;
  }
  div[style*="grid-template-columns:repeat(auto-fill,minmax(300px"] {
    grid-template-columns: 1fr !important;
  }

  /* Fotos da galeria interna — 2 colunas */
  div[style*="grid-template-columns:repeat(auto-fill,minmax(160px"] {
    grid-template-columns: repeat(3,1fr) !important;
    gap: 4px !important;
  }

  /* Botões hero em linha → coluna */
  div[style*="display:flex;gap:14px;"] {
    flex-wrap: wrap;
  }

  /* Contato form rows */
  div[style*="display:grid;grid-template-columns:1fr 1fr;gap:0"] {
    grid-template-columns: 1fr !important;
  }

  /* Social redes */
  .redes { gap: 8px !important; }
  .rede-btn { padding: 7px 12px !important; font-size: .78rem !important; }

  /* Stat numbers */
  .stat-num { font-size: 1.8rem !important; }

  /* Testemunhos */
  .testimonials-section { padding: 44px 16px; }
}

@media (max-width: 480px) {
  section[style*="padding:60px 40px"],
  section[style*="padding:70px 40px"],
  section[style*="padding:80px 40px"],
  section[style*="padding:90px 40px"] {
    padding: 36px 12px !important;
  }

  /* Galeria fotos — 2 colunas no celular pequeno */
  div[style*="grid-template-columns:repeat(auto-fill,minmax(160px"] {
    grid-template-columns: repeat(2,1fr) !important;
    gap: 4px !important;
  }

  /* Albuns — 1 coluna */
  div[style*="grid-template-columns:repeat(auto-fill,minmax(240px"] {
    grid-template-columns: 1fr !important;
  }
  div[style*="grid-template-columns:repeat(auto-fill,minmax(260px"] {
    grid-template-columns: 1fr !important;
  }

  /* Versículos e verse section */
  .verse-section blockquote { font-size: 1rem !important; }

  /* Horários sobre page */
  div[style*="grid-template-columns:repeat(auto-fit,minmax(200px"] {
    grid-template-columns: repeat(2,1fr) !important;
  }

  /* Evita overflow horizontal */
  img { max-width: 100% !important; }
  .testimonial-img { width: 80px !important; height: 80px !important; }
}



/* ── DROPDOWN MINISTÉRIOS ───────────────────────────── */
.nav-dropdown-wrap {
  position: relative;
  display: flex;
  align-items: center;
}
.nav-dropdown-toggle {
  font-family: var(--font-alt);
  font-size: .9rem;
  font-weight: 400;
  color: var(--black);
  padding: 8px 14px;
  border-radius: var(--radius);
  white-space: nowrap;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  gap: 5px;
  transition: color .2s;
  user-select: none;
}
.nav-dropdown-toggle:hover { color: var(--red); }

/* Seta animada */
.nav-dropdown-toggle .arrow {
  display: inline-block;
  font-size: .65rem;
  transition: transform .2s;
  line-height: 1;
}
.nav-dropdown-wrap:hover .arrow { transform: rotate(180deg); }

/* Menu */
.nav-dropdown-menu {
  visibility: hidden;
  opacity: 0;
  pointer-events: none;
  position: absolute;
  top: 100%;
  left: 0;
  background: var(--white);
  border: 1px solid var(--border);
  border-top: 3px solid var(--red);
  border-radius: 0 0 var(--radius) var(--radius);
  min-width: 230px;
  box-shadow: 0 12px 32px rgba(0,0,0,.15);
  z-index: 9999;
  transform: translateY(-8px);
  transition: opacity .18s ease, transform .18s ease, visibility .18s;
}

/* Ponte invisível para não perder hover entre botão e menu */
.nav-dropdown-menu::before {
  content: '';
  position: absolute;
  top: -12px;
  left: 0;
  right: 0;
  height: 12px;
}

.nav-dropdown-wrap:hover .nav-dropdown-menu,
.nav-dropdown-wrap:focus-within .nav-dropdown-menu {
  visibility: visible;
  opacity: 1;
  pointer-events: auto;
  transform: translateY(0);
}

.nav-dropdown-menu a {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 11px 18px;
  font-size: .875rem;
  color: var(--black);
  font-weight: 500;
  border-bottom: 1px solid #f3f4f6;
  transition: background .15s, color .15s, padding-left .15s;
  text-decoration: none;
}
.nav-dropdown-menu a:last-child { border-bottom: none; }
.nav-dropdown-menu a::before {
  content: '⛪';
  font-size: .75rem;
  opacity: .4;
  transition: opacity .15s;
}
.nav-dropdown-menu a:hover {
  background: #fef2f2;
  color: var(--red);
  padding-left: 22px;
}
.nav-dropdown-menu a:hover::before { opacity: 1; }

/* ── NOTÍCIAS DESTAQUE HOME (abaixo do carousel) ── */
@media (max-width: 992px) {
  /* 4 colunas → 2 colunas */
  section[style*="padding:48px 20px"] > div > div[style*="grid-template-columns:repeat(4,1fr)"] {
    grid-template-columns: repeat(2,1fr) !important;
  }
}
@media (max-width: 576px) {
  /* 2 colunas → 1 coluna */
  section[style*="padding:48px 20px"] > div > div[style*="grid-template-columns:repeat(4,1fr)"] {
    grid-template-columns: 1fr !important;
  }
}
