/* --- ESTILOS GERAIS --- */
body, html {
    margin: 0;
    padding: 0;
    width: 100%;
    height: 100%;
    font-family: Arial, sans-serif; /* Fonte base sans-serif */
    background-color: #FFFFFF; /* Fundo principal branco */
    color: #333;
    overflow-x: hidden;
}

a {
    text-decoration: none;
    color: inherit;
    transition: color 0.3s ease;
}

/* --- GRADIENTE DE FUNDO SUTIL --- */
/* Recria o efeito de luz suave da imagem */
.background-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: radial-gradient(circle at 10% 20%, rgba(240, 240, 240, 0.4) 0%, rgba(255, 255, 255, 1) 100%);
    z-index: -1;
}

/* --- CABEÇALHO (HEADER) --- */
.headerprinc {
    position: fixed;
    top: 0;
    width: 100%;
    height: 80px;
    background-color: rgba(255, 255, 255, 0); /* Permite ver o gradiente por trás */
    display: flex;
    justify-content: space-between;
    align-items: center;
    box-sizing: border-box;
    z-index: 100;
    padding: 0 10% 0 10%;
    transition: background-color 0.4s ease;
}

.headerprinc.scrolled{
  background-color: rgba(255, 255, 255, 1);
}

header{
  position: fixed;
    top: 0;
    width: 100%;
    height: 80px;
    background-color: rgba(255, 255, 255, 1); /* Permite ver o gradiente por trás */
    display: flex;
    justify-content: space-between;
    align-items: center;
    box-sizing: border-box;
    z-index: 100;
    padding: 0 10% 0 10%;
}

.header-logo {
    display: flex;
    align-items: center;
}

.header-logo img {
    height: 35px;
    margin-right: 15px;
}

.header-title {
    font-size: 1.1rem;
    color: #444;
    font-weight: 500;
}

.headerprinc .header-title {
    font-size: 1.1rem;
    color: white;
    font-weight: 500;
}

.scrolled .header-title{
  color: #444;
}

.nav-menu {
    display: flex;
    align-items: center;
    gap: 25px;
}

.nav-item {
    font-size: 0.8rem;
    color: #444;
    display: flex;
    align-items: center;
}

.headerprinc .nav-item {
    font-size: 0.8rem;
    color: white;
    display: flex;
    align-items: center;
}

.scrolled .nav-item{
  color: #444;
}

/* Cor vermelha suave para hover/ativo nos itens de menu */
.nav-item.active,
.nav-item:hover {
    color: #C03030;
}

.dropdown {
  float: left;
  overflow: hidden;
}

.dropdown {
  font-size: 16px;  
  border: none;
  outline: none;
  color: white;
  background-color: inherit;
  font-family: inherit;
  margin: 0;
}

.dropdown-content {
  display: none;
  position: absolute;
  margin-left: -0.5%;
  background-color: #f9f9f9;
  box-shadow: 0 1px 2px 1px rgba(0, 0, 0, 0.15);
  border-radius: 5px;
  min-width: 200px;
  z-index: 1;
}

.dropdown-content a {
  float: none;
  color: #444;
  padding: 12px 16px;
  text-decoration: none;
  font-size: 0.9rem;
  display: block;
  text-align: left;
  transition: all 0.15s ease;
}

.dropdown-content a:hover {
  color: #C03030;
}

.dropdown:hover .dropdown-content {
  display: block;
}

.headerprinc .bi{
  color: white;
  transition: all 0.5s ease;
  margin-left: 5px;
}

header .bi{
  color: #444;
  transition: all 0.5s ease;
  margin-left: 5px;
}

.dropdown:hover .bi {
  display: inline-block;
  color: #C03030;
  transform: rotate(180deg);
}

.scrolled .bi{
 color: #444;
}


/* --- RESPONSIVIDADE BÁSICA --- */
@media (max-width: 992px) {
    header {
        padding: 0 20px;
        height: 80px;
    }

    .header-logo img {
        height: 30px;
        margin-right: 10px;
    }

    .header-title {
        display: none; /* Esconde o título do texto no mobile */
    }

    .nav-menu {
        gap: 15px;
    }

    .nav-item, .en-button {
        font-size: 0.8rem;
    }

    .main-title {
        font-size: 2.8rem;
    }

    .button-group {
        flex-direction: column;
        gap: 10px;
    }

    .btn {
        width: 100%; /* Botões de largura total no mobile */
    }
}

/*------------------------------------------------------------------------------------------------------*/

/* --- CONTEÚDO PRINCIPAL (MAIN) --- */
#principal {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    min-height: 100vh;
    box-sizing: border-box;
    text-align: center;
}

.heroprincipal{
  position: relative;
  width: 100%;
  height: 800px;
  align-content: center;
}

/* Mosaico */
.gallery{
  position:absolute;
  inset:0;

  display:grid;

  width: 100%;
  height: 100%;

  gap:12px;
  z-index: 0;

  overflow: hidden;
}

.photo{
  background-size:cover;
  background-position:center;
  border-radius:18px;
}

/* Cada foto ocupa um espaço diferente */

.p1{
  grid-column:1;
  background-image:url("Images/AfonsoMicro.JPG");
  filter: brightness(200%);
  width: 120%;
}

.p2{
  grid-column:2 / span 2;
  background-image:url("Images/SOEdefesa.JPG");
  width: 90%;
  margin-left: 10%;
}

.p3{
  grid-column:4;
  background-image:url("Images/recrutamento.jpg");
}

.p4{
  grid-column:1 / span 2;
  background-image:url("Images/certificados.JPG");
  background-position: bottom;
  width: 80%;
}

.p5{
  grid-column:3;
  background-image:url("Images/anav.JPG");
  width: 110%;
  margin-left: -40%;
}

.p6{
  grid-column:4;
  background-image:url("Images/carol.JPG");
  width: 130%;
  margin-left: -30%;
}

/* Escurecer */
.overlay{
    position:absolute;
    inset:0;
    background:rgba(0,0,0,.75);
}

/* Logo FES grande central */
.hero-logo-container{
  position: relative;
  margin-top: 2vw;
  z-index: 1;
}

