.slider{
    height: 100vh;
    margin-top: -50px;
    width: 100vw;
    overflow: hidden;
    position: relative;
}
.slider .list .item{
    width: 100%;
    height: 100%;
    position: absolute;
    inset: 0 0 0 0;
}
.slider .list .item img{
    width: 100%;
    height: 100%;
    object-fit: cover;
}
.overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.6); /* Cor preta semi-transparente */
  }
.slider .list .item .content{
    position: absolute;
    top: 20%;
    width: 1140px;
    max-width: 80%;
    left: 50%;
    transform: translateX(-50%);
    padding-right: 30%;
    box-sizing: border-box;
    color: #fff;
    text-shadow: 0 5px 10px #0004;
}

.slider .list .item .content .title,
.slider .list .item .content .type{
    font-size: 5em;
    font-weight: bold;
    line-height: 1.3em;
}
.slider .list .item .type{
    color: #14ff72cb;
}
.slider .list .item .button{
    display: grid;
    grid-template-columns: repeat(2, 130px);
    grid-template-rows: 40px;
    gap: 5px;
    margin-top: 20px;
}
.slider .list .item .button button{
    border: none;
    background-color: #eee;
    font-family: Poppins;
    font-weight: 500;
    cursor: pointer;
    transition: 0.4s;
    letter-spacing: 2px;
}

.slider .list .item .button a {
    border: none;
    background-color: #eee;
    font-family: Poppins;
    font-weight: 500;
    cursor: pointer;
    transition: 0.4s;
    letter-spacing: 2px;
    text-align: center;
    padding-top: 10px;
}


.slider .list .item .button button:hover{
    letter-spacing: 3px;
}
.slider .list .item .button button:nth-child(2){
    background-color: transparent;
    border: 1px solid #fff;
    color: #eee;
}
/* Thumbnail Section  */
.thumbnail{
    position: absolute;
    bottom: 50px;
    left: 50%;
    width: max-content;
    z-index: 1;
    display: flex;
    gap: 20px;
}

.thumbnail .item{
    width: 150px;
    height: 220px;
    flex-shrink: 0;
    position: relative;
}
.thumbnail .item img{
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 20px;
    box-shadow: 5px 0 15px rgba(0, 0, 0, 0.3);
}
/* nextPrevArrows Section  */
.nextPrevArrows{
    position: absolute;
    top: 80%;
    right: 52%;
    z-index: 1;
    width: 300px;
    max-width: 30%;
    display: flex;
    gap: 10px;
    align-items: center;
}
.nextPrevArrows button{
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background-color: #14ff72cb;
    border: none;
    color: #fff;
    font-family: monospace;
    font-weight: bold;
    transition: .5s;
    cursor: pointer;
}
.nextPrevArrows button:hover{
    background-color: #fff;
    color: #000;
}
/* Animation Part */
.slider .list .item:nth-child(1){
    z-index: 1;
}
/* animation text in first item */
.slider .list .item:nth-child(1) .content .title,
.slider .list .item:nth-child(1) .content .type,
.slider .list .item:nth-child(1) .content .description,
.slider .list .item:nth-child(1) .content .buttons
{
    transform: translateY(50px);
    filter: blur(20px);
    opacity: 0;
    animation: showContent .5s 1s linear 1 forwards;
}
@keyframes showContent{
    to{
        transform: translateY(0px);
        filter: blur(0px);
        opacity: 1;
    }
}
.slider .list .item:nth-child(1) .content .title{
    animation-delay: 0.4s !important;
}
.slider .list .item:nth-child(1) .content .type{
    animation-delay: 0.6s !important;
}
.slider .list .item:nth-child(1) .content .description{
    animation-delay: 0.8s !important;
}
.slider .list .item:nth-child(1) .content .buttons{
    animation-delay: 1s !important;
}
/* Animation for next button click */
.slider.next .list .item:nth-child(1) img{
    width: 150px;
    height: 220px;
    position: absolute;
    bottom: 50px;
    left: 50%;
    border-radius: 30px;
    animation: showImage .5s linear 1 forwards;
}
@keyframes showImage{
    to{
        bottom: 0;
        left: 0;
        width: 100%;
        height: 100%;
        border-radius: 0;
    }
}
.slider.next .thumbnail .item:nth-last-child(1){
    overflow: hidden;
    animation: showThumbnail .5s linear 1 forwards;
}
.slider.prev .list .item img{
    z-index: 1;
}
@keyframes showThumbnail{
    from{
        width: 0;
        opacity: 0;
    }
}

