* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

:root {
  --cor1: #104a55;
  --cor2: #024248;
  --cor3: #339795;
  --cor4: #071d41;
  --cor5: #EBEFF5;
  --cor6: #39b54a;
  --cor7: #006837;
}

html {
  scroll-behavior: smooth;
  overflow-x: hidden;
}

body {
  font-family: 'Poppins', sans-serif;
  overflow-x: hidden;
  display: flex;
  flex-direction: column;
  height: 100vh;
}

main {
  display: flex;
  flex-direction: column;
  align-items: center;
}

.container {
  max-width: 1100px;
  margin: 0 auto;
  padding: 0 20px;
  gap: 2em;
}


.header {
  width: 100vw;
  background-color: white;
  padding: 20px 0;
  position: fixed;
  top: 0%;
  left: 0%;
  border-bottom: 1px solid #ddd;
  box-shadow: 0px 10px 8px #cecece85;
  height: 5em;
  display: flex;
  flex-direction: column;
  justify-content: center;
  z-index: 2;
}

.logo-img {
  height: 65px
    /* object-fit: contain; */
}

.header .container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  height: 100px;
  background-color: red;
}

@keyframes subtleShadow {
  0% {
    text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.2);
    color: #333;
  }

  50% {
    text-shadow: 2px 2px 3px rgba(0, 0, 0, 0.3);
    color: #444;
  }

  100% {
    text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.2);
    color: #333;
  }
}

.nav-header {
  display: flex;
  justify-content: space-between;
  padding-left: 4em;
  padding-right: 4em;
  align-items: center;
  height: 8vh;

}

.nav-list {
  list-style: none;
  display: flex;
}

.nav-list li {
  letter-spacing: 3px;
  margin-left: 32px;
  display: flex;
  align-items: center;
  padding: 10px 20px;
  margin-left: 15px;
  text-decoration: none;
  font-weight: bold;
  text-shadow: 1px 1px 3px rgba(0, 0, 0, 0.3);
  /* sombra nas letras */
  transition: color 0.3s ease;
}

.nav-list a {
  text-decoration: none;
  color: #555;
  position: relative;
  font-weight: 700;
  font-size: 23px;
  /* font-weight: 700; */
}

.nav-list a:hover {
  color: var(--cor3);
  /* animation: subtleShadow 1s infinite alternate; */
}

.nav-list a::before {
  contain: '';
  content: '';
  width: 100%;
  transform: scale(0);
  height: 2px;
  background-color: var(--cor3);
  bottom: -10px;
  transition: 0.3s;
  position: absolute;
}

.nav-list a:hover::before {
  transform: scale(1);
}

#login-button-offline {
  border: none;
  border-radius: 20px;
  padding: 10px 20px 10px;
  font-size: 20px;
  color: #fff;
  background-color: var(--cor3);
  transition: 0.3s;
}

#login-button-offline:hover {
  color: #fff;
  background-color: var(--cor1);
}

#login-button-online {
  display: none;
}

#login-button-online img {
  width: 40px;
}

.mobile-menu {
  display: none;
  cursor: pointer;
}

.mobile-menu div {
  width: 32px;
  height: 2px;
  background: #000;
  margin: 8px;
  transition: 0.3s;
}

.main-index {
  background-color: white;
  display: flex;
  flex-direction: column;
  align-items: center;
  margin: 20px;
}

#video-introducao {
  width: 960px;
  height: 540px;
}

.welcome-section {
  margin-top: 5.5em;
}

.welcome-section h2 {
  font-size: 1.8em;
  margin-bottom: 30px;
}

.content-wrapper {
  display: flex;
  flex-direction: column;
  gap: 40px;
  margin-bottom: 2em;
  align-items: center;
}

.text-content {
  flex: 1;
  /* Ocupa o espaço disponível */
  line-height: 1.7;
}

.text-content h3 {
  font-size: 1.5em;
  margin-bottom: 15px;
}

.video-placeholder {
  flex: 1;
  /* Ocupa o espaço disponível */
  height: 300px;
  background-color: #e0e0e0;
  /* Cinza claro do placeholder */
  border-radius: 20px;
  /* Bordas arredondadas */
  justify-content: center;
  align-items: center;
  font-size: 1.2em;
  color: #666;
}

