/* =====================================================
   RESET E BASE
===================================================== */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: Arial, Helvetica, sans-serif;
  background: #f3f4f3;
  color: #333;
}

/* =====================================================
   TÍTULOS PADRÃO
===================================================== */
.titulo {
  font-size: 1.6rem;
  font-weight: bold;
  color: rgb(35, 129, 35);
}

.sub-titulo {
  font-size: 1rem;
  color: rgb(79, 81, 79);
  font-weight: bold;
}

.text-justify {
  text-align: justify;
}

.li_geral {
  font-size: 1rem;
  color: rgb(70, 71, 72);
}

/* =====================================================
   HERO (AJUSTADO – iPHONE + RESPIRO)
===================================================== */
.hero-section {
  position: relative;
  min-height: 25vh;          /* evita corte no iOS */
  padding: 20px 0;
  display: flex;
  align-items: center;
  margin-bottom: 32px;       /* 👈 RESPIRO ENTRE CABEÇALHO E CONTEÚDO */
  z-index: 1;
}

.hero-section::after {
  content: '';
  position: absolute;
  inset: 0;
  background: rgba(27, 94, 32, 0.55);
  z-index: 1;
}

.hero-section .container {
  position: relative;
  z-index: 2;
}

.hero-title {
  color: #fff;
  text-shadow: 0 2px 4px rgba(0, 0, 0, 0.4);
}

.hero-lead {
  color: #e8f5e9;
  font-weight: 300;
}

/* Ajuste específico Safari / iPhone */
@supports (-webkit-touch-callout: none) {
  .hero-section {
    min-height: 30vh;
  }
}

/* =====================================================
   LOGO CABEÇALHO
===================================================== */
.logo-img-header {
  max-width: 140px;
  height: auto;
}

/* =====================================================
   CARROSSEL
===================================================== */
.carousel-item img {
  height: 30vh;
  object-fit: cover;
  filter: brightness(0.6);
}

.carousel-caption {
  bottom: 15%;
}

.carousel-text-box {
  max-width: 600px;
  background: rgba(0, 0, 0, 0.45);
  padding: 20px;
  border-radius: 12px;
}

/* =====================================================
   CARDS GERAIS
===================================================== */
.card {
  border-radius: 12px !important;
}

.card-custom {
  border-radius: 16px;
  overflow: hidden;
  box-shadow: 0 4px 15px rgba(216, 211, 152, 0.1);
  transition: 0.3s;
}

.card-custom:hover {
  transform: translateY(-6px);
}

/* =====================================================
   JORNAIS
===================================================== */
.jornal-card {
  border: none;
  border-radius: 10px;
  box-shadow: 0 4px 10px rgba(0,0,0,0.08);
  transition: transform 0.2s ease;
}

.jornal-card:hover {
  transform: translateY(-4px);
}

.jornal-card .card-header {
  background: #2c3e50;
  color: #fff;
  font-weight: bold;
  text-align: center;
  font-size: 1.1rem;
}

.jornal-card .card-body {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.jornal-card a {
  text-decoration: none;
  color: #2c3e50;
  padding: 8px 10px;
  border-radius: 6px;
  background: #f4f6f8;
  transition: background 0.2s;
}

.jornal-card a:hover {
  background: #e3e8ee;
}

/* =====================================================
   BIOGRAFIAS
===================================================== */
.rounded-image {
  width: 180px;
  height: 180px;
  object-fit: cover;
  border-radius: 50%;
  border: 3px solid #ddd;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.25);
}

.tituloBiografia {
  font-size: 1rem;
  color: steelblue;
  font-weight: bold;
}

.pequenaIntroducao {
  font-size: 0.85rem;
  text-align: center;
  line-height: 1.4;
}

/* =====================================================
   RODAPÉ
===================================================== */
footer {
  margin-top: 60px;
  background: #0d6b34;
  color: #fff;
  padding: 25px 0;
  text-align: center;
}

/* =====================================================
   RESPONSIVO
===================================================== */
@media (max-width: 768px) {
  .titulo {
    font-size: 1.3rem;
    text-align: center;
  }

  p, li {
    font-size: 0.95rem;
  }

  .container {
    padding-left: 18px;
    padding-right: 18px;
  }

  .hero-section {
    margin-bottom: 40px; /* respiro maior no mobile */
  }
}


/* Botão de inscrição */
.btn-inscricao {
    min-width: 130px;
    font-weight: bold;
    align-items: center;
}

/* Quando a inscrição estiver encerrada */
.btn-inscricao.btn-danger {
    cursor: not-allowed;
    opacity: 0.85;
}

.autor_frase {
    text-align: right;
}