﻿/* Base visual e temas */
:root {
  color-scheme: dark;
  --brand-primary: #323B8F;
  --brand-secondary: #0A4E80;
  --brand-accent: #EB171E;
  --brand-gold: #D3A14C;
  --brand-deep: #101F3F;
  --brand-neutral: #8E949E;
  --bg: #081225;
  --bg-rgb: 8, 18, 37;
  --surface: #101B33;
  --surface-subtle: #162440;
  --surface-muted: #1D2C4B;
  --nav-bg: rgba(10, 20, 39, 0.88);
  --text-primary: #F5F7FA;
  --text-heading: #F5F7FA;
  --text-secondary: #C4CBD7;
  --text-quaternary: #8E9AAF;
  --border: #263754;
  --hover-bg: #162440;
  --shadow-sm: 0 12px 30px rgba(0, 0, 0, 0.24);
  --shadow-md: 0 20px 48px rgba(0, 0, 0, 0.34);
  --page-bg:
    linear-gradient(180deg, rgba(50, 59, 143, 0.22) 0%, rgba(8, 18, 37, 0) 420px),
    linear-gradient(90deg, rgba(211, 161, 76, 0.08) 0%, rgba(8, 18, 37, 0) 22%, rgba(8, 18, 37, 0) 78%, rgba(10, 78, 128, 0.14) 100%),
    var(--bg);
  --slide-width: clamp(320px, 58vw, 560px);
  --slide-height: clamp(220px, 32vw, 315px);
}

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

/* Estrutura global */
body {
  font-family: 'Inter', system-ui, -apple-system, sans-serif;
  background: var(--page-bg);
  color: var(--text-primary);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  min-width: 320px;
}

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

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

/* Navegação fixa */
.nav-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 16px 24px;
  border-bottom: 1px solid var(--border);
  position: sticky;
  top: 0;
  background: var(--nav-bg);
  z-index: 100;
  max-width: 1080px;
  margin: 0 auto;
  box-shadow: 0 8px 24px rgba(16, 31, 63, 0.06);
  backdrop-filter: blur(14px);
}

.nav-logo {
  font-size: 18px;
  font-weight: 600;
  letter-spacing: 0.01em;
  display: flex;
  align-items: center;
  gap: 12px;
  min-width: max-content;
}

