/* Reset básico */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

p {
  font-size: 20px;
}

body {
  font-family: 'Roboto', sans-serif;
  color: #222;
  background-color: #fff;
  line-height: 1.6;
  overflow-x: hidden;
  font-weight: 500; /* peso base para texto normal */
}

/* Títulos */
h1, h2, h3, h4, h5, h6 {
  font-weight: 800; /* título forte */
  letter-spacing: -0.5px; /* opcional: para visual mais moderno */
}

h2 {
    font-size: 2.0rem;
    padding-bottom: 50px;
}

/* Botões e chamadas à ação */
button,
.cta-button,
.btn {
  font-weight: 600; /* ligeiramente mais forte que o texto, sem ser exagerado */
  font-family: 'Urbanist', sans-serif;
  text-transform: uppercase; /* opcional para look mais técnico */
  letter-spacing: 0.5px;
}

/* Layout geral */
header,
section {
  padding: 60px 20px;
  width: 100%;
}

.section-inner {
  max-width: 1200px;
  margin: 0 auto;
}


p {
  margin-bottom: 15px;
}

a {
  color: #0a3d62;
  text-decoration: none;
  transition: color 0.3s;
}

a:hover {
  color: #1e90ff;
}

/* Navegação */
nav {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 20px;
}

nav a {
  margin-left: 20px;
  font-weight: 500;
}

/* Secções com destaques */
#intro {
  background-color: #f8f9fa;
  text-align: center;
}

#intro h1 {
  font-size: 2.8rem;
}


/* Certificações e formação */
.certificacao,
.nivel-formacao,
.imagem-item {
  background: #fff;
  border-left: 4px solid #0a3d62;
  padding: 20px;
  margin-bottom: 20px;
  box-shadow: 0 2px 6px rgba(0,0,0,0.05);
}

/* Lista de benefícios */
ul {
  padding-left: 20px;
}

ul li {
  margin-bottom: 10px;
}





/* HERO SECTION */
.hero {
  position: relative;
  height: 100vh;
  background: url('../assets/images/bg-eva-box.jpg') top center / cover no-repeat;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
}

.overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
}

.hero-content {
  position: absolute;
  bottom: 80px;
  right: 250px;
  text-align: right;
  color: #fff;
  z-index: 2;
  max-width: 400px;
  text-shadow: 1px 1px 4px rgba(0, 0, 0, 0.7);
}

.hero-content h1 {
  font-size: 4rem;
  margin-bottom: 20px;
  text-align: center;
}

.hero-content p {
  font-size: 1.2rem;
  margin-bottom: 30px;
  text-align: center;
}

.cta-button {
  display: inline-block;
  background-color: #fff;
  color: #00a7e1; /* Azul EVA */
  padding: 12px 24px;
  border-radius: 6px;
  font-weight: bold;
  transition: background-color 0.3s;
}

.cta-button:hover {
  background-color: #00a7e1; /* Azul EVA */;
}

/* ACADEMY SECTION FULL WIDTH */
.academy-section {
  position: relative;
  width: 100%;
  max-width: 100%;
  margin: 0;
  padding: 0;
  background: url('../assets/images/bg-experts-academy.JPG') center center / cover no-repeat fixed;
  color: white;
  height: 50vh;
  display: flex;
  align-items: center;
  justify-content: center;
}

.academy-overlay {
  background-color: rgba(0, 0, 0, 0.4);
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 20px;
}

.academy-content {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 40px;
  max-width: 800px;
  text-align: center;
  position: relative;
  width: 100%;
  max-width: 100%;
  margin: 0;
  padding: 0;
  color: white;
  height: 50vh;
  display: flex;
  align-items: center;
  justify-content: center;
}

.academy-logo img {
  max-width: 250px;
  width: 100%;
  height: auto;
}

.academy-text {
  text-shadow: 1px 1px 3px rgba(0,0,0,0.7);
}

.academy-text .cta-button {
  background-color: #00a7e1;
  padding: 12px 24px;
  color: white;
  border-radius: 6px;
  font-weight: bold;
  text-decoration: none;
  transition: background 0.3s;
}

.academy-text .cta-button:hover {
  background-color: #006688;
}




.bg-dark-section {
  background-color: #000;
  color: white;
  width: 100%;
  padding: 100px 20px;
  text-align: center;
}

.bg-dark-section h2 {
  color: #00a7e1; /* Azul EVA */
}

.bg-dark-section p {
  color: white;
}


