/* ===== ESTILOS ESPECÍFICOS PARA A PÁGINA DE CURSOS ===== */
/* ESTILOS IDÊNTICOS AO ORIGINAL - APENAS ORGANIZADOS EM ARQUIVO SEPARADO */

:root {
  --primary-color: #101f48fa;
  --secondary-color: #F23545;
  --accent-color: #3a5088;
  --light-color: #f8f9fa;
  --dark-color: #212529;
  --text-color: #333;
  --transition: all 0.3s ease;
  --detail-color: #FFDE59;
}

* {
  padding: 0;
  margin: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
  line-height: 1.6;
  color: var(--text-color);
  overflow-x: hidden;
  padding-top: 80px;
}

/* Navbar - CORREÇÕES APLICADAS */
.navbar {
  background-color: rgba(16, 31, 72, 0.98) !important;
  padding: 0.5rem 0;
  transition: var(--transition);
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.2);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
}

.navbar.scrolled {
  padding: 0.3rem 0;
  backdrop-filter: blur(15px);
  -webkit-backdrop-filter: blur(15px);
}

.navbar-brand {
  font-weight: 700;
  font-size: 1.5rem;
  color: white !important;
}

.navbar-nav .nav-link {
  font-weight: 500;
  margin: 0 0.5rem;
  position: relative;
  color: rgba(255, 255, 255, 0.9) !important;
}

.navbar-nav .nav-link::after {
  content: '';
  position: absolute;
  width: 0;
  height: 2px;
  bottom: 0;
  left: 0;
  background-color: var(--secondary-color);
  transition: var(--transition);
}

.navbar-nav .nav-link:hover::after,
.navbar-nav .nav-link.active::after {
  width: 100%;
}

.navbar-nav .nav-link:hover,
.navbar-nav .nav-link.active {
  color: white !important;
}

.btn-donation {
  background-color: var(--secondary-color);
  border-radius: 4px;
  padding: 0.5rem 1rem !important;
  margin-left: 0.5rem;
  color: white !important;
}

.btn-donation:hover {
  background-color: #d32f2f !important;
  transform: translateY(-2px);
}

/* Showcase Section - Hero com Vídeo de Fundo */
#showcase {
  height: 85vh;
  display: flex;
  justify-content: center;
  align-items: center;
  text-align: center;
  color: white;
  position: relative;
  margin-top: -80px;
  padding-top: 80px;
  overflow: hidden;
}

#video-background {
  position: absolute;
  top: 50%;
  left: 50%;
  min-width: 100%;
  min-height: 100%;
  width: auto;
  height: auto;
  transform: translateX(-50%) translateY(-35%);
  z-index: -1;
  object-fit: cover;
  opacity: 0;
  transition: opacity 1s ease;
}

#video-background.loaded {
  opacity: 1;
}

#video-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.581);
  z-index: 0;
}

/* Loader para o vídeo */
.video-loader {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(16, 31, 72, 0.9);
  display: flex;
  justify-content: center;
  align-items: center;
  z-index: 2;
  transition: opacity 0.5s ease, visibility 0.5s ease;
}

.video-loader.hidden {
  opacity: 0;
  visibility: hidden;
}

.loader-spinner {
  width: 50px;
  height: 50px;
  border: 3px solid rgba(255, 255, 255, 0.3);
  border-radius: 50%;
  border-top-color: var(--detail-color);
  animation: spin 1s ease-in-out infinite;
}

@keyframes spin {
  to {
    transform: rotate(360deg);
  }
}

#video-background {
  position: absolute;
  top: 50%;
  left: 50%;
  min-width: 100%;
  min-height: 100%;
  width: auto;
  height: auto;
  transform: translateX(-50.1%) translateY(-35%);
  z-index: -1;
  object-fit: cover;
  opacity: 0;
  transition: opacity 1s ease;
}

#video-background.loaded {
  opacity: 1;
}

