      @import url("https://fonts.googleapis.com/css2?family=Poppins:wght@400;600;700&display=swap");

      :root {
        --primary-color: #00674f; /* Verde Escuro */
        --primary-colorTL: #014b92; /* Azul Marinho (Linha do Tempo) */
        --primary-color-dark: #004f3d;
        --secondary-color: #014b92;
        --text-dark: #11161f;
        --text-light: #6b7280;
        --extra-light: #e6f3ff;
        --max-width: 1200px;
        --timeline-arrow-size: 8px; /* Novo: Tamanho da seta */
        --timeline-dot-bg: #f4f2f2; /* Novo: Cor do background para o ponto (cor do body) */
      }
      
      ::selection {
  background-color: var(--primary-color); 
  color: white; 
}

      * {
        padding: 0;
        margin: 0;
        box-sizing: border-box;
      }

      a {
        text-decoration: none;
      }

      body {
        font-family: "Poppins", sans-serif;
        width: 100%;
        background: #f2f2f2; /* Uso da variável de cor */
        color: var(--text-light);
      }

      h1, h2, h3, h4 {
        font-weight: 600;
        color: var(--text-dark);
      }

      /* --- Clearfix Universal --- */
      .timeline-items-wrapper:after,
      .timeline-item:after, .timeline-item:before,
      header:after, header:before {
        content: '';
        display: table;
        clear: both;
      }

      .container {
        max-width: var(--max-width);
        padding: 0 2rem;
        padding-top: 1rem;
        margin-bottom: 0.8rem;
        margin: 0 auto;
      }

      /* --- NAV --- */
      nav {
        width: 100%;
        position: sticky;
        top: 0;
        left: 0;
        background-color: var(--primary-color);
        z-index: 99;
      }

      .nav__content {
        max-width: var(--max-width);
        margin: auto;
        padding: 1rem 0.5rem;
        display: flex;
        align-items: center;
        justify-content: space-between;
      }

      nav .logo a {
        display: flex;
        align-items: center;
        gap: 0.75rem;
        font-size: 1rem;
        font-weight: 600;
        color: white;
        transition: 0.3s;
      }

      nav .logo a img {
        vertical-align: middle;
        display: block;
      }

      .logo__text {
        display: block;
        line-height: 1.2;
      }

      .visually-hidden {
        position: absolute;
        width: 1px;
        height: 1px;
        margin: -1px;
        padding: 0;
        overflow: hidden;
        clip: rect(0, 0, 0, 0);
        border: 0;
      }

      nav .checkbox {
        display: none;
      }

      nav .checkbox i {
        font-size: 2rem;
        color: white;
        cursor: pointer;
      }

      ul {
        display: flex;
        align-items: center;
        gap: 1rem;
        list-style: none;
        transition: left 0.3s;
      }

      ul li a {
        padding: 0.5rem 1rem;
        border: 2px solid transparent;
        font-weight: 600;
        color: white;
        transition: 0.3s;
      }

      ul li a:hover {
        border-bottom-color: white;
        color: white;
      }

      /* --- NAV Mobile --- */
      @media (max-width: 749px) {
        nav .checkbox {
          display: block;
        }

        ul {
          position: absolute;
          width: 100%;
          height: calc(100vh - 85px);
          left: -100%;
          top: 85px;
          background-color: var(--primary-color);
          flex-direction: column;
          justify-content: center;
          gap: 3rem;
        }

        nav #check:checked ~ ul {
          left: 0;
        }

        ul li a {
          font-size: 1.25rem;
        }
      }
      
      
      .page-title {
  /* Using your Poppins font (from body) */
  font-size: 2.5rem; /* Large and impactful */
  font-weight: 700;  /* Bolder than the default 600 */
  color: var(--text-dark);
  text-align: center;
  /* Adds space above and below the title */
 margin-top: 0;
  margin-right: 0;
  margin-bottom: 0.4rem;
  margin-left: 0;
}