.menu-button {
  width: 45%;
  height: 50px;
  border: #1a5e63 solid 2px;
  background-color: #fff;
  border-radius: 50px;
  cursor: pointer;
  /*Indica que os botões são clicaveis*/
  font-size: 25px;
  font-weight: 700;
  text-shadow: 1px 1px 3px rgba(0, 0, 0, 0.3);
  /* sombra nas letras */
  transition: transform 0.2s ease, box-shadow 0.2s ease;
  transition: background-color 0.3s, color 0.3s, border 0.3s;
}

.menu-button:hover {
  transform: scale(1.10);
  /* Leve crescimento */
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
  /* Sombra ao redor */
  background-color: var(--cor3);
  color: white;
  border-color: #004d4d;
}

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

#info-usuario {
  display: grid;
  grid-template-columns: 1fr 4fr;
  align-items: center;
  gap: 30px;
  padding: 10px;
}

#info-usuario img {
  height: 300px;
}

.card-author {
  font-size: 16px;
  margin-top: 5px;
}

.versao-computador {
  display: flex;
}

.versao-celular {
  display: none;
}

.videos {
  width: 1020px;
}

.videos img {
  position: static;
  width: 100px;
}

.conteudo-pdf {
  width: 100%;
  display: flex;
  justify-content: center;
}

.carousel-pdf {
  width: 500px;
  height: 1000px;
}

.item-pdf {
  width: 1000px;
  height: 1000px;
}

.main-footer {
  background-color: #004d51;
  color: white;
  text-align: center;
  padding: 20px;
  margin-top: 40px;
}

.text-animation {
  position: relative;
  animation-name: example;
  animation-duration: 1.5s;
  animation-iteration-count: 1;
}

@keyframes example {
  0% {
    opacity: 0;
    top: 100px;
  }

  100% {
    opacity: 1;
    top: 0px;
  }
}

.back-to-top {

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

  height: 50px;
  width: 50px;
  border-radius: 100px;

  background-color: #0b2239;
  cursor: pointer;

  position: fixed;
  right: 1em;
  bottom: 1em;

  visibility: hidden;
  opacity: 0;

  transition: 0.3s;
  transform: translateY(100%);
}

:target {
  scroll-margin-top: 10em;
}

.back-to-top.show {
  visibility: visible;
  opacity: 1;
  transform: translateY(0);
  color: none;
}

.back-to-top span {
  color: #fff;
  height: 25px;
  width: 25px;
}

.no-active {
  display: none;
}

.active {
  display: flex;
}

/* --- Estilos do Rodapé --- */
footer {
  background-color: #1a5e63;
  /* Verde-azulado escuro do rodapé */
  color: white;
  padding: 18px 0;
  text-align: center;
  font-size: 1.5em;
  font-weight: 700;
  position: static;
  width: 100%;
  bottom: 0;
}

@media screen and (max-width: 1370px) {

  .conteudo-pdf embed {
    width: 1100px;
    height: 600px;
  }
}