#showcase-container {
  padding: 2rem;
  max-width: 2000px;
  position: relative;
  z-index: 1;
  opacity: 0;
  transform: translateY(20px);
  animation: fadeInUp 1s ease 0.5s forwards;
}

#page-title {
  font-size: clamp(2rem, 5vw, 3.5rem);
  font-weight: 700;
  margin-bottom: 1.5rem;
  animation: fadeInDown 1s ease;
  text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
}

#verse {
  font-style: italic;
  font-size: clamp(1rem, 2.5vw, 1.5rem);
  margin-bottom: 2rem;
  opacity: 0;
  animation: fadeIn 1.5s ease 0.8s forwards;
  text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.5);
}

#referencia {
  font-size: 0.9em;
  color: var(--detail-color);
}

#hero-buttons {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 1rem;
  opacity: 0;
  animation: fadeIn 1s ease 1s forwards;
}

#hero-buttons a {
  padding: 12px 24px;
  border-radius: 5px;
  background-color: var(--primary-color);
  font-size: 1.1rem;
  color: white;
  text-decoration: none;
  transition: var(--transition);
  display: inline-block;
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
  position: relative;
  overflow: hidden;
}

#hero-buttons a::before {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent);
  transition: 0.5s;
}

#hero-buttons a:hover::before {
  left: 100%;
}

#hero-buttons a:hover {
  background-color: var(--accent-color);
  transform: translateY(-3px);
  box-shadow: 0 6px 8px rgba(0, 0, 0, 0.15);
}

#scroll-indicator {
  position: absolute;
  bottom: 30px;
  left: 50%;
  transform: translateX(-50%);
  color: white;
  font-size: 2rem;
  animation: bounce 2s infinite;
  cursor: pointer;
  z-index: 1;
  opacity: 0;
  transition: opacity 1s ease;
}

#scroll-indicator.visible {
  opacity: 1;
}

@keyframes bounce {
  0%,
  20%,
  50%,
  80%,
  100% {
    transform: translateX(-50%) translateY(0);
  }
  40% {
    transform: translateX(-50%) translateY(-10px);
  }
  60% {
    transform: translateX(-50%) translateY(-5px);
  }
}

/* Filtros de Cursos */
#filtros-cursos {
  padding: 2rem 0;
  background-color: #f8f9fa;
}

/* ===== BARRA DE PESQUISA PARA CURSOS ===== */
#search-container-cursos {
  max-width: 600px;
  margin: 0 auto;
  animation: fadeInDown 0.8s ease;
}

.search-wrapper {
  position: relative;
  display: flex;
  align-items: center;
  background: white;
  border-radius: 50px;
  box-shadow: 0 4px 15px rgba(16, 31, 72, 0.1);
  border: 2px solid transparent;
  transition: all 0.3s ease;
  padding: 0 20px;
}

.search-wrapper:focus-within {
  border-color: var(--primary-color);
  box-shadow: 0 6px 25px rgba(16, 31, 72, 0.15);
}

.search-icon {
  color: var(--primary-color);
  font-size: 1.2rem;
  margin-right: 12px;
  pointer-events: none;
}

.search-input {
  width: 100%;
  border: none;
  background: transparent;
  padding: 14px 0;
  font-size: 1rem;
  color: var(--text-color);
  outline: none;
  font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
}

.search-input::placeholder {
  color: #adb5bd;
}

.clear-search-btn {
  background: none;
  border: none;
  color: #6c757d;
  font-size: 1.2rem;
  cursor: pointer;
  padding: 8px;
  margin-left: 8px;
  transition: all 0.3s ease;
  display: flex;
  align-items: center;
  justify-content: center;
}

.clear-search-btn:hover {
  color: var(--secondary-color);
  transform: rotate(90deg);
}

.search-results-count {
  text-align: center;
  font-size: 0.9rem;
  color: #6c757d;
  margin-top: 12px;
  min-height: 20px;
  animation: fadeIn 0.3s ease;
}

.search-results-count.active {
  color: var(--primary-color);
  font-weight: 600;
}