.hero-logo-container img {
    width: 200px; /* Ajuste o tamanho conforme necessário */
    height: auto;
    margin-bottom: 2vw;
}

/* Título Principal */
.main-title {
    font-family: 'Crimson Text', serif; /* Fonte serifada */
    font-size: 4rem; /* Tamanho grande */
    line-height: 1.1;
    color: white;
    margin: 0;
    font-weight: 700;
}

/* A palavra 'Society' em vermelho */
.main-title .highlight {
    color: #D13535; /* Vermelho correspondente */
}

/* Slogan */
.hero-tagline {
    font-size: 1rem;
    color: white;
    font-style: italic;
    margin-top: 25px;
    margin-bottom: 55px;
    font-weight: 300;
}

/* --- BOTÕES (BUTTONS) --- */
.button-group {
    display: flex;
    gap: 15px;
    margin-bottom: 60px;
}

.botaoinicio{
  position: relative;
  z-index: 1;
  justify-content: center;
}

.botaoinicio .btn {
    display: inline-block;
    padding: 14px 28px;
    border-radius: 8px;
    font-size: 0.95rem;
    font-weight: bold;
    cursor: pointer;
    text-align: center;
    transition: all 0.3s ease;
    width: 160px; /* Largura consistente */
}

/* Botão Vermelho Sólido ('Conhece-nos') */
.botaoinicio .btn-solid {
    background-color: #D13535; /* Vermelho */
    color: white;
}

.botaoinicio .btn-solid:hover {
    background-color: white;
    color: #D13535;
}

/* Botão Delineado ('Newsletter' e 'Linktree') */
.botaoinicio .btn-outline {
    background-color: white;
    color: #D13535; /* Texto Vermelho */
}

.botaoinicio .btn-outline:hover {
    background-color: #D13535; /* Vermelho */
    color: white;
}

/*--------------------------------------------------------------------*/

/* Estilos da Secção de Recrutamento */
.recruitment-section {
  background-color: #2a2a2a; /* Tom de cinza escuro de fundo */
  color: #ffffff;
  padding: 60px 20px;
  text-align: center;
  width: 100%;
}

.recruitment-container {
  max-width: 900px;
  margin: 0 auto;
  position: relative;
  z-index: 2;
}

.recruitment-container .section-tag{
  color: #c93b2b;
  font-size: 0.75rem;
  font-weight: bold;
  letter-spacing: 2px;
  display: block;
  margin-bottom: 15px;
  text-align: center;
}

/* Título Serifado (mesmo estilo do Hero) */
.recruitment-title {
  font-family: 'Playfair Display', 'Georgia';
  font-size: 2.5rem;
  margin: 0 0 15px 0;
  font-weight: bold;
}

/* Texto de Apoio (Sans-serif) */
.recruitment-text {
  color: #b3b3b3;
  font-size: 1rem;
  max-width: 600px;
  margin: 0 auto 40px auto;
  line-height: 1.5;
}

/* Botão principal */
.recruitment-btn {
  display: inline-flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  background-color: #d32f2f;
  color: #ffffff;
  padding: 14px 36px;
  border-radius: 8px;
  text-decoration: none;
  box-shadow: 0 4px 15px rgba(211, 47, 47, 0.3);
  transition: all 0.3s ease;
  position: relative;
}

.recruitment-btn:hover {
  background-color: #b71c1c;
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(211, 47, 47, 0.5);
}

.btn-main-text {
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
  font-size: 1.25rem;
  font-weight: 700;
  letter-spacing: 0.5px;
}

/* Responsividade para telemóveis */
@media (max-width: 768px) {
  .recruitment-title {
    font-size: 2rem;
  }
  
  .recruitment-text {
    font-size: 1rem;
  }

  .recruitment-btn {
    padding: 12px 28px;
    width: 90%;
    max-width: 320px;
  }
}

/*-----------------------------------------------------------------*/


.partners-section {
  padding: 60px 20px;
  background-color: #f8f9fa; /* Fundo cinza claro semelhante à imagem */
  text-align: center;
}

.partners-section h2 {
  color: #c93b2b; /* Tom de vermelho aproximado */
  font-family: sans-serif;
  font-size: 1.2rem;
  letter-spacing: 2px;
  margin-bottom: 40px;
}

.partners-grid {
  display: flex;
  justify-content: center;
  align-items: center;
  flex-wrap: wrap;
  gap: 40px; /* Espaçamento entre os logos */
  max-width: 1200px;
  margin: 0 auto;
  gap: 4vw;
}

.partner-item img {
  max-width: 120px; /* Limita a largura do logo */
  max-height: 60px; /* Limita a altura para manter a proporção */
  width: auto;
  height: auto;
  object-fit: contain;
  filter: grayscale(20%); /* Opcional: suaviza as cores */
  transition: transform 0.3s ease;
}

/* Efeito visual ao passar o rato */
.partner-item img:hover {
  transform: scale(1.05);
}

/*-----------------------------------------------------------------*/

.about {
    padding: 100px 20px;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
}

.about .section-tag {
    display: block;
    text-align: center;
    color: #d43d3d;
    font-size: 0.85rem;
    font-weight: 700;
    letter-spacing: 3px;
    margin-bottom: 24px;
}

.titulo-about {
    text-align: center;
    font-family: "Playfair Display", serif;
    font-size: 3rem;
    font-weight: 700;
    line-height: 1.1;
    margin-bottom: 32px;
}

.descricao-about {
    max-width: 900px;
    margin: 0 auto 80px;
    text-align: center;
    font-size: 1.125rem;
    line-height: 1.8;
    color: #555;
}

.about-cards {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 32px;
}

.card {
    background: #fff;
    border: 1px solid #ece7e4;
    border-radius: 20px;
    padding: 38px;
    transition: 0.3s ease;
    text-align: left;
}

.card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(0,0,0,.06);
}

.icon-box {
    width: 60px;
    height: 60px;
    border-radius: 14px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.7rem;
    margin-bottom: 30px;
    background-color: #fed4d4;
}

.bi{
    color: #D13535;
    transition: all 0.15s ease;
}

footer .bi{
  color: white;
  transition: all 0.15s ease;
}