.nav-logo .cross {
  width: 58px;
  height: 58px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.nav-logo .cross img {
  width: 58px;
  height: 58px;
  display: block;
  object-fit: cover;
  object-position: center;
}

.nav-links {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 4px;
}

.nav-links a {
  background: transparent;
  border: none;
  cursor: pointer;
  padding: 8px 16px;
  border-radius: 8px;
  font-size: 14px;
  font-weight: 500;
  color: var(--text-secondary);
  font-family: inherit;
  transition: background 0.15s ease, color 0.15s ease;
}

.nav-links a:hover,
.nav-links a.active {
  background: var(--brand-primary);
  color: #ffffff;
}

.nav-toggle {
  display: none;
  width: 42px;
  height: 42px;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  gap: 5px;
  border: 1px solid var(--border);
  border-radius: 8px;
  background: var(--surface);
  color: var(--text-heading);
  cursor: pointer;
}

.nav-toggle span {
  width: 18px;
  height: 2px;
  border-radius: 999px;
  background: currentColor;
  transition: transform 0.18s ease, opacity 0.18s ease;
}

.nav-bar.menu-open .nav-toggle span:nth-child(1) {
  transform: translateY(7px) rotate(45deg);
}

.nav-bar.menu-open .nav-toggle span:nth-child(2) {
  opacity: 0;
}

.nav-bar.menu-open .nav-toggle span:nth-child(3) {
  transform: translateY(-7px) rotate(-45deg);
}

/* Seções da landing page */
.container {
  max-width: 1080px;
  margin: 0 auto;
  padding: 0 clamp(20px, 4vw, 56px);
}

.section {
  animation: fadeIn 0.35s ease;
  scroll-margin-top: 88px;
}

@keyframes fadeIn {
  from {
    opacity: 0;
    transform: translateY(10px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* Hero e carrossel */
.hero {
  padding: clamp(56px, 7vw, 88px) 24px clamp(44px, 6vw, 72px);
  text-align: center;
  border-bottom: 1px solid var(--border);
}

.hero h1 {
  font-family: "Arial Black", "Helvetica Neue", Arial, sans-serif;
  font-size: 44px;
  font-style: normal;
  font-weight: 900;
  line-height: 1.03;
  margin: 0 0 16px;
  letter-spacing: 0;
  color: var(--text-heading);
  transform: skewX(-4deg);
}

.hero p {
  font-size: 17px;
  color: var(--text-secondary);
  margin: 0 auto 32px;
  line-height: 1.6;
  max-width: 520px;
}

.carrossel {
  width: min(calc(var(--slide-width) + 180px), 100%);
  overflow: hidden;
  position: relative;
  margin: 0 auto;
  border-radius: 12px;
}

.carrossel::before,
.carrossel::after {
  content: "";
  width: 34px;
  height: var(--slide-height);
  position: absolute;
  top: 0;
  z-index: 2;
  pointer-events: none;
  backdrop-filter: blur(2px);
}

.carrossel::before {
  left: 0;
  background: linear-gradient(to right, rgb(var(--bg-rgb)), rgba(var(--bg-rgb), 0));
}

.carrossel::after {
  right: 0;
  background: linear-gradient(to left, rgb(var(--bg-rgb)), rgba(var(--bg-rgb), 0));
}

.btn-seta {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  z-index: 3;
  width: 42px;
  height: 42px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(16, 31, 63, 0.82);
  color: #ffffff;
  border: none;
  border-radius: 50%;
  cursor: pointer;
  font-size: 34px;
  line-height: 1;
  box-shadow: 0 12px 28px rgba(16, 31, 63, 0.24);
  backdrop-filter: blur(6px);
  transition: background 0.2s ease, transform 0.2s ease, opacity 0.2s ease;
}

.btn-seta:hover {
  background: var(--brand-primary);
  transform: translateY(-50%) scale(1.08);
}

.btn-seta:focus-visible {
  outline: 2px solid #ffffff;
  outline-offset: 3px;
}

#anterior {
  left: 14px;
}

#proximo {
  right: 14px;
}

.slides {
  display: flex;
  gap: 12px;
  transition: transform 0.5s ease-in-out;
}

.slides img {
  width: var(--slide-width);
  height: var(--slide-height);
  flex-shrink: 0;
  object-fit: cover;
  object-position: top center;
  border-radius: 12px;
  box-shadow: var(--shadow-sm);
}

.slides img.slide-pastores {
  object-position: center 15%;
}

.slides img.slide-retrato {
  object-position: center 70%;
}

/* Conteúdo recorrente */
.content-pad {
  padding: clamp(36px, 5vw, 64px) 0;
}

.content-pad h2 {
  font-size: 22px;
  font-weight: 600;
  margin: 0 0 20px;
  display: flex;
  align-items: center;
  gap: 10px;
  color: var(--text-heading);
}

.content-pad h2 svg {
  width: 22px;
  height: 22px;
  color: var(--brand-gold);
}

.card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 24px;
  margin-bottom: 16px;
  box-shadow: var(--shadow-sm);
}

.card h3 {
  font-size: 16px;
  font-weight: 600;
  margin: 0 0 10px;
  display: flex;
  align-items: center;
  gap: 8px;
  color: var(--text-heading);
}

.card h3 svg {
  width: 18px;
  height: 18px;
  color: var(--brand-gold);
}

.card p,
.card li {
  font-size: 15px;
  color: var(--text-secondary);
  line-height: 1.7;
  margin: 0;
}

.card ul {
  margin: 10px 0 0;
  padding-left: 20px;
}

.card li {
  margin-bottom: 6px;
}

.card strong {
  color: var(--text-heading);
  font-weight: 600;
}

.about-accordion {
  display: grid;
  gap: 10px;
}

.accordion-item {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 12px;
  box-shadow: var(--shadow-sm);
  overflow: hidden;
}

.accordion-item summary {
  min-height: 56px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 16px 20px;
  color: var(--text-heading);
  font-size: 16px;
  font-weight: 700;
  cursor: pointer;
  list-style: none;
}

.accordion-item summary::-webkit-details-marker {
  display: none;
}

.accordion-item summary i {
  color: var(--brand-gold);
  font-size: 14px;
  flex-shrink: 0;
  transition: transform 0.18s ease;
}

.accordion-item[open] summary {
  border-bottom: 1px solid var(--border);
}

.accordion-item[open] summary i {
  transform: rotate(180deg);
}

.accordion-item p,
.accordion-item li {
  font-size: 15px;
  color: var(--text-secondary);
  line-height: 1.7;
}

.accordion-item p {
  padding: 18px 20px 20px;
  margin: 0;
}

.accordion-item ul {
  margin: 0;
  padding: 18px 20px 20px 40px;
}

.accordion-item li {
  margin-bottom: 6px;
}

.accordion-item li:last-child {
  margin-bottom: 0;
}

.accordion-item strong {
  color: var(--text-heading);
  font-weight: 600;
}

/* Horários de cultos */
.schedule-grid {
  display: grid;

  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 12px;
}

.schedule-card {
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 20px;
  background: var(--surface);
  box-shadow: var(--shadow-sm);
}

.schedule-card .day {
  font-size: 12px;
  font-weight: 600;
  color: var(--brand-gold);
  text-transform: uppercase;
  letter-spacing: 0.06em;
  margin-bottom: 6px;
}

.schedule-card .time {
  font-size: 20px;
  font-weight: 600;
  color: var(--text-heading);
  margin-bottom: 6px;
}

.schedule-card .desc {
  font-size: 14px;
  color: var(--text-secondary);
  line-height: 1.5;
}

/* Células */
.cells-description {
  color: var(--text-secondary);
  margin: -4px 0 24px;
  max-width: 620px;
  font-size: 15px;
}

.cells-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 12px;
}

