

/* Variáveis de cores */
:root {
  --primary-blue: #f38200;
  --secondary-blue: #003d7a;
  --primary-yellow: #ffc107;
  --secondary-yellow: #e0a800;
  --light-gray: #f8f9fa;
  --medium-gray: #6c757d;
  --dark-gray: #343a40;
  --white: #ffffff;
  --black: #000000;
  --success-green: #28a745;
  --danger-red: #dc3545;
}

/* Reset e estilos gerais */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: 'Roboto', sans-serif;
  line-height: 1.6;
  color: var(--dark-gray);
  background-color: #ffffff;
}

a {
  text-decoration: none;
  color: var(--primary-blue);
  transition: all 0.3s ease;
}

a:hover {
  color: var(--secondary-blue);
}

.container {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 15px;
}

/* Tipografia */
h1, h2, h3, h4, h5, h6 {
  font-weight: 700;
  line-height: 1.2;
  margin-bottom: 1rem;
}

h1 {
  font-size: 2.5rem;
}

h2 {
  font-size: 2rem;
}

h3 {
  font-size: 1.75rem;
}

h4 {
  font-size: 1.5rem;
}

p {
  margin-bottom: 1rem;
}

.text-center {
  text-align: center;
}

.text-primary {
  color: var(--primary-blue);
}

.text-secondary {
  color: var(--primary-yellow);
}

.text-white {
  color: var(--white);
}

/* Botões */
.btn {
  display: inline-block;
  font-weight: 600;
  text-align: center;
  white-space: nowrap;
  vertical-align: middle;
  user-select: none;
  border: 1px solid transparent;
  padding: 0.75rem 1.5rem;
  font-size: 1rem;
  line-height: 1.5;
  border-radius: 0.25rem;
  transition: all 0.3s ease;
  cursor: pointer;
  text-transform: uppercase;
}

.btn-primary {
  background-color: var(--primary-blue);
  border-color: var(--primary-blue);
  color: var(--white);
}

.btn-primary:hover {
  background-color: var(--secondary-blue);
  border-color: var(--secondary-blue);
}

.btn-secondary {
  background-color: var(--primary-yellow);
  border-color: var(--primary-yellow);
  color: var(--dark-gray);
}

.btn-secondary:hover {
  background-color: var(--secondary-yellow);
  border-color: var(--secondary-yellow);
}

.btn-lg {
  padding: 1rem 2rem;
  font-size: 1.25rem;
}

.btn-block {
  display: block;
  width: 100%;
}

/* Header e Navegação */
.header {
  background-color: transparent;
  transition: background-color 0.3s ease, box-shadow 0.3s ease;
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
}

.header.scrolled {
  background-color: #0c2353; /* cor sólida ao rolar */
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}


.navbar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 1rem 0;
}

.logo {
  font-size: 1.0rem;
  font-weight: 700;
  color: var(--white);
  display: flex;
  flex-direction: column;
  align-items: center; 
  text-align: center; 
  padding-left: 20px;
}

.logo img {
  height: 40px;
}

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

.nav-item {
  margin-left: 1.5rem;
}

.nav-link {
  color: var(--white);
  font-weight: 500;
  font-size: 20px;
  font-weight: 700
}

.nav-link:hover {
  color: var(--primary-blue);
}

.nav-link.active {
  color: var(--primary-blue);
}

.mobile-toggle {
  display: none;
  font-size: 20px;
  cursor: pointer;
  color: var(--white);
  font-weight: 700;
}

/* Hero Section */
.hero {
  background:url(../images/bg1.png);
  background-size: cover;
  background-position: center;
  color: var(--white);
  padding: 8rem 0;
}

.hero-content {
  max-width: 800px;
  margin: 0 auto;
  text-align: center;
}

.hero-title {
  font-size: 3rem;
  margin-bottom: 1.5rem;
  text-transform: uppercase;
}

.hero-subtitle {
  font-size: 1.5rem;
  margin-bottom: 2rem;
}

.hero-cta {
  margin-top: 230px;
  padding-top: 150px;
  display: flex;
  justify-content: center; /* centraliza os botões na horizontal */
  gap: 20px; 
  flex-wrap: wrap; 
}
/* video */
.main-conte2 {
  display: flex;
  justify-content: center; 
  align-items: center; 
  width: 100%;
  height: 70vh;
  padding-top: 0px;
}

.main-conte2 video {
  width: 100%;
  height: 100%; 
  object-fit: cover; 
}

/* Seções */
.section {
  padding: 5rem 0;
}

.section-title {
  text-align: center;
  margin-bottom: 3rem;
}

