/* =========================
   PALETA DE CORES
========================= */
:root {
  --marrom: #6a4a2f;
  --marrom-escuro: #4a3320;

  --azul: #2f5d8a;
  --azul-claro: #e8f0f8;

  --bege: #f6f2ed;
  --cinza: #555;
}

/* =========================
   CONFIGURAÇÕES GERAIS
========================= */
html {
  scroll-behavior: smooth;
}

body {
  font-family: 'Inter', sans-serif;
  color: var(--cinza);
  background-color: #fff;
}

h1, h2, h3 {
  font-family: 'Playfair Display', serif;
  color: var(--marrom);
}

/* =========================
   NAVBAR
========================= */
.navbar {
  background-color: rgba(255,255,255,0.95);
  backdrop-filter: blur(8px);
  border-bottom: 2px solid var(--azul-claro);
}

.navbar-brand {
  font-family: 'Playfair Display', serif;
  font-weight: 600;
  color: var(--marrom);
}

.nav-link {
  color: var(--cinza);
  font-weight: 500;
}

.nav-link:hover {
  color: var(--azul);
}

/* =========================
   HERO
========================= */
.hero {
  background:
    linear-gradient(rgba(47,93,138,.55), rgba(0,0,0,.45)),
    url('../img/casosespeciais.jpeg') center/cover no-repeat;
  color: #fff;
  padding: 160px 20px;
  text-align: center;
}

.hero {
  position: relative;
  min-height: 85vh;
  overflow: hidden;
}

.hero-img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: top center; /* rosto SEMPRE visível */
}

.hero-content {
  position: relative;
  z-index: 2;
  text-align: center;
  color: #fff;
}


.hero h1 {
  color: #fff;
  font-size: 3rem;
}

.hero p {
  font-size: 1.2rem;
  max-width: 720px;
  margin: auto;
}

/* =========================
   SEÇÕES
========================= */
.section {
  padding: 100px 20px;
}

.section.bg-light {
  background-color: var(--azul-claro);
}

.section p {
  font-size: 1.05rem;
  line-height: 1.8;
  max-width: 900px;
  margin: auto;
}

/* =========================
   SEÇÃO DE DESTAQUE
========================= */
.highlight-section {
  background-color: #f3f7fb;
  border-top: 3px solid var(--marrom);
  border-bottom: 3px solid var(--azul);
}

.highlight-card {
  background: #fff;
  border-radius: 20px;
  padding: 40px;
  box-shadow: 0 20px 40px rgba(0,0,0,.08);
}

/* =========================
   BOTÕES
========================= */
.btn-pastoral {
  background-color: var(--marrom);
  color: #fff;
  padding: 12px 30px;
  border-radius: 30px;
  text-decoration: none;
  font-weight: 500;
  transition: all .3s ease;
}

.btn-pastoral:hover {
  background-color: var(--azul);
  color: #fff;
}

/* =========================
   DIVIDER
========================= */
.divider {
  width: 80px;
  height: 3px;
  background: linear-gradient(to right, var(--marrom), var(--azul));
  margin: 25px auto;
}

/* =========================
   CARDS
========================= */
.card-soft {
  background: #fff;
  border: none;
  border-radius: 20px;
  padding: 40px;
  box-shadow: 0 20px 40px rgba(0,0,0,.08);
  border-top: 4px solid var(--azul);
}

/* =========================
   FOOTER
========================= */
footer {
  background: linear-gradient(135deg, var(--marrom), var(--azul));
  color: #fff;
  padding: 40px 20px;
  text-align: center;
}


/* Agenda - visual geral */
#agenda {
  background: #f8f9fa;
}

#agenda h2 {
  font-weight: 600;
  letter-spacing: 0.5px;
}

/* Lista */
#agenda-list {
  border-radius: 16px;
  overflow: hidden;
}

/* Item */
.agenda-item {
  padding: 1.25rem 1.5rem;
  border: none;
  border-bottom: 1px solid #eee;
  transition: background 0.3s ease, transform 0.2s ease;
}

.agenda-item:last-child {
  border-bottom: none;
}

.agenda-item:hover {
  background: #fafafa;
  transform: translateY(-2px);
}

/* Título */
.agenda-item strong {
  font-size: 1.05rem;
  color: #2c2c2c;
}

/* Texto secundário */
.agenda-item small {
  color: #6c757d;
  line-height: 1.6;
}

/* Ícones */
.agenda-item i {
  color: #8b6b4f; /* marrom elegante */
  margin-right: 4px;
}

/* Destaques */
.agenda-item.hoje {
  background: #fff5f5;
  border-left: 6px solid #c0392b;
}

.agenda-item.semana {
  background: #fffaf0;
  border-left: 6px solid #d4a017;
}

/* Badges */
.badge-agenda {
  font-size: 0.65rem;
  font-weight: 600;
  padding: 0.35em 0.55em;
  vertical-align: middle;
}

/* Botão */
#toggleAgenda {
  padding: 0.6rem 2rem;
  border-radius: 30px;
  font-weight: 500;
  letter-spacing: 0.3px;
}

/* Mobile */
@media (max-width: 576px) {
  .agenda-item {
    padding: 1rem;
  }

  .agenda-item strong {
    font-size: 1rem;
  }

  .agenda-item small {
    font-size: 0.9rem;
  }
}
/* =========================
   ANIMAÇÕES SUAVES
========================= */
@keyframes fadeUp {
  from {
    opacity: 0;
    transform: translateY(25px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* Aplica animação na HERO */
.hero h1 {
  animation: fadeUp 1s ease forwards;
}

.hero p {
  animation: fadeUp 1.4s ease forwards;
}