/* SEM RESULTADOS */
.no-results {
  text-align: center;
  padding: 2rem 2rem;
  margin: 2rem 0;
  animation: fadeIn 0.4s ease;
}

.no-results i {
  font-size: 3rem;
  color: #ccc;
  margin-bottom: 1rem;
  display: block;
}

.no-results p {
  color: #6c757d;
  font-size: 1.1rem;
  margin-bottom: 1.5rem;
}

#no-results-term-cursos {
  color: var(--primary-color);
  font-weight: 600;
}

.btn-reset-search {
  padding: 10px 25px;
  background: var(--primary-color);
  color: white;
  border: none;
  border-radius: 25px;
  font-size: 0.95rem;
  cursor: pointer;
  transition: all 0.3s ease;
  font-weight: 600;
}

.btn-reset-search:hover {
  background: var(--accent-color);
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(16, 31, 72, 0.2);
}

/* ANIMAÇÃO DE ENTRADA */
@keyframes fadeInDown {
  from {
    opacity: 0;
    transform: translateY(-20px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes fadeIn {
  from {
    opacity: 0;
  }
  to {
    opacity: 1;
  }
}

/* CARD QUANDO ESTÁ OCULTO */
.card.hidden {
  display: none;
}

/* Seção de Cursos */
#cursos {
  padding: 1rem 0;
  background-color: white;
}

.headliner {
  color: var(--primary-color);
  padding: 2rem 0 1rem;
  font-size: clamp(1.8rem, 4vw, 2.5rem);
  font-weight: 700;
  text-align: center;
  position: relative;
  margin-bottom: 2rem;
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.8s ease, transform 0.8s ease;
}

.headliner.animated {
  opacity: 1;
  transform: translateY(0);
}

.headliner::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 80px;
  height: 3px;
  background-color: var(--detail-color);
  transition: width 0.5s ease;
}

.headliner.animated::after {
  width: 120px;
}

#card-cursos {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 2rem;
  margin: 2rem 0;
}

.card {
  background-color: white;
  border-radius: 10px;
  overflow: hidden;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
  transition: var(--transition);
  max-width: 350px;
  flex: 1;
  min-width: 280px;
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.8s ease, transform 0.8s ease, box-shadow 0.3s ease;
}

.card.animated {
  opacity: 1;
  transform: translateY(0);
}

.card:hover {
  transform: translateY(-10px);
  box-shadow: 0 15px 30px rgba(0, 0, 0, 0.15);
}

.card-image {
  overflow: hidden;
  height: 200px;
}

.card-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: var(--transition);
}

.card:hover .card-image img {
  transform: scale(1.1);
}

.card-content {
  padding: 1.5rem;
  text-align: center;
}

.card h3 {
  font-size: 1.5rem;
  margin-bottom: 0.5rem;
  color: var(--primary-color);
}

.card .duracao {
  display: inline-block;
  background-color: var(--detail-color);
  color: var(--dark-color);
  padding: 3px 10px;
  border-radius: 20px;
  font-size: 0.9rem;
  font-weight: 600;
  margin-bottom: 1rem;
}

.card p {
  margin-bottom: 1.5rem;
  font-size: 1rem;
  text-align: justify;
}

.card-btn {
  display: inline-block;
  padding: 10px 20px;
  background-color: var(--primary-color);
  color: white;
  text-decoration: none;
  border-radius: 5px;
  transition: var(--transition);
  position: relative;
  overflow: hidden;
  cursor: pointer;
  border: none;
}

.card-btn::before {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent);
  transition: 0.5s;
}

.card-btn:hover::before {
  left: 100%;
}

.card-btn:hover {
  background-color: var(--accent-color);
}

/* Modal de Detalhes do Curso */
.modal-content {
  border-radius: 10px;
  border: none;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
}

.modal-header {
  background-color: var(--primary-color);
  color: white;
  border-bottom: none;
  border-radius: 10px 10px 0 0;
  position: relative;
}

.modal-title {
  font-weight: 700;
  font-size: 1.3rem;
}

