
/* 📖 Fonte literária */
body {
  margin: 0;
  font-family: 'Playfair Display', serif;
  background: #ffffff;
  color: white;
}

/* 📌 NAVBAR FIXA (sticky) */
.navbar {
  position: sticky;
  top: 0;
  z-index: 1000;

  display: flex;
  justify-content: space-between;
  align-items: center;

  background: #595959;
  padding: 15px 25px;

  border-bottom: 1px solid rgba(255,255,255,0.08);
}

/* LOGO */
.logo img {
  width: 140px;
  max-width: 100%;
  transition: transform 0.3s ease;
}

.logo img:hover {
  transform: scale(1.05);
}

/* MENU (DESKTOP HORIZONTAL) */
.nav-links {
  display: flex;
  list-style: none;
  gap: 25px;
  align-items: center;
}

/* LINKS */
.nav-links li a {
  color: white;
  text-decoration: none;
  font-size: 15px;
  letter-spacing: 1px;
  transition: 0.3s;
  position: relative;
}

/* sublinhado elegante */
.nav-links li a::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -4px;
  width: 0%;
  height: 1px;
  background: #c9a66b;
  transition: 0.3s;
}

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

.nav-links li a:hover::after {
  width: 100%;
}

/* 🌐 REDES SOCIAIS */
.socials {
  display: flex;
  gap: 10px;
  margin-left: 20px;
}

.socials img {
  width: 20px;
  height: 20px;
  transition: 0.3s;
}

.socials img:hover {
  transform: scale(1.2);
}

/* ☰ HAMBURGUER */
.hamburger {
  display: none;
  font-size: 30px;
  cursor: pointer;
  color: white;
}

/* 🌙 RESPONSIVO + ANIMAÇÃO (efeito livro a abrir) */
@media (max-width: 900px) {

  .nav-links {
    position: absolute;
    top: 70px;
    left: 0;
    width: 100%;

    background: #3a3a3a;

    flex-direction: column;
    gap: 18px;

    display: none;

    padding: 25px 0;

    /* 🎬 efeito “livro a abrir” */
    transform-origin: top;
    animation: openMenu 0.4s ease forwards;
  }

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

  @keyframes openMenu {
    from {
      transform: scaleY(0);
      opacity: 0;
    }
    to {
      transform: scaleY(1);
      opacity: 1;
    }
  }

  .socials {
    margin-left: 0;
    justify-content: center;
  }

  .hamburger {
    display: block;
  }
}
/* Banner*/
/* ================= COMPOSANT 1 : BANNER MAIN ================= */
.banner-container {
  display: flex;
  flex-direction: column-reverse; /* Mobile : l'image passe au-dessus du texte */
  max-width: 1200px;
  margin: 0 auto;
  padding: 30px 20px;
  gap: 40px;
  align-items: center;
}

.banner-content {
  width: 100%;
}

.tags {
  font-size: 13px;
  text-transform: uppercase;
  letter-spacing: 2px;
  color: #c93b2b;
  font-weight: 600;
  display: block;
  margin-bottom: 15px;
}

.title {
  font-family: 'Merriweather', serif;
  font-size: 38px;
  color: #0f2437;
  margin-bottom: 12px;
  font-weight: 700;
}

.subtitle-badge {
  display: inline-block;
  background-color: #801a15; /* Couleur bordeaux d'origine */
  color: #ffffff;
  padding: 6px 20px;
  font-size: 13px;
  font-weight: 400;
  margin-bottom: 25px;
  letter-spacing: 0.5px;
}

.description {
  font-size: 16px;
  line-height: 1.7;
  color: #4a4a4a;
  margin-bottom: 35px;
  max-width: 500px;
}

/* --- Bloc Podcast --- */
.podcast-box {
  display: flex;
  gap: 20px;
  align-items: flex-start;
  max-width: 550px;
}