@media screen and (max-width: 768px) {

  body {
    overflow-x: hidden;
  }

  .nav-header {
    position: sticky;
    top: 0;
    right: 0;
    display: flex;
    justify-content: space-between;
    align-items: center;
    /* centraliza verticalmente */
    padding: 16px 32px;
    /* controle de espaçamento */
  }

  .nav-list {
    position: absolute;
    top: 0;
    right: 0;
    z-index: 2;
    width: 50vw;
    height: 100vh;
    background: #fff;
    display: none;
    flex-direction: column;
    align-items: center;
    justify-content: space-around;
    transform: translateX(100%);
    transition: transform 0.3s ease-in;
  }

  .nav-list li {
    margin-left: 0;
    opacity: 0;
  }

  .mobile-menu {
    display: block;
    z-index: 3;
  }

  .menu-button {
    width: 90%;
    font-size: 16px;
  }

  #info-usuario {
    grid-template-columns: 1fr;
  }

  #informacoes-usuario dt,
  dd {
    font-size: 14px;
  }

  .modulos-item a {
    font-size: 20px;
  }

  .content-wrapper {
    grid-template-columns: 1fr;
    text-align: justify;
  }

  #video-introducao {
    width: 320px;
    height: 180px;
  }

  .modulos-button {
    width: 90%;
  }

  .versao-computador {
    display: none;
  }

  .versao-celular {
    display: grid;
  }

  .videos {
    width: 350px;
  }

  .videos iframe {
    width: 100% !important;
    height: auto;
    aspect-ratio: 16 / 9;
    min-height: 240px;
    max-height: 100vh;
  }

  .conteudo-pdf embed {
    width: 300px;
    height: 350px;
  }

  .carousel-control-prev,
  .carousel-control-next {
    top: 45%;
    /* desce um pouco mais os botões */
    transform: translateY(-50%);
    width: 24px;
    height: 24px;
    padding: 6px;
    background-color: rgba(0, 0, 0, 0.4);
    z-index: 2;
  }

  .carousel-control-prev {
    left: -16px;
  }

  .carousel-control-next {
    right: -16px;
  }

  /* Garantir que o vídeo ocupe toda a largura possível */
  .carousel iframe {
    width: 100% !important;
    height: auto;
    aspect-ratio: 16 / 9;
  }

  .videos {
    margin-bottom: 60px;
    /* espaço extra abaixo do vídeo */
  }

  #video-explicacao {
    width: 100% !important;
  }

  .form-container {
    position: relative;
    max-width: 80%;
    margin: 60px auto;
    padding: 0;
  }

  .form-container h2 {
    text-align: center;
    color: #004b44;
    font-size: 18px;
    margin-bottom: 20px;
  }

  .form-container input {
    width: 100%;
    padding: 12px;
    margin-top: 10px;
    margin-bottom: 16px;
    border: 1px solid #ccc;
    border-radius: 10px;
    font-size: 16px;
    background-color: #fff;
  }

  input:focus {
    border-color: #0a766c;
    outline: none;
  }

  .form-container button {
    width: 100%;
    padding: 12px;
    background-color: #0a766c;
    color: #fff;
    font-size: 18px;
    border: none;
    border-radius: 12px;
    cursor: pointer;
    transition: background-color 0.3s ease;
  }

}

.nav-list.active {
  transform: translateX(0);
  display: flex;
}


@keyframes navLinkFade {
  from {
    opacity: 0;
    transform: translateX(50px);
  }

  to {
    opacity: 1;
    transform: translateX(0);
  }
}

.mobile-menu.active .line1 {
  transform: rotate(-45deg) translate(-8px, 8px);
}

.mobile-menu.active .line2 {
  opacity: 0;
}

.mobile-menu.active .line3 {
  transform: rotate(45deg) translate(-5px, -7px);
}

.download-button {
  margin-top: 500px;
  padding: 10px 20px;
  border: 2px solid var(--cor3);
  border-radius: 50px;
  background-color: white;
  color: #000000;
  cursor: pointer;
  text-decoration: none;
  display: inline-block;
  margin: 10px;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
  transition: background-color 0.3s, color 0.3s, border 0.3s;
  font-weight: 700;
  font-size: 20px;
}

.download-button:hover {
  transform: scale(1.10);
  /* Leve crescimento */
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
  /* Sombra ao redor */
  background-color: var(--cor3);
  color: white;
  border-color: #004d4d;
}

.voltar-button {
  display: block;
  /* Transforma em bloco para ocupar toda a largura */
  margin-right: auto;
  /* Empurra para a direita */
  width: fit-content;
  /* Ajusta a largura ao conteúdo do botão */
  /* Mantenha o resto do seu estilo original */
  padding: 10px 20px;
  border: 2px solid var(--cor3);
  border-radius: 50px;
  background-color: white;
  color: #000000;
  cursor: pointer;
  text-decoration: none;
  margin-top: 10px;
  margin-bottom: 20px;
  /* Espaço acima do botão */
  font-weight: 700;
  font-size: 20px;
}

.voltar-button:hover {
  transform: scale(1.10);
  /* Leve crescimento */
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
  /* Sombra ao redor */
  background-color: var(--cor3);
  color: white;
  border-color: #004d4d;
}

