/* Reset e Estilos Globais */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  font-family: 'Inter', sans-serif; /* nova fonte moderna */
}


body {
  line-height: 1.6;
  color: #333;
  padding-top: 80px; /* Espaço para o header fixo */
}

.container {
  width: 90%;
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.container2{
  width: 100%;
  margin-left: 110px;
  display: flex;
  justify-content: space-between;
  align-items: center;
}
/* Header Styles */
.header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  background-color: #fff;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
  z-index: 1000;
  padding: 15px 0;
  transition: all 0.3s ease;
  border-bottom-left-radius: 80px;
  border-bottom-right-radius: 80px;
}


.header.scrolled {
  padding: 10px 0;
}

.logo-img {
  height: 50px;
  transition: all 0.3s;
}

/* Navigation */
.nav-list {
  display: flex;
  list-style: none;
}

.nav-list > li {
  position: relative;
  margin-left: 20px;
}

.nav-list > li > a {
  color: #333;
  text-decoration: none;
  font-weight: 600;
  font-size: 1rem;
  padding: 8px 12px;
  display: block;
  position: relative;
  transition: all 0.3s;
}

.dropdown > a::after {
  display: none;
}

.nav-list > li > a::after {
  content: '';
  position: absolute;
  left: 0;
  bottom: 0;
  width: 0%;
  height: 2px;
  background: #0066cc;
  transition: width 0.3s ease;
}
.nav-list > li > a:hover::after {
  width: 100%;
}


.nav-list > li > a:hover {
  color: #0066cc;
}


/* Dropdown Menu */
.dropdown-menu {
  position: absolute;
  top: 100%;
  left: 0;
  background-color: #fff;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
  border-radius: 4px;
  padding: 10px 0;
  min-width: 200px;
  opacity: 0;
  visibility: hidden;
  transition: all 0.3s;
  z-index: 1000;
}

 .dropdown:hover .dropdown-menu {
    opacity: 1;
    visibility: visible;
    display: block;
  }

.dropdown-menu li {
  display: block;
}

.dropdown-menu li a {
  padding: 8px 20px;
  color: #555;
  text-decoration: none;
  display: block;
  transition: all 0.2s;
}

.dropdown-menu li a:hover {
  background-color: #f8f9fa;
  color: #0066cc;
}

/* Ícone do dropdown */
.fa-chevron-down {
  font-size: 0.8em;
  margin-left: 5px;
}



/* Responsividade */
@media (max-width: 768px) {
  body {
      padding-top: 60px;
  }
  
  .container {
      flex-direction: row;
      align-items: flex-start;
  }
  
  .nav {
      width: 100%;
      margin-top: 15px;
  }
  
  .nav-list {
      flex-direction: column;
  }
  
  .nav-list > li {
      margin: 5px 0;
  }
  
  .dropdown-menu {
      position: static;
      opacity: 1;
      visibility: visible;
      box-shadow: none;
      display: none;
      margin-left: 15px;
  }
  
  .dropdown:hover .dropdown-menu {
      display: block;
  }
  
}

/* Botões */
.btn, .btn-large {
  display: inline-block;
  padding: 10px 20px;
  background-color: #0066cc;
  color: #fff;
  text-decoration: none;
  border-radius: 4px;
  font-weight: bold;
  transition: background-color 0.3s;
}

.btn-large {
  padding: 15px 30px;
  font-size: 18px;
}

.btn:hover, .btn-large:hover {
  background-color: #0055aa;
}

/* Hero Section */
.hero {
  text-align: center;
  padding: 60px 0;
  background-color: #f9f9f9;
}

.hero h1 {
  font-size: 28px;
  margin-bottom: 30px;
  color: #333;
}



.social-icons {
  display: flex;
  gap: 20px;
  margin-top: 20px;
}

.social-icon {
  background: #fff;
  border-radius: 50%;
  padding: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  height: 45px;
  width: 45px;
  transition: transform 0.3s ease;
}

.social-icon:hover {
  transform: scale(1.1);
}

.social-icon img {
  height: 24px;
  width: 24px;
}