.section-title h2 {
  position: relative;
  display: inline-block;
  padding-bottom: 1rem;
}

.section-title h2::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 80px;
  height: 3px;
  background-color: var(--primary-yellow);
}

/* Calendario */

.cal-section {
  padding: 40px 20px;
        background-color: #f9f9f9;
        font-family: Arial, sans-serif;
}

.cal-title {
  text-align: center;
  margin-bottom: 30px;
}

.cal-title h2 {
  font-size: 2em;
  margin-bottom: 10px;
}

.cal-title p {
  color: #666;
  font-size: 1em;
}

.cal-table-wrapper {
  width: 100%;
  margin-top: 20px;
  background-color: #fff;
  border-radius: 10px;
  overflow-x: auto; 
}

.cal-table {
  width: 100%;
  min-width: 600px; 
  border-collapse: collapse;
}


.cal-table th,
.cal-table td {
  padding: 20px;
  border: 1px solid #ddd;
  text-align: center;
}

.cal-table th {
  background-color: #007bff;
  color: #fff;
}

.cal-note {
  font-size: 0.9em;
  color: #333;
}

.cal-badge-success {
  background-color: #28a745;
        color: white;
        padding: 5px 10px;
        border-radius: 20px;
        font-size: 0.85em;
}

.cal-badge-danger {
  background-color: #ca1919;
        color: white;
        padding: 5px 10px;
        border-radius: 20px;
        font-size: 0.85em;
}

.cal-badge-warning {
  background-color: #e7cb10;
        color: white;
        padding: 5px 10px;
        border-radius: 20px;
        font-size: 0.85em;
}

.cal-btn-primary {
  background-color: #007bff;
  border: none;
  padding: 8px 12px;
  border-radius: 5px;
  color: white;
  font-size: 0.85em;
  text-decoration: none;
}

/* Cards de Benefícios */
.benefits {
  background-color: var(--light-gray);
}

.benefits-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 2rem;
}

.benefit-card {
  background-color: var(--white);
  border-radius: 0.5rem;
  overflow: hidden;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
  transition: transform 0.3s ease;
}

.benefit-card:hover {
  transform: translateY(-10px);
}

.benefit-icon {
  font-size: 3rem;
  color: var(--primary-blue);
  text-align: center;
  padding: 1.5rem 0;
}

.benefit-content {
  padding: 1.5rem;
}

.benefit-title {
  font-size: 1.25rem;
  margin-bottom: 1rem;
  text-align: center;
}

/* Sobre o Curso */
.course-info {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 3rem;
  align-items: center;
}