.card h3 {
    font-family: "Playfair Display", serif;
    font-size: 1.5rem;
    margin-bottom: 18px;
}

.card p {
    color: #666;
    line-height: 1.8;
    font-size: 0.9rem;
}

/* Tablet */
@media (max-width: 992px) {
    .about-cards {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .titulo-about{
        font-size: 2.5rem;
    }

    .descricao-about{
        font-size: 1rem;
    }

    .botaoinicio{
      align-items: center;
    }
}

/* Mobile */
@media (max-width: 640px) {
    .titulo-about{
        font-size: 2rem;
    }

    .descricao-about{
        font-size: 1rem;
    }
    
    .about-cards {
        grid-template-columns: 1fr;
    }

    .section-description {
        font-size: 1.1rem;
    }

    .card h3 {
        font-size: 1.7rem;
    }

    .botaoinicio{
      align-items: center;
    }

    .p1{
      display: none;
    }

    .p2{
      display: none;
    }

    .p3{
      display: none;
    }

    .p4{
      display: none;
    }

    .p5{
      display: none;
    }

    .p6{
      grid-column: 1;
      background-image:url("Images/recrutamento.jpg");
      background-position: left;
    }
}

/* --------------------------------------------------------------------*/
.activities-section {
  padding: 60px 40px;
  font-family: sans-serif;
  overflow: hidden;
}

.activities-header {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  margin-bottom: 40px;
  padding-left: 10%;
  text-align: left;
}

.subtitle {
  color: #D13535;
  font-size: 0.85rem;
  font-weight: bold;
  letter-spacing: 1px;
}

.title {
  font-family: 'Georgia', serif;
  font-size: 2.5rem;
  margin: 10px 0 0 0;
  color: #111;
}

.carousel-buttons{
    margin-right: 10%;
}

.carousel-buttons button {
  background: white;
  border: 1px solid #ccc;
  border-radius: 4px;
  width: 40px;
  height: 40px;
  cursor: pointer;
  margin-left: 8px;
  font-size: 1.1rem;
  transition: all 0.2s ease;
}

.carousel-buttons button:hover {
  border-color: #111;
  background-color: #f9f9f9;
}

/* Container do Carrossel com Scroll Horizontal */
.carousel-container {
  display: flex;
  gap: 24px;
  overflow-x: auto;
  scroll-behavior: smooth;
  padding-bottom: 20px;
  /* Esconde a barra de scroll padrão */
  -ms-overflow-style: none;  
  scrollbar-width: none;  
}

.carousel-container::-webkit-scrollbar {
  display: none; /* Esconde a barra no Chrome/Safari */
}

/* Estilo dos Cartões */
.activity-card {
  flex: 0 0 300px; /* Define largura fixa para os cartões no slider */
  background: white;
  border: 1px solid #e5e7eb;
  border-top: 4px solid #D13535; /* Linha vermelha no topo */
  border-radius: 12px;
  padding: 30px 24px;
  box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.05);
  text-align: left;
  float: left;
  transition: all 0.15s ease;
}

.tag {
  display: inline-block;
  color: #D13535;
  background-color: #fed4d4;
  padding: 4px 12px;
  border-radius: 20px;
  font-size: 0.75rem;
  font-weight: bold;
  margin-bottom: 20px;
  transition: all 0.15s ease;
}

.icon-wrapper {
  background-color: #fed4d4;
  width: 50px;
  height: 50px;
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
  margin-bottom: 20px;
  transition: all 0.15s ease;
}

.activity-card:hover .icon-wrapper{
  background-color: #D13535;
}

.activity-card:hover .bi{
  color: #fed4d4;
}

.activity-card:hover {
  box-shadow: 0 1px 2px 1px rgba(0, 0, 0, 0.15);
}

.activity-card h3 {
  font-family: 'Georgia', serif;
  font-size: 1.3rem;
  margin: 0 0 15px 0;
  color: #111;
  line-height: 1.3;
}

.activity-card p {
  color: #666;
  font-size: 0.9rem;
  line-height: 1.6;
  margin: 0;
}

/* Tablet */
@media (max-width: 992px) {
    .activities-section{
        display: grid;
    }
    
    .activities-header {
        display: flex;
    }

    .title{
        font-size: 2rem;
    }

    .carousel-buttons{
        margin-right: 0;
    }
}

/* Mobile */
@media (max-width: 640px) {
    .activities-section{
        display: grid;
    }

    .activities-header {
        display: flex;
    }

    .title{
        font-size: 2rem;
    }

    .carousel-buttons{
        margin-right: 0;
    }
}

/* --------------------------------------------------------------------------------*/

.newsletter-articles-section {
  background-color: #2a2a2a; /* Tom de cinza escuro de fundo */
  color: #ffffff;
  padding: 80px 20px;
  font-family: sans-serif;
  text-align: center;
}

.section-content {
  margin: 0 auto;
}

.newsletter-articles-section .section-tag {
  color: #c93b2b;
  font-size: 0.75rem;
  font-weight: bold;
  letter-spacing: 2px;
  display: block;
  margin-bottom: 15px;
  text-align: center;
}

.section-title {
  font-family: 'Georgia', serif;
  font-size: 2.5rem;
  margin: 0 0 15px 0;
  font-weight: normal;
}

.section-subtitle {
  color: #b3b3b3;
  font-size: 1rem;
  max-width: 600px;
  margin: 0 auto 40px auto;
  line-height: 1.5;
}

/* Botões */
.cta-buttons {
  display: flex;
  justify-content: center;
  gap: 15px;
  margin-bottom: 60px;
  flex-wrap: wrap;
}

.cta-buttons a {
  text-decoration: none;
  padding: 12px 24px;
  border-radius: 6px;
  font-size: 0.9rem;
  font-weight: bold;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  transition: background 0.2s;
}

.btn-primary {
  background-color: #d43d3d;
  color: #fff;
  border: 1px solid transparent;
}

.btn-primary:hover {
  background-color: #a82e22;
}

.btn-secondary {
  background-color: transparent;
  color: #fff;
  border: 1px solid #555;
}

