/* ======= GERAL ======= */
body {
    font-family: 'Poppins', sans-serif;
    margin: 0;
    padding: 0;
    background: #f9f9fb;
    color: #222;
}

/* ======= CABEÇALHO ======= */
header {
    background: linear-gradient(135deg, #2a2a72, #009ffd);
    color: white;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 18px 10%;
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.2);
}

.logo h1 {
    font-size: 1.5em;
    letter-spacing: 1px;
}

nav ul {
    list-style: none;
    display: flex;
    gap: 20px;
}

nav a {
    text-decoration: none;
    color: white;
    font-weight: 500;
    transition: 0.3s;
}

nav a:hover, nav a.active {
    color: #ffeb3b;
}

/* ======= SEÇÃO INTRO ======= */
.intro {
    text-align: center;
    padding: 80px 10%;
    background: white;
    border-radius: 15px;
    margin: 50px 10%;
    box-shadow: 0 2px 10px rgba(0,0,0,0.05);
}

.intro h2 {
    color: #2a2a72;
    margin-bottom: 15px;
}

.intro p {
    line-height: 1.8;
    color: #444;
}

/* ======= GRADE DE MILAGRES ======= */
.milagres-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 30px;
    padding: 60px 10%;
}

.milagre-card {
    background: white;
    border-radius: 12px;
    box-shadow: 0 4px 10px rgba(0,0,0,0.1);
    overflow: hidden;
    transition: transform 0.3s, box-shadow 0.3s;
}

.milagre-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 8px 18px rgba(0,0,0,0.15);
}

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

.milagre-card h3 {
    color: #2a2a72;
    margin: 15px 20px 10px;
}

.milagre-card p {
    color: #444;
    margin: 0 20px 20px;
    line-height: 1.6;
}

/* ======= MENSAGEM FINAL ======= */
.mensagem-final {
    background: #eaf3ff;
    text-align: center;
    padding: 70px 10%;
}

.mensagem-final h2 {
    color: #1b263b;
    margin-bottom: 20px;
}

.mensagem-final p {
    max-width: 700px;
    margin: auto;
    color: #333;
    line-height: 1.7;
}

/* ======= RODAPÉ ======= */
footer {
    background: #2a2a72;
    color: white;
    text-align: center;
    padding: 20px;
    font-size: 0.9em;
}

/* ======= RESPONSIVIDADE ======= */
@media (max-width: 768px) {
    header {
        flex-direction: column;
        gap: 10px;
    }

    .intro {
        margin: 30px 5%;
        padding: 50px 7%;
    }

    .milagres-grid {
        padding: 40px 5%;
    }
}
// Aqui é para meter o css do milagre do testemunho
.video-card-section {
  display: flex;
  justify-content: center;
  align-items: center;
  padding: 40px 20px;
  background-color: #f5f5f5;
}

.video-card {
  max-width: 700px;
  width: 100%;
  background: white;
  border-radius: 16px;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.15);
  overflow: hidden;
  transition: transform 0.3s ease;
}

.video-card:hover {
  transform: scale(1.02);
}

.video-container {
  position: relative;
  width: 100%;
  padding-top: 56.25%;
}

.video-container iframe {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
}

.card-content {
  padding: 20px;
}

.card-title {
  font-size: 1.6em;
  color: #222;
  margin-bottom: 10px;
  text-align: center;
}

.card-description {
  font-size: 1em;
  line-height: 1.6;
  color: #444;
  text-align: justify;
}

.read-more-btn {
  display: block;
  margin: 20px auto 0;
  padding: 10px 20px;
  background-color: #007bff;
  color: white;
  border: none;
  border-radius: 8px;
  cursor: pointer;
  transition: background 0.3s;
}

.read-more-btn:hover {
  background-color: #0056b3;
}

/* Modal */
.modal {
  display: none;
  position: fixed;
  z-index: 999;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  overflow-y: auto;
  background-color: rgba(0, 0, 0, 0.7);
  padding-top: 60px;
}

.modal-content {
  background-color: #fff;
  margin: auto;
  padding: 20px;
  border-radius: 12px;
  width: 80%;
  max-width: 700px;
  animation: fadeIn 0.4s ease;
}

.close-btn {
  color: #aaa;
  float: right;
  font-size: 28px;
  cursor: pointer;
}

.close-btn:hover {
  color: #000;
}

.modal-title {
  margin-top: 0;
  color: #222;
}

.modal-text {
  font-size: 1em;
  line-height: 1.8;
  color: #333;
  text-align: justify;
}

@keyframes fadeIn {
  from { opacity: 0; transform: scale(0.95); }
  to { opacity: 1; transform: scale(1); }
}
