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

body {
  font-family: 'Poppins', sans-serif;
}

.menu-logo {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  background-color: #ffffff;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
  display: flex;
  align-items: center;
  justify-content: space-around;
  padding: 10px 40px;
  z-index: 1000;
}

/* Lado esquerdo: logo + nome */
.logo-container {
  display: flex;
  align-items: center;
  text-decoration: none;
  gap: 10px;
}

.logo {
  height: 60px;
  width: auto;
}

.logo-text {
  font-size: 20px;
  font-weight: bold;
  color: #0097b2;
}

/* Centro: links principais */
.menu-centro {
  display: flex;
  gap: 20px;
}

.menu-centro a {
  text-decoration: none;
  color: #000;
  padding: 8px;
}

.menu-centro a:hover {
    color: #0097b2;
}

/* Lado direito: login e botão */
.menu-direita {
  display: flex;
  align-items: center;
  gap: 15px;
}

.menu-direita a {
  text-decoration: none;
  padding: 10px;
}

.log-in {
    border: solid 2px #0097b2;
    border-radius: 8px;
    color: #0097b2;
    transition: color 0.6s ease;
}

.log-in:hover {
    background-color: #0097b2;
    color: #ffffff;
}

.comecar {
    border: solid #0097b2;
    background-color: #0097b2;
    border-radius: 8px;
    color: #ffffff;
}

.comecar:hover {
    background-color: #0ea5c0;
    border: solid #0ea5c0;
}

/* Botão hamburguer */
.hamburger {
  display: none;
  flex-direction: column;
  gap: 4px;
  cursor: pointer;
}

.hamburger div {
  width: 25px;
  height: 3px;
  background-color: black;
}

/* Menu mobile (só aparece no mobile) */
.menu-mobile {
  display: none;
  flex-direction: column;
  background-color: white;
  position: absolute;
  top: 70px;
  left: 0;
  width: 100%;
  padding: 10px 20px;
}

.menu-mobile a {
  padding: 10px 0;
  text-decoration: none;
  color: black;
  border-bottom: 1px solid #ddd;
}

.menu-mobile a:hover {
    color:#0097b2;
}

/* Responsividade */
@media (max-width: 768px) {
  .menu-centro,
  .menu-direita a {
    display: none;
  }

  .hamburger {
    display: flex;
  }

  .menu-mobile {
    display: none;
  }
}

/*FIM MENU ---------------------------------------------------------------*/

main, .container{
  position: relative; /* Necessário para posicionamento dos filhos absolutos */
  margin-top: 100px;
  height: 500px;
  padding: 20px;
  background-image: url('../img/Backauro.png');
  background-size: cover;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}
/*MASCOTE*/
.mascote1 {
  position: absolute;
  left: 150px;
  bottom: 80px;
  z-index: 1; /* Acima do background, abaixo do carrossel */
}

.mascote1 img {
  max-width: 250px;
  height: auto;
  display: block;
  margin: 0;
  padding: 0;
}
/*MASCOTE------------------------------------------------------------------------*/

.slider {
  position: relative;
  z-index: 2;
  width: 800px;
  height: 400px;
  background-color: #fff;
  overflow: hidden;
  border-radius: 10px;
}

/* trilho que desliza */
.slides {
  display: flex;
  height: 100%;
  gap: 0;

  /* SCROLL REAL */
  overflow-x: scroll;
  overflow-y: hidden;

  /* IMPORTANTE: JS controla o movimento */
  scroll-behavior: auto;

  /* swipe mobile */
  touch-action: pan-x;

  /* esconder scrollbar */
  scrollbar-width: none;
}

.slides::-webkit-scrollbar {
  display: none;
}

/* garante que os slides não "esticam" */
.slides > * {
  flex: 0 0 100%;
}

/* cada slide */
.slide {
  min-width: 800px; /* mesmo tamanho do slider */
  height: 100%;
  flex-shrink: 0;
  position: relative;
}