.btn-secondary:hover {
  background-color: rgba(255, 255, 255, 0.05);
  border-color: #fff;
}

/* Grelha de Artigos */
.articles-grid {
  display: grid;
  grid-auto-columns: 1fr;
  grid-column-gap: 24px;
  grid-row-gap: 24px;
}

@media (min-width: 900px) {
  .articles-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

/* Cartões */
.article-card {
  background-color: #333333; /* Cinza ligeiramente mais claro que o fundo */
  border: 1px solid #444;
  border-radius: 12px;
  padding: 35px 30px;
  text-align: left;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  min-height: 200px;
}

.author-tag {
  color: #d43d3d;
  font-size: 0.75rem;
  font-weight: bold;
  letter-spacing: 1px;
  margin-bottom: 15px;
  display: block;
}

.article-card h3 {
  font-family: 'Georgia', serif;
  font-size: 1.25rem;
  line-height: 1.4;
  margin: 0 0 20px 0;
  color: #ffffff;
  font-weight: normal;
  flex-grow: 1;
}

.read-more {
  color: #c93b2b;
  text-decoration: none;
  font-size: 0.85rem;
  font-weight: bold;
  transition: color 0.2s;
}

.read-more:hover {
  color: #e54d3b;
}

/*--------------------------------------------------------------------------------------------*/
/*                       FOOTER                                                               */
/*--------------------------------------------------------------------------------------------*/

.site-footer {
  background-color: #2a2a2a; /* Mesmo tom de cinza escuro das secções anteriores */
  color: #ffffff;
  padding: 60px 20px 30px 20px;
  border-top: 1px solid #3b3b3b;
  font-family: sans-serif;
}

.footer-container {
  max-width: 1200px;
  margin: 0 auto;
}

/* Estrutura de Tabela para alinhar Esquerda e Direita de forma limpa */
.footer-top-row {
  display: table;
  width: 100%;
  margin-bottom: 40px;
}

.footer-brand-cell {
  display: table-cell;
  vertical-align: middle;
  text-align: left;
}

.footer-social-cell {
  display: table-cell;
  vertical-align: middle;
  text-align: right;
}

/* Estilo do Bloco da Marca (Logo + Texto) */
.brand-wrapper {
  display: table;
}

.brand-logo {
  display: table-cell;
  vertical-align: middle;
  padding-right: 20px;
}

.brand-logo img {
  max-height: 50px;
  width: auto;
}

.brand-text {
  display: table-cell;
  vertical-align: middle;
}

.brand-text h3 {
  font-family: 'Georgia', serif;
  font-size: 1.4rem;
  margin: 0 0 5px 0;
  font-weight: normal;
}

.brand-text p {
  margin: 0;
  font-size: 0.85rem;
  line-height: 1.4;
}

.brand-text .institution {
  color: #b3b3b3;
}

.brand-text .address {
  color: #888888;
  margin-top: 4px;
}

/* Ícones Sociais (Círculos) */
.social-icons {
  display: inline-block;
}

.social-icon {
  display: inline-block;
  width: 40px;
  height: 40px;
  line-height: 40px;
  background-color: #3b3b3b;
  color: #ffffff;
  text-decoration: none;
  border-radius: 50%;
  text-align: center;
  margin-left: 10px;
  font-size: 0.9rem;
  transition: background-color 0.2s;
}

.social-icon:hover {
  background-color: #555555;
}

/* Bloco Inferior */
.footer-bottom {
  text-align: center;
}

.scroll-top-wrapper {
  margin-bottom: 20px;
}

.btn-scroll-top {
  display: inline-block;
  width: 40px;
  height: 40px;
  line-height: 38px;
  background-color: #3b3b3b;
  color: #b3b3b3;
  text-decoration: none;
  border-radius: 6px;
  font-size: 0.8rem;
  transition: all 0.2s;
}

.btn-scroll-top:hover {
  background-color: #555555;
  color: #ffffff;
}

.copyright {
  color: #888888;
  font-size: 0.85rem;
  margin: 0;
}

/* Responsividade Básica para Mobile */
@media (max-width: 768px) {
  .footer-top-row,
  .footer-brand-cell,
  .footer-social-cell {
    display: block;
    width: 100%;
    text-align: center;
  }
  
  .footer-social-cell {
    margin-top: 30px;
  }
  
  .brand-wrapper {
    margin: 0 auto;
  }
}

/*--------------------------------------------------------------------------------------------*/
/*                       PÁGINA SOBRE                                                         */
/*--------------------------------------------------------------------------------------------*/


#sobre .container {
  max-width: 900px;
  margin: 0 auto;
  padding: 0 20px;
}

#sobre .text-center {
  text-align: center;
}

/* Secção Hero (Topo) */
.titulo-sobre {
  background: radial-gradient(circle, #fcfaf8 0%, #f7f3f0 100%); /* Fundo suave radial */
  padding: 100px 0 70px 0;
}

.titulo-sobre h1 {
  font-size: 3rem;
  margin-bottom: 10px;
  color: #111;
}

.titulo-sobre .subtitle {
  font-size: 1.2rem;
  color: #666;
}

/* Secções de Conteúdo (História e Missão) */
.conteudo-sobre {
  padding: 60px 0;
  background-color: #ffffff;
}

.conteudo-sobre h2 {
  font-size: 2rem;
  margin-bottom: 20px;
  color: #111;
}

/* Cor vermelha de destaque nas palavras História e Missão */
.conteudo-sobre .highlight {
  color: #b81d24; 
}

.conteudo-sobre p {
  font-size: 1.05rem;
  color: #555;
}

/*---------------------------------------------------------------------------------*/

/* Configurações Base e Contentores */
.about-container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
}

.about-text-center {
  text-align: center;
}

.about-section-title {
  font-family: 'Georgia', serif;
  font-size: 2.25rem;
  margin-bottom: 12px;
  color: #111;
}

.about-section-subtitle {
  font-size: 1.1rem;
  color: #555;
  margin-bottom: 40px;
}

.about-ruby {
  color: #b81d24;
}

/* Estilos da Secção Equipa */
.about-team-section {
  padding: 60px 0;
  background-color: #ffffff;
}

