
:root {
    --green-hover: #28a745;
    --card-radius: 12px;
  }

  .banner-quem-somos {
    background: url("/assets/img/pagina-quem-somos/top-banner/Institucional-VIGIAGROPEC.png")
      center center / cover no-repeat;
  }
  
  .banner-quem-somos::before {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(179deg, rgba(38, 20, 18, 0.452) 0%, rgb(0, 0, 0) 100%);
    z-index: 0;
  }

  img {
    max-width: 100%;
  }
  
  .margin-bottom-medium h2 {
    align-items: center;
    justify-content: center;
    text-align: center;
    font-size: 2rem;
    color: #fff;
  }
  
  .inline-block {
    max-width: 100%;
    display: inline-block;
  }
  
  .page-wrapper {
    z-index: 0;
    position: relative;
    margin: 0 auto;
  }
  
  .container-timeline {
    width: 90vw;
    max-width: 1360px;
    margin-left: auto;
    margin-right: auto;
  }
  
  .margin-bottom-medium {
    margin-bottom: 32px;
  }
  
  .paragraph-large {
    letter-spacing: -0.02em;
    font-size: 20px;
  }
  
  .section-timeline-heading {
    margin: 0 auto;
    background-color: #091227;
  }
  
  .padding-vertical-xlarge {
    padding-top: 120px;
    padding-bottom: 90px;
  }
  
  .timeline-main_heading-wrapper {
    color: #fff;
    text-align: center;
    max-width: 640px;
    margin-left: auto;
    margin-right: auto;
  }
  
  .timeline_component {
    flex-direction: column;
    justify-content: center;
    align-items: center;
    max-width: 1120px;
    margin-left: auto;
    margin-right: auto;
    display: flex;
    position: relative;
    padding-bottom: 10rem;
  }
  
  .timeline_item {
    opacity: 0;
    transform: translateY(30px);
    transition: all 0.6s ease-out;
    z-index: 2;
    grid-column-gap: 0px;
    grid-row-gap: 0px;
    grid-template-rows: auto;
    grid-template-columns: 1fr 180px 1fr;
    grid-auto-columns: 1fr;
    padding-top: 80px;
    padding-bottom: 80px;
    display: grid;
    position: relative;
  }

  .timeline_item.inactive {
    filter: grayscale(100%);
    opacity: 0.9;

  }

  .timeline_item.active {
    filter: none;
    opacity: 1;
    transform: translateY(0);
    transition: all 0.6s ease;
  }

  .timeline_left {
    text-align: right;
    justify-content: flex-end;
    align-items: stretch;
  }
  
  .timeline_centre {
    justify-content: center;
    display: flex;
  }

  .timeline_right {
    background: #fff;
    padding: 30px 20px;
    border-radius: 10px;
    box-shadow: 0 8px 16px rgba(0,0,0,0.1);
  }
  
  .timeline_date-text {
    color: #fff;
    letter-spacing: -0.03em;
    font-size: 48px;
    font-weight: 500;
    line-height: 1.2;
    position: sticky;
    top: 50vh;
  }

  .timeline_date-text.active{
    font-weight: 700;
    transition: font-weight 0.3s ease;
  }
  
  .timeline_text {
    color: #0a0a0a;
    font-size: 20px;
    font-weight: 500;
    line-height: 1.3;
  }
  
  .timeline_circle {
    display: flex;
    align-items: center;
    justify-content: center;
    background-color: #ffffff;
    border-radius: 100%;
    width: 40px;
    min-width: 40px;
    max-width: 40px;
    height: 40px;
    min-height: 40px;
    max-height: 40px;
    position: sticky;
    top: 50vh;
    box-shadow: 0 0 0 4px #d6dbda;
  }
  
  .timeline_circle img {
    width: 25px;
    height: 25px;
    object-fit: contain;
  }


  .timeline_circle.filled {
    box-shadow: 0 0 0 4px #e44242;
  }

  .timeline_progress {
    z-index: -2;
    background-color: #505050;
    width: 3px;
    height: 100%;
    position: absolute;
  }
  
  .timeline_progress-bar {
    z-index: -1;
    background: #e44242;
    width: 3px;
    height: 50vh;
    position: fixed;
    inset: 0 auto 50vh;
    transition: opacity 0.3 ease;
  }
  
  .section-timeline {
    z-index: -3;
    background-color: #091227;
    position: relative;
  }
  
  .margin-bottom-xlarge {
    margin-bottom: 56px;
  }
  
  .inline-block {
    display: inline-block;
  }
  
  .text-colour-lightgrey {
    color: #ffffffa6;
  }
  
  .overlay-fade-top {
    background-image: linear-gradient(#091227, #0a0a0a00);
    height: 80px;
    position: absolute;
    inset: 0% 0% auto;
  }
  
  .overlay-fade-bottom {
    background-image: linear-gradient(to top, #091227, #0a0a0a00);
    height: 220px;
    position: absolute;
    inset: auto 0% 0%;
  }

  .gallery-carousel-sm-solucoes {
    width: 100vw;
    background: #fff;
    padding-top: 4rem;
    padding-bottom: 4rem;
    overflow: hidden;
  }
  
  .gallery-carousel-sm-solucoes .container-gallery {
    max-width: 100%;
    margin: 0 auto;
    text-align: center;
    padding: 1.5rem;
  }
  
  .gallery-carousel-sm-solucoes h2 {
    font-size: 2rem;
    font-weight: bold;
    margin-bottom: 0.5rem;
  }
  
  .gallery-carousel-sm-solucoes p {
    margin-bottom: 2rem;
    font-size: 1rem;
  }
  
  .carousel-wrapper {
    overflow: hidden;
    position: relative;
  }


  .carousel-nav {
    position: absolute;
    top: calc(50%);
    transform: translateY(-50%);
    background: rgba(255, 255, 255, 0.8);
    border: none;
    border-radius: 50%;
    width: 48px;
    height: 48px;
    cursor: pointer;
    display: flex;
    justify-content: center;
    align-items: center;
    color: #e44242;
    transition: background 0.3s ease, color 0.3s ease;
    z-index: 5;
  }
  
  .carousel-nav:hover {
    background: #ff2626;
    color: #fff;
  }
  
  .carousel-nav.prev {
    left: 10px;
  }
  
  .carousel-nav.next {
    right: 10px;
  }
  
  .carousel-track {
    display: flex;
    gap: 1.5rem;
  }
  
  .carousel-item {
    width: 442px;
    height: 362px;
    flex-shrink: 0;
    position: relative;
    transition: transform 0.3s ease;
    overflow: hidden;
    cursor: pointer;
    border-radius: 10px;
  }
  
  .carousel-item img {
    width: 100%;
    height: 100%;
    display: block;
    object-fit: cover;
    border-radius: 10px;
  }
  
  .carousel-item .caption {
    position: absolute;
    bottom: 0;
    width: 100%;
    background: linear-gradient(to top, rgba(0, 0, 0, 0.6), transparent);
    color: #fff;
    text-align: center;
    font-weight: bold;
    padding: 2rem 0;
    font-size: 1.3rem;
    border-radius: 10px;
  }
  
  .carousel-item:hover::before {
    content: '';
    position: absolute;
    inset: 0;
    background: rgba(0, 0, 0, 0.4);
  }
  
  .carousel-item:hover .plus-icon {
    opacity: 1;
  }
  
  .plus-icon {
    position: absolute;
    top: 10px;
    right: 10px;
    width: 45px;
    display: flex;
    justify-content: center;
    align-items: center;
    font-size: 1.5rem;
    background: #e44242;
    color: #fff;
    border-radius: 50%;
    padding: 5px 10px;
    opacity: 0;
    transition: opacity 0.3s ease;
  }
  
  .image-popup {
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, 0.6);
    backdrop-filter: blur(6px);
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 999999;
    padding: 2rem;
  }

  .image-popup.hidden {
    display: none;
  }
  
  .popup-content {
    position: relative;
    background: white;
    padding: 2rem;
    max-width: 50%;
    max-height: 100vh;
    overflow: auto;
    border-radius: 12px;
    box-shadow: 0 0 30px rgba(0,0,0,0.3);
    text-align: left;
  }
  
  .popup-content img {
    width: 100%;
    height: auto;
    border-radius: 8px;
  }
  
  .popup-content h3 {
    margin: 1rem auto;
    font-size: 1.3rem;
  }
  
  .close-popup {
    position: absolute;
    top: 10px;
    right: 10px;
    font-size: 2rem;
    background: transparent;
    border: none;
    cursor: pointer;
  }

  .close-popup:hover {
    color: red;

  }
  
  .popup-nav {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    color: white;
    border: none;
    font-size: 2rem;
    cursor: pointer;
    z-index: 10;
    background: none;
  }
  
  .popup-nav.prev {
    left: 2rem; /* afastado da borda do modal */
  }
  
  .popup-nav.next {
    right: 2rem;
  }

  .popup-nav:hover {
    color: #e44242;
  }
  
  .popup-dots {
    position: absolute;
    bottom: 2rem;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    justify-content: center;
    gap: 8px;
  }
  
  .popup-dots span {
    width: 10px;
    height: 10px;
    background: #ccc;
    border-radius: 50%;
    display: inline-block;
    transition: background 0.3s ease;
  }
  
  .popup-dots span.active {
    background: #e44242;
  }

  @media (max-width: 768px) {
    .carousel-item {
      width: 80vw;
      height: auto;
    }

    .popup-nav.prev,
    .popup-nav.next {
      display: none;
    }
  }
  .carousel-tecnologias {
    text-align: center;
    padding: 60px 0;
    background-color: #f4f5f7;
    overflow: hidden;
    width: 100%;
  }
  
  .carousel-tecnologias .container-tecnologias {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    text-align: center;
    padding: 0 20px;
    box-sizing: border-box;
  }
  
  .carousel-tecnologias h2 {
    font-size: 2rem;
    font-weight: bold;
    margin-bottom: 1.5rem;
  }
  
  .carousel-tecnologias p {
    color: #555;
    max-width: 800px;
    margin: 0 auto 3rem;
  }
  
  .carousel-logos-tecnologias {
    overflow: hidden;
    width: 100%;
    position: relative;
  }
  
  .carousel-track-tecnologias {
    display: flex;
    flex-wrap: nowrap;
    width: max-content;
    animation: scroll-left 100s linear infinite;
  }
  
  .carousel-slide-tecnologias {
    flex: 0 0 auto;
    width: 160px;
    margin: 0 20px;
    text-align: center;
  }
  
  .carousel-slide-tecnologias img {
    width: 150px;
    height: auto;
    margin-bottom: 10px;
  }
  
  .carousel-slide-tecnologias span {
    display: block;
    font-weight: 500;
    font-size: 1rem;
    color: #333;
  }


  .clientes-sm-solucoes {
    position: relative;
    background-image: url('/assets/img/pagina-quem-somos/mapa-bg-site-clientes.jpg');
    background-size: 70%;
    background-position: center;
    padding-top: 100px;
    padding-bottom: 100px;
    color: white;
    overflow: hidden;
  }
  
  .clientes-sm-solucoes .overlay {
    content: '';
    position: absolute;
    top: 0; left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.568); /* camada escura */
    z-index: 1;
  }
  
  .clientes-container {
    position: relative;
    z-index: 2;
    max-width: 1200px;
    margin: 0 auto;
    text-align: center;
  }
  
  .clientes-title {
    background-color: #286ef5;
    display: inline-block;
    padding: 3px 20px;
    border-radius: 20px;
    font-size: 1.6rem;
    font-weight: bold;
    margin-bottom: 5rem;
    color: #fff;
  }
  
  .clientes-grid {
    display: flex;
    justify-content: center;
    gap: 30px;
    flex-wrap: wrap;
    margin-bottom: 30px;
  }
  
  .cliente-card {
    background-color: white;
    padding: 20px;
    border-radius: 5px;
    width: 320px;
    height: 130px;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 4px 10px rgba(0,0,0,0.2);
    transition: transform 0.2s, box-shadow 0.3s;
    overflow: hidden;
  }

  .linha-1 .cliente-card {
    width: 260px;
  }
  
  .linha-2 .cliente-card {
    width: 260px;
  }
  

  .cliente-card:hover {
    transform: translateY(-7px);
    box-shadow: 0 8px 20px rgba(0,0,0,0.3);
  }
  
  .cliente-card img {
    max-width: 100%;
    max-height: 100px;
    object-fit: contain;
    display: block;
  }


  .recursos-section {
    padding-top: 80px;
    padding-bottom: 20px;
    background-color: #ffffff;
    color: #1a1a1a;
    text-align: center;
  }
  
  .recursos-section .container {
    max-width: 1200px;
    margin: 0 auto;
  }
  
  .recursos-header {
    margin-bottom: 50px;
  }
  
  .recursos-title {
    font-size: 1.8rem;
    font-weight: 700;
    margin-bottom: 10px;
  }
  
  .recursos-subtitle {
    font-size: 1rem;
    color: #666;
    max-width: 700px;
    margin: 0 auto;
  }
  
  .recursos-grid {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 24px;
  }
  
  .recurso-card {
    width: 320px;
    height: 245px;
    background-color: #f8f5ff;
    border: solid 2px #e7e7e7;
    border-radius: 16px;
    padding: 24px 20px;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.05);
    text-align: center;
    transition: transform 0.3s ease;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: flex-start;
  }
  
  .recurso-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 8px 16px rgba(0, 0, 0, 0.08);
  }
  
  .recurso-card .check-icon {
    width: 36px;
    height: 36px;
    margin-bottom: 16px;
  }
  
  .recurso-card h3 {
    font-size: 1.05rem;
    font-weight: 600;
    margin-bottom: 8px;
    color: #1a1a1a;
  }
  
  .recurso-card p {
    font-size: 0.95rem;
    color: #444;
    line-height: 1.5;
  }
  
  @media (max-width: 1024px) {
    .recurso-card {
      width: 100%;
      max-width: 330px;
    }
  
    .recursos-title {
      font-size: 1.5rem;
    }
  
    .recursos-subtitle {
      font-size: 0.95rem;
    }
  }


  /* Responsividade mobile */