/* Responsive adjustment for mobile */
@media (max-width: 749px) {
  .page-title {
    font-size: 2.2rem;
  }
}

      /* --- LINHA DO TEMPO (TIMELINE) --- */

    #timeline {
            width: 100%;
            margin: 30px auto;
            position: relative;
            /* CORREÇÃO AQUI: Reduzi o padding-top de 70px para 20px */
            padding: 0px 10px 0 10px; 
        }

        .timeline-items-wrapper {
            position: relative;
        }

      /* Linha vertical (Desktop: Centralizado) */
      .timeline-items-wrapper:before {
        content: "";
        width: 3px;
        background: var(--primary-colorTL);
        left: 50%;
        position: absolute;
        top: 25px;
        bottom: 25px;
        transform: translateX(-50%);
        z-index: 1;
      }

      #timeline .timeline-item {
        margin-bottom: 50px;
        position: relative;
        /* Adiciona um pequeno espaço no topo para o ícone */
        padding-top: 25px;
      }

      /* Ícone/Ponto */
      #timeline .timeline-icon {
        background: var(--primary-colorTL);
        width: 50px;
        height: 50px;
        z-index: 10;
        position: absolute;
        top: 0;
        left: 50%;
        margin-left: -25px; /* Ajustado para centralizar perfeitamente */
        border-radius: 50%;
        display: flex; /* Uso de flex para centralizar SVGs/ícones */
        align-items: center;
        justify-content: center;
        /* Borda para fazer o 'dot' parecer que flutua */
        box-shadow: 0 0 0 5px #f4f2f2;
      }

      #timeline .timeline-icon svg,
      #timeline .timeline-icon i {
        color: white;
      }

      /* Conteúdo */
      #timeline .timeline-content {
        width: 45%;
        background: white;
        padding: 20px;
        box-shadow: 0 3px 0 rgba(0,0,0,0.1);
        border-radius: 5px;
        /* FIX CRUCIAL: Adicionar position: relative para o :before funcionar */
        position: relative; 
      }

      #timeline .timeline-content h2 {
        padding: 15px;
        background: var(--primary-colorTL);
        color: #fff;
        margin: -20px -20px 15px -20px;
        font-weight: 300;
        border-radius: 3px 3px 0 0;
      }

/* Triângulo conector para o lado esquerdo (aponta para a direita, em direção ao centro) */
#timeline .timeline-content:before {
    content: '';
    position: absolute;

    /* Posicionamento na borda direita do box */
    right: calc(0px - var(--timeline-arrow-size));
    left: auto;
    top: 20px;
    width: 0;
    height: 0;

    border-top: var(--timeline-arrow-size) solid transparent;
    border-bottom: var(--timeline-arrow-size) solid transparent;
    
    /* ✅ OK: A seta aponta para a direita, então border-left define o triângulo */
    border-left: var(--timeline-arrow-size) solid var(--primary-colorTL); /* Usando a variável */
    
    z-index: 10;
}
      
      /* Triângulo conector da direita - Efeito de sombra/borda */
      /* Adicionando um segundo pseudo-elemento para dar a impressão da borda do triângulo */
      #timeline .timeline-content:after {
        content: '';
        position: absolute;
        right: calc(0px - var(--timeline-arrow-size) - 1px); /* 1px mais fora para simular sombra */
        left: auto;
        top: calc(20px - 1px);
        width: 0;
        height: 0;
        border-top: calc(var(--timeline-arrow-size) + 1px) solid transparent;
        border-bottom: calc(var(--timeline-arrow-size) + 1px) solid transparent;
        border-left: calc(var(--timeline-arrow-size) + 1px) solid rgba(0,0,0,0.1); /* Cor da sombra */
        z-index: 9;
      }


      /* Caixa alinhada à direita */
      #timeline .timeline-content.right {
        float: right;
      }
      
      