/* Hero Banner */
.hero-banner {
  position: relative;
  height: 106vh;
  min-height: 600px;
  background-size: cover;
  /* background-position: center; */
  background-repeat: no-repeat;
  display: flex;
  align-items: center;
  color: #fff;
  margin-top: -80px;
  padding-top: 80px;
  transition: background-image 1s ease-in-out;
}


.hero-title-group .show {
  opacity: 1;
  transform: translateY(0);
  transition: opacity 1s ease, transform 1s ease;
}

.hero-title-group .hide {
  opacity: 0;
  transform: translateY(30px); /* move de baixo para cima */
  transition: opacity 1s ease, transform 1s ease;
}


.hero-content {
  max-width: 700px;
  padding: 20px;
  text-align: left;
  z-index: 1; /* garante que o conteúdo fique acima da overlay */

}

.hero-content.right {
  margin-left: auto;
  text-align: right;
  margin-right: 110px;
}

.hero-title-group {
  z-index: 1;
  display: flex;
  flex-direction: column;
  margin-bottom: 40px;
  line-height: 0.2;
}


.hero-line-1, .hero-line-3 {
  font-size: 1.75rem; /* levemente maior */
  color: #000;
  font-weight: 600; /* mais próximo do peso visual da imagem */
  font-style: italic; /* estilo inclinado como na imagem */
  font-family: 'Segoe UI', 'Arial', sans-serif;
  margin-top: 25px;
}

.hero-line-2, .hero-line-4 {
  font-size: 6.25rem; /* pequeno ajuste para não estourar */
  color: #3b82f6; /* azul mais próximo da imagem */
  font-weight: 800; /* mais grosso */
  font-family: 'Segoe UI', 'Arial Black', sans-serif;
  line-height: 1.1;
  margin-bottom: 40px;
  margin-top: 0;
}


.hero-brand {
  font-size: 1.8rem;
  color: #333;
  font-weight: 300;
  font-style: italic;
  margin-bottom: 30px;
  letter-spacing: 2px;
}

/* Ajuste para telas menores */
@media (max-width: 768px) {
  .hero-line-1, .hero-line-3 {
    margin-top: 10px; /* menor */
    font-size: 2.3rem; /* ajustar proporcional */
  }
  
    .container2 {
      margin-left: 0; /* ou menor, ex: 10px */
      padding-left: 40px; /* se quiser um respiro */
      padding-right: 10px;
    }
  .hero-line-2, .hero-line-4 {
    font-size: 3.5rem; /* ajuste proporcional */
    margin-bottom: 20px;
  }
  
  .hero-brand {
      font-size: 1.5rem;
  }
 .hero-title-group {
    position: static; /* remove o absoluto */
    margin-bottom: 400px;
    width: 100%;
    line-height: 1.0; /* garante espaçamento */
  }

   .hero-content {
    width: 100%;
    padding: 0;
    padding-top: 20px;
  }
  .hero-content.right {
    margin-left: auto;
    text-align: auto;
    margin-right: 10px;
  }
}

.btn-hero {
  padding: 15px 40px;
  font-size: 1.2rem;
  border-radius: 50px;
  transition: all 0.3s;
}

.btn-hero:hover {
  transform: translateY(-3px);
  box-shadow: 0 10px 20px rgba(0, 0, 0, 0.2);
}



.section-title {
  text-align: center;
  margin-bottom: 60px;
  font-size: 2.5rem;
  color: #333;
  position: relative;
  opacity: 0;
  transform: translateY(30px);
  transition: all 0.6s ease;
}

.section-title.animate {
  opacity: 1;
  transform: translateY(0);
}


/* ESTILOS PARA O DROPDOWN COM CATEGORIAS */
.dropdown-menu {
  width: 280px;
  padding: 15px 0;
  border-radius: 10px;
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.12);
  border: 1px solid rgba(0, 0, 0, 0.05);
}

.dropdown-title {
  color: #0066cc;
  font-size: 0.85rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  padding: 8px 20px 8px 25px;
  margin: 12px 0 5px 0;
  position: relative;
}