@media (max-width: 768px) {
  .clientes-grid {
    flex-direction: column;
    align-items: center;
  }

  .cliente-card {
    width: 90%;
    max-width: 300px;
  }

  .clientes-sm-solucoes {
    background-size: cover;
  }
}
  
  @keyframes scroll-left {
    0% {
      transform: translateX(0);
    }
    100% {
      transform: translateX(-50%);
    }
  }
  
  /* Responsivo */
  @media (max-width: 768px) {
    .carousel-slide-tecnologias {
      width: 120px;
      margin: 0 15px;
    }
  
    .carousel-slide-tecnologias img {
      width: 80px;
    }
  
    .carousel-slide-tecnologias span {
      font-size: 0.9rem;
    }
  
    .carousel-track-tecnologias {
      animation-duration: 45s;
    }
  }

  
  @media screen and (max-width: 767px) {
    h2 {
      font-size: 40px;
    }
  
    .paragraph-large {
      font-size: 18px;
    }
  
    .padding-vertical-xlarge {
      padding-top: 80px;
      padding-bottom: 80px;
    }
  
    .timeline_item {
      grid-template-columns: 64px 1fr;
      width: 100%;
    }
  
    .timeline_left {
      text-align: left;
      grid-area: 1 / 2 / 2 / 3;
    }
  
    .timeline_centre {
      justify-content: flex-start;
      grid-area: 1 / 1 / 3 / 2;
    }
  
    .timeline_right {
      grid-area: span 1 / span 1 / span 1 / span 1;
    }
  
    .timeline_date-text {
      margin-bottom: 24px;
      font-size: 36px;
    }
  
    .timeline_text {
      font-size: 20px;
    }
  
    .timeline_progress {
      left: 6px;
    }
  
    .margin-bottom-xlarge {
      margin-bottom: 48px;
    }
  }