.cells-grid.is-collapsed .cell-card:nth-child(n+4) {
  display: none;
}

.cell-card {
  min-height: 236px;
  display: flex;
  flex-direction: column;
  gap: 12px;
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 20px;
  background: var(--surface);
  box-shadow: var(--shadow-sm);
}

.cell-card-review {
  border-color: rgba(211, 161, 76, 0.42);
}

.cell-card-header {
  display: grid;
  gap: 6px;
}

.cell-card-header h3 {
  color: var(--text-heading);
  font-size: 17px;
  font-weight: 700;
  line-height: 1.25;
  margin: 0;
}

.cell-card-header span {
  color: var(--brand-gold);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.05em;
  text-transform: uppercase;
}

.cell-address,
.cell-leader {
  margin: 0;
  font-size: 14px;
  line-height: 1.55;
}

.cell-address {
  color: var(--text-secondary);
}

.cell-leader {
  color: var(--text-quaternary);
}

.cell-status {
  width: max-content;
  max-width: 100%;
  display: inline-flex;
  align-items: center;
  padding: 4px 8px;
  border-radius: 8px;
  background: rgba(211, 161, 76, 0.12);
  color: var(--brand-gold);
  font-size: 12px;
  font-weight: 700;
}

.cell-route-link {
  min-height: 42px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 9px;
  margin-top: auto;
  padding: 10px 14px;
  border: 1px solid var(--border);
  border-radius: 8px;
  background: var(--surface-subtle);
  color: var(--text-heading);
  font-size: 14px;
  font-weight: 700;
  transition: transform 0.15s ease, border-color 0.15s ease, background 0.15s ease;
}

.cell-route-link:hover {
  transform: translateY(-2px);
  border-color: rgba(211, 161, 76, 0.42);
  background: var(--surface-muted);
}

.cell-route-link i {
  color: var(--brand-gold);
  font-size: 15px;
}

.cells-more-button {
  min-height: 44px;
  width: max-content;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  margin: 22px auto 0;
  padding: 11px 18px;
  border: 1px solid var(--border);
  border-radius: 8px;
  background: var(--surface);
  color: var(--text-heading);
  font-family: inherit;
  font-size: 14px;
  font-weight: 700;
  cursor: pointer;
  transition: transform 0.15s ease, border-color 0.15s ease, background 0.15s ease;
}

.cells-more-button:hover {
  transform: translateY(-2px);
  border-color: rgba(211, 161, 76, 0.42);
  background: var(--surface-subtle);
}

.cells-more-button i {
  color: var(--brand-gold);
  font-size: 16px;
}

/* Galeria */
.gallery-description {
  text-align: center;
  color: var(--text-secondary);
  margin: 10px auto 35px;
  max-width: 700px;
}

.gallery-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 18px;
}