.dropdown-title:first-child {
  margin-top: 0;
}

.dropdown-title::before {
  content: "";
  display: block;
  width: 4px;
  height: 16px;
  background: #0066cc;
  border-radius: 2px;
  position: absolute;
  left: 15px; /* Ajuste esta valor para alinhar verticalmente */
  top: 50%;
  transform: translateY(-50%);
  margin-right: 0;
}

.dropdown-menu li a {
  padding: 10px 20px 10px 40px;
  color: #555;
  font-size: 0.95rem;
  font-weight: 500;
  transition: all 0.25s ease;
  position: relative;
  align-items: center;
}

.dropdown-menu li a:hover {
  color: #0066cc;
  background-color: #f8faff;
  padding-left: 45px;
}

.dropdown-menu li a::before {
  content: "•";
  color: #0066cc;
  font-size: 1.2rem;
  position: absolute;
  left: 25px;
  opacity: 0;
  transition: all 0.25s ease;
}
.nav-list > li > a, 
.dropdown-menu li a {
  outline: none;
}

.dropdown-menu li a:focus {
  background-color: transparent;
  color: inherit;
}

.dropdown-menu li a:focus::before,
.dropdown-menu li a:active::before {
  opacity: 0;
}

.dropdown-menu li a:hover::before {
  opacity: 1;
  left: 20px;
}

/* Separador entre categorias */
.dropdown-title:not(:first-child) {
  border-top: 1px solid #f0f0f0;
  margin-top: 12px;
  padding-top: 15px;
}

/* Efeito de transição suave */
.dropdown-menu {
  transition: all 0.3s cubic-bezier(0.25, 0.8, 0.25, 1);
}

/* Responsivo */
@media (max-width: 768px) {
  .dropdown-menu {
    width: 100%;
    border-radius: 0;
    box-shadow: none;
    border: none;
    padding: 5px 0;
  }
  
  .dropdown-title {
    padding-left: 20px;
    margin-top: 15px;
  }
  
  .dropdown-menu li a {
    padding-left: 35px;
  }
  
  .dropdown-menu li a:hover {
    padding-left: 38px;
  }
  
  .dropdown-menu li a::before {
    left: 20px;
  }
  .dropdown-title::before{
    font-size: 0;
    opacity: 0;
  }
}


/* Estado inicial: invisível */
.animate-on-scroll {
  opacity: 0.1;  /* Começa com opacidade baixa em vez de zero */
  transform: none;  /* Efeito sutil de zoom out */
  transition: 
    opacity 0.8s cubic-bezier(0.33, 0.85, 0.56, 1.05),
    transform 0.4s cubic-bezier(0.33, 0.85, 0.56, 1.05);
  will-change: opacity, transform;
}

/* Estado final animado */
.animate-on-scroll.animate {
  opacity: 1;  /* Opacidade total */
  transform: scale(1) translateY(0) translateX(0) rotate(0);  /* Reset de todas as transformações */
}

.timeline-section {
    padding: 80px 0;
    background-color: #f9f9f9;
    position: relative;
  }

  .timeline {
    position: relative;
    max-width: 1200px;
    margin: 0 auto;
    padding: 40px 0 80px; /* aumentei o padding-bottom */
   z-index: 0; /* segurança */

  }