/* Triângulo conector para o lado direito (aponta para a esquerda, em direção ao centro) */
#timeline .timeline-content.right:before {
    /* Posicionamento na borda esquerda do box */
    right: auto;
    left: calc(-8px - var(--timeline-arrow-size));

    /* A cor da seta deve ser aplicada no lado que "aponta" (border-right, para apontar para a esquerda) */
    border-top: var(--timeline-arrow-size) solid transparent; /* Deve ser transparente */
    border-bottom: var(--timeline-arrow-size) solid transparent; /* Deve ser transparente */
 /* Esta borda deve ser transparente. Se for azul, ela cobre o triângulo. */
    border-left: var(--timeline-arrow-size) solid transparent; 
    
    /* Esta borda deve ser azul (a que forma o triângulo) */
    border-right: var(--timeline-arrow-size) solid var(--primary-colorTL); 
    z-index: 10;
}
      /* Triângulo conector da direita - Efeito de sombra/borda */
      #timeline .timeline-content.right:after {
        right: auto;
        left: calc(-9px - var(--timeline-arrow-size) - 1px);
        top: calc(20px - 1px);
        border-top: calc(var(--timeline-arrow-size) + 1px) solid transparent;
        border-bottom: calc(var(--timeline-arrow-size) + 1px) solid transparent;
        border-left: calc(var(--timeline-arrow-size) + 1px) solid transparent;
        border-right: calc(var(--timeline-arrow-size) + 1px) solid rgba(0,0,0,0.1);
        z-index: 9;
      }


      /* --- TIMELINE MOBILE --- */

      @media (max-width: 749px) {

        /* Remove as setas de sombra (after) para simplificar no mobile */
        .timeline-item .timeline-content:after, 
        .timeline-item .timeline-content.right:after {
          content: none;
        }

        #timeline {
          margin: 30px;
          padding: 0px;
          width: calc(100% - 60px);
        }

        /* Linha vertical (Mobile: Esquerda) */
        .timeline-items-wrapper:before {
          left: 0;
          transform: translateX(0);
        }

        #timeline .timeline-item {
          margin-bottom: 30px;
        }

        /* Conteúdo ocupa a maior parte e flutua à direita */
        #timeline .timeline-item .timeline-content {
          width: 90%;
          float: right;
        }

        /* FIX MOBILE: Move a seta para a esquerda do conteúdo (aponta para a linha) */
        #timeline .timeline-item .timeline-content:before,
        #timeline .timeline-item .timeline-content.right:before {
          right: auto;
          left: calc(-8px - var(--timeline-arrow-size)); /* Posiciona na borda esquerda do box */
         border-left: var(--timeline-arrow-size) solid transparent;
        /* A borda que aponta para a linha deve ser azul */
       border-right: var(--timeline-arrow-size) solid var(--primary-colorTL); /* ✅ AZUL */
}

        /* Move o ícone para a esquerda */
        #timeline .timeline-item .timeline-icon {
          left: 0;
          margin-left: -25px;
        }
      }

      /* --- Menu de Filtros --- */
      /* --- Menu de Filtros --- */
#timeline-menu {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  background: #f2f2f2;
  position: static;
  z-index: 90;
  gap: 10px;
  padding: 10px 0;
}

#timeline-menu a {
  padding: 8px 15px;
  background-color: white;
  color: var(--text-dark);
  border-radius: 5px;
  transition: background-color 0.3s, color 0.3s;
  font-size: 0.9rem;
  white-space: nowrap;
  border: 1px solid #ddd;
  
  /* >>> AJUSTE CRÍTICO: Força 3 itens por linha, descontando os 20px de gap <<< */
  width: calc((100% - 30px) / 4);
  text-align: center;
  flex-grow: 0;
  /* >>> FIM AJUSTE CRÍTICO <<< */
}

/* Estilos para o link de Contato (destaque) */
#timeline-menu a.link-contato {
  /* Cor de fundo e texto diferentes */
  background-color: var(--secondary-color); /* Usando secondary-color para destaque */
  color: white;
  border: 1px solid var(--secondary-color);
  font-weight: 600;
  box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -2px rgba(0, 0, 0, 0.06);
}

/* Estilos de hover e focus (padrão) */
#timeline-menu a:not(.link-contato):hover, 
#timeline-menu a:not(.link-contato):focus {
  background-color: var(--primary-color);
  color: white;
  border-color: var(--primary-color);
}

#timeline-menu a:hover, #timeline-menu a:focus {
  background-color: var(--primary-color);
  color: white;
}