.gallery-grid img {
  width: 100%;
  height: 240px;
  object-fit: cover;
  border-radius: 12px;
  box-shadow: var(--shadow-sm);
  transition: transform .25s ease, box-shadow .25s ease;
  cursor: pointer;
}

.gallery-grid img:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-md);
}

.gallery-preview {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.gallery-more-button {
  min-height: 44px;
  width: max-content;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  margin: 22px auto 0;
  padding: 11px 18px;
  border: 1px solid var(--border);
  border-radius: 8px;
  background: var(--surface);
  color: var(--text-heading);
  font-family: inherit;
  font-size: 14px;
  font-weight: 700;
  cursor: pointer;
  transition: transform 0.15s ease, border-color 0.15s ease, background 0.15s ease;
}

.gallery-more-button:hover {
  transform: translateY(-2px);
  border-color: rgba(211, 161, 76, 0.42);
  background: var(--surface-subtle);
}

.gallery-more-button i {
  color: var(--brand-gold);
  font-size: 16px;
}

.gallery-modal {
  position: fixed;
  inset: 0;
  z-index: 200;
  display: none;
  align-items: center;
  justify-content: center;
  padding: 22px;
  background: rgba(3, 8, 18, 0.78);
  backdrop-filter: blur(10px);
}

.gallery-modal.is-open {
  display: flex;
}

.gallery-modal-panel {
  width: min(960px, 100%);
  max-height: min(780px, calc(100vh - 44px));
  display: flex;
  flex-direction: column;
  overflow: hidden;
  border: 1px solid var(--border);
  border-radius: 12px;
  background: var(--surface);
  box-shadow: var(--shadow-md);
}

.gallery-modal-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 16px 18px;
  border-bottom: 1px solid var(--border);
}

.gallery-modal-header h3 {
  margin: 0;
  color: var(--text-heading);
  font-size: 18px;
  font-weight: 700;
}

.gallery-modal-close {
  width: 40px;
  height: 40px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  border: 1px solid var(--border);
  border-radius: 8px;
  background: var(--surface-subtle);
  color: var(--text-heading);
  cursor: pointer;
}

.gallery-modal-grid {
  overflow-y: auto;
  padding: 18px;
}

.gallery-noscript {
  margin-top: 18px;
}

body.gallery-modal-open {
  overflow: hidden;
}

/* Aplicativo */
.app-showcase {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(260px, 360px);
  align-items: center;
  gap: clamp(28px, 6vw, 72px);
  margin-top: 30px;
  padding: clamp(28px, 5vw, 52px);
  border: 1px solid var(--border);
  border-radius: 12px;
  background:
    linear-gradient(135deg, rgba(50, 59, 143, 0.22), rgba(16, 31, 63, 0.72) 52%, rgba(211, 161, 76, 0.08)),
    var(--surface);
  box-shadow: var(--shadow-sm);
}

.app-copy {
  max-width: 520px;
}

.app-eyebrow {
  display: inline-flex;
  align-items: center;
  margin-bottom: 12px;
  color: var(--brand-gold);
  font-size: 13px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

.app-copy h3 {
  color: var(--text-heading);
  font-size: clamp(28px, 4vw, 42px);
  line-height: 1.08;
  margin-bottom: 16px;
}

.app-copy p {
  color: var(--text-secondary);
  font-size: 17px;
  line-height: 1.7;
  max-width: 470px;
}

.app-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 28px;
}

.app-store-button {
  min-height: 48px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 12px 18px;
  border-radius: 8px;
  font-size: 15px;
  font-weight: 700;
  border: 1px solid transparent;
  transition: transform 0.15s ease, border-color 0.15s ease, background 0.15s ease;
}

.app-store-button i {
  font-size: 20px;
  line-height: 1;
}

.app-store-button-primary {
  color: #ffffff;
  background: var(--brand-primary);
  border-color: rgba(255, 255, 255, 0.08);
}

.app-store-button-primary:hover {
  transform: translateY(-2px);
  background: #3c46a7;
}

.app-store-button-muted {
  color: var(--text-secondary);
  background: rgba(255, 255, 255, 0.04);
  border-color: var(--border);
}

.app-store-button-muted:hover {
  transform: translateY(-2px);
  color: #ffffff;
  border-color: rgba(211, 161, 76, 0.42);
  background: rgba(255, 255, 255, 0.07);
}

.app-store-button[aria-disabled="true"] {
  pointer-events: none;
}

