/* ============================================================
   ESTILOS DO ARTIGO (EDITORIAL) - VISUAL RESTAURADO
   ============================================================ */

/* ------------------------------------------------------------
   1. HERO (TOPO) - TÉCNICA NOVA (1920x1080)
   ------------------------------------------------------------ */
.article-header {
  width: 100%;
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  margin-top: -80px; /* Compensa o menu transparente */
  overflow: hidden;

  /* NO DESKTOP: Força proporção exata de Cinema (16:9) */
  aspect-ratio: 16 / 9;
  min-height: 500px;
  max-height: 100vh;
}

/* O "Envelope" da Imagem */
.hero-bg-container {
  position: absolute !important;
  top: 0 !important;
  left: 0 !important;
  width: 100% !important;
  height: 100% !important;
  z-index: 0;
}

/* A Imagem em si (Fundamental para não achatar) */
.hero-bg-container img {
  width: 100% !important;
  height: 100% !important;
  object-fit: cover !important; /* Corta o excesso, não achata */
  object-position: center top !important; /* Foca no topo/centro */
  display: block !important;
}

/* A Sombra Escura (Overlay) */
.article-header .overlay {
  background: linear-gradient(
    to bottom,
    rgba(0, 0, 0, 0.3),
    rgba(0, 0, 0, 0.8)
  );
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 1;
}

/* --- TEXTOS DO CABEÇALHO --- */
.header-content {
  max-width: 900px;
  position: relative;
  z-index: 3;
  padding-top: 80px;
  padding-left: 20px;
  padding-right: 20px;
  text-align: center;
}

.article-meta {
  display: block;
  font-family: "Lato", sans-serif;
  font-size: 0.9rem;
  color: #c5a368;
  font-weight: 700;
  text-transform: uppercase;
  margin-bottom: 15px;
  letter-spacing: 2px;
}

.header-content h1 {
  font-family: "Playfair Display", serif;
  font-size: clamp(2.5rem, 5vw, 4.5rem);
  color: #fff;
  margin-bottom: 30px;
  line-height: 1.1;
  text-shadow: 0 4px 10px rgba(0, 0, 0, 0.5);
}

/* ------------------------------------------------------------
   2. CORPO DO ARTIGO (FORMATAÇÃO DE TEXTO)
   ------------------------------------------------------------ */
.article-body {
  padding: 80px 0;
  background-color: #fff;
}

/* Letra Capitular (A primeira letra grande) */
.dropcap {
  float: left;
  font-family: "Playfair Display", serif;
  font-size: 3.8rem;
  line-height: 0.8;
  font-weight: 700;
  color: #c5a368; /* Dourado */
  margin-right: 12px;
  margin-top: -2px;
}

/* Texto Introdutório (Borda lateral) */
.intro-text {
  font-size: 1.3rem;
  font-weight: 300;
  color: #555;
  line-height: 1.8;
  margin-bottom: 40px;
  border-left: 4px solid #c5a368; /* Linha Dourada */
  padding-left: 25px;
}

/* Parágrafos Comuns */
.article-body p {
  font-size: 1.15rem;
  line-height: 1.9;
  color: #444;
  margin-bottom: 25px;
  font-family: "Lato", sans-serif;
}

/* Subtítulos (H2) */
.article-body h2 {
  font-family: "Playfair Display", serif;
  font-size: 2.2rem;
  margin-top: 60px;
  margin-bottom: 25px;
  color: #1a1a1a;
  border-bottom: 1px solid #eee;
  padding-bottom: 10px;
  display: inline-block;
}

/* Citações de Destaque */
blockquote {
  font-family: "Playfair Display", serif;
  font-size: 1.8rem;
  font-style: italic;
  color: #333;
  text-align: center;
  margin: 60px auto;
  line-height: 1.4;
  padding: 0 20px;
  max-width: 800px;
  position: relative;
}
/* Aspas decorativas (opcional) */
blockquote::before {
  content: "“";
  font-size: 4rem;
  color: #e2e8f0;
  position: absolute;
  top: -40px;
  left: 50%;
  transform: translateX(-50%);
  font-family: serif;
}

/* ------------------------------------------------------------
   3. GALERIA DE FOTOS (O QUADRO DOURADO VOLTOU!)
   ------------------------------------------------------------ */
.image-gallery {
  display: flex;
  justify-content: center;
  gap: 30px;
  margin: 50px 0;
}

.image-gallery img {
  flex: 1;
  max-width: calc(50% - 15px); /* Divide em 2 colunas */
  height: 350px;
  object-fit: cover;

  /* --- AQUI ESTÁ O SEU QUADRO --- */
  border: 4px solid #c5a368; /* Borda Dourada */
  padding: 6px; /* Espaço Branco entre foto e borda */
  background: #fff; /* Fundo Branco */
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1); /* Sombra elegante */
  transition: transform 0.3s ease;
}

.image-gallery img:hover {
  transform: translateY(-5px); /* Leve movimento ao passar o mouse */
}

/* ------------------------------------------------------------
   4. BOX DE CHAMADA (CTA)
   ------------------------------------------------------------ */
.article-cta {
  background-color: #f9fafb;
  border: 1px solid #e2e8f0;
  padding: 50px;
  border-radius: 16px;
  text-align: center;
  margin: 80px 0 20px 0;
  box-shadow: 0 5px 20px rgba(0, 0, 0, 0.05);
}

.article-cta h3 {
  margin-top: 0;
  color: #c5a368;
  font-family: "Playfair Display", serif;
  font-size: 1.8rem;
}

.btn-primary {
  display: inline-block;
  background: #1a1a1a;
  color: #fff;
  padding: 15px 40px;
  border-radius: 50px;
  text-decoration: none;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1px;
  transition: all 0.3s;
  margin-top: 20px;
}
.btn-primary:hover {
  background: #c5a368;
  transform: translateY(-3px);
}

/* ------------------------------------------------------------
   5. RESPONSIVIDADE (CELULAR)
   ------------------------------------------------------------ */
@media (max-width: 768px) {
  /* Hero volta a ser alto no celular para caber título */
  .article-header {
    aspect-ratio: unset;
    height: 85vh;
    max-height: 800px;
  }

  /* Ajustes de Texto */
  .header-content h1 {
    font-size: 2.2rem;
  }
  .intro-text {
    font-size: 1.1rem;
    padding-left: 15px;
  }
  .dropcap {
    font-size: 3rem;
    margin-right: 8px;
  }

  /* Galeria vira coluna única */
  .image-gallery {
    flex-direction: column;
    gap: 30px;
  }
  .image-gallery img {
    max-width: 100%; /* Ocupa largura total */
    height: auto;
    max-height: 400px;
  }
}
