body {
  font-family: 'Quicksand', sans-serif;
}


/* Topo com o logotipo à direita */
.top-bar {
  display: flex;
  justify-content: center; /* centraliza horizontalmente */
  align-items: center;
  padding: 10px 20px 5px 20px;
  background-color: #ffffff;
  /* box-shadow: 0 2px 5px rgba(0, 0, 0, 0.05);*/
  text-align: center;
}


.logo img {
  height: auto !important;
  max-width: 100%;
}


/* Barra do menu centrado */
.menu-bar {
	top: 0;
  z-index: 1000;
  padding: 224px 20px;
  display: flex;
  justify-content: center;
  align-items: center;
}


/* Menu horizontal */
.menu ul {
  margin: 0;
  padding: 0;
  display: flex;
  gap: 25px;
  justify-content: center;
  align-items: center;
	list-style: none;
}


.menu ul li {
  margin: 0;
  padding: 0;
}

.menu ul li a {
  text-decoration: none;
  font-weight: 500;
	color: #479a4d;			/* Cor de menu */
  font-size: 18px;
  line-height: 1.4; 	/* mantém altura legível */
  padding: 4px 8px; 	/* leve acolchoamento visual */
  transition: 0.3s;
}

.menu ul li a:hover {
  /* color: #003366;
  border-bottom: 2px solid #003366;*/
   color: #ff6600;
  border-bottom: 2px solid #ffd9c0; 
 }


/* Botão hambúrguer (para ecrãs pequenos) */
.hamburger {
  display: none;
  font-size: 1.8em;
  background: none;
  border: none;
  cursor: pointer;
}

/* Responsivo */
@media (max-width: 768px) {
  .menu-bar {
    flex-direction: column;
    align-items: flex-start;
  }

  .hamburger {
    display: block;
    color: #004d40;
    margin-bottom: 10px;
  }

  .menu {
    display: none;
    flex-direction: column;
    width: 100%;
  }

  .menu.open {
    display: flex;
  }

  .menu ul {
    flex-direction: column;
    width: 100%;
    gap: 10px;
  }

  .menu ul li a {
    font-size: 18px;
    padding: 10px 0;
  }
}

/* Secções de conteúdo centralizadas */
section {
  max-width: 1200px;
  margin: 0 auto;
  margin-bottom: 25px; /* espaço entre secções */
  padding: 80px 20px;
  text-align: center;
  background-color: #f0f0f0;
  border: 1px solid #ddd;
  border-radius: 12px;
  transition: all 0.3s ease-in-out;

}


section h1,
section h2 {
  /* font-family: 'Merriweather', serif; */
	/* font-family: 'Quicksand', sans-serif; */
	font-weight: 500; /* ou 600 para ainda mais peso */
	/* color: #9b3c0c;  */
	color: #479a4d;
  font-size: 2em;
  margin-bottom: 20px;
}

section p {
  font-size: 1.2em;
  color: #808080;
}

section ul {
  color: #808080;
}

section:nth-of-type(even) {
  background-color: #ffffff;
}
section:nth-of-type(odd) {
  background-color: #f7f2f0;
}


.tabela-datas {
  width: 100%;
  max-width: 800px;
  margin: 20px auto;
  border-collapse: collapse;
  font-size: 1em;
}

.tabela-datas th,
.tabela-datas td {
  border: 1px solid #333;
  padding: 10px;
  text-align: left;
}

.tabela-datas th {
  background-color: #f8f8f8;
  font-weight: bold;
}


.organizadores {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
  justify-content: center;
  margin-top: 20px;
}

.organizador {
  background-color: #f0f0f0;
  border: 1px solid #ccc;
  padding: 15px 25px;
  border-radius: 8px;
  font-weight: bold;
  font-size: 1.1em;
  box-shadow: 0 2px 5px rgba(0,0,0,0.05);
}


.comissao {
  /* background-color: #dff3f4; */
  padding: 20px;
  margin: 40px auto;
  max-width: 800px;
  border-radius: 8px;
  box-shadow: 0 2px 4px rgba(0,0,0,0.05);
}


.comissao h3 {
  text-align: center;
  color: #1d004c;
  font-size: 1.4em;
  margin-bottom: 20px;
}

.comissao ul {
  list-style: none;
  padding: 0;
  margin: 0;
  text-align: center;
}

.comissao li {
  margin-bottom: 8px;
  font-size: 1.3em;
}

.nome {
  color: #666666; /* cinzento médio */
  font-weight: bold;
}


.local-info {
  text-align: center;
  color: #0a1a33;
  font-size: 1.1em;
  margin-top: 30px;
}

.local-info p {
  margin: 8px 0;
}

.local-info a {
  color: #0000cc;
  text-decoration: underline;
  word-break: break-word;
}


#voltar-topo {
  position: fixed;
  bottom: 20px;
  right: 20px;
  background-color: #479a4d;
  color: white;
  padding: 10px 14px;
  border-radius: 50%;
  text-decoration: none;
  font-size: 20px;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.2);
  z-index: 1000;
  transition: background-color 0.3s ease;
}