.phone-mockup {
  position: relative;
  width: min(100%, 350px);
  aspect-ratio: 748 / 1335;
  justify-self: center;
  filter: drop-shadow(0 26px 54px rgba(0, 0, 0, 0.42));
}

.phone-mockup img {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: contain;
}


/* Contato e mapa */
.container-mapa {
  position: relative;
  width: 100%;
  padding-bottom: 56.25%;
  height: 0;
  overflow: hidden;
}

.container-mapa iframe {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  border-radius: 10px;
}

.contact-row {
  display: flex;
  align-items: flex-start;
  gap: 14px;
  padding: 16px 0;
  border-bottom: 1px solid var(--border);
}

.contact-row:last-child {
  border-bottom: none;
}

.contact-row .icon-wrap {
  width: 40px;
  height: 40px;
  border-radius: 12px;
  background: var(--surface-subtle);
  border: 1px solid var(--border);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  color: var(--brand-gold);
}

.contact-row .icon-wrap svg {
  width: 20px;
  height: 20px;
}

.contact-row .info h4 {
  font-size: 15px;
  font-weight: 600;
  margin: 0 0 4px;
}

.contact-row .info p {
  font-size: 14px;
  color: var(--text-secondary);
  margin: 0;
  line-height: 1.6;
}

.contact-row .info a {
  color: var(--text-heading);
  border-bottom: 1px solid rgba(211, 161, 76, 0.34);
  transition: border-color 0.15s ease;
}

.contact-row .info {
  min-width: 0;
  width: 100%;
}

.contact-row .info a:hover {
  border-color: var(--brand-gold);
}

/* Redes sociais */
.social-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
  gap: 12px;
}

.social-card {
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 24px 16px;
  text-align: center;
  cursor: pointer;
  background: var(--surface);

  transition: transform 0.15s ease, border-color 0.15s ease, box-shadow 0.15s ease;
  display: block;
}

.social-card:hover {
  transform: translateY(-2px);
  border-color: rgba(50, 59, 143, 0.45);
  box-shadow: var(--shadow-sm);
}

.social-card .soc-icon {
  width: 48px;
  height: 48px;
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 12px;
  color: #ffffff;
}

.social-card .soc-icon svg {
  width: 24px;
  height: 24px;
  fill: currentColor;
  stroke: none;
}

.social-card .soc-icon-facebook {
  background: #1877f2;
}

.social-card .soc-icon-facebook svg {
  width: 22px;
  height: 22px;
}

