* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: 'DM Sans', sans-serif;
  background-color: #000000;
  color: #fff;
}

.header {
  position: absolute; /* ou fixed se preferir */
  top: 0;
  left: 0;
  width: 100%;
  padding: 20px 40px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  background: transparent;
  z-index: 10;
}

.logo {
  font-family: 'Voltaire', sans-serif;
  font-size: 1.6rem;
  color: white;
}

.nav {
  display: flex;
  gap: 30px;
}

.nav a {
  font-family: 'Anton', sans-serif;
  text-decoration: none;
  color: white;
  font-size: 1.2rem;
  transition: color 0.3s;
}

.nav a:hover {
  color: #0f523c;
}

.hero {
  position: relative;
  width: 100%;
  height: 400px;
  background: url('https://raw.githubusercontent.com/marigadaudf/meus-svgs/b05b641b93755bb94217b2e726ccbb29e4da2901/ChatGPT%20Image%2028%20de%20mar.%20de%202025%2C%2014_38_46.png') no-repeat center center;
  background-size: cover;
  display: flex;
  align-items: center;
  padding-left: 60px;
  color: white;
  overflow: hidden;
}

.hero::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 100px;
  background: linear-gradient(to top, #000 10%, transparent);
  pointer-events: none;
  z-index: 1;
}
.hero-text h1 {
  font-family: 'Anton', sans-serif;
  font-size: 2.5rem;
  font-weight: 400;
  margin-bottom: 20px;
  text-shadow: 2px 2px 4px rgba(0,0,0,0.5);
  line-height: 1.2;
}

.hero-text p {
  font-family: 'DM Sans', sans-serif;
  font-size: 1.0rem;
  color: #cccccc;
  margin-bottom: 30px;
  max-width: 600px;
}