.slider.next .thumbnail{
    animation: effectNext .5s linear 1 forwards;
}

@keyframes effectNext{
    from{
        transform: translateX(150px);
    }
}
/* Animation for prev button click */
.slider.prev .list .item:nth-child(2){
    z-index: 2;
}

.slider.prev .list .item:nth-child(2) img{
    animation: outFrame 0.5s linear 1 forwards;
    position: absolute;
    bottom: 0;
    left: 0;
}
@keyframes outFrame{
    to{
        width: 150px;
        height: 220px;
        bottom: 50px;
        left: 50%;
        border-radius: 20px;
    }
}

.slider.prev .thumbnail .item:nth-child(1){
    overflow: hidden;
    opacity: 0;
    animation: showThumbnail .5s linear 1 forwards;
}
.slider.next .nextPrevArrows button,
.slider.prev .nextPrevArrows button{
    pointer-events: none;
}


.slider.prev .list .item:nth-child(2) .content .title,
.slider.prev .list .item:nth-child(2) .content .type,
.slider.prev .list .item:nth-child(2) .content .description,
.slider.prev .list .item:nth-child(2) .content .buttons
{
    animation: contentOut 1.5s linear 1 forwards!important;
}

@keyframes contentOut{
    to{
        transform: translateY(-150px);
        filter: blur(20px);
        opacity: 0;
    }
}
@media screen and (max-width: 678px) {
    .slider .list .item .content{
        padding-right: 0;
    }
    .slider .list .item .content .title{
        font-size: 50px;
    }
}

/*ABOUT US*/
.sobre {
    padding: 5rem 1rem;
    background-color: #F5F7FA;
    position: relative;
    overflow: hidden;
}
.sobre h2 {
    text-align: center;
    margin-bottom: 3rem;
    color: #2E7D32;
    font-size: 2.5rem;
    position: relative;
}
.sobre h2::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 50%;
    transform: translateX(-50%);
    width: 80px;
    height: 3px;
    background: #29B6F6;
}
.sobre-container {
    max-width: 1200px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
    align-items: center;
}
.sobre-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
}
.sobre-card {
    background: #fff;
    padding: 2rem;
    border-radius: 15px;
    box-shadow: 0 5px 15px rgba(44, 62, 80, 0.1);
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}
.sobre-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 5px;
    background: #29B6F6;
    transform: scaleX(0);
    transform-origin: left;
    transition: transform 0.3s ease;
}
.sobre-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 8px 25px rgba(44, 62, 80, 0.15);
}
.sobre-card:hover::before {
    transform: scaleX(1);
}
.sobre-icon {
    width: 60px;
    height: 60px;
    background: #F5F7FA;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1.5rem;
}
.sobre-icon i {
    font-size: 1.8rem;
    color: #29B6F6;
}
.sobre-card h3 {
    color: #2E7D32;
    margin-bottom: 1rem;
    font-size: 1.5rem;
}
.sobre-card p {
    color: #2C3E50;
    line-height: 1.6;
    font-size: 15px;
}
.sobre-card.valores ul {
    list-style: none;
    padding: 0;
}
.sobre-card.valores li {
    display: flex;
    align-items: center;
    margin-bottom: 0.8rem;
    color: #2C3E50;
    font-size: 15px;
}
.sobre-card.valores li i {
    color: #4CAF50;
    margin-right: 0.5rem;
}
.sobre-imagem {
    position: relative;
}
.sobre-imagem img {
    width: 100%;
    height: 500px;
    object-fit: cover;
    border-radius: 15px;
    box-shadow: 0 5px 15px rgba(44, 62, 80, 0.2);
}
.sobre-destaque {
    position: absolute;
    bottom: -30px;
    left: 50%;
    transform: translateX(-50%);
    background: #fff;
    padding: 1.5rem;
    border-radius: 15px;
    box-shadow: 0 5px 20px rgba(44, 62, 80, 0.15);
    display: flex;
    gap: 2rem;
    width: 90%;
}
.destaque-item {
    text-align: center;
    flex: 1;
}
.destaque-item .numero {
    display: block;
    font-size: 2rem;
    font-weight: 700;
    color: #29B6F6;
    margin-bottom: 0.5rem;
}
.destaque-item .texto {
    color: #2C3E50;
    font-size: 0.9rem;
}
/* Responsividade para a seção Sobre */
@media (max-width: 992px) {
    .sobre-container {
        grid-template-columns: 1fr;
    }

    .sobre-imagem {
        order: -1;
    }

    .sobre-destaque {
        position: relative;
        bottom: 0;
        margin-top: 2rem;
    }
}