.about-main-photo-wrapper {
  max-width: 850px;
  margin: 0 auto;
}

.about-main-photo {
  width: 100%;
  height: auto;
  border-radius: 16px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
}

/* Estilos da Secção Departamentos */
.about-departments-section {
  padding: 60px 0 100px 0;
  background-color: #ffffff;
}

.about-departments-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 30px;
  margin-top: 50px;
}

.about-dept-card {
  background: #ffffff;
  border-radius: 16px;
  overflow: hidden;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.05);
  transition: all 0.3s ease;
}

.about-dept-card:hover {
  box-shadow: 0px 3px 5px 3px rgba(0, 0, 0, 0.15);
}

.about-dept-card img {
  width: 100%;
  height: 240px;
  object-fit: cover;
  border-bottom: 1px solid #f0f0f0;
}

.about-dept-info {
  padding: 24px 20px;
}

.about-dept-info h3 {
  font-family: 'Georgia', serif;
  font-size: 1.25rem;
  color: #111;
  margin: 0 0 10px 0;
}

.about-dept-info p {
  font-size: 0.9rem;
  color: #666;
  line-height: 1.5;
  margin: 0;
}

/* Responsividade */
@media (max-width: 992px) {
  .about-departments-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 600px) {
  .about-departments-grid {
    grid-template-columns: 1fr;
  }
}


/*------------------------------------------------------------------------------------------------------------*/


/* Secção Geral de Estatísticas */
.about-stats-section {
  padding: 80px 0;
  background-color: #ffffff;
}

/* Grid com 4 colunas */
.about-stats-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
  margin-top: 50px;
}

/* Estilo de cada Card */
.about-stat-card {
  background: #ffffff;
  border: 1px solid #f0e9e5; /* Borda suave visível na imagem_2.png */
  border-radius: 16px;
  padding: 40px 20px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center; 
  transition: all 0.3s ease;
}

.about-stat-card:hover {
  box-shadow: 0px 3px 5px 3px rgba(0, 0, 0, 0.15);
}

/* Contentor do Ícone (Fundo Rosa/Aperol Suave) */
.about-stat-icon-wrapper {
  background-color: #fdf2f2; /* Tom rosado pastel de fundo */
  color: #b81d24; /* Ícone vermelho */
  width: 56px;
  height: 56px;
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 24px;
}

/* Estilo dos Números */
.about-stat-number {
  font-family: 'Georgia', serif;
  font-size: 2.2rem;
  font-weight: bold;
  color: #b81d24;
  margin-bottom: 8px;
  white-space: nowrap;
}

/* Divisor específico para o card de género */
.about-stat-divider {
  font-weight: normal;
  color: #111;
  font-size: 1.8rem;
  margin: 0 4px;
}

/* Legendas inferiores */
.about-stat-label {
  font-size: 0.95rem;
  color: #666;
}

/* Responsividade */
@media (max-width: 992px) {
  .about-stats-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 550px) {
  .about-stats-grid {
    grid-template-columns: 1fr;
  }
}

/*--------------------------------------------------------------------------------------------*/
/*                       PÁGINA DAS NEWSLETTERS                                               */
/*--------------------------------------------------------------------------------------------*/

.newsletter-main{
  position: relative;
}

/* Cabeçalho */
.archive-header {
  text-align: center;
  margin-bottom: 60px;
  margin-top: 80px;
  height: 250px;
  display: flex;
  justify-content: center;
  flex-direction: column;
  padding: 20px;
}

.archive-header h1 {
  font-size: 42px;
  font-family: 'Times New Roman', Times, serif;
  font-weight: bold;
  color: #1a1a1a;
  margin-bottom: 12px;
}

.archive-header h1 span {
  color: #bd2b2b; /* Tom vermelho do título */
}

.archive-header p {
  font-size: 16px;
  color: #666;
}

/* Contentor dos Cards em Linha */
.newsletter-container {
  display: flex;
  justify-content: center;
  gap: 30px;
  max-width: 1200px;
  margin: 10vw auto ;
  flex-wrap: wrap;
}

/* Estrutura do Card */
.newsletter-card {
  background-color: #ffffff;
  border-radius: 16px;
  width: 350px;
  overflow: hidden;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.04);
  border: 1px solid #f0e6e6;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.newsletter-card:hover {
  transform: translateY(-4px);
  box-shadow: 0px 3px 5px 3px rgba(0, 0, 0, 0.15);
}

/* Área da Imagem */
.card-image-wrapper {
  background-color: #f3e6e6; /* Fundo rosado claro idêntico à imagem */
  height: 420px;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}

.card-image {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* Conteúdo de Texto */
.card-content {
  padding: 24px;
}

.card-meta {
  display: block;
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  color: #bd2b2b;
  font-weight: 700;
  margin-bottom: 8px;
}

.card-content h2 {
  font-size: 18px;
  font-family: 'Times New Roman', Times, serif;
  color: #1a1a1a;
  margin-bottom: 20px;
}

/* Link de Download */
.card-link {
  display: inline-block;
  font-size: 13px;
  color: #bd2b2b;
  text-decoration: none;
  font-weight: 600;
  transition: color 0.15s ease;
}

.card-link:hover {
  color: #8c1e1e;
}

/*--------------------------------------------------------------------------------------------*/
/*                       PÁGINA DE CONTACTOS                                               */
/*--------------------------------------------------------------------------------------------*/

/* Grelha de Contactos Atualizada */
.contact-container {
  display: flex;
  justify-content: center;
  gap: 30px;
  max-width: 1200px; /* Alargado para acomodar melhor os cartões */
  margin: 100px auto;
  padding: 0 20px 60px 20px;
  flex-wrap: wrap;
}

/* Cartões Individuais Ajustados */
.contact-card {
  background-color: #ffffff;
  border-radius: 16px;
  width: 40%;
  padding: 30px 20px;
  text-align: center;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.04);
  border: 1px solid #f0e6e6;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.contact-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 8px 30px rgba(0, 0, 0, 0.08);
}

/* Contentor do Ícone */
.contacto-icon-wrapper {
  background-color: #f3e6e6; /* Tom rosado claro */
  width: 60px;
  height: 60px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 24px auto;
  color: #bd2b2b;
}