.timeline::before {
  content: '';
  position: absolute;
  width: 4px;
  background: linear-gradient(to bottom, #0066cc, #00aaff);
  top: 0;
  height: calc(100% - 80px);
  left: 50%;
  transform: translateX(-50%);
  border-radius: 10px;
  z-index: 1; /* fica atrás */
}


  .timeline-dot {
    position: absolute;
    width: 20px;
    height: 20px;
    background-color: #0066cc;
    border-radius: 50%;
    left: 50%;
    transform: translateX(-50%);
    z-index: 2;
    border: 4px solid white;
    box-shadow: 0 0 0 2px #0066cc;
    opacity: 0;
    transition: all 0.5s ease;
  }

  .timeline-item {
    padding: 40px 0;
    position: relative;
    opacity: 0;
    transform: translateY(30px);
    transition: all 0.8s ease;
  }

  .timeline-item.animate {
    opacity: 1;
    transform: translateY(0);
  }

  .timeline-item.animate .timeline-dot {
    opacity: 1;
  }

  .timeline-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    width: 100%;
  }

  .timeline-content.reverse {
    flex-direction: row-reverse;
  }

  .timeline-text {
    width: 45%;
    padding: 30px;
    background: white;
    border-radius: 10px;
    box-shadow: 0 5px 25px rgba(0, 0, 0, 0.08);
    position: relative;
  }

  .timeline-text h3 {
    color: #0066cc;
    margin-bottom: 15px;
  }

  .timeline-text p {
    color: #555;
    line-height: 1.6;
  }

  .timeline-image {
    width: 45%;
    border-radius: 10px;
    transform: scale(0.95);
    transition: all 0.8s ease 0.3s;
    opacity: 0;
  }


  .timeline-item.animate .timeline-image {
    transform: scale(1);
    opacity: 1;
  }

  .timeline-image img {
    width: 100%;
    border-radius: 10px;
    display: block;
    transition: transform 0.5s ease;
  }

  .timeline-image:hover img {
    transform: scale(1.05);
    cursor: pointer;
  }

.timeline-year {
  position: absolute;
  top: -25px;
  left: 50%;
  transform: translateX(-50%);
  background: #0066cc;
  color: white;
  padding: 8px 20px;
  border-radius: 30px;
  font-weight: bold;
  box-shadow: 0 3px 15px rgba(0, 102, 204, 0.3);
  z-index: 10; /* bem acima */
  pointer-events: none; /* opcional: evita clicar por engano */
}



  .timeline-button-container {
    text-align: center;
    margin-top: 40px;
  }

  .timeline-expand-btn {
    background-color: #0066cc;
    color: white;
    font-size: 1.6rem;
    font-weight: 600;
    padding: 12px 30px;
    border: none;
    border-radius: 50px;
    cursor: pointer;
    text-decoration: none;
    display: inline-block;
    transition: background-color 0.3s, transform 0.3s;
  }

  .timeline-expand-btn:hover {
    background-color: #0055aa;
    transform: translateY(-2px);
  }

  .timeline-expand-btn i {
    margin-left: 10px;
}


  /* Responsive */
  @media (max-width: 768px) {
    .timeline::before {
      left: 31px;
    }
    
    .timeline-dot {
      left: 31px;
    }
    
    .timeline-content,
    .timeline-content.reverse {
      flex-direction: column;
    }
    
    .timeline-text,
    .timeline-image {
      width: 100%;
      margin-bottom: 20px;
    }

    .timeline-image {
      display: flex;
      flex-direction: column;
      align-items: center;
    }
    
    .timeline-text {
      margin-left: 60px;
    }
    
    .timeline-year {
      left: 0;
      transform: translateX(0);
      position: static;
    }
  }

  /* ==================== */
/* MENU HAMBURGUER RESPONSIVO */
/* ==================== */

.mobile-menu-toggle {
  display: none;
  cursor: pointer;
  font-size: 1.8rem;
  color: #333;
  padding: 5px 10px;
  transition: all 0.3s ease;
  z-index: 1001;
}

.mobile-menu-toggle:hover {
  color: #0066cc;
}

/* Estilos para telas médias e pequenas */
/* ==================== */
/* CORREÇÕES PARA NAVBAR RESPONSIVA */
/* ==================== */