.cta-button {
  width: 200px;
  height: 70px;
  background: linear-gradient(to left top, #023b1a 50%, #023b1a 100%);
  border-style: none;
  color: #fff;
  font-size: 20px;
  letter-spacing: 3px;
  font-family: 'Lato', sans-serif;
  font-weight: 200;
  outline: none;
  cursor: pointer;
  position: relative;
  padding: 0px;
  overflow: hidden;
  transition: all .5s;
  box-shadow: 0px 1px 2px rgba(0, 0, 0, .2);
}

.cta-button span {
  position: absolute;
  display: block;
}

/* Span animações */

.cta-button span:nth-child(2) {
  height: 3px;
  width: 200px;
  top: 0px;
  left: -200px;
  background: linear-gradient(to right, rgba(0, 0, 0, 0), #f6e58d);
  animation: span1 2s linear infinite;
  animation-delay: 1s;
}

@keyframes span1 {
  0% {
    left: -200px
  }
  100% {
    left: 200px;
  }
}

.cta-button span:nth-child(3) {
  height: 70px;
  width: 3px;
  top: -70px;
  right: 0px;
  background: linear-gradient(to bottom, rgba(0, 0, 0, 0), #f6e58d);
  animation: span2 2s linear infinite;
  animation-delay: 2s;
}

@keyframes span2 {
  0% {
    top: -70px;
  }
  100% {
    top: 70px;
  }
}

.cta-button span:nth-child(4) {
  height: 3px;
  width: 200px;
  right: -200px;
  bottom: 0px;
  background: linear-gradient(to left, rgba(0, 0, 0, 0), #f6e58d);
  animation: span3 2s linear infinite;
  animation-delay: 3s;
}

@keyframes span3 {
  0% {
    right: -200px;
  }
  100% {
    right: 200px;
  }
}

.cta-button span:nth-child(5) {
  height: 70px;
  width: 3px;
  bottom: -70px;
  left: 0px;
  background: linear-gradient(to top, rgba(0, 0, 0, 0), #f6e58d);
  animation: span4 2s linear infinite;
  animation-delay: 4s;
}

@keyframes span4 {
  0% {
    bottom: -70px;
  }
  100% {
    bottom: 70px;
  }
}

/* Hover */
.cta-button:hover {
  transition: all .5s;
  transform: rotate(-3deg) scale(1.1);
  box-shadow: 0px 3px 5px rgba(0, 0, 0, .4);
}

.cta-button:hover span {
  animation-play-state: paused;
}


.courses {
  padding: 2px 40px 40px 40px; /* top, right, bottom, left *a/
}

.courses h2 {
  font-size: 1.8rem;
  margin-bottom: 20px;
  padding: 1px;
  margin-top: -5px; /* sobe o título */
  margin-bottom: 20px;

}

.course-slider {
  display: flex;
  gap: 20px;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  scroll-behavior: smooth;
  padding-bottom: 10px;
  cursor: grab;
}

.course-slider::-webkit-scrollbar {
  display: none; /* remove a barra de rolagem feia */
}

.carousel-wrapper {
  position: relative;
  display: flex;
  align-items: center;
}

/* grade de modulos 2 */
.phase2 {
  margin-top: -30px; /* ou até negativo tipo -10px */
}

  /* grade de modulos 3 */
  .phase3 {
    margin-top: -40px; /* ou até negativo tipo -10px */
  }


.course-slider {
  display: flex;
  gap: 20px;
  overflow-x: auto;
  scroll-behavior: smooth;
  scroll-snap-type: x mandatory;
  padding: 20px 0;
  width: 100%;
}

.course-slider::-webkit-scrollbar {
  display: none;
}
/* card modulo 1 */
.course-card1 {
  width: 500px;
  height: 450px;
  background-color: #1a1a1a;
  border-radius: 10px;
  overflow: hidden;
  scroll-snap-align: start;
  position: relative;
}

.course-card1 img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.course-card1 p {
  background: rgba(0, 0, 0, 0.6);
  color: #fff;
  width: 100%;
  padding: 10px;
  font-size: 0.95rem;
}

  /* card modulo 2 */

  .course-card2 {
    width: 300px;
    height: 450px;
    background-color: #1a1a1a;
    border-radius: 10px;
    overflow: hidden;
    scroll-snap-align: start;
    position: relative;
  }
  
  .course-card2 img {
    width: 100%;
    height: 100%;
    object-fit: cover;
  }
  
  .course-card2 p {
    background: rgba(0, 0, 0, 0.6);
    color: #fff;
    width: 100%;
    padding: 10px;
    font-size: 0.95rem;
  }
  /* card modulo 3 */

  .course-card3 {
    width: 300px;
    height: 450px;
    background-color: #1a1a1a;
    border-radius: 10px;
    overflow: hidden;
    scroll-snap-align: start;
    position: relative;
  }
  
  .course-card3 img {
    width: 100%;
    height: 100%;
    object-fit: cover;
  }
  
  .course-card3 p {
    background: rgba(0, 0, 0, 0.6);
    color: #fff;
    width: 100%;
    padding: 10px;
    font-size: 0.95rem;
  }  


.carousel-arrow {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  background: rgba(0, 0, 0, 0.6);
  border: none;
  font-size: 2rem;
  color: white;
  cursor: pointer;
  padding: 10px;
  z-index: 5;
  border-radius: 50%;
  transition: background 0.3s;
}

.carousel-arrow:hover {
  background: rgba(255, 255, 255, 0.2);
}

.carousel-arrow.left {
  left: 10px;
}

.carousel-arrow.right {
  right: 10px;
}

.modal {
  display: none;
  position: fixed;
  z-index: 999;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  overflow: auto;
  background-color: rgba(0,0,0,0.8);
}

.modal-content {
  background-color: #111;
  margin: 10% auto;
  padding: 20px;
  border: none;
  width: 80%;
  max-width: 800px;
  position: relative;
  border-radius: 10px;
}

.close {
  color: white;
  position: absolute;
  top: 10px;
  right: 20px;
  font-size: 30px;
  font-weight: bold;
  cursor: pointer;
}

.close:hover {
  color: #00ffaa;
}

.video-wrapper {
position: relative;
padding-top: 56.25%; /* Proporção 16:9 */
width: 100%;
height: 0;
overflow: hidden;
border-radius: 10px;
}

.video-wrapper iframe {
position: absolute;
top: 0;
left: 0;
width: 100%;
height: 100%;
border: none;
}
.close {
color: #fff !important;
font-size: 2rem;
font-weight: bold;
position: absolute;
top: 15px;
right: 20px;
z-index: 9999;
cursor: pointer;
}

.close:hover {
color: #00ffaa !important;
}


@media (max-width: 768px) {
.hero {
  height: 500px;
  padding-left: 20px;
  align-items: flex-end;
  padding-bottom: 40px;
  background-position: top center;
}

.hero-text h1 {
  font-size: 1.8rem;
  text-align: left;
  max-width: 90%;
}

.hero-text p {
  font-size: 13px;
  max-width: 70%;
  line-height: 1.4;
}

.cta-button {
  width: 40%;
  height: 60px;
  font-size: 14px;
  letter-spacing: 2px;
  margin: 0 auto;
  display: block;
}

.courses {
  padding: 10px 20px;
}

.courses h2 {
  font-size: 1.4rem;
  margin-top: 20px;
  margin-bottom: 15px;
}

.course-slider {
  gap: 12px;
  padding: 10px 0;
}

.course-card {
  width: 160px;
  height: 280px;
  border-radius: 10px;
}

.course-card p {
  font-size: 0.85rem;
  padding: 8px;
}

.modal-content {
  width: 95%;
  padding: 10px;
}

.close {
  font-size: 1.5rem;
  top: 10px;
  right: 10px;
}

.logo {
  font-size: 1.3rem;
}

.nav {
  display: none; /* esconde menu desktop */
}
.course-card1,
.course-card2,
.course-card3 {
  width: 160px;
  height: 260px;
}

.course-card1 p,
.course-card2 p,
.course-card3 p {
  font-size: 0.8rem;
  padding: 8px;
}
}
@media (max-width: 768px) {



.course-card1 {
width: 40vw; /* 90% da largura da tela */
height: 300px;
flex-shrink: 0; /* evita que ele encolha em sliders */
}

.course-card1 p,
.course-card2 p,
.course-card3 p {
font-size: 0.8rem;
padding: 8px;
}

.course-card2 {
width: 40vw; /* 90% da largura da tela */
height: 300px;
flex-shrink: 0; /* evita que ele encolha em sliders */
}
}

@media (max-width: 768px) {
.header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 20px; /* reduzido um pouco o padding lateral */
}

.nav {
  display: flex;
  justify-content: flex-end;
  margin-top: 0;
  width: auto;
}

.nav a {
  font-size: 1rem;
}
}


@media (max-width: 768px) {
.carousel-arrow {
  top: 50%; /* aumenta a distância pra descer mais */
}
}
@media (max-width: 768px) {
.courses h2 {
  font-size: 1.5rem;
  margin-bottom: 5px; /* reduz a distância pro subtítulo */
}

.phase-subtitle {
  font-size: 0.9rem;
  margin-bottom: 10px; /* opcional */
  margin-top: -5px; /* aproxima do título */
  color: #ccc; /* opcional: melhora visualmente */
}
}
.carousel-container {
position: relative;
}

@media (max-width: 768px) {
.phase3 .carousel-arrow{
  display: none;
}
}

.nav a.thin {
font-family: 'DM Sans', sans-serif; /* ou outra fonte que suporte pesos mais leves */
font-weight: 300; /* utilize o peso desejado */
}