.slide img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/*FIM CARROSSEL------------------------------------------------------------*/

/* Cadastro */
.cadastro-fixo {
  display: flex;
  flex-direction: column;
  gap: 10px;
  position: fixed;        /* para ficar fixo na tela ao rolar */
  top: 150px;             /* altura do seu menu fixo (ajuste conforme necessário) */
  right: 60px;            /* distância da borda direita */
  width: 300px;
  background-color: rgba(255, 255, 255, 0.95);
  padding: 20px;
  border-radius: 10px;
  box-shadow: 0 0 15px rgba(0,0,0,0.1);
  z-index: 10;
}

.cadastro-fixo h3 {
  margin-bottom: 15px;
  font-size: 20px;
  color: #333;
}

.cadastro-fixo form input[type="text"],
.cadastro-fixo form input[type="email"],
.cadastro-fixo form input[type="tel"],
.cadastro-fixo form input[type="submit"] {
  width: 100%;
  margin-bottom: 12px;
  padding: 8px;
  border: 1px solid #ccc;
  border-radius: 5px;
}

.cadastro-fixo input[type="submit"] {
  background-color: #0097b2;
  color: white;
  cursor: pointer;
  margin-top: 15px;
  transition: background-color 0.3s ease;
}

.cadastro-fixo input[type="submit"]:hover {
  background-color: #0ea5c0;
}

/* Interruptor customizado */
.switch-container h4,
.switch-container2 h4 {
  font-size: 18px;
  margin-bottom: 5px;
  color: #222;
}

.switch-container label,
.switch-container2 label {
  font-weight: 500;
  font-size: 16px;
  color: #333;
}

.switch-container select,
.switch-container2 select {
  padding: 10px 12px;
  border: 1px solid #ccc;
  border-radius: 8px;
  font-size: 16px;
  color: #333;
  background-color: #fff;
  appearance: none;
  -webkit-appearance: none;
  -moz-appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 140 140' xmlns='http://www.w3.org/2000/svg'%3E%3Cpolyline points='20,50 70,100 120,50' fill='none' stroke='%23999' stroke-width='15' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 12px center;
  background-size: 16px;
  cursor: pointer;
  transition: border-color 0.3s ease;
}

.switch-container select:focus,
.switch-container2 select:focus {
  border-color: #0097b2;
  outline: none;
}

/*RECOLHER CADASTRO*/

.toggle-cadastro {
  position: fixed;
  top: 160px;   /* ajuste para alinhar com o cadastro */
  right: 10px;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background-color: #0097b2;
  color: white;
  font-size: 24px;
  border: none;
  cursor: pointer;
  z-index: 9999;
}

.toggle-cadastro span {
  font-size: 24px;
  font-weight: bold;
  line-height: 1;
}

/* Caixa recolhida */
.cadastro-fixo.closed {
  transform: translateX(100%);
  opacity: 0;
  pointer-events: none;
  transition: transform 0.3s ease, opacity 0.3s ease;
}

/* Transição suave quando abrindo */
.cadastro-fixo {
  transition: transform 0.3s ease, opacity 0.3s ease;
}

/*FIM CADASTRO-------------------------------------------------------------------------------------*/

/*CARDS IDIOMAS-----------------------------------------------------------------------------------*/

.cardIdiomas {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 40px;
  background-color: #f5f5f5;
  font-family: 'Poppins', sans-serif;
}

.cardIdiomas, h1, h3 {
  font-weight: 700;
} 

.cardIdiomas, h1 {
  padding-top: 50px;
  padding-bottom: 20px;
}

.cardIdiomas, h3 {  
  font-weight: 300;
}

.cardIdiomas .container2 {
  display: flex;
  justify-content: center;
  gap: 30px;
  flex-wrap: wrap;
  padding: 30px 0 70px 0;
}