@media (max-width: 992px) {
  .header {
    border-bottom-left-radius: 40px;
    border-bottom-right-radius: 40px;
    padding: 10px 0;
    width: 100%; /* Corrige a largura */
  }
  
  .mobile-menu-toggle {
    display: block;
    margin-left: auto;
    order: 2; /* Garante que fique à direita */
  }
  
  .logo {
    order: 1; /* Garante que a logo fique à esquerda */
  }

  .dropdown:hover .dropdown-menu {
    display: none; /* Desativa hover no mobile */
  }

  .dropdown.active .dropdown-menu {
    display: block;
    opacity: 1;
    visibility: visible;
  }
  
  .nav {
    position: fixed;
    top: 80px;
    left: 0;
    right: 0; /* Adicionado para garantir largura total */
    width: 100%;
    background-color: #fff;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    max-height: 0;
    overflow-y: auto; /* Permite scroll se o menu for muito longo */
    transition: max-height 0.5s ease-in-out;
    z-index: 999;
    padding: 0;
    margin: 0;
  }
  
  .nav.active {
    max-height: 80vh; /* Limita a altura máxima */
    padding: 20px 0;
    border-top: 1px solid rgba(0, 0, 0, 0.1);
  }
  
  .nav-list {
    flex-direction: column;
    padding: 0 20px;
    margin: 0;
  }
  
  .nav-list > li {
    margin: 0;
    border-bottom: 1px solid rgba(0, 0, 0, 0.05);
  }
  
  .nav-list > li > a {
    padding: 15px 0;
    font-size: 1.1rem;
  }
  
  /* Dropdown mobile - Correções importantes */
  .dropdown-menu {
    position: static;
    box-shadow: none;
    border: none;
    padding-left: 15px;
    display: none;
    opacity: 1;
    visibility: visible;
    width: 100%;
    margin-top: 5px;
    background-color: rgba(0, 102, 204, 0.05); /* Fundo sutil para destacar */
    border-radius: 8px;
    animation: none; /* Remove animação conflitante */
  }
  
  .dropdown.active .dropdown-menu {
    display: block;
    max-height: none;
    overflow: visible;
  }
  
  .dropdown > a {
    position: relative;
    padding-right: 30px; /* Espaço para o ícone */
  }
  
  .dropdown > a::after {
    content: '\f078';
    font-family: 'Font Awesome 6 Free';
    font-weight: 900;
    position: absolute;
    right: 0;
    top: 50%;
    transform: translateY(-50%);
    transition: transform 0.3s;
  }
  
  .dropdown.active > a::after {
    transform: translateY(-50%) rotate(180deg);
  }
  
  .dropdown-title {
    font-weight: bold;
    color: #0066cc;
    margin-top: 15px;
    padding: 5px 0;
    font-size: 0.9rem;
  }
  
  .dropdown-menu li a {
    padding: 10px 0 10px 20px;
  }
  
  .container {
    flex-wrap: wrap; /* Permite que os itens quebrem linha */
  }
}

/* Ajustes para telas muito pequenas */
@media (max-width: 576px) {
  .header {
    border-bottom-left-radius: 30px;
    border-bottom-right-radius: 30px;
    padding: 8px 0;
  }
  
  .logo-img {
    height: 40px;
  }
  
  .mobile-menu-toggle {
    font-size: 1.5rem;
    padding: 5px;
  }
  
  .nav {
    top: 68px; /* Ajuste para header menor */
  }
  
  .nav-list > li > a {
    padding: 12px 0;
    font-size: 1rem;
  }
  
  .dropdown-menu li a {
    padding: 8px 0 8px 15px;
    font-size: 0.9rem;
  }
}

/* Corrige o container em mobile */
@media (max-width: 768px) {
  .container {
    padding: 0 15px; /* Adiciona padding lateral */
  }
  
  .container2 {
    margin-left: 0;
    width: 100%;
  }
}

/* Garante que o body não tenha scroll horizontal */
html, body {
  overflow-x: hidden;
}

@keyframes fadeIn {
  from { opacity: 0; transform: translateY(-10px); }
  to { opacity: 1; transform: translateY(0); }
}

/* Ajustes para telas muito pequenas */
@media (max-width: 576px) {
  .header {
    border-bottom-left-radius: 30px;
    border-bottom-right-radius: 30px;
  }
  
  .logo-img {
    height: 40px;
  }
  
  .mobile-menu-toggle {
    font-size: 1.5rem;
  }
  
  .nav {
    top: 70px;
  }
  
  .nav-list > li > a {
    padding: 12px 0;
  }
}