@media (max-width: 768px) {
    .sobre-content {
        grid-template-columns: 1fr;
    }

    .sobre-destaque {
        flex-direction: column;
        gap: 1rem;
    }

    .destaque-item {
        padding: 1rem;
        border-bottom: 1px solid #F5F7FA;
    }

    .destaque-item:last-child {
        border-bottom: none;
    }
}
/*SEPARADOR*/
.divisor {
    background: linear-gradient(to right, #2C3E50, #4CAF50);
    height: 80px;
    clip-path: polygon(0 0, 100% 100%, 0 100%);
  }

  .separador {
    background-color: #2C3E50;
    color: white;
      padding: 80px 20px;
      text-align: center;
  }

  .separador h1 {
    font-size: 36px;
    margin-bottom: 20px;
  }

  .separador p {
    font-size: 18px;
    max-width: 700px;
    margin: 0 auto;
    line-height: 1.6;
  }

  @media (max-width: 600px) {
    .separador h1 {
      font-size: 28px;
    }
    .separador p {
      font-size: 16px;
    }
  }

  /* Blog Section - Jornal Digital */
.blog {
    padding: 5rem 1rem;
    background-color: var(--white);
}

.blog-header {
    text-align: center;
    margin-bottom: 3rem;
    padding-bottom: 2rem;
    border-bottom: 2px solid var(--light-bg);
}

.blog-header h2 {
    color: #2E7D32;
    font-size: 2.5rem;
    margin-bottom: 0.5rem;
}

.blog-subtitle {
    color: var(--text-color);
    font-size: 1.2rem;
    margin-bottom: 1rem;
}

.blog-date {
    display: flex;
    justify-content: center;
    gap: 2rem;
    color: var(--text-color);
    font-size: 0.9rem;
}

.blog-grid {
    max-width: 1200px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 2rem;
}

.blog-card {
    background: var(--white);
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 5px 15px rgba(44, 62, 80, 0.1);
    transition: transform 0.3s ease;
    border: 1px solid var(--light-bg);
}

.blog-card.featured {
    grid-column: 1 / -1;
    display: grid;
    grid-template-columns: 1.5fr 1fr;
}

.blog-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 8px 25px rgba(44, 62, 80, 0.15);
}

.blog-image {
    position: relative;
    overflow: hidden;
    border-radius: 8px;
    height: 300px;
}

.blog-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.blog-card:hover .blog-image img {
    transform: scale(1.05);
}

.blog-card.featured .blog-image {
    height: 400px;
}