.parallax-section-1 {
  height: 50vh;
  width: 100%;
  background-image: url('../assets/images/parallax1.jpg'); /* substitui pelo teu caminho */
  background-attachment: fixed;
  background-position: center;
  background-repeat: no-repeat;
  background-size: cover;
}
.parallax-section-2 {
  height: 50vh;
  width: 100%;
  background-image: url('../assets/images/parallax2.jpg'); /* substitui pelo teu caminho */
  background-attachment: fixed;
  background-position: center;
  background-repeat: no-repeat;
  background-size: cover;
}
.parallax-section-3 {
  height: 50vh;
  width: 100%;
  background-image: url('../assets/images/parallax3.jpg'); /* substitui pelo teu caminho */
  background-attachment: fixed;
  background-position: center;
  background-repeat: no-repeat;
  background-size: cover;
}
.parallax-section-4 {
  height: 50vh;
  width: 100%;
  background-image: url('../assets/images/parallax4.jpg'); /* substitui pelo teu caminho */
  background-attachment: fixed;
  background-position: center;
  background-repeat: no-repeat;
  background-size: cover;
}
.parallax-section-5 {
  height: 50vh;
  width: 100%;
  background-image: url('../assets/images/parallax5.jpg'); /* substitui pelo teu caminho */
  background-attachment: fixed;
  background-position: center;
  background-repeat: no-repeat;
  background-size: cover;
}
.parallax-section-6 {
    position:relative;
  height: 20vh;
  width: 100%;
  background-image: url('../assets/images/parallax6.jpg'); /* substitui pelo teu caminho */
  background-attachment: fixed;
  background-position: center;
  background-repeat: no-repeat;
  background-size: cover;
}

.parallax-section-7 {
  height: 50vh;
  width: 100%;
  background-image: url('../assets/images/parallax7.png'); /* substitui pelo teu caminho */
  background-attachment: fixed;
  background-position: center;
  background-repeat: no-repeat;
  background-size: cover;
}


.card-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(180px, max-content));
  gap: 20px;
  padding: 20px 40px 120px;
  width: 100%;
  justify-content: center;     /* centra as colunas na horizontal */
  align-content: center;       /* centra o conteúdo verticalmente se necessário */
  justify-items: center;       /* centra os cards nas células */
}



.card {
  perspective: 1000px;
  width: 250px;
  height: 300px;
}

.card h3{
  padding-bottom: 30px;
}

.card-inner {
  position: relative;
  width: 100%;
  height: 100%;
  transition: transform 0.8s;
  transform-style: preserve-3d;
}

.card:hover .card-inner {
  transform: rotateY(180deg);
}

.card-front, .card-back {
  position: absolute;
  width: 100%;
  height: 100%;
  border-radius: 8px;
  overflow: hidden;
  backface-visibility: hidden;
  box-shadow: 0 6px 15px rgba(0, 0, 0, 0.4);
}

/* Frente com imagem a preencher */
.card-front {
  background-color: #ddd;
}

.card-front img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

/* Verso com texto */
.card-back {
  background-color: #0a3d62;
  color: #fff;
  transform: rotateY(180deg);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 20px;
  text-align: center;
}

.card-back p{
  font-size: 1rem;
}





.carousel.multi {
  position: relative;
  overflow: hidden;
  width: 100%;
  margin-top: 40px;
}

.carousel-track {
  display: flex;
  transition: transform 0.5s ease;
}

.carousel-item {
  flex: 0 0 25%; /* 4 por linha */
  padding: 10px;
}

.carousel-item img {
  width: 100%;
  height: auto;
  border-radius: 8px;
  display: block;
}

/* Botões */
.carousel-btn {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  background-color: rgba(0,0,0,0.4);
  border: none;
  color: #fff;
  font-size: 2rem;
  padding: 10px 14px;
  cursor: pointer;
  z-index: 10;
}

.carousel-btn:hover {
  background-color: rgba(0,0,0,0.6);
}

.carousel-btn.prev {
  left: 20px;
}

.carousel-btn.next {
  right: 20px;
}

/* Responsivo */
@media (max-width: 1024px) {
  .carousel-item {
    flex: 0 0 33.33%; /* 3 por linha */
  }
}

@media (max-width: 768px) {
  .carousel-item {
    flex: 0 0 50%; /* 2 por linha */
  }
  .section-split {
    flex-direction: column;
  }

  .split-image,
  .split-content {
    flex: 1 1 100%;
  }

  .split-content {
    gap: 30px;
    text-align: left!important;
  }
  .parallax-section-6 h2 {
    font-size: 1.5rem;
    padding: 0 10px;
  }
  .academy-content {
    flex-direction: column;
    text-align: center;
  }

  .academy-logo {
    margin-bottom: 20px;
  }

  .academy-text {
    text-align: center;
  }
    h1 {
    font-size: 2.2rem;
  }

  h2 {
    font-size: 1.6rem;
  }

  nav {
    flex-direction: column;
    align-items: flex-start;
  }

  nav a {
    margin: 10px 0 0 0;
  }

  .certificacao,
  .nivel-formacao,
  .imagem-item {
    padding: 15px;
  }
  .parallax-section-6 h2 {
    font-size: 1.3rem !important;
  }
  .card-grid {
    flex-direction: column;
  }

  .card {
    margin-bottom: 60px;
  }
  .hero-content {
    position: static;
    margin: 0 auto;
    text-align: center;
    max-width: 90%;
  }

  .overlay {
    flex-direction: column;
    align-items: center;
    justify-content: center;
  }
}