.contact-card h2 {
  font-size: 22px;
  font-family: 'Times New Roman', Times, serif;
  color: #1a1a1a;
  margin-bottom: 12px;
}

.contact-card p {
  font-size: 14px;
  color: #666;
  margin-bottom: 24px;
  line-height: 1.5;
}

/* Links e Alinhamentos */
.contact-link {
  display: inline-block;
  font-size: 15px;
  color: #bd2b2b;
  text-decoration: none;
  font-weight: 600;
  transition: color 0.15s ease;
}

.contact-link:hover {
  color: #8c1e1e;
  text-decoration: underline;
}

.social-links {
  display: flex;
  justify-content: center;
  gap: 20px;
}

/* Responsividade */
@media (max-width: 992px) {
  .contact-card {
    width: auto;
  }
}

@media (max-width: 550px) {
  .contact-card {
    width: auto;
  }
}

/*--------------------------------------------------------------------------------------------*/
/*                       PÁGINA DO FES UNION                                               */
/*--------------------------------------------------------------------------------------------*/

.hero {
    text-align: center;
    padding: 40px 20px;
    margin-top: 80px;
    background: radial-gradient(circle, #fcfaf8 0%, #f7f3f0 100%);
    font-family: 'Helvetica Neue', Arial, sans-serif;
}

.badge {
    color: #c92323;
    font-size: 0.85rem;
    letter-spacing: 3px;
    text-transform: uppercase;
    font-weight: 700;
    margin-bottom: 15px;
}

.hero-description {
    max-width: 680px;
    margin: 0 auto 35px;
    color: #555;
    font-size: 1.1rem;
    line-height: 1.6;
}

.hero-actions {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 12px;
}

.btn {
    background-color: #c92323;
    color: white;
    padding: 14px 40px;
    border: none;
    border-radius: 6px;
    font-weight: bold;
    font-size: 1rem;
    cursor: pointer;
    text-decoration: none;
    transition: background-color 0.2s ease;
}

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

.hero-footer-text {
    color: #999;
    font-size: 0.85rem;
}

#union .carousel-section {
    background: #ffffff;
    display: flex;
    justify-content: center;
    margin-top: 2vw;
    font-family: 'Helvetica Neue', Arial, sans-serif;
}

#union .carousel-container {
    max-width: 900px;
    width: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.carousel-slides {
    position: relative;
    width: 100%;
    aspect-ratio: 16 / 9;
    overflow: hidden;
    border-radius: 16px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.12);
}

.carousel-slide {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    opacity: 0;
    transition: opacity 0.6s ease-in-out;
    z-index: 1;
}

.carousel-slide.active {
    opacity: 1;
    z-index: 2;
}

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

.carousel-controls {
    margin-top: 25px;
    display: flex;
    align-items: center;
    gap: 15px;
    background: #ffffff;
    padding: 6px 12px;
    border-radius: 30px;
    border: 1px solid #e2e8f0;
}

.carousel-btn {
    background: none;
    border: none;
    font-size: 1rem;
    color: #555555;
    cursor: pointer;
    padding: 5px 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: color 0.2s ease;
}

.carousel-btn:hover {
    color: #c92323;
}

.carousel-counter {
    font-size: 0.9rem;
    color: #777777;
    min-width: 40px;
    text-align: center;
    user-select: none;
}

/* Configurações Gerais de Secção */
.about-section, .format-section {
    font-family: 'Helvetica Neue', Arial, sans-serif;
    color: #0b1a30;
    line-height: 1.7;
}

.about-section {
    background-color: #fcfcfc;
    padding: 40px 20px 40px 20px;
}

.format-section {
    background-color: #ffffff;
}

.content-container {
    max-width: 900px;
    margin: 0 auto;
}

.section-title {
    font-family: 'Playfair Display', Georgia, serif;
    font-size: 2.5rem;
    font-weight: bold;
    margin-top: 0;
    margin-bottom: 30px;
}

.text-left { text-align: left; }
.text-center { text-align: center; }

/* Estilos de Texto - Sobre o Evento */
.about-text {
    font-size: 1.05rem;
    color: #555555;
    margin-bottom: 25px;
}

/* Grelha de Cartões - Formato do Debate */
.cards-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    gap: 25px;
    margin-top: 45px;
}

.format-card {
    background: #ffffff;
    border: 1px solid #eaeaea;
    border-radius: 12px;
    padding: 40px 30px;
    text-align: center;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.01);
}

/* Contentor do Ícone com fundo rosa suave */
#union .icon-wrapper {
    background-color: #fdf2f2;
    width: 55px;
    height: 55px;
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 20px auto;
}

.format-card h3 {
    font-family: 'Playfair Display', Georgia, serif;
    font-size: 1.35rem;
    margin: 0 0 12px 0;
    font-weight: bold;
}

.format-card p {
    font-size: 0.95rem;
    color: #666666;
    margin: 0;
    line-height: 1.5;
}

/* Configurações de Estrutura Comum */
.stats-section, .evaluation-section {
    font-family: 'Helvetica Neue', Arial, sans-serif;
    color: #0b1a30;
}

.content-container {
    max-width: 900px;
    margin: 0 auto;
    padding: 0 20px;
}

/* Secção de Estatísticas */
.stats-section {
    background-color: #fbfbfb;
    padding: 80px 0;
}

.stats-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    text-align: center;
    align-items: center;
}

.stat-number, .stat-title {
    font-family: 'Playfair Display', Georgia, serif;
    font-size: 3rem;
    font-weight: bold;
    color: #c92323;
    line-height: 1.1;
    margin-bottom: 10px;
}

.stat-label {
    font-size: 0.95rem;
    color: #555555;
}

/* Secção Júri e Avaliação */
.evaluation-section {
    background-color: #ffffff;
    padding: 80px 0;
}

.evaluation-row {
    display: flex;
    align-items: flex-start;
    gap: 25px;
}

.evaluation-icon-wrapper {
    background-color: #fdf2f2;
    width: 60px;
    height: 60px;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    margin-top: 4px;
}

