main {
  min-height: 100vh;
}

/* ======= CONTAINER PRINCIPAL ======= */
.section-principal {
  padding: 60px 5%;
  min-height: 100vh;
  background: linear-gradient(180deg, #ffffff 0%, #f1f5f9 100%);
}

.botao:after {
  content: "";
  position: absolute;
  bottom: -5px;
  left: 0;
  width: 0;
  height: 3px;
  background: #0074e4;
  transition: all 0.3s;
}

/* ======= TÍTULO E BOTÃO SUPERIOR ======= */
.cursos-title-content {
  display: flex;
  align-items: center;
  justify-content: space-between;
  position: relative;
  width: 100%;
  padding: 20px 40px;
}

.cursos-title {
  position: absolute;
  left: 50%;
  color: #004aad;
  transform: translateX(-50%);
  font-size: 1.8rem;
  font-weight: 700;
  text-align: center;
}

/* ======= BOTÃO LOGIN / SIGN IN ======= */
.button-novo {
  margin-left: auto;
  background: linear-gradient(90deg, #0074e4, #004aad);
  color: #fff;
  padding: 12px 25px;
  border-radius: 30px;
  text-decoration: none;
  font-weight: 600;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  transition: all 0.3s ease;
  box-shadow: 0 3px 10px rgba(0, 74, 173, 0.2);
}

.button-novo i {
  font-size: 1rem;
}

.button-novo:hover {
  background: linear-gradient(90deg, #005de8, #003f91);
  box-shadow: 0 6px 18px rgba(0, 74, 173, 0.4);
  transform: translateY(-3px);
}

.botao {
  display: inline-block;
  padding: 12px 30px;
  background: linear-gradient(90deg, #0074e4, #004aad);
  color: white;
  text-decoration: none;
  border-radius: 5px;
  font-weight: 600;
  transition: all 0.3s ease;
  border: none;
  cursor: pointer;
}

.botao:hover {
  background: linear-gradient(90deg, #005de8, #003f91);
  transform: translateY(-3px);
  color: #fff;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

/* ======= GRID DE CARDS ======= */
.cards-container {
  display: grid;
  grid-template-columns: repeat(3, minmax(400px, 1fr));
  gap: 30px;
}

/* ======= CARD ======= */
.card {
  background: #fff;
  border-radius: 20px;
  overflow: hidden;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.08);
  transition: all 0.3s ease;
  position: relative;
  display: flex;
  flex-direction: column;
}

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

/* ======= IMAGEM DO CURSO ======= */
.card img {
  width: 100%;
  height: 180px;
  object-fit: contain;
  transition: all 0.3s ease;
}

.card:hover img {
  filter: brightness(0.9);
}

/* ======= CONTEÚDO DO CARD ======= */
.card-body {
  padding: 25px 25px 15px 25px;
}

.card-title {
  font-size: 1.3rem;
  font-weight: 600;
  color: #004aad;
  margin-bottom: 10px;
}

.card-text {
  font-size: 0.95rem;
  color: #555;
  margin-bottom: 15px;
  text-align: justify;
}

/* ======= INFORMAÇÕES DO CURSO ======= */

.info-item {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  margin-bottom: 10px;
  line-height: 1.5;
}

.info-item i {
  color: #0074e4;
  width: 17px;
  height: 17px;
  margin-top: 4px;
  /* ícone alinhado com o texto */
}

.publico {
  text-align: justify;
}

.local {
  padding-left: 2px;
}

/* ======= STATUS ======= */
.status {
  margin-top: 15px;
}

.status-aberto {
  background: #16a34a;
  color: #fff;
  padding: 6px 12px;
  border-radius: 20px;
  font-weight: 600;
  font-size: 1rem;
  display: inline-block;
  animation: pulse-green 1.5s infinite;
}

.status-fechado {
  background: #dc2626;
  color: #fff;
  padding: 5px 12px;
  border-radius: 15px;
  font-weight: 600;
  font-size: 0.9rem;
  display: inline-block;
}

#cursos {
  scroll-margin-top: 80px;
  /* ajuste conforme a altura da sua navbar */
}

strong {
  font-weight: 600;
}

nav ul li a:hover {
  color: #005de8;
}

nav ul li a {
  color: #000000;
}

nav ul li a:after {
  content: "";
  position: absolute;
  bottom: -5px;
  left: 0;
  width: 0;
  height: 3px;
  background: #004aad;
  transition: all 0.3s;
}

/* ======= BOTÃO DE INSCREVER-SE ======= */
.valor-container {
  background-color: #f1f5f9;
  border-radius: 10px;
  padding: 12px;
  margin-top: 15px;
  text-align: center;
  border: 1px solid #e2e8f0;
  display: flex;
  justify-content: center;
  align-items: center;
}

.valor-parcelado {
  font-size: 1.3rem;
  color: #004aad;
  display: block;
  margin-bottom: 5px;
  animation: pulse-price 2s infinite;
}

.valor-parcelado strong {
  font-size: 3.2rem;
}

@keyframes pulse-price {
  0% {
    transform: scale(1);
  }

  50% {
    transform: scale(1.03);
  }

  100% {
    transform: scale(1);
  }
}

.valor-avista {
  font-size: 1rem;
  color: #555;
}

.div-inscrever {
  display: flex;
  width: 100%;
  justify-content: center;
}

.inscrever {
  display: block;
  text-align: center;
  background: linear-gradient(90deg, #0074e4, #004aad);
  color: #fff;
  font-weight: 500;
  padding: 12px;
  text-decoration: none;
  transition: all 0.3s ease;
  border-bottom-left-radius: 20px;
  border-bottom-right-radius: 20px;
}

.inscrever:hover {
  background: linear-gradient(90deg, #005de8, #003f91);
  letter-spacing: 0.5px;
}

/* ======= HERO SECTION ======= */
.hero-section {
  position: relative;
  background: url("/assets/imgs/pageTreinamento.jpg") center/cover no-repeat;
  height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
}

.hero-overlay {
  background: rgba(0, 0, 0, 0.55);
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 0 10%;
}

.hero-content h1 {
  font-size: 2.5rem;
  color: #fff;
  font-weight: 700;
  margin-bottom: 15px;
}

.hero-content p {
  color: #e2e8f0;
  font-size: 1.1rem;
  margin-bottom: 25px;
}

.hero-button {
  background: linear-gradient(90deg, #0074e4, #004aad);
  color: #fff;
  font: 1rem;
  padding: 13px 32px;
  border-radius: 30px;
  font-weight: 600;
  text-decoration: none;
  transition: all 0.5s ease;
}

.hero-button:hover {
  background: linear-gradient(90deg, #005de8, #003f91);
  box-shadow: 0 5px 20px rgba(0, 74, 173, 0.4);
}

/* ======= SUBTÍTULO ======= */
.cursos-subtitle {
  text-align: center;
  color: #555;
  font-size: 1.05rem;
  max-width: 700px;
  margin: 0 auto 40px;
  line-height: 1.6;
}

/* ======= MENSAGEM SEM CURSOS ======= */
.sem-cursos {
  text-align: center;
  color: #777;
  margin-top: 40px;
  font-style: italic;
}

.professores-section {
  padding: 80px 20px;
  background: #142c3c;
  text-align: center;
}

.section-title {
  color: #fff;
  font-size: 1.8rem;
  font-weight: 700;
}

.professores-section .section-title {
  margin-bottom: 10px;
}

.professores-section .section-subtitle {
  font-size: 1rem;
  color: #fff;
  margin-bottom: 40px;
}

.professores-container {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 30px;
}

.professor-card {
  background: #fff;
  border-radius: 16px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
  width: 350px;
  padding: 20px;
  text-align: center;
  transition: all 0.3s ease;
  display: flex;
  flex-direction: column;
}

.professor-card:hover {
  transform: translateY(-5px);
}

.professor-card img {
  width: 100%;
  height: 240px;
  object-fit: cover;
  border-radius: 12px;
  margin-bottom: 15px;
}

.professor-card-content {
  flex-grow: 1;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.professor-card h3 {
  font-size: 1.3rem;
  color: #222;
  margin-bottom: 10px;
}

.professor-card p {
  font-size: 0.95rem;
  color: #555;
  text-align: justify;
}

/* ======= FAQ SECTION ======= */
.faq-section {
  background: linear-gradient(180deg, #ffffff 0%, #f1f5f9 100%);
  padding: 80px 5%;
}

.faq-container {
  max-width: 900px;
  margin: 0 auto;
}

.faq-title {
  text-align: center;
  color: #004aad;
  font-size: 1.8rem;
  font-weight: 700;
}

.faq-title i {
  color: #0074e4;
}

.faq-subtitle {
  text-align: center;
  color: #555;
  margin-bottom: 50px;
  font-size: 1.1rem;
}

.faq-list {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.faq-item {
  background: #fff;
  border-radius: 15px;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.06);
  overflow: hidden;
  transition: all 0.3s ease;
}

.faq-question {
  width: 100%;
  background: none;
  border: none;
  outline: none;
  padding: 20px 25px;
  font-size: 1.1rem;
  font-weight: 600;
  color: #004aad;
  text-align: left;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: space-between;
  transition: all 0.3s ease;
}

.faq-question:hover {
  background: #f1f5f9;
}

.faq-question i {
  transition: transform 0.3s ease;
}

.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: all 0.4s ease;
  background: #f9fafb;
  padding: 0 25px;
}

.faq-answer p {
  padding: 15px 0 20px;
  color: #444;
  line-height: 1.6;
}

/* ======= ESTILO AO ABRIR ======= */
.faq-item.active .faq-answer {
  max-height: 200px;
  /* suficiente para o texto */
}

.faq-item.active .faq-question i {
  transform: rotate(180deg);
}

.destaque {
  background: linear-gradient(90deg, #005de8, #003f91);
  font-size: 1.1rem;
  font-weight: 700;
  margin: 10px;
  border-radius: 30px;
  animation: pulse2 1.5s infinite;
  width: 100%;
}

@keyframes pulse2 {
  0% {
    box-shadow: 0 0 0 0 #005de8;
  }

  70% {
    box-shadow: 0 0 0 10px rgba(255, 77, 0, 0);
  }

  100% {
    box-shadow: 0 0 0 0 rgba(255, 77, 0, 0);
  }
}


@media (max-width: 768px) {
  .hero-section {
    min-height: 90vh;
  }

  .card {
    text-align: center;
  }

  .card-body {
    padding: 15px;
  }

  .valor-container {
    margin-top: 10px;
  }

  .valor-parcelado {
    color: #004aad;
    font-weight: 700;
    font-size: 1.1rem;
  }

  .inscrever {
    margin-top: 10px;
    border-radius: 30px;
  }
}


/* ======= ANIMAÇÕES ======= */
@keyframes pulse-green {
  0% {
    box-shadow: 0 0 0 0 rgba(22, 163, 74, 0.6);
  }

  70% {
    box-shadow: 0 0 0 10px rgba(22, 163, 74, 0);
  }

  100% {
    box-shadow: 0 0 0 0 rgba(22, 163, 74, 0);
  }
}

/* ======= RESPONSIVIDADE ======= */
@media (max-width: 768px) {
  .cursos-title-content {
    flex-direction: column;
    align-items: flex-start;
    gap: 20px;
  }

  .cursos-title {
    display: none;
    font-size: 1.7rem;
  }

  .button-novo {
    align-self: flex-start;
  }
}

@media (max-width: 1024px) {
  .cards-container {
    grid-template-columns: repeat(2, minmax(300px, 1fr));
  }
}

@media (max-width: 768px) {
  .logo-img {
    margin-left: 10%;
  }

  .cards-container {
    grid-template-columns: 1fr;
  }

  .cursos-title {
    position: static;
    transform: none;
    text-align: center;
    margin-bottom: 20px;
  }

  .cursos-title-content {
    padding: 20px;
    flex-direction: column;
    align-items: center;
  }

  .hero-content h1 {
    font-size: 2rem;
  }

  .professores-section {
    padding: 60px 15px;
  }

  .faq-section {
    padding: 60px 15px;
  }
}

@media (max-width: 480px) {
  .section-principal {
    padding: 40px 3%;
  }

  .cursos-title {
    font-size: 1.5rem;
  }

  .hero-content h1 {
    font-size: 1.8rem;
  }

  .hero-content p {
    font-size: 1rem;
  }

  .professor-card {
    width: 100%;
    max-width: 280px;
  }
}

@media (max-width: 768px) {
  .hero-button.destaque {
    width: auto;
    padding: 12px 25px;
    font-size: 1rem;
  }
}

/* Botão Flutuante */
#floating-button {
  position: fixed;
  bottom: 20px;
  right: 20px;
  background: linear-gradient(90deg, #ff4d00, #e64400);
  color: #fff;
  padding: 12px 25px;
  border-radius: 50px;
  text-decoration: none;
  font-weight: 700;
  font-size: 1.1rem;
  display: flex;
  align-items: center;
  gap: 10px;
  z-index: 1000;
  box-shadow: 0 5px 20px rgba(0, 0, 0, 0.2);
  transition: opacity 0.4s ease, transform 0.4s ease;
  opacity: 0;
  transform: scale(0);
  pointer-events: none;
}

#floating-button.visible {
  opacity: 1;
  transform: scale(1);
  pointer-events: auto;
  animation: pulse-orange 2s infinite;
}

#floating-button i {
  font-size: 1.2rem;
}

@keyframes pulse-orange {
  0% {
    box-shadow: 0 0 0 0 rgba(255, 77, 0, 0.7);
  }

  70% {
    box-shadow: 0 0 0 15px rgba(255, 77, 0, 0);
  }

  100% {
    box-shadow: 0 0 0 0 rgba(255, 77, 0, 0);
  }
}

.affirmation-section {
  background: linear-gradient(180deg, #ffffff 0%, #f8fafc 100%);
  padding: 60px 10%;
  text-align: center;
  position: relative;
  overflow: hidden;
}

/* Container da frase */
.affirmation-section p {
  max-width: 900px;
  margin: 0 auto;
  opacity: 0;
  transform: translateY(30px);
  transition: all 1s ease;
}

/* Quando aparecer */
.affirmation-section p.visible {
  opacity: 1;
  transform: translateY(0);
}

/* Texto interno pulsando */
.affirmation-section p span {
  font-size: 1.7rem;
  font-weight: 600;
  color: #004aad;
  display: inline-block;
  line-height: 1.6;
  animation: pulse 3s ease-in-out infinite;
  z-index: 2;
  position: relative;
}

/* Fundo pulsando */
.affirmation-section::before {
  content: "";
  position: absolute;
  top: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 200%;
  height: 100%;
  background: radial-gradient(circle at center, rgba(0, 116, 228, 0.08), transparent 70%);
  z-index: 1;
  animation: pulseGlow 6s ease-in-out infinite;
}

/* Pulse suave */
@keyframes pulse {

  0%,
  100% {
    transform: scale(1);
  }

  50% {
    transform: scale(1.03);
  }
}

/* Fundo respirando */
@keyframes pulseGlow {

  0%,
  100% {
    opacity: 0.3;
    transform: scale(1);
  }

  50% {
    opacity: 0.6;
    transform: scale(1.1);
  }
}

/* Responsivo */
@media (max-width: 768px) {
  .affirmation-section {
    padding: 40px 6%;
  }

  .affirmation-section p span {
    font-size: 1.3rem;
  }
}

@media (max-width: 480px) {
  .affirmation-section p span {
    font-size: 1.15rem;
  }
}