/* ===== Base ===== */
* { box-sizing: border-box; margin: 0; padding: 0; }
body {
  font-family: 'Inter', sans-serif;
  background-color: #f9fafb;
  color: #333;
}

/* ===== Navbar ===== */
.navbar {
  background-color: #0d4a5c;
  color: #fff;
  padding: 15px 0;
  position: sticky;
  top: 0;
  z-index: 1000;
}

.navbar-content {
  display: flex;
  justify-content: space-between;
  align-items: center;
  width: 90%;
  margin: auto;
}

.logo {
  font-size: 1.6em;
  font-weight: 700;
}

.nav-links {
  display: flex;
  gap: 20px;
}

.nav-links a {
  color: #f3e0c7;
  text-decoration: none;
  font-weight: 600;
  transition: color 0.3s;
}

.nav-links a:hover {
  color: #c1915b;
}

.menu-toggle {
  display: none;
  background: none;
  border: none;
  color: white;
  font-size: 1.8em;
  cursor: pointer;
}

/* ===== Hero ===== */
.hero {
  position: relative;
  background: url('/img/hero.jpg') center/cover no-repeat;
  color: white;
  text-align: center;
  padding: 100px 20px;
}

.hero-overlay {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.4);
}

.hero-content {
  position: relative;
  z-index: 1;
  max-width: 800px;
  margin: auto;
}

.hero h2 {
  font-size: 2.2em;
  margin-bottom: 15px;
}

.hero p {
  font-size: 1.1em;
  margin-bottom: 25px;
}

.btn {
  display: inline-block;
  background-color: #c1915b;
  color: #fff;
  padding: 10px 25px;
  border-radius: 25px;
  text-decoration: none;
  font-weight: 600;
  transition: background 0.3s;
}

.btn:hover {
  background-color: #b07a45;
}

/* ===== Posts Section ===== */
.posts-section {
  padding: 60px 0;
}

.posts-section h3 {
  text-align: center;
  font-size: 1.8em;
  color: #0d4a5c;
  margin-bottom: 40px;
}

.posts-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 30px;
  width: 90%;
  margin: auto;
}

.post-card {
  background: white;
  border-radius: 10px;
  overflow: hidden;
  box-shadow: 0 2px 10px rgba(0,0,0,0.08);
  transition: transform 0.3s ease;
}

.post-card:hover { transform: translateY(-5px); }

.post-img {
  width: 100%;
  height: 180px;
  object-fit: cover;
}

.post-info {
  padding: 15px;
}

.post-info h4 {
  color: #0d4a5c;
  font-size: 1.1em;
  margin-bottom: 8px;
}

.post-info p {
  color: #555;
  font-size: 0.95em;
  margin-bottom: 10px;
}

.post-link {
  text-decoration: none;
  color: #c1915b;
  font-weight: 600;
}

.post-link:hover {
  color: #0d4a5c;
}

/* ===== Footer ===== */
footer {
  text-align: center;
  padding: 20px;
  background-color: #0d4a5c;
  color: #f3e0c7;
  margin-top: 50px;
  font-size: 0.9em;
}

/* ===== Responsivo ===== */
@media (max-width: 768px) {
  .nav-links {
    display: none;
    flex-direction: column;
    background: #0d4a5c;
    position: absolute;
    top: 60px;
    right: 10px;
    width: 200px;
    border-radius: 10px;
    padding: 10px 0;
  }

  .nav-links.show {
    display: flex;
  }

  .nav-links a {
    padding: 10px;
    text-align: center;
  }

  .menu-toggle {
    display: block;
  }

  .hero {
    padding: 70px 20px;
  }

  .hero h2 {
    font-size: 1.6em;
  }

  .hero p {
    font-size: 1em;
  }
}







/* ===== POSTS SECTION BEAUTY ===== */
.section-title {
  text-align: center;
  font-size: 2em;
  font-weight: 700;
  color: #0d4a5c;
  margin-bottom: 50px;
}

.posts-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 35px;
  width: 90%;
  margin: auto;
}