.evaluation-text h2 {
    font-family: 'Playfair Display', Georgia, serif;
    font-size: 2.2rem;
    font-weight: bold;
    margin: 0 0 15px 0;
}

.evaluation-text p {
    font-size: 1.05rem;
    color: #555555;
    line-height: 1.6;
    margin: 0;
}

/* Responsividade Básica */
@media (max-width: 600px) {
    .stats-grid {
        grid-template-columns: 1fr;
        gap: 40px;
    }
    .evaluation-row {
        flex-direction: column;
        align-items: center;
        text-align: center;
    }
    .evaluation-icon-wrapper {
        margin-top: 0;
    }
}

/*--------------------------------------------------------------------------------------------*/
/*                       PÁGINA DO AEC                                               */
/*--------------------------------------------------------------------------------------------*/

/* --- Estilos da Secção Hero --- */
.hero-section {
    text-align: center;
    margin-top: 80px;
    padding: 40px 20px 40px 20px;
    background: radial-gradient(circle, #fcfaf8 0%, #f7f3f0 100%);
    font-family: 'Helvetica Neue', Arial, sans-serif;
}

.hero-badge {
    color: #c92323;
    font-size: 0.85rem;
    letter-spacing: 3px;
    text-transform: uppercase;
    font-weight: 700;
    margin-bottom: 15px;
}

.hero-title {
    font-size: 4.5rem;
    font-family: 'Playfair Display', Georgia, serif;
    margin: 0 0 10px 0;
    color: #0b1a30;
    font-weight: bold;
}

.hero-subtitle {
    color: #c92323;
    font-size: 1.8rem;
    font-family: 'Playfair Display', Georgia, serif;
    font-style: italic;
    margin-bottom: 35px;
}

.hero-description {
    max-width: 680px;
    margin: 0 auto 35px;
    color: #555555;
    font-size: 1.1rem;
    line-height: 1.6;
}

.hero-actions {
    display: flex;
    justify-content: center;
}

.btn-saber-mais {
    background-color: #c92323;
    color: white;
    padding: 14px 40px;
    border: none;
    border-radius: 6px;
    font-weight: bold;
    font-size: 1rem;
    cursor: pointer;
    text-decoration: none;
    transition: background-color 0.2s ease;
}

.btn-saber-mais:hover {
    background-color: #a81c1c;
}

/* --- Estilos Inéditos da Secção de Oradores --- */
.content-container2 {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 40px;
    box-sizing: border-box;
}

.speakers-section {
    padding: 60px 0;
    background-color: #ffffff;
}

.speakers-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 40px;
}

.speakers-title {
    font-family: 'Playfair Display', Georgia, serif;
    font-size: 2.5rem;
    font-weight: bold;
    color: #0b1a30;
    margin: 0;
}

.speakers-nav {
    display: flex;
    gap: 10px;
}

.nav-arrow {
    background: #ffffff;
    border: 1px solid #e2e8f0;
    border-radius: 8px;
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    color: #555555;
    transition: all 0.2s ease;
}

.nav-arrow:hover {
    border-color: #c92323;
    color: #c92323;
}

/* Grelha adaptável para os 4 cartões */
.speakers-grid {
    display: flex;
    gap: 20px;
    overflow-x: auto;
    scroll-behavior: smooth;
    white-space: nowrap;
    
    /* Alterado: removeu-se a largura fixa para permitir a centralização e comportamento responsivo */
    width: 100%; 
    
    -ms-overflow-style: none;
    scrollbar-width: none;
}

.speakers-grid::-webkit-scrollbar {
    display: none;
}

.speaker-card {
    /* Garante que os cartões mantêm a largura ideal e não encolhem */
    flex: 0 0 280px; 
    white-space: normal; /* Permite que o texto dentro dos cartões quebre linhas normalmente */
    background: #ffffff;
    border: 1px solid #eaeaea;
    border-radius: 12px;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.01);
}

.speaker-image-box {
    width: 100%;
    aspect-ratio: 5 / 4;
    overflow: hidden;
    
}

.speaker-image-box img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: top; /* Garante o alinhamento a partir do centro da imagem */
}

.speaker-info {
    padding: 25px 20px;
    display: flex;
    flex-direction: column;
    flex-grow: 1;
}

.speaker-info h3 {
    font-family: 'Playfair Display', Georgia, serif;
    font-size: 1.3rem;
    color: #0b1a30;
    margin: 0 0 8px 0;
    font-weight: bold;
}

.speaker-badge {
    color: #c92323;
    font-size: 0.85rem;
    font-weight: 600;
    line-height: 1.4;
    margin-bottom: 15px;
}

.speaker-info p {
    font-size: 0.9rem;
    color: #666666;
    line-height: 1.6;
    margin: 0;
}

#aec .carousel-section {
    background: #ffffff;
    display: flex;
    justify-content: center;
    margin-top: 2vw;
    font-family: 'Helvetica Neue', Arial, sans-serif;
}

#aec .carousel-container {
    max-width: 900px;
    width: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
}

#aec .about-text{
  max-width: none;
}


/*--------------------------------------------------------------------------------------------*/
/*                       PÁGINA DA SOE                                               */
/*--------------------------------------------------------------------------------------------*/


.speakers-carousel-section {
    max-width: 1200px;
    margin: 40px auto;
    padding: 0 20px 40px;
    font-family: 'Helvetica Neue', Arial, sans-serif;
}

.speakers-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 30px;
}

.speakers-main-title {
    font-size: 2.5rem;
    font-family: 'Playfair Display', Georgia, serif;
    color: #0b1a30;
    margin: 0;
}

.speakers-carousel-controls {
    display: flex;
    gap: 10px;
}

.speakers-nav-btn {
    background: #ffffff;
    border: 1px solid #e2e8f0;
    border-radius: 6px;
    width: 40px;
    height: 40px;
    font-size: 1.2rem;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.2s ease;
    color: #555;
}

.speakers-nav-btn:hover {
    color: #c92323;
    border-color: #c92323;
}

/* Janela de Visualização Oculta o Overflow */
.speakers-carousel-window {
    overflow: hidden;
    width: 100%;
    padding-bottom: 20px;
}