#voltar-topo:hover {
	background-color: red;
}


.fade-in {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.6s ease-out, transform 0.6s ease-out;
}

.fade-in.visible {
  opacity: 1;
  transform: none;
}


#inicio {
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  position: relative;
  z-index: 1;
}


/* Overlay suave para escurecer a imagem sem afetar o conteúdo */
#inicio::before {
  content: "";
  position: absolute;
  top: 0; left: 0; right: 0; bottom: 0;
  background-color: rgba(255, 255, 255, 0.8); /* branco com % opacidade */
  z-index: -1;
}


#POST26 {
  /* background-image: url('./imagens/erdbeeren-6084.gif');*/
	background-image: url('./imagens/Carlos-Adao.jpg');
  /* background-size: cover;*/
	background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  position: relative;
  z-index: 1;
  /* height: 1200px; /* ou 200px, conforme o efeito desejado */	
}


/* Overlay suave para escurecer a imagem sem afetar o conteúdo */
#POST26::before {
  content: "";
  position: absolute;
  top: 0; left: 0; right: 0; bottom: 0;
  background-color: rgba(255, 255, 255, 0.2); /* branco com % opacidade */
  z-index: -1;
}


#POST26 h1, 
#POST26 p {
  font-weight: 900; /* mais carregado */
  color: #9b3c0c;
  text-shadow: 2px 2px 6px rgba(255, 255, 255, 0.0); /* sombra clara para contraste */
  z-index: 2;
  position: relative;
}




#programa {
  background-image: url('./imagens/Framboesa.jpg');
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  position: relative;
  z-index: 1;
}

/* Overlay suave para escurecer a imagem sem afetar o conteúdo */
#programa::before {
  content: "";
  position: absolute;
  top: 0; left: 0; right: 0; bottom: 0;
  background-color: rgba(255, 255, 255, 0.9); /* branco com 50% opacidade */
  z-index: -1;
}


#programa h2, 
#programa p {
  font-weight: 900;  /* mais carregado */
  text-shadow: 2px 2px 6px rgba(255, 255, 255, 0.8); /* sombra clara para contraste */
}


.organizacao-imagens img {
  background-color: white;
  padding: 10px;
  border-radius: 8px;
  box-shadow: 0 2px 4px rgba(0,0,0,0.05);
}


@media (max-width: 480px) {
  .organizacao-imagens {
    flex-direction: column;
  }
}


.organizacao-imagens {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  align-items: flex-end; /* <-- Alinha pela base */
  gap: 30px;
  margin-bottom: 40px;
  padding: 0 10px;
}

/* Estilo base para desktop */
.logo-iniav {
  max-height: 80px;
  width: auto;
  object-fit: contain;
}

.logo-aph {
  max-height: 80px;
  width: auto;
  object-fit: contain;
}

.logo-cothn {
  max-height: 120px;
  width: auto;
  object-fit: contain;
}


.patrocinadores-imagens {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  align-items: flex-end; /* <-- Alinha pela base */
  gap: 10px;
  margin-bottom: 40px;
  padding: 0 5px;
}

.logo-aph-mediap {
  max-height: 150px;
  width: auto;
  object-fit: contain;
}

.logo-qe {
  max-height: 150px;
  width: auto;
  object-fit: contain;
}

.logo-agroportal {
  max-height: 150px;
  width: auto;
  object-fit: contain;
}

.logo-flf {
  max-height: 120px;
  width: auto;
  object-fit: contain;
}

.logo-anpm {
  max-height: 120px;
  width: auto;
  object-fit: contain;
	margin-right: 20px; /* Espaço entre as imagens */

}

.logo-cmo {
  max-width: 200px;
	width: auto;
	object-fit: contain;
}

.logo-hf {
  max-width: 200px;
	width: auto;
	object-fit: contain;
}

.logo-basf {
  max-width: 300px;
	width: auto;
	object-fit: contain;
}

.logo-deifil {
  max-width: 250px;
	width: auto;
	object-fit: contain;
	padding-bottom:50px;
	padding-right:20px;
}

.logo-agr {
  max-width: 300px;
	width: auto;
	object-fit: contain;
	padding-bottom:40px;
}

.logo-greenfactor {
  max-width: 300px;
	width: auto;
	object-fit: contain;
	padding-left:20px;
}

.logo-fitolivos {
  width: 400px;
	object-fit: contain;	
}

.logo-eibol {
  max-width: 300px;
	width: auto;
	object-fit: contain;
	padding-bottom:25px;
}

.logo-planasa {
  width: 400px;
	object-fit: contain;	
}

.logo-certis-belchim {
  width: 400px;
	object-fit: contain;	
}

.logo-biosani {
  width: 300px;
	object-fit: contain;
	padding-left:50px;	
	padding-bottom:45px;
}

