/* --- Reset --- */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: "Poppins", sans-serif;
  background-color: #f8f9fc;
  color: #333;
}
a {
  text-decoration: none;
 }
header {
  background: url('../topo.jpeg') center/cover no-repeat;
  padding: 90px 0 70px;
  color: white;
  text-align: center;
  box-shadow: inset 0 0 0 1000px rgba(0, 0, 0, 0.3);
  animation: fadeIn 1.2s ease-in-out;
}

header h1 {
  font-size: 3em;
  letter-spacing: 1px;
}

header p {
  font-size: 1.2em;
  opacity: 0.9;
}
/* --- Navbar --- */

 nav {
      background: white;
      display: flex;
      justify-content: center;
      align-items: center;
      box-shadow: 0 2px 6px rgba(0,0,0,0.08);
      position: sticky;
      top: 0;
      z-index: 1000;
    }

    .nav-inner {
       display: flex;
      align-items: center;
      justify-content: center; /* mantém centralizado no desktop */
      flex-wrap: wrap;
      width: 100%;
      max-width: 1200px;
    }

    .brand { font-weight: 700; color:#222; }

    .menu-toggle {
      display: none;           /* escondido em desktop */
      font-size: 26px;
      cursor: pointer;
      user-select: none;
      padding: 6px  20px;
      border-radius: 6px;
    }

    .menu-links {
      display: flex;
      gap: 8px;
      align-items: center;
    }

    .menu-links a {
      text-decoration: none;
      color: #333;
      padding: 15px 25px;
      font-weight: 600;
      transition: color .2s ease;
    }
    .menu-links a:hover { color: #6c63ff;
    background: #f2f2ff;}

    /* ===== responsivo ===== */
    @media (max-width: 768px) {
      .menu-toggle { display: block; }

      /* escondemos o menu por padrão no mobile - usaremos max-height para animação */
      .menu-links {
        position: absolute;
        top: 100%;
        left: 0;
        right: 0;
        display: flex;
        flex-direction: column;
        overflow: hidden;
        max-height: 0;              /* escondido */
        transition: max-height .34s ease;
        background: white;
        border-top: 1px solid rgba(0,0,0,0.06);
        box-shadow: 0 6px 16px rgba(0,0,0,0.06);
      }

      .menu-links a {
        padding: 14px 20px;
        border-top: 1px solid rgba(0,0,0,0.03);
        width: 100%;
      }

      /* quando o nav estiver ativo, abrimos o menu */
      nav.active .menu-links {
        max-height: 1000px; /* valor alto suficiente para conter todos os links */
      }

      /* simplificar o layout do container */
      .nav-inner { justify-content: space-between; }
    }
.logo {
  font-size: 1.4rem;
  font-weight: bold;
  letter-spacing: 1px;
}

.nav-links {
  list-style: none;
  display: flex;
  gap: 1.5rem;
}

.nav-links a {
  color: #fff;
  text-decoration: none;
  font-weight: 500;
  transition: opacity 0.2s;
}

.nav-links a:hover {
  opacity: 0.8;
}

/* --- Banner --- */
.banner {
  position: relative;
  width: 100%;
  height: 70vh;
  overflow: hidden;
}

.banner img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: brightness(70%);
}

.banner-text {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  color: white;
  text-align: center;
  max-width: 80%;
}

.banner-text h1 {
  font-size: 2.5rem;
  font-weight: 700;
  text-shadow: 0 3px 10px rgba(0, 0, 0, 0.5);
}

.banner-text p {
  font-size: 1.2rem;
  margin-top: 0.5rem;
  font-weight: 300;
}

/* --- Seções --- */
.cards-section {
  padding: 4rem 6%;
  text-align: center;
}

.cards-section h2 {
  font-size: 2rem;
  color: #4b3ce2;
  margin-bottom: 2rem;
  position: relative;
}

.cards-section h2::after {
  content: "";
  display: block;
  width: 80px;
  height: 3px;
  background: #7b2ff7;
  margin: 0.5rem auto 0;
  border-radius: 2px;
}

.card-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(270px, 1fr));
  gap: 2rem;
}