/* Linha que agrupa e move as colunas juntas */
.speakers-carousel-track {
    display: flex;
    gap: 20px;
    transition: transform 0.5s cubic-bezier(0.25, 1, 0.5, 1);
}

/* Cada coluna contém um par vertical de cartas */
#SOE .speakers-column {
    flex: 0 0 calc(33.333% - 14px); /* Exibe exatamente 3 colunas paralelas */
    display: flex;
    flex-direction: column;
    gap: 40px;
    max-width: 350px;
}

/* Cartas Individuais */
#SOE .speaker-card {
    background: #ffffff;
    border: 1px solid #eef0f4;
    color: black;
    max-height: 250px;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.05);
    text-align: center;
    padding-bottom: 15px;
    transition: all 0.3s ease;
    flex: 1;
}

#SOE .speaker-card:hover {
  box-shadow: 0px 3px 5px 3px rgba(0, 0, 0, 0.15);
}

#SOE .speaker-img-container {
    width: 100%;
    aspect-ratio: 16 / 10;
    overflow: hidden;
}

#SOE .speaker-img-container img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
}

#SOE .speaker-name {
    font-size: 1.2rem;
    color: #0b1a30;
    margin: 15px 0 5px 0;
    font-family: 'Playfair Display', Georgia, serif;
    font-weight: bold;
    transition: all 0.3s ease;
}

#SOE .speaker-card:hover .speaker-name{
  color: #c92323;
}

#SOE .carousel-section {
    background: #ffffff;
    display: flex;
    justify-content: center;
    margin-top: 2vw;
    font-family: 'Helvetica Neue', Arial, sans-serif;
}

#SOE .carousel-container {
    max-width: 900px;
    width: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
}

#SOE .about-text{
  max-width: none;
}

/* Responsividade Básica */
@media (max-width: 900px) {
    .speakers-column {
        flex: 0 0 calc(50% - 10px);
    }
}

@media (max-width: 640px) {
    #SOE .speakers-column {
        flex: 0 0 calc(100% - 14px);
    }
}

/*--------------------------------------------------------------------------------------------*/
/*                       PÁGINA DO LITERACIA                                               */
/*--------------------------------------------------------------------------------------------*/


/* Configurações Gerais */
.overview-section, .structure-section {
    font-family: 'Helvetica Neue', Arial, sans-serif;
    color: #0b1a30;
    line-height: 1.7;
}

.content-container {
    max-width: 1000px;
    margin: 0 auto;
    padding: 0 20px;
}

/* Secção de Enquadramento e Objetivos */
.overview-section {
    background-color: #ffffff;
    padding: 80px 0 60px 0;
}

.overview-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
}

.overview-col h2 {
    font-family: 'Playfair Display', Georgia, serif;
    font-size: 2.5rem;
    font-weight: bold;
    margin: 0 0 20px 0;
}

.overview-col p {
    font-size: 1.05rem;
    color: #555555;
    margin: 0;
}

/* Lista de Objetivos customizada com o ponto vermelho */
.objectives-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.objectives-list li {
    font-size: 1.05rem;
    color: #555555;
    position: relative;
    padding-left: 20px;
    margin-bottom: 12px;
}

.objectives-list li::before {
    content: "•";
    color: #c92323;
    font-size: 1.4rem;
    position: absolute;
    left: 0;
    top: -2px;
}

/* Secção da Estrutura */
.structure-section {
    background-color: #fbfbfb; /* Ligeiramente acinzentado como na imagem */
    padding: 40px 0;
}

.structure-content {
    max-width: 650px;
    margin: 0 auto;       /* Centra o bloco de conteúdo na horizontal */
    text-align: center;   /* Centra o título e o parágrafo internamente */
}

.structure-content h2 {
    font-family: 'Playfair Display', Georgia, serif;
    font-size: 2.5rem;
    font-weight: bold;
    margin: 0 0 20px 0;
}

.structure-content p {
    font-size: 1.05rem;
    color: #555555;
    margin: 0;
}

#literacia .carousel-section {
    background: #ffffff;
    display: flex;
    justify-content: center;
    margin-top: 2vw;
    font-family: 'Helvetica Neue', Arial, sans-serif;
}

#literacia .carousel-container {
    max-width: 900px;
    width: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
}

/* Responsividade */
@media (max-width: 768px) {
    .overview-grid {
        grid-template-columns: 1fr;
        gap: 40px;
    }
}

/*--------------------------------------------------------------------------------------------*/
/*                       PÁGINA DO NEGÓCIOS                                               */
/*--------------------------------------------------------------------------------------------*/

/* Estrutura do Card */
.negocios-card {
  background-color: #ffffff;
  border-radius: 16px;
  width: 350px;
  overflow: hidden;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.04);
  border: 1px solid #f0e6e6;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.negocios-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 8px 30px rgba(0, 0, 0, 0.08);
}

/* Contentor dos Cards em Linha */
.negocios-container {
  display: flex;
  justify-content: center;
  gap: 30px;
  max-width: 1200px;
  margin: 5vw auto ;
  flex-wrap: wrap;
}

.negocios-main .card-image-wrapper {
  background-color: #f3e6e6; /* Fundo rosado claro idêntico à imagem */
  height: 420px;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}

/*--------------------------------------------------------------------------------------------*/
/*                       PÁGINA DA SUSTENTABILIDADE                                             */
/*--------------------------------------------------------------------------------------------*/

#sustentabilidade .carousel-section {
    background: #ffffff;
    display: flex;
    justify-content: center;
    margin-top: 2vw;
    font-family: 'Helvetica Neue', Arial, sans-serif;
}

#sustentabilidade .carousel-container {
    max-width: 900px;
    width: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
}

#sustentabilidade .about-text{
  max-width: none;
}




@media (max-width: 920px){
  .hero-title{
    font-size: 3.5rem;
  }
  .hero-subtitle{
    font-size: 1.5rem;
  }
  .hero-description{
    font-size: 1.1rem;
  }
}

@media (max-width: 640px){
  .hero-title{
    font-size: 2.5rem;
  }
  .hero-subtitle{
    font-size: 1.2rem;
  }
  .hero-description{
    font-size: 1rem;
  }
}