.social-card .soc-icon-instagram {
  background: linear-gradient(135deg, #f58529, #dd2a7b, #8134af, #515bd4);
}

.social-card .soc-icon-youtube {
  background: #ff0000;
}

.social-card .soc-icon-youtube svg {
  width: 27px;
  height: 27px;
}

.social-card .soc-name {
  font-size: 15px;
  font-weight: 600;
}

.social-card .soc-handle {
  font-size: 13px;
  color: var(--text-secondary);
  margin-top: 4px;
}

/* Versículos em destaque */
.verse-box {
  background: var(--brand-deep);
  color: #ffffff;
  border-radius: 16px;
  padding: 36px 28px;
  text-align: center;
  margin: 32px 0;
  border-top: 4px solid var(--brand-gold);
  box-shadow: var(--shadow-md);
}

.verse-box p {
  font-size: 18px;
  line-height: 1.7;
  font-style: italic;
  margin: 0 0 12px;
}

.verse-box span {
  font-size: 14px;
  opacity: 0.65;
  font-weight: 500;
}

/* Rodapé */
.footer {
  text-align: center;
  padding: 32px 24px;
  border-top: 1px solid var(--border);
  font-size: 13px;
  color: var(--text-secondary);
  max-width: 1080px;
  margin: 0 auto;
}


/*Botão de falar no Whatsapp*/

.whatsapp-button {
  position: fixed;
  bottom: 30px;
  right: 30px;
  text-decoration: none;
  z-index: 999;
  /* Necessário para posicionar o ícone */
  position: fixed;
}

.whatsapp-icon {
  position: absolute;
  top: -40px;
  /* sobe o círculo */
  left: -50px;
  /* desloca para a esquerda */
  width: 60px;
  height: 60px;
  background: #25D366;
  border-radius: 50%;
  display: flex;
  justify-content: center;
  align-items: center;
  color: white;
  font-size: 34px;
  box-shadow: 0 5px 15px rgba(0, 0, 0, .25);
}


/* Ajustes para telas grandes */
@media (min-width: 1180px) {
  .nav-bar,
  .container,
  .footer {
    max-width: 1120px;
  }

  .hero h1 {
    font-size: 48px;
  }

  .hero p {
    font-size: 18px;
  }

  .gallery-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .gallery-preview {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .app-showcase {
    grid-template-columns: minmax(0, 1fr) 360px;
  }
}

/* Ajustes para tablets */
@media (max-width: 860px) {
  :root {
    --slide-width: clamp(300px, 72vw, 500px);
    --slide-height: clamp(210px, 42vw, 280px);
  }

  html {
    scroll-padding-top: 122px;
  }

  .nav-bar {
    align-items: flex-start;
    gap: 14px;
    padding: 14px 18px;
  }

  .nav-links {
    flex-wrap: wrap;
    justify-content: flex-end;
  }

  .hero h1 {
    font-size: 38px;
  }

  .schedule-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .cells-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .app-showcase {
    grid-template-columns: 1fr;
    text-align: center;
  }

  .app-copy {
    justify-self: center;
  }

  .app-copy p {
    margin-inline: auto;
  }

  .app-actions {
    justify-content: center;
  }
}

/* Ajustes para celulares */
@media (max-width: 640px) {
  :root {
    --slide-width: min(78vw, 360px);
    --slide-height: 220px;
  }

  html {
    scroll-padding-top: 88px;
  }

  .nav-bar {
    display: grid;
    grid-template-columns: 1fr auto;
    align-items: center;
    position: sticky;
    padding: 12px 16px;
    gap: 10px;
  }

  .nav-logo {
    justify-content: flex-start;
    font-size: 15px;
    gap: 10px;
    min-width: 0;
  }

  .nav-logo .cross {
    width: 50px;
    height: 50px;
  }

  .nav-logo .cross img {
    width: 50px;
    height: 50px;
  }

  .nav-toggle {
    display: inline-flex;
    justify-self: end;
  }

  .nav-links {
    position: absolute;
    top: calc(100% + 8px);
    right: 16px;
    z-index: 110;
    display: none;
    grid-template-columns: 1fr;
    gap: 4px;
    width: max-content;
    min-width: 150px;
    max-width: calc(100vw - 32px);
    padding: 6px;
    border: 1px solid var(--border);
    border-radius: 10px;
    background: var(--surface);
    box-shadow: var(--shadow-sm);
  }

  .nav-bar.menu-open .nav-links {
    display: grid;
  }

  .nav-links a {
    padding: 9px 12px;
    font-size: 13px;
    text-align: left;
    white-space: nowrap;
  }

  .hero h1 {
    font-size: 32px;
  }

  .hero p {
    font-size: 16px;
    margin-bottom: 28px;
  }

  .btn-seta {
    width: 38px;
    height: 38px;
    font-size: 30px;
  }

  #anterior {
    left: 8px;
  }

  #proximo {
    right: 8px;
  }

  .carrossel::before,
  .carrossel::after {
    width: 24px;
  }

  .hero {
    padding: 40px 0 34px;
  }

  .container {
    padding: 0 16px;
  }

  .content-pad {
    padding: 34px 0;
  }

  .content-pad h2 {
    font-size: 20px;
  }

  .card,
  .schedule-card,
  .cell-card,
  .social-card {
    padding: 18px;
  }

  .accordion-item summary {
    min-height: 50px;
    padding: 14px 16px;
    font-size: 15px;
  }

  .accordion-item p {
    padding: 14px 16px 16px;
    font-size: 14px;
  }

  .accordion-item ul {
    padding: 14px 16px 16px 34px;
  }

  .accordion-item li {
    font-size: 14px;
  }

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

  .gallery-preview {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 10px;
  }

  .gallery-modal {
    padding: 14px;
  }

  .gallery-modal-header {
    padding: 14px;
  }

  .gallery-modal-grid {
    grid-template-columns: 1fr;
    padding: 14px;
    gap: 12px;
  }

  .social-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 8px;
  }

  .social-card {
    padding: 14px 8px;
    min-width: 0;
  }

  .social-card .soc-icon {
    width: 40px;
    height: 40px;
    margin-bottom: 8px;
  }

  .social-card .soc-icon svg {
    width: 20px;
    height: 20px;
  }

  .social-card .soc-icon-facebook svg {
    width: 18px;
    height: 18px;
  }

  .social-card .soc-icon-youtube svg {
    width: 22px;
    height: 22px;
  }

  .social-card .soc-name {
    font-size: 13px;
  }

  .social-card .soc-handle {
    font-size: 11px;
    line-height: 1.3;
    overflow-wrap: anywhere;
  }

  .schedule-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 10px;
  }

  .cells-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 10px;
  }

  .cells-grid.is-collapsed .cell-card:nth-child(n+3) {
    display: none;
  }

  .cells-description {
    font-size: 14px;
    margin-bottom: 18px;
  }

  .cell-card {
    min-height: auto;
    gap: 8px;
    padding: 14px 12px;
    border-radius: 10px;
  }

  .cell-card-header h3 {
    font-size: 14px;
    line-height: 1.25;
    overflow-wrap: anywhere;
  }

  .cell-card-header span {
    font-size: 10px;
    line-height: 1.3;
    letter-spacing: 0.04em;
  }

  .cell-address,
  .cell-leader {
    font-size: 12px;
    line-height: 1.45;
    overflow-wrap: anywhere;
  }

  .cell-status {
    padding: 3px 6px;
    font-size: 10px;
    line-height: 1.25;
  }

  .cell-route-link {
    width: 100%;
    min-height: 38px;
    gap: 6px;
    padding: 8px 8px;
    font-size: 12px;
    line-height: 1.2;
  }

  .cell-route-link i {
    font-size: 12px;
  }

  .cells-more-button {
    min-height: 42px;
    padding: 10px 14px;
    font-size: 13px;
  }

  .schedule-card {
    padding: 16px 14px;
    min-width: 0;
  }

  .schedule-card .day {
    font-size: 11px;
    line-height: 1.3;
    overflow-wrap: anywhere;
  }

  .schedule-card .time {
    font-size: 19px;
  }

  .schedule-card .desc {
    font-size: 13px;
  }

  .gallery-grid img {
    height: 220px;
  }

  .gallery-preview img {
    height: 160px;
  }

  .app-showcase {
    padding: 24px 18px;
    gap: 26px;
  }

  .app-copy h3 {
    font-size: 28px;
  }

  .app-copy p {
    font-size: 15px;
  }

  .app-actions {
    gap: 10px;
    margin-top: 22px;
  }

  .app-store-button {
    flex: 0 0 auto;
    min-height: 42px;
    padding: 10px 14px;
    font-size: 14px;
    border-radius: 8px;
  }

  .app-store-button i {
    font-size: 18px;
  }

  .phone-mockup {
    width: min(100%, 285px);
  }

  .verse-box {
    padding: 28px 20px;
    margin: 26px 0;
  }

  .verse-box p {
    font-size: 16px;
  }

  .whatsapp-button {
    bottom: 22px;
    right: 22px;
  }

  .whatsapp-icon {
    width: 54px;
    height: 54px;
    font-size: 30px;
  }
}

@media (min-width: 520px) and (max-width: 640px) {
  .gallery-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 12px;
  }

  .gallery-grid img {
    height: 180px;
  }

  .gallery-modal-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 390px) {
  :root {
    --slide-width: 76vw;
    --slide-height: 205px;
  }

  .nav-logo span {
    font-size: 14px;
  }

  .hero h1 {
    font-size: 30px;
  }

  .gallery-grid img {
    height: 205px;
  }

  .gallery-preview {
    grid-template-columns: 1fr;
  }

  .gallery-preview img {
    height: 205px;
  }

  .schedule-grid {
    gap: 8px;
  }

  .schedule-card {
    padding: 14px 12px;
  }

  .schedule-card .time {
    font-size: 18px;
  }

  .schedule-card .desc {
    font-size: 12px;
  }

  .social-grid {
    gap: 6px;
  }

  .social-card {
    padding: 12px 6px;
  }

  .social-card .soc-icon {
    width: 36px;
    height: 36px;
  }

  .social-card .soc-name {
    font-size: 12px;
  }

  .social-card .soc-handle {
    font-size: 10px;
  }

  .app-actions {
    flex-direction: row;
    justify-content: center;
  }

  .phone-mockup {
    width: min(100%, 255px);
  }
}