@media (max-width: 480px) {
  .carousel-item {
    flex: 0 0 100%; /* 1 por linha */
  }
  .parallax-section-6 h2 {
    font-size: 1.1rem !important;
  }
}

.section-split {
  display: flex;
  flex-wrap: wrap;
  gap: 40px;
  align-items: stretch;
  padding: 60px 20px;
  max-width: 1200px;
  margin: 0 auto;
}

.split-image {
  flex: 1 1 40%;
  display: flex;
  align-items: center;
  justify-content: center;
}

.split-image img {
  width: 100%;
  height: auto;
  border-radius: 8px;
}

.split-content {
  flex: 1 1 50%;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  color: white;
  text-shadow: 1px 1px 2px rgba(0,0,0,0.5);
}

.split-content .topic h3 {
  color: #00a7e1; /* Azul EVA */
  margin-bottom: 8px;
}

.split-content .topic p {
  margin-bottom: 20px;
  font-size: 1rem;
}

.topics-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 40px;
  padding: 60px 20px;
  color: white;
  text-align: center;
}



.topic-box {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 12px;
}

.topic-box i {
  font-size: 2.5rem;
  color: #00a7e1; /* Azul EVA */
}

.topic-box h3 {
  margin: 0;
  font-size: 1.2rem;
  color: #ffffff;
}

.topic-box p {
  line-height: 1.4;
  color: #ddd;
}


.parallax-overlay {
  position: relative;
  z-index: 2;
  padding: 20px;
  
}

.parallax-section-6 h2 {
  color: white;
  font-size: 2rem;
  text-shadow: 1px 1px 6px rgba(0, 0, 0, 0.8);
  max-width: 800px;
  margin: 0 auto;
    text-align: center;
}

.parallax-section-6::before {
  content: '';
  position: absolute;
  inset: 0;
  background-color: rgba(0, 0, 0, 0.6); /* ajusta a opacidade conforme necessário */
  z-index: 1;
}

.certified-map {
  margin-top: 40px;
  display: flex;
  justify-content: center;
  align-items: center;
}

.certified-map img {
  max-width: 100%;
  height: auto;
  border-radius: 8px;
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.4);
}

.language-switcher {
  position: absolute;
  top: 20px;
  right: 20px;
  z-index: 1000;
  display: flex;
  gap: 10px;
}

.language-switcher img {
  width: 30px;
  height: auto;
  cursor: pointer;
  transition: transform 0.2s ease;
  padding-left: 10px;
}

.language-switcher img:hover {
  transform: scale(1.1);
}

body {
  overflow-x: hidden; /* já tens isto, mas reforçado aqui */
}

.trama{
  height:100px;
  background:url(../assets/images/Pop!_OS_wallpaper_carbon_fibre_lower_right_corner_logo.jpg);
  background-position: center;
  background-repeat: no-repeat;
  background-size: cover;
}


.parallax-container {
  position: relative;
  height: 50vh;
  width: 100vw;
  overflow: hidden;
}

.parallax-bg {
  min-height: 100vh;
  position: absolute;
  top: -100%; /* empurra a imagem para cima para cobrir espaço extra durante o scroll */
  left: 0;
  width: 100%;
  height: 150%; /* altura aumentada */
  background-size: cover;
  background-repeat: no-repeat;
  background-position: center;
  z-index: -1;
  will-change: transform;
}

.video-alert-wrapper {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 60px; /* mais espaçamento entre ícones e vídeo */
  max-width: 1100px;
  margin: 0 auto;
  padding: 30px 0;
}

.side-icon-container {
  display: flex;
  align-items: center;
  justify-content: center;
  height: 100%;
}

.side-icon {
  font-size: 4rem; /* ícones maiores */
  color: #ffc107;
}

/* Wrapper do vídeo com proporção 16:9 */
.video-wrapper {
  width: 560px;
  max-width: 100%;
  position: relative;
  aspect-ratio: 16 / 9;
}

.video-container.small-video {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
}

.video-container.small-video iframe {
  width: 100%;
  height: 100%;
  border-radius: 8px;
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.5);
}

/* Responsivo */
@media (max-width: 768px) {
  .side-icon-container {
    display: none;
  }

  .video-alert-wrapper {
    gap: 0;
    padding: 20px 0;
  }
}

