/*
Theme Name: Renato Dart Child
Theme URI: https://renatodart.me
Template: blocksy
Author: Renato Dart Bahiense
Version: 1.0
Description: Tema filho modular e simbólico para o site pessoal de Renato Dart – Nas Fronteiras da Medicina.
*/

/* 1. Base – reset e tipografia global */
body {
  font-family: 'Merriweather', Georgia, serif;
  background-color: #f9fbfd;
  color: #1a1a1a;
  line-height: 1.7;
  font-size: 17px;
  margin: 0;
  padding: 0;
}

a {
  color: #005b7f;
  text-decoration: none;
  transition: color 0.2s ease;
}

a:hover {
  text-decoration: underline;
  color: #0066cc;
}

h1, h2, h3, h4, h5, h6 {
  font-family: 'Merriweather', Georgia, serif;
  font-weight: 600;
  line-height: 1.4;
  color: #111;
  margin-top: 2rem;
  margin-bottom: 1rem;
}

/* 2. Header personalizado */
.site-title {
  font-size: 2.2rem;
  text-align: center;
  margin-top: 3rem;
  font-weight: 700;
  letter-spacing: -0.5px;
}

.site-subtitle {
  font-size: 1.1rem;
  text-align: center;
  color: #555;
  margin-top: 0.5rem;
  font-style: italic;
}

.container-home-header {
  max-width: 820px;
  margin: 0 auto;
  padding: 2rem 1rem 3rem 1rem;
}

/* 3. Hero section (home) */
.hero-renato {
  background-color: #f4f7fa;
  padding: 3rem 1.5rem;
  text-align: center;
  border-radius: 1rem;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.03);
  font-family: 'Merriweather', serif;
}

.hero-renato h1 {
  font-size: 2rem;
  margin-bottom: 0.5rem;
  font-weight: 700;
  color: #1a1a1a;
}

.hero-renato p {
  font-size: 1rem;
  color: #555;
  margin: 0;
}

/* 4. Cards de referência (bloco [ref_ministerio]) */
.section-referencias-ministerio {
  background-color: #f4f7fa;
  padding: 3rem 2rem;
}

.section-referencias-ministerio h2 {
  font-size: 1.6rem;
  text-align: center;
  margin-bottom: 2rem;
}

.card-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 1.5rem;
}

.card-grid a {
  display: block;
  background: #ffffff;
  padding: 1.5rem;
  border-radius: 1rem;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.03);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.card-grid a:hover {
  transform: translateY(-3px);
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.05);
}

.card-grid strong {
  display: block;
  margin-bottom: 0.5rem;
  font-weight: 600;
}

.card-grid p {
  font-size: 0.9rem;
  color: #555;
}

/* 5. Estética complementar */
img {
  max-width: 100%;
  height: auto;
  border-radius: 0.5rem;
}

.container {
  max-width: 1200px;
  margin: auto;
  padding: 1rem;
}

.fade-in {
  animation: fadeIn 1s ease-in;
}

@keyframes fadeIn {
  from { opacity: 0; transform: translateY(10px); }
  to { opacity: 1; transform: translateY(0); }
}

@media (prefers-color-scheme: dark) {
  body {
    background-color: #121212;
    color: #e0e0e0;
  }

  a { color: #80c8ff; }
  .hero-renato, .section-referencias-ministerio {
    background-color: #1e1e1e;
  }
  .card-grid a {
    background: #2a2a2a;
    box-shadow: 0 2px 10px rgba(0,0,0,0.3);
  }
}

.fade-in-delay {
  animation: fadeIn 1s ease-in 0.4s;
}
.fade-in-up {
  animation: fadeInUp 1s ease;
}
@keyframes fadeInUp {
  from { opacity: 0; transform: translateY(20px); }
  to { opacity: 1; transform: translateY(0); }
}

.full-bleed {
  width: 100vw !important;
  margin-left: calc(50% - 50vw) !important;

}

body {
  overflow-x: hidden;
}

.neuro-banner {
  position: relative;
  width: 100vw;
  height: 60vh;
  background-image: url('/wp-content/uploads/2025/06/brain-banner-glow.webp');
  background-size: cover;
  background-position: center;
  display: flex;
  justify-content: center;
  align-items: center;
  overflow: hidden;
  animation: slowZoom 30s ease-in-out infinite alternate;
}

.neuro-banner .overlay {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.4); /* escurece para texto legível */
  z-index: 1;
}

.banner-content {
  position: relative;
  z-index: 2;
  color: #f9fbfd;
  text-align: center;
  font-family: 'Merriweather', serif;
  padding: 0 2rem;
}

.banner-content h1 {
  font-size: 2rem;
  margin-bottom: 0.5rem;
  font-weight: 700;
}

.banner-content p {
  font-size: 1.1rem;
  color: #dce3e9;
}

@keyframes slowZoom {
  from {
    transform: scale(1);
  }
  to {
    transform: scale(1.03);
  }
}