.podcast-thumb {
  position: relative;
  min-width: 100px;
  height: 100px;
  background-color: #490e38; /* Couleur prune/violet foncé */
  background-image: linear-gradient(145deg, #490e38, #1c0314);
  border-radius: 4px;
  overflow: hidden;
  display: flex;
  align-items: flex-start;
  padding: 8px;
}

.podcast-tag {
  background-color: #e0289a;
  color: #fff;
  font-size: 10px;
  font-weight: bold;
  padding: 2px 8px;
  border-radius: 2px;
  text-transform: uppercase;
}

.podcast-info p {
  font-size: 14px;
  line-height: 1.5;
  color: #333;
  margin-bottom: 10px;
}

.listen-link {
  display: inline-block;
  color: #0f2437;
  text-decoration: none;
  font-weight: 700;
  font-size: 15px;
}

/* --- Section Image en Arche --- */
.banner-image-wrapper {
  width: 100%;
  display: flex;
  justify-content: center;
}

.arch-image-container {
  width: 100%;
  max-width: 440px;
  aspect-ratio: 1 / 1.15; /* Maintient les proportions verticales */
  border-radius: 220px 220px 0 0; /* Forme de l'arche parfaite au sommet */
  overflow: hidden;
  box-shadow: 0 10px 30px rgba(0,0,0,0.05);
}

.profile-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* ================= COMPOSANT 2 : BLOCS DE CARTES ================= */
/* Container Principal (Grid Responsivo) */
.cards-grid-container {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 24px;
  padding: 20px;
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  box-sizing: border-box;
}

/* Link interno para cobrir a área do card */
.card-link {
  text-decoration: none;
  color: inherit;
  display: flex;
  flex-direction: column; /* Organiza os elementos em linha vertical */
  align-items: center;    /* Centraliza os elementos horizontalmente */
  text-align: center;     /* Centraliza o texto (título e descrição) */
  height: 100%;
  box-sizing: border-box;
}

/* Estilização individual de cada Card */
.feature-card {
  background-color: #ffffff;
  border: 1px solid #e2e8f0;
  border-radius: 12px;
  padding: 32px 24px; /* Aumentado o espaço superior/inferior para destacar o centro */
  transition: background-color 0.3s ease, border-color 0.3s ease, transform 0.3s ease;
}

/* Ajuste do ícone SVG */
.card-icon {
  margin-bottom: 16px;
  color: #64748b; /* Cor cinza padrão inicial do ícone */
  transition: color 0.3s ease, transform 0.3s ease; /* Transição suave para a nova cor */
}

/* Título */
.card-title {
  margin: 0 0 8px 0;
  font-size: 1.25rem;
  color: #1e293b;
}

/* Descrição */
.card-desc {
  margin: 0;
  color: #64748b;
  font-size: 0.95rem;
  line-height: 1.5;
}

/* ==========================================
   EFEITOS HOVER (AO PASSAR O MOUSE NO CARD)
   ========================================== */

.feature-card:hover {
  background-color: #f8fafc;
  border-color: #3b82f6; /* Borda fica azul (substitua pela sua cor) */
  transform: translateY(-5px);
  cursor: pointer;
}

/* Muda a cor do ícone SVG quando o card recebe o hover */
.feature-card:hover .card-icon {
  color: #3b82f6; /* Ícone muda para azul (substitua pela sua cor) */
  transform: scale(1.1); /* Opcional: dá um leve zoom de 10% no ícone */
}


/* ================= MEDIA QUERIES (ÉCRANS LARGES) ================= */

/* Tablettes moyennes (à partir de 650px) */
@media (min-width: 650px) {
  .cards-grid-container {
    grid-template-columns: repeat(2, 1fr); /* Passe à 2 colonnes */
  }
}

/* Ordinateurs (à partir de 992px) */
@media (min-width: 992px) {
  .banner-container {
    flex-direction: row; /* Aligne le texte à gauche et l'image à droite */
    padding: 80px 40px 40px 40px;
    justify-content: space-between;
  }

  .banner-content {
    width: 52%;
  }

  .banner-image-wrapper {
    width: 42%;
  }

  .title {
    font-size: 54px; /* Titre plus massif sur grand écran */
  }

  .cards-grid-container {
    grid-template-columns: repeat(4, 1fr); /* Les 4 éléments s'alignent horizontalement */
    padding: 0 40px;
    margin-top: 20px;
  }
}
/* ESTRUTURA DO POEMA */
/* --- Estilos Base / Mobile --- */
.destaque-container {
  display: flex;
  flex-direction: column;
  max-width: 1200px;
  margin: 40px auto;
  padding: 20px;
  gap: 40px;
  background-color: #fdfcf7; /* Fundo idêntico ao banner superior */
  font-family: 'Montserrat', sans-serif;
}

/* --- Coluna do Artigo --- */
.artigo-col {
  width: 100%;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.artigo-badge {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 25px;
}

.barra-vermelha {
  width: 5px;
  height: 25px;
  background-color: #8a251e; /* Tom vermelho escuro */
}

.badge-texto {
  text-transform: uppercase;
  font-size: 12px;
  letter-spacing: 1.5px;
  font-weight: 700;
  color: #8a251e;
}

.artigo-titulo {
  font-family: 'Merriweather', serif;
  font-size: 28px;
  line-height: 1.3;
  color: #112233;
  margin-bottom: 25px;
  font-weight: 700;
}

.artigo-descricao {
  font-size: 14px;
  line-height: 1.7;
  color: #555;
  margin-bottom: 35px;
}

.btn-ler-mais {
  display: inline-block;
  align-self: flex-start;
  background-color: #8a251e;
  color: #fff;
  text-decoration: none;
  padding: 12px 35px;
  font-size: 13px;
  border-radius: 6px;
  font-weight: 600;
  transition: background 0.2s;
}

.btn-ler-mais:hover {
  background-color: #6b1b16;
}

/* --- Bloco do Poema + Imagem --- */
.poema-block {
  width: 100%;
  display: flex;
  flex-direction: column; /* Empilha o texto e a imagem no mobile */
  border-radius: 8px;
  overflow: hidden;
  box-shadow: 0 10px 30px rgba(0,0,0,0.05);
}

.poema-conteudo {
  background-color: #5b6670; /* Cor cinza-azulada do fundo */
  padding: 40px 30px;
  color: #e0e6ed;
  position: relative;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.aspas {
  font-family: 'Merriweather', serif;
  font-size: 48px;
  color: #8a251e; /* Aspas vermelhas em destaque */
  line-height: 1;
  font-weight: bold;
  margin-bottom: 15px;
}

.poema-texto {
  font-family: 'Merriweather', serif;
  font-style: italic;
  font-size: 14px;
  line-height: 1.8;
  margin-bottom: 40px;
}

.poema-texto p {
  margin-bottom: 20px;
}

.btn-poema {
  display: block;
  background-color: #8a251e;
  color: white;
  color: #fff;
  text-decoration: none;
  padding: 12px 20px;
  font-size: 13px;
  font-weight: 600;
  text-align: center;
  align-self: flex-start;
}

/* Imagem do Poema */
.poema-imagem-wrapper {
  width: 100%;
  height: 300px; /* Altura fixa para o mobile */
}

.poema-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* --- Layout para Computadores (Grandes Ecrãs) --- */
@media (min-width: 992px) {
  .destaque-container {
    flex-direction: row; /* Coloca artigo e bloco do poema lado a lado */
    padding: 60px 40px;
    gap: 60px;
  }

  .artigo-col {
    width: 45%; /* Espaço para o texto explicativo */
  }

  .artigo-titulo {
    font-size: 38px; /* Título maior no desktop */
  }

  .poema-block {
    width: 55%; /* Espaço combinado para o poema e foto */
    flex-direction: row; /* Coloca o texto cinza e a foto lado a lado */
    min-height: 480px;
  }

  .poema-conteudo {
    width: 55%;
    padding: 40px;
  }

  .poema-imagem-wrapper {
    width: 45%;
    height: auto; /* Deixa a altura adaptar-se ao bloco */
  }
  
  .btn-poema {
    position: absolute;
    bottom: 0;
    left: 20px; /* Garante que o botão fique ligeiramente "cortado" no canto inferior, conforme o design */
    padding: 12px 25px;
  }
}

/* --------------------Publicações Reentes---------------*/
/* Configurações Gerais de Reset */

/* Estrutura da Secção */
.recent-posts {
    max-width: 1100px;
    margin: 0 auto;
}

.section-header {
    text-align: center;
    margin-bottom: 50px;
}

.section-header h2 {
    font-size: 2.5rem;
    color: #222;
    font-weight: 500;
    margin-bottom: 12px;
}

.section-header p {
    color: #666;
    font-size: 1.05rem;
}

/* Alinhamento dos Cartões (Grelha 2x2) */
.posts-container {
    display: flex;
    flex-wrap: wrap;
    gap: 30px;
}

/* Estrutura Base do Cartão */
.post-card {
    background-color: #fff;
    border-radius: 12px;
    flex: 1 1 calc(50% - 15px); /* Ocupa metade da largura menos o espaçamento */
    min-width: 320px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.04);
    border-top: 6px solid transparent; /* Cor do topo controlada pelas classes específicas */
}

/* Variações de Cores das Bordas Superiores e Badges */
.card-blue { border-top-color: #56ccf2; }
.card-blue .badge { background-color: #56ccf2; }

.card-purple { border-top-color: #bb6bd9; }
.card-purple .badge { background-color: #bb6bd9; }

.card-orange { border-top-color: #f2994a; }
.card-orange .badge { background-color: #f2994a; }

.card-red { border-top-color: #a44a4a; }
.card-red .badge { background-color: #a44a4a; }

/* Conteúdo Interno do Cartão */
.card-content {
    padding: 30px;
}

.badge {
    color: #fff;
    font-size: 0.75rem;
    font-weight: 600;
    padding: 5px 14px;
    border-radius: 6px;
    display: inline-block;
    margin-bottom: 20px;
}

.post-card h3 {
    font-size: 1.4rem;
    color: #111;
    line-height: 1.4;
    margin-bottom: 20px;
}

.post-card p {
    color: #666;
    font-size: 0.95rem;
    line-height: 1.6;
}

/* Rodapé do Cartão */
.card-footer {
    padding: 20px 30px;
    border-top: 1px dashed #eee;
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 0.85rem;
    color: #777;
}

.post-date {
    display: flex;
    align-items: center;
    gap: 6px;
}

.read-more-link {
    color: #555;
    text-decoration: none;
    font-weight: 500;
    transition: color 0.2s ease;
}

.read-more-link:hover {
    color: #8c3026;
}
/* ----------------Meus livros ---------------------- */
/* Configurações Gerais */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Segoe UI', Arial, sans-serif;
}


/* Contentor da Secção */
.books-section {
    max-width: 1100px;
    margin: 0 auto;
}

/* Cabeçalho */
.books-header {
    text-align: center;
    max-width: 900px;
    margin: 0 auto 60px auto;
}

.books-header h2 {
    font-size: 2.8rem;
    color: #111;
    font-weight: 500;
    margin-bottom: 25px;
}

.books-header p {
    color: #555;
    font-size: 1.05rem;
    line-height: 1.7;
}

/* Grelha dos Livros (2 colunas) */
.books-grid {
    display: flex;
    gap: 50px;
    flex-wrap: wrap;
}

/* Item Individual (Livro) */
.book-item {
    flex: 1 1 calc(50% - 25px);
    min-width: 340px;
    display: flex;
    flex-direction: column;
}

/* Contentor da Imagem da Capa */
.book-cover-wrapper {
    width: 100%;
    background-color: #fcfcfc; /* Fundo suave caso a imagem demore a carregar */
    border-radius: 12px;
    overflow: hidden;
    margin-bottom: 25px;
    display: flex;
    justify-content: center;
    align-items: center;
}

.book-cover {
    width: 100%;
    height: auto;
    object-fit: cover;
    display: block;
}

/* Informações do Livro */
.book-info {
    padding: 0 5px;
}

.book-title-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 15px;
    cursor: pointer;
}

.book-title-row h3 {
    font-size: 1.3rem;
    color: #111;
    font-weight: 600;
}

.arrow-icon {
    font-size: 1.4rem;
    color: #222;
    transition: transform 0.2s ease;
}

/* Efeito de movimento na seta ao passar o rato */
.book-title-row:hover .arrow-icon {
    transform: translateX(5px);
}

.book-info p {
    color: #444;
    font-size: 0.95rem;
    line-height: 1.6;
}

/* Responsividade para ecrãs pequenos */
@media (max-width: 768px) {
    .books-grid {
        gap: 40px;
    }
    .books-header h2 {
        font-size: 2.2rem;
    }
}


/* --------------------------------Sobre Mim--------------------------------------------------- */


/* Secção com fundo off-white suave igual ao da imagem */
.about-section {
  margin-top: 40px;
    background-color: #faf6f0; 
    padding: 80px 20px;
    display: flex;
    justify-content: center;
    align-items: center;
}

/* Contentor Principal Flexbox */
.about-container {
    max-width: 1100px;
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 60px;
}

/* Área de Conteúdo */
.about-content {
    flex: 1;
    max-width: 550px;
}

/* Título com a barra vertical castanha à esquerda */
.about-title {
    font-size: 2.5rem;
    color: #3d4a54; /* Tom escuro azulado/acinzentado */
    font-weight: bold;
    display: flex;
    align-items: center;
    gap: 15px;
    margin-bottom: 35px;
}

.about-title::before {
    content: '';
    display: inline-block;
    width: 8px;
    height: 38px;
    background-color: #8c3b2b; /* Cor castanha avermelhada */
}

/* Parágrafos de Texto */
.about-text p {
    color: #444;
    font-size: 1rem;
    line-height: 1.7;
    margin-bottom: 20px;
}

/* Botão "Vamos conversar" */
.btn-chat {
    display: inline-block;
    background-color: #8c3b2b;
    color: #ffffff;
    text-decoration: none;
    padding: 10px 40px;
    font-size: 0.95rem;
    font-weight: 500;
    border-radius: 2px;
    margin-top: 15px;
    margin-bottom: 30px;
    transition: background-color 0.2s ease;
}

.btn-chat:hover {
    background-color: #6f2e21;
}

/* Contentor dos Ícones Sociais */
.social-icons {
    display: flex;
    gap: 20px;
    align-items: center;
}

.social-icons a {
    color: #333;
    font-size: 1.1rem;
    text-decoration: none;
    transition: color 0.2s ease;
}

.social-icons a:hover {
    color: #8c3b2b;
}

/* Contentor da Imagem com Formato de Arco (Top Arched) */
.about-image-wrapper {
    flex: 1;
    max-width: 420px;
    display: flex;
    justify-content: center;
}

.about-image {
    width: 100%;
    height: auto;
    max-height: 500px;
    object-fit: cover;
    /* Faz o topo arredondado em arco e mantém a base reta */
    border-top-left-radius: 200px;
    border-top-right-radius: 200px;
    border-bottom-left-radius: 0px;
    border-bottom-right-radius: 0px;
}

/* Responsividade para Tablets e Telemóveis */
@media (max-width: 868px) {
    .about-container {
        flex-direction: column-reverse; /* Imagem passa para cima no telemóvel */
        gap: 40px;
        text-align: left;
    }
    
    .about-image-wrapper {
        max-width: 320px;
    }
}


/*------------------------Pagina Poesia-------------*/
/* --- Style Global de la Section --- */
.poetry-banner {
  display: flex;
  flex-direction: column; /* Mobile : les éléments s'empilent */
  align-items: center;
  gap: 40px;
  max-width: 1200px;
  margin: 0 auto;
  padding: 60px 20px;
  background-color: #fcf9f5; /* Fond crème clair identique à l'image */
  font-family: 'Montserrat', sans-serif;
}

/* --- Alignement du Texte --- */
.poetry-content {
  width: 100%;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

/* Le trait horizontal violet au-dessus du titre */
.purple-line {
  width: 55px;
  height: 4px;
  background-color: #e0289a;/* Teinte violette exacte du design */
  margin-bottom: 25px;
}

.poetry-title {
  font-family: 'Merriweather', serif; /* Police à empattement pour le titre */
  font-size: 42px;
  color: #1a1a1a;
  margin: 0 0 20px 0;
  font-weight: 700;
}

.poetry-description {
  font-size: 15px;
  line-height: 1.8;
  color: #4a4a4a;
  max-width: 480px; /* Aligne le texte sur trois lignes comme le modèle */
}

/* --- Gestion de l'Image en Arche --- */
.poetry-image-container {
  width: 100%;
  display: flex;
  justify-content: center;
}

.arch-frame {
  width: 100%;
  max-width: 420px;
  aspect-ratio: 1 / 1.05; /* Proportion légèrement verticale */
  border-radius: 210px 210px 0 0; /* Crée l'arche parfaite sur la moitié supérieure */
  overflow: hidden;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.02); /* Ombre très subtile */
}

.arch-img {
  width: 100%;
  height: 100%;
  object-fit: cover; /* Empêche l'image de se déformer */
  display: block;
}

/* ================= COMPORTEMENT SUR ORDINATEUR ================= */
@media (min-width: 768px) {
  .poetry-banner {
    flex-direction: row; /* Aligne le texte à gauche et l'image à droite */
    justify-content: space-between;
    padding: 80px 40px;
  }

  .poetry-content {
    width: 50%;
  }

  .poetry-image-container {
    width: 45%;
    justify-content: flex-end;
  }

  .poetry-title {
    font-size: 56px; /* Titre plus grand sur ordinateur */
  }
}

/*-------------------------------- Poesia -------------------- */

/* Conteneur de la Section */
.poetry-section {
  
    max-width: 1050px;
    margin: 0 auto;
}

.poetry-container {
    margin-top: 40px;
    display: flex;
    gap: 30px;
    flex-wrap: wrap;
}

/* Structure de la Carte */
.poetry-card {
    background-color: #f9f9f9; /* Fond gris très clair */
    border-radius: 12px;
    flex: 1 1 calc(50% - 15px);
    min-width: 320px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.05);
    border-top: 8px solid #e0289a; /* Ligne violette supérieure */
    overflow: hidden;
}

/* Contenu Principal */
.card-main-content {
    padding: 30px;
}

/* Badge Poesia */
.badge-poetry {
    background-color: #e0289a;
    color: #ffffff;
    font-size: 0.75rem;
    font-weight: 500;
    padding: 6px 16px;
    border-radius: 6px;
    display: inline-block;
    margin-bottom: 25px;
}

/* Titre du Poème */
.poetry-title {
    font-size: 1.45rem;
    color: #111111;
    font-family: Georgia, serif;
    font-weight: bold;
    line-height: 1.3;
    margin-bottom: 25px;
}

/* Texte du Poème */
.poetry-text p {
    color: #444444;
    font-size: 0.95rem;
    line-height: 1.6;
    margin-bottom: 4px;
}

/* Barre de Pied de Page */
.card-bottom-bar {
    background-color: #f1f1f1; /* Fond légèrement plus foncé en bas */
    padding: 20px 30px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    border-top: 1px solid #e5e5e5;
}

/* Date et Icône */
.poetry-date {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 0.9rem;
    color: #444444;
    font-weight: 500;
}

.calendar-icon {
    font-size: 1.1rem;
}


/* Responsivité pour Écrans Mobiles */
@media (max-width: 768px) {
    .poetry-container {
        flex-direction: column;
        gap: 20px;
    }
}

/*---------------------Literatura---------------------------*/
/* Badge Poesia */
.badge-literatura {
    background-color: #56ccf2;
    color: #ffffff;
    font-size: 0.75rem;
    font-weight: 500;
    padding: 6px 16px;
    border-radius: 6px;
    display: inline-block;
    margin-bottom: 25px;
}

/* Le trait horizontal violet au-dessus du titre */
.blue-line {
  width: 55px;
  height: 4px;
  background-color: #56ccf2; /* Teinte violette exacte du design */
  margin-bottom: 25px;
}

/* Structure de la Carte */
.literatura-card {
    background-color: #f9f9f9; /* Fond gris très clair */
    border-radius: 12px;
    flex: 1 1 calc(50% - 15px);
    min-width: 320px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.05);
    border-top: 8px solid #56ccf2; /* Ligne violette supérieure */
    overflow: hidden;
}



/*---------------------Politica---------------------------*/
/* Badge Poesia */
.badge-politica {
    background-color: #f58d1d;
    color: #ffffff;
    font-size: 0.75rem;
    font-weight: 500;
    padding: 6px 16px;
    border-radius: 6px;
    display: inline-block;
    margin-bottom: 25px;
}

/* Le trait horizontal violet au-dessus du titre */
.yellow-line {
  width: 55px;
  height: 4px;
  background-color: #f58d1d;; /* Teinte violette exacte du design */
  margin-bottom: 25px;
}

/* Structure de la Carte */
.politica-card {
    background-color: #f9f9f9; /* Fond gris très clair */
    border-radius: 12px;
    flex: 1 1 calc(50% - 15px);
    min-width: 320px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.05);
    border-top: 8px solid #f58d1d; /* Ligne violette supérieure */
    overflow: hidden;
}
/*---------------------História---------------------------*/
/* Badge Poesia */
.badge-historia {
    background-color: #a35951;
    color: #ffffff;
    font-size: 0.75rem;
    font-weight: 500;
    padding: 6px 16px;
    border-radius: 6px;
    display: inline-block;
    margin-bottom: 25px;
}

/* Le trait horizontal violet au-dessus du titre */
.castanho-line {
  width: 55px;
  height: 4px;
  background-color: #a35951; /* Teinte violette exacte du design */
  margin-bottom: 25px;
}

/* Structure de la Carte */
.historia-card {
    background-color: #f9f9f9; /* Fond gris très clair */
    border-radius: 12px;
    flex: 1 1 calc(50% - 15px);
    min-width: 320px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.05);
    border-top: 8px solid #a35951; /* Ligne violette supérieure */
    overflow: hidden;
}

/*-----------------------------Artigos publicações-------------------------------------*/

/*--------------------------------Footer ---------------------------------*/
/* Base do Footer */
.site-footer {
    margin-top: 40px;
    background-color: #555555; /* Fundo cinzento escuro idêntico ao da imagem */
    color: #ffffff;
    padding: 60px 40px 30px 40px;
}

/* Container Principal em Flexbox */
.footer-container {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    gap: 40px;
}

/* Esquerda: Newsletter */
.footer-newsletter {
    flex: 1;
    max-width: 500px;
}

.footer-newsletter h2 {
    font-size: 2.2rem;
    font-family: Georgia, serif;
    font-weight: normal;
    margin-bottom: 15px;
}

.footer-newsletter p {
    font-size: 0.95rem;
    color: #e0e0e0;
    line-height: 1.6;
    margin-bottom: 25px;
}

/* Formulário empilhado */
.newsletter-form {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.newsletter-form input {
    width: 100%;
    max-width: 400px;
    padding: 12px 15px;
    border: none;
    background-color: #f0f0f0;
    font-size: 0.95rem;
    color: #333;
}

.newsletter-form input::placeholder {
    color: #999;
}

.newsletter-form button {
    width: fit-content;
    background-color: #8c3b2b; /* Tom vermelho escuro/tijolo */
    color: #ffffff;
    border: none;
    padding: 12px 35px;
    font-size: 0.95rem;
    cursor: pointer;
    transition: background-color 0.2s ease;
}

.newsletter-form button:hover {
    background-color: #722e21;
}

/* Direita: Contacto e Links */
.footer-contact {
    text-align: right;
    font-size: 0.95rem;
    line-height: 1.8;
}

.contact-label {
    display: block;
    color: #b0b0b0;
    font-size: 0.85rem;
    margin-bottom: 5px;
}

.contact-link {
    color: #ffffff;
    text-decoration: none;
}

.contact-link:hover {
    text-decoration: underline;
}

.contact-substack a {
    color: #ffffff;
    text-decoration: none;
}

/* Redes Sociais do Footer */
.footer-socials {
    display: flex;
    justify-content: flex-end;
    gap: 15px;
    margin-top: 20px;
}

.footer-socials a {
    color: #ffffff;
    font-size: 1.1rem;
    text-decoration: none;
    transition: opacity 0.2s ease;
}

.footer-socials a:hover {
    opacity: 0.7;
}

/* Secção Inferior (Slogan, Linha e Copyright) */

.footer-slogan {
    text-align: right;
    font-size: 0.85rem;
    color: #e0e0e0;
    letter-spacing: 1px;
    margin-bottom: 15px;
}

.footer-divider {
    border: none;
    border-top: 1px solid #777777;
    margin-bottom: 15px;
}

.footer-copyright {
    font-size: 0.85rem;
    color: #cccccc;
}

/* Responsividade */
@media (max-width: 768px) {
    .footer-container {
        flex-direction: column;
        gap: 50px;
    }
    
    .footer-contact {
        text-align: left;
    }
    
    .footer-socials {
        justify-content: flex-start;
    }
    
    .footer-slogan {
        text-align: left;
    }
}