.btn-close {
  filter: invert(1);
  position: absolute;
  right: 1rem;
  top: 1rem;
}

.modal-body {
  padding: 0;
}

.modal-image {
  height: 200px;
  overflow: hidden;
}

.modal-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.modal-content-container {
  padding: 2rem;
}

.modal-curso-info {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  margin-bottom: 1.5rem;
  background-color: #f8f9fa;
  padding: 1rem;
  border-radius: 8px;
}

.modal-info-item {
  background-color: white;
  padding: 5px 15px;
  border-radius: 20px;
  font-size: 0.9rem;
  font-weight: 600;
  box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
}

.modal-section {
  margin-bottom: 1.5rem;
}

.modal-section h4 {
  color: var(--primary-color);
  margin-bottom: 0.5rem;
  font-size: 1.2rem;
  border-bottom: 2px solid var(--detail-color);
  padding-bottom: 0.3rem;
}

.disciplinas-lista {
  columns: 2;
  list-style-type: none;
  padding-left: 0;
}

.disciplinas-lista li {
  margin-bottom: 0.5rem;
  position: relative;
  padding-left: 1.5rem;
}

.disciplinas-lista li:before {
  content: "•";
  color: var(--secondary-color);
  font-weight: bold;
  position: absolute;
  left: 0;
}

.modal-footer {
  border-top: 1px solid #dee2e6;
  justify-content: center;
  padding: 1rem 2rem;
}

.btn-interesse {
  background-color: var(--secondary-color);
  color: white;
  border: none;
  padding: 10px 25px;
  border-radius: 5px;
  font-weight: 600;
  transition: var(--transition);
}

.btn-interesse:hover {
  background-color: #d32f2f;
  transform: translateY(-2px);
}

/* CTA Section */
#cta-section {
  padding: 5rem 0;
  background: linear-gradient(rgba(0, 30, 112, 0.613), rgba(16, 31, 72, 0.9)), url("/imagens/pessoas.jpg") center/cover;
  color: white;
  text-align: center;
  position: relative;
  overflow: hidden;
}

.cta-content h2 {
  font-size: 2.5rem;
  margin-bottom: 1rem;
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.8s ease, transform 0.8s ease;
}

.cta-content p {
  font-size: 1.2rem;
  margin-bottom: 2rem;
  max-width: 700px;
  margin-left: auto;
  margin-right: auto;
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.8s ease, transform 0.8s ease;
  transition-delay: 0.2s;
}

.cta-buttons {
  display: flex;
  justify-content: center;
  gap: 1rem;
  flex-wrap: wrap;
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.8s ease, transform 0.8s ease;
  transition-delay: 0.4s;
}

#cta-section.visible .cta-content h2,
#cta-section.visible .cta-content p,
#cta-section.visible .cta-buttons {
  opacity: 1;
  transform: translateY(0);
}

.cta-btn,
.cta-btn-outline {
  padding: 12px 30px;
  border-radius: 5px;
  font-size: 1.1rem;
  text-decoration: none;
  transition: var(--transition);
  position: relative;
  overflow: hidden;
}

.cta-btn::before,
.cta-btn-outline::before {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent);
  transition: 0.5s;
}

.cta-btn:hover::before,
.cta-btn-outline:hover::before {
  left: 100%;
}

.cta-btn {
  background-color: var(--secondary-color);
  color: white;
}

.cta-btn:hover {
  background-color: #d32f2f;
  transform: translateY(-3px);
}

.cta-btn-outline {
  background-color: transparent;
  border: 2px solid white;
  color: white;
}

.cta-btn-outline:hover {
  background-color: white;
  color: var(--primary-color);
  transform: translateY(-3px);
}