.card {
  background: #fff;
  border-radius: 16px;
  overflow: hidden;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.08);
  transition: transform 0.3s, box-shadow 0.3s;
  display: flex;
  flex-direction: column;
  align-items: center;
}
.card a {
  text-decoration: none;
  color: inherit;
  display: flex;
  flex-direction: column;
  align-items: center;
  width: 100%;
}
.card-img-home {
  width: 100%;
  height: 100%;               /* altura uniforme */
  display: flex;
  align-items: center;
  justify-content: center;
  background-color: #f9f9f9;   /* cor de fundo para logos menores */
}
.card-img {
  width: 100%;
  height: 150px;               /* altura uniforme */
  display: flex;
  align-items: center;
  justify-content: center;
  background-color: #f9f9f9;   /* cor de fundo para logos menores */
}

.card-img img, .card-img-home img {
  max-width: 100%;    /* limita largura da logo */
  max-height: 100%;  /* altura máxima do container */
  object-fit: contain;
  display: block;
}

.card h3 {
  padding: 1rem;
  font-size: 0.9rem;
  color: #333;
  text-align: center;
}
.card a span {
  padding: 0 1rem 1rem;
  font-size: 0.8rem;
  color: #333;
  text-align: center;
}

.card:hover {
  transform: translateY(-6px);
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.1);
}

/* --- Footer --- */
.footer {
  background: #4b3ce2;
  color: white;
  text-align: center;
  padding: 1rem;
  font-size: 0.9rem;
  margin-top: 2rem;
}
.justify{
	text-align: justify;
	margin-bottom: 10px;
}
.bt-simposio {
  display: inline-block;
  padding: 12px 30px;        /* tamanho do botão */
  background: #4b3ce2;       /* cor de fundo */
  color: #fff;               /* cor do texto */
  font-size: 1rem;
  font-weight: 600;
  text-decoration: none;     /* remove underline */
  border-radius: 8px;        /* cantos arredondados */
  transition: all 0.3s ease; /* animação suave */
  box-shadow: 0 4px 12px rgba(0,0,0,0.1);
  margin-top: 20px;
}

.bt-simposio:hover {
  background: #978eaf;       /* tom mais claro no hover */
  transform: translateY(-2px); /* leve "levantar" no hover */
  box-shadow: 0 6px 15px rgba(0,0,0,0.15);
}
.top-50{
	margin-top: 50px;
}
.bt-voltar {
  display: inline-block;
  padding: 12px 30px;        /* tamanho do botão */
  background: #4b3ce2;       /* cor de fundo */
  color: #fff;               /* cor do texto */
  font-size: 1rem;
  font-weight: 600;
  text-decoration: none;     /* remove underline */
  border-radius: 8px;        /* cantos arredondados */
  transition: all 0.3s ease; /* animação suave */
  box-shadow: 0 4px 12px rgba(0,0,0,0.1);
  margin-top: 20px;
}

.bt-voltar:hover {
  background: #978eaf;       /* tom mais claro no hover */
  transform: translateY(-2px); /* leve "levantar" no hover */
  box-shadow: 0 6px 15px rgba(0,0,0,0.15);
}
.card-horizontal {
  display: flex;
  align-items: flex-start;
  gap: 20px;
  background: #fff;
  border-radius: 16px;
  box-shadow: 0 2px 8px rgba(0,0,0,0.1);
  overflow: hidden;
  padding: 20px;
  margin-bottom: 20px;
}
.card-img-horizontal {
  flex: 0 0 300px; /* largura fixa da imagem */
}

.card-img-horizontal img {
  width: 100%;
  height: auto;
  border-radius: 12px;
  object-fit: cover;
}

.card-content-horizontal {
  flex: 1;
}

.card-content-horizontal h3 {
  margin-top: 0;
  font-size: 1.5em;
  color: #333;
}

.card-content-horizontal p {
  margin: 100px 0 0;
  color: #555;
  line-height: 1.5;
}