.logo-jviolas {
  width: 250px;
	object-fit: contain;	
	padding-left:20px;
}

.logo-hidrosoph {
  width: 250px;
	object-fit: contain;	
	padding-left:20px;
}

.logo-bayer {
  width: 200px;
	object-fit: contain;	
}

.logo-maca-alcobaca {
  width: 400px;
	object-fit: contain;	
}

.logo-lm {
  max-height: 120px;
  width: auto;
  object-fit: contain;
}

.logo-hv {
  max-height: 120px;
  width: auto;
  object-fit: contain;
}

.logo-bb {
  max-height: 180px;
  width: auto;
  object-fit: contain;
}

.logo-mf {
  max-height: 300px;
  width: auto;
  object-fit: contain;
}

.logo-vc {
  max-height: 120px;
  width: auto;
  object-fit: contain;
}

.logo-vr {
  max-height: 180px;
  width: auto;
  object-fit: contain;
}

.logo-ht {
  max-height: 180px;
  width: auto;
  object-fit: contain;
}

.logo-am {
  max-height: 150px;
  width: auto;
  object-fit: contain;
}

.logo-adp {
  max-height: 200px;
  width: auto;
  object-fit: contain;
}

.logo-ff {
  max-height: 130px;
  width: auto;
  object-fit: contain;
}


.logo-sb {
  max-height: 130px;
  width: auto;
  object-fit: contain;
}

.logo-logofruits {
  max-height: 130px;
  width: auto;
  object-fit: contain;
}

.logo-driscolls {
  max-height: 150px;
  width: auto;
  object-fit: contain;
}



@media (max-width: 768px) {
  .logo-cmo {
    /* max-width: 80vw; /* ocupar quase toda a largura do telemóvel */
		max-width: 200px !important;		
  }
}


.box-relevo {
  background-color: #ffffff;
  border-radius: 16px;
  padding: 30px 20px;
  margin-bottom: 40px;
  box-shadow:
    0 8px 20px rgba(0, 0, 0, 0.15),
    0 4px 8px rgba(0, 0, 0, 0.1);
  transition: box-shadow 0.3s ease;
  box-sizing: border-box;
  overflow: hidden; /* impede elementos de saírem da caixa */
}

.box-relevo:hover {
  box-shadow:
    0 12px 30px rgba(0, 0, 0, 0.2),
    0 6px 12px rgba(0, 0, 0, 0.12);
}



/* Telemóvel e ecrãs pequenos */
@media (max-width: 768px) {
  .organizacao-imagens {
    flex-direction: column;
    align-items: center;
  }

  .organizacao-imagens img {
    max-width: 90%;
    height: auto;
    max-height: 100px;
  }

	.patrocinadores-imagens {
    flex-direction: column;
    align-items: center;
    padding: 0 15px; /* aumentar espaço interno */
  }

  .patrocinadores-imagens img {
    max-width: 90%;
    height: auto;
  }

  .logo-iniav {
    max-height: 90px;
  }

  .logo-aph {
    max-height: 90px;
  }

  .logo-cothn {
    max-height: 90px;
  }
	
}


.botao {
  display: inline-block;
  background-color: #9b3c0c;
  color: white;
  padding: 12px 24px;
  border-radius: 6px;
  font-size: 1.1em;
  font-weight: 600;
  text-decoration: none;
  margin-top: 20px;
  box-shadow: 0 2px 6px rgba(0,0,0,0.2);
  transition: background-color 0.3s ease;
}

.botao:hover {
  background-color: #732a08;
}



.menu-container {
  padding: 14px 36px;
  border-radius: 16px;
  display: flex;
  justify-content: center;
  margin: 20px auto;
  width: fit-content;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.15);
}


.carousel-fade {
  position: relative;
  width: 100%;
  overflow: hidden;
}

.carousel-fade::before {
  content: "";
  display: block;
  padding-top: 40%; /* ajusta a altura proporcional (ex: 2.5:1) */
}


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

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

.carousel-item img,
.carousel-item video {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}


@media (max-width: 768px) {
  .banner-button {
    font-size: 14px;
    padding: 8px 16px;
    bottom: 20px;
  }
}


@media (max-width: 768px) {
  .ocultar-no-movel {
    display: none !important;
  }
}



#resumos-artigos {
  background: transparent !important;
	border: none !important;
}

#resumos-artigos div[style*="border: 2px solid #1a0641"] {
  border: none !important;
}

#datas-importantes {
  background: transparent !important;
	border: none !important;
}

#patrocinadores {
  border: none !important;
}

#patrocinadores-logos {
  border: none !important;	
}

#programa {
	border: none !important;
}

#apresentacao {
	border: none !important;
}

#oradores-convidados {
	border: none !important;
}

#inscricao {
	border: none !important;
}

#local {
	border: none !important;
}

#organizacao {
	border: none !important;
}

#programa-vistecnica {
	border: none !important;
}