/* Footer */
footer {
  background: linear-gradient(to bottom, #0d1a3b, #101f48fa);
  color: white;
  padding: 3rem 0 1rem;
}

.footer-content {
  display: flex;
  flex-wrap: wrap;
  gap: 2rem;
  justify-content: space-between;
  margin-bottom: 2rem;
}

.footer-brand,
.footer-contacts,
.footer-links,
.footer-social {
  flex: 1;
  min-width: 250px;
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.8s ease, transform 0.8s ease;
}

.footer-brand.animated,
.footer-contacts.animated,
.footer-links.animated,
.footer-social.animated {
  opacity: 1;
  transform: translateY(0);
}

.footer-brand img {
  max-width: 100px;
  margin-bottom: 1rem;
  border-radius: 10px;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
  transition: var(--transition);
}

.footer-brand img:hover {
  transform: rotate(5deg) scale(1.05);
}

.footer-brand h3 {
  font-size: 1.5rem;
  margin-bottom: 0.5rem;
  color: white;
}

.footer-brand p {
  color: rgba(255, 255, 255, 0.8);
}

.footer-contacts h4,
.footer-links h4,
.footer-social h4 {
  font-size: 1.2rem;
  margin-bottom: 1rem;
  position: relative;
  padding-bottom: 0.5rem;
  color: white;
}

.footer-contacts h4::after,
.footer-links h4::after,
.footer-social h4::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 40px;
  height: 2px;
  background-color: var(--secondary-color);
  transition: width 0.5s ease;
}

.footer-contacts h4:hover::after,
.footer-links h4:hover::after,
.footer-social h4:hover::after {
  width: 60px;
}

.footer-contacts a,
.footer-links a {
  display: block;
  color: rgba(255, 255, 255, 0.8);
  text-decoration: none;
  margin-bottom: 0.5rem;
  transition: var(--transition);
}

.footer-contacts a:hover,
.footer-links a:hover {
  color: white;
  transform: translateX(5px);
}

.footer-contacts i {
  margin-right: 0.5rem;
  width: 20px;
  color: var(--detail-color);
}

#endereço {
  color: rgba(255, 255, 255, 0.8);
  margin-top: 1rem;
}

#endereço i {
  color: var(--detail-color);
  margin-right: 0.5rem;
}

.social-icons {
  display: flex;
  gap: 1rem;
}

.social-icons a {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  background-color: rgba(255, 255, 255, 0.1);
  border-radius: 50%;
  color: white;
  text-decoration: none;
  transition: var(--transition);
}

.social-icons a:hover {
  background-color: var(--secondary-color);
  transform: translateY(-3px) rotate(5deg);
}

footer hr {
  border-color: rgba(255, 255, 255, 0.1);
  margin: 2rem 0;
}

.footer-bottom {
  text-align: center;
}

#copyright {
  color: rgba(255, 255, 255, 0.7);
}

/* Back to Top Button */
.back-to-top {
  position: fixed;
  bottom: 30px;
  right: 30px;
  width: 50px;
  height: 50px;
  background-color: var(--primary-color);
  color: white;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  text-decoration: none;
  opacity: 0;
  visibility: hidden;
  transition: var(--transition);
  z-index: 999;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
}

.back-to-top.show {
  opacity: 1;
  visibility: visible;
}

.back-to-top:hover {
  background-color: var(--accent-color);
  transform: translateY(-5px) rotate(360deg);
}

/* Animações */
@keyframes fadeIn {
  from {
    opacity: 0;
  }
  to {
    opacity: 1;
  }
}