@media (max-width: 768px) {
  .card-horizontal {
    flex-direction: column;
    text-align: center;
  }

  .card-img-horizontal {
    flex: none;
    width: 100%;
  }
  .card-content-horizontal p {
    margin: 10px 0 0;
  }
}
.ul-equipe {
  list-style: none;
  padding: 0;
  margin: 20px 0 0;
  display: grid;
  grid-template-columns: repeat(3, 1fr); /* 3 por linha */
  gap: 20px 50px; /* espaçamento vertical e horizontal */
}

.ul-equipe li {
  display: flex;
  align-items: center;
}

.ul-equipe li i {
  border-radius: 50%;
  width: 18px;
  height: 18px;
  line-height: 18px;
  background: #4b3ce2;
  text-align: center;
  color: #fff;
  font-size: 10px;
  margin-right: 10px;
}

/* Responsivo: 2 por linha em tablets */
@media (max-width: 992px) {
  .ul-equipe {
    grid-template-columns: repeat(2, 1fr);
    gap: 15px 30px;
  }
}

/* Responsivo: 1 por linha no celular */
@media (max-width: 576px) {
  .ul-equipe {
    grid-template-columns: 1fr;
  }
  .ul-equipe li {
    font-size: 14px;
  }
  .ul-equipe li i {
    width: 15px;
    height: 15px;
    line-height: 15px;
    font-size: 9px;
    margin-right: 8px;
  }
}

.invest_science img {
  max-width: 100%;   /* nunca ultrapassa o container */
  height: auto;      /* mantém proporção original */
  display: block;    /* evita espaços extras abaixo da imagem */
  margin: 0 auto;    /* centraliza se for menor que o container */
  border-radius: 10px; /* opcional – cantos arredondados */
}

/* Opcional: para deixar o banner mais harmônico em telas menores */
@media (max-width: 768px) {
  .invest_science img {
    border-radius: 6px;
  }
  .invest_science h2 {
    font-size: 1.5rem;
    text-align: center;
  }
}
.ul-expo {
  list-style: none;
  padding: 0;
  margin: 20px auto;
  display: flex;
  flex-direction: column;   /* coloca os itens em coluna */
  align-items: flex-start;  /* alinha os itens à esquerda */
  text-align: left;         /* texto também alinhado à esquerda */
  width: fit-content;       /* centraliza o bloco sem ocupar 100% */
  gap: 10px;                /* espaço entre os itens */
}

.ul-expo li {
  display: flex;
  align-items: flex-start; /* ícone no topo do texto */
  gap: 10px;
}

.ul-expo li i {
  border-radius: 50%;
  width: 18px;
  height: 18px;
  line-height: 18px;
  background: #4b3ce2;
  text-align: center;
  color: #fff;
  font-size: 10px;
  flex-shrink: 0;
  margin-top: 3px;
}

.ul-expo li div {
  display: flex;
  flex-direction: column; /* empilha link e span */
}

.ul-expo li a {
  color: #333;
  text-decoration: none;
  font-weight: 500;
}

.ul-expo li a:hover {
  color: #4b3ce2;
  text-decoration: underline;
}

.ul-expo li span {
  display: block;
  font-size: 12px;
  color: #666;
  margin-top: 2px; /* pequeno espaço abaixo do link */
}
.lado-a-lado {
    display: flex;
    align-items: center;      /* centraliza verticalmente */
    justify-content: center;  /* centraliza distribuição */
    gap: 20px;
}

.texto-apresentacao {
    width: 60%;
    text-align: justify;
}

.video-wrapper {
    width: 40%;
    display: flex;
    justify-content: center;  /* centraliza horizontalmente */
}

.video-wrapper video {
    max-height: 540px;
    width: auto;
}

/* Responsivo */
@media (max-width: 768px) {
    .lado-a-lado {
        flex-direction: column;
        text-align: center;
    }

    .texto-apresentacao,
    .video-wrapper {
        width: 100%;
    }
}