.category-tag {
    position: absolute;
    top: 20px;
    right: 20px;
    background: rgba(0, 0, 0, 0.7);
    color: white;
    padding: 8px 16px;
    border-radius: 20px;
    font-size: 0.9rem;
    font-weight: 500;
    z-index: 1;
}

@media (max-width: 768px) {
    .blog-image {
        height: 200px;
    }
    
    .blog-card.featured .blog-image {
        height: 250px;
    }
}

.blog-content {
    padding: 1.5rem;
}

.blog-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 1rem;
    margin-bottom: 1rem;
    font-size: 0.9rem;
    color: #2C3E50;
}

.blog-meta span {
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.blog-meta i {
    color: #29B6F6;
}

.blog-content h3 {
    color: #2E7D32;
    margin-bottom: 1rem;
    font-size: 1.4rem;
    line-height: 1.4;
    font-family: 'Playfair Display', serif;
}

.excerpt {
    color: #2C3E50;
    margin-bottom: 1.5rem;
    line-height: 1.6;
}

.blog-footer {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-top: 1rem;
    border-top: 1px solid #F5F7FA;
}

.leia-mais {
    color: #29B6F6;
    text-decoration: none;
    font-weight: 500;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    transition: all 0.3s ease;
}

.leia-mais:hover {
    color: #2E7D32;
    transform: translateX(5px);
}

.social-share {
    display: flex;
    gap: 1rem;
}

.social-share a {
    color: #2C3E50;
    transition: all 0.3s ease;
}

.social-share a:hover {
    color: #2E7D32;
    transform: translateY(-2px);
}

.blog-newsletter {
    max-width: 1200px;
    margin: 4rem auto 0;
    padding: 3rem;
    background: #F5F7FA;
    border-radius: 15px;
    text-align: center;
}

.newsletter-content h3 {
    color: #2E7D32;
    font-size: 1.8rem;
    margin-bottom: 1rem;
}

.newsletter-content p {
    color: #2C3E50;
    margin-bottom: 2rem;
}

.newsletter-form {
    display: flex;
    gap: 1rem;
    max-width: 500px;
    margin: 0 auto;
}

.newsletter-form input {
    flex: 1;
    padding: 1rem;
    border: 1px solid #F5F7FA;
    border-radius: 5px;
    font-size: 1rem;
}

.newsletter-form button {
    padding: 1rem 2rem;
    background: #29B6F6;
    color: #fff;
    border: none;
    border-radius: 5px;
    cursor: pointer;
    font-weight: 600;
    transition: all 0.3s ease;
}

.newsletter-form button:hover {
    background: #2E7D32;
    transform: translateY(-2px);
}

@media (max-width: 768px) {
    .blog-card.featured {
        grid-template-columns: 1fr;
    }

    .blog-date {
        flex-direction: column;
        gap: 0.5rem;
    }

    .newsletter-form {
        flex-direction: column;
    }

    .newsletter-form button {
        width: 100%;
    }
}
/*EVENTOS AREA*/
.eventos {
    background: #fff;
    color: #333;
    padding: 60px 0 30px;
    position: relative;
    overflow: hidden;
    box-shadow: 0 -5px 15px rgba(0, 0, 0, 0.05);
  }

  .eventos-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
  }

  .eventos-section {
    margin-bottom: 30px;
  }

  .eventos-section h3 {
    font-size: 1.5rem;
    margin-bottom: 20px;
    position: relative;
    padding-bottom: 10px;
    color: #2E7D32;
  }

  .eventos-section h3::after {
    content: '';
    position: absolute;
    left: 0;
    bottom: 0;
    width: 50px;
    height: 2px;
    background-color: #29B6F6;
  }

  .timeline-section {
    background: #f8f9fa;
    border-radius: 15px;
    padding: 30px;
    border: 1px solid #e9ecef;
  }

  .timeline {
    position: relative;
    padding-left: 30px;
  }

  .timeline::before {
    content: '';
    position: absolute;
    left: 0;
    top: 0;
    bottom: 0;
    width: 2px;
    background: linear-gradient(to bottom, #2E7D32, #29B6F6);
  }

  .timeline-item {
    position: relative;
    margin-bottom: 30px;
    padding: 20px;
    background: #fff;
    border-radius: 10px;
    transition: all 0.3s ease;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
  }

  .timeline-item:hover {
    transform: translateX(10px);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
  }

  .timeline-item::before {
    content: '';
    position: absolute;
    left: -39px;
    top: 20px;
    width: 20px;
    height: 20px;
    border-radius: 50%;
    background: #fff;
    border: 3px solid #2E7D32;
    box-shadow: 0 0 0 3px rgba(46, 125, 50, 0.1);
  }

  .timeline-date {
    font-size: 0.9rem;
    color: #666;
    margin-bottom: 10px;
    display: flex;
    align-items: center;
    gap: 8px;
  }

  .timeline-title {
    font-size: 1.1rem;
    font-weight: bold;
    margin-bottom: 10px;
    display: flex;
    align-items: center;
    gap: 10px;
    color: #2E7D32;
  }

  .timeline-description {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease;
    margin-top: 10px;
    opacity: 0;
    color: #666;
  }

  .timeline-description.active {
    max-height: 200px;
    opacity: 1;
  }

  .timeline-toggle {
    background: none;
    border: none;
    color: #2E7D32;
    cursor: pointer;
    padding: 5px 10px;
    margin-top: 10px;
    font-size: 0.9rem;
    display: flex;
    align-items: center;
    gap: 5px;
    transition: all 0.3s ease;
  }

  .timeline-actions{
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    align-items: center;
    margin-top: 10px;
  }

  .timeline-gallery{
    background: none;
    border: none;
    color: #29B6F6;
    cursor: pointer;
    padding: 5px 10px;
    font-size: 0.9rem;
    display: inline-flex;
    align-items: center;
    gap: 6px;
    transition: all 0.3s ease;
  }

  .timeline-gallery:hover{
    color: #2E7D32;
  }

  .timeline-toggle:hover {
    color: #29B6F6;
  }

  .timeline-toggle i {
    transition: transform 0.3s ease;
  }

  .timeline-toggle.active i {
    transform: rotate(180deg);
  }

  .partners-section {
    background: #f8f9fa;
    border-radius: 15px;
    padding: 30px;
    border: 1px solid #e9ecef;
  }

  .partners-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
    margin-top: 20px;
  }

  .partner-item {
    background: #fff;
    padding: 20px;
    border-radius: 10px;
    text-align: center;
    transition: all 0.3s ease;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
  }

  .partner-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
  }

  .partner-icon {
    font-size: 2rem;
    color: #2E7D32;
    margin-bottom: 10px;
  }
  .partner-icon img {
    width: 50%;
    height: 50%;
    object-fit: cover;
  }

  .partner-name {
    font-weight: bold;
    color: #333;
    margin-bottom: 5px;
  }

  .partner-type {
    font-size: 0.9rem;
    color: #666;
  }

  @media (max-width: 768px) {
    .eventos-container {
      grid-template-columns: 1fr;
    }
  }

  .summary-section {
    margin-top: 40px;
    padding: 30px;
    background: linear-gradient(135deg, rgba(46, 125, 50, 0.05) 0%, rgba(41, 182, 246, 0.05) 100%);
    border-radius: 15px;
    text-align: center;
    border: 1px solid rgba(46, 125, 50, 0.1);
  }

  .summary-title {
    font-size: 1.8rem;
    color: #2E7D32;
    margin-bottom: 20px;
    font-weight: bold;
  }

  .summary-text {
    font-size: 1.1rem;
    color: #555;
    line-height: 1.6;
    max-width: 800px;
    margin: 0 auto;
  }

  .summary-highlight {
    color: #29B6F6;
    font-weight: bold;
  }
  /*PUBLICAÇÕES*/
  .repository-section {
    padding: 60px 20px;
    max-width: 1200px;
    margin: 0 auto;
  }

  .repository-header {
    text-align: center;
    margin-bottom: 40px;
  }
  .repository-subtitle {
    color: #666;
    font-size: 1.1rem;
  }

  .filters-container {
    background: white;
    padding: 20px;
    border-radius: 10px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
    margin-bottom: 30px;
  }

  .filters-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 20px;
  }

  .filter-group {
    display: flex;
    flex-direction: column;
    gap: 8px;
  }

  .filter-label {
    font-weight: bold;
    color: #333;
    font-size: 0.9rem;
  }

  .filter-select {
    padding: 10px;
    border: 1px solid #e9ecef;
    border-radius: 5px;
    background: #f8f9fa;
    color: #333;
    cursor: pointer;
    transition: all 0.3s ease;
  }

  .filter-select:hover {
    border-color: #2E7D32;
  }

  .filter-select:focus {
    outline: none;
    border-color: #2E7D32;
    box-shadow: 0 0 0 2px rgba(46, 125, 50, 0.2);
  }

  .works-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 20px;
    margin-bottom: 30px;
  }

  .work-card {
    background: white;
    border-radius: 10px;
    padding: 20px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
    transition: all 0.3s ease;
  }

  .work-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
  }

  .author-info {
    display: flex;
    align-items: center;
    gap: 15px;
    margin-bottom: 15px;
    padding-bottom: 15px;
    border-bottom: 1px solid #eee;
  }

  .author-avatar {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    object-fit: cover;
    border: 2px solid #2E7D32;
  }

  .author-details {
    flex: 1;
  }

  .author-name {
    font-weight: bold;
    color: #333;
    margin-bottom: 4px;
  }

  .author-role {
    color: #666;
    font-size: 0.9rem;
    margin-bottom: 4px;
  }

  .author-specialty {
    color: #2E7D32;
    font-size: 0.85rem;
    font-weight: 500;
  }

  .work-category-badge {
    display: inline-block;
    padding: 4px 8px;
    border-radius: 12px;
    font-size: 0.8rem;
    margin-bottom: 8px;
  }

  .category-biomedico {
    background: rgba(46, 125, 50, 0.1);
    color: #2E7D32;
  }

  .category-estudante {
    background: rgba(25, 118, 210, 0.1);
    color: #1976D2;
  }

  .category-professor {
    background: rgba(156, 39, 176, 0.1);
    color: #9C27B0;
  }

  .category-pesquisador {
    background: rgba(211, 47, 47, 0.1);
    color: #D32F2F;
  }

  .work-title {
    font-size: 1.2rem;
    color: #333;
    margin-bottom: 10px;
    font-weight: bold;
  }

  .work-author {
    color: #666;
    font-size: 0.9rem;
    margin-bottom: 10px;
  }

  .work-date {
    color: #999;
    font-size: 0.8rem;
    margin-bottom: 15px;
  }

  .work-actions {
    display: flex;
    gap: 10px;
  }

  .work-button {
    padding: 8px 15px;
    border: none;
    border-radius: 5px;
    cursor: pointer;
    font-size: 0.9rem;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    gap: 5px;
  }

  .work-button.primary {
    background: #2E7D32;
    color: white;
  }

  .work-button.primary i {
    font-size: 1.1rem;
  }

  .work-button.secondary {
    background: #f8f9fa;
    color: #333;
    border: 1px solid #e9ecef;
  }

  .work-button:hover {
    opacity: 0.9;
    transform: translateY(-2px);
  }

  .pagination {
    display: flex;
    justify-content: center;
    gap: 5px;
    margin-top: 30px;
    flex-wrap: wrap;
  }

  .pagination-button {
    min-width: 40px;
    height: 40px;
    padding: 0 15px;
    border: none;
    border-radius: 5px;
    background: white;
    color: #333;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.05);
    display: flex;
    align-items: center;
    justify-content: center;
  }

  .pagination-button:disabled {
    opacity: 0.5;
    cursor: not-allowed;
    background: #f5f5f5;
  }

  .pagination-button.active {
    background: #2E7D32;
    color: white;
  }

  .pagination-button:hover:not(:disabled):not(.active) {
    background: #f8f9fa;
    transform: translateY(-2px);
  }

  .pagination-ellipsis {
    padding: 10px;
    color: #666;
  }

  .no-results {
    text-align: center;
    padding: 40px;
    color: #666;
    font-size: 1.1rem;
    background: white;
    border-radius: 10px;
    margin: 20px 0;
  }

  .modal-overlay {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.5);
    display: none;
    justify-content: center;
    align-items: center;
    z-index: 1000;
    opacity: 0;
    transition: opacity 0.3s ease;
  }

  .modal-overlay.active {
    display: flex;
    opacity: 1;
  }

  .modal-content {
    background: white;
    border-radius: 15px;
    width: 90%;
    max-width: 800px;
    max-height: 90vh;
    overflow-y: auto;
    position: relative;
    transform: translateY(20px);
    transition: transform 0.3s ease;
  }

  .modal-overlay.active .modal-content {
    transform: translateY(0);
  }

  .modal-header {
    padding: 20px;
    border-bottom: 1px solid #eee;
    display: flex;
    justify-content: space-between;
    align-items: center;
    position: sticky;
    top: 0;
    background: white;
    z-index: 1;
  }

  .modal-title {
    font-size: 1.5rem;
    color: #2E7D32;
    margin: 0;
  }

  .modal-close {
    background: none;
    border: none;
    font-size: 1.5rem;
    color: #666;
    cursor: pointer;
    padding: 5px;
    transition: color 0.3s ease;
  }

  .modal-close:hover {
    color: #2E7D32;
  }

  .modal-body {
    padding: 20px;
  }

  .modal-section {
    margin-bottom: 25px;
  }

  .modal-section-title {
    font-size: 1.1rem;
    color: #333;
    margin-bottom: 10px;
    font-weight: bold;
  }

  .modal-text {
    color: #666;
    line-height: 1.6;
    margin-bottom: 15px;
  }

  .modal-keywords {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-top: 10px;
  }

  .modal-keyword {
    background: rgba(46, 125, 50, 0.1);
    color: #2E7D32;
    padding: 5px 12px;
    border-radius: 15px;
    font-size: 0.9rem;
  }

  .modal-footer {
    padding: 20px;
    border-top: 1px solid #eee;
    display: flex;
    justify-content: flex-end;
    gap: 10px;
    position: sticky;
    bottom: 0;
    background: white;
  }

  .slider-more-content{
    max-width: 900px;
  }

  .gallery-content{
    max-width: 980px;
  }

  .gallery-main{
    position: relative;
    display: grid;
    grid-template-columns: 50px 1fr 50px;
    gap: 12px;
    align-items: center;
  }

  #galleryMainImage{
    width: 100%;
    max-height: 60vh;
    object-fit: contain;
    border-radius: 12px;
    background: #f8f9fa;
  }

  .gallery-nav{
    width: 44px;
    height: 44px;
    border-radius: 50%;
    border: none;
    cursor: pointer;
    background: rgba(46, 125, 50, 0.12);
    color: #2E7D32;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    transition: all .2s ease;
  }

  .gallery-nav:hover{
    background: rgba(41, 182, 246, 0.18);
    color: #29B6F6;
    transform: translateY(-1px);
  }

  .gallery-thumbs{
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(90px, 1fr));
    gap: 10px;
    margin-top: 14px;
  }

  .gallery-thumb{
    border-radius: 10px;
    overflow: hidden;
    border: 2px solid transparent;
    cursor: pointer;
    background: #f8f9fa;
  }

  .gallery-thumb img{
    width: 100%;
    height: 70px;
    object-fit: cover;
    display: block;
  }

  .gallery-thumb.active{
    border-color: #2E7D32;
  }

  @media (max-width: 768px) {
    .filters-grid {
      grid-template-columns: 1fr;
    }
    
    .works-grid {
      grid-template-columns: 1fr;
    }

    .modal-content {
      width: 95%;
      margin: 10px;
    }
  }

