
/* Menu principal */
.navbar {
  position: fixed;
  background-color: #f5f5f5;
  padding: 10px 0;
  box-shadow: 0 2px 4px rgba(0,0,0,0.1);
  z-index: 5;
  flex-wrap: wrap;
}

/* Links principais */
.navbar-nav {
  display: flex;
  flex-wrap: wrap;
  gap: 30px;
}

.navbar-nav .nav-link {
  font-size: 18px;
  font-weight: 600;
  color: #000 !important;
  padding: 10px 15px;
  transition: all 0.2s ease-in-out;
}

.navbar-nav .nav-link:hover {
  color: #007bff !important;
  text-decoration: underline;
}

/* BOTÃO e estrutura mobile */
.navbar-toggler {
  border: none;
  background: transparent;
  margin-left: auto;
}

.navbar-toggler-icon {
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 30 30' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath stroke='rgba%280, 0, 0, 0.7%29' stroke-width='2' d='M4 7h22M4 15h22M4 23h22'/%3E%3C/svg%3E");
}

/* MENU MOBILE */
@media (max-width: 768px) {
  .navbar-nav {
    flex-direction: column;
    gap: 10px;
    align-items: stretch;
    padding: 10px 0;
  }

  .navbar-nav .nav-link {
    font-size: 16px;
    white-space: normal;
    word-break: break-word;
    padding: 10px 20px;
    text-align: left;
  }

  .navbar-collapse {
    background: #fff;
    padding: 10px 0;
    border-top: 1px solid #eee;
  }

  .language-switcher {
    margin-right: 10px;
  }
}

/* Exibe somente a linguagem ativa */
.nav-item.lang {
  display: none;
}
.nav-item.lang.active {
  display: block !important;
}


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



.lang {
  display: none;
}
.lang.active {
  display: inline-block;
}

.owl-carousel .brand-logo {
margin: 0 5px;
padding: 0;
}

.owl-carousel .brand-logo img {
width: 80px;
height: auto;
display: block;
margin: 0 auto;
}

h1.titulo-principal,
h2.titulo-principal,
h3.titulo-principal {
  margin-bottom: 10px;
  line-height: 1.3;
  word-break: break-word;
  text-align: center;
}

/* Melhor visualização no mobile */
@media (max-width: 768px) {
  h1.titulo-principal {
    font-size: 22px !important;
  }
  h2.titulo-principal {
    font-size: 18px !important;
  }
  h3.titulo-principal {
    font-size: 16px !important;
  }
}


#coplad-titulo {
  font-size: 66px;          /* aumenta o tamanho */
  font-weight: 700;         /* deixa em negrito */
  letter-spacing: 2px;      /* espaço entre letras */
  color: #0987ed; 
  text-transform: uppercase;
  margin-top: -5px;
}

 .carousel-container {
  width: 80%;                      /* Reduz a largura para alinhar com o conteúdo */
  margin: 0 auto;
  overflow: hidden;
  position: relative;
  height: 120px;                   /* Ajuste para tooltip */
  padding-top: 40px;
}

.carousel-track {
  display: inline-block;
  white-space: nowrap;
  animation: scroll-left 70s linear infinite;
}

@keyframes scroll-left {
  0%   { transform: translateX(0); }
  100% { transform: translateX(-100%); }
}

.flag-wrapper {
  display: inline-block;
  position: relative;
  margin: 0 10px;
}

.flag-wrapper img {
  width: 60px;
  height: 40px;
  border-radius: 8px;
  box-shadow: 0 2px 4px rgba(0,0,0,0.3);
}

.flag-wrapper .tooltip {
  position: absolute;
  bottom: 100%;
  left: 50%;
  transform: translateX(-50%);
  background-color: #000;
  color: #fff;
  padding: 5px 10px;
  font-size: 12px;
  border-radius: 5px;
  opacity: 0;
  white-space: nowrap;
  transition: opacity 0.2s;
  pointer-events: none;
}

.flag-wrapper .tooltip::after {
  content: "";
  position: absolute;
  top: 100%;
  left: 50%;
  transform: translateX(-50%);
  border: 6px solid transparent;
  border-top-color: #000;
}

.flag-wrapper:hover .tooltip {
  opacity: 1;
}

.timeline-section {
  background: #f9f9f9;
  padding: 40px 20px;
}

.timeline-title {
  text-align: center;
  font-size: 28px;
  font-weight: 700;
  margin-bottom: 40px;
}

.timeline-container {
  position: relative;
  max-width: 800px;
  margin: 0 auto;
  padding-left: 20px;
  border-left: 3px solid #007bff;
}

.timeline-item {
  position: relative;
  margin-bottom: 40px;
}

.timeline-date {
  font-size: 14px;
  color: #999;
  margin-bottom: 8px;
}

.timeline-content {
  background: #fff;
  padding: 20px;
  border-radius: 8px;
  box-shadow: 0 2px 6px rgba(0,0,0,0.1);
  position: relative;
}

.timeline-content::before {
  content: '';
  position: absolute;
  left: -11px;
  top: 20px;
  width: 20px;
  height: 20px;
  background: #007bff;
  border-radius: 50%;
  border: 3px solid white;
  box-shadow: 0 0 0 2px #007bff;
}