.post-card {
  background: #fff;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 4px 15px rgba(0,0,0,0.08);
  display: flex;
  flex-direction: column;
  transition: all 0.3s ease;
}

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

.post-img-wrapper {
  position: relative;
  width: 100%;
  height: 200px;
  overflow: hidden;
}

.post-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.4s ease;
}

.post-card:hover .post-img {
  transform: scale(1.08);
}

.post-info {
  padding: 20px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  height: 100%;
}

.post-title {
  font-size: 1.2em;
  color: #0d4a5c;
  font-weight: 700;
  margin-bottom: 10px;
  line-height: 1.3;
}

.post-summary {
  color: #555;
  font-size: 0.95em;
  flex-grow: 1;
  margin-bottom: 20px;
}

.post-footer {
  text-align: right;
}

.post-link {
  text-decoration: none;
  color: #c1915b;
  font-weight: 600;
  transition: color 0.3s;
}

.post-link:hover {
  color: #0d4a5c;
}

.no-posts {
  text-align: center;
  color: #888;
  font-size: 1em;
  margin-top: 40px;
}

/* ===== RESPONSIVO ===== */
@media (max-width: 768px) {
  .section-title {
    font-size: 1.5em;
    margin-bottom: 30px;
  }
  .post-card {
    margin-bottom: 20px;
  }
  .post-summary {
    font-size: 0.95em;
  }
}















/* ===== DETALHE DO ARTIGO ===== */
.hero-article {
  position: relative;
  background: linear-gradient(120deg, #0d4a5c, #34495e);
  background-image: linear-gradient(rgba(0,0,0,0.45), rgba(0,0,0,0.45)), url('/img/hero.jpg');
  background-size: cover;
  background-position: center;
  padding: 120px 20px 80px;
  color: white;
  text-align: center;
}

.hero-article h2 {
  font-size: 2.3em;
  margin-bottom: 10px;
}

.hero-meta {
  font-size: 1em;
  color: #f3e0c7;
}

.article-container {
  max-width: 800px;
  margin: 50px auto;
  padding: 0 20px;
  color: #333;
  font-size: 1.05em;
  line-height: 1.7;
}

.bloco-texto {
  margin-bottom: 25px;
  text-align: justify;
}

.bloco-imagem {
  margin: 30px 0;
  text-align: center;
}

.bloco-imagem img {
  width: 100%;
  max-width: 700px;
  border-radius: 12px;
  box-shadow: 0 4px 10px rgba(0,0,0,0.2);
}

.bloco-carrossel {
  display: flex;
  overflow-x: auto;
  gap: 10px;
  scroll-snap-type: x mandatory;
  margin: 30px 0;
}

.bloco-carrossel img {
  flex: 0 0 80%;
  border-radius: 12px;
  object-fit: cover;
  scroll-snap-align: center;
  box-shadow: 0 2px 8px rgba(0,0,0,0.1);
}

.bloco-video {
  margin: 40px 0;
  text-align: center;
}

.bloco-video iframe {
  width: 100%;
  height: 400px;
  border-radius: 12px;
  box-shadow: 0 4px 10px rgba(0,0,0,0.15);
}

.bloco-citacao {
  font-style: italic;
  background: #f3e0c7;
  color: #0d4a5c;
  border-left: 5px solid #c1915b;
  padding: 15px 20px;
  margin: 30px 0;
  border-radius: 8px;
}

.legenda {
  font-size: 0.9em;
  color: #777;
  margin-top: 8px;
}

pre {
  background-color: #1e1e1e;
  color: #fff;
  padding: 15px;
  border-radius: 8px;
  overflow-x: auto;
  margin: 25px 0;
}

@media (max-width: 768px) {
  .hero-article {
    padding: 80px 15px 60px;
  }
  .hero-article h2 {
    font-size: 1.7em;
  }
  .bloco-video iframe {
    height: 250px;
  }
  .bloco-carrossel img {
    flex: 0 0 90%;
  }
}