/* Botão WhatsApp */
.btn-whatsapp {
    position: fixed;
    bottom: 20px;
    right: 20px;
    width: 60px;
    height: 60px;
    border-radius: 50%;
    background-color: #25d366;
    color: white;
    border: none;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.3);
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 30px;
    transition: all 0.3s ease;
    z-index: 1000;
}

.btn-whatsapp:hover {
    transform: scale(1.1);
    background-color: #128c7e;
}

/* Botão Voltar ao Topo */
.btn-voltar-topo {
    position: fixed;
    bottom: 90px;
    right: 20px;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    background-color: var(--primary-color);
    color: white;
    border: none;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.3);
    cursor: pointer;
    display: none;
    align-items: center;
    justify-content: center;
    font-size: 20px;
    transition: all 0.3s ease;
    z-index: 1000;
}

.btn-voltar-topo:hover {
    transform: translateY(-5px);
    background-color: var(--secondary-color);
}

.btn-voltar-topo.visible {
    display: flex;
}

/* Responsividade */

@media (max-width: 768px) {
    .btn-whatsapp {
        width: 50px;
        height: 50px;
        font-size: 25px;
        bottom: 15px;
        right: 15px;
    }

    .btn-voltar-topo {
        width: 40px;
        height: 40px;
        font-size: 18px;
        bottom: 75px;
        right: 15px;
    }
}