.course-image {
  border-radius: 0.5rem;
  overflow: hidden;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

.course-image img {
  width: 100%;
  height: auto;
  display: block;
}

.course-details h3 {
  margin-bottom: 1.5rem;
}

.course-feature {
  display: flex;
  align-items: center;
  margin-bottom: 1rem;
}

.feature-icon {
  color: var(--primary-blue);
  font-size: 1.25rem;
  margin-right: 1rem;
}

/* Mercado de Trabalho */
.market {
  background-color: var(--light-gray);
}

.market-stats {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 2rem;
  text-align: center;
  margin-bottom: 3rem;
}

.stat-item {
  background-color: var(--white);
  padding: 2rem;
  border-radius: 0.5rem;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

.stat-number {
  font-size: 2.5rem;
  font-weight: 700;
  color: var(--primary-blue);
  margin-bottom: 0.5rem;
}

.stat-label {
  font-size: 1rem;
  color: var(--medium-gray);
}

/* Depoimentos */
.testimonials-slider {
  max-width: 800px;
  margin: 0 auto;
}

.testimonial-item {
  background-color: var(--white);
  padding: 2rem;
  border-radius: 0.5rem;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
  margin: 1rem;
  text-align: center;
}

.testimonial-text {
  font-style: italic;
  margin-bottom: 1.5rem;
}

.testimonial-author {
  font-weight: 700;
}

.testimonial-position {
  color: var(--medium-gray);
  font-size: 0.9rem;
}

/* Formulário de Inscrição */
.form-section {
  background: linear-gradient(rgba(0, 86, 179, 0.9), rgba(0, 61, 122, 0.9)), url('../images/form-bg.jpg');
  background-size: cover;
  background-position: center;
  color: var(--white);
}

.form-container {
  max-width: 600px;
  margin: 0 auto;
}

.form-group {
  margin-bottom: 1.5rem;
}

.form-label {
  display: block;
  margin-bottom: 0.5rem;
  font-weight: 500;
}

.form-control {
  display: block;
  width: 100%;
  padding: 0.75rem;
  font-size: 1rem;
  line-height: 1.5;
  color: var(--dark-gray);
  background-color: var(--white);
  border: 1px solid #ced4da;
  border-radius: 0.25rem;
  transition: border-color 0.3s ease;
}

.form-control:focus {
  border-color: var(--primary-blue);
  outline: 0;
}

/* FAQ */
.faq-container {
  max-width: 800px;
  margin: 0 auto;
}

.faq-item {
  margin-bottom: 1.5rem;
  border: 1px solid #e9ecef;
  border-radius: 0.5rem;
  overflow: hidden;
}

.faq-question {
  background-color: var(--light-gray);
  padding: 1.25rem;
  cursor: pointer;
  font-weight: 600;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.4s ease;
  padding: 0 3rem; 
  border-top: 1px solid #e9ecef;

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

.faq-answer p {
  margin: 0;
  width: 100%;
}

.faq-item.active .faq-answer {
  max-height: 500px; 
  padding: 3rem; 
}


/* Contato */
.contact-info {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 2rem;
  margin-bottom: 3rem;
}

.contact-item {
  text-align: center;
}

.contact-icon {
  font-size: 2rem;
  color: var(--primary-blue);
  margin-bottom: 1rem;
}

.contact-text {
  font-size: 1.1rem;
}

.map-container {
  height: 400px;
  border-radius: 0.5rem;
  overflow: hidden;
}

/* Footer */
.footer {
  background-color: var(--dark-gray);
  color: var(--white);
  padding: 4rem 0 2rem;
}

.footer-content {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 2rem;
  margin-bottom: 2rem;
}

.footer-logo {
  font-size: 1.5rem;
  font-weight: 700;
  margin-bottom: 1rem;
}

.footer-links h4 {
  margin-bottom: 1.5rem;
  position: relative;
  padding-bottom: 0.5rem;
}

.footer-links h4::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 50px;
  height: 2px;
  background-color: var(--primary-yellow);
}

.footer-links ul {
  list-style: none;
}

.footer-links li {
  margin-bottom: 0.5rem;
}

.footer-links a {
  color: var(--light-gray);
}

.footer-links a:hover {
  color: var(--primary-yellow);
}

.social-links {
  display: flex;
  margin-top: 1rem;
}

.social-link {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  background-color: rgba(255, 255, 255, 0.1);
  border-radius: 50%;
  margin-right: 0.75rem;
  color: var(--white);
  transition: all 0.3s ease;
}

.social-link:hover {
  background-color: var(--primary-blue);
  color: var(--white);
}

.footer-bottom {
  text-align: center;
  padding-top: 2rem;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.scroll-to-top {
  position: fixed;
  bottom: 20px;
  left: 20px; 
  background-color: #ff5722;
  color: white;
  padding: 15px;
  border-radius: 50%;
  text-decoration: none;
  font-size: 15px;
  z-index: 999;
  display: none;
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.3);
  transition: background-color 0.3s ease, opacity 0.3s ease;
}

.scroll-to-top:hover {
  background-color: #e64a19;
}



/* WhatsApp Flutuante */
.whatsapp-float {
  position: fixed;
  bottom: 30px;
  right: 30px;
  background-color: #25d366;
  color: var(--white);
  width: 60px;
  height: 60px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
  z-index: 999;
  transition: all 0.3s ease;
}

.whatsapp-float:hover {
  transform: scale(1.1);
  background-color: #128c7e;
}

/* Responsividade */
@media (max-width: 992px) {
  .hero-title {
    font-size: 2.5rem;
  }
  
  .hero-subtitle {
    font-size: 1.25rem;
  }
}

@media (max-width: 768px) {
.hero {
  background-image: url(/assets/images/bg2.png);
}

.navbar {
 
  min-height: 72px; /* Ou a altura exata do seu navbar em mobile */
  padding: 0.5rem 0; /* Pode reduzir o padding vertical em mobile se desejar */
}

.logo img {
  height: 35px; /* Pode querer reduzir um pouco o logo em mobile */
}

.mobile-toggle {
  display: block; /* Faz o botão aparecer em telas menores */
  font-size: 1.5rem; /* Tamanho do ícone */
  cursor: pointer;
  color: var(--white);
  background: none; /* Remove qualquer fundo padrão de botão */
  border: none; /* Remove qualquer borda padrão de botão */
  padding: 1rem; /* Aumenta a área de toque */
  z-index: 1100; /* Garante que o botão fique sobre outros elementos, incluindo o menu aberto */
}

/* Estilos para mostrar/ocultar os ícones de hambúrguer e X */
.mobile-toggle .fa-bars {
  display: inline-block;
}
.mobile-toggle .fa-times {
  display: none;
}
.mobile-toggle.active .fa-bars {
  display: none;
}
.mobile-toggle.active .fa-times {
  display: inline-block;
}

.nav-menu {
  /* Sobrescreve o 'display: flex;' do desktop */
  position: fixed;
  top: 72px; /* IMPORTANTE: Deve ser a altura exata do seu .navbar em mobile */
  left: -100%; /* Começa fora da tela à esquerda */
  width: 100%;
  height: calc(100vh - 72px); /* Ocupa o restante da altura da tela */
  background-color: #0c2353; /* A mesma cor do seu .header, ou outra de sua escolha */
  
  /* Ajustes para layout vertical */
  flex-direction: column;
  align-items: center; /* Centraliza os itens horizontalmente */
  justify-content: flex-start; /* Alinha os itens ao topo */
  padding-top: 2rem; /* Espaço no topo do menu aberto */
  
  list-style: none; /* Garante que não há marcadores de lista */
  margin: 0; /* Remove qualquer margem padrão da ul */
  padding-left: 0; /* Remove qualquer padding padrão da ul */

  transition: left 0.3s ease-in-out; /* Animação suave para o menu deslizar */
  z-index: 1050; /* Abaixo do .mobile-toggle mas acima do conteúdo da página */
  overflow-y: auto; /* Permite rolagem se houver muitos itens de menu */
}

.nav-menu.active {
  left: 0; /* Traz o menu para a tela */
}

.nav-item {
  margin: 1rem 0; /* Espaçamento vertical entre os itens */
  width: 100%; /* Faz cada item ocupar a largura total */
  text-align: center; /* Centraliza o texto do link */
}

.nav-link {
  /* Seus estilos de .nav-link já são bons, mas pode querer aumentar a área de toque */
  padding: 0.8rem 1rem;
  display: block; /* Garante que o padding e o link ocupem toda a largura do .nav-item */
  font-size: 1.1rem; /* Pode aumentar um pouco a fonte para mobile */
  /* A cor e o hover já estão definidos no seu CSS base */
}

/* } Fim da media query */


  .mobile-toggle {
    display: block;
  }
  
  .nav-menu {
    position: fixed;
    top: 76px;
    left: -100%;
    width: 100%;
    height: calc(100vh - 76px);
    background-color: var(--secondary-blue);
    flex-direction: column;
    align-items: center;
    justify-content: flex-start;
    padding-top: 2rem;
    transition: all 0.3s ease;
  }
  
  .logo img {
    height: 50px
  }

  .nav-menu.active {
    left: 0;
  }
  
  .nav-item {
    margin: 1rem 0;
  }
  
  .hero-title {
    font-size: 2rem;
  }
  
  .hero-subtitle {
    font-size: 1.1rem;
  }
  
  .section {
    padding: 3rem 0;
  }

  .btn-primary {
    padding-right:50px ;
  }

  .btn-secondary {
    margin-top:10px ;
  }
}

@media (max-width: 576px) {
  .hero {
    padding: 6rem 0;
  }
  
  .hero-title {
    font-size: 1.75rem;
  }
  
  .section-title h2 {
    font-size: 1.75rem;
  }
  
  .stat-number {
    font-size: 2rem;
  }
}

/* Media Queries para Telemóveis */
@media (max-width: 767px) { 
  .cal-title h2 {
    font-size: 1.6em;
  }
  .cal-title p {
    font-size: 0.9em;
  }
  .cal-table {
    min-width: 450px; 
  }
  .cal-table th,
  .cal-table td {
    padding: 10px 6px;
    font-size: 0.85rem;
  }
  .cal-badge-success,
  .cal-btn-primary {
    font-size: 0.75rem;
    padding: 5px 8px;
  }
}

@media (max-width: 575px) { 
  .cal-section {
    padding: 30px 10px; 
  }
  .cal-table {
    min-width: 100%; 
    font-size: 0.8rem; 
  }
  .cal-table th,
  .cal-table td {
    padding: 8px 5px;
    white-space: normal; 
                          
  }
  .cal-badge-success,
  .cal-btn-primary {
    font-size: 0.7rem;
    padding: 4px 6px;
    display: block; 
    margin: 2px 0; 
  }
  .cal-note {
    font-size: 0.8em;
  }
}

@media (max-width: 370px) { 
    .cal-table th,
    .cal-table td {
        font-size: 0.75rem; 
        padding: 6px 4px;
    }
    .cal-badge-success,
    .cal-btn-primary {
        font-size: 0.65rem;
        padding: 3px 5px;
    }
}