/* Regra para telas pequenas: 1 item por linha (melhor para toque) */
@media (max-width: 550px) {
  #timeline-menu a {
    width: 100%;
    /* Opcional: define uma largura máxima para não esticar demais em telas pequenas de tablets */
    max-width: 300px; 
  }
}
      .timeline-section-title {
        text-align: center;
        margin: -30px 0 20px 0;
        font-size: 1.5rem;
        font-weight: 700;
        color: var(--secondary-color);
        border-bottom: 1px dashed #ccc;
        padding-bottom: 10px;
      }

      .timeline-section {
        padding-top: 80px;
        margin-top:20px;
      }

      .btn {
        padding: 5px 15px;
        background: transparent;
        border: 2px solid var(--primary-colorTL);
        color: var(--primary-colorTL);
        display: inline-block;
        position: relative;
        text-transform: uppercase;
        font-size: 12px;
        border-radius: 5px;
        transition: background 0.3s ease;
        box-shadow: 2px 2px 0 var(--primary-colorTL);
      }

      .btn:hover {
        box-shadow: none ;
        top: 2px;
        left: 2px;
      }

        
        
        
        
.responsive-table{width:100%;margin-bottom:1.5em;border-spacing:0;font-family:'Poppins',sans-serif;border:2px solid var(--primary-color-dark);background-color:white}.responsive-table thead{position:absolute;clip:rect(1px 1px 1px 1px);padding:0;border:0;height:1px;width:1px;overflow:hidden}.responsive-table tbody,.responsive-table tr,.responsive-table th,.responsive-table td{display:block;padding:0;text-align:left;white-space:normal;color:var(--text-dark)}.responsive-table tr{margin-bottom:1em}.responsive-table th,.responsive-table td{padding:.5em;vertical-align:middle}.responsive-table tbody th[scope="row"]{background-color:var(--secondary-color);color:white}.responsive-table tbody td{text-align:right}.responsive-table td[data-type="currency"]{text-align:right}.responsive-table tbody td[data-title]:before{content:attr(data-title);float:left;font-size:.8em;color:var(--text-light)}.responsive-table caption{margin-bottom:1em;font-size:1em;font-weight:bold;text-align:left;color:var(--text-dark)}.responsive-table tfoot{font-size:.8em;font-style:italic}.responsive-table tfoot a{color:var(--secondary-color)}.responsive-table td a{color:var(--secondary-color);text-decoration:none;transition:color .3s ease,border-color .3s ease;border-bottom:1px solid transparent}.responsive-table td a:hover,.responsive-table td a:focus{color:var(--primary-color);border-bottom-color:var(--primary-color);display:inline-block}.responsive-table td a:visited{color:var(--text-light)}@media (min-width:30em){.responsive-table th,.responsive-table td{padding:.75em .5em}.responsive-table tbody td[data-title]:before{font-size:.9em}}@media (min-width:48em){.table-wrapper .responsive-table tr{display:table-row!important;border:none!important}.table-wrapper .responsive-table tbody th,.table-wrapper .responsive-table tbody td,.table-wrapper .responsive-table thead th{display:table-cell!important;float:none!important;width:auto!important;padding:.75em .5em;border:1px solid #ddd}.responsive-table tbody{display:table-row-group!important}.table-wrapper .responsive-table thead{position:relative;clip:auto;height:auto;width:auto;overflow:auto;display:table-header-group!important;background-color:var(--secondary-color);color:white}.responsive-table thead th{border:1px solid var(--primary-color-dark);color:white;font-weight:600;text-align:center}.table-wrapper .responsive-table tbody td[data-title]:before{content:none}.responsive-table tbody th[scope="row"]{background-color:transparent;color:var(--text-dark);text-align:left;font-weight:500}.responsive-table tbody td{text-align:left}.responsive-table tbody td[data-title="Ano"],.responsive-table tbody td[data-title="Duração"]{text-align:center}.responsive-table tbody tr:nth-of-type(odd){background-color:white}.responsive-table tbody tr:nth-of-type(even){background-color:rgba(0,0,0,.04)}}@media (min-width:62em){.responsive-table{font-size:1em}.responsive-table caption{font-size:1.5em}.responsive-table tfoot{font-size:.9em}}@media (min-width:75em){.responsive-table th,.responsive-table td{padding:.9em}}


@media (max-width: 47.99em) {
  .container {
    /* Reduz o padding lateral para 0.25rem (4px). 
       Isso libera o máximo de espaço possível sem encostar o conteúdo na borda. */
    padding-left: 0.25rem; 
    padding-right: 0.25rem;
  }

  /* Garante que a tabela e o wrapper aproveitem esse espaço */
  .table-wrapper, .responsive-table {
    width: 100%;
    max-width: 100%;
  }
}