/* Modal de Confirmação para Links Externos */
.modal-externo-overlay {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.6);
    display: none;
    justify-content: center;
    align-items: center;
    z-index: 2000;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.modal-externo-overlay.active {
    display: flex;
    opacity: 1;
}

.modal-externo-content {
    background: white;
    border-radius: 15px;
    width: 90%;
    max-width: 450px;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.3);
    transform: translateY(-20px);
    transition: transform 0.3s ease;
}

.modal-externo-overlay.active .modal-externo-content {
    transform: translateY(0);
}

.modal-externo-header {
    padding: 25px 25px 15px;
    text-align: center;
    border-bottom: 1px solid #eee;
}

.modal-externo-header i {
    font-size: 3rem;
    color: #29B6F6;
    margin-bottom: 10px;
}

.modal-externo-header h3 {
    color: #2E7D32;
    font-size: 1.5rem;
    margin: 0;
}

.modal-externo-body {
    padding: 25px;
    text-align: center;
}

.modal-externo-body p {
    color: #2C3E50;
    font-size: 1.1rem;
    line-height: 1.6;
    margin: 0;
}

.modal-externo-footer {
    padding: 20px 25px;
    display: flex;
    gap: 15px;
    justify-content: flex-end;
    border-top: 1px solid #eee;
}

.btn-modal-cancelar,
.btn-modal-continuar {
    padding: 12px 30px;
    border: none;
    border-radius: 8px;
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
}

.btn-modal-cancelar {
    background: #f5f5f5;
    color: #2C3E50;
}

.btn-modal-cancelar:hover {
    background: #e0e0e0;
    transform: translateY(-2px);
}

.btn-modal-continuar {
    background: #29B6F6;
    color: white;
}

.btn-modal-continuar:hover {
    background: #2E7D32;
    transform: translateY(-2px);
}

@media (max-width: 768px) {
    .modal-externo-content {
        width: 95%;
        margin: 20px;
    }

    .modal-externo-footer {
        flex-direction: column;
    }

    .btn-modal-cancelar,
    .btn-modal-continuar {
        width: 100%;
    }
}


