/* CUSTOM*/
.checkbtn {
	font-size: 30px;
	float: right;
	cursor: pointer;
	display: none;
}
#check {
	display: none;
}
nav ul li a {
	color: var(--gray-dark);
}

/* CUSTOM */
.movie {
  width: 100%;
  max-width: 900px;
  height: 100vh;
  max-height: 500px;
  display: flex;
  margin: auto;
}

.max-w-300 {
  width: 100%;
  max-width: 300px;
}

.max-w-400 {
  width: 100%;
  max-width: 400px;
}

.max-w-470 {
  width: 100%;
  max-width: 470px;
}

.max-w-490 {
  width: 100%;
  max-width: 490px;
}

.max-w-600 {
  width: 100%;
  max-width: 600px;
}

.max-w-500 {
  width: 100%;
  max-width: 500px;
}

.max-w-700 {
  width: 100%;
  max-width: 700px;
}

.max-w-800 { 
  width: 100%;
  max-width: 800px; 
}

.max-w-900 { 
  width: 100%;
  max-width: 900px; 
}

.max-w-1108 { 
  width: 100%;
  max-width: 1108px; 
}

.max-w-1180 { 
  width: 100%;
  max-width: 1180px; 
}

/* ANIME */
/* Base para elementos com animação */
[data-anime] { opacity: 0; animation-play-state: paused; /* Animação pausada até entrar na tela */ }

/* Tipos de animação */
[data-anime="top"] { animation-name: fromTop; }
[data-anime="right"] { animation-name: fromRight; }
[data-anime="left"] { animation-name: fromLeft; }
[data-anime="bottom"] { animation-name: fromBottom; }
[data-anime="center"] { animation-name: fromCenter; }

/* Tempos de animação */
[data-time="fast"] {
  animation-duration: 0.2s;
  animation-delay: 0.2s;
  animation-timing-function: ease;
  animation-fill-mode: forwards;
}

[data-time="medium"] {
  animation-duration: 0.4s;
  animation-delay: 0.4s;
  animation-timing-function: ease;
  animation-fill-mode: forwards;
}

[data-time="slow01"] {
  animation-duration: 0.6s;
  animation-delay: 0.6s;
  animation-timing-function: ease;
  animation-fill-mode: forwards;
}

[data-time="slow02"] {
  animation-duration: 0.8s;
  animation-delay: 0.8s;
  animation-timing-function: ease;
  animation-fill-mode: forwards;
}

[data-time="slow03"] {
  animation-duration: 1.0s;
  animation-delay: 1.0s;
  animation-timing-function: ease;
  animation-fill-mode: forwards;
}

[data-time="slow04"] {
  animation-duration: 1.2s;
  animation-delay: 1.1s;
  animation-timing-function: ease;
  animation-fill-mode: forwards;
}

[data-time="slow05"] {
  animation-duration: 1.4s;
  animation-delay: 1.4s;
  animation-timing-function: ease;
  animation-fill-mode: forwards;
}

[data-time="slow06"] {
  animation-duration: 1.6s;
  animation-delay: 1.6s;
  animation-timing-function: ease;
  animation-fill-mode: forwards;
}

[data-time="slow07"] {
  animation-duration: 1.8s;
  animation-delay: 1.8s;
  animation-timing-function: ease;
  animation-fill-mode: forwards;
}

[data-time="slow08"] {
  animation-duration: 2s;
  animation-delay: 2s;
  animation-timing-function: ease;
  animation-fill-mode: forwards;
}

[data-time="slow09"] {
  animation-duration: 2.2s;
  animation-delay: 2.2s;
  animation-timing-function: ease;
  animation-fill-mode: forwards;
}

[data-time="slow10"] {
  animation-duration: 2.4s;
  animation-delay: 2.4s;
  animation-timing-function: ease;
  animation-fill-mode: forwards;
}

[data-time="slow11"] {
  animation-duration: 2.6s;
  animation-delay: 2.6s;
  animation-timing-function: ease;
  animation-fill-mode: forwards;
}

[data-time="slow12"] {
  animation-duration: 2.8s;
  animation-delay: 2.8s;
  animation-timing-function: ease;
  animation-fill-mode: forwards;
}

[data-time="slow13"] {
  animation-duration: 3s;
  animation-delay: 3s;
  animation-timing-function: ease;
  animation-fill-mode: forwards;
}

/* Dispara a animação quando a classe 'visible' é adicionada */
[data-anime].visible { animation-play-state: running; }

/* Definição das animações */
@keyframes fromTop {
  from { opacity: 0; transform: translate3d(0, -50px, 0); }
  to { opacity: 1; transform: translate3d(0, 0, 0); }
}