.video-modulos {
  margin-top: 20px;
  width: 750px;
  /* ou 100%, ou qualquer valor fixo */
  height: 350px;
  max-width: 100%;
  /* para não ultrapassar a largura do container */
  background-color: #e0e0e0;
  border-radius: 20px;
  display: flex;
  justify-content: center;
  align-items: center;
  font-size: 1.2em;
  color: #666;
}

#userwayAccessibilityIcon {
  position: fixed !important;
  right: 20px !important;
  top: calc(60% + 60px) !important;
  z-index: 9998;
}

.card-image img {
  max-width: 100%;
  max-height: 100%;
  object-fit: cover;
  border-radius: 0;
  padding: 0;
  margin: 0;
  display: block;
}

.inicio-button {
  display: block;
  /* Transforma em bloco para ocupar toda a largura */
  width: fit-content;
  /* Ajusta a largura ao conteúdo do botão */
  /* Mantenha o resto do seu estilo original */
  padding: 10px 20px;
  border: 2px solid var(--cor3);
  border-radius: 50px;
  background-color: white;
  color: #000000;
  cursor: pointer;
  text-decoration: none;
  margin-top: 10px;
  /* Espaço acima do botão */
  font-weight: 700;
  font-size: 20px;
}

.inicio-button:hover {
  transform: scale(1.10);
  /* Leve crescimento */
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
  /* Sombra ao redor */
  background-color: var(--cor3);
  color: white;
  border-color: #004d4d;
}

.carousel {
  position: relative;
  width: 100%;
  max-width: 600px;
  height: auto;
  margin: auto;
  display: flex;
  align-items: center;
  justify-content: center;
}

.carousel img {
  width: 100%;
  max-height: 300px;
  border-radius: 12px;
}

.carousel button {
  background-color: rgba(0, 0, 0, 0.5);
  color: white;
  border: none;
  font-size: 24px;
  padding: 10px;
  cursor: pointer;
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
}

.prev {
  left: 10px;
}

.next {
  right: 10px;
}

.feedback-button-container {
  display: flex;
  justify-content: center;
  margin: 20px 0;
}

.feedback-button {
  padding: 12px 24px;
  font-family: 'Poppins', sans-serif;
  font-size: 16px;
  font-weight: 700;
  border: 2px solid var(--cor2);
  background-color: white;
  color: var(--cor2);
  border-radius: 30px;
  cursor: pointer;
  transition: all 0.3s ease;
}

.feedback-button:hover {
  background-color: var(--cor1);
  color: white;
}

div[vw-access-button] {
  bottom: 100px !important;
  /* sobe o botão */
  right: 20px !important;
  /* encosta mais à direita */
  z-index: 9999 !important;
}

.form-container {
  max-width: 400px;
  margin: 60px auto;
  padding: 40px 30px;
  background-color: #f7f7f7;
  border-radius: 20px;
  box-shadow: 0px 4px 20px rgba(0, 0, 0, 0.1);
}

.form-container h2 {
  text-align: center;
  color: #004b44;
  font-size: 28px;
  margin-bottom: 30px;
}

.form-container input {
  width: 100%;
  padding: 12px;
  margin-top: 10px;
  margin-bottom: 16px;
  border: 1px solid #ccc;
  border-radius: 10px;
  font-size: 16px;
  background-color: #fff;
}

input:focus {
  border-color: #0a766c;
  outline: none;
}

.form-container button {
  width: 100%;
  padding: 12px;
  background-color: #0a766c;
  color: #fff;
  font-size: 18px;
  border: none;
  border-radius: 12px;
  cursor: pointer;
  transition: background-color 0.3s ease;
}

button:hover {
  background-color: #075c54;
}

p {
  text-align: center;
  font-size: 14px;
  margin-top: 20px;
}

a {
  color: #0a766c;
  text-decoration: underline;
}

select {
  width: 100%;
  padding: 12px;
  margin-top: 10px;
  margin-bottom: 16px;
  border: 1px solid #ccc;
  border-radius: 10px;
  font-size: 16px;
  background-color: #fff;
}

#video-explicacao {
  margin-top: 2em;
  width: 700px;
}