.card {
  background: white;
  border-radius: 12px;
  box-shadow: 0 4px 12px rgba(0,0,0,0.1);
  overflow: hidden;
  width: 300px;
  display: flex;
  flex-direction: column;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.card:hover {
  transform: translateY(-10px);
  box-shadow: 0 10px 20px rgba(0,0,0,0.2);
}

.card-header {
  height: 130px;
  display: flex;
  justify-content: center;
  align-items: center;
  color: white;
  font-size: 18px;
  font-weight: bold;
  position: relative;
}

.card-header::after {
  content: "✔";
  font-size: 30px;
  position: absolute;
  bottom: 20px;
}

.card-header.english {
  background-color: #00849D;  
}

.card-header.spanish {
  background-color: #E0B31E;
}

.card-header.spanish + .card-content ul {
  padding-bottom: 40px; /* ajuste conforme necessário */
}

.card-content {
  padding: 25px;
  flex-grow: 1;
} 

.card-content h3 {
  margin-top: 0;
  margin-bottom: 10px;
}

.card-content p {
  color: #444;
  margin-bottom: 20px;
}

.card-content ul {
  list-style: none;
  padding: 0;
  margin: 0 0 20px;
}

.card-content ul li {
  margin: 10px 0;
  display: flex;
  align-items: center;
}

.card-content ul li::before {
  content: "✔";
  color: #00849D;
  margin-right: 8px;
}

.card-header.spanish ~ .card-content ul li::before {
  color: #E0B31E;
}

.btn {
  display: block;
  text-align: center;
  padding: 12px;
  border: none;
  border-radius: 6px;
  font-weight: bold;
  cursor: pointer;
  text-decoration: none;
}

.btn-english {
  background-color: #00849D;
  color: white;
}

.btn-spanish {
  background-color: #E0B31E;
  color: white;
}

/*SEPRAÇÃO PARA ORGANIZAÇÃO---------------------------------------*/
.container-plans {
  overflow: hidden;
  max-height: 0;             /* altura inicial fechada */
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
  justify-content: center;
  transition: max-height 0.5s ease; /* animação suave */
}

.card-curso {
  font-family: sans-serif;
  border: 1px solid #ccc;
  border-radius: 15px;
  box-shadow: 2px 2px 10px rgba(0, 0, 0, 0.1);
  width: 300px;
  margin: 20px auto;
  overflow: hidden;
  background-color: #f9f9f9;
  color: #333;
}

/* Cabeçalho do card */
.card-head {
  background-color: #00849D;
  color: white;
  text-align: center;
  padding: 10px;
}

.flex {
  font-size: 1.5em;
  margin-bottom: 1px;
}

.english2 {
  font-size: 1.5em;
  margin-top: 0;
}

/* Descrição */
.card-description {
  padding: 15px;
  text-align: center;
}

.card-description p {
  font-size: 0.9em;
  line-height: 1.4;
  margin-bottom: 10px;
}

.card-description hr {
  border: 0;
  border-top: 1px solid #00849D;
  margin: 10px 0;
}

/* Informações do card */
.card-info {
  padding: 15px;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.info-item {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 0.85em;
  font-weight: bold;
}

.label {
  flex-grow: 1;
}

.value {
  font-weight: normal;
}

/*ESPANHOL PLANOS ------------------------------------------------------------------*/

.card-curso {
  font-family: sans-serif;
  border: 1px solid #ccc;
  border-radius: 15px;
  box-shadow: 2px 2px 10px rgba(0, 0, 0, 0.1);
  width: 300px;
  margin: 20px auto;
  overflow: hidden;
  background-color: #f9f9f9;
  color: #333;
}

/* Cabeçalho do card */
.card-head2 {
  background-color: #E0B31E;
  color: white;
  text-align: center;
  padding: 10px;
}

.flex {
  font-size: 1.5em;
  margin-bottom: 1px;
}

.english2 {
  font-size: 1.5em;
  margin-top: 0;
}

/* Descrição */
.card-description2 {
  padding: 15px;
  text-align: center;
}

.card-description2 p {
  font-size: 0.9em;
  line-height: 1.4;
  margin-bottom: 10px;
}

.card-description2 hr {
  border: 0;
  border-top: 1px solid #E0B31E;
  margin: 10px 0;
}

/* Informações do card */
.card-info {
  padding: 15px;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.info-item {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 0.85em;
  font-weight: bold;
}

.label {
  flex-grow: 1;
}

.value {
  font-weight: normal;
}

/*FIM CARD IDIOMAS---------------------------------------------------------------------------------------------------------------------*/

/*METODOLOGIA SEÇÂO---------------------------------------------------------------------------------------------------------------------------*/

/* Container da seção, serve apenas para espaçamento e alinhamento do texto inicial */
.secEscolha {
  padding: 40px;
}

/* Estilo do cabeçalho da seção, que se estende por toda a largura */
.nosHead {
  width: 100%;
  text-align: center;
}

.nosHead h1 {
  font-size: 1.9em; /* Aumentei para destacar */
  margin: 0 0 10px;
}

.nosHead h3 {
  font-size: 1.2em; /* Aumentei para melhor leitura */
  font-weight: normal;
  margin: 0;
}

/* Container principal dos cards - este é o flexbox que alinha os cards */
.cardEscolha {
  display: flex;
  justify-content: center; /* Centraliza os cards horizontalmente */
  flex-wrap: wrap; /* Permite que os cards quebrem a linha em telas menores */
  gap: 20px; /* Espaço entre os cards */
  padding-top: 50px;
}

/* Estilos de um único card - utilizei uma classe única para todos */
.cardFeed {
  background-color: #fff;
  border-radius: 12px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
  width: 250px; /* Reduzi a largura para caberem 4 em uma linha */
  padding: 20px; /* Adicionei um padding interno para dar espaço ao conteúdo */
  text-align: center; /* Centraliza o conteúdo do card */
}

/* Estilos do círculo do SVG */
.svgColor {
  width: 60px;
  height: 60px;
  background-color: #0097b24d;
  border-radius: 50%;
  display: flex;
  justify-content: center;
  align-items: center;
  margin: 0 auto 20px; /* Centralizei o círculo e adicionei espaçamento inferior */
}

.svgColor svg {
  color: #0097b2;
}

/* Estilos dos títulos e descrições dos cards */
.cardFeed h1 {
  font-size: 1.2em; /* Ajustei o tamanho */
  color: #333;
  margin-bottom: 10px;
}

.cardFeed h3 {
  font-size: 1em;
  color: #555;
  font-weight: normal;
  line-height: 1.4;
  margin-top: 0;
}

/*FIM  METODOLOGIA---------------------------------------------------------------------------------------------------------------------------*/

/*FEEDBACK--------------------------------------------------------------------------------------*/

/* Estilo para a seção principal de relatos */
.studFeed {
  overflow: hidden; /* Importante para esconder os cards fora da tela */
  background: #f5f5f5;
  padding: 40px 0; /* Aumentei o padding para dar mais espaço */
}

/* Estilo do cabeçalho da seção */
.relatosHead {
  width: 100%;
  text-align: center;
  margin-bottom: 40px; /* Espaço entre o cabeçalho e os cards */
}

.relatosHead h1 {
  font-size: 1.9em;
  margin: 0 0 10px;
}

.relatosHead h3 {
  font-size: 1.2em;
  font-weight: normal;
  margin: 0;
}

/* Container do "letreiro", com a animação de rolagem */
.feedback-track {
  display: flex;
  width: max-content; /* Permite que o container tenha a largura total de todos os cards */
  animation: scroll 25s linear infinite;
}

/* Estilo de cada card de feedback */
.feedback-card {
  flex: 0 0 auto; /* Importante para que os cards não encolham */
  width: 300px; /* Largura fixa para cada card */
  background: white;
  padding: 15px 20px;
  margin: 0 10px;
  border-radius: 8px;
  box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
  font-size: 16px;
  color: #333;
  cursor: pointer;
  transition: transform 0.2s;
  /* Garante que o texto se quebre em telas menores, sem prejudicar a animação */
  white-space: normal; 
}

.feedback-card:hover {
  transform: scale(1.05);
}

/* Animação do letreiro */
@keyframes scroll {
  0% { transform: translateX(0); }
  100% { transform: translateX(-50%); }
}

/* Estilos do Modal */
.modal {
  display: none; 
  position: fixed; 
  z-index: 1000; 
  left: 0;
  top: 0;
  width: 100%; 
  height: 100%; 
  overflow: auto; 
  background-color: rgba(0,0,0,0.6); 
}

.modal-content {
  background-color: #fff;
  margin: 5% auto; 
  padding: 20px;
  border-radius: 10px;
  width: 90%;
  max-width: 700px; 
  text-align: left;
  white-space: pre-wrap; 
  overflow-wrap: break-word;
  word-break: break-word;
  max-height: 80vh;
  overflow-y: auto;
}

.modal-content p {
  white-space: pre-wrap;
  word-break: break-word;
  font-size: 16px;
  line-height: 1.5;
  color: #333;
}

.close {
  color: #aaa;
  float: right;
  font-size: 28px;
  font-weight: bold;
  cursor: pointer;
}

.close:hover {
  color: #000;
}

/*FIM  FEEDBACK--------------------------------------------------------------------------------------*/

/*FOOTER----------------------------------------------------------------------------------------*/

.rodape {
  justify-content: center; /* Centraliza horizontalmente */
  align-items: center;
  background-color: #1f2937;
  color: #fff;
  padding: 40px 20px;
  font-family: Arial, sans-serif;
}

.rodape1 {
  display: flex;
  justify-content: center; /* Centraliza as colunas */
  align-items: flex-start;
  gap: 50px;
  flex-wrap: wrap;
  padding: 20px;
  max-width: 1200px; /* opcional para limitar largura */
  margin: 0 auto;    /* centraliza o próprio bloco */
    border-bottom: 2px solid #ccc;
}

.rodape1 > div {
  max-width: 200px;
}

.footLogo {
  flex: 1 1 250px;
}

.logoLinha {
  display: flex;
  align-items: center;
  gap: 10px;
}

.logoLinha img {
  width: 50px;
  height: auto;
}

.logoLabel {
  font-size: 24px;
}

.footLogo p {
  text-align: justify;
  margin-top: 10px;
  max-width: 300px;
}

.footLinks, .footCourses, .footContact {
  flex: 1 1 180px;
}

.footLinks h4, .footCourses h4, .footContact h4 {
  margin-bottom: 10px;
  font-size: 18px;
}

.footLinks ul, .footCourses ul {
  list-style: none;
  padding: 0;
  margin: 0;
}

.footLinks li, .footCourses li {
  margin-bottom: 8px;
}

.footLinks a, .footCourses a, .footContact a {
  color: #fff;
  text-decoration: none;
}

.footLinks a:hover, .footCourses a:hover, .footContact a:hover {
  text-decoration: underline;
}

.footContact p {
  margin: 6px 0;
}

.social-icons {
  display: flex;
  gap: 15px;
  align-items: center;
  margin-top: 20px;
}

.social-icons svg {
  width: 30px;
  height: 30px;
  fill: #fff;
  transition: 0.3s;
}

.social-icons a:hover svg {
  fill: #1e90ff;
}

.rodapeCopyright {
  text-align: center;
  font-size: 14px;
  margin-top: 30px;
  color: #ccc;
}
/*FIM FOOTER------------------------------------------------------------------------------------------------------*/