@keyframes fromRight {
  from { opacity: 0; transform: translate3d(50px, 0, 0); }
  to { opacity: 1; transform: translate3d(0, 0, 0); }
}

@keyframes fromLeft {
  from { opacity: 0; transform: translate3d(-50px, 0, 0); }
  to { opacity: 1; transform: translate3d(0, 0, 0); }
}

@keyframes fromBottom {
  from { opacity: 0; transform: translate3d(0, 50px, 0); }
  to { opacity: 1; transform: translate3d(0, 0, 0); }
}

@keyframes fromCenter {
  from { opacity: 0; transform: scale(0.8); }
  to { opacity: 1; transform: scale(1); }
}



/* MEDIA QUERYS */
@media (max-width: 400px) {
  .movie {
    max-width: 360px;
    height: 180px;
  }
}

@media (min-width: 500px) {
  .movie {
    max-width: 400px;
    height: 220px;
  }
}

@media (min-width: 640px) {

}

@media (min-width: 768px) {
  
}

/* MENU MOBILE - Telas MENORES que 1024px */
@media (max-width: 1023px) {
  .checkbtn {
    display: flex;
  }
  ul {
    position: fixed;
    width: 100%;
    height: 100vh;
    background-color: var(--primary-500);
    top: 60px;
    left: -100%;
    text-align: center;
    transition: all 0.5s;
  }
  nav ul li {
    display: block;
  }
  nav ul li a {
    color: var(--white);
  }
  #check:checked ~ ul {
    left: 0;
  }

  .bg-trainee-program-mobile {
    background-image: url('../img/bg-trainee-program-mobile.webp');
    background-size: cover;
    background-position-y: bottom;
    background-position-x: 90%;
    background-repeat: no-repeat;
  }

  .bg-prerequisits-mobile {
    background-image: url('../img/bg-prerequisits-mobile.webp');
    background-size: cover;
    background-position-y: bottom;
    background-position-x: 60%;
    background-repeat: no-repeat;
  }

  .bg-steps-mobile {
    background-image: url('../img/bg-steps-mobile.webp');
    background-size: cover;
    background-position-x: right;
    background-repeat: no-repeat;
  }

  .logo-ct-footer {
    width: 73px;
    height: 31px;
  }

  .logo-tsea-footer {
    width: 86px;
    height: 19px;
  }

  .bg-numbers-mobile {
    background: linear-gradient(360deg, var(--secondary-400) 0%, var(--secondary-400) 59%, var(--white)60%, var(--white) 100% );
  }
}

/* MENU DESKTOP - Telas 1024px ou MAIORES */
@media (min-width: 1024px) {
  .checkbtn {
    display: none;
  }
  #check {
    display: none;
  }
  ul {
    position: static;
    width: auto;
    height: auto;
    background-color: transparent;
    text-align: left;
    transition: none;
  }
  nav ul li {
    display: inline-flex;
  }
  nav ul li a {
    color: var(--white);
  }

  .arrow-black-right {
    width: 41px;
    height: 44px;
    padding-top: 12px;
  }
 
  .arrow-red-right {
    width: 26px;
    height: 28px;
  }

  h2 {
    font-size: 52px;
  }

  .movie {
    max-width: 800px;
    height: 450px;
  }

  .bg-numbers-desktop {
    background: linear-gradient(360deg, var(--secondary-400) 0%, var(--secondary-400) 79%, var(--white)80%, var(--white) 100% );
  }

  .bg-trainee-program-desktop {
    background-image: url('../img/bg-trainee-program-desktop.webp');
    background-size: cover;
    background-position-x: center;
    background-repeat: no-repeat;
  }

  .bg-trainee-program-02-desktop {
    background-image: url('../img/bg-trainee-program-02-desktop.webp');
    background-size: cover;
    background-position-x: center;
    background-repeat: no-repeat;
  }
 
  .bg-prerequisits-desktop {
    background-image: url('../img/bg-prerequisits-desktop.webp');
    background-size: cover;
    background-position-x: center;
    background-repeat: no-repeat;
  }
  
  .bg-steps-desktop {
    background-image: url('../img/bg-steps-desktop.webp');
    background-size: cover;
    background-position-x: center;
    background-repeat: no-repeat;
  }
}

@media (min-width: 1280px) {}

@media (min-width: 1366px) {}

@media (min-width: 1536px) {}

/* ACCORDION STYLES */
.accordion-content {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.3s ease;
}

.accordion-content.open {
  padding: 24px 28px;
  /* max-height will be set dynamically */
}

.accordion-icon {
  transition: transform 0.3s ease;
}

.accordion-icon.open {
  transform: rotate(180deg);
}