@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(20px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes fadeInDown {
  from {
    opacity: 0;
    transform: translateY(-20px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* MEDIA QUERIES - CORREÇÕES DO NAVBAR APLICADAS */
@media (max-width: 992px) {
  .navbar-nav {
    padding: 1rem 0;
    text-align: center;
  }

  .btn-donation {
    margin: 0.5rem auto;
    display: inline-block;
    text-align: center;
    width: 100%;
    max-width: 200px;
  }

  #showcase {
    height: 60vh;
  }

  #page-title {
    font-size: 2.2rem;
  }

  #verse {
    font-size: 1.1rem;
  }

  .disciplinas-lista {
    columns: 1;
  }
}

@media (max-width: 768px) {
  body {
    padding-top: 70px;
  }

  #showcase {
    height: 80vh;
    min-height: 450px;
    padding: 0 0.5rem;
  }

  #showcase-container {
    padding: 1rem;
  }

  .footer-content {
    flex-direction: column;
    gap: 2rem;
    text-align: center;
  }

  .cta-buttons {
    flex-direction: column;
    align-items: center;
    gap: 20px;
  }

  /* CORREÇÃO DO NAVBAR - LOGO NO MOBILE */
  .navbar-brand {
    font-size: 1.3rem;
  }

  .navbar-brand img {
    width: 50px;
    height: 50px;
  }

  .filtros-container {
    flex-direction: column;
    align-items: center;
  }

  .filtro-btn {
    width: 80%;
  }

  #hero-buttons {
    flex-direction: column;
    align-items: center;
  }

  #hero-buttons a {
    width: 80%;
    text-align: center;
  }

  .footer-contacts h4::after,
  .footer-links h4::after,
  .footer-social h4::after {
    left: 50%;
    transform: translateX(-50%);
  }

  .modal-image {
    height: 150px;
  }
}

@media (max-width: 576px) {
  #page-title {
    font-size: 1.8rem;
  }

  #verse {
    font-size: 0.9rem;
    padding: 0 0.5rem;
  }

  .headliner {
    font-size: 2rem;
    padding: 1.5rem 0 1rem;
  }

  .card {
    min-width: 100%;
  }

  #cursos,
  #cta-section {
    padding: 3rem 0;
  }

  .cta-content h2 {
    font-size: 2rem;
  }

  .cta-btn,
  .cta-btn-outline {
    padding: 10px 20px;
    font-size: 1rem;
  }

  .social-icons {
    justify-content: center;
  }

  .modal-content-container {
    padding: 1.5rem;
  }
}

@media (max-width: 400px) {
  /* CORREÇÃO DO NAVBAR - ESCONDER TEXTO EM TELAS MUITO PEQUENAS */
  .navbar-brand span {
    display: none;
  }

  #company-name {
    font-size: 1.6rem;
  }

  #verse {
    font-size: 0.9rem;
  }

  .headliner {
    font-size: 1.8rem;
  }

  .card-btn,
  #button-ver-mais a {
    padding: 8px 16px;
    font-size: 0.9rem;
  }

  .cta-content h2 {
    font-size: 1.6rem;
  }

  .footer-brand h3 {
    font-size: 1.3rem;
  }

  .footer-contacts h4,
  .footer-links h4,
  .footer-social h4 {
    font-size: 1.1rem;
  }

  /* Responsividade da barra de pesquisa */
  #search-container-cursos {
    max-width: 100%;
    margin: 0 1rem;
  }

  .search-input {
    font-size: 16px; /* Evita zoom automático em iOS */
  }

  .search-results-count {
    font-size: 0.85rem;
  }

  .btn-reset-search {
    padding: 8px 20px;
    font-size: 0.9rem;
  }

  .no-results {
    padding: 2rem 1rem;
  }

  .no-results i {
    font-size: 2.5rem;
  }

  .no-results p {
    font-size: 1rem;
  }
}

/* Melhorias de acessibilidade para toque em dispositivos móveis */
@media (hover: none) and (pointer: coarse) {
  .btn-hero:hover,
  .card-btn:hover,
  .cta-btn:hover,
  .cta-btn-outline:hover,
  .btn-donation:hover {
    transform: none;
  }

  .card:hover {
    transform: none;
  }

  .image-content img:hover {
    transform: none;
  }

  .back-to-top:hover {
    transform: none;
  }

  .social-icons a:hover {
    transform: none;
  }
}

/* Correção para o espaço branco após a navbar */
.navbar.fixed-top {
  position: fixed;
  top: 0;
  right: 0;
  left: 0;
  z-index: 1030;
}

/* Ajuste para garantir que o conteúdo não fique escondido atrás da navbar */
section {
  scroll-margin-top